@page-speed/forms 0.6.2 → 0.6.3

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 (51) hide show
  1. package/dist/{FormContext-D_K7lO2V.d.ts → FormContext-Db0L3Kwv.d.ts} +1 -1
  2. package/dist/{FormContext-BHKCZ_du.d.cts → FormContext-kKZxeb7G.d.cts} +1 -1
  3. package/dist/{chunk-RS6AXV5S.cjs → chunk-3ED2FKXF.cjs} +100 -59
  4. package/dist/chunk-3ED2FKXF.cjs.map +1 -0
  5. package/dist/{chunk-ZEAH6AKP.js → chunk-H3YJRLVO.js} +93 -52
  6. package/dist/chunk-H3YJRLVO.js.map +1 -0
  7. package/dist/{chunk-455PI4LV.js → chunk-J37BGNM6.js} +5 -4
  8. package/dist/chunk-J37BGNM6.js.map +1 -0
  9. package/dist/{chunk-4ROWNTY6.js → chunk-ML6FGUYS.js} +3 -3
  10. package/dist/{chunk-4ROWNTY6.js.map → chunk-ML6FGUYS.js.map} +1 -1
  11. package/dist/{chunk-QRI5TMES.cjs → chunk-QMWZLGON.cjs} +5 -4
  12. package/dist/chunk-QMWZLGON.cjs.map +1 -0
  13. package/dist/{chunk-MJYEXJ3U.js → chunk-SNSK3TMG.js} +3 -3
  14. package/dist/{chunk-MJYEXJ3U.js.map → chunk-SNSK3TMG.js.map} +1 -1
  15. package/dist/{chunk-ED4UK63G.cjs → chunk-UQ6JPOBF.cjs} +114 -114
  16. package/dist/{chunk-ED4UK63G.cjs.map → chunk-UQ6JPOBF.cjs.map} +1 -1
  17. package/dist/{chunk-MUBEMXI7.cjs → chunk-V545YJFP.cjs} +6 -6
  18. package/dist/{chunk-MUBEMXI7.cjs.map → chunk-V545YJFP.cjs.map} +1 -1
  19. package/dist/core.cjs +10 -10
  20. package/dist/core.d.cts +13 -9
  21. package/dist/core.d.ts +13 -9
  22. package/dist/core.js +3 -3
  23. package/dist/index.cjs +14 -14
  24. package/dist/index.d.cts +2 -2
  25. package/dist/index.d.ts +2 -2
  26. package/dist/index.js +3 -3
  27. package/dist/inputs.cjs +14 -14
  28. package/dist/inputs.d.cts +8 -2
  29. package/dist/inputs.d.ts +8 -2
  30. package/dist/inputs.js +2 -2
  31. package/dist/integration.cjs +17 -17
  32. package/dist/integration.cjs.map +1 -1
  33. package/dist/integration.d.cts +3 -112
  34. package/dist/integration.d.ts +3 -112
  35. package/dist/integration.js +3 -3
  36. package/dist/integration.js.map +1 -1
  37. package/dist/{types-Fbt73kW_.d.ts → types-BPxsUGm_.d.cts} +120 -2
  38. package/dist/{types-Fbt73kW_.d.cts → types-BPxsUGm_.d.ts} +120 -2
  39. package/dist/validation-rules.d.cts +1 -1
  40. package/dist/validation-rules.d.ts +1 -1
  41. package/dist/validation-utils.d.cts +1 -1
  42. package/dist/validation-utils.d.ts +1 -1
  43. package/dist/validation-valibot.d.cts +1 -1
  44. package/dist/validation-valibot.d.ts +1 -1
  45. package/dist/validation.d.cts +1 -1
  46. package/dist/validation.d.ts +1 -1
  47. package/package.json +1 -1
  48. package/dist/chunk-455PI4LV.js.map +0 -1
  49. package/dist/chunk-QRI5TMES.cjs.map +0 -1
  50. package/dist/chunk-RS6AXV5S.cjs.map +0 -1
  51. package/dist/chunk-ZEAH6AKP.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkQRI5TMES_cjs = require('./chunk-QRI5TMES.cjs');
3
+ var chunkQMWZLGON_cjs = require('./chunk-QMWZLGON.cjs');
4
4
  var React19 = require('react');
5
5
  var radixUi = require('radix-ui');
6
6
  var cmdk = require('cmdk');
