@datum-cloud/datum-ui 0.3.2-dev.5bd364b → 0.5.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.
Files changed (150) hide show
  1. package/README.md +118 -49
  2. package/dist/alert/index.mjs +2 -3
  3. package/dist/{alert-BC2Mccfo.mjs → alert-BDj6od5I.mjs} +2 -4
  4. package/dist/app-navigation/index.mjs +4 -12
  5. package/dist/{app-navigation-CCvjPijd.mjs → app-navigation-84ro28PU.mjs} +5 -8
  6. package/dist/autocomplete/index.mjs +2 -7
  7. package/dist/{autocomplete-DcKO7pj5.mjs → autocomplete-V5-qslzS.mjs} +5 -7
  8. package/dist/avatar/index.mjs +2 -0
  9. package/dist/avatar-BtKVcvO4.mjs +28 -0
  10. package/dist/avatar-stack/index.mjs +2 -5
  11. package/dist/{avatar-stack-B21McFeb.mjs → avatar-stack-oVr8tsU7.mjs} +4 -31
  12. package/dist/badge/index.mjs +2 -3
  13. package/dist/{badge-bFgeYceE.mjs → badge-DJR33ftJ.mjs} +2 -4
  14. package/dist/breadcrumb/index.mjs +2 -4
  15. package/dist/{breadcrumb-BGYJgom_.mjs → breadcrumb-B-9G347O.mjs} +2 -4
  16. package/dist/button/index.mjs +3 -4
  17. package/dist/{button-C1wRfGtT.mjs → button-BllvE9Lm.mjs} +3 -5
  18. package/dist/{button-AzpnV-WB.mjs → button-D3RrsMfQ.mjs} +2 -4
  19. package/dist/{link-button-TIF2Zdrk.mjs → button-fO8nazJE.mjs} +3 -5
  20. package/dist/button-group/index.mjs +2 -5
  21. package/dist/{button-group-C1IB2K5s.mjs → button-group-CYPka2zz.mjs} +3 -5
  22. package/dist/calendar/index.mjs +2 -5
  23. package/dist/{calendar-DlIHeWb0.mjs → calendar-DEkCw7I1.mjs} +4 -6
  24. package/dist/{calendar-date-picker-Bw6Mrr-P.mjs → calendar-date-picker-DWK94_DC.mjs} +6 -8
  25. package/dist/card/index.mjs +2 -4
  26. package/dist/{card-3Kd0VdNf.mjs → card-DKG1Cwlj.mjs} +3 -6
  27. package/dist/chart/index.mjs +2 -4
  28. package/dist/{chart-BZqUKpkh.mjs → chart-CUa21ynK.mjs} +2 -4
  29. package/dist/checkbox/index.mjs +2 -4
  30. package/dist/{checkbox-LG1OKTpG.mjs → checkbox-I5BvrMPe.mjs} +3 -6
  31. package/dist/{close.icon-CMNMoXM_.mjs → close.icon-HCfS4Y-N.mjs} +2 -4
  32. package/dist/{cn-DWCc1QRE.mjs → cn-D2KYQ917.mjs} +1 -3
  33. package/dist/code-editor/index.mjs +2 -0
  34. package/dist/{col-DCneNxQj.mjs → col-q-J99UHe.mjs} +2 -7
  35. package/dist/collapsible/index.mjs +2 -3
  36. package/dist/{collapsible-Bt9UYfv3.mjs → collapsible-CUphkSBt.mjs} +1 -3
  37. package/dist/command/index.mjs +2 -5
  38. package/dist/{command-s0Yv3abE.mjs → command-DqHWukGK.mjs} +3 -5
  39. package/dist/components/base/avatar/index.d.ts +2 -0
  40. package/dist/components/base/avatar/index.d.ts.map +1 -0
  41. package/dist/components/base/index.d.ts +1 -0
  42. package/dist/components/base/index.d.ts.map +1 -1
  43. package/dist/components/features/code-editor/code-editor-tabs.d.ts +63 -0
  44. package/dist/components/features/code-editor/code-editor-tabs.d.ts.map +1 -0
  45. package/dist/components/features/code-editor/code-editor.d.ts +58 -0
  46. package/dist/components/features/code-editor/code-editor.d.ts.map +1 -0
  47. package/dist/components/features/code-editor/index.d.ts +6 -0
  48. package/dist/components/features/code-editor/index.d.ts.map +1 -0
  49. package/dist/components/features/code-editor/lib/editor.d.ts +7 -0
  50. package/dist/components/features/code-editor/lib/editor.d.ts.map +1 -0
  51. package/dist/components/features/code-editor/types.d.ts +98 -0
  52. package/dist/components/features/code-editor/types.d.ts.map +1 -0
  53. package/dist/components/features/index.d.ts +1 -0
  54. package/dist/components/features/index.d.ts.map +1 -1
  55. package/dist/components/toast.d.ts +2 -0
  56. package/dist/components/toast.d.ts.map +1 -0
  57. package/dist/data-table/index.mjs +21 -51
  58. package/dist/date-picker/index.mjs +3 -10
  59. package/dist/dialog/index.mjs +2 -5
  60. package/dist/{dialog-bnMMf9GD.mjs → dialog-Bm2H9lrx.mjs} +4 -6
  61. package/dist/{dialog-DXBaT9gA.mjs → dialog-DASRaFxD.mjs} +2 -4
  62. package/dist/dropdown/index.mjs +2 -3
  63. package/dist/{dropdown-Dgm_b6Mm.mjs → dropdown-DZiAt-jS.mjs} +3 -5
  64. package/dist/{dropdown-menu-DAFyO-qD.mjs → dropdown-menu-lALvDnab.mjs} +5 -7
  65. package/dist/dropzone/index.mjs +2 -5
  66. package/dist/{dropzone-DR6O9OdU.mjs → dropzone-ogtpQ4fy.mjs} +5 -8
  67. package/dist/empty-content/index.mjs +2 -3
  68. package/dist/{empty-content-Dm7_5jO9.mjs → empty-content-C63GPJ5d.mjs} +3 -9
  69. package/dist/form/index.mjs +2 -146
  70. package/dist/{use-stepper-DJd8o9dV.mjs → form-Co3fM4B7.mjs} +148 -51
  71. package/dist/grid/index.mjs +2 -3
  72. package/dist/hooks/index.mjs +3 -4
  73. package/dist/{use-debounce-Dc95PFRX.mjs → hooks-Cb7YlxN4.mjs} +1 -3
  74. package/dist/hover-card/index.mjs +2 -4
  75. package/dist/{hover-card-CUPfFUqE.mjs → hover-card-DDWWD5Hx.mjs} +2 -4
  76. package/dist/{icon-wrapper-9ticVbRL.mjs → icon-wrapper-DuLp3RM1.mjs} +1 -3
  77. package/dist/icons/index.mjs +4 -5
  78. package/dist/index.mjs +65 -70
  79. package/dist/input/index.mjs +2 -5
  80. package/dist/{input-DuyjEKEW.mjs → input-DOmNpcQJ.mjs} +2 -4
  81. package/dist/{input-fzXBheCN.mjs → input-FKGqZypx.mjs} +3 -5
  82. package/dist/input-group/index.mjs +2 -7
  83. package/dist/{input-group-CPaFSTEV.mjs → input-group-DDtz-RT7.mjs} +5 -7
  84. package/dist/input-number/index.mjs +2 -6
  85. package/dist/{input-number-D1HCcTXO.mjs → input-number-mDB-5M5C.mjs} +4 -6
  86. package/dist/input-with-addons/index.mjs +28 -3
  87. package/dist/label/index.mjs +2 -4
  88. package/dist/{label-_ste_Re3.mjs → label-cnAhY-ej.mjs} +3 -6
  89. package/dist/loader-overlay/index.mjs +2 -3
  90. package/dist/{loader-overlay-CpA0zV8D.mjs → loader-overlay-BTFdkp7W.mjs} +3 -5
  91. package/dist/map/index.mjs +2 -14
  92. package/dist/{map-2RG9pYZR.mjs → map-ClxB41Hg.mjs} +10 -14
  93. package/dist/{map-leaflet-imports-CgEyVRnp.mjs → map-leaflet-imports-CaMm_rdF.mjs} +1 -2
  94. package/dist/more-actions/index.mjs +2 -5
  95. package/dist/{more-actions-BODYgG1C.mjs → more-actions-CGagbIDT.mjs} +5 -7
  96. package/dist/nprogress/index.mjs +1 -3
  97. package/dist/page-title/index.mjs +2 -3
  98. package/dist/{page-title-D62FV6vD.mjs → page-title-R7QbfbWp.mjs} +2 -4
  99. package/dist/popover/index.mjs +2 -4
  100. package/dist/{popover-Ds9624qY.mjs → popover-FJAcbYoH.mjs} +2 -4
  101. package/dist/radio-group/index.mjs +2 -4
  102. package/dist/{radio-group-B9Hm77LQ.mjs → radio-group-CiITR0LO.mjs} +3 -6
  103. package/dist/select/index.mjs +2 -4
  104. package/dist/{select-CwVIFWFO.mjs → select-CiLR_DiQ.mjs} +3 -6
  105. package/dist/separator/index.mjs +2 -4
  106. package/dist/{separator-T2ppyD-8.mjs → separator-DXVTncCK.mjs} +2 -4
  107. package/dist/sheet/index.mjs +3 -5
  108. package/dist/{sheet-mx5XjyEY.mjs → sheet-BzXksqYY.mjs} +4 -6
  109. package/dist/{sheet-Cemwh78x.mjs → sheet-Di3b-oPu.mjs} +2 -4
  110. package/dist/sidebar/index.mjs +2 -10
  111. package/dist/{sidebar-BW76ss_f.mjs → sidebar-BnhnjvfO.mjs} +10 -14
  112. package/dist/skeleton/index.mjs +2 -5
  113. package/dist/{skeleton-CkE23wsL.mjs → skeleton-BKl4mfJt.mjs} +2 -4
  114. package/dist/{skeleton-DZ31pU4B.mjs → skeleton-D1MUhAVo.mjs} +3 -5
  115. package/dist/spinner/index.mjs +2 -4
  116. package/dist/{spinner-earfjpJs.mjs → spinner-OyOf9-Yu.mjs} +2 -4
  117. package/dist/{spinner.icon-Bg8zgGh0.mjs → spinner.icon-C-vjSM6o.mjs} +2 -4
  118. package/dist/stepper/index.mjs +321 -5
  119. package/dist/switch/index.mjs +2 -4
  120. package/dist/{switch-Cn9IM2gC.mjs → switch-DQJQhPIQ.mjs} +3 -6
  121. package/dist/table/index.mjs +2 -4
  122. package/dist/{table-Dpzh0VPK.mjs → table-Cdsh-39-.mjs} +2 -4
  123. package/dist/tabs/index.mjs +50 -3
  124. package/dist/tag-input/index.mjs +2 -5
  125. package/dist/{tag-input-DorFQ9bA.mjs → tag-input-BVSwNcRd.mjs} +5 -7
  126. package/dist/task-queue/index.mjs +2 -7
  127. package/dist/{task-queue-dropdown-DtS0IKci.mjs → task-queue-dropdown-DyM5R8KF.mjs} +10 -30
  128. package/dist/textarea/index.mjs +2 -5
  129. package/dist/{textarea-QYRcDEpK.mjs → textarea-94vq_G_S.mjs} +2 -4
  130. package/dist/{textarea-KZUKGHlO.mjs → textarea-BwD-MmTV.mjs} +3 -5
  131. package/dist/theme/index.mjs +2 -3
  132. package/dist/{theme.provider-BG3cS9xe.mjs → themes-DG1md8FI.mjs} +1 -6
  133. package/dist/{to-api-format-CzPt5UAX.mjs → to-api-format-BnbRFYQI.mjs} +9 -18
  134. package/dist/toast/index.mjs +3 -3
  135. package/dist/{use-toast-DBmysDS6.mjs → toast-BWnN5fax.mjs} +5 -42
  136. package/dist/toast-DpxlFNNx.mjs +37 -0
  137. package/dist/tooltip/index.mjs +2 -4
  138. package/dist/{tooltip-U3XxlW4l.mjs → tooltip-Cruvl5F6.mjs} +3 -6
  139. package/dist/types-BZNk3q65.mjs +357 -0
  140. package/dist/typography/index.mjs +2 -3
  141. package/dist/{typography-DdrxIJMd.mjs → typography-ClB8k55E.mjs} +2 -4
  142. package/dist/{use-copy-to-clipboard-C9cT2Qb-.mjs → use-copy-to-clipboard-BGdTmkFV.mjs} +2 -4
  143. package/dist/utils/index.mjs +2 -3
  144. package/dist/{utils-Bfgoe-Gm.mjs → utils-C8KwMfT_.mjs} +1 -3
  145. package/dist/visually-hidden/index.mjs +2 -3
  146. package/dist/{visuallyhidden-CfBnXfvh.mjs → visuallyhidden-BLUsJpYH.mjs} +1 -3
  147. package/package.json +30 -4
  148. package/dist/input-with-addons-DN9LGwUU.mjs +0 -30
  149. package/dist/stepper-CZeks9Ex.mjs +0 -323
  150. package/dist/tabs-OYVCDOif.mjs +0 -52
