@pos-360/horizon 0.15.0 → 0.16.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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkYO72COII_js = require('./chunk-YO72COII.js');
3
+ var chunk7WVGPVSG_js = require('./chunk-7WVGPVSG.js');
4
4
  var React9 = require('react');
5
5
  var reactSlot = require('@radix-ui/react-slot');
6
6
  var classVarianceAuthority = require('class-variance-authority');
@@ -87,7 +87,7 @@ var Button = React9__namespace.forwardRef(
87
87
  return /* @__PURE__ */ jsxRuntime.jsx(
88
88
  Comp,
89
89
  {
90
- className: chunkYO72COII_js.cn(buttonVariants({ variant, size, className })),
90
+ className: chunk7WVGPVSG_js.cn(buttonVariants({ variant, size, className })),
91
91
  ref,
92
92
  ...props,
93
93
  children
@@ -98,7 +98,7 @@ var Button = React9__namespace.forwardRef(
98
98
  return /* @__PURE__ */ jsxRuntime.jsxs(
99
99
  Comp,
100
100
  {
101
- className: chunkYO72COII_js.cn(buttonVariants({ variant, size, className })),
101
+ className: chunk7WVGPVSG_js.cn(buttonVariants({ variant, size, className })),
102
102
  ref,
103
103
  ...props,
104
104
  children: [
@@ -115,7 +115,7 @@ var Card = React9__namespace.forwardRef(({ className, ...props }, ref) => /* @__
115
115
  "div",
116
116
  {
117
117
  ref,
118
- className: chunkYO72COII_js.cn(
118
+ className: chunk7WVGPVSG_js.cn(
119
119
  "rounded-hz-lg border border-gray-200 bg-white text-gray-900 shadow dark:border-neutral-700 dark:bg-neutral-800 dark:text-gray-100",
120
120
  className
121
121
  ),
@@ -127,7 +127,7 @@ var CardHeader = React9__namespace.forwardRef(({ className, ...props }, ref) =>
127
127
  "div",
128
128
  {
129
129
  ref,
130
- className: chunkYO72COII_js.cn("flex flex-col space-y-1.5 p-4", className),
130
+ className: chunk7WVGPVSG_js.cn("flex flex-col space-y-1.5 p-4", className),
131
131
  ...props
132
132
  }
133
133
  ));
@@ -136,7 +136,7 @@ var CardTitle = React9__namespace.forwardRef(({ className, ...props }, ref) => /
136
136
  "div",
137
137
  {
138
138
  ref,
139
- className: chunkYO72COII_js.cn("font-semibold leading-none tracking-tight", className),
139
+ className: chunk7WVGPVSG_js.cn("font-semibold leading-none tracking-tight", className),
140
140
  ...props
141
141
  }
142
142
  ));
@@ -145,7 +145,7 @@ var CardDescription = React9__namespace.forwardRef(({ className, ...props }, ref
145
145
  "div",
146
146
  {
147
147
  ref,
148
- className: chunkYO72COII_js.cn("text-sm text-gray-500 dark:text-gray-400", className),
148
+ className: chunk7WVGPVSG_js.cn("text-sm text-gray-500 dark:text-gray-400", className),
149
149
  ...props
150
150
  }
151
151
  ));
@@ -154,7 +154,7 @@ var CardContent = React9__namespace.forwardRef(({ className, ...props }, ref) =>
154
154
  "div",
155
155
  {
156
156
  ref,
157
- className: chunkYO72COII_js.cn("p-4 pt-0", className),
157
+ className: chunk7WVGPVSG_js.cn("p-4 pt-0", className),
158
158
  ...props
159
159
  }
160
160
  ));
@@ -163,7 +163,7 @@ var CardFooter = React9__namespace.forwardRef(({ className, ...props }, ref) =>
163
163
  "div",
164
164
  {
165
165
  ref,
166
- className: chunkYO72COII_js.cn("flex items-center p-4 pt-0", className),
166
+ className: chunk7WVGPVSG_js.cn("flex items-center p-4 pt-0", className),
167
167
  ...props
168
168
  }
169
169
  ));
@@ -172,7 +172,7 @@ var Checkbox = React9__namespace.forwardRef(({ className, ...props }, ref) => /*
172
172
  CheckboxPrimitive__namespace.Root,
173
173
  {
174
174
  ref,
175
- className: chunkYO72COII_js.cn(
175
+ className: chunk7WVGPVSG_js.cn(
176
176
  "peer h-4 w-4 shrink-0 rounded-hz-sm border border-gray-300 bg-transparent shadow focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-600 data-[state=checked]:border-blue-600 data-[state=checked]:text-white dark:border-neutral-600 dark:data-[state=checked]:bg-blue-600",
177
177
  className
178
178
  ),
@@ -180,7 +180,7 @@ var Checkbox = React9__namespace.forwardRef(({ className, ...props }, ref) => /*
180
180
  children: /* @__PURE__ */ jsxRuntime.jsx(
181
181
  CheckboxPrimitive__namespace.Indicator,
182
182
  {
183
- className: chunkYO72COII_js.cn("flex items-center justify-center text-current"),
183
+ className: chunk7WVGPVSG_js.cn("flex items-center justify-center text-current"),
184
184
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "h-3.5 w-3.5", strokeWidth: 3 })
185
185
  }
186
186
  )
@@ -195,7 +195,7 @@ var DialogOverlay = React9__namespace.forwardRef(({ className, ...props }, ref)
195
195
  DialogPrimitive__namespace.Overlay,
196
196
  {
197
197
  ref,
198
- className: chunkYO72COII_js.cn(
198
+ className: chunk7WVGPVSG_js.cn(
199
199
  "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
200
200
  className
201
201
  ),
@@ -209,7 +209,7 @@ var DialogContent = React9__namespace.forwardRef(({ className, children, ...prop
209
209
  DialogPrimitive__namespace.Content,
210
210
  {
211
211
  ref,
212
- className: chunkYO72COII_js.cn(
212
+ className: chunk7WVGPVSG_js.cn(
213
213
  "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-gray-200 bg-white p-6 shadow-lg duration-hz-normal data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-hz-lg dark:border-neutral-700 dark:bg-neutral-800",
214
214
  className
215
215
  ),
@@ -231,7 +231,7 @@ var DialogHeader = ({
231
231
  }) => /* @__PURE__ */ jsxRuntime.jsx(
232
232
  "div",
233
233
  {
234
- className: chunkYO72COII_js.cn(
234
+ className: chunk7WVGPVSG_js.cn(
235
235
  "flex flex-col space-y-1.5 text-center sm:text-left",
236
236
  className
237
237
  ),
@@ -245,7 +245,7 @@ var DialogFooter = ({
245
245
  }) => /* @__PURE__ */ jsxRuntime.jsx(
246
246
  "div",
247
247
  {
248
- className: chunkYO72COII_js.cn(
248
+ className: chunk7WVGPVSG_js.cn(
249
249
  "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
250
250
  className
251
251
  ),
@@ -257,7 +257,7 @@ var DialogTitle = React9__namespace.forwardRef(({ className, ...props }, ref) =>
257
257
  DialogPrimitive__namespace.Title,
258
258
  {
259
259
  ref,
260
- className: chunkYO72COII_js.cn(
260
+ className: chunk7WVGPVSG_js.cn(
261
261
  "text-lg font-semibold leading-none tracking-tight text-gray-900 dark:text-gray-100",
262
262
  className
263
263
  ),
@@ -269,7 +269,7 @@ var DialogDescription = React9__namespace.forwardRef(({ className, ...props }, r
269
269
  DialogPrimitive__namespace.Description,
270
270
  {
271
271
  ref,
272
- className: chunkYO72COII_js.cn("text-sm text-gray-500 dark:text-gray-400", className),
272
+ className: chunk7WVGPVSG_js.cn("text-sm text-gray-500 dark:text-gray-400", className),
273
273
  ...props
274
274
  }
275
275
  ));
@@ -284,7 +284,7 @@ var DropdownMenuSubTrigger = React9__namespace.forwardRef(({ className, inset, c
284
284
  DropdownMenuPrimitive__namespace.SubTrigger,
285
285
  {
286
286
  ref,
287
- className: chunkYO72COII_js.cn(
287
+ className: chunk7WVGPVSG_js.cn(
288
288
  "flex cursor-default select-none items-center gap-2 rounded-hz-sm px-2 py-1.5 text-sm outline-none focus:bg-gray-100 data-[state=open]:bg-gray-100 dark:focus:bg-gray-700 dark:data-[state=open]:bg-gray-700 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
289
289
  inset && "pl-8",
290
290
  className
@@ -301,7 +301,7 @@ var DropdownMenuSubContent = React9__namespace.forwardRef(({ className, ...props
301
301
  DropdownMenuPrimitive__namespace.SubContent,
302
302
  {
303
303
  ref,
304
- className: chunkYO72COII_js.cn(
304
+ className: chunk7WVGPVSG_js.cn(
305
305
  "z-50 min-w-[8rem] overflow-hidden rounded-hz-md border border-gray-200 bg-white p-1 text-gray-900 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin] dark:border-neutral-700 dark:bg-neutral-800 dark:text-gray-100",
306
306
  className
307
307
  ),
@@ -314,7 +314,7 @@ var DropdownMenuContent = React9__namespace.forwardRef(({ className, sideOffset
314
314
  {
315
315
  ref,
316
316
  sideOffset,
317
- className: chunkYO72COII_js.cn(
317
+ className: chunk7WVGPVSG_js.cn(
318
318
  "z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-hz-md border border-gray-200 bg-white p-1 text-gray-900 shadow-md dark:border-neutral-700 dark:bg-neutral-800 dark:text-gray-100",
319
319
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",
320
320
  className
@@ -327,7 +327,7 @@ var DropdownMenuItem = React9__namespace.forwardRef(({ className, inset, ...prop
327
327
  DropdownMenuPrimitive__namespace.Item,
328
328
  {
329
329
  ref,
330
- className: chunkYO72COII_js.cn(
330
+ className: chunk7WVGPVSG_js.cn(
331
331
  "relative flex cursor-default select-none items-center gap-2 rounded-hz-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-gray-700 dark:focus:text-gray-100 [&>svg]:size-4 [&>svg]:shrink-0",
332
332
  inset && "pl-8",
333
333
  className
@@ -340,7 +340,7 @@ var DropdownMenuCheckboxItem = React9__namespace.forwardRef(({ className, childr
340
340
  DropdownMenuPrimitive__namespace.CheckboxItem,
341
341
  {
342
342
  ref,
343
- className: chunkYO72COII_js.cn(
343
+ className: chunk7WVGPVSG_js.cn(
344
344
  "relative flex cursor-default select-none items-center rounded-hz-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-gray-700 dark:focus:text-gray-100",
345
345
  className
346
346
  ),
@@ -357,7 +357,7 @@ var DropdownMenuRadioItem = React9__namespace.forwardRef(({ className, children,
357
357
  DropdownMenuPrimitive__namespace.RadioItem,
358
358
  {
359
359
  ref,
360
- className: chunkYO72COII_js.cn(
360
+ className: chunk7WVGPVSG_js.cn(
361
361
  "relative flex cursor-default select-none items-center rounded-hz-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-gray-700 dark:focus:text-gray-100",
362
362
  className
363
363
  ),
@@ -373,7 +373,7 @@ var DropdownMenuLabel = React9__namespace.forwardRef(({ className, inset, ...pro
373
373
  DropdownMenuPrimitive__namespace.Label,
374
374
  {
375
375
  ref,
376
- className: chunkYO72COII_js.cn(
376
+ className: chunk7WVGPVSG_js.cn(
377
377
  "px-2 py-1.5 text-sm font-semibold",
378
378
  inset && "pl-8",
379
379
  className
@@ -386,7 +386,7 @@ var DropdownMenuSeparator = React9__namespace.forwardRef(({ className, ...props
386
386
  DropdownMenuPrimitive__namespace.Separator,
387
387
  {
388
388
  ref,
389
- className: chunkYO72COII_js.cn("-mx-1 my-1 h-px bg-gray-100 dark:bg-neutral-700", className),
389
+ className: chunk7WVGPVSG_js.cn("-mx-1 my-1 h-px bg-gray-100 dark:bg-neutral-700", className),
390
390
  ...props
391
391
  }
392
392
  ));
@@ -398,7 +398,7 @@ var DropdownMenuShortcut = ({
398
398
  return /* @__PURE__ */ jsxRuntime.jsx(
399
399
  "span",
400
400
  {
401
- className: chunkYO72COII_js.cn("ml-auto text-xs tracking-widest opacity-60", className),
401
+ className: chunk7WVGPVSG_js.cn("ml-auto text-xs tracking-widest opacity-60", className),
402
402
  ...props
403
403
  }
404
404
  );
@@ -475,7 +475,7 @@ var Form = React9__namespace.forwardRef(
475
475
  "form",
476
476
  {
477
477
  ref,
478
- className: chunkYO72COII_js.cn("space-y-6", className),
478
+ className: chunk7WVGPVSG_js.cn("space-y-6", className),
479
479
  onSubmit: handleSubmit,
480
480
  ...props,
481
481
  children
@@ -493,18 +493,18 @@ var FormField = React9__namespace.forwardRef(
493
493
  () => ({ name, error, id }),
494
494
  [name, error, id]
495
495
  );
496
- return /* @__PURE__ */ jsxRuntime.jsx(FormFieldContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: chunkYO72COII_js.cn("space-y-2", className), ...props, children }) });
496
+ return /* @__PURE__ */ jsxRuntime.jsx(FormFieldContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: chunk7WVGPVSG_js.cn("space-y-2", className), ...props, children }) });
497
497
  }
498
498
  );
499
499
  FormField.displayName = "FormField";
500
500
  var FormLabel = React9__namespace.forwardRef(({ className, ...props }, ref) => {
501
501
  const { id, error } = useFormFieldContext();
502
502
  return /* @__PURE__ */ jsxRuntime.jsx(
503
- chunkYO72COII_js.Label,
503
+ chunk7WVGPVSG_js.Label,
504
504
  {
505
505
  ref,
506
506
  htmlFor: id,
507
- className: chunkYO72COII_js.cn(error && "text-rose-500 dark:text-rose-400", className),
507
+ className: chunk7WVGPVSG_js.cn(error && "text-rose-500 dark:text-rose-400", className),
508
508
  ...props
509
509
  }
510
510
  );
@@ -530,7 +530,7 @@ var FormDescription = React9__namespace.forwardRef(
530
530
  "span",
531
531
  {
532
532
  ref,
533
- className: chunkYO72COII_js.cn(
533
+ className: chunk7WVGPVSG_js.cn(
534
534
  "block text-sm text-neutral-500 dark:text-neutral-400",
535
535
  className
536
536
  ),
@@ -553,7 +553,7 @@ var FormMessage = React9__namespace.forwardRef(
553
553
  {
554
554
  ref,
555
555
  id: id ? `${id}-error` : void 0,
556
- className: chunkYO72COII_js.cn(
556
+ className: chunk7WVGPVSG_js.cn(
557
557
  "text-sm font-medium",
558
558
  error ? "text-rose-500 dark:text-rose-400" : "text-neutral-600 dark:text-neutral-400",
559
559
  className
@@ -644,7 +644,7 @@ var PopoverContent = React9__namespace.forwardRef(({ className, align = "center"
644
644
  damping: 25,
645
645
  mass: 0.8
646
646
  },
647
- className: chunkYO72COII_js.cn(
647
+ className: chunk7WVGPVSG_js.cn(
648
648
  "z-50 w-72 rounded-hz-lg border border-white/20 bg-white/80 backdrop-blur-xl p-4 text-gray-900 shadow-lg outline-none dark:border-neutral-700/50 dark:bg-neutral-900/80 dark:text-neutral-100 origin-[--radix-popover-content-transform-origin]",
649
649
  className
650
650
  ),
@@ -689,7 +689,7 @@ var SelectTrigger = React9__namespace.forwardRef(({ className, children, ...prop
689
689
  SelectPrimitive__namespace.Trigger,
690
690
  {
691
691
  ref,
692
- className: chunkYO72COII_js.cn(
692
+ className: chunk7WVGPVSG_js.cn(
693
693
  "flex h-[52px] w-full items-center justify-between rounded-hz-md border border-gray-300 bg-white px-4 py-2 text-sm text-gray-900 placeholder:text-gray-400 focus:outline-none focus:ring-0 disabled:cursor-not-allowed disabled:opacity-50 dark:border-neutral-600 dark:bg-neutral-800 dark:text-gray-100 dark:placeholder:text-gray-500 [&>span]:line-clamp-1",
694
694
  className
695
695
  ),
@@ -705,7 +705,7 @@ var SelectScrollUpButton = React9__namespace.forwardRef(({ className, ...props }
705
705
  SelectPrimitive__namespace.ScrollUpButton,
706
706
  {
707
707
  ref,
708
- className: chunkYO72COII_js.cn(
708
+ className: chunk7WVGPVSG_js.cn(
709
709
  "flex cursor-default items-center justify-center py-1",
710
710
  className
711
711
  ),
@@ -718,7 +718,7 @@ var SelectScrollDownButton = React9__namespace.forwardRef(({ className, ...props
718
718
  SelectPrimitive__namespace.ScrollDownButton,
719
719
  {
720
720
  ref,
721
- className: chunkYO72COII_js.cn(
721
+ className: chunk7WVGPVSG_js.cn(
722
722
  "flex cursor-default items-center justify-center py-1",
723
723
  className
724
724
  ),
@@ -788,7 +788,7 @@ var SelectContent = React9__namespace.forwardRef(({ className, children, positio
788
788
  damping: 25,
789
789
  mass: 0.8
790
790
  },
791
- className: chunkYO72COII_js.cn(
791
+ className: chunk7WVGPVSG_js.cn(
792
792
  "relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-hidden rounded-hz-lg border border-white/20 bg-white/80 backdrop-blur-xl text-gray-900 shadow-lg dark:border-neutral-700/50 dark:bg-neutral-900/80 dark:text-gray-100 origin-[--radix-select-content-transform-origin]",
793
793
  position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
794
794
  className
@@ -813,7 +813,7 @@ var SelectContent = React9__namespace.forwardRef(({ className, children, positio
813
813
  /* @__PURE__ */ jsxRuntime.jsx(
814
814
  SelectPrimitive__namespace.Viewport,
815
815
  {
816
- className: chunkYO72COII_js.cn(
816
+ className: chunk7WVGPVSG_js.cn(
817
817
  "p-1",
818
818
  position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
819
819
  ),
@@ -833,7 +833,7 @@ var SelectLabel = React9__namespace.forwardRef(({ className, ...props }, ref) =>
833
833
  SelectPrimitive__namespace.Label,
834
834
  {
835
835
  ref,
836
- className: chunkYO72COII_js.cn("px-2 py-1.5 text-sm font-semibold", className),
836
+ className: chunk7WVGPVSG_js.cn("px-2 py-1.5 text-sm font-semibold", className),
837
837
  ...props
838
838
  }
839
839
  ));
@@ -849,7 +849,7 @@ var SelectItem = React9__namespace.forwardRef(({ className, children, textValue,
849
849
  {
850
850
  ref,
851
851
  textValue,
852
- className: chunkYO72COII_js.cn(
852
+ className: chunk7WVGPVSG_js.cn(
853
853
  "relative flex w-full cursor-default select-none items-center rounded-hz-md py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-black/5 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-white/10 dark:focus:text-gray-100 transition-colors",
854
854
  className
855
855
  ),
@@ -866,7 +866,7 @@ var SelectSeparator = React9__namespace.forwardRef(({ className, ...props }, ref
866
866
  SelectPrimitive__namespace.Separator,
867
867
  {
868
868
  ref,
869
- className: chunkYO72COII_js.cn("-mx-1 my-1 h-px bg-gray-200/50 dark:bg-neutral-700/50", className),
869
+ className: chunk7WVGPVSG_js.cn("-mx-1 my-1 h-px bg-gray-200/50 dark:bg-neutral-700/50", className),
870
870
  ...props
871
871
  }
872
872
  ));
@@ -893,7 +893,7 @@ function Separator3({
893
893
  {
894
894
  role: decorative ? "none" : "separator",
895
895
  "aria-orientation": decorative ? void 0 : orientation ?? void 0,
896
- className: chunkYO72COII_js.cn(separatorVariants({ orientation }), className),
896
+ className: chunk7WVGPVSG_js.cn(separatorVariants({ orientation }), className),
897
897
  ...props
898
898
  }
899
899
  );
@@ -902,7 +902,7 @@ function Skeleton({ className }) {
902
902
  return /* @__PURE__ */ jsxRuntime.jsx(
903
903
  "div",
904
904
  {
905
- className: chunkYO72COII_js.cn(
905
+ className: chunk7WVGPVSG_js.cn(
906
906
  "animate-pulse rounded-hz-md bg-neutral-200 dark:bg-neutral-800",
907
907
  className
908
908
  )
@@ -910,28 +910,28 @@ function Skeleton({ className }) {
910
910
  );
911
911
  }
912
912
  function SkeletonText({ className }) {
913
- return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunkYO72COII_js.cn("h-4", className) });
913
+ return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunk7WVGPVSG_js.cn("h-4", className) });
914
914
  }
915
915
  function SkeletonTitle({ className }) {
916
- return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunkYO72COII_js.cn("h-6 w-48", className) });
916
+ return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunk7WVGPVSG_js.cn("h-6 w-48", className) });
917
917
  }
918
918
  function SkeletonSubtitle({ className }) {
919
- return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunkYO72COII_js.cn("h-3 w-64", className) });
919
+ return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunk7WVGPVSG_js.cn("h-3 w-64", className) });
920
920
  }
921
921
  function SkeletonAvatar({ className }) {
922
- return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunkYO72COII_js.cn("w-10 h-10 rounded", className) });
922
+ return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunk7WVGPVSG_js.cn("w-10 h-10 rounded", className) });
923
923
  }
924
924
  function SkeletonBadge({ className }) {
925
- return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunkYO72COII_js.cn("h-6 w-24", className) });
925
+ return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunk7WVGPVSG_js.cn("h-6 w-24", className) });
926
926
  }
927
927
  function SkeletonIcon({ className }) {
928
- return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunkYO72COII_js.cn("w-6 h-6 rounded", className) });
928
+ return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunk7WVGPVSG_js.cn("w-6 h-6 rounded", className) });
929
929
  }
930
930
  function SkeletonButton({ className }) {
931
- return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunkYO72COII_js.cn("h-10 w-24 rounded-hz-md", className) });
931
+ return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunk7WVGPVSG_js.cn("h-10 w-24 rounded-hz-md", className) });
932
932
  }
933
933
  function SkeletonInput({ className }) {
934
- return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunkYO72COII_js.cn("h-10 w-full rounded-hz-md", className) });
934
+ return /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: chunk7WVGPVSG_js.cn("h-10 w-full rounded-hz-md", className) });
935
935
  }
936
936
  function SkeletonTableRow({
937
937
  columns = 4,
@@ -949,7 +949,7 @@ function SkeletonCard({ className }) {
949
949
  return /* @__PURE__ */ jsxRuntime.jsxs(
950
950
  "div",
951
951
  {
952
- className: chunkYO72COII_js.cn(
952
+ className: chunk7WVGPVSG_js.cn(
953
953
  "rounded-hz-lg border bg-card p-6 space-y-4",
954
954
  className
955
955
  ),
@@ -1119,7 +1119,7 @@ var TableInner = React9__namespace.forwardRef(
1119
1119
  "table",
1120
1120
  {
1121
1121
  ref,
1122
- className: chunkYO72COII_js.cn("w-full caption-bottom text-sm", className),
1122
+ className: chunk7WVGPVSG_js.cn("w-full caption-bottom text-sm", className),
1123
1123
  ...props,
1124
1124
  children: columns && data ? /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: (() => {
1125
1125
  const visibleCols = columns.filter(
@@ -1135,9 +1135,9 @@ var TableInner = React9__namespace.forwardRef(
1135
1135
  onMouseEnter: () => {
1136
1136
  if (highlightMode === "column" || highlightMode === "cross") setHoveredCol(col.key);
1137
1137
  },
1138
- className: chunkYO72COII_js.cn(
1138
+ className: chunk7WVGPVSG_js.cn(
1139
1139
  "h-12 px-4 text-left align-middle font-medium text-gray-500 dark:text-gray-400 transition-colors",
1140
- col.sticky ? chunkYO72COII_js.cn("sticky left-0 z-20", isColHovered ? "bg-gray-50 dark:bg-neutral-800/50" : "bg-white dark:bg-neutral-900") : isColHovered ? "bg-gray-50 dark:bg-neutral-800/50" : void 0,
1140
+ col.sticky ? chunk7WVGPVSG_js.cn("sticky left-0 z-20", isColHovered ? "bg-gray-50 dark:bg-neutral-800/50" : "bg-white dark:bg-neutral-900") : isColHovered ? "bg-gray-50 dark:bg-neutral-800/50" : void 0,
1141
1141
  showDividers && "border-r border-gray-200 dark:border-neutral-700"
1142
1142
  ),
1143
1143
  children: col.label
@@ -1160,9 +1160,9 @@ var TableInner = React9__namespace.forwardRef(
1160
1160
  if (highlightMode === "column" || highlightMode === "cross") setHoveredCol(col.key);
1161
1161
  if (highlightMode === "row" || highlightMode === "cross") setHoveredRowIndex(rowIndex);
1162
1162
  },
1163
- className: chunkYO72COII_js.cn(
1163
+ className: chunk7WVGPVSG_js.cn(
1164
1164
  "p-4 align-middle transition-colors",
1165
- col.sticky ? chunkYO72COII_js.cn("sticky left-0 z-20", isHighlighted ? "bg-gray-50 dark:bg-neutral-800/50" : "bg-white dark:bg-neutral-900") : isHighlighted ? "bg-gray-50 dark:bg-neutral-800/50" : void 0,
1165
+ col.sticky ? chunk7WVGPVSG_js.cn("sticky left-0 z-20", isHighlighted ? "bg-gray-50 dark:bg-neutral-800/50" : "bg-white dark:bg-neutral-900") : isHighlighted ? "bg-gray-50 dark:bg-neutral-800/50" : void 0,
1166
1166
  showDividers && "border-r border-gray-200 dark:border-neutral-700"
1167
1167
  ),
1168
1168
  children: col.cell(row)
@@ -1187,7 +1187,7 @@ var TableHeader = React9__namespace.forwardRef(({ className, ...props }, ref) =>
1187
1187
  "thead",
1188
1188
  {
1189
1189
  ref,
1190
- className: chunkYO72COII_js.cn("[&_tr]:border-b [&_tr]:border-gray-200 dark:[&_tr]:border-gray-700", className),
1190
+ className: chunk7WVGPVSG_js.cn("[&_tr]:border-b [&_tr]:border-gray-200 dark:[&_tr]:border-gray-700", className),
1191
1191
  ...props
1192
1192
  }
1193
1193
  ));
@@ -1196,7 +1196,7 @@ var TableBody = React9__namespace.forwardRef(({ className, ...props }, ref) => /
1196
1196
  "tbody",
1197
1197
  {
1198
1198
  ref,
1199
- className: chunkYO72COII_js.cn("[&_tr:last-child]:border-0", className),
1199
+ className: chunk7WVGPVSG_js.cn("[&_tr:last-child]:border-0", className),
1200
1200
  ...props
1201
1201
  }
1202
1202
  ));
@@ -1205,7 +1205,7 @@ var TableFooter = React9__namespace.forwardRef(({ className, ...props }, ref) =>
1205
1205
  "tfoot",
1206
1206
  {
1207
1207
  ref,
1208
- className: chunkYO72COII_js.cn(
1208
+ className: chunk7WVGPVSG_js.cn(
1209
1209
  "border-t border-gray-200 bg-gray-50 font-medium dark:border-neutral-700 dark:bg-neutral-800/50 [&>tr]:last:border-b-0",
1210
1210
  className
1211
1211
  ),
@@ -1246,7 +1246,7 @@ var TableRow = React9__namespace.forwardRef(
1246
1246
  ref,
1247
1247
  "data-state": isSelected ? "selected" : void 0,
1248
1248
  "data-row-id": finalRowId,
1249
- className: chunkYO72COII_js.cn(
1249
+ className: chunk7WVGPVSG_js.cn(
1250
1250
  "border-b border-gray-200 transition-colors hover:bg-gray-50 data-[state=selected]:bg-blue-50 dark:border-neutral-700 dark:hover:bg-neutral-800/50 dark:data-[state=selected]:bg-blue-900/20",
1251
1251
  className
1252
1252
  ),
@@ -1261,7 +1261,7 @@ var TableHead = React9__namespace.forwardRef(({ className, ...props }, ref) => /
1261
1261
  "th",
1262
1262
  {
1263
1263
  ref,
1264
- className: chunkYO72COII_js.cn(
1264
+ className: chunk7WVGPVSG_js.cn(
1265
1265
  "h-12 px-4 text-left align-middle font-medium text-gray-500 dark:text-gray-400 [&:has([role=checkbox])]:pr-0",
1266
1266
  className
1267
1267
  ),
@@ -1274,7 +1274,7 @@ var TableCell = React9__namespace.forwardRef(
1274
1274
  "td",
1275
1275
  {
1276
1276
  ref,
1277
- className: chunkYO72COII_js.cn(
1277
+ className: chunk7WVGPVSG_js.cn(
1278
1278
  "align-middle [&:has([role=checkbox])]:pr-0",
1279
1279
  variant === "embed" ? "p-1.5" : "p-4",
1280
1280
  className
@@ -1288,7 +1288,7 @@ var TableCaption = React9__namespace.forwardRef(({ className, ...props }, ref) =
1288
1288
  "caption",
1289
1289
  {
1290
1290
  ref,
1291
- className: chunkYO72COII_js.cn("mt-4 text-sm text-gray-500 dark:text-gray-400", className),
1291
+ className: chunk7WVGPVSG_js.cn("mt-4 text-sm text-gray-500 dark:text-gray-400", className),
1292
1292
  ...props
1293
1293
  }
1294
1294
  ));
@@ -1400,11 +1400,12 @@ function useColumnVisibility(columns, options = {}) {
1400
1400
  }, [columns, storageKey]);
1401
1401
  return { visibleColumns, setVisibleColumns };
1402
1402
  }
1403
- function ColumnPicker({
1403
+ function ColumnSelection({
1404
1404
  columns,
1405
1405
  visibleColumns,
1406
1406
  onVisibleColumnsChange,
1407
- triggerLabel = "Edit Fields"
1407
+ triggerLabel = "Columns",
1408
+ trigger
1408
1409
  }) {
1409
1410
  const handleToggle = React9__namespace.useCallback((key, checked) => {
1410
1411
  if (checked) {
@@ -1416,7 +1417,7 @@ function ColumnPicker({
1416
1417
  }
1417
1418
  }, [visibleColumns, onVisibleColumnsChange]);
1418
1419
  return /* @__PURE__ */ jsxRuntime.jsxs(Popover, { children: [
1419
- /* @__PURE__ */ jsxRuntime.jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(Button, { variant: "outline", size: "sm", children: [
1420
+ /* @__PURE__ */ jsxRuntime.jsx(PopoverTrigger, { asChild: true, children: trigger ?? /* @__PURE__ */ jsxRuntime.jsxs(Button, { variant: "outline", size: "sm", children: [
1420
1421
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.SlidersHorizontal, { className: "h-4 w-4", "aria-hidden": "true" }),
1421
1422
  triggerLabel
1422
1423
  ] }) }),
@@ -1428,7 +1429,7 @@ function ColumnPicker({
1428
1429
  return /* @__PURE__ */ jsxRuntime.jsxs(
1429
1430
  "label",
1430
1431
  {
1431
- className: chunkYO72COII_js.cn(
1432
+ className: chunk7WVGPVSG_js.cn(
1432
1433
  "flex items-center gap-2.5 rounded-hz-md px-2 py-1.5 text-sm cursor-pointer hover:bg-gray-50 dark:hover:bg-neutral-800",
1433
1434
  isSticky && "opacity-50 cursor-not-allowed"
1434
1435
  ),
@@ -1532,7 +1533,7 @@ var TabsList = React9__namespace.forwardRef(({ className, children, variant = "p
1532
1533
  else if (ref) ref.current = node;
1533
1534
  listRef.current = node;
1534
1535
  },
1535
- className: chunkYO72COII_js.cn(
1536
+ className: chunk7WVGPVSG_js.cn(
1536
1537
  variant === "pill" ? "relative inline-flex h-10 items-center justify-center rounded-hz-lg p-1 bg-gray-100 text-gray-500 dark:bg-neutral-700 dark:text-gray-400" : "flex gap-4 border-b border-gray-200 dark:border-neutral-800",
1537
1538
  className
1538
1539
  ),
@@ -1578,12 +1579,12 @@ var TabsTrigger = React9__namespace.forwardRef(({ className, value, icon, childr
1578
1579
  else if (ref) ref.current = node;
1579
1580
  },
1580
1581
  value,
1581
- className: chunkYO72COII_js.cn(
1582
+ className: chunk7WVGPVSG_js.cn(
1582
1583
  "inline-flex items-center gap-1.5 whitespace-nowrap text-sm font-medium focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
1583
- variant === "pill" ? chunkYO72COII_js.cn(
1584
+ variant === "pill" ? chunk7WVGPVSG_js.cn(
1584
1585
  "relative z-10 justify-center rounded-hz-md px-3 py-1.5 transition-colors",
1585
1586
  isActive ? "text-gray-900 dark:text-gray-100" : "text-gray-500 dark:text-gray-400"
1586
- ) : chunkYO72COII_js.cn(
1587
+ ) : chunk7WVGPVSG_js.cn(
1587
1588
  "pb-3 border-b-2 transition-colors",
1588
1589
  isActive ? "border-blue-600 text-blue-600 dark:border-blue-400 dark:text-blue-400" : "border-transparent text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 hover:border-gray-300 dark:hover:border-gray-600"
1589
1590
  ),
@@ -1602,7 +1603,7 @@ var TabsContent = React9__namespace.forwardRef(({ className, ...props }, ref) =>
1602
1603
  TabsPrimitive__namespace.Content,
1603
1604
  {
1604
1605
  ref,
1605
- className: chunkYO72COII_js.cn(
1606
+ className: chunk7WVGPVSG_js.cn(
1606
1607
  "mt-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2",
1607
1608
  className
1608
1609
  ),
@@ -1615,7 +1616,7 @@ var Textarea = React9__namespace.forwardRef(
1615
1616
  return /* @__PURE__ */ jsxRuntime.jsx(
1616
1617
  "textarea",
1617
1618
  {
1618
- className: chunkYO72COII_js.cn(
1619
+ className: chunk7WVGPVSG_js.cn(
1619
1620
  "flex min-h-[80px] w-full rounded-hz-md border border-gray-300 bg-white px-3 py-2 text-sm text-gray-900 placeholder:text-gray-400 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 dark:border-neutral-600 dark:bg-neutral-800 dark:text-gray-100 dark:placeholder:text-gray-500",
1620
1621
  className
1621
1622
  ),
@@ -1694,7 +1695,7 @@ function Toggle({
1694
1695
  ...props,
1695
1696
  type: "multiple",
1696
1697
  ...value !== void 0 ? { value, onValueChange: onChange } : {},
1697
- className: chunkYO72COII_js.cn(
1698
+ className: chunk7WVGPVSG_js.cn(
1698
1699
  toggleGroupVariants({ size }),
1699
1700
  containerRadiusClass[radius],
1700
1701
  className
@@ -1707,7 +1708,7 @@ function Toggle({
1707
1708
  value: option.value,
1708
1709
  disabled: option.disabled,
1709
1710
  "aria-label": iconOnly ? option.ariaLabel ?? option.value : void 0,
1710
- className: chunkYO72COII_js.cn(
1711
+ className: chunk7WVGPVSG_js.cn(
1711
1712
  toggleItemVariants({ size, iconOnly }),
1712
1713
  itemRadiusClass[radius],
1713
1714
  "border border-transparent text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200",
@@ -1783,7 +1784,7 @@ function SegmentedControl({
1783
1784
  {
1784
1785
  ...props,
1785
1786
  ...value !== void 0 ? { value, onValueChange: onChange } : {},
1786
- className: chunkYO72COII_js.cn(
1787
+ className: chunk7WVGPVSG_js.cn(
1787
1788
  segmentedControlVariants({ size }),
1788
1789
  containerRadiusClass2[radius],
1789
1790
  className
@@ -1793,7 +1794,7 @@ function SegmentedControl({
1793
1794
  {
1794
1795
  value: option.value,
1795
1796
  disabled: option.disabled,
1796
- className: chunkYO72COII_js.cn(
1797
+ className: chunk7WVGPVSG_js.cn(
1797
1798
  segmentedControlItemVariants({ size }),
1798
1799
  itemRadiusClass2[radius],
1799
1800
  "border border-transparent text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200",
@@ -1861,7 +1862,7 @@ var Switch = React9__namespace.forwardRef(({ className, size, label, labelPositi
1861
1862
  ...props,
1862
1863
  id: switchId,
1863
1864
  ref,
1864
- className: chunkYO72COII_js.cn(switchTrackVariants({ size }), className),
1865
+ className: chunk7WVGPVSG_js.cn(switchTrackVariants({ size }), className),
1865
1866
  children: /* @__PURE__ */ jsxRuntime.jsx(SwitchPrimitive__namespace.Thumb, { className: switchThumbVariants({ size }) })
1866
1867
  }
1867
1868
  );
@@ -1869,7 +1870,7 @@ var Switch = React9__namespace.forwardRef(({ className, size, label, labelPositi
1869
1870
  return /* @__PURE__ */ jsxRuntime.jsxs(
1870
1871
  "div",
1871
1872
  {
1872
- className: chunkYO72COII_js.cn(
1873
+ className: chunk7WVGPVSG_js.cn(
1873
1874
  "inline-flex items-center gap-2",
1874
1875
  props.disabled ? "cursor-not-allowed" : "cursor-pointer"
1875
1876
  ),
@@ -1878,7 +1879,7 @@ var Switch = React9__namespace.forwardRef(({ className, size, label, labelPositi
1878
1879
  "label",
1879
1880
  {
1880
1881
  htmlFor: switchId,
1881
- className: chunkYO72COII_js.cn(
1882
+ className: chunk7WVGPVSG_js.cn(
1882
1883
  switchLabelVariants({ size }),
1883
1884
  props.disabled ? "cursor-not-allowed" : "cursor-pointer"
1884
1885
  ),
@@ -1890,7 +1891,7 @@ var Switch = React9__namespace.forwardRef(({ className, size, label, labelPositi
1890
1891
  "label",
1891
1892
  {
1892
1893
  htmlFor: switchId,
1893
- className: chunkYO72COII_js.cn(
1894
+ className: chunk7WVGPVSG_js.cn(
1894
1895
  switchLabelVariants({ size }),
1895
1896
  props.disabled ? "cursor-not-allowed" : "cursor-pointer"
1896
1897
  ),
@@ -1911,7 +1912,7 @@ exports.CardFooter = CardFooter;
1911
1912
  exports.CardHeader = CardHeader;
1912
1913
  exports.CardTitle = CardTitle;
1913
1914
  exports.Checkbox = Checkbox;
1914
- exports.ColumnPicker = ColumnPicker;
1915
+ exports.ColumnSelection = ColumnSelection;
1915
1916
  exports.Dialog = Dialog;
1916
1917
  exports.DialogClose = DialogClose;
1917
1918
  exports.DialogContent = DialogContent;
@@ -2001,5 +2002,5 @@ exports.useColumnVisibility = useColumnVisibility;
2001
2002
  exports.useFormContext = useFormContext;
2002
2003
  exports.useFormFieldContext = useFormFieldContext;
2003
2004
  exports.useTableSelection = useTableSelection;
2004
- //# sourceMappingURL=chunk-AJP6WOSY.js.map
2005
- //# sourceMappingURL=chunk-AJP6WOSY.js.map
2005
+ //# sourceMappingURL=chunk-UWBZTH6L.js.map
2006
+ //# sourceMappingURL=chunk-UWBZTH6L.js.map