@customafk/lunas-ui 0.0.111 → 0.0.112

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 (215) hide show
  1. package/dist/{button-tUVN-gcp.d.ts → button-CsFG_79-.d.ts} +7 -7
  2. package/dist/{button-DT2zgZfZ.d.cts → button-DgaB7fPB.d.cts} +5 -5
  3. package/dist/{command-DCPdMqqD.d.cts → command-C3P4Gz9F.d.cts} +12 -12
  4. package/dist/{command-sBi1Usig.d.ts → command-DYTC2cax.d.ts} +12 -12
  5. package/dist/data-display/empty.d.cts +2 -2
  6. package/dist/data-display/empty.d.ts +2 -2
  7. package/dist/data-display/statistic.d.cts +2 -2
  8. package/dist/data-display/statistic.d.ts +2 -2
  9. package/dist/{dialog-DCW403Nj.d.cts → dialog-BAy07ui2.d.cts} +12 -12
  10. package/dist/{dialog-BbHuA_eL.d.ts → dialog-C-mUXuY2.d.ts} +12 -12
  11. package/dist/dialogs/detail-dialog/component/sidebar.cjs +1 -1
  12. package/dist/dialogs/detail-dialog/component/sidebar.d.cts +30 -30
  13. package/dist/dialogs/detail-dialog/component/sidebar.d.ts +30 -30
  14. package/dist/dialogs/detail-dialog/component/sidebar.js +1 -1
  15. package/dist/dialogs/detail-dialog/index.cjs +1 -1
  16. package/dist/dialogs/detail-dialog/index.js +1 -1
  17. package/dist/dialogs/form-dialog.d.cts +2 -2
  18. package/dist/features/search-modal/index.d.cts +2 -2
  19. package/dist/features/search-modal/index.d.ts +2 -2
  20. package/dist/forms/combobox-field.d.cts +2 -2
  21. package/dist/forms/combobox-field.d.ts +2 -2
  22. package/dist/forms/date-field.d.cts +2 -2
  23. package/dist/forms/date-field.d.ts +2 -2
  24. package/dist/forms/form-wrapper.d.cts +2 -2
  25. package/dist/forms/form-wrapper.d.ts +2 -2
  26. package/dist/forms/multi-select-field.d.cts +2 -2
  27. package/dist/forms/multi-select-field.d.ts +2 -2
  28. package/dist/forms/number-field.d.cts +2 -2
  29. package/dist/forms/number-field.d.ts +2 -2
  30. package/dist/forms/password-field.d.cts +2 -2
  31. package/dist/forms/password-field.d.ts +2 -2
  32. package/dist/forms/select-field.d.cts +2 -2
  33. package/dist/forms/select-field.d.ts +2 -2
  34. package/dist/forms/switch-field.d.cts +2 -2
  35. package/dist/forms/switch-field.d.ts +2 -2
  36. package/dist/forms/text-field.d.cts +2 -2
  37. package/dist/forms/text-field.d.ts +2 -2
  38. package/dist/forms/textarea-field.d.cts +2 -2
  39. package/dist/forms/textarea-field.d.ts +2 -2
  40. package/dist/{input-CGlr-f2P.d.cts → input-B9KPHaTo.d.cts} +3 -3
  41. package/dist/{input-RFRYqH64.d.ts → input-CZDcQBGU.d.ts} +3 -3
  42. package/dist/label-BoPdZ_p1.d.cts +11 -0
  43. package/dist/{label-DUDKi2Z9.d.ts → label-C8yEQWaz.d.ts} +3 -3
  44. package/dist/layouts/app-layout/index.cjs +1 -1
  45. package/dist/layouts/app-layout/index.cjs.map +1 -1
  46. package/dist/layouts/app-layout/index.d.cts +3 -3
  47. package/dist/layouts/app-layout/index.d.ts +5 -5
  48. package/dist/layouts/app-layout/index.js +1 -1
  49. package/dist/layouts/app-layout/index.js.map +1 -1
  50. package/dist/layouts/flex.d.cts +4 -4
  51. package/dist/layouts/flex.d.ts +2 -2
  52. package/dist/layouts/service-layout/index.cjs +1 -1
  53. package/dist/layouts/service-layout/index.cjs.map +1 -1
  54. package/dist/layouts/service-layout/index.d.cts +3 -3
  55. package/dist/layouts/service-layout/index.d.ts +3 -3
  56. package/dist/layouts/service-layout/index.js +1 -1
  57. package/dist/layouts/service-layout/index.js.map +1 -1
  58. package/dist/pages/FeatureDeveloping.d.cts +2 -2
  59. package/dist/pages/FeatureDeveloping.d.ts +2 -2
  60. package/dist/pages/FeatureFixing.d.cts +2 -2
  61. package/dist/pages/FeatureFixing.d.ts +2 -2
  62. package/dist/pages/NotAuthorized.d.cts +2 -2
  63. package/dist/pages/NotFound.d.cts +2 -2
  64. package/dist/pages/NotFound.d.ts +2 -2
  65. package/dist/products/product-quantity-control.d.cts +2 -2
  66. package/dist/products/product-quantity-control.d.ts +2 -2
  67. package/dist/{separator-DlKvRb97.d.cts → separator-BMWE1YbF.d.cts} +3 -3
  68. package/dist/{separator-B7MG0WfW.d.ts → separator-Q3X8kx0F.d.ts} +3 -3
  69. package/dist/sidebar-DqShpklE.js +2 -0
  70. package/dist/sidebar-DqShpklE.js.map +1 -0
  71. package/dist/sidebar-cOQ6XLq9.cjs +2 -0
  72. package/dist/sidebar-cOQ6XLq9.cjs.map +1 -0
  73. package/dist/table/index.cjs +1 -1
  74. package/dist/table/index.cjs.map +1 -1
  75. package/dist/table/index.d.cts +2 -2
  76. package/dist/table/index.d.ts +2 -2
  77. package/dist/table/index.js +1 -1
  78. package/dist/table/index.js.map +1 -1
  79. package/dist/tanstack-form/index.cjs +1 -1
  80. package/dist/tanstack-form/index.cjs.map +1 -1
  81. package/dist/tanstack-form/index.d.cts +18 -18
  82. package/dist/tanstack-form/index.d.ts +18 -18
  83. package/dist/tanstack-form/index.js +1 -1
  84. package/dist/tanstack-form/index.js.map +1 -1
  85. package/dist/{toggle-Bqn-nyu3.d.ts → toggle-CAwuiF7Z.d.ts} +3 -3
  86. package/dist/{toggle-DUz2tdav.d.cts → toggle-MKiZqOqs.d.cts} +5 -5
  87. package/dist/{tooltip-Co_tM-og.d.cts → tooltip-B8fqBNc4.d.cts} +6 -6
  88. package/dist/{tooltip-hKG8rdNt.d.ts → tooltip-BO_2mGzF.d.ts} +6 -6
  89. package/dist/typography/paragraph.d.cts +2 -2
  90. package/dist/typography/paragraph.d.ts +2 -2
  91. package/dist/typography/title.d.cts +2 -2
  92. package/dist/typography/title.d.ts +2 -2
  93. package/dist/ui/alert-dialog.d.cts +12 -12
  94. package/dist/ui/alert-dialog.d.ts +12 -12
  95. package/dist/ui/alert.d.cts +5 -5
  96. package/dist/ui/alert.d.ts +5 -5
  97. package/dist/ui/aspect-ratio.d.cts +2 -2
  98. package/dist/ui/aspect-ratio.d.ts +2 -2
  99. package/dist/ui/avatar.d.cts +4 -4
  100. package/dist/ui/avatar.d.ts +4 -4
  101. package/dist/ui/badge.d.cts +4 -4
  102. package/dist/ui/badge.d.ts +4 -4
  103. package/dist/ui/breadcrumb.d.cts +8 -8
  104. package/dist/ui/breadcrumb.d.ts +8 -8
  105. package/dist/ui/button-group.d.cts +7 -7
  106. package/dist/ui/button-group.d.ts +7 -7
  107. package/dist/ui/button.d.cts +1 -1
  108. package/dist/ui/button.d.ts +1 -1
  109. package/dist/ui/calendar.d.cts +4 -4
  110. package/dist/ui/calendar.d.ts +4 -4
  111. package/dist/ui/card.d.cts +8 -8
  112. package/dist/ui/card.d.ts +8 -8
  113. package/dist/ui/carousel.cjs +1 -1
  114. package/dist/ui/carousel.cjs.map +1 -1
  115. package/dist/ui/carousel.d.cts +7 -7
  116. package/dist/ui/carousel.d.ts +7 -7
  117. package/dist/ui/carousel.js +1 -1
  118. package/dist/ui/carousel.js.map +1 -1
  119. package/dist/ui/collapsible.d.cts +4 -4
  120. package/dist/ui/collapsible.d.ts +4 -4
  121. package/dist/ui/command.d.cts +2 -2
  122. package/dist/ui/command.d.ts +2 -2
  123. package/dist/ui/context-menu.d.cts +16 -16
  124. package/dist/ui/context-menu.d.ts +16 -16
  125. package/dist/ui/dialog.d.cts +1 -1
  126. package/dist/ui/dialog.d.ts +1 -1
  127. package/dist/ui/drawer.d.cts +11 -11
  128. package/dist/ui/drawer.d.ts +11 -11
  129. package/dist/ui/dropdown-menu.d.cts +16 -16
  130. package/dist/ui/dropdown-menu.d.ts +16 -16
  131. package/dist/ui/empty.d.cts +9 -9
  132. package/dist/ui/empty.d.ts +9 -9
  133. package/dist/ui/field.d.cts +25 -25
  134. package/dist/ui/field.d.ts +25 -25
  135. package/dist/ui/file-uploader.d.cts +2 -2
  136. package/dist/ui/file-uploader.d.ts +2 -2
  137. package/dist/ui/form.d.cts +11 -11
  138. package/dist/ui/form.d.ts +7 -7
  139. package/dist/ui/hover-card.d.ts +4 -4
  140. package/dist/ui/input-otp.cjs +1 -1
  141. package/dist/ui/input-otp.cjs.map +1 -1
  142. package/dist/ui/input-otp.d.cts +5 -5
  143. package/dist/ui/input-otp.d.ts +5 -5
  144. package/dist/ui/input-otp.js +1 -1
  145. package/dist/ui/input-otp.js.map +1 -1
  146. package/dist/ui/input.d.cts +1 -1
  147. package/dist/ui/input.d.ts +1 -1
  148. package/dist/ui/inputs/search-input.d.cts +3 -3
  149. package/dist/ui/inputs/search-input.d.ts +3 -3
  150. package/dist/ui/item.d.cts +16 -16
  151. package/dist/ui/item.d.ts +13 -13
  152. package/dist/ui/label.d.cts +1 -1
  153. package/dist/ui/label.d.ts +1 -1
  154. package/dist/ui/menubar.d.cts +17 -17
  155. package/dist/ui/menubar.d.ts +17 -17
  156. package/dist/ui/multi-select.d.cts +4 -4
  157. package/dist/ui/multi-select.d.ts +2 -2
  158. package/dist/ui/navigation-menu.d.cts +11 -11
  159. package/dist/ui/navigation-menu.d.ts +9 -9
  160. package/dist/ui/pagination.d.cts +9 -9
  161. package/dist/ui/pagination.d.ts +9 -9
  162. package/dist/ui/popover.d.cts +5 -5
  163. package/dist/ui/popover.d.ts +5 -5
  164. package/dist/ui/progress.d.cts +2 -2
  165. package/dist/ui/progress.d.ts +2 -2
  166. package/dist/ui/radio-group.d.cts +3 -3
  167. package/dist/ui/radio-group.d.ts +3 -3
  168. package/dist/ui/resizable.d.cts +4 -4
  169. package/dist/ui/resizable.d.ts +4 -4
  170. package/dist/ui/scroll-area.d.cts +6 -6
  171. package/dist/ui/scroll-area.d.ts +3 -3
  172. package/dist/ui/select.d.cts +11 -11
  173. package/dist/ui/select.d.ts +11 -11
  174. package/dist/ui/separator.d.cts +1 -1
  175. package/dist/ui/separator.d.ts +1 -1
  176. package/dist/ui/sheet.d.cts +9 -9
  177. package/dist/ui/sheet.d.ts +9 -9
  178. package/dist/ui/sidebar.cjs +1 -1
  179. package/dist/ui/sidebar.cjs.map +1 -1
  180. package/dist/ui/sidebar.d.cts +28 -28
  181. package/dist/ui/sidebar.d.ts +30 -30
  182. package/dist/ui/sidebar.js +1 -1
  183. package/dist/ui/sidebar.js.map +1 -1
  184. package/dist/ui/skeleton.d.cts +2 -2
  185. package/dist/ui/skeleton.d.ts +2 -2
  186. package/dist/ui/slider.d.cts +2 -2
  187. package/dist/ui/slider.d.ts +2 -2
  188. package/dist/ui/sonner.d.cts +2 -2
  189. package/dist/ui/sonner.d.ts +2 -2
  190. package/dist/ui/spinner.d.cts +2 -2
  191. package/dist/ui/spinner.d.ts +2 -2
  192. package/dist/ui/switch.d.cts +2 -2
  193. package/dist/ui/switch.d.ts +2 -2
  194. package/dist/ui/table.d.cts +18 -18
  195. package/dist/ui/table.d.ts +9 -9
  196. package/dist/ui/tabs.d.cts +5 -5
  197. package/dist/ui/tabs.d.ts +5 -5
  198. package/dist/ui/textarea.d.cts +2 -2
  199. package/dist/ui/textarea.d.ts +2 -2
  200. package/dist/ui/toggle-group.cjs +1 -1
  201. package/dist/ui/toggle-group.cjs.map +1 -1
  202. package/dist/ui/toggle-group.d.cts +4 -4
  203. package/dist/ui/toggle-group.d.ts +4 -4
  204. package/dist/ui/toggle-group.js +1 -1
  205. package/dist/ui/toggle-group.js.map +1 -1
  206. package/dist/ui/toggle.d.cts +1 -1
  207. package/dist/ui/toggle.d.ts +1 -1
  208. package/dist/ui/tooltip.d.cts +1 -1
  209. package/dist/ui/tooltip.d.ts +1 -1
  210. package/package.json +1 -1
  211. package/dist/label-BVizk4r8.d.cts +0 -11
  212. package/dist/sidebar-CKSP_wGV.js +0 -2
  213. package/dist/sidebar-CKSP_wGV.js.map +0 -1
  214. package/dist/sidebar-DTYxSTwf.cjs +0 -2
  215. package/dist/sidebar-DTYxSTwf.cjs.map +0 -1