@@ -33,7 +33,7 @@ function Textarea({ className, ...props }) {
33
33
  "textarea",
34
34
  {
35
35
  "data-slot": "textarea",
36
- className: chunkQRI5TMES_cjs.cn(
36
+ className: chunkQMWZLGON_cjs.cn(
37
37
  // Core structure - uses CSS variables only
38
38
  "flex field-sizing-content min-h-16 w-full rounded-md border border-input",
39
39
  "bg-transparent px-3 py-2 text-base shadow-xs",
@@ -86,7 +86,7 @@ function TextArea({
86
86
  placeholder,
87
87
  disabled,
88
88
  required,
89
- className: chunkQRI5TMES_cjs.cn(
89
+ className: chunkQMWZLGON_cjs.cn(
90
90
  // Valid value indicator - ring-2 when has value and no error
91
91
  !error && hasValue && "ring-2 ring-ring",
92
92
  // Error state - handled by Textarea component via aria-invalid
@@ -113,7 +113,7 @@ function Checkbox({
113
113
  radixUi.Checkbox.Root,
114
114
  {
115
115
  "data-slot": "checkbox",
116
- className: chunkQRI5TMES_cjs.cn(
116
+ className: chunkQMWZLGON_cjs.cn(
117
117
  // Core structure - uses CSS variables
118
118
  "peer size-4 shrink-0 rounded-[4px] border border-input bg-transparent shadow-xs",
119
119
  "transition-shadow outline-none",
@@ -218,10 +218,10 @@ function Checkbox2({
218
218
  return /* @__PURE__ */ React19__namespace.createElement("div", { className }, checkbox);
219
219
  }
220
220
  return /* @__PURE__ */ React19__namespace.createElement("div", { className: "space-y-0", "data-invalid": error || void 0 }, /* @__PURE__ */ React19__namespace.createElement(
221
- chunkQRI5TMES_cjs.FieldLabel,
221
+ chunkQMWZLGON_cjs.FieldLabel,
222
222
  {
223
223
  htmlFor: checkboxId,
224
- className: chunkQRI5TMES_cjs.cn(
224
+ className: chunkQMWZLGON_cjs.cn(
225
225
  "flex gap-3 p-3 duration-200 select-auto font-normal leading-normal",
226
226
  showChoiceCard && "border rounded-lg hover:ring-2 hover:ring-ring/50",
227
227
  showChoiceCard && value && "ring-2 ring-ring",
@@ -233,14 +233,14 @@ function Checkbox2({
233
233
  /* @__PURE__ */ React19__namespace.createElement(
234
234
  "div",
235
235
  {
236
- className: chunkQRI5TMES_cjs.cn(
236
+ className: chunkQMWZLGON_cjs.cn(
237
237
  "flex w-full gap-3",
238
238
  showChoiceCard ? "items-start" : "items-center"
239
239
  )
240
240
  },
241
241
  checkbox,
242
242
  /* @__PURE__ */ React19__namespace.createElement("div", { className: "flex-1 space-y-1" }, /* @__PURE__ */ React19__namespace.createElement("span", { className: "text-sm font-medium leading-none" }, label), description && /* @__PURE__ */ React19__namespace.createElement(
243
- chunkQRI5TMES_cjs.FieldDescription,
243
+ chunkQMWZLGON_cjs.FieldDescription,
244
244
  {
245
245
  id: `${checkboxId}-description`,
246
246
  className: "leading-snug"
@@ -309,7 +309,7 @@ function CheckboxGroup({
309
309
  };
310
310
  const maxReached = Boolean(maxSelections && countableValue >= maxSelections);
311
311
  const containerClass = React19__namespace.useMemo(() => {
312
- return chunkQRI5TMES_cjs.cn(
312
+ return chunkQMWZLGON_cjs.cn(
313
313
  "w-full gap-3 grid grid-cols-1 border-0 m-0 p-0 min-w-0",
314
314
  (layout === "grid" || layout === "inline") && "md:grid-cols-2",
315
315
  className
@@ -328,7 +328,7 @@ function CheckboxGroup({
328
328
  "aria-label": typeof label === "string" ? label : props["aria-label"]
329
329
  },
330
330
  /* @__PURE__ */ React19__namespace.createElement(
331
- chunkQRI5TMES_cjs.LabelGroup,
331
+ chunkQMWZLGON_cjs.LabelGroup,
332
332
  {
333
333
  labelHtmlFor: name,
334
334
  required,
@@ -375,9 +375,9 @@ function CheckboxGroup({
375
375
  );
376
376
  }),
377
377
  (minSelections || maxSelections) && /* @__PURE__ */ React19__namespace.createElement(
378
- chunkQRI5TMES_cjs.FieldDescription,
378
+ chunkQMWZLGON_cjs.FieldDescription,
379
379
  {
380
- className: chunkQRI5TMES_cjs.cn(
380
+ className: chunkQMWZLGON_cjs.cn(
381
381
  "p-2 rounded-lg border font-semibold mt-2 leading-snug",
382
382
  minSelections && countableValue < minSelections ? "border-destructive bg-destructive/80 text-destructive-foreground" : "border-border bg-card text-card-foreground"
383
383
  ),
@@ -397,7 +397,7 @@ function RadioGroup({
397
397
  radixUi.RadioGroup.Root,
398
398
  {
399
399
  "data-slot": "radio-group",
400
- className: chunkQRI5TMES_cjs.cn("grid gap-3", className),
400
+ className: chunkQMWZLGON_cjs.cn("grid gap-3", className),
401
401
  ...props
402
402
  }
403
403
  );
@@ -410,7 +410,7 @@ function RadioGroupItem({
410
410
  radixUi.RadioGroup.Item,
411
411
  {
412
412
  "data-slot": "radio-group-item",
413
- className: chunkQRI5TMES_cjs.cn(
413
+ className: chunkQMWZLGON_cjs.cn(
414
414
  // Core structure - uses CSS variables
415
415
  "aspect-square size-4 shrink-0 rounded-full border border-input bg-transparent shadow-xs",
416
416
  "text-primary transition-[color,box-shadow] outline-none",
@@ -468,8 +468,8 @@ function Radio({
468
468
  return options.some((option) => option.description);
469
469
  }, [options]);
470
470
  const groupDescriptionId = description ? `${name}-description` : void 0;
471
- return /* @__PURE__ */ React19__namespace.createElement("div", { className: chunkQRI5TMES_cjs.cn("w-full", className), "data-invalid": error || void 0 }, (label || description) && /* @__PURE__ */ React19__namespace.createElement("div", { className: "mb-3 space-y-1" }, label && /* @__PURE__ */ React19__namespace.createElement("div", { className: "text-base font-medium leading-none" }, label), description && /* @__PURE__ */ React19__namespace.createElement(
472
- chunkQRI5TMES_cjs.FieldDescription,
471
+ return /* @__PURE__ */ React19__namespace.createElement("div", { className: chunkQMWZLGON_cjs.cn("w-full", className), "data-invalid": error || void 0 }, (label || description) && /* @__PURE__ */ React19__namespace.createElement("div", { className: "mb-3 space-y-1" }, label && /* @__PURE__ */ React19__namespace.createElement("div", { className: "text-base font-medium leading-none" }, label), description && /* @__PURE__ */ React19__namespace.createElement(
472
+ chunkQMWZLGON_cjs.FieldDescription,
473
473
  {
474
474
  id: groupDescriptionId,
475
475
  className: "leading-snug"
@@ -484,7 +484,7 @@ function Radio({
484
484
  onBlur: handleBlur,
485
485
  disabled,
486
486
  required,
487
- className: chunkQRI5TMES_cjs.cn(
487
+ className: chunkQMWZLGON_cjs.cn(
488
488
  "gap-3",
489
489
  layout === "grid" && "grid grid-cols-1 md:grid-cols-2",
490
490
  layout === "inline" && "flex flex-wrap"
@@ -499,11 +499,11 @@ function Radio({
499
499
  const radioId = `${name}-${option.value}`;
500
500
  const hasDescription = !!option.description;
501
501
  return /* @__PURE__ */ React19__namespace.createElement(
502
- chunkQRI5TMES_cjs.FieldLabel,
502
+ chunkQMWZLGON_cjs.FieldLabel,
503
503
  {
504
504
  key: option.value,
505
505
  htmlFor: radioId,
506
- className: chunkQRI5TMES_cjs.cn(
506
+ className: chunkQMWZLGON_cjs.cn(
507
507
  "flex gap-3 p-3 duration-200 select-auto font-normal leading-normal",
508
508
  useChoiceCard && "border rounded-lg hover:ring-2 hover:ring-ring/50",
509
509
  useChoiceCard && isSelected && "ring-2 ring-ring",
@@ -514,7 +514,7 @@ function Radio({
514
514
  /* @__PURE__ */ React19__namespace.createElement(
515
515
  "div",
516
516
  {
517
- className: chunkQRI5TMES_cjs.cn(
517
+ className: chunkQMWZLGON_cjs.cn(
518
518
  "flex w-full gap-3",
519
519
  useChoiceCard ? "items-start" : "items-center"
520
520
  )
@@ -530,7 +530,7 @@ function Radio({
530
530
  }
531
531
  ),
532
532
  /* @__PURE__ */ React19__namespace.createElement("div", { className: "flex-1 space-y-1" }, /* @__PURE__ */ React19__namespace.createElement("span", { className: "text-sm font-medium leading-none" }, option.label), option.description && /* @__PURE__ */ React19__namespace.createElement(
533
- chunkQRI5TMES_cjs.FieldDescription,
533
+ chunkQMWZLGON_cjs.FieldDescription,
534
534
  {
535
535
  id: `${radioId}-description`,
536
536
  className: "leading-snug"
@@ -553,7 +553,7 @@ function Switch({
553
553
  {
554
554
  "data-slot": "switch",
555
555
  "data-size": size,
556
- className: chunkQRI5TMES_cjs.cn(
556
+ className: chunkQMWZLGON_cjs.cn(
557
557
  // Core structure - uses CSS variables
558
558
  "peer group/switch inline-flex shrink-0 items-center rounded-full",
559
559
  "border border-transparent shadow-xs transition-all outline-none",
@@ -574,7 +574,7 @@ function Switch({
574
574
  radixUi.Switch.Thumb,
575
575
  {
576
576
  "data-slot": "switch-thumb",
577
- className: chunkQRI5TMES_cjs.cn(
577
+ className: chunkQMWZLGON_cjs.cn(
578
578
  // Thumb appearance - inherits from parent theme
579
579
  "bg-background pointer-events-none block rounded-full ring-0 transition-transform",
580
580
  // Size variants
@@ -625,21 +625,21 @@ function Switch2({
625
625
  }
626
626
  );
627
627
  if (!label) {
628
- return /* @__PURE__ */ React19__namespace.createElement(chunkQRI5TMES_cjs.Field, { className }, switchElement);
628
+ return /* @__PURE__ */ React19__namespace.createElement(chunkQMWZLGON_cjs.Field, { className }, switchElement);
629
629
  }
630
- return /* @__PURE__ */ React19__namespace.createElement(chunkQRI5TMES_cjs.Field, { className: "gap-0", invalid: Boolean(error) }, /* @__PURE__ */ React19__namespace.createElement(
631
- chunkQRI5TMES_cjs.FieldLabel,
630
+ return /* @__PURE__ */ React19__namespace.createElement(chunkQMWZLGON_cjs.Field, { className: "gap-0", invalid: Boolean(error) }, /* @__PURE__ */ React19__namespace.createElement(
631
+ chunkQMWZLGON_cjs.FieldLabel,
632
632
  {
633
633
  htmlFor: switchId,
634
- className: chunkQRI5TMES_cjs.cn(
634
+ className: chunkQMWZLGON_cjs.cn(
635
635
  "flex items-center gap-3 cursor-pointer select-auto font-normal leading-normal",
636
636
  disabled && "opacity-50 cursor-not-allowed",
637
637
  className
638
638
  )
639
639
  },
640
640
  switchElement,
641
- /* @__PURE__ */ React19__namespace.createElement(chunkQRI5TMES_cjs.Field, { className: "gap-1" }, /* @__PURE__ */ React19__namespace.createElement("span", { className: "text-sm font-medium leading-none" }, label), description && /* @__PURE__ */ React19__namespace.createElement(
642
- chunkQRI5TMES_cjs.FieldDescription,
641
+ /* @__PURE__ */ React19__namespace.createElement(chunkQMWZLGON_cjs.Field, { className: "gap-1" }, /* @__PURE__ */ React19__namespace.createElement("span", { className: "text-sm font-medium leading-none" }, label), description && /* @__PURE__ */ React19__namespace.createElement(
642
+ chunkQMWZLGON_cjs.FieldDescription,
643
643
  {
644
644
  id: `${switchId}-description`,
645
645
  className: "leading-snug"
@@ -675,7 +675,7 @@ function SelectTrigger({
675
675
  {
676
676
  "data-slot": "select-trigger",
677
677
  "data-size": size,
678
- className: chunkQRI5TMES_cjs.cn(
678
+ className: chunkQMWZLGON_cjs.cn(
679
679
  // Core structure - uses CSS variables
680
680
  "flex w-full items-center justify-between gap-2 rounded-md border border-input",
681
681
  "bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs",
@@ -726,7 +726,7 @@ function SelectContent({
726
726
  radixUi.Select.Content,
727
727
  {
728
728
  "data-slot": "select-content",
729
- className: chunkQRI5TMES_cjs.cn(
729
+ className: chunkQMWZLGON_cjs.cn(
730
730
  "bg-popover text-popover-foreground 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 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",
731
731
  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",
732
732
  className
@@ -739,7 +739,7 @@ function SelectContent({
739
739
  /* @__PURE__ */ React19__namespace.createElement(
740
740
  radixUi.Select.Viewport,
741
741
  {
742
- className: chunkQRI5TMES_cjs.cn(
742
+ className: chunkQMWZLGON_cjs.cn(
743
743
  "p-1",
744
744
  position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"
745
745
  )
@@ -757,7 +757,7 @@ function SelectLabel({
757
757
  radixUi.Select.Label,
758
758
  {
759
759
  "data-slot": "select-label",
760
- className: chunkQRI5TMES_cjs.cn("px-2 py-1.5 text-xs opacity-70", className),
760
+ className: chunkQMWZLGON_cjs.cn("px-2 py-1.5 text-xs opacity-70", className),
761
761
  ...props
762
762
  }
763
763
  );
@@ -771,7 +771,7 @@ function SelectItem({
771
771
  radixUi.Select.Item,
772
772
  {
773
773
  "data-slot": "select-item",
774
- className: chunkQRI5TMES_cjs.cn(
774
+ className: chunkQMWZLGON_cjs.cn(
775
775
  // Core structure - inherits text color
776
776
  "relative flex w-full cursor-default items-center gap-2 rounded-sm",
777
777
  "py-1.5 pr-8 pl-2 text-sm outline-hidden select-none",
@@ -818,7 +818,7 @@ function SelectScrollUpButton({
818
818
  radixUi.Select.ScrollUpButton,
819
819
  {
820
820
  "data-slot": "select-scroll-up-button",
821
- className: chunkQRI5TMES_cjs.cn(
821
+ className: chunkQMWZLGON_cjs.cn(
822
822
  "flex cursor-default items-center justify-center py-1",
823
823
  className
824
824
  ),
@@ -847,7 +847,7 @@ function SelectScrollDownButton({
847
847
  radixUi.Select.ScrollDownButton,
848
848
  {
849
849
  "data-slot": "select-scroll-down-button",
850
- className: chunkQRI5TMES_cjs.cn(
850
+ className: chunkQMWZLGON_cjs.cn(
851
851
  "flex cursor-default items-center justify-center py-1",
852
852
  className
853
853
  ),
@@ -941,7 +941,7 @@ function Select2({
941
941
  /* @__PURE__ */ React19__namespace.createElement(
942
942
  SelectTrigger,
943
943
  {
944
- className: chunkQRI5TMES_cjs.cn(
944
+ className: chunkQMWZLGON_cjs.cn(
945
945
  // Valid value indicator - ring-2 when has value and no error
946
946
  !error && hasValue && "ring-2 ring-ring",
947
947
  // Error state - handled by SelectTrigger via aria-invalid
@@ -1000,7 +1000,7 @@ var DialogOverlay = React19__namespace.forwardRef(({ className, ...props }, ref)
1000
1000
  {
1001
1001
  ref,
1002
1002
  "data-slot": "dialog-overlay",
1003
- className: chunkQRI5TMES_cjs.cn(
1003
+ className: chunkQMWZLGON_cjs.cn(
1004
1004
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
1005
1005
  className
1006
1006
  ),
@@ -1015,7 +1015,7 @@ var DialogContent = React19__namespace.forwardRef(({ className, children, showCl
1015
1015
  {
1016
1016
  ref,
1017
1017
  "data-slot": "dialog-content",
1018
- className: chunkQRI5TMES_cjs.cn(
1018
+ className: chunkQMWZLGON_cjs.cn(
1019
1019
  "bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 outline-none sm:max-w-lg",
1020
1020
  className
1021
1021
  ),
@@ -1052,7 +1052,7 @@ function DialogHeader({ className, ...props }) {
1052
1052
  "div",
1053
1053
  {
1054
1054
  "data-slot": "dialog-header",
1055
- className: chunkQRI5TMES_cjs.cn("flex flex-col gap-2 text-center sm:text-left", className),
1055
+ className: chunkQMWZLGON_cjs.cn("flex flex-col gap-2 text-center sm:text-left", className),
1056
1056
  ...props
1057
1057
  }
1058
1058
  );
@@ -1065,7 +1065,7 @@ function DialogTitle({
1065
1065
  radixUi.Dialog.Title,
1066
1066
  {
1067
1067
  "data-slot": "dialog-title",
1068
- className: chunkQRI5TMES_cjs.cn("text-lg leading-none font-semibold", className),
1068
+ className: chunkQMWZLGON_cjs.cn("text-lg leading-none font-semibold", className),
1069
1069
  ...props
1070
1070
  }
1071
1071
  );
@@ -1080,7 +1080,7 @@ function Command({
1080
1080
  cmdk.Command,
1081
1081
  {
1082
1082
  "data-slot": "command",
1083
- className: chunkQRI5TMES_cjs.cn(
1083
+ className: chunkQMWZLGON_cjs.cn(
1084
1084
  "bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",
1085
1085
  className
1086
1086
  ),
@@ -1116,7 +1116,7 @@ function CommandInput({
1116
1116
  cmdk.Command.Input,
1117
1117
  {
1118
1118
  "data-slot": "command-input",
1119
- className: chunkQRI5TMES_cjs.cn(
1119
+ className: chunkQMWZLGON_cjs.cn(
1120
1120
  "flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
1121
1121
  className
1122
1122
  ),
@@ -1133,7 +1133,7 @@ function CommandList({
1133
1133
  cmdk.Command.List,
1134
1134
  {
1135
1135
  "data-slot": "command-list",
1136
- className: chunkQRI5TMES_cjs.cn(
1136
+ className: chunkQMWZLGON_cjs.cn(
1137
1137
  "max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",
1138
1138
  className
1139
1139
  ),
@@ -1161,7 +1161,7 @@ function CommandGroup({
1161
1161
  cmdk.Command.Group,
1162
1162
  {
1163
1163
  "data-slot": "command-group",
1164
- className: chunkQRI5TMES_cjs.cn(
1164
+ className: chunkQMWZLGON_cjs.cn(
1165
1165
  "overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:opacity-70",
1166
1166
  className
1167
1167
  ),
@@ -1191,7 +1191,7 @@ function PopoverContent({
1191
1191
  "data-slot": "popover-content",
1192
1192
  align,
1193
1193
  sideOffset,
1194
- className: chunkQRI5TMES_cjs.cn(
1194
+ className: chunkQMWZLGON_cjs.cn(
1195
1195
  "bg-popover text-popover-foreground 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 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",
1196
1196
  className
1197
1197
  ),
@@ -1451,7 +1451,7 @@ function MultiSelect({
1451
1451
  value
1452
1452
  ]
1453
1453
  );
1454
- const combinedClassName = chunkQRI5TMES_cjs.cn("relative w-full", className);
1454
+ const combinedClassName = chunkQMWZLGON_cjs.cn("relative w-full", className);
1455
1455
  return /* @__PURE__ */ React19__namespace.createElement("div", { className: combinedClassName }, /* @__PURE__ */ React19__namespace.createElement(
1456
1456
  "select",
1457
1457
  {
@@ -1472,7 +1472,7 @@ function MultiSelect({
1472
1472
  "div",
1473
1473
  {
1474
1474
  ref: triggerRef,
1475
- className: chunkQRI5TMES_cjs.cn(
1475
+ className: chunkQMWZLGON_cjs.cn(
1476
1476
  "flex min-h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm",
1477
1477
  "cursor-pointer transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
1478
1478
  !error && hasValue && "ring-2 ring-ring",
@@ -1541,7 +1541,7 @@ function MultiSelect({
1541
1541
  CommandInput,
1542
1542
  {
1543
1543
  id: searchInputId,
1544
- className: chunkQRI5TMES_cjs.cn(chunkQRI5TMES_cjs.INPUT_AUTOFILL_RESET_CLASSES),
1544
+ className: chunkQMWZLGON_cjs.cn(chunkQMWZLGON_cjs.INPUT_AUTOFILL_RESET_CLASSES),
1545
1545
  placeholder: "Search...",
1546
1546
  value: searchQuery,
1547
1547
  onValueChange: (nextValue) => {
@@ -1602,7 +1602,7 @@ function MultiSelect({
1602
1602
  handleToggleOption(option.value);
1603
1603
  }
1604
1604
  },
1605
- className: chunkQRI5TMES_cjs.cn(
1605
+ className: chunkQMWZLGON_cjs.cn(
1606
1606
  "relative flex w-full cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors hover:bg-accent",
1607
1607
  isFocused && "bg-accent",
1608
1608
  isSelected && "bg-accent font-medium",
@@ -1633,7 +1633,7 @@ function MultiSelect({
1633
1633
  handleToggleOption(option.value);
1634
1634
  }
1635
1635
  },
1636
- className: chunkQRI5TMES_cjs.cn(
1636
+ className: chunkQMWZLGON_cjs.cn(
1637
1637
  "relative flex w-full cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors hover:bg-accent",
1638
1638
  isFocused && "bg-accent",
1639
1639
  isSelected && "bg-accent font-medium",
@@ -1687,7 +1687,7 @@ function BaseFileIcon({
1687
1687
  strokeWidth: "2",
1688
1688
  strokeLinecap: "round",
1689
1689
  strokeLinejoin: "round",
1690
- className: chunkQRI5TMES_cjs.cn("size-5", className),
1690
+ className: chunkQMWZLGON_cjs.cn("size-5", className),
1691
1691
  "aria-hidden": "true"
1692
1692
  },
1693
1693
  children
@@ -2171,7 +2171,7 @@ function FileUpload(props) {
2171
2171
  "data-slot": "file-upload",
2172
2172
  dir,
2173
2173
  ...rootProps,
2174
- className: chunkQRI5TMES_cjs.cn("relative flex flex-col gap-2", className)
2174
+ className: chunkQMWZLGON_cjs.cn("relative flex flex-col gap-2", className)
2175
2175
  },
2176
2176
  children,
2177
2177
  /* @__PURE__ */ React19__namespace.createElement(
@@ -2343,7 +2343,7 @@ function FileUploadDropzone(props) {
2343
2343
  dir: context.dir,
2344
2344
  tabIndex: context.disabled ? -1 : 0,
2345
2345
  ...dropzoneProps,
2346
- className: chunkQRI5TMES_cjs.cn(
2346
+ className: chunkQMWZLGON_cjs.cn(
2347
2347
  "relative flex select-none flex-col items-center justify-center gap-2 rounded-lg border-2 border-dashed p-6 outline-none transition-colors hover:bg-accent/30 focus-visible:border-ring/50 data-disabled:pointer-events-none data-dragging:border-primary/30 data-dragging:bg-accent/30 data-invalid:ring-destructive/20",
2348
2348
  className
2349
2349
  ),
@@ -2381,7 +2381,7 @@ function FileUploadList(props) {
2381
2381
  "data-state": shouldRender ? "active" : "inactive",
2382
2382
  dir: context.dir,
2383
2383
  ...listProps,
2384
- className: chunkQRI5TMES_cjs.cn(
2384
+ className: chunkQMWZLGON_cjs.cn(
2385
2385
  "data-[state=inactive]:fade-out-0 data-[state=active]:fade-in-0 data-[state=inactive]:slide-out-to-top-2 data-[state=active]:slide-in-from-top-2 flex flex-col gap-2 data-[state=active]:animate-in data-[state=inactive]:animate-out",
2386
2386
  orientation === "horizontal" && "flex-row overflow-x-auto p-1.5",
2387
2387
  className
@@ -2437,7 +2437,7 @@ function FileUploadItem(props) {
2437
2437
  "data-slot": "file-upload-item",
2438
2438
  dir: context.dir,
2439
2439
  ...itemProps,
2440
- className: chunkQRI5TMES_cjs.cn(
2440
+ className: chunkQMWZLGON_cjs.cn(
2441
2441
  "relative flex items-center gap-2.5 rounded-md border p-3",
2442
2442
  className
2443
2443
  )
@@ -2484,7 +2484,7 @@ function FileUploadItemPreview(props) {
2484
2484
  "aria-labelledby": itemContext.nameId,
2485
2485
  "data-slot": "file-upload-preview",
2486
2486
  ...previewProps,
2487
- className: chunkQRI5TMES_cjs.cn(
2487
+ className: chunkQMWZLGON_cjs.cn(
2488
2488
  "relative flex size-10 shrink-0 items-center justify-center overflow-hidden rounded border bg-accent/50 [&>svg]:size-10",
2489
2489
  className
2490
2490
  )
@@ -2511,13 +2511,13 @@ function FileUploadItemMetadata(props) {
2511
2511
  "data-slot": "file-upload-metadata",
2512
2512
  dir: context.dir,
2513
2513
  ...metadataProps,
2514
- className: chunkQRI5TMES_cjs.cn("flex min-w-0 flex-1 flex-col", className)
2514
+ className: chunkQMWZLGON_cjs.cn("flex min-w-0 flex-1 flex-col", className)
2515
2515
  },
2516
2516
  children ?? /* @__PURE__ */ React19__namespace.createElement(React19__namespace.Fragment, null, /* @__PURE__ */ React19__namespace.createElement(
2517
2517
  "span",
2518
2518
  {
2519
2519
  id: itemContext.nameId,
2520
- className: chunkQRI5TMES_cjs.cn(
2520
+ className: chunkQMWZLGON_cjs.cn(
2521
2521
  "truncate font-medium text-sm",
2522
2522
  size === "sm" && "font-normal text-[13px] leading-snug"
2523
2523
  )
@@ -2527,7 +2527,7 @@ function FileUploadItemMetadata(props) {
2527
2527
  "span",
2528
2528
  {
2529
2529
  id: itemContext.sizeId,
2530
- className: chunkQRI5TMES_cjs.cn(
2530
+ className: chunkQMWZLGON_cjs.cn(
2531
2531
  "truncate text-xs opacity-70",
2532
2532
  size === "sm" && "text-[11px] leading-snug"
2533
2533
  )
@@ -2869,7 +2869,7 @@ function FileInput({
2869
2869
  required: required && normalizedValue.length === 0,
2870
2870
  invalid: Boolean(error || props["aria-invalid"]),
2871
2871
  label: "File upload",
2872
- className: chunkQRI5TMES_cjs.cn(className),
2872
+ className: chunkQMWZLGON_cjs.cn(className),
2873
2873
  inputProps: {
2874
2874
  ...props,
2875
2875
  onBlur: handleBlur,
@@ -2884,7 +2884,7 @@ function FileInput({
2884
2884
  {
2885
2885
  role: "button",
2886
2886
  "aria-label": placeholder,
2887
- className: chunkQRI5TMES_cjs.cn(
2887
+ className: chunkQMWZLGON_cjs.cn(
2888
2888
  "flex min-h-32 w-full cursor-pointer items-center justify-center border-input bg-transparent p-6 transition-colors",
2889
2889
  "hover:bg-accent/50 hover:border-ring",
2890
2890
  "data-[dragging]:bg-accent data-[dragging]:border-ring",
@@ -2940,7 +2940,7 @@ function FileInput({
2940
2940
  )
2941
2941
  ), /* @__PURE__ */ React19__namespace.createElement("span", { className: "text-xs" }, progressValue, "%")) : null),
2942
2942
  enableCropping && file.type.startsWith("image/") ? /* @__PURE__ */ React19__namespace.createElement(
2943
- chunkQRI5TMES_cjs.Button,
2943
+ chunkQMWZLGON_cjs.Button,
2944
2944
  {
2945
2945
  type: "button",
2946
2946
  variant: "ghost",
@@ -2971,7 +2971,7 @@ function FileInput({
2971
2971
  )
2972
2972
  ) : null,
2973
2973
  /* @__PURE__ */ React19__namespace.createElement(FileUploadItemDelete, { asChild: true }, /* @__PURE__ */ React19__namespace.createElement(
2974
- chunkQRI5TMES_cjs.Button,
2974
+ chunkQMWZLGON_cjs.Button,
2975
2975
  {
2976
2976
  type: "button",
2977
2977
  variant: "ghost",
@@ -3017,7 +3017,7 @@ function FileInput({
3017
3017
  "aria-describedby": void 0
3018
3018
  },
3019
3019
  /* @__PURE__ */ React19__namespace.createElement(DialogHeader, { className: "flex-row items-center justify-between border-b border-border px-4 py-3" }, /* @__PURE__ */ React19__namespace.createElement(DialogTitle, null, "Crop Image"), /* @__PURE__ */ React19__namespace.createElement(DialogClose, { asChild: true }, /* @__PURE__ */ React19__namespace.createElement(
3020
- chunkQRI5TMES_cjs.Button,
3020
+ chunkQMWZLGON_cjs.Button,
3021
3021
  {
3022
3022
  type: "button",
3023
3023
  variant: "ghost",
@@ -3133,7 +3133,7 @@ function FileInput({
3133
3133
  "aria-label": "Zoom level"
3134
3134
  }
3135
3135
  ))),
3136
- /* @__PURE__ */ React19__namespace.createElement("div", { className: "flex items-center justify-end gap-2 border-t border-border p-4" }, /* @__PURE__ */ React19__namespace.createElement(chunkQRI5TMES_cjs.Button, { type: "button", variant: "outline", onClick: handleCropCancel }, "Cancel"), /* @__PURE__ */ React19__namespace.createElement(chunkQRI5TMES_cjs.Button, { type: "button", onClick: handleCropSave }, "Save"))
3136
+ /* @__PURE__ */ React19__namespace.createElement("div", { className: "flex items-center justify-end gap-2 border-t border-border p-4" }, /* @__PURE__ */ React19__namespace.createElement(chunkQMWZLGON_cjs.Button, { type: "button", variant: "outline", onClick: handleCropCancel }, "Cancel"), /* @__PURE__ */ React19__namespace.createElement(chunkQMWZLGON_cjs.Button, { type: "button", onClick: handleCropSave }, "Save"))
3137
3137
  ) : null
3138
3138
  ));
3139
3139
  }
@@ -3153,7 +3153,7 @@ function Calendar({
3153
3153
  reactDayPicker.DayPicker,
3154
3154
  {
3155
3155
  showOutsideDays,
3156
- className: chunkQRI5TMES_cjs.cn(
3156
+ className: chunkQMWZLGON_cjs.cn(
3157
3157
  "bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",
3158
3158
  String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,
3159
3159
  String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,
@@ -3165,86 +3165,86 @@ function Calendar({
3165
3165
  ...formatters
3166
3166
  },
3167
3167
  classNames: {
3168
- root: chunkQRI5TMES_cjs.cn("w-fit", defaultClassNames.root),
3169
- months: chunkQRI5TMES_cjs.cn(
3168
+ root: chunkQMWZLGON_cjs.cn("w-fit", defaultClassNames.root),
3169
+ months: chunkQMWZLGON_cjs.cn(
3170
3170
  "flex gap-4 flex-col md:flex-row relative",
3171
3171
  defaultClassNames.months
3172
3172
  ),
3173
- month: chunkQRI5TMES_cjs.cn("flex flex-col w-full gap-4", defaultClassNames.month),
3174
- nav: chunkQRI5TMES_cjs.cn(
3173
+ month: chunkQMWZLGON_cjs.cn("flex flex-col w-full gap-4", defaultClassNames.month),
3174
+ nav: chunkQMWZLGON_cjs.cn(
3175
3175
  "flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",
3176
3176
  defaultClassNames.nav
3177
3177
  ),
3178
- button_previous: chunkQRI5TMES_cjs.cn(
3179
- chunkQRI5TMES_cjs.buttonVariants({ variant: buttonVariant }),
3178
+ button_previous: chunkQMWZLGON_cjs.cn(
3179
+ chunkQMWZLGON_cjs.buttonVariants({ variant: buttonVariant }),
3180
3180
  "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",
3181
3181
  defaultClassNames.button_previous
3182
3182
  ),
3183
- button_next: chunkQRI5TMES_cjs.cn(
3184
- chunkQRI5TMES_cjs.buttonVariants({ variant: buttonVariant }),
3183
+ button_next: chunkQMWZLGON_cjs.cn(
3184
+ chunkQMWZLGON_cjs.buttonVariants({ variant: buttonVariant }),
3185
3185
  "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",
3186
3186
  defaultClassNames.button_next
3187
3187
  ),
3188
- month_caption: chunkQRI5TMES_cjs.cn(
3188
+ month_caption: chunkQMWZLGON_cjs.cn(
3189
3189
  "flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)",
3190
3190
  defaultClassNames.month_caption
3191
3191
  ),
3192
- dropdowns: chunkQRI5TMES_cjs.cn(
3192
+ dropdowns: chunkQMWZLGON_cjs.cn(
3193
3193
  "w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5",
3194
3194
  defaultClassNames.dropdowns
3195
3195
  ),
3196
- dropdown_root: chunkQRI5TMES_cjs.cn(
3196
+ dropdown_root: chunkQMWZLGON_cjs.cn(
3197
3197
  "relative has-focus:border-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md",
3198
3198
  defaultClassNames.dropdown_root
3199
3199
  ),
3200
- dropdown: chunkQRI5TMES_cjs.cn(
3200
+ dropdown: chunkQMWZLGON_cjs.cn(
3201
3201
  "absolute bg-popover inset-0 opacity-0",
3202
3202
  defaultClassNames.dropdown
3203
3203
  ),
3204
- caption_label: chunkQRI5TMES_cjs.cn(
3204
+ caption_label: chunkQMWZLGON_cjs.cn(
3205
3205
  "select-none font-medium",
3206
3206
  captionLayout === "label" ? "text-sm" : "rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:opacity-70 [&>svg]:size-3.5",
3207
3207
  defaultClassNames.caption_label
3208
3208
  ),
3209
3209
  table: "w-full border-collapse",
3210
- weekdays: chunkQRI5TMES_cjs.cn("flex", defaultClassNames.weekdays),
3211
- weekday: chunkQRI5TMES_cjs.cn(
3210
+ weekdays: chunkQMWZLGON_cjs.cn("flex", defaultClassNames.weekdays),
3211
+ weekday: chunkQMWZLGON_cjs.cn(
3212
3212
  "opacity-70 rounded-md flex-1 font-normal text-[0.8rem] select-none",
3213
3213
  defaultClassNames.weekday
3214
3214
  ),
3215
- week: chunkQRI5TMES_cjs.cn("flex w-full mt-2", defaultClassNames.week),
3216
- week_number_header: chunkQRI5TMES_cjs.cn(
3215
+ week: chunkQMWZLGON_cjs.cn("flex w-full mt-2", defaultClassNames.week),
3216
+ week_number_header: chunkQMWZLGON_cjs.cn(
3217
3217
  "select-none w-(--cell-size)",
3218
3218
  defaultClassNames.week_number_header
3219
3219
  ),
3220
- week_number: chunkQRI5TMES_cjs.cn(
3220
+ week_number: chunkQMWZLGON_cjs.cn(
3221
3221
  "text-[0.8rem] select-none opacity-70",
3222
3222
  defaultClassNames.week_number
3223
3223
  ),
3224
- day: chunkQRI5TMES_cjs.cn(
3224
+ day: chunkQMWZLGON_cjs.cn(
3225
3225
  "relative w-full h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none",
3226
3226
  props.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-l-md" : "[&:first-child[data-selected=true]_button]:rounded-l-md",
3227
3227
  defaultClassNames.day
3228
3228
  ),
3229
- range_start: chunkQRI5TMES_cjs.cn(
3229
+ range_start: chunkQMWZLGON_cjs.cn(
3230
3230
  "rounded-l-md bg-accent",
3231
3231
  defaultClassNames.range_start
3232
3232
  ),
3233
- range_middle: chunkQRI5TMES_cjs.cn("rounded-none", defaultClassNames.range_middle),
3234
- range_end: chunkQRI5TMES_cjs.cn("rounded-r-md bg-accent", defaultClassNames.range_end),
3235
- today: chunkQRI5TMES_cjs.cn(
3233
+ range_middle: chunkQMWZLGON_cjs.cn("rounded-none", defaultClassNames.range_middle),
3234
+ range_end: chunkQMWZLGON_cjs.cn("rounded-r-md bg-accent", defaultClassNames.range_end),
3235
+ today: chunkQMWZLGON_cjs.cn(
3236
3236
  "bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none",
3237
3237
  defaultClassNames.today
3238
3238
  ),
3239
- outside: chunkQRI5TMES_cjs.cn(
3239
+ outside: chunkQMWZLGON_cjs.cn(
3240
3240
  "opacity-50",
3241
3241
  defaultClassNames.outside
3242
3242
  ),
3243
- disabled: chunkQRI5TMES_cjs.cn(
3243
+ disabled: chunkQMWZLGON_cjs.cn(
3244
3244
  "opacity-50",
3245
3245
  defaultClassNames.disabled
3246
3246
  ),
3247
- hidden: chunkQRI5TMES_cjs.cn("invisible", defaultClassNames.hidden),
3247
+ hidden: chunkQMWZLGON_cjs.cn("invisible", defaultClassNames.hidden),
3248
3248
  ...classNames
3249
3249
  },
3250
3250
  components: {
@@ -3254,7 +3254,7 @@ function Calendar({
3254
3254
  {
3255
3255
  "data-slot": "calendar",
3256
3256
  ref: rootRef,
3257
- className: chunkQRI5TMES_cjs.cn(className2),
3257
+ className: chunkQMWZLGON_cjs.cn(className2),
3258
3258
  ...props2
3259
3259
  }
3260
3260
  );
@@ -3264,7 +3264,7 @@ function Calendar({
3264
3264
  return /* @__PURE__ */ React19__namespace.createElement(
3265
3265
  "svg",
3266
3266
  {
3267
- className: chunkQRI5TMES_cjs.cn("size-4", className2),
3267
+ className: chunkQMWZLGON_cjs.cn("size-4", className2),
3268
3268
  viewBox: "0 0 24 24",
3269
3269
  fill: "none",
3270
3270
  stroke: "currentColor",
@@ -3280,7 +3280,7 @@ function Calendar({
3280
3280
  return /* @__PURE__ */ React19__namespace.createElement(
3281
3281
  "svg",
3282
3282
  {
3283
- className: chunkQRI5TMES_cjs.cn("size-4", className2),
3283
+ className: chunkQMWZLGON_cjs.cn("size-4", className2),
3284
3284
  viewBox: "0 0 24 24",
3285
3285
  fill: "none",
3286
3286
  stroke: "currentColor",
@@ -3295,7 +3295,7 @@ function Calendar({
3295
3295
  return /* @__PURE__ */ React19__namespace.createElement(
3296
3296
  "svg",
3297
3297
  {
3298
- className: chunkQRI5TMES_cjs.cn("size-4", className2),
3298
+ className: chunkQMWZLGON_cjs.cn("size-4", className2),
3299
3299
  viewBox: "0 0 24 24",
3300
3300
  fill: "none",
3301
3301
  stroke: "currentColor",
@@ -3329,7 +3329,7 @@ function CalendarDayButton({
3329
3329
  if (modifiers.focused) ref.current?.focus();
3330
3330
  }, [modifiers.focused]);
3331
3331
  return /* @__PURE__ */ React19__namespace.createElement(
3332
- chunkQRI5TMES_cjs.Button,
3332
+ chunkQMWZLGON_cjs.Button,
3333
3333
  {
3334
3334
  ref,
3335
3335
  variant: "ghost",
@@ -3339,7 +3339,7 @@ function CalendarDayButton({
3339
3339
  "data-range-start": modifiers.range_start,
3340
3340
  "data-range-end": modifiers.range_end,
3341
3341
  "data-range-middle": modifiers.range_middle,
3342
- className: chunkQRI5TMES_cjs.cn(
3342
+ className: chunkQMWZLGON_cjs.cn(
3343
3343
  // Core structure
3344
3344
  "flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal",
3345
3345
  // Selected states - uses CSS variables
@@ -3384,7 +3384,7 @@ function DatePickerDayButton({
3384
3384
  "button",
3385
3385
  {
3386
3386
  type: "button",
3387
- className: chunkQRI5TMES_cjs.cn(
3387
+ className: chunkQMWZLGON_cjs.cn(
3388
3388
  "flex items-center justify-center h-8 w-8 rounded-md border-none bg-transparent cursor-pointer text-sm transition-colors",
3389
3389
  "hover:bg-accent",
3390
3390
  modifiers.selected && "bg-primary text-primary-foreground font-semibold",
@@ -3494,7 +3494,7 @@ function DatePicker({
3494
3494
  }, [hasInteracted]);
3495
3495
  const hasValue = Boolean(value);
3496
3496
  const displayValue = formatDate(value, format);
3497
- const combinedClassName = chunkQRI5TMES_cjs.cn("relative", className);
3497
+ const combinedClassName = chunkQMWZLGON_cjs.cn("relative", className);
3498
3498
  return /* @__PURE__ */ React19__namespace.createElement("div", { className: combinedClassName }, /* @__PURE__ */ React19__namespace.createElement(
3499
3499
  "input",
3500
3500
  {
@@ -3529,11 +3529,11 @@ function DatePicker({
3529
3529
  ref: inputRef,
3530
3530
  id: props.id,
3531
3531
  type: "text",
3532
- className: chunkQRI5TMES_cjs.cn(
3532
+ className: chunkQMWZLGON_cjs.cn(
3533
3533
  "flex h-9 w-full rounded-md border border-input bg-transparent py-1 text-base shadow-sm transition-colors",
3534
3534
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
3535
3535
  "disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
3536
- chunkQRI5TMES_cjs.INPUT_AUTOFILL_RESET_CLASSES,
3536
+ chunkQMWZLGON_cjs.INPUT_AUTOFILL_RESET_CLASSES,
3537
3537
  showIcon ? "pl-10" : "pl-3",
3538
3538
  clearable && value ? "pr-10" : "pr-3",
3539
3539
  !error && hasValue && "ring-2 ring-ring",
@@ -3674,7 +3674,7 @@ function TimePicker({
3674
3674
  };
3675
3675
  const hasValue = Boolean(value);
3676
3676
  const stepInSeconds = Math.max(1, minuteStep * 60);
3677
- return /* @__PURE__ */ React19__namespace.createElement("div", { className: chunkQRI5TMES_cjs.cn("relative", className) }, /* @__PURE__ */ React19__namespace.createElement("input", { type: "hidden", name, value }), /* @__PURE__ */ React19__namespace.createElement("div", { className: "relative" }, showIcon && /* @__PURE__ */ React19__namespace.createElement(
3677
+ return /* @__PURE__ */ React19__namespace.createElement("div", { className: chunkQMWZLGON_cjs.cn("relative", className) }, /* @__PURE__ */ React19__namespace.createElement("input", { type: "hidden", name, value }), /* @__PURE__ */ React19__namespace.createElement("div", { className: "relative" }, showIcon && /* @__PURE__ */ React19__namespace.createElement(
3678
3678
  "span",
3679
3679
  {
3680
3680
  className: "absolute left-3 top-1/2 -translate-y-1/2 pointer-events-none",
@@ -3697,13 +3697,13 @@ function TimePicker({
3697
3697
  /* @__PURE__ */ React19__namespace.createElement("path", { d: "M12 6v6l4 2" })
3698
3698
  )
3699
3699
  ), /* @__PURE__ */ React19__namespace.createElement(
3700
- chunkQRI5TMES_cjs.Input,
3700
+ chunkQMWZLGON_cjs.Input,
3701
3701
  {
3702
3702
  ref: inputRef,
3703
3703
  type: "time",
3704
- className: chunkQRI5TMES_cjs.cn(
3704
+ className: chunkQMWZLGON_cjs.cn(
3705
3705
  "appearance-none [&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-calendar-picker-indicator]:appearance-none",
3706
- chunkQRI5TMES_cjs.INPUT_AUTOFILL_RESET_CLASSES,
3706
+ chunkQMWZLGON_cjs.INPUT_AUTOFILL_RESET_CLASSES,
3707
3707
  showIcon ? "pl-10" : "pl-3",
3708
3708
  clearable && value ? "pr-10" : "pr-3",
3709
3709
  !error && hasValue && "ring-2 ring-ring",
@@ -3722,7 +3722,7 @@ function TimePicker({
3722
3722
  ...props
3723
3723
  }
3724
3724
  ), clearable && value && !disabled && /* @__PURE__ */ React19__namespace.createElement(
3725
- chunkQRI5TMES_cjs.Button,
3725
+ chunkQMWZLGON_cjs.Button,
3726
3726
  {
3727
3727
  type: "button",
3728
3728
  variant: "ghost",
@@ -3922,7 +3922,7 @@ function DateRangePicker({
3922
3922
  {
3923
3923
  type: "button",
3924
3924
  ...rest,
3925
- className: chunkQRI5TMES_cjs.cn(
3925
+ className: chunkQMWZLGON_cjs.cn(
3926
3926
  "flex items-center justify-center h-8 w-8 rounded-md border-none bg-transparent cursor-pointer text-sm transition-colors",
3927
3927
  "hover:bg-accent",
3928
3928
  isRangeEndpoint && "bg-primary text-primary-foreground font-semibold",
@@ -3960,7 +3960,7 @@ function DateRangePicker({
3960
3960
  to: rangeEnd ?? void 0
3961
3961
  } : void 0;
3962
3962
  const displayValue = rangeStart && rangeEnd ? `${formatDate2(rangeStart, format)}${separator}${formatDate2(rangeEnd, format)}` : rangeStart ? formatDate2(rangeStart, format) : "";
3963
- const combinedClassName = chunkQRI5TMES_cjs.cn("relative", className);
3963
+ const combinedClassName = chunkQMWZLGON_cjs.cn("relative", className);
3964
3964
  return /* @__PURE__ */ React19__namespace.createElement("div", { className: combinedClassName }, /* @__PURE__ */ React19__namespace.createElement(
3965
3965
  "input",
3966
3966
  {
@@ -4002,11 +4002,11 @@ function DateRangePicker({
4002
4002
  ref: inputRef,
4003
4003
  id: props.id,
4004
4004
  type: "text",
4005
- className: chunkQRI5TMES_cjs.cn(
4005
+ className: chunkQMWZLGON_cjs.cn(
4006
4006
  "flex h-9 w-full rounded-md border border-input bg-transparent py-1 text-base shadow-sm transition-colors",
4007
4007
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
4008
4008
  "disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
4009
- chunkQRI5TMES_cjs.INPUT_AUTOFILL_RESET_CLASSES,
4009
+ chunkQMWZLGON_cjs.INPUT_AUTOFILL_RESET_CLASSES,
4010
4010
  showIcon ? "pl-10" : "pl-3",
4011
4011
  clearable && (rangeStart || rangeEnd) ? "pr-10" : "pr-3",
4012
4012
  !error && hasValue && "ring-2 ring-ring",
@@ -4082,5 +4082,5 @@ exports.Select = Select2;
4082
4082
  exports.Switch = Switch2;
4083
4083
  exports.TextArea = TextArea;
4084
4084
  exports.TimePicker = TimePicker;
4085
- //# sourceMappingURL=chunk-ED4UK63G.cjs.map
4086
- //# sourceMappingURL=chunk-ED4UK63G.cjs.map
4085
+ //# sourceMappingURL=chunk-UQ6JPOBF.cjs.map
4086
+ //# sourceMappingURL=chunk-UQ6JPOBF.cjs.map