migrated to leptos 0.5.0-alpha2

This commit is contained in:
Maccesch 2023-08-04 16:18:59 +01:00
parent 09dee407c7
commit d73dbdbc5e
44 changed files with 49 additions and 49 deletions

View file

@ -13,7 +13,7 @@ repository = "https://github.com/Synphonyte/leptos-use"
homepage = "https://leptos-use.rs"
[dependencies]
leptos = "0.5.0-alpha"
leptos = "0.5.0-alpha2"
wasm-bindgen = "0.2"
js-sys = "0.3"
default-struct-builder = "0.5"

View file

@ -3,6 +3,7 @@ resolver = "2"
members = [
"on_click_outside",
"portal",
"signal_debounced",
"signal_throttled",
"use_abs",

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -11,16 +11,16 @@ axum = { version = "0.6.4", optional = true }
console_error_panic_hook = "0.1"
console_log = "1"
cfg-if = "1"
leptos = { version = "0.5.0-alpha", features = ["nightly"] }
leptos_axum = { version = "0.5.0-alpha", optional = true }
leptos_meta = { version = "0.5.0-alpha", features = ["nightly"] }
leptos_router = { version = "0.5.0-alpha", features = ["nightly"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly"] }
leptos_axum = { version = "0.5.0-alpha2", optional = true }
leptos_meta = { version = "0.5.0-alpha2", features = ["nightly"] }
leptos_router = { version = "0.5.0-alpha2", features = ["nightly"] }
leptos-use = { path = "../..", features = ["storage"] }
log = "0.4"
simple_logger = "4"
tokio = { version = "1.25.0", optional = true }
tower = { version = "0.4.13", optional = true }
tower-http = { version = "0.5.0-alpha", features = ["fs"], optional = true }
tower-http = { version = "0.5.0-alpha2", features = ["fs"], optional = true }
wasm-bindgen = "=0.2.87"
thiserror = "1.0.38"
tracing = { version = "0.1.37", optional = true }

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -31,9 +31,8 @@ fn Demo() -> impl IntoView {
>
"👋 Drag me!"
<div class="text-sm opacity-50">
I am
{move || x().round()}
)
I am
{move || x().round()},
{move || y().round()}
</div>
</div>

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.5.0-alpha", features = ["nightly", "csr"] }
leptos = { version = "0.5.0-alpha2", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
leptos = { version = "0.4", features = ["nightly", "csr"] }
leptos = { version = "0.5", features = ["nightly", "csr"] }
console_error_panic_hook = "0.1"
console_log = "1"
log = "0.4"