mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-02-02 10:54:15 -05:00
doc fixes
This commit is contained in:
parent
2ae317dccf
commit
db6676396c
4 changed files with 11 additions and 5 deletions
|
@ -3,6 +3,11 @@
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [0.14.0-beta1] - 2024-09-02
|
||||||
|
|
||||||
|
Ported everything to Leptos 0.7
|
||||||
|
Some example don't run yet.
|
||||||
|
|
||||||
## [0.13.2] - 2024-09-02
|
## [0.13.2] - 2024-09-02
|
||||||
|
|
||||||
### Fix 🍕
|
### Fix 🍕
|
||||||
|
|
|
@ -26,7 +26,7 @@ http1 = { version = "1", optional = true, package = "http" }
|
||||||
http0_2 = { version = "0.2", optional = true, package = "http" }
|
http0_2 = { version = "0.2", optional = true, package = "http" }
|
||||||
js-sys = "0.3"
|
js-sys = "0.3"
|
||||||
lazy_static = "1"
|
lazy_static = "1"
|
||||||
leptos = { version = "0.7.0-beta" }
|
leptos = "0.7.0-beta"
|
||||||
leptos_axum = { optional = true, version = "0.7.0-beta" }
|
leptos_axum = { optional = true, version = "0.7.0-beta" }
|
||||||
leptos_actix = { optional = true, version = "0.7.0-beta" }
|
leptos_actix = { optional = true, version = "0.7.0-beta" }
|
||||||
leptos-spin = { version = "0.2", optional = true }
|
leptos-spin = { version = "0.2", optional = true }
|
||||||
|
|
|
@ -34,7 +34,7 @@ use leptos_use::{use_mouse, UseMouseReturn};
|
||||||
#[component]
|
#[component]
|
||||||
fn Demo() -> impl IntoView {
|
fn Demo() -> impl IntoView {
|
||||||
let UseMouseReturn { x, y, .. } = use_mouse();
|
let UseMouseReturn { x, y, .. } = use_mouse();
|
||||||
|
|
||||||
view! { cx,
|
view! { cx,
|
||||||
{x} " x " {y}
|
{x} " x " {y}
|
||||||
}
|
}
|
||||||
|
@ -93,3 +93,4 @@ This will create the function file in the src directory, scaffold an example dir
|
||||||
| 0.4, 0.5, 0.6 | 0.4 |
|
| 0.4, 0.5, 0.6 | 0.4 |
|
||||||
| 0.7, 0.8, 0.9 | 0.5 |
|
| 0.7, 0.8, 0.9 | 0.5 |
|
||||||
| 0.10 – 0.13 | 0.6 |
|
| 0.10 – 0.13 | 0.6 |
|
||||||
|
| 0.14 | 0.7 |
|
||||||
|
|
|
@ -8,10 +8,10 @@ def main():
|
||||||
with open("Cargo.toml", "r") as f:
|
with open("Cargo.toml", "r") as f:
|
||||||
cargo_text = f.read()
|
cargo_text = f.read()
|
||||||
|
|
||||||
m = re.search(r'leptos = "([^"]+)"', cargo_text)
|
m = re.search(r'leptos = "(\d+)\.(\d+)', cargo_text)
|
||||||
leptos_version = m.group(1)
|
leptos_version = f"{m.group(1)}.{m.group(2)}"
|
||||||
|
|
||||||
m = re.search(r'version = "(\d+)\.(\d+)\.(\d+)"', cargo_text)
|
m = re.search(r'version = "(\d+)\.(\d+)\.(\d+)', cargo_text)
|
||||||
crate_version_short = f"{m.group(1)}.{m.group(2)}"
|
crate_version_short = f"{m.group(1)}.{m.group(2)}"
|
||||||
crate_version_long = f"{m.group(1)}.{m.group(2)}.{m.group(3)}"
|
crate_version_long = f"{m.group(1)}.{m.group(2)}.{m.group(3)}"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue