@fuf-stack/uniform 1.4.2 → 1.5.1
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-Y3GELCDP.js → chunk-2QLCCB3L.js} +62 -67
- package/dist/chunk-2QLCCB3L.js.map +1 -0
- package/dist/chunk-3YDAYNNB.cjs +683 -0
- package/dist/chunk-3YDAYNNB.cjs.map +1 -0
- package/dist/chunk-4GBNXNCZ.js +683 -0
- package/dist/chunk-4GBNXNCZ.js.map +1 -0
- package/dist/{chunk-ULR4573W.cjs → chunk-4MMOSRT3.cjs} +40 -38
- package/dist/chunk-4MMOSRT3.cjs.map +1 -0
- package/dist/{chunk-FHRMVL6B.js → chunk-62BVHALF.js} +134 -89
- package/dist/chunk-62BVHALF.js.map +1 -0
- package/dist/{chunk-UGCZORU3.cjs → chunk-65BN4MRG.cjs} +9 -9
- package/dist/chunk-65BN4MRG.cjs.map +1 -0
- package/dist/{chunk-2B6CDMOZ.js → chunk-74NPRJVH.js} +16 -25
- package/dist/chunk-74NPRJVH.js.map +1 -0
- package/dist/chunk-76KOVUDN.js +138 -0
- package/dist/chunk-76KOVUDN.js.map +1 -0
- package/dist/{chunk-AYNTZPKL.cjs → chunk-7NWHDCME.cjs} +132 -87
- package/dist/chunk-7NWHDCME.cjs.map +1 -0
- package/dist/{chunk-IYDCKENI.js → chunk-CFH4VPJ4.js} +166 -26
- package/dist/chunk-CFH4VPJ4.js.map +1 -0
- package/dist/{chunk-KG4XCEPW.js → chunk-COLAXULB.js} +42 -40
- package/dist/chunk-COLAXULB.js.map +1 -0
- package/dist/{chunk-N2EEOWEP.cjs → chunk-DHO4HSO7.cjs} +59 -64
- package/dist/chunk-DHO4HSO7.cjs.map +1 -0
- package/dist/{chunk-77C6VN4L.cjs → chunk-EAJFV3AD.cjs} +50 -47
- package/dist/chunk-EAJFV3AD.cjs.map +1 -0
- package/dist/chunk-ELYGQTXB.js +47 -0
- package/dist/chunk-ELYGQTXB.js.map +1 -0
- package/dist/{chunk-FOVP54XP.cjs → chunk-EO4A7QGM.cjs} +18 -27
- package/dist/chunk-EO4A7QGM.cjs.map +1 -0
- package/dist/chunk-GVMEDVT5.cjs +117 -0
- package/dist/chunk-GVMEDVT5.cjs.map +1 -0
- package/dist/chunk-HSKFVCTS.js +103 -0
- package/dist/chunk-HSKFVCTS.js.map +1 -0
- package/dist/{chunk-2GYFDVXX.cjs → chunk-J5FFM7WG.cjs} +173 -33
- package/dist/chunk-J5FFM7WG.cjs.map +1 -0
- package/dist/{chunk-M2DNMSQZ.js → chunk-JLJB4A4K.js} +52 -49
- package/dist/chunk-JLJB4A4K.js.map +1 -0
- package/dist/{chunk-C64RKQEW.cjs → chunk-KBUECB4B.cjs} +3 -3
- package/dist/{chunk-C64RKQEW.cjs.map → chunk-KBUECB4B.cjs.map} +1 -1
- package/dist/chunk-NHEZXA4H.cjs +47 -0
- package/dist/chunk-NHEZXA4H.cjs.map +1 -0
- package/dist/chunk-RTFM4VRY.cjs +103 -0
- package/dist/chunk-RTFM4VRY.cjs.map +1 -0
- package/dist/{chunk-LJQ35BUK.js → chunk-RW35BB4P.js} +2 -2
- package/dist/{chunk-M7VM7XBE.js → chunk-SLTUNYTD.js} +8 -8
- package/dist/chunk-SLTUNYTD.js.map +1 -0
- package/dist/{chunk-YEKHVKS3.cjs → chunk-TFMVYQGN.cjs} +44 -42
- package/dist/chunk-TFMVYQGN.cjs.map +1 -0
- package/dist/chunk-TVMCTUQ4.js +117 -0
- package/dist/chunk-TVMCTUQ4.js.map +1 -0
- package/dist/chunk-Z353BLWI.cjs +138 -0
- package/dist/chunk-Z353BLWI.cjs.map +1 -0
- package/dist/{chunk-C52NGPIF.js → chunk-ZQ64MG7T.js} +48 -46
- package/dist/chunk-ZQ64MG7T.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 +12 -11
- 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-C52NGPIF.js.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-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-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-YEKHVKS3.cjs.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-RW35BB4P.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { F as FieldArray, a as FieldArrayChildrenRenderFn, b as FieldArrayFeatures, c as FieldArrayProps } from './FieldArray-
|
|
1
|
+
export { b as CheckboxOption, C as Checkboxes, a as CheckboxesProps } from './Checkboxes-CR0Uu2g9.cjs';
|
|
2
|
+
export { F as FieldArray, a as FieldArrayChildrenRenderFn, b as FieldArrayFeatures, c as FieldArrayProps } from './FieldArray-EP4otr2x.cjs';
|
|
3
3
|
export { F as Form, a as FormProps } from './Form-Cu0lWRDN.cjs';
|
|
4
4
|
export { G as Grid, a as GridProps } from './Grid-DF3L9NF3.cjs';
|
|
5
|
-
export { fromNullishString, toFormFormat, toNullishString, toValidationFormat } from './helpers/index.cjs';
|
|
6
|
-
export { UseControllerProps, UseControllerReturn, checkFieldIsRequired, useClientValidation, useController, useFormContext } from './hooks/index.cjs';
|
|
5
|
+
export { flatArrayKey, fromNullishString, toFormFormat, toNullishString, toValidationFormat } from './helpers/index.cjs';
|
|
6
|
+
export { UseControllerProps, UseControllerReturn, UseUniformFieldParams, UseUniformFieldReturn, checkFieldIsRequired, useClientValidation, useController, useFormContext, useUniformField } from './hooks/index.cjs';
|
|
7
7
|
export { useFieldArray } from 'react-hook-form';
|
|
8
8
|
export { useInput } from '@heroui/input';
|
|
9
9
|
export { UseInputValueDebounceOptions, UseInputValueDebounceReturn, useInputValueDebounce } from './hooks/useInputValueDebounce/index.cjs';
|
|
10
10
|
export { InputValueTransform, UseInputValueTransformOptions, UseInputValueTransformReturn, useInputValueTransform } from './hooks/useInputValueTransform/index.cjs';
|
|
11
|
-
export { I as Input, a as InputProps } from './Input-
|
|
11
|
+
export { I as Input, a as InputProps } from './Input-D7HT_8jf.cjs';
|
|
12
12
|
export { F as FieldCopyTestIdButton, a as FieldCopyTestIdButtonProps } from './FieldCopyTestIdButton-_TDlmw0L.cjs';
|
|
13
|
-
export { F as FieldValidationError, a as FieldValidationErrorProps } from './FieldValidationError-
|
|
14
|
-
export { R as RadioBoxes, a as RadioBoxesProps } from './RadioBoxes-
|
|
15
|
-
export { R as
|
|
16
|
-
export { R as RadioTabs, a as RadioTabsProps } from './RadioTabs-
|
|
17
|
-
export { S as Select, a as SelectProps } from './Select-
|
|
13
|
+
export { F as FieldValidationError, a as FieldValidationErrorProps } from './FieldValidationError-DwtLkGMo.cjs';
|
|
14
|
+
export { R as RadioBoxes, a as RadioBoxesProps } from './RadioBoxes-DpkI28l0.cjs';
|
|
15
|
+
export { R as Radios, a as RadiosProps } from './Radios-DprlJhoq.cjs';
|
|
16
|
+
export { R as RadioTabs, a as RadioTabsProps } from './RadioTabs-DTDcAZoH.cjs';
|
|
17
|
+
export { S as Select, a as SelectProps } from './Select-CDkZmZp2.cjs';
|
|
18
18
|
export { S as SubmitButton, a as SubmitButtonProps } from './SubmitButton-DqaxyVpp.cjs';
|
|
19
19
|
export { S as Switch, a as SwitchProps } from './Switch-Hr6PnK98.cjs';
|
|
20
|
-
export { T as TextArea, a as TextAreaProps } from './TextArea-
|
|
20
|
+
export { T as TextArea, a as TextAreaProps } from './TextArea-DhxNWYNg.cjs';
|
|
21
21
|
import 'react/jsx-runtime';
|
|
22
22
|
import 'tailwind-variants';
|
|
23
23
|
import '@fuf-stack/pixel-utils';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { F as FieldArray, a as FieldArrayChildrenRenderFn, b as FieldArrayFeatures, c as FieldArrayProps } from './FieldArray-
|
|
1
|
+
export { b as CheckboxOption, C as Checkboxes, a as CheckboxesProps } from './Checkboxes-CR0Uu2g9.js';
|
|
2
|
+
export { F as FieldArray, a as FieldArrayChildrenRenderFn, b as FieldArrayFeatures, c as FieldArrayProps } from './FieldArray-EP4otr2x.js';
|
|
3
3
|
export { F as Form, a as FormProps } from './Form-C_11i6PA.js';
|
|
4
4
|
export { G as Grid, a as GridProps } from './Grid-DF3L9NF3.js';
|
|
5
|
-
export { fromNullishString, toFormFormat, toNullishString, toValidationFormat } from './helpers/index.js';
|
|
6
|
-
export { UseControllerProps, UseControllerReturn, checkFieldIsRequired, useClientValidation, useController, useFormContext } from './hooks/index.js';
|
|
5
|
+
export { flatArrayKey, fromNullishString, toFormFormat, toNullishString, toValidationFormat } from './helpers/index.js';
|
|
6
|
+
export { UseControllerProps, UseControllerReturn, UseUniformFieldParams, UseUniformFieldReturn, checkFieldIsRequired, useClientValidation, useController, useFormContext, useUniformField } from './hooks/index.js';
|
|
7
7
|
export { useFieldArray } from 'react-hook-form';
|
|
8
8
|
export { useInput } from '@heroui/input';
|
|
9
9
|
export { UseInputValueDebounceOptions, UseInputValueDebounceReturn, useInputValueDebounce } from './hooks/useInputValueDebounce/index.js';
|
|
10
10
|
export { InputValueTransform, UseInputValueTransformOptions, UseInputValueTransformReturn, useInputValueTransform } from './hooks/useInputValueTransform/index.js';
|
|
11
|
-
export { I as Input, a as InputProps } from './Input-
|
|
11
|
+
export { I as Input, a as InputProps } from './Input-CCIEnvIp.js';
|
|
12
12
|
export { F as FieldCopyTestIdButton, a as FieldCopyTestIdButtonProps } from './FieldCopyTestIdButton-_TDlmw0L.js';
|
|
13
|
-
export { F as FieldValidationError, a as FieldValidationErrorProps } from './FieldValidationError-
|
|
14
|
-
export { R as RadioBoxes, a as RadioBoxesProps } from './RadioBoxes-
|
|
15
|
-
export { R as
|
|
16
|
-
export { R as RadioTabs, a as RadioTabsProps } from './RadioTabs-
|
|
17
|
-
export { S as Select, a as SelectProps } from './Select-
|
|
13
|
+
export { F as FieldValidationError, a as FieldValidationErrorProps } from './FieldValidationError-DwtLkGMo.js';
|
|
14
|
+
export { R as RadioBoxes, a as RadioBoxesProps } from './RadioBoxes-DpkI28l0.js';
|
|
15
|
+
export { R as Radios, a as RadiosProps } from './Radios-DprlJhoq.js';
|
|
16
|
+
export { R as RadioTabs, a as RadioTabsProps } from './RadioTabs-DTDcAZoH.js';
|
|
17
|
+
export { S as Select, a as SelectProps } from './Select-CDkZmZp2.js';
|
|
18
18
|
export { S as SubmitButton, a as SubmitButtonProps } from './SubmitButton-DqaxyVpp.js';
|
|
19
19
|
export { S as Switch, a as SwitchProps } from './Switch-Hr6PnK98.js';
|
|
20
|
-
export { T as TextArea, a as TextAreaProps } from './TextArea-
|
|
20
|
+
export { T as TextArea, a as TextAreaProps } from './TextArea-DhxNWYNg.js';
|
|
21
21
|
import 'react/jsx-runtime';
|
|
22
22
|
import 'tailwind-variants';
|
|
23
23
|
import '@fuf-stack/pixel-utils';
|
package/dist/index.js
CHANGED
|
@@ -1,59 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
2
|
+
Radios_default
|
|
3
|
+
} from "./chunk-TVMCTUQ4.js";
|
|
4
4
|
import {
|
|
5
5
|
Select_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-62BVHALF.js";
|
|
7
7
|
import {
|
|
8
8
|
SubmitButton_default
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RW35BB4P.js";
|
|
10
10
|
import {
|
|
11
11
|
Switch_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SLTUNYTD.js";
|
|
13
13
|
import {
|
|
14
14
|
TextArea_default
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HSKFVCTS.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./chunk-
|
|
17
|
+
Checkboxes_default
|
|
18
|
+
} from "./chunk-2QLCCB3L.js";
|
|
19
19
|
import {
|
|
20
20
|
FieldArray_default
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4GBNXNCZ.js";
|
|
22
22
|
import {
|
|
23
23
|
Form_default
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-74NPRJVH.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-JLJB4A4K.js";
|
|
31
31
|
import {
|
|
32
32
|
RadioBoxes_default
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import {
|
|
35
|
-
RadioGroup_default
|
|
36
|
-
} from "./chunk-XKMLCM5K.js";
|
|
33
|
+
} from "./chunk-COLAXULB.js";
|
|
37
34
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import {
|
|
41
|
-
FieldValidationError_default
|
|
42
|
-
} from "./chunk-CQWA2DFV.js";
|
|
35
|
+
RadioTabs_default
|
|
36
|
+
} from "./chunk-ZQ64MG7T.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-CFH4VPJ4.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.1",
|
|
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/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.
|
|
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 };
|