diff --git a/README.md b/README.md index 42aa35100..7fc5ccf13 100644 --- a/README.md +++ b/README.md @@ -81,9 +81,9 @@ If you know React, then you already know Dioxus. ## Examples: -| File Navigator (Desktop) | WiFi scanner (Desktop) | TodoMVC (All platforms) | Tailwind (Liveview) | -| --------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| [![asd](https://github.com/DioxusLabs/file-explorer-example/raw/master/image.png)](https://github.com/DioxusLabs/file-explorer-example) | [![Wifi Scanner Demo](https://github.com/DioxusLabs/wifi-scanner/raw/master/demo_small.png)](https://github.com/DioxusLabs/wifi-scanner) | [![asd](https://github.com/DioxusLabs/todomvc/raw/master/example.png)](https://github.com/dioxusLabs/todomvc/) | [![asd](https://github.com/DioxusLabs/file-explorer-example/raw/master/image.png)](https://github.com/DioxusLabs/file-explorer-example) | +| File Navigator (Desktop) | WiFi scanner (Desktop) | TodoMVC (All platforms) | Tailwind (Liveview) | +| --------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | +| [![asd](https://github.com/DioxusLabs/file-explorer-example/raw/master/image.png)](https://github.com/DioxusLabs/file-explorer-example) | [![Wifi Scanner Demo](https://github.com/DioxusLabs/wifi-scanner/raw/master/demo_small.png)](https://github.com/DioxusLabs/wifi-scanner) | [![TodoMVC example](https://github.com/DioxusLabs/todomvc/raw/master/example.png)](https://github.com/dioxusLabs/todomvc/) | [![Ecommerce Example](https://github.com/DioxusLabs/ecommerce-example/blob/master/demo.png)](https://github.com/DioxusLabs/ecommerce-example) | See the awesome-dioxus page for a curated list of content in the Dioxus Ecosystem. diff --git a/packages/html/src/elements.rs b/packages/html/src/elements.rs index db4b3442c..cd8656ccc 100644 --- a/packages/html/src/elements.rs +++ b/packages/html/src/elements.rs @@ -1165,4 +1165,11 @@ builder_constructors! { }; + /// Build a + /// [``](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/g) + /// element. + g <> "http://www.w3.org/2000/svg" { + + }; + } diff --git a/packages/router/Cargo.toml b/packages/router/Cargo.toml index 41822b97f..0588a2038 100644 --- a/packages/router/Cargo.toml +++ b/packages/router/Cargo.toml @@ -15,9 +15,8 @@ dioxus-core = { path = "../core", version = "^0.1.3", default-features = false } dioxus-html = { path = "../html", version = "^0.1.0", default-features = false } dioxus-core-macro = { path = "../core-macro", version = "^0.1.2" } -serde = "1.0.130" +serde = "1" url = "2.2.2" -url_serde = "0.2.0" serde_urlencoded = "0.7" web-sys = { version = "0.3", features = [ @@ -33,7 +32,7 @@ web-sys = { version = "0.3", features = [ ], optional = true } wasm-bindgen = { version = "0.2", optional = true } js-sys = { version = "0.3", optional = true } -gloo = { version = "0.4", optional = true } +gloo = { version = "0.5", optional = true } [features]