impact-nova 2.1.0-alpha.4 → 2.1.0-alpha.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.
Files changed (153) hide show
  1. package/dist/components/data/ag-grid-react/ag-grid-tooltip-overflow.d.ts +3 -0
  2. package/dist/components/data/ag-grid-react/ag-grid-tooltip-overflow.js +6 -0
  3. package/dist/components/data/ag-grid-react/ag-grid.types.d.ts +15 -21
  4. package/dist/components/data/ag-grid-react/cell-renderers/date-display-renderer.js +1 -1
  5. package/dist/components/data/ag-grid-react/cell-renderers/default-text-cell-renderer.d.ts +1 -2
  6. package/dist/components/data/ag-grid-react/cell-renderers/default-text-cell-renderer.js +12 -6
  7. package/dist/components/data/ag-grid-react/cell-renderers/editors/textarea-cell-editor.js +19 -19
  8. package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.js +1 -1
  9. package/dist/components/data/ag-grid-react/cell-renderers/switch-display-renderer.js +15 -15
  10. package/dist/components/data/ag-grid-react/headers/advanced-filter/advanced-filter-dialog.js +1 -1
  11. package/dist/components/data/ag-grid-react/headers/advanced-filter/column-filter-section.js +33 -33
  12. package/dist/components/data/ag-grid-react/headers/components/header-info.js +66 -62
  13. package/dist/components/data/ag-grid-react/headers/components/info-modal.js +6 -6
  14. package/dist/components/data/ag-grid-react/headers/components/section-renderers.js +18 -18
  15. package/dist/components/data/ag-grid-react/headers/custom-header-group.js +40 -29
  16. package/dist/components/data/ag-grid-react/headers/custom-header.js +102 -98
  17. package/dist/components/data/ag-grid-react/index.d.ts +1 -1
  18. package/dist/components/data/ag-grid-react/index.js +136 -127
  19. package/dist/components/data/ag-grid-react/notify-column-indicator-sync.d.ts +7 -0
  20. package/dist/components/data/ag-grid-react/notify-column-indicator-sync.js +6 -0
  21. package/dist/components/data/ag-grid-react/theme.js +8 -4
  22. package/dist/components/data/ag-grid-react/use-ag-grid-truncation-tooltip.d.ts +5 -0
  23. package/dist/components/data/ag-grid-react/use-ag-grid-truncation-tooltip.js +13 -0
  24. package/dist/components/data/ag-grid-react/useGridAutoSizeStrategyOnResize.js +8 -5
  25. package/dist/components/data/data-table/build-column-tree-from-grid.d.ts +14 -0
  26. package/dist/components/data/data-table/build-column-tree-from-grid.js +95 -0
  27. package/dist/components/data/data-table/data-table-column-apply.d.ts +29 -0
  28. package/dist/components/data/data-table/data-table-column-apply.js +102 -0
  29. package/dist/components/data/data-table/data-table-column-def-pin.d.ts +25 -0
  30. package/dist/components/data/data-table/data-table-column-def-pin.js +66 -0
  31. package/dist/components/data/data-table/data-table-column-list-sync.d.ts +8 -0
  32. package/dist/components/data/data-table/data-table-column-list-sync.js +15 -0
  33. package/dist/components/data/data-table/data-table-column-list.d.ts +14 -4
  34. package/dist/components/data/data-table/data-table-column-list.js +74 -277
  35. package/dist/components/data/data-table/data-table-constants.d.ts +3 -4
  36. package/dist/components/data/data-table/data-table-context.d.ts +3 -6
  37. package/dist/components/data/data-table/data-table-context.js +21 -10
  38. package/dist/components/data/data-table/data-table-saved-views.js +26 -26
  39. package/dist/components/data/data-table/data-table-sheet-portal-store.d.ts +13 -0
  40. package/dist/components/data/data-table/data-table-sheet-portal-store.js +36 -0
  41. package/dist/components/data/data-table/data-table-sheet.d.ts +3 -6
  42. package/dist/components/data/data-table/data-table-sheet.js +4 -2
  43. package/dist/components/data/data-table/data-table-view-menu.js +40 -40
  44. package/dist/components/data/data-table/data-table.d.ts +8 -10
  45. package/dist/components/data/data-table/data-table.js +138 -111
  46. package/dist/components/data/data-table/data-table.types.d.ts +35 -0
  47. package/dist/components/data/data-table/index.js +28 -27
  48. package/dist/components/data/data-table/indicator-legend.js +6 -6
  49. package/dist/components/data/data-table/use-data-table-column-list-sync.d.ts +16 -0
  50. package/dist/components/data/data-table/use-data-table-column-list-sync.js +222 -0
  51. package/dist/components/data/expandable-list-item/expandable-list-item-attributes.d.ts +8 -0
  52. package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +72 -0
  53. package/dist/components/data/expandable-list-item/expandable-list-item-context.d.ts +13 -0
  54. package/dist/components/data/expandable-list-item/expandable-list-item-context.js +25 -0
  55. package/dist/components/data/expandable-list-item/expandable-list-item-metrics.d.ts +6 -0
  56. package/dist/components/data/expandable-list-item/expandable-list-item-metrics.js +41 -0
  57. package/dist/components/data/expandable-list-item/expandable-list-item-parts.d.ts +31 -0
  58. package/dist/components/data/expandable-list-item/expandable-list-item-parts.js +233 -0
  59. package/dist/components/data/expandable-list-item/expandable-list-item-preset.d.ts +18 -0
  60. package/dist/components/data/expandable-list-item/expandable-list-item-preset.js +133 -0
  61. package/dist/components/data/expandable-list-item/expandable-list-item.d.ts +5 -0
  62. package/dist/components/data/{expandable-sku/expandable-sku.types.d.ts → expandable-list-item/expandable-list-item.types.d.ts} +7 -7
  63. package/dist/components/data/expandable-list-item/index.d.ts +5 -0
  64. package/dist/components/data/expandable-list-item/index.js +19 -0
  65. package/dist/components/data/nested-list/components/NestedListHeader.js +11 -11
  66. package/dist/components/data/nested-list/components/SortableItem.js +2 -2
  67. package/dist/components/data-display/avatar/avatar.types.d.ts +2 -0
  68. package/dist/components/data-display/badge/badge.types.d.ts +2 -0
  69. package/dist/components/data-display/calendar/calendar-day-picker-classnames.js +11 -11
  70. package/dist/components/data-display/calendar/calendar-month-picker-panel.js +7 -7
  71. package/dist/components/data-display/calendar/calendar-week-number-cell.js +31 -31
  72. package/dist/components/data-display/card/card.js +8 -8
  73. package/dist/components/data-display/chart/chart.types.d.ts +9 -0
  74. package/dist/components/data-display/skeleton/skeleton.js +6 -6
  75. package/dist/components/data-display/statistics-card/statistics-card.js +14 -14
  76. package/dist/components/feedback/alert-dialog/alert-dialog.js +19 -19
  77. package/dist/components/feedback/dialog/dialog.js +1 -1
  78. package/dist/components/feedback/drawer/drawer.js +18 -18
  79. package/dist/components/feedback/dropdown-menu/dropdown-menu.js +70 -57
  80. package/dist/components/feedback/popover/popover.js +1 -1
  81. package/dist/components/feedback/sheet/sheet.js +1 -1
  82. package/dist/components/feedback/tooltip/tooltip.js +22 -22
  83. package/dist/components/feedback/tooltip/tooltip.variants.js +1 -1
  84. package/dist/components/flows/command-palette/command-palette.js +104 -104
  85. package/dist/components/flows/command-palette/shortcut-settings.js +34 -34
  86. package/dist/components/flows/filter-strip/filter-tag-list.js +4 -4
  87. package/dist/components/flows/notification-panel/notification-list.js +17 -17
  88. package/dist/components/flows/notification-panel/notification-panel.js +4 -4
  89. package/dist/components/flows/notification-panel/notification-panel.types.d.ts +3 -0
  90. package/dist/components/flows/wizard/wizard.js +8 -8
  91. package/dist/components/forms/combobox/combobox.js +20 -20
  92. package/dist/components/forms/date-picker/date-picker.js +17 -17
  93. package/dist/components/forms/date-picker/date-range-picker.js +3 -3
  94. package/dist/components/forms/date-picker/month-picker.js +1 -1
  95. package/dist/components/forms/date-picker/month-range-picker.js +42 -42
  96. package/dist/components/forms/date-picker/week-picker.js +15 -15
  97. package/dist/components/forms/date-picker/week-range-picker.js +3 -3
  98. package/dist/components/forms/file-upload/file-upload.js +33 -33
  99. package/dist/components/forms/input/input.js +8 -8
  100. package/dist/components/forms/input/input.variants.js +3 -3
  101. package/dist/components/forms/select/components/SelectMenuPanel.d.ts +1 -2
  102. package/dist/components/forms/select/components/SelectMenuPanel.js +18 -20
  103. package/dist/components/forms/select/components/SelectTrigger.d.ts +9 -6
  104. package/dist/components/forms/select/components/SelectTrigger.js +120 -122
  105. package/dist/components/forms/select/components/Submenu.js +8 -8
  106. package/dist/components/forms/select/hooks/useSelectKeyboardHandlers.d.ts +1 -1
  107. package/dist/components/forms/select/hooks/useSelectValueState.d.ts +19 -0
  108. package/dist/components/forms/select/hooks/useSelectValueState.js +41 -0
  109. package/dist/components/forms/select/index.js +4 -3
  110. package/dist/components/forms/select/select.js +180 -175
  111. package/dist/components/forms/select/select.types.d.ts +3 -2
  112. package/dist/components/forms/select/select.variants.js +4 -4
  113. package/dist/components/forms/select/utils/select.d.ts +2 -1
  114. package/dist/components/forms/select/utils/select.js +47 -37
  115. package/dist/components/layout/sidebar/sidebar.d.ts +7 -50
  116. package/dist/components/layout/sidebar/sidebar.js +12 -11
  117. package/dist/components/layout/sidebar/sidebar.types.d.ts +35 -1
  118. package/dist/components/primitives/button-group/button-group.js +32 -32
  119. package/dist/components/primitives/chips/chips.variants.js +5 -5
  120. package/dist/components/primitives/empty-container/empty-container.types.d.ts +3 -0
  121. package/dist/components/primitives/kbd/kbd.variants.js +3 -3
  122. package/dist/components/primitives/stepper/stepper.js +6 -6
  123. package/dist/impact-nova-components.css +113 -7
  124. package/dist/impact-nova-tokens.scss +2 -4
  125. package/dist/impact-nova.css +1 -1
  126. package/dist/index.d.ts +1 -1
  127. package/dist/index.js +467 -433
  128. package/dist/lib/compose-refs.d.ts +8 -0
  129. package/dist/lib/compose-refs.js +14 -0
  130. package/dist/lib/primitives/field.types.d.ts +8 -2
  131. package/dist/lib/virtualized/index.d.ts +3 -0
  132. package/dist/lib/virtualized/index.js +33 -16
  133. package/dist/lib/virtualized/useVirtualizedList.d.ts +2 -0
  134. package/dist/lib/virtualized/useVirtualizedList.js +115 -109
  135. package/dist/lib/virtualized/virtualized-list-context.d.ts +12 -0
  136. package/dist/lib/virtualized/virtualized-list-context.js +21 -0
  137. package/dist/lib/virtualized/virtualized-list-parts.d.ts +51 -0
  138. package/dist/lib/virtualized/virtualized-list-parts.js +175 -0
  139. package/dist/lib/virtualized/virtualized-list-utils.d.ts +5 -0
  140. package/dist/lib/virtualized/virtualized-list-utils.js +6 -0
  141. package/dist/llms/rules/ag-grid.js +1 -1
  142. package/dist/llms/rules/installation.js +1 -1
  143. package/dist/llms/rules/migration.js +1 -1
  144. package/dist/llms/rules/real-world-patterns.js +1 -1
  145. package/dist/llms/rules/requirements.js +1 -1
  146. package/package.json +24 -15
  147. package/tailwind.config.js +1 -0
  148. package/dist/components/data/ag-grid-react/headers/components/truncated-text.d.ts +0 -15
  149. package/dist/components/data/ag-grid-react/headers/components/truncated-text.js +0 -27
  150. package/dist/components/data/expandable-sku/expandable-sku.d.ts +0 -38
  151. package/dist/components/data/expandable-sku/expandable-sku.js +0 -245
  152. package/dist/components/data/expandable-sku/index.d.ts +0 -2
  153. package/dist/components/data/expandable-sku/index.js +0 -4
