@fuf-stack/uniform 1.22.3 → 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 (227) 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/useUniformFieldArray/index.cjs +4 -4
  98. package/dist/hooks/useUniformFieldArray/index.cjs.map +1 -1
  99. package/dist/hooks/useUniformFieldArray/index.js +4 -4
  100. package/dist/hooks/useUniformFieldArray/index.js.map +1 -1
  101. package/dist/index-19JGtN7H.d.cts +1257 -0
  102. package/dist/index-19JGtN7H.d.cts.map +1 -0
  103. package/dist/index-B4XExHDi.d.cts +539 -0
  104. package/dist/index-B4XExHDi.d.cts.map +1 -0
  105. package/dist/index-BUZEnZDm.d.ts +1760 -0
  106. package/dist/index-BUZEnZDm.d.ts.map +1 -0
  107. package/dist/index-Bbaubtxp.d.cts +677 -0
  108. package/dist/index-Bbaubtxp.d.cts.map +1 -0
  109. package/dist/index-BdgFJ-dj.d.ts +1028 -0
  110. package/dist/index-BdgFJ-dj.d.ts.map +1 -0
  111. package/dist/index-BiZNkLK3.d.cts +1477 -0
  112. package/dist/index-BiZNkLK3.d.cts.map +1 -0
  113. package/dist/index-Bie3CWyW.d.cts +1760 -0
  114. package/dist/index-Bie3CWyW.d.cts.map +1 -0
  115. package/dist/index-BsTqcI1C.d.cts +659 -0
  116. package/dist/index-BsTqcI1C.d.cts.map +1 -0
  117. package/dist/index-C6Y8KybK.d.ts +677 -0
  118. package/dist/index-C6Y8KybK.d.ts.map +1 -0
  119. package/dist/index-CD0Wpla3.d.cts +1413 -0
  120. package/dist/index-CD0Wpla3.d.cts.map +1 -0
  121. package/dist/index-CUByIf_d.d.ts +314 -0
  122. package/dist/index-CUByIf_d.d.ts.map +1 -0
  123. package/dist/index-Cf2B9woY.d.cts +473 -0
  124. package/dist/index-Cf2B9woY.d.cts.map +1 -0
  125. package/dist/index-CqXEYILn.d.cts +1263 -0
  126. package/dist/index-CqXEYILn.d.cts.map +1 -0
  127. package/dist/index-D1cB3mbB.d.ts +3917 -0
  128. package/dist/index-D1cB3mbB.d.ts.map +1 -0
  129. package/dist/index-D7AUghFx.d.ts +1413 -0
  130. package/dist/index-D7AUghFx.d.ts.map +1 -0
  131. package/dist/index-DCwffq1f.d.ts +1263 -0
  132. package/dist/index-DCwffq1f.d.ts.map +1 -0
  133. package/dist/index-DFbuWomg.d.ts +534 -0
  134. package/dist/index-DFbuWomg.d.ts.map +1 -0
  135. package/dist/index-DXOBPBft.d.ts +659 -0
  136. package/dist/index-DXOBPBft.d.ts.map +1 -0
  137. package/dist/index-DY-d4cFe.d.cts +1028 -0
  138. package/dist/index-DY-d4cFe.d.cts.map +1 -0
  139. package/dist/index-DqMpHpu7.d.ts +1257 -0
  140. package/dist/index-DqMpHpu7.d.ts.map +1 -0
  141. package/dist/index-DwnqyNnX.d.cts +534 -0
  142. package/dist/index-DwnqyNnX.d.cts.map +1 -0
  143. package/dist/index-OdNTqjhQ.d.ts +585 -0
  144. package/dist/index-OdNTqjhQ.d.ts.map +1 -0
  145. package/dist/index-QPDvw5Z5.d.cts +585 -0
  146. package/dist/index-QPDvw5Z5.d.cts.map +1 -0
  147. package/dist/index-amMd-sQN.d.ts +473 -0
  148. package/dist/index-amMd-sQN.d.ts.map +1 -0
  149. package/dist/index-clztdahp.d.ts +1477 -0
  150. package/dist/index-clztdahp.d.ts.map +1 -0
  151. package/dist/index-jK092-MJ.d.cts +314 -0
  152. package/dist/index-jK092-MJ.d.cts.map +1 -0
  153. package/dist/index-veBM95Gw.d.cts +3917 -0
  154. package/dist/index-veBM95Gw.d.cts.map +1 -0
  155. package/dist/index-yYjVSHlN.d.ts +539 -0
  156. package/dist/index-yYjVSHlN.d.ts.map +1 -0
  157. package/dist/index.cjs +20 -11
  158. package/dist/index.d.cts +15 -15
  159. package/dist/index.d.ts +15 -15
  160. package/dist/index.js +12 -12
  161. package/package.json +6 -6
  162. package/dist/FieldCard-BK6SNqFY.js.map +0 -1
  163. package/dist/FieldCard-C-DZ5ARr.cjs.map +0 -1
  164. package/dist/RadioBoxes-BJz-aJp3.js.map +0 -1
  165. package/dist/RadioBoxes-CR--FBhQ.cjs.map +0 -1
  166. package/dist/RadioTabs-Btt582Nl.cjs.map +0 -1
  167. package/dist/RadioTabs-CYmzrPBG.js.map +0 -1
  168. package/dist/Select-CZwuEAB5.cjs.map +0 -1
  169. package/dist/Select-CgeqhZIC.js.map +0 -1
  170. package/dist/Time-CDptQ3CK.js.map +0 -1
  171. package/dist/Time-WKgbji5k.cjs.map +0 -1
  172. package/dist/index-B4jKGy-P.d.ts +0 -167
  173. package/dist/index-B4jKGy-P.d.ts.map +0 -1
  174. package/dist/index-B5SfdA5O.d.cts +0 -99
  175. package/dist/index-B5SfdA5O.d.cts.map +0 -1
  176. package/dist/index-B61zRzeS.d.cts +0 -101
  177. package/dist/index-B61zRzeS.d.cts.map +0 -1
  178. package/dist/index-BDFJDKmz.d.ts +0 -166
  179. package/dist/index-BDFJDKmz.d.ts.map +0 -1
  180. package/dist/index-BE4OAqJ2.d.cts +0 -113
  181. package/dist/index-BE4OAqJ2.d.cts.map +0 -1
  182. package/dist/index-BMEKfOWp.d.ts +0 -174
  183. package/dist/index-BMEKfOWp.d.ts.map +0 -1
  184. package/dist/index-BPaSE_7b.d.ts +0 -179
  185. package/dist/index-BPaSE_7b.d.ts.map +0 -1
  186. package/dist/index-BSjcTo7A.d.ts +0 -147
  187. package/dist/index-BSjcTo7A.d.ts.map +0 -1
  188. package/dist/index-Bgo2Dr6X.d.cts +0 -174
  189. package/dist/index-Bgo2Dr6X.d.cts.map +0 -1
  190. package/dist/index-BmMspnsJ.d.cts +0 -137
  191. package/dist/index-BmMspnsJ.d.cts.map +0 -1
  192. package/dist/index-BvbHkoH5.d.cts +0 -290
  193. package/dist/index-BvbHkoH5.d.cts.map +0 -1
  194. package/dist/index-C6DBVs7t.d.ts +0 -116
  195. package/dist/index-C6DBVs7t.d.ts.map +0 -1
  196. package/dist/index-CIiOXrrY.d.ts +0 -99
  197. package/dist/index-CIiOXrrY.d.ts.map +0 -1
  198. package/dist/index-CSRKNes5.d.cts +0 -167
  199. package/dist/index-CSRKNes5.d.cts.map +0 -1
  200. package/dist/index-CbPJiRK2.d.ts +0 -83
  201. package/dist/index-CbPJiRK2.d.ts.map +0 -1
  202. package/dist/index-CbQ8Ft4o.d.ts +0 -113
  203. package/dist/index-CbQ8Ft4o.d.ts.map +0 -1
  204. package/dist/index-CvP3tbVV.d.ts +0 -137
  205. package/dist/index-CvP3tbVV.d.ts.map +0 -1
  206. package/dist/index-Cwb7sTO0.d.ts +0 -154
  207. package/dist/index-Cwb7sTO0.d.ts.map +0 -1
  208. package/dist/index-CxY9VWv5.d.cts +0 -154
  209. package/dist/index-CxY9VWv5.d.cts.map +0 -1
  210. package/dist/index-Cz4JaCWd.d.ts +0 -122
  211. package/dist/index-Cz4JaCWd.d.ts.map +0 -1
  212. package/dist/index-DBsF7xsq.d.cts +0 -147
  213. package/dist/index-DBsF7xsq.d.cts.map +0 -1
  214. package/dist/index-DMOhTl4I.d.cts +0 -116
  215. package/dist/index-DMOhTl4I.d.cts.map +0 -1
  216. package/dist/index-DRg0anjB.d.cts +0 -179
  217. package/dist/index-DRg0anjB.d.cts.map +0 -1
  218. package/dist/index-DUmNI6cE.d.cts +0 -83
  219. package/dist/index-DUmNI6cE.d.cts.map +0 -1
  220. package/dist/index-Db0WD4d1.d.cts +0 -166
  221. package/dist/index-Db0WD4d1.d.cts.map +0 -1
  222. package/dist/index-GqydEAFk.d.ts +0 -290
  223. package/dist/index-GqydEAFk.d.ts.map +0 -1
  224. package/dist/index-PMCqBX0t.d.ts +0 -101
  225. package/dist/index-PMCqBX0t.d.ts.map +0 -1
  226. package/dist/index-Q3BWGyUO.d.cts +0 -122
  227. package/dist/index-Q3BWGyUO.d.cts.map +0 -1
