gridsmith-ui 0.2.5 → 0.2.6
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.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/roots.css +1 -0
- package/dist/tailwind.css +1 -0
- package/dist-static/tailwind.css +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -94217,7 +94217,7 @@ function CompactFlyout({
|
|
|
94217
94217
|
},
|
|
94218
94218
|
className: cn(
|
|
94219
94219
|
"flex items-center gap-ds-2 px-ds-2 py-ds-1.5 text-xs rounded-[var(--ds-radius-sm)] transition-colors cursor-pointer",
|
|
94220
|
-
child.active ? "bg-
|
|
94220
|
+
child.active ? "bg-sidebar-accent-subtle text-[var(--ds-sidebar-accent)] font-medium" : "text-[var(--ds-sidebar-text-secondary)] hover:bg-[var(--ds-sidebar-item-hover)] hover:text-[var(--ds-sidebar-text)]"
|
|
94221
94221
|
),
|
|
94222
94222
|
children: [
|
|
94223
94223
|
child.icon && /* @__PURE__ */ jsx(Icon, { name: child.icon, size: 14 }),
|
|
@@ -94287,7 +94287,7 @@ function SidebarNav({
|
|
|
94287
94287
|
"flex items-center gap-ds-2 transition-colors cursor-pointer",
|
|
94288
94288
|
isRoot ? cn("py-ds-2 text-sm", isMinimal ? "rounded-full" : "rounded-[var(--ds-radius-md)]") : "py-ds-1.5 text-xs rounded-[var(--ds-radius-sm)]",
|
|
94289
94289
|
isRoot ? collapsed ? "justify-center px-0" : "px-ds-3" : "px-ds-2",
|
|
94290
|
-
item.active ? isRoot ? isMinimal ? "bg-
|
|
94290
|
+
item.active ? isRoot ? isMinimal ? "bg-sidebar-accent-subtle text-[var(--ds-sidebar-text)] font-medium" : "bg-sidebar-accent-subtle text-[var(--ds-sidebar-text)] font-medium border-l-2 border-[var(--ds-sidebar-accent)]" : "bg-sidebar-accent-subtle text-[var(--ds-sidebar-accent)] font-medium" : isRoot ? isMinimal ? "text-[var(--ds-sidebar-text-secondary)] hover:bg-[var(--ds-sidebar-item-hover)] hover:text-[var(--ds-sidebar-text)]" : "text-[var(--ds-sidebar-text-secondary)] hover:bg-[var(--ds-sidebar-item-hover)] hover:text-[var(--ds-sidebar-text)] border-l-2 border-transparent" : "text-[var(--ds-sidebar-text-muted)] hover:bg-[var(--ds-sidebar-item-hover)] hover:text-[var(--ds-sidebar-text)]"
|
|
94291
94291
|
),
|
|
94292
94292
|
children: [
|
|
94293
94293
|
item.icon && /* @__PURE__ */ jsx(
|
|
@@ -94545,7 +94545,7 @@ function CompactNavItem({
|
|
|
94545
94545
|
"aria-expanded": hasChildren ? mobile ? expanded : isOpen : void 0,
|
|
94546
94546
|
className: cn(
|
|
94547
94547
|
"relative flex flex-col items-center justify-center gap-[3px] w-full py-ds-3 px-ds-1 rounded-[var(--ds-radius-md)] transition-colors cursor-pointer",
|
|
94548
|
-
item.active || childActive ? "bg-
|
|
94548
|
+
item.active || childActive ? "bg-sidebar-accent-subtle text-[var(--ds-sidebar-accent)]" : "text-[var(--ds-sidebar-text-secondary)] hover:bg-[var(--ds-sidebar-item-hover)] hover:text-[var(--ds-sidebar-text)]"
|
|
94549
94549
|
),
|
|
94550
94550
|
children: [
|
|
94551
94551
|
item.icon && /* @__PURE__ */ jsx(
|
|
@@ -94590,7 +94590,7 @@ function CompactNavItem({
|
|
|
94590
94590
|
onClick: () => onItemClick?.(child, ci),
|
|
94591
94591
|
className: cn(
|
|
94592
94592
|
"flex items-center gap-ds-2 px-ds-3 py-ds-1.5 text-[length:var(--ds-font-size-xs)] rounded-[var(--ds-radius-sm)] transition-colors cursor-pointer w-full",
|
|
94593
|
-
child.active ? "bg-
|
|
94593
|
+
child.active ? "bg-sidebar-accent-subtle text-[var(--ds-sidebar-accent)] font-medium" : "text-[var(--ds-sidebar-text-muted)] hover:bg-[var(--ds-sidebar-item-hover)] hover:text-[var(--ds-sidebar-text)]"
|
|
94594
94594
|
),
|
|
94595
94595
|
children: [
|
|
94596
94596
|
child.icon && /* @__PURE__ */ jsx(Icon, { name: child.icon, size: 14, className: "shrink-0" }),
|