@@ -1,28 +1,26 @@
1
- import { t as cn } from "./cn-DWCc1QRE.mjs";
2
- import { t as Button } from "./button-C1wRfGtT.mjs";
3
- import { t as Icon } from "./icon-wrapper-9ticVbRL.mjs";
4
- import { t as Checkbox } from "./checkbox-LG1OKTpG.mjs";
5
- import { t as Dialog } from "./dialog-bnMMf9GD.mjs";
6
- import { t as Input } from "./input-fzXBheCN.mjs";
7
- import { t as Label } from "./label-_ste_Re3.mjs";
8
- import { n as RadioGroupItem, t as RadioGroup } from "./radio-group-B9Hm77LQ.mjs";
9
- import { i as SelectItem, l as SelectTrigger, n as SelectContent, t as Select, u as SelectValue } from "./select-CwVIFWFO.mjs";
10
- import { t as Tooltip } from "./tooltip-U3XxlW4l.mjs";
11
- import { t as Switch } from "./switch-Cn9IM2gC.mjs";
12
- import { t as Textarea } from "./textarea-KZUKGHlO.mjs";
13
- import { t as Autocomplete } from "./autocomplete-DcKO7pj5.mjs";
14
- import { r as toast } from "./use-toast-DBmysDS6.mjs";
15
- import { t as useCopyToClipboard } from "./use-copy-to-clipboard-C9cT2Qb-.mjs";
16
- import { t as defineStepper } from "./stepper-CZeks9Ex.mjs";
17
- import { t as InputWithAddons } from "./input-with-addons-DN9LGwUU.mjs";
18
- import { Form } from "./form/index.mjs";
1
+ import { t as cn } from "./cn-D2KYQ917.mjs";
2
+ import { t as Button } from "./button-BllvE9Lm.mjs";
3
+ import { t as Icon } from "./icon-wrapper-DuLp3RM1.mjs";
4
+ import { t as Checkbox } from "./checkbox-I5BvrMPe.mjs";
5
+ import { t as Dialog } from "./dialog-Bm2H9lrx.mjs";
6
+ import { t as Input } from "./input-FKGqZypx.mjs";
7
+ import { t as Label } from "./label-cnAhY-ej.mjs";
8
+ import { n as RadioGroupItem, t as RadioGroup } from "./radio-group-CiITR0LO.mjs";
9
+ import { i as SelectItem, l as SelectTrigger, n as SelectContent, t as Select, u as SelectValue } from "./select-CiLR_DiQ.mjs";
10
+ import { t as Tooltip } from "./tooltip-Cruvl5F6.mjs";
11
+ import { t as Switch } from "./switch-DQJQhPIQ.mjs";
12
+ import { t as Textarea } from "./textarea-BwD-MmTV.mjs";
13
+ import { t as Autocomplete } from "./autocomplete-V5-qslzS.mjs";
14
+ import { t as toast } from "./toast-BWnN5fax.mjs";
15
+ import { t as useCopyToClipboard } from "./use-copy-to-clipboard-BGdTmkFV.mjs";
16
+ import { defineStepper } from "./stepper/index.mjs";
17
+ import { InputWithAddons } from "./input-with-addons/index.mjs";
19
18
  import { CheckIcon, CircleHelp, CopyIcon } from "lucide-react";
