@fuf-stack/uniform 1.4.2 → 1.5.0

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 (187) hide show
  1. package/dist/Checkboxes/index.cjs +16 -0
  2. package/dist/{RadioGroup → Checkboxes}/index.cjs.map +1 -1
  3. package/dist/Checkboxes/index.d.cts +10 -0
  4. package/dist/Checkboxes/index.d.ts +10 -0
  5. package/dist/Checkboxes/index.js +16 -0
  6. package/dist/{CheckboxGroup-B1g42iP0.d.cts → Checkboxes-CR0Uu2g9.d.cts} +9 -9
  7. package/dist/{CheckboxGroup-B1g42iP0.d.ts → Checkboxes-CR0Uu2g9.d.ts} +9 -9
  8. package/dist/FieldArray/index.cjs +5 -5
  9. package/dist/FieldArray/index.d.cts +2 -2
  10. package/dist/FieldArray/index.d.ts +2 -2
  11. package/dist/FieldArray/index.js +4 -4
  12. package/dist/FieldArray-EP4otr2x.d.cts +160 -0
  13. package/dist/FieldArray-EP4otr2x.d.ts +160 -0
  14. package/dist/{FieldValidationError-CU_xw0BL.d.ts → FieldValidationError-DwtLkGMo.d.cts} +2 -2
  15. package/dist/{FieldValidationError-CU_xw0BL.d.cts → FieldValidationError-DwtLkGMo.d.ts} +2 -2
  16. package/dist/Form/index.cjs +6 -4
  17. package/dist/Form/index.cjs.map +1 -1
  18. package/dist/Form/index.js +5 -3
  19. package/dist/Input/index.cjs +5 -5
  20. package/dist/Input/index.d.cts +2 -2
  21. package/dist/Input/index.d.ts +2 -2
  22. package/dist/Input/index.js +4 -4
  23. package/dist/{Input-C6ujfEkn.d.ts → Input-CCIEnvIp.d.ts} +1 -1
  24. package/dist/{Input-BQkZtJx8.d.cts → Input-D7HT_8jf.d.cts} +1 -1
  25. package/dist/RadioBoxes/index.cjs +5 -5
  26. package/dist/RadioBoxes/index.d.cts +3 -2
  27. package/dist/RadioBoxes/index.d.ts +3 -2
  28. package/dist/RadioBoxes/index.js +4 -4
  29. package/dist/{RadioBoxes-CE3mYoFk.d.cts → RadioBoxes-DpkI28l0.d.cts} +3 -2
  30. package/dist/{RadioBoxes-CE3mYoFk.d.ts → RadioBoxes-DpkI28l0.d.ts} +3 -2
  31. package/dist/RadioTabs/index.cjs +5 -5
  32. package/dist/RadioTabs/index.d.cts +2 -2
  33. package/dist/RadioTabs/index.d.ts +2 -2
  34. package/dist/RadioTabs/index.js +4 -4
  35. package/dist/{RadioTabs-BCWW3tru.d.cts → RadioTabs-DTDcAZoH.d.cts} +1 -1
  36. package/dist/{RadioTabs-BCWW3tru.d.ts → RadioTabs-DTDcAZoH.d.ts} +1 -1
  37. package/dist/Radios/index.cjs +16 -0
  38. package/dist/Radios/index.cjs.map +1 -0
  39. package/dist/Radios/index.d.cts +9 -0
  40. package/dist/Radios/index.d.ts +9 -0
  41. package/dist/Radios/index.js +16 -0
  42. package/dist/{RadioGroup-CAOX80Xx.d.cts → Radios-DprlJhoq.d.cts} +9 -9
  43. package/dist/{RadioGroup-CAOX80Xx.d.ts → Radios-DprlJhoq.d.ts} +9 -9
  44. package/dist/Select/index.cjs +5 -5
  45. package/dist/Select/index.d.cts +2 -2
  46. package/dist/Select/index.d.ts +2 -2
  47. package/dist/Select/index.js +4 -4
  48. package/dist/{Select-CTRWinmO.d.cts → Select-CDkZmZp2.d.cts} +1 -1
  49. package/dist/{Select-CTRWinmO.d.ts → Select-CDkZmZp2.d.ts} +1 -1
  50. package/dist/SubmitButton/index.cjs +6 -4
  51. package/dist/SubmitButton/index.cjs.map +1 -1
  52. package/dist/SubmitButton/index.js +5 -3
  53. package/dist/Switch/index.cjs +5 -5
  54. package/dist/Switch/index.js +4 -4
  55. package/dist/TextArea/index.cjs +5 -5
  56. package/dist/TextArea/index.d.cts +4 -2
  57. package/dist/TextArea/index.d.ts +4 -2
  58. package/dist/TextArea/index.js +4 -4
  59. package/dist/TextArea-DhxNWYNg.d.cts +86 -0
  60. package/dist/TextArea-DhxNWYNg.d.ts +86 -0
  61. package/dist/chunk-2DHTL4PW.cjs +117 -0
  62. package/dist/chunk-2DHTL4PW.cjs.map +1 -0
  63. package/dist/{chunk-FOVP54XP.cjs → chunk-3NH4MEMM.cjs} +18 -27
  64. package/dist/chunk-3NH4MEMM.cjs.map +1 -0
  65. package/dist/{chunk-M2DNMSQZ.js → chunk-3Q3IUEGL.js} +52 -49
  66. package/dist/chunk-3Q3IUEGL.js.map +1 -0
  67. package/dist/{chunk-C52NGPIF.js → chunk-4WRUHOGY.js} +48 -46
  68. package/dist/chunk-4WRUHOGY.js.map +1 -0
  69. package/dist/{chunk-KG4XCEPW.js → chunk-53XSXUNE.js} +42 -40
  70. package/dist/chunk-53XSXUNE.js.map +1 -0
  71. package/dist/{chunk-77C6VN4L.cjs → chunk-5LWD6VRV.cjs} +50 -47
  72. package/dist/chunk-5LWD6VRV.cjs.map +1 -0
  73. package/dist/{chunk-C64RKQEW.cjs → chunk-62AYJT2H.cjs} +3 -3
  74. package/dist/{chunk-C64RKQEW.cjs.map → chunk-62AYJT2H.cjs.map} +1 -1
  75. package/dist/chunk-76KOVUDN.js +138 -0
  76. package/dist/chunk-76KOVUDN.js.map +1 -0
  77. package/dist/{chunk-FHRMVL6B.js → chunk-AYWMAPAX.js} +134 -89
  78. package/dist/chunk-AYWMAPAX.js.map +1 -0
  79. package/dist/chunk-BWPTCHL7.cjs +103 -0
  80. package/dist/chunk-BWPTCHL7.cjs.map +1 -0
  81. package/dist/{chunk-2GYFDVXX.cjs → chunk-C5GIWGQR.cjs} +173 -33
  82. package/dist/chunk-C5GIWGQR.cjs.map +1 -0
  83. package/dist/{chunk-IYDCKENI.js → chunk-CJD3DW4J.js} +166 -26
  84. package/dist/chunk-CJD3DW4J.js.map +1 -0
  85. package/dist/{chunk-N2EEOWEP.cjs → chunk-CW4VK77Z.cjs} +59 -64
  86. package/dist/chunk-CW4VK77Z.cjs.map +1 -0
  87. package/dist/{chunk-LJQ35BUK.js → chunk-D2HI4KE4.js} +2 -2
  88. package/dist/chunk-DYTE5N3B.cjs +684 -0
  89. package/dist/chunk-DYTE5N3B.cjs.map +1 -0
  90. package/dist/chunk-ELYGQTXB.js +47 -0
  91. package/dist/chunk-ELYGQTXB.js.map +1 -0
  92. package/dist/chunk-GST3AQOR.js +684 -0
  93. package/dist/chunk-GST3AQOR.js.map +1 -0
  94. package/dist/{chunk-AYNTZPKL.cjs → chunk-HQNZYWJX.cjs} +132 -87
  95. package/dist/chunk-HQNZYWJX.cjs.map +1 -0
  96. package/dist/chunk-LLQLEDOO.js +103 -0
  97. package/dist/chunk-LLQLEDOO.js.map +1 -0
  98. package/dist/chunk-NHEZXA4H.cjs +47 -0
  99. package/dist/chunk-NHEZXA4H.cjs.map +1 -0
  100. package/dist/{chunk-M7VM7XBE.js → chunk-OCYJFIPV.js} +8 -8
  101. package/dist/chunk-OCYJFIPV.js.map +1 -0
  102. package/dist/{chunk-YEKHVKS3.cjs → chunk-S36CKKDV.cjs} +44 -42
  103. package/dist/chunk-S36CKKDV.cjs.map +1 -0
  104. package/dist/chunk-S7K35LVS.js +117 -0
  105. package/dist/chunk-S7K35LVS.js.map +1 -0
  106. package/dist/{chunk-Y3GELCDP.js → chunk-VLEYEBRE.js} +62 -67
  107. package/dist/chunk-VLEYEBRE.js.map +1 -0
  108. package/dist/{chunk-UGCZORU3.cjs → chunk-YIBISSMT.cjs} +9 -9
  109. package/dist/chunk-YIBISSMT.cjs.map +1 -0
  110. package/dist/chunk-Z353BLWI.cjs +138 -0
  111. package/dist/chunk-Z353BLWI.cjs.map +1 -0
  112. package/dist/{chunk-ULR4573W.cjs → chunk-ZLQCMOVU.cjs} +40 -38
  113. package/dist/chunk-ZLQCMOVU.cjs.map +1 -0
  114. package/dist/{chunk-2B6CDMOZ.js → chunk-ZN3ESUQR.js} +16 -25
  115. package/dist/chunk-ZN3ESUQR.js.map +1 -0
  116. package/dist/helpers/index.cjs +4 -2
  117. package/dist/helpers/index.cjs.map +1 -1
  118. package/dist/helpers/index.d.cts +54 -10
  119. package/dist/helpers/index.d.ts +54 -10
  120. package/dist/helpers/index.js +3 -1
  121. package/dist/hooks/index.cjs +7 -3
  122. package/dist/hooks/index.cjs.map +1 -1
  123. package/dist/hooks/index.d.cts +86 -4
  124. package/dist/hooks/index.d.ts +86 -4
  125. package/dist/hooks/index.js +8 -4
  126. package/dist/index.cjs +20 -16
  127. package/dist/index.cjs.map +1 -1
  128. package/dist/index.d.cts +11 -11
  129. package/dist/index.d.ts +11 -11
  130. package/dist/index.js +30 -26
  131. package/dist/partials/FieldValidationError/index.cjs +2 -2
  132. package/dist/partials/FieldValidationError/index.d.cts +2 -2
  133. package/dist/partials/FieldValidationError/index.d.ts +2 -2
  134. package/dist/partials/FieldValidationError/index.js +1 -1
  135. package/package.json +12 -11
  136. package/dist/CheckboxGroup/index.cjs +0 -16
  137. package/dist/CheckboxGroup/index.cjs.map +0 -1
  138. package/dist/CheckboxGroup/index.d.cts +0 -10
  139. package/dist/CheckboxGroup/index.d.ts +0 -10
  140. package/dist/CheckboxGroup/index.js +0 -16
  141. package/dist/FieldArray-DVQka7Bh.d.cts +0 -130
  142. package/dist/FieldArray-DVQka7Bh.d.ts +0 -130
  143. package/dist/RadioGroup/index.cjs +0 -16
  144. package/dist/RadioGroup/index.d.cts +0 -9
  145. package/dist/RadioGroup/index.d.ts +0 -9
  146. package/dist/RadioGroup/index.js +0 -16
  147. package/dist/TextArea-DnFGyl4a.d.cts +0 -27
  148. package/dist/TextArea-DnFGyl4a.d.ts +0 -27
  149. package/dist/chunk-2B6CDMOZ.js.map +0 -1
  150. package/dist/chunk-2GYFDVXX.cjs.map +0 -1
  151. package/dist/chunk-77C6VN4L.cjs.map +0 -1
  152. package/dist/chunk-AYNTZPKL.cjs.map +0 -1
  153. package/dist/chunk-C52NGPIF.js.map +0 -1
  154. package/dist/chunk-CQWA2DFV.js +0 -37
  155. package/dist/chunk-CQWA2DFV.js.map +0 -1
  156. package/dist/chunk-EEBHFSBY.cjs +0 -112
  157. package/dist/chunk-EEBHFSBY.cjs.map +0 -1
  158. package/dist/chunk-FHRMVL6B.js.map +0 -1
  159. package/dist/chunk-FOVP54XP.cjs.map +0 -1
  160. package/dist/chunk-IYDCKENI.js.map +0 -1
  161. package/dist/chunk-JZF4HUYO.cjs +0 -409
  162. package/dist/chunk-JZF4HUYO.cjs.map +0 -1
  163. package/dist/chunk-KG4XCEPW.js.map +0 -1
  164. package/dist/chunk-KQN55PEW.js +0 -76
  165. package/dist/chunk-KQN55PEW.js.map +0 -1
  166. package/dist/chunk-M2DNMSQZ.js.map +0 -1
  167. package/dist/chunk-M7VM7XBE.js.map +0 -1
  168. package/dist/chunk-N2EEOWEP.cjs.map +0 -1
  169. package/dist/chunk-NAZIH6HV.js +0 -409
  170. package/dist/chunk-NAZIH6HV.js.map +0 -1
  171. package/dist/chunk-RDBCJJI7.cjs +0 -88
  172. package/dist/chunk-RDBCJJI7.cjs.map +0 -1
  173. package/dist/chunk-RF7KNUCI.js +0 -88
  174. package/dist/chunk-RF7KNUCI.js.map +0 -1
  175. package/dist/chunk-UGCZORU3.cjs.map +0 -1
  176. package/dist/chunk-ULR4573W.cjs.map +0 -1
  177. package/dist/chunk-XKMLCM5K.js +0 -112
  178. package/dist/chunk-XKMLCM5K.js.map +0 -1
  179. package/dist/chunk-Y3AB4GV6.cjs +0 -37
  180. package/dist/chunk-Y3AB4GV6.cjs.map +0 -1
  181. package/dist/chunk-Y3GELCDP.js.map +0 -1
  182. package/dist/chunk-YEKHVKS3.cjs.map +0 -1
  183. package/dist/chunk-YGNY6CKU.cjs +0 -76
  184. package/dist/chunk-YGNY6CKU.cjs.map +0 -1
  185. /package/dist/{CheckboxGroup → Checkboxes}/index.js.map +0 -0
  186. /package/dist/{RadioGroup → Radios}/index.js.map +0 -0
  187. /package/dist/{chunk-LJQ35BUK.js.map → chunk-D2HI4KE4.js.map} +0 -0