@@ -1,57 +1,57 @@
1
- import { t as Label } from "../label-DUDKi2Z9.js";
2
- import * as react1 from "react";
3
- import * as react_jsx_runtime34 from "react/jsx-runtime";
1
+ import { t as Label } from "../label-C8yEQWaz.js";
2
+ import * as react26 from "react";
3
+ import * as react_jsx_runtime142 from "react/jsx-runtime";
4
4
  import { VariantProps } from "class-variance-authority";
5
- import * as class_variance_authority_types0 from "class-variance-authority/types";
5
+ import * as class_variance_authority_types3 from "class-variance-authority/types";
6
6
 
7
7
  //#region packages/components/ui/field.d.ts
8
- declare const FieldSet: react1.MemoExoticComponent<({
8
+ declare const FieldSet: react26.MemoExoticComponent<({
9
9
  className,
10
10
  ...props
11
- }: React.ComponentProps<"fieldset">) => react_jsx_runtime34.JSX.Element>;
12
- declare const FieldLegend: react1.MemoExoticComponent<({
11
+ }: React.ComponentProps<"fieldset">) => react_jsx_runtime142.JSX.Element>;
12
+ declare const FieldLegend: react26.MemoExoticComponent<({
13
13
  className,
14
14
  variant,
15
15
  ...props
16
16
  }: React.ComponentProps<"legend"> & {
17
17
  variant?: "legend" | "label";
18
- }) => react_jsx_runtime34.JSX.Element>;
19
- declare const FieldGroup: react1.MemoExoticComponent<({
18
+ }) => react_jsx_runtime142.JSX.Element>;
19
+ declare const FieldGroup: react26.MemoExoticComponent<({
20
20
  className,
21
21
  ...props
22
- }: React.ComponentProps<"div">) => react_jsx_runtime34.JSX.Element>;
22
+ }: React.ComponentProps<"div">) => react_jsx_runtime142.JSX.Element>;
23
23
  declare const fieldVariants: (props?: ({
24
24
  orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
25
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
26
- declare const Field: react1.MemoExoticComponent<({
25
+ } & class_variance_authority_types3.ClassProp) | undefined) => string;
26
+ declare const Field: react26.MemoExoticComponent<({
27
27
  className,
28
28
  orientation,
29
29
  ...props
30
- }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react_jsx_runtime34.JSX.Element>;
31
- declare const FieldContent: react1.MemoExoticComponent<({
30
+ }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react_jsx_runtime142.JSX.Element>;
31
+ declare const FieldContent: react26.MemoExoticComponent<({
32
32
  className,
33
33
  ...props
34
- }: React.ComponentProps<"div">) => react_jsx_runtime34.JSX.Element>;
35
- declare const FieldLabel: react1.MemoExoticComponent<({
34
+ }: React.ComponentProps<"div">) => react_jsx_runtime142.JSX.Element>;
35
+ declare const FieldLabel: react26.MemoExoticComponent<({
36
36
  className,
37
37
  ...props
38
- }: React.ComponentProps<typeof Label>) => react_jsx_runtime34.JSX.Element>;
39
- declare const FieldTitle: react1.MemoExoticComponent<({
38
+ }: React.ComponentProps<typeof Label>) => react_jsx_runtime142.JSX.Element>;
39
+ declare const FieldTitle: react26.MemoExoticComponent<({
40
40
  className,
41
41
  ...props
42
- }: React.ComponentProps<"div">) => react_jsx_runtime34.JSX.Element>;
43
- declare const FieldDescription: react1.MemoExoticComponent<({
42
+ }: React.ComponentProps<"div">) => react_jsx_runtime142.JSX.Element>;
43
+ declare const FieldDescription: react26.MemoExoticComponent<({
44
44
  className,
45
45
  ...props
46
- }: React.ComponentProps<"p">) => react_jsx_runtime34.JSX.Element>;
47
- declare const FieldSeparator: react1.MemoExoticComponent<({
46
+ }: React.ComponentProps<"p">) => react_jsx_runtime142.JSX.Element>;
47
+ declare const FieldSeparator: react26.MemoExoticComponent<({
48
48
  children,
49
49
  className,
50
50
  ...props
51
51
  }: React.ComponentProps<"div"> & {
52
52
  children?: React.ReactNode;
53
- }) => react_jsx_runtime34.JSX.Element>;
54
- declare const FieldError: react1.MemoExoticComponent<({
53
+ }) => react_jsx_runtime142.JSX.Element>;
54
+ declare const FieldError: react26.MemoExoticComponent<({
55
55
  className,
56
56
  children,
57
57
  errors,
@@ -60,7 +60,7 @@ declare const FieldError: react1.MemoExoticComponent<({
60
60
  errors?: Array<{
61
61
  message?: string;
62
62
  } | undefined>;
63
- }) => react_jsx_runtime34.JSX.Element | null>;
63
+ }) => react_jsx_runtime142.JSX.Element | null>;
64
64
  //#endregion
65
65
  export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
66
66
  //# sourceMappingURL=field.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime49 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime73 from "react/jsx-runtime";
2
2
  import { DropzoneProps } from "react-dropzone";
3
3
 
4
4
  //#region packages/components/ui/file-uploader.d.ts
@@ -72,7 +72,7 @@ interface FileUploaderProps extends React.HTMLAttributes<HTMLDivElement> {
72
72
  showText?: boolean;
73
73
  iconSize?: number;
74
74
  }
75
- declare function FileUploader(props: FileUploaderProps): react_jsx_runtime49.JSX.Element;
75
+ declare function FileUploader(props: FileUploaderProps): react_jsx_runtime73.JSX.Element;
76
76
  //#endregion
77
77
  export { FileUploader };
78
78
  //# sourceMappingURL=file-uploader.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime180 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime174 from "react/jsx-runtime";
2
2
  import { DropzoneProps } from "react-dropzone";
3
3
 
4
4
  //#region packages/components/ui/file-uploader.d.ts
@@ -72,7 +72,7 @@ interface FileUploaderProps extends React.HTMLAttributes<HTMLDivElement> {
72
72
  showText?: boolean;
73
73
  iconSize?: number;
74
74
  }
75
- declare function FileUploader(props: FileUploaderProps): react_jsx_runtime180.JSX.Element;
75
+ declare function FileUploader(props: FileUploaderProps): react_jsx_runtime174.JSX.Element;
76
76
  //#endregion
77
77
  export { FileUploader };
78
78
  //# sourceMappingURL=file-uploader.d.ts.map
@@ -1,5 +1,5 @@
1
- import * as react_jsx_runtime77 from "react/jsx-runtime";
2
- import * as react11 from "react";
1
+ import * as react_jsx_runtime116 from "react/jsx-runtime";
2
+ import * as react36 from "react";
3
3
  import { Label, Slot } from "radix-ui";
4
4
  import * as react_hook_form0 from "react-hook-form";
5
5
  import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
@@ -8,7 +8,7 @@ import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
8
8
  declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form0.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
9
9
  declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
10
10
  ...props
11
- }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime77.JSX.Element;
11
+ }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime116.JSX.Element;
12
12
  declare const useFormField: () => {
13
13
  invalid: boolean;
14
14
  isDirty: boolean;
@@ -23,28 +23,28 @@ declare const useFormField: () => {
23
23
  formDescriptionId: string;
24
24
  formMessageId: string;
25
25
  };
26
- declare const FormItem: react11.MemoExoticComponent<({
26
+ declare const FormItem: react36.MemoExoticComponent<({
27
27
  className,
28
28
  orientation,
29
29
  ...props
30
30
  }: React.ComponentProps<"div"> & {
31
31
  orientation?: "vertical" | "horizontal" | "responsive";
32
- }) => react_jsx_runtime77.JSX.Element>;
33
- declare const FormLabel: react11.MemoExoticComponent<({
32
+ }) => react_jsx_runtime116.JSX.Element>;
33
+ declare const FormLabel: react36.MemoExoticComponent<({
34
34
  ...props
35
- }: React.ComponentProps<typeof Label.Root>) => react_jsx_runtime77.JSX.Element>;
36
- declare const FormControl: react11.MemoExoticComponent<({
35
+ }: React.ComponentProps<typeof Label.Root>) => react_jsx_runtime116.JSX.Element>;
36
+ declare const FormControl: react36.MemoExoticComponent<({
37
37
  ...props
38
- }: React.ComponentProps<typeof Slot.Slot>) => react_jsx_runtime77.JSX.Element>;
38
+ }: React.ComponentProps<typeof Slot.Slot>) => react_jsx_runtime116.JSX.Element>;
39
39
  declare function FormDescription({
40
40
  className,
41
41
  ...props
42
- }: React.ComponentProps<'p'>): react_jsx_runtime77.JSX.Element;
42
+ }: React.ComponentProps<'p'>): react_jsx_runtime116.JSX.Element;
43
43
  declare function FormMessage({
44
44
  className,
45
45
  children,
46
46
  ...props
47
- }: React.ComponentProps<'p'>): react_jsx_runtime77.JSX.Element;
47
+ }: React.ComponentProps<'p'>): react_jsx_runtime116.JSX.Element;
48
48
  //#endregion
