@pos-360/horizon 0.22.1 → 0.24.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.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkCY7BVG4S_js = require('./chunk-CY7BVG4S.js');
3
+ var chunkGF46A2DX_js = require('./chunk-GF46A2DX.js');
4
4
  var chunkVELIN34G_js = require('./chunk-VELIN34G.js');
5
5
  var chunk5XF7Y25B_js = require('./chunk-5XF7Y25B.js');
6
6
  var chunkR5HAFV6M_js = require('./chunk-R5HAFV6M.js');
@@ -11,395 +11,411 @@ require('./chunk-GGM3MDFM.js');
11
11
 
12
12
  Object.defineProperty(exports, "Button", {
13
13
  enumerable: true,
14
- get: function () { return chunkCY7BVG4S_js.Button; }
14
+ get: function () { return chunkGF46A2DX_js.Button; }
15
15
  });
16
16
  Object.defineProperty(exports, "Card", {
17
17
  enumerable: true,
18
- get: function () { return chunkCY7BVG4S_js.Card; }
18
+ get: function () { return chunkGF46A2DX_js.Card; }
19
19
  });
20
20
  Object.defineProperty(exports, "CardContent", {
21
21
  enumerable: true,
22
- get: function () { return chunkCY7BVG4S_js.CardContent; }
22
+ get: function () { return chunkGF46A2DX_js.CardContent; }
23
23
  });
24
24
  Object.defineProperty(exports, "CardDescription", {
25
25
  enumerable: true,
26
- get: function () { return chunkCY7BVG4S_js.CardDescription; }
26
+ get: function () { return chunkGF46A2DX_js.CardDescription; }
27
27
  });
28
28
  Object.defineProperty(exports, "CardFooter", {
29
29
  enumerable: true,
30
- get: function () { return chunkCY7BVG4S_js.CardFooter; }
30
+ get: function () { return chunkGF46A2DX_js.CardFooter; }
31
31
  });
32
32
  Object.defineProperty(exports, "CardHeader", {
33
33
  enumerable: true,
34
- get: function () { return chunkCY7BVG4S_js.CardHeader; }
34
+ get: function () { return chunkGF46A2DX_js.CardHeader; }
35
35
  });
36
36
  Object.defineProperty(exports, "CardTitle", {
37
37
  enumerable: true,
38
- get: function () { return chunkCY7BVG4S_js.CardTitle; }
38
+ get: function () { return chunkGF46A2DX_js.CardTitle; }
39
39
  });
40
40
  Object.defineProperty(exports, "Checkbox", {
41
41
  enumerable: true,
42
- get: function () { return chunkCY7BVG4S_js.Checkbox; }
42
+ get: function () { return chunkGF46A2DX_js.Checkbox; }
43
43
  });
44
44
  Object.defineProperty(exports, "ColumnSelection", {
45
45
  enumerable: true,
46
- get: function () { return chunkCY7BVG4S_js.ColumnSelection; }
46
+ get: function () { return chunkGF46A2DX_js.ColumnSelection; }
47
+ });
48
+ Object.defineProperty(exports, "DEFAULT_COMPARISON_PERIODS", {
49
+ enumerable: true,
50
+ get: function () { return chunkGF46A2DX_js.DEFAULT_COMPARISON_PERIODS; }
51
+ });
52
+ Object.defineProperty(exports, "DEFAULT_PRESETS", {
53
+ enumerable: true,
54
+ get: function () { return chunkGF46A2DX_js.DEFAULT_PRESETS; }
55
+ });
56
+ Object.defineProperty(exports, "DateRangePicker", {
57
+ enumerable: true,
58
+ get: function () { return chunkGF46A2DX_js.DateRangePicker; }
47
59
  });
48
60
  Object.defineProperty(exports, "Dialog", {
49
61
  enumerable: true,
50
- get: function () { return chunkCY7BVG4S_js.Dialog; }
62
+ get: function () { return chunkGF46A2DX_js.Dialog; }
51
63
  });
52
64
  Object.defineProperty(exports, "DialogClose", {
53
65
  enumerable: true,
54
- get: function () { return chunkCY7BVG4S_js.DialogClose; }
66
+ get: function () { return chunkGF46A2DX_js.DialogClose; }
55
67
  });
56
68
  Object.defineProperty(exports, "DialogContent", {
57
69
  enumerable: true,
58
- get: function () { return chunkCY7BVG4S_js.DialogContent; }
70
+ get: function () { return chunkGF46A2DX_js.DialogContent; }
59
71
  });
60
72
  Object.defineProperty(exports, "DialogDescription", {
61
73
  enumerable: true,
62
- get: function () { return chunkCY7BVG4S_js.DialogDescription; }
74
+ get: function () { return chunkGF46A2DX_js.DialogDescription; }
63
75
  });
64
76
  Object.defineProperty(exports, "DialogFooter", {
65
77
  enumerable: true,
66
- get: function () { return chunkCY7BVG4S_js.DialogFooter; }
78
+ get: function () { return chunkGF46A2DX_js.DialogFooter; }
67
79
  });