@@ -1,4 +1,4 @@
1
- import { jsxs as g, jsx as i } from "react/jsx-runtime";
1
+ import { jsxs as u, jsx as i } from "react/jsx-runtime";
2
2
  import * as n from "react";
3
3
  import { cn as d } from "../../../lib/utils.js";
4
4
  import { Checkbox as k } from "../../forms/checkbox/checkbox.js";
@@ -12,7 +12,7 @@ const H = n.forwardRef(
12
12
  const f = n.useMemo(
13
13
  () => l ? e.map((N, T) => l(N, T)) : e,
14
14
  [e, l]
15
- ), p = "var(--color-canvas-subtle, #f8f9fb)", x = "px-5 py-4", h = "gap-4 md:gap-6 lg:gap-8", u = "w-full min-w-0 max-w-[439px]", C = o?.colors?.background || p, b = o?.spacing?.rootPadding || x, w = o?.spacing?.rootGap || h, S = o?.spacing?.rootWidth || u, v = n.useMemo(
15
+ ), p = "var(--color-canvas-subtle, #f8f9fb)", x = "px-5 py-4", h = "gap-4 md:gap-6 lg:gap-8", g = "w-full min-w-0 max-w-[439px]", C = o?.colors?.background || p, b = o?.spacing?.rootPadding || x, w = o?.spacing?.rootGap || h, S = o?.spacing?.rootWidth || g, v = n.useMemo(
16
16
  () => ({ items: f, onItemToggle: a, chartSize: t, config: o }),
17
17
  [f, a, t, o]
18
18
  );
@@ -77,7 +77,7 @@ const q = n.forwardRef(
77
77
  "span",
78
78
  {
79
79
  ref: t,
80
- className: d("font-semibold text-base leading-[1.5em] text-content-muted truncate line-clamp-1", s),
80
+ className: d("font-semibold text-base leading-[1.5em] text-secondary-foreground truncate line-clamp-1", s),
81
81
  ...a,
82
82
  children: e
83
83
  }
@@ -85,7 +85,7 @@ const q = n.forwardRef(
85
85
  );
86
86
  q.displayName = "StatisticsCardTitleText";
87
87
  const A = n.forwardRef(
88
- ({ content: s, icon: e, ...a }, t) => /* @__PURE__ */ i("div", { ref: t, ...a, children: /* @__PURE__ */ g(R, { children: [
88
+ ({ content: s, icon: e, ...a }, t) => /* @__PURE__ */ i("div", { ref: t, ...a, children: /* @__PURE__ */ u(R, { children: [
89
89
  /* @__PURE__ */ i(I, { asChild: !0, children: e || /* @__PURE__ */ i(L, { size: "sm", className: "text-secondary-foreground cursor-pointer shrink-0" }) }),
90
90
  /* @__PURE__ */ i(j, { variant: "tertiary", side: "top", children: s })
91
91
  ] }) })
@@ -93,10 +93,10 @@ const A = n.forwardRef(
93
93
  A.displayName = "StatisticsCardTitleTooltip";
94
94
  const E = n.forwardRef(
95
95
  ({ className: s, centerLabel: e, chartConfig: a, chartSize: t = 104, ...o }, l) => {
96
- const { items: c, onItemToggle: m } = y(), { total: r, checkedTotal: f, hasChecked: p } = W(c), x = G(e, p, f, r), h = $(c, p), u = B(c, m, a), C = {
97
- ...u,
96
+ const { items: c, onItemToggle: m } = y(), { total: r, checkedTotal: f, hasChecked: p } = W(c), x = G(e, p, f, r), h = $(c, p), g = B(c, m, a), C = {
97
+ ...g,
98
98
  chart: {
99
- ...u.chart,
99
+ ...g.chart,
100
100
  type: "pie",
101
101
  height: t,
102
102
  width: t,
@@ -110,7 +110,7 @@ const E = n.forwardRef(
110
110
  navigation: { buttonOptions: { enabled: !1 } },
111
111
  series: h
112
112
  };
113
- return /* @__PURE__ */ g(
113
+ return /* @__PURE__ */ u(
114
114
  "div",
115
115
  {
116
116
  ref: l,
@@ -158,8 +158,8 @@ const J = n.forwardRef(
158
158
  const { items: l, onItemToggle: c, config: m } = y();
159
159
  let r = a, f = -1;
160
160
  if (!r && e !== void 0 ? (r = l[e], f = e) : r && (f = l.findIndex((w) => w === r)), !r || f === -1) return null;
161
- const p = "bg-white", x = "px-3 py-1.5", h = "var(--color-foreground)", u = m?.colors?.background || p, C = m?.spacing?.itemPadding || x, b = m?.colors?.text || h;
162
- return /* @__PURE__ */ g(
161
+ const p = "bg-white", x = "px-3 py-1.5", h = "var(--color-foreground)", g = m?.colors?.background || p, C = m?.spacing?.itemPadding || x, b = m?.colors?.text || h;
162
+ return /* @__PURE__ */ u(
163
163
  "div",
164
164
  {
165
165
  ref: o,
@@ -167,7 +167,7 @@ const J = n.forwardRef(
167
167
  "aria-label": `${r.label}: ${r.value}`,
168
168
  className: d(
169
169
  "flex flex-row items-center gap-2 rounded-md border-l-2 transition-all",
170
- u,
170
+ g,
171
171
  C,
172
172
  s
173
173
  ),
@@ -178,7 +178,7 @@ const J = n.forwardRef(
178
178
  },
179
179
  ...t,
180
180
  children: [
181
- /* @__PURE__ */ g("div", { className: "flex flex-row items-center gap-2 flex-1 min-w-0", children: [
181
+ /* @__PURE__ */ u("div", { className: "flex flex-row items-center gap-2 flex-1 min-w-0", children: [
182
182
  /* @__PURE__ */ i(
183
183
  k,
184
184
  {
@@ -223,7 +223,7 @@ const K = n.forwardRef(
223
223
  );
224
224
  K.displayName = "StatisticsCardSummary";
225
225
  const Q = n.forwardRef(
226
- ({ className: s, label: e, count: a, color: t = "var(--color-secondary-foreground)", ...o }, l) => /* @__PURE__ */ g(
226
+ ({ className: s, label: e, count: a, color: t = "var(--color-secondary-foreground)", ...o }, l) => /* @__PURE__ */ u(
227
227
  "div",
228
228
  {
229
229
  ref: l,
@@ -237,7 +237,7 @@ const Q = n.forwardRef(
237
237
  className: "w-1.5 h-1.5 rounded-full shrink-0 bg-[var(--summary-color)]"
238
238
  }
239
239
  ),
240
- /* @__PURE__ */ g("span", { children: [
240
+ /* @__PURE__ */ u("span", { children: [
241
241
  e,
242
242
  ": ",
243
243
  a
@@ -3,26 +3,26 @@ import * as i from "react";
3
3
  import * as t from "@radix-ui/react-alert-dialog";
4
4
  import { wrapRadixPart as n, createCompoundPart as d } from "../../../lib/primitives/create-compound.js";
5
5
  import { cn as r } from "../../../lib/utils.js";
6
- import { buttonVariants as m } from "../../primitives/button/button.variants.js";
7
- const w = (e) => /* @__PURE__ */ l(t.Root, { "data-component": "alert-dialog", ...e }), b = n(
6
+ import { buttonVariants as c } from "../../primitives/button/button.variants.js";
7
+ const w = (a) => /* @__PURE__ */ l(t.Root, { "data-component": "alert-dialog", ...a }), b = n(
8
8
  "alert-dialog",
9
9
  "trigger",
10
10
  "AlertDialogTrigger",
11
11
  t.Trigger
12
- ), f = t.Portal, c = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ l(
12
+ ), f = t.Portal, m = i.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ l(
13
13
  t.Overlay,
14
14
  {
15
15
  className: r(
16
16
  "fixed inset-0 z-50 bg-scrim-deep data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 motion-reduce:animate-none motion-reduce:transition-none",
17
- e
17
+ a
18
18
  ),
19
- ...a,
19
+ ...e,
20
20
  ref: o
21
21
  }
22
22
  ));
23
- c.displayName = t.Overlay.displayName;
24
- const u = i.forwardRef(({ className: e, onOpenAutoFocus: a, ...o }, p) => /* @__PURE__ */ g(f, { children: [
25
- /* @__PURE__ */ l(c, {}),
23
+ m.displayName = t.Overlay.displayName;
24
+ const u = i.forwardRef(({ className: a, onOpenAutoFocus: e, ...o }, p) => /* @__PURE__ */ g(f, { children: [
25
+ /* @__PURE__ */ l(m, {}),
26
26
  /* @__PURE__ */ l(
27
27
  t.Content,
28
28
  {
@@ -30,11 +30,11 @@ const u = i.forwardRef(({ className: e, onOpenAutoFocus: a, ...o }, p) => /* @__
30
30
  "aria-describedby": void 0,
31
31
  "data-component": "alert-dialog-content",
32
32
  onOpenAutoFocus: (s) => {
33
- s.preventDefault(), a?.(s);
33
+ s.preventDefault(), e?.(s);
34
34
  },
35
35
  className: r(
36
36
  "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-canvas p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg motion-reduce:animate-none motion-reduce:transition-none",
37
- e
37
+ a
38
38
  ),
39
39
  ...o
40
40
  }
@@ -60,28 +60,28 @@ const C = d("alert-dialog", {
60
60
  "description",
61
61
  "AlertDialogDescription",
62
62
  t.Description,
63
- "text-sm text-content-muted"
64
- ), A = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ l(
63
+ "text-sm text-content-secondary"
64
+ ), A = i.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ l(
65
65
  t.Action,
66
66
  {
67
67
  ref: o,
68
68
  "data-component": "alert-dialog-action",
69
- className: r(m(), e),
70
- ...a
69
+ className: r(c(), a),
70
+ ...e
71
71
  }
72
72
  ));
73
73
  A.displayName = t.Action.displayName;
74
- const D = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ l(
74
+ const D = i.forwardRef(({ className: a, ...e }, o) => /* @__PURE__ */ l(
75
75
  t.Cancel,
76
76
  {
77
77
  ref: o,
78
78
  "data-component": "alert-dialog-cancel",
79
79
  className: r(
80
- m({ variant: "outline" }),
80
+ c({ variant: "outline" }),
81
81
  "mt-2 sm:mt-0",
82
- e
82
+ a
83
83
  ),
84
- ...a
84
+ ...e
85
85
  }
86
86
  ));
87
87
  D.displayName = t.Cancel.displayName;
@@ -93,7 +93,7 @@ export {
93
93
  P as AlertDialogDescription,
94
94
  R as AlertDialogFooter,
95
95
  C as AlertDialogHeader,
96
- c as AlertDialogOverlay,
96
+ m as AlertDialogOverlay,
97
97
  f as AlertDialogPortal,
98
98
  T as AlertDialogTitle,
99
99
  b as AlertDialogTrigger
@@ -54,7 +54,7 @@ const N = d.forwardRef(({ className: a, children: i, hideClose: n, onOpenAutoFoc
54
54
  variant: "ghost",
55
55
  size: "iconSm",
56
56
  "data-component": "dialog-close",
57
- className: "absolute end-4 top-3.5 opacity-50 ring-offset-canvas transition-opacity hover:opacity-100 focus-visible:ring-2 focus-visible:ring-focus-ring focus-visible:ring-offset-2 data-[state=open]:bg-accent data-[state=open]:text-content-muted [&_svg]:!size-3 [&_svg]:block",
57
+ className: "absolute end-4 top-3.5 opacity-50 ring-offset-canvas transition-opacity hover:opacity-100 focus-visible:ring-2 focus-visible:ring-focus-ring focus-visible:ring-offset-2 data-[state=open]:bg-accent data-[state=open]:text-content-icon [&_svg]:!size-3 [&_svg]:block",
58
58
  "aria-label": x,
59
59
  children: /* @__PURE__ */ e(y, {})
60
60
  }
@@ -2,11 +2,11 @@ import { jsx as r, jsxs as o } from "react/jsx-runtime";
2
2
  import * as c from "react";
3
3
  import { Drawer as e } from "vaul";
4
4
  import { Cross as g } from "impact-nova-icons";
5
- import { wrapRadixPart as s, createCompoundPart as l } from "../../../lib/primitives/create-compound.js";
5
+ import { wrapRadixPart as n, createCompoundPart as l } from "../../../lib/primitives/create-compound.js";
6
6
  import { cn as d } from "../../../lib/utils.js";
7
7
  import { useImpactNovaI18n as D } from "../../../i18n/use-impact-nova-i18n.js";
8
- import { Tooltip as u, TooltipTrigger as x, TooltipContent as N } from "../tooltip/tooltip.js";
9
- const h = ({
8
+ import { Tooltip as u, TooltipTrigger as x, TooltipContent as y } from "../tooltip/tooltip.js";
9
+ const N = ({
10
10
  shouldScaleBackground: t = !0,
11
11
  ...a
12
12
  }) => /* @__PURE__ */ r(
@@ -17,29 +17,29 @@ const h = ({
17
17
  ...a
18
18
  }
19
19
  );
20
- h.displayName = "Drawer";
21
- const z = s(
20
+ N.displayName = "Drawer";
21
+ const z = n(
22
22
  "drawer",
23
23
  "trigger",
24
24
  "DrawerTrigger",
25
25
  e.Trigger
26
- ), y = e.Portal, F = s(
26
+ ), h = e.Portal, F = n(
27
27
  "drawer",
28
28
  "close",
29
29
  "DrawerClose",
30
30
  e.Close
31
- ), m = c.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ r(
31
+ ), m = c.forwardRef(({ className: t, ...a }, s) => /* @__PURE__ */ r(
32
32
  e.Overlay,
33
33
  {
34
- ref: n,
34
+ ref: s,
35
35
  className: d("fixed inset-0 z-50 bg-scrim-deep", t),
36
36
  ...a
37
37
  }
38
38
  ));
39
39
  m.displayName = e.Overlay.displayName;
40
- const b = c.forwardRef(({ className: t, children: a, hideClose: n, ...p }, w) => {
40
+ const b = c.forwardRef(({ className: t, children: a, hideClose: s, ...p }, w) => {
41
41
  const { t: f } = D(), i = f("aria.close");
42
- return /* @__PURE__ */ o(y, { children: [
42
+ return /* @__PURE__ */ o(h, { children: [
43
43
  /* @__PURE__ */ r(m, {}),
44
44
  /* @__PURE__ */ o(
45
45
  e.Content,
@@ -54,11 +54,11 @@ const b = c.forwardRef(({ className: t, children: a, hideClose: n, ...p }, w) =>
54
54
  children: [
55
55
  /* @__PURE__ */ r("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
56
56
  a,
57
- !n && /* @__PURE__ */ o(u, { children: [
57
+ !s && /* @__PURE__ */ o(u, { children: [
58
58
  /* @__PURE__ */ r(x, { asChild: !0, children: /* @__PURE__ */ o(
59
59
  e.Close,
60
60
  {
61
- className: "absolute end-4 top-4 rounded-sm opacity-50 ring-offset-canvas transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-content-muted",
61
+ className: "absolute end-4 top-4 rounded-sm opacity-50 ring-offset-canvas transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-content-icon",
62
62
  "aria-label": i,
63
63
  children: [
64
64
  /* @__PURE__ */ r(g, { className: "!h-3 !w-3" }),
@@ -66,7 +66,7 @@ const b = c.forwardRef(({ className: t, children: a, hideClose: n, ...p }, w) =>
66
66
  ]
67
67
  }
68
68
  ) }),
69
- /* @__PURE__ */ r(N, { variant: "tertiary", side: "top", children: i })
69
+ /* @__PURE__ */ r(y, { variant: "tertiary", side: "top", children: i })
70
70
  ] })
71
71
  ]
72
72
  }
@@ -82,28 +82,28 @@ const H = l("drawer", {
82
82
  part: "footer",
83
83
  displayName: "DrawerFooter",
84
84
  className: "mt-auto flex flex-col gap-2 p-4"
85
- }), k = s(
85
+ }), k = n(
86
86
  "drawer",
87
87
  "title",
88
88
  "DrawerTitle",
89
89
  e.Title,
90
90
  "text-lg font-semibold leading-none tracking-tight"
91
- ), L = s(
91
+ ), L = n(
92
92
  "drawer",
93
93
  "description",
94
94
  "DrawerDescription",
95
95
  e.Description,
96
- "text-sm text-content-muted"
96
+ "text-sm text-content-secondary"
97
97
  );
98
98
  export {
99
- h as Drawer,
99
+ N as Drawer,
100
100
  F as DrawerClose,
101
101
  b as DrawerContent,
102
102
  L as DrawerDescription,
103
103
  I as DrawerFooter,
104
104
  H as DrawerHeader,
105
105
  m as DrawerOverlay,
106
- y as DrawerPortal,
106
+ h as DrawerPortal,
107
107
  k as DrawerTitle,
108
108
  z as DrawerTrigger
109
109
  };
@@ -1,9 +1,9 @@
1
- import { jsx as e, jsxs as c } from "react/jsx-runtime";
2
- import * as l from "react";
1
+ import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
+ import * as c from "react";
3
3
  import * as t from "@radix-ui/react-dropdown-menu";
4
4
  import { Checkmark as f, ChevronRight as x } from "impact-nova-icons";
5
5
  import { wrapRadixPart as p } from "../../../lib/primitives/create-compound.js";
6
- import { cn as s } from "../../../lib/utils.js";
6
+ import { cn as d } from "../../../lib/utils.js";
7
7
  const j = (n) => /* @__PURE__ */ e(t.Root, { "data-component": "dropdown-menu", ...n }), G = p(
8
8
  "dropdown-menu",
9
9
  "trigger",
@@ -14,25 +14,25 @@ const j = (n) => /* @__PURE__ */ e(t.Root, { "data-component": "dropdown-menu",
14
14
  "group",
15
15
  "DropdownMenuGroup",
16
16
  t.Group
17
- ), T = t.Portal, L = t.Sub, g = l.forwardRef(({ className: n, ...a }, o) => /* @__PURE__ */ e(
17
+ ), T = t.Portal, L = t.Sub, g = c.forwardRef(({ className: n, ...a }, o) => /* @__PURE__ */ e(
18
18
  t.RadioGroup,
19
19
  {
20
20
  ref: o,
21
- className: s("flex flex-col gap-0.5", n),
21
+ className: d("flex flex-col gap-0.5", n),
22
22
  ...a
23
23
  }
24
24
  ));
25
25
  g.displayName = t.RadioGroup.displayName;
26
- const h = l.forwardRef(({ className: n, inset: a, icon: o, children: r, ...d }, i) => /* @__PURE__ */ c(
26
+ const h = c.forwardRef(({ className: n, inset: a, icon: o, children: r, ...s }, i) => /* @__PURE__ */ l(
27
27
  t.SubTrigger,
28
28
  {
29
29
  ref: i,
30
- className: s(
30
+ className: d(
31
31
  "flex cursor-default select-none items-center gap-2 rounded-md px-3 h-[35px] text-[13px] outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 font-medium",
32
32
  a && "pl-4",
33
33
  n
34
34
  ),
35
- ...d,
35
+ ...s,
36
36
  children: [
37
37
  o && /* @__PURE__ */ e("span", { className: "flex-shrink-0 text-content-secondary [&>svg]:size-4", children: o }),
38
38
  r,
@@ -41,27 +41,27 @@ const h = l.forwardRef(({ className: n, inset: a, icon: o, children: r, ...d },
41
41
  }
42
42
  ));
43
43
  h.displayName = t.SubTrigger.displayName;
44
- const w = l.forwardRef(({ className: n, ...a }, o) => /* @__PURE__ */ e(t.Portal, { children: /* @__PURE__ */ e(
44
+ const b = c.forwardRef(({ className: n, ...a }, o) => /* @__PURE__ */ e(t.Portal, { children: /* @__PURE__ */ e(
45
45
  t.SubContent,
46
46
  {
47
47
  ref: o,
48
- className: s(
49
- "z-[100] min-w-[8rem] overflow-hidden rounded-lg bg-canvas-overlay p-2 text-canvas-overlay-foreground shadow-elevation-floating text-[13px] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin] motion-reduce:animate-none motion-reduce:transition-none",
48
+ className: d(
49
+ "z-50 min-w-[8rem] overflow-hidden rounded-lg bg-canvas-overlay p-2 text-canvas-overlay-foreground shadow-elevation-floating text-[13px] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin] motion-reduce:animate-none motion-reduce:transition-none",
50
50
  n
51
51
  ),
52
52
  ...a
53
53
  }
54
54
  ) }));
55
- w.displayName = t.SubContent.displayName;
56
- const N = l.forwardRef(({ className: n, sideOffset: a = 4, portalled: o = !0, ...r }, d) => {
55
+ b.displayName = t.SubContent.displayName;
56
+ const w = c.forwardRef(({ className: n, sideOffset: a = 4, portalled: o = !0, ...r }, s) => {
57
57
  const i = /* @__PURE__ */ e(
58
58
  t.Content,
59
59
  {
60
- ref: d,
60
+ ref: s,
61
61
  sideOffset: a,
62
62
  "data-component": "dropdown-menu-content",
63
- className: s(
64
- "z-[100] max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[12rem] overflow-y-auto overflow-x-hidden rounded-lg bg-canvas-overlay p-2 text-canvas-overlay-foreground shadow-elevation-floating flex flex-col gap-0.5",
63
+ className: d(
64
+ "z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[12rem] overflow-y-auto overflow-x-hidden rounded-lg bg-canvas-overlay p-2 text-canvas-overlay-foreground shadow-elevation-floating flex flex-col gap-0.5",
65
65
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin] motion-reduce:animate-none motion-reduce:transition-none",
66
66
  n
67
67
  ),
@@ -70,13 +70,13 @@ const N = l.forwardRef(({ className: n, sideOffset: a = 4, portalled: o = !0, ..
70
70
  );
71
71
  return o ? /* @__PURE__ */ e(t.Portal, { children: i }) : i;
72
72
  });
73
- N.displayName = t.Content.displayName;
74
- const b = l.forwardRef(({ className: n, inset: a, description: o, icon: r, children: d, ...i }, m) => /* @__PURE__ */ c(
73
+ w.displayName = t.Content.displayName;
74
+ const N = c.forwardRef(({ className: n, inset: a, description: o, icon: r, children: s, ...i }, m) => /* @__PURE__ */ l(
75
75
  t.Item,
76
76
  {
77
77
  ref: m,
78
78
  "data-component": "dropdown-menu-item",
79
- className: s(
79
+ className: d(
80
80
  "relative flex cursor-default select-none items-center gap-2 rounded-md px-3 h-[35px] text-[13px] outline-none transition-colors focus:bg-accent focus:text-content data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",
81
81
  a && "pl-4",
82
82
  n
@@ -84,19 +84,19 @@ const b = l.forwardRef(({ className: n, inset: a, description: o, icon: r, child
84
84
  ...i,
85
85
  children: [
86
86
  r && /* @__PURE__ */ e("span", { className: "flex-shrink-0 [&>svg]:size-4", children: r }),
87
- /* @__PURE__ */ c("div", { className: "flex flex-col gap-0.5 justify-center", children: [
88
- /* @__PURE__ */ e("span", { className: "font-medium leading-none", children: d }),
87
+ /* @__PURE__ */ l("div", { className: "flex flex-col gap-0.5 justify-center", children: [
88
+ /* @__PURE__ */ e("span", { className: "font-medium leading-none", children: s }),
89
89
  o && /* @__PURE__ */ e("span", { className: "text-[10px] leading-tight text-content-secondary line-clamp-1", children: o })
90
90
  ] })
91
91
  ]
92
92
  }
93
93
  ));
94
- b.displayName = t.Item.displayName;
95
- const v = l.forwardRef(({ className: n, children: a, checked: o, description: r, icon: d, ...i }, m) => /* @__PURE__ */ c(
94
+ N.displayName = t.Item.displayName;
95
+ const y = c.forwardRef(({ className: n, children: a, checked: o, description: r, icon: s, ...i }, m) => /* @__PURE__ */ l(
96
96
  t.CheckboxItem,
97
97
  {
98
98
  ref: m,
99
- className: s(
99
+ className: d(
100
100
  "relative flex cursor-default select-none items-center rounded-md h-[35px] pl-10 pr-3 text-[13px] outline-none transition-colors focus:bg-accent focus:text-content data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
101
101
  n
102
102
  ),
@@ -107,16 +107,16 @@ const v = l.forwardRef(({ className: n, children: a, checked: o, description: r,
107
107
  /* @__PURE__ */ e("span", { className: "absolute left-3 flex h-4 w-4 items-center justify-center", children: /* @__PURE__ */ e(
108
108
  "div",
109
109
  {
110
- className: s(
110
+ className: d(
111
111
  "flex h-4 w-4 items-center justify-center rounded-[4px] border border-stroke transition-colors",
112
112
  o && "bg-brand border-brand text-brand-foreground"
113
113
  ),
114
114
  children: /* @__PURE__ */ e(t.ItemIndicator, { children: /* @__PURE__ */ e(f, { className: "h-3.5 w-3.5" }) })
115
115
  }
116
116
  ) }),
117
- /* @__PURE__ */ c("div", { className: "flex items-center gap-2", children: [
118
- d && /* @__PURE__ */ e("span", { className: "flex-shrink-0 text-content-secondary [&>svg]:size-4", children: d }),
119
- /* @__PURE__ */ c("div", { className: "flex flex-col gap-0.5 justify-center", children: [
117
+ /* @__PURE__ */ l("div", { className: "flex items-center gap-2", children: [
118
+ s && /* @__PURE__ */ e("span", { className: "flex-shrink-0 text-content-secondary [&>svg]:size-4", children: s }),
119
+ /* @__PURE__ */ l("div", { className: "flex flex-col gap-0.5 justify-center", children: [
120
120
  /* @__PURE__ */ e("span", { className: "font-medium leading-none", children: a }),
121
121
  r && /* @__PURE__ */ e("span", { className: "text-[10px] leading-tight text-content-secondary line-clamp-1", children: r })
122
122
  ] })
@@ -124,32 +124,45 @@ const v = l.forwardRef(({ className: n, children: a, checked: o, description: r,
124
124
  ]
125
125
  }
126
126
  ));
127
- v.displayName = t.CheckboxItem.displayName;
128
- const y = l.forwardRef(({ className: n, children: a, description: o, icon: r, ...d }, i) => /* @__PURE__ */ e(
127
+ y.displayName = t.CheckboxItem.displayName;
128
+ const v = c.forwardRef(({ className: n, children: a, description: o, icon: r, ...s }, i) => /* @__PURE__ */ l(
129
129
  t.RadioItem,
130
130
  {
131
131
  ref: i,
132
- className: s(
133
- "relative flex cursor-default select-none items-center rounded-md h-[35px] px-3 text-[13px] outline-none transition-colors focus:bg-accent focus:text-content data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[state=checked]:bg-accent",
132
+ "data-component": "dropdown-menu-radio-item",
133
+ className: d(
134
+ "group relative flex cursor-default select-none items-center rounded-md min-h-[35px] py-1.5 pl-10 pr-3 text-[13px] outline-none transition-colors focus:bg-accent focus:text-content data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[state=checked]:bg-accent",
134
135
  n
135
136
  ),
136
137
  onSelect: (m) => m.preventDefault(),
137
- ...d,
138
- children: /* @__PURE__ */ c("div", { className: "flex items-center gap-2", children: [
139
- r && /* @__PURE__ */ e("span", { className: "flex-shrink-0 text-content-secondary [&>svg]:size-4", children: r }),
140
- /* @__PURE__ */ c("div", { className: "flex flex-col gap-0.5 justify-center", children: [
141
- /* @__PURE__ */ e("span", { className: "font-medium leading-none", children: a }),
142
- o && /* @__PURE__ */ e("span", { className: "text-[10px] leading-tight text-content-secondary line-clamp-1", children: o })
138
+ ...s,
139
+ children: [
140
+ /* @__PURE__ */ e("span", { className: "absolute left-3 flex h-4 w-4 items-center justify-center", children: /* @__PURE__ */ e(
141
+ "div",
142
+ {
143
+ className: d(
144
+ "flex h-4 w-4 items-center justify-center rounded-full border border-stroke transition-colors",
145
+ "group-data-[state=checked]:border-brand"
146
+ ),
147
+ children: /* @__PURE__ */ e(t.ItemIndicator, { children: /* @__PURE__ */ e("div", { className: "h-2 w-2 rounded-full bg-brand" }) })
148
+ }
149
+ ) }),
150
+ /* @__PURE__ */ l("div", { className: "flex items-center gap-2", children: [
151
+ r && /* @__PURE__ */ e("span", { className: "flex-shrink-0 text-content-secondary [&>svg]:size-4", children: r }),
152
+ /* @__PURE__ */ l("div", { className: "flex flex-col gap-0.5 justify-center", children: [
153
+ /* @__PURE__ */ e("span", { className: "font-medium leading-none", children: a }),
154
+ o && /* @__PURE__ */ e("span", { className: "text-[10px] leading-tight text-content-secondary line-clamp-1", children: o })
155
+ ] })
143
156
  ] })
144
- ] })
157
+ ]
145
158
  }
146
159
  ));
147
- y.displayName = t.RadioItem.displayName;
148
- const D = l.forwardRef(({ className: n, inset: a, ...o }, r) => /* @__PURE__ */ e(
160
+ v.displayName = t.RadioItem.displayName;
161
+ const D = c.forwardRef(({ className: n, inset: a, ...o }, r) => /* @__PURE__ */ e(
149
162
  t.Label,
150
163
  {
151
164
  ref: r,
152
- className: s(
165
+ className: d(
153
166
  "px-3 py-2 text-xs font-bold tracking-wider text-content-icon",
154
167
  a && "pl-4",
155
168
  n
@@ -158,55 +171,55 @@ const D = l.forwardRef(({ className: n, inset: a, ...o }, r) => /* @__PURE__ */
158
171
  }
159
172
  ));
160
173
  D.displayName = t.Label.displayName;
161
- const M = l.forwardRef(({ className: n, ...a }, o) => /* @__PURE__ */ e(
174
+ const M = c.forwardRef(({ className: n, ...a }, o) => /* @__PURE__ */ e(
162
175
  t.Separator,
163
176
  {
164
177
  ref: o,
165
- className: s("-mx-2 my-1 h-px bg-stroke-hairline", n),
178
+ className: d("-mx-2 my-1 h-px bg-stroke-hairline", n),
166
179
  ...a
167
180
  }
168
181
  ));
169
182
  M.displayName = t.Separator.displayName;
170
- const R = ({
183
+ const k = ({
171
184
  className: n,
172
185
  ...a
173
186
  }) => /* @__PURE__ */ e(
174
187
  "div",
175
188
  {
176
- className: s(
189
+ className: d(
177
190
  "sticky bottom-0 z-10 -mx-2 -mb-2 mt-1 flex items-center justify-end gap-2 border-t bg-canvas-elevated p-2 shrink-0 rounded-b-xl",
178
191
  n
179
192
  ),
180
193
  ...a
181
194
  }
182
195
  );
183
- R.displayName = "DropdownMenuFooter";
184
- const k = ({
196
+ k.displayName = "DropdownMenuFooter";
197
+ const R = ({
185
198
  className: n,
186
199
  ...a
187
200
  }) => /* @__PURE__ */ e(
188
201
  "span",
189
202
  {
190
- className: s("ml-auto text-xs tracking-widest opacity-60", n),
203
+ className: d("ml-auto text-xs tracking-widest opacity-60", n),
191
204
  ...a
192
205
  }
193
206
  );
194
- k.displayName = "DropdownMenuShortcut";
207
+ R.displayName = "DropdownMenuShortcut";
195
208
  export {
196
209
  j as DropdownMenu,
197
- v as DropdownMenuCheckboxItem,
198
- N as DropdownMenuContent,
199
- R as DropdownMenuFooter,
210
+ y as DropdownMenuCheckboxItem,
211
+ w as DropdownMenuContent,
212
+ k as DropdownMenuFooter,
200
213
  P as DropdownMenuGroup,
201
- b as DropdownMenuItem,
214
+ N as DropdownMenuItem,
202
215
  D as DropdownMenuLabel,
203
216
  T as DropdownMenuPortal,
204
217
  g as DropdownMenuRadioGroup,
205
- y as DropdownMenuRadioItem,
218
+ v as DropdownMenuRadioItem,
206
219
  M as DropdownMenuSeparator,
207
- k as DropdownMenuShortcut,
220
+ R as DropdownMenuShortcut,
208
221
  L as DropdownMenuSub,
209
- w as DropdownMenuSubContent,
222
+ b as DropdownMenuSubContent,
210
223
  h as DropdownMenuSubTrigger,
211
224
  G as DropdownMenuTrigger
212
225
  };
@@ -34,7 +34,7 @@ const B = (o) => /* @__PURE__ */ e(
34
34
  "aria-label": s ?? v("aria.popover"),
35
35
  "data-component": "popover-content",
36
36
  className: n(
37
- "z-[100] min-w-[240px] rounded-xl border bg-canvas-overlay p-3 text-canvas-overlay-foreground shadow-md outline-none overflow-hidden data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin] pointer-events-auto motion-reduce:animate-none motion-reduce:transition-none",
37
+ "z-50 min-w-[240px] rounded-xl border bg-canvas-overlay p-3 text-canvas-overlay-foreground shadow-md outline-none overflow-hidden data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin] pointer-events-auto motion-reduce:animate-none motion-reduce:transition-none",
38
38
  o
39
39
  ),
40
40
  ...r
@@ -153,7 +153,7 @@ const G = S("sheet", {
153
153
  "description",
154
154
  "SheetDescription",
155
155
  t.Description,
156
- "text-sm text-muted-foreground"
156
+ "text-sm text-content-secondary"
157
157
  );
158
158
  export {
159
159
  V as Sheet,