Saber Haj Rabiee
db1c15f4e4
fix: fix web-sys
warnings in server_fn
( #2828 )
...
* fix: fix web-sys warnings in server_fn
* fix: update web-sys to 0.3.70
* fix: web-sys clipboard api in 0.3.70
2024-08-13 15:46:34 -07:00
Saber Haj Rabiee
e01dfbf497
fix: update to wasm-bindgen 0.2.93 ( #2827 )
2024-08-13 15:21:57 -07:00
mahmoud-eltahawy
20af4928b2
chore: use workspace edition for examples and crates ( #2816 )
2024-08-12 19:25:47 -04:00
Saber Haj Rabiee
b3e2040ec9
chore: upgrade dependencies ( #2765 )
2024-08-10 20:01:41 -04:00
Greg Johnston
0e979a0767
chore: remove dead code from leptos_dom
(now found in tachys
)
2024-08-01 19:43:10 -04:00
Greg Johnston
3a4ad07a91
chore: remove unused dependencies
2024-08-01 19:43:10 -04:00
Greg Johnston
f2f35cd785
chore: fix imports in tests
2024-08-01 19:43:10 -04:00
Corvus
e3482b433b
feat: reintroduce queue_microtask
( #2703 )
2024-08-01 19:42:51 -04:00
Greg Johnston
04c67cb8b6
chore: clear warnings
2024-08-01 19:42:50 -04:00
Rakshith Ravi
98ea18009d
Update import statements in examples ( #2625 )
2024-08-01 19:41:56 -04:00
Greg Johnston
8dd63a402b
make WindowListenerHandle Send + Sync so it can be remove via on_cleanup
2024-08-01 19:41:11 -04:00
Greg Johnston
3406446ebd
module restructuring for 0.7
2024-08-01 19:40:56 -04:00
Greg Johnston
b41fde3ff9
work related to 0.7 blog port
2024-08-01 19:40:24 -04:00
Greg Johnston
9f02cc8cc1
stash
2024-08-01 19:40:24 -04:00
Greg Johnston
a8adf8eea2
todomvc example
2024-08-01 19:40:24 -04:00
Greg Johnston
d726b56b71
begin migrating to leptos
and leptos_dom
packages
2024-08-01 19:40:23 -04:00
Greg Johnston
0fddfb4823
stash
2024-08-01 19:40:23 -04:00
renshuncui
b9c620d4cd
chore: fix some comments ( #2712 )
...
Signed-off-by: renshuncui <renshun@111.com>
2024-07-29 09:30:50 -04:00
Dreo
0763a81cf1
fix: remove unnecessary 'static lifetime from argument in function Style::as_value_string() ( #2683 )
2024-07-12 11:53:48 -04:00
Dreo
3d37f08539
add impl IntoStyle for Style ( #2682 )
2024-07-12 11:13:29 -04:00
Chris
fb5d8513ff
docs: generate link to definition ( #2656 )
2024-07-03 06:46:02 -04:00
Greg Johnston
9e65f71db4
fix: only issue NodeRef warning in debug mode (necessary to compile in --release
) ( #2587 )
2024-05-11 15:05:17 -04:00
Greg Johnston
f3f3a053ba
fix: don't insert empty child for comment/doctype ( closes #2549 ) ( #2581 )
2024-05-08 07:19:57 -04:00
martin frances
47bcee0ef4
docs: improve NodeRef
warning ( #2414 ) ( #2467 )
2024-05-06 08:51:32 -04:00
0e4ef622
6e819737cd
fix: make TextProp's IntoView and IntoAttribute impls reactive ( #2518 )
2024-04-17 14:02:52 -07:00
Greg Johnston
871d2c1b9f
feat: directly implement IntoView
on resources on stable
2024-04-09 14:45:01 -04:00
Lukas Potthast
119c9ea23f
feat: allow spreading of both attributes and event handlers ( #2432 )
2024-04-05 14:30:34 -04:00
Yann Dirson
fc537c14c4
feat: implement IntoView
for Rc<str>
( #2462 )
...
With-help-from: Greg Johnston <greg.johnston@gmail.com>
Signed-off-by: Yann Dirson <ydirson@free.fr>
2024-04-05 09:58:35 -04:00
zakstucke
9f1c09e131
feat: add View::on
support for CoreComponent::{DynChild, Each} ( #2422 )
2024-04-01 17:09:05 -04:00
Greg Johnston
41f3c46830
chore: bump nightly version in examples ( #2479 )
2024-04-01 15:16:53 -04:00
Greg Johnston
bfac4cba2a
chore: cargo fmt
2024-03-31 14:12:33 -04:00
Bart Toersche
73b8c7872e
Fix: Small fix for location hash/fragment ( #2464 )
2024-03-27 06:45:29 +00:00
martin frances
0b70949118
Bumped base64 to 0.22. ( #2457 )
2024-03-22 15:07:04 -07:00
battmdpkq
4faf3fa894
chore: fix types in some comments ( #2413 )
...
Signed-off-by: battmdpkq <cmaker@163.com>
2024-03-09 07:38:25 -05:00
Álvaro Mondéjar
7928f61401
chore: add lint to disallow prints to stdout ( #2404 )
2024-03-08 13:18:37 -05:00
Giovanni
2b4f5e0f58
docs: runtime error if setting the same event listener 2x rather than silent failure ( #2383 )
...
Delegated event listeners do not support adding more than one event listener of the same type. This can cause confusion if two listeners are added, as one is silently dropped.
2024-03-07 16:49:23 -05:00
Giovanni
943a992570
fix: re-throw errors in delegated event listeners ( #2382 )
2024-03-07 16:48:21 -05:00
Paul Hansen
6a83161368
chore: add MSRV ( #2360 )
2024-02-28 07:19:09 -05:00
rjmac
47abe00993
fix: don't leak canceled timeouts ( #2331 )
...
Instead of using `Closure::once_into_js`, this uses `into_js_value`,
which uses weak references to clean up the closure when Javascript no
longer has need of it.
It would be nice to make this (and the similar interval function) drop
the callback promptly when cancelled, but I don't think that's
possible while keeping the handles Copy.
Fixes #2330
Co-authored-by: Robert Macomber <robertm@mox>
2024-02-19 21:17:26 -05:00
Greg Johnston
701e3077fb
chore: cargo fmt
2024-02-05 06:38:02 -05:00
Sam Judelson
66ea072bc0
docs: a note to HtmlElement<El>
about Deref
( #2218 )
2024-02-04 15:34:39 -05:00
Greg Johnston
c84c6ee8cd
Merge pull request #2158 from leptos-rs/leptos_v0.6
2024-01-20 15:58:25 -05:00
Chris
d746f83387
docs: View::render_to_string
panic ( #2200 )
...
Co-authored-by: chrisp60 <gh@cperry.me>
2024-01-19 17:07:39 -08:00
Ari Seyhun
1777a4057a
fix!: remove clone in Cow<'static, str>
IntoView
impl ( #1946 )
2024-01-19 14:16:58 -05:00
Greg Johnston
5cacb57283
chore: new clippy warnings
2024-01-19 11:14:36 -05:00
Greg Johnston
d71feada7e
change: change all tracing levels to trace
to reduce verbosity ( #2176 )
2024-01-13 08:19:12 -08:00
SleeplessOne1917
16cf3c4eaf
feat: make IntoAttribute
more flexible for Option<T: IntoAttribute>
( #2130 )
2023-12-30 13:10:07 -05:00
martin frances
ea80a21a54
chore: remove duplicate itertools
versions ( #2124 )
...
The root cause is the family of leptos modules requiring both versions 0.10.5 and 0.11.0
This PR will fix that. ( Also needs a bump to 0.12.0 )
```
warning: multiple versions for dependency `itertools`: 0.10.5, 0.11.0
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
note: the lint level is defined here
--> src/lib.rs:4:9
|
4 | #![warn(clippy::cargo)]
| ^^^^^^^^^^^^^
= note: `#[warn(clippy::multiple_crate_versions)]` implied by `#[warn(clippy::cargo)]`
```
2023-12-20 19:10:00 -05:00
Greg Johnston
33590d487b
chore: clean up warnings causing CI issues ( #2119 )
2023-12-18 08:15:46 -05:00
NKID00
8122941c3c
fix: let mount_to_body
accept FnOnce
closures ( closes #2115 ) ( #2116 )
2023-12-17 20:28:18 -05:00