68
80
  Object.defineProperty(exports, "DialogHeader", {
69
81
  enumerable: true,
70
- get: function () { return chunkCY7BVG4S_js.DialogHeader; }
82
+ get: function () { return chunkGF46A2DX_js.DialogHeader; }
71
83
  });
72
84
  Object.defineProperty(exports, "DialogOverlay", {
73
85
  enumerable: true,
74
- get: function () { return chunkCY7BVG4S_js.DialogOverlay; }
86
+ get: function () { return chunkGF46A2DX_js.DialogOverlay; }
75
87
  });
76
88
  Object.defineProperty(exports, "DialogPortal", {
77
89
  enumerable: true,
78
- get: function () { return chunkCY7BVG4S_js.DialogPortal; }
90
+ get: function () { return chunkGF46A2DX_js.DialogPortal; }
79
91
  });
80
92
  Object.defineProperty(exports, "DialogTitle", {
81
93
  enumerable: true,
82
- get: function () { return chunkCY7BVG4S_js.DialogTitle; }
94
+ get: function () { return chunkGF46A2DX_js.DialogTitle; }
83
95
  });
84
96
  Object.defineProperty(exports, "DialogTrigger", {
85
97
  enumerable: true,
86
- get: function () { return chunkCY7BVG4S_js.DialogTrigger; }
98
+ get: function () { return chunkGF46A2DX_js.DialogTrigger; }
87
99
  });
88
100
  Object.defineProperty(exports, "DropdownMenu", {
89
101
  enumerable: true,
90
- get: function () { return chunkCY7BVG4S_js.DropdownMenu; }
102
+ get: function () { return chunkGF46A2DX_js.DropdownMenu; }
91
103
  });
92
104
  Object.defineProperty(exports, "DropdownMenuCheckboxItem", {
93
105
  enumerable: true,
94
- get: function () { return chunkCY7BVG4S_js.DropdownMenuCheckboxItem; }
106
+ get: function () { return chunkGF46A2DX_js.DropdownMenuCheckboxItem; }
95
107
  });
96
108
  Object.defineProperty(exports, "DropdownMenuContent", {
97
109
  enumerable: true,
98
- get: function () { return chunkCY7BVG4S_js.DropdownMenuContent; }
110
+ get: function () { return chunkGF46A2DX_js.DropdownMenuContent; }
99
111
  });
100
112
  Object.defineProperty(exports, "DropdownMenuGroup", {
101
113
  enumerable: true,
102
- get: function () { return chunkCY7BVG4S_js.DropdownMenuGroup; }
114
+ get: function () { return chunkGF46A2DX_js.DropdownMenuGroup; }
103
115
  });
104
116
  Object.defineProperty(exports, "DropdownMenuItem", {
105
117
  enumerable: true,
106
- get: function () { return chunkCY7BVG4S_js.DropdownMenuItem; }
118
+ get: function () { return chunkGF46A2DX_js.DropdownMenuItem; }
107
119
  });
108
120
  Object.defineProperty(exports, "DropdownMenuLabel", {
109
121
  enumerable: true,
110
- get: function () { return chunkCY7BVG4S_js.DropdownMenuLabel; }
122
+ get: function () { return chunkGF46A2DX_js.DropdownMenuLabel; }
111
123
  });
112
124
  Object.defineProperty(exports, "DropdownMenuPortal", {
113
125
  enumerable: true,
114
- get: function () { return chunkCY7BVG4S_js.DropdownMenuPortal; }
126
+ get: function () { return chunkGF46A2DX_js.DropdownMenuPortal; }
115
127
  });
116
128
  Object.defineProperty(exports, "DropdownMenuRadioGroup", {
117
129
  enumerable: true,
118
- get: function () { return chunkCY7BVG4S_js.DropdownMenuRadioGroup; }
130
+ get: function () { return chunkGF46A2DX_js.DropdownMenuRadioGroup; }
119
131
  });
120
132
  Object.defineProperty(exports, "DropdownMenuRadioItem", {
121
133
  enumerable: true,
122
- get: function () { return chunkCY7BVG4S_js.DropdownMenuRadioItem; }
134
+ get: function () { return chunkGF46A2DX_js.DropdownMenuRadioItem; }
123
135
  });
124
136
  Object.defineProperty(exports, "DropdownMenuSeparator", {
125
137
  enumerable: true,
126
- get: function () { return chunkCY7BVG4S_js.DropdownMenuSeparator; }
138
+ get: function () { return chunkGF46A2DX_js.DropdownMenuSeparator; }
127
139
  });
128
140
  Object.defineProperty(exports, "DropdownMenuShortcut", {
129
141
  enumerable: true,
130
- get: function () { return chunkCY7BVG4S_js.DropdownMenuShortcut; }
142
+ get: function () { return chunkGF46A2DX_js.DropdownMenuShortcut; }
131
143
  });
132
144
  Object.defineProperty(exports, "DropdownMenuSub", {
133
145
  enumerable: true,
134
- get: function () { return chunkCY7BVG4S_js.DropdownMenuSub; }
146
+ get: function () { return chunkGF46A2DX_js.DropdownMenuSub; }
135
147
  });