20
19
  import * as React$1 from "react";
21
20
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
21
+ import { z } from "zod";
22
22
  import { FormProvider, getFormProps, getInputProps, getTextareaProps, useForm, useFormMetadata, useInputControl } from "@conform-to/react";
23
23
  import { getZodConstraint, parseWithZod } from "@conform-to/zod/v4";
24
- import { z } from "zod";
25
-
26
24
  //#region src/components/features/form/context/field-context.tsx
27
25
  const FieldContext = React$1.createContext(null);
28
26
  function FieldProvider({ children, value }) {
@@ -43,7 +41,6 @@ function useFieldContext$1() {
43
41
  function useOptionalFieldContext() {
44
42
  return React$1.use(FieldContext);
45
43
  }
46
-
47
44
  //#endregion
48
45
  //#region src/components/features/form/components/form-autocomplete.tsx
49
46
  /**
@@ -102,7 +99,6 @@ function FormAutocomplete({ disabled, className, ...props }) {
102
99
  });
103
100
  }
104
101
  FormAutocomplete.displayName = "Form.Autocomplete";
105
-
106
102
  //#endregion
107
103
  //#region src/components/features/form/context/form-context.tsx
108
104
  const FormContext = React$1.createContext(null);
@@ -117,7 +113,6 @@ function useFormContext$1() {
117
113
  if (!context) throw new Error("useFormContext must be used within a Form.Root component");
118
114
  return context;
119
115
  }
120
-
121
116
  //#endregion
122
117
  //#region src/components/features/form/components/form-button.tsx
123
118
  /**
@@ -151,7 +146,6 @@ function FormButton({ children, onClick, type = "quaternary", theme = "borderles
151
146
  });
152
147
  }
153
148
  FormButton.displayName = "Form.Button";
154
-
155
149
  //#endregion
156
150
  //#region src/components/features/form/components/form-checkbox.tsx
157
151
  /**
@@ -194,7 +188,6 @@ function FormCheckbox({ label, disabled, className }) {
194
188
  });
195
189
  }
196
190
  FormCheckbox.displayName = "Form.Checkbox";
197
-
198
191
  //#endregion
199
192
  //#region src/components/features/form/components/form-copy-box.tsx
200
193
  /**
@@ -267,7 +260,6 @@ function FormCopyBox({ variant = "default", className, contentClassName, buttonC
267
260
  })]
268
261
  });
269
262
  }
270
-
271
263
  //#endregion
272
264
  //#region src/components/features/form/components/form-custom.tsx
273
265
  /**
@@ -302,7 +294,6 @@ function FormCustom({ children }) {
302
294
  }) });
303
295
  }
304
296
  FormCustom.displayName = "Form.Custom";
305
-
306
297
  //#endregion
307
298
  //#region src/components/features/form/components/form-description.tsx
308
299
  /**
@@ -327,7 +318,6 @@ function FormDescription({ children, className }) {
327
318
  });
328
319
  }
329
320
  FormDescription.displayName = "Form.Description";
330
-
331
321
  //#endregion
332
322
  //#region src/components/features/form/components/form-dialog.tsx
333
323
  /**
@@ -461,7 +451,6 @@ function FormDialog({ open, onOpenChange, defaultOpen, title, description, trigg
461
451
  });
462
452
  }
463
453
  FormDialog.displayName = "Form.Dialog";
464
-
465
454
  //#endregion
466
455
  //#region src/components/features/form/components/form-error.tsx
467
456
  /**
@@ -502,7 +491,6 @@ function FormError({ children, className }) {
502
491
  });
503
492
  }
504
493
  FormError.displayName = "Form.Error";
505
-
506
494
  //#endregion
507
495
  //#region src/components/features/form/components/form-field.tsx
508
496
  /**
@@ -691,7 +679,6 @@ function FormFieldRenderContent({ fieldMeta, fields, form, isSubmitting, require
691
679
  }) });
692
680
  }
693
681
  FormField.displayName = "Form.Field";
694
-
695
682
  //#endregion
696
683
  //#region src/components/features/form/components/form-field-array.tsx
697
684
  /**
@@ -780,7 +767,6 @@ function FormFieldArray({ name, children }) {
780
767
  }) });
781
768
  }
782
769
  FormFieldArray.displayName = "Form.FieldArray";
783
-
784
770
  //#endregion
785
771
  //#region src/components/features/form/components/form-input.tsx
786
772
  /**
@@ -812,7 +798,6 @@ function FormInput({ ref, type = "text", className, disabled, ...props }) {
812
798
  });
813
799
  }
814
800
  FormInput.displayName = "Form.Input";
815
-
816
801
  //#endregion
817
802
  //#region src/components/features/form/components/form-radio-group.tsx
818
803
  /**
@@ -880,7 +865,6 @@ function FormRadioItem({ value, label, description, disabled }) {
880
865
  });
881
866
  }
882
867
  FormRadioItem.displayName = "Form.RadioItem";
883
-
884
868
  //#endregion
885
869
  //#region src/components/features/form/components/form-root.tsx
886
870
  /**
@@ -1053,7 +1037,6 @@ function FormRoot({ schema, children, onSubmit, action, method = "POST", formCom
1053
1037
  });
1054
1038
  }
1055
1039
  FormRoot.displayName = "Form.Root";
1056
-
1057
1040
  //#endregion
1058
1041
  //#region src/components/features/form/components/form-select.tsx
1059
1042
  /**
@@ -1109,7 +1092,6 @@ function FormSelectItem({ value, children, disabled }) {
1109
1092
  });
1110
1093
  }
1111
1094
  FormSelectItem.displayName = "Form.SelectItem";
1112
-
1113
1095
  //#endregion
1114
1096
  //#region src/components/features/form/components/form-submit.tsx
1115
1097
  /**
@@ -1134,7 +1116,6 @@ function FormSubmit({ children, loadingText, loading = false, ...props }) {
1134
1116
  });
1135
1117
  }
1136
1118
  FormSubmit.displayName = "Form.Submit";
1137
-
1138
1119
  //#endregion
1139
1120
  //#region src/components/features/form/components/form-switch.tsx
1140
1121
  /**
@@ -1177,7 +1158,6 @@ function FormSwitch({ label, disabled, className }) {
1177
1158
  });
1178
1159
  }
1179
1160
  FormSwitch.displayName = "Form.Switch";
1180
-
1181
1161
  //#endregion
1182
1162
  //#region src/components/features/form/components/form-textarea.tsx
1183
1163
  /**
@@ -1209,7 +1189,6 @@ function FormTextarea({ ref, className, disabled, rows = 3, ...props }) {
1209
1189
  });
1210
1190
  }
1211
1191
  FormTextarea.displayName = "Form.Textarea";
1212
-
1213
1192
  //#endregion
1214
1193
  //#region src/components/features/form/hooks/use-watch.ts
1215
1194
  /**
@@ -1288,7 +1267,6 @@ function useWatchAll(names) {
1288
1267
  return result;
1289
1268
  }, [fields, names]);
1290
1269
  }
1291
-
1292
1270
  //#endregion
1293
1271
  //#region src/components/features/form/components/form-when.tsx
1294
1272
  /**
@@ -1330,7 +1308,6 @@ function FormWhen({ field, is, isNot, in: inArray, notIn, children }) {
1330
1308
  return /* @__PURE__ */ jsx(Fragment$1, { children });
1331
1309
  }
1332
1310
  FormWhen.displayName = "Form.When";
1333
-
1334
1311
  //#endregion
1335
1312
  //#region src/components/features/form/components/stepper/form-stepper.tsx
1336
1313
  const FormStepperContext = React$1.createContext(null);
@@ -1612,7 +1589,6 @@ function StepForm({ steps, stepper, currentStepConfig, combinedSchema, storedVal
1612
1589
  })
1613
1590
  });
