@customafk/lunas-ui 0.2.29 → 0.2.30

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 (243) hide show
  1. package/dist/{alert-6_f_JgU-.cjs → alert-4rfsFtN6.cjs} +1 -1
  2. package/dist/{alert-6_f_JgU-.cjs.map → alert-4rfsFtN6.cjs.map} +1 -1
  3. package/dist/{alert-CoqYPXj9.d.mts → alert-B7978FZb.d.mts} +5 -5
  4. package/dist/{alert-BSAtkBnX.mjs → alert-BC5Nss8t.mjs} +1 -1
  5. package/dist/{alert-BSAtkBnX.mjs.map → alert-BC5Nss8t.mjs.map} +1 -1
  6. package/dist/{alert-Dd7Y-D3i.d.cts → alert-DOsSwv1-.d.cts} +7 -7
  7. package/dist/{badge-Dl868_wL.d.cts → badge-Bt62wY4t.d.cts} +5 -5
  8. package/dist/{badge-sImNCIvF.d.mts → badge-DXiJn9XY.d.mts} +5 -5
  9. package/dist/{button-z2O6bEzH.d.cts → button-BHCmEoty.d.cts} +3 -3
  10. package/dist/{button-DWkaxRDs.d.mts → button-CPYKtYVF.d.mts} +3 -3
  11. package/dist/{calendar-ChaYPTJO.cjs → calendar-Bt0rlJ89.cjs} +1 -1
  12. package/dist/{calendar-ChaYPTJO.cjs.map → calendar-Bt0rlJ89.cjs.map} +1 -1
  13. package/dist/{calendar-CHVujBHK.mjs → calendar-D8aRFw_F.mjs} +1 -1
  14. package/dist/{calendar-CHVujBHK.mjs.map → calendar-D8aRFw_F.mjs.map} +1 -1
  15. package/dist/{cms-layout-COfACv3M.cjs → cms-layout-DDs0pHWh.cjs} +1 -1
  16. package/dist/{cms-layout-COfACv3M.cjs.map → cms-layout-DDs0pHWh.cjs.map} +1 -1
  17. package/dist/{cms-layout--NUD8VVh.mjs → cms-layout-DHzRHAoI.mjs} +1 -1
  18. package/dist/{cms-layout--NUD8VVh.mjs.map → cms-layout-DHzRHAoI.mjs.map} +1 -1
  19. package/dist/data-display/country.d.mts +1 -1
  20. package/dist/data-display/role-badge.d.mts +1 -1
  21. package/dist/data-display/statistic.d.cts +5 -5
  22. package/dist/{dialog-D2c7yEsc.d.cts → dialog-CEaSFdY9.d.cts} +12 -12
  23. package/dist/{dialog-AbuDG2Gq.d.mts → dialog-DWWtnPg0.d.mts} +12 -12
  24. package/dist/dialogs/detail-dialog/components/sidebar.d.cts +24 -24
  25. package/dist/dialogs/detail-dialog/components/sidebar.d.mts +24 -24
  26. package/dist/drawer-C3o6IEeq.cjs +2 -0
  27. package/dist/drawer-C3o6IEeq.cjs.map +1 -0
  28. package/dist/drawer-j9wcVE50.mjs +2 -0
  29. package/dist/drawer-j9wcVE50.mjs.map +1 -0
  30. package/dist/features/descriptions/index.d.cts +6 -6
  31. package/dist/features/descriptions/index.d.mts +4 -4
  32. package/dist/features/search-modal/index.d.cts +2 -2
  33. package/dist/features/tables/index.d.cts +1 -1
  34. package/dist/features/tables/index.d.mts +2 -2
  35. package/dist/features/tanstack-form/index.cjs +1 -1
  36. package/dist/features/tanstack-form/index.d.cts +1 -1
  37. package/dist/features/tanstack-form/index.d.mts +1 -1
  38. package/dist/features/tanstack-form/index.mjs +1 -1
  39. package/dist/features/text-editor/index.cjs +1 -1
  40. package/dist/features/text-editor/index.d.cts +1 -1
  41. package/dist/features/text-editor/index.d.mts +1 -1
  42. package/dist/features/text-editor/index.mjs +1 -1
  43. package/dist/{field-Bh7Hq4Lo.mjs → field-B8RhxRCu.mjs} +1 -1
  44. package/dist/{field-Bh7Hq4Lo.mjs.map → field-B8RhxRCu.mjs.map} +1 -1
  45. package/dist/{field-DTGEedKl.cjs → field-BxFpcOV1.cjs} +1 -1
  46. package/dist/{field-DTGEedKl.cjs.map → field-BxFpcOV1.cjs.map} +1 -1
  47. package/dist/{index-CtKNb2-t.d.cts → index-BJiTJozG.d.cts} +546 -312
  48. package/dist/{index-C3dXDjdR.d.mts → index-Cotq70wL.d.cts} +6 -6
  49. package/dist/{index-Bz9af9gx.d.mts → index-D6UbdtXa.d.mts} +546 -312
  50. package/dist/{index-rE1M5FGs.d.mts → index-DDYTIEq3.d.mts} +28 -28
  51. package/dist/{index-Lok5xVt2.d.cts → index-DpqGxieY.d.cts} +27 -27
  52. package/dist/{index-DMUr1T2A.d.cts → index-TvuUzBSW.d.mts} +6 -6
  53. package/dist/index.cjs +1 -1
  54. package/dist/index.d.cts +8 -8
  55. package/dist/index.d.mts +8 -8
  56. package/dist/index.mjs +1 -1
  57. package/dist/{input-ZL65yvYU.d.mts → input-B4ZV1tKO.d.cts} +6 -6
  58. package/dist/{input-DtUFTR6j.d.cts → input-Che86SWz.d.mts} +6 -6
  59. package/dist/layouts/cms-layout/index.cjs +1 -1
  60. package/dist/layouts/cms-layout/index.mjs +1 -1
  61. package/dist/layouts/flex.d.cts +5 -5
  62. package/dist/layouts/payment-layout/index.cjs +1 -1
  63. package/dist/layouts/payment-layout/index.mjs +1 -1
  64. package/dist/pages/FeatureDeveloping.d.cts +2 -2
  65. package/dist/pages/FeatureDeveloping.d.mts +2 -2
  66. package/dist/pages/FeatureFixing.d.cts +2 -2
  67. package/dist/pages/FeatureFixing.d.mts +2 -2
  68. package/dist/pages/LoginPage.cjs +1 -1
  69. package/dist/pages/LoginPage.d.cts +2 -2
  70. package/dist/pages/LoginPage.d.mts +2 -2
  71. package/dist/pages/LoginPage.mjs +1 -1
  72. package/dist/pages/NotAuthorized.d.cts +2 -2
  73. package/dist/pages/NotAuthorized.d.mts +2 -2
  74. package/dist/pages/NotFound.d.cts +2 -2
  75. package/dist/pages/NotFound.d.mts +2 -2
  76. package/dist/pages/RegisterPage.cjs +1 -1
  77. package/dist/pages/RegisterPage.d.cts +2 -2
  78. package/dist/pages/RegisterPage.d.mts +2 -2
  79. package/dist/pages/RegisterPage.mjs +1 -1
  80. package/dist/pages/VerifyEmailPage.cjs +1 -1
  81. package/dist/pages/VerifyEmailPage.d.cts +2 -2
  82. package/dist/pages/VerifyEmailPage.d.mts +2 -2
  83. package/dist/pages/VerifyEmailPage.mjs +1 -1
  84. package/dist/{payment-layout-8rRJJa0f.cjs → payment-layout-BkSC6JkI.cjs} +1 -1
  85. package/dist/{payment-layout-8rRJJa0f.cjs.map → payment-layout-BkSC6JkI.cjs.map} +1 -1
  86. package/dist/{payment-layout-BdGZbGO-.mjs → payment-layout-CafCw6lS.mjs} +1 -1
  87. package/dist/{payment-layout-BdGZbGO-.mjs.map → payment-layout-CafCw6lS.mjs.map} +1 -1
  88. package/dist/{radio-group-KMvVXCIk.cjs → radio-group-Bv6w2woK.cjs} +1 -1
  89. package/dist/{radio-group-KMvVXCIk.cjs.map → radio-group-Bv6w2woK.cjs.map} +1 -1
  90. package/dist/{radio-group-CsmpBZTK.mjs → radio-group-KR6Ck-B9.mjs} +1 -1
  91. package/dist/{radio-group-CsmpBZTK.mjs.map → radio-group-KR6Ck-B9.mjs.map} +1 -1
  92. package/dist/switch-0-9Zt33o.cjs +2 -0
  93. package/dist/switch-0-9Zt33o.cjs.map +1 -0
  94. package/dist/switch-DHsjxnFP.mjs +2 -0
  95. package/dist/switch-DHsjxnFP.mjs.map +1 -0
  96. package/dist/tables-BQ-QiA1V.mjs.map +1 -1
  97. package/dist/tables-LRWPOv2a.cjs.map +1 -1
  98. package/dist/tanstack-form-B9CugNS5.cjs +2 -0
  99. package/dist/tanstack-form-B9CugNS5.cjs.map +1 -0
  100. package/dist/tanstack-form-DJ90sBFl.mjs +2 -0
  101. package/dist/tanstack-form-DJ90sBFl.mjs.map +1 -0
  102. package/dist/{text-editor-Dy3_hyNw.cjs → text-editor-CE_GkI7o.cjs} +1 -1
  103. package/dist/{text-editor-Dy3_hyNw.cjs.map → text-editor-CE_GkI7o.cjs.map} +1 -1
  104. package/dist/{text-editor-D182J9Y5.mjs → text-editor-CqC44BkO.mjs} +1 -1
  105. package/dist/{text-editor-D182J9Y5.mjs.map → text-editor-CqC44BkO.mjs.map} +1 -1
  106. package/dist/{textarea-SPXNe-iZ.cjs → textarea-BB2WynyM.cjs} +1 -1
  107. package/dist/{textarea-SPXNe-iZ.cjs.map → textarea-BB2WynyM.cjs.map} +1 -1
  108. package/dist/{textarea-Cvdq7UAn.mjs → textarea-D0-Gltw6.mjs} +1 -1
  109. package/dist/{textarea-Cvdq7UAn.mjs.map → textarea-D0-Gltw6.mjs.map} +1 -1
  110. package/dist/{types-wApFGHmV.d.mts → types-B2PQbMJL.d.mts} +1 -1
  111. package/dist/typography/paragraph.d.cts +4 -4
  112. package/dist/typography/paragraph.d.mts +2 -2
  113. package/dist/ui/alert-dialog.d.cts +12 -12
  114. package/dist/ui/alert-dialog.d.mts +12 -12
  115. package/dist/ui/alert.cjs +1 -1
  116. package/dist/ui/alert.d.cts +1 -1
  117. package/dist/ui/alert.d.mts +1 -1
  118. package/dist/ui/alert.mjs +1 -1
  119. package/dist/ui/aspect-ratio.d.cts +2 -2
  120. package/dist/ui/aspect-ratio.d.mts +2 -2
  121. package/dist/ui/avatar.d.cts +4 -4
  122. package/dist/ui/avatar.d.mts +4 -4
  123. package/dist/ui/badge.d.cts +1 -1
  124. package/dist/ui/badge.d.mts +1 -1
  125. package/dist/ui/breadcrumb.d.cts +8 -8
  126. package/dist/ui/breadcrumb.d.mts +8 -8
  127. package/dist/ui/button-group.d.cts +2 -2
  128. package/dist/ui/button-group.d.mts +6 -6
  129. package/dist/ui/button.d.cts +1 -1
  130. package/dist/ui/button.d.mts +1 -1
  131. package/dist/ui/calendar.cjs +1 -1
  132. package/dist/ui/calendar.d.cts +4 -4
  133. package/dist/ui/calendar.d.mts +4 -4
  134. package/dist/ui/calendar.mjs +1 -1
  135. package/dist/ui/card.d.cts +8 -8
  136. package/dist/ui/card.d.mts +8 -8
  137. package/dist/ui/carousel.d.cts +7 -7
  138. package/dist/ui/carousel.d.mts +7 -7
  139. package/dist/ui/checkbox.d.cts +2 -2
  140. package/dist/ui/checkbox.d.mts +2 -2
  141. package/dist/ui/collapsible.d.cts +4 -4
  142. package/dist/ui/collapsible.d.mts +4 -4
  143. package/dist/ui/command.d.cts +11 -11
  144. package/dist/ui/command.d.mts +11 -11
  145. package/dist/ui/context-menu.d.cts +16 -16
  146. package/dist/ui/context-menu.d.mts +16 -16
  147. package/dist/ui/dialog.d.cts +1 -1
  148. package/dist/ui/dialog.d.mts +1 -1
  149. package/dist/ui/drawer.cjs +1 -2
  150. package/dist/ui/drawer.d.cts +11 -11
  151. package/dist/ui/drawer.d.mts +11 -11
  152. package/dist/ui/drawer.mjs +1 -2
  153. package/dist/ui/dropdown-menu.d.cts +16 -16
  154. package/dist/ui/dropdown-menu.d.mts +16 -16
  155. package/dist/ui/empty.d.cts +9 -9
  156. package/dist/ui/empty.d.mts +7 -7
  157. package/dist/ui/field.cjs +1 -1
  158. package/dist/ui/field.d.cts +23 -23
  159. package/dist/ui/field.d.mts +21 -21
  160. package/dist/ui/field.mjs +1 -1
  161. package/dist/ui/file-uploader.d.cts +2 -2
  162. package/dist/ui/file-uploader.d.mts +2 -2
  163. package/dist/ui/form.cjs +1 -1
  164. package/dist/ui/form.d.cts +10 -10
  165. package/dist/ui/form.d.mts +10 -10
  166. package/dist/ui/form.mjs +1 -1
  167. package/dist/ui/hover-card.d.cts +4 -4
  168. package/dist/ui/hover-card.d.mts +4 -4
  169. package/dist/ui/input-otp.d.cts +5 -5
  170. package/dist/ui/input-otp.d.mts +5 -5
  171. package/dist/ui/input.d.cts +1 -1
  172. package/dist/ui/input.d.mts +1 -1
  173. package/dist/ui/inputs/search-input.d.cts +1 -1
  174. package/dist/ui/inputs/search-input.d.mts +3 -3
  175. package/dist/ui/item.d.cts +14 -14
  176. package/dist/ui/item.d.mts +14 -14
  177. package/dist/ui/label.d.cts +2 -2
  178. package/dist/ui/label.d.mts +2 -2
  179. package/dist/ui/menubar.d.cts +17 -17
  180. package/dist/ui/menubar.d.mts +17 -17
  181. package/dist/ui/multi-select.d.cts +2 -2
  182. package/dist/ui/multi-select.d.mts +3 -3
  183. package/dist/ui/navigation-menu.d.cts +11 -11
  184. package/dist/ui/navigation-menu.d.mts +9 -9
  185. package/dist/ui/pagination.d.cts +9 -9
  186. package/dist/ui/pagination.d.mts +9 -9
  187. package/dist/ui/popover.d.cts +6 -6
  188. package/dist/ui/popover.d.mts +6 -6
  189. package/dist/ui/progress.d.cts +2 -2
  190. package/dist/ui/progress.d.mts +2 -2
  191. package/dist/ui/radio-group.cjs +1 -1
  192. package/dist/ui/radio-group.d.cts +3 -3
  193. package/dist/ui/radio-group.d.mts +3 -3
  194. package/dist/ui/radio-group.mjs +1 -1
  195. package/dist/ui/resizable.d.cts +9 -9
  196. package/dist/ui/resizable.d.mts +9 -9
  197. package/dist/ui/scroll-area.d.cts +5 -5
  198. package/dist/ui/scroll-area.d.mts +5 -5
  199. package/dist/ui/select.d.cts +9 -9
  200. package/dist/ui/separator.d.cts +2 -2
  201. package/dist/ui/sheet.d.cts +9 -9
  202. package/dist/ui/sheet.d.mts +9 -9
  203. package/dist/ui/sidebar.cjs +1 -1
  204. package/dist/ui/sidebar.cjs.map +1 -1
  205. package/dist/ui/sidebar.d.cts +28 -28
  206. package/dist/ui/sidebar.d.mts +26 -26
  207. package/dist/ui/sidebar.mjs +1 -1
  208. package/dist/ui/sidebar.mjs.map +1 -1
  209. package/dist/ui/skeleton.d.cts +2 -2
  210. package/dist/ui/skeleton.d.mts +2 -2
  211. package/dist/ui/slider.d.cts +2 -2
  212. package/dist/ui/slider.d.mts +2 -2
  213. package/dist/ui/sonner.d.cts +2 -2
  214. package/dist/ui/sonner.d.mts +2 -2
  215. package/dist/ui/spinner.d.cts +2 -2
  216. package/dist/ui/spinner.d.mts +2 -2
  217. package/dist/ui/switch.cjs +1 -2
  218. package/dist/ui/switch.d.cts +2 -2
  219. package/dist/ui/switch.d.mts +2 -2
  220. package/dist/ui/switch.mjs +1 -2
  221. package/dist/ui/table.d.cts +17 -17
  222. package/dist/ui/table.d.mts +17 -17
  223. package/dist/ui/tabs.d.cts +5 -5
  224. package/dist/ui/tabs.d.mts +5 -5
  225. package/dist/ui/textarea.cjs +1 -1
  226. package/dist/ui/textarea.d.cts +2 -2
  227. package/dist/ui/textarea.d.mts +2 -2
  228. package/dist/ui/textarea.mjs +1 -1
  229. package/dist/ui/toggle-group.d.cts +3 -3
  230. package/dist/ui/toggle-group.d.mts +3 -3
  231. package/dist/ui/toggle.d.cts +4 -4
  232. package/dist/ui/toggle.d.mts +2 -2
  233. package/dist/ui/tooltip.d.cts +5 -5
  234. package/dist/ui/tooltip.d.mts +5 -5
  235. package/package.json +1 -1
  236. package/dist/tanstack-form-DKcuB2zr.cjs +0 -2
  237. package/dist/tanstack-form-DKcuB2zr.cjs.map +0 -1
  238. package/dist/tanstack-form-Dez1xwl5.mjs +0 -2
  239. package/dist/tanstack-form-Dez1xwl5.mjs.map +0 -1
  240. package/dist/ui/drawer.cjs.map +0 -1
  241. package/dist/ui/drawer.mjs.map +0 -1
  242. package/dist/ui/switch.cjs.map +0 -1
  243. package/dist/ui/switch.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import * as react129 from "react";