136
148
  Object.defineProperty(exports, "DropdownMenuSubContent", {
137
149
  enumerable: true,
138
- get: function () { return chunkCY7BVG4S_js.DropdownMenuSubContent; }
150
+ get: function () { return chunkGF46A2DX_js.DropdownMenuSubContent; }
139
151
  });
140
152
  Object.defineProperty(exports, "DropdownMenuSubTrigger", {
141
153
  enumerable: true,
142
- get: function () { return chunkCY7BVG4S_js.DropdownMenuSubTrigger; }
154
+ get: function () { return chunkGF46A2DX_js.DropdownMenuSubTrigger; }
143
155
  });
144
156
  Object.defineProperty(exports, "DropdownMenuTrigger", {
145
157
  enumerable: true,
146
- get: function () { return chunkCY7BVG4S_js.DropdownMenuTrigger; }
158
+ get: function () { return chunkGF46A2DX_js.DropdownMenuTrigger; }
147
159
  });
148
160
  Object.defineProperty(exports, "Form", {
149
161
  enumerable: true,
150
- get: function () { return chunkCY7BVG4S_js.Form; }
162
+ get: function () { return chunkGF46A2DX_js.Form; }
151
163
  });
152
164
  Object.defineProperty(exports, "FormControl", {
153
165
  enumerable: true,
154
- get: function () { return chunkCY7BVG4S_js.FormControl; }
166
+ get: function () { return chunkGF46A2DX_js.FormControl; }
155
167
  });
156
168
  Object.defineProperty(exports, "FormDescription", {
157
169
  enumerable: true,
158
- get: function () { return chunkCY7BVG4S_js.FormDescription; }
170
+ get: function () { return chunkGF46A2DX_js.FormDescription; }
159
171
  });
160
172
  Object.defineProperty(exports, "FormField", {
161
173
  enumerable: true,
162
- get: function () { return chunkCY7BVG4S_js.FormField; }
174
+ get: function () { return chunkGF46A2DX_js.FormField; }
163
175
  });
164
176
  Object.defineProperty(exports, "FormLabel", {
165
177
  enumerable: true,
166
- get: function () { return chunkCY7BVG4S_js.FormLabel; }
178
+ get: function () { return chunkGF46A2DX_js.FormLabel; }
167
179
  });
168
180
  Object.defineProperty(exports, "FormMessage", {
169
181
  enumerable: true,
170
- get: function () { return chunkCY7BVG4S_js.FormMessage; }
182
+ get: function () { return chunkGF46A2DX_js.FormMessage; }
183
+ });
184
+ Object.defineProperty(exports, "PeriodComparisonSelector", {
185
+ enumerable: true,
186
+ get: function () { return chunkGF46A2DX_js.PeriodComparisonSelector; }
171
187
  });
172
188
  Object.defineProperty(exports, "Popover", {
173
189
  enumerable: true,
174
- get: function () { return chunkCY7BVG4S_js.Popover; }
190
+ get: function () { return chunkGF46A2DX_js.Popover; }
175
191
  });
176
192
  Object.defineProperty(exports, "PopoverAnchor", {
177
193
  enumerable: true,
178
- get: function () { return chunkCY7BVG4S_js.PopoverAnchor; }
194
+ get: function () { return chunkGF46A2DX_js.PopoverAnchor; }
179
195
  });
180
196
  Object.defineProperty(exports, "PopoverContent", {
181
197
  enumerable: true,
182
- get: function () { return chunkCY7BVG4S_js.PopoverContent; }
198
+ get: function () { return chunkGF46A2DX_js.PopoverContent; }
183
199
  });
184
200
  Object.defineProperty(exports, "PopoverTrigger", {
185
201
  enumerable: true,
186
- get: function () { return chunkCY7BVG4S_js.PopoverTrigger; }
202
+ get: function () { return chunkGF46A2DX_js.PopoverTrigger; }
187
203
  });
188
204
  Object.defineProperty(exports, "SegmentedControl", {
189
205
  enumerable: true,
190
- get: function () { return chunkCY7BVG4S_js.SegmentedControl; }
206
+ get: function () { return chunkGF46A2DX_js.SegmentedControl; }
191
207
  });
192
208
  Object.defineProperty(exports, "Select", {
193
209
  enumerable: true,
194
- get: function () { return chunkCY7BVG4S_js.Select; }
210
+ get: function () { return chunkGF46A2DX_js.Select; }
195
211
  });
196
212
  Object.defineProperty(exports, "SelectContent", {
197
213
  enumerable: true,
198
- get: function () { return chunkCY7BVG4S_js.SelectContent; }
214
+ get: function () { return chunkGF46A2DX_js.SelectContent; }
199
215
  });
200
216
  Object.defineProperty(exports, "SelectGroup", {
201
217
  enumerable: true,
202
- get: function () { return chunkCY7BVG4S_js.SelectGroup; }
218
+ get: function () { return chunkGF46A2DX_js.SelectGroup; }
203
219
  });
204
220
  Object.defineProperty(exports, "SelectItem", {
205
221
  enumerable: true,
206
- get: function () { return chunkCY7BVG4S_js.SelectItem; }
222
+ get: function () { return chunkGF46A2DX_js.SelectItem; }
207
223
  });
