@yuno-payments/dashboard-design-system 0.0.166 → 0.0.170

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 (161) hide show
  1. package/dist/components/atoms/access-denied-alert/access-denied-alert.d.ts +0 -16
  2. package/dist/components/atoms/accordion/accordion.d.ts +0 -66
  3. package/dist/components/atoms/alert/alert.d.ts +1 -26
  4. package/dist/components/atoms/alert/alert.js +8 -9
  5. package/dist/components/atoms/avatar/avatar-group.d.ts +0 -28
  6. package/dist/components/atoms/avatar/avatar.d.ts +0 -25
  7. package/dist/components/atoms/avatar/avatar.js +9 -9
  8. package/dist/components/atoms/badge/badge.d.ts +2 -30
  9. package/dist/components/atoms/badge/badge.js +11 -27
  10. package/dist/components/atoms/button/button.d.ts +0 -44
  11. package/dist/components/atoms/card/card.d.ts +3 -137
  12. package/dist/components/atoms/card/card.js +28 -56
  13. package/dist/components/atoms/checkbox/checkbox.d.ts +2 -38
  14. package/dist/components/atoms/checkbox/checkbox.js +27 -61
  15. package/dist/components/atoms/combobox/combobox.d.ts +0 -18
  16. package/dist/components/atoms/combobox/combobox.js +41 -41
  17. package/dist/components/atoms/combobox/types.d.ts +1 -90
  18. package/dist/components/atoms/currency-field/currency-field.d.ts +0 -38
  19. package/dist/components/atoms/currency-field/currency-field.js +19 -22
  20. package/dist/components/atoms/date-picker/date-picker.d.ts +0 -15
  21. package/dist/components/atoms/date-range-picker/date-range-picker.d.ts +0 -15
  22. package/dist/components/atoms/dots-menu/dots-menu.d.ts +0 -16
  23. package/dist/components/atoms/dots-menu/dots-menu.js +8 -8
  24. package/dist/components/atoms/dots-menu/dots-menu.types.d.ts +0 -52
  25. package/dist/components/atoms/dropdown-menu/dropdown-menu.d.ts +0 -50
  26. package/dist/components/atoms/field/field.d.ts +0 -55
  27. package/dist/components/atoms/field/field.js +46 -53
  28. package/dist/components/atoms/filter/filter-date-range.d.ts +2 -12
  29. package/dist/components/atoms/filter/filter-date-range.js +168 -203
  30. package/dist/components/atoms/filter/filter.d.ts +0 -6
  31. package/dist/components/atoms/filter/filter.js +76 -91
  32. package/dist/components/atoms/filter/index.d.ts +1 -1
  33. package/dist/components/atoms/filter-dropdown/filter-dropdown.d.ts +2 -208
  34. package/dist/components/atoms/filter-dropdown/filter-dropdown.js +160 -214
  35. package/dist/components/atoms/icon/icon-list.d.ts +0 -5
  36. package/dist/components/atoms/icon/icon-list.js +384 -394
  37. package/dist/components/atoms/icon/icon.d.ts +0 -29
  38. package/dist/components/atoms/index.d.ts +2 -3
  39. package/dist/components/atoms/label/index.d.ts +1 -1
  40. package/dist/components/atoms/link/link.d.ts +0 -20
  41. package/dist/components/atoms/multi-select/multi-select.d.ts +1 -1
  42. package/dist/components/atoms/multi-select/multi-select.js +6 -6
  43. package/dist/components/atoms/multi-values-field/multi-values-field.d.ts +0 -16
  44. package/dist/components/atoms/multi-values-field/multi-values-field.js +87 -109
  45. package/dist/components/atoms/multi-values-field/multi-values-field.types.d.ts +0 -81
  46. package/dist/components/atoms/otp-field/otp-field.d.ts +0 -32
  47. package/dist/components/atoms/password-field/password-field.d.ts +0 -23
  48. package/dist/components/atoms/password-field/password-field.js +1 -1
  49. package/dist/components/atoms/progress/progress.d.ts +0 -15
  50. package/dist/components/atoms/protected-field/protected-field.d.ts +0 -10
  51. package/dist/components/atoms/protected-field/protected-field.types.d.ts +0 -14
  52. package/dist/components/atoms/radio-group/radio-group-option.js +11 -11
  53. package/dist/components/atoms/radio-group/radio-group.d.ts +1 -50
  54. package/dist/components/atoms/radio-group/radio-group.js +12 -13
  55. package/dist/components/atoms/search-field/search-field.d.ts +0 -14
  56. package/dist/components/atoms/search-field/search-field.js +17 -17
  57. package/dist/components/atoms/search-field/search-field.types.d.ts +0 -57
  58. package/dist/components/atoms/select/index.d.ts +0 -2
  59. package/dist/components/atoms/select/select.d.ts +1 -83
  60. package/dist/components/atoms/select/select.js +21 -21
  61. package/dist/components/atoms/separator/separator.d.ts +0 -17
  62. package/dist/components/atoms/skeleton/index.d.ts +0 -9
  63. package/dist/components/atoms/switch/switch.d.ts +2 -56
  64. package/dist/components/atoms/switch/switch.js +32 -64
  65. package/dist/components/atoms/tabs/index.d.ts +0 -16
  66. package/dist/components/atoms/textarea/textarea.d.ts +0 -32
  67. package/dist/components/atoms/textarea/textarea.js +1 -1
  68. package/dist/components/atoms/time-picker/time-picker.d.ts +2 -73
  69. package/dist/components/atoms/time-picker/time-picker.js +3 -218
  70. package/dist/components/atoms/toaster/index.d.ts +0 -15
  71. package/dist/components/atoms/toggle-group/toggle-group.d.ts +1 -26
  72. package/dist/components/atoms/toggle-group/toggle-group.js +14 -15
  73. package/dist/components/atoms/tooltip/tooltip.d.ts +2 -53
  74. package/dist/components/atoms/typography/typography.d.ts +0 -18
  75. package/dist/components/molecules/breadcrumb/breadcrumb.d.ts +0 -50
  76. package/dist/components/molecules/breadcrumb/breadcrumb.js +17 -17
  77. package/dist/components/molecules/dialog-content/dialog-content.d.ts +0 -16
  78. package/dist/components/molecules/dialog-footer/dialog-footer.d.ts +0 -20
  79. package/dist/components/molecules/dialog-header/dialog-header.d.ts +0 -31
  80. package/dist/components/molecules/empty/empty-icon.js +6 -6
  81. package/dist/components/molecules/empty/empty.d.ts +1 -16
  82. package/dist/components/molecules/empty/empty.js +34 -37
  83. package/dist/components/molecules/highlight-banner/highlight-banner.d.ts +0 -17
  84. package/dist/components/molecules/pagination/pagination.d.ts +0 -49
  85. package/dist/components/organisms/data-table/components/cells/data-table-list-cell.d.ts +0 -41
  86. package/dist/components/organisms/data-table/components/column-header/data-table-column-header-content.js +1 -1
  87. package/dist/components/organisms/data-table/components/column-header/data-table-column-header-menu.js +18 -18
  88. package/dist/components/organisms/data-table/components/column-header/data-table-column-header.d.ts +0 -18
  89. package/dist/components/organisms/data-table/components/column-header/data-table-column-header.js +10 -10
  90. package/dist/components/organisms/data-table/components/data-table-body.d.ts +0 -18
  91. package/dist/components/organisms/data-table/components/data-table-header.d.ts +0 -12
  92. package/dist/components/organisms/data-table/components/data-table-header.js +7 -7
  93. package/dist/components/organisms/data-table/components/states/data-table-loading.d.ts +0 -24
  94. package/dist/components/organisms/data-table/components/states/data-table-loading.js +6 -6
  95. package/dist/components/organisms/data-table/data-table.d.ts +3 -115
  96. package/dist/components/organisms/data-table/data-table.js +104 -131
  97. package/dist/components/organisms/data-table/data-table.types.d.ts +24 -23
  98. package/dist/components/organisms/data-table/hooks/use-data-table-columns.js +41 -57
  99. package/dist/components/organisms/data-table/hooks/use-data-table-state.d.ts +2 -7
  100. package/dist/components/organisms/data-table/hooks/use-data-table-state.js +46 -80
  101. package/dist/components/organisms/data-table/utils/data-table-constants.d.ts +2 -8
  102. package/dist/components/organisms/data-table/utils/data-table-constants.js +10 -16
  103. package/dist/components/organisms/data-table/utils/data-table-styles.d.ts +0 -1652
  104. package/dist/components/organisms/data-table/utils/data-table-styles.js +14 -29
  105. package/dist/components/organisms/dialog/dialog.d.ts +1 -67
  106. package/dist/components/organisms/dialog/dialog.js +61 -78
  107. package/dist/components/organisms/index.d.ts +0 -2
  108. package/dist/components/organisms/sheet/sheet.d.ts +0 -69
  109. package/dist/components/organisms/sheet/sheet.js +33 -34
  110. package/dist/index.css +1 -1
  111. package/dist/index.d.ts +0 -2
  112. package/dist/index.js +162 -173
  113. package/dist/vendor/shadcn/avatar.js +19 -19
  114. package/dist/vendor/shadcn/badge.js +15 -15
  115. package/dist/vendor/shadcn/card.js +7 -7
  116. package/dist/vendor/shadcn/date-picker.d.ts +2 -2
  117. package/dist/vendor/shadcn/date-picker.js +1 -1
  118. package/dist/vendor/shadcn/date-range-picker.d.ts +2 -2
  119. package/dist/vendor/shadcn/date-range-picker.js +1 -1
  120. package/dist/vendor/shadcn/dialog.js +2 -2
  121. package/dist/vendor/shadcn/input-group.js +17 -17
  122. package/dist/vendor/shadcn/input.js +7 -7
  123. package/dist/vendor/shadcn/popover.js +1 -1
  124. package/dist/vendor/shadcn/select.js +2 -2
  125. package/dist/vendor/shadcn/sonner.d.ts +1 -26
  126. package/dist/vendor/shadcn/sonner.js +8 -12
  127. package/dist/vendor/shadcn/table.js +30 -30
  128. package/dist/vendor/shadcn/textarea.js +9 -9
  129. package/dist/vendor/shadcn/time-picker.d.ts +2 -1
  130. package/dist/vendor/shadcn/time-picker.js +23 -17
  131. package/dist/vendor/shadcn/toggle.js +13 -13
  132. package/dist/vendor/shadcn/tooltip.js +15 -25
  133. package/package.json +1 -1
  134. package/dist/components/atoms/icon/aida-logo.d.ts +0 -3
  135. package/dist/components/atoms/icon/aida-logo.js +0 -64
  136. package/dist/components/atoms/label/label.d.ts +0 -11
  137. package/dist/components/atoms/label/label.js +0 -28
  138. package/dist/components/atoms/loading/index.d.ts +0 -1
  139. package/dist/components/atoms/loading/loading.d.ts +0 -39
  140. package/dist/components/atoms/loading/loading.js +0 -37
  141. package/dist/components/atoms/select/search-select.d.ts +0 -22
  142. package/dist/components/atoms/select/search-select.js +0 -201
  143. package/dist/components/organisms/tutorial/index.d.ts +0 -2
  144. package/dist/components/organisms/tutorial/tutorial.d.ts +0 -16
  145. package/dist/components/organisms/tutorial/tutorial.js +0 -114
  146. package/dist/components/organisms/tutorial/tutorial.types.d.ts +0 -15
  147. package/dist/hooks/index.d.ts +0 -3
  148. package/dist/hooks/use-body-scroll-lock.d.ts +0 -13
  149. package/dist/hooks/use-escape-key.d.ts +0 -14
  150. package/dist/hooks/use-media-query.d.ts +0 -20
  151. package/dist/hooks/use-media-query.js +0 -21
  152. package/dist/lib/notification-alert.d.ts +0 -42
  153. package/dist/lib/notification-alert.js +0 -75
  154. package/dist/node_modules/@phosphor-icons/react/dist/csr/File.es.js +0 -8
  155. package/dist/node_modules/@phosphor-icons/react/dist/csr/Microphone.es.js +0 -8
  156. package/dist/node_modules/@phosphor-icons/react/dist/csr/Stop.es.js +0 -8
  157. package/dist/node_modules/@phosphor-icons/react/dist/csr/Table.es.js +0 -8
  158. package/dist/node_modules/@phosphor-icons/react/dist/defs/File.es.js +0 -30
  159. package/dist/node_modules/@phosphor-icons/react/dist/defs/Microphone.es.js +0 -36
  160. package/dist/node_modules/@phosphor-icons/react/dist/defs/Stop.es.js +0 -36
  161. package/dist/node_modules/@phosphor-icons/react/dist/defs/Table.es.js +0 -30