1
+ import * as react106 from "react";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import * as class_variance_authority_types5 from "class-variance-authority/types";
4
4
 
@@ -29,12 +29,12 @@ import * as class_variance_authority_types5 from "class-variance-authority/types
29
29
  declare function Empty({
30
30
  className,
31
31
  ...props
32
- }: React.ComponentProps<'div'>): react129.JSX.Element;
32
+ }: React.ComponentProps<'div'>): react106.JSX.Element;
33
33
  /** Centred column container for the media, title, and description of an empty state. */
34
34
  declare function EmptyHeader({
35
35
  className,
36
36
  ...props
37
- }: React.ComponentProps<'div'>): react129.JSX.Element;
37
+ }: React.ComponentProps<'div'>): react106.JSX.Element;
38
38
  declare const emptyMediaVariants: (props?: ({
39
39
  variant?: "default" | "icon" | null | undefined;
40
40
  } & class_variance_authority_types5.ClassProp) | undefined) => string;
@@ -47,22 +47,22 @@ declare function EmptyMedia({
47
47
  className,
48
48
  variant,
49
49
  ...props
50
- }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react129.JSX.Element;
50
+ }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react106.JSX.Element;
51
51
  /** Prominent heading text for the empty state. */
52
52
  declare function EmptyTitle({
53
53
  className,
54
54
  ...props
55
- }: React.ComponentProps<'div'>): react129.JSX.Element;
55
+ }: React.ComponentProps<'div'>): react106.JSX.Element;
56
56
  /** Supporting body text that explains the empty state to the user. */
