impact-nova 1.5.14 → 1.6.0

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 (149) hide show
  1. package/dist/components/ui/accordion.d.ts +4 -1
  2. package/dist/components/ui/accordion.js +28 -22
  3. package/dist/components/ui/ag-grid-react/cell-renderers/badge-cell-renderer.js +11 -11
  4. package/dist/components/ui/ag-grid-react/cell-renderers/checkbox-display-renderer.js +12 -12
  5. package/dist/components/ui/ag-grid-react/cell-renderers/date-display-renderer.js +13 -13
  6. package/dist/components/ui/ag-grid-react/cell-renderers/editors/date-cell-editor.js +13 -13
  7. package/dist/components/ui/ag-grid-react/cell-renderers/editors/input-cell-editor.js +30 -30
  8. package/dist/components/ui/ag-grid-react/cell-renderers/editors/percent-progress-cell-editor.js +13 -13
  9. package/dist/components/ui/ag-grid-react/cell-renderers/editors/split-cell-editor.js +16 -16
  10. package/dist/components/ui/ag-grid-react/cell-renderers/editors/textarea-cell-editor.js +17 -17
  11. package/dist/components/ui/ag-grid-react/cell-renderers/input-display-renderer.js +11 -11
  12. package/dist/components/ui/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.js +2 -2
  13. package/dist/components/ui/ag-grid-react/cell-renderers/percent-progress-display-renderer.js +11 -13
  14. package/dist/components/ui/ag-grid-react/cell-renderers/select-display-renderer.js +8 -8
  15. package/dist/components/ui/ag-grid-react/cell-renderers/split-cell-renderer.js +6 -6
  16. package/dist/components/ui/ag-grid-react/cell-renderers/status-badge-renderer.d.ts +1 -1
  17. package/dist/components/ui/ag-grid-react/cell-renderers/status-badge-renderer.js +14 -14
  18. package/dist/components/ui/ag-grid-react/cell-renderers/switch-display-renderer.js +18 -18
  19. package/dist/components/ui/ag-grid-react/cell-renderers/textarea-display-renderer.js +6 -6
  20. package/dist/components/ui/ag-grid-react/headers/advanced-filter/advanced-filter-dialog.js +14 -14
  21. package/dist/components/ui/ag-grid-react/headers/advanced-filter/column-filter-section.js +35 -35
  22. package/dist/components/ui/ag-grid-react/headers/column-menu/column-settings-menu.js +49 -49
  23. package/dist/components/ui/ag-grid-react/headers/components/header-info.js +29 -29
  24. package/dist/components/ui/ag-grid-react/headers/components/info-modal.js +9 -9
  25. package/dist/components/ui/ag-grid-react/headers/components/section-renderers.js +20 -20
  26. package/dist/components/ui/ag-grid-react/headers/custom-header-group.js +10 -10
  27. package/dist/components/ui/ag-grid-react/headers/custom-header.js +76 -76
  28. package/dist/components/ui/ag-grid-react/headers/header-search-input.js +118 -118
  29. package/dist/components/ui/ag-grid-react/index.js +121 -102
  30. package/dist/components/ui/alert-dialog.js +6 -6
  31. package/dist/components/ui/alert.d.ts +4 -3
  32. package/dist/components/ui/alert.js +182 -64
  33. package/dist/components/ui/avatar.js +5 -5
  34. package/dist/components/ui/badge.d.ts +7 -2
  35. package/dist/components/ui/badge.js +105 -32
  36. package/dist/components/ui/breadcrumb.js +26 -21
  37. package/dist/components/ui/button-group.d.ts +7 -0
  38. package/dist/components/ui/button-group.js +116 -91
  39. package/dist/components/ui/button-variants.d.ts +7 -2
  40. package/dist/components/ui/button-variants.js +31 -16
  41. package/dist/components/ui/button.d.ts +2 -2
  42. package/dist/components/ui/button.js +10 -10
  43. package/dist/components/ui/calendar.js +185 -184
  44. package/dist/components/ui/card.js +24 -24
  45. package/dist/components/ui/chart/chart.js +27 -27
  46. package/dist/components/ui/chart/chart.utils.js +50 -50
  47. package/dist/components/ui/checkbox.js +22 -22
  48. package/dist/components/ui/chips.d.ts +19 -3
  49. package/dist/components/ui/chips.js +140 -41
  50. package/dist/components/ui/command-palette/command-palette-layout.d.ts +28 -0
  51. package/dist/components/ui/command-palette/command-palette-layout.js +59 -0
  52. package/dist/components/ui/command-palette/command-palette.js +254 -264
  53. package/dist/components/ui/command-palette/index.d.ts +1 -1
  54. package/dist/components/ui/command-palette/index.js +42 -41
  55. package/dist/components/ui/command-palette/kbd.js +18 -18
  56. package/dist/components/ui/command-palette/shortcut-settings.d.ts +3 -3
  57. package/dist/components/ui/command-palette/shortcut-settings.js +105 -111
  58. package/dist/components/ui/command-palette/utils.d.ts +6 -1
  59. package/dist/components/ui/command-palette/utils.js +81 -74
  60. package/dist/components/ui/data-table/data-table-column-list.js +31 -31
  61. package/dist/components/ui/data-table/data-table-constants.d.ts +6 -0
  62. package/dist/components/ui/data-table/data-table-constants.js +4 -0
  63. package/dist/components/ui/data-table/data-table-context.d.ts +4 -0
  64. package/dist/components/ui/data-table/data-table-format-options.js +35 -35
  65. package/dist/components/ui/data-table/data-table-sheet.d.ts +4 -4
  66. package/dist/components/ui/data-table/data-table-sheet.js +91 -58
  67. package/dist/components/ui/data-table/data-table-view-options.js +29 -29
  68. package/dist/components/ui/data-table/data-table.js +84 -52
  69. package/dist/components/ui/data-table/index.d.ts +1 -0
  70. package/dist/components/ui/data-table/index.js +15 -13
  71. package/dist/components/ui/date-picker/date-picker.js +35 -35
  72. package/dist/components/ui/date-picker/date-range-picker.js +166 -164
  73. package/dist/components/ui/date-picker/month-picker.js +14 -14
  74. package/dist/components/ui/date-picker/month-range-picker.js +198 -189
  75. package/dist/components/ui/date-picker/multi-date-picker.js +14 -14
  76. package/dist/components/ui/date-picker/multi-month-picker.js +1 -1
  77. package/dist/components/ui/date-picker/multi-week-picker.js +1 -1
  78. package/dist/components/ui/date-picker/week-picker.js +2 -2
  79. package/dist/components/ui/date-picker/week-range-picker.js +164 -162
  80. package/dist/components/ui/dialog.js +25 -28
  81. package/dist/components/ui/drawer.js +40 -40
  82. package/dist/components/ui/dropdown-menu.js +72 -72
  83. package/dist/components/ui/empty-container.js +73 -69
  84. package/dist/components/ui/file-upload.js +137 -135
  85. package/dist/components/ui/filter-panel/filter-panel.d.ts +2 -2
  86. package/dist/components/ui/filter-panel/filter-panel.js +175 -97
  87. package/dist/components/ui/filter-strip/filter-strip.d.ts +1 -1
  88. package/dist/components/ui/filter-strip/filter-strip.js +63 -50
  89. package/dist/components/ui/filter-strip/filter-summary.d.ts +4 -1
  90. package/dist/components/ui/filter-strip/filter-summary.js +230 -146
  91. package/dist/components/ui/filter-strip/filter-tag-list.js +125 -91
  92. package/dist/components/ui/header.d.ts +7 -3
  93. package/dist/components/ui/header.js +87 -79
  94. package/dist/components/ui/horizontal-scroller/horizontal-scroller.js +44 -44
  95. package/dist/components/ui/hover-card.js +10 -10
  96. package/dist/components/ui/input.js +79 -70
  97. package/dist/components/ui/loader.js +16 -16
  98. package/dist/components/ui/nested-list/components/NestedListCategoryFilters.js +16 -16
  99. package/dist/components/ui/nested-list/components/NestedListHeader.js +27 -27
  100. package/dist/components/ui/nested-list/components/SortableItem.js +58 -58
  101. package/dist/components/ui/notification-panel/notification-item.js +32 -32
  102. package/dist/components/ui/notification-panel/notification-list.js +24 -24
  103. package/dist/components/ui/notification-panel/notification-panel.js +26 -26
  104. package/dist/components/ui/popover.js +22 -22
  105. package/dist/components/ui/progress.js +34 -34
  106. package/dist/components/ui/prompt.js +48 -48
  107. package/dist/components/ui/radio-group.js +63 -54
  108. package/dist/components/ui/select/components/LabelWithSequence.js +6 -6
  109. package/dist/components/ui/select/components/Submenu.js +33 -33
  110. package/dist/components/ui/select/select.js +425 -376
  111. package/dist/components/ui/sheet.js +88 -66
  112. package/dist/components/ui/sidebar.js +342 -296
  113. package/dist/components/ui/skeleton.js +6 -6
  114. package/dist/components/ui/slider.js +17 -17
  115. package/dist/components/ui/statistics-card.d.ts +86 -0
  116. package/dist/components/ui/statistics-card.hooks.d.ts +150 -0
  117. package/dist/components/ui/statistics-card.hooks.js +100 -0
  118. package/dist/components/ui/statistics-card.js +259 -0
  119. package/dist/components/ui/stepper.js +51 -51
  120. package/dist/components/ui/switch.js +7 -7
  121. package/dist/components/ui/tabs.js +70 -70
  122. package/dist/components/ui/tag-group.d.ts +1 -0
  123. package/dist/components/ui/tag-group.js +14 -13
  124. package/dist/components/ui/tag.js +43 -43
  125. package/dist/components/ui/textarea.js +86 -58
  126. package/dist/components/ui/toast.js +39 -39
  127. package/dist/components/ui/tooltip.js +23 -23
  128. package/dist/components/ui/types/date-picker.types.d.ts +1 -0
  129. package/dist/components/ui/types/filter-panel.types.d.ts +3 -0
  130. package/dist/components/ui/types/filter-strip.types.d.ts +14 -0
  131. package/dist/components/ui/types/horizontal-scroller.types.d.ts +1 -1
  132. package/dist/components/ui/types/statistics-card.types.d.ts +1 -0
  133. package/dist/i18n/defaultMessages.d.ts +8 -0
  134. package/dist/i18n/defaultMessages.js +15 -9
  135. package/dist/i18n/locales/de.js +7 -1
  136. package/dist/i18n/locales/es.js +7 -1
  137. package/dist/i18n/locales/hi.js +7 -1
  138. package/dist/i18n/locales/kn.js +7 -1
  139. package/dist/icons/assets/bulk-edit.svg.js +5 -0
  140. package/dist/icons/assets/clock.svg.js +5 -0
  141. package/dist/icons/assets/statistics.svg.js +5 -0
  142. package/dist/icons/index.d.ts +3 -0
  143. package/dist/icons/index.js +254 -206
  144. package/dist/impact-nova.css +1 -1
  145. package/dist/index.d.ts +1 -0
  146. package/dist/index.js +361 -347
  147. package/package.json +3 -2
  148. package/tailwind.config.js +259 -152
  149. /package/dist/icons/assets/{PivotMode.svg.js → pivotMode.svg.js} +0 -0