49
49
  export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
50
50
  //# sourceMappingURL=form.d.cts.map
package/dist/ui/form.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react36 from "react";
2
- import * as react_jsx_runtime107 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime152 from "react/jsx-runtime";
3
3
  import { Label, Slot } from "radix-ui";
4
4
  import * as react_hook_form0 from "react-hook-form";
5
5
  import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
@@ -8,7 +8,7 @@ import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
8
8
  declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form0.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
9
9
  declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
10
10
  ...props
11
- }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime107.JSX.Element;
11
+ }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime152.JSX.Element;
12
12
  declare const useFormField: () => {
13
13
  invalid: boolean;
14
14
  isDirty: boolean;
@@ -29,22 +29,22 @@ declare const FormItem: react36.MemoExoticComponent<({
29
29
  ...props
30
30
  }: React.ComponentProps<"div"> & {
31
31
  orientation?: "vertical" | "horizontal" | "responsive";
32
- }) => react_jsx_runtime107.JSX.Element>;
32
+ }) => react_jsx_runtime152.JSX.Element>;
33
33
  declare const FormLabel: react36.MemoExoticComponent<({
34
34
  ...props
35
- }: React.ComponentProps<typeof Label.Root>) => react_jsx_runtime107.JSX.Element>;
35
+ }: React.ComponentProps<typeof Label.Root>) => react_jsx_runtime152.JSX.Element>;
36
36
  declare const FormControl: react36.MemoExoticComponent<({
37
37
  ...props
38
- }: React.ComponentProps<typeof Slot.Slot>) => react_jsx_runtime107.JSX.Element>;
38
+ }: React.ComponentProps<typeof Slot.Slot>) => react_jsx_runtime152.JSX.Element>;
39
39
  declare function FormDescription({
40
40
  className,
41
41
  ...props
42
- }: React.ComponentProps<'p'>): react_jsx_runtime107.JSX.Element;
42
+ }: React.ComponentProps<'p'>): react_jsx_runtime152.JSX.Element;
43
43
  declare function FormMessage({
44
44
  className,
45
45
  children,
46
46
  ...props
47
- }: React.ComponentProps<'p'>): react_jsx_runtime107.JSX.Element;
47
+ }: React.ComponentProps<'p'>): react_jsx_runtime152.JSX.Element;
48
48
  //#endregion
