@fuf-stack/uniform 1.16.0 → 1.17.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.d.cts +1 -1
- package/dist/Checkboxes/index.d.ts +1 -1
- package/dist/FieldArray/index.d.cts +1 -1
- package/dist/FieldArray/index.d.ts +1 -1
- package/dist/FieldCard/index.cjs +1 -1
- package/dist/FieldCard/index.d.cts +1 -1
- package/dist/FieldCard/index.d.ts +1 -1
- package/dist/FieldCard/index.js +1 -1
- package/dist/{FieldCard-DcMORXZR.cjs → FieldCard-38ZBBWyE.cjs} +52 -8
- package/dist/FieldCard-38ZBBWyE.cjs.map +1 -0
- package/dist/{FieldCard-DZSiMFoO.js → FieldCard-7XiCb6jZ.js} +52 -8
- package/dist/FieldCard-7XiCb6jZ.js.map +1 -0
- package/dist/Grid/index.d.cts +1 -1
- package/dist/Grid/index.d.ts +1 -1
- package/dist/Input/index.d.cts +1 -1
- package/dist/Input/index.d.ts +1 -1
- package/dist/RadioBoxes/index.d.cts +1 -1
- package/dist/RadioBoxes/index.d.ts +1 -1
- package/dist/RadioTabs/index.d.ts +1 -1
- package/dist/Radios/index.d.cts +1 -1
- package/dist/Radios/index.d.ts +1 -1
- package/dist/Select/index.d.cts +1 -1
- package/dist/Select/index.d.ts +1 -1
- package/dist/Slider/index.d.cts +1 -1
- package/dist/Slider/index.d.ts +1 -1
- package/dist/SubmitButton/index.d.cts +1 -1
- package/dist/SubmitButton/index.d.ts +1 -1
- package/dist/Switch/index.d.cts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/SwitchBox/index.d.cts +1 -1
- package/dist/SwitchBox/index.d.ts +1 -1
- package/dist/TextArea/index.d.cts +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/helpers/index.d.cts +186 -2
- package/dist/helpers/index.d.cts.map +1 -0
- package/dist/helpers/index.d.ts +186 -2
- package/dist/helpers/index.d.ts.map +1 -0
- package/dist/hooks/useClientValidation/index.d.cts +1 -1
- package/dist/hooks/useClientValidation/index.d.ts +1 -1
- package/dist/hooks/useController/index.d.cts +1 -1
- package/dist/hooks/useController/index.d.ts +2 -1
- package/dist/hooks/useFormContext/index.d.cts +1 -1
- package/dist/hooks/useFormContext/index.d.ts +1 -1
- package/dist/hooks/useUniformField/index.d.cts +1 -1
- package/dist/hooks/useUniformField/index.d.ts +3 -3
- package/dist/hooks/useUniformFieldArray/index.d.cts +1 -1
- package/dist/hooks/useUniformFieldArray/index.d.ts +4 -24
- package/dist/hooks/useWatchUserChange/index.d.cts +1 -1
- package/dist/hooks/useWatchUserChange/index.d.ts +1 -1
- package/dist/{index-BZrLB2p0.d.cts → index-796vjEop.d.ts} +34 -34
- package/dist/index-796vjEop.d.ts.map +1 -0
- package/dist/{index-2SVlCM0Y.d.cts → index-B62CWrcm.d.ts} +21 -21
- package/dist/index-B62CWrcm.d.ts.map +1 -0
- package/dist/{index-DS4AP9pV.d.ts → index-BD9y--o2.d.cts} +6 -6
- package/dist/{index-DymdaDrj.d.cts.map → index-BD9y--o2.d.cts.map} +1 -1
- package/dist/{index-BbA9HcNa.d.cts → index-BFLKkqA3.d.ts} +3 -3
- package/dist/{index-CCeHSmIe.d.ts.map → index-BFLKkqA3.d.ts.map} +1 -1
- package/dist/{index-CJ90vm9t.d.ts → index-BV_YDI6g.d.ts} +6 -6
- package/dist/{index-CJ90vm9t.d.ts.map → index-BV_YDI6g.d.ts.map} +1 -1
- package/dist/{index-CCeHSmIe.d.ts → index-BW9EUWZE.d.cts} +2 -2
- package/dist/{index-BbA9HcNa.d.cts.map → index-BW9EUWZE.d.cts.map} +1 -1
- package/dist/{index-DymdaDrj.d.cts → index-B_1td56I.d.ts} +6 -6
- package/dist/{index-DS4AP9pV.d.ts.map → index-B_1td56I.d.ts.map} +1 -1
- package/dist/{index-noH6pESQ.d.ts → index-BgXr1v45.d.cts} +34 -34
- package/dist/index-BgXr1v45.d.cts.map +1 -0
- package/dist/{index-tIGuHSXb.d.ts → index-C3CvgmJw.d.ts} +4 -4
- package/dist/{index-tIGuHSXb.d.ts.map → index-C3CvgmJw.d.ts.map} +1 -1
- package/dist/{index-B2IL9Zt7.d.cts → index-C4-1V8jn.d.ts} +3 -3
- package/dist/{index-CPcJGZVS.d.ts.map → index-C4-1V8jn.d.ts.map} +1 -1
- package/dist/{index-D-ucmG60.d.ts → index-CB00FCyi.d.ts} +21 -21
- package/dist/index-CB00FCyi.d.ts.map +1 -0
- package/dist/index-CFBmva_r.d.ts +1 -0
- package/dist/index-COwP53Gx.d.ts +278 -0
- package/dist/{index-CRYEKT3o.d.ts.map → index-COwP53Gx.d.ts.map} +1 -1
- package/dist/{index-Ct2YYfiU.d.cts → index-CUy2EDqc.d.cts} +6 -6
- package/dist/{index-Ct2YYfiU.d.cts.map → index-CUy2EDqc.d.cts.map} +1 -1
- package/dist/{index-CpVfOXNv.d.cts → index-CbAh0Kfo.d.cts} +3 -3
- package/dist/{index-CpVfOXNv.d.cts.map → index-CbAh0Kfo.d.cts.map} +1 -1
- package/dist/{index-FHPC_VE1.d.ts → index-Cj-PU3Ck.d.ts} +35 -35
- package/dist/{index-FHPC_VE1.d.ts.map → index-Cj-PU3Ck.d.ts.map} +1 -1
- package/dist/{index-CdXOAPMb.d.ts → index-CrxSEKKb.d.cts} +48 -48
- package/dist/index-CrxSEKKb.d.cts.map +1 -0
- package/dist/{index-DYErnCVV.d.cts → index-D3RMbKbP.d.cts} +36 -36
- package/dist/{index-DYErnCVV.d.cts.map → index-D3RMbKbP.d.cts.map} +1 -1
- package/dist/{index-DaBgwR1t.d.cts → index-DAeb_8Q4.d.cts} +21 -21
- package/dist/{index-DaBgwR1t.d.cts.map → index-DAeb_8Q4.d.cts.map} +1 -1
- package/dist/{index-CPcJGZVS.d.ts → index-DEJghucW.d.cts} +3 -3
- package/dist/{index-B2IL9Zt7.d.cts.map → index-DEJghucW.d.cts.map} +1 -1
- package/dist/{index-lot50R9R.d.ts → index-DJbdReTK.d.ts} +3 -3
- package/dist/{index-lot50R9R.d.ts.map → index-DJbdReTK.d.ts.map} +1 -1
- package/dist/{index-CZ5EIIjq.d.cts → index-DTURD6sl.d.cts} +6 -6
- package/dist/{index-CZ5EIIjq.d.cts.map → index-DTURD6sl.d.cts.map} +1 -1
- package/dist/{index-BKCiuwim.d.cts → index-DebErIUS.d.ts} +48 -48
- package/dist/{index-CdXOAPMb.d.ts.map → index-DebErIUS.d.ts.map} +1 -1
- package/dist/{index-D5rTKWm9.d.cts → index-DfGCI-K_.d.cts} +99 -99
- package/dist/index-DfGCI-K_.d.cts.map +1 -0
- package/dist/{index-Djc5tmi3.d.ts → index-DjDR6FpI.d.ts} +36 -36
- package/dist/{index-Djc5tmi3.d.ts.map → index-DjDR6FpI.d.ts.map} +1 -1
- package/dist/{index-PU5WNOH9.d.cts → index-DsyY9X04.d.cts} +3 -3
- package/dist/{index-PU5WNOH9.d.cts.map → index-DsyY9X04.d.cts.map} +1 -1
- package/dist/{index-BuX42Bbd.d.ts → index-DxfiwbJb.d.cts} +18 -6
- package/dist/index-DxfiwbJb.d.cts.map +1 -0
- package/dist/{index-DubKudrE.d.ts → index-Dy0m4FQj.d.ts} +6 -6
- package/dist/{index-DubKudrE.d.ts.map → index-Dy0m4FQj.d.ts.map} +1 -1
- package/dist/{index-BDvr4eaz.d.ts → index-Y8XsRdxS.d.cts} +21 -21
- package/dist/{index-2SVlCM0Y.d.cts.map → index-Y8XsRdxS.d.cts.map} +1 -1
- package/dist/{index-DW1uBiAf.d.cts → index-gWYaaO6O.d.ts} +18 -6
- package/dist/index-gWYaaO6O.d.ts.map +1 -0
- package/dist/index-lQ_hGQ08.d.cts +1 -0
- package/dist/{index-hacHTzh4.d.cts → index-nVYabHcT.d.cts} +33 -33
- package/dist/{index-hacHTzh4.d.cts.map → index-nVYabHcT.d.cts.map} +1 -1
- package/dist/{index-CVY05bZf.d.ts → index-pE9osud2.d.ts} +3 -3
- package/dist/{index-CVY05bZf.d.ts.map → index-pE9osud2.d.ts.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +22 -22
- package/dist/index.d.ts +24 -23
- package/dist/index.js +1 -1
- package/dist/partials/FieldCopyTestIdButton/index.d.cts +1 -1
- package/dist/partials/FieldCopyTestIdButton/index.d.ts +1 -1
- package/dist/partials/FieldValidationError/index.d.cts +1 -1
- package/dist/partials/FieldValidationError/index.d.ts +1 -1
- package/dist/{useClientValidation-Bv0yxTyV.d.ts → useClientValidation-Bg0q3Axc.d.ts} +1 -1
- package/dist/{useClientValidation-Bv0yxTyV.d.ts.map → useClientValidation-Bg0q3Axc.d.ts.map} +1 -1
- package/dist/{useClientValidation-DSMw7f-t.d.cts → useClientValidation-BvPDQmf6.d.cts} +1 -1
- package/dist/{useClientValidation-DSMw7f-t.d.cts.map → useClientValidation-BvPDQmf6.d.cts.map} +1 -1
- package/dist/{useController-Co8wbo-Y.d.ts → useController-BJ2SBdky.d.ts} +1 -1
- package/dist/{useController-Co8wbo-Y.d.ts.map → useController-BJ2SBdky.d.ts.map} +1 -1
- package/dist/{useController-B-DhUPpA.d.cts → useController-C6Pg9T_3.d.cts} +1 -1
- package/dist/{useController-B-DhUPpA.d.cts.map → useController-C6Pg9T_3.d.cts.map} +1 -1
- package/dist/{useFormContext-DDx8LD8e.d.ts → useFormContext-B2TS6xq0.d.ts} +3 -3
- package/dist/useFormContext-B2TS6xq0.d.ts.map +1 -0
- package/dist/{useFormContext-oEivkWtB.d.cts → useFormContext-n3WYgGkW.d.cts} +19 -19
- package/dist/useFormContext-n3WYgGkW.d.cts.map +1 -0
- package/dist/{useUniformField-q3GCAV85.d.ts → useUniformField-CXSaAVTt.d.ts} +3 -3
- package/dist/{useUniformField-q3GCAV85.d.ts.map → useUniformField-CXSaAVTt.d.ts.map} +1 -1
- package/dist/{useUniformField-DFXQO9dw.d.cts → useUniformField-ETnay_UI.d.cts} +3 -3
- package/dist/{useUniformField-DFXQO9dw.d.cts.map → useUniformField-ETnay_UI.d.cts.map} +1 -1
- package/dist/{useUniformFieldArray-B3smveBW.d.cts → useUniformFieldArray-4pUdrWYT.d.cts} +14 -14
- package/dist/{useUniformFieldArray-B3smveBW.d.cts.map → useUniformFieldArray-4pUdrWYT.d.cts.map} +1 -1
- package/dist/{useUniformFieldArray-CmACueEO.d.ts → useUniformFieldArray-COtgcAnp.d.ts} +3 -3
- package/dist/{useUniformFieldArray-CmACueEO.d.ts.map → useUniformFieldArray-COtgcAnp.d.ts.map} +1 -1
- package/dist/{useWatchUserChange-JMU-vN92.d.ts → useWatchUserChange-DX6gUHvM.d.ts} +1 -1
- package/dist/{useWatchUserChange-JMU-vN92.d.ts.map → useWatchUserChange-DX6gUHvM.d.ts.map} +1 -1
- package/dist/{useWatchUserChange-DahNCPDG.d.cts → useWatchUserChange-cI5-j6M4.d.cts} +1 -1
- package/dist/{useWatchUserChange-DahNCPDG.d.cts.map → useWatchUserChange-cI5-j6M4.d.cts.map} +1 -1
- package/package.json +2 -2
- package/dist/FieldCard-DZSiMFoO.js.map +0 -1
- package/dist/FieldCard-DcMORXZR.cjs.map +0 -1
- package/dist/index-BDvr4eaz.d.ts.map +0 -1
- package/dist/index-BKCiuwim.d.cts.map +0 -1
- package/dist/index-BPjrrFuM.d.ts +0 -186
- package/dist/index-BPjrrFuM.d.ts.map +0 -1
- package/dist/index-BTr_gid3.d.cts +0 -186
- package/dist/index-BTr_gid3.d.cts.map +0 -1
- package/dist/index-BZrLB2p0.d.cts.map +0 -1
- package/dist/index-BuX42Bbd.d.ts.map +0 -1
- package/dist/index-CRYEKT3o.d.ts +0 -278
- package/dist/index-D-ucmG60.d.ts.map +0 -1
- package/dist/index-D5rTKWm9.d.cts.map +0 -1
- package/dist/index-DW1uBiAf.d.cts.map +0 -1
- package/dist/index-noH6pESQ.d.ts.map +0 -1
- package/dist/useFormContext-DDx8LD8e.d.ts.map +0 -1
- package/dist/useFormContext-oEivkWtB.d.cts.map +0 -1
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import * as tailwind_variants203 from "tailwind-variants";
|
|
2
|
-
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
3
1
|
import { TVClassName } from "@fuf-stack/pixel-utils";
|
|
4
2
|
import { ReactNode } from "react";
|
|
3
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
4
|
+
import * as tailwind_variants64 from "tailwind-variants";
|
|
5
5
|
|
|
6
6
|
//#region src/FieldCard/FieldCard.d.ts
|
|
7
7
|
|
|
8
|
-
declare const fieldCardVariants:
|
|
8
|
+
declare const fieldCardVariants: tailwind_variants64.TVReturnType<{
|
|
9
9
|
invalid: {
|
|
10
10
|
true: {
|
|
11
11
|
base: string;
|
|
12
12
|
label: string;
|
|
13
13
|
errorFooter: string;
|
|
14
|
+
errorText: string;
|
|
14
15
|
};
|
|
15
16
|
false: {
|
|
16
17
|
base: string;
|
|
17
18
|
label: string;
|
|
18
19
|
errorFooter: string;
|
|
20
|
+
errorText: string;
|
|
19
21
|
};
|
|
20
22
|
};
|
|
21
23
|
}, {
|
|
@@ -27,17 +29,21 @@ declare const fieldCardVariants: tailwind_variants203.TVReturnType<{
|
|
|
27
29
|
content: string[];
|
|
28
30
|
/** class for the error footer wrapper */
|
|
29
31
|
errorFooter: string[];
|
|
32
|
+
/** class for the error text (empty base, color controlled by variant) */
|
|
33
|
+
errorText: never[];
|
|
30
34
|
}, undefined, {
|
|
31
35
|
invalid: {
|
|
32
36
|
true: {
|
|
33
37
|
base: string;
|
|
34
38
|
label: string;
|
|
35
39
|
errorFooter: string;
|
|
40
|
+
errorText: string;
|
|
36
41
|
};
|
|
37
42
|
false: {
|
|
38
43
|
base: string;
|
|
39
44
|
label: string;
|
|
40
45
|
errorFooter: string;
|
|
46
|
+
errorText: string;
|
|
41
47
|
};
|
|
42
48
|
};
|
|
43
49
|
}, {
|
|
@@ -49,17 +55,21 @@ declare const fieldCardVariants: tailwind_variants203.TVReturnType<{
|
|
|
49
55
|
content: string[];
|
|
50
56
|
/** class for the error footer wrapper */
|
|
51
57
|
errorFooter: string[];
|
|
52
|
-
|
|
58
|
+
/** class for the error text (empty base, color controlled by variant) */
|
|
59
|
+
errorText: never[];
|
|
60
|
+
}, tailwind_variants64.TVReturnType<{
|
|
53
61
|
invalid: {
|
|
54
62
|
true: {
|
|
55
63
|
base: string;
|
|
56
64
|
label: string;
|
|
57
65
|
errorFooter: string;
|
|
66
|
+
errorText: string;
|
|
58
67
|
};
|
|
59
68
|
false: {
|
|
60
69
|
base: string;
|
|
61
70
|
label: string;
|
|
62
71
|
errorFooter: string;
|
|
72
|
+
errorText: string;
|
|
63
73
|
};
|
|
64
74
|
};
|
|
65
75
|
}, {
|
|
@@ -71,6 +81,8 @@ declare const fieldCardVariants: tailwind_variants203.TVReturnType<{
|
|
|
71
81
|
content: string[];
|
|
72
82
|
/** class for the error footer wrapper */
|
|
73
83
|
errorFooter: string[];
|
|
84
|
+
/** class for the error text (empty base, color controlled by variant) */
|
|
85
|
+
errorText: never[];
|
|
74
86
|
}, undefined, unknown, unknown, undefined>>;
|
|
75
87
|
type ClassName = TVClassName<typeof fieldCardVariants>;
|
|
76
88
|
interface FieldCardProps {
|
|
@@ -99,7 +111,7 @@ declare const FieldCard: ({
|
|
|
99
111
|
className: _className,
|
|
100
112
|
name,
|
|
101
113
|
...uniformFieldProps
|
|
102
|
-
}: FieldCardProps) =>
|
|
114
|
+
}: FieldCardProps) => react_jsx_runtime6.JSX.Element;
|
|
103
115
|
//#endregion
|
|
104
116
|
export { FieldCardProps as n, fieldCardVariants as r, FieldCard as t };
|
|
105
|
-
//# sourceMappingURL=index-
|
|
117
|
+
//# sourceMappingURL=index-gWYaaO6O.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-gWYaaO6O.d.ts","names":[],"sources":["../src/FieldCard/FieldCard.tsx"],"sourcesContent":[],"mappings":";;;;;;;AA6MG,cAxFU,iBAwFV,EA/BD,mBAAA,CAzD4B,YAwF3B,CAAA;EAAc,OAAA,EAAA;IAwHhB,IAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAvJC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEG,SAAA,GAAY,mBAAmB;UAEnB,cAAA;;YAEL;;cAEE;;SAEL;;;;;;;;;;;;;;;cAgBH;;aAAa;;;GAKhB,mBAAc,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants113 from "tailwind-variants";
|
|
2
2
|
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
3
3
|
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/RadioBoxes/RadioBoxes.d.ts
|
|
7
|
-
declare const radioBoxesVariants:
|
|
7
|
+
declare const radioBoxesVariants: tailwind_variants113.TVReturnType<{
|
|
8
8
|
[key: string]: {
|
|
9
|
-
[key: string]:
|
|
10
|
-
base?:
|
|
11
|
-
label?:
|
|
12
|
-
wrapper?:
|
|
13
|
-
boxBase?:
|
|
14
|
-
boxControl?:
|
|
15
|
-
boxDescription?:
|
|
16
|
-
boxLabel?:
|
|
17
|
-
boxLabelWrapper?:
|
|
9
|
+
[key: string]: tailwind_variants113.ClassValue | {
|
|
10
|
+
base?: tailwind_variants113.ClassValue;
|
|
11
|
+
label?: tailwind_variants113.ClassValue;
|
|
12
|
+
wrapper?: tailwind_variants113.ClassValue;
|
|
13
|
+
boxBase?: tailwind_variants113.ClassValue;
|
|
14
|
+
boxControl?: tailwind_variants113.ClassValue;
|
|
15
|
+
boxDescription?: tailwind_variants113.ClassValue;
|
|
16
|
+
boxLabel?: tailwind_variants113.ClassValue;
|
|
17
|
+
boxLabelWrapper?: tailwind_variants113.ClassValue;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
} | {
|
|
21
21
|
[x: string]: {
|
|
22
|
-
[x: string]:
|
|
23
|
-
base?:
|
|
24
|
-
label?:
|
|
25
|
-
wrapper?:
|
|
26
|
-
boxBase?:
|
|
27
|
-
boxControl?:
|
|
28
|
-
boxDescription?:
|
|
29
|
-
boxLabel?:
|
|
30
|
-
boxLabelWrapper?:
|
|
22
|
+
[x: string]: tailwind_variants113.ClassValue | {
|
|
23
|
+
base?: tailwind_variants113.ClassValue;
|
|
24
|
+
label?: tailwind_variants113.ClassValue;
|
|
25
|
+
wrapper?: tailwind_variants113.ClassValue;
|
|
26
|
+
boxBase?: tailwind_variants113.ClassValue;
|
|
27
|
+
boxControl?: tailwind_variants113.ClassValue;
|
|
28
|
+
boxDescription?: tailwind_variants113.ClassValue;
|
|
29
|
+
boxLabel?: tailwind_variants113.ClassValue;
|
|
30
|
+
boxLabelWrapper?: tailwind_variants113.ClassValue;
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
} | {}, {
|
|
@@ -41,15 +41,15 @@ declare const radioBoxesVariants: tailwind_variants174.TVReturnType<{
|
|
|
41
41
|
wrapper: string;
|
|
42
42
|
}, undefined, {
|
|
43
43
|
[key: string]: {
|
|
44
|
-
[key: string]:
|
|
45
|
-
base?:
|
|
46
|
-
label?:
|
|
47
|
-
wrapper?:
|
|
48
|
-
boxBase?:
|
|
49
|
-
boxControl?:
|
|
50
|
-
boxDescription?:
|
|
51
|
-
boxLabel?:
|
|
52
|
-
boxLabelWrapper?:
|
|
44
|
+
[key: string]: tailwind_variants113.ClassValue | {
|
|
45
|
+
base?: tailwind_variants113.ClassValue;
|
|
46
|
+
label?: tailwind_variants113.ClassValue;
|
|
47
|
+
wrapper?: tailwind_variants113.ClassValue;
|
|
48
|
+
boxBase?: tailwind_variants113.ClassValue;
|
|
49
|
+
boxControl?: tailwind_variants113.ClassValue;
|
|
50
|
+
boxDescription?: tailwind_variants113.ClassValue;
|
|
51
|
+
boxLabel?: tailwind_variants113.ClassValue;
|
|
52
|
+
boxLabelWrapper?: tailwind_variants113.ClassValue;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
} | {}, {
|
|
@@ -61,7 +61,7 @@ declare const radioBoxesVariants: tailwind_variants174.TVReturnType<{
|
|
|
61
61
|
boxLabelWrapper: string;
|
|
62
62
|
label: string;
|
|
63
63
|
wrapper: string;
|
|
64
|
-
},
|
|
64
|
+
}, tailwind_variants113.TVReturnType<unknown, {
|
|
65
65
|
base: string;
|
|
66
66
|
boxBase: string;
|
|
67
67
|
boxControl: string;
|
|
@@ -117,7 +117,7 @@ declare const RadioBoxes: ({
|
|
|
117
117
|
}: RadioBoxesProps) => react_jsx_runtime5.JSX.Element;
|
|
118
118
|
//#endregion
|
|
119
119
|
//#region src/RadioBoxes/RadioBox.d.ts
|
|
120
|
-
declare const radioBoxVariants:
|
|
120
|
+
declare const radioBoxVariants: tailwind_variants113.TVReturnType<{
|
|
121
121
|
isDisabled: {
|
|
122
122
|
true: {
|
|
123
123
|
base: string;
|
|
@@ -153,7 +153,7 @@ declare const radioBoxVariants: tailwind_variants174.TVReturnType<{
|
|
|
153
153
|
icon: string;
|
|
154
154
|
label: string;
|
|
155
155
|
labelWrapper: string;
|
|
156
|
-
},
|
|
156
|
+
}, tailwind_variants113.TVReturnType<{
|
|
157
157
|
isDisabled: {
|
|
158
158
|
true: {
|
|
159
159
|
base: string;
|
|
@@ -174,4 +174,4 @@ declare const radioBoxVariants: tailwind_variants174.TVReturnType<{
|
|
|
174
174
|
}, undefined, unknown, unknown, undefined>>;
|
|
175
175
|
//#endregion
|
|
176
176
|
export { RadioBoxes as n, RadioBoxesProps as r, radioBoxVariants as t };
|
|
177
|
-
//# sourceMappingURL=index-
|
|
177
|
+
//# sourceMappingURL=index-nVYabHcT.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-nVYabHcT.d.cts","names":[],"sources":["../src/RadioBoxes/RadioBoxes.tsx","../src/RadioBoxes/RadioBox.tsx"],"sourcesContent":[],"mappings":";;;;;;cAaa,yCAAkB;;mBAc7B,oBAAA,CAAA,UAAA;;MAdW,KAAA,CAAA,iCAcX;MAAA,OAAA,CAAA,iCAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAd6B,OAAA,EAAA,MAAA;AAc5B,CAAA,EAAA,SAEE,EAAA;EACA,CAAA,GAAA,EAAA,MAAS,CAAA,EAAA;IAEG,CAAA,GAAA,EAAA,MAAA,CAAA,oCAAgB;MAEjB,IAAA,CAAA,iCAAA;MAIN,KAAA,CAAA,iCAAA;MAED,OAAA,CAAA,iCAAA;MAAS,OAAA,CAAA,iCAAA;MAOD,UAAgB,CAAA,iCAAA;MAInB,cAAA,CAAA,iCAAA;MAMJ,QAAA,CAAA,iCAAA;MAIC,eAAA,CAAA,iCAAA;IAd8B,CAAA;EAAY,CAAA;AAiBpD,CAAA,GAKK,CAAA,CAAA,EAAA;EAAc,IAAA,EAAA,MAAA;EAAA,OAAA,EAAA,MAAA;EAAA,UAAA,EAAA,MAAA;EAAA,cAAA,EAAA,MAAA;EAMjB,QAAA,EAAA,MAAA;EAAe,eAAA,EAAA,MAAA;EA6EjB,KAAA,EAAA,MAAA;;;;EC/IY,OAAA,EAAA,MAAA;;;;;;;;KDoBR,YAAA,GAAe,eAAe;KAC9B,SAAA,GAAY,mBAAmB;UAEnB,gBAAA;;gBAED;;;;UAIN;;SAED;;;;;;UAOQ,eAAA,SAAwB;;;;cAI3B;;;;;;UAMJ;;;;WAIC;;;;;;;cAQL;;;;;;GAMH,oBAAe,kBAAA,CAAA,GAAA,CAAA;;;cClEL,kBAqBX,oBAAA,CArB2B;;;MDIhB,IAAA,EAAA,MAAA;IAcX,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAd6B;EAAA,IAAA,EAAA,MAAA;EAgB1B,KAAA,EAAA,MAAA;EACA,YAAS,EAAA,MAAA;AAEd,CAAA,ECFE,oBAAA,CAAA,YDE+B,CAAA;EAEjB,UAAA,EAAA;IAIN,IAAA,EAAA;MAED,IAAA,EAAA,MAAA;IAAS,CAAA;EAOD,CAAA;EAIH,SAAA,EAAA;IAMJ,IAAA,EAAA;MAIC,IAAA,EAAA,MAAA;IAd8B,CAAA;EAAY,CAAA;AAiBpD,CAAA,EAAA;EAKmB,IAAA,EAAA,MAAA;EAAA,OAAA,EAAA,MAAA;EAAA,WAAA,EAAA,MAAA;EAAA,IAAA,EAAA,MAAA;EAMjB,KAAA,EAAA,MAAA;EAAe,YAAA,EAAA,MAAA;CA6EjB,EAAA,SAAA,EAAA,OAAA,EAAA,OAAA,EAAA,SAAA,CAAA,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { ButtonProps } from "@fuf-stack/pixels";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/SubmitButton/SubmitButton.d.ts
|
|
6
6
|
interface SubmitButtonProps {
|
|
@@ -33,7 +33,7 @@ declare const SubmitButton: ({
|
|
|
33
33
|
loading,
|
|
34
34
|
size,
|
|
35
35
|
testId
|
|
36
|
-
}: SubmitButtonProps) =>
|
|
36
|
+
}: SubmitButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { SubmitButtonProps as n, SubmitButton as t };
|
|
39
|
-
//# sourceMappingURL=index-
|
|
39
|
+
//# sourceMappingURL=index-pE9osud2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-pE9osud2.d.ts","names":[],"sources":["../src/SubmitButton/SubmitButton.tsx"],"sourcesContent":[],"mappings":";;;;;UAQiB,iBAAA;;;EAAA;EAIJ,QAAA,CAAA,EAAA,SAAA;EAIH;EAED,SAAA,CAAA,EAAA,MAAA;EAIA;EAAW,KAAA,CAAA,EANV,WAMU,CAAA,OAAA,CAAA;EAQd;EAAgB,IAAA,CAAA,EAZb,WAYa,CAAA,MAAA,CAAA;EAAA;EAAA,OAAA,CAAA,EAAA,OAAA;EAAA;EAAA,IAAA,CAAA,EARb,WAQa,CAAA,MAAA,CAAA;EAAA;EAAA,MAAA,CAAA,EAAA,MAAA;;;;;cAAhB;;;;;;;;;GASH,sBAAiB,kBAAA,CAAA,GAAA,CAAA"}
|
package/dist/index.cjs
CHANGED
|
@@ -10,7 +10,7 @@ const require_Checkboxes = require('./Checkboxes-3Rg0gyfO.cjs');
|
|
|
10
10
|
const require_useUniformFieldArray = require('./useUniformFieldArray-D93AUZI4.cjs');
|
|
11
11
|
const require_FieldArray = require('./FieldArray-BgvSTDWi.cjs');
|
|
12
12
|
const require_Grid = require('./Grid-CRURvciu.cjs');
|
|
13
|
-
const require_FieldCard = require('./FieldCard-
|
|
13
|
+
const require_FieldCard = require('./FieldCard-38ZBBWyE.cjs');
|
|
14
14
|
const require_Form = require('./Form-Ca3RxssB.cjs');
|
|
15
15
|
const require_useInputValueDebounce = require('./useInputValueDebounce-KIKsvSLm.cjs');
|
|
16
16
|
const require_Input = require('./Input-DlyrGFYf.cjs');
|
package/dist/index.d.cts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { i as useInputValueTransform, n as UseInputValueTransformOptions, r as UseInputValueTransformReturn, t as InputValueTransform } from "./useInputValueTransform-BV8o0PMI.cjs";
|
|
2
|
-
import { n as Checkboxes, r as CheckboxesProps, t as CheckboxOption } from "./index-
|
|
3
|
-
import { i as FieldArrayProps, n as FieldArrayChildrenRenderFn, r as FieldArrayFeatures, t as FieldArray } from "./index-
|
|
4
|
-
import { n as FieldCardProps, r as fieldCardVariants, t as FieldCard } from "./index-
|
|
2
|
+
import { n as Checkboxes, r as CheckboxesProps, t as CheckboxOption } from "./index-DTURD6sl.cjs";
|
|
3
|
+
import { i as FieldArrayProps, n as FieldArrayChildrenRenderFn, r as FieldArrayFeatures, t as FieldArray } from "./index-CUy2EDqc.cjs";
|
|
4
|
+
import { n as FieldCardProps, r as fieldCardVariants, t as FieldCard } from "./index-DxfiwbJb.cjs";
|
|
5
5
|
import { n as FormProps, t as Form } from "./index-Bo79xzb4.cjs";
|
|
6
|
-
import { n as GridProps, t as Grid } from "./index-
|
|
7
|
-
import { n as InputProps, t as Input } from "./index-
|
|
8
|
-
import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "./index-
|
|
6
|
+
import { n as GridProps, t as Grid } from "./index-BW9EUWZE.cjs";
|
|
7
|
+
import { n as InputProps, t as Input } from "./index-DAeb_8Q4.cjs";
|
|
8
|
+
import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "./index-nVYabHcT.cjs";
|
|
9
9
|
import { n as RadioTabsProps, t as RadioTabs } from "./index-Cj5CLBt2.cjs";
|
|
10
|
-
import { n as RadiosProps, t as Radios } from "./index-
|
|
11
|
-
import { n as SelectProps, t as Select } from "./index-
|
|
12
|
-
import { n as SliderProps, t as Slider } from "./index-
|
|
13
|
-
import { n as SubmitButtonProps, t as SubmitButton } from "./index-
|
|
14
|
-
import { n as SwitchProps, t as Switch } from "./index-
|
|
15
|
-
import { n as SwitchBoxProps, r as switchBoxVariants, t as SwitchBox } from "./index-
|
|
16
|
-
import { n as TextAreaProps, t as TextArea } from "./index-
|
|
17
|
-
import {
|
|
18
|
-
import { n as useClientValidation, t as clientValidationSchemaByName } from "./useClientValidation-
|
|
19
|
-
import { n as UseControllerReturn, r as useController, t as UseControllerProps } from "./useController-
|
|
20
|
-
import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext-
|
|
10
|
+
import { n as RadiosProps, t as Radios } from "./index-BgXr1v45.cjs";
|
|
11
|
+
import { n as SelectProps, t as Select } from "./index-DfGCI-K_.cjs";
|
|
12
|
+
import { n as SliderProps, t as Slider } from "./index-CrxSEKKb.cjs";
|
|
13
|
+
import { n as SubmitButtonProps, t as SubmitButton } from "./index-CbAh0Kfo.cjs";
|
|
14
|
+
import { n as SwitchProps, t as Switch } from "./index-D3RMbKbP.cjs";
|
|
15
|
+
import { n as SwitchBoxProps, r as switchBoxVariants, t as SwitchBox } from "./index-BD9y--o2.cjs";
|
|
16
|
+
import { n as TextAreaProps, t as TextArea } from "./index-Y8XsRdxS.cjs";
|
|
17
|
+
import { createOptionValueConverter, flatArrayKey, fromNullishString, isValueEmpty, nameToTestId, toFormFormat, toNullishString, toValidationFormat } from "./helpers/index.cjs";
|
|
18
|
+
import { n as useClientValidation, t as clientValidationSchemaByName } from "./useClientValidation-BvPDQmf6.cjs";
|
|
19
|
+
import { n as UseControllerReturn, r as useController, t as UseControllerProps } from "./useController-C6Pg9T_3.cjs";
|
|
20
|
+
import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext-n3WYgGkW.cjs";
|
|
21
21
|
import { t as useInput } from "./useInput--wjwIBc5.cjs";
|
|
22
22
|
import { n as UseInputValueDebounceReturn, r as useInputValueDebounce, t as UseInputValueDebounceOptions } from "./useInputValueDebounce-DI1C6oaU.cjs";
|
|
23
|
-
import { n as UseUniformFieldReturn, r as useUniformField, t as UseUniformFieldParams } from "./useUniformField-
|
|
24
|
-
import { n as
|
|
25
|
-
import { n as
|
|
26
|
-
import { n as
|
|
27
|
-
import { n as
|
|
23
|
+
import { n as UseUniformFieldReturn, r as useUniformField, t as UseUniformFieldParams } from "./useUniformField-ETnay_UI.cjs";
|
|
24
|
+
import { n as useUniformFieldArray, t as UseUniformFieldArrayProps } from "./useUniformFieldArray-4pUdrWYT.cjs";
|
|
25
|
+
import { n as useWatchUserChange, t as UseWatchUserChangeOptions } from "./useWatchUserChange-cI5-j6M4.cjs";
|
|
26
|
+
import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "./index-DsyY9X04.cjs";
|
|
27
|
+
import { n as FieldValidationErrorProps, t as FieldValidationError } from "./index-DEJghucW.cjs";
|
|
28
28
|
export { CheckboxOption, Checkboxes, CheckboxesProps, FieldArray, FieldArrayChildrenRenderFn, FieldArrayFeatures, FieldArrayProps, FieldCard, FieldCardProps, FieldCopyTestIdButton, FieldCopyTestIdButtonProps, FieldValidationError, FieldValidationErrorProps, Form, FormProps, Grid, GridProps, Input, InputProps, InputValueTransform, RadioBoxes, RadioBoxesProps, RadioTabs, RadioTabsProps, Radios, RadiosProps, Select, SelectProps, Slider, SliderProps, SubmitButton, SubmitButtonProps, Switch, SwitchBox, SwitchBoxProps, SwitchProps, TextArea, TextAreaProps, UseControllerProps, UseControllerReturn, UseInputValueDebounceOptions, UseInputValueDebounceReturn, UseInputValueTransformOptions, UseInputValueTransformReturn, UseUniformFieldArrayProps, UseUniformFieldParams, UseUniformFieldReturn, UseWatchUserChangeOptions, checkFieldIsRequired, clientValidationSchemaByName, createOptionValueConverter, fieldCardVariants, flatArrayKey, fromNullishString, isValueEmpty, nameToTestId, radioBoxVariants, switchBoxVariants, toFormFormat, toNullishString, toValidationFormat, useClientValidation, useController, useFormContext, useInput, useInputValueDebounce, useInputValueTransform, useUniformField, useUniformFieldArray, useWatchUserChange };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
import { i as useInputValueTransform, n as UseInputValueTransformOptions, r as UseInputValueTransformReturn, t as InputValueTransform } from "./useInputValueTransform-Cc0qEsnS.js";
|
|
2
|
-
import { n as Checkboxes, r as CheckboxesProps, t as CheckboxOption } from "./index-
|
|
3
|
-
import { i as FieldArrayProps, n as FieldArrayChildrenRenderFn, r as FieldArrayFeatures, t as FieldArray } from "./index-
|
|
4
|
-
import { n as FieldCardProps, r as fieldCardVariants, t as FieldCard } from "./index-
|
|
2
|
+
import { n as Checkboxes, r as CheckboxesProps, t as CheckboxOption } from "./index-Dy0m4FQj.js";
|
|
3
|
+
import { i as FieldArrayProps, n as FieldArrayChildrenRenderFn, r as FieldArrayFeatures, t as FieldArray } from "./index-BV_YDI6g.js";
|
|
4
|
+
import { n as FieldCardProps, r as fieldCardVariants, t as FieldCard } from "./index-gWYaaO6O.js";
|
|
5
5
|
import "./FormContext-C2_WMi_v.js";
|
|
6
6
|
import { n as FormProps, t as Form } from "./index-aHcGnXHf.js";
|
|
7
|
-
import { n as GridProps, t as Grid } from "./index-
|
|
8
|
-
import { n as InputProps, t as Input } from "./index-
|
|
9
|
-
import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "./index-
|
|
10
|
-
import { n as RadioTabsProps, t as RadioTabs } from "./index-
|
|
11
|
-
import { n as RadiosProps, t as Radios } from "./index-
|
|
12
|
-
import { n as SelectProps, t as Select } from "./index-
|
|
13
|
-
import { n as SliderProps, t as Slider } from "./index-
|
|
14
|
-
import { n as SubmitButtonProps, t as SubmitButton } from "./index-
|
|
15
|
-
import { n as SwitchProps, t as Switch } from "./index-
|
|
16
|
-
import { n as SwitchBoxProps, r as switchBoxVariants, t as SwitchBox } from "./index-
|
|
17
|
-
import { n as TextAreaProps, t as TextArea } from "./index-
|
|
18
|
-
import {
|
|
19
|
-
import { n as useClientValidation, t as clientValidationSchemaByName } from "./useClientValidation-
|
|
20
|
-
import { n as UseControllerReturn, r as useController, t as UseControllerProps } from "./useController-
|
|
21
|
-
import
|
|
7
|
+
import { n as GridProps, t as Grid } from "./index-BFLKkqA3.js";
|
|
8
|
+
import { n as InputProps, t as Input } from "./index-CB00FCyi.js";
|
|
9
|
+
import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "./index-Cj-PU3Ck.js";
|
|
10
|
+
import { n as RadioTabsProps, t as RadioTabs } from "./index-C3CvgmJw.js";
|
|
11
|
+
import { n as RadiosProps, t as Radios } from "./index-796vjEop.js";
|
|
12
|
+
import { n as SelectProps, t as Select } from "./index-COwP53Gx.js";
|
|
13
|
+
import { n as SliderProps, t as Slider } from "./index-DebErIUS.js";
|
|
14
|
+
import { n as SubmitButtonProps, t as SubmitButton } from "./index-pE9osud2.js";
|
|
15
|
+
import { n as SwitchProps, t as Switch } from "./index-DjDR6FpI.js";
|
|
16
|
+
import { n as SwitchBoxProps, r as switchBoxVariants, t as SwitchBox } from "./index-B_1td56I.js";
|
|
17
|
+
import { n as TextAreaProps, t as TextArea } from "./index-B62CWrcm.js";
|
|
18
|
+
import { createOptionValueConverter, flatArrayKey, fromNullishString, isValueEmpty, nameToTestId, toFormFormat, toNullishString, toValidationFormat } from "./helpers/index.js";
|
|
19
|
+
import { n as useClientValidation, t as clientValidationSchemaByName } from "./useClientValidation-Bg0q3Axc.js";
|
|
20
|
+
import { n as UseControllerReturn, r as useController, t as UseControllerProps } from "./useController-BJ2SBdky.js";
|
|
21
|
+
import "./index-CFBmva_r.js";
|
|
22
|
+
import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext-B2TS6xq0.js";
|
|
22
23
|
import "./index-BRLjimYW.js";
|
|
23
24
|
import { t as useInput } from "./useInput-BCdeYOOg.js";
|
|
24
25
|
import { n as UseInputValueDebounceReturn, r as useInputValueDebounce, t as UseInputValueDebounceOptions } from "./useInputValueDebounce-fhmVn1aO.js";
|
|
25
|
-
import { n as UseUniformFieldReturn, r as useUniformField, t as UseUniformFieldParams } from "./useUniformField-
|
|
26
|
-
import { n as
|
|
27
|
-
import { n as
|
|
28
|
-
import { n as
|
|
29
|
-
import { n as
|
|
26
|
+
import { n as UseUniformFieldReturn, r as useUniformField, t as UseUniformFieldParams } from "./useUniformField-CXSaAVTt.js";
|
|
27
|
+
import { n as useUniformFieldArray, t as UseUniformFieldArrayProps } from "./useUniformFieldArray-COtgcAnp.js";
|
|
28
|
+
import { n as useWatchUserChange, t as UseWatchUserChangeOptions } from "./useWatchUserChange-DX6gUHvM.js";
|
|
29
|
+
import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "./index-DJbdReTK.js";
|
|
30
|
+
import { n as FieldValidationErrorProps, t as FieldValidationError } from "./index-C4-1V8jn.js";
|
|
30
31
|
export { CheckboxOption, Checkboxes, CheckboxesProps, FieldArray, FieldArrayChildrenRenderFn, FieldArrayFeatures, FieldArrayProps, FieldCard, FieldCardProps, FieldCopyTestIdButton, FieldCopyTestIdButtonProps, FieldValidationError, FieldValidationErrorProps, Form, FormProps, Grid, GridProps, Input, InputProps, InputValueTransform, RadioBoxes, RadioBoxesProps, RadioTabs, RadioTabsProps, Radios, RadiosProps, Select, SelectProps, Slider, SliderProps, SubmitButton, SubmitButtonProps, Switch, SwitchBox, SwitchBoxProps, SwitchProps, TextArea, TextAreaProps, UseControllerProps, UseControllerReturn, UseInputValueDebounceOptions, UseInputValueDebounceReturn, UseInputValueTransformOptions, UseInputValueTransformReturn, UseUniformFieldArrayProps, UseUniformFieldParams, UseUniformFieldReturn, UseWatchUserChangeOptions, checkFieldIsRequired, clientValidationSchemaByName, createOptionValueConverter, fieldCardVariants, flatArrayKey, fromNullishString, isValueEmpty, nameToTestId, radioBoxVariants, switchBoxVariants, toFormFormat, toNullishString, toValidationFormat, useClientValidation, useController, useFormContext, useInput, useInputValueDebounce, useInputValueTransform, useUniformField, useUniformFieldArray, useWatchUserChange };
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import { n as Checkboxes_default } from "./Checkboxes-BfUtbKe-.js";
|
|
|
10
10
|
import { t as useUniformFieldArray } from "./useUniformFieldArray-DNrmEXLg.js";
|
|
11
11
|
import { n as FieldArray_default } from "./FieldArray-C8Ipn-tM.js";
|
|
12
12
|
import { n as Grid_default } from "./Grid-LRjQlZms.js";
|
|
13
|
-
import { n as fieldCardVariants, t as FieldCard_default } from "./FieldCard-
|
|
13
|
+
import { n as fieldCardVariants, t as FieldCard_default } from "./FieldCard-7XiCb6jZ.js";
|
|
14
14
|
import { n as Form_default } from "./Form-B7bv9fDO.js";
|
|
15
15
|
import { t as useInputValueDebounce } from "./useInputValueDebounce-D9wArTKz.js";
|
|
16
16
|
import { n as Input_default } from "./Input-ChXItabV.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "../../index-
|
|
1
|
+
import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "../../index-DsyY9X04.cjs";
|
|
2
2
|
export { FieldCopyTestIdButton, FieldCopyTestIdButton as default, FieldCopyTestIdButtonProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "../../index-
|
|
1
|
+
import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "../../index-DJbdReTK.js";
|
|
2
2
|
export { FieldCopyTestIdButton, FieldCopyTestIdButton as default, FieldCopyTestIdButtonProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FieldValidationErrorProps, t as FieldValidationError } from "../../index-
|
|
1
|
+
import { n as FieldValidationErrorProps, t as FieldValidationError } from "../../index-DEJghucW.cjs";
|
|
2
2
|
export { FieldValidationError, FieldValidationError as default, FieldValidationErrorProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FieldValidationErrorProps, t as FieldValidationError } from "../../index-
|
|
1
|
+
import { n as FieldValidationErrorProps, t as FieldValidationError } from "../../index-C4-1V8jn.js";
|
|
2
2
|
export { FieldValidationError, FieldValidationError as default, FieldValidationErrorProps };
|
|
@@ -147,4 +147,4 @@ declare const useClientValidation: <TData = unknown>(data: TData | null | undefi
|
|
|
147
147
|
declare const clientValidationSchemaByName: <T extends VetoTypeAny>(name: string, fieldSchema: T) => _fuf_stack_veto_dist_types_d_CNPgNK_V0.Z;
|
|
148
148
|
//#endregion
|
|
149
149
|
export { useClientValidation as n, clientValidationSchemaByName as t };
|
|
150
|
-
//# sourceMappingURL=useClientValidation-
|
|
150
|
+
//# sourceMappingURL=useClientValidation-Bg0q3Axc.d.ts.map
|
package/dist/{useClientValidation-Bv0yxTyV.d.ts.map → useClientValidation-Bg0q3Axc.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useClientValidation-
|
|
1
|
+
{"version":3,"file":"useClientValidation-Bg0q3Axc.d.ts","names":[],"sources":["../src/hooks/useClientValidation/useClientValidation.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAkEA;;;;;AAkIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAlIa,6CACL,gDACgB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgIrB,yCAA0C,wCAExC,MAAC,sCAAA,CAAA"}
|
|
@@ -147,4 +147,4 @@ declare const useClientValidation: <TData = unknown>(data: TData | null | undefi
|
|
|
147
147
|
declare const clientValidationSchemaByName: <T extends VetoTypeAny>(name: string, fieldSchema: T) => _fuf_stack_veto_dist_types_d_CNPgNK_V0.Z;
|
|
148
148
|
//#endregion
|
|
149
149
|
export { useClientValidation as n, clientValidationSchemaByName as t };
|
|
150
|
-
//# sourceMappingURL=useClientValidation-
|
|
150
|
+
//# sourceMappingURL=useClientValidation-BvPDQmf6.d.cts.map
|
package/dist/{useClientValidation-DSMw7f-t.d.cts.map → useClientValidation-BvPDQmf6.d.cts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useClientValidation-
|
|
1
|
+
{"version":3,"file":"useClientValidation-BvPDQmf6.d.cts","names":[],"sources":["../src/hooks/useClientValidation/useClientValidation.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAkEA;;;;;AAkIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAlIa,6CACL,gDACgB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgIrB,yCAA0C,wCAExC,MAAC,sCAAA,CAAA"}
|
|
@@ -30,4 +30,4 @@ interface UseControllerReturn<TFieldValues extends object = object> {
|
|
|
30
30
|
declare const useController$1: <TFieldValues extends object = object>(props: UseControllerProps$1<TFieldValues>) => UseControllerReturn<TFieldValues>;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { UseControllerReturn as n, useController$1 as r, UseControllerProps$1 as t };
|
|
33
|
-
//# sourceMappingURL=useController-
|
|
33
|
+
//# sourceMappingURL=useController-BJ2SBdky.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useController-
|
|
1
|
+
{"version":3,"file":"useController-BJ2SBdky.d.ts","names":[],"sources":["../src/hooks/useController/useController.ts"],"sourcesContent":[],"mappings":";;;KAaY,6DACV,mBAAsB;UAEP;EAHL,KAAA,EAIH,IAJG,CAIE,qBAJgB,CAIM,YAJN,CACN,EAAA,UAAA,GAAtB,OAAA,CAAA,GAAA;IAEe,QAAA,EAAA,CAAA,GAAA,KAAmB,EAAA,GAAA,EAAA,EAAA,GAAA,IAAA;IACA,KAAA,EAAA,MAAA;EAAtB,CAAA;EAAL,SAAA,EAMI,kBANJ,CAMuB,YANvB,CAAA;EAMuB,UAAA,EAClB,oBADkB;;;;AAqBhC;;;;;;;;;;;;;;;cAAa,+DACJ,qBAAmB,kBACzB,oBAAoB"}
|
|
@@ -30,4 +30,4 @@ interface UseControllerReturn<TFieldValues extends object = object> {
|
|
|
30
30
|
declare const useController: <TFieldValues extends object = object>(props: UseControllerProps$1<TFieldValues>) => UseControllerReturn<TFieldValues>;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { UseControllerReturn as n, useController as r, UseControllerProps$1 as t };
|
|
33
|
-
//# sourceMappingURL=useController-
|
|
33
|
+
//# sourceMappingURL=useController-C6Pg9T_3.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useController-
|
|
1
|
+
{"version":3,"file":"useController-C6Pg9T_3.d.cts","names":[],"sources":["../src/hooks/useController/useController.ts"],"sourcesContent":[],"mappings":";;;KAaY,6DACV,mBAAsB;UAEP;EAHL,KAAA,EAIH,IAJG,CAIE,qBAJgB,CAIM,YAJN,CACN,EAAA,UAAA,GAAtB,OAAA,CAAA,GAAA;IAEe,QAAA,EAAA,CAAA,GAAA,KAAmB,EAAA,GAAA,EAAA,EAAA,GAAA,IAAA;IACA,KAAA,EAAA,MAAA;EAAtB,CAAA;EAAL,SAAA,EAMI,kBANJ,CAMuB,YANvB,CAAA;EAMuB,UAAA,EAClB,oBADkB;;;;AAqBhC;;;;;;;;;;;;;;;cAAa,6DACJ,qBAAmB,kBACzB,oBAAoB"}
|
|
@@ -32,10 +32,10 @@ declare const useFormContext$1: <TFieldValues extends FieldValues = FieldValues,
|
|
|
32
32
|
getValues: react_hook_form9.UseFormGetValues<TFieldValues>;
|
|
33
33
|
subscribe: react_hook_form9.UseFormSubscribe<TFieldValues>;
|
|
34
34
|
watch: react_hook_form9.UseFormWatch<TFieldValues>;
|
|
35
|
-
debugMode: "disabled" | "
|
|
35
|
+
debugMode: "disabled" | "debug" | "debug-testids" | "off";
|
|
36
36
|
debugModeSettings?: DebugModeSettings;
|
|
37
37
|
preventSubmit: (prevent: boolean) => void;
|
|
38
|
-
setDebugMode: (debugMode: "disabled" | "
|
|
38
|
+
setDebugMode: (debugMode: "disabled" | "debug" | "debug-testids" | "off") => void;
|
|
39
39
|
triggerSubmit: (e?: react0.BaseSyntheticEvent) => Promise<void> | void;
|
|
40
40
|
userChange: {
|
|
41
41
|
subscribe: (listener: UserChangeListener) => () => void;
|
|
@@ -61,4 +61,4 @@ declare const useFormContext$1: <TFieldValues extends FieldValues = FieldValues,
|
|
|
61
61
|
};
|
|
62
62
|
//#endregion
|
|
63
63
|
export { useFormContext$1 as n, checkFieldIsRequired as t };
|
|
64
|
-
//# sourceMappingURL=useFormContext-
|
|
64
|
+
//# sourceMappingURL=useFormContext-B2TS6xq0.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFormContext-B2TS6xq0.d.ts","names":[],"sources":["../src/hooks/useFormContext/useFormContext.ts"],"sourcesContent":[],"mappings":";;;;;;;;;cAYa,mCACC;;;;;AADd;AAqEA;;;;;cAAa,wCACU,cAAc,kDAEd;EAwBa,SAAA,4BAAA,aAAA,CAAA;EAAL,aAAA,EAAA,CAAA,IAAA,EAAA,IAAA,CAAK,YAAL,CAAA,EAAA,MAAA,CAAA,EAAA,MAAA,EAAA,GAAA;;;;;;;;;WAWO,mCAAA,aAAA,CAAA;EAAA,SAAA,mCAAA,aAAA,CAAA;EAAA,KAAA,+BAAA,aAAA,CAAA;EAyBpC,SAAA,EAAA,UAAA,GAAA,OAAA,GAAA,eAAA,GAAA,KAAA;EACyB,iBAAA,CAAA,mBAAA;EAAwE,aAAA,EAAA,CAAA,OAAA,EAAA,OAAA,EAAA,GAAA,IAAA;EAAA,YAAA,EAAA,CAAA,SAAA,EAAA,UAAA,GAAA,OAAA,GAAA,eAAA,GAAA,KAAA,EAAA,GAAA,IAAA;6BA1B7D,uBAAA;;0BAAA;;;;mBAyBpC;eACyB;aAAwE;qDAAA,gBAAA,CAAA,WAAA"}
|
|
@@ -2,7 +2,7 @@ import { n as UserChangeListener, t as DebugModeSettings } from "./FormContext-D
|
|
|
2
2
|
import * as react0 from "react";
|
|
3
3
|
import * as _fuf_stack_veto0 from "@fuf-stack/veto";
|
|
4
4
|
import { VetoFormattedError, VetoInstance } from "@fuf-stack/veto";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_hook_form9 from "react-hook-form";
|
|
6
6
|
import { FieldError, FieldValues, Path } from "react-hook-form";
|
|
7
7
|
|
|
8
8
|
//#region src/hooks/useFormContext/useFormContext.d.ts
|
|
@@ -19,7 +19,7 @@ declare const checkFieldIsRequired: (validation: VetoInstance, path: string[]) =
|
|
|
19
19
|
* - Filters out empty/null values
|
|
20
20
|
*/
|
|
21
21
|
declare const useFormContext: <TFieldValues extends FieldValues = FieldValues, TContext = any, TTransformedValues = TFieldValues>() => {
|
|
22
|
-
formState:
|
|
22
|
+
formState: react_hook_form9.FormState<TFieldValues>;
|
|
23
23
|
getFieldState: (name: Path<TFieldValues>, testId?: string) => {
|
|
24
24
|
error: FieldError[] | undefined;
|
|
25
25
|
invalid: boolean;
|
|
@@ -29,13 +29,13 @@ declare const useFormContext: <TFieldValues extends FieldValues = FieldValues, T
|
|
|
29
29
|
isTouched: boolean;
|
|
30
30
|
isValidating: boolean;
|
|
31
31
|
};
|
|
32
|
-
getValues:
|
|
33
|
-
subscribe:
|
|
34
|
-
watch:
|
|
35
|
-
debugMode: "disabled" | "
|
|
32
|
+
getValues: react_hook_form9.UseFormGetValues<TFieldValues>;
|
|
33
|
+
subscribe: react_hook_form9.UseFormSubscribe<TFieldValues>;
|
|
34
|
+
watch: react_hook_form9.UseFormWatch<TFieldValues>;
|
|
35
|
+
debugMode: "disabled" | "debug" | "debug-testids" | "off";
|
|
36
36
|
debugModeSettings?: DebugModeSettings;
|
|
37
37
|
preventSubmit: (prevent: boolean) => void;
|
|
38
|
-
setDebugMode: (debugMode: "disabled" | "
|
|
38
|
+
setDebugMode: (debugMode: "disabled" | "debug" | "debug-testids" | "off") => void;
|
|
39
39
|
triggerSubmit: (e?: react0.BaseSyntheticEvent) => Promise<void> | void;
|
|
40
40
|
userChange: {
|
|
41
41
|
subscribe: (listener: UserChangeListener) => () => void;
|
|
@@ -47,18 +47,18 @@ declare const useFormContext: <TFieldValues extends FieldValues = FieldValues, T
|
|
|
47
47
|
errors?: VetoFormattedError;
|
|
48
48
|
setClientValidationSchema: (key: string, schema: _fuf_stack_veto0.VetoTypeAny | null) => void;
|
|
49
49
|
};
|
|
50
|
-
setError:
|
|
51
|
-
clearErrors:
|
|
52
|
-
setValue:
|
|
53
|
-
trigger:
|
|
54
|
-
resetField:
|
|
55
|
-
reset:
|
|
56
|
-
handleSubmit:
|
|
57
|
-
unregister:
|
|
58
|
-
control:
|
|
59
|
-
register:
|
|
60
|
-
setFocus:
|
|
50
|
+
setError: react_hook_form9.UseFormSetError<TFieldValues>;
|
|
51
|
+
clearErrors: react_hook_form9.UseFormClearErrors<TFieldValues>;
|
|
52
|
+
setValue: react_hook_form9.UseFormSetValue<TFieldValues>;
|
|
53
|
+
trigger: react_hook_form9.UseFormTrigger<TFieldValues>;
|
|
54
|
+
resetField: react_hook_form9.UseFormResetField<TFieldValues>;
|
|
55
|
+
reset: react_hook_form9.UseFormReset<TFieldValues>;
|
|
56
|
+
handleSubmit: react_hook_form9.UseFormHandleSubmit<TFieldValues, TTransformedValues>;
|
|
57
|
+
unregister: react_hook_form9.UseFormUnregister<TFieldValues>;
|
|
58
|
+
control: react_hook_form9.Control<TFieldValues, TContext, TTransformedValues>;
|
|
59
|
+
register: react_hook_form9.UseFormRegister<TFieldValues>;
|
|
60
|
+
setFocus: react_hook_form9.UseFormSetFocus<TFieldValues>;
|
|
61
61
|
};
|
|
62
62
|
//#endregion
|
|
63
63
|
export { useFormContext as n, checkFieldIsRequired as t };
|
|
64
|
-
//# sourceMappingURL=useFormContext-
|
|
64
|
+
//# sourceMappingURL=useFormContext-n3WYgGkW.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFormContext-n3WYgGkW.d.cts","names":[],"sources":["../src/hooks/useFormContext/useFormContext.ts"],"sourcesContent":[],"mappings":";;;;;;;;;cAYa,mCACC;;;;;AADd;AAqEA;;;;;cAAa,sCACU,cAAc,kDAEd;EAwBa,SAAA,4BAAA,aAAA,CAAA;EAAL,aAAA,EAAA,CAAA,IAAA,EAAA,IAAA,CAAK,YAAL,CAAA,EAAA,MAAA,CAAA,EAAA,MAAA,EAAA,GAAA;;;;;;;;;WAWO,mCAAA,aAAA,CAAA;EAAA,SAAA,mCAAA,aAAA,CAAA;EAAA,KAAA,+BAAA,aAAA,CAAA;EAyBpC,SAAA,EAAA,UAAA,GAAA,OAAA,GAAA,eAAA,GAAA,KAAA;EACyB,iBAAA,CAAA,mBAAA;EAAwE,aAAA,EAAA,CAAA,OAAA,EAAA,OAAA,EAAA,GAAA,IAAA;EAAA,YAAA,EAAA,CAAA,SAAA,EAAA,UAAA,GAAA,OAAA,GAAA,eAAA,GAAA,KAAA,EAAA,GAAA,IAAA;6BA1B7D,uBAAA;;0BAAA;;;;mBAyBpC;eACyB;aAAwE;qDAAA,gBAAA,CAAA,WAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as InputValueTransform } from "./useInputValueTransform-Cc0qEsnS.js";
|
|
2
|
-
import { r as useController$1 } from "./useController-
|
|
3
|
-
import { n as useFormContext$1 } from "./useFormContext-
|
|
2
|
+
import { r as useController$1 } from "./useController-BJ2SBdky.js";
|
|
3
|
+
import { n as useFormContext$1 } from "./useFormContext-B2TS6xq0.js";
|
|
4
4
|
import { t as useInput } from "./useInput-BCdeYOOg.js";
|
|
5
5
|
import { ReactNode } from "react";
|
|
6
6
|
import { FieldError, FieldValues, Path } from "react-hook-form";
|
|
@@ -95,4 +95,4 @@ interface UseUniformFieldReturn<TFieldValues extends FieldValues = FieldValues>
|
|
|
95
95
|
declare const useUniformField: <TFieldValues extends FieldValues = FieldValues, TDisplay = unknown>(params: UseUniformFieldParams<TFieldValues, TDisplay>) => UseUniformFieldReturn<TFieldValues>;
|
|
96
96
|
//#endregion
|
|
97
97
|
export { UseUniformFieldReturn as n, useUniformField as r, UseUniformFieldParams as t };
|
|
98
|
-
//# sourceMappingURL=useUniformField-
|
|
98
|
+
//# sourceMappingURL=useUniformField-CXSaAVTt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUniformField-
|
|
1
|
+
{"version":3,"file":"useUniformField-CXSaAVTt.d.ts","names":[],"sources":["../src/hooks/useUniformField/useUniformField.tsx"],"sourcesContent":[],"mappings":";;;;;;;;UA0CiB,2CACM,cAAc;;EADpB,IAAA,EAKT,IALS,CAKJ,YALI,CAAqB,GAAA,MAAA;EACf;EAAc,SAAA,CAAA,EAAA,MAAA;EAIxB;EAAL,QAAA,CAAA,EAAA,OAAA;EAME;EAIwB,KAAA,CAAA,EAJxB,SAIwB;EAApB;EAAmB,MAAA,CAAA,EAAA,MAAA;EAKhB;EACM,SAAA,CAAA,EANT,mBAMS,CANW,QAMX,CAAA;EAAc;EAKO,IAAA,CAAA,EAAA,MAAA,GAAA,QAAA,GAAA,UAAA;;AAAjC,UANM,qBAMN,CAAA,qBALY,WAKZ,GAL0B,WAK1B,CAAA,CAAA;EAEmC;EAAf,SAAA,EAAA,MAAA,GAAA,SAAA;EAAlB;EAMJ,OAAA,EARE,UAQF,CAAA,OARoB,gBAQpB,CARmC,YAQnC,CAAA,CAAA,CAAA,SAAA,CAAA;EAEO;EAEyB,SAAA,EAV5B,UAU4B,CAAA,OAVV,gBAUU,CAVK,YAUL,CAAA,CAAA,CAAA,WAAA,CAAA;EAAd;EAAlB,YAAA,EAAA,OAAA;EAEiC;EAAlB,QAAA,EAAA,OAAA,GAAA,SAAA;EAEmB;EAAlB,KAAA,EARhB,UAQgB,EAAA,GAAA,SAAA;EAEU;EAAlB,YAAA,EARD,SAQC,GAAA,IAAA;EAE6B;EAAf,KAAA,EARtB,UAQsB,CAAA,OARJ,eAQI,CARU,YAQV,CAAA,CAAA,CAAA,OAAA,CAAA;EAAlB;EAIJ,oBAAA,EAVe,UAUf,CAAA,OAViC,QAUjC,CAAA,CAAA,sBAAA,CAAA;EAEiC;EAAd,qBAAA,EAVH,UAUG,CAAA,OAVe,QAUf,CAAA,CAAA,uBAAA,CAAA;EAAlB;EAEkC,aAAA,EAV3B,UAU2B,CAAA,OAVT,QAUS,CAAA,CAAA,eAAA,CAAA;EAAd;EAAlB,SAAA,EARC,UAQD,CAAA,OARmB,gBAQnB,CARkC,YAQlC,CAAA,CAAA,CAAA,WAAA,CAAA;EAE2B;EAAd,OAAA,EAAA,OAAA;EAAlB;EAIwC,KAAA,EAVtC,SAUsC,GAAA,IAAA;EAAf;EAAlB,MAAA,EARJ,UAQI,CAAA,OARc,eAQd,CAR4B,YAQ5B,CAAA,CAAA,CAAA,OAAA,CAAA,CAAA,QAAA,CAAA;EAAU;EAiCX,QAAA,EAvCD,UA6MX,CAAA,OA7M6B,eA6M7B,CA7M2C,YA6M3C,CAAA,CAAA,CAAA,OAAA,CAAA,CAAA,UAAA,CAAA;EArKsB;EAAc,GAAA,EAtC9B,UAsC8B,CAAA,OAtCZ,eAsCY,CAtCE,YAsCF,CAAA,CAAA,CAAA,OAAA,CAAA,CAAA,KAAA,CAAA;EAGL;EAAc,QAAA,EAAA,OAAA;EAApC;EACe,UAAA,EAtCX,UAsCW,CAAA,OAtCO,gBAsCP,CAtCsB,YAsCtB,CAAA,CAAA,CAAA,YAAA,CAAA;EAAtB;EAAqB,MAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cALX,uCACU,cAAc,yCAG3B,sBAAsB,cAAc,cAC3C,sBAAsB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as InputValueTransform } from "./useInputValueTransform-BV8o0PMI.cjs";
|
|
2
|
-
import { r as useController } from "./useController-
|
|
3
|
-
import { n as useFormContext } from "./useFormContext-
|
|
2
|
+
import { r as useController } from "./useController-C6Pg9T_3.cjs";
|
|
3
|
+
import { n as useFormContext } from "./useFormContext-n3WYgGkW.cjs";
|
|
4
4
|
import { t as useInput } from "./useInput--wjwIBc5.cjs";
|
|
5
5
|
import { ReactNode } from "react";
|
|
6
6
|
import { FieldError, FieldValues, Path } from "react-hook-form";
|
|
@@ -95,4 +95,4 @@ interface UseUniformFieldReturn<TFieldValues extends FieldValues = FieldValues>
|
|
|
95
95
|
declare const useUniformField: <TFieldValues extends FieldValues = FieldValues, TDisplay = unknown>(params: UseUniformFieldParams<TFieldValues, TDisplay>) => UseUniformFieldReturn<TFieldValues>;
|
|
96
96
|
//#endregion
|
|
97
97
|
export { UseUniformFieldReturn as n, useUniformField as r, UseUniformFieldParams as t };
|
|
98
|
-
//# sourceMappingURL=useUniformField-
|
|
98
|
+
//# sourceMappingURL=useUniformField-ETnay_UI.d.cts.map
|