@fuf-stack/uniform 1.22.4 → 1.22.5

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 (241) hide show
  1. package/dist/Checkboxes/index.cjs +2 -1
  2. package/dist/Checkboxes/index.d.cts +2 -2
  3. package/dist/Checkboxes/index.d.ts +2 -2
  4. package/dist/Checkboxes/index.js +2 -2
  5. package/dist/{Checkboxes-DHk09GmH.cjs → Checkboxes-DrJqx6O2.cjs} +7 -1
  6. package/dist/{Checkboxes-DHk09GmH.cjs.map → Checkboxes-DrJqx6O2.cjs.map} +1 -1
  7. package/dist/{Checkboxes-D1hppxDE.js → Checkboxes-X6FRwI50.js} +2 -2
  8. package/dist/{Checkboxes-D1hppxDE.js.map → Checkboxes-X6FRwI50.js.map} +1 -1
  9. package/dist/DatePicker/index.cjs +2 -1
  10. package/dist/DatePicker/index.d.cts +2 -2
  11. package/dist/DatePicker/index.d.ts +2 -2
  12. package/dist/DatePicker/index.js +2 -2
  13. package/dist/{DatePicker-BUSi8SWQ.js → DatePicker-CGIWizz9.js} +2 -2
  14. package/dist/{DatePicker-BUSi8SWQ.js.map → DatePicker-CGIWizz9.js.map} +1 -1
  15. package/dist/{DatePicker-DuBjvS5g.cjs → DatePicker-CYUuwwsm.cjs} +7 -1
  16. package/dist/{DatePicker-DuBjvS5g.cjs.map → DatePicker-CYUuwwsm.cjs.map} +1 -1
  17. package/dist/FieldArray/index.cjs +2 -1
  18. package/dist/FieldArray/index.d.cts +2 -2
  19. package/dist/FieldArray/index.d.ts +2 -2
  20. package/dist/FieldArray/index.js +2 -2
  21. package/dist/{FieldArray-BxmK1NRd.js → FieldArray-Dkw6JBnT.js} +2 -2
  22. package/dist/{FieldArray-BxmK1NRd.js.map → FieldArray-Dkw6JBnT.js.map} +1 -1
  23. package/dist/{FieldArray-DgiQpIdr.cjs → FieldArray-V66fsvtd.cjs} +7 -1
  24. package/dist/{FieldArray-DgiQpIdr.cjs.map → FieldArray-V66fsvtd.cjs.map} +1 -1
  25. package/dist/FieldCard/index.cjs +6 -2
  26. package/dist/FieldCard/index.d.cts +2 -2
  27. package/dist/FieldCard/index.d.ts +2 -2
  28. package/dist/FieldCard/index.js +2 -2
  29. package/dist/{FieldCard-C-DZ5ARr.cjs → FieldCard-CAHnM8C0.cjs} +10 -1
  30. package/dist/FieldCard-CAHnM8C0.cjs.map +1 -0
  31. package/dist/{FieldCard-BK6SNqFY.js → FieldCard-Cg31ce9J.js} +5 -2
  32. package/dist/FieldCard-Cg31ce9J.js.map +1 -0
  33. package/dist/Input/index.d.cts +1 -1
  34. package/dist/Input/index.d.ts +1 -1
  35. package/dist/RadioBoxes/index.cjs +1 -1
  36. package/dist/RadioBoxes/index.d.cts +2 -2
  37. package/dist/RadioBoxes/index.d.ts +2 -2
  38. package/dist/RadioBoxes/index.js +1 -1
  39. package/dist/{RadioBoxes-CR--FBhQ.cjs → RadioBoxes-BmLrbYXt.cjs} +3 -3
  40. package/dist/RadioBoxes-BmLrbYXt.cjs.map +1 -0
  41. package/dist/{RadioBoxes-BJz-aJp3.js → RadioBoxes-DWxJBTKR.js} +3 -3
  42. package/dist/RadioBoxes-DWxJBTKR.js.map +1 -0
  43. package/dist/RadioTabs/index.cjs +2 -1
  44. package/dist/RadioTabs/index.d.cts +2 -2
  45. package/dist/RadioTabs/index.d.ts +2 -2
  46. package/dist/RadioTabs/index.js +2 -2
  47. package/dist/{RadioTabs-Btt582Nl.cjs → RadioTabs-14XTbTJU.cjs} +20 -14
  48. package/dist/RadioTabs-14XTbTJU.cjs.map +1 -0
  49. package/dist/{RadioTabs-CYmzrPBG.js → RadioTabs-DAY6MYJI.js} +15 -15
  50. package/dist/RadioTabs-DAY6MYJI.js.map +1 -0
  51. package/dist/Radios/index.cjs +2 -1
  52. package/dist/Radios/index.d.cts +2 -2
  53. package/dist/Radios/index.d.ts +2 -2
  54. package/dist/Radios/index.js +2 -2
  55. package/dist/{Radios-DZxhrX96.js → Radios-C938-msm.js} +2 -2
  56. package/dist/{Radios-DZxhrX96.js.map → Radios-C938-msm.js.map} +1 -1
  57. package/dist/{Radios-Jg9mwE0B.cjs → Radios-D_B9Y8s2.cjs} +7 -1
  58. package/dist/{Radios-Jg9mwE0B.cjs.map → Radios-D_B9Y8s2.cjs.map} +1 -1
  59. package/dist/Select/index.cjs +2 -1
  60. package/dist/Select/index.d.cts +2 -2
  61. package/dist/Select/index.d.ts +2 -2
  62. package/dist/Select/index.js +2 -2
  63. package/dist/{Select-CgeqhZIC.js → Select-BL6k_e-D.js} +2 -2
  64. package/dist/Select-BL6k_e-D.js.map +1 -0
  65. package/dist/{Select-CZwuEAB5.cjs → Select-D66A-hYm.cjs} +7 -1
  66. package/dist/Select-D66A-hYm.cjs.map +1 -0
  67. package/dist/Slider/index.cjs +2 -1
  68. package/dist/Slider/index.d.cts +2 -2
  69. package/dist/Slider/index.d.ts +2 -2
  70. package/dist/Slider/index.js +2 -2
  71. package/dist/{Slider-Bpxt-Qgj.cjs → Slider-ChC2PZNb.cjs} +7 -1
  72. package/dist/{Slider-Bpxt-Qgj.cjs.map → Slider-ChC2PZNb.cjs.map} +1 -1
  73. package/dist/{Slider-DRfSw0uE.js → Slider-DmEwhC1T.js} +2 -2
  74. package/dist/{Slider-DRfSw0uE.js.map → Slider-DmEwhC1T.js.map} +1 -1
  75. package/dist/Switch/index.cjs +2 -1
  76. package/dist/Switch/index.d.cts +2 -2
  77. package/dist/Switch/index.d.ts +2 -2
  78. package/dist/Switch/index.js +2 -2
  79. package/dist/{Switch-hjjy34QB.cjs → Switch-Ch6_VInV.cjs} +7 -1
  80. package/dist/{Switch-hjjy34QB.cjs.map → Switch-Ch6_VInV.cjs.map} +1 -1
  81. package/dist/{Switch-D9DNrqmj.js → Switch-DvKRPFcC.js} +2 -2
  82. package/dist/{Switch-D9DNrqmj.js.map → Switch-DvKRPFcC.js.map} +1 -1
  83. package/dist/SwitchBox/index.d.cts +1 -1
  84. package/dist/SwitchBox/index.d.ts +1 -1
  85. package/dist/SwitchBox-BU1XieaZ.js.map +1 -1
  86. package/dist/SwitchBox-Dl-F5y2m.cjs.map +1 -1
  87. package/dist/TextArea/index.d.cts +1 -1
  88. package/dist/TextArea/index.d.ts +1 -1
  89. package/dist/Time/index.cjs +7 -2
  90. package/dist/Time/index.d.cts +2 -2
  91. package/dist/Time/index.d.ts +2 -2
  92. package/dist/Time/index.js +2 -2
  93. package/dist/{Time-CDptQ3CK.js → Time-B_SXrKWK.js} +5 -2
  94. package/dist/Time-B_SXrKWK.js.map +1 -0
  95. package/dist/{Time-WKgbji5k.cjs → Time-CYoWaQsz.cjs} +16 -1
  96. package/dist/Time-CYoWaQsz.cjs.map +1 -0
  97. package/dist/hooks/useFormContext/index.d.cts +1 -1
  98. package/dist/hooks/useFormContext/index.d.ts +1 -1
  99. package/dist/hooks/useUniformField/index.d.cts +1 -1
  100. package/dist/hooks/useUniformField/index.d.ts +1 -1
  101. package/dist/hooks/useUniformFieldArray/index.d.cts +1 -1
  102. package/dist/hooks/useUniformFieldArray/index.d.ts +1 -1
  103. package/dist/index-19JGtN7H.d.cts +1257 -0
  104. package/dist/index-19JGtN7H.d.cts.map +1 -0
  105. package/dist/index-B4XExHDi.d.cts +539 -0
  106. package/dist/index-B4XExHDi.d.cts.map +1 -0
  107. package/dist/index-BUZEnZDm.d.ts +1760 -0
  108. package/dist/index-BUZEnZDm.d.ts.map +1 -0
  109. package/dist/index-Bbaubtxp.d.cts +677 -0
  110. package/dist/index-Bbaubtxp.d.cts.map +1 -0
  111. package/dist/index-BdgFJ-dj.d.ts +1028 -0
  112. package/dist/index-BdgFJ-dj.d.ts.map +1 -0
  113. package/dist/index-BiZNkLK3.d.cts +1477 -0
  114. package/dist/index-BiZNkLK3.d.cts.map +1 -0
  115. package/dist/index-Bie3CWyW.d.cts +1760 -0
  116. package/dist/index-Bie3CWyW.d.cts.map +1 -0
  117. package/dist/index-BsTqcI1C.d.cts +659 -0
  118. package/dist/index-BsTqcI1C.d.cts.map +1 -0
  119. package/dist/index-C6Y8KybK.d.ts +677 -0
  120. package/dist/index-C6Y8KybK.d.ts.map +1 -0
  121. package/dist/index-CD0Wpla3.d.cts +1413 -0
  122. package/dist/index-CD0Wpla3.d.cts.map +1 -0
  123. package/dist/index-CUByIf_d.d.ts +314 -0
  124. package/dist/index-CUByIf_d.d.ts.map +1 -0
  125. package/dist/index-Cf2B9woY.d.cts +473 -0
  126. package/dist/index-Cf2B9woY.d.cts.map +1 -0
  127. package/dist/index-CqXEYILn.d.cts +1263 -0
  128. package/dist/index-CqXEYILn.d.cts.map +1 -0
  129. package/dist/index-D1cB3mbB.d.ts +3917 -0
  130. package/dist/index-D1cB3mbB.d.ts.map +1 -0
  131. package/dist/index-D7AUghFx.d.ts +1413 -0
  132. package/dist/index-D7AUghFx.d.ts.map +1 -0
  133. package/dist/index-DCwffq1f.d.ts +1263 -0
  134. package/dist/index-DCwffq1f.d.ts.map +1 -0
  135. package/dist/index-DFbuWomg.d.ts +534 -0
  136. package/dist/index-DFbuWomg.d.ts.map +1 -0
  137. package/dist/index-DXOBPBft.d.ts +659 -0
  138. package/dist/index-DXOBPBft.d.ts.map +1 -0
  139. package/dist/index-DY-d4cFe.d.cts +1028 -0
  140. package/dist/index-DY-d4cFe.d.cts.map +1 -0
  141. package/dist/index-DqMpHpu7.d.ts +1257 -0
  142. package/dist/index-DqMpHpu7.d.ts.map +1 -0
  143. package/dist/index-DwnqyNnX.d.cts +534 -0
  144. package/dist/index-DwnqyNnX.d.cts.map +1 -0
  145. package/dist/index-OdNTqjhQ.d.ts +585 -0
  146. package/dist/index-OdNTqjhQ.d.ts.map +1 -0
  147. package/dist/index-QPDvw5Z5.d.cts +585 -0
  148. package/dist/index-QPDvw5Z5.d.cts.map +1 -0
  149. package/dist/index-amMd-sQN.d.ts +473 -0
  150. package/dist/index-amMd-sQN.d.ts.map +1 -0
  151. package/dist/index-clztdahp.d.ts +1477 -0
  152. package/dist/index-clztdahp.d.ts.map +1 -0
  153. package/dist/index-jK092-MJ.d.cts +314 -0
  154. package/dist/index-jK092-MJ.d.cts.map +1 -0
  155. package/dist/index-veBM95Gw.d.cts +3917 -0
  156. package/dist/index-veBM95Gw.d.cts.map +1 -0
  157. package/dist/index-yYjVSHlN.d.ts +539 -0
  158. package/dist/index-yYjVSHlN.d.ts.map +1 -0
  159. package/dist/index.cjs +20 -11
  160. package/dist/index.d.cts +18 -18
  161. package/dist/index.d.ts +18 -18
  162. package/dist/index.js +12 -12
  163. package/dist/{useFormContext-CpLVpNAf.d.ts → useFormContext-Bj1gXLt_.d.ts} +3 -3
  164. package/dist/{useFormContext-CpLVpNAf.d.ts.map → useFormContext-Bj1gXLt_.d.ts.map} +1 -1
  165. package/dist/{useFormContext-Ddc1HWKv.d.cts → useFormContext-M94eQfHm.d.cts} +3 -3
  166. package/dist/{useFormContext-Ddc1HWKv.d.cts.map → useFormContext-M94eQfHm.d.cts.map} +1 -1
  167. package/dist/{useUniformField-CmAYcGER.d.cts → useUniformField-BE-e3C4Y.d.cts} +2 -2
  168. package/dist/{useUniformField-CmAYcGER.d.cts.map → useUniformField-BE-e3C4Y.d.cts.map} +1 -1
  169. package/dist/{useUniformField-DJDpQzRo.d.ts → useUniformField-DUW-svZD.d.ts} +2 -2
  170. package/dist/{useUniformField-DJDpQzRo.d.ts.map → useUniformField-DUW-svZD.d.ts.map} +1 -1
  171. package/dist/{useUniformFieldArray-zGcIhwhF.d.ts → useUniformFieldArray-CdWv1SEk.d.ts} +2 -2
  172. package/dist/{useUniformFieldArray-zGcIhwhF.d.ts.map → useUniformFieldArray-CdWv1SEk.d.ts.map} +1 -1
  173. package/dist/{useUniformFieldArray-D3fdzwzD.d.cts → useUniformFieldArray-kkOHxNFF.d.cts} +2 -2
  174. package/dist/{useUniformFieldArray-D3fdzwzD.d.cts.map → useUniformFieldArray-kkOHxNFF.d.cts.map} +1 -1
  175. package/package.json +6 -6
  176. package/dist/FieldCard-BK6SNqFY.js.map +0 -1
  177. package/dist/FieldCard-C-DZ5ARr.cjs.map +0 -1
  178. package/dist/RadioBoxes-BJz-aJp3.js.map +0 -1
  179. package/dist/RadioBoxes-CR--FBhQ.cjs.map +0 -1
  180. package/dist/RadioTabs-Btt582Nl.cjs.map +0 -1
  181. package/dist/RadioTabs-CYmzrPBG.js.map +0 -1
  182. package/dist/Select-CZwuEAB5.cjs.map +0 -1
  183. package/dist/Select-CgeqhZIC.js.map +0 -1
  184. package/dist/Time-CDptQ3CK.js.map +0 -1
  185. package/dist/Time-WKgbji5k.cjs.map +0 -1
  186. package/dist/index-7UT2Ki5e.d.cts +0 -113
  187. package/dist/index-7UT2Ki5e.d.cts.map +0 -1
  188. package/dist/index-9_3XTDJC.d.cts +0 -174
  189. package/dist/index-9_3XTDJC.d.cts.map +0 -1
  190. package/dist/index-B5SfdA5O.d.cts +0 -99
  191. package/dist/index-B5SfdA5O.d.cts.map +0 -1
  192. package/dist/index-B61zRzeS.d.cts +0 -101
  193. package/dist/index-B61zRzeS.d.cts.map +0 -1
  194. package/dist/index-B7gQppgQ.d.ts +0 -116
  195. package/dist/index-B7gQppgQ.d.ts.map +0 -1
  196. package/dist/index-BDFJDKmz.d.ts +0 -166
  197. package/dist/index-BDFJDKmz.d.ts.map +0 -1
  198. package/dist/index-BPaSE_7b.d.ts +0 -179
  199. package/dist/index-BPaSE_7b.d.ts.map +0 -1
  200. package/dist/index-BSjcTo7A.d.ts +0 -147
  201. package/dist/index-BSjcTo7A.d.ts.map +0 -1
  202. package/dist/index-BmMspnsJ.d.cts +0 -137
  203. package/dist/index-BmMspnsJ.d.cts.map +0 -1
  204. package/dist/index-Bzs7_gnk.d.cts +0 -116
  205. package/dist/index-Bzs7_gnk.d.cts.map +0 -1
  206. package/dist/index-C4GJH8Xv.d.ts +0 -290
  207. package/dist/index-C4GJH8Xv.d.ts.map +0 -1
  208. package/dist/index-CE8fnXuQ.d.ts +0 -167
  209. package/dist/index-CE8fnXuQ.d.ts.map +0 -1
  210. package/dist/index-CIiOXrrY.d.ts +0 -99
  211. package/dist/index-CIiOXrrY.d.ts.map +0 -1
  212. package/dist/index-C_zjtsGM.d.ts +0 -113
  213. package/dist/index-C_zjtsGM.d.ts.map +0 -1
  214. package/dist/index-CbPJiRK2.d.ts +0 -83
  215. package/dist/index-CbPJiRK2.d.ts.map +0 -1
  216. package/dist/index-CvP3tbVV.d.ts +0 -137
  217. package/dist/index-CvP3tbVV.d.ts.map +0 -1
  218. package/dist/index-Cwb7sTO0.d.ts +0 -154
  219. package/dist/index-Cwb7sTO0.d.ts.map +0 -1
  220. package/dist/index-CxY9VWv5.d.cts +0 -154
  221. package/dist/index-CxY9VWv5.d.cts.map +0 -1
  222. package/dist/index-D8udSkgA.d.cts +0 -167
  223. package/dist/index-D8udSkgA.d.cts.map +0 -1
  224. package/dist/index-DBsF7xsq.d.cts +0 -147
  225. package/dist/index-DBsF7xsq.d.cts.map +0 -1
  226. package/dist/index-DNADTCoc.d.cts +0 -290
  227. package/dist/index-DNADTCoc.d.cts.map +0 -1
  228. package/dist/index-DRg0anjB.d.cts +0 -179
  229. package/dist/index-DRg0anjB.d.cts.map +0 -1
  230. package/dist/index-DUmNI6cE.d.cts +0 -83
  231. package/dist/index-DUmNI6cE.d.cts.map +0 -1
  232. package/dist/index-Db0WD4d1.d.cts +0 -166
  233. package/dist/index-Db0WD4d1.d.cts.map +0 -1
  234. package/dist/index-GxTY7aAc.d.ts +0 -174
  235. package/dist/index-GxTY7aAc.d.ts.map +0 -1
  236. package/dist/index-PMCqBX0t.d.ts +0 -101
  237. package/dist/index-PMCqBX0t.d.ts.map +0 -1
  238. package/dist/index-QgVr4iWX.d.cts +0 -122
  239. package/dist/index-QgVr4iWX.d.cts.map +0 -1
  240. package/dist/index-dgho7gpc.d.ts +0 -122
  241. package/dist/index-dgho7gpc.d.ts.map +0 -1
