React 19 refactoring: Removed forwardRef references in all UI Components (#99)

* React 19 refactoring: Removed forwardRef references in all UI Components
* Added Progress UI component from Shadcn
* Updated dependencies
* Formatted files
* Fix Mobile Dropdowns
This commit is contained in:
Giancarlo Buomprisco
2024-12-23 15:15:00 +08:00
committed by GitHub
parent 970f901d05
commit cec47cef78
58 changed files with 1359 additions and 1610 deletions

View File

@@ -45,7 +45,9 @@ function SidebarLayout({ children }: React.PropsWithChildren) {
<HomeSidebar workspace={workspace} minimized={sidebarMinimized} />
</PageNavigation>
<MobileNavigation workspace={workspace} />
<PageMobileNavigation className={'flex items-center justify-between'}>
<MobileNavigation workspace={workspace} />
</PageMobileNavigation>
{children}
</Page>
@@ -64,7 +66,9 @@ function HeaderLayout({ children }: React.PropsWithChildren) {
<HomeMenuNavigation workspace={workspace} />
</PageNavigation>
<MobileNavigation workspace={workspace} />
<PageMobileNavigation className={'flex items-center justify-between'}>
<MobileNavigation workspace={workspace} />
</PageMobileNavigation>
{children}
</Page>
@@ -78,11 +82,11 @@ function MobileNavigation({
workspace: Awaited<ReturnType<typeof loadUserWorkspace>>;
}) {
return (
<PageMobileNavigation className={'flex items-center justify-between'}>
<>
<AppLogo />
<HomeMobileNavigation workspace={workspace} />
</PageMobileNavigation>
</>
);
}