@@ -1,147 +0,0 @@
1
- import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
2
- import { ReactElement, ReactNode } from "react";
3
- import { TabsProps } from "@fuf-stack/pixels";
4
-
5
- //#region src/RadioTabs/RadioTabs.d.ts
6
- declare const radioTabsVariants: import("tailwind-variants").TVReturnType<{
7
- hasContent: {
8
- true: {
9
- base: string;
10
- tabBase: string;
11
- tabWrapper: string[];
12
- };
13
- };
14
- fullWidth: {
15
- true: {
16
- tabWrapper: string;
17
- };
18
- };
19
- isInvalid: {
20
- true: {
21
- tabWrapper: string;
22
- };
23
- };
24
- }, {
25
- base: string;
26
- cursor: string;
27
- label: string;
28
- tab: string;
29
- tabBase: string;
30
- tabContent: string;
31
- tabList: string;
32
- tabPanel: string;
33
- tabWrapper: string;
34
- wrapper: string;
35
- }, undefined, {
36
- hasContent: {
37
- true: {
38
- base: string;
39
- tabBase: string;
40
- tabWrapper: string[];
41
- };
42
- };
43
- fullWidth: {
44
- true: {
45
- tabWrapper: string;
46
- };
47
- };
48
- isInvalid: {
49
- true: {
50
- tabWrapper: string;
51
- };
52
- };
53
- }, {
54
- base: string;
55
- cursor: string;
56
- label: string;
57
- tab: string;
58
- tabBase: string;
59
- tabContent: string;
60
- tabList: string;
61
- tabPanel: string;
62
- tabWrapper: string;
63
- wrapper: string;
64
- }, import("tailwind-variants").TVReturnType<{
65
- hasContent: {
66
- true: {
67
- base: string;
68
- tabBase: string;
69
- tabWrapper: string[];
70
- };
71
- };
72
- fullWidth: {
73
- true: {
74
- tabWrapper: string;
75
- };
76
- };
77
- isInvalid: {
78
- true: {
79
- tabWrapper: string;
80
- };
81
- };
82
- }, {
83
- base: string;
84
- cursor: string;
85
- label: string;
86
- tab: string;
87
- tabBase: string;
88
- tabContent: string;
89
- tabList: string;
90
- tabPanel: string;
91
- tabWrapper: string;
92
- wrapper: string;
93
- }, undefined, unknown, unknown, undefined>>;
94
- type VariantProps = TVProps<typeof radioTabsVariants>;
95
- type ClassName = TVClassName<typeof radioTabsVariants>;
96
- interface RadioTabsOption {
97
- /** Optional content inside of the tab */
98
- content?: ReactNode;
99
- /** disables the option */
100
- disabled?: boolean;
101
- /** option label */
102
- label?: ReactNode;
103
- /** option icon */
104
- icon?: ReactNode;
105
- /** HTML data-testid attribute of the option */
106
- testId?: string;
107
- /** option value */
108
- value: string | number | boolean;
109
- }
110
- interface RadioTabsProps extends Omit<VariantProps, 'hasContent'> {
111
- /** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
112
- ariaLabel?: string;
113
- /** CSS class name */
114
- className?: ClassName;
115
- /** Determines if the Buttons are disabled or not. */
116
- disabled?: boolean;
117
- /** Whether tabs should take up full container width */
118
- fullWidth?: boolean;
119
- /** determines orientation of the Buttons. */
120
- inline?: boolean;
121
- /** Label displayed next to the RadioButton. */
122
- label?: ReactNode;
123
- /** Name the RadioButtons are registered at in HTML forms (react-hook-form). */
124
- name: string;
125
- /** Radio button configuration. */
126
- options: RadioTabsOption[];
127
- /** Id to grab element in internal tests. */
128
- testId?: string;
129
- /** How the RadioTabs should look like. */
130
- variant?: TabsProps['variant'];
131
- }
132
- /**
133
- * RadioTabs component based on [HeroUI RadioGroup](https://www.heroui.com//docs/components/radio-group)
134
- * and [HeroUI Tabs](https://www.heroui.com//docs/components/tabs)
135
- */
136
- declare const RadioTabs: ({
137
- className,
138
- fullWidth,
139
- inline,
140
- name,
141
- options,
142
- variant,
143
- ...uniformFieldProps
144
- }: RadioTabsProps) => ReactElement;
145
- //#endregion
146
- export { RadioTabsProps as n, RadioTabs as t };
147
- //# sourceMappingURL=index-DBsF7xsq.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-DBsF7xsq.d.cts","names":[],"sources":["../src/RadioTabs/RadioTabs.tsx"],"mappings":";;;;;cAgBa,iBAAA,8BAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAwCzB,YAAA,GAAe,OAAO,QAAQ,iBAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,iBAAA;AAAA,UAEnB,eAAA;EAEf;EAAA,OAAA,GAAU,SAAA;EAEV;EAAA,QAAA;EAEQ;EAAR,KAAA,GAAQ,SAAA;EAED;EAAP,IAAA,GAAO,SAAA;EAIP;EAFA,MAAA;EAEK;EAAL,KAAA;AAAA;AAAA,UAGe,cAAA,SAAuB,IAAA,CAAK,YAAA;EAAA;EAE3C,SAAA;EAUQ;EARR,SAAA,GAAY,SAAA;EAgBF;EAdV,QAAA;EAN0C;EAQ1C,SAAA;EARsC;EAUtC,MAAA;EARA;EAUA,KAAA,GAAQ,SAAA;EARI;EAUZ,IAAA;EANA;EAQA,OAAA,EAAS,eAAA;EAJT;EAMA,MAAA;EAJA;EAMA,OAAA,GAAU,SAAA;AAAA;;;;;cAON,SAAA;EAAa,SAAA;EAAA,SAAA;EAAA,MAAA;EAAA,IAAA;EAAA,OAAA;EAAA,OAAA;EAAA,GAAA;AAAA,GAQhB,cAAA,KAAiB,YAAA"}
@@ -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
- label?: import("tailwind-merge").ClassNameValue;
10
- errorMessage?: import("tailwind-merge").ClassNameValue;
11
- base?: 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
- label?: import("tailwind-merge").ClassNameValue;
24
- errorMessage?: import("tailwind-merge").ClassNameValue;
25
- base?: 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
- label?: import("tailwind-merge").ClassNameValue;
48
- errorMessage?: import("tailwind-merge").ClassNameValue;
49
- base?: 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: ({
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 as t };
116
- //# sourceMappingURL=index-DMOhTl4I.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-DMOhTl4I.d.cts","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,MAAA;EAAU,SAAA;EAAA,UAAA;EAAA,IAAA;EAAA,IAAA;EAAA,YAAA;EAAA,SAAA;EAAA,GAAA;AAAA,GAQb,aAAA,iCAAW,GAAA,CAAA,OAAA"}
@@ -1,179 +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/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-DRg0anjB.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-DRg0anjB.d.cts","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"}
@@ -1,83 +0,0 @@
1
- import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
2
- import { ReactNode } from "react";
3
-
4
- //#region src/TextArea/TextArea.d.ts
5
- declare const textAreaVariants: import("tailwind-variants").TVReturnType<{
6
- [key: string]: {
7
- [key: string]: import("tailwind-merge").ClassNameValue | {
8
- base?: import("tailwind-merge").ClassNameValue;
9
- input?: import("tailwind-merge").ClassNameValue;
10
- inputWrapper?: import("tailwind-merge").ClassNameValue;
11
- clearButton?: import("tailwind-merge").ClassNameValue;
12
- };
13
- };
14
- } | {
15
- [x: string]: {
16
- [x: string]: import("tailwind-merge").ClassNameValue | {
17
- base?: import("tailwind-merge").ClassNameValue;
18
- input?: import("tailwind-merge").ClassNameValue;
19
- inputWrapper?: import("tailwind-merge").ClassNameValue;
20
- clearButton?: import("tailwind-merge").ClassNameValue;
21
- };
22
- };
23
- } | {}, {
24
- /** wrapper around the whole input */base: string; /** clear button */
25
- clearButton: string; /** actual input element */
26
- input: string; /** inner wrapper (HeroUI inputWrapper slot) */
27
- inputWrapper: string;
28
- }, undefined, {
29
- [key: string]: {
30
- [key: string]: import("tailwind-merge").ClassNameValue | {
31
- base?: import("tailwind-merge").ClassNameValue;
32
- input?: import("tailwind-merge").ClassNameValue;
33
- inputWrapper?: import("tailwind-merge").ClassNameValue;
34
- clearButton?: import("tailwind-merge").ClassNameValue;
35
- };
36
- };
37
- } | {}, {
38
- /** wrapper around the whole input */base: string; /** clear button */
39
- clearButton: string; /** actual input element */
40
- input: string; /** inner wrapper (HeroUI inputWrapper slot) */
41
- inputWrapper: string;
42
- }, import("tailwind-variants").TVReturnType<unknown, {
43
- /** wrapper around the whole input */base: string; /** clear button */
44
- clearButton: string; /** actual input element */
45
- input: string; /** inner wrapper (HeroUI inputWrapper slot) */
46
- inputWrapper: string;
47
- }, undefined, unknown, unknown, undefined>>;
48
- type VariantProps = TVProps<typeof textAreaVariants>;
49
- type ClassName = TVClassName<typeof textAreaVariants>;
50
- interface TextAreaProps extends VariantProps {
51
- /** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
52
- ariaLabel?: string;
53
- /** Child components. The content of the textarea. */
54
- children?: ReactNode;
55
- /** CSS class name */
56
- className?: ClassName;
57
- /** debounce delay in milliseconds for form state updates (default: 300ms) */
58
- debounceDelay?: number;
59
- /** Determines if the TextArea is disabled or not. */
60
- disabled?: boolean;
61
- /** Label displayed above the TextArea. */
62
- label?: ReactNode;
63
- /** Name the TextArea is registered at in HTML forms (react-hook-form). */
64
- name: string;
65
- /** placeholder for the textArea content. */
66
- placeholder?: string;
67
- /** Id to grab element in internal tests. */
68
- testId?: string;
69
- }
70
- /**
71
- * TextArea component based on [HeroUI TextArea](https://www.heroui.com//docs/components/textarea)
72
- */
73
- declare const TextArea: ({
74
- children,
75
- className: _className,
76
- debounceDelay,
77
- name,
78
- placeholder,
79
- ...uniformFieldProps
80
- }: TextAreaProps) => import("react/jsx-runtime").JSX.Element;
81
- //#endregion
82
- export { TextAreaProps as n, TextArea as t };
83
- //# sourceMappingURL=index-DUmNI6cE.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-DUmNI6cE.d.cts","names":[],"sources":["../src/TextArea/TextArea.tsx"],"mappings":";;;;cAWa,gBAAA,8BAAgB,YAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAaxB,YAAA,GAAe,OAAO,QAAQ,gBAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,gBAAA;AAAA,UAEnB,aAAA,SAAsB,YAAA;EAHnB;EAKlB,SAAA;EAJG;EAMH,QAAA,GAAW,SAAA;;EAEX,SAAA,GAAY,SAAA;EARsC;EAUlD,aAAA;EAR6B;EAU7B,QAAA;EANW;EAQX,KAAA,GAAQ,SAAA;EAAA;EAER,IAAA;EAdiD;EAgBjD,WAAA;EAhBqC;EAkBrC,MAAA;AAAA;;;;cAMI,QAAA;EAAY,QAAA;EAAA,SAAA,EAAA,UAAA;EAAA,aAAA;EAAA,IAAA;EAAA,WAAA;EAAA,GAAA;AAAA,GAOf,aAAA,iCAAa,GAAA,CAAA,OAAA"}