@@ -224,7 +224,7 @@ const Sidebar = React.forwardRef<
224224 return (
225225 < div
226226 ref = { ref }
227- className = 'group peer hidden md:block text-sidebar-foreground'
227+ className = 'group peer hidden text-sidebar-foreground md:block '
228228 data-state = { state }
229229 data-collapsible = { state === 'collapsed' ? collapsible : '' }
230230 data-variant = { variant }
@@ -233,7 +233,7 @@ const Sidebar = React.forwardRef<
233233 { /* This is what handles the sidebar gap on desktop */ }
234234 < div
235235 className = { cn (
236- 'duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear' ,
236+ 'relative h-svh w-[--sidebar-width] bg-transparent transition-[width] duration-200 ease-linear' ,
237237 'group-data-[collapsible=offcanvas]:w-0' ,
238238 'group-data-[side=right]:rotate-180' ,
239239 variant === 'floating' || variant === 'inset'
@@ -243,7 +243,7 @@ const Sidebar = React.forwardRef<
243243 />
244244 < div
245245 className = { cn (
246- 'duration-200 fixed inset-y-0 z-10 hidden h-svh w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex' ,
246+ 'fixed inset-y-0 z-10 hidden h-svh w-[--sidebar-width] transition-[left,right,width] duration-200 ease-linear md:flex' ,
247247 side === 'left'
248248 ? 'left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]'
249249 : 'right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]' ,
@@ -448,7 +448,7 @@ const SidebarGroupLabel = React.forwardRef<
448448 ref = { ref }
449449 data-sidebar = 'group-label'
450450 className = { cn (
451- 'duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0' ,
451+ 'flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0' ,
452452 'group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0' ,
453453 className
454454 ) }
@@ -640,7 +640,7 @@ const SidebarMenuBadge = React.forwardRef<
640640 ref = { ref }
641641 data-sidebar = 'menu-badge'
642642 className = { cn (
643- 'absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none ' ,
643+ 'pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground' ,
644644 'peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground' ,
645645 'peer-data-[size=sm]/menu-button:top-1' ,
646646 'peer-data-[size=default]/menu-button:top-1.5' ,
@@ -668,7 +668,7 @@ const SidebarMenuSkeleton = React.forwardRef<
668668 < div
669669 ref = { ref }
670670 data-sidebar = 'menu-skeleton'
671- className = { cn ( 'rounded-md h-8 flex gap-2 px-2 items-center ' , className ) }
671+ className = { cn ( 'flex h-8 items-center gap-2 rounded-md px-2 ' , className ) }
672672 { ...props }
673673 >
674674 { showIcon && (
@@ -678,7 +678,7 @@ const SidebarMenuSkeleton = React.forwardRef<
678678 />
679679 ) }
680680 < Skeleton
681- className = 'h-4 flex-1 max-w-[--skeleton-width]'
681+ className = 'h-4 max-w-[--skeleton-width] flex-1 '
682682 data-sidebar = 'menu-skeleton-text'
683683 style = {
684684 {
0 commit comments