@datum-cloud/datum-ui 0.2.0-alpha.0 → 0.2.0-alpha.1

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 (500) hide show
  1. package/dist/_shadcn/hooks/use-mobile.d.ts +2 -0
  2. package/dist/_shadcn/hooks/use-mobile.d.ts.map +1 -0
  3. package/dist/_shadcn/hooks/use-theme.d.ts +9 -0
  4. package/dist/_shadcn/hooks/use-theme.d.ts.map +1 -0
  5. package/dist/_shadcn/lib/utils.d.ts +13 -0
  6. package/dist/_shadcn/lib/utils.d.ts.map +1 -0
  7. package/dist/_shadcn/ui/alert.d.ts +9 -0
  8. package/dist/_shadcn/ui/alert.d.ts.map +1 -0
  9. package/dist/_shadcn/ui/avatar.d.ts +7 -0
  10. package/dist/_shadcn/ui/avatar.d.ts.map +1 -0
  11. package/dist/_shadcn/ui/badge.d.ts +15 -0
  12. package/dist/_shadcn/ui/badge.d.ts.map +1 -0
  13. package/dist/_shadcn/ui/breadcrumb.d.ts +12 -0
  14. package/dist/_shadcn/ui/breadcrumb.d.ts.map +1 -0
  15. package/dist/_shadcn/ui/button-group.d.ts +12 -0
  16. package/dist/_shadcn/ui/button-group.d.ts.map +1 -0
  17. package/dist/_shadcn/ui/button.d.ts +17 -0
  18. package/dist/_shadcn/ui/button.d.ts.map +1 -0
  19. package/dist/_shadcn/ui/card.d.ts +9 -0
  20. package/dist/_shadcn/ui/card.d.ts.map +1 -0
  21. package/dist/_shadcn/ui/chart.d.ts +53 -0
  22. package/dist/_shadcn/ui/chart.d.ts.map +1 -0
  23. package/dist/_shadcn/ui/checkbox.d.ts +5 -0
  24. package/dist/_shadcn/ui/checkbox.d.ts.map +1 -0
  25. package/dist/_shadcn/ui/collapsible.d.ts +6 -0
  26. package/dist/_shadcn/ui/collapsible.d.ts.map +1 -0
  27. package/dist/_shadcn/ui/command.d.ts +20 -0
  28. package/dist/_shadcn/ui/command.d.ts.map +1 -0
  29. package/dist/_shadcn/ui/dialog.d.ts +14 -0
  30. package/dist/_shadcn/ui/dialog.d.ts.map +1 -0
  31. package/dist/_shadcn/ui/dropdown-menu.d.ts +33 -0
  32. package/dist/_shadcn/ui/dropdown-menu.d.ts.map +1 -0
  33. package/dist/_shadcn/ui/hover-card.d.ts +7 -0
  34. package/dist/_shadcn/ui/hover-card.d.ts.map +1 -0
  35. package/dist/_shadcn/ui/input-group.d.ts +17 -0
  36. package/dist/_shadcn/ui/input-group.d.ts.map +1 -0
  37. package/dist/_shadcn/ui/input.d.ts +7 -0
  38. package/dist/_shadcn/ui/input.d.ts.map +1 -0
  39. package/dist/_shadcn/ui/label.d.ts +5 -0
  40. package/dist/_shadcn/ui/label.d.ts.map +1 -0
  41. package/dist/_shadcn/ui/map.d.ts +120 -0
  42. package/dist/_shadcn/ui/map.d.ts.map +1 -0
  43. package/dist/_shadcn/ui/place-autocomplete.d.ts +64 -0
  44. package/dist/_shadcn/ui/place-autocomplete.d.ts.map +1 -0
  45. package/dist/_shadcn/ui/popover.d.ts +8 -0
  46. package/dist/_shadcn/ui/popover.d.ts.map +1 -0
  47. package/dist/_shadcn/ui/radio-group.d.ts +6 -0
  48. package/dist/_shadcn/ui/radio-group.d.ts.map +1 -0
  49. package/dist/_shadcn/ui/select.d.ts +14 -0
  50. package/dist/_shadcn/ui/select.d.ts.map +1 -0
  51. package/dist/_shadcn/ui/separator.d.ts +5 -0
  52. package/dist/_shadcn/ui/separator.d.ts.map +1 -0
  53. package/dist/_shadcn/ui/sheet.d.ts +14 -0
  54. package/dist/_shadcn/ui/sheet.d.ts.map +1 -0
  55. package/dist/_shadcn/ui/skeleton.d.ts +3 -0
  56. package/dist/_shadcn/ui/skeleton.d.ts.map +1 -0
  57. package/dist/_shadcn/ui/sonner.d.ts +5 -0
  58. package/dist/_shadcn/ui/sonner.d.ts.map +1 -0
  59. package/dist/_shadcn/ui/spinner.d.ts +3 -0
  60. package/dist/_shadcn/ui/spinner.d.ts.map +1 -0
  61. package/dist/_shadcn/ui/switch.d.ts +5 -0
  62. package/dist/_shadcn/ui/switch.d.ts.map +1 -0
  63. package/dist/_shadcn/ui/table.d.ts +11 -0
  64. package/dist/_shadcn/ui/table.d.ts.map +1 -0
  65. package/dist/_shadcn/ui/tabs.d.ts +13 -0
  66. package/dist/_shadcn/ui/tabs.d.ts.map +1 -0
  67. package/dist/_shadcn/ui/textarea.d.ts +4 -0
  68. package/dist/_shadcn/ui/textarea.d.ts.map +1 -0
  69. package/dist/_shadcn/ui/tooltip.d.ts +8 -0
  70. package/dist/_shadcn/ui/tooltip.d.ts.map +1 -0
  71. package/dist/_shadcn/ui/visuallyhidden.d.ts +4 -0
  72. package/dist/_shadcn/ui/visuallyhidden.d.ts.map +1 -0
  73. package/dist/{close.icon-DgjsP0sw.mjs → close.icon-chkXPAUC.mjs} +2 -3
  74. package/dist/cn-DWCc1QRE.mjs +10 -0
  75. package/dist/components/base/alert/alert.d.ts +21 -0
  76. package/dist/components/base/alert/alert.d.ts.map +1 -0
  77. package/dist/components/base/alert/index.d.ts +2 -0
  78. package/dist/components/base/alert/index.d.ts.map +1 -0
  79. package/dist/components/base/badge/badge.d.ts +17 -0
  80. package/dist/components/base/badge/badge.d.ts.map +1 -0
  81. package/dist/components/base/badge/index.d.ts +2 -0
  82. package/dist/components/base/badge/index.d.ts.map +1 -0
  83. package/dist/components/base/breadcrumb/index.d.ts +2 -0
  84. package/dist/components/base/breadcrumb/index.d.ts.map +1 -0
  85. package/dist/components/base/button/button.d.ts +24 -0
  86. package/dist/components/base/button/button.d.ts.map +1 -0
  87. package/dist/components/base/button/index.d.ts +5 -0
  88. package/dist/components/base/button/index.d.ts.map +1 -0
  89. package/dist/components/base/button/link-button.d.ts +19 -0
  90. package/dist/components/base/button/link-button.d.ts.map +1 -0
  91. package/dist/components/base/button-group/index.d.ts +2 -0
  92. package/dist/components/base/button-group/index.d.ts.map +1 -0
  93. package/dist/components/base/calendar/calendar.d.ts +10 -0
  94. package/dist/components/base/calendar/calendar.d.ts.map +1 -0
  95. package/dist/components/base/calendar/index.d.ts +2 -0
  96. package/dist/components/base/calendar/index.d.ts.map +1 -0
  97. package/dist/components/base/card/card.d.ts +8 -0
  98. package/dist/components/base/card/card.d.ts.map +1 -0
  99. package/dist/components/base/card/index.d.ts +2 -0
  100. package/dist/components/base/card/index.d.ts.map +1 -0
  101. package/dist/components/base/chart/index.d.ts +2 -0
  102. package/dist/components/base/chart/index.d.ts.map +1 -0
  103. package/dist/components/base/checkbox/checkbox.d.ts +10 -0
  104. package/dist/components/base/checkbox/checkbox.d.ts.map +1 -0
  105. package/dist/components/base/checkbox/index.d.ts +2 -0
  106. package/dist/components/base/checkbox/index.d.ts.map +1 -0
  107. package/dist/components/base/collapsible/index.d.ts +2 -0
  108. package/dist/components/base/collapsible/index.d.ts.map +1 -0
  109. package/dist/components/base/command/index.d.ts +2 -0
  110. package/dist/components/base/command/index.d.ts.map +1 -0
  111. package/dist/components/base/dialog/dialog.d.ts +46 -0
  112. package/dist/components/base/dialog/dialog.d.ts.map +1 -0
  113. package/dist/components/base/dialog/index.d.ts +3 -0
  114. package/dist/components/base/dialog/index.d.ts.map +1 -0
  115. package/dist/components/base/hover-card/index.d.ts +2 -0
  116. package/dist/components/base/hover-card/index.d.ts.map +1 -0
  117. package/dist/components/base/index.d.ts +35 -0
  118. package/dist/components/base/index.d.ts.map +1 -0
  119. package/dist/components/base/input/index.d.ts +2 -0
  120. package/dist/components/base/input/index.d.ts.map +1 -0
  121. package/dist/components/base/input/input.d.ts +9 -0
  122. package/dist/components/base/input/input.d.ts.map +1 -0
  123. package/dist/components/base/input-group/index.d.ts +2 -0
  124. package/dist/components/base/input-group/index.d.ts.map +1 -0
  125. package/dist/components/base/label/index.d.ts +17 -0
  126. package/dist/components/base/label/index.d.ts.map +1 -0
  127. package/dist/components/base/label/label.d.ts +26 -0
  128. package/dist/components/base/label/label.d.ts.map +1 -0
  129. package/dist/components/base/map/index.d.ts +2 -0
  130. package/dist/components/base/map/index.d.ts.map +1 -0
  131. package/dist/components/base/place-autocomplete/index.d.ts +2 -0
  132. package/dist/components/base/place-autocomplete/index.d.ts.map +1 -0
  133. package/dist/components/base/popover/index.d.ts +2 -0
  134. package/dist/components/base/popover/index.d.ts.map +1 -0
  135. package/dist/components/base/radio-group/index.d.ts +2 -0
  136. package/dist/components/base/radio-group/index.d.ts.map +1 -0
  137. package/dist/components/base/radio-group/radio-group.d.ts +16 -0
  138. package/dist/components/base/radio-group/radio-group.d.ts.map +1 -0
  139. package/dist/components/base/select/index.d.ts +2 -0
  140. package/dist/components/base/select/index.d.ts.map +1 -0
  141. package/dist/components/base/select/select.d.ts +54 -0
  142. package/dist/components/base/select/select.d.ts.map +1 -0
  143. package/dist/components/base/separator/index.d.ts +2 -0
  144. package/dist/components/base/separator/index.d.ts.map +1 -0
  145. package/dist/components/base/sheet/index.d.ts +2 -0
  146. package/dist/components/base/sheet/index.d.ts.map +1 -0
  147. package/dist/components/base/sheet/sheet.d.ts +23 -0
  148. package/dist/components/base/sheet/sheet.d.ts.map +1 -0
  149. package/dist/components/base/skeleton/index.d.ts +2 -0
  150. package/dist/components/base/skeleton/index.d.ts.map +1 -0
  151. package/dist/components/base/spinner/index.d.ts +2 -0
  152. package/dist/components/base/spinner/index.d.ts.map +1 -0
  153. package/dist/components/base/switch/index.d.ts +2 -0
  154. package/dist/components/base/switch/index.d.ts.map +1 -0
  155. package/dist/components/base/switch/switch.d.ts +10 -0
  156. package/dist/components/base/switch/switch.d.ts.map +1 -0
  157. package/dist/components/base/table/index.d.ts +2 -0
  158. package/dist/components/base/table/index.d.ts.map +1 -0
  159. package/dist/components/base/tabs/index.d.ts +2 -0
  160. package/dist/components/base/tabs/index.d.ts.map +1 -0
  161. package/dist/components/base/tabs/tabs.d.ts +22 -0
  162. package/dist/components/base/tabs/tabs.d.ts.map +1 -0
  163. package/dist/components/base/textarea/index.d.ts +2 -0
  164. package/dist/components/base/textarea/index.d.ts.map +1 -0
  165. package/dist/components/base/textarea/textarea.d.ts +9 -0
  166. package/dist/components/base/textarea/textarea.d.ts.map +1 -0
  167. package/dist/components/base/tooltip/index.d.ts +2 -0
  168. package/dist/components/base/tooltip/index.d.ts.map +1 -0
  169. package/dist/components/base/tooltip/tooltip.d.ts +17 -0
  170. package/dist/components/base/tooltip/tooltip.d.ts.map +1 -0
  171. package/dist/components/base/visuallyhidden/index.d.ts +2 -0
  172. package/dist/components/base/visuallyhidden/index.d.ts.map +1 -0
  173. package/dist/components/features/autocomplete/autocomplete.d.ts +34 -0
  174. package/dist/components/features/autocomplete/autocomplete.d.ts.map +1 -0
  175. package/dist/components/features/autocomplete/autocomplete.types.d.ts +71 -0
  176. package/dist/components/features/autocomplete/autocomplete.types.d.ts.map +1 -0
  177. package/dist/components/features/autocomplete/index.d.ts +3 -0
  178. package/dist/components/features/autocomplete/index.d.ts.map +1 -0
  179. package/dist/components/features/avatar-stack/avatar-stack.d.ts +17 -0
  180. package/dist/components/features/avatar-stack/avatar-stack.d.ts.map +1 -0
  181. package/dist/components/features/avatar-stack/index.d.ts +2 -0
  182. package/dist/components/features/avatar-stack/index.d.ts.map +1 -0
  183. package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts +41 -0
  184. package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts.map +1 -0
  185. package/dist/components/features/calendar-date-picker/index.d.ts +2 -0
  186. package/dist/components/features/calendar-date-picker/index.d.ts.map +1 -0
  187. package/dist/components/features/dropdown/dropdown.d.ts +31 -0
  188. package/dist/components/features/dropdown/dropdown.d.ts.map +1 -0
  189. package/dist/components/features/dropdown/index.d.ts +2 -0
  190. package/dist/components/features/dropdown/index.d.ts.map +1 -0
  191. package/dist/components/features/dropzone/dropzone.d.ts +28 -0
  192. package/dist/components/features/dropzone/dropzone.d.ts.map +1 -0
  193. package/dist/components/features/dropzone/index.d.ts +3 -0
  194. package/dist/components/features/dropzone/index.d.ts.map +1 -0
  195. package/dist/components/features/empty-content/empty-content.d.ts +29 -0
  196. package/dist/components/features/empty-content/empty-content.d.ts.map +1 -0
  197. package/dist/components/features/empty-content/index.d.ts +3 -0
  198. package/dist/components/features/empty-content/index.d.ts.map +1 -0
  199. package/dist/components/features/file-input-button/file-input-button.d.ts +33 -0
  200. package/dist/components/features/file-input-button/file-input-button.d.ts.map +1 -0
  201. package/dist/components/features/file-input-button/index.d.ts +2 -0
  202. package/dist/components/features/file-input-button/index.d.ts.map +1 -0
  203. package/dist/components/features/form/components/form-autocomplete.d.ts +44 -0
  204. package/dist/components/features/form/components/form-autocomplete.d.ts.map +1 -0
  205. package/dist/components/features/form/components/form-button.d.ts +23 -0
  206. package/dist/components/features/form/components/form-button.d.ts.map +1 -0
  207. package/dist/components/features/form/components/form-checkbox.d.ts +18 -0
  208. package/dist/components/features/form/components/form-checkbox.d.ts.map +1 -0
  209. package/dist/components/features/form/components/form-copy-box.d.ts +41 -0
  210. package/dist/components/features/form/components/form-copy-box.d.ts.map +1 -0
  211. package/dist/components/features/form/components/form-custom.d.ts +27 -0
  212. package/dist/components/features/form/components/form-custom.d.ts.map +1 -0
  213. package/dist/components/features/form/components/form-description.d.ts +19 -0
  214. package/dist/components/features/form/components/form-description.d.ts.map +1 -0
  215. package/dist/components/features/form/components/form-dialog.d.ts +58 -0
  216. package/dist/components/features/form/components/form-dialog.d.ts.map +1 -0
  217. package/dist/components/features/form/components/form-error.d.ts +29 -0
  218. package/dist/components/features/form/components/form-error.d.ts.map +1 -0
  219. package/dist/components/features/form/components/form-field-array.d.ts +40 -0
  220. package/dist/components/features/form/components/form-field-array.d.ts.map +1 -0
  221. package/dist/components/features/form/components/form-field.d.ts +40 -0
  222. package/dist/components/features/form/components/form-field.d.ts.map +1 -0
  223. package/dist/components/features/form/components/form-input-group.d.ts +21 -0
  224. package/dist/components/features/form/components/form-input-group.d.ts.map +1 -0
  225. package/dist/components/features/form/components/form-input.d.ts +21 -0
  226. package/dist/components/features/form/components/form-input.d.ts.map +1 -0
  227. package/dist/components/features/form/components/form-radio-group.d.ts +34 -0
  228. package/dist/components/features/form/components/form-radio-group.d.ts.map +1 -0
  229. package/dist/components/features/form/components/form-root.d.ts +49 -0
  230. package/dist/components/features/form/components/form-root.d.ts.map +1 -0
  231. package/dist/components/features/form/components/form-select.d.ts +34 -0
  232. package/dist/components/features/form/components/form-select.d.ts.map +1 -0
  233. package/dist/components/features/form/components/form-submit.d.ts +16 -0
  234. package/dist/components/features/form/components/form-submit.d.ts.map +1 -0
  235. package/dist/components/features/form/components/form-switch.d.ts +18 -0
  236. package/dist/components/features/form/components/form-switch.d.ts.map +1 -0
  237. package/dist/components/features/form/components/form-textarea.d.ts +21 -0
  238. package/dist/components/features/form/components/form-textarea.d.ts.map +1 -0
  239. package/dist/components/features/form/components/form-when.d.ts +34 -0
  240. package/dist/components/features/form/components/form-when.d.ts.map +1 -0
  241. package/dist/components/features/form/components/index.d.ts +20 -0
  242. package/dist/components/features/form/components/index.d.ts.map +1 -0
  243. package/dist/components/features/form/components/stepper/form-step.d.ts +22 -0
  244. package/dist/components/features/form/components/stepper/form-step.d.ts.map +1 -0
  245. package/dist/components/features/form/components/stepper/form-stepper.d.ts +71 -0
  246. package/dist/components/features/form/components/stepper/form-stepper.d.ts.map +1 -0
  247. package/dist/components/features/form/components/stepper/index.d.ts +5 -0
  248. package/dist/components/features/form/components/stepper/index.d.ts.map +1 -0
  249. package/dist/components/features/form/components/stepper/stepper-controls.d.ts +32 -0
  250. package/dist/components/features/form/components/stepper/stepper-controls.d.ts.map +1 -0
  251. package/dist/components/features/form/components/stepper/stepper-navigation.d.ts +17 -0
  252. package/dist/components/features/form/components/stepper/stepper-navigation.d.ts.map +1 -0
  253. package/dist/components/features/form/context/field-context.d.ts +16 -0
  254. package/dist/components/features/form/context/field-context.d.ts.map +1 -0
  255. package/dist/components/features/form/context/form-context.d.ts +20 -0
  256. package/dist/components/features/form/context/form-context.d.ts.map +1 -0
  257. package/dist/components/features/form/context/index.d.ts +3 -0
  258. package/dist/components/features/form/context/index.d.ts.map +1 -0
  259. package/dist/components/features/form/hooks/index.d.ts +6 -0
  260. package/dist/components/features/form/hooks/index.d.ts.map +1 -0
  261. package/dist/components/features/form/hooks/use-field-context.d.ts +24 -0
  262. package/dist/components/features/form/hooks/use-field-context.d.ts.map +1 -0
  263. package/dist/components/features/form/hooks/use-field.d.ts +30 -0
  264. package/dist/components/features/form/hooks/use-field.d.ts.map +1 -0
  265. package/dist/components/features/form/hooks/use-form-context.d.ts +19 -0
  266. package/dist/components/features/form/hooks/use-form-context.d.ts.map +1 -0
  267. package/dist/components/features/form/hooks/use-stepper.d.ts +56 -0
  268. package/dist/components/features/form/hooks/use-stepper.d.ts.map +1 -0
  269. package/dist/components/features/form/hooks/use-watch.d.ts +41 -0
  270. package/dist/components/features/form/hooks/use-watch.d.ts.map +1 -0
  271. package/dist/components/features/form/index.d.ts +133 -0
  272. package/dist/components/features/form/index.d.ts.map +1 -0
  273. package/dist/components/features/form/types/index.d.ts +601 -0
  274. package/dist/components/features/form/types/index.d.ts.map +1 -0
  275. package/dist/components/features/grid/components/col.d.ts +5 -0
  276. package/dist/components/features/grid/components/col.d.ts.map +1 -0
  277. package/dist/components/features/grid/components/index.d.ts +7 -0
  278. package/dist/components/features/grid/components/index.d.ts.map +1 -0
  279. package/dist/components/features/grid/components/row.d.ts +6 -0
  280. package/dist/components/features/grid/components/row.d.ts.map +1 -0
  281. package/dist/components/features/grid/constants/grid.constants.d.ts +22 -0
  282. package/dist/components/features/grid/constants/grid.constants.d.ts.map +1 -0
  283. package/dist/components/features/grid/index.d.ts +7 -0
  284. package/dist/components/features/grid/index.d.ts.map +1 -0
  285. package/dist/components/features/grid/types/grid.types.d.ts +43 -0
  286. package/dist/components/features/grid/types/grid.types.d.ts.map +1 -0
  287. package/dist/components/features/grid/utils/responsive.d.ts +10 -0
  288. package/dist/components/features/grid/utils/responsive.d.ts.map +1 -0
  289. package/dist/components/features/index.d.ts +27 -0
  290. package/dist/components/features/index.d.ts.map +1 -0
  291. package/dist/components/features/input-number/index.d.ts +2 -0
  292. package/dist/components/features/input-number/index.d.ts.map +1 -0
  293. package/dist/components/features/input-number/input-number.d.ts +22 -0
  294. package/dist/components/features/input-number/input-number.d.ts.map +1 -0
  295. package/dist/components/features/input-with-addons/index.d.ts +2 -0
  296. package/dist/components/features/input-with-addons/index.d.ts.map +1 -0
  297. package/dist/components/features/input-with-addons/input-with-addons.d.ts +14 -0
  298. package/dist/components/features/input-with-addons/input-with-addons.d.ts.map +1 -0
  299. package/dist/components/features/loader-overlay/index.d.ts +2 -0
  300. package/dist/components/features/loader-overlay/index.d.ts.map +1 -0
  301. package/dist/components/features/loader-overlay/loader-overlay.d.ts +5 -0
  302. package/dist/components/features/loader-overlay/loader-overlay.d.ts.map +1 -0
  303. package/dist/components/features/more-actions/index.d.ts +3 -0
  304. package/dist/components/features/more-actions/index.d.ts.map +1 -0
  305. package/dist/components/features/more-actions/more-actions.d.ts +19 -0
  306. package/dist/components/features/more-actions/more-actions.d.ts.map +1 -0
  307. package/dist/components/features/nprogress/index.d.ts +4 -0
  308. package/dist/components/features/nprogress/index.d.ts.map +1 -0
  309. package/dist/components/features/page-title/index.d.ts +3 -0
  310. package/dist/components/features/page-title/index.d.ts.map +1 -0
  311. package/dist/components/features/page-title/page-title.d.ts +12 -0
  312. package/dist/components/features/page-title/page-title.d.ts.map +1 -0
  313. package/dist/components/features/sidebar/app-sidebar.d.ts +14 -0
  314. package/dist/components/features/sidebar/app-sidebar.d.ts.map +1 -0
  315. package/dist/components/features/sidebar/index.d.ts +4 -0
  316. package/dist/components/features/sidebar/index.d.ts.map +1 -0
  317. package/dist/components/features/sidebar/nav-main.d.ts +36 -0
  318. package/dist/components/features/sidebar/nav-main.d.ts.map +1 -0
  319. package/dist/components/features/sidebar/sidebar.d.ts +85 -0
  320. package/dist/components/features/sidebar/sidebar.d.ts.map +1 -0
  321. package/dist/components/features/stepper/index.d.ts +2 -0
  322. package/dist/components/features/stepper/index.d.ts.map +1 -0
  323. package/dist/components/features/stepper/stepper.d.ts +42 -0
  324. package/dist/components/features/stepper/stepper.d.ts.map +1 -0
  325. package/dist/components/features/tag-input/index.d.ts +2 -0
  326. package/dist/components/features/tag-input/index.d.ts.map +1 -0
  327. package/dist/components/features/tag-input/tag-input.d.ts +38 -0
  328. package/dist/components/features/tag-input/tag-input.d.ts.map +1 -0
  329. package/dist/components/features/task-queue/constants.d.ts +8 -0
  330. package/dist/components/features/task-queue/constants.d.ts.map +1 -0
  331. package/dist/components/features/task-queue/core/index.d.ts +10 -0
  332. package/dist/components/features/task-queue/core/index.d.ts.map +1 -0
  333. package/dist/components/features/task-queue/core/task-panel-actions.d.ts +7 -0
  334. package/dist/components/features/task-queue/core/task-panel-actions.d.ts.map +1 -0
  335. package/dist/components/features/task-queue/core/task-panel-counter.d.ts +10 -0
  336. package/dist/components/features/task-queue/core/task-panel-counter.d.ts.map +1 -0
  337. package/dist/components/features/task-queue/core/task-panel-header.d.ts +2 -0
  338. package/dist/components/features/task-queue/core/task-panel-header.d.ts.map +1 -0
  339. package/dist/components/features/task-queue/core/task-panel-item.d.ts +9 -0
  340. package/dist/components/features/task-queue/core/task-panel-item.d.ts.map +1 -0
  341. package/dist/components/features/task-queue/core/task-panel.d.ts +6 -0
  342. package/dist/components/features/task-queue/core/task-panel.d.ts.map +1 -0
  343. package/dist/components/features/task-queue/core/task-queue-dropdown.d.ts +2 -0
  344. package/dist/components/features/task-queue/core/task-queue-dropdown.d.ts.map +1 -0
  345. package/dist/components/features/task-queue/core/task-queue-trigger.d.ts +9 -0
  346. package/dist/components/features/task-queue/core/task-queue-trigger.d.ts.map +1 -0
  347. package/dist/components/features/task-queue/core/task-summary-dialog.d.ts +24 -0
  348. package/dist/components/features/task-queue/core/task-summary-dialog.d.ts.map +1 -0
  349. package/dist/components/features/task-queue/engine/executor.d.ts +14 -0
  350. package/dist/components/features/task-queue/engine/executor.d.ts.map +1 -0
  351. package/dist/components/features/task-queue/engine/index.d.ts +5 -0
  352. package/dist/components/features/task-queue/engine/index.d.ts.map +1 -0
  353. package/dist/components/features/task-queue/engine/queue.d.ts +42 -0
  354. package/dist/components/features/task-queue/engine/queue.d.ts.map +1 -0
  355. package/dist/components/features/task-queue/engine/storage/detect-storage.d.ts +19 -0
  356. package/dist/components/features/task-queue/engine/storage/detect-storage.d.ts.map +1 -0
  357. package/dist/components/features/task-queue/engine/storage/index.d.ts +6 -0
  358. package/dist/components/features/task-queue/engine/storage/index.d.ts.map +1 -0
  359. package/dist/components/features/task-queue/engine/storage/local-storage.d.ts +12 -0
  360. package/dist/components/features/task-queue/engine/storage/local-storage.d.ts.map +1 -0
  361. package/dist/components/features/task-queue/engine/storage/memory-storage.d.ts +18 -0
  362. package/dist/components/features/task-queue/engine/storage/memory-storage.d.ts.map +1 -0
  363. package/dist/components/features/task-queue/engine/storage/redis-storage.d.ts +23 -0
  364. package/dist/components/features/task-queue/engine/storage/redis-storage.d.ts.map +1 -0
  365. package/dist/components/features/task-queue/engine/storage/storage.d.ts +2 -0
  366. package/dist/components/features/task-queue/engine/storage/storage.d.ts.map +1 -0
  367. package/dist/components/features/task-queue/hooks/index.d.ts +3 -0
  368. package/dist/components/features/task-queue/hooks/index.d.ts.map +1 -0
  369. package/dist/components/features/task-queue/hooks/use-task-queue.d.ts +3 -0
  370. package/dist/components/features/task-queue/hooks/use-task-queue.d.ts.map +1 -0
  371. package/dist/components/features/task-queue/hooks/use-task-scope.d.ts +52 -0
  372. package/dist/components/features/task-queue/hooks/use-task-scope.d.ts.map +1 -0
  373. package/dist/components/features/task-queue/index.d.ts +9 -0
  374. package/dist/components/features/task-queue/index.d.ts.map +1 -0
  375. package/dist/components/features/task-queue/provider/index.d.ts +2 -0
  376. package/dist/components/features/task-queue/provider/index.d.ts.map +1 -0
  377. package/dist/components/features/task-queue/provider/task-queue-provider.d.ts +14 -0
  378. package/dist/components/features/task-queue/provider/task-queue-provider.d.ts.map +1 -0
  379. package/dist/components/features/task-queue/types.d.ts +213 -0
  380. package/dist/components/features/task-queue/types.d.ts.map +1 -0
  381. package/dist/components/features/task-queue/utils/index.d.ts +37 -0
  382. package/dist/components/features/task-queue/utils/index.d.ts.map +1 -0
  383. package/dist/components/features/time-range-picker/components/absolute-range-panel.d.ts +18 -0
  384. package/dist/components/features/time-range-picker/components/absolute-range-panel.d.ts.map +1 -0
  385. package/dist/components/features/time-range-picker/components/index.d.ts +4 -0
  386. package/dist/components/features/time-range-picker/components/index.d.ts.map +1 -0
  387. package/dist/components/features/time-range-picker/components/quick-ranges-panel.d.ts +10 -0
  388. package/dist/components/features/time-range-picker/components/quick-ranges-panel.d.ts.map +1 -0
  389. package/dist/components/features/time-range-picker/components/timezone-selector.d.ts +10 -0
  390. package/dist/components/features/time-range-picker/components/timezone-selector.d.ts.map +1 -0
  391. package/dist/components/features/time-range-picker/index.d.ts +8 -0
  392. package/dist/components/features/time-range-picker/index.d.ts.map +1 -0
  393. package/dist/components/features/time-range-picker/presets.d.ts +29 -0
  394. package/dist/components/features/time-range-picker/presets.d.ts.map +1 -0
  395. package/dist/components/features/time-range-picker/time-range-picker.d.ts +31 -0
  396. package/dist/components/features/time-range-picker/time-range-picker.d.ts.map +1 -0
  397. package/dist/components/features/time-range-picker/types.d.ts +59 -0
  398. package/dist/components/features/time-range-picker/types.d.ts.map +1 -0
  399. package/dist/components/features/time-range-picker/utils/format-display.d.ts +20 -0
  400. package/dist/components/features/time-range-picker/utils/format-display.d.ts.map +1 -0
  401. package/dist/components/features/time-range-picker/utils/index.d.ts +4 -0
  402. package/dist/components/features/time-range-picker/utils/index.d.ts.map +1 -0
  403. package/dist/components/features/time-range-picker/utils/timezone.d.ts +51 -0
  404. package/dist/components/features/time-range-picker/utils/timezone.d.ts.map +1 -0
  405. package/dist/components/features/time-range-picker/utils/to-api-format.d.ts +13 -0
  406. package/dist/components/features/time-range-picker/utils/to-api-format.d.ts.map +1 -0
  407. package/dist/components/features/toast/headless-toast.d.ts +10 -0
  408. package/dist/components/features/toast/headless-toast.d.ts.map +1 -0
  409. package/dist/components/features/toast/index.d.ts +4 -0
  410. package/dist/components/features/toast/index.d.ts.map +1 -0
  411. package/dist/components/features/toast/toast.d.ts +9 -0
  412. package/dist/components/features/toast/toast.d.ts.map +1 -0
  413. package/dist/components/features/toast/toaster.d.ts +10 -0
  414. package/dist/components/features/toast/toaster.d.ts.map +1 -0
  415. package/dist/components/features/toast/types.d.ts +7 -0
  416. package/dist/components/features/toast/types.d.ts.map +1 -0
  417. package/dist/components/features/toast/use-toast.d.ts +3 -0
  418. package/dist/components/features/toast/use-toast.d.ts.map +1 -0
  419. package/dist/components/icons/close.icon.d.ts +5 -0
  420. package/dist/components/icons/close.icon.d.ts.map +1 -0
  421. package/dist/components/icons/icon-wrapper.d.ts +7 -0
  422. package/dist/components/icons/icon-wrapper.d.ts.map +1 -0
  423. package/dist/components/icons/index.d.ts +4 -0
  424. package/dist/components/icons/index.d.ts.map +1 -0
  425. package/dist/components/icons/spinner.icon.d.ts +13 -0
  426. package/dist/components/icons/spinner.icon.d.ts.map +1 -0
  427. package/dist/components/index.d.ts +10 -0
  428. package/dist/components/index.d.ts.map +1 -0
  429. package/dist/components/index.mjs +5 -249
  430. package/dist/components/themes/client-only.d.ts +8 -0
  431. package/dist/components/themes/client-only.d.ts.map +1 -0
  432. package/dist/components/themes/index.d.ts +5 -0
  433. package/dist/components/themes/index.d.ts.map +1 -0
  434. package/dist/components/themes/script.d.ts +2 -0
  435. package/dist/components/themes/script.d.ts.map +1 -0
  436. package/dist/components/themes/theme-script.d.ts +18 -0
  437. package/dist/components/themes/theme-script.d.ts.map +1 -0
  438. package/dist/components/themes/theme.provider.d.ts +4 -0
  439. package/dist/components/themes/theme.provider.d.ts.map +1 -0
  440. package/dist/components/themes/types.d.ts +30 -0
  441. package/dist/components/themes/types.d.ts.map +1 -0
  442. package/dist/datum.provider-D6VMjSV0.mjs +1 -2
  443. package/dist/hooks/index.d.ts +3 -0
  444. package/dist/hooks/index.d.ts.map +1 -0
  445. package/dist/hooks/index.mjs +1 -1
  446. package/dist/hooks/use-copy-to-clipboard.d.ts +8 -0
  447. package/dist/hooks/use-copy-to-clipboard.d.ts.map +1 -0
  448. package/dist/hooks/use-debounce.d.ts +8 -0
  449. package/dist/hooks/use-debounce.d.ts.map +1 -0
  450. package/dist/hooks/use-theme.d.ts +2 -0
  451. package/dist/hooks/use-theme.d.ts.map +1 -0
  452. package/dist/{icon-wrapper-BTllM5Re.mjs → icon-wrapper-BgPkifId.mjs} +2 -3
  453. package/dist/icons/index.mjs +2 -2
  454. package/dist/index.d.ts +5 -0
  455. package/dist/index.d.ts.map +1 -0
  456. package/dist/index.mjs +6 -256
  457. package/dist/providers/datum.provider.d.ts +20 -0
  458. package/dist/providers/datum.provider.d.ts.map +1 -0
  459. package/dist/providers/index.d.ts +3 -0
  460. package/dist/providers/index.d.ts.map +1 -0
  461. package/dist/style.css +0 -2
  462. package/dist/{theme-script-B_TkiYs4.mjs → theme-script-CS7JSmQs.mjs} +1396 -383
  463. package/dist/theme.provider-DpFLwtHe.mjs +1 -2
  464. package/dist/{use-copy-to-clipboard-D5U8bWsn.mjs → use-copy-to-clipboard-BfrpD6G8.mjs} +3 -4
  465. package/dist/use-debounce-BYB-jPeX.mjs +1 -2
  466. package/dist/utils/cn.d.ts +3 -0
  467. package/dist/utils/cn.d.ts.map +1 -0
  468. package/dist/utils/index.d.ts +2 -0
  469. package/dist/utils/index.d.ts.map +1 -0
  470. package/dist/utils/index.mjs +1 -1
  471. package/package.json +88 -11
  472. package/dist/chunk-CtajNgzt.mjs +0 -36
  473. package/dist/close.icon-DgjsP0sw.mjs.map +0 -1
  474. package/dist/components/index.d.mts +0 -27
  475. package/dist/components/index.d.mts.map +0 -1
  476. package/dist/components/index.mjs.map +0 -1
  477. package/dist/datum.provider-CsG2KNNc.d.mts +0 -30
  478. package/dist/datum.provider-CsG2KNNc.d.mts.map +0 -1
  479. package/dist/datum.provider-D6VMjSV0.mjs.map +0 -1
  480. package/dist/hooks/index.d.mts +0 -3
  481. package/dist/icon-wrapper-BTllM5Re.mjs.map +0 -1
  482. package/dist/icons/index.d.mts +0 -3
  483. package/dist/index-DH2XEEjO.d.mts +0 -3995
  484. package/dist/index-DH2XEEjO.d.mts.map +0 -1
  485. package/dist/index.d.mts +0 -31
  486. package/dist/index.d.mts.map +0 -1
  487. package/dist/index.mjs.map +0 -1
  488. package/dist/providers/index.d.mts +0 -3
  489. package/dist/spinner.icon-q9zisVlw.d.mts +0 -46
  490. package/dist/spinner.icon-q9zisVlw.d.mts.map +0 -1
  491. package/dist/style.css.map +0 -1
  492. package/dist/theme-script-B_TkiYs4.mjs.map +0 -1
  493. package/dist/theme.provider-DpFLwtHe.mjs.map +0 -1
  494. package/dist/types-BoL47uxV.d.mts +0 -34
  495. package/dist/types-BoL47uxV.d.mts.map +0 -1
  496. package/dist/use-copy-to-clipboard-D5U8bWsn.mjs.map +0 -1
  497. package/dist/use-debounce-BYB-jPeX.mjs.map +0 -1
  498. package/dist/use-debounce-Dg9zNz9U.d.mts +0 -19
  499. package/dist/use-debounce-Dg9zNz9U.d.mts.map +0 -1
  500. package/dist/utils/index.d.mts +0 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-field.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,cAAc,EAAwB,MAAM,UAAU,CAAA;AAoE3F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,WAAW,EACX,OAAO,EACP,QAAgB,EAChB,QAAgB,EAChB,SAAS,EACT,cAAc,GACf,EAAE,cAAc,kDAgJhB;yBA1Je,SAAS"}