package/dist/index.js CHANGED
@@ -1,59 +1,61 @@
1
1
  import {
2
- RadioTabs_default
3
- } from "./chunk-C52NGPIF.js";
2
+ Radios_default
3
+ } from "./chunk-S7K35LVS.js";
4
4
  import {
5
5
  Select_default
6
- } from "./chunk-FHRMVL6B.js";
6
+ } from "./chunk-AYWMAPAX.js";
7
7
  import {
8
8
  SubmitButton_default
9
- } from "./chunk-LJQ35BUK.js";
9
+ } from "./chunk-D2HI4KE4.js";
10
10
  import {
11
11
  Switch_default
12
- } from "./chunk-M7VM7XBE.js";
12
+ } from "./chunk-OCYJFIPV.js";
13
13
  import {
14
14
  TextArea_default
15
- } from "./chunk-RF7KNUCI.js";
15
+ } from "./chunk-LLQLEDOO.js";
16
16
  import {
17
- CheckboxGroup_default
18
- } from "./chunk-Y3GELCDP.js";
17
+ Checkboxes_default
18
+ } from "./chunk-VLEYEBRE.js";
19
19
  import {
20
20
  FieldArray_default
21
- } from "./chunk-NAZIH6HV.js";
21
+ } from "./chunk-GST3AQOR.js";
22
22
  import {
23
23
  Form_default
24
- } from "./chunk-2B6CDMOZ.js";
24
+ } from "./chunk-ZN3ESUQR.js";
25
25
  import {
26
26
  Grid_default
27
27
  } from "./chunk-B62HKKMS.js";
