impact-nova 1.3.0 → 1.5.2

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 (117) hide show
  1. package/README.md +49 -0
  2. package/dist/components/layout/dashboard-layout.d.ts +15 -1
  3. package/dist/components/ui/accordion-nested-list/accordion-nested-list.js +65 -64
  4. package/dist/components/ui/accordion.js +38 -34
  5. package/dist/components/ui/ag-grid-react/cell-renderers/badge-cell-renderer.js +1 -1
  6. package/dist/components/ui/ag-grid-react/cell-renderers/cell-renderer-utils.d.ts +58 -0
  7. package/dist/components/ui/ag-grid-react/cell-renderers/cell-renderer-utils.js +104 -0
  8. package/dist/components/ui/ag-grid-react/cell-renderers/editors/input-cell-editor.js +62 -54
  9. package/dist/components/ui/ag-grid-react/cell-renderers/editors/split-cell-editor.d.ts +4 -6
  10. package/dist/components/ui/ag-grid-react/cell-renderers/editors/split-cell-editor.js +54 -68
  11. package/dist/components/ui/ag-grid-react/cell-renderers/index.d.ts +3 -1
  12. package/dist/components/ui/ag-grid-react/cell-renderers/index.js +33 -27
  13. package/dist/components/ui/ag-grid-react/cell-renderers/input-display-renderer.d.ts +3 -0
  14. package/dist/components/ui/ag-grid-react/cell-renderers/input-display-renderer.js +28 -12
  15. package/dist/components/ui/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.d.ts +2 -0
  16. package/dist/components/ui/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.js +45 -44
  17. package/dist/components/ui/ag-grid-react/cell-renderers/split-cell-renderer.d.ts +4 -6
  18. package/dist/components/ui/ag-grid-react/cell-renderers/split-cell-renderer.js +23 -37
  19. package/dist/components/ui/ag-grid-react/cell-renderers/types.d.ts +33 -17
  20. package/dist/components/ui/ag-grid-react/editable-utils.d.ts +27 -0
  21. package/dist/components/ui/ag-grid-react/editable-utils.js +62 -0
  22. package/dist/components/ui/ag-grid-react/headers/advanced-filter/advanced-filter-dialog.js +99 -98
  23. package/dist/components/ui/ag-grid-react/headers/advanced-filter/column-filter-section.js +110 -143
  24. package/dist/components/ui/ag-grid-react/headers/column-menu/column-settings-menu.js +72 -69
  25. package/dist/components/ui/ag-grid-react/headers/components/header-info.js +36 -35
  26. package/dist/components/ui/ag-grid-react/headers/components/info-modal.js +14 -12
  27. package/dist/components/ui/ag-grid-react/headers/custom-header.js +111 -110
  28. package/dist/components/ui/ag-grid-react/headers/header-search-input.js +204 -203
  29. package/dist/components/ui/alert.js +62 -58
  30. package/dist/components/ui/breadcrumb.js +81 -74
  31. package/dist/components/ui/calendar.js +354 -354
  32. package/dist/components/ui/chart/chart.js +63 -62
  33. package/dist/components/ui/chips.js +42 -38
  34. package/dist/components/ui/command-palette/command-palette-context.d.ts +52 -0
  35. package/dist/components/ui/command-palette/command-palette-context.js +110 -0
  36. package/dist/components/ui/command-palette/command-palette.d.ts +67 -0
  37. package/dist/components/ui/command-palette/command-palette.js +402 -0
  38. package/dist/components/ui/command-palette/index.d.ts +23 -0
  39. package/dist/components/ui/command-palette/index.js +44 -0
  40. package/dist/components/ui/command-palette/kbd.d.ts +28 -0
  41. package/dist/components/ui/command-palette/kbd.js +52 -0
  42. package/dist/components/ui/command-palette/shortcut-registry.d.ts +68 -0
  43. package/dist/components/ui/command-palette/shortcut-registry.js +183 -0
  44. package/dist/components/ui/command-palette/shortcut-scope-provider.d.ts +55 -0
  45. package/dist/components/ui/command-palette/shortcut-scope-provider.js +55 -0
  46. package/dist/components/ui/command-palette/shortcut-settings.d.ts +27 -0
  47. package/dist/components/ui/command-palette/shortcut-settings.js +266 -0
  48. package/dist/components/ui/command-palette/use-browser-shortcuts.d.ts +32 -0
  49. package/dist/components/ui/command-palette/use-browser-shortcuts.js +48 -0
  50. package/dist/components/ui/command-palette/use-global-shortcut.d.ts +3 -0
  51. package/dist/components/ui/command-palette/use-global-shortcut.js +7 -0
  52. package/dist/components/ui/command-palette/use-shortcut.d.ts +47 -0
  53. package/dist/components/ui/command-palette/use-shortcut.js +49 -0
  54. package/dist/components/ui/command-palette/utils.d.ts +119 -0
  55. package/dist/components/ui/command-palette/utils.js +248 -0
  56. package/dist/components/ui/data-table/data-table-column-list.js +87 -86
  57. package/dist/components/ui/data-table/data-table-format-options.js +45 -44
  58. package/dist/components/ui/data-table/data-table-view-options.js +39 -38
  59. package/dist/components/ui/date-picker/date-picker.js +89 -87
  60. package/dist/components/ui/date-picker/date-range-picker.js +140 -138
  61. package/dist/components/ui/date-picker/month-picker.js +82 -81
  62. package/dist/components/ui/date-picker/month-range-picker.js +108 -105
  63. package/dist/components/ui/date-picker/multi-date-picker.js +68 -66
  64. package/dist/components/ui/date-picker/multi-month-picker.js +59 -58
  65. package/dist/components/ui/date-picker/multi-week-picker.js +80 -78
  66. package/dist/components/ui/date-picker/week-picker.js +117 -115
  67. package/dist/components/ui/date-picker/week-range-picker.js +166 -164
  68. package/dist/components/ui/dialog.js +78 -73
  69. package/dist/components/ui/drawer.js +71 -66
  70. package/dist/components/ui/file-upload.js +131 -127
  71. package/dist/components/ui/filter-panel/filter-panel.js +98 -94
  72. package/dist/components/ui/filter-strip/filter-strip.js +95 -91
  73. package/dist/components/ui/filter-strip/filter-summary.js +91 -90
  74. package/dist/components/ui/header.js +57 -53
  75. package/dist/components/ui/horizontal-scroller/horizontal-scroller.js +78 -76
  76. package/dist/components/ui/loader.js +17 -16
  77. package/dist/components/ui/nested-list/components/NestedListHeader.d.ts +1 -0
  78. package/dist/components/ui/nested-list/components/NestedListHeader.js +51 -48
  79. package/dist/components/ui/nested-list/components/SortableItem.js +60 -59
  80. package/dist/components/ui/nested-list/nested-list.js +184 -182
  81. package/dist/components/ui/notification-panel/notification-panel.js +60 -53
  82. package/dist/components/ui/popover.js +45 -40
  83. package/dist/components/ui/prompt.js +90 -86
  84. package/dist/components/ui/select/select.js +206 -209
  85. package/dist/components/ui/sheet.d.ts +1 -0
  86. package/dist/components/ui/sheet.js +50 -48
  87. package/dist/components/ui/sidebar.js +273 -267
  88. package/dist/components/ui/stepper.js +75 -63
  89. package/dist/components/ui/tag.js +48 -44
  90. package/dist/components/ui/toast.js +46 -41
  91. package/dist/i18n/ImpactNovaI18nContext.d.ts +21 -0
  92. package/dist/i18n/ImpactNovaI18nContext.js +76 -0
  93. package/dist/i18n/defaultMessages.d.ts +231 -0
  94. package/dist/i18n/defaultMessages.js +206 -0
  95. package/dist/i18n/getDateFnsLocale.d.ts +11 -0
  96. package/dist/i18n/getDateFnsLocale.js +21 -0
  97. package/dist/i18n/index.d.ts +5 -0
  98. package/dist/i18n/locales/de.d.ts +2 -0
  99. package/dist/i18n/locales/de.js +206 -0
  100. package/dist/i18n/locales/es.d.ts +2 -0
  101. package/dist/i18n/locales/es.js +206 -0
  102. package/dist/i18n/locales/hi.d.ts +2 -0
  103. package/dist/i18n/locales/hi.js +206 -0
  104. package/dist/i18n/locales/index.d.ts +4 -0
  105. package/dist/i18n/locales/kn.d.ts +2 -0
  106. package/dist/i18n/locales/kn.js +206 -0
  107. package/dist/icons/assets/boxAdd.svg.js +5 -0
  108. package/dist/icons/assets/boxed.svg.js +5 -0
  109. package/dist/icons/assets/trolley.svg.js +5 -0
  110. package/dist/icons/assets/unlocked.svg.js +5 -0
  111. package/dist/icons/index.d.ts +4 -0
  112. package/dist/icons/index.js +179 -171
  113. package/dist/impact-nova.css +1 -1
  114. package/dist/index.d.ts +4 -0
  115. package/dist/index.js +232 -172
  116. package/package.json +36 -4
  117. package/dist/components/ui/ag-grid-react/cell-renderers/types.js +0 -74