57
57
  declare function EmptyDescription({
58
58
  className,
59
59
  ...props
60
- }: React.ComponentProps<'p'>): react129.JSX.Element;
60
+ }: React.ComponentProps<'p'>): react106.JSX.Element;
61
61
  /** Action area below the header — typically holds buttons or links to help the user proceed. */
62
62
  declare function EmptyContent({
63
63
  className,
64
64
  ...props
65
- }: React.ComponentProps<'div'>): react129.JSX.Element;
65
+ }: React.ComponentProps<'div'>): react106.JSX.Element;
66
66
  //#endregion
67
67
  export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
68
68
  //# sourceMappingURL=empty.d.mts.map
package/dist/ui/field.cjs CHANGED
@@ -1 +1 @@
1
- "use client";require(`../separator-jytY1CPq.cjs`),require(`../label-BHbqbBtO.cjs`);const e=require(`../field-DTGEedKl.cjs`);exports.Field=e.t,exports.FieldContent=e.n,exports.FieldDescription=e.r,exports.FieldError=e.i,exports.FieldGroup=e.a,exports.FieldLabel=e.o,exports.FieldLegend=e.s,exports.FieldSeparator=e.c,exports.FieldSet=e.l,exports.FieldTitle=e.u;
1
+ "use client";require(`../separator-jytY1CPq.cjs`),require(`../label-BHbqbBtO.cjs`);const e=require(`../field-BxFpcOV1.cjs`);exports.Field=e.t,exports.FieldContent=e.n,exports.FieldDescription=e.r,exports.FieldError=e.i,exports.FieldGroup=e.a,exports.FieldLabel=e.o,exports.FieldLegend=e.s,exports.FieldSeparator=e.c,exports.FieldSet=e.l,exports.FieldTitle=e.u;
@@ -1,56 +1,56 @@
1
1
  import { Label } from "./label.cjs";