1614
1591
  }
1615
-
1616
1592
  //#endregion
1617
1593
  //#region src/components/features/form/components/stepper/form-step.tsx
1618
1594
  /**
@@ -1637,7 +1613,6 @@ function FormStep({ id, children }) {
1637
1613
  return /* @__PURE__ */ jsx(Fragment$1, { children });
1638
1614
  }
1639
1615
  FormStep.displayName = "Form.Step";
1640
-
1641
1616
  //#endregion
1642
1617
  //#region src/components/features/form/components/stepper/stepper-controls.tsx
1643
1618
  /**
@@ -1707,7 +1682,6 @@ function StepperControls({ prevLabel = "Previous", nextLabel = (isLast) => isLas
1707
1682
  });
1708
1683
  }
1709
1684
  StepperControls.displayName = "Form.StepperControls";
1710
-
1711
1685
  //#endregion
1712
1686
  //#region src/components/features/form/components/stepper/stepper-navigation.tsx
1713
1687
  /**
@@ -1806,7 +1780,6 @@ function StepperNavigation({ variant = "horizontal", labelOrientation = "vertica
1806
1780
  });
1807
1781
  }
1808
1782
  StepperNavigation.displayName = "Form.StepperNavigation";
1809
-
1810
1783
  //#endregion
1811
1784
  //#region src/components/features/form/components/form-input-group.tsx
1812
1785
  /**
@@ -1838,7 +1811,6 @@ function FormInputGroup({ ref, type = "text", className, disabled, ...props }) {
1838
1811
  });
1839
1812
  }
1840
1813
  FormInputGroup.displayName = "Form.InputGroup";
1841
-
1842
1814
  //#endregion
1843
1815
  //#region src/components/features/form/hooks/use-field.ts
1844
1816
  /**
@@ -1917,7 +1889,6 @@ function useField(name) {
1917
1889
  errors: field.errors
1918
1890
  };
1919
1891
  }
1920
-
1921
1892
  //#endregion
1922
1893
  //#region src/components/features/form/hooks/use-field-context.ts
1923
1894
  /**
@@ -1944,7 +1915,6 @@ function useField(name) {
1944
1915
  function useFieldContext() {
1945
1916
  return useFieldContext$1();
1946
1917
  }
1947
-
1948
1918
  //#endregion
1949
1919
  //#region src/components/features/form/hooks/use-form-context.ts
1950
1920
  /**
@@ -1966,7 +1936,6 @@ function useFieldContext() {
1966
1936
  function useFormContext() {
1967
1937
  return useFormContext$1();
1968
1938
  }
1969
-
1970
1939
  //#endregion
1971
1940
  //#region src/components/features/form/hooks/use-stepper.ts
1972
1941
  /**
@@ -2012,6 +1981,134 @@ function useStepper() {
2012
1981
  getAllStepData: context.getAllStepData
2013
1982
  };
2014
1983
  }
2015
-
2016
1984
  //#endregion
2017
- export { FormButton as A, FormField as C, FormCustom as D, FormDescription as E, FormCopyBox as O, FormFieldArray as S, FormDialog as T, FormSelectItem as _, FormInputGroup as a, FormRadioItem as b, FormStep as c, useWatch as d, useWatchAll as f, FormSelect as g, FormSubmit as h, useField as i, FormAutocomplete as j, FormCheckbox as k, FormStepper as l, FormSwitch as m, useFormContext as n, StepperNavigation as o, FormTextarea as p, useFieldContext as r, StepperControls as s, useStepper as t, FormWhen as u, FormRoot as v, FormError as w, FormInput as x, FormRadioGroup as y };
1985
+ //#region src/components/features/form/index.ts
1986
+ /**
1987
+ * Datum Form Library
1988
+ *
1989
+ * A compound component pattern form library built on top of Conform.js and Zod
1990
+ * for easy form creation with built-in validation, error handling, and accessibility features.
1991
+ *
1992
+ * @example Basic Usage
1993
+ * ```tsx
1994
+ * import { Form } from './';
1995
+ * import { z } from 'zod';
1996
+ *
1997
+ * const userSchema = z.object({
1998
+ * name: z.string().min(2),
1999
+ * email: z.string().email(),
2000
+ * });
2001
+ *
2002
+ * function UserForm() {
2003
+ * return (
2004
+ * <Form.Root schema={userSchema} onSubmit={(data) => console.log(data)}>
2005
+ * <Form.Field name="name" label="Name" required>
2006
+ * <Form.Input />
2007
+ * </Form.Field>
2008
+ * <Form.Field name="email" label="Email" required>
2009
+ * <Form.Input type="email" />
2010
+ * </Form.Field>
2011
+ * <Form.Submit>Save</Form.Submit>
2012
+ * </Form.Root>
2013
+ * );
2014
+ * }
2015
+ * ```
2016
+ *
2017
+ * @example Multi-Step Form
2018
+ * ```tsx
2019
+ * const steps = [
2020
+ * { id: 'account', label: 'Account', schema: accountSchema },
2021
+ * { id: 'profile', label: 'Profile', schema: profileSchema },
2022
+ * ];
2023
+ *
2024
+ * <Form.Stepper steps={steps} onComplete={handleComplete}>
2025
+ * <Form.StepperNavigation />
2026
+ * <Form.Step id="account">...</Form.Step>
2027
+ * <Form.Step id="profile">...</Form.Step>
2028
+ * <Form.StepperControls />
2029
+ * </Form.Stepper>
2030
+ * ```
2031
+ *
2032
+ * @example Conditional Fields
2033
+ * ```tsx
2034
+ * <Form.Field name="contactMethod">
2035
+ * <Form.Select>
2036
+ * <Form.SelectItem value="email">Email</Form.SelectItem>
2037
+ * <Form.SelectItem value="phone">Phone</Form.SelectItem>
2038
+ * </Form.Select>
2039
+ * </Form.Field>
2040
+ *
2041
+ * <Form.When field="contactMethod" is="email">
2042
+ * <Form.Field name="email"><Form.Input type="email" /></Form.Field>
2043
+ * </Form.When>
2044
+ * ```
2045
+ */
2046
+ /**
2047
+ * Form compound component
2048
+ *
2049
+ * Contains all form-related components as properties:
2050
+ * - Form.Root - Main form container
2051
+ * - Form.Field - Field wrapper with label and error handling
2052
+ * - Form.Input - Text input
2053
+ * - Form.Textarea - Multi-line text input
2054
+ * - Form.Select - Dropdown select
2055
+ * - Form.SelectItem - Select option
2056
+ * - Form.Checkbox - Checkbox input
2057
+ * - Form.Switch - Toggle switch
2058
+ * - Form.RadioGroup - Radio button group
2059
+ * - Form.RadioItem - Radio button option
2060
+ * - Form.Submit - Submit button with loading state
2061
+ * - Form.Error - Error display
2062
+ * - Form.Description - Helper text
2063
+ * - Form.Autocomplete - Searchable select with virtualization
2064
+ * - Form.When - Conditional rendering
2065
+ * - Form.FieldArray - Dynamic array of fields
2066
+ * - Form.Custom - Escape hatch for custom implementations
2067
+ * - Form.Stepper - Multi-step form container
2068
+ * - Form.Step - Individual step content
2069
+ * - Form.StepperNavigation - Step progress indicators
2070
+ * - Form.StepperControls - Previous/Next/Submit buttons
2071
+ *
2072
+ * Hooks available:
2073
+ * - Form.useFormContext - Access form context
2074
+ * - Form.useFieldContext - Access field context
2075
+ * - Form.useField - Access and control a specific field
2076
+ * - Form.useWatch - Watch a field's value
2077
+ * - Form.useWatchAll - Watch multiple fields
2078
+ * - Form.useStepper - Access stepper context
2079
+ */
2080
+ const Form = {
2081
+ Root: FormRoot,
2082
+ Field: FormField,
2083
+ Submit: FormSubmit,
2084
+ Button: FormButton,
2085
+ Error: FormError,
2086
+ Description: FormDescription,
2087
+ Input: FormInput,
2088
+ Textarea: FormTextarea,
2089
+ Select: FormSelect,
2090
+ SelectItem: FormSelectItem,
2091
+ Checkbox: FormCheckbox,
2092
+ Switch: FormSwitch,
2093
+ RadioGroup: FormRadioGroup,
2094
+ RadioItem: FormRadioItem,
2095
+ CopyBox: FormCopyBox,
2096
+ Autocomplete: FormAutocomplete,
2097
+ InputGroup: FormInputGroup,
2098
+ When: FormWhen,
2099
+ FieldArray: FormFieldArray,
2100
+ Custom: FormCustom,
2101
+ Stepper: FormStepper,
2102
+ Step: FormStep,
2103
+ StepperNavigation,
2104
+ StepperControls,
2105
+ Dialog: FormDialog,
2106
+ useFormContext,
2107
+ useFieldContext,
2108
+ useField,
2109
+ useWatch,
2110
+ useWatchAll,
2111
+ useStepper
2112
+ };
2113
+ //#endregion
2114
+ export { FormButton as A, FormField as C, FormCustom as D, FormDescription as E, FormCopyBox as O, FormFieldArray as S, FormDialog as T, FormSelectItem as _, useField as a, FormRadioItem as b, FormStep as c, useWatch as d, useWatchAll as f, FormSelect as g, FormSubmit as h, useFieldContext as i, FormAutocomplete as j, FormCheckbox as k, FormStepper as l, FormSwitch as m, useStepper as n, StepperNavigation as o, FormTextarea as p, useFormContext as r, StepperControls as s, Form as t, FormWhen as u, FormRoot as v, FormError as w, FormInput as x, FormRadioGroup as y };
@@ -1,3 +1,2 @@
1
- import { a as getResponsiveValue, c as GRID_COLUMNS, d as RESPONSIVE_MAP, i as getGutter, l as GRID_PREFIX, n as Row, o as registerMediaQuery, r as RowContext, s as GRID_BREAKPOINTS, t as Col, u as RESPONSIVE_ARRAY } from "../col-DCneNxQj.mjs";
2
-
3
- export { Col, GRID_BREAKPOINTS, GRID_COLUMNS, GRID_PREFIX, RESPONSIVE_ARRAY, RESPONSIVE_MAP, Row, RowContext, getGutter, getResponsiveValue, registerMediaQuery };
1
+ import { a as getResponsiveValue, c as GRID_COLUMNS, d as RESPONSIVE_MAP, i as getGutter, l as GRID_PREFIX, n as Row, o as registerMediaQuery, r as RowContext, s as GRID_BREAKPOINTS, t as Col, u as RESPONSIVE_ARRAY } from "../col-q-J99UHe.mjs";
2
+ export { Col, GRID_BREAKPOINTS, GRID_COLUMNS, GRID_PREFIX, RESPONSIVE_ARRAY, RESPONSIVE_MAP, Row, RowContext, getGutter, getResponsiveValue, registerMediaQuery };
@@ -1,4 +1,3 @@
1
- import { t as useCopyToClipboard } from "../use-copy-to-clipboard-C9cT2Qb-.mjs";
2
- import { t as useDebounce } from "../use-debounce-Dc95PFRX.mjs";
3
-
4
- export { useCopyToClipboard, useDebounce };
1
+ import { t as useCopyToClipboard } from "../use-copy-to-clipboard-BGdTmkFV.mjs";
2
+ import { t as useDebounce } from "../hooks-Cb7YlxN4.mjs";
3
+ export { useCopyToClipboard, useDebounce };
@@ -1,5 +1,4 @@
1
1
  import { useEffect, useState } from "react";