@@ -1,52 +1,52 @@
1
1
  import { jsx as a, jsxs as n } from "react/jsx-runtime";
2
2
  import * as i from "react";
3
- import { Drawer as t } from "vaul";
3
+ import { Drawer as r } from "vaul";
4
4
  import { X as f } from "lucide-react";
5
5
  import { cn as s } from "../../lib/utils.js";
6
- import { Tooltip as g, TooltipTrigger as w, TooltipContent as u } from "./tooltip.js";
6
+ import { Tooltip as w, TooltipTrigger as g, TooltipContent as u } from "./tooltip.js";
7
7
  import { useImpactNovaI18n as N } from "../../i18n/ImpactNovaI18nContext.js";
8
8
  const x = ({
9
9
  shouldScaleBackground: e = !0,
10
- ...r
10
+ ...t
11
11
  }) => /* @__PURE__ */ a(
12
- t.Root,
12
+ r.Root,
13
13
  {
14
14
  shouldScaleBackground: e,
15
- ...r
15
+ ...t
16
16
  }
17
17
  );
18
18
  x.displayName = "Drawer";
19
- const F = t.Trigger, D = t.Portal, H = t.Close, c = i.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(
20
- t.Overlay,
19
+ const H = r.Trigger, D = r.Portal, I = r.Close, c = i.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a(
20
+ r.Overlay,
21
21
  {
22
22
  ref: o,
23
- className: s("fixed inset-0 z-50 bg-black/80", e),
24
- ...r
23
+ className: s("fixed inset-0 z-50 bg-scrim-deep", e),
24
+ ...t
25
25
  }
26
26
  ));