2
- import * as react241 from "react";
3
- import * as class_variance_authority_types8 from "class-variance-authority/types";
2
+ import * as react132 from "react";
3
+ import * as class_variance_authority_types6 from "class-variance-authority/types";
4
4
  import { VariantProps } from "class-variance-authority";
5
5
 
6
6
  //#region packages/components/ui/field.d.ts
7
- declare const FieldSet: react241.MemoExoticComponent<({
7
+ declare const FieldSet: react132.MemoExoticComponent<({
8
8
  className,
9
9
  ...props
10
- }: React.ComponentProps<"fieldset">) => react241.JSX.Element>;
11
- declare const FieldLegend: react241.MemoExoticComponent<({
10
+ }: React.ComponentProps<"fieldset">) => react132.JSX.Element>;
11
+ declare const FieldLegend: react132.MemoExoticComponent<({
12
12
  className,
13
13
  variant,
14
14
  ...props
15
15
  }: React.ComponentProps<"legend"> & {
16
16
  variant?: "legend" | "label";
17
- }) => react241.JSX.Element>;
18
- declare const FieldGroup: react241.MemoExoticComponent<({
17
+ }) => react132.JSX.Element>;
18
+ declare const FieldGroup: react132.MemoExoticComponent<({
19
19
  className,
20
20
  ...props
21
- }: React.ComponentProps<"div">) => react241.JSX.Element>;
21
+ }: React.ComponentProps<"div">) => react132.JSX.Element>;
22
22
  declare const fieldVariants: (props?: ({
23
23
  orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
24
- } & class_variance_authority_types8.ClassProp) | undefined) => string;
25
- declare const Field: react241.MemoExoticComponent<({
24
+ } & class_variance_authority_types6.ClassProp) | undefined) => string;
25
+ declare const Field: react132.MemoExoticComponent<({
26
26
  className,
27
27
  orientation,
28
28
  ...props
29
- }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react241.JSX.Element>;
30
- declare const FieldContent: react241.MemoExoticComponent<({
29
+ }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react132.JSX.Element>;
30
+ declare const FieldContent: react132.MemoExoticComponent<({
31
31
  className,
32
32
  ...props
33
- }: React.ComponentProps<"div">) => react241.JSX.Element>;
34
- declare const FieldLabel: react241.MemoExoticComponent<({
33
+ }: React.ComponentProps<"div">) => react132.JSX.Element>;
34
+ declare const FieldLabel: react132.MemoExoticComponent<({
35
35
  className,
36
36
  ...props
37
- }: React.ComponentProps<typeof Label>) => react241.JSX.Element>;
38
- declare const FieldTitle: react241.MemoExoticComponent<({
37
+ }: React.ComponentProps<typeof Label>) => react132.JSX.Element>;
38
+ declare const FieldTitle: react132.MemoExoticComponent<({
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<"div">) => react241.JSX.Element>;
42
- declare const FieldDescription: react241.MemoExoticComponent<({
41
+ }: React.ComponentProps<"div">) => react132.JSX.Element>;
42
+ declare const FieldDescription: react132.MemoExoticComponent<({
43
43
  className,
44
44
  ...props
45
- }: React.ComponentProps<"p">) => react241.JSX.Element>;
46
- declare const FieldSeparator: react241.MemoExoticComponent<({
45
+ }: React.ComponentProps<"p">) => react132.JSX.Element>;
46
+ declare const FieldSeparator: react132.MemoExoticComponent<({
47
47
  children,
48
48
  className,
49
49
  ...props
50
50
  }: React.ComponentProps<"div"> & {
51
51
  children?: React.ReactNode;
52
- }) => react241.JSX.Element>;
53
- declare const FieldError: react241.MemoExoticComponent<({
52
+ }) => react132.JSX.Element>;
53
+ declare const FieldError: react132.MemoExoticComponent<({
54
54
  className,
55
55
  children,
56
56
  errors,
@@ -59,7 +59,7 @@ declare const FieldError: react241.MemoExoticComponent<({
59
59
  errors?: Array<{
60
60
  message?: string;
61
61
  } | undefined>;
62
- }) => react241.JSX.Element | null>;
62
+ }) => react132.JSX.Element | null>;
63
63
  //#endregion
64
64
  export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
65
65
  //# sourceMappingURL=field.d.cts.map
@@ -1,56 +1,56 @@
1
1
  import { Label } from "./label.mjs";
2
- import * as react138 from "react";
2
+ import * as react136 from "react";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import * as class_variance_authority_types6 from "class-variance-authority/types";
5
5
 
6
6
  //#region packages/components/ui/field.d.ts
7
- declare const FieldSet: react138.MemoExoticComponent<({
7
+ declare const FieldSet: react136.MemoExoticComponent<({
8
8
  className,
9
9
  ...props
10
- }: React.ComponentProps<"fieldset">) => react138.JSX.Element>;
11
- declare const FieldLegend: react138.MemoExoticComponent<({
10
+ }: React.ComponentProps<"fieldset">) => react136.JSX.Element>;
11
+ declare const FieldLegend: react136.MemoExoticComponent<({
12
12
  className,
13
13
  variant,
14
14
  ...props
15
15
  }: React.ComponentProps<"legend"> & {
16
16
  variant?: "legend" | "label";
17
- }) => react138.JSX.Element>;
18
- declare const FieldGroup: react138.MemoExoticComponent<({
17
+ }) => react136.JSX.Element>;
18
+ declare const FieldGroup: react136.MemoExoticComponent<({
19
19
  className,
20
20
  ...props
21
- }: React.ComponentProps<"div">) => react138.JSX.Element>;
21
+ }: React.ComponentProps<"div">) => react136.JSX.Element>;
22
22
  declare const fieldVariants: (props?: ({
23
23
  orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
24
24
  } & class_variance_authority_types6.ClassProp) | undefined) => string;
25
- declare const Field: react138.MemoExoticComponent<({
25
+ declare const Field: react136.MemoExoticComponent<({
26
26
  className,
27
27
  orientation,
28
28
  ...props
29
- }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react138.JSX.Element>;
30
- declare const FieldContent: react138.MemoExoticComponent<({
29
+ }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react136.JSX.Element>;
30
+ declare const FieldContent: react136.MemoExoticComponent<({
31
31
  className,
32
32
  ...props
33
- }: React.ComponentProps<"div">) => react138.JSX.Element>;
34
- declare const FieldLabel: react138.MemoExoticComponent<({
33
+ }: React.ComponentProps<"div">) => react136.JSX.Element>;
34
+ declare const FieldLabel: react136.MemoExoticComponent<({
35
35
  className,
36
36
  ...props
37
- }: React.ComponentProps<typeof Label>) => react138.JSX.Element>;
38
- declare const FieldTitle: react138.MemoExoticComponent<({
37
+ }: React.ComponentProps<typeof Label>) => react136.JSX.Element>;
38
+ declare const FieldTitle: react136.MemoExoticComponent<({
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<"div">) => react138.JSX.Element>;
42
- declare const FieldDescription: react138.MemoExoticComponent<({
41
+ }: React.ComponentProps<"div">) => react136.JSX.Element>;
42
+ declare const FieldDescription: react136.MemoExoticComponent<({
43
43
  className,
44
44
  ...props
45
- }: React.ComponentProps<"p">) => react138.JSX.Element>;
46
- declare const FieldSeparator: react138.MemoExoticComponent<({
45
+ }: React.ComponentProps<"p">) => react136.JSX.Element>;
46
+ declare const FieldSeparator: react136.MemoExoticComponent<({
47
47
  children,
48
48
  className,
49
49
  ...props
50
50
  }: React.ComponentProps<"div"> & {
51
51
  children?: React.ReactNode;
52
- }) => react138.JSX.Element>;
53
- declare const FieldError: react138.MemoExoticComponent<({
52
+ }) => react136.JSX.Element>;
53
+ declare const FieldError: react136.MemoExoticComponent<({
54
54
  className,
55
55
  children,
56
56
  errors,
@@ -59,7 +59,7 @@ declare const FieldError: react138.MemoExoticComponent<({
59
59
  errors?: Array<{
60
60
  message?: string;
61
61
  } | undefined>;
62
- }) => react138.JSX.Element | null>;
62
+ }) => react136.JSX.Element | null>;
63
63
  //#endregion
64
64
  export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
65
65
  //# sourceMappingURL=field.d.mts.map
package/dist/ui/field.mjs CHANGED
@@ -1 +1 @@
1
- "use client";import"../separator-yTKDuMWb.mjs";import"../label-CE2m0U_j.mjs";import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c,u as l}from"../field-Bh7Hq4Lo.mjs";export{c as Field,i as FieldContent,o as FieldDescription,n as FieldError,e as FieldGroup,a as FieldLabel,s as FieldLegend,t as FieldSeparator,r as FieldSet,l as FieldTitle};
1
+ "use client";import"../separator-yTKDuMWb.mjs";import"../label-CE2m0U_j.mjs";import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c,u as l}from"../field-B8RhxRCu.mjs";export{c as Field,i as FieldContent,o as FieldDescription,n as FieldError,e as FieldGroup,a as FieldLabel,s as FieldLegend,t as FieldSeparator,r as FieldSet,l as FieldTitle};
@@ -1,4 +1,4 @@
1
- import * as react55 from "react";
1
+ import * as react164 from "react";
2
2
  import { DropzoneProps } from "react-dropzone";
3
3
 
4
4
  //#region packages/components/ui/file-uploader.d.ts
@@ -97,7 +97,7 @@ interface FileUploaderProps extends React.HTMLAttributes<HTMLDivElement> {
97
97
  /**
98
98
  * A drag-and-drop file upload zone that manages file selection, validation, preview generation, and optional async upload with progress tracking.
99
99
  */
100
- declare function FileUploader(props: FileUploaderProps): react55.JSX.Element;
100
+ declare function FileUploader(props: FileUploaderProps): react164.JSX.Element;
101
101
  //#endregion
102
102
  export { FileUploader };
103
103
  //# sourceMappingURL=file-uploader.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react128 from "react";
1
+ import * as react156 from "react";
2
2
  import { DropzoneProps } from "react-dropzone";
3
3
 
4
4
  //#region packages/components/ui/file-uploader.d.ts
@@ -97,7 +97,7 @@ interface FileUploaderProps extends React.HTMLAttributes<HTMLDivElement> {
97
97
  /**
98
98
  * A drag-and-drop file upload zone that manages file selection, validation, preview generation, and optional async upload with progress tracking.
99
99
  */
100
- declare function FileUploader(props: FileUploaderProps): react128.JSX.Element;
100
+ declare function FileUploader(props: FileUploaderProps): react156.JSX.Element;
101
101
  //#endregion
102
102
  export { FileUploader };
103
103
  //# sourceMappingURL=file-uploader.d.mts.map
package/dist/ui/form.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../separator-jytY1CPq.cjs`),require(`../label-BHbqbBtO.cjs`);const t=require(`../field-DTGEedKl.cjs`);let n=require(`react`),r=require(`@customafk/react-toolkit/utils`),i=require(`react/jsx-runtime`),a=require(`radix-ui`),o=require(`react-hook-form`);const s=o.FormProvider,c=(0,n.createContext)({}),l=({...e})=>(0,i.jsx)(c.Provider,{value:{name:e.name},children:(0,i.jsx)(o.Controller,{...e})}),u=()=>{let e=(0,n.use)(c),t=(0,n.use)(d),{getFieldState:r,control:i,resetField:a}=(0,o.useFormContext)(),s=(0,o.useFormState)({name:e.name}),l=r(e.name,s);if(!e)throw Error(`useFormField should be used within <FormField>`);let{id:u}=t;return{id:u,control:i,resetField:a,name:e.name,formItemId:`${u}-form-item`,formDescriptionId:`${u}-form-item-description`,formMessageId:`${u}-form-item-message`,...l}},d=(0,n.createContext)({}),f=(0,n.memo)(({className:e,orientation:r=`responsive`,...a})=>{let o=(0,n.useId)();return(0,i.jsx)(d.Provider,{value:{id:o},children:(0,i.jsx)(t.t,{orientation:r,...a,className:e})})});f.displayName=`FormItem`;const p=(0,n.memo)(({...e})=>{let{formItemId:n}=u();return(0,i.jsx)(t.o,{htmlFor:n,...e})});p.displayName=`FormLabel`;const m=(0,n.memo)(({...e})=>{let{error:t,formItemId:n,formDescriptionId:r,formMessageId:o}=u();return(0,i.jsx)(a.Slot.Slot,{"data-slot":`form-control`,id:n,"aria-describedby":t?`${r} ${o}`:`${r}`,"aria-invalid":!!t,...e})});m.displayName=`FormControl`;function h({className:e,...n}){let{formDescriptionId:a}=u();return(0,i.jsx)(t.r,{id:a,className:(0,r.cn)(`text-text-positive-weak text-sm/6 leading-normal font-normal`,`group-has-data-[orientation=horizontal]/field:text-balance`,`last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...n})}function g({className:e,children:t,...n}){let{error:a,formMessageId:o}=u();return(0,i.jsx)(`span`,{"data-slot":`form-message`,id:o,className:(0,r.cn)(`text-danger text-xs`,e),...n,children:a?String(a?.message??``):t})}exports.Form=s,exports.FormControl=m,exports.FormDescription=h,exports.FormField=l,exports.FormItem=f,exports.FormLabel=p,exports.FormMessage=g,exports.useFormField=u;
1
+ "use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../separator-jytY1CPq.cjs`),require(`../label-BHbqbBtO.cjs`);const t=require(`../field-BxFpcOV1.cjs`);let n=require(`react`),r=require(`@customafk/react-toolkit/utils`),i=require(`react/jsx-runtime`),a=require(`radix-ui`),o=require(`react-hook-form`);const s=o.FormProvider,c=(0,n.createContext)({}),l=({...e})=>(0,i.jsx)(c.Provider,{value:{name:e.name},children:(0,i.jsx)(o.Controller,{...e})}),u=()=>{let e=(0,n.use)(c),t=(0,n.use)(d),{getFieldState:r,control:i,resetField:a}=(0,o.useFormContext)(),s=(0,o.useFormState)({name:e.name}),l=r(e.name,s);if(!e)throw Error(`useFormField should be used within <FormField>`);let{id:u}=t;return{id:u,control:i,resetField:a,name:e.name,formItemId:`${u}-form-item`,formDescriptionId:`${u}-form-item-description`,formMessageId:`${u}-form-item-message`,...l}},d=(0,n.createContext)({}),f=(0,n.memo)(({className:e,orientation:r=`responsive`,...a})=>{let o=(0,n.useId)();return(0,i.jsx)(d.Provider,{value:{id:o},children:(0,i.jsx)(t.t,{orientation:r,...a,className:e})})});f.displayName=`FormItem`;const p=(0,n.memo)(({...e})=>{let{formItemId:n}=u();return(0,i.jsx)(t.o,{htmlFor:n,...e})});p.displayName=`FormLabel`;const m=(0,n.memo)(({...e})=>{let{error:t,formItemId:n,formDescriptionId:r,formMessageId:o}=u();return(0,i.jsx)(a.Slot.Slot,{"data-slot":`form-control`,id:n,"aria-describedby":t?`${r} ${o}`:`${r}`,"aria-invalid":!!t,...e})});m.displayName=`FormControl`;function h({className:e,...n}){let{formDescriptionId:a}=u();return(0,i.jsx)(t.r,{id:a,className:(0,r.cn)(`text-text-positive-weak text-sm/6 leading-normal font-normal`,`group-has-data-[orientation=horizontal]/field:text-balance`,`last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...n})}function g({className:e,children:t,...n}){let{error:a,formMessageId:o}=u();return(0,i.jsx)(`span`,{"data-slot":`form-message`,id:o,className:(0,r.cn)(`text-danger text-xs`,e),...n,children:a?String(a?.message??``):t})}exports.Form=s,exports.FormControl=m,exports.FormDescription=h,exports.FormField=l,exports.FormItem=f,exports.FormLabel=p,exports.FormMessage=g,exports.useFormField=u;
2
2
  //# sourceMappingURL=form.cjs.map
@@ -1,4 +1,4 @@
1
- import * as react87 from "react";
1
+ import * as react152 from "react";
2
2
  import { Label, Slot } from "radix-ui";
3
3
  import * as react_hook_form0 from "react-hook-form";
4
4
  import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
@@ -57,7 +57,7 @@ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransfor
57
57
  */
58
58
  declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
59
59
  ...props
60
- }: ControllerProps<TFieldValues, TName>) => react87.JSX.Element;
60
+ }: ControllerProps<TFieldValues, TName>) => react152.JSX.Element;
61
61
  /**
62
62
  * Hook that returns the field state and IDs for the enclosing FormField.
63
63
  * Must be called inside a component rendered within a `<FormField>`.
@@ -81,32 +81,32 @@ declare const useFormField: () => {
81
81
  *
82
82
  * @param orientation - Layout direction: `'vertical'`, `'horizontal'`, or `'responsive'` (default).
83
83
  */
84
- declare const FormItem: react87.MemoExoticComponent<({
84
+ declare const FormItem: react152.MemoExoticComponent<({
85
85
  className,
86
86
  orientation,
87
87
  ...props
88
88
  }: React.ComponentProps<"div"> & {
89
89
  orientation?: "vertical" | "horizontal" | "responsive";
90
- }) => react87.JSX.Element>;
90
+ }) => react152.JSX.Element>;
91
91
  /** Styled label automatically associated with the FormItem's control via `htmlFor`. */
92
- declare const FormLabel: react87.MemoExoticComponent<({
92
+ declare const FormLabel: react152.MemoExoticComponent<({
93
93
  ...props
94
- }: React.ComponentProps<typeof Label.Root>) => react87.JSX.Element>;
94
+ }: React.ComponentProps<typeof Label.Root>) => react152.JSX.Element>;
95
95
  /** Radix Slot wrapper that wires the correct `id`, `aria-describedby`, and `aria-invalid` attributes onto the underlying control element. */
96
- declare const FormControl: react87.MemoExoticComponent<({
96
+ declare const FormControl: react152.MemoExoticComponent<({
97
97
  ...props
98
- }: React.ComponentProps<typeof Slot.Slot>) => react87.JSX.Element>;
98
+ }: React.ComponentProps<typeof Slot.Slot>) => react152.JSX.Element>;
99
99
  /** Helper text displayed below the control that provides additional context about the field. */
100
100
  declare function FormDescription({
101
101
  className,
102
102
  ...props
103
- }: React.ComponentProps<'p'>): react87.JSX.Element;
103
+ }: React.ComponentProps<'p'>): react152.JSX.Element;
104
104
  /** Displays the validation error message for the field, or falls back to `children` when there is no error. */
