diff --git a/demo/Cargo.toml b/demo/Cargo.toml index 6b40b73..4158dc7 100644 --- a/demo/Cargo.toml +++ b/demo/Cargo.toml @@ -12,9 +12,9 @@ leptos_meta = { workspace = true } leptos_router = { workspace = true } thaw = { path = "../thaw" } demo_markdown = { path = "../demo_markdown" } -icondata = "0.3.0" -palette = "0.7.4" -chrono = "0.4.33" +icondata = "0.3.1" +palette = "0.7.6" +chrono = "0.4.38" cfg-if = "1.0.0" # leptos-use = "0.10.10" send_wrapper = "0.6" diff --git a/demo_markdown/Cargo.toml b/demo_markdown/Cargo.toml index 34173da..d9eb3e1 100644 --- a/demo_markdown/Cargo.toml +++ b/demo_markdown/Cargo.toml @@ -10,8 +10,8 @@ edition = "2021" proc-macro = true [dependencies] -quote = "1.0.35" -comrak = "0.21.0" -proc-macro2 = "1.0.78" -syn = "2.0.48" -syntect = "5.1.0" \ No newline at end of file +quote = "1.0.36" +comrak = "0.26.0" +proc-macro2 = "1.0.86" +syn = "2.0.74" +syntect = "5.2.0" \ No newline at end of file diff --git a/demo_markdown/src/markdown/mod.rs b/demo_markdown/src/markdown/mod.rs index dd5094c..904737f 100644 --- a/demo_markdown/src/markdown/mod.rs +++ b/demo_markdown/src/markdown/mod.rs @@ -168,6 +168,12 @@ fn iter_nodes<'a>( NodeValue::Image(_) => quote!("Image todo!!!"), NodeValue::FootnoteReference(_) => quote!("FootnoteReference todo!!!"), NodeValue::MultilineBlockQuote(_) => quote!("FootnoteReference todo!!!"), + NodeValue::Math(_) => quote!("Math todo!!!"), + NodeValue::Escaped => quote!("Escaped todo!!!"), + NodeValue::WikiLink(_) => quote!("WikiLink todo!!!"), + NodeValue::Underline => quote!("Underline todo!!!"), + NodeValue::SpoileredText => quote!("SpoileredText todo!!!"), + NodeValue::EscapedTag(_) => quote!("EscapedTag todo!!!"), } } diff --git a/examples/ssr_axum/Cargo.toml b/examples/ssr_axum/Cargo.toml index 222c7ab..02265e5 100644 --- a/examples/ssr_axum/Cargo.toml +++ b/examples/ssr_axum/Cargo.toml @@ -7,16 +7,16 @@ edition = "2021" crate-type = ["cdylib", "rlib"] [dependencies] -axum = { version = "0.7.4", optional = true } +axum = { version = "0.7.5", optional = true } console_error_panic_hook = "0.1" leptos = { git = "https://github.com/leptos-rs/leptos", rev = "20af4928b2fffe017408d3f4e7330db22cf68277" } leptos_axum = { git = "https://github.com/leptos-rs/leptos", rev = "20af4928b2fffe017408d3f4e7330db22cf68277", optional = true } leptos_meta = { git = "https://github.com/leptos-rs/leptos", rev = "20af4928b2fffe017408d3f4e7330db22cf68277" } leptos_router = { git = "https://github.com/leptos-rs/leptos", rev = "20af4928b2fffe017408d3f4e7330db22cf68277" } tokio = { version = "1", features = ["rt-multi-thread"], optional = true } -tower = { version = "0.4", optional = true } +tower = { version = "0.5.0", optional = true } tower-http = { version = "0.5", features = ["fs"], optional = true } -wasm-bindgen = "=0.2.92" +wasm-bindgen = "=0.2.93" thiserror = "1" tracing = { version = "0.1", optional = true } http = "1" diff --git a/thaw/Cargo.toml b/thaw/Cargo.toml index 69f33af..17de138 100644 --- a/thaw/Cargo.toml +++ b/thaw/Cargo.toml @@ -18,7 +18,7 @@ leptos = { workspace = true } thaw_components = { workspace = true } thaw_macro = { workspace = true } thaw_utils = { workspace = true } -web-sys = { version = "0.3.69", features = [ +web-sys = { version = "0.3.70", features = [ "DomRect", "File", "FileList", @@ -28,14 +28,14 @@ web-sys = { version = "0.3.69", features = [ "TreeWalker", "NodeFilter", ] } -wasm-bindgen = "0.2.92" +wasm-bindgen = "0.2.93" icondata_core = "0.1.0" icondata_ai = "0.0.10" uuid = { version = "1.10.0", features = ["v4", "js"] } cfg-if = "1.0.0" -chrono = "0.4.35" -palette = "0.7.5" -num-traits = "0.2.18" +chrono = "0.4.38" +palette = "0.7.6" +num-traits = "0.2.19" send_wrapper = "0.6" [features] diff --git a/thaw/src/_aria/active_descendant/use_option_walker.rs b/thaw/src/_aria/active_descendant/use_option_walker.rs index 0d633c7..7ea1123 100644 --- a/thaw/src/_aria/active_descendant/use_option_walker.rs +++ b/thaw/src/_aria/active_descendant/use_option_walker.rs @@ -27,8 +27,8 @@ where 3u32 }); - let mut node_filter = NodeFilter::new(); - node_filter.accept_node(cb.as_ref().unchecked_ref()); + let node_filter = NodeFilter::new(); + node_filter.set_accept_node(cb.as_ref().unchecked_ref()); let tw = document() .create_tree_walker_with_what_to_show_and_filter(el, 0x1, Some(&node_filter)) diff --git a/thaw/src/back_top/mod.rs b/thaw/src/back_top/mod.rs index 67bbe3a..1be8d4f 100644 --- a/thaw/src/back_top/mod.rs +++ b/thaw/src/back_top/mod.rs @@ -49,11 +49,10 @@ pub fn BackTop( { let scroll_el = send_wrapper::SendWrapper::new(scroll_el.clone()); scroll_to_top.set_value(Some(BoxCallback::new(move || { - scroll_el.scroll_to_with_scroll_to_options( - web_sys::ScrollToOptions::new() - .top(0.0) - .behavior(web_sys::ScrollBehavior::Smooth), - ); + let options = web_sys::ScrollToOptions::new(); + options.set_top(0.0); + options.set_behavior(web_sys::ScrollBehavior::Smooth); + scroll_el.scroll_to_with_scroll_to_options(&options); }))); } diff --git a/thaw/src/time_picker/mod.rs b/thaw/src/time_picker/mod.rs index 70b6a4f..42fc668 100644 --- a/thaw/src/time_picker/mod.rs +++ b/thaw/src/time_picker/mod.rs @@ -299,9 +299,9 @@ impl PanelRef { }; use wasm_bindgen::JsCast; if let Ok(slected_el) = slected_el.dyn_into::() { - scrollbar_ref.scroll_to_with_scroll_to_options( - web_sys::ScrollToOptions::new().top(f64::from(slected_el.offset_top())), - ); + let options = web_sys::ScrollToOptions::new(); + options.set_top(f64::from(slected_el.offset_top())); + scrollbar_ref.scroll_to_with_scroll_to_options(&options); } } diff --git a/thaw_components/Cargo.toml b/thaw_components/Cargo.toml index bd5f1c9..5491f22 100644 --- a/thaw_components/Cargo.toml +++ b/thaw_components/Cargo.toml @@ -14,7 +14,7 @@ license = "MIT" [dependencies] leptos = { workspace = true } thaw_utils = { workspace = true } -web-sys = { version = "0.3.69", features = ["DomRect"] } +web-sys = { version = "0.3.70", features = ["DomRect"] } cfg-if = "1.0.0" uuid = { version = "1.10.0", features = ["v4", "js"] } send_wrapper = "0.6" diff --git a/thaw_macro/Cargo.toml b/thaw_macro/Cargo.toml index 58fcf61..5bbd1c5 100644 --- a/thaw_macro/Cargo.toml +++ b/thaw_macro/Cargo.toml @@ -16,5 +16,5 @@ proc-macro = true [dependencies] quote = "1.0.36" -syn = "2.0.60" -proc-macro2 = "1.0.81" \ No newline at end of file +syn = "2.0.74" +proc-macro2 = "1.0.86" \ No newline at end of file diff --git a/thaw_utils/Cargo.toml b/thaw_utils/Cargo.toml index 4c15381..e788493 100644 --- a/thaw_utils/Cargo.toml +++ b/thaw_utils/Cargo.toml @@ -14,10 +14,10 @@ license = "MIT" [dependencies] leptos = { workspace = true } leptos_meta = { workspace = true, optional = true } -web-sys = "0.3.69" -wasm-bindgen = "0.2.92" +web-sys = "0.3.70" +wasm-bindgen = "0.2.93" cfg-if = "1.0.0" -chrono = "0.4.35" +chrono = "0.4.38" send_wrapper = "0.6" [features]