49
49
  export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
50
50
  //# sourceMappingURL=form.d.ts.map
@@ -1,19 +1,19 @@
1
- import * as react_jsx_runtime80 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime123 from "react/jsx-runtime";
2
2
  import { HoverCard as HoverCard$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/hover-card.d.ts
5
5
  declare function HoverCard({
6
6
  ...props
7
- }: React.ComponentProps<typeof HoverCard$1.Root>): react_jsx_runtime80.JSX.Element;
7
+ }: React.ComponentProps<typeof HoverCard$1.Root>): react_jsx_runtime123.JSX.Element;
8
8
  declare function HoverCardTrigger({
9
9
  ...props
10
- }: React.ComponentProps<typeof HoverCard$1.Trigger>): react_jsx_runtime80.JSX.Element;
10
+ }: React.ComponentProps<typeof HoverCard$1.Trigger>): react_jsx_runtime123.JSX.Element;
11
11
  declare function HoverCardContent({
12
12
  className,
13
13
  align,
14
14
  sideOffset,
15
15
  ...props
16
- }: React.ComponentProps<typeof HoverCard$1.Content>): react_jsx_runtime80.JSX.Element;
16
+ }: React.ComponentProps<typeof HoverCard$1.Content>): react_jsx_runtime123.JSX.Element;
17
17
  //#endregion
18
18
  export { HoverCard, HoverCardContent, HoverCardTrigger };
19
19
  //# sourceMappingURL=hover-card.d.ts.map