208
224
  Object.defineProperty(exports, "SelectLabel", {
209
225
  enumerable: true,
210
- get: function () { return chunkCY7BVG4S_js.SelectLabel; }
226
+ get: function () { return chunkGF46A2DX_js.SelectLabel; }
211
227
  });
212
228
  Object.defineProperty(exports, "SelectScrollDownButton", {
213
229
  enumerable: true,
214
- get: function () { return chunkCY7BVG4S_js.SelectScrollDownButton; }
230
+ get: function () { return chunkGF46A2DX_js.SelectScrollDownButton; }
215
231
  });
216
232
  Object.defineProperty(exports, "SelectScrollUpButton", {
217
233
  enumerable: true,
218
- get: function () { return chunkCY7BVG4S_js.SelectScrollUpButton; }
234
+ get: function () { return chunkGF46A2DX_js.SelectScrollUpButton; }
219
235
  });
220
236
  Object.defineProperty(exports, "SelectSeparator", {
221
237
  enumerable: true,
222
- get: function () { return chunkCY7BVG4S_js.SelectSeparator; }
238
+ get: function () { return chunkGF46A2DX_js.SelectSeparator; }
223
239
  });
224
240
  Object.defineProperty(exports, "SelectTrigger", {
225
241
  enumerable: true,
226
- get: function () { return chunkCY7BVG4S_js.SelectTrigger; }
242
+ get: function () { return chunkGF46A2DX_js.SelectTrigger; }
227
243
  });
228
244
  Object.defineProperty(exports, "SelectValue", {
229
245
  enumerable: true,
230
- get: function () { return chunkCY7BVG4S_js.SelectValue; }
246
+ get: function () { return chunkGF46A2DX_js.SelectValue; }
231
247
  });
232
248
  Object.defineProperty(exports, "Separator", {
233
249
  enumerable: true,
234
- get: function () { return chunkCY7BVG4S_js.Separator; }
250
+ get: function () { return chunkGF46A2DX_js.Separator; }
235
251
  });
236
252
  Object.defineProperty(exports, "Skeleton", {
237
253
  enumerable: true,
238
- get: function () { return chunkCY7BVG4S_js.Skeleton; }
254
+ get: function () { return chunkGF46A2DX_js.Skeleton; }
239
255
  });
240
256
  Object.defineProperty(exports, "SkeletonAvatar", {
241
257
  enumerable: true,
242
- get: function () { return chunkCY7BVG4S_js.SkeletonAvatar; }
258
+ get: function () { return chunkGF46A2DX_js.SkeletonAvatar; }
243
259
  });
244
260
  Object.defineProperty(exports, "SkeletonBadge", {
245
261
  enumerable: true,
246
- get: function () { return chunkCY7BVG4S_js.SkeletonBadge; }
262
+ get: function () { return chunkGF46A2DX_js.SkeletonBadge; }
247
263
  });
248
264
  Object.defineProperty(exports, "SkeletonButton", {
249
265
  enumerable: true,
250
- get: function () { return chunkCY7BVG4S_js.SkeletonButton; }
266
+ get: function () { return chunkGF46A2DX_js.SkeletonButton; }
251
267
  });
252
268
  Object.defineProperty(exports, "SkeletonCard", {
253
269
  enumerable: true,
254
- get: function () { return chunkCY7BVG4S_js.SkeletonCard; }
270
+ get: function () { return chunkGF46A2DX_js.SkeletonCard; }
255
271
  });
256
272
  Object.defineProperty(exports, "SkeletonIcon", {
257
273
  enumerable: true,
258
- get: function () { return chunkCY7BVG4S_js.SkeletonIcon; }
274
+ get: function () { return chunkGF46A2DX_js.SkeletonIcon; }
259
275
  });
260
276
  Object.defineProperty(exports, "SkeletonInput", {
261
277
  enumerable: true,
262
- get: function () { return chunkCY7BVG4S_js.SkeletonInput; }
278
+ get: function () { return chunkGF46A2DX_js.SkeletonInput; }
263
279
  });
264
280
  Object.defineProperty(exports, "SkeletonSubtitle", {
265
281
  enumerable: true,
266
- get: function () { return chunkCY7BVG4S_js.SkeletonSubtitle; }
282
+ get: function () { return chunkGF46A2DX_js.SkeletonSubtitle; }
267
283
  });
268
284
  Object.defineProperty(exports, "SkeletonTableRow", {
269
285
  enumerable: true,
270
- get: function () { return chunkCY7BVG4S_js.SkeletonTableRow; }
286
+ get: function () { return chunkGF46A2DX_js.SkeletonTableRow; }
271
287
  });
272
288
  Object.defineProperty(exports, "SkeletonTableRows", {
273
289
  enumerable: true,
274
- get: function () { return chunkCY7BVG4S_js.SkeletonTableRows; }
290
+ get: function () { return chunkGF46A2DX_js.SkeletonTableRows; }
275
291
  });
276
292
  Object.defineProperty(exports, "SkeletonText", {
277
293
  enumerable: true,
278
- get: function () { return chunkCY7BVG4S_js.SkeletonText; }
294
+ get: function () { return chunkGF46A2DX_js.SkeletonText; }
279
295
  });