@@ -1,242 +1,207 @@
1
1
  import { j as e } from "../../../_virtual/jsx-runtime.js";
2
- import { forwardRef as y, useMemo as $ } from "react";
3
- import { RadioGroup as b, RadioGroupItem as H } from "../../../vendor/shadcn/radio-group.js";
4
- import { cn as N } from "../../../lib/utils.js";
5
- import { DatePicker as f } from "../date-picker/date-picker.js";
6
- import { TimePicker as g } from "../time-picker/time-picker.js";
7
- const o = {
8
- CUSTOM: "CUSTOM",
9
- TODAY: "TODAY",
10
- LAST_3_DAYS: "LAST_3_DAYS",
11
- LAST_7_DAYS: "LAST_7_DAYS",
12
- LAST_30_DAYS: "LAST_30_DAYS",
13
- THIS_MONTH: "THIS_MONTH",
14
- ALL_TIME: "ALL_TIME"
15
- }, i = (s) => {
16
- const t = s.getDate();
17
- return `${[
18
- "Jan",
19
- "Feb",
20
- "Mar",
21
- "Apr",
22
- "May",
23
- "Jun",
24
- "Jul",
25
- "Aug",
26
- "Sep",
27
- "Oct",
28
- "Nov",
29
- "Dec"
30
- ][s.getMonth()]} ${t}`;
31
- }, R = (s) => {
32
- const a = [
33
- "Jan",
34
- "Feb",
35
- "Mar",
36
- "Apr",
37
- "May",
38
- "Jun",
39
- "Jul",
40
- "Aug",
41
- "Sep",
42
- "Oct",
43
- "Nov",
44
- "Dec"
45
- ][s.getMonth()], n = s.getFullYear();
46
- return `${a} ${n}`;
47
- }, C = (s) => ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"][s.getDay()], F = () => {
48
- const s = /* @__PURE__ */ new Date();
49
- s.setHours(0, 0, 0, 0);
50
- const t = `${C(s)}, ${i(s)}`, a = new Date(s);
51
- a.setDate(a.getDate() - 2);
52
- const n = `${i(a)} - ${i(s)}`, r = new Date(s);
53
- r.setDate(r.getDate() - 6);
54
- const m = `${i(r)} - ${i(s)}`, l = new Date(s);
55
- l.setDate(l.getDate() - 29);
56
- const x = `${i(l)} - ${i(s)}`, D = R(s);
57
- return {
58
- today: t,
59
- last3Days: n,
60
- last7Days: m,
61
- last30Days: x,
62
- thisMonth: D
63
- };
64
- }, c = y(
65
- ({ label: s, description: t, value: a, className: n, ...r }, m) => {
66
- const l = `date-range-${a}`;
67
- return /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-4 w-full py-1", children: [
68
- /* @__PURE__ */ e.jsxs(
69
- "label",
70
- {
71
- ref: m,
72
- className: N(
73
- "flex-1 flex items-start gap-3 cursor-pointer",
74
- n
75
- ),
76
- ...r,
77
- children: [
78
- /* @__PURE__ */ e.jsx(H, { id: l, value: a, className: "mt-px" }),
79
- /* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-1.5 items-start justify-center pb-0 pt-px px-0", children: /* @__PURE__ */ e.jsx("span", { className: "text-sm font-medium leading-none text-foreground", children: s }) })
80
- ]
81
- }
82
- ),
83
- t && /* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ e.jsx("span", { className: "text-xs font-normal leading-none text-muted-foreground whitespace-nowrap", children: t }) })
84
- ] });
85
- }
2
+ import { forwardRef as b } from "react";
3
+ import { RadioGroup as y, RadioGroupItem as O } from "../../../vendor/shadcn/radio-group.js";
4
+ import { cn as D } from "../../../lib/utils.js";
5
+ import { DatePicker as m } from "../date-picker/date-picker.js";
6
+ import { TimePicker as n } from "../time-picker/time-picker.js";
7
+ const l = b(
8
+ ({ label: o, description: s, value: i, className: x, ...t }, c) => /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-4 w-full", children: [
9
+ /* @__PURE__ */ e.jsxs(
10
+ "button",
11
+ {
12
+ ref: c,
13
+ className: D(
14
+ "flex-1 flex items-start gap-3 cursor-pointer",
15
+ x
16
+ ),
17
+ type: "button",
18
+ ...t,
19
+ children: [
20
+ /* @__PURE__ */ e.jsx(O, { value: i, className: "mt-px" }),
21
+ /* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-1.5 items-start justify-center pb-0 pt-px px-0", children: /* @__PURE__ */ e.jsx("span", { className: "text-sm font-medium leading-none text-foreground", children: o }) })
22
+ ]
23
+ }
24
+ ),
25
+ s && /* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ e.jsx("span", { className: "text-xs font-normal leading-none text-muted-foreground whitespace-nowrap", children: s }) })
26
+ ] })
86
27
  );
87
- c.displayName = "FilterDateRangeOption";
88
- const I = y(
28
+ l.displayName = "FilterDateRangeOption";
29
+ const T = b(
89
30
  ({
90
- showCustomFields: s = !1,
91
- onCustomFieldsChange: t,
92
- startDate: a,
93
- endDate: n,
94
- startTime: r = "",
95
- endTime: m = "",
96
- onStartDateChange: l,
97
- onEndDateChange: x,
98
- onStartTimeChange: D,
99
- onEndTimeChange: j,
100
- mode: S = "range",
101
- singleDayLabel: T = "Select date",
102
- showAllTime: A = !1,
103
- className: v,
104
- value: _,
105
- onValueChange: M,
106
- ...L
107
- }, w) => {
108
- const p = $(() => F(), []), O = (d) => {
109
- M?.(d), t?.(d === o.CUSTOM);
110
- }, Y = (d) => {
111
- if (d) {
112
- const h = new Date(d);
113
- h.setHours(0, 0, 0, 0);
114
- const u = new Date(d);
115
- u.setHours(23, 59, 59, 999), l?.(h), x?.(u);
31
+ showCustomFields: o = !1,
32
+ onCustomFieldsChange: s,
33
+ startDate: i,
34
+ endDate: x,
35
+ startTime: t = "",
36
+ endTime: c = "",
37
+ onStartDateChange: r,
38
+ onEndDateChange: d,
39
+ onStartTimeChange: f,
40
+ onEndTimeChange: p,
41
+ mode: h = "range",
42
+ singleDayLabel: w = "Select date",
43
+ showAllTime: R = !1,
44
+ className: C,
45
+ value: j,
46
+ onValueChange: F,
47
+ ...u
48
+ }, P) => {
49
+ const g = (a) => {
50
+ F?.(a), s?.(a === "custom");
51
+ }, J = (a) => {
52
+ if (a) {
53
+ const N = new Date(a);
54
+ N.setHours(0, 0, 0, 0);
55
+ const v = new Date(a);
56
+ v.setHours(23, 59, 59, 999), r?.(N), d?.(v);
116
57
  } else
117
- l?.(void 0), x?.(void 0);
58
+ r?.(void 0), d?.(void 0);
118
59
  };
119
- return /* @__PURE__ */ e.jsx(
60
+ return /* @__PURE__ */ e.jsxs(
120
61
  "div",
121
62
  {
122
- ref: w,
123
- className: N("flex flex-col gap-4 w-full", v),
124
- children: /* @__PURE__ */ e.jsxs(
125
- b,
126
- {
127
- value: _,
128
- onValueChange: O,
129
- ...L,
130
- children: [
131
- /* @__PURE__ */ e.jsx(c, { label: "Custom", value: o.CUSTOM }),
132
- s && /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-4 pl-7", children: [
133
- S === "single" ? /* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-3", children: /* @__PURE__ */ e.jsx(
134
- f,
135
- {
136
- date: a,
137
- onChange: Y,
138
- placeholder: T,
139
- className: "h-9",
140
- iconPosition: "none"
141
- }
142
- ) }) : /* @__PURE__ */ e.jsxs("div", { className: "flex gap-4 items-start w-full", children: [
143
- /* @__PURE__ */ e.jsx("div", { className: "flex-1 flex flex-col gap-3", children: /* @__PURE__ */ e.jsx(
144
- f,
145
- {
146
- date: a,
147
- onChange: l,
148
- placeholder: "Start date",
149
- className: "h-9",
150
- iconPosition: "none"
151
- }
152
- ) }),
153
- /* @__PURE__ */ e.jsx("div", { className: "flex-1 flex flex-col gap-3", children: /* @__PURE__ */ e.jsx(
154
- f,
155
- {
156
- date: n,
157
- onChange: x,
158
- placeholder: "End date",
159
- className: "h-9",
160
- iconPosition: "none"
161
- }
162
- ) })
163
- ] }),
164
- /* @__PURE__ */ e.jsxs("div", { className: "flex gap-4 items-start w-full", children: [
165
- /* @__PURE__ */ e.jsx("div", { className: "flex-1 flex flex-col gap-3", children: /* @__PURE__ */ e.jsx(
166
- g,
167
- {
168
- value: r,
169
- onChange: D,
170
- mode: "dropdown",
171
- use24Hour: !0,
172
- width: "100%"
173
- }
174
- ) }),
175
- /* @__PURE__ */ e.jsx("div", { className: "flex-1 flex flex-col gap-3", children: /* @__PURE__ */ e.jsx(
176
- g,
177
- {
178
- value: m,
179
- onChange: j,
180
- mode: "dropdown",
181
- use24Hour: !0,
182
- width: "100%"
183
- }
184
- ) })
185
- ] })
186
- ] }),
187
- /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-2", children: [
63
+ ref: P,
64
+ className: D("flex flex-col gap-4 w-full", C),
65
+ children: [
66
+ /* @__PURE__ */ e.jsx(
67
+ y,
68
+ {
69
+ value: j,
70
+ onValueChange: g,
71
+ ...u,
72
+ children: /* @__PURE__ */ e.jsx(l, { label: "Custom", value: "custom" })
73
+ }
74
+ ),
75
+ o && /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-4", children: [
76
+ h === "single" ? /* @__PURE__ */ e.jsx("div", { className: "flex flex-col gap-3", children: /* @__PURE__ */ e.jsx(
77
+ m,
78
+ {
79
+ date: i,
80
+ onDateChange: J,
81
+ placeholder: w,
82
+ className: "h-9",
83
+ iconPosition: "none"
84
+ }
85
+ ) }) : /* @__PURE__ */ e.jsxs("div", { className: "flex gap-4 items-start w-full", children: [
86
+ /* @__PURE__ */ e.jsx("div", { className: "flex-1 flex flex-col gap-3", children: /* @__PURE__ */ e.jsx(
87
+ m,
88
+ {
89
+ date: i,
90
+ onDateChange: r,
91
+ placeholder: "Start date",
92
+ className: "h-9",
93
+ iconPosition: "none"
94
+ }
95
+ ) }),
96
+ /* @__PURE__ */ e.jsx("div", { className: "flex-1 flex flex-col gap-3", children: /* @__PURE__ */ e.jsx(
97
+ m,
98
+ {
99
+ date: x,
100
+ onDateChange: d,
101
+ placeholder: "End date",
102
+ className: "h-9",
103
+ iconPosition: "none"
104
+ }
105
+ ) })
106
+ ] }),
107
+ h === "single" ? /* @__PURE__ */ e.jsxs("div", { className: "flex gap-4 items-start w-full", children: [
108
+ /* @__PURE__ */ e.jsx("div", { className: "flex-1 flex flex-col gap-3", children: /* @__PURE__ */ e.jsx(
109
+ n,
110
+ {
111
+ value: t,
112
+ onTimeChange: f,
113
+ placeholder: "10:30:00",
114
+ className: "h-9"
115
+ }
116
+ ) }),
117
+ /* @__PURE__ */ e.jsx("div", { className: "flex-1 flex flex-col gap-3", children: /* @__PURE__ */ e.jsx(
118
+ n,
119
+ {
120
+ value: c,
121
+ onTimeChange: p,
122
+ placeholder: "10:30:00",
123
+ className: "h-9"
124
+ }
125
+ ) })
126
+ ] }) : /* @__PURE__ */ e.jsxs("div", { className: "flex gap-4 items-start w-full", children: [
127
+ /* @__PURE__ */ e.jsx("div", { className: "flex-1 flex flex-col gap-3", children: /* @__PURE__ */ e.jsx(
128
+ n,
129
+ {
130
+ value: t,
131
+ onTimeChange: f,
132
+ placeholder: "10:30:00",
133
+ className: "h-9"
134
+ }
135
+ ) }),
136
+ /* @__PURE__ */ e.jsx("div", { className: "flex-1 flex flex-col gap-3", children: /* @__PURE__ */ e.jsx(
137
+ n,
138
+ {
139
+ value: c,
140
+ onTimeChange: p,
141
+ placeholder: "10:30:00",
142
+ className: "h-9"
143
+ }
144
+ ) })
145
+ ] })
146
+ ] }),
147
+ /* @__PURE__ */ e.jsx(
148
+ y,
149
+ {
150
+ value: j,
151
+ onValueChange: g,
152
+ ...u,
153
+ children: /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-4", children: [
188
154
  /* @__PURE__ */ e.jsx(
189
- c,
155
+ l,
190
156
  {
191
157
  label: "Today",
192
- value: o.TODAY,
193
- description: p.today
158
+ value: "today",
159
+ description: "Today"
194
160
  }
195
161
  ),
196
162
  /* @__PURE__ */ e.jsx(
197
- c,
163
+ l,
198
164
  {
199
165
  label: "Last 3 days",
200
- value: o.LAST_3_DAYS,
201
- description: p.last3Days
166
+ value: "last-3-days",
167
+ description: "Friday, Jan 3"
202
168
  }
203
169
  ),
204
170
  /* @__PURE__ */ e.jsx(
205
- c,
171
+ l,
206
172
  {
207
173
  label: "Last 7 days",
208
- value: o.LAST_7_DAYS,
209
- description: p.last7Days
174
+ value: "last-7-days",
175
+ description: "Dic 29 - Jan 3"
210
176
  }
211
177
  ),
212
178
  /* @__PURE__ */ e.jsx(
213
- c,
179
+ l,
214
180
  {
215
181
  label: "Last 30 days",
216
- value: o.LAST_30_DAYS,
217
- description: p.last30Days
182
+ value: "last-30-days",
183
+ description: "Dic 3 - Jan 3"
218
184
  }
219
185
  ),
220
186
  /* @__PURE__ */ e.jsx(
221
- c,
187
+ l,
222
188
  {
223
189
  label: "This month",
224
- value: o.THIS_MONTH,
225
- description: p.thisMonth
190
+ value: "this-month",
191
+ description: "Jan 2026"
226
192
  }
227
193
  ),
228
- A && /* @__PURE__ */ e.jsx(c, { label: "All time", value: o.ALL_TIME })
194
+ R && /* @__PURE__ */ e.jsx(l, { label: "All time", value: "all-time" })
229
195
  ] })
