Commit graph

431 commits

Author SHA1 Message Date
Greg Johnston
63f680f37d Merge branch 'main' into pr/119 2022-12-28 14:21:54 -05:00
Jose Quesada
f3b62bcf88 impl HtmlElement::inner_html for SSR 2022-12-28 11:34:27 -06:00
Jose Quesada
57c72c038c impl HtmlElement::inner_html for web targets, SSR still TODO 2022-12-28 11:17:47 -06:00
Greg Johnston
e3c4e9f6a4 chores: fix failing tests, update docs, suppress warnings 2022-12-28 11:33:26 -05:00
Jose Quesada
8b81425b21 explicit handler type to help compiler type inference 2022-12-27 08:46:09 -06:00
Jose Quesada
04e3e7a9a6 Merge branch 'leptos_dom_v2' of https://github.com/jquesada2016/leptos into leptos_dom_v2 2022-12-27 08:33:22 -06:00
Jose Quesada
ab2d554dc3 now only adding event handlers Some(_) and FnMut; called cargo fmt which is why more files were edited 2022-12-27 08:33:09 -06:00
Greg Johnston
6077966cd7 Streaming SSR for <Suspense/> in release mode 2022-12-26 17:47:26 -05:00
Jose Quesada
a5351dd33d fixed broken cfg 2022-12-26 09:51:36 -06:00
Jose Quesada
a15b3dd882 now using a shared marker to check if a Each has already been mounted, rather than calling out to JS 2022-12-26 09:42:37 -06:00
Jose Quesada
d42b79b261 now using a shared marker to check if a component has already been mounted, rather than calling out to JS 2022-12-26 09:37:32 -06:00
Jose Quesada
6cd136ec9b Merge branch 'leptos_dom_v2' of https://github.com/jquesada2016/leptos into leptos_dom_v2 2022-12-26 08:59:11 -06:00
Jose Quesada
85b72f5b68 added support for moving views around in the DOM 2022-12-26 08:58:58 -06:00
Greg Johnston
2048e89109 Remove dev-dependency (for cargo publish reasons) 2022-12-25 23:03:43 -05:00
Greg Johnston
5540bb8e8c Bump version to 0.1.0-alpha 2022-12-25 22:58:07 -05:00
Greg Johnston
86df770dad chores: getting tests fixed, etc. 2022-12-25 22:53:52 -05:00
Jose Quesada
623bb7cb3f Merge branch 'leptos_dom_v2' of https://github.com/jquesada2016/leptos into leptos_dom_v2 2022-12-24 08:45:43 -06:00
Jose Quesada
fc062e6829 fixed the type of math elements 2022-12-24 08:45:36 -06:00
Greg Johnston
bf9587c349 Attempt at Transition 2022-12-24 07:39:43 -05:00
Greg Johnston
b3da8a5dba Fix SVG warning fix 2022-12-24 07:39:25 -05:00
Greg Johnston
d3f2cae07a Fix SVG warnings 2022-12-24 07:28:34 -05:00
Greg Johnston
a4747596fa Only stream Resources if they're under a Suspense to fix rendering issue 2022-12-23 17:01:22 -05:00
Greg Johnston
af68da0a9a Remove web by default 2022-12-23 17:01:06 -05:00
Jose Quesada
7028dd8b3d fixed math namespace 2022-12-23 14:34:35 -06:00
Jose Quesada
8092bf1962 untoggled wasm32 target 2022-12-23 14:22:16 -06:00
Jose Quesada
2d97790ab9 fixed imports on non-web 2022-12-23 14:17:54 -06:00
Jose Quesada
ef846e7b88 added all math elements 2022-12-23 14:09:46 -06:00
Jose Quesada
d78ee8c3c9 Merge branch 'leptos_dom_v2' of https://github.com/jquesada2016/leptos into leptos_dom_v2 2022-12-23 14:07:01 -06:00
Jose Quesada
d1ece97575 added all svg elements 2022-12-23 14:06:55 -06:00
Greg Johnston
8e1c165427 Merge branch 'leptos_dom_v2' of https://github.com/jquesada2016/leptos into leptos_dom_v2 2022-12-23 14:32:26 -05:00
Greg Johnston
f20c74fa98 SSR changes to support integrations 2022-12-23 14:23:06 -05:00
Greg Johnston
391fe89542 0.0.21 2022-12-23 13:01:15 -05:00
Jose Quesada
7ee0c01594 fixed non-web builds 2022-12-23 11:19:39 -06:00
Jose Quesada
6ce90fa49d revert default build target 2022-12-23 11:16:28 -06:00
Jose Quesada
c96965ab64 Merge branch 'leptos_dom_v2' of https://github.com/jquesada2016/leptos into leptos_dom_v2 2022-12-23 11:10:01 -06:00
Jose Quesada
5def2a72bc impl View::on and renamed IntoElement to ElementDescriptor 2022-12-23 11:09:55 -06:00
Greg Johnston
590ec40e0c Final Suspense fix? 2022-12-23 11:40:57 -05:00
Jose Quesada
8037915294 reintroduced panic in DynChild 2022-12-23 08:19:02 -06:00
Jose Quesada
a5d7563a67 fixed DynChild panicking when expected text is not there 2022-12-23 07:54:29 -06:00
Greg Johnston
7c25cd9200 Use #[component] macro for core components, deleting leptos_core package 2022-12-22 16:46:48 -05:00
Greg Johnston
ce84632c39 Update NodeRef to be generic over typed HTML elements 2022-12-21 21:15:48 -05:00
Greg Johnston
532f5c5b83 Add types for HTML elements 2022-12-21 20:37:15 -05:00
Greg Johnston
ae82395100 Remove some hydration key element increments 2022-12-21 07:58:08 -05:00
Greg Johnston
7ca131c5b8 Work on hydration examples 2022-12-19 22:45:12 -05:00
Greg Johnston
9a2035f1e1 Relocate view-tests into leptos_dom 2022-12-19 20:11:25 -05:00
Jose Quesada
f2553c117b changed from using <template /> to using custom element names and fixed EachItem on release 2022-12-19 08:57:09 -06:00
Greg Johnston
5ee8b20770 Clear warnings 2022-12-19 07:35:18 -05:00
Greg Johnston
da4b46e359 Clear warnings and improve #[cfg] readability 2022-12-19 07:34:10 -05:00
Jose Quesada
eccbc424a2 Merge branch 'leptos_dom_v2' of https://github.com/jquesada2016/leptos into leptos_dom_v2 2022-12-18 16:52:23 -06:00
Jose Quesada
9d370776d2 printing html as it is being streamed to client 2022-12-18 16:52:12 -06:00