feat: update leptos to v0.7.0-beta5 (#255)

This commit is contained in:
luoxiaozero 2024-09-09 14:24:04 +08:00 committed by GitHub
parent 406fefb69b
commit 40761706c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 63 additions and 71 deletions

View file

@ -16,6 +16,6 @@ thaw_components = { version = "0.2.0-beta2", path = "./thaw_components" }
thaw_macro = { version = "0.1.0-beta2", path = "./thaw_macro" } thaw_macro = { version = "0.1.0-beta2", path = "./thaw_macro" }
thaw_utils = { version = "0.1.0-beta2", path = "./thaw_utils" } thaw_utils = { version = "0.1.0-beta2", path = "./thaw_utils" }
leptos = { version = "0.7.0-beta4" } leptos = { version = "0.7.0-beta5" }
leptos_meta = { version = "0.7.0-beta4" } leptos_meta = { version = "0.7.0-beta5" }
leptos_router = { version = "0.7.0-beta4" } leptos_router = { version = "0.7.0-beta5" }

View file

@ -59,66 +59,58 @@ fn TheRouter() -> impl IntoView {
<Route path=path!("/development/components") view=DevelopmentComponentsMdPage/> <Route path=path!("/development/components") view=DevelopmentComponentsMdPage/>
</ParentRoute> </ParentRoute>
<ParentRoute path=path!("/components") view=ComponentsPage> <ParentRoute path=path!("/components") view=ComponentsPage>
{view!{ <Route path=path!("/accordion") view=AccordionMdPage/>
<Route path=path!("/accordion") view=AccordionMdPage/> <Route path=path!("/anchor") view=AnchorMdPage/>
<Route path=path!("/anchor") view=AnchorMdPage/> <Route path=path!("/auto-complete") view=AutoCompleteMdPage/>
<Route path=path!("/auto-complete") view=AutoCompleteMdPage/> <Route path=path!("/avatar") view=AvatarMdPage/>
<Route path=path!("/avatar") view=AvatarMdPage/> <Route path=path!("/back-top") view=BackTopMdPage/>
<Route path=path!("/back-top") view=BackTopMdPage/> <Route path=path!("/badge") view=BadgeMdPage/>
<Route path=path!("/badge") view=BadgeMdPage/> <Route path=path!("/breadcrumb") view=BreadcrumbMdPage/>
<Route path=path!("/breadcrumb") view=BreadcrumbMdPage/> <Route path=path!("/button") view=ButtonMdPage/>
<Route path=path!("/button") view=ButtonMdPage/> <Route path=path!("/calendar") view=CalendarMdPage/>
<Route path=path!("/calendar") view=CalendarMdPage/> <Route path=path!("/card") view=CardMdPage/>
<Route path=path!("/card") view=CardMdPage/> <Route path=path!("/checkbox") view=CheckboxMdPage/>
<Route path=path!("/checkbox") view=CheckboxMdPage/> <Route path=path!("/color-picker") view=ColorPickerMdPage/>
<Route path=path!("/color-picker") view=ColorPickerMdPage/> <Route path=path!("/combobox") view=ComboboxMdPage/>
<Route path=path!("/combobox") view=ComboboxMdPage/> <Route path=path!("/config-provider") view=ConfigProviderMdPage/>
<Route path=path!("/config-provider") view=ConfigProviderMdPage/> <Route path=path!("/date-picker") view=DatePickerMdPage/>
}.into_inner()} <Route path=path!("/dialog") view=DialogMdPage/>
{view!{ <Route path=path!("/divider") view=DividerMdPage/>
<Route path=path!("/date-picker") view=DatePickerMdPage/> <Route path=path!("/drawer") view=DrawerMdPage/>
<Route path=path!("/dialog") view=DialogMdPage/> <Route path=path!("/field") view=FieldMdPage/>
<Route path=path!("/divider") view=DividerMdPage/> <Route path=path!("/menu") view=MenuMdPage/>
<Route path=path!("/drawer") view=DrawerMdPage/> <Route path=path!("/grid") view=GridMdPage/>
<Route path=path!("/field") view=FieldMdPage/> <Route path=path!("/icon") view=IconMdPage/>
<Route path=path!("/menu") view=MenuMdPage/> <Route path=path!("/image") view=ImageMdPage/>
<Route path=path!("/grid") view=GridMdPage/> <Route path=path!("/input") view=InputMdPage/>
<Route path=path!("/icon") view=IconMdPage/> <Route path=path!("/layout") view=LayoutMdPage/>
<Route path=path!("/image") view=ImageMdPage/> <Route path=path!("/link") view=LinkMdPage/>
<Route path=path!("/input") view=InputMdPage/> <Route path=path!("/loading-bar") view=LoadingBarMdPage/>
<Route path=path!("/layout") view=LayoutMdPage/> <Route path=path!("/message-bar") view=MessageBarMdPage/>
<Route path=path!("/link") view=LinkMdPage/> <Route path=path!("/nav") view=NavMdPage/>
<Route path=path!("/loading-bar") view=LoadingBarMdPage/> <Route path=path!("/pagination") view=PaginationMdPage/>
<Route path=path!("/message-bar") view=MessageBarMdPage/> <Route path=path!("/popover") view=PopoverMdPage/>
<Route path=path!("/nav") view=NavMdPage/> <Route path=path!("/progress-bar") view=ProgressBarMdPage/>
}.into_inner()} <Route path=path!("/radio") view=RadioMdPage/>
{view!{ <Route path=path!("/scrollbar") view=ScrollbarMdPage/>
<Route path=path!("/pagination") view=PaginationMdPage/> <Route path=path!("/select") view=SelectMdPage/>
<Route path=path!("/popover") view=PopoverMdPage/> <Route path=path!("/skeleton") view=SkeletonMdPage/>
<Route path=path!("/progress-bar") view=ProgressBarMdPage/> <Route path=path!("/slider") view=SliderMdPage/>
<Route path=path!("/radio") view=RadioMdPage/> <Route path=path!("/space") view=SpaceMdPage/>
<Route path=path!("/scrollbar") view=ScrollbarMdPage/> <Route path=path!("/spin-button") view=SpinButtonMdPage/>
<Route path=path!("/select") view=SelectMdPage/> <Route path=path!("/spinner") view=SpinnerMdPage/>
<Route path=path!("/skeleton") view=SkeletonMdPage/> <Route path=path!("/switch") view=SwitchMdPage/>
<Route path=path!("/slider") view=SliderMdPage/> <Route path=path!("/tab-list") view=TabListMdPage/>
<Route path=path!("/space") view=SpaceMdPage/> <Route path=path!("/table") view=TableMdPage/>
<Route path=path!("/spin-button") view=SpinButtonMdPage/> <Route path=path!("/tag") view=TagMdPage/>
<Route path=path!("/spinner") view=SpinnerMdPage/> <Route path=path!("/tag-group") view=TagGroupMdPage/>
<Route path=path!("/switch") view=SwitchMdPage/> <Route path=path!("/tag-picker") view=TagPickerMdPage/>
<Route path=path!("/tab-list") view=TabListMdPage/> <Route path=path!("/text") view=TextMdPage/>
<Route path=path!("/table") view=TableMdPage/> <Route path=path!("/textarea") view=TextareaMdPage/>
}.into_inner()} <Route path=path!("/time-picker") view=TimePickerMdPage/>
{view!{ <Route path=path!("/toast") view=ToastMdPage />
<Route path=path!("/tag") view=TagMdPage/> <Route path=path!("/tooltip") view=TooltipMdPage />
<Route path=path!("/tag-group") view=TagGroupMdPage/> <Route path=path!("/upload") view=UploadMdPage/>
<Route path=path!("/tag-picker") view=TagPickerMdPage/>
<Route path=path!("/text") view=TextMdPage/>
<Route path=path!("/textarea") view=TextareaMdPage/>
<Route path=path!("/time-picker") view=TimePickerMdPage/>
<Route path=path!("/toast") view=ToastMdPage />
<Route path=path!("/tooltip") view=TooltipMdPage />
<Route path=path!("/upload") view=UploadMdPage/>
}.into_inner()}
</ParentRoute> </ParentRoute>
</Routes> </Routes>
</Router> </Router>

View file

@ -9,10 +9,10 @@ crate-type = ["cdylib", "rlib"]
[dependencies] [dependencies]
axum = { version = "0.7", optional = true } axum = { version = "0.7", optional = true }
console_error_panic_hook = "0.1" console_error_panic_hook = "0.1"
leptos = { version = "0.7.0-beta4", features = ["experimental-islands"] } leptos = { version = "0.7.0-beta5", features = ["experimental-islands"] }
leptos_axum = { version = "0.7.0-beta4", optional = true } leptos_axum = { version = "0.7.0-beta5", optional = true }
leptos_meta = { version = "0.7.0-beta4" } leptos_meta = { version = "0.7.0-beta5" }
leptos_router = { version = "0.7.0-beta4" } leptos_router = { version = "0.7.0-beta5" }
tokio = { version = "1", features = ["rt-multi-thread"], optional = true } tokio = { version = "1", features = ["rt-multi-thread"], optional = true }
tower = { version = "0.4", optional = true } tower = { version = "0.4", optional = true }
tower-http = { version = "0.5", features = ["fs"], optional = true } tower-http = { version = "0.5", features = ["fs"], optional = true }

View file

@ -9,10 +9,10 @@ crate-type = ["cdylib", "rlib"]
[dependencies] [dependencies]
axum = { version = "0.7.5", optional = true } axum = { version = "0.7.5", optional = true }
console_error_panic_hook = "0.1" console_error_panic_hook = "0.1"
leptos = { version = "0.7.0-beta4" } leptos = { version = "0.7.0-beta5" }
leptos_axum = { version = "0.7.0-beta4", optional = true } leptos_axum = { version = "0.7.0-beta5", optional = true }
leptos_meta = { version = "0.7.0-beta4" } leptos_meta = { version = "0.7.0-beta5" }
leptos_router = { version = "0.7.0-beta4" } leptos_router = { version = "0.7.0-beta5" }
tokio = { version = "1", features = ["rt-multi-thread"], optional = true } tokio = { version = "1", features = ["rt-multi-thread"], optional = true }
tower = { version = "0.5.0", optional = true } tower = { version = "0.5.0", optional = true }
tower-http = { version = "0.5", features = ["fs"], optional = true } tower-http = { version = "0.5", features = ["fs"], optional = true }