refactor(web): headlessui v2 (#1570)

* refactor(web): fix build errors, SlideOver panels and forms

* refactor(web): fix build errors

* refactor(web): fix filter importer

* refactor(web): fix modals

* chore(web): bump pnpm

* refactor(web): pending component

* refactor(web): Dialog.Title to DialogTitle
This commit is contained in:
martylukyy 2024-06-18 14:51:04 +02:00 committed by GitHub
parent 0841a1ce7c
commit 7821f7fb2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 139 additions and 180 deletions

View file

@ -336,13 +336,6 @@ export const RootRoute = createRootRouteWithContext<{
}>()({
component: RootComponent,
notFoundComponent: NotFound,
pendingComponent: () => (
<div className="h-screen">
<div className="flex flex-grow items-center justify-center h-screen sm:h-3/5">
<RingResizeSpinner className="text-blue-500 size-24"/>
</div>
</div>
),
});
const filterRouteTree = FiltersRoute.addChildren([FilterIndexRoute, FilterGetByIdRoute.addChildren([FilterGeneralRoute, FilterMoviesTvRoute, FilterMusicRoute, FilterAdvancedRoute, FilterExternalRoute, FilterActionsRoute])])
@ -357,7 +350,7 @@ const routeTree = RootRoute.addChildren([
export const Router = createRouter({
routeTree,
defaultPendingComponent: () => (
<div className="flex flex-grow items-center justify-center col-span-9">
<div className="flex flex-grow items-center justify-center col-span-9 h-full">
<RingResizeSpinner className="text-blue-500 size-24"/>
</div>
),