@@ -1,2 +1,2 @@
1
- "use client";const e=require(`../chunk-DjWAcSYV.cjs`);let t=require(`lucide-react`);t=e.t(t);let n=require(`@customafk/react-toolkit/utils`);n=e.t(n);let r=require(`react`);r=e.t(r);let i=require(`react/jsx-runtime`);i=e.t(i);let a=require(`input-otp`);a=e.t(a);function o({className:e,containerClassName:t,...r}){return(0,i.jsx)(a.OTPInput,{"data-slot":`input-otp`,containerClassName:(0,n.cn)(`flex items-center gap-2 has-disabled:opacity-50`,t),className:(0,n.cn)(`disabled:cursor-not-allowed`,e),...r})}function s({className:e,...t}){return(0,i.jsx)(`div`,{"data-slot":`input-otp-group`,className:(0,n.cn)(`flex items-center`,e),...t})}function c({index:e,className:t,...o}){let{char:s,hasFakeCaret:c,isActive:l}=(0,r.useContext)(a.OTPInputContext)?.slots[e]??{};return(0,i.jsxs)(`div`,{"data-slot":`input-otp-slot`,"data-active":l,className:(0,n.cn)(`data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]`,t),...o,children:[s,c&&(0,i.jsx)(`div`,{className:`pointer-events-none absolute inset-0 flex items-center justify-center`,children:(0,i.jsx)(`div`,{className:`animate-caret-blink bg-foreground h-4 w-px duration-1000`})})]})}function l({...e}){return(0,i.jsx)(`div`,{"data-slot":`input-otp-separator`,role:`separator`,...e,children:(0,i.jsx)(t.MinusIcon,{})})}exports.InputOTP=o,exports.InputOTPGroup=s,exports.InputOTPSeparator=l,exports.InputOTPSlot=c;
1
+ "use client";const e=require(`../chunk-DjWAcSYV.cjs`);let t=require(`lucide-react`);t=e.t(t);let n=require(`@customafk/react-toolkit/utils`);n=e.t(n);let r=require(`react`);r=e.t(r);let i=require(`react/jsx-runtime`);i=e.t(i);let a=require(`input-otp`);a=e.t(a);function o({className:e,containerClassName:t,...r}){return(0,i.jsx)(a.OTPInput,{"data-slot":`input-otp`,containerClassName:(0,n.cn)(`flex items-center gap-2 has-disabled:opacity-50`,t),className:(0,n.cn)(`disabled:cursor-not-allowed`,e),...r})}function s({className:e,...t}){return(0,i.jsx)(`div`,{"data-slot":`input-otp-group`,className:(0,n.cn)(`flex items-center`,e),...t})}function c({index:e,className:t,...o}){let{char:s,hasFakeCaret:c,isActive:l}=(0,r.use)(a.OTPInputContext)?.slots[e]??{};return(0,i.jsxs)(`div`,{"data-slot":`input-otp-slot`,"data-active":l,className:(0,n.cn)(`data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]`,t),...o,children:[s,c&&(0,i.jsx)(`div`,{className:`pointer-events-none absolute inset-0 flex items-center justify-center`,children:(0,i.jsx)(`div`,{className:`animate-caret-blink bg-foreground h-4 w-px duration-1000`})})]})}function l({...e}){return(0,i.jsx)(`div`,{"data-slot":`input-otp-separator`,role:`separator`,...e,children:(0,i.jsx)(t.MinusIcon,{})})}exports.InputOTP=o,exports.InputOTPGroup=s,exports.InputOTPSeparator=l,exports.InputOTPSlot=c;
2
2
  //# sourceMappingURL=input-otp.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"input-otp.cjs","names":["OTPInput","OTPInputContext","MinusIcon"],"sources":["../../packages/components/ui/input-otp.tsx"],"sourcesContent":["'use client';\nimport { useContext } from 'react';\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { MinusIcon } from 'lucide-react';\n\nimport { OTPInput, OTPInputContext } from 'input-otp';\n\nfunction InputOTP({\n className,\n containerClassName,\n ...props\n}: React.ComponentProps<typeof OTPInput> & {\n containerClassName?: string;\n}) {\n return (\n <OTPInput\n data-slot=\"input-otp\"\n containerClassName={cn('flex items-center gap-2 has-disabled:opacity-50', containerClassName)}\n className={cn('disabled:cursor-not-allowed', className)}\n {...props}\n />\n );\n}\n\nfunction InputOTPGroup({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"input-otp-group\" className={cn('flex items-center', className)} {...props} />;\n}\n\nfunction InputOTPSlot({\n index,\n className,\n ...props\n}: React.ComponentProps<'div'> & {\n index: number;\n}) {\n const inputOTPContext = useContext(OTPInputContext);\n const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {};\n\n return (\n <div\n data-slot=\"input-otp-slot\"\n data-active={isActive}\n className={cn(\n 'data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]',\n className\n )}\n {...props}\n >\n {char}\n {hasFakeCaret && (\n <div className=\"pointer-events-none absolute inset-0 flex items-center justify-center\">\n <div className=\"animate-caret-blink bg-foreground h-4 w-px duration-1000\" />\n </div>\n )}\n </div>\n );\n}\n\nfunction InputOTPSeparator({ ...props }: React.ComponentProps<'div'>) {\n return (\n <div data-slot=\"input-otp-separator\" role=\"separator\" {...props}>\n <MinusIcon />\n </div>\n );\n}\n\nexport { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };\n"],"mappings":"sQAQA,SAAS,EAAS,CAChB,YACA,qBACA,GAAG,GAGF,CACD,OACE,EAAA,EAAA,KAACA,EAAAA,SAAAA,CACC,YAAU,YACV,oBAAA,EAAA,EAAA,IAAuB,kDAAmD,EAAmB,CAC7F,WAAA,EAAA,EAAA,IAAc,8BAA+B,EAAU,CACvD,GAAI,GACJ,CAIN,SAAS,EAAc,CAAE,YAAW,GAAG,GAAsC,CAC3E,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,kBAAkB,WAAA,EAAA,EAAA,IAAc,oBAAqB,EAAU,CAAE,GAAI,GAAS,CAGtG,SAAS,EAAa,CACpB,QACA,YACA,GAAG,GAGF,CAED,GAAM,CAAE,OAAM,eAAc,aAAA,EAAA,EAAA,YADOC,EAAAA,gBAAgB,EACO,MAAM,IAAU,EAAE,CAE5E,OACE,EAAA,EAAA,MAAC,MAAA,CACC,YAAU,iBACV,cAAa,EACb,WAAA,EAAA,EAAA,IACE,2fACA,EACD,CACD,GAAI,YAEH,EACA,IACC,EAAA,EAAA,KAAC,MAAA,CAAI,UAAU,kFACb,EAAA,EAAA,KAAC,MAAA,CAAI,UAAU,2DAAA,CAA6D,EACxE,CAAA,EAEJ,CAIV,SAAS,EAAkB,CAAE,GAAG,GAAsC,CACpE,OACE,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,sBAAsB,KAAK,YAAY,GAAI,YACxD,EAAA,EAAA,KAACC,EAAAA,UAAAA,EAAAA,CAAY,EACT"}
1
+ {"version":3,"file":"input-otp.cjs","names":["OTPInput","OTPInputContext","MinusIcon"],"sources":["../../packages/components/ui/input-otp.tsx"],"sourcesContent":["'use client';\nimport { use } from 'react';\n\nimport { MinusIcon } from 'lucide-react';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { OTPInput, OTPInputContext } from 'input-otp';\n\nfunction InputOTP({\n className,\n containerClassName,\n ...props\n}: React.ComponentProps<typeof OTPInput> & {\n containerClassName?: string;\n}) {\n return (\n <OTPInput\n data-slot=\"input-otp\"\n containerClassName={cn('flex items-center gap-2 has-disabled:opacity-50', containerClassName)}\n className={cn('disabled:cursor-not-allowed', className)}\n {...props}\n />\n );\n}\n\nfunction InputOTPGroup({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"input-otp-group\" className={cn('flex items-center', className)} {...props} />;\n}\n\nfunction InputOTPSlot({\n index,\n className,\n ...props\n}: React.ComponentProps<'div'> & {\n index: number;\n}) {\n const inputOTPContext = use(OTPInputContext);\n const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {};\n\n return (\n <div\n data-slot=\"input-otp-slot\"\n data-active={isActive}\n className={cn(\n 'data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]',\n className\n )}\n {...props}\n >\n {char}\n {hasFakeCaret && (\n <div className=\"pointer-events-none absolute inset-0 flex items-center justify-center\">\n <div className=\"animate-caret-blink bg-foreground h-4 w-px duration-1000\" />\n </div>\n )}\n </div>\n );\n}\n\nfunction InputOTPSeparator({ ...props }: React.ComponentProps<'div'>) {\n return (\n <div data-slot=\"input-otp-separator\" role=\"separator\" {...props}>\n <MinusIcon />\n </div>\n );\n}\n\nexport { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };\n"],"mappings":"sQASA,SAAS,EAAS,CAChB,YACA,qBACA,GAAG,GAGF,CACD,OACE,EAAA,EAAA,KAACA,EAAAA,SAAAA,CACC,YAAU,YACV,oBAAA,EAAA,EAAA,IAAuB,kDAAmD,EAAmB,CAC7F,WAAA,EAAA,EAAA,IAAc,8BAA+B,EAAU,CACvD,GAAI,GACJ,CAIN,SAAS,EAAc,CAAE,YAAW,GAAG,GAAsC,CAC3E,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,kBAAkB,WAAA,EAAA,EAAA,IAAc,oBAAqB,EAAU,CAAE,GAAI,GAAS,CAGtG,SAAS,EAAa,CACpB,QACA,YACA,GAAG,GAGF,CAED,GAAM,CAAE,OAAM,eAAc,aAAA,EAAA,EAAA,KADAC,EAAAA,gBAAgB,EACc,MAAM,IAAU,EAAE,CAE5E,OACE,EAAA,EAAA,MAAC,MAAA,CACC,YAAU,iBACV,cAAa,EACb,WAAA,EAAA,EAAA,IACE,2fACA,EACD,CACD,GAAI,YAEH,EACA,IACC,EAAA,EAAA,KAAC,MAAA,CAAI,UAAU,kFACb,EAAA,EAAA,KAAC,MAAA,CAAI,UAAU,2DAAA,CAA6D,EACxE,CAAA,EAEJ,CAIV,SAAS,EAAkB,CAAE,GAAG,GAAsC,CACpE,OACE,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,sBAAsB,KAAK,YAAY,GAAI,YACxD,EAAA,EAAA,KAACC,EAAAA,UAAAA,EAAAA,CAAY,EACT"}
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime45 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime105 from "react/jsx-runtime";
2
2
  import { OTPInput } from "input-otp";
