diff --git a/.bumpversion.toml b/.bumpversion.toml index 4d0594f..a1c18fe 100755 --- a/.bumpversion.toml +++ b/.bumpversion.toml @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.2.4 +current_version = 0.2.5 [bumpversion:file:Cargo.toml] search = version = "{current_version}" diff --git a/Cargo.toml b/Cargo.toml index 61f7eb4..66e42a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "input-rs" -version = "0.2.4" +version = "0.2.5" edition = "2021" -rust-version = "1.79" +rust-version = "1.82" description = "🔤 A highly customizable input component for WASM frameworks like Yew, Dioxus, and Leptos." license = "Apache-2.0" keywords = ["input", "yew", "dioxus", "leptos", "input-rs"] @@ -17,8 +17,8 @@ exclude = ["assets", "examples"] [dependencies] web-sys = { version = "0.3", default-features = false } yew = { version = "0.21.0", default-features = false, optional = true } -dioxus = { version = "0.6.1", optional = true } -leptos = { version = "0.7.2", optional = true } +dioxus = { version = "0.6.3", optional = true } +leptos = { version = "0.7.7", optional = true } [dev-dependencies] bump2version = "0.1.4" diff --git a/examples/dioxus/Cargo.toml b/examples/dioxus/Cargo.toml index 4778463..c19b518 100755 --- a/examples/dioxus/Cargo.toml +++ b/examples/dioxus/Cargo.toml @@ -4,9 +4,9 @@ version = "0.1.0" edition = "2021" [dependencies] -dioxus = { version = "0.6.1", features = ["web"] } +dioxus = { version = "0.6.3", features = ["web"] } input-rs = { path = "../../", features = ["dio"] } -dioxus-logger = "0.6.1" +dioxus-logger = "0.6.2" regex = "1.11.1" [profile] diff --git a/examples/dioxus/Dioxus.toml b/examples/dioxus/Dioxus.toml index ba41305..19cd9cf 100755 --- a/examples/dioxus/Dioxus.toml +++ b/examples/dioxus/Dioxus.toml @@ -7,9 +7,6 @@ name = "input-rs" # desktop, web default_platform = "web" -# `build` & `serve` dist path -out_dir = "dist" - # resource (assets) file folder asset_dir = "assets" @@ -30,16 +27,10 @@ watch_path = ["src", "assets"] [web.resource] # CSS style file -style = [ - # online cdn. - "https://unpkg.com/tailwindcss@2.2.19/dist/tailwind.min.css" -] +style = [] # Javascript code file -script = [ - # online cdn. - "https://kit.fontawesome.com/8f223ead6e.js" -] +script = [] [web.resource.dev] diff --git a/examples/dioxus/src/main.rs b/examples/dioxus/src/main.rs index 5be2cfe..3206383 100755 --- a/examples/dioxus/src/main.rs +++ b/examples/dioxus/src/main.rs @@ -20,6 +20,8 @@ fn main() { fn app() -> Element { rsx! { + document::Script { src: "https://kit.fontawesome.com/8f223ead6e.js" }, + document::Stylesheet { href: "https://unpkg.com/tailwindcss@2.2.19/dist/tailwind.min.css" }, MultiStepFormOne {} } } diff --git a/examples/yew/Trunk.toml b/examples/yew/Trunk.toml index 123d93b..c3c275b 100644 --- a/examples/yew/Trunk.toml +++ b/examples/yew/Trunk.toml @@ -1,4 +1,4 @@ [[hooks]] stage = "post_build" command = "sh" -command_arguments = ["-c", "npx tailwindcss -i ./css/tailwind.css -o ./dist/.stage/index.css"] \ No newline at end of file +command_arguments = ["-c", "npx tailwindcss@v3 -i ./css/tailwind.css -o ./dist/.stage/index.css"] \ No newline at end of file diff --git a/examples/yew/index.html b/examples/yew/index.html index 5cbeb0f..1339211 100644 --- a/examples/yew/index.html +++ b/examples/yew/index.html @@ -2,7 +2,7 @@
- +