@fuf-stack/uniform 1.4.1 → 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.
- package/dist/Checkboxes/index.cjs +16 -0
- package/dist/{RadioGroup → Checkboxes}/index.cjs.map +1 -1
- package/dist/Checkboxes/index.d.cts +10 -0
- package/dist/Checkboxes/index.d.ts +10 -0
- package/dist/Checkboxes/index.js +16 -0
- package/dist/{CheckboxGroup-B1g42iP0.d.cts → Checkboxes-CR0Uu2g9.d.cts} +9 -9
- package/dist/{CheckboxGroup-B1g42iP0.d.ts → Checkboxes-CR0Uu2g9.d.ts} +9 -9
- package/dist/FieldArray/index.cjs +5 -5
- package/dist/FieldArray/index.d.cts +2 -2
- package/dist/FieldArray/index.d.ts +2 -2
- package/dist/FieldArray/index.js +4 -4
- package/dist/FieldArray-EP4otr2x.d.cts +160 -0
- package/dist/FieldArray-EP4otr2x.d.ts +160 -0
- package/dist/{FieldValidationError-CU_xw0BL.d.ts → FieldValidationError-DwtLkGMo.d.cts} +2 -2
- package/dist/{FieldValidationError-CU_xw0BL.d.cts → FieldValidationError-DwtLkGMo.d.ts} +2 -2
- package/dist/Form/index.cjs +6 -4
- package/dist/Form/index.cjs.map +1 -1
- package/dist/Form/index.js +5 -3
- package/dist/Input/index.cjs +5 -5
- package/dist/Input/index.d.cts +2 -2
- package/dist/Input/index.d.ts +2 -2
- package/dist/Input/index.js +4 -4
- package/dist/{Input-C6ujfEkn.d.ts → Input-CCIEnvIp.d.ts} +1 -1
- package/dist/{Input-BQkZtJx8.d.cts → Input-D7HT_8jf.d.cts} +1 -1
- package/dist/RadioBoxes/index.cjs +5 -5
- package/dist/RadioBoxes/index.d.cts +3 -2
- package/dist/RadioBoxes/index.d.ts +3 -2
- package/dist/RadioBoxes/index.js +4 -4
- package/dist/{RadioBoxes-CE3mYoFk.d.cts → RadioBoxes-DpkI28l0.d.cts} +3 -2
- package/dist/{RadioBoxes-CE3mYoFk.d.ts → RadioBoxes-DpkI28l0.d.ts} +3 -2
- package/dist/RadioTabs/index.cjs +5 -5
- package/dist/RadioTabs/index.d.cts +2 -2
- package/dist/RadioTabs/index.d.ts +2 -2
- package/dist/RadioTabs/index.js +4 -4
- package/dist/{RadioTabs-BCWW3tru.d.cts → RadioTabs-DTDcAZoH.d.cts} +1 -1
- package/dist/{RadioTabs-BCWW3tru.d.ts → RadioTabs-DTDcAZoH.d.ts} +1 -1
- package/dist/Radios/index.cjs +16 -0
- package/dist/Radios/index.cjs.map +1 -0
- package/dist/Radios/index.d.cts +9 -0
- package/dist/Radios/index.d.ts +9 -0
- package/dist/Radios/index.js +16 -0
- package/dist/{RadioGroup-CAOX80Xx.d.cts → Radios-DprlJhoq.d.cts} +9 -9
- package/dist/{RadioGroup-CAOX80Xx.d.ts → Radios-DprlJhoq.d.ts} +9 -9
- package/dist/Select/index.cjs +5 -5
- package/dist/Select/index.d.cts +2 -2
- package/dist/Select/index.d.ts +2 -2
- package/dist/Select/index.js +4 -4
- package/dist/{Select-CTRWinmO.d.cts → Select-CDkZmZp2.d.cts} +1 -1
- package/dist/{Select-CTRWinmO.d.ts → Select-CDkZmZp2.d.ts} +1 -1
- package/dist/SubmitButton/index.cjs +6 -4
- package/dist/SubmitButton/index.cjs.map +1 -1
- package/dist/SubmitButton/index.js +5 -3
- package/dist/Switch/index.cjs +5 -5
- package/dist/Switch/index.js +4 -4
- package/dist/TextArea/index.cjs +5 -5
- package/dist/TextArea/index.d.cts +4 -2
- package/dist/TextArea/index.d.ts +4 -2
- package/dist/TextArea/index.js +4 -4
- package/dist/TextArea-DhxNWYNg.d.cts +86 -0
- package/dist/TextArea-DhxNWYNg.d.ts +86 -0
- package/dist/chunk-2DHTL4PW.cjs +117 -0
- package/dist/chunk-2DHTL4PW.cjs.map +1 -0
- package/dist/{chunk-FOVP54XP.cjs → chunk-3NH4MEMM.cjs} +18 -27
- package/dist/chunk-3NH4MEMM.cjs.map +1 -0
- package/dist/{chunk-M2DNMSQZ.js → chunk-3Q3IUEGL.js} +52 -49
- package/dist/chunk-3Q3IUEGL.js.map +1 -0
- package/dist/{chunk-JSQ77E6L.js → chunk-4WRUHOGY.js} +49 -47
- package/dist/chunk-4WRUHOGY.js.map +1 -0
- package/dist/{chunk-KG4XCEPW.js → chunk-53XSXUNE.js} +42 -40
- package/dist/chunk-53XSXUNE.js.map +1 -0
- package/dist/{chunk-77C6VN4L.cjs → chunk-5LWD6VRV.cjs} +50 -47
- package/dist/chunk-5LWD6VRV.cjs.map +1 -0
- package/dist/{chunk-C64RKQEW.cjs → chunk-62AYJT2H.cjs} +3 -3
- package/dist/{chunk-C64RKQEW.cjs.map → chunk-62AYJT2H.cjs.map} +1 -1
- package/dist/chunk-76KOVUDN.js +138 -0
- package/dist/chunk-76KOVUDN.js.map +1 -0
- package/dist/{chunk-FHRMVL6B.js → chunk-AYWMAPAX.js} +134 -89
- package/dist/chunk-AYWMAPAX.js.map +1 -0
- package/dist/chunk-BWPTCHL7.cjs +103 -0
- package/dist/chunk-BWPTCHL7.cjs.map +1 -0
- package/dist/{chunk-2GYFDVXX.cjs → chunk-C5GIWGQR.cjs} +173 -33
- package/dist/chunk-C5GIWGQR.cjs.map +1 -0
- package/dist/{chunk-IYDCKENI.js → chunk-CJD3DW4J.js} +166 -26
- package/dist/chunk-CJD3DW4J.js.map +1 -0
- package/dist/{chunk-N2EEOWEP.cjs → chunk-CW4VK77Z.cjs} +59 -64
- package/dist/chunk-CW4VK77Z.cjs.map +1 -0
- package/dist/{chunk-LJQ35BUK.js → chunk-D2HI4KE4.js} +2 -2
- package/dist/chunk-DYTE5N3B.cjs +684 -0
- package/dist/chunk-DYTE5N3B.cjs.map +1 -0
- package/dist/chunk-ELYGQTXB.js +47 -0
- package/dist/chunk-ELYGQTXB.js.map +1 -0
- package/dist/chunk-GST3AQOR.js +684 -0
- package/dist/chunk-GST3AQOR.js.map +1 -0
- package/dist/{chunk-AYNTZPKL.cjs → chunk-HQNZYWJX.cjs} +132 -87
- package/dist/chunk-HQNZYWJX.cjs.map +1 -0
- package/dist/chunk-LLQLEDOO.js +103 -0
- package/dist/chunk-LLQLEDOO.js.map +1 -0
- package/dist/chunk-NHEZXA4H.cjs +47 -0
- package/dist/chunk-NHEZXA4H.cjs.map +1 -0
- package/dist/{chunk-M7VM7XBE.js → chunk-OCYJFIPV.js} +8 -8
- package/dist/chunk-OCYJFIPV.js.map +1 -0
- package/dist/{chunk-ORQO6JXK.cjs → chunk-S36CKKDV.cjs} +45 -43
- package/dist/chunk-S36CKKDV.cjs.map +1 -0
- package/dist/chunk-S7K35LVS.js +117 -0
- package/dist/chunk-S7K35LVS.js.map +1 -0
- package/dist/{chunk-Y3GELCDP.js → chunk-VLEYEBRE.js} +62 -67
- package/dist/chunk-VLEYEBRE.js.map +1 -0
- package/dist/{chunk-UGCZORU3.cjs → chunk-YIBISSMT.cjs} +9 -9
- package/dist/chunk-YIBISSMT.cjs.map +1 -0
- package/dist/chunk-Z353BLWI.cjs +138 -0
- package/dist/chunk-Z353BLWI.cjs.map +1 -0
- package/dist/{chunk-ULR4573W.cjs → chunk-ZLQCMOVU.cjs} +40 -38
- package/dist/chunk-ZLQCMOVU.cjs.map +1 -0
- package/dist/{chunk-2B6CDMOZ.js → chunk-ZN3ESUQR.js} +16 -25
- package/dist/chunk-ZN3ESUQR.js.map +1 -0
- package/dist/helpers/index.cjs +4 -2
- package/dist/helpers/index.cjs.map +1 -1
- package/dist/helpers/index.d.cts +54 -10
- package/dist/helpers/index.d.ts +54 -10
- package/dist/helpers/index.js +3 -1
- package/dist/hooks/index.cjs +7 -3
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.cts +86 -4
- package/dist/hooks/index.d.ts +86 -4
- package/dist/hooks/index.js +8 -4
- package/dist/index.cjs +20 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +30 -26
- package/dist/partials/FieldValidationError/index.cjs +2 -2
- package/dist/partials/FieldValidationError/index.d.cts +2 -2
- package/dist/partials/FieldValidationError/index.d.ts +2 -2
- package/dist/partials/FieldValidationError/index.js +1 -1
- package/package.json +13 -12
- package/dist/CheckboxGroup/index.cjs +0 -16
- package/dist/CheckboxGroup/index.cjs.map +0 -1
- package/dist/CheckboxGroup/index.d.cts +0 -10
- package/dist/CheckboxGroup/index.d.ts +0 -10
- package/dist/CheckboxGroup/index.js +0 -16
- package/dist/FieldArray-DVQka7Bh.d.cts +0 -130
- package/dist/FieldArray-DVQka7Bh.d.ts +0 -130
- package/dist/RadioGroup/index.cjs +0 -16
- package/dist/RadioGroup/index.d.cts +0 -9
- package/dist/RadioGroup/index.d.ts +0 -9
- package/dist/RadioGroup/index.js +0 -16
- package/dist/TextArea-DnFGyl4a.d.cts +0 -27
- package/dist/TextArea-DnFGyl4a.d.ts +0 -27
- package/dist/chunk-2B6CDMOZ.js.map +0 -1
- package/dist/chunk-2GYFDVXX.cjs.map +0 -1
- package/dist/chunk-77C6VN4L.cjs.map +0 -1
- package/dist/chunk-AYNTZPKL.cjs.map +0 -1
- package/dist/chunk-CQWA2DFV.js +0 -37
- package/dist/chunk-CQWA2DFV.js.map +0 -1
- package/dist/chunk-EEBHFSBY.cjs +0 -112
- package/dist/chunk-EEBHFSBY.cjs.map +0 -1
- package/dist/chunk-FHRMVL6B.js.map +0 -1
- package/dist/chunk-FOVP54XP.cjs.map +0 -1
- package/dist/chunk-IYDCKENI.js.map +0 -1
- package/dist/chunk-JSQ77E6L.js.map +0 -1
- package/dist/chunk-JZF4HUYO.cjs +0 -409
- package/dist/chunk-JZF4HUYO.cjs.map +0 -1
- package/dist/chunk-KG4XCEPW.js.map +0 -1
- package/dist/chunk-KQN55PEW.js +0 -76
- package/dist/chunk-KQN55PEW.js.map +0 -1
- package/dist/chunk-M2DNMSQZ.js.map +0 -1
- package/dist/chunk-M7VM7XBE.js.map +0 -1
- package/dist/chunk-N2EEOWEP.cjs.map +0 -1
- package/dist/chunk-NAZIH6HV.js +0 -409
- package/dist/chunk-NAZIH6HV.js.map +0 -1
- package/dist/chunk-ORQO6JXK.cjs.map +0 -1
- package/dist/chunk-RDBCJJI7.cjs +0 -88
- package/dist/chunk-RDBCJJI7.cjs.map +0 -1
- package/dist/chunk-RF7KNUCI.js +0 -88
- package/dist/chunk-RF7KNUCI.js.map +0 -1
- package/dist/chunk-UGCZORU3.cjs.map +0 -1
- package/dist/chunk-ULR4573W.cjs.map +0 -1
- package/dist/chunk-XKMLCM5K.js +0 -112
- package/dist/chunk-XKMLCM5K.js.map +0 -1
- package/dist/chunk-Y3AB4GV6.cjs +0 -37
- package/dist/chunk-Y3AB4GV6.cjs.map +0 -1
- package/dist/chunk-Y3GELCDP.js.map +0 -1
- package/dist/chunk-YGNY6CKU.cjs +0 -76
- package/dist/chunk-YGNY6CKU.cjs.map +0 -1
- /package/dist/{CheckboxGroup → Checkboxes}/index.js.map +0 -0
- /package/dist/{RadioGroup → Radios}/index.js.map +0 -0
- /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
|
-
|
|
3
|
-
} from "./chunk-
|
|
2
|
+
Radios_default
|
|
3
|
+
} from "./chunk-S7K35LVS.js";
|
|
4
4
|
import {
|
|
5
5
|
Select_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AYWMAPAX.js";
|
|
7
7
|
import {
|
|
8
8
|
SubmitButton_default
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-D2HI4KE4.js";
|
|
10
10
|
import {
|
|
11
11
|
Switch_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OCYJFIPV.js";
|
|
13
13
|
import {
|
|
14
14
|
TextArea_default
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LLQLEDOO.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./chunk-
|
|
17
|
+
Checkboxes_default
|
|
18
|
+
} from "./chunk-VLEYEBRE.js";
|
|
19
19
|
import {
|
|
20
20
|
FieldArray_default
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GST3AQOR.js";
|
|
22
22
|
import {
|
|
23
23
|
Form_default
|
|
24
|
-
} from "./chunk-
|
|
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-
|
|
30
|
+
} from "./chunk-3Q3IUEGL.js";
|
|
31
31
|
import {
|
|
32
32
|
RadioBoxes_default
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import {
|
|
35
|
-
RadioGroup_default
|
|
36
|
-
} from "./chunk-XKMLCM5K.js";
|
|
33
|
+
} from "./chunk-53XSXUNE.js";
|
|
37
34
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./chunk-
|
|
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
|
-
|
|
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-
|
|
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
|
-
|
|
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
|
|
4
|
+
var _chunkNHEZXA4Hcjs = require('../../chunk-NHEZXA4H.cjs');
|
|
5
5
|
require('../../chunk-555JRYCS.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.FieldValidationError =
|
|
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-
|
|
2
|
-
export { a as FieldValidationErrorProps } from '../../FieldValidationError-
|
|
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-
|
|
2
|
-
export { a as FieldValidationErrorProps } from '../../FieldValidationError-
|
|
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
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fuf-stack/uniform",
|
|
3
|
-
"version": "1.
|
|
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
|
-
"./
|
|
20
|
-
"types": "./dist/
|
|
21
|
-
"import": "./dist/
|
|
22
|
-
"require": "./dist/
|
|
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
|
-
"./
|
|
80
|
-
"types": "./dist/
|
|
81
|
-
"import": "./dist/
|
|
82
|
-
"require": "./dist/
|
|
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.
|
|
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/
|
|
146
|
+
"@fuf-stack/pixel-motion": "1.0.26",
|
|
147
147
|
"@fuf-stack/pixel-utils": "1.0.5",
|
|
148
|
-
"@fuf-stack/veto": "0.12.6"
|
|
148
|
+
"@fuf-stack/veto": "0.12.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 };
|
package/dist/RadioGroup/index.js
DELETED
|
@@ -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 };
|