3
3
 
4
4
  //#region packages/components/ui/input-otp.d.ts
@@ -8,21 +8,21 @@ declare function InputOTP({
8
8
  ...props
9
9
  }: React.ComponentProps<typeof OTPInput> & {
10
10
  containerClassName?: string;
11
- }): react_jsx_runtime45.JSX.Element;
11
+ }): react_jsx_runtime105.JSX.Element;
12
12
  declare function InputOTPGroup({
13
13
  className,
14
14
  ...props
15
- }: React.ComponentProps<'div'>): react_jsx_runtime45.JSX.Element;
15
+ }: React.ComponentProps<'div'>): react_jsx_runtime105.JSX.Element;
16
16
  declare function InputOTPSlot({
17
17
  index,
18
18
  className,
19
19
  ...props
20
20
  }: React.ComponentProps<'div'> & {
21
21
  index: number;
22
- }): react_jsx_runtime45.JSX.Element;
22
+ }): react_jsx_runtime105.JSX.Element;
23
23
  declare function InputOTPSeparator({
24
24
  ...props
25
- }: React.ComponentProps<'div'>): react_jsx_runtime45.JSX.Element;
25
+ }: React.ComponentProps<'div'>): react_jsx_runtime105.JSX.Element;
26
26
  //#endregion
27
27
  export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
28
28
  //# sourceMappingURL=input-otp.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime136 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime119 from "react/jsx-runtime";
2
2
  import { OTPInput } from "input-otp";
3
3
 
4
4
  //#region packages/components/ui/input-otp.d.ts
@@ -8,21 +8,21 @@ declare function InputOTP({
8
8
  ...props
9
9
  }: React.ComponentProps<typeof OTPInput> & {
10
10
  containerClassName?: string;
11
- }): react_jsx_runtime136.JSX.Element;
11
+ }): react_jsx_runtime119.JSX.Element;
12
12
  declare function InputOTPGroup({
13
13
  className,
14
14
  ...props
15
- }: React.ComponentProps<'div'>): react_jsx_runtime136.JSX.Element;
15
+ }: React.ComponentProps<'div'>): react_jsx_runtime119.JSX.Element;
16
16
  declare function InputOTPSlot({
17
17
  index,
18
18
  className,
19
19
  ...props
20
20
  }: React.ComponentProps<'div'> & {
21
21
  index: number;
22
- }): react_jsx_runtime136.JSX.Element;
22
+ }): react_jsx_runtime119.JSX.Element;
23
23
  declare function InputOTPSeparator({
24
24
  ...props
25
- }: React.ComponentProps<'div'>): react_jsx_runtime136.JSX.Element;
25
+ }: React.ComponentProps<'div'>): react_jsx_runtime119.JSX.Element;
26
26
  //#endregion
27
27
  export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
28
28
  //# sourceMappingURL=input-otp.d.ts.map
@@ -1,2 +1,2 @@
1
- "use client";import{MinusIcon as e}from"lucide-react";import{cn as t}from"@customafk/react-toolkit/utils";import{useContext as n}from"react";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{OTPInput as a,OTPInputContext as o}from"input-otp";function s({className:e,containerClassName:n,...i}){return r(a,{"data-slot":`input-otp`,containerClassName:t(`flex items-center gap-2 has-disabled:opacity-50`,n),className:t(`disabled:cursor-not-allowed`,e),...i})}function c({className:e,...n}){return r(`div`,{"data-slot":`input-otp-group`,className:t(`flex items-center`,e),...n})}function l({index:e,className:a,...s}){let{char:c,hasFakeCaret:l,isActive:u}=n(o)?.slots[e]??{};return i(`div`,{"data-slot":`input-otp-slot`,"data-active":u,className:t(`data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]`,a),...s,children:[c,l&&r(`div`,{className:`pointer-events-none absolute inset-0 flex items-center justify-center`,children:r(`div`,{className:`animate-caret-blink bg-foreground h-4 w-px duration-1000`})})]})}function u({...t}){return r(`div`,{"data-slot":`input-otp-separator`,role:`separator`,...t,children:r(e,{})})}export{s as InputOTP,c as InputOTPGroup,u as InputOTPSeparator,l as InputOTPSlot};
1
+ "use client";import{MinusIcon as e}from"lucide-react";import{cn as t}from"@customafk/react-toolkit/utils";import{use as n}from"react";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{OTPInput as a,OTPInputContext as o}from"input-otp";function s({className:e,containerClassName:n,...i}){return r(a,{"data-slot":`input-otp`,containerClassName:t(`flex items-center gap-2 has-disabled:opacity-50`,n),className:t(`disabled:cursor-not-allowed`,e),...i})}function c({className:e,...n}){return r(`div`,{"data-slot":`input-otp-group`,className:t(`flex items-center`,e),...n})}function l({index:e,className:a,...s}){let{char:c,hasFakeCaret:l,isActive:u}=n(o)?.slots[e]??{};return i(`div`,{"data-slot":`input-otp-slot`,"data-active":u,className:t(`data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]`,a),...s,children:[c,l&&r(`div`,{className:`pointer-events-none absolute inset-0 flex items-center justify-center`,children:r(`div`,{className:`animate-caret-blink bg-foreground h-4 w-px duration-1000`})})]})}function u({...t}){return r(`div`,{"data-slot":`input-otp-separator`,role:`separator`,...t,children:r(e,{})})}export{s as InputOTP,c as InputOTPGroup,u as InputOTPSeparator,l as InputOTPSlot};
2
2
  //# sourceMappingURL=input-otp.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"input-otp.js","names":[],"sources":["../../packages/components/ui/input-otp.tsx"],"sourcesContent":["'use client';\nimport { useContext } from 'react';\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { MinusIcon } from 'lucide-react';\n\nimport { OTPInput, OTPInputContext } from 'input-otp';\n\nfunction InputOTP({\n className,\n containerClassName,\n ...props\n}: React.ComponentProps<typeof OTPInput> & {\n containerClassName?: string;\n}) {\n return (\n <OTPInput\n data-slot=\"input-otp\"\n containerClassName={cn('flex items-center gap-2 has-disabled:opacity-50', containerClassName)}\n className={cn('disabled:cursor-not-allowed', className)}\n {...props}\n />\n );\n}\n\nfunction InputOTPGroup({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"input-otp-group\" className={cn('flex items-center', className)} {...props} />;\n}\n\nfunction InputOTPSlot({\n index,\n className,\n ...props\n}: React.ComponentProps<'div'> & {\n index: number;\n}) {\n const inputOTPContext = useContext(OTPInputContext);\n const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {};\n\n return (\n <div\n data-slot=\"input-otp-slot\"\n data-active={isActive}\n className={cn(\n 'data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]',\n className\n )}\n {...props}\n >\n {char}\n {hasFakeCaret && (\n <div className=\"pointer-events-none absolute inset-0 flex items-center justify-center\">\n <div className=\"animate-caret-blink bg-foreground h-4 w-px duration-1000\" />\n </div>\n )}\n </div>\n );\n}\n\nfunction InputOTPSeparator({ ...props }: React.ComponentProps<'div'>) {\n return (\n <div data-slot=\"input-otp-separator\" role=\"separator\" {...props}>\n <MinusIcon />\n </div>\n );\n}\n\nexport { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };\n"],"mappings":"yPAQA,SAAS,EAAS,CAChB,YACA,qBACA,GAAG,GAGF,CACD,OACE,EAAC,EAAA,CACC,YAAU,YACV,mBAAoB,EAAG,kDAAmD,EAAmB,CAC7F,UAAW,EAAG,8BAA+B,EAAU,CACvD,GAAI,GACJ,CAIN,SAAS,EAAc,CAAE,YAAW,GAAG,GAAsC,CAC3E,OAAO,EAAC,MAAA,CAAI,YAAU,kBAAkB,UAAW,EAAG,oBAAqB,EAAU,CAAE,GAAI,GAAS,CAGtG,SAAS,EAAa,CACpB,QACA,YACA,GAAG,GAGF,CAED,GAAM,CAAE,OAAM,eAAc,YADJ,EAAW,EAAgB,EACO,MAAM,IAAU,EAAE,CAE5E,OACE,EAAC,MAAA,CACC,YAAU,iBACV,cAAa,EACb,UAAW,EACT,2fACA,EACD,CACD,GAAI,YAEH,EACA,GACC,EAAC,MAAA,CAAI,UAAU,iFACb,EAAC,MAAA,CAAI,UAAU,2DAAA,CAA6D,EACxE,CAAA,EAEJ,CAIV,SAAS,EAAkB,CAAE,GAAG,GAAsC,CACpE,OACE,EAAC,MAAA,CAAI,YAAU,sBAAsB,KAAK,YAAY,GAAI,WACxD,EAAC,EAAA,EAAA,CAAY,EACT"}