27
- c.displayName = t.Overlay.displayName;
28
- const y = i.forwardRef(({ className: e, children: r, hideClose: o, ...d }, m) => {
27
+ c.displayName = r.Overlay.displayName;
28
+ const y = i.forwardRef(({ className: e, children: t, hideClose: o, ...d }, m) => {
29
29
  const { t: p } = N(), l = p("aria.close");
30
30
  return /* @__PURE__ */ n(D, { children: [
31
31
  /* @__PURE__ */ a(c, {}),
32
32
  /* @__PURE__ */ n(
33
- t.Content,
33
+ r.Content,
34
34
  {
35
35
  ref: m,
36
36
  "data-component": "drawer-content",
37
37
  className: s(
38
- "fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
38
+ "fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-canvas",
39
39
  e
40
40
  ),
41
41
  ...d,
42
42
  children: [
43
43
  /* @__PURE__ */ a("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
44
- r,
45
- !o && /* @__PURE__ */ n(g, { children: [
46
- /* @__PURE__ */ a(w, { asChild: !0, children: /* @__PURE__ */ n(
47
- t.Close,
44
+ t,
45
+ !o && /* @__PURE__ */ n(w, { children: [
46
+ /* @__PURE__ */ a(g, { asChild: !0, children: /* @__PURE__ */ n(
47
+ r.Close,
48
48
  {
49
- className: "absolute right-4 top-4 rounded-sm opacity-50 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",
49
+ className: "absolute right-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",
50
50
  "aria-label": l,
51
51
  children: [
52
52
  /* @__PURE__ */ a(f, { className: "h-4 w-4" }),
@@ -62,30 +62,30 @@ const y = i.forwardRef(({ className: e, children: r, hideClose: o, ...d }, m) =>
62
62
  ] });
63
63
  });
64
64
  y.displayName = "DrawerContent";
65
- const b = ({
65
+ const h = ({
66
66
  className: e,
67
- ...r
67
+ ...t
68
68
  }) => /* @__PURE__ */ a(
69
69
  "div",
70
70
  {
71
71
  className: s("grid gap-1.5 p-4 text-center sm:text-left", e),
72
- ...r
72
+ ...t
73
73
  }
74
74
  );
75
- b.displayName = "DrawerHeader";
76
- const h = ({
75
+ h.displayName = "DrawerHeader";
76
+ const v = ({
77
77
  className: e,
78
- ...r
78
+ ...t
79
79
  }) => /* @__PURE__ */ a(
80
80
  "div",
81
81
  {
82
82
  className: s("mt-auto flex flex-col gap-2 p-4", e),
83
- ...r
83
+ ...t
84
84
  }
85
85
  );
86
- h.displayName = "DrawerFooter";
87
- const v = i.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(
88
- t.Title,
86
+ v.displayName = "DrawerFooter";
87
+ const b = i.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a(
88
+ r.Title,
89
89
  {
90
90
  ref: o,
91
91
  "data-component": "drawer-title",
@@ -93,29 +93,29 @@ const v = i.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(
93
93
  "text-lg font-semibold leading-none tracking-tight",
94
94
  e
95
95
  ),
96
- ...r
96
+ ...t
97
97
  }
98
98
  ));
99
- v.displayName = t.Title.displayName;
100
- const T = i.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(
101
- t.Description,
99
+ b.displayName = r.Title.displayName;
100
+ const T = i.forwardRef(({ className: e, ...t }, o) => /* @__PURE__ */ a(
101
+ r.Description,
102
102
  {
103
103
  ref: o,
104
104
  "data-component": "drawer-description",
105
- className: s("text-sm text-muted-foreground", e),
106
- ...r
105
+ className: s("text-sm text-content-muted", e),
106
+ ...t
107
107
  }
108
108
  ));
109
- T.displayName = t.Description.displayName;
109
+ T.displayName = r.Description.displayName;
110
110
  export {
111
111
  x as Drawer,
112
- H as DrawerClose,
112
+ I as DrawerClose,
113
113
  y as DrawerContent,
114
114
  T as DrawerDescription,
115
- h as DrawerFooter,
116
- b as DrawerHeader,
115
+ v as DrawerFooter,
116
+ h as DrawerHeader,
117
117
  c as DrawerOverlay,
118
118
  D as DrawerPortal,
119
- v as DrawerTitle,
120
- F as DrawerTrigger
119
+ b as DrawerTitle,
120
+ H as DrawerTrigger
121
121
  };
@@ -2,176 +2,176 @@ import { jsxs as c, jsx as t } from "react/jsx-runtime";
2
2
  import * as l from "react";
3
3
  import * as e from "@radix-ui/react-dropdown-menu";
4
4
  import { Check as f, ChevronRight as u } from "lucide-react";
5
- import { cn as s } from "../../lib/utils.js";
6
- const C = e.Root, I = e.Trigger, _ = e.Group, j = e.Portal, F = e.Sub, x = l.forwardRef(({ className: a, ...o }, n) => /* @__PURE__ */ t(
5
+ import { cn as r } from "../../lib/utils.js";
6
+ const C = e.Root, I = e.Trigger, j = e.Group, G = e.Portal, P = e.Sub, x = l.forwardRef(({ className: a, ...n }, o) => /* @__PURE__ */ t(
7
7
  e.RadioGroup,
8
8
  {
9
- ref: n,
10
- className: s("flex flex-col gap-0.5", a),
11
- ...o
9
+ ref: o,
10
+ className: r("flex flex-col gap-0.5", a),
11
+ ...n
12
12
  }
13
13
  ));
14
14
  x.displayName = e.RadioGroup.displayName;
15
- const g = l.forwardRef(({ className: a, inset: o, icon: n, children: r, ...d }, i) => /* @__PURE__ */ c(
15
+ const g = l.forwardRef(({ className: a, inset: n, icon: o, children: s, ...d }, i) => /* @__PURE__ */ c(
16
16
  e.SubTrigger,
17
17
  {
18
18
  ref: i,
19
- className: s(
19
+ className: r(
20
20
  "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",
21
- o && "pl-4",
21
+ n && "pl-4",
22
22
  a
23
23
  ),
24
24
  ...d,
25
25
  children: [
26
- n && /* @__PURE__ */ t("span", { className: "flex-shrink-0 text-text-secondary [&>svg]:size-4", children: n }),
27
- r,
28
- /* @__PURE__ */ t(u, { className: "ml-auto text-icon-gray" })
26
+ o && /* @__PURE__ */ t("span", { className: "flex-shrink-0 text-content-secondary [&>svg]:size-4", children: o }),
27
+ s,
28
+ /* @__PURE__ */ t(u, { className: "ml-auto text-content-icon" })
29
29
  ]
30
30
  }
31
31
  ));
32
32
  g.displayName = e.SubTrigger.displayName;
33
- const h = l.forwardRef(({ className: a, ...o }, n) => /* @__PURE__ */ t(e.Portal, { children: /* @__PURE__ */ t(
33
+ const h = l.forwardRef(({ className: a, ...n }, o) => /* @__PURE__ */ t(e.Portal, { children: /* @__PURE__ */ t(
34
34
  e.SubContent,
35
35
  {
36
- ref: n,
37
- className: s(
38
- "z-50 min-w-[8rem] overflow-hidden rounded-lg bg-popover p-2 text-popover-foreground shadow-[0px_0px_4px_0px_rgba(0,0,0,0.12)] 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]",
36
+ ref: o,
37
+ className: r(
38
+ "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]",
39
39
  a
40
40
  ),
41
- ...o
41
+ ...n
42
42
  }
43
43
  ) }));
44
44
  h.displayName = e.SubContent.displayName;
45
- const N = l.forwardRef(({ className: a, sideOffset: o = 4, portalled: n = !0, ...r }, d) => {
45
+ const N = l.forwardRef(({ className: a, sideOffset: n = 4, portalled: o = !0, ...s }, d) => {
46
46
  const i = /* @__PURE__ */ t(
47
47
  e.Content,
48
48
  {
49
49
  ref: d,
50
- sideOffset: o,
50
+ sideOffset: n,
51
51
  "data-component": "dropdown-menu-content",
52
- className: s(
53
- "z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[12rem] overflow-y-auto overflow-x-hidden rounded-lg bg-popover p-2 text-popover-foreground shadow-[0px_0px_4px_0px_rgba(0,0,0,0.12)] flex flex-col gap-0.5",
52
+ className: r(
53
+ "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",
54
54
  "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]",
55
55
  a
56
56
  ),
57
- ...r
57
+ ...s
58
58
  }
59
59
  );
60
- return n ? /* @__PURE__ */ t(e.Portal, { children: i }) : i;
60
+ return o ? /* @__PURE__ */ t(e.Portal, { children: i }) : i;
61
61
  });
62
62
  N.displayName = e.Content.displayName;
63
- const b = l.forwardRef(({ className: a, inset: o, description: n, icon: r, children: d, ...i }, p) => /* @__PURE__ */ c(
63
+ const b = l.forwardRef(({ className: a, inset: n, description: o, icon: s, children: d, ...i }, m) => /* @__PURE__ */ c(
64
64
  e.Item,
65
65
  {
66
- ref: p,
66
+ ref: m,
67
67
  "data-component": "dropdown-menu-item",
68
- className: s(
69
- "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-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",
70
- o && "pl-4",
68
+ className: r(
69
+ "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",
70
+ n && "pl-4",
71
71
  a
72
72
  ),
73
73
  ...i,
74
74
  children: [
75
- r && /* @__PURE__ */ t("span", { className: "flex-shrink-0 [&>svg]:size-4", children: r }),
75
+ s && /* @__PURE__ */ t("span", { className: "flex-shrink-0 [&>svg]:size-4", children: s }),
76
76
  /* @__PURE__ */ c("div", { className: "flex flex-col gap-0.5 justify-center", children: [
77
77
  /* @__PURE__ */ t("span", { className: "font-medium leading-none", children: d }),
78
- n && /* @__PURE__ */ t("span", { className: "text-[10px] leading-tight text-text-secondary line-clamp-1", children: n })
78
+ o && /* @__PURE__ */ t("span", { className: "text-[10px] leading-tight text-content-secondary line-clamp-1", children: o })
79
79
  ] })
80
80
  ]
81
81
  }
82
82
  ));
83
83
  b.displayName = e.Item.displayName;
84
- const w = l.forwardRef(({ className: a, children: o, checked: n, description: r, icon: d, ...i }, p) => /* @__PURE__ */ c(
84
+ const w = l.forwardRef(({ className: a, children: n, checked: o, description: s, icon: d, ...i }, m) => /* @__PURE__ */ c(
85
85
  e.CheckboxItem,
86
86
  {
87
- ref: p,
88
- className: s(
89
- "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-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
87
+ ref: m,
88
+ className: r(
89
+ "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",
90
90
  a
91
91
  ),
92
- checked: n,
93
- onSelect: (m) => m.preventDefault(),
92
+ checked: o,
93
+ onSelect: (p) => p.preventDefault(),
94
94
  ...i,
95
95
  children: [
96
- /* @__PURE__ */ t("span", { className: "absolute left-3 flex h-4 w-4 items-center justify-center", children: /* @__PURE__ */ t("div", { className: s(
97
- "flex h-4 w-4 items-center justify-center rounded-[4px] border border-border transition-colors",
98
- n && "bg-primary border-primary text-white"
96
+ /* @__PURE__ */ t("span", { className: "absolute left-3 flex h-4 w-4 items-center justify-center", children: /* @__PURE__ */ t("div", { className: r(
97
+ "flex h-4 w-4 items-center justify-center rounded-[4px] border border-stroke transition-colors",
98
+ o && "bg-brand border-brand text-brand-foreground"
99
99
  ), children: /* @__PURE__ */ t(e.ItemIndicator, { children: /* @__PURE__ */ t(f, { className: "h-3 w-3", strokeWidth: 3 }) }) }) }),
100
100
  /* @__PURE__ */ c("div", { className: "flex items-center gap-2", children: [
101
- d && /* @__PURE__ */ t("span", { className: "flex-shrink-0 text-text-secondary [&>svg]:size-4", children: d }),
101
+ d && /* @__PURE__ */ t("span", { className: "flex-shrink-0 text-content-secondary [&>svg]:size-4", children: d }),
102
102
  /* @__PURE__ */ c("div", { className: "flex flex-col gap-0.5 justify-center", children: [
103
- /* @__PURE__ */ t("span", { className: "font-medium leading-none", children: o }),
104
- r && /* @__PURE__ */ t("span", { className: "text-[10px] leading-tight text-text-secondary line-clamp-1", children: r })
103
+ /* @__PURE__ */ t("span", { className: "font-medium leading-none", children: n }),
104
+ s && /* @__PURE__ */ t("span", { className: "text-[10px] leading-tight text-content-secondary line-clamp-1", children: s })
105
105
  ] })
106
106
  ] })
107
107
  ]
108
108
  }
109
109
  ));
110
110
  w.displayName = e.CheckboxItem.displayName;
111
- const y = l.forwardRef(({ className: a, children: o, description: n, icon: r, ...d }, i) => /* @__PURE__ */ t(
111
+ const v = l.forwardRef(({ className: a, children: n, description: o, icon: s, ...d }, i) => /* @__PURE__ */ t(
112
112
  e.RadioItem,
113
113
  {
114
114
  ref: i,
115
- className: s(
116
- "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-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[state=checked]:bg-[#F0F4FF]",
115
+ className: r(
116
+ "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",
117
117
  a
118
118
  ),
119
- onSelect: (p) => p.preventDefault(),
119
+ onSelect: (m) => m.preventDefault(),
120
120
  ...d,
121
121
  children: /* @__PURE__ */ c("div", { className: "flex items-center gap-2", children: [
122
- r && /* @__PURE__ */ t("span", { className: "flex-shrink-0 text-text-secondary [&>svg]:size-4", children: r }),
122
+ s && /* @__PURE__ */ t("span", { className: "flex-shrink-0 text-content-secondary [&>svg]:size-4", children: s }),
123
123
  /* @__PURE__ */ c("div", { className: "flex flex-col gap-0.5 justify-center", children: [
124
- /* @__PURE__ */ t("span", { className: "font-medium leading-none", children: o }),
125
- n && /* @__PURE__ */ t("span", { className: "text-[10px] leading-tight text-text-secondary line-clamp-1", children: n })
124
+ /* @__PURE__ */ t("span", { className: "font-medium leading-none", children: n }),
125
+ o && /* @__PURE__ */ t("span", { className: "text-[10px] leading-tight text-content-secondary line-clamp-1", children: o })
126
126
  ] })
127
127
  ] })
128
128
  }
129
129
  ));
130
- y.displayName = e.RadioItem.displayName;
131
- const v = l.forwardRef(({ className: a, inset: o, ...n }, r) => /* @__PURE__ */ t(
130
+ v.displayName = e.RadioItem.displayName;
131
+ const y = l.forwardRef(({ className: a, inset: n, ...o }, s) => /* @__PURE__ */ t(
132
132
  e.Label,
133
133
  {
134
- ref: r,
135
- className: s(
136
- "px-3 py-2 text-xs font-bold tracking-wider text-icon-gray",
137
- o && "pl-4",
134
+ ref: s,
135
+ className: r(
136
+ "px-3 py-2 text-xs font-bold tracking-wider text-content-icon",
137
+ n && "pl-4",
138
138
  a
139
139
  ),
140
- ...n
140
+ ...o
141
141
  }
142
142
  ));
143
- v.displayName = e.Label.displayName;
144
- const D = l.forwardRef(({ className: a, ...o }, n) => /* @__PURE__ */ t(
143
+ y.displayName = e.Label.displayName;
144
+ const D = l.forwardRef(({ className: a, ...n }, o) => /* @__PURE__ */ t(
145
145
  e.Separator,
146
146
  {
147
- ref: n,
148
- className: s("-mx-2 my-1 h-px bg-border", a),
149
- ...o
147
+ ref: o,
148
+ className: r("-mx-2 my-1 h-px bg-border", a),
149
+ ...n
150
150
  }
151
151
  ));
152
152
  D.displayName = e.Separator.displayName;
153
153
  const M = ({
154
154
  className: a,
155
- ...o
155
+ ...n
156
156
  }) => /* @__PURE__ */ t(
157
157
  "div",
158
158
  {
159
- className: s(
160
- "sticky bottom-0 z-10 -mx-2 -mb-2 mt-1 flex items-center justify-end gap-2 border-t bg-white p-2 shrink-0 rounded-b-xl",
159
+ className: r(
160
+ "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",
161
161
  a
162
162
  ),
163
- ...o
163
+ ...n
164
164
  }
165
165
  );
166
166
  M.displayName = "DropdownMenuFooter";
167
167
  const R = ({
168
168
  className: a,
169
- ...o
169
+ ...n
170
170
  }) => /* @__PURE__ */ t(
171
171
  "span",
172
172
  {
173
- className: s("ml-auto text-xs tracking-widest opacity-60", a),
174
- ...o
173
+ className: r("ml-auto text-xs tracking-widest opacity-60", a),
174
+ ...n
175
175
  }
176
176
  );
177
177
  R.displayName = "DropdownMenuShortcut";
@@ -180,15 +180,15 @@ export {
180
180
  w as DropdownMenuCheckboxItem,
181
181
  N as DropdownMenuContent,
182
182
  M as DropdownMenuFooter,
183
- _ as DropdownMenuGroup,
183
+ j as DropdownMenuGroup,
184
184
  b as DropdownMenuItem,
185
- v as DropdownMenuLabel,
186
- j as DropdownMenuPortal,
185
+ y as DropdownMenuLabel,
186
+ G as DropdownMenuPortal,
187
187
  x as DropdownMenuRadioGroup,
188
- y as DropdownMenuRadioItem,
188
+ v as DropdownMenuRadioItem,
189
189
  D as DropdownMenuSeparator,
190
190
  R as DropdownMenuShortcut,
191
- F as DropdownMenuSub,
191
+ P as DropdownMenuSub,
192
192
  h as DropdownMenuSubContent,
193
193
  g as DropdownMenuSubTrigger,
194
194
  I as DropdownMenuTrigger
@@ -10,104 +10,108 @@ const c = [
10
10
  { Component: N, width: 250, height: 180 },
11
11
  { Component: S, width: 225, height: 150 },
12
12
  { Component: I, width: 225, height: 150 }
13
- ], R = m.forwardRef(
13
+ ], v = m.forwardRef(
14
14
  ({ className: o, children: t, asChild: e = !1, ...n }, a) => /* @__PURE__ */ r(
15
15
  e ? p : "div",
16
16
  {
17
17
  ref: a,
18
18
  className: s(
19
- "flex flex-col items-center justify-center py-10 px-5 text-center animate-in fade-in zoom-in duration-300 border border-border-subtle rounded-xl bg-card w-[884px] min-w-[884px] h-auto",
19
+ "flex flex-col items-center justify-center py-16 px-5 text-center animate-in fade-in zoom-in duration-300 border border-stroke-subtle rounded-xl bg-canvas-elevated w-[884px] min-w-[884px] h-auto",
20
20
  o
21
21
  ),
22
22
  "data-component": "empty-container",
23
23
  ...n,
24
- children: /* @__PURE__ */ r("div", { className: "flex flex-col items-center max-w-[650px] gap-4", children: t })
24
+ children: /* @__PURE__ */ r("div", { className: "flex flex-col items-center max-w-[650px]", children: t })
25
25
  }
26
26
  )
27
27
  );
28
- R.displayName = "EmptyContainer";
29
- const v = m.forwardRef(
30
- ({ className: o, children: t, width: e, height: n, asChild: a = !1, ...i }, f) => {
31
- const [l, M] = m.useState(() => t ? null : Math.floor(Math.random() * c.length)), h = () => {
32
- if (t) return t;
33
- if (l !== null) {
34
- const { Component: C, width: g, height: x } = c[l];
35
- return /* @__PURE__ */ r(
36
- C,
37
- {
38
- size: "100%",
39
- style: {
40
- width: e || g,
41
- height: n || x
42
- }
28
+ v.displayName = "EmptyContainer";
29
+ const R = m.forwardRef(({ className: o, children: t, width: e, height: n, asChild: a = !1, ...i }, f) => {
30
+ const [l, M] = m.useState(() => t ? null : Math.floor(Math.random() * c.length)), h = () => {
31
+ if (t) return t;
32
+ if (l !== null) {
33
+ const {
34
+ Component: C,
35
+ width: g,
36
+ height: x
37
+ } = c[l];
38
+ return /* @__PURE__ */ r(
39
+ C,
40
+ {
41
+ size: "100%",
42
+ style: {
43
+ width: e || g,
44
+ height: n || x
43
45
  }
44
- );
45
- }
46
- return null;
47
- }, d = l !== null ? c[l] : null, u = e || (t ? "auto" : d?.width || 225), y = n || (t ? "auto" : d?.height || 150);
48
- return /* @__PURE__ */ r(
49
- a ? p : "div",
50
- {
51
- ref: f,
52
- className: s(
53
- "mb-4 flex items-center justify-center relative",
54
- "after:absolute after:inset-0 after:bg-primary/5 after:blur-3xl after:-z-10 after:rounded-full",
55
- o
56
- ),
57
- style: {
58
- width: u,
59
- height: y,
60
- ...i.style
61
- },
62
- "data-component": "empty-container-image",
63
- ...i,
64
- children: h()
65
- }
66
- );
67
- }
68
- );
69
- v.displayName = "EmptyContainerImage";
70
- const T = m.forwardRef(
71
- ({ className: o, children: t, asChild: e = !1, ...n }, a) => /* @__PURE__ */ r(
72
- e ? p : "h3",
46
+ }
47
+ );
48
+ }
49
+ return null;
50
+ }, d = l !== null ? c[l] : null, u = e || (t ? "auto" : d?.width || 225), y = n || (t ? "auto" : d?.height || 150);
51
+ return /* @__PURE__ */ r(
52
+ a ? p : "div",
73
53
  {
74
- ref: a,
75
- className: s("text-xl font-bold tracking-tight text-foreground", o),
76
- "data-component": "empty-container-title",
77
- ...n,
78
- children: t
54
+ ref: f,
55
+ className: s(
56
+ "mb-4 flex items-center justify-center relative",
57
+ "after:absolute after:inset-0 after:bg-brand/5 after:blur-3xl after:-z-10 after:rounded-full",
58
+ o
59
+ ),
60
+ style: {
61
+ width: u,
62
+ height: y,
63
+ ...i.style
64
+ },
65
+ "data-component": "empty-container-image",
66
+ ...i,
67
+ children: h()
79
68
  }
80
- )
81
- );
69
+ );
70
+ });
71
+ R.displayName = "EmptyContainerImage";
72
+ const T = m.forwardRef(({ className: o, children: t, asChild: e = !1, ...n }, a) => /* @__PURE__ */ r(
73
+ e ? p : "h3",
74
+ {
75
+ ref: a,
76
+ className: s("text-xl font-bold tracking-tight text-content", o),
77
+ "data-component": "empty-container-title",
78
+ ...n,
79
+ children: t
80
+ }
81
+ ));
82
82
  T.displayName = "EmptyContainerTitle";
83
83
  const j = m.forwardRef(({ className: o, children: t, asChild: e = !1, ...n }, a) => /* @__PURE__ */ r(
84
84
  e ? p : "p",
85
85
  {
86
86
  ref: a,
87
- className: s("text-base font-medium text-secondary-foreground leading-relaxed", o),
87
+ className: s(
88
+ "text-base leading-5 font-medium text-secondary-foreground",
89
+ o
90
+ ),
88
91
  "data-component": "empty-container-description",
89
92
  ...n,
90
93
  children: t
91
94
  }
92
95
  ));
93
96
  j.displayName = "EmptyContainerDescription";
94
- const A = m.forwardRef(
95
- ({ className: o, children: t, asChild: e = !1, ...n }, a) => /* @__PURE__ */ r(
96
- e ? p : "div",
97
- {
98
- ref: a,
99
- className: s("mt-6 flex flex-wrap items-center justify-center gap-3", o),
100
- "data-component": "empty-container-action",
101
- ...n,
102
- children: t
103
- }
104
- )
105
- );
97
+ const A = m.forwardRef(({ className: o, children: t, asChild: e = !1, ...n }, a) => /* @__PURE__ */ r(
98
+ e ? p : "div",
99
+ {
100
+ ref: a,
101
+ className: s(
102
+ "mt-6 flex flex-wrap items-center justify-center gap-3",
103
+ o
104
+ ),
105
+ "data-component": "empty-container-action",
106
+ ...n,
107
+ children: t
108
+ }
109
+ ));
106
110
  A.displayName = "EmptyContainerAction";
107
111
  export {
108
- R as EmptyContainer,
112
+ v as EmptyContainer,
109
113
  A as EmptyContainerAction,
110
114
  j as EmptyContainerDescription,
111
- v as EmptyContainerImage,
115
+ R as EmptyContainerImage,
112
116
  T as EmptyContainerTitle
113
117
  };