@@ -0,0 +1,21 @@
1
+ import type { InputWithAddonsProps } from '../../input-with-addons';
2
+ import * as React from 'react';
3
+ /**
4
+ * Form.Input - Text input component
5
+ *
6
+ * Automatically wired to the parent Form.Field context.
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * <Form.Field name="email" label="Email" required>
11
+ * <Form.Input type="email" placeholder="john@example.com" />
12
+ * </Form.Field>
13
+ * ```
14
+ */
15
+ export declare function FormInputGroup({ ref, type, className, disabled, ...props }: InputWithAddonsProps & {
16
+ ref?: React.RefObject<HTMLInputElement | null>;
17
+ }): import("react/jsx-runtime").JSX.Element;
18
+ export declare namespace FormInputGroup {
19
+ var displayName: string;
20
+ }
21
+ //# sourceMappingURL=form-input-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-input-group.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-input-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAEnE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAAC,EAAE,GAAG,EAAE,IAAa,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAA;CAAE,2CAiC9J;yBAjCe,cAAc"}
@@ -0,0 +1,21 @@
1
+ import type { FormInputProps } from '../types';
2
+ import * as React from 'react';
3
+ /**
4
+ * Form.Input - Text input component
5
+ *
6
+ * Automatically wired to the parent Form.Field context.
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * <Form.Field name="email" label="Email" required>
11
+ * <Form.Input type="email" placeholder="john@example.com" />
12
+ * </Form.Field>
13
+ * ```
14
+ */
15
+ export declare function FormInput({ ref, type, className, disabled, ...props }: FormInputProps & {
16
+ ref?: React.RefObject<HTMLInputElement | null>;
17
+ }): import("react/jsx-runtime").JSX.Element;
18
+ export declare namespace FormInput {
19
+ var displayName: string;
20
+ }
21
+ //# sourceMappingURL=form-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-input.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAE9C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B;;;;;;;;;;;GAWG;AACH,wBAAgB,SAAS,CAAC,EAAE,GAAG,EAAE,IAAa,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAA;CAAE,2CAmBnJ;yBAnBe,SAAS"}
@@ -0,0 +1,34 @@
1
+ import type { FormRadioGroupProps, FormRadioItemProps } from '../types';
2
+ /**
3
+ * Form.RadioGroup - Radio button group component
4
+ *
5
+ * Automatically wired to the parent Form.Field context.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <Form.Field name="plan" label="Select Plan" required>
10
+ * <Form.RadioGroup orientation="vertical">
11
+ * <Form.RadioItem value="free" label="Free" description="Basic features" />
12
+ * <Form.RadioItem value="pro" label="Pro" description="Advanced features" />
13
+ * <Form.RadioItem value="enterprise" label="Enterprise" description="Custom solutions" />
14
+ * </Form.RadioGroup>
15
+ * </Form.Field>
16
+ * ```
17
+ */
18
+ export declare function FormRadioGroup({ orientation, disabled, className, children, }: FormRadioGroupProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare namespace FormRadioGroup {
20
+ var displayName: string;
21
+ }
22
+ /**
23
+ * Form.RadioItem - Individual radio button option
24
+ *
25
+ * @example
26
+ * ```tsx
27
+ * <Form.RadioItem value="option1" label="Option 1" />
28
+ * ```
29
+ */
30
+ export declare function FormRadioItem({ value, label, description, disabled }: FormRadioItemProps): import("react/jsx-runtime").JSX.Element;
31
+ export declare namespace FormRadioItem {
32
+ var displayName: string;
33
+ }
34
+ //# sourceMappingURL=form-radio-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-radio-group.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAQvE;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,cAAc,CAAC,EAC7B,WAAwB,EACxB,QAAQ,EACR,SAAS,EACT,QAAQ,GACT,EAAE,mBAAmB,2CA0BrB;yBA/Be,cAAc;;;AAmC9B;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CAoBxF;yBApBe,aAAa"}
@@ -0,0 +1,49 @@
1
+ import type { z } from 'zod';
2
+ import type { FormRootProps } from '../types';
3
+ /**
4
+ * Form.Root - The root form component
5
+ *
6
+ * Provides form context to all children with built-in:
7
+ * - Zod schema validation
8
+ * - Conform integration
9
+ * - Optional telemetry callbacks
10
+ *
11
+ * Supports two patterns:
12
+ * 1. ReactNode children - for standard forms
13
+ * 2. Render function - for forms needing access to form state
14
+ *
15
+ * @example Standard usage
16
+ * ```tsx
17
+ * <Form.Root schema={userSchema} onSubmit={handleSubmit}>
18
+ * <Form.Field name="email" label="Email" required>
19
+ * <Form.Input type="email" />
20
+ * </Form.Field>
21
+ * <Form.Submit>Save</Form.Submit>
22
+ * </Form.Root>
23
+ * ```
24
+ *
25
+ * @example Render function for form state access
26
+ * ```tsx
27
+ * <Form.Root schema={userSchema} onSubmit={handleSubmit}>
28
+ * {({ form, fields, isSubmitting }) => (
29
+ * <>
30
+ * <Form.Field name="email" label="Email" required>
31
+ * <Form.Input type="email" />
32
+ * </Form.Field>
33
+ * <Button
34
+ * disabled={isSubmitting}
35
+ * onClick={() => form.update({ value: { email: '' } })}
36
+ * >
37
+ * Cancel
38
+ * </Button>
39
+ * <Form.Submit>Save</Form.Submit>
40
+ * </>
41
+ * )}
42
+ * </Form.Root>
43
+ * ```
44
+ */
45
+ export declare function FormRoot<T extends z.ZodType>({ schema, children, onSubmit, action, method, formComponent: FormComp, id, name, defaultValues, mode, isSubmitting: externalIsSubmitting, onError, onSuccess, telemetry, className, }: FormRootProps<T>): import("react/jsx-runtime").JSX.Element;
46
+ export declare namespace FormRoot {
47
+ var displayName: string;
48
+ }
49
+ //# sourceMappingURL=form-root.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-root.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EAAE,aAAa,EAAuB,MAAM,UAAU,CAAA;AAOlE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,EAC5C,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,MAAe,EACf,aAAa,EAAE,QAAiB,EAChC,EAAE,EACF,IAAI,EACJ,aAAa,EACb,IAAe,EACf,YAAY,EAAE,oBAAoB,EAClC,OAAO,EACP,SAAS,EACT,SAAS,EACT,SAAS,GACV,EAAE,aAAa,CAAC,CAAC,CAAC,2CAqJlB;yBArKe,QAAQ"}
@@ -0,0 +1,34 @@
1
+ import type { FormSelectItemProps, FormSelectProps } from '../types';
2
+ /**
3
+ * Form.Select - Select dropdown component
4
+ *
5
+ * Automatically wired to the parent Form.Field context.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <Form.Field name="country" label="Country" required>
10
+ * <Form.Select placeholder="Select a country">
11
+ * <Form.SelectItem value="us">United States</Form.SelectItem>
12
+ * <Form.SelectItem value="uk">United Kingdom</Form.SelectItem>
13
+ * <Form.SelectItem value="ca">Canada</Form.SelectItem>
14
+ * </Form.Select>
15
+ * </Form.Field>
16
+ * ```
17
+ */
18
+ export declare function FormSelect({ placeholder, disabled, className, children }: FormSelectProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare namespace FormSelect {
20
+ var displayName: string;
21
+ }
22
+ /**
23
+ * Form.SelectItem - Individual select option
24
+ *
25
+ * @example
26
+ * ```tsx
27
+ * <Form.SelectItem value="option1">Option 1</Form.SelectItem>
28
+ * ```
29
+ */
30
+ export declare function FormSelectItem({ value, children, disabled }: FormSelectItemProps): import("react/jsx-runtime").JSX.Element;
31
+ export declare namespace FormSelectItem {
32
+ var displayName: string;
33
+ }
34
+ //# sourceMappingURL=form-select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-select.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAapE;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,UAAU,CAAC,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,eAAe,2CA4BzF;yBA5Be,UAAU;;;AAgC1B;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,mBAAmB,2CAMhF;yBANe,cAAc"}
@@ -0,0 +1,16 @@
1
+ import type { FormSubmitProps } from '../types';
2
+ /**
3
+ * Form.Submit - Submit button with automatic loading state
4
+ *
5
+ * @example
6
+ * ```tsx
7
+ * <Form.Submit loadingText="Saving...">
8
+ * Save Changes
9
+ * </Form.Submit>
10
+ * ```
11
+ */
12
+ export declare function FormSubmit({ children, loadingText, loading, ...props }: FormSubmitProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare namespace FormSubmit {
14
+ var displayName: string;
15
+ }
16
+ //# sourceMappingURL=form-submit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-submit.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-submit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAI/C;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAe,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAU/F;yBAVe,UAAU"}
@@ -0,0 +1,18 @@
1
+ import type { FormSwitchProps } from '../types';
2
+ /**
3
+ * Form.Switch - Toggle switch component
4
+ *
5
+ * Automatically wired to the parent Form.Field context.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <Form.Field name="notifications">
10
+ * <Form.Switch label="Enable email notifications" />
11
+ * </Form.Field>
12
+ * ```
13
+ */
14
+ export declare function FormSwitch({ label, disabled, className }: FormSwitchProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare namespace FormSwitch {
16
+ var displayName: string;
17
+ }
18
+ //# sourceMappingURL=form-switch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-switch.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAQ/C;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,eAAe,2CAwCzE;yBAxCe,UAAU"}
@@ -0,0 +1,21 @@
1
+ import type { FormTextareaProps } from '../types';
2
+ import * as React from 'react';
3
+ /**
4
+ * Form.Textarea - Multi-line text input component
5
+ *
6
+ * Automatically wired to the parent Form.Field context.
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * <Form.Field name="bio" label="Bio">
11
+ * <Form.Textarea rows={4} placeholder="Tell us about yourself..." />
12
+ * </Form.Field>
13
+ * ```
14
+ */
15
+ export declare function FormTextarea({ ref, className, disabled, rows, ...props }: FormTextareaProps & {
16
+ ref?: React.RefObject<HTMLTextAreaElement | null>;
17
+ }): import("react/jsx-runtime").JSX.Element;
18
+ export declare namespace FormTextarea {
19
+ var displayName: string;
20
+ }
21
+ //# sourceMappingURL=form-textarea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-textarea.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAEjD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,CAAC,EAAE,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAA;CAAE,2CAmBvJ;yBAnBe,YAAY"}
@@ -0,0 +1,34 @@
1
+ import type { FormWhenProps } from '../types';
2
+ /**
3
+ * Form.When - Conditional rendering based on field values
4
+ *
5
+ * Renders children only when the specified field matches the condition.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * // Render when field equals value
10
+ * <Form.When field="contactMethod" is="email">
11
+ * <Form.Field name="email"><Form.Input type="email" /></Form.Field>
12
+ * </Form.When>
13
+ *
14
+ * // Render when field does not equal value
15
+ * <Form.When field="contactMethod" isNot="none">
16
+ * <Form.Field name="contact"><Form.Input /></Form.Field>
17
+ * </Form.When>
18
+ *
19
+ * // Render when field value is in array
20
+ * <Form.When field="role" in={['admin', 'moderator']}>
21
+ * <Form.Field name="permissions"><Form.Input /></Form.Field>
22
+ * </Form.When>
23
+ *
24
+ * // Render when field value is not in array
25
+ * <Form.When field="status" notIn={['archived', 'deleted']}>
26
+ * <Form.Field name="actions"><Form.Input /></Form.Field>
27
+ * </Form.When>
28
+ * ```
29
+ */
30
+ export declare function FormWhen({ field, is, isNot, in: inArray, notIn, children }: FormWhenProps): import("react/jsx-runtime").JSX.Element | null;
31
+ export declare namespace FormWhen {
32
+ var displayName: string;
33
+ }
34
+ //# sourceMappingURL=form-when.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-when.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/form-when.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAI7C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,aAAa,kDA+BzF;yBA/Be,QAAQ"}
@@ -0,0 +1,20 @@
1
+ export { FormAutocomplete } from './form-autocomplete';
2
+ export { FormButton } from './form-button';
3
+ export { FormCheckbox } from './form-checkbox';
4
+ export { FormCopyBox } from './form-copy-box';
5
+ export { FormCustom } from './form-custom';
6
+ export { FormDescription } from './form-description';
7
+ export { FormDialog } from './form-dialog';
8
+ export { FormError } from './form-error';
9
+ export { FormField } from './form-field';
10
+ export { FormFieldArray } from './form-field-array';
11
+ export { FormInput } from './form-input';
12
+ export { FormRadioGroup, FormRadioItem } from './form-radio-group';
13
+ export { FormRoot } from './form-root';
14
+ export { FormSelect, FormSelectItem } from './form-select';
15
+ export { FormSubmit } from './form-submit';
16
+ export { FormSwitch } from './form-switch';
17
+ export { FormTextarea } from './form-textarea';
18
+ export { FormWhen } from './form-when';
19
+ export { FormStep, FormStepper, StepperControls, StepperNavigation } from './stepper';
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/components/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAGpD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAElE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE9C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAGtC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA"}
@@ -0,0 +1,22 @@
1
+ import type { FormStepProps } from '../../types';
2
+ /**
3
+ * Form.Step - Individual step content container
4
+ *
5
+ * Only renders its children when the step is active.
6
+ * Works with the single-form architecture - fields remain registered
7
+ * even when unmounted, preserving their values.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * <Form.Step id="account">
12
+ * <Form.Field name="email" label="Email" required>
13
+ * <Form.Input type="email" />
14
+ * </Form.Field>
15
+ * </Form.Step>
16
+ * ```
17
+ */
18
+ export declare function FormStep({ id, children }: FormStepProps): import("react/jsx-runtime").JSX.Element | null;
19
+ export declare namespace FormStep {
20
+ var displayName: string;
21
+ }
22
+ //# sourceMappingURL=form-step.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-step.d.ts","sourceRoot":"","sources":["../../../../../../src/components/features/form/components/stepper/form-step.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAIhD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,QAAQ,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,aAAa,kDASvD;yBATe,QAAQ"}
@@ -0,0 +1,71 @@
1
+ import type { FormStepperProps, StepConfig } from '../../types';
2
+ import * as React from 'react';
3
+ interface FormStepperContextValue {
4
+ /** All step configurations */
5
+ steps: StepConfig[];
6
+ /** Current step config */
7
+ current: StepConfig;
8
+ /** Current step index */
9
+ currentIndex: number;
10
+ /** Go to next step */
11
+ next: () => void;
12
+ /** Go to previous step */
13
+ prev: () => void;
14
+ /** Go to specific step by ID */
15
+ goTo: (stepId: string) => void;
16
+ /** Whether current step is first */
17
+ isFirst: boolean;
18
+ /** Whether current step is last */
19
+ isLast: boolean;
20
+ /** Get metadata for a specific step */
21
+ getStepData: (stepId: string) => Record<string, unknown> | undefined;
22
+ /** Get all metadata from all steps */
23
+ getAllStepData: () => Record<string, unknown>;
24
+ /** Stepperize utils */
25
+ utils: {
26
+ getIndex: (id: string) => number;
27
+ };
28
+ }
29
+ export declare function useFormStepperContext(): FormStepperContextValue;
30
+ /**
31
+ * Form.Stepper - Multi-step form container
32
+ *
33
+ * Uses Stepperize internally for step navigation and a single Conform form
34
+ * instance for all steps. Schemas are auto-merged for unified validation.
35
+ *
36
+ * @example
37
+ * ```tsx
38
+ * const steps = [
39
+ * { id: 'account', label: 'Account', schema: accountSchema },
40
+ * { id: 'profile', label: 'Profile', schema: profileSchema },
41
+ * ];
42
+ *
43
+ * <Form.Stepper steps={steps} onComplete={handleComplete}>
44
+ * <Form.StepperNavigation />
45
+ *
46
+ * <Form.Step id="account">
47
+ * <Form.Field name="email" label="Email" required>
48
+ * <Form.Input type="email" />
49
+ * </Form.Field>
50
+ * </Form.Step>
51
+ *
52
+ * <Form.Step id="profile">
53
+ * <Form.Field name="name" label="Full Name" required>
54
+ * <Form.Input />
55
+ * </Form.Field>
56
+ * </Form.Step>
57
+ *
58
+ * <Form.StepperControls />
59
+ * </Form.Stepper>
60
+ * ```
61
+ */
62
+ export declare function FormStepper({ steps, children, onComplete, onStepChange, initialStep, className, defaultValues, id, formComponent, }: FormStepperProps & {
63
+ defaultValues?: Record<string, unknown>;
64
+ id?: string;
65
+ formComponent?: React.ElementType;
66
+ }): import("react/jsx-runtime").JSX.Element;
67
+ export declare namespace FormStepper {
68
+ var displayName: string;
69
+ }
70
+ export {};
71
+ //# sourceMappingURL=form-stepper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-stepper.d.ts","sourceRoot":"","sources":["../../../../../../src/components/features/form/components/stepper/form-stepper.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAA0B,UAAU,EAAE,MAAM,aAAa,CAAA;AAGvF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAU9B,UAAU,uBAAuB;IAC/B,8BAA8B;IAC9B,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,0BAA0B;IAC1B,OAAO,EAAE,UAAU,CAAA;IACnB,yBAAyB;IACzB,YAAY,EAAE,MAAM,CAAA;IACpB,sBAAsB;IACtB,IAAI,EAAE,MAAM,IAAI,CAAA;IAChB,0BAA0B;IAC1B,IAAI,EAAE,MAAM,IAAI,CAAA;IAChB,gCAAgC;IAChC,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IAC9B,oCAAoC;IACpC,OAAO,EAAE,OAAO,CAAA;IAChB,mCAAmC;IACnC,MAAM,EAAE,OAAO,CAAA;IACf,uCAAuC;IACvC,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAA;IACpE,sCAAsC;IACtC,cAAc,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC7C,uBAAuB;IACvB,KAAK,EAAE;QACL,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAA;KACjC,CAAA;CACF;AAQD,wBAAgB,qBAAqB,IAAI,uBAAuB,CAM/D;AAwED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,WAAW,EACX,SAAS,EACT,aAAa,EACb,EAAE,EACF,aAAa,GACd,EAAE,gBAAgB,GAAG;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACvC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,aAAa,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;CAClC,2CAqCA;yBAnDe,WAAW"}
@@ -0,0 +1,5 @@
1
+ export { FormStep } from './form-step';
2
+ export { FormStepper, useFormStepperContext } from './form-stepper';
3
+ export { StepperControls } from './stepper-controls';
4
+ export { StepperNavigation } from './stepper-navigation';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/features/form/components/stepper/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAA;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA"}
@@ -0,0 +1,32 @@
1
+ import type { StepperControlsProps } from '../../types';
2
+ /**
3
+ * Form.StepperControls - Navigation buttons (Previous/Next/Submit)
4
+ *
5
+ * Provides Previous and Next/Submit buttons for navigating between steps.
6
+ * The Next button triggers form validation before advancing.
7
+ * The Previous button navigates back without validation.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * <Form.StepperControls
12
+ * prevLabel={(isFirst) => isFirst ? 'Cancel' : 'Previous'}
13
+ * nextLabel={(isLast) => isLast ? 'Submit' : 'Next'}
14
+ * loadingText="Creating..."
15
+ * onCancel={() => setOpen(false)}
16
+ * />
17
+ * ```
18
+ *
19
+ * @example With external loading state
20
+ * ```tsx
21
+ * <Form.StepperControls
22
+ * loading={fetcher.state === 'submitting'}
23
+ * disabled={!isValid}
24
+ * loadingText="Saving..."
25
+ * />
26
+ * ```
27
+ */
28
+ export declare function StepperControls({ prevLabel, nextLabel, loadingText, showPrev, loading, disabled, onPrev, onCancel, className, }: StepperControlsProps): import("react/jsx-runtime").JSX.Element;
29
+ export declare namespace StepperControls {
30
+ var displayName: string;
31
+ }
32
+ //# sourceMappingURL=stepper-controls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stepper-controls.d.ts","sourceRoot":"","sources":["../../../../../../src/components/features/form/components/stepper/stepper-controls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAOvD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,eAAe,CAAC,EAC9B,SAAsB,EACtB,SAA6D,EAC7D,WAA6B,EAC7B,QAAe,EACf,OAAO,EACP,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,SAAS,GACV,EAAE,oBAAoB,2CA4DtB;yBAtEe,eAAe"}
@@ -0,0 +1,17 @@
1
+ import type { StepperNavigationProps } from '../../types';
2
+ /**
3
+ * Form.StepperNavigation - Step indicators/progress
4
+ *
5
+ * Displays visual step indicators showing current progress through the form.
6
+ * Supports horizontal and vertical variants with optional label orientation.
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * <Form.StepperNavigation variant="horizontal" labelOrientation="vertical" />
11
+ * ```
12
+ */
13
+ export declare function StepperNavigation({ variant, labelOrientation, className, }: StepperNavigationProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare namespace StepperNavigation {
15
+ var displayName: string;
16
+ }
17
+ //# sourceMappingURL=stepper-navigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stepper-navigation.d.ts","sourceRoot":"","sources":["../../../../../../src/components/features/form/components/stepper/stepper-navigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAMzD;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,OAAsB,EACtB,gBAA6B,EAC7B,SAAS,GACV,EAAE,sBAAsB,2CA6JxB;yBAjKe,iBAAiB"}
@@ -0,0 +1,16 @@
1
+ import type { FormFieldContextValue } from '../types';
2
+ import * as React from 'react';
3
+ declare const FieldContext: React.Context<FormFieldContextValue | null>;
4
+ export interface FieldProviderProps {
5
+ children: React.ReactNode;
6
+ value: FormFieldContextValue;
7
+ }
8
+ export declare function FieldProvider({ children, value }: FieldProviderProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function useFieldContext(): FormFieldContextValue;
10
+ /**
11
+ * Optional field context - returns null if not within a Form.Field
12
+ * Useful for components that can work both inside and outside Form.Field
13
+ */
14
+ export declare function useOptionalFieldContext(): FormFieldContextValue | null;
15
+ export { FieldContext };
16
+ //# sourceMappingURL=field-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"field-context.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/context/field-context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAA;AACrD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,QAAA,MAAM,YAAY,6CAA0D,CAAA;AAE5E,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,KAAK,EAAE,qBAAqB,CAAA;CAC7B;AAED,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,kBAAkB,2CAEpE;AAED,wBAAgB,eAAe,IAAI,qBAAqB,CAWvD;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,IAAI,qBAAqB,GAAG,IAAI,CAEtE;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -0,0 +1,20 @@
1
+ import type { FieldMetadata } from '@conform-to/react';
2
+ import type { FormContextValue } from '../types';
3
+ import * as React from 'react';
4
+ declare const FormContext: React.Context<FormContextValue<Record<string, unknown>> | null>;
5
+ export interface FormProviderProps {
6
+ children: React.ReactNode;
7
+ value: FormContextValue;
8
+ }
9
+ export declare function FormProvider({ children, value }: FormProviderProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function useFormContext<T extends Record<string, unknown> = Record<string, unknown>>(): FormContextValue<T>;
11
+ /**
12
+ * Get a specific field from the form context
13
+ */
14
+ export declare function useFormField(name: string): FieldMetadata<unknown> | undefined;
15
+ /**
16
+ * Check if the form is currently submitting
17
+ */
18
+ export declare function useFormSubmitting(): boolean;
19
+ export { FormContext };
20
+ //# sourceMappingURL=form-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-context.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/context/form-context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,QAAA,MAAM,WAAW,iEAAqD,CAAA;AAEtE,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,KAAK,EAAE,gBAAgB,CAAA;CACxB;AAED,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,iBAAiB,2CAElE;AAED,wBAAgB,cAAc,CAC5B,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KACxD,gBAAgB,CAAC,CAAC,CAAC,CAQvB;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,CAAC,OAAO,CAAC,GAAG,SAAS,CAG7E;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAG3C;AAED,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -0,0 +1,3 @@
1
+ export { FieldContext, FieldProvider, useFieldContext, useOptionalFieldContext, } from './field-context';
2
+ export { FormContext, FormProvider, useFormContext, useFormField, useFormSubmitting, } from './form-context';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/context/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,aAAa,EACb,eAAe,EACf,uBAAuB,GACxB,MAAM,iBAAiB,CAAA;AAExB,OAAO,EACL,WAAW,EACX,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,iBAAiB,GAClB,MAAM,gBAAgB,CAAA"}
@@ -0,0 +1,6 @@
1
+ export { useField } from './use-field';
2
+ export { useFieldContext } from './use-field-context';
3
+ export { useFormContext } from './use-form-context';
4
+ export { useStepper } from './use-stepper';
5
+ export { useWatch, useWatchAll } from './use-watch';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA"}
@@ -0,0 +1,24 @@
1
+ import type { FormFieldContextValue } from '../types';
2
+ /**
3
+ * Hook to access the current field context
4
+ * Must be used within a Form.Field component
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * function MyInput() {
9
+ * const { name, id, errors, required, disabled, fieldMeta } = useFieldContext();
10
+ *
11
+ * return (
12
+ * <input
13
+ * name={name}
14
+ * id={id}
15
+ * required={required}
16
+ * disabled={disabled}
17
+ * aria-invalid={!!errors?.length}
18
+ * />
19
+ * );
20
+ * }
21
+ * ```
22
+ */
23
+ export declare function useFieldContext(): FormFieldContextValue;
24
+ //# sourceMappingURL=use-field-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-field-context.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/hooks/use-field-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAA;AAGrD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,eAAe,IAAI,qBAAqB,CAEvD"}
@@ -0,0 +1,30 @@
1
+ import type { UseFieldReturn } from '../types';
2
+ /**
3
+ * Hook to access and control a specific field
4
+ * Provides field metadata, control methods, and errors
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * function MyCustomInput({ name }: { name: string }) {
9
+ * const { field, control, meta, errors } = useField(name);
10
+ *
11
+ * return (
12
+ * <div>
13
+ * <input
14
+ * name={meta.name}
15
+ * id={meta.id}
16
+ * value={control.value ?? ''}
17
+ * onChange={(e) => control.change(e.target.value)}
18
+ * onBlur={control.blur}
19
+ * aria-invalid={!!errors?.length}
20
+ * />
21
+ * {errors?.map((error) => (
22
+ * <span key={error} className="text-red-500">{error}</span>
23
+ * ))}
24
+ * </div>
25
+ * );
26
+ * }
27
+ * ```
28
+ */
29
+ export declare function useField(name: string): UseFieldReturn;
30
+ //# sourceMappingURL=use-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-field.d.ts","sourceRoot":"","sources":["../../../../../src/components/features/form/hooks/use-field.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAK9C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,CAiFrD"}