@axzydev/axzy_ui_system 1.8.12 → 1.8.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "packageManager": "pnpm@10.34.0",
5
5
  "private": false,
6
6
  "license": "MIT",
7
- "version": "1.8.12",
7
+ "version": "1.8.14",
8
8
  "type": "module",
9
9
  "sideEffects": [
10
10
  "*.css"
@@ -456,8 +456,9 @@ export default function ITSidebar({
456
456
  transition-all duration-300 ease-[cubic-bezier(0.2,0,0,1)]
457
457
  rounded-xl relative overflow-visible
458
458
  h-10
459
- ${flat ? "px-3" : "px-5"}
460
- ${isSidebarCollapsed ? "justify-start" : "justify-between"}
459
+ ${isSidebarCollapsed ? "justify-center px-0" : flat ? "px-3" : "px-5"}
460
+ ${isSidebarCollapsed ? "" : "justify-between"}
461
+ focus:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--color-primary-500)] focus-visible:ring-inset
461
462
  `}
462
463
  style={{
463
464
  backgroundColor: active ? "var(--it-sidebar-active-bg, var(--color-secondary-50))" : 'transparent',
@@ -99,7 +99,7 @@ export default function ITLayout({
99
99
  isCollapsed={desktopCollapsed}
100
100
  onToggleCollapse={handleToggleCollapse}
101
101
  visibleOnMobile={false}
102
- className={`h-full ${flat ? "" : "drop-shadow-2xl"} transition-all duration-400 ease-[cubic-bezier(0.2,0,0,1)] flex-shrink-0`}
102
+ className={`h-full ${flat ? "" : "drop-shadow-2xl"} transition-all duration-400 ease-[cubic-bezier(0.2,0,0,1)] flex-shrink-0 ${sidebar.className ?? ""}`}
103
103
  />
104
104
  </div>
105
105
  </div>
@@ -119,7 +119,7 @@ export default function ITLayout({
119
119
  brand={brand}
120
120
  isCollapsed={false}
121
121
  visibleOnMobile={true}
122
- className="h-full shadow-2xl relative z-[60]"
122
+ className={`h-full shadow-2xl relative z-[60] ${sidebar.className ?? ""}`}
123
123
  onToggleCollapse={() => setMobileSidebarOpen(false)}
124
124
  onItemClick={() => setMobileSidebarOpen(false)}
125
125
  onSubItemClick={() => setMobileSidebarOpen(false)}