@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,99 +0,0 @@
1
- import { TVClassName } from "@fuf-stack/pixel-utils";
2
- import { ReactNode } from "react";
3
-
4
- //#region src/FieldCard/FieldCard.d.ts
5
- declare const fieldCardVariants: import("tailwind-variants").TVReturnType<{
6
- invalid: {
7
- true: {
8
- base: string;
9
- label: string;
10
- errorFooter: string;
11
- errorText: string;
12
- };
13
- false: {
14
- base: string;
15
- label: string;
16
- errorFooter: string;
17
- errorText: string;
18
- };
19
- };
20
- }, {
21
- /** base class for the field card wrapper */base: string[]; /** class for the label/header */
22
- label: string[]; /** class for the content */
23
- content: string[]; /** class for the error footer wrapper */
24
- errorFooter: string[]; /** class for the error text (empty base, color controlled by variant) */
25
- errorText: never[];
26
- }, undefined, {
27
- invalid: {
28
- true: {
29
- base: string;
30
- label: string;
31
- errorFooter: string;
32
- errorText: string;
33
- };
34
- false: {
35
- base: string;
36
- label: string;
37
- errorFooter: string;
38
- errorText: string;
39
- };
40
- };
41
- }, {
42
- /** base class for the field card wrapper */base: string[]; /** class for the label/header */
43
- label: string[]; /** class for the content */
44
- content: string[]; /** class for the error footer wrapper */
45
- errorFooter: string[]; /** class for the error text (empty base, color controlled by variant) */
46
- errorText: never[];
47
- }, import("tailwind-variants").TVReturnType<{
48
- invalid: {
49
- true: {
50
- base: string;
51
- label: string;
52
- errorFooter: string;
53
- errorText: string;
54
- };
55
- false: {
56
- base: string;
57
- label: string;
58
- errorFooter: string;
59
- errorText: string;
60
- };
61
- };
62
- }, {
63
- /** base class for the field card wrapper */base: string[]; /** class for the label/header */
64
- label: string[]; /** class for the content */
65
- content: string[]; /** class for the error footer wrapper */
66
- errorFooter: string[]; /** class for the error text (empty base, color controlled by variant) */
67
- errorText: never[];
68
- }, undefined, unknown, unknown, undefined>>;
69
- type ClassName = TVClassName<typeof fieldCardVariants>;
70
- interface FieldCardProps {
71
- /** Content to render inside the card */
72
- children: ReactNode;
73
- /** CSS class name */
74
- className?: ClassName;
75
- /** Label content for the card header */
76
- label: ReactNode;
77
- /** Field name for validation */
78
- name: string;
79
- /** HTML data-testid attribute used in e2e tests */
80
- testId?: string;
81
- }
82
- /**
83
- * FieldCard component - A card-styled container with label header and error footer
84
- *
85
- * Displays form field content in a card layout with:
86
- * - Label/title in the header
87
- * - Content in the body
88
- * - Validation errors in the footer
89
- * - Danger outline when validation errors exist
90
- */
91
- declare const FieldCard: ({
92
- children,
93
- className: _className,
94
- name,
95
- ...uniformFieldProps
96
- }: FieldCardProps) => import("react/jsx-runtime").JSX.Element;
97
- //#endregion
98
- export { FieldCardProps as n, fieldCardVariants as r, FieldCard as t };
99
- //# sourceMappingURL=index-B5SfdA5O.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-B5SfdA5O.d.cts","names":[],"sources":["../src/FieldCard/FieldCard.tsx"],"mappings":";;;;cAsHa,iBAAA,8BAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8DA2DhB;mBAAG;qBAEA;;;;;;;;;;;;;;;;;;;8DAsBE;mBAKhB;qBAAc;yBALE;;;KAxBd,SAAA,GAAY,WAAW,QAAQ,iBAAA;AAAA,UAEnB,cAAA;EAsBE;EApBjB,QAAA,EAAU,SAAA;EAyBK;EAvBf,SAAA,GAAY,SAAA;EAkJb;EAhJC,KAAA,EAAO,SAAA;;EAEP,IAAA;;EAEA,MAAA;AAAA;;;;;;;;;;cAYI,SAAA;EAAa,QAAA;EAAA,SAAA,EAAA,UAAA;EAAA,IAAA;EAAA,GAAA;AAAA,GAKhB,cAAA,iCAAc,GAAA,CAAA,OAAA"}
@@ -1,101 +0,0 @@
1
- import { t as InputValueTransform } from "./useInputValueTransform-CNCBU7a9.cjs";
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-B61zRzeS.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-B61zRzeS.d.cts","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,116 +0,0 @@
1
- import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
2
- import { ReactNode } from "react";
3
- import { SwitchProps } from "@heroui/switch";
4
-
5
- //#region src/Switch/Switch.d.ts
6
- declare const switchVariants: import("tailwind-variants").TVReturnType<{
7
- [key: string]: {
8
- [key: string]: import("tailwind-merge").ClassNameValue | {
9
- base?: import("tailwind-merge").ClassNameValue;
10
- label?: import("tailwind-merge").ClassNameValue;
11
- errorMessage?: import("tailwind-merge").ClassNameValue;
12
- endContent?: import("tailwind-merge").ClassNameValue;
13
- outerWrapper?: import("tailwind-merge").ClassNameValue;
14
- startContent?: import("tailwind-merge").ClassNameValue;
15
- thumb?: import("tailwind-merge").ClassNameValue;
16
- thumbIcon?: import("tailwind-merge").ClassNameValue;
17
- wrapper?: import("tailwind-merge").ClassNameValue;
18
- };
19
- };
20
- } | {
21
- [x: string]: {
22
- [x: string]: import("tailwind-merge").ClassNameValue | {
23
- base?: import("tailwind-merge").ClassNameValue;
24
- label?: import("tailwind-merge").ClassNameValue;
25
- errorMessage?: import("tailwind-merge").ClassNameValue;
26
- endContent?: import("tailwind-merge").ClassNameValue;
27
- outerWrapper?: import("tailwind-merge").ClassNameValue;
28
- startContent?: import("tailwind-merge").ClassNameValue;
29
- thumb?: import("tailwind-merge").ClassNameValue;
30
- thumbIcon?: import("tailwind-merge").ClassNameValue;
31
- wrapper?: import("tailwind-merge").ClassNameValue;
32
- };
33
- };
34
- } | {}, {
35
- base: string;
36
- endContent: string;
37
- errorMessage: string;
38
- label: string;
39
- outerWrapper: string;
40
- startContent: string;
41
- thumb: string;
42
- thumbIcon: string;
43
- wrapper: string;
44
- }, undefined, {
45
- [key: string]: {
46
- [key: string]: import("tailwind-merge").ClassNameValue | {
47
- base?: import("tailwind-merge").ClassNameValue;
48
- label?: import("tailwind-merge").ClassNameValue;
49
- errorMessage?: import("tailwind-merge").ClassNameValue;
50
- endContent?: import("tailwind-merge").ClassNameValue;
51
- outerWrapper?: import("tailwind-merge").ClassNameValue;
52
- startContent?: import("tailwind-merge").ClassNameValue;
53
- thumb?: import("tailwind-merge").ClassNameValue;
54
- thumbIcon?: import("tailwind-merge").ClassNameValue;
55
- wrapper?: import("tailwind-merge").ClassNameValue;
56
- };
57
- };
58
- } | {}, {
59
- base: string;
60
- endContent: string;
61
- errorMessage: string;
62
- label: string;
63
- outerWrapper: string;
64
- startContent: string;
65
- thumb: string;
66
- thumbIcon: string;
67
- wrapper: string;
68
- }, import("tailwind-variants").TVReturnType<unknown, {
69
- base: string;
70
- endContent: string;
71
- errorMessage: string;
72
- label: string;
73
- outerWrapper: string;
74
- startContent: string;
75
- thumb: string;
76
- thumbIcon: string;
77
- wrapper: string;
78
- }, undefined, unknown, unknown, undefined>>;
79
- type VariantProps = TVProps<typeof switchVariants>;
80
- type ClassName = TVClassName<typeof switchVariants>;
81
- interface SwitchProps$1 extends VariantProps {
82
- /** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
83
- ariaLabel?: string;
84
- /** CSS class name */
85
- className?: ClassName;
86
- /** whether the select should be disabled */
87
- disabled?: boolean;
88
- /** Icon to be displayed at the end of the switch (when enabled) */
89
- endContent?: ReactNode;
90
- /** component displayed next to the switch */
91
- label?: ReactNode;
92
- /** name the field is registered under */
93
- name: string;
94
- size?: 'sm' | 'md' | 'lg';
95
- /** Icon to be displayed at the start of the switch (when disabled) */
96
- startContent?: ReactNode;
97
- /** HTML data-testid attribute used in e2e tests */
98
- testId?: string;
99
- /** Icon to be displayed inside the thumb */
100
- thumbIcon?: SwitchProps['thumbIcon'];
101
- }
102
- /**
103
- * Switch component based on [HeroUI Switch](https://www.heroui.com//docs/components/switch)
104
- */
105
- declare const Switch$1: ({
106
- className,
107
- endContent,
108
- name,
109
- size,
110
- startContent,
111
- thumbIcon,
112
- ...uniformFieldProps
113
- }: SwitchProps$1) => import("react/jsx-runtime").JSX.Element;
114
- //#endregion
115
- export { SwitchProps$1 as n, Switch$1 as t };
116
- //# sourceMappingURL=index-B7gQppgQ.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-B7gQppgQ.d.ts","names":[],"sources":["../src/Switch/Switch.tsx"],"mappings":";;;;;cAaa,cAAA,8BAAc,YAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiBtB,YAAA,GAAe,OAAO,QAAQ,cAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,cAAA;AAAA,UAEnB,aAAA,SAAoB,YAAA;;EAEnC,SAAA;;EAEA,SAAA,GAAY,SAAA;;EAEZ,QAAA;;EAEA,UAAA,GAAa,SAAA;;EAEb,KAAA,GAAQ,SAAA;;EAER,IAAA;EAEA,IAAA;;EAEA,YAAA,GAAe,SAAA;;EAEf,MAAA;;EAEA,SAAA,GAAY,WAAA;AAAA;;;;cAMR,QAAA;EAAU,SAAA;EAAA,UAAA;EAAA,IAAA;EAAA,IAAA;EAAA,YAAA;EAAA,SAAA;EAAA,GAAA;AAAA,GAQb,aAAA,iCAAW,GAAA,CAAA,OAAA"}
@@ -1,166 +0,0 @@
1
- import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
2
- import { ReactNode } from "react";
3
-
4
- //#region src/DatePicker/DatePicker.d.ts
5
- declare const datePickerVariants: import("tailwind-variants").TVReturnType<{
6
- [key: string]: {
7
- [key: string]: import("tailwind-merge").ClassNameValue | {
8
- base?: import("tailwind-merge").ClassNameValue;
9
- helperWrapper?: import("tailwind-merge").ClassNameValue;
10
- inputWrapper?: import("tailwind-merge").ClassNameValue;
11
- calendar?: import("tailwind-merge").ClassNameValue;
12
- calendarContent?: import("tailwind-merge").ClassNameValue;
13
- popoverContent?: import("tailwind-merge").ClassNameValue;
14
- selectorButton?: import("tailwind-merge").ClassNameValue;
15
- selectorIcon?: import("tailwind-merge").ClassNameValue;
16
- timeInput?: import("tailwind-merge").ClassNameValue;
17
- timeInputLabel?: import("tailwind-merge").ClassNameValue;
18
- };
19
- };
20
- } | {
21
- [x: string]: {
22
- [x: string]: import("tailwind-merge").ClassNameValue | {
23
- base?: import("tailwind-merge").ClassNameValue;
24
- helperWrapper?: import("tailwind-merge").ClassNameValue;
25
- inputWrapper?: import("tailwind-merge").ClassNameValue;
26
- calendar?: import("tailwind-merge").ClassNameValue;
27
- calendarContent?: import("tailwind-merge").ClassNameValue;
28
- popoverContent?: import("tailwind-merge").ClassNameValue;
29
- selectorButton?: import("tailwind-merge").ClassNameValue;
30
- selectorIcon?: import("tailwind-merge").ClassNameValue;
31
- timeInput?: import("tailwind-merge").ClassNameValue;
32
- timeInputLabel?: import("tailwind-merge").ClassNameValue;
33
- };
34
- };
35
- } | {}, {
36
- /** wrapper around the whole date picker */base: string; /** helper wrapper for error/description */
37
- helperWrapper: string[]; /** the calendar element */
38
- calendar: string; /** the calendar's content element */
39
- calendarContent: string;
40
- /**
41
- * inner wrapper (HeroUI inputWrapper slot)
42
- *
43
- * NOTE: Unlike HeroUI Input, the DatePicker does not expose a
44
- * `data-focus` indicator on the group, so the focus border has to be
45
- * driven by the native `focus-within` state of the segment inputs.
46
- */
47
- inputWrapper: string; /** the calendar popover element */
48
- popoverContent: string; /** selector button element */
49
- selectorButton: string; /** selector icon element */
50
- selectorIcon: string; /** the time-input component element */
51
- timeInput: string; /** the time-input component's label element */
52
- timeInputLabel: string;
53
- }, undefined, {
54
- [key: string]: {
55
- [key: string]: import("tailwind-merge").ClassNameValue | {
56
- base?: import("tailwind-merge").ClassNameValue;
57
- helperWrapper?: import("tailwind-merge").ClassNameValue;
58
- inputWrapper?: import("tailwind-merge").ClassNameValue;
59
- calendar?: import("tailwind-merge").ClassNameValue;
60
- calendarContent?: import("tailwind-merge").ClassNameValue;
61
- popoverContent?: import("tailwind-merge").ClassNameValue;
62
- selectorButton?: import("tailwind-merge").ClassNameValue;
63
- selectorIcon?: import("tailwind-merge").ClassNameValue;
64
- timeInput?: import("tailwind-merge").ClassNameValue;
65
- timeInputLabel?: import("tailwind-merge").ClassNameValue;
66
- };
67
- };
68
- } | {}, {
69
- /** wrapper around the whole date picker */base: string; /** helper wrapper for error/description */
70
- helperWrapper: string[]; /** the calendar element */
71
- calendar: string; /** the calendar's content element */
72
- calendarContent: string;
73
- /**
74
- * inner wrapper (HeroUI inputWrapper slot)
75
- *
76
- * NOTE: Unlike HeroUI Input, the DatePicker does not expose a
77
- * `data-focus` indicator on the group, so the focus border has to be
78
- * driven by the native `focus-within` state of the segment inputs.
79
- */
80
- inputWrapper: string; /** the calendar popover element */
81
- popoverContent: string; /** selector button element */
82
- selectorButton: string; /** selector icon element */
83
- selectorIcon: string; /** the time-input component element */
84
- timeInput: string; /** the time-input component's label element */
85
- timeInputLabel: string;
86
- }, import("tailwind-variants").TVReturnType<unknown, {
87
- /** wrapper around the whole date picker */base: string; /** helper wrapper for error/description */
88
- helperWrapper: string[]; /** the calendar element */
89
- calendar: string; /** the calendar's content element */
90
- calendarContent: string;
91
- /**
92
- * inner wrapper (HeroUI inputWrapper slot)
93
- *
94
- * NOTE: Unlike HeroUI Input, the DatePicker does not expose a
95
- * `data-focus` indicator on the group, so the focus border has to be
96
- * driven by the native `focus-within` state of the segment inputs.
97
- */
98
- inputWrapper: string; /** the calendar popover element */
99
- popoverContent: string; /** selector button element */
100
- selectorButton: string; /** selector icon element */
101
- selectorIcon: string; /** the time-input component element */
102
- timeInput: string; /** the time-input component's label element */
103
- timeInputLabel: string;
104
- }, undefined, unknown, unknown, undefined>>;
105
- type VariantProps = TVProps<typeof datePickerVariants>;
106
- type ClassName = TVClassName<typeof datePickerVariants>;
107
- interface DatePickerProps extends VariantProps {
108
- /** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
109
- ariaLabel?: string;
110
- /** CSS class name */
111
- className?: ClassName;
112
- /** date picker is disabled */
113
- disabled?: boolean;
114
- /**
115
- * Optional hour cycle override.
116
- *
117
- * When omitted, the picker uses the user's locale default (12-hour or 24-hour).
118
- */
119
- hourCycle?: 12 | 24;
120
- /** hide timezone abbreviation for zoned values */
121
- hideTimeZone?: boolean;
122
- /** form field label */
123
- label?: ReactNode;
124
- /** latest selectable value as ISO string */
125
- maxValue?: string;
126
- /** earliest selectable value as ISO string */
127
- minValue?: string;
128
- /** form field name */
129
- name: string;
130
- /** HTML data-testid attribute used in e2e tests */
131
- testId?: string;
132
- /**
133
- * Optional advanced override for the display/interpretation timezone.
134
- *
135
- * When omitted, the picker uses the current user's local timezone while
136
- * `withTime` is enabled.
137
- */
138
- timeZone?: string;
139
- /**
140
- * Enables date-time mode.
141
- *
142
- * - `false` (default): date-only input (`day` granularity)
143
- * - `true`: includes time segments (`minute` granularity)
144
- */
145
- withTime?: boolean;
146
- /** value format stored in form state (`string` stores UTC ISO values) */
147
- valueType?: 'dateValue' | 'string';
148
- }
149
- /**
150
- * DatePicker component based on [HeroUI DatePicker](https://v2.heroui.com/docs/components/date-picker)
151
- */
152
- declare const DatePicker: ({
153
- className: _className,
154
- hourCycle,
155
- hideTimeZone,
156
- maxValue,
157
- minValue,
158
- name,
159
- timeZone,
160
- valueType,
161
- withTime,
162
- ...uniformFieldProps
163
- }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
164
- //#endregion
165
- export { DatePickerProps as n, DatePicker as t };
166
- //# sourceMappingURL=index-BDFJDKmz.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-BDFJDKmz.d.ts","names":[],"sources":["../src/DatePicker/DatePicker.tsx"],"mappings":";;;;cAiBa,kBAAA,8BAAkB,YAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgC5B;;;;AAEkD;AAAA;;0BACC;0BAErB;wBAInB;qBAJ2B;;;KAHpC,YAAA,GAAe,OAAO,QAAQ,kBAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,kBAAA;AAAA,UAEnB,eAAA,SAAwB,YAAA;EAI3B;EAFZ,SAAA;EAUA;EARA,SAAA,GAAY,SAAA;EAYZ;EAVA,QAAA;EAYA;;;;;EANA,SAAA;EA4BA;EA1BA,YAAA;EA0BS;EAxBT,KAAA,GAAQ,SAAA;EAuIT;EArIC,QAAA;EA4BkB;EA1BlB,QAAA;EA0BkB;EAxBlB,IAAA;EAwBkB;EAtBlB,MAAA;EAsBkB;;;;;;EAflB,QAAA;EAekB;;;;;;EARlB,QAAA;EAQkB;EANlB,SAAA;AAAA;;;;cAMI,UAAA;EAAc,SAAA,EAAA,UAAA;EAAA,SAAA;EAAA,YAAA;EAAA,QAAA;EAAA,QAAA;EAAA,IAAA;EAAA,QAAA;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,GAWjB,eAAA,iCAAe,GAAA,CAAA,OAAA"}
@@ -1,179 +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/Checkboxes/Checkboxes.d.ts
6
- declare const checkboxesVariants: import("tailwind-variants").TVReturnType<{
7
- color: {
8
- readonly default: {
9
- wrapper: string;
10
- };
11
- readonly primary: {
12
- wrapper: string;
13
- };
14
- readonly secondary: {
15
- wrapper: string;
16
- };
17
- readonly success: {
18
- wrapper: string;
19
- };
20
- readonly warning: {
21
- wrapper: string;
22
- };
23
- readonly danger: {
24
- wrapper: string;
25
- };
26
- readonly info: {
27
- readonly wrapper: "text-info-foreground after:bg-info after:text-info-foreground";
28
- };
29
- };
30
- lineThrough: {
31
- true: {
32
- optionLabel: string[];
33
- optionLabelSubline: string;
34
- };
35
- };
36
- }, {
37
- base: string;
38
- errorMessage: string;
39
- label: string;
40
- optionBase: string;
41
- optionIcon: string;
42
- optionLabel: string;
43
- optionLabelSubline: string;
44
- optionWrapper: string;
45
- wrapper: string;
46
- }, undefined, {
47
- color: {
48
- readonly default: {
49
- wrapper: string;
50
- };
51
- readonly primary: {
52
- wrapper: string;
53
- };
54
- readonly secondary: {
55
- wrapper: string;
56
- };
57
- readonly success: {
58
- wrapper: string;
59
- };
60
- readonly warning: {
61
- wrapper: string;
62
- };
63
- readonly danger: {
64
- wrapper: string;
65
- };
66
- readonly info: {
67
- readonly wrapper: "text-info-foreground after:bg-info after:text-info-foreground";
68
- };
69
- };
70
- lineThrough: {
71
- true: {
72
- optionLabel: string[];
73
- optionLabelSubline: string;
74
- };
75
- };
76
- }, {
77
- base: string;
78
- errorMessage: string;
79
- label: string;
80
- optionBase: string;
81
- optionIcon: string;
82
- optionLabel: string;
83
- optionLabelSubline: string;
84
- optionWrapper: string;
85
- wrapper: string;
86
- }, import("tailwind-variants").TVReturnType<{
87
- color: {
88
- readonly default: {
89
- wrapper: string;
90
- };
91
- readonly primary: {
92
- wrapper: string;
93
- };
94
- readonly secondary: {
95
- wrapper: string;
96
- };
97
- readonly success: {
98
- wrapper: string;
99
- };
100
- readonly warning: {
101
- wrapper: string;
102
- };
103
- readonly danger: {
104
- wrapper: string;
105
- };
106
- readonly info: {
107
- readonly wrapper: "text-info-foreground after:bg-info after:text-info-foreground";
108
- };
109
- };
110
- lineThrough: {
111
- true: {
112
- optionLabel: string[];
113
- optionLabelSubline: string;
114
- };
115
- };
116
- }, {
117
- base: string;
118
- errorMessage: string;
119
- label: string;
120
- optionBase: string;
121
- optionIcon: string;
122
- optionLabel: string;
123
- optionLabelSubline: string;
124
- optionWrapper: string;
125
- wrapper: string;
126
- }, undefined, unknown, unknown, undefined>>;
127
- type VariantProps = TVProps<typeof checkboxesVariants>;
128
- type ClassName = TVClassName<typeof checkboxesVariants>;
129
- interface CheckboxOption {
130
- /** option label */
131
- label?: ReactNode;
132
- /** subline displayed below the label */
133
- labelSubline?: ReactNode;
134
- /** option value */
135
- value: string;
136
- /** disables the option */
137
- disabled?: boolean;
138
- /** HTML data-testid attribute of the option */
139
- testId?: string;
140
- }
141
- interface CheckboxesProps extends VariantProps {
142
- /** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
143
- ariaLabel?: string;
144
- /** CSS class name */
145
- className?: ClassName;
146
- /** Color scheme of the checkboxes */
147
- color?: VariantProps['color'];
148
- /** Sets all checkboxes disabled */
149
- disabled?: boolean;
150
- /** Orientation of the checkboxes */
151
- inline?: boolean;
152
- /** Label displayed above the checkboxes */
153
- label?: ReactNode;
154
- /** Whether the checkboxes label should be crossed out */
155
- lineThrough?: boolean;
156
- /** Name the Field is registered on the form */
157
- name: string;
158
- /** Checkboxes that should be displayed. */
159
- options: CheckboxOption[];
160
- /** HTML data-testid attribute used in e2e tests */
161
- testId?: string;
162
- /** allows disentangled display and form values for a field */
163
- transform?: InputValueTransform<string[]>;
164
- }
165
- /**
166
- * Checkboxes component based on [HeroUI CheckboxGroup](https://www.heroui.com//docs/components/checkbox-group)
167
- */
168
- declare const Checkboxes: ({
169
- className,
170
- color,
171
- inline,
172
- lineThrough,
173
- options,
174
- name,
175
- ...uniformFieldProps
176
- }: CheckboxesProps) => import("react/jsx-runtime").JSX.Element;
177
- //#endregion
178
- export { Checkboxes as n, CheckboxesProps as r, CheckboxOption as t };
179
- //# sourceMappingURL=index-BPaSE_7b.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-BPaSE_7b.d.ts","names":[],"sources":["../src/Checkboxes/Checkboxes.tsx"],"mappings":";;;;;cAoBa,kBAAA,8BAAkB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqC1B,YAAA,GAAe,OAAO,QAAQ,kBAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,kBAAA;AAAA,UAEnB,cAAA;EAmCH;EAjCZ,KAAA,GAAQ,SAAA;EAW2C;EATnD,YAAA,GAAe,SAAS;EASe;EAPvC,KAAA;EAWA;EATA,QAAA;EAWA;EATA,MAAA;AAAA;AAAA,UAGe,eAAA,SAAwB,YAAA;EAYvC;EAVA,SAAA;EAYA;EAVA,SAAA,GAAY,SAAA;EAcZ;EAZA,KAAA,GAAQ,YAAA;EAcR;EAZA,QAAA;EAcY;EAZZ,MAAA;EAY+B;EAV/B,KAAA,GAAQ,SAAA;EAyIT;EAvIC,WAAA;EAckB;EAZlB,IAAA;EAYkB;EAVlB,OAAA,EAAS,cAAA;EAUS;EARlB,MAAA;EAgBC;EAdD,SAAA,GAAY,mBAAA;AAAA;;;;cAMR,UAAA;EAAc,SAAA;EAAA,KAAA;EAAA,MAAA;EAAA,WAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;AAAA,GAQjB,eAAA,iCAAe,GAAA,CAAA,OAAA"}