105
105
  declare function FormMessage({
106
106
  className,
107
107
  children,
108
108
  ...props
109
- }: React.ComponentProps<'p'>): react87.JSX.Element;
109
+ }: React.ComponentProps<'p'>): react152.JSX.Element;
110
110
  //#endregion
111
111
  export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
112
112
  //# sourceMappingURL=form.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react158 from "react";
1
+ import * as react127 from "react";
2
2
  import { Label, Slot } from "radix-ui";
3
3
  import * as react_hook_form0 from "react-hook-form";
4
4
  import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
@@ -57,7 +57,7 @@ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransfor
57
57
  */
58
58
  declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
59
59
  ...props
60
- }: ControllerProps<TFieldValues, TName>) => react158.JSX.Element;
60
+ }: ControllerProps<TFieldValues, TName>) => react127.JSX.Element;
61
61
  /**
62
62
  * Hook that returns the field state and IDs for the enclosing FormField.
63
63
  * Must be called inside a component rendered within a `<FormField>`.
@@ -81,32 +81,32 @@ declare const useFormField: () => {
81
81
  *
82
82
  * @param orientation - Layout direction: `'vertical'`, `'horizontal'`, or `'responsive'` (default).
83
83
  */
84
- declare const FormItem: react158.MemoExoticComponent<({
84
+ declare const FormItem: react127.MemoExoticComponent<({
85
85
  className,
86
86
  orientation,
87
87
  ...props
88
88
  }: React.ComponentProps<"div"> & {
89
89
  orientation?: "vertical" | "horizontal" | "responsive";
90
- }) => react158.JSX.Element>;
90
+ }) => react127.JSX.Element>;
91
91
  /** Styled label automatically associated with the FormItem's control via `htmlFor`. */