@@ -1,101 +0,0 @@
1
- import { t as InputValueTransform } from "./useInputValueTransform-dLfFIYW4.js";
2
- import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
3
- import { ReactNode } from "react";
4
-
5
- //#region src/Input/Input.d.ts
6
- declare const inputVariants: import("tailwind-variants").TVReturnType<{
7
- [key: string]: {
8
- [key: string]: import("tailwind-merge").ClassNameValue | {
9
- base?: import("tailwind-merge").ClassNameValue;
10
- input?: import("tailwind-merge").ClassNameValue;
11
- inputWrapper?: import("tailwind-merge").ClassNameValue;
12
- clearButton?: import("tailwind-merge").ClassNameValue;
13
- };
14
- };
15
- } | {
16
- [x: string]: {
17
- [x: string]: import("tailwind-merge").ClassNameValue | {
18
- base?: import("tailwind-merge").ClassNameValue;
19
- input?: import("tailwind-merge").ClassNameValue;
20
- inputWrapper?: import("tailwind-merge").ClassNameValue;
21
- clearButton?: import("tailwind-merge").ClassNameValue;
22
- };
23
- };
24
- } | {}, {
25
- /** wrapper around the whole input */base: string; /** clear button */
26
- clearButton: string; /** actual input element */
27
- input: string; /** inner wrapper (HeroUI inputWrapper slot) */
28
- inputWrapper: string;
29
- }, undefined, {
30
- [key: string]: {
31
- [key: string]: import("tailwind-merge").ClassNameValue | {
32
- base?: import("tailwind-merge").ClassNameValue;
33
- input?: import("tailwind-merge").ClassNameValue;
34
- inputWrapper?: import("tailwind-merge").ClassNameValue;
35
- clearButton?: import("tailwind-merge").ClassNameValue;
36
- };
37
- };
38
- } | {}, {
39
- /** wrapper around the whole input */base: string; /** clear button */
40
- clearButton: string; /** actual input element */
41
- input: string; /** inner wrapper (HeroUI inputWrapper slot) */
42
- inputWrapper: string;
43
- }, import("tailwind-variants").TVReturnType<unknown, {
44
- /** wrapper around the whole input */base: string; /** clear button */
45
- clearButton: string; /** actual input element */
46
- input: string; /** inner wrapper (HeroUI inputWrapper slot) */
47
- inputWrapper: string;
48
- }, undefined, unknown, unknown, undefined>>;
49
- type VariantProps = TVProps<typeof inputVariants>;
50
- type ClassName = TVClassName<typeof inputVariants>;
51
- interface InputProps extends VariantProps {
52
- /** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
53
- ariaLabel?: string;
54
- /** CSS class name */
55
- className?: ClassName;
56
- /** shows clear button when input has value */
57
- clearable?: boolean;
58
- /** debounce delay in milliseconds for form state updates (default: 300ms) */
59
- debounceDelay?: number;
60
- /** input field is disabled */
61
- disabled?: boolean;
62
- /** added content to the end of the input Field. */
63
- endContent?: ReactNode;
64
- /** form field label */
65
- label?: ReactNode;
66
- /** form field name */
67
- name: string;
68
- /** callback that is fired when the value is cleared */
69
- onClear?: () => void;
70
- /** form field placeholder */
71
- placeholder?: string;
72
- /** size of the input */
73
- size?: 'sm' | 'md' | 'lg';
74
- /** content added to the start of the input field */
75
- startContent?: ReactNode;
76
- /** HTML data-testid attribute used in e2e tests */
77
- testId?: string;
78
- /** allows disentangled display and form values for a field */
79
- transform?: InputValueTransform<string>;
80
- /** input type */
81
- type?: 'number' | 'password';
82
- }
83
- /**
84
- * Input component based on [HeroUI Input](https://www.heroui.com//docs/components/input)
85
- */
86
- declare const Input: ({
87
- className: _className,
88
- clearable,
89
- debounceDelay,
90
- endContent,
91
- name,
92
- onClear,
93
- placeholder,
94
- size,
95
- startContent,
96
- type,
97
- ...uniformFieldProps
98
- }: InputProps) => import("react/jsx-runtime").JSX.Element;
99
- //#endregion
100
- export { InputProps as n, Input as t };
101
- //# sourceMappingURL=index-PMCqBX0t.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-PMCqBX0t.d.ts","names":[],"sources":["../src/Input/Input.tsx"],"mappings":";;;;;cAca,aAAA,8BAAa,YAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAarB,YAAA,GAAe,OAAO,QAAQ,aAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,aAAA;AAAA,UAEnB,UAAA,SAAmB,YAAA;EAHhB;EAKlB,SAAA;EAJG;EAMH,SAAA,GAAY,SAAA;;EAEZ,SAAA;EAR+C;EAU/C,aAAA;EAR0B;EAU1B,QAAA;EANY;EAQZ,UAAA,GAAa,SAAA;EAEL;EAAR,KAAA,GAAQ,SAAA;EAcI;EAZZ,IAAA;EAhB8C;EAkB9C,OAAA;EAlBkC;EAoBlC,WAAA;EAhBA;EAkBA,IAAA;EAhBA;EAkBA,YAAA,GAAe,SAAA;EAdf;EAgBA,MAAA;EAda;EAgBb,SAAA,GAAY,mBAAA;EAdJ;EAgBR,IAAA;AAAA;;;;cAMI,KAAA;EAAS,SAAA,EAAA,UAAA;EAAA,SAAA;EAAA,aAAA;EAAA,UAAA;EAAA,IAAA;EAAA,OAAA;EAAA,WAAA;EAAA,IAAA;EAAA,YAAA;EAAA,IAAA;EAAA,GAAA;AAAA,GAYZ,UAAA,iCAAU,GAAA,CAAA,OAAA"}
@@ -1,122 +0,0 @@
1
- import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
2
- import { ReactElement, ReactNode } from "react";
3
-
4
- //#region src/Radios/Radios.d.ts
5
- declare const radiosVariants: import("tailwind-variants").TVReturnType<{
6
- [key: string]: {
7
- [key: string]: import("tailwind-merge").ClassNameValue | {
8
- base?: import("tailwind-merge").ClassNameValue;
9
- label?: import("tailwind-merge").ClassNameValue;
10
- wrapper?: import("tailwind-merge").ClassNameValue;
11
- itemBase?: import("tailwind-merge").ClassNameValue;
12
- itemControl?: import("tailwind-merge").ClassNameValue;
13
- itemDescription?: import("tailwind-merge").ClassNameValue;
14
- itemLabel?: import("tailwind-merge").ClassNameValue;
15
- itemLabelWrapper?: import("tailwind-merge").ClassNameValue;
16
- itemWrapper?: import("tailwind-merge").ClassNameValue;
17
- };
18
- };
19
- } | {
20
- [x: string]: {
21
- [x: string]: import("tailwind-merge").ClassNameValue | {
22
- base?: import("tailwind-merge").ClassNameValue;
23
- label?: import("tailwind-merge").ClassNameValue;
24
- wrapper?: import("tailwind-merge").ClassNameValue;
25
- itemBase?: import("tailwind-merge").ClassNameValue;
26
- itemControl?: import("tailwind-merge").ClassNameValue;
27
- itemDescription?: import("tailwind-merge").ClassNameValue;
28
- itemLabel?: import("tailwind-merge").ClassNameValue;
29
- itemLabelWrapper?: import("tailwind-merge").ClassNameValue;
30
- itemWrapper?: import("tailwind-merge").ClassNameValue;
31
- };
32
- };
33
- } | {}, {
34
- base: string;
35
- itemBase: string;
36
- itemControl: string;
37
- itemDescription: string;
38
- itemLabel: string;
39
- itemLabelWrapper: string;
40
- itemWrapper: string;
41
- label: string;
42
- wrapper: string;
43
- }, undefined, {
44
- [key: string]: {
45
- [key: string]: import("tailwind-merge").ClassNameValue | {
46
- base?: import("tailwind-merge").ClassNameValue;
47
- label?: import("tailwind-merge").ClassNameValue;
48
- wrapper?: import("tailwind-merge").ClassNameValue;
49
- itemBase?: import("tailwind-merge").ClassNameValue;
50
- itemControl?: import("tailwind-merge").ClassNameValue;
51
- itemDescription?: import("tailwind-merge").ClassNameValue;
52
- itemLabel?: import("tailwind-merge").ClassNameValue;
53
- itemLabelWrapper?: import("tailwind-merge").ClassNameValue;
54
- itemWrapper?: import("tailwind-merge").ClassNameValue;
55
- };
56
- };
57
- } | {}, {
58
- base: string;
59
- itemBase: string;
60
- itemControl: string;
61
- itemDescription: string;
62
- itemLabel: string;
63
- itemLabelWrapper: string;
64
- itemWrapper: string;
65
- label: string;
66
- wrapper: string;
67
- }, import("tailwind-variants").TVReturnType<unknown, {
68
- base: string;
69
- itemBase: string;
70
- itemControl: string;
71
- itemDescription: string;
72
- itemLabel: string;
73
- itemLabelWrapper: string;
74
- itemWrapper: string;
75
- label: string;
76
- wrapper: string;
77
- }, undefined, unknown, unknown, undefined>>;
78
- type VariantProps = TVProps<typeof radiosVariants>;
79
- type ClassName = TVClassName<typeof radiosVariants>;
80
- interface RadioOption {
81
- /** disables the option */
82
- disabled?: boolean;
83
- /** option label */
84
- label?: ReactNode;
85
- /** option icon */
86
- icon?: ReactNode;
87
- /** HTML data-testid attribute of the option */
88
- testId?: string;
89
- /** option value */
90
- value: string | number;
91
- }
92
- interface RadiosProps extends VariantProps {
93
- /** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
94
- ariaLabel?: string;
95
- /** CSS class name */
96
- className?: ClassName;
97
- /** Determines if the Buttons are disabled or not. */
98
- disabled?: boolean;
99
- /** determines orientation of the Buttons. */
100
- inline?: boolean;
101
- /** Label displayed next to the RadioButton. */
102
- label?: ReactNode;
103
- /** Name the RadioButtons are registered at in HTML forms (react-hook-form). */
104
- name: string;
105
- /** Radio button configuration. */
106
- options: RadioOption[];
107
- /** Id to grab element in internal tests. */
108
- testId?: string;
109
- }
110
- /**
111
- * Radios component based on [HeroUI RadioGroup](https://www.heroui.com//docs/components/radio-group)
112
- */
113
- declare const Radios: ({
114
- className,
115
- inline,
116
- name,
117
- options,
118
- ...uniformFieldProps
119
- }: RadiosProps) => ReactElement;
120
- //#endregion
121
- export { RadiosProps as n, Radios as t };
122
- //# sourceMappingURL=index-QgVr4iWX.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-QgVr4iWX.d.cts","names":[],"sources":["../src/Radios/Radios.tsx"],"mappings":";;;;cAaa,cAAA,8BAAc,YAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkBtB,YAAA,GAAe,OAAO,QAAQ,cAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,cAAA;AAAA,UAEnB,WAAA;;EAEf,QAAA;;EAEA,KAAA,GAAQ,SAAA;;EAER,IAAA,GAAO,SAAS;;EAEhB,MAAA;;EAEA,KAAA;AAAA;AAAA,UAGe,WAAA,SAAoB,YAAA;;EAEnC,SAAA;;EAEA,SAAA,GAAY,SAAA;;EAEZ,QAAA;;EAEA,MAAA;;EAEA,KAAA,GAAQ,SAAA;;EAER,IAAA;EA5BG;EA8BH,OAAA,EAAS,WAAA;;EAET,MAAA;AAAA;AAhC+C;;;AAAA,cAsC3C,MAAA;EAAU,SAAA;EAAA,MAAA;EAAA,IAAA;EAAA,OAAA;EAAA,GAAA;AAAA,GAMb,WAAA,KAAc,YAAA"}
@@ -1,122 +0,0 @@
1
- import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
2
- import { ReactElement, ReactNode } from "react";
3
-
4
- //#region src/Radios/Radios.d.ts
5
- declare const radiosVariants: import("tailwind-variants").TVReturnType<{
6
- [key: string]: {
7
- [key: string]: import("tailwind-merge").ClassNameValue | {
8
- base?: import("tailwind-merge").ClassNameValue;
9
- label?: import("tailwind-merge").ClassNameValue;
10
- wrapper?: import("tailwind-merge").ClassNameValue;
11
- itemBase?: import("tailwind-merge").ClassNameValue;
12
- itemControl?: import("tailwind-merge").ClassNameValue;
13
- itemDescription?: import("tailwind-merge").ClassNameValue;
14
- itemLabel?: import("tailwind-merge").ClassNameValue;
15
- itemLabelWrapper?: import("tailwind-merge").ClassNameValue;
16
- itemWrapper?: import("tailwind-merge").ClassNameValue;
17
- };
18
- };
19
- } | {
20
- [x: string]: {
21
- [x: string]: import("tailwind-merge").ClassNameValue | {
22
- base?: import("tailwind-merge").ClassNameValue;
23
- label?: import("tailwind-merge").ClassNameValue;
24
- wrapper?: import("tailwind-merge").ClassNameValue;
25
- itemBase?: import("tailwind-merge").ClassNameValue;
26
- itemControl?: import("tailwind-merge").ClassNameValue;
27
- itemDescription?: import("tailwind-merge").ClassNameValue;
28
- itemLabel?: import("tailwind-merge").ClassNameValue;
29
- itemLabelWrapper?: import("tailwind-merge").ClassNameValue;
30
- itemWrapper?: import("tailwind-merge").ClassNameValue;
31
- };
32
- };
33
- } | {}, {
34
- base: string;
35
- itemBase: string;
36
- itemControl: string;
37
- itemDescription: string;
38
- itemLabel: string;
39
- itemLabelWrapper: string;
40
- itemWrapper: string;
41
- label: string;
42
- wrapper: string;
43
- }, undefined, {
44
- [key: string]: {
45
- [key: string]: import("tailwind-merge").ClassNameValue | {
46
- base?: import("tailwind-merge").ClassNameValue;
47
- label?: import("tailwind-merge").ClassNameValue;
48
- wrapper?: import("tailwind-merge").ClassNameValue;
49
- itemBase?: import("tailwind-merge").ClassNameValue;
50
- itemControl?: import("tailwind-merge").ClassNameValue;
51
- itemDescription?: import("tailwind-merge").ClassNameValue;
52
- itemLabel?: import("tailwind-merge").ClassNameValue;
53
- itemLabelWrapper?: import("tailwind-merge").ClassNameValue;
54
- itemWrapper?: import("tailwind-merge").ClassNameValue;
55
- };
56
- };
57
- } | {}, {
58
- base: string;
59
- itemBase: string;
60
- itemControl: string;
61
- itemDescription: string;
62
- itemLabel: string;
63
- itemLabelWrapper: string;
64
- itemWrapper: string;
65
- label: string;
66
- wrapper: string;
67
- }, import("tailwind-variants").TVReturnType<unknown, {
68
- base: string;
69
- itemBase: string;
70
- itemControl: string;
71
- itemDescription: string;
72
- itemLabel: string;
73
- itemLabelWrapper: string;
74
- itemWrapper: string;
75
- label: string;
76
- wrapper: string;
77
- }, undefined, unknown, unknown, undefined>>;
78
- type VariantProps = TVProps<typeof radiosVariants>;
79
- type ClassName = TVClassName<typeof radiosVariants>;
80
- interface RadioOption {
81
- /** disables the option */
82
- disabled?: boolean;
83
- /** option label */
84
- label?: ReactNode;
85
- /** option icon */
86
- icon?: ReactNode;
87
- /** HTML data-testid attribute of the option */
88
- testId?: string;
89
- /** option value */
90
- value: string | number;
91
- }
92
- interface RadiosProps extends VariantProps {
93
- /** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
94
- ariaLabel?: string;
95
- /** CSS class name */
96
- className?: ClassName;
97
- /** Determines if the Buttons are disabled or not. */
98
- disabled?: boolean;
99
- /** determines orientation of the Buttons. */
100
- inline?: boolean;
101
- /** Label displayed next to the RadioButton. */
102
- label?: ReactNode;
103
- /** Name the RadioButtons are registered at in HTML forms (react-hook-form). */
104
- name: string;
105
- /** Radio button configuration. */
106
- options: RadioOption[];
107
- /** Id to grab element in internal tests. */
108
- testId?: string;
109
- }
110
- /**
111
- * Radios component based on [HeroUI RadioGroup](https://www.heroui.com//docs/components/radio-group)
112
- */
113
- declare const Radios: ({
114
- className,
115
- inline,
116
- name,
117
- options,
118
- ...uniformFieldProps
119
- }: RadiosProps) => ReactElement;
120
- //#endregion
121
- export { RadiosProps as n, Radios as t };
122
- //# sourceMappingURL=index-dgho7gpc.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-dgho7gpc.d.ts","names":[],"sources":["../src/Radios/Radios.tsx"],"mappings":";;;;cAaa,cAAA,8BAAc,YAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkBtB,YAAA,GAAe,OAAO,QAAQ,cAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,cAAA;AAAA,UAEnB,WAAA;;EAEf,QAAA;;EAEA,KAAA,GAAQ,SAAA;;EAER,IAAA,GAAO,SAAS;;EAEhB,MAAA;;EAEA,KAAA;AAAA;AAAA,UAGe,WAAA,SAAoB,YAAA;;EAEnC,SAAA;;EAEA,SAAA,GAAY,SAAA;;EAEZ,QAAA;;EAEA,MAAA;;EAEA,KAAA,GAAQ,SAAA;;EAER,IAAA;EA5BG;EA8BH,OAAA,EAAS,WAAA;;EAET,MAAA;AAAA;AAhC+C;;;AAAA,cAsC3C,MAAA;EAAU,SAAA;EAAA,MAAA;EAAA,IAAA;EAAA,OAAA;EAAA,GAAA;AAAA,GAMb,WAAA,KAAc,YAAA"}