@@ -1,76 +1,77 @@
1
1
  import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
- import * as n from "react";
3
- import { ChevronDown as z, Search as V } from "lucide-react";
4
- import { cn as g } from "../../../lib/utils.js";
5
- import { Popover as Y, PopoverTrigger as q, PopoverContent as H } from "../popover.js";
6
- import { Tooltip as m, TooltipTrigger as p, TooltipContent as h } from "../tooltip.js";
7
- import { Button as y } from "../button.js";
2
+ import * as s from "react";
3
+ import { ChevronDown as V, Search as Y } from "lucide-react";
4
+ import { cn as y } from "../../../lib/utils.js";
5
+ import { Popover as q, PopoverTrigger as H, PopoverContent as J } from "../popover.js";
6
+ import { Tooltip as m, TooltipTrigger as h, TooltipContent as u } from "../tooltip.js";
7
+ import { Button as S } from "../button.js";
8
8
  import { Separator as C } from "../separator.js";
9
- import { Tabs as J, TabsList as K, TabsTrigger as N } from "../tabs.js";
10
- import { Input as U } from "../input.js";
11
- import { Badge as W } from "../badge.js";
12
- import { Skeleton as X } from "../skeleton.js";
13
- const oe = ({
14
- selectedFilter: o = "Not selected",
9
+ import { Tabs as K, TabsList as U, TabsTrigger as N } from "../tabs.js";
10
+ import { Input as W } from "../input.js";
11
+ import { Badge as X } from "../badge.js";
12
+ import { Skeleton as Z } from "../skeleton.js";
13
+ import { useImpactNovaI18n as $ } from "../../../i18n/ImpactNovaI18nContext.js";
14
+ const fe = ({
15
+ selectedFilter: c,
15
16
  onSelectedFilterChange: w,
16
- savedFilters: S,
17
- recentFilters: u,
18
- onApplySavedFilter: T,
19
- onSavedFilterSearch: d,
20
- onSavedFiltersScroll: k,
17
+ savedFilters: T,
18
+ recentFilters: x,
19
+ onApplySavedFilter: k,
20
+ onSavedFilterSearch: f,
21
+ onSavedFiltersScroll: P,
21
22
  onDropdownOpenChange: A,
22
- isLoadingFilterPreferencesList: P = !1
23
+ isLoadingFilterPreferencesList: j = !1
23
24
  }) => {
24
- const [f, x] = n.useState(!1), j = (a) => {
25
- x(a), A?.(a);
26
- }, [v, M] = n.useState(""), [c, I] = n.useState(""), [r, O] = n.useState("All"), [s, b] = n.useState(null);
27
- n.useEffect(() => {
25
+ const { t: r } = $(), [p, v] = s.useState(!1), I = (a) => {
26
+ v(a), A?.(a);
27
+ }, [b, M] = s.useState(""), [d, O] = s.useState(""), [n, G] = s.useState("All"), [i, g] = s.useState(null);
28
+ s.useEffect(() => {
28
29
  const a = setTimeout(() => {
29
- I(v);
30
+ O(b);
30
31
  }, 300);
31
32
  return () => clearTimeout(a);
32
- }, [v]), n.useEffect(() => {
33
- d && d(c, r === "All" ? void 0 : r);
34
- }, [c, r, d]), n.useEffect(() => {
35
- f && b({ label: o });
36
- }, [f, o]);
37
- const G = (a) => {
33
+ }, [b]), s.useEffect(() => {
34
+ f && f(d, n === "All" ? void 0 : n);
35
+ }, [d, n, f]), s.useEffect(() => {
36
+ p && g({ label: c });
37
+ }, [p, c]);
38
+ const L = (a) => {
38
39
  M(a.target.value);
39
- }, L = () => {
40
- s && (w?.(s.label), s.savedItem && T?.(s.savedItem), x(!1));
41
40
  }, Q = () => {
42
- x(!1);
43
- }, _ = () => !u || u.length === 0 ? null : /* @__PURE__ */ t("div", { className: "flex flex-col", children: [
41
+ i && (w?.(i.label), i.savedItem && k?.(i.savedItem), v(!1));
42
+ }, _ = () => {
43
+ v(!1);
44
+ }, E = () => !x || x.length === 0 ? null : /* @__PURE__ */ t("div", { className: "flex flex-col", children: [
44
45
  /* @__PURE__ */ e("div", { className: "px-1 py-[6px] text-xs font-medium text-[#60697d] font-['Manrope']", children: "Recent" }),
45
- /* @__PURE__ */ e("div", { className: "mb-[6px] flex flex-col", children: u.map((a, l) => {
46
- const i = a.map((D) => D.label).join(", "), B = s?.label === i;
46
+ /* @__PURE__ */ e("div", { className: "mb-[6px] flex flex-col", children: x.map((a, l) => {
47
+ const o = a.map((z) => z.label).join(", "), D = i?.label === o;
47
48
  return /* @__PURE__ */ e(
48
49
  "div",
49
50
  {
50
- className: g(
51
+ className: y(
51
52
  "flex cursor-pointer flex-row px-3 py-2 rounded-lg hover:bg-[#f5f6fa]",
52
- B && "bg-[#edf0ff]"
53
+ D && "bg-[#edf0ff]"
53
54
  ),
54
- onClick: () => b({ label: i }),
55
+ onClick: () => g({ label: o }),
55
56
  children: /* @__PURE__ */ t(m, { children: [
56
- /* @__PURE__ */ e(p, { asChild: !0, children: /* @__PURE__ */ e("span", { className: "text-sm font-['Manrope'] truncate text-[#1f2b4d]", children: i }) }),
57
- /* @__PURE__ */ e(h, { variant: "tertiary", side: "right", children: i })
57
+ /* @__PURE__ */ e(h, { asChild: !0, children: /* @__PURE__ */ e("span", { className: "text-sm font-['Manrope'] truncate text-[#1f2b4d]", children: o }) }),
58
+ /* @__PURE__ */ e(u, { variant: "tertiary", side: "right", children: o })
58
59
  ] })
59
60
  },
60
61
  l
61
62
  );
62
63
  }) }),
63
64
  /* @__PURE__ */ e(C, { className: "mb-2" })
64
- ] }), E = () => {
65
- if (P)
66
- return /* @__PURE__ */ e("div", { className: "flex max-h-[160px] flex-col overflow-y-auto px-3 py-2 space-y-2", children: [1, 2, 3, 4, 5].map((l) => /* @__PURE__ */ e(X, { className: "h-9 w-full rounded-lg" }, l)) });
67
- let a = S?.filter(
68
- (l) => r === "All" || l.type === r
65
+ ] }), R = () => {
66
+ if (j)
67
+ return /* @__PURE__ */ e("div", { className: "flex max-h-[160px] flex-col overflow-y-auto px-3 py-2 space-y-2", children: [1, 2, 3, 4, 5].map((l) => /* @__PURE__ */ e(Z, { className: "h-9 w-full rounded-lg" }, l)) });
68
+ let a = T?.filter(
69
+ (l) => n === "All" || l.type === n
69
70
  );
70
- if (!d && c && (a = a?.filter((l) => l.label.toLowerCase().includes(c.toLowerCase()))), !a || a.length === 0) {
71
+ if (!f && d && (a = a?.filter((l) => l.label.toLowerCase().includes(d.toLowerCase()))), !a || a.length === 0) {
71
72
  let l = "No saved filters found";
72
- if (!!c)
73
- switch (r) {
73
+ if (!!d)
74
+ switch (n) {
74
75
  case "Personal":
75
76
  l = "No personal filters match your search";
76
77
  break;
@@ -81,7 +82,7 @@ const oe = ({
81
82
  l = "No saved filters match your search";
82
83
  }
83
84
  else
84
- switch (r) {
85
+ switch (n) {
85
86
  case "Personal":
86
87
  l = "You haven't created any personal filters yet.";
87
88
  break;
@@ -97,20 +98,20 @@ const oe = ({
97
98
  "div",
98
99
  {
99
100
  className: "flex max-h-[160px] flex-col overflow-y-auto",
100
- onScroll: k,
101
+ onScroll: P,
101
102
  children: a.map((l) => {
102
- const i = s?.label === l.label;
103
+ const o = i?.label === l.label;
103
104
  return /* @__PURE__ */ e(
104
105
  "div",
105
106
  {
106
- className: g(
107
+ className: y(
107
108
  "mb-1 flex justify-between cursor-pointer rounded-lg px-3 py-2 text-sm font-medium font-['Manrope'] hover:bg-[#f5f6fa]",
108
- i ? "bg-[#edf0ff]" : "text-[#1f2b4d]"
109
+ o ? "bg-[#edf0ff]" : "text-[#1f2b4d]"
109
110
  ),
110
- onClick: () => b({ label: l.label, savedItem: l }),
111
+ onClick: () => g({ label: l.label, savedItem: l }),
111
112
  children: /* @__PURE__ */ t(m, { children: [
112
- /* @__PURE__ */ e(p, { asChild: !0, children: /* @__PURE__ */ e("span", { className: "truncate", children: l.label }) }),
113
- /* @__PURE__ */ e(h, { variant: "tertiary", side: "right", children: l.label })
113
+ /* @__PURE__ */ e(h, { asChild: !0, children: /* @__PURE__ */ e("span", { className: "truncate", children: l.label }) }),
114
+ /* @__PURE__ */ e(u, { variant: "tertiary", side: "right", children: l.label })
114
115
  ] })
115
116
  },
116
117
  l.id
@@ -118,71 +119,71 @@ const oe = ({
118
119
  })
119
120
  }
120
121
  );
121
- }, R = s?.label !== o;
122
- return /* @__PURE__ */ t(Y, { open: f, onOpenChange: j, children: [
123
- /* @__PURE__ */ e(q, { asChild: !0, children: /* @__PURE__ */ t("div", { className: "flex cursor-pointer items-center gap-2", children: [
124
- /* @__PURE__ */ e("span", { className: "text-sm font-medium text-[#60697d] font-['Manrope']", children: "Filters Applied" }),
122
+ }, B = i?.label !== c;
123
+ return /* @__PURE__ */ t(q, { open: p, onOpenChange: I, children: [
124
+ /* @__PURE__ */ e(H, { asChild: !0, children: /* @__PURE__ */ t("div", { className: "flex cursor-pointer items-center gap-2", children: [
125
+ /* @__PURE__ */ e("span", { className: "text-sm font-medium text-[#60697d] font-['Manrope']", children: r("filterStrip.filtersApplied") }),
125
126
  /* @__PURE__ */ t(m, { children: [
126
- /* @__PURE__ */ e(p, { asChild: !0, children: /* @__PURE__ */ e(
127
- W,
127
+ /* @__PURE__ */ e(h, { asChild: !0, children: /* @__PURE__ */ e(
128
+ X,
128
129
  {
129
130
  color: "primary",
130
131
  variant: "outline",
131
132
  className: "font-['Manrope'] max-w-[140px] truncate",
132
- children: o || "Not selected"
133
+ children: c || r("filterStrip.notSelected")
133
134
  }
134
135
  ) }),
135
- /* @__PURE__ */ e(h, { variant: "tertiary", side: "top", children: o || "Not selected" })
136
+ /* @__PURE__ */ e(u, { variant: "tertiary", side: "top", children: c || r("filterStrip.notSelected") })
136
137
  ] }),
137
138
  /* @__PURE__ */ t(m, { children: [
138
- /* @__PURE__ */ e(p, { asChild: !0, children: /* @__PURE__ */ e(
139
+ /* @__PURE__ */ e(h, { asChild: !0, children: /* @__PURE__ */ e(
139
140
  "div",
140
141
  {
141
- className: g(
142
+ className: y(
142
143
  "flex h-8 w-8 items-center justify-center rounded-lg bg-[#f5f6fa] transition-transform duration-200",
143
- f && "rotate-180"
144
+ p && "rotate-180"
144
145
  ),
145
- children: /* @__PURE__ */ e(z, { className: "h-4 w-4 text-[#1f2b4d]" })
146
+ children: /* @__PURE__ */ e(V, { className: "h-4 w-4 text-[#1f2b4d]" })
146
147
  }
147
148
  ) }),
148
- /* @__PURE__ */ e(h, { variant: "tertiary", side: "top", children: "Select filter" })
149
+ /* @__PURE__ */ e(u, { variant: "tertiary", side: "top", children: r("filterStrip.selectFilter") })
149
150
  ] })
150
151
  ] }) }),
151
152
  /* @__PURE__ */ e(
152
- H,
153
+ J,
153
154
  {
154
155
  align: "start",
155
156
  className: "w-[280px] p-0 shadow-[0_0_4px_0_rgba(0,0,0,0.12)]",
156
157
  sideOffset: 8,
157
158
  children: /* @__PURE__ */ t("div", { className: "flex w-full flex-col py-[8px] px-[6px]", children: [
158
- _(),
159
+ E(),
159
160
  /* @__PURE__ */ t("div", { className: "flex flex-col", children: [
160
- /* @__PURE__ */ e("div", { className: "px-1 py-[6px] text-xs font-medium text-[#60697d] font-['Manrope']", children: "Saved Filters" }),
161
+ /* @__PURE__ */ e("div", { className: "px-1 py-[6px] text-xs font-medium text-[#60697d] font-['Manrope']", children: r("filterStrip.savedFilters") }),
161
162
  /* @__PURE__ */ t(
162
- J,
163
+ K,
163
164
  {
164
- value: r,
165
- onValueChange: (a) => O(a),
165
+ value: n,
166
+ onValueChange: (a) => G(a),
166
167
  variant: "outline",
167
168
  size: "sm",
168
169
  className: "w-full px-1",
169
170
  children: [
170
- /* @__PURE__ */ e("div", { className: "py-[8px]", children: /* @__PURE__ */ t(K, { children: [
171
+ /* @__PURE__ */ e("div", { className: "py-[8px]", children: /* @__PURE__ */ t(U, { children: [
171
172
  /* @__PURE__ */ e(N, { value: "All", children: "All" }),
172
173
  /* @__PURE__ */ e(N, { value: "Global", children: "Global" }),
173
174
  /* @__PURE__ */ e(N, { value: "Personal", children: "Personal" })
174
175
  ] }) }),
175
176
  /* @__PURE__ */ e("div", { className: "pb-[8px]", children: /* @__PURE__ */ e(
176
- U,
177
+ W,
177
178
  {
178
- prefix: /* @__PURE__ */ e(V, { className: "h-4 w-4 text-gray-500" }),
179
- placeholder: "Search filters...",
180
- value: v,
181
- onChange: G,
179
+ prefix: /* @__PURE__ */ e(Y, { className: "h-4 w-4 text-gray-500" }),
180
+ placeholder: r("filterStrip.searchFiltersPlaceholder"),
181
+ value: b,
182
+ onChange: L,
182
183
  className: "h-9 px-1 border-none shadow-none focus-visible:ring-0"
183
184
  }
184
185
  ) }),
185
- /* @__PURE__ */ e("div", { className: "mt-0", children: E() })
186
+ /* @__PURE__ */ e("div", { className: "mt-0", children: R() })
186
187
  ]
187
188
  }
188
189
  )
@@ -190,20 +191,20 @@ const oe = ({
190
191
  /* @__PURE__ */ e(C, { className: "my-2" }),
191
192
  /* @__PURE__ */ t("div", { className: "flex justify-end gap-2 px-3 pb-1", children: [
192
193
  /* @__PURE__ */ e(
193
- y,
194
+ S,
194
195
  {
195
196
  variant: "secondary",
196
- onClick: Q,
197
- children: "Cancel"
197
+ onClick: _,
198
+ children: r("prompt.cancel")
198
199
  }
199
200
  ),
200
201
  /* @__PURE__ */ e(
201
- y,
202
+ S,
202
203
  {
203
204
  variant: "default",
204
- onClick: L,
205
- disabled: !R,
206
- children: "Apply Filter"
205
+ onClick: Q,
206
+ disabled: !B,
207
+ children: r("filterStrip.applyFilter")
207
208
  }
208
209
  )
209
210
  ] })
@@ -213,5 +214,5 @@ const oe = ({
213
214
  ] });
214
215
  };
215
216
  export {
216
- oe as FilterSummary
217
+ fe as FilterSummary
217
218
  };
@@ -1,11 +1,12 @@
1
- import { jsx as i, jsxs as d, Fragment as c } from "react/jsx-runtime";
1
+ import { jsx as i, jsxs as c, Fragment as l } from "react/jsx-runtime";
2
2
  import * as o from "react";
3
3
  import { cn as s } from "../../lib/utils.js";
4
- import { Button as l } from "./button.js";
5
- import { Separator as f } from "./separator.js";
6
- import { Alan as m, IA as p, Bell as x } from "../../icons/index.js";
4
+ import { Button as f } from "./button.js";
5
+ import { Separator as m } from "./separator.js";
6
+ import { Alan as p, IA as x, Bell as h } from "../../icons/index.js";
7
7
  /* empty css */
8
- const h = o.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__ */ i(
8
+ import { useImpactNovaI18n as N } from "../../i18n/ImpactNovaI18nContext.js";
9
+ const u = o.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__ */ i(
9
10
  "header",
10
11
  {
11
12
  ref: r,
@@ -17,8 +18,8 @@ const h = o.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__
17
18
  children: e
18
19
  }
19
20
  ));
20
- h.displayName = "Header";
21
- const N = o.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__ */ i(
21
+ u.displayName = "Header";
22
+ const w = o.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__ */ i(
22
23
  "div",
23
24
  {
24
25
  ref: r,
@@ -27,8 +28,8 @@ const N = o.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__
27
28
  children: e
28
29
  }
29
30
  ));
30
- N.displayName = "HeaderLeft";
31
- const u = o.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__ */ i(
31
+ w.displayName = "HeaderLeft";
32
+ const g = o.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__ */ i(
32
33
  "div",
33
34
  {
34
35
  ref: r,
@@ -37,20 +38,20 @@ const u = o.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__
37
38
  children: e
38
39
  }
39
40
  ));
40
- u.displayName = "HeaderRight";
41
- const w = o.forwardRef(({ className: t, children: e, href: a = "/", ...r }, n) => /* @__PURE__ */ i(
41
+ g.displayName = "HeaderRight";
42
+ const y = o.forwardRef(({ className: t, children: e, href: a = "/", ...r }, n) => /* @__PURE__ */ i(
42
43
  "a",
43
44
  {
44
45
  href: a,
45
46
  ref: n,
46
47
  className: s("h-9 flex items-center justify-center cursor-pointer", t),
47
48
  ...r,
48
- children: e || /* @__PURE__ */ i(p, { width: 91, height: 36 })
49
+ children: e || /* @__PURE__ */ i(x, { width: 91, height: 36 })
49
50
  }
50
51
  ));
51
- w.displayName = "HeaderLogo";
52
- const g = o.forwardRef(({ className: t, ...e }, a) => /* @__PURE__ */ i(
53
- f,
52
+ y.displayName = "HeaderLogo";
53
+ const v = o.forwardRef(({ className: t, ...e }, a) => /* @__PURE__ */ i(
54
+ m,
54
55
  {
55
56
  ref: a,
56
57
  orientation: "vertical",
@@ -58,8 +59,8 @@ const g = o.forwardRef(({ className: t, ...e }, a) => /* @__PURE__ */ i(
58
59
  ...e
59
60
  }
60
61
  ));
61
- g.displayName = "HeaderSeparator";
62
- const y = o.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__ */ i(
62
+ v.displayName = "HeaderSeparator";
63
+ const H = o.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__ */ i(
63
64
  "h1",
64
65
  {
65
66
  ref: r,
@@ -71,8 +72,8 @@ const y = o.forwardRef(({ className: t, children: e, ...a }, r) => /* @__PURE__
71
72
  children: e
72
73
  }
73
74
  ));
74
- y.displayName = "HeaderTitle";
75
- const _ = o.forwardRef(
75
+ H.displayName = "HeaderTitle";
76
+ const L = o.forwardRef(
76
77
  ({ className: t, children: e, ...a }, r) => /* @__PURE__ */ i(
77
78
  "button",
78
79
  {
@@ -83,44 +84,47 @@ const _ = o.forwardRef(
83
84
  t
84
85
  ),
85
86
  ...a,
86
- children: e || /* @__PURE__ */ d(c, { children: [
87
- /* @__PURE__ */ i(m, { size: 20, className: "text-white" }),
87
+ children: e || /* @__PURE__ */ c(l, { children: [
88
+ /* @__PURE__ */ i(p, { size: 20, className: "text-white" }),
88
89
  /* @__PURE__ */ i("span", { className: "text-sm font-semibold leading-[20px] text-white whitespace-nowrap", children: "Ask Alan" })
89
90
  ] })
90
91
  }
91
92
  )
92
- ), H = o.forwardRef(
93
- ({ className: t, showIndicator: e, children: a, ...r }, n) => /* @__PURE__ */ d(
94
- l,
95
- {
96
- variant: "ghost",
97
- size: "icon",
98
- ref: n,
99
- "aria-label": "Notifications",
100
- "data-indicator": e ? "" : void 0,
101
- className: s(
102
- "text-gray-500 relative [&_svg]:size-6 hover:text-gray-900",
103
- t
104
- ),
105
- ...r,
106
- children: [
107
- /* @__PURE__ */ i(x, { size: 24 }),
108
- e && /* @__PURE__ */ d("div", { className: "notification-indicator", children: [
109
- /* @__PURE__ */ i("div", { className: "notification-pulse" }),
110
- /* @__PURE__ */ i("div", { className: "notification-dot" })
111
- ] })
112
- ]
113
- }
114
- )
93
+ ), b = o.forwardRef(
94
+ ({ className: t, showIndicator: e, children: a, ...r }, n) => {
95
+ const { t: d } = N();
96
+ return /* @__PURE__ */ c(
97
+ f,
98
+ {
99
+ variant: "ghost",
100
+ size: "icon",
101
+ ref: n,
102
+ "aria-label": d("notificationPanel.title"),
103
+ "data-indicator": e ? "" : void 0,
104
+ className: s(
105
+ "text-gray-500 relative [&_svg]:size-6 hover:text-gray-900",
106
+ t
107
+ ),
108
+ ...r,
109
+ children: [
110
+ /* @__PURE__ */ i(h, { size: 24 }),
111
+ e && /* @__PURE__ */ c("div", { className: "notification-indicator", children: [
112
+ /* @__PURE__ */ i("div", { className: "notification-pulse" }),
113
+ /* @__PURE__ */ i("div", { className: "notification-dot" })
114
+ ] })
115
+ ]
116
+ }
117
+ );
118
+ }
115
119
  );
116
- H.displayName = "NotificationIconButton";
120
+ b.displayName = "NotificationIconButton";
117
121
  export {
118
- h as Header,
119
- _ as HeaderBotButton,
120
- N as HeaderLeft,
121
- w as HeaderLogo,
122
- u as HeaderRight,
123
- g as HeaderSeparator,
124
- y as HeaderTitle,
125
- H as NotificationIconButton
122
+ u as Header,
123
+ L as HeaderBotButton,
124
+ w as HeaderLeft,
125
+ y as HeaderLogo,
126
+ g as HeaderRight,
127
+ v as HeaderSeparator,
128
+ H as HeaderTitle,
129
+ b as NotificationIconButton
126
130
  };