Greg Johnston
2b7923261b
docs: fix failing doctests from server fn docs ( #1179 )
2023-06-13 17:49:16 -04:00
Greg Johnston
b043f829a6
docs: clarify available server fn encodings ( #1178 )
2023-06-13 16:01:45 -04:00
Greg Johnston
bb10b32200
feat: register server functions automatically ( #1154 )
2023-06-11 09:09:21 -04:00
funlennysub
e0be2fa4ba
feat: add additional support for generics in components ( closes #949 + #1023 ) ( #1109 )
2023-06-10 16:44:27 -04:00
Greg Johnston
17adf7cc14
feat: pass components with no props directly into the view as a function that takes only `Scope` ( #1144 )
2023-06-05 20:48:22 -04:00
yuuma03
51a6147609
feat: variable bindings on components ( #1140 )
2023-06-03 15:22:44 -04:00
Vladimir Motylenko
38a1c1102f
Closing tag highlight/hower and go-to definition support in lsp. ( #1126 )
2023-06-01 22:09:15 -04:00
Vladimir Motylenko
571e778bce
fix: hygiene on `template` macro ( #1101 )
...
Pass dependency needed for template, and also hide them behind feature guide, to avoid compile time bloating.
2023-05-27 08:07:44 -04:00
Vladimir Motylenko
5a71ca797a
feat: RSX parser with recovery after errors, and unquoted text ( #1054 )
...
* Feat: Upgrade to new local version of syn-rsx
* chore: Make macro more IDE friendly
1. Add quotation to RawText node.
2. Replace vec! macro with [].to_vec().
Cons:
1. Temporary remove allow(unused_braces) from expressions, to allow completion after dot in rust-analyzer.
* chore: Change dependency from syn-rsx to rstml
* chore: Fix value_to_string usage, pr comments, and fmt.
2023-05-21 06:45:53 -04:00
Greg Johnston
00fcd1c65e
docs: fix small docs issues ( closes #1045 ) ( #1049 )
2023-05-16 13:01:29 -04:00
Greg Johnston
0db4f5821f
fix: avoid extra `{` escaping ( closes #1035 ) ( #1038 )
2023-05-12 16:29:33 -04:00
Greg Johnston
1fdb6f1cdf
feat: add `style:` to view ( #1009 )
2023-05-06 06:23:20 -04:00
Greg Johnston
ea153e4f26
docs: error when component ends with `view! { ... };` ( closes #985 ) ( #993 )
2023-05-03 18:15:02 -04:00
Greg Johnston
d8e03773f0
feat: allow structs in server function arguments ( #987 )
2023-05-03 15:26:48 -04:00
Matt Crane
ddf9df2b5e
change: replace `serde_urlencoded` with `serde_html_form` to support `Vec<_>` in server fn args ( #973 )
2023-05-01 17:17:45 -04:00
Roland Fredenhagen
661adc4027
feat: ```view code block in doc comments for properties ( #961 )
2023-04-28 16:03:04 -04:00
Greg Johnston
671b1e4a8f
docs: note need for `serde` dependency for server functions ( closes #947 ) ( #962 )
2023-04-27 17:15:29 -04:00
Roland Fredenhagen
75a7bd610a
fix: escapes in doc comments on component properties ( #958 )
2023-04-27 16:43:38 -04:00
Greg Johnston
0f277c55ec
fix: use absolute reference to `::leptos::Scope` in case not imported
2023-04-25 16:52:14 -04:00
jquesada2016
362150a715
feat: implemented `IntoView` for component props ( #948 )
2023-04-24 20:05:31 -04:00
yuuma03
234861a156
fix: generics on `impl From slot to Vec<slot>` ( #946 )
2023-04-24 20:03:03 -04:00
Greg Johnston
78d6d312f8
CI: fix unused variables breaking tests ( #950 )
2023-04-24 17:19:10 -04:00
Roland Fredenhagen
c471986024
feat: add `#[allow(missing_docs)]` to `children` prop in components ( #934 )
2023-04-23 15:34:42 -04:00
Roland Fredenhagen
d2e3a156e8
fix: link to actual type instead of Into trait for component properties ( #932 )
2023-04-23 15:33:27 -04:00
yuuma03
0e2181fb90
fix: allow nested slots ( #928 )
2023-04-22 14:14:01 -04:00
Ben Wishovich
81f330e888
feat: add thorough tracing throughout ( #908 )
2023-04-22 06:47:11 -04:00
yuuma03
f51857cedc
feat: add slots ( closes #769 ) ( #909 )
2023-04-21 14:36:38 -04:00
Greg Johnston
d3a577c365
`cargo fmt`
2023-04-21 12:45:08 -04:00
Greg Johnston
b80f9e3871
fix: issue with ordering of `class` attribute and `class=("fancy-name-200", true)` ( closes #907 ) ( #914 )
2023-04-21 12:42:35 -04:00
Greg Johnston
fe68b47ba2
perf: tiny optimization on primitive child values ( #887 )
2023-04-17 22:09:10 -04:00
Greg Johnston
17040a4af4
fix: custom events in SSR mode ( #852 )
2023-04-12 13:21:36 -04:00
Greg Johnston
b09a5f905e
docs: emit error when trying to combine global class and dynamic class in a bugged way ( #850 )
2023-04-11 21:15:07 -04:00
Greg Johnston
012ff56cd6
fix static text nodes with curly braces in SSR ( #849 )
2023-04-11 12:46:32 -04:00
Greg Johnston
f969fd7eff
fix: don't entity-encode HTML special characters inside `<script>` or `<style>` ( closes #837 ) ( #846 )
2023-04-10 13:15:15 -04:00
Greg Johnston
016ad6b7a6
feat: make `__Props` imports unnecessary ( closes #746 ) ( #828 )
2023-04-07 15:06:10 -04:00
Ben Wishovich
8b57ba7aa8
feat: add the ability for server fns to be submitted via GET requests ( #789 )
2023-04-05 06:47:17 -04:00
Greg Johnston
a3327f8841
fix: SVG `<title>` tag ( #783 )
2023-04-01 11:24:32 -04:00
Greg Johnston
1e037ecb60
chore: clippy and docs warnings ( #779 )
2023-03-31 17:12:42 -04:00
Lukas Potthast
e9ff26abb4
feat: allow component declaration without `use leptos::Scope` in scope ( #748 )
2023-03-29 07:59:08 -04:00
Greg Johnston
38d97babd8
fix: always run dynamic classes after static classes ( closes #735 ) ( #738 )
2023-03-24 17:38:34 -04:00
Greg Johnston
508ad52582
chore: fix clippy warnings ( #721 )
...
* `v0.2.4`
* chore: fix clippy warnings
2023-03-21 18:20:29 -04:00
Alexis Fontaine
71ee4cd09d
fix: `view!` macro not compiling with a non-default scope name ( #704 )
2023-03-19 13:14:47 -04:00
Greg Johnston
1698ffa7db
fix issues in release mode ( closes #700 ) ( #701 )
2023-03-18 11:04:06 -04:00
Greg Johnston
f2ac412253
feat: support diffing inside component children in hot-reload ( #690 )
2023-03-17 13:53:53 -04:00
Greg Johnston
3bd52fcc9d
fix: hydration errors with `<Suspense/>` inside components in SSR mode ( #688 )
2023-03-17 12:46:04 -04:00
Greg Johnston
817152ff39
feat: new reactive system implementation ( #637 )
2023-03-13 17:58:00 -04:00
Greg Johnston
38daaf3b72
chore: apply `cargo machete` systematically ( #671 )
2023-03-13 10:16:20 -04:00
Greg Johnston
b55e9a9e64
`v0.2.3`: fix broken stable support ( #670 )
2023-03-13 07:25:08 -04:00
Greg Johnston
87d5bddb21
fix: text node issue in `template` macro ( #661 )
2023-03-11 14:25:38 -05:00
Greg Johnston
591212a56a
feat: add fragment support for hot reloading and fix some stuff ( #659 )
2023-03-11 07:21:37 -05:00