92
- declare const FormLabel: react158.MemoExoticComponent<({
92
+ declare const FormLabel: react127.MemoExoticComponent<({
93
93
  ...props
94
- }: React.ComponentProps<typeof Label.Root>) => react158.JSX.Element>;
94
+ }: React.ComponentProps<typeof Label.Root>) => react127.JSX.Element>;
95
95
  /** Radix Slot wrapper that wires the correct `id`, `aria-describedby`, and `aria-invalid` attributes onto the underlying control element. */
96
- declare const FormControl: react158.MemoExoticComponent<({
96
+ declare const FormControl: react127.MemoExoticComponent<({
97
97
  ...props
98
- }: React.ComponentProps<typeof Slot.Slot>) => react158.JSX.Element>;
98
+ }: React.ComponentProps<typeof Slot.Slot>) => react127.JSX.Element>;
99
99
  /** Helper text displayed below the control that provides additional context about the field. */
100
100
  declare function FormDescription({
101
101
  className,
102
102
  ...props
103
- }: React.ComponentProps<'p'>): react158.JSX.Element;
103
+ }: React.ComponentProps<'p'>): react127.JSX.Element;
104
104
  /** Displays the validation error message for the field, or falls back to `children` when there is no error. */
105
105
  declare function FormMessage({
106
106
  className,
107
107
  children,
108
108
  ...props
109
- }: React.ComponentProps<'p'>): react158.JSX.Element;
109
+ }: React.ComponentProps<'p'>): react127.JSX.Element;
110
110
  //#endregion
