Skip to content

Commit b69e87f

Browse files
authored
fix: bump dioxus, letpos, log && pin tailwind to v3 (#17)
* fix: bump dioxus, letpos, log * fix: pin tailwind to v3
1 parent ea2ea1c commit b69e87f

File tree

6 files changed

+11
-18
lines changed

6 files changed

+11
-18
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "input-rs"
33
version = "0.2.4"
44
edition = "2021"
5-
rust-version = "1.79"
5+
rust-version = "1.82"
66
description = "🔤 A highly customizable input component for WASM frameworks like Yew, Dioxus, and Leptos."
77
license = "Apache-2.0"
88
keywords = ["input", "yew", "dioxus", "leptos", "input-rs"]
@@ -17,8 +17,8 @@ exclude = ["assets", "examples"]
1717
[dependencies]
1818
web-sys = { version = "0.3", default-features = false }
1919
yew = { version = "0.21.0", default-features = false, optional = true }
20-
dioxus = { version = "0.6.1", optional = true }
21-
leptos = { version = "0.7.2", optional = true }
20+
dioxus = { version = "0.6.3", optional = true }
21+
leptos = { version = "0.7.7", optional = true }
2222

2323
[dev-dependencies]
2424
bump2version = "0.1.4"

examples/dioxus/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
dioxus = { version = "0.6.1", features = ["web"] }
7+
dioxus = { version = "0.6.3", features = ["web"] }
88
input-rs = { path = "../../", features = ["dio"] }
9-
dioxus-logger = "0.6.1"
9+
dioxus-logger = "0.6.2"
1010
regex = "1.11.1"
1111

1212
[profile]

examples/dioxus/Dioxus.toml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ name = "input-rs"
77
# desktop, web
88
default_platform = "web"
99

10-
# `build` & `serve` dist path
11-
out_dir = "dist"
12-
1310
# resource (assets) file folder
1411
asset_dir = "assets"
1512

@@ -30,16 +27,10 @@ watch_path = ["src", "assets"]
3027
[web.resource]
3128

3229
# CSS style file
33-
style = [
34-
# online cdn.
35-
"https://unpkg.com/[email protected]/dist/tailwind.min.css"
36-
]
30+
style = []
3731

3832
# Javascript code file
39-
script = [
40-
# online cdn.
41-
"https://kit.fontawesome.com/8f223ead6e.js"
42-
]
33+
script = []
4334

4435
[web.resource.dev]
4536

examples/dioxus/src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ fn main() {
2020

2121
fn app() -> Element {
2222
rsx! {
23+
document::Script { src: "https://kit.fontawesome.com/8f223ead6e.js" },
24+
document::Stylesheet { href: "https://unpkg.com/[email protected]/dist/tailwind.min.css" },
2325
MultiStepFormOne {}
2426
}
2527
}

examples/yew/Trunk.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[[hooks]]
22
stage = "post_build"
33
command = "sh"
4-
command_arguments = ["-c", "npx tailwindcss -i ./css/tailwind.css -o ./dist/.stage/index.css"]
4+
command_arguments = ["-c", "npx tailwindcss@v3 -i ./css/tailwind.css -o ./dist/.stage/index.css"]

examples/yew/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<meta charset="utf-8" />
5-
<link data-trunk rel="css" href="./dist/index.css" type="text/css" />
5+
<!-- <link data-trunk rel="css" href="./dist/index.css" type="text/css" /> -->
66
<script
77
src="https://kit.fontawesome.com/8f223ead6e.js"
88
crossorigin="anonymous"

0 commit comments

Comments
 (0)