2
-
3
2
  //#region src/hooks/use-debounce.ts
4
3
  /**
5
4
  * Custom hook that debounces a value
@@ -19,6 +18,5 @@ function useDebounce(value, delay) {
19
18
  }, [value, delay]);
20
19
  return debouncedValue;
21
20
  }
22
-
23
21
  //#endregion
24
- export { useDebounce as t };
22
+ export { useDebounce as t };
@@ -1,4 +1,2 @@
1
- import "../utils-Bfgoe-Gm.mjs";
2
- import { n as HoverCardContent, r as HoverCardTrigger, t as HoverCard } from "../hover-card-CUPfFUqE.mjs";
3
-
4
- export { HoverCard, HoverCardContent, HoverCardTrigger };
1
+ import { n as HoverCardContent, r as HoverCardTrigger, t as HoverCard } from "../hover-card-DDWWD5Hx.mjs";
2
+ export { HoverCard, HoverCardContent, HoverCardTrigger };
@@ -1,8 +1,7 @@
1
- import { t as cn } from "./utils-Bfgoe-Gm.mjs";
1
+ import { t as cn } from "./utils-C8KwMfT_.mjs";
2
2
  import "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
5
-
6
5
  //#region ../shadcn/ui/hover-card.tsx
7
6
  function HoverCard({ ...props }) {
8
7
  return /* @__PURE__ */ jsx(HoverCardPrimitive.Root, {
@@ -28,6 +27,5 @@ function HoverCardContent({ className, align = "center", sideOffset = 4, ...prop
28
27
  })
29
28
  });