28
28
  import {
29
29
  Input_default
30
- } from "./chunk-M2DNMSQZ.js";
30
+ } from "./chunk-3Q3IUEGL.js";
31
31
  import {
32
32
  RadioBoxes_default
33
- } from "./chunk-KG4XCEPW.js";
34
- import {
35
- RadioGroup_default
36
- } from "./chunk-XKMLCM5K.js";
33
+ } from "./chunk-53XSXUNE.js";
37
34
  import {
38
- FieldCopyTestIdButton_default
39
- } from "./chunk-NTDKZW4E.js";
40
- import {
41
- FieldValidationError_default
42
- } from "./chunk-CQWA2DFV.js";
35
+ RadioTabs_default
36
+ } from "./chunk-4WRUHOGY.js";
43
37
  import {
44
38
  checkFieldIsRequired,
45
39
  useClientValidation,
46
40
  useController,
47
41
  useFieldArray,
48
42
  useFormContext,
49
- useInput
50
- } from "./chunk-IYDCKENI.js";
43
+ useInput,
44
+ useUniformField
45
+ } from "./chunk-CJD3DW4J.js";
46
+ import {
47
+ FieldCopyTestIdButton_default
48
+ } from "./chunk-NTDKZW4E.js";
51
49
  import {
50
+ FieldValidationError_default
51
+ } from "./chunk-ELYGQTXB.js";
52
+ import {
53
+ flatArrayKey,
52
54
  fromNullishString,
53
55
  toFormFormat,
54
56
  toNullishString,
55
57
  toValidationFormat
56
- } from "./chunk-KQN55PEW.js";
58
+ } from "./chunk-76KOVUDN.js";
57
59
  import {
58
60
  useInputValueDebounce
59
61
  } from "./chunk-6IU7IYYB.js";
