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,4 +1,4 @@
1
- import { jsxs as c, jsx as t, Fragment as O } from "react/jsx-runtime";
1
+ import { jsxs as i, jsx as t, Fragment as O } from "react/jsx-runtime";
2
2
  import * as a from "react";
3
3
  import { ChevronRight as T } from "lucide-react";
4
4
  import { useVirtualizer as $ } from "@tanstack/react-virtual";
@@ -10,62 +10,62 @@ const F = a.forwardRef(
10
10
  className: N,
11
11
  items: u,
12
12
  renderItem: R,
13
- scrollStep: g = 200,
14
- hideScrollbar: p = !1,
13
+ scrollStep: v = 200,
14
+ hideScrollbar: p = !0,
15
15
  controlsPosition: s = "right",
16
- renderPrevious: v,
17
- renderNext: x,
16
+ renderPrevious: g,
17
+ renderNext: b,
18
18
  maxWidth: L = "100%",
19
19
  estimateSize: m = 200,
20
20
  overscan: k = 5,
21
21
  ...C
22
22
  }, B) => {
23
- const { t: z } = D(), l = a.useRef(null), [o, E] = a.useState(!1), [n, H] = a.useState(!1);
23
+ const { t: x } = D(), l = a.useRef(null), [n, E] = a.useState(!1), [o, H] = a.useState(!1);
24
24
  a.useImperativeHandle(B, () => l.current);
25
- const i = $({
25
+ const c = $({
26
26
  count: u.length,
27
27
  getScrollElement: () => l.current,
28
28
  estimateSize: typeof m == "function" ? m : () => m,
29
29
  horizontal: !0,
30
30
  overscan: k
31
- }), V = i.getTotalSize(), d = a.useCallback(() => {
31
+ }), V = c.getTotalSize(), f = a.useCallback(() => {
32
32
  const e = l.current;
33
33
  e && (E(e.scrollLeft > 0), H(Math.ceil(e.scrollLeft + e.clientWidth) < e.scrollWidth));
34
34
  }, []);
35
35
  a.useEffect(() => {
36
36
  const e = l.current;
37
37
  if (!e) return;
38
- d();
39
- const r = () => d();
38
+ f();
39
+ const r = () => f();
40
40
  e.addEventListener("scroll", r);
41
- const f = new ResizeObserver(() => {
42
- d();
41
+ const d = new ResizeObserver(() => {
42
+ f();
43
43
  });
44
- return f.observe(e), () => {
45
- e.removeEventListener("scroll", r), f.disconnect();
44
+ return d.observe(e), () => {
45
+ e.removeEventListener("scroll", r), d.disconnect();
46
46
  };
47
- }, [d, u, V]);
48
- const b = () => {
49
- l.current?.scrollBy({ left: -g, behavior: "smooth" });
50
- }, w = () => {
51
- l.current?.scrollBy({ left: g, behavior: "smooth" });
52
- }, y = ({
47
+ }, [f, u, V]);
48
+ const z = () => {
49
+ l.current?.scrollBy({ left: -v, behavior: "smooth" });
50
+ }, y = () => {
51
+ l.current?.scrollBy({ left: v, behavior: "smooth" });
52
+ }, w = ({
53
53
  direction: e,
54
54
  onClick: r,
55
- disabled: f
55
+ disabled: d
56
56
  }) => {
57
- if (f) return null;
58
- const S = z(e === "left" ? "horizontalScroller.scrollLeft" : "horizontalScroller.scrollRight");
59
- return /* @__PURE__ */ c(
57
+ if (d) return null;
58
+ const S = x(e === "left" ? "horizontalScroller.scrollLeft" : "horizontalScroller.scrollRight");
59
+ return /* @__PURE__ */ i(
60
60
  A,
61
61
  {
62
62
  variant: "ghost",
63
63
  size: "icon",
64
64
  className: h(
65
- "h-8 w-8 rounded-md bg-[#f5f6fa] text-[#60697d] hover:bg-[#eceefd] hover:text-[#4259ee]"
65
+ "h-8 w-8 rounded-md bg-canvas-muted text-content-tertiary hover:bg-brand-tint hover:text-brand"
66
66
  ),
67
67
  onClick: r,
68
- disabled: f,
68
+ disabled: d,
69
69
  "aria-label": S,
70
70
  "data-component": e === "left" ? "horizontal-scroller-prev" : "horizontal-scroller-next",
71
71
  children: [
@@ -80,33 +80,33 @@ const F = a.forwardRef(
80
80
  }
81
81
  );
82
82
  }, W = () => {
83
- const e = v ? v({ onClick: b, disabled: !o }) : /* @__PURE__ */ t(
84
- y,
83
+ const e = g ? g({ onClick: z, disabled: !n }) : /* @__PURE__ */ t(
84
+ w,
85
85
  {
86
86
  direction: "left",
87
- onClick: b,
88
- disabled: !o
87
+ onClick: z,
88
+ disabled: !n
89
89
  }
90
- ), r = x ? x({ onClick: w, disabled: !n }) : /* @__PURE__ */ t(
91
- y,
90
+ ), r = b ? b({ onClick: y, disabled: !o }) : /* @__PURE__ */ t(
91
+ w,
92
92
  {
93
93
  direction: "right",
94
- onClick: w,
95
- disabled: !n
94
+ onClick: y,
95
+ disabled: !o
96
96
  }
97
97
  );
98
- return s === "split" ? /* @__PURE__ */ c(O, { children: [
98
+ return s === "split" ? /* @__PURE__ */ i(O, { children: [
99
99
  /* @__PURE__ */ t("div", { className: "absolute left-0 top-1/2 z-20 -translate-y-1/2", children: e }),
100
100
  /* @__PURE__ */ t("div", { className: "absolute right-0 top-1/2 z-20 -translate-y-1/2", children: r })
101
- ] }) : s === "left" ? /* @__PURE__ */ c("div", { className: "absolute left-0 top-1/2 z-20 flex -translate-y-1/2 items-center gap-1", children: [
101
+ ] }) : s === "left" ? /* @__PURE__ */ i("div", { className: "absolute left-0 top-1/2 z-20 flex -translate-y-1/2 items-center gap-1", children: [
102
102
  e,
103
103
  r
104
- ] }) : /* @__PURE__ */ c("div", { className: "absolute right-0 top-1/2 z-20 flex -translate-y-1/2 items-center gap-1", children: [
104
+ ] }) : /* @__PURE__ */ i("div", { className: "absolute right-0 top-1/2 z-20 flex -translate-y-1/2 items-center gap-1", children: [
105
105
  e,
106
106
  r
107
107
  ] });
108
- }, j = () => s === "left" ? o && n ? "pl-20" : o || n ? "pl-12" : "" : s === "split" && o ? "pl-12" : "", I = () => s === "right" ? o && n ? "pr-20" : o || n ? "pr-12" : "" : s === "split" && n ? "pr-12" : "";
109
- return /* @__PURE__ */ c(
108
+ }, j = () => s === "left" ? n && o ? "pl-20" : n || o ? "pl-12" : "" : s === "split" && n ? "pl-12" : "", I = () => s === "right" ? n && o ? "pr-20" : n || o ? "pr-12" : "" : s === "split" && o ? "pr-12" : "";
109
+ return /* @__PURE__ */ i(
110
110
  "div",
111
111
  {
112
112
  className: h(
@@ -134,20 +134,20 @@ const F = a.forwardRef(
134
134
  msOverflowStyle: p ? "none" : "auto"
135
135
  },
136
136
  "data-component": "horizontal-scroller-viewport",
137
- children: /* @__PURE__ */ c(
137
+ children: /* @__PURE__ */ i(
138
138
  "div",
139
139
  {
140
140
  style: {
141
- width: `${i.getTotalSize()}px`,
141
+ width: `${c.getTotalSize()}px`,
142
142
  display: "flex",
143
143
  position: "relative"
144
144
  },
145
145
  children: [
146
- /* @__PURE__ */ t("div", { style: { width: `${i.getVirtualItems()[0]?.start ?? 0}px`, flexShrink: 0 } }),
147
- i.getVirtualItems().map((e) => /* @__PURE__ */ t(
146
+ /* @__PURE__ */ t("div", { style: { width: `${c.getVirtualItems()[0]?.start ?? 0}px`, flexShrink: 0 } }),
147
+ c.getVirtualItems().map((e) => /* @__PURE__ */ t(
148
148
  "div",
149
149
  {
150
- ref: i.measureElement,
150
+ ref: c.measureElement,
151
151
  "data-index": e.index,
152
152
  className: "flex-shrink-0",
153
153
  children: R(u[e.index], e.index)
@@ -1,24 +1,24 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
2
  import * as i from "react";
3
- import * as o from "@radix-ui/react-hover-card";
3
+ import * as t from "@radix-ui/react-hover-card";
4
4
  import { cn as s } from "../../lib/utils.js";
5
- const c = o.Root, l = o.Trigger, m = i.forwardRef(({ className: t, align: e = "center", sideOffset: a = 4, ...r }, d) => /* @__PURE__ */ n(
6
- o.Content,
5
+ const l = t.Root, p = t.Trigger, m = i.forwardRef(({ className: o, align: a = "center", sideOffset: e = 4, ...r }, d) => /* @__PURE__ */ n(
6
+ t.Content,
7
7
  {
8
8
  ref: d,
9
- align: e,
10
- sideOffset: a,
9
+ align: a,
10
+ sideOffset: e,
11
11
  "data-component": "hover-card-content",
12
12
  className: s(
13
- "z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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-hover-card-content-transform-origin]",
14
- t
13
+ "z-50 w-64 rounded-md border bg-canvas-overlay p-4 text-canvas-overlay-foreground shadow-md outline-none 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-hover-card-content-transform-origin]",
14
+ o
15
15
  ),
16
16
  ...r
17
17
  }
18
18
  ));
19
- m.displayName = o.Content.displayName;
19
+ m.displayName = t.Content.displayName;
20
20
  export {
21
- c as HoverCard,
21
+ l as HoverCard,
22
22
  m as HoverCardContent,
23
- l as HoverCardTrigger
23
+ p as HoverCardTrigger
24
24
  };
@@ -1,15 +1,15 @@
1
- import { jsxs as a, jsx as d } from "react/jsx-runtime";
2
- import * as x from "react";
1
+ import { jsxs as d, jsx as a } from "react/jsx-runtime";
2
+ import * as b from "react";
3
3
  import { Info as h } from "../../icons/index.js";
4
4
  import { cva as v } from "class-variance-authority";
5
5
  import { cn as e } from "../../lib/utils.js";
6
6
  const g = v(
7
- "flex w-full items-center gap-1 rounded-md border bg-transparent px-3 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-within:outline-none hover:border-primary disabled:cursor-not-allowed disabled:bg-disabled-secondary-bg disabled:text-disabled-text disabled:border-border",
7
+ "flex w-full items-center gap-1 rounded-md border bg-transparent px-3 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-content-muted focus-within:outline-none hover:border-brand disabled:cursor-not-allowed disabled:bg-disabled-surface disabled:text-disabled-foreground disabled:border-stroke",
8
8
  {
9
9
  variants: {
10
10
  isError: {
11
11
  true: "border-destructive hover:border-destructive",
12
- false: "border-input"
12
+ false: "border-field"
13
13
  },
14
14
  size: {
15
15
  default: "h-8",
@@ -18,7 +18,7 @@ const g = v(
18
18
  lg: "h-10"
19
19
  },
20
20
  disabled: {
21
- true: "pointer-events-none opacity-100 bg-disabled-secondary-bg border-border text-disabled-text hover:border-border",
21
+ true: "pointer-events-none opacity-100 bg-disabled-surface border-stroke text-disabled-foreground hover:border-stroke",
22
22
  false: ""
23
23
  }
24
24
  },
@@ -27,92 +27,101 @@ const g = v(
27
27
  isError: !1
28
28
  }
29
29
  }
30
- ), y = x.forwardRef(
31
- ({ className: u, type: p, label: o, helperText: s, isError: t, size: b, disabled: r, prefix: n, suffix: i, prefixClick: l, suffixClick: c, ...m }, f) => /* @__PURE__ */ a(
30
+ ), N = b.forwardRef(
31
+ ({ className: u, type: f, label: n, helperText: o, isError: t, size: p, disabled: r, prefix: s, suffix: i, prefixClick: l, suffixClick: c, ...m }, x) => /* @__PURE__ */ d(
32
32
  "div",
33
33
  {
34
- className: "w-full space-y-1.5",
34
+ className: "flex w-full flex-col gap-[6px]",
35
35
  "data-component": "input",
36
36
  "data-disabled": r || void 0,
37
37
  "data-invalid": t || void 0,
38
38
  children: [
39
- o && /* @__PURE__ */ a(
40
- "label",
41
- {
42
- className: e(
43
- "text-xs font-medium leading-[18px] text-[#60697d]",
44
- // Exact legacy color
45
- r && "opacity-70",
46
- t && "text-destructive"
47
- ),
48
- children: [
49
- o,
50
- " ",
51
- m.required && /* @__PURE__ */ d("span", { className: "text-destructive", children: "*" })
52
- ]
53
- }
54
- ),
55
- /* @__PURE__ */ a(
39
+ /* @__PURE__ */ d("div", { className: "flex flex-col gap-[6px]", children: [
40
+ n && /* @__PURE__ */ d(
41
+ "label",
42
+ {
43
+ className: e(
44
+ "text-xs font-medium leading-[18px] text-content-tertiary",
45
+ r && "opacity-70",
46
+ t && "text-destructive"
47
+ ),
48
+ children: [
49
+ n,
50
+ " ",
51
+ m.required && /* @__PURE__ */ a("span", { className: "text-destructive", children: "*" })
52
+ ]
53
+ }
54
+ ),
55
+ /* @__PURE__ */ d(
56
+ "div",
57
+ {
58
+ className: e(
59
+ g({ size: p, isError: t, disabled: r, className: u }),
60
+ "bg-canvas",
61
+ r && "bg-disabled-surface"
62
+ ),
63
+ children: [
64
+ s && /* @__PURE__ */ a(
65
+ "div",
66
+ {
67
+ onClick: l,
68
+ className: e("flex shrink-0 items-center justify-center text-content-muted pointer-events-auto", l && "cursor-pointer"),
69
+ children: s
70
+ }
71
+ ),
72
+ /* @__PURE__ */ a(
73
+ "input",
74
+ {
75
+ type: f,
76
+ className: e(
77
+ "flex h-full w-full bg-transparent p-0 text-sm font-medium outline-none placeholder:font-medium placeholder:text-content-empty disabled:cursor-not-allowed disabled:opacity-50",
78
+ r && "opacity-100 text-disabled-foreground placeholder:text-disabled-foreground"
79
+ ),
80
+ ref: x,
81
+ disabled: !!r,
82
+ "data-form-control": "input",
83
+ ...m
84
+ }
85
+ ),
86
+ i && /* @__PURE__ */ a(
87
+ "div",
88
+ {
89
+ onClick: c,
90
+ className: e("flex shrink-0 items-center justify-center text-content-muted pointer-events-auto", c && "cursor-pointer"),
91
+ children: i
92
+ }
93
+ )
94
+ ]
95
+ }
96
+ )
97
+ ] }),
98
+ o && /* @__PURE__ */ d(
56
99
  "div",
57
100
  {
58
101
  className: e(
59
- g({ size: b, isError: t, disabled: r, className: u }),
60
- "bg-background",
61
- r && "bg-disabled-secondary-bg"
102
+ "flex items-center gap-[6px]",
103
+ t && "text-destructive"
62
104
  ),
63
105
  children: [
64
- n && /* @__PURE__ */ d(
65
- "div",
66
- {
67
- onClick: l,
68
- className: e("flex shrink-0 items-center justify-center text-muted-foreground pointer-events-auto", l && "cursor-pointer"),
69
- children: n
70
- }
71
- ),
72
- /* @__PURE__ */ d(
73
- "input",
106
+ !t && /* @__PURE__ */ a(h, { size: "xs", className: "shrink-0 text-content-muted" }),
107
+ /* @__PURE__ */ a(
108
+ "p",
74
109
  {
75
- type: p,
76
110
  className: e(
77
- "flex h-full w-full bg-transparent p-0 text-sm font-medium outline-none placeholder:font-medium placeholder:text-[#dfe2e7] disabled:cursor-not-allowed disabled:opacity-50",
78
- r && "opacity-100 text-disabled-text placeholder:text-disabled-text"
111
+ "text-[10px] leading-4 text-navigation-muted",
112
+ t && "text-destructive"
79
113
  ),
80
- ref: f,
81
- disabled: !!r,
82
- "data-form-control": "input",
83
- ...m
84
- }
85
- ),
86
- i && /* @__PURE__ */ d(
87
- "div",
88
- {
89
- onClick: c,
90
- className: e("flex shrink-0 items-center justify-center text-muted-foreground pointer-events-auto", c && "cursor-pointer"),
91
- children: i
114
+ children: o
92
115
  }
93
116
  )
94
117
  ]
95
118
  }
96
- ),
97
- s && /* @__PURE__ */ a("div", { className: e("flex items-center gap-1", t && "text-destructive"), children: [
98
- !t && /* @__PURE__ */ d(h, { size: "xs", className: "shrink-0 text-muted-foreground" }),
99
- /* @__PURE__ */ d(
100
- "p",
101
- {
102
- className: e(
103
- "text-[10px] text-[#7a8294]",
104
- // Exact legacy color
105
- t && "text-destructive"
106
- ),
107
- children: s
108
- }
109
- )
110
- ] })
119
+ )
111
120
  ]
112
121
  }
113
122
  )
114
123
  );
115
- y.displayName = "Input";
124
+ N.displayName = "Input";
116
125
  export {
117
- y as Input
126
+ N as Input
118
127
  };
@@ -4,7 +4,7 @@ import "@radix-ui/react-slot";
4
4
  import { cva as u } from "class-variance-authority";
5
5
  import { cn as p } from "../../lib/utils.js";
6
6
  import { useImpactNovaI18n as h } from "../../i18n/ImpactNovaI18nContext.js";
7
- const j = u(
7
+ const b = u(
8
8
  "relative rounded-full flex items-center justify-center overflow-hidden",
9
9
  {
10
10
  variants: {
@@ -19,14 +19,14 @@ const j = u(
19
19
  size: "md"
20
20
  }
21
21
  }
22
- ), g = f.forwardRef(
23
- ({ className: o, size: t = "md", progress: s, text: a, asChild: v = !1, ...d }, l) => {
22
+ ), v = f.forwardRef(
23
+ ({ className: o, size: r = "md", progress: s, text: a, asChild: g = !1, ...d }, l) => {
24
24
  const { t: m } = h(), i = {
25
25
  sm: { outer: 24, inner: 20 },
26
26
  md: { outer: 48, inner: 40 },
27
27
  lg: { outer: 72, inner: 60 },
28
28
  xl: { outer: 96, inner: 80 }
29
- }, { outer: e, inner: r } = i[t] || i.md;
29
+ }, { outer: e, inner: t } = i[r] || i.md;
30
30
  return /* @__PURE__ */ c(
31
31
  "div",
32
32
  {
@@ -35,7 +35,7 @@ const j = u(
35
35
  role: "status",
36
36
  "aria-label": a || m("aria.loading"),
37
37
  "data-component": "loader",
38
- "data-size": t ?? "md",
38
+ "data-size": r ?? "md",
39
39
  ...d,
40
40
  children: [
41
41
  /* @__PURE__ */ n(
@@ -45,20 +45,20 @@ const j = u(
45
45
  style: {
46
46
  height: e,
47
47
  width: e,
48
- background: "conic-gradient(from 180deg at 50% 50%, rgba(66, 89, 238, 0) 0deg, hsl(var(--primary)) 360deg)"
48
+ background: "conic-gradient(from 180deg at 50% 50%, transparent 0deg, var(--color-primary) 360deg)"
49
49
  },
50
50
  children: /* @__PURE__ */ n(
51
51
  "div",
52
52
  {
53
- className: "absolute bg-background rounded-full flex items-center justify-center font-medium animate-[spin_1s_linear_infinite_reverse]",
53
+ className: "absolute bg-canvas rounded-full flex items-center justify-center font-medium animate-[spin_1s_linear_infinite_reverse]",
54
54
  style: {
55
- height: r,
56
- width: r,
57
- top: (e - r) / 2,
58
- left: (e - r) / 2,
55
+ height: t,
56
+ width: t,
57
+ top: (e - t) / 2,
58
+ left: (e - t) / 2,
59
59
  fontSize: e / 6
60
60
  },
61
- children: t !== "sm" && s
61
+ children: r !== "sm" && s
62
62
  }
63
63
  )
64
64
  }
@@ -66,7 +66,7 @@ const j = u(
66
66
  a && /* @__PURE__ */ n(
67
67
  "span",
68
68
  {
69
- className: "mt-2 text-[12px] font-medium text-foreground",
69
+ className: "mt-2 text-[12px] font-medium text-content",
70
70
  "data-component": "loader-text",
71
71
  children: a
72
72
  }
@@ -76,8 +76,8 @@ const j = u(
76
76
  );
77
77
  }
78
78
  );
79
- g.displayName = "Loader";
79
+ v.displayName = "Loader";
80
80
  export {
81
- g as Loader,
82
- j as loaderVariants
81
+ v as Loader,
82
+ b as loaderVariants
83
83
  };
@@ -1,33 +1,33 @@
1
- import { jsxs as t, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
2
  import "react";
3
- import { Switch as n } from "../../switch.js";
4
- const o = ({
3
+ import { Switch as a } from "../../switch.js";
4
+ const h = ({
5
5
  isListCollapsed: l,
6
- enableGroupBy: m,
7
- categories: s,
6
+ enableGroupBy: n,
7
+ categories: r,
8
8
  selectedCategories: i,
9
- onToggleCategory: a
10
- }) => l || !m || s.length === 0 ? null : /* @__PURE__ */ t("div", { className: "mb-1", children: [
11
- /* @__PURE__ */ e("div", { className: "text-sm font-semibold text-[#8C8C8C] mb-2", children: "View by" }),
12
- /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-2", children: s.map((r) => /* @__PURE__ */ t(
9
+ onToggleCategory: m
10
+ }) => l || !n || r.length === 0 ? null : /* @__PURE__ */ s("div", { className: "mb-1", children: [
11
+ /* @__PURE__ */ e("div", { className: "text-sm font-semibold text-content-icon mb-2", children: "View by" }),
12
+ /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-2", children: r.map((t) => /* @__PURE__ */ s(
13
13
  "label",
14
14
  {
15
15
  className: "flex items-center justify-between cursor-pointer mr-3",
16
16
  children: [
17
- /* @__PURE__ */ e("span", { className: "text-sm text-gray-700 mr-[6px]", children: r }),
17
+ /* @__PURE__ */ e("span", { className: "text-sm text-content-tertiary mr-[6px]", children: t }),
18
18
  /* @__PURE__ */ e(
19
- n,
19
+ a,
20
20
  {
21
- checked: i.has(r),
22
- onCheckedChange: () => a(r)
21
+ checked: i.has(t),
22
+ onCheckedChange: () => m(t)
23
23
  }
24
24
  )
25
25
  ]
26
26
  },
27
- r
27
+ t
28
28
  )) }),
29
- /* @__PURE__ */ e("hr", { className: "mt-3 border-t border-dashed border-gray-300" })
29
+ /* @__PURE__ */ e("hr", { className: "mt-3 border-t border-dashed border-stroke-field" })
30
30
  ] });
31
31
  export {
32
- o as NestedListCategoryFilters
32
+ h as NestedListCategoryFilters
33
33
  };
@@ -1,58 +1,58 @@
1
- import { jsx as t, jsxs as r } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as o } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import { Checkbox as N } from "../../checkbox.js";
4
4
  import { Input as v } from "../../input.js";
5
- import { ChevronRight as C, Search as g } from "../../../../icons/index.js";
6
- import { cn as k } from "../../../../lib/utils.js";
5
+ import { ChevronRight as k, Search as g } from "../../../../icons/index.js";
6
+ import { cn as C } from "../../../../lib/utils.js";
7
7
  import { useImpactNovaI18n as z } from "../../../../i18n/ImpactNovaI18nContext.js";
8
8
  const E = ({
9
- hasItemsWithChildren: o,
10
- isListCollapsed: m,
9
+ hasItemsWithChildren: r,
10
+ isListCollapsed: c,
11
11
  onCollapseAll: y,
12
- enableSearch: s,
12
+ enableSearch: n,
13
13
  enableSelectAll: e,
14
14
  groupLabel: i,
15
- allChecked: a,
16
- isIndeterminate: c = !1,
15
+ allChecked: m,
16
+ isIndeterminate: a = !1,
17
17
  onSelectAll: d,
18
18
  searchText: x,
19
19
  onSearchChange: l,
20
20
  searchPlaceholder: p,
21
21
  selectAllLabel: f = "Select All",
22
- enableCollapse: n = !0
22
+ enableCollapse: s = !0
23
23
  }) => {
24
24
  const { t: u } = z();
25
- if (!(s || e || i || n && o)) return null;
25
+ if (!(n || e || i || s && r)) return null;
26
26
  const h = /* @__PURE__ */ t(
27
27
  "button",
28
28
  {
29
29
  type: "button",
30
30
  onClick: y,
31
- className: "p-1 hover:bg-gray-200 rounded-full transition-colors flex items-center text-[#8C8C8C] hover:text-primary",
32
- "aria-label": u(m ? "nestedList.expandAll" : "nestedList.collapseAll"),
31
+ className: "p-1 hover:bg-muted rounded-full transition-colors flex items-center text-content-icon hover:text-brand",
32
+ "aria-label": u(c ? "nestedList.expandAll" : "nestedList.collapseAll"),
33
33
  children: /* @__PURE__ */ t(
34
- C,
34
+ k,
35
35
  {
36
36
  size: "16px",
37
- className: k("transition-transform", !m && "rotate-90")
37
+ className: C("transition-transform", !c && "rotate-90")
38
38
  }
39
39
  )
40
40
  }
41
41
  );
42
- return i ? /* @__PURE__ */ r("div", { className: "mb-3", children: [
43
- /* @__PURE__ */ r("div", { className: "flex items-center gap-1 mb-2", children: [
44
- n && o && h,
45
- /* @__PURE__ */ t("span", { className: "text-[13px] font-semibold text-gray-700", children: i })
42
+ return i ? /* @__PURE__ */ o("div", { className: "mb-3", children: [
43
+ /* @__PURE__ */ o("div", { className: "flex items-center gap-1 mb-2", children: [
44
+ s && r && h,
45
+ /* @__PURE__ */ t("span", { className: "text-[13px] font-semibold text-content-tertiary", children: i })
46
46
  ] }),
47
- /* @__PURE__ */ r("div", { className: "flex items-center gap-1", children: [
47
+ /* @__PURE__ */ o("div", { className: "flex items-center gap-1", children: [
48
48
  e && /* @__PURE__ */ t(
49
49
  N,
50
50
  {
51
- checked: c ? "indeterminate" : a,
51
+ checked: a ? "indeterminate" : m,
52
52
  onCheckedChange: d
53
53
  }
54
54
  ),
55
- s ? /* @__PURE__ */ t("div", { className: "flex-1 ml-auto", children: /* @__PURE__ */ t(
55
+ n ? /* @__PURE__ */ t("div", { className: "flex-1 ml-auto", children: /* @__PURE__ */ t(
56
56
  v,
57
57
  {
58
58
  type: "text",
@@ -61,18 +61,18 @@ const E = ({
61
61
  onChange: l,
62
62
  prefix: /* @__PURE__ */ t(g, { size: "14px", color: "currentColor" })
63
63
  }
64
- ) }) : e && /* @__PURE__ */ t("span", { className: "flex-1 ml-auto text-[13px] font-semibold text-gray-700", children: f })
64
+ ) }) : e && /* @__PURE__ */ t("span", { className: "flex-1 ml-auto text-[13px] font-semibold text-content-tertiary", children: f })
65
65
  ] })
66
- ] }) : /* @__PURE__ */ r("div", { className: "flex items-center gap-1 mb-3", children: [
67
- n && o && h,
66
+ ] }) : /* @__PURE__ */ o("div", { className: "flex items-center gap-1 mb-3", children: [
67
+ s && r && h,
68
68
  e && /* @__PURE__ */ t(
69
69
  N,
70
70
  {
71
- checked: c ? "indeterminate" : a,
71
+ checked: a ? "indeterminate" : m,
72
72
  onCheckedChange: d
73
73
  }
74
74
  ),
75
- s ? /* @__PURE__ */ t("div", { className: "flex-1 ml-auto", children: /* @__PURE__ */ t(
75
+ n ? /* @__PURE__ */ t("div", { className: "flex-1 ml-auto", children: /* @__PURE__ */ t(
76
76
  v,
77
77
  {
78
78
  type: "text",
@@ -81,7 +81,7 @@ const E = ({
81
81
  onChange: l,
82
82
  prefix: /* @__PURE__ */ t(g, { size: "14px", color: "currentColor" })
83
83
  }
84
- ) }) : e && /* @__PURE__ */ t("span", { className: "flex-1 ml-auto text-[13px] font-semibold text-gray-700", children: f })
84
+ ) }) : e && /* @__PURE__ */ t("span", { className: "flex-1 ml-auto text-[13px] font-semibold text-content-tertiary", children: f })
85
85
  ] });
86
86
  };
87
87
  export {