111
111
  export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
112
112
  //# sourceMappingURL=form.d.mts.map
package/dist/ui/form.mjs CHANGED
@@ -1,2 +1,2 @@
1
- "use client";import"../separator-yTKDuMWb.mjs";import"../label-CE2m0U_j.mjs";import{o as e,r as t,t as n}from"../field-Bh7Hq4Lo.mjs";import{createContext as r,memo as i,use as a,useId as o}from"react";import{cn as s}from"@customafk/react-toolkit/utils";import{jsx as c}from"react/jsx-runtime";import{Slot as l}from"radix-ui";import{Controller as u,FormProvider as d,useFormContext as f,useFormState as p}from"react-hook-form";const m=d,h=r({}),g=({...e})=>c(h.Provider,{value:{name:e.name},children:c(u,{...e})}),_=()=>{let e=a(h),t=a(v),{getFieldState:n,control:r,resetField:i}=f(),o=p({name:e.name}),s=n(e.name,o);if(!e)throw Error(`useFormField should be used within <FormField>`);let{id:c}=t;return{id:c,control:r,resetField:i,name:e.name,formItemId:`${c}-form-item`,formDescriptionId:`${c}-form-item-description`,formMessageId:`${c}-form-item-message`,...s}},v=r({}),y=i(({className:e,orientation:t=`responsive`,...r})=>{let i=o();return c(v.Provider,{value:{id:i},children:c(n,{orientation:t,...r,className:e})})});y.displayName=`FormItem`;const b=i(({...t})=>{let{formItemId:n}=_();return c(e,{htmlFor:n,...t})});b.displayName=`FormLabel`;const x=i(({...e})=>{let{error:t,formItemId:n,formDescriptionId:r,formMessageId:i}=_();return c(l.Slot,{"data-slot":`form-control`,id:n,"aria-describedby":t?`${r} ${i}`:`${r}`,"aria-invalid":!!t,...e})});x.displayName=`FormControl`;function S({className:e,...n}){let{formDescriptionId:r}=_();return c(t,{id:r,className:s(`text-text-positive-weak text-sm/6 leading-normal font-normal`,`group-has-data-[orientation=horizontal]/field:text-balance`,`last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...n})}function C({className:e,children:t,...n}){let{error:r,formMessageId:i}=_();return c(`span`,{"data-slot":`form-message`,id:i,className:s(`text-danger text-xs`,e),...n,children:r?String(r?.message??``):t})}export{m as Form,x as FormControl,S as FormDescription,g as FormField,y as FormItem,b as FormLabel,C as FormMessage,_ as useFormField};
1
+ "use client";import"../separator-yTKDuMWb.mjs";import"../label-CE2m0U_j.mjs";import{o as e,r as t,t as n}from"../field-B8RhxRCu.mjs";import{createContext as r,memo as i,use as a,useId as o}from"react";import{cn as s}from"@customafk/react-toolkit/utils";import{jsx as c}from"react/jsx-runtime";import{Slot as l}from"radix-ui";import{Controller as u,FormProvider as d,useFormContext as f,useFormState as p}from"react-hook-form";const m=d,h=r({}),g=({...e})=>c(h.Provider,{value:{name:e.name},children:c(u,{...e})}),_=()=>{let e=a(h),t=a(v),{getFieldState:n,control:r,resetField:i}=f(),o=p({name:e.name}),s=n(e.name,o);if(!e)throw Error(`useFormField should be used within <FormField>`);let{id:c}=t;return{id:c,control:r,resetField:i,name:e.name,formItemId:`${c}-form-item`,formDescriptionId:`${c}-form-item-description`,formMessageId:`${c}-form-item-message`,...s}},v=r({}),y=i(({className:e,orientation:t=`responsive`,...r})=>{let i=o();return c(v.Provider,{value:{id:i},children:c(n,{orientation:t,...r,className:e})})});y.displayName=`FormItem`;const b=i(({...t})=>{let{formItemId:n}=_();return c(e,{htmlFor:n,...t})});b.displayName=`FormLabel`;const x=i(({...e})=>{let{error:t,formItemId:n,formDescriptionId:r,formMessageId:i}=_();return c(l.Slot,{"data-slot":`form-control`,id:n,"aria-describedby":t?`${r} ${i}`:`${r}`,"aria-invalid":!!t,...e})});x.displayName=`FormControl`;function S({className:e,...n}){let{formDescriptionId:r}=_();return c(t,{id:r,className:s(`text-text-positive-weak text-sm/6 leading-normal font-normal`,`group-has-data-[orientation=horizontal]/field:text-balance`,`last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...n})}function C({className:e,children:t,...n}){let{error:r,formMessageId:i}=_();return c(`span`,{"data-slot":`form-message`,id:i,className:s(`text-danger text-xs`,e),...n,children:r?String(r?.message??``):t})}export{m as Form,x as FormControl,S as FormDescription,g as FormField,y as FormItem,b as FormLabel,C as FormMessage,_ as useFormField};
2
2
  //# sourceMappingURL=form.mjs.map
@@ -1,4 +1,4 @@
1
- import * as react67 from "react";
1
+ import * as react161 from "react";
2
2
  import { HoverCard as HoverCard$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/hover-card.d.ts
@@ -20,18 +20,18 @@ import { HoverCard as HoverCard$1 } from "radix-ui";
20
20
  */
21
21
  declare function HoverCard({
22
22
  ...props
23
- }: React.ComponentProps<typeof HoverCard$1.Root>): react67.JSX.Element;
23
+ }: React.ComponentProps<typeof HoverCard$1.Root>): react161.JSX.Element;
24
24
  /** The element that triggers the HoverCard on pointer enter. */