@@ -62,7 +64,7 @@ import {
62
64
  } from "./chunk-Q2BOMFJ5.js";
63
65
  import "./chunk-K2V4ULA2.js";
64
66
  export {
65
- CheckboxGroup_default as CheckboxGroup,
67
+ Checkboxes_default as Checkboxes,
66
68
  FieldArray_default as FieldArray,
67
69
  FieldCopyTestIdButton_default as FieldCopyTestIdButton,
68
70
  FieldValidationError_default as FieldValidationError,
@@ -70,13 +72,14 @@ export {
70
72
  Grid_default as Grid,
71
73
  Input_default as Input,
72
74
  RadioBoxes_default as RadioBoxes,
73
- RadioGroup_default as RadioGroup,
74
75
  RadioTabs_default as RadioTabs,
76
+ Radios_default as Radios,
75
77
  Select_default as Select,
76
78
  SubmitButton_default as SubmitButton,
77
79
  Switch_default as Switch,
78
80
  TextArea_default as TextArea,
79
81
  checkFieldIsRequired,
82
+ flatArrayKey,
80
83
  fromNullishString,
81
84
  toFormFormat,
82
85
  toNullishString,
@@ -87,6 +90,7 @@ export {
87
90
  useFormContext,
88
91
  useInput,
89
92
  useInputValueDebounce,
90
- useInputValueTransform
93
+ useInputValueTransform,
94
+ useUniformField
91
95
  };
92
96
  //# sourceMappingURL=index.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkY3AB4GV6cjs = require('../../chunk-Y3AB4GV6.cjs');
4
+ var _chunkNHEZXA4Hcjs = require('../../chunk-NHEZXA4H.cjs');
5
5
  require('../../chunk-555JRYCS.cjs');
6
6
 
7
7
 
8
8
 
9
- exports.FieldValidationError = _chunkY3AB4GV6cjs.FieldValidationError_default; exports.default = _chunkY3AB4GV6cjs.FieldValidationError_default2;
9
+ exports.FieldValidationError = _chunkNHEZXA4Hcjs.FieldValidationError_default; exports.default = _chunkNHEZXA4Hcjs.FieldValidationError_default2;
10
10
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
- import { F as FieldValidationError } from '../../FieldValidationError-CU_xw0BL.cjs';
2
- export { a as FieldValidationErrorProps } from '../../FieldValidationError-CU_xw0BL.cjs';
1
+ import { F as FieldValidationError } from '../../FieldValidationError-DwtLkGMo.cjs';
2
+ export { a as FieldValidationErrorProps } from '../../FieldValidationError-DwtLkGMo.cjs';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-hook-form';
5
5
 
@@ -1,5 +1,5 @@
1
- import { F as FieldValidationError } from '../../FieldValidationError-CU_xw0BL.js';
2
- export { a as FieldValidationErrorProps } from '../../FieldValidationError-CU_xw0BL.js';
1
+ import { F as FieldValidationError } from '../../FieldValidationError-DwtLkGMo.js';
2
+ export { a as FieldValidationErrorProps } from '../../FieldValidationError-DwtLkGMo.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react-hook-form';
5
5
 
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  FieldValidationError_default,
3
3
  FieldValidationError_default2
4
- } from "../../chunk-CQWA2DFV.js";
4
+ } from "../../chunk-ELYGQTXB.js";
5
5
  import "../../chunk-K2V4ULA2.js";