280
296
  Object.defineProperty(exports, "SkeletonTitle", {
281
297
  enumerable: true,
282
- get: function () { return chunkCY7BVG4S_js.SkeletonTitle; }
298
+ get: function () { return chunkGF46A2DX_js.SkeletonTitle; }
283
299
  });
284
300
  Object.defineProperty(exports, "Switch", {
285
301
  enumerable: true,
286
- get: function () { return chunkCY7BVG4S_js.Switch; }
302
+ get: function () { return chunkGF46A2DX_js.Switch; }
287
303
  });
288
304
  Object.defineProperty(exports, "Table", {
289
305
  enumerable: true,
290
- get: function () { return chunkCY7BVG4S_js.Table; }
306
+ get: function () { return chunkGF46A2DX_js.Table; }
291
307
  });
292
308
  Object.defineProperty(exports, "TableBody", {
293
309
  enumerable: true,
294
- get: function () { return chunkCY7BVG4S_js.TableBody; }
310
+ get: function () { return chunkGF46A2DX_js.TableBody; }
295
311
  });
296
312
  Object.defineProperty(exports, "TableCaption", {
297
313
  enumerable: true,
298
- get: function () { return chunkCY7BVG4S_js.TableCaption; }
314
+ get: function () { return chunkGF46A2DX_js.TableCaption; }
299
315
  });
300
316
  Object.defineProperty(exports, "TableCell", {
301
317
  enumerable: true,
302
- get: function () { return chunkCY7BVG4S_js.TableCell; }
318
+ get: function () { return chunkGF46A2DX_js.TableCell; }
303
319
  });
304
320
  Object.defineProperty(exports, "TableFooter", {
305
321
  enumerable: true,
306
- get: function () { return chunkCY7BVG4S_js.TableFooter; }
322
+ get: function () { return chunkGF46A2DX_js.TableFooter; }
307
323
  });
308
324
  Object.defineProperty(exports, "TableHead", {
309
325
  enumerable: true,
310
- get: function () { return chunkCY7BVG4S_js.TableHead; }
326
+ get: function () { return chunkGF46A2DX_js.TableHead; }
311
327
  });
312
328
  Object.defineProperty(exports, "TableHeader", {
313
329
  enumerable: true,
314
- get: function () { return chunkCY7BVG4S_js.TableHeader; }
330
+ get: function () { return chunkGF46A2DX_js.TableHeader; }
315
331
  });
316
332
  Object.defineProperty(exports, "TableRow", {
317
333
  enumerable: true,
318
- get: function () { return chunkCY7BVG4S_js.TableRow; }
334
+ get: function () { return chunkGF46A2DX_js.TableRow; }
319
335
  });
320
336
  Object.defineProperty(exports, "TableRowCheckbox", {
321
337
  enumerable: true,
322
- get: function () { return chunkCY7BVG4S_js.TableRowCheckbox; }
338
+ get: function () { return chunkGF46A2DX_js.TableRowCheckbox; }
323
339
  });
324
340
  Object.defineProperty(exports, "TableSelectAll", {
325
341
  enumerable: true,
326
- get: function () { return chunkCY7BVG4S_js.TableSelectAll; }
342
+ get: function () { return chunkGF46A2DX_js.TableSelectAll; }
327
343
  });
328
344
  Object.defineProperty(exports, "Tabs", {
329
345
  enumerable: true,
330
- get: function () { return chunkCY7BVG4S_js.Tabs; }
346
+ get: function () { return chunkGF46A2DX_js.Tabs; }
331
347
  });
332
348
  Object.defineProperty(exports, "TabsContent", {
333
349
  enumerable: true,
334
- get: function () { return chunkCY7BVG4S_js.TabsContent; }
350
+ get: function () { return chunkGF46A2DX_js.TabsContent; }
335
351
  });
336
352
  Object.defineProperty(exports, "TabsList", {
337
353
  enumerable: true,
338
- get: function () { return chunkCY7BVG4S_js.TabsList; }
354
+ get: function () { return chunkGF46A2DX_js.TabsList; }
339
355
  });
340
356
  Object.defineProperty(exports, "TabsTrigger", {
341
357
  enumerable: true,
342
- get: function () { return chunkCY7BVG4S_js.TabsTrigger; }
358
+ get: function () { return chunkGF46A2DX_js.TabsTrigger; }
343
359
  });
344
360
  Object.defineProperty(exports, "Textarea", {
345
361
  enumerable: true,
346
- get: function () { return chunkCY7BVG4S_js.Textarea; }
362
+ get: function () { return chunkGF46A2DX_js.Textarea; }
347
363
  });
348
364
  Object.defineProperty(exports, "Toggle", {
349
365
  enumerable: true,
350
- get: function () { return chunkCY7BVG4S_js.Toggle; }
366
+ get: function () { return chunkGF46A2DX_js.Toggle; }
351
367
  });
352
368
  Object.defineProperty(exports, "buttonVariants", {
353
369
  enumerable: true,
354
- get: function () { return chunkCY7BVG4S_js.buttonVariants; }
370
+ get: function () { return chunkGF46A2DX_js.buttonVariants; }
355
371
  });
