@axzydev/axzy_ui_system 1.8.13 → 1.8.15
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 +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +4 -3
- 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 +4 -3
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',
|
|
@@ -485,7 +486,7 @@ export default function ITSidebar({
|
|
|
485
486
|
/>
|
|
486
487
|
)}
|
|
487
488
|
|
|
488
|
-
<div className=
|
|
489
|
+
<div className={`flex items-center gap-2.5 relative z-10 w-full ${isSidebarCollapsed ? "justify-center" : ""}`}>
|
|
489
490
|
{item.icon && (
|
|
490
491
|
<div
|
|
491
492
|
className={`transition-all duration-300 flex-shrink-0 flex items-center justify-center`}
|