1
+ {"version":3,"file":"input-otp.js","names":[],"sources":["../../packages/components/ui/input-otp.tsx"],"sourcesContent":["'use client';\nimport { use } from 'react';\n\nimport { MinusIcon } from 'lucide-react';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { OTPInput, OTPInputContext } from 'input-otp';\n\nfunction InputOTP({\n className,\n containerClassName,\n ...props\n}: React.ComponentProps<typeof OTPInput> & {\n containerClassName?: string;\n}) {\n return (\n <OTPInput\n data-slot=\"input-otp\"\n containerClassName={cn('flex items-center gap-2 has-disabled:opacity-50', containerClassName)}\n className={cn('disabled:cursor-not-allowed', className)}\n {...props}\n />\n );\n}\n\nfunction InputOTPGroup({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"input-otp-group\" className={cn('flex items-center', className)} {...props} />;\n}\n\nfunction InputOTPSlot({\n index,\n className,\n ...props\n}: React.ComponentProps<'div'> & {\n index: number;\n}) {\n const inputOTPContext = use(OTPInputContext);\n const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {};\n\n return (\n <div\n data-slot=\"input-otp-slot\"\n data-active={isActive}\n className={cn(\n 'data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]',\n className\n )}\n {...props}\n >\n {char}\n {hasFakeCaret && (\n <div className=\"pointer-events-none absolute inset-0 flex items-center justify-center\">\n <div className=\"animate-caret-blink bg-foreground h-4 w-px duration-1000\" />\n </div>\n )}\n </div>\n );\n}\n\nfunction InputOTPSeparator({ ...props }: React.ComponentProps<'div'>) {\n return (\n <div data-slot=\"input-otp-separator\" role=\"separator\" {...props}>\n <MinusIcon />\n </div>\n );\n}\n\nexport { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };\n"],"mappings":"kPASA,SAAS,EAAS,CAChB,YACA,qBACA,GAAG,GAGF,CACD,OACE,EAAC,EAAA,CACC,YAAU,YACV,mBAAoB,EAAG,kDAAmD,EAAmB,CAC7F,UAAW,EAAG,8BAA+B,EAAU,CACvD,GAAI,GACJ,CAIN,SAAS,EAAc,CAAE,YAAW,GAAG,GAAsC,CAC3E,OAAO,EAAC,MAAA,CAAI,YAAU,kBAAkB,UAAW,EAAG,oBAAqB,EAAU,CAAE,GAAI,GAAS,CAGtG,SAAS,EAAa,CACpB,QACA,YACA,GAAG,GAGF,CAED,GAAM,CAAE,OAAM,eAAc,YADJ,EAAI,EAAgB,EACc,MAAM,IAAU,EAAE,CAE5E,OACE,EAAC,MAAA,CACC,YAAU,iBACV,cAAa,EACb,UAAW,EACT,2fACA,EACD,CACD,GAAI,YAEH,EACA,GACC,EAAC,MAAA,CAAI,UAAU,iFACb,EAAC,MAAA,CAAI,UAAU,2DAAA,CAA6D,EACxE,CAAA,EAEJ,CAIV,SAAS,EAAkB,CAAE,GAAG,GAAsC,CACpE,OACE,EAAC,MAAA,CAAI,YAAU,sBAAsB,KAAK,YAAY,GAAI,WACxD,EAAC,EAAA,EAAA,CAAY,EACT"}
@@ -1,2 +1,2 @@
1
- import { t as Input } from "../input-CGlr-f2P.cjs";
1
+ import { t as Input } from "../input-B9KPHaTo.cjs";
2
2
  export { Input };
@@ -1,2 +1,2 @@
1
- import { t as Input } from "../input-RFRYqH64.js";
1
+ import { t as Input } from "../input-CZDcQBGU.js";
2
2
  export { Input };
@@ -1,12 +1,12 @@
1
- import { t as Input } from "../../input-CGlr-f2P.cjs";
2
- import * as react_jsx_runtime234 from "react/jsx-runtime";
1
+ import { t as Input } from "../../input-B9KPHaTo.cjs";
2
+ import * as react_jsx_runtime277 from "react/jsx-runtime";
3
3
 
4
4
  //#region packages/components/ui/inputs/search-input.d.ts
5
5
  type Props = React.ComponentPropsWithoutRef<typeof Input>;
6
6
  declare const SearchInput: ({
7
7
  className,
8
8
  ...rest
9
- }: Props) => react_jsx_runtime234.JSX.Element;
9
+ }: Props) => react_jsx_runtime277.JSX.Element;
10
10
  //#endregion
11
11
  export { SearchInput };
12
12
  //# sourceMappingURL=search-input.d.cts.map
@@ -1,12 +1,12 @@
1
- import { t as Input } from "../../input-RFRYqH64.js";
2
- import * as react_jsx_runtime179 from "react/jsx-runtime";
1
+ import { t as Input } from "../../input-CZDcQBGU.js";
2
+ import * as react_jsx_runtime281 from "react/jsx-runtime";
3
3
 
4
4
  //#region packages/components/ui/inputs/search-input.d.ts
5
5
  type Props = React.ComponentPropsWithoutRef<typeof Input>;
6
6
  declare const SearchInput: ({
7
7
  className,
8
8
  ...rest
9
- }: Props) => react_jsx_runtime179.JSX.Element;
9
+ }: Props) => react_jsx_runtime281.JSX.Element;
10
10
  //#endregion
11
11
  export { SearchInput };
12
12
  //# sourceMappingURL=search-input.d.ts.map
@@ -1,21 +1,21 @@
1
- import { t as Separator } from "../separator-DlKvRb97.cjs";
2
- import * as react_jsx_runtime60 from "react/jsx-runtime";
3
- import * as class_variance_authority_types2 from "class-variance-authority/types";
1
+ import { t as Separator } from "../separator-BMWE1YbF.cjs";
2
+ import * as react_jsx_runtime169 from "react/jsx-runtime";
3
+ import * as class_variance_authority_types5 from "class-variance-authority/types";
4
4
  import { VariantProps } from "class-variance-authority";
5
5
 
6
6
  //#region packages/components/ui/item.d.ts