25
25
  declare function HoverCardTrigger({
26
26
  ...props
27
- }: React.ComponentProps<typeof HoverCard$1.Trigger>): react67.JSX.Element;
27
+ }: React.ComponentProps<typeof HoverCard$1.Trigger>): react161.JSX.Element;
28
28
  /** The floating card panel displayed when the trigger is hovered. */
29
29
  declare function HoverCardContent({
30
30
  className,
31
31
  align,
32
32
  sideOffset,
33
33
  ...props
34
- }: React.ComponentProps<typeof HoverCard$1.Content>): react67.JSX.Element;
34
+ }: React.ComponentProps<typeof HoverCard$1.Content>): react161.JSX.Element;
35
35
  //#endregion
36
36
  export { HoverCard, HoverCardContent, HoverCardTrigger };
37
37
  //# sourceMappingURL=hover-card.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react135 from "react";
1
+ import * as react184 from "react";
2
2
  import { HoverCard as HoverCard$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/hover-card.d.ts
@@ -20,18 +20,18 @@ import { HoverCard as HoverCard$1 } from "radix-ui";
20
20
  */
21
21
  declare function HoverCard({
22
22
  ...props
23
- }: React.ComponentProps<typeof HoverCard$1.Root>): react135.JSX.Element;
23
+ }: React.ComponentProps<typeof HoverCard$1.Root>): react184.JSX.Element;
24
24
  /** The element that triggers the HoverCard on pointer enter. */
25
25
  declare function HoverCardTrigger({
26
26
  ...props
27
- }: React.ComponentProps<typeof HoverCard$1.Trigger>): react135.JSX.Element;
27
+ }: React.ComponentProps<typeof HoverCard$1.Trigger>): react184.JSX.Element;
28
28
  /** The floating card panel displayed when the trigger is hovered. */
29
29
  declare function HoverCardContent({
30
30
  className,
31
31
  align,
32
32
  sideOffset,
33
33
  ...props
34
- }: React.ComponentProps<typeof HoverCard$1.Content>): react135.JSX.Element;
34
+ }: React.ComponentProps<typeof HoverCard$1.Content>): react184.JSX.Element;
35
35
  //#endregion
36
36
  export { HoverCard, HoverCardContent, HoverCardTrigger };
37
37
  //# sourceMappingURL=hover-card.d.mts.map
@@ -1,4 +1,4 @@
1
- import * as react120 from "react";
1
+ import * as react175 from "react";
2
2
  import { OTPInput } from "input-otp";
3
3
 
4
4
  //#region packages/components/ui/input-otp.d.ts
@@ -32,12 +32,12 @@ declare function InputOTP({
32
32
  }: React.ComponentProps<typeof OTPInput> & {
33
33
  /** Class name applied to the outer container div. */
34
34
  containerClassName?: string;
35
- }): react120.JSX.Element;
35
+ }): react175.JSX.Element;
36
36
  /** Flex container that groups a sequence of InputOTPSlot elements. */
37
37
  declare function InputOTPGroup({
38
38
  className,
39
39
  ...props
40
- }: React.ComponentProps<'div'>): react120.JSX.Element;
40
+ }: React.ComponentProps<'div'>): react175.JSX.Element;
41
41
  /**
42
42
  * A single character slot in an InputOTP — displays the typed character and a blinking caret when focused.
43
43
  *
@@ -49,11 +49,11 @@ declare function InputOTPSlot({
49
49
  ...props
50
50
  }: React.ComponentProps<'div'> & {
51
51
  index: number;
52
- }): react120.JSX.Element;
52
+ }): react175.JSX.Element;
53
53
  /** Visual separator (dash) placed between InputOTPGroup elements. */
54
54
  declare function InputOTPSeparator({
55
55
  ...props
56
- }: React.ComponentProps<'div'>): react120.JSX.Element;
56
+ }: React.ComponentProps<'div'>): react175.JSX.Element;
57
57
  //#endregion
58
58
  export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
59
59
  //# sourceMappingURL=input-otp.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react194 from "react";
1
+ import * as react177 from "react";
2
2
  import { OTPInput } from "input-otp";
3
3
 
4
4
  //#region packages/components/ui/input-otp.d.ts
@@ -32,12 +32,12 @@ declare function InputOTP({
32
32
  }: React.ComponentProps<typeof OTPInput> & {
33
33
  /** Class name applied to the outer container div. */
34
34
  containerClassName?: string;
35
- }): react194.JSX.Element;
35
+ }): react177.JSX.Element;
36
36
  /** Flex container that groups a sequence of InputOTPSlot elements. */
37
37
  declare function InputOTPGroup({
38
38
  className,
39
39
  ...props
40
- }: React.ComponentProps<'div'>): react194.JSX.Element;
40
+ }: React.ComponentProps<'div'>): react177.JSX.Element;
41
41
  /**
42
42
  * A single character slot in an InputOTP — displays the typed character and a blinking caret when focused.
43
43
  *
@@ -49,11 +49,11 @@ declare function InputOTPSlot({
49
49
  ...props
50
50
  }: React.ComponentProps<'div'> & {
51
51
  index: number;
52
- }): react194.JSX.Element;
52
+ }): react177.JSX.Element;
53
53
  /** Visual separator (dash) placed between InputOTPGroup elements. */
54
54
  declare function InputOTPSeparator({
55
55
  ...props
56
- }: React.ComponentProps<'div'>): react194.JSX.Element;
56
+ }: React.ComponentProps<'div'>): react177.JSX.Element;
57
57
  //#endregion
58
58
  export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
59
59
  //# sourceMappingURL=input-otp.d.mts.map
@@ -1,2 +1,2 @@
1
- import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-DtUFTR6j.cjs";
1
+ import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-B4ZV1tKO.cjs";
2
2
  export { Input, InputVariantProps, inputVariants };
@@ -1,2 +1,2 @@
1
- import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-ZL65yvYU.mjs";
1
+ import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-Che86SWz.mjs";
2
2
  export { Input, InputVariantProps, inputVariants };
@@ -1,4 +1,4 @@
1
- import { t as Input } from "../../input-DtUFTR6j.cjs";
1
+ import { t as Input } from "../../input-B4ZV1tKO.cjs";
2
2
  import * as react33 from "react";
3
3
 
4
4
  //#region packages/components/ui/inputs/search-input.d.ts
@@ -1,5 +1,5 @@
1
- import { t as Input } from "../../input-ZL65yvYU.mjs";
2
- import * as react35 from "react";
1
+ import { t as Input } from "../../input-Che86SWz.mjs";
2
+ import * as react33 from "react";
3
3
 
4
4
  //#region packages/components/ui/inputs/search-input.d.ts
5
5
 
@@ -23,7 +23,7 @@ type Props = React.ComponentPropsWithoutRef<typeof Input>;
23
23
  declare const SearchInput: ({
24
24
  className,
25
25
  ...rest
26
- }: Props) => react35.JSX.Element;
26
+ }: Props) => react33.JSX.Element;
27
27
  //#endregion
28
28
  export { SearchInput };
29
29
  //# sourceMappingURL=search-input.d.mts.map