Dependencies Updates, Sidebar fixes, default plan, Radix single package (#297)

* Refactor Radix UI imports and update package dependencies, fix Sidebar "group" references, add default value to plan picker to preselect a plan
This commit is contained in:
Giancarlo Buomprisco
2025-07-11 16:57:27 +07:00
committed by GitHub
parent 1d734e6818
commit 50337298fd
72 changed files with 1902 additions and 1263 deletions

View File

@@ -35,7 +35,7 @@ export function HomeSidebar(props: HomeSidebarProps) {
fallback={
<AppLogo
className={cn(
'p-2 group-data-[minimized=true]:max-w-full group-data-[minimized=true]:py-0',
'p-2 group-data-[minimized=true]/sidebar:max-w-full group-data-[minimized=true]/sidebar:py-0',
)}
/>
}
@@ -43,7 +43,7 @@ export function HomeSidebar(props: HomeSidebarProps) {
<HomeAccountSelector userId={user.id} accounts={accounts} />
</If>
<div className={'group-data-[minimized=true]:hidden'}>
<div className={'group-data-[minimized=true]/sidebar:hidden'}>
<UserNotifications userId={user.id} />
</div>
</div>

View File

@@ -58,7 +58,7 @@ function SidebarContainer(props: {
accounts={accounts}
/>
<div className={'group-data-[minimized=true]:hidden'}>
<div className={'group-data-[minimized=true]/sidebar:hidden'}>
<TeamAccountNotifications
userId={userId}
accountId={props.accountId}