356
372
  Object.defineProperty(exports, "segmentedControlItemVariants", {
357
373
  enumerable: true,
358
- get: function () { return chunkCY7BVG4S_js.segmentedControlItemVariants; }
374
+ get: function () { return chunkGF46A2DX_js.segmentedControlItemVariants; }
359
375
  });
360
376
  Object.defineProperty(exports, "segmentedControlVariants", {
361
377
  enumerable: true,
362
- get: function () { return chunkCY7BVG4S_js.segmentedControlVariants; }
378
+ get: function () { return chunkGF46A2DX_js.segmentedControlVariants; }
363
379
  });
364
380
  Object.defineProperty(exports, "separatorVariants", {
365
381
  enumerable: true,
366
- get: function () { return chunkCY7BVG4S_js.separatorVariants; }
382
+ get: function () { return chunkGF46A2DX_js.separatorVariants; }
367
383
  });
368
384
  Object.defineProperty(exports, "switchLabelVariants", {
369
385
  enumerable: true,
370
- get: function () { return chunkCY7BVG4S_js.switchLabelVariants; }
386
+ get: function () { return chunkGF46A2DX_js.switchLabelVariants; }
371
387
  });
372
388
  Object.defineProperty(exports, "switchThumbVariants", {
373
389
  enumerable: true,
374
- get: function () { return chunkCY7BVG4S_js.switchThumbVariants; }
390
+ get: function () { return chunkGF46A2DX_js.switchThumbVariants; }
375
391
  });
376
392
  Object.defineProperty(exports, "switchTrackVariants", {
377
393
  enumerable: true,
378
- get: function () { return chunkCY7BVG4S_js.switchTrackVariants; }
394
+ get: function () { return chunkGF46A2DX_js.switchTrackVariants; }
379
395
  });
380
396
  Object.defineProperty(exports, "toggleGroupVariants", {
381
397
  enumerable: true,
382
- get: function () { return chunkCY7BVG4S_js.toggleGroupVariants; }
398
+ get: function () { return chunkGF46A2DX_js.toggleGroupVariants; }
383
399
  });
384
400
  Object.defineProperty(exports, "toggleItemVariants", {
385
401
  enumerable: true,
386
- get: function () { return chunkCY7BVG4S_js.toggleItemVariants; }
402
+ get: function () { return chunkGF46A2DX_js.toggleItemVariants; }
387
403
  });
388
404
  Object.defineProperty(exports, "useColumnVisibility", {
389
405
  enumerable: true,
390
- get: function () { return chunkCY7BVG4S_js.useColumnVisibility; }
406
+ get: function () { return chunkGF46A2DX_js.useColumnVisibility; }
391
407
  });
392
408
  Object.defineProperty(exports, "useFormContext", {
393
409
  enumerable: true,
394
- get: function () { return chunkCY7BVG4S_js.useFormContext; }
410
+ get: function () { return chunkGF46A2DX_js.useFormContext; }
395
411
  });
396
412
  Object.defineProperty(exports, "useFormFieldContext", {
397
413
  enumerable: true,
398
- get: function () { return chunkCY7BVG4S_js.useFormFieldContext; }
414
+ get: function () { return chunkGF46A2DX_js.useFormFieldContext; }
399
415
  });
400
416
  Object.defineProperty(exports, "useTableSelection", {
401
417
  enumerable: true,
402
- get: function () { return chunkCY7BVG4S_js.useTableSelection; }
418
+ get: function () { return chunkGF46A2DX_js.useTableSelection; }
403
419
  });
404
420
  Object.defineProperty(exports, "AnimatedButton", {
405
421
  enumerable: true,
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ColumnSelection, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormLabel, FormMessage, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, SegmentedControl, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonButton, SkeletonCard, SkeletonIcon, SkeletonInput, SkeletonSubtitle, SkeletonTableRow, SkeletonTableRows, SkeletonText, SkeletonTitle, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableRowCheckbox, TableSelectAll, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toggle, buttonVariants, segmentedControlItemVariants, segmentedControlVariants, separatorVariants, switchLabelVariants, switchThumbVariants, switchTrackVariants, toggleGroupVariants, toggleItemVariants, useColumnVisibility, useFormContext, useFormFieldContext, useTableSelection } from './chunk-K67HDQZ5.mjs';
1
+ export { Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ColumnSelection, DEFAULT_COMPARISON_PERIODS, DEFAULT_PRESETS, DateRangePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormLabel, FormMessage, PeriodComparisonSelector, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, SegmentedControl, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonButton, SkeletonCard, SkeletonIcon, SkeletonInput, SkeletonSubtitle, SkeletonTableRow, SkeletonTableRows, SkeletonText, SkeletonTitle, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableRowCheckbox, TableSelectAll, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toggle, buttonVariants, segmentedControlItemVariants, segmentedControlVariants, separatorVariants, switchLabelVariants, switchThumbVariants, switchTrackVariants, toggleGroupVariants, toggleItemVariants, useColumnVisibility, useFormContext, useFormFieldContext, useTableSelection } from './chunk-252FLGXZ.mjs';
2
2
  export { AnimatedButton, ChartRenderer, CompactPanel, Dashboard, DashboardPanel, Globe, Input, LargePanel, MediumPanel, Moon, Orbit, Rocket, SideNav, SideNavFooter, SideNavHeader, SideNavItem, SideNavSection, Sparkles, Star, StatDisplay, TableRenderer, TemplateSelector, TextButton, Toast, useDashboardContext, useSideNavContext } from './chunk-3TY2CM2C.mjs';
3
3
  export { Badge, Caption, Code, Heading, Label, Text, Tooltip, badgeVariants, captionVariants, cn, codeVariants, headingVariants, labelVariants, textVariants } from './chunk-UQ66UPWH.mjs';
4
4
  export { ArrowRightIcon, CheckIcon, PlusIcon, SendIcon, TrashIcon } from './chunk-2B2BWI5A.mjs';
@@ -458,4 +458,49 @@ interface CodeProps extends Omit<React.HTMLAttributes<HTMLElement>, "color">, Va
458
458
  }
