Greg Johnston
|
e3c4e9f6a4
|
chores: fix failing tests, update docs, suppress warnings
|
2022-12-28 11:33:26 -05:00 |
|
Jose Quesada
|
494deef9b6
|
maybe possibly perhaps fixed broken tracing dep
|
2022-12-28 09:53:11 -06:00 |
|
Jose Quesada
|
0da8d0113c
|
added clone: to components in view! macro to help with move dilemmaa
|
2022-12-28 09:24:52 -06:00 |
|
Jose Quesada
|
0e179d0cb5
|
component move fix would break scope continuity
This reverts commit 4dd5768a66 .
|
2022-12-28 07:36:05 -06:00 |
|
Jose Quesada
|
4dd5768a66
|
fixed move dilema on component children
|
2022-12-27 20:14:10 -06:00 |
|
Jose Quesada
|
b3c4c77dee
|
now unwrapping type when documenting a field which has #[prop(strip_option)]
|
2022-12-27 12:20:14 -06:00 |
|
Greg Johnston
|
3179b2a9e5
|
Remove duplicate
|
2022-12-26 17:25:18 -05:00 |
|
Greg Johnston
|
2bd0c38304
|
Properly detect and namespace SVG/MathML
|
2022-12-26 08:21:36 -05:00 |
|
Greg Johnston
|
9dc30da3e9
|
Fix component children example in docs
|
2022-12-26 08:03:40 -05:00 |
|
Greg Johnston
|
98e3f5a155
|
Remove dev-deps for publish
|
2022-12-25 23:11:08 -05:00 |
|
Greg Johnston
|
5540bb8e8c
|
Bump version to 0.1.0-alpha
|
2022-12-25 22:58:07 -05:00 |
|
Greg Johnston
|
e05778726b
|
Update docs
|
2022-12-25 16:06:29 -05:00 |
|
Jose Quesada
|
ae506fced6
|
fixed name mismatch
|
2022-12-23 14:51:27 -06:00 |
|
Jose Quesada
|
86394105dd
|
fixed name collision within components so that recursion is possible
|
2022-12-23 14:47:57 -06:00 |
|
Greg Johnston
|
391fe89542
|
0.0.21
|
2022-12-23 13:01:15 -05:00 |
|
Greg Johnston
|
7c25cd9200
|
Use #[component] macro for core components, deleting leptos_core package
|
2022-12-22 16:46:48 -05:00 |
|
Jose Quesada
|
34b4917837
|
updated component doc formatting
|
2022-12-22 13:10:41 -06:00 |
|
Greg Johnston
|
351389c2bf
|
Correct types in SSR
|
2022-12-21 20:47:30 -05:00 |
|
Greg Johnston
|
58748af63b
|
Fix _ref API in macro
|
2022-12-19 20:10:09 -05:00 |
|
Greg Johnston
|
5ee8b20770
|
Clear warnings
|
2022-12-19 07:35:18 -05:00 |
|
Greg Johnston
|
51b0ec3204
|
Clear warnings in view macro
|
2022-12-19 07:26:31 -05:00 |
|
Greg Johnston
|
c103c8f05b
|
Suppress warnings about unused Scope variable in components
|
2022-12-19 07:22:25 -05:00 |
|
Greg Johnston
|
83c8f8b0cb
|
Clear warnings in #[component] macro
|
2022-12-19 07:20:55 -05:00 |
|
Greg Johnston
|
3195ab4ffc
|
Get Suspense /Transition hydration working
|
2022-12-18 07:38:51 -05:00 |
|
Jose Quesada
|
ae16c2f96d
|
prepending :: to leptos imports
|
2022-12-16 16:37:47 -06:00 |
|
Jose Quesada
|
6cfd2ba04e
|
added prop docs to props builder
|
2022-12-16 08:51:07 -06:00 |
|
Jose Quesada
|
cd178c5c85
|
using format_ident instead of Ident::new
|
2022-12-16 08:25:52 -06:00 |
|
Jose Quesada
|
688b0a6b73
|
started fine-tunning view macro spans
|
2022-12-16 07:30:13 -06:00 |
|
Jose Quesada
|
3e508b16f3
|
impl #[component(transparent)]
|
2022-12-15 13:40:58 -06:00 |
|
Jose Quesada
|
3b99d2d4fd
|
added tracing support to component macro
|
2022-12-15 12:01:16 -06:00 |
|
Greg Johnston
|
1b0aa4d903
|
Disable macro SSR until I've added IDs
|
2022-12-15 08:36:46 -05:00 |
|
Greg Johnston
|
01013b00e5
|
Implement classes in SSR macro path
|
2022-12-15 07:56:31 -05:00 |
|
Jose Quesada
|
218c4d3c90
|
moved body back inside itself to allow forwarding attributes
|
2022-12-14 12:57:43 -06:00 |
|
Jose Quesada
|
5f95776a08
|
Merge branch 'leptos_dom_v2' of https://github.com/jquesada2016/leptos into leptos_dom_v2
|
2022-12-14 12:24:16 -06:00 |
|
Jose Quesada
|
adee33a08e
|
initial impl of #[prop()]
|
2022-12-14 12:15:41 -06:00 |
|
Greg Johnston
|
e3e0460371
|
Disable SSR macr until node ID generation is done
|
2022-12-14 10:57:37 -05:00 |
|
Greg Johnston
|
6e4448dae6
|
SSR work with missing node IDs
|
2022-12-14 10:56:48 -05:00 |
|
Jose Quesada
|
b37a36a003
|
allowing clippy lint for too many arguments on components
|
2022-12-14 07:34:31 -06:00 |
|
Greg Johnston
|
1c8b640855
|
Update #[component] docs
|
2022-12-14 06:44:14 -05:00 |
|
Jose Quesada
|
a7a35857bb
|
now tracking scope name
|
2022-12-13 14:33:34 -06:00 |
|
Jose Quesada
|
caa919b257
|
Merge branch 'leptos_dom_v2' of https://github.com/jquesada2016/leptos into leptos_dom_v2
|
2022-12-13 14:15:42 -06:00 |
|
Jose Quesada
|
4c123884de
|
reverted to redeclaring the component fn within itself
|
2022-12-13 14:15:23 -06:00 |
|
Greg Johnston
|
5e06eb1a99
|
Correct use of cx
|
2022-12-13 15:14:41 -05:00 |
|
Greg Johnston
|
cc0bf20c9d
|
Use the correct identifier for cx here
|
2022-12-13 15:06:21 -05:00 |
|
Jose Quesada
|
eeaccfc815
|
moved fn block into Component::new
|
2022-12-13 13:23:51 -06:00 |
|
Greg Johnston
|
621976c92c
|
Add correct import for doctest
|
2022-12-13 14:14:04 -05:00 |
|
Jose Quesada
|
39e809f686
|
initial impl of component macro with inline doc comments and TypedBuilder overrides
|
2022-12-13 12:44:30 -06:00 |
|
Greg Johnston
|
b2d7ad2afd
|
Fix a couple issues with intra-doc links
|
2022-12-13 13:10:04 -05:00 |
|
Greg Johnston
|
73b21487b9
|
Add more entry-level docs for #[component] macro
|
2022-12-13 13:06:37 -05:00 |
|
Jose Quesada
|
286c95136f
|
Merge branch 'leptos_dom_v2' into leptos_dom_v2_component
|
2022-12-13 07:38:51 -06:00 |
|
Greg Johnston
|
5ca169ac06
|
Properly handle Scope when creating component children
|
2022-12-13 07:42:14 -05:00 |
|
Jose Quesada
|
a75cbee133
|
started working on component macro
|
2022-12-12 18:33:12 -06:00 |
|
Jose Quesada
|
99ff73c721
|
applied fix per gbj's suggested
|
2022-12-12 16:23:15 -06:00 |
|
Greg Johnston
|
8a0e56aff5
|
Properly namespace Fragment when used
|
2022-12-12 13:39:50 -05:00 |
|
Greg Johnston
|
c4cc3e944b
|
Merge in changes from main
|
2022-12-12 09:26:46 -05:00 |
|
Greg Johnston
|
43ffa1bcd7
|
Use Fn() -> Fragment for component children, and update router and Suspense/Transition
|
2022-12-10 22:12:08 -05:00 |
|
Greg Johnston
|
9d43eb5503
|
Tweak handling of component children
|
2022-12-10 19:42:08 -05:00 |
|
Greg Johnston
|
6c29d85b8d
|
Remove into_view in view and component macros
|
2022-12-10 19:21:46 -05:00 |
|
Greg Johnston
|
18bd2162cf
|
Docs in component macro
|
2022-12-10 16:21:58 -05:00 |
|
Greg Johnston
|
f9cc57acb9
|
Fix attributes in view macro
|
2022-12-10 08:32:30 -05:00 |
|
Greg Johnston
|
9a114eb595
|
Avoid name conflicts between functions to create elements and local variables
|
2022-12-09 14:36:25 -05:00 |
|
Greg Johnston
|
64a5d75ec4
|
.into() calls were interfering with components that have generic props
|
2022-12-09 13:09:02 -05:00 |
|
Greg Johnston
|
eb40f9f7c7
|
Remove leptos_dom/ssr dependencies
|
2022-12-08 19:32:46 -05:00 |
|
Greg Johnston
|
08be1ba622
|
Fix warnings
|
2022-12-08 19:28:23 -05:00 |
|
Greg Johnston
|
605398bcea
|
Only use default for Option<T>
|
2022-12-08 19:27:45 -05:00 |
|
Greg Johnston
|
fbfd1a4f60
|
Fix other dependencies on leptos_dom/csr and leptos_dom/hydrate
|
2022-12-08 19:24:36 -05:00 |
|
Greg Johnston
|
f0257222f8
|
Fix cx injection in macro
|
2022-12-08 18:29:44 -05:00 |
|
Greg Johnston
|
aca2c131d4
|
Add the ability to document Component and ComponentProps in a single doc comment.
|
2022-12-08 17:08:54 -05:00 |
|
Greg Johnston
|
1ba602ec47
|
Fix issue #109
|
2022-12-06 22:31:54 -05:00 |
|
Greg Johnston
|
aec289e384
|
Get SSR benchmarks running again
|
2022-12-05 20:34:29 -05:00 |
|
Greg Johnston
|
5c45538e9f
|
Make necessary changes for stable support for router and meta
|
2022-12-05 18:55:03 -05:00 |
|
Greg Johnston
|
2ff5ec21c8
|
0.0.20
|
2022-12-05 16:25:16 -05:00 |
|
Greg Johnston
|
870d8f3542
|
Different form for passing in cx
|
2022-12-05 16:07:25 -05:00 |
|
Greg Johnston
|
0230b1ffa5
|
Deal w/ merge issues and get SSR working
|
2022-12-05 16:04:02 -05:00 |
|
Greg Johnston
|
d5f91e67a5
|
First pass at SSR
|
2022-12-05 15:09:04 -05:00 |
|
Greg Johnston
|
64722604b5
|
Move Component::new() invocation inside the #[component] macro to allow for things like the <Route/> component
|
2022-12-05 08:45:27 -05:00 |
|
Greg Johnston
|
b6a90f154f
|
Remove useless attempt at better Intellisense
|
2022-12-04 23:04:06 -05:00 |
|
Greg Johnston
|
4a5b3b3cc5
|
Use new event system
|
2022-12-04 22:59:45 -05:00 |
|
Greg Johnston
|
71a2a24d09
|
Working components in view! macro
|
2022-12-04 22:10:56 -05:00 |
|
Greg Johnston
|
8ea7e20dfb
|
Builder-compatible view! macro
|
2022-12-03 21:28:39 -05:00 |
|
Greg Johnston
|
70e18d2aeb
|
Automatically enable the stable feature if you're on stable Rust
|
2022-12-02 12:56:05 -05:00 |
|
indrazar
|
8ec772a129
|
update functions for Windows file directories
- leptos_macro/src/server.rs server_macro_impl
- integrations/axum/src/lib.rs handle_server_fns
|
2022-11-30 23:01:59 -05:00 |
|
Greg Johnston
|
6e20f31df1
|
Fix out-of-order hydration issue by removing old code that was handling this in an incorrect way
|
2022-11-29 07:06:25 -05:00 |
|
Greg Johnston
|
36de06f183
|
0.0.19
|
2022-11-27 09:13:21 -05:00 |
|
Greg Johnston
|
569fa9b1c6
|
Fix CI w.r.t. server functions
|
2022-11-26 17:13:35 -05:00 |
|
Greg Johnston
|
fdd07aafb7
|
#[server] docs
|
2022-11-26 09:02:36 -05:00 |
|
Greg Johnston
|
1a0168bf28
|
Clear warnings
|
2022-11-26 09:02:26 -05:00 |
|
Greg Johnston
|
db34565959
|
Merge pull request #107 from benwis/msgpack-encoding
Binary encoding as an option for server functions
|
2022-11-25 22:44:53 -05:00 |
|
Greg Johnston
|
994debea3f
|
Change _ref attribute to use NodeRef type
|
2022-11-25 15:38:46 -05:00 |
|
Greg Johnston
|
93f68e022f
|
Merge branch 'main' into msgpack-encoding
|
2022-11-25 14:35:52 -05:00 |
|
Greg Johnston
|
55f70367b5
|
Clear warnings in library
|
2022-11-25 14:32:25 -05:00 |
|
Greg Johnston
|
e465867b30
|
Fixes issue #110 and improves #[component] docs overall
|
2022-11-24 07:48:57 -05:00 |
|
Greg Johnston
|
19d7b8434b
|
Merge branch 'main' into typed-event-handlers
|
2022-11-23 19:03:52 -05:00 |
|
Greg Johnston
|
6949750668
|
Fixing tests and examples
|
2022-11-23 18:29:20 -05:00 |
|
Ben Wishovich
|
440719071a
|
Switch MessagePack for CBOR, as it's more standardized
|
2022-11-23 14:23:49 -08:00 |
|
Greg Johnston
|
3a65ad9a51
|
Fix type inference on server
|
2022-11-23 16:54:41 -05:00 |
|
Greg Johnston
|
7a10ffd150
|
A couple small DX improvements re: we, and making sure it builds /tests properly
|
2022-11-23 15:12:21 -05:00 |
|
safx
|
f3947abdc2
|
Merge branch 'main' into typed-event-handlers
|
2022-11-23 22:51:31 +09:00 |
|
Safx
|
701a12ab46
|
Add typed event handlers
|
2022-11-23 22:50:26 +09:00 |
|
Greg Johnston
|
fe830e524c
|
Add docs for component macro (fixes issues #106 and #111)
|
2022-11-23 07:58:01 -05:00 |
|
Greg Johnston
|
6ddef3018f
|
Better errors on renderer bugs (fixes issue #112)
|
2022-11-23 07:37:47 -05:00 |
|
Greg Johnston
|
b6d902a584
|
Passes leptos_server tests now
|
2022-11-22 21:44:02 -05:00 |
|
Ben Wishovich
|
931e60347d
|
It mostly works now. Remove lifetime, edit macro to take encoding option, and flail around a bit
|
2022-11-22 15:12:45 -08:00 |
|
Ben Wishovich
|
2a547936d4
|
Almost there maybe?
|
2022-11-22 10:41:15 -08:00 |
|
Greg Johnston
|
4f205b5368
|
0.0.18
|
2022-11-22 07:32:12 -05:00 |
|
Ben Wishovich
|
6b77b51fa0
|
Get a bit closer with the macro
|
2022-11-21 22:38:53 -08:00 |
|
Ben Wishovich
|
6564b95342
|
WIP commit for MessagePack Encoding
|
2022-11-21 22:07:56 -08:00 |
|
Greg Johnston
|
10d19f7fb3
|
leptos_macro tests
|
2022-11-21 22:27:25 -05:00 |
|
Greg Johnston
|
20634e38a1
|
Refer to full type, in case it hasn't been imported
|
2022-11-20 15:04:05 -05:00 |
|
Greg Johnston
|
6ddc720227
|
Allow accessing Scope from server functions, which can be used to inject server-only dependencies like HttpRequest
|
2022-11-19 14:44:35 -05:00 |
|
Greg Johnston
|
63d06211b9
|
Fix which Span this is using
|
2022-11-18 16:46:54 -05:00 |
|
Greg Johnston
|
d654a13541
|
Clear some macro warnings
|
2022-11-18 16:39:17 -05:00 |
|
Greg Johnston
|
ad880efc0d
|
leptos 0.0.17 and leptos_router 0.0.3
|
2022-11-18 15:45:04 -05:00 |
|
Greg Johnston
|
ccb5aeac6d
|
Resolving lots of sibling order issues
|
2022-11-15 12:52:50 -05:00 |
|
Greg Johnston
|
4ba9844852
|
Rendering work
|
2022-11-15 12:11:35 -05:00 |
|
Greg Johnston
|
780c6d2e64
|
Improvements to the view macro to handle a wider variety of positions/relationships between child nodes
|
2022-11-14 21:33:49 -05:00 |
|
Greg Johnston
|
22eaa92355
|
Use serde_urlencoded for server functions (making it easier to use normal text inputs for forms)
|
2022-11-14 08:18:01 -05:00 |
|
Greg Johnston
|
f8de0fff81
|
Allow prefixes for server function routes
|
2022-11-14 07:21:05 -05:00 |
|
Greg Johnston
|
d9f07111e0
|
Address issue #69 by adding caller filename to server fn URLs
|
2022-11-13 20:42:56 -05:00 |
|
Greg Johnston
|
d4da7e0c25
|
Allow returning <template> from view
|
2022-11-13 15:58:49 -05:00 |
|
Greg Johnston
|
05f635f4ac
|
Don't require specific subminor versions in dev-dependencies
|
2022-11-13 09:04:25 -05:00 |
|
Greg Johnston
|
ba3156c878
|
0.0.16
|
2022-11-13 09:02:04 -05:00 |
|
Greg Johnston
|
48e934cd40
|
Remove references to dash-pattern in docs
|
2022-11-12 20:13:12 -05:00 |
|
Greg Johnston
|
8d67aa1ff0
|
Fix issues when rendering adjacent blocks/text
|
2022-11-12 20:03:16 -05:00 |
|
Greg Johnston
|
12fc1ca7a1
|
Clear warnings
|
2022-11-12 19:30:47 -05:00 |
|
Greg Johnston
|
c7826e0bc9
|
Continuing work
|
2022-11-12 07:47:57 -05:00 |
|
Greg Johnston
|
281b303c80
|
Initial work to upgrade to 0.9
|
2022-11-12 07:30:37 -05:00 |
|
Greg Johnston
|
92f4ea5888
|
Fixes issue #60
|
2022-11-08 07:15:26 -05:00 |
|
Greg Johnston
|
6b82a37dea
|
Merge pull request #58 from gbj/fix-component-and-element-order
Fix the out-of-order component/element rendering in #53.
|
2022-11-06 22:22:47 -05:00 |
|
Greg Johnston
|
33fdc3eae1
|
Fix leptos important for doctests with on:
|
2022-11-06 20:45:50 -05:00 |
|
Greg Johnston
|
10e01bf989
|
Remove logs I reintroduced
|
2022-11-06 20:43:05 -05:00 |
|
Greg Johnston
|
49820ccba6
|
This should fix the out-of-order component/element rendering in #53.
|
2022-11-06 20:37:09 -05:00 |
|
Greg Johnston
|
36be004ef2
|
Avoid manual delegation for all the DOM events that don't bubble by default. (This is technically too conservative, as one or two of these only don't bubble on certain elements, but it's simpler than passing in the element name and only a very small deopt in those cases.)
|
2022-11-06 20:00:35 -05:00 |
|
Greg Johnston
|
296e27cd4a
|
Add notes on types that can be accepted as attributes.
|
2022-11-06 06:54:20 -05:00 |
|
Greg Johnston
|
e9c1799a11
|
0.0.13
|
2022-11-05 22:24:59 -04:00 |
|
Greg Johnston
|
42cd3f1d69
|
Make sure server-only stuff appears in docs
|
2022-11-05 22:14:19 -04:00 |
|
Greg Johnston
|
6c04e91088
|
Fix broken class: and prop:
|
2022-11-05 19:11:02 -04:00 |
|
Greg Johnston
|
a5712d3e17
|
0.0.12
|
2022-11-03 20:00:26 -04:00 |
|
Greg Johnston
|
47fad9a042
|
Allow on-, class-, prop-, and attr- as equivalent to on:, class:, prop:, and attr: to get around a syn-rsx parsing limitation on mixing colons and dashes in an attribute name
|
2022-11-03 19:57:27 -04:00 |
|
Greg Johnston
|
abc1c07053
|
Work on fixing tests
|
2022-11-03 08:08:03 -04:00 |
|
Greg Johnston
|
8ea73565de
|
Shift from mutually-exclusive features to a more-gracefully-degrading system of features ordered by preference, clean up some warnings, and use cfg_if for improved readability
|
2022-11-02 20:41:00 -04:00 |
|
Greg Johnston
|
c034e84b1d
|
Direct server fn => ServerForm interface per #43
|
2022-11-01 22:57:55 -04:00 |
|
Greg Johnston
|
292c3d8bb1
|
Support for POST in client-side forms
|
2022-10-30 20:37:50 -04:00 |
|
Greg Johnston
|
f411ece51a
|
Merge branch 'main' into server-rpc
|
2022-10-29 20:31:34 -04:00 |
|
Greg Johnston
|
57ddfbf2ef
|
Correctly handle serialization using Serializable and multiple types of arguments for input & output
|
2022-10-29 20:09:05 -04:00 |
|
Greg Johnston
|
c3afa0b08d
|
Reduce types that need to be derived
|
2022-10-28 20:58:38 -04:00 |
|
Greg Johnston
|
572187399f
|
Okay, here's the magic: add a #[server] macro and remove all the nasty boilerplate
|
2022-10-28 17:35:21 -04:00 |
|
Greg Johnston
|
2fbe08f128
|
0.0.11
|
2022-10-24 19:30:13 -04:00 |
|
Greg Johnston
|
c77bdb3781
|
0.0.10
|
2022-10-22 07:56:33 -04:00 |
|
Greg Johnston
|
ac624dd7ac
|
Fix stable feature
|
2022-10-19 08:50:17 -04:00 |
|