@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/dist/index.cjs +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/layered.css +1 -1
- package/package.json +1 -1
- package/src/components/organisms/sidebar/sidebar.tsx +3 -2
- package/src/components/templates/layout/layout.tsx +2 -2
package/package.json
CHANGED
|
@@ -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 ? "
|
|
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=
|
|
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)}
|