6
6
  export {
7
7
  FieldValidationError_default as FieldValidationError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fuf-stack/uniform",
3
- "version": "1.4.2",
3
+ "version": "1.5.0",
4
4
  "description": "fuf react form library",
5
5
  "author": "Fröhlich ∧ Frei",
6
6
  "homepage": "https://github.com/fuf-stack/pixels#readme",
@@ -16,10 +16,10 @@
16
16
  "import": "./dist/index.js",
17
17
  "require": "./dist/index.cjs"
18
18
  },
19
- "./CheckboxGroup": {
20
- "types": "./dist/CheckboxGroup/index.d.ts",
21
- "import": "./dist/CheckboxGroup/index.js",
22
- "require": "./dist/CheckboxGroup/index.cjs"
19
+ "./Checkboxes": {
20
+ "types": "./dist/Checkboxes/index.d.ts",
21
+ "import": "./dist/Checkboxes/index.js",
22
+ "require": "./dist/Checkboxes/index.cjs"
23
23
  },
24
24
  "./FieldArray": {
25
25
  "types": "./dist/FieldArray/index.d.ts",
@@ -76,10 +76,10 @@
76
76
  "import": "./dist/RadioBoxes/index.js",
77
77
  "require": "./dist/RadioBoxes/index.cjs"
78
78
  },
79
- "./RadioGroup": {
80
- "types": "./dist/RadioGroup/index.d.ts",
81
- "import": "./dist/RadioGroup/index.js",
82
- "require": "./dist/RadioGroup/index.cjs"
79
+ "./Radios": {
80
+ "types": "./dist/Radios/index.d.ts",
81
+ "import": "./dist/Radios/index.js",
82
+ "require": "./dist/Radios/index.cjs"
83
83
  },
84
84
  "./RadioTabs": {
85
85
  "types": "./dist/RadioTabs/index.d.ts",
@@ -139,13 +139,14 @@
139
139
  "@heroui/system": "2.4.20",
140
140
  "@heroui/theme": "2.4.20",
141
141
  "@react-aria/visually-hidden": "3.8.28",
142
- "framer-motion": "12.23.22",
142
+ "framer-motion": "12.23.24",
143
143
  "react-icons": "5.5.0",
144
144
  "react-hook-form": "7.55.0",
145
145
  "react-select": "5.10.2",
146
+ "@fuf-stack/pixel-motion": "1.0.26",
146
147
  "@fuf-stack/pixel-utils": "1.0.5",
147
148
  "@fuf-stack/veto": "0.12.6",
148
- "@fuf-stack/pixels": "1.3.6"
149
+ "@fuf-stack/pixels": "1.3.7"
149
150
  },
150
151
  "devDependencies": {
151
152
  "@types/debug": "4.1.12",
@@ -1,16 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _chunkN2EEOWEPcjs = require('../chunk-N2EEOWEP.cjs');
5
- require('../chunk-OE5BOGGX.cjs');
6
- require('../chunk-Y3AB4GV6.cjs');
7
- require('../chunk-2GYFDVXX.cjs');
8
- require('../chunk-YGNY6CKU.cjs');
9
- require('../chunk-FLK6OPFY.cjs');
10
- require('../chunk-P6HJOG7D.cjs');
11
- require('../chunk-555JRYCS.cjs');
12
-
13
-
14
-
15
- exports.CheckboxGroup = _chunkN2EEOWEPcjs.CheckboxGroup_default; exports.default = _chunkN2EEOWEPcjs.CheckboxGroup_default2;
16
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/runner/work/pixels/pixels/packages/uniform/dist/CheckboxGroup/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACF,4HAAC","file":"/home/runner/work/pixels/pixels/packages/uniform/dist/CheckboxGroup/index.cjs"}
@@ -1,10 +0,0 @@
1
- import { C as CheckboxGroup } from '../CheckboxGroup-B1g42iP0.cjs';
2
- export { b as CheckboxGroupOption, a as CheckboxGroupProps } from '../CheckboxGroup-B1g42iP0.cjs';
3
- import 'react/jsx-runtime';
4
- import 'tailwind-variants';
5
- import '@fuf-stack/pixel-utils';
6
- import 'react';
7
-
8
-
9
-
10
- export { CheckboxGroup, CheckboxGroup as default };
@@ -1,10 +0,0 @@
1
- import { C as CheckboxGroup } from '../CheckboxGroup-B1g42iP0.js';
2
- export { b as CheckboxGroupOption, a as CheckboxGroupProps } from '../CheckboxGroup-B1g42iP0.js';
3
- import 'react/jsx-runtime';
4
- import 'tailwind-variants';
5
- import '@fuf-stack/pixel-utils';
6
- import 'react';
7
-
8
-
9
-
10
- export { CheckboxGroup, CheckboxGroup as default };
@@ -1,16 +0,0 @@
1
- import {
2
- CheckboxGroup_default,
3
- CheckboxGroup_default2
4
- } from "../chunk-Y3GELCDP.js";
5
- import "../chunk-NTDKZW4E.js";
6
- import "../chunk-CQWA2DFV.js";
7
- import "../chunk-IYDCKENI.js";
8
- import "../chunk-KQN55PEW.js";
9
- import "../chunk-6IU7IYYB.js";
10
- import "../chunk-Q2BOMFJ5.js";
11
- import "../chunk-K2V4ULA2.js";
12
- export {
13
- CheckboxGroup_default as CheckboxGroup,
14
- CheckboxGroup_default2 as default
15
- };
16
- //# sourceMappingURL=index.js.map
@@ -1,130 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as tailwind_variants from 'tailwind-variants';
3
- import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
4
- import { JSX } from 'react';
5
-
6
- interface FieldArrayElementMethods {
7
- /** Add new element at end */
8
- append: () => void;
9
- /** Clone current element */
10
- duplicate: () => void;
11
- /** Add new element after current */
12
- insert: () => void;
13
- /** Remove current element */
14
- remove: () => void;
15
- }
16
-
17
- type VariantProps = TVProps<typeof fieldArrayVariants>;
18
- type ClassName = TVClassName<typeof fieldArrayVariants>;
19
- /** provided all data and methods to render a field array element */
20
- type FieldArrayChildrenRenderFn = (args: {
21
- /** index of the current element in the field array */
22
- index: number;
23
- /** total length of the field array */
24
- length: number;
25
- /** methods of the current element to change the field array */
26
- methods: FieldArrayElementMethods;
27
- /** HTML data-testid attribute used in e2e tests of the current element */
28
- name: string;
29
- /** field name of the current element */
30
- testId: string;
31
- }) => JSX.Element;
32
- interface FieldArrayFeatures {
33
- /** enables duplicating existing elements */
34
- duplicate?: boolean;
35
- /** enables inserting new elements after existing elements */
36
- insertAfter?: boolean;
37
- /** enables sorting by drag-n-drop */
38
- sortable?: boolean;
39
- }
40
- interface FieldArrayProps extends FieldArrayFeatures, VariantProps {
41
- /** text of the append element button */
42
- appendButtonText: string;
43
- /** function that renders the children with provided Properties. */
44
- children: FieldArrayChildrenRenderFn;
45
- /** CSS class name */
46
- className?: ClassName;
47
- elementInitialValue?: unknown;
48
- /** label of the field array */
49
- label?: React.ReactNode;
50
- /** when true (default false) last element can not be removed and will be shown even if field array is empty */
51
- lastElementNotRemovable?: boolean;
52
- /** form field name */
53
- name: string;
54
- /** HTML data-testid attribute used in e2e tests */
55
- testId?: string;
56
- }
57
-
58
- declare const fieldArrayVariants: tailwind_variants.TVReturnType<{
59
- [key: string]: {
60
- [key: string]: tailwind_variants.ClassValue | {
61
- label?: tailwind_variants.ClassValue;
62
- list?: tailwind_variants.ClassValue;
63
- appendButton?: tailwind_variants.ClassValue;
64
- elementWrapper?: tailwind_variants.ClassValue;
65
- insertAfterButton?: tailwind_variants.ClassValue;
66
- listItem?: tailwind_variants.ClassValue;
67
- removeButton?: tailwind_variants.ClassValue;
68
- sortDragHandle?: tailwind_variants.ClassValue;
69
- };
70
- };
71
- } | {
72
- [x: string]: {
73
- [x: string]: tailwind_variants.ClassValue | {
74
- label?: tailwind_variants.ClassValue;
75
- list?: tailwind_variants.ClassValue;
76
- appendButton?: tailwind_variants.ClassValue;
77
- elementWrapper?: tailwind_variants.ClassValue;
78
- insertAfterButton?: tailwind_variants.ClassValue;
79
- listItem?: tailwind_variants.ClassValue;
80
- removeButton?: tailwind_variants.ClassValue;
81
- sortDragHandle?: tailwind_variants.ClassValue;
82
- };
83
- };
84
- } | {}, {
85
- appendButton: string;
86
- elementWrapper: string;
87
- insertAfterButton: string;
88
- label: string;
89
- list: string;
90
- listItem: string;
91
- removeButton: string;
92
- sortDragHandle: string;
93
- }, undefined, {
94
- [key: string]: {
95
- [key: string]: tailwind_variants.ClassValue | {
96
- label?: tailwind_variants.ClassValue;
97
- list?: tailwind_variants.ClassValue;
98
- appendButton?: tailwind_variants.ClassValue;
99
- elementWrapper?: tailwind_variants.ClassValue;
100
- insertAfterButton?: tailwind_variants.ClassValue;
101
- listItem?: tailwind_variants.ClassValue;
102
- removeButton?: tailwind_variants.ClassValue;
103
- sortDragHandle?: tailwind_variants.ClassValue;
104
- };
105
- };
106
- } | {}, {
107
- appendButton: string;
108
- elementWrapper: string;
109
- insertAfterButton: string;
110
- label: string;
111
- list: string;
112
- listItem: string;
113
- removeButton: string;
114
- sortDragHandle: string;
115
- }, tailwind_variants.TVReturnType<unknown, {
116
- appendButton: string;
117
- elementWrapper: string;
118
- insertAfterButton: string;
119
- label: string;
120
- list: string;
121
- listItem: string;
122
- removeButton: string;
123
- sortDragHandle: string;
124
- }, undefined, unknown, unknown, undefined>>;
125
- /**
126
- * FieldArray component based in [RHF useFieldArray](https://react-hook-form.com/docs/usefieldarray)
127
- */
128
- declare const FieldArray: ({ appendButtonText, children, className: _className, duplicate, elementInitialValue: _elementInitialValue, insertAfter, label: _label, lastElementNotRemovable, name, sortable, testId: _testId, }: FieldArrayProps) => react_jsx_runtime.JSX.Element;
129
-
130
- export { FieldArray as F, type FieldArrayChildrenRenderFn as a, type FieldArrayFeatures as b, type FieldArrayProps as c };
@@ -1,130 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as tailwind_variants from 'tailwind-variants';
3
- import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
4
- import { JSX } from 'react';
5
-
6
- interface FieldArrayElementMethods {
7
- /** Add new element at end */
8
- append: () => void;
9
- /** Clone current element */
10
- duplicate: () => void;
11
- /** Add new element after current */
12
- insert: () => void;
13
- /** Remove current element */
14
- remove: () => void;
15
- }
16
-
17
- type VariantProps = TVProps<typeof fieldArrayVariants>;
18
- type ClassName = TVClassName<typeof fieldArrayVariants>;
19
- /** provided all data and methods to render a field array element */
20
- type FieldArrayChildrenRenderFn = (args: {
21
- /** index of the current element in the field array */
22
- index: number;
23
- /** total length of the field array */
24
- length: number;
25
- /** methods of the current element to change the field array */
26
- methods: FieldArrayElementMethods;
27
- /** HTML data-testid attribute used in e2e tests of the current element */
28
- name: string;
29
- /** field name of the current element */
30
- testId: string;
31
- }) => JSX.Element;
32
- interface FieldArrayFeatures {
33
- /** enables duplicating existing elements */
34
- duplicate?: boolean;
35
- /** enables inserting new elements after existing elements */
36
- insertAfter?: boolean;
37
- /** enables sorting by drag-n-drop */
38
- sortable?: boolean;
39
- }
40
- interface FieldArrayProps extends FieldArrayFeatures, VariantProps {
41
- /** text of the append element button */
42
- appendButtonText: string;
43
- /** function that renders the children with provided Properties. */
44
- children: FieldArrayChildrenRenderFn;
45
- /** CSS class name */
46
- className?: ClassName;
47
- elementInitialValue?: unknown;
48
- /** label of the field array */
49
- label?: React.ReactNode;
50
- /** when true (default false) last element can not be removed and will be shown even if field array is empty */
51
- lastElementNotRemovable?: boolean;
52
- /** form field name */
53
- name: string;
54
- /** HTML data-testid attribute used in e2e tests */
55
- testId?: string;
56
- }
57
-
58
- declare const fieldArrayVariants: tailwind_variants.TVReturnType<{
59
- [key: string]: {
60
- [key: string]: tailwind_variants.ClassValue | {
61
- label?: tailwind_variants.ClassValue;
62
- list?: tailwind_variants.ClassValue;
63
- appendButton?: tailwind_variants.ClassValue;
64
- elementWrapper?: tailwind_variants.ClassValue;
65
- insertAfterButton?: tailwind_variants.ClassValue;
66
- listItem?: tailwind_variants.ClassValue;
67
- removeButton?: tailwind_variants.ClassValue;
68
- sortDragHandle?: tailwind_variants.ClassValue;
69
- };
70
- };
71
- } | {
72
- [x: string]: {
73
- [x: string]: tailwind_variants.ClassValue | {
74
- label?: tailwind_variants.ClassValue;
75
- list?: tailwind_variants.ClassValue;
76
- appendButton?: tailwind_variants.ClassValue;
77
- elementWrapper?: tailwind_variants.ClassValue;
78
- insertAfterButton?: tailwind_variants.ClassValue;
79
- listItem?: tailwind_variants.ClassValue;
80
- removeButton?: tailwind_variants.ClassValue;
81
- sortDragHandle?: tailwind_variants.ClassValue;
82
- };
83
- };
84
- } | {}, {
85
- appendButton: string;
86
- elementWrapper: string;
87
- insertAfterButton: string;
88
- label: string;
89
- list: string;
90
- listItem: string;
91
- removeButton: string;
92
- sortDragHandle: string;
93
- }, undefined, {
94
- [key: string]: {
95
- [key: string]: tailwind_variants.ClassValue | {
96
- label?: tailwind_variants.ClassValue;
97
- list?: tailwind_variants.ClassValue;
98
- appendButton?: tailwind_variants.ClassValue;
99
- elementWrapper?: tailwind_variants.ClassValue;
100
- insertAfterButton?: tailwind_variants.ClassValue;
101
- listItem?: tailwind_variants.ClassValue;
102
- removeButton?: tailwind_variants.ClassValue;
103
- sortDragHandle?: tailwind_variants.ClassValue;
104
- };
105
- };
106
- } | {}, {
107
- appendButton: string;
108
- elementWrapper: string;
109
- insertAfterButton: string;
110
- label: string;
111
- list: string;
112
- listItem: string;
113
- removeButton: string;
114
- sortDragHandle: string;
115
- }, tailwind_variants.TVReturnType<unknown, {
116
- appendButton: string;
117
- elementWrapper: string;
118
- insertAfterButton: string;
119
- label: string;
120
- list: string;
121
- listItem: string;
122
- removeButton: string;
123
- sortDragHandle: string;
124
- }, undefined, unknown, unknown, undefined>>;
125
- /**
126
- * FieldArray component based in [RHF useFieldArray](https://react-hook-form.com/docs/usefieldarray)
127
- */
128
- declare const FieldArray: ({ appendButtonText, children, className: _className, duplicate, elementInitialValue: _elementInitialValue, insertAfter, label: _label, lastElementNotRemovable, name, sortable, testId: _testId, }: FieldArrayProps) => react_jsx_runtime.JSX.Element;
129
-
130
- export { FieldArray as F, type FieldArrayChildrenRenderFn as a, type FieldArrayFeatures as b, type FieldArrayProps as c };
@@ -1,16 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _chunkEEBHFSBYcjs = require('../chunk-EEBHFSBY.cjs');
5
- require('../chunk-OE5BOGGX.cjs');
6
- require('../chunk-Y3AB4GV6.cjs');
7
- require('../chunk-2GYFDVXX.cjs');
8
- require('../chunk-YGNY6CKU.cjs');
9
- require('../chunk-FLK6OPFY.cjs');
10
- require('../chunk-P6HJOG7D.cjs');
11
- require('../chunk-555JRYCS.cjs');
12
-
13
-
14
-
15
- exports.RadioGroup = _chunkEEBHFSBYcjs.RadioGroup_default; exports.default = _chunkEEBHFSBYcjs.RadioGroup_default2;
16
- //# sourceMappingURL=index.cjs.map
@@ -1,9 +0,0 @@
1
- import { R as RadioGroup } from '../RadioGroup-CAOX80Xx.cjs';
2
- export { a as RadioGroupProps } from '../RadioGroup-CAOX80Xx.cjs';
3
- import 'tailwind-variants';
4
- import '@fuf-stack/pixel-utils';
5
- import 'react';
6
-
7
-
8
-
9
- export { RadioGroup, RadioGroup as default };
@@ -1,9 +0,0 @@
1
- import { R as RadioGroup } from '../RadioGroup-CAOX80Xx.js';
2
- export { a as RadioGroupProps } from '../RadioGroup-CAOX80Xx.js';
3
- import 'tailwind-variants';
4
- import '@fuf-stack/pixel-utils';
5
- import 'react';
6
-
7
-
8
-
9
- export { RadioGroup, RadioGroup as default };
@@ -1,16 +0,0 @@
1
- import {
2
- RadioGroup_default,
3
- RadioGroup_default2
4
- } from "../chunk-XKMLCM5K.js";
5
- import "../chunk-NTDKZW4E.js";
6
- import "../chunk-CQWA2DFV.js";
7
- import "../chunk-IYDCKENI.js";
8
- import "../chunk-KQN55PEW.js";
9
- import "../chunk-6IU7IYYB.js";
10
- import "../chunk-Q2BOMFJ5.js";
11
- import "../chunk-K2V4ULA2.js";
12
- export {
13
- RadioGroup_default as RadioGroup,
14
- RadioGroup_default2 as default
15
- };
16
- //# sourceMappingURL=index.js.map
@@ -1,27 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactNode } from 'react';
3
-
4
- interface TextAreaProps {
5
- /** Child components. The content of the textarea. */
6
- children?: ReactNode;
7
- /** CSS class name */
8
- className?: string;
9
- /** debounce delay in milliseconds for form state updates (default: 300ms) */
10
- debounceDelay?: number;
11
- /** Determines if the TextArea is disabled or not. */
12
- disabled?: boolean;
13
- /** Label displayed above the TextArea. */
14
- label?: ReactNode;
15
- /** Name the TextArea is registered at in HTML forms (react-hook-form). */
16
- name: string;
17
- /** placeholder for the textArea content. */
18
- placeholder?: string;
19
- /** Id to grab element in internal tests. */
20
- testId?: string;
21
- }
22
- /**
23
- * TextArea component based on [HeroUI TextArea](https://www.heroui.com//docs/components/textarea)
24
- */
25
- declare const TextArea: ({ children, className, debounceDelay, disabled, label, name, placeholder, testId: _testId, }: TextAreaProps) => react_jsx_runtime.JSX.Element;
26
-
27
- export { TextArea as T, type TextAreaProps as a };
@@ -1,27 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactNode } from 'react';
3
-
4
- interface TextAreaProps {
5
- /** Child components. The content of the textarea. */
6
- children?: ReactNode;
7
- /** CSS class name */
8
- className?: string;
9
- /** debounce delay in milliseconds for form state updates (default: 300ms) */
10
- debounceDelay?: number;
11
- /** Determines if the TextArea is disabled or not. */
12
- disabled?: boolean;
13
- /** Label displayed above the TextArea. */
14
- label?: ReactNode;
15
- /** Name the TextArea is registered at in HTML forms (react-hook-form). */
16
- name: string;
17
- /** placeholder for the textArea content. */
18
- placeholder?: string;
19
- /** Id to grab element in internal tests. */
20
- testId?: string;
21
- }
22
- /**
23
- * TextArea component based on [HeroUI TextArea](https://www.heroui.com//docs/components/textarea)
24
- */
25
- declare const TextArea: ({ children, className, debounceDelay, disabled, label, name, placeholder, testId: _testId, }: TextAreaProps) => react_jsx_runtime.JSX.Element;
26
-
27
- export { TextArea as T, type TextAreaProps as a };