@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/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.13",
7
+ "version": "1.8.15",
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',
@@ -485,7 +486,7 @@ export default function ITSidebar({
485
486
  />
486
487
  )}
487
488
 
488
- <div className="flex items-center gap-2.5 relative z-10 w-full">
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`}