459
459
  declare const Code: React.ForwardRefExoticComponent<CodeProps & React.RefAttributes<HTMLElement>>;
460
460
 
461
- export { type ActionColumn, Badge, type BadgeProps, Button, type ButtonProps, Caption, type CaptionProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Code, type CodeProps, type ColumnDef, ColumnSelection, type ColumnSelectionProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, Heading, type HeadingProps, Label, type LabelProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SegmentedControlRadius, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, type SeparatorProps, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonButton, SkeletonCard, SkeletonIcon, SkeletonInput, SkeletonSubtitle, SkeletonTableRow, SkeletonTableRows, SkeletonText, SkeletonTitle, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, type TableCellProps, TableFooter, TableHead, TableHeader, TableRow, TableRowCheckbox, TableSelectAll, Tabs, TabsContent, TabsList, TabsTrigger, type TabsVariant, Text, type TextProps, Textarea, type TextareaProps, Toggle, type ToggleOption, type ToggleProps, type ToggleRadius, badgeVariants, buttonVariants, captionVariants, codeVariants, headingVariants, labelVariants, segmentedControlItemVariants, segmentedControlVariants, separatorVariants, switchLabelVariants, switchThumbVariants, switchTrackVariants, textVariants, toggleGroupVariants, toggleItemVariants, useColumnVisibility, useFormContext, useFormFieldContext, useTableSelection };
461
+ interface DateRange {
462
+ from: Date | undefined;
463
+ to: Date | undefined;
464
+ }
465
+ interface PresetOption {
466
+ label: string;
467
+ getRange: () => DateRange;
468
+ }
469
+ interface DateRangePickerProps {
470
+ value?: DateRange;
471
+ onChange?: (range: DateRange | undefined) => void;
472
+ presets?: PresetOption[];
473
+ placeholder?: string;
474
+ disabled?: boolean;
475
+ align?: "start" | "center" | "end";
476
+ className?: string;
477
+ }
478
+ declare const DEFAULT_PRESETS: PresetOption[];
479
+ declare function DateRangePicker({ value, onChange, presets, placeholder, disabled, align, className, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
480
+
481
+ interface ComparisonPeriod {
482
+ /** Unique key for this option */
483
+ key: string;
484
+ /** Display label */
485
+ label: string;
486
+ /** Returns the comparison date range */
487
+ getRange: () => {
488
+ from: Date;
489
+ to: Date;
490
+ };
491
+ }
492
+ interface PeriodComparisonSelectorProps {
493
+ value?: string;
494
+ onChange?: (key: string, period: ComparisonPeriod) => void;
495
+ options?: ComparisonPeriod[];
496
+ /** Force a specific mode instead of auto-switching */
497
+ mode?: "segmented" | "select";
498
+ size?: "sm" | "default" | "lg";
499
+ placeholder?: string;
500
+ disabled?: boolean;
501
+ className?: string;
502
+ }
503
+ declare const DEFAULT_COMPARISON_PERIODS: ComparisonPeriod[];
504
+ declare function PeriodComparisonSelector({ value, onChange, options, mode, size, placeholder, disabled, className, }: PeriodComparisonSelectorProps): react_jsx_runtime.JSX.Element;
505
+
506
+ export { type ActionColumn, Badge, type BadgeProps, Button, type ButtonProps, Caption, type CaptionProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Code, type CodeProps, type ColumnDef, ColumnSelection, type ColumnSelectionProps, type ComparisonPeriod, DEFAULT_COMPARISON_PERIODS, DEFAULT_PRESETS, type DateRange, DateRangePicker, type DateRangePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, Heading, type HeadingProps, Label, type LabelProps, PeriodComparisonSelector, type PeriodComparisonSelectorProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PresetOption, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SegmentedControlRadius, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, type SeparatorProps, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonButton, SkeletonCard, SkeletonIcon, SkeletonInput, SkeletonSubtitle, SkeletonTableRow, SkeletonTableRows, SkeletonText, SkeletonTitle, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, type TableCellProps, TableFooter, TableHead, TableHeader, TableRow, TableRowCheckbox, TableSelectAll, Tabs, TabsContent, TabsList, TabsTrigger, type TabsVariant, Text, type TextProps, Textarea, type TextareaProps, Toggle, type ToggleOption, type ToggleProps, type ToggleRadius, badgeVariants, buttonVariants, captionVariants, codeVariants, headingVariants, labelVariants, segmentedControlItemVariants, segmentedControlVariants, separatorVariants, switchLabelVariants, switchThumbVariants, switchTrackVariants, textVariants, toggleGroupVariants, toggleItemVariants, useColumnVisibility, useFormContext, useFormFieldContext, useTableSelection };
@@ -458,4 +458,49 @@ interface CodeProps extends Omit<React.HTMLAttributes<HTMLElement>, "color">, Va
458
458
  }
459
459
  declare const Code: React.ForwardRefExoticComponent<CodeProps & React.RefAttributes<HTMLElement>>;
460
460
 
461
- export { type ActionColumn, Badge, type BadgeProps, Button, type ButtonProps, Caption, type CaptionProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Code, type CodeProps, type ColumnDef, ColumnSelection, type ColumnSelectionProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, Heading, type HeadingProps, Label, type LabelProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SegmentedControlRadius, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, type SeparatorProps, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonButton, SkeletonCard, SkeletonIcon, SkeletonInput, SkeletonSubtitle, SkeletonTableRow, SkeletonTableRows, SkeletonText, SkeletonTitle, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, type TableCellProps, TableFooter, TableHead, TableHeader, TableRow, TableRowCheckbox, TableSelectAll, Tabs, TabsContent, TabsList, TabsTrigger, type TabsVariant, Text, type TextProps, Textarea, type TextareaProps, Toggle, type ToggleOption, type ToggleProps, type ToggleRadius, badgeVariants, buttonVariants, captionVariants, codeVariants, headingVariants, labelVariants, segmentedControlItemVariants, segmentedControlVariants, separatorVariants, switchLabelVariants, switchThumbVariants, switchTrackVariants, textVariants, toggleGroupVariants, toggleItemVariants, useColumnVisibility, useFormContext, useFormFieldContext, useTableSelection };
461
+ interface DateRange {
462
+ from: Date | undefined;
463
+ to: Date | undefined;
464
+ }
465
+ interface PresetOption {
466
+ label: string;
467
+ getRange: () => DateRange;
468
+ }
469
+ interface DateRangePickerProps {
470
+ value?: DateRange;
471
+ onChange?: (range: DateRange | undefined) => void;
472
+ presets?: PresetOption[];
473
+ placeholder?: string;
474
+ disabled?: boolean;
475
+ align?: "start" | "center" | "end";
476
+ className?: string;
477
+ }
478
+ declare const DEFAULT_PRESETS: PresetOption[];
479
+ declare function DateRangePicker({ value, onChange, presets, placeholder, disabled, align, className, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
480
+
481
+ interface ComparisonPeriod {
482
+ /** Unique key for this option */
483
+ key: string;
484
+ /** Display label */
485
+ label: string;
486
+ /** Returns the comparison date range */
487
+ getRange: () => {
488
+ from: Date;
489
+ to: Date;
490
+ };
491
+ }
492
+ interface PeriodComparisonSelectorProps {
493
+ value?: string;
494
+ onChange?: (key: string, period: ComparisonPeriod) => void;
495
+ options?: ComparisonPeriod[];
496
+ /** Force a specific mode instead of auto-switching */
497
+ mode?: "segmented" | "select";
498
+ size?: "sm" | "default" | "lg";
499
+ placeholder?: string;
500
+ disabled?: boolean;
501
+ className?: string;
502
+ }
503
+ declare const DEFAULT_COMPARISON_PERIODS: ComparisonPeriod[];
504
+ declare function PeriodComparisonSelector({ value, onChange, options, mode, size, placeholder, disabled, className, }: PeriodComparisonSelectorProps): react_jsx_runtime.JSX.Element;
505
+
506
+ export { type ActionColumn, Badge, type BadgeProps, Button, type ButtonProps, Caption, type CaptionProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Code, type CodeProps, type ColumnDef, ColumnSelection, type ColumnSelectionProps, type ComparisonPeriod, DEFAULT_COMPARISON_PERIODS, DEFAULT_PRESETS, type DateRange, DateRangePicker, type DateRangePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, Heading, type HeadingProps, Label, type LabelProps, PeriodComparisonSelector, type PeriodComparisonSelectorProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PresetOption, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SegmentedControlRadius, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, type SeparatorProps, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonButton, SkeletonCard, SkeletonIcon, SkeletonInput, SkeletonSubtitle, SkeletonTableRow, SkeletonTableRows, SkeletonText, SkeletonTitle, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, type TableCellProps, TableFooter, TableHead, TableHeader, TableRow, TableRowCheckbox, TableSelectAll, Tabs, TabsContent, TabsList, TabsTrigger, type TabsVariant, Text, type TextProps, Textarea, type TextareaProps, Toggle, type ToggleOption, type ToggleProps, type ToggleRadius, badgeVariants, buttonVariants, captionVariants, codeVariants, headingVariants, labelVariants, segmentedControlItemVariants, segmentedControlVariants, separatorVariants, switchLabelVariants, switchThumbVariants, switchTrackVariants, textVariants, toggleGroupVariants, toggleItemVariants, useColumnVisibility, useFormContext, useFormFieldContext, useTableSelection };