230
- ]
231
- }
232
- )
196
+ }
197
+ )
198
+ ]
233
199
  }
234
200
  );
235
201
  }
236
202
  );
237
- I.displayName = "FilterDateRange";
203
+ T.displayName = "FilterDateRange";
238
204
  export {
239
- I as FilterDateRange,
240
- c as FilterDateRangeOption,
241
- o as FilterDateRangeValue
205
+ T as FilterDateRange,
206
+ l as FilterDateRangeOption
242
207
  };
@@ -20,8 +20,6 @@ interface FilterSectionItem {
20
20
  value: string;
21
21
  label: string;
22
22
  description?: string;
23
- /** Optional icon URL to display before the label */
24
- icon?: string;
25
23
  }
26
24
  interface FilterSectionPropsBase {
27
25
  title: string;
@@ -52,10 +50,6 @@ interface FilterCheckboxOptionProps {
52
50
  onCheckedChange?: (checked: boolean) => void;
53
51
  description?: string;
54
52
  className?: string;
55
- /** Maximum label length before truncating (default: 14) */
56
- maxLabelLength?: number;
57
- /** Optional icon URL to display before the label */
58
- icon?: string;
59
53
  }
60
54
  declare const FilterCheckboxOption: import('react').ForwardRefExoticComponent<FilterCheckboxOptionProps & import('react').RefAttributes<HTMLButtonElement>>;
61
55
  interface FilterRadioOptionProps {