30
29
  }
31
-
32
30
  //#endregion
33
- export { HoverCardContent as n, HoverCardTrigger as r, HoverCard as t };
31
+ export { HoverCardContent as n, HoverCardTrigger as r, HoverCard as t };
@@ -1,5 +1,4 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
-
3
2
  //#region src/components/icons/icon-wrapper.tsx
4
3
  function Icon({ icon: IconComponent, strokeWidth = 1, absoluteStrokeWidth = true, size = 16, ...props }) {
5
4
  return /* @__PURE__ */ jsx(IconComponent, {
@@ -9,6 +8,5 @@ function Icon({ icon: IconComponent, strokeWidth = 1, absoluteStrokeWidth = true
9
8
  size
10
9
  });
11
10
  }
12
-
13
11
  //#endregion
14
- export { Icon as t };
12
+ export { Icon as t };
@@ -1,5 +1,4 @@
1
- import { t as SpinnerIcon } from "../spinner.icon-Bg8zgGh0.mjs";
2
- import { t as Icon } from "../icon-wrapper-9ticVbRL.mjs";
3
- import { t as CloseIcon } from "../close.icon-CMNMoXM_.mjs";
4
-
5
- export { CloseIcon, Icon, SpinnerIcon };
1
+ import { t as SpinnerIcon } from "../spinner.icon-C-vjSM6o.mjs";
2
+ import { t as Icon } from "../icon-wrapper-DuLp3RM1.mjs";
3
+ import { t as CloseIcon } from "../close.icon-HCfS4Y-N.mjs";
4
+ export { CloseIcon, Icon, SpinnerIcon };