@polastack/design-system 0.1.28 → 0.1.30
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.d.ts +2 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -3719,7 +3719,7 @@ var SidebarNavGroup = React40.forwardRef(
|
|
|
3719
3719
|
defaultOpen,
|
|
3720
3720
|
open: controlledOpen,
|
|
3721
3721
|
onOpenChange,
|
|
3722
|
-
className: cn("flex flex-col", className),
|
|
3722
|
+
className: cn("flex flex-col mt-4 first:mt-0", className),
|
|
3723
3723
|
...props,
|
|
3724
3724
|
children: [
|
|
3725
3725
|
/* @__PURE__ */ jsxs22(CollapsiblePrimitive.Trigger, { className: "group flex w-full items-center gap-2 rounded-md px-2.5 py-1.5 text-xs font-semibold uppercase tracking-wider text-[var(--color-on-surface-muted)] transition-colors hover:text-[var(--color-on-surface-secondary)] hover:bg-[var(--color-surface-muted)]", children: [
|
|
@@ -3732,7 +3732,7 @@ var SidebarNavGroup = React40.forwardRef(
|
|
|
3732
3732
|
}
|
|
3733
3733
|
)
|
|
3734
3734
|
] }),
|
|
3735
|
-
/* @__PURE__ */ jsx42(CollapsiblePrimitive.Content, { className: "overflow-hidden data-[state=open]:animate-collapsible-down data-[state=closed]:animate-collapsible-up", children: /* @__PURE__ */ jsx42("div", { className: "flex flex-col gap-0.5 pt-0.5", children }) })
|
|
3735
|
+
/* @__PURE__ */ jsx42(CollapsiblePrimitive.Content, { className: "overflow-hidden data-[state=open]:animate-collapsible-down data-[state=closed]:animate-collapsible-up", children: /* @__PURE__ */ jsx42("div", { className: "flex flex-col gap-0.5 pt-0.5 pl-2", children }) })
|
|
3736
3736
|
]
|
|
3737
3737
|
}
|
|
3738
3738
|
);
|
|
@@ -4364,6 +4364,8 @@ function getChartTheme() {
|
|
|
4364
4364
|
textColor: cssVar("--color-neutral-500", chartColors.text.light),
|
|
4365
4365
|
tooltipBg: cssVar("--color-surface-raised", "#ffffff"),
|
|
4366
4366
|
tooltipBorder: cssVar("--color-border", "#e4e4e7"),
|
|
4367
|
+
/** Hover cursor fill — theme-aware for dark mode */
|
|
4368
|
+
cursorFill: cssVar("--color-surface-muted", "#f4f4f5"),
|
|
4367
4369
|
fontSize: 12,
|
|
4368
4370
|
fontFamily: 'Inter, "Noto Sans JP", sans-serif'
|
|
4369
4371
|
};
|