7
7
  declare function ItemGroup({
8
8
  className,
9
9
  ...props
10
- }: React.ComponentProps<'div'>): react_jsx_runtime60.JSX.Element;
10
+ }: React.ComponentProps<'div'>): react_jsx_runtime169.JSX.Element;
11
11
  declare function ItemSeparator({
12
12
  className,
13
13
  ...props
14
- }: React.ComponentProps<typeof Separator>): react_jsx_runtime60.JSX.Element;
14
+ }: React.ComponentProps<typeof Separator>): react_jsx_runtime169.JSX.Element;
15
15
  declare const itemVariants: (props?: ({
16
16
  variant?: "muted" | "default" | "outline" | null | undefined;
17
17
  size?: "sm" | "default" | null | undefined;
18
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
18
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
19
19
  declare function Item({
20
20
  className,
21
21
  variant,
@@ -24,39 +24,39 @@ declare function Item({
24
24
  ...props
25
25
  }: React.ComponentProps<'div'> & VariantProps<typeof itemVariants> & {
26
26
  asChild?: boolean;
27
- }): react_jsx_runtime60.JSX.Element;
27
+ }): react_jsx_runtime169.JSX.Element;
28
28
  declare const itemMediaVariants: (props?: ({
29
- variant?: "image" | "default" | "icon" | null | undefined;
30
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
29
+ variant?: "default" | "icon" | "image" | null | undefined;
30
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
31
31
  declare function ItemMedia({
32
32
  className,
33
33
  variant,
34
34
  ...props
35
- }: React.ComponentProps<'div'> & VariantProps<typeof itemMediaVariants>): react_jsx_runtime60.JSX.Element;
35
+ }: React.ComponentProps<'div'> & VariantProps<typeof itemMediaVariants>): react_jsx_runtime169.JSX.Element;
36
36
  declare function ItemContent({
37
37
  className,
38
38
  ...props
39
- }: React.ComponentProps<'div'>): react_jsx_runtime60.JSX.Element;
39
+ }: React.ComponentProps<'div'>): react_jsx_runtime169.JSX.Element;
40
40
  declare function ItemTitle({
41
41
  className,
42
42
  ...props
43
- }: React.ComponentProps<'div'>): react_jsx_runtime60.JSX.Element;
43
+ }: React.ComponentProps<'div'>): react_jsx_runtime169.JSX.Element;
44
44
  declare function ItemDescription({
45
45
  className,
46
46
  ...props
47
- }: React.ComponentProps<'p'>): react_jsx_runtime60.JSX.Element;
47
+ }: React.ComponentProps<'p'>): react_jsx_runtime169.JSX.Element;
48
48
  declare function ItemActions({
49
49
  className,
50
50
  ...props
51
- }: React.ComponentProps<'div'>): react_jsx_runtime60.JSX.Element;
51
+ }: React.ComponentProps<'div'>): react_jsx_runtime169.JSX.Element;
52
52
  declare function ItemHeader({
53
53
  className,
54
54
  ...props
55
- }: React.ComponentProps<'div'>): react_jsx_runtime60.JSX.Element;
55
+ }: React.ComponentProps<'div'>): react_jsx_runtime169.JSX.Element;
56
56
  declare function ItemFooter({
57
57
  className,
58
58
  ...props
59
- }: React.ComponentProps<'div'>): react_jsx_runtime60.JSX.Element;
59
+ }: React.ComponentProps<'div'>): react_jsx_runtime169.JSX.Element;
60
60
  //#endregion
61
61
  export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle };
62
62
  //# sourceMappingURL=item.d.cts.map
package/dist/ui/item.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { t as Separator } from "../separator-B7MG0WfW.js";
2
- import * as react_jsx_runtime144 from "react/jsx-runtime";
1
+ import { t as Separator } from "../separator-Q3X8kx0F.js";
2
+ import * as react_jsx_runtime184 from "react/jsx-runtime";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import * as class_variance_authority_types5 from "class-variance-authority/types";
5
5
 
@@ -7,11 +7,11 @@ import * as class_variance_authority_types5 from "class-variance-authority/types
7
7
  declare function ItemGroup({
8
8
  className,
9
9
  ...props
10
- }: React.ComponentProps<'div'>): react_jsx_runtime144.JSX.Element;
10
+ }: React.ComponentProps<'div'>): react_jsx_runtime184.JSX.Element;
11
11
  declare function ItemSeparator({
12
12
  className,
13
13
  ...props
14
- }: React.ComponentProps<typeof Separator>): react_jsx_runtime144.JSX.Element;
14
+ }: React.ComponentProps<typeof Separator>): react_jsx_runtime184.JSX.Element;
15
15
  declare const itemVariants: (props?: ({
16
16
  variant?: "muted" | "default" | "outline" | null | undefined;
17
17
  size?: "sm" | "default" | null | undefined;
@@ -24,39 +24,39 @@ declare function Item({
24
24
  ...props
25
25
  }: React.ComponentProps<'div'> & VariantProps<typeof itemVariants> & {
26
26
  asChild?: boolean;
27
- }): react_jsx_runtime144.JSX.Element;
27
+ }): react_jsx_runtime184.JSX.Element;
28
28
  declare const itemMediaVariants: (props?: ({
29
- variant?: "image" | "default" | "icon" | null | undefined;
29
+ variant?: "default" | "icon" | "image" | null | undefined;
30
30
  } & class_variance_authority_types5.ClassProp) | undefined) => string;
31
31
  declare function ItemMedia({
32
32
  className,
33
33
  variant,
34
34
  ...props
35
- }: React.ComponentProps<'div'> & VariantProps<typeof itemMediaVariants>): react_jsx_runtime144.JSX.Element;
35
+ }: React.ComponentProps<'div'> & VariantProps<typeof itemMediaVariants>): react_jsx_runtime184.JSX.Element;
36
36
  declare function ItemContent({
37
37
  className,
38
38
  ...props
39
- }: React.ComponentProps<'div'>): react_jsx_runtime144.JSX.Element;
39
+ }: React.ComponentProps<'div'>): react_jsx_runtime184.JSX.Element;
40
40
  declare function ItemTitle({
41
41
  className,
42
42
  ...props
43
- }: React.ComponentProps<'div'>): react_jsx_runtime144.JSX.Element;
43
+ }: React.ComponentProps<'div'>): react_jsx_runtime184.JSX.Element;
44
44
  declare function ItemDescription({
45
45
  className,
46
46
  ...props
47
- }: React.ComponentProps<'p'>): react_jsx_runtime144.JSX.Element;
47
+ }: React.ComponentProps<'p'>): react_jsx_runtime184.JSX.Element;
48
48
  declare function ItemActions({
49
49
  className,
50
50
  ...props
51
- }: React.ComponentProps<'div'>): react_jsx_runtime144.JSX.Element;
51
+ }: React.ComponentProps<'div'>): react_jsx_runtime184.JSX.Element;
52
52
  declare function ItemHeader({
53
53
  className,
54
54
  ...props
55
- }: React.ComponentProps<'div'>): react_jsx_runtime144.JSX.Element;
55
+ }: React.ComponentProps<'div'>): react_jsx_runtime184.JSX.Element;
56
56
  declare function ItemFooter({
57
57
  className,
58
58
  ...props
59
- }: React.ComponentProps<'div'>): react_jsx_runtime144.JSX.Element;
59
+ }: React.ComponentProps<'div'>): react_jsx_runtime184.JSX.Element;
60
60
  //#endregion
61
61
  export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle };
62
62
  //# sourceMappingURL=item.d.ts.map
@@ -1,2 +1,2 @@
1
- import { t as Label } from "../label-BVizk4r8.cjs";
1
+ import { t as Label } from "../label-BoPdZ_p1.cjs";
2
2
  export { Label };
@@ -1,2 +1,2 @@
1
- import { t as Label } from "../label-DUDKi2Z9.js";
1
+ import { t as Label } from "../label-C8yEQWaz.js";
2
2
  export { Label };