diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 35adeb9..7354a96 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -2,21 +2,20 @@ name: Rust on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] env: CARGO_TERM_COLOR: always jobs: build: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Build - run: cargo build --verbose - - name: Run tests - run: cargo test --all-features --verbose + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --all-features --verbose diff --git a/Cargo.toml b/Cargo.toml index 4c8eda4..e72d99b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,15 +15,15 @@ exclude = ["assets", "examples"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -web-sys = { version = "0.3", default-features = false } -yew = { version = "0.22.0", default-features = false, optional = true } -dioxus = { version = "0.6.3", optional = true } -leptos = { version = "0.7.7", optional = true } +web-sys = { version = "0.3.106", default-features = false } +yew = { version = "0.23.0", default-features = false, optional = true } +dioxus = { version = "0.7.10", optional = true } +leptos = { version = "0.8.21", optional = true } [dev-dependencies] -bump2version = "0.1.4" -regex = "1.10.2" -serde = { version = "1.0.193", features = ["derive"] } +bump2version = "0.2.2" +regex = "1.13.1" +serde = { version = "1.0.229", features = ["derive"] } [features] yew = ["dep:yew", ] diff --git a/DIOXUS.md b/DIOXUS.md index b0d255c..28d73a6 100644 --- a/DIOXUS.md +++ b/DIOXUS.md @@ -2,7 +2,7 @@ Adding Input RS to your project is simple: -1. Make sure your project is set up with **Dioxus**. Refer to the [Dioxus Getting Started Guide](https://dioxuslabs.com/learn/0.6/getting_started) for setup instructions. +1. Make sure your project is set up with **Dioxus**. Refer to the [Dioxus Getting Started Guide](https://dioxuslabs.com/learn/0.7/getting_started) for setup instructions. 1. Add the Input component to your dependencies by including it in your `Cargo.toml` file. diff --git a/README.md b/README.md index 7799825..919dbd4 100644 --- a/README.md +++ b/README.md @@ -12,24 +12,27 @@ [](https://discord.gg/b5JbvHW5nv) +  ## 🎬 Demo + -| Input Type | Demo | -| ---------- | -------------------------------------------- | + +| Input Type | Demo | +| ---------- | -------------------------------------------------------------------------------------------------------------- | | Text |  | | Password |  | | Textarea |  | | Telephone |  | -| Framework | Live Demo | -| --- | --- | -| Yew | [](https://input-rs.netlify.app) | -| Dioxus | [](https://input-rs-dioxus.netlify.app) | -| Leptos | [](https://input-rs-leptos.netlify.app) | +| Framework | Live Demo | +| --------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| Yew | [](https://input-rs.netlify.app) | +| Dioxus | [](https://input-rs-dioxus.netlify.app) | +| Leptos | [](https://input-rs-leptos.netlify.app) | ### 📜 Intro @@ -48,16 +51,19 @@ The following features make Input RS a must-have for your WASM-based projects: ## Y Yew Usage + Refer to [our guide](https://github.com/opensass/input-rs/blob/main/YEW.md) to integrate this component into your Yew app. ## 🧬 Dioxus Usage + Refer to [our guide](https://github.com/opensass/input-rs/blob/main/DIOXUS.md) to integrate this component into your Dioxus app. ## 🌱 Leptos Usage + Refer to [our guide](https://github.com/opensass/input-rs/blob/main/LEPTOS.md) to integrate this component into your Leptos app. ## 🤝 Contributions diff --git a/examples/dioxus/Cargo.toml b/examples/dioxus/Cargo.toml index c19b518..f7b6f59 100755 --- a/examples/dioxus/Cargo.toml +++ b/examples/dioxus/Cargo.toml @@ -4,10 +4,10 @@ version = "0.1.0" edition = "2021" [dependencies] -dioxus = { version = "0.6.3", features = ["web"] } +dioxus = { version = "0.7.10", features = ["web"] } input-rs = { path = "../../", features = ["dio"] } -dioxus-logger = "0.6.2" -regex = "1.11.1" +dioxus-logger = "0.7.10" +regex = "1.13.1" [profile] diff --git a/examples/dioxus/README.md b/examples/dioxus/README.md index 842628e..c817f43 100644 --- a/examples/dioxus/README.md +++ b/examples/dioxus/README.md @@ -40,7 +40,7 @@ sudo apt install build-essential pkg-config libudev-dev ``` -1. Install [`Dioxus CLI`](https://dioxuslabs.com/learn/0.5/getting_started): +1. Install [`Dioxus CLI`](https://dioxuslabs.com/learn/0.7/getting_started): ```sh cargo install dioxus-cli diff --git a/examples/leptos/Cargo.toml b/examples/leptos/Cargo.toml index 4b04edb..3329e7e 100755 --- a/examples/leptos/Cargo.toml +++ b/examples/leptos/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] console_error_panic_hook = "0.1.7" input-rs = { path = "../../", features = ["lep"] } -leptos = { version = "0.7.2", features = ["csr"] } -regex = "1.11.1" -serde = "1.0.215" +leptos = { version = "0.8.21", features = ["csr"] } +regex = "1.13.1" +serde = "1.0.229" wasm-logger = "0.2.0" diff --git a/examples/leptos/index.html b/examples/leptos/index.html index 5b1dd65..eef6567 100755 --- a/examples/leptos/index.html +++ b/examples/leptos/index.html @@ -1,9 +1,15 @@
- - - + + +