@fuf-stack/uniform 1.18.1 → 1.18.2
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.d.cts +1 -1
- package/dist/FieldCard/index.d.ts +1 -1
- package/dist/Form/index.d.cts +1 -1
- package/dist/Form/index.d.ts +1 -1
- 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.cts +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.cjs +1 -1
- package/dist/SwitchBox/index.d.cts +1 -1
- package/dist/SwitchBox/index.d.ts +1 -1
- package/dist/SwitchBox/index.js +1 -1
- package/dist/{SwitchBox-RfkVRDrE.js → SwitchBox-C-aLl2nX.js} +3 -3
- package/dist/SwitchBox-C-aLl2nX.js.map +1 -0
- package/dist/{SwitchBox-4G_qcERZ.cjs → SwitchBox-mGUPvJE0.cjs} +2 -2
- package/dist/SwitchBox-mGUPvJE0.cjs.map +1 -0
- package/dist/TextArea/index.d.cts +1 -1
- package/dist/TextArea/index.d.ts +1 -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 +2 -2
- package/dist/hooks/useUniformFieldArray/index.d.cts +1 -1
- package/dist/hooks/useUniformFieldArray/index.d.ts +2 -2
- package/dist/{index-56tHDUPW.d.ts → index--NM5Ctp6.d.ts} +3 -3
- package/dist/{index-56tHDUPW.d.ts.map → index--NM5Ctp6.d.ts.map} +1 -1
- package/dist/{index-D4NhWqMK.d.ts → index-B3ly1uwg.d.ts} +6 -6
- package/dist/{index-D4NhWqMK.d.ts.map → index-B3ly1uwg.d.ts.map} +1 -1
- package/dist/{index-BNYtqtXt.d.cts → index-BE6hzbN3.d.cts} +3 -3
- package/dist/{index-BNYtqtXt.d.cts.map → index-BE6hzbN3.d.cts.map} +1 -1
- package/dist/{index-B1zEVRdz.d.cts → index-BRvTllFR.d.cts} +21 -21
- package/dist/{index-B1zEVRdz.d.cts.map → index-BRvTllFR.d.cts.map} +1 -1
- package/dist/{index-CC4Mo34g.d.cts → index-BdrSpcmR.d.ts} +4 -4
- package/dist/{index-HWgtCx2X.d.ts.map → index-BdrSpcmR.d.ts.map} +1 -1
- package/dist/{index-BHXJ0Fjv.d.ts → index-Bg3AbFZf.d.ts} +6 -6
- package/dist/{index-BHXJ0Fjv.d.ts.map → index-Bg3AbFZf.d.ts.map} +1 -1
- package/dist/{index-8RBnWUts.d.ts → index-BtX5upPu.d.cts} +34 -34
- package/dist/{index-DjMIqLXa.d.cts.map → index-BtX5upPu.d.cts.map} +1 -1
- package/dist/{index-COpH9BHM.d.cts → index-BvRjEXt-.d.ts} +48 -48
- package/dist/{index-ChWpXvB1.d.ts.map → index-BvRjEXt-.d.ts.map} +1 -1
- package/dist/{index-BcIWb_HA.d.cts → index-C6iTO4TR.d.cts} +35 -35
- package/dist/{index-BcIWb_HA.d.cts.map → index-C6iTO4TR.d.cts.map} +1 -1
- package/dist/{index-D_FydW0h.d.ts → index-CC2Rnywy.d.cts} +3 -3
- package/dist/{index-DMoH0fuj.d.cts.map → index-CC2Rnywy.d.cts.map} +1 -1
- package/dist/{index-VMZv9H68.d.ts → index-CHACvIcy.d.ts} +35 -35
- package/dist/{index-VMZv9H68.d.ts.map → index-CHACvIcy.d.ts.map} +1 -1
- package/dist/index-CM7UugT3.d.cts +278 -0
- package/dist/{index-DjBVOB0F.d.cts.map → index-CM7UugT3.d.cts.map} +1 -1
- package/dist/{index-B5dB_r7x.d.cts → index-CUIi5IqH.d.cts} +3 -3
- package/dist/{index-B5dB_r7x.d.cts.map → index-CUIi5IqH.d.cts.map} +1 -1
- package/dist/{index-BMJC2gNu.d.ts → index-CYbsLxVV.d.ts} +21 -21
- package/dist/{index-BMJC2gNu.d.ts.map → index-CYbsLxVV.d.ts.map} +1 -1
- package/dist/{index-C7QJuPM1.d.ts → index-C_EyZKET.d.cts} +6 -6
- package/dist/{index-DnTLGTto.d.cts.map → index-C_EyZKET.d.cts.map} +1 -1
- package/dist/{index-DjBVOB0F.d.cts → index-Ca2ovPTq.d.ts} +24 -24
- package/dist/{index-C4g84wZ0.d.ts.map → index-Ca2ovPTq.d.ts.map} +1 -1
- package/dist/{index-BvoD161r.d.ts → index-CuNl43Zr.d.ts} +3 -3
- package/dist/{index-BvoD161r.d.ts.map → index-CuNl43Zr.d.ts.map} +1 -1
- package/dist/{index-DRjS3QTM.d.cts → index-CxeYvJ7m.d.cts} +6 -6
- package/dist/{index-DRjS3QTM.d.cts.map → index-CxeYvJ7m.d.cts.map} +1 -1
- package/dist/{index-DjMIqLXa.d.cts → index-D0OJCk7N.d.ts} +34 -34
- package/dist/{index-8RBnWUts.d.ts.map → index-D0OJCk7N.d.ts.map} +1 -1
- package/dist/{index-Dw3yOYt0.d.ts → index-D3L2S2b3.d.cts} +21 -21
- package/dist/{index-CZYfqQm4.d.cts.map → index-D3L2S2b3.d.cts.map} +1 -1
- package/dist/{index-DnTLGTto.d.cts → index-D6strMx0.d.ts} +5 -5
- package/dist/{index-C7QJuPM1.d.ts.map → index-D6strMx0.d.ts.map} +1 -1
- package/dist/{index-57YREz--.d.ts → index-DIMnCRyt.d.ts} +3 -3
- package/dist/{index-57YREz--.d.ts.map → index-DIMnCRyt.d.ts.map} +1 -1
- package/dist/{index-C1orlKvt.d.cts → index-D_iyWuBa.d.cts} +6 -6
- package/dist/{index-C1orlKvt.d.cts.map → index-D_iyWuBa.d.cts.map} +1 -1
- package/dist/{index-BZ-1C2Da.d.ts → index-DelQykFp.d.ts} +3 -3
- package/dist/{index-BZ-1C2Da.d.ts.map → index-DelQykFp.d.ts.map} +1 -1
- package/dist/{index-BrLM_gdn.d.ts → index-DhayQWKz.d.ts} +6 -6
- package/dist/{index-BrLM_gdn.d.ts.map → index-DhayQWKz.d.ts.map} +1 -1
- package/dist/{index-CZYfqQm4.d.cts → index-DiFA3eG2.d.ts} +21 -21
- package/dist/{index-Dw3yOYt0.d.ts.map → index-DiFA3eG2.d.ts.map} +1 -1
- package/dist/{index-BWb9jMoK.d.ts → index-Dkfbf-VN.d.ts} +36 -36
- package/dist/{index-BWb9jMoK.d.ts.map → index-Dkfbf-VN.d.ts.map} +1 -1
- package/dist/{index-DMoH0fuj.d.cts → index-DmlsX2k6.d.ts} +1 -1
- package/dist/{index-D_FydW0h.d.ts.map → index-DmlsX2k6.d.ts.map} +1 -1
- package/dist/{index-HWgtCx2X.d.ts → index-DqY28C4j.d.cts} +4 -4
- package/dist/{index-CC4Mo34g.d.cts.map → index-DqY28C4j.d.cts.map} +1 -1
- package/dist/{index-1vFxGdcr.d.cts → index-DuJr42nE.d.cts} +3 -3
- package/dist/{index-1vFxGdcr.d.cts.map → index-DuJr42nE.d.cts.map} +1 -1
- package/dist/{index-ChWpXvB1.d.ts → index-HfbCo9ep.d.cts} +48 -48
- package/dist/{index-COpH9BHM.d.cts.map → index-HfbCo9ep.d.cts.map} +1 -1
- package/dist/{index-CsRHsuQk.d.cts → index-NykXDzr-.d.cts} +3 -3
- package/dist/{index-CsRHsuQk.d.cts.map → index-NykXDzr-.d.cts.map} +1 -1
- package/dist/{index--Q95aXjA.d.cts → index-QFAAtvOV.d.cts} +6 -6
- package/dist/{index--Q95aXjA.d.cts.map → index-QFAAtvOV.d.cts.map} +1 -1
- package/dist/{index-D-_7aN3r.d.cts → index-_6c2OwSa.d.cts} +36 -36
- package/dist/{index-D-_7aN3r.d.cts.map → index-_6c2OwSa.d.cts.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +20 -20
- package/dist/index.d.ts +20 -20
- 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/{useFormContext-B3Vb5-Rg.d.ts → useFormContext-C6OOtqZ5.d.ts} +3 -3
- package/dist/{useFormContext-B3Vb5-Rg.d.ts.map → useFormContext-C6OOtqZ5.d.ts.map} +1 -1
- package/dist/{useFormContext-Da-czmbI.d.cts → useFormContext-Dh97YG47.d.cts} +3 -3
- package/dist/{useFormContext-Da-czmbI.d.cts.map → useFormContext-Dh97YG47.d.cts.map} +1 -1
- package/dist/{useUniformField-DbYTduie.d.ts → useUniformField-CqqIJtqo.d.ts} +2 -2
- package/dist/{useUniformField-DbYTduie.d.ts.map → useUniformField-CqqIJtqo.d.ts.map} +1 -1
- package/dist/{useUniformField-DkD7QHh3.d.cts → useUniformField-DIb__gKK.d.cts} +2 -2
- package/dist/{useUniformField-DkD7QHh3.d.cts.map → useUniformField-DIb__gKK.d.cts.map} +1 -1
- package/dist/{useUniformFieldArray-14B50iH3.d.ts → useUniformFieldArray-4MOU0xac.d.ts} +2 -2
- package/dist/{useUniformFieldArray-14B50iH3.d.ts.map → useUniformFieldArray-4MOU0xac.d.ts.map} +1 -1
- package/dist/{useUniformFieldArray-CeMjX0vf.d.cts → useUniformFieldArray-BChcZvc5.d.cts} +2 -2
- package/dist/{useUniformFieldArray-CeMjX0vf.d.cts.map → useUniformFieldArray-BChcZvc5.d.cts.map} +1 -1
- package/package.json +2 -2
- package/dist/SwitchBox-4G_qcERZ.cjs.map +0 -1
- package/dist/SwitchBox-RfkVRDrE.js.map +0 -1
- package/dist/index-C4g84wZ0.d.ts +0 -278
|
@@ -1,43 +1,43 @@
|
|
|
1
|
+
import * as tailwind_variants199 from "tailwind-variants";
|
|
2
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
1
3
|
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
2
4
|
import { ReactNode } from "react";
|
|
3
|
-
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
4
|
-
import * as tailwind_variants233 from "tailwind-variants";
|
|
5
5
|
|
|
6
6
|
//#region src/Slider/Slider.d.ts
|
|
7
|
-
declare const sliderVariants:
|
|
7
|
+
declare const sliderVariants: tailwind_variants199.TVReturnType<{
|
|
8
8
|
[key: string]: {
|
|
9
|
-
[key: string]:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
trackWrapper?:
|
|
9
|
+
[key: string]: tailwind_variants199.ClassValue | {
|
|
10
|
+
base?: tailwind_variants199.ClassValue;
|
|
11
|
+
endContent?: tailwind_variants199.ClassValue;
|
|
12
|
+
errorMessage?: tailwind_variants199.ClassValue;
|
|
13
|
+
label?: tailwind_variants199.ClassValue;
|
|
14
|
+
startContent?: tailwind_variants199.ClassValue;
|
|
15
|
+
thumb?: tailwind_variants199.ClassValue;
|
|
16
|
+
mark?: tailwind_variants199.ClassValue;
|
|
17
|
+
track?: tailwind_variants199.ClassValue;
|
|
18
|
+
step?: tailwind_variants199.ClassValue;
|
|
19
|
+
value?: tailwind_variants199.ClassValue;
|
|
20
|
+
filler?: tailwind_variants199.ClassValue;
|
|
21
|
+
labelWrapper?: tailwind_variants199.ClassValue;
|
|
22
|
+
trackWrapper?: tailwind_variants199.ClassValue;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
} | {
|
|
26
26
|
[x: string]: {
|
|
27
|
-
[x: string]:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
trackWrapper?:
|
|
27
|
+
[x: string]: tailwind_variants199.ClassValue | {
|
|
28
|
+
base?: tailwind_variants199.ClassValue;
|
|
29
|
+
endContent?: tailwind_variants199.ClassValue;
|
|
30
|
+
errorMessage?: tailwind_variants199.ClassValue;
|
|
31
|
+
label?: tailwind_variants199.ClassValue;
|
|
32
|
+
startContent?: tailwind_variants199.ClassValue;
|
|
33
|
+
thumb?: tailwind_variants199.ClassValue;
|
|
34
|
+
mark?: tailwind_variants199.ClassValue;
|
|
35
|
+
track?: tailwind_variants199.ClassValue;
|
|
36
|
+
step?: tailwind_variants199.ClassValue;
|
|
37
|
+
value?: tailwind_variants199.ClassValue;
|
|
38
|
+
filler?: tailwind_variants199.ClassValue;
|
|
39
|
+
labelWrapper?: tailwind_variants199.ClassValue;
|
|
40
|
+
trackWrapper?: tailwind_variants199.ClassValue;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
43
|
} | {}, {
|
|
@@ -56,20 +56,20 @@ declare const sliderVariants: tailwind_variants233.TVReturnType<{
|
|
|
56
56
|
value: string;
|
|
57
57
|
}, undefined, {
|
|
58
58
|
[key: string]: {
|
|
59
|
-
[key: string]:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
trackWrapper?:
|
|
59
|
+
[key: string]: tailwind_variants199.ClassValue | {
|
|
60
|
+
base?: tailwind_variants199.ClassValue;
|
|
61
|
+
endContent?: tailwind_variants199.ClassValue;
|
|
62
|
+
errorMessage?: tailwind_variants199.ClassValue;
|
|
63
|
+
label?: tailwind_variants199.ClassValue;
|
|
64
|
+
startContent?: tailwind_variants199.ClassValue;
|
|
65
|
+
thumb?: tailwind_variants199.ClassValue;
|
|
66
|
+
mark?: tailwind_variants199.ClassValue;
|
|
67
|
+
track?: tailwind_variants199.ClassValue;
|
|
68
|
+
step?: tailwind_variants199.ClassValue;
|
|
69
|
+
value?: tailwind_variants199.ClassValue;
|
|
70
|
+
filler?: tailwind_variants199.ClassValue;
|
|
71
|
+
labelWrapper?: tailwind_variants199.ClassValue;
|
|
72
|
+
trackWrapper?: tailwind_variants199.ClassValue;
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
75
|
} | {}, {
|
|
@@ -86,7 +86,7 @@ declare const sliderVariants: tailwind_variants233.TVReturnType<{
|
|
|
86
86
|
track: string;
|
|
87
87
|
trackWrapper: string;
|
|
88
88
|
value: string;
|
|
89
|
-
},
|
|
89
|
+
}, tailwind_variants199.TVReturnType<unknown, {
|
|
90
90
|
base: string;
|
|
91
91
|
endContent: string;
|
|
92
92
|
errorMessage: string;
|
|
@@ -163,7 +163,7 @@ declare const Slider: ({
|
|
|
163
163
|
minValue,
|
|
164
164
|
maxValue,
|
|
165
165
|
...uniformFieldProps
|
|
166
|
-
}: SliderProps) =>
|
|
166
|
+
}: SliderProps) => react_jsx_runtime14.JSX.Element;
|
|
167
167
|
//#endregion
|
|
168
168
|
export { SliderProps as n, Slider as t };
|
|
169
|
-
//# sourceMappingURL=index-
|
|
169
|
+
//# sourceMappingURL=index-HfbCo9ep.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-HfbCo9ep.d.cts","names":[],"sources":["../src/Slider/Slider.tsx"],"mappings":";;;;;;cAYa,cAAA,uBAAc,YAAA;EAAA;mBAmBzB,oBAAA,CAAA,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEG,YAAA,GAAe,OAAA,QAAe,cAAA;AAAA,KAC9B,SAAA,GAAY,WAAA,QAAmB,cAAA;AAAA,UAEnB,WAAA,SAAoB,YAAA;;EAEnC,SAAA;;EAEA,SAAA,GAAY,SAAA;;EAEZ,QAAA;;EAEA,UAAA,GAAa,SAAA;;EAEb,UAAA;;EAEA,KAAA;;EAEA,IAAA;;;;;EAKA,SAAA;;;;;EAKA,IAAA;;EAEA,YAAA,GAAe,SAAA;;;;;EAKf,IAAA;;EAEA,MAAA;;;;;EAKA,QAAA;;;;;EAKA,QAAA;AAAA;;;;cAMI,MAAA;EAAU,SAAA;EAAA,UAAA;EAAA,UAAA;EAAA,IAAA;EAAA,SAAA;EAAA,IAAA;EAAA,YAAA;EAAA,IAAA;EAAA,QAAA;EAAA,QAAA;EAAA,GAAA;AAAA,GAYb,WAAA,KAAW,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { ButtonProps } from "@fuf-stack/pixels";
|
|
4
4
|
|
|
@@ -33,7 +33,7 @@ declare const SubmitButton: ({
|
|
|
33
33
|
loading,
|
|
34
34
|
size,
|
|
35
35
|
testId
|
|
36
|
-
}: SubmitButtonProps) =>
|
|
36
|
+
}: SubmitButtonProps) => react_jsx_runtime2.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { SubmitButtonProps as n, SubmitButton as t };
|
|
39
|
-
//# sourceMappingURL=index-
|
|
39
|
+
//# sourceMappingURL=index-NykXDzr-.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-NykXDzr-.d.cts","names":[],"sources":["../src/SubmitButton/SubmitButton.tsx"],"mappings":";;;;;UAQiB,iBAAA;;EAEf,SAAA;EAFe;EAIf,QAAA,GAAW,SAAA;;EAEX,SAAA;EAEQ;EAAR,KAAA,GAAQ,WAAA;EAMD;EAJP,IAAA,GAAO,WAAA;EAIW;EAFlB,OAAA;EARA;EAUA,IAAA,GAAO,WAAA;EARP;EAUA,MAAA;AAAA;;;;cAMI,YAAA;EAAgB,SAAA;EAAA,QAAA;EAAA,SAAA;EAAA,KAAA;EAAA,IAAA;EAAA,OAAA;EAAA,IAAA;EAAA;AAAA,GASnB,iBAAA,KAAiB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as tailwind_variants20 from "tailwind-variants";
|
|
2
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
3
3
|
import { TVClassName } from "@fuf-stack/pixel-utils";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/FieldCard/FieldCard.d.ts
|
|
7
|
-
declare const fieldCardVariants:
|
|
7
|
+
declare const fieldCardVariants: tailwind_variants20.TVReturnType<{
|
|
8
8
|
invalid: {
|
|
9
9
|
true: {
|
|
10
10
|
base: string;
|
|
@@ -46,7 +46,7 @@ declare const fieldCardVariants: tailwind_variants127.TVReturnType<{
|
|
|
46
46
|
content: string[]; /** class for the error footer wrapper */
|
|
47
47
|
errorFooter: string[]; /** class for the error text (empty base, color controlled by variant) */
|
|
48
48
|
errorText: never[];
|
|
49
|
-
},
|
|
49
|
+
}, tailwind_variants20.TVReturnType<{
|
|
50
50
|
invalid: {
|
|
51
51
|
true: {
|
|
52
52
|
base: string;
|
|
@@ -95,7 +95,7 @@ declare const FieldCard: ({
|
|
|
95
95
|
className: _className,
|
|
96
96
|
name,
|
|
97
97
|
...uniformFieldProps
|
|
98
|
-
}: FieldCardProps) =>
|
|
98
|
+
}: FieldCardProps) => react_jsx_runtime5.JSX.Element;
|
|
99
99
|
//#endregion
|
|
100
100
|
export { FieldCardProps as n, fieldCardVariants as r, FieldCard as t };
|
|
101
|
-
//# sourceMappingURL=index
|
|
101
|
+
//# sourceMappingURL=index-QFAAtvOV.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index
|
|
1
|
+
{"version":3,"file":"index-QFAAtvOV.d.cts","names":[],"sources":["../src/FieldCard/FieldCard.tsx"],"mappings":";;;;;;cAsHa,iBAAA,EAyDX,mBAAA,CAzD4B,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA2DhB;qBAAG;yBAEA;;GAJf,mBAAA,CAAA,YAAA;;;;;;;;;;;;;;;;EA0BI;mBAAa;qBAKhB;yBA2HF;;;KAxJI,SAAA,GAAY,WAAA,QAAmB,iBAAA;AAAA,UAEnB,cAAA;EAsBE;EApBjB,QAAA,EAAU,SAAA;EAoBO;EAlBjB,SAAA,GAAY,SAAA;EAuBX;EArBD,KAAA,EAAO,SAAA;EAqBQ;EAnBf,IAAA;EA8ID;EA5IC,MAAA;AAAA;;;;;;;;;;cAYI,SAAA;EAAa,QAAA;EAAA,SAAA,EAAA,UAAA;EAAA,IAAA;EAAA,GAAA;AAAA,GAKhB,cAAA,KAAc,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as tailwind_variants134 from "tailwind-variants";
|
|
2
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
3
3
|
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
import { SwitchProps } from "@heroui/switch";
|
|
6
6
|
|
|
7
7
|
//#region src/Switch/Switch.d.ts
|
|
8
|
-
declare const switchVariants:
|
|
8
|
+
declare const switchVariants: tailwind_variants134.TVReturnType<{
|
|
9
9
|
[key: string]: {
|
|
10
|
-
[key: string]:
|
|
11
|
-
base?:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
startContent?:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
10
|
+
[key: string]: tailwind_variants134.ClassValue | {
|
|
11
|
+
base?: tailwind_variants134.ClassValue;
|
|
12
|
+
endContent?: tailwind_variants134.ClassValue;
|
|
13
|
+
errorMessage?: tailwind_variants134.ClassValue;
|
|
14
|
+
label?: tailwind_variants134.ClassValue;
|
|
15
|
+
outerWrapper?: tailwind_variants134.ClassValue;
|
|
16
|
+
startContent?: tailwind_variants134.ClassValue;
|
|
17
|
+
thumb?: tailwind_variants134.ClassValue;
|
|
18
|
+
thumbIcon?: tailwind_variants134.ClassValue;
|
|
19
|
+
wrapper?: tailwind_variants134.ClassValue;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
} | {
|
|
23
23
|
[x: string]: {
|
|
24
|
-
[x: string]:
|
|
25
|
-
base?:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
startContent?:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
24
|
+
[x: string]: tailwind_variants134.ClassValue | {
|
|
25
|
+
base?: tailwind_variants134.ClassValue;
|
|
26
|
+
endContent?: tailwind_variants134.ClassValue;
|
|
27
|
+
errorMessage?: tailwind_variants134.ClassValue;
|
|
28
|
+
label?: tailwind_variants134.ClassValue;
|
|
29
|
+
outerWrapper?: tailwind_variants134.ClassValue;
|
|
30
|
+
startContent?: tailwind_variants134.ClassValue;
|
|
31
|
+
thumb?: tailwind_variants134.ClassValue;
|
|
32
|
+
thumbIcon?: tailwind_variants134.ClassValue;
|
|
33
|
+
wrapper?: tailwind_variants134.ClassValue;
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
} | {}, {
|
|
@@ -45,16 +45,16 @@ declare const switchVariants: tailwind_variants133.TVReturnType<{
|
|
|
45
45
|
wrapper: string;
|
|
46
46
|
}, undefined, {
|
|
47
47
|
[key: string]: {
|
|
48
|
-
[key: string]:
|
|
49
|
-
base?:
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
startContent?:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
48
|
+
[key: string]: tailwind_variants134.ClassValue | {
|
|
49
|
+
base?: tailwind_variants134.ClassValue;
|
|
50
|
+
endContent?: tailwind_variants134.ClassValue;
|
|
51
|
+
errorMessage?: tailwind_variants134.ClassValue;
|
|
52
|
+
label?: tailwind_variants134.ClassValue;
|
|
53
|
+
outerWrapper?: tailwind_variants134.ClassValue;
|
|
54
|
+
startContent?: tailwind_variants134.ClassValue;
|
|
55
|
+
thumb?: tailwind_variants134.ClassValue;
|
|
56
|
+
thumbIcon?: tailwind_variants134.ClassValue;
|
|
57
|
+
wrapper?: tailwind_variants134.ClassValue;
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
} | {}, {
|
|
@@ -67,7 +67,7 @@ declare const switchVariants: tailwind_variants133.TVReturnType<{
|
|
|
67
67
|
thumb: string;
|
|
68
68
|
thumbIcon: string;
|
|
69
69
|
wrapper: string;
|
|
70
|
-
},
|
|
70
|
+
}, tailwind_variants134.TVReturnType<unknown, {
|
|
71
71
|
base: string;
|
|
72
72
|
endContent: string;
|
|
73
73
|
errorMessage: string;
|
|
@@ -112,7 +112,7 @@ declare const Switch: ({
|
|
|
112
112
|
startContent,
|
|
113
113
|
thumbIcon,
|
|
114
114
|
...uniformFieldProps
|
|
115
|
-
}: SwitchProps$1) =>
|
|
115
|
+
}: SwitchProps$1) => react_jsx_runtime8.JSX.Element;
|
|
116
116
|
//#endregion
|
|
117
117
|
export { SwitchProps$1 as n, Switch as t };
|
|
118
|
-
//# sourceMappingURL=index-
|
|
118
|
+
//# sourceMappingURL=index-_6c2OwSa.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-_6c2OwSa.d.cts","names":[],"sources":["../src/Switch/Switch.tsx"],"mappings":";;;;;;;cAaa,cAAA,uBAAc,YAAA;EAAA;mBAezB,oBAAA,CAAA,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEG,YAAA,GAAe,OAAA,QAAe,cAAA;AAAA,KAC9B,SAAA,GAAY,WAAA,QAAmB,cAAA;AAAA,UAEnB,aAAA,SAAoB,YAAA;;EAEnC,SAAA;;EAEA,SAAA,GAAY,SAAA;;EAEZ,QAAA;;EAEA,UAAA,GAAa,SAAA;;EAEb,KAAA,GAAQ,SAAA;;EAER,IAAA;EAEA,IAAA;;EAEA,YAAA,GAAe,SAAA;;EAEf,MAAA;;EAEA,SAAA,GAAY,WAAA;AAAA;;;;cAMR,MAAA;EAAU,SAAA;EAAA,UAAA;EAAA,IAAA;EAAA,IAAA;EAAA,YAAA;EAAA,SAAA;EAAA,GAAA;AAAA,GAQb,aAAA,KAAW,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
package/dist/index.cjs
CHANGED
|
@@ -21,7 +21,7 @@ const require_Select = require('./Select-DH_YaruM.cjs');
|
|
|
21
21
|
const require_Slider = require('./Slider-C-dMrJZ6.cjs');
|
|
22
22
|
const require_SubmitButton = require('./SubmitButton-CJ6s1mZr.cjs');
|
|
23
23
|
const require_Switch = require('./Switch-CeUMwheZ.cjs');
|
|
24
|
-
const require_SwitchBox = require('./SwitchBox-
|
|
24
|
+
const require_SwitchBox = require('./SwitchBox-mGUPvJE0.cjs');
|
|
25
25
|
const require_TextArea = require('./TextArea-BYEuk4Ng.cjs');
|
|
26
26
|
const require_useClientValidation = require('./useClientValidation-Dnj_wuwf.cjs');
|
|
27
27
|
const require_useWatchUserChange = require('./useWatchUserChange-C1Kluht2.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-CNCBU7a9.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
|
|
5
|
-
import { n as FormProps, t as Form } from "./index-
|
|
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-
|
|
9
|
-
import { n as RadioTabsProps, t as RadioTabs } from "./index-
|
|
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-
|
|
2
|
+
import { n as Checkboxes, r as CheckboxesProps, t as CheckboxOption } from "./index-D_iyWuBa.cjs";
|
|
3
|
+
import { i as FieldArrayProps, n as FieldArrayChildrenRenderFn, r as FieldArrayFeatures, t as FieldArray } from "./index-CxeYvJ7m.cjs";
|
|
4
|
+
import { n as FieldCardProps, r as fieldCardVariants, t as FieldCard } from "./index-QFAAtvOV.cjs";
|
|
5
|
+
import { n as FormProps, t as Form } from "./index-BE6hzbN3.cjs";
|
|
6
|
+
import { n as GridProps, t as Grid } from "./index-CUIi5IqH.cjs";
|
|
7
|
+
import { n as InputProps, t as Input } from "./index-BRvTllFR.cjs";
|
|
8
|
+
import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "./index-C6iTO4TR.cjs";
|
|
9
|
+
import { n as RadioTabsProps, t as RadioTabs } from "./index-DqY28C4j.cjs";
|
|
10
|
+
import { n as RadiosProps, t as Radios } from "./index-BtX5upPu.cjs";
|
|
11
|
+
import { n as SelectProps, t as Select } from "./index-CM7UugT3.cjs";
|
|
12
|
+
import { n as SliderProps, t as Slider } from "./index-HfbCo9ep.cjs";
|
|
13
|
+
import { n as SubmitButtonProps, t as SubmitButton } from "./index-NykXDzr-.cjs";
|
|
14
|
+
import { n as SwitchProps, t as Switch } from "./index-_6c2OwSa.cjs";
|
|
15
|
+
import { n as SwitchBoxProps, r as switchBoxVariants, t as SwitchBox } from "./index-C_EyZKET.cjs";
|
|
16
|
+
import { n as TextAreaProps, t as TextArea } from "./index-D3L2S2b3.cjs";
|
|
17
17
|
import { createOptionValueConverter, flatArrayKey, fromNullishString, isValueEmpty, nameToTestId, toFormFormat, toNullishString, toSubmitFormat, toValidationFormat } from "./helpers/index.cjs";
|
|
18
18
|
import { n as useClientValidation, t as clientValidationSchemaByName } from "./useClientValidation-Dw-dmynu.cjs";
|
|
19
19
|
import { n as UseControllerReturn, r as useController, t as UseControllerProps } from "./useController-CvPWE2Sy.cjs";
|
|
20
|
-
import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext-
|
|
20
|
+
import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext-Dh97YG47.cjs";
|
|
21
21
|
import { t as useInput } from "./useInput-CKmKH9Ij.cjs";
|
|
22
22
|
import { n as UseInputValueDebounceReturn, r as useInputValueDebounce, t as UseInputValueDebounceOptions } from "./useInputValueDebounce-ZLyAmuXV.cjs";
|
|
23
|
-
import { n as UseUniformFieldReturn, r as useUniformField, t as UseUniformFieldParams } from "./useUniformField-
|
|
24
|
-
import { n as useUniformFieldArray, t as UseUniformFieldArrayProps } from "./useUniformFieldArray-
|
|
23
|
+
import { n as UseUniformFieldReturn, r as useUniformField, t as UseUniformFieldParams } from "./useUniformField-DIb__gKK.cjs";
|
|
24
|
+
import { n as useUniformFieldArray, t as UseUniformFieldArrayProps } from "./useUniformFieldArray-BChcZvc5.cjs";
|
|
25
25
|
import { n as useWatchUserChange, t as UseWatchUserChangeOptions } from "./useWatchUserChange-DedTNvGV.cjs";
|
|
26
|
-
import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "./index-
|
|
27
|
-
import { n as FieldValidationErrorProps, t as FieldValidationError } from "./index-
|
|
26
|
+
import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "./index-CC2Rnywy.cjs";
|
|
27
|
+
import { n as FieldValidationErrorProps, t as FieldValidationError } from "./index-DuJr42nE.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, toSubmitFormat, toValidationFormat, useClientValidation, useController, useFormContext, useInput, useInputValueDebounce, useInputValueTransform, useUniformField, useUniformFieldArray, useWatchUserChange };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { i as useInputValueTransform, n as UseInputValueTransformOptions, r as UseInputValueTransformReturn, t as InputValueTransform } from "./useInputValueTransform-tsMNM7g_.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-Bg3AbFZf.js";
|
|
3
|
+
import { i as FieldArrayProps, n as FieldArrayChildrenRenderFn, r as FieldArrayFeatures, t as FieldArray } from "./index-B3ly1uwg.js";
|
|
4
|
+
import { n as FieldCardProps, r as fieldCardVariants, t as FieldCard } from "./index-DhayQWKz.js";
|
|
5
5
|
import "./FormContext-CCe8drkp.js";
|
|
6
|
-
import { n as FormProps, t as Form } from "./index
|
|
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-
|
|
6
|
+
import { n as FormProps, t as Form } from "./index--NM5Ctp6.js";
|
|
7
|
+
import { n as GridProps, t as Grid } from "./index-DelQykFp.js";
|
|
8
|
+
import { n as InputProps, t as Input } from "./index-CYbsLxVV.js";
|
|
9
|
+
import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "./index-CHACvIcy.js";
|
|
10
|
+
import { n as RadioTabsProps, t as RadioTabs } from "./index-BdrSpcmR.js";
|
|
11
|
+
import { n as RadiosProps, t as Radios } from "./index-D0OJCk7N.js";
|
|
12
|
+
import { n as SelectProps, t as Select } from "./index-Ca2ovPTq.js";
|
|
13
|
+
import { n as SliderProps, t as Slider } from "./index-BvRjEXt-.js";
|
|
14
|
+
import { n as SubmitButtonProps, t as SubmitButton } from "./index-DIMnCRyt.js";
|
|
15
|
+
import { n as SwitchProps, t as Switch } from "./index-Dkfbf-VN.js";
|
|
16
|
+
import { n as SwitchBoxProps, r as switchBoxVariants, t as SwitchBox } from "./index-D6strMx0.js";
|
|
17
|
+
import { n as TextAreaProps, t as TextArea } from "./index-DiFA3eG2.js";
|
|
18
18
|
import { createOptionValueConverter, flatArrayKey, fromNullishString, isValueEmpty, nameToTestId, toFormFormat, toNullishString, toSubmitFormat, toValidationFormat } from "./helpers/index.js";
|
|
19
19
|
import { n as useClientValidation, t as clientValidationSchemaByName } from "./useClientValidation-DxFgfsEI.js";
|
|
20
20
|
import { n as UseControllerReturn, r as useController, t as UseControllerProps } from "./useController-DfiNbuEz.js";
|
|
21
21
|
import "./index-hIBrhvnj.js";
|
|
22
|
-
import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext-
|
|
22
|
+
import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext-C6OOtqZ5.js";
|
|
23
23
|
import "./index-BMCcWGYS.js";
|
|
24
24
|
import { t as useInput } from "./useInput-BVZvtfNg.js";
|
|
25
25
|
import { n as UseInputValueDebounceReturn, r as useInputValueDebounce, t as UseInputValueDebounceOptions } from "./useInputValueDebounce-Dhlv1NUY.js";
|
|
26
|
-
import { n as UseUniformFieldReturn, r as useUniformField, t as UseUniformFieldParams } from "./useUniformField-
|
|
27
|
-
import { n as useUniformFieldArray, t as UseUniformFieldArrayProps } from "./useUniformFieldArray-
|
|
26
|
+
import { n as UseUniformFieldReturn, r as useUniformField, t as UseUniformFieldParams } from "./useUniformField-CqqIJtqo.js";
|
|
27
|
+
import { n as useUniformFieldArray, t as UseUniformFieldArrayProps } from "./useUniformFieldArray-4MOU0xac.js";
|
|
28
28
|
import { n as useWatchUserChange, t as UseWatchUserChangeOptions } from "./useWatchUserChange-CYd_8zeN.js";
|
|
29
|
-
import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "./index-
|
|
30
|
-
import { n as FieldValidationErrorProps, t as FieldValidationError } from "./index-
|
|
29
|
+
import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "./index-DmlsX2k6.js";
|
|
30
|
+
import { n as FieldValidationErrorProps, t as FieldValidationError } from "./index-CuNl43Zr.js";
|
|
31
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, toSubmitFormat, toValidationFormat, useClientValidation, useController, useFormContext, useInput, useInputValueDebounce, useInputValueTransform, useUniformField, useUniformFieldArray, useWatchUserChange };
|
package/dist/index.js
CHANGED
|
@@ -21,7 +21,7 @@ import { n as Select_default } from "./Select-DlEUzYl6.js";
|
|
|
21
21
|
import { n as Slider_default } from "./Slider-CTFuVrp2.js";
|
|
22
22
|
import { n as SubmitButton_default } from "./SubmitButton-Bh1RN0F1.js";
|
|
23
23
|
import { n as Switch_default } from "./Switch-CXrz-M3V.js";
|
|
24
|
-
import { n as SwitchBox_default, r as switchBoxVariants } from "./SwitchBox-
|
|
24
|
+
import { n as SwitchBox_default, r as switchBoxVariants } from "./SwitchBox-C-aLl2nX.js";
|
|
25
25
|
import { n as TextArea_default } from "./TextArea-BLkVYmHZ.js";
|
|
26
26
|
import { n as useClientValidation, t as clientValidationSchemaByName } from "./useClientValidation-DksyV18M.js";
|
|
27
27
|
import { t as useWatchUserChange } from "./useWatchUserChange-Dj9Imxfi.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-CC2Rnywy.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-DmlsX2k6.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-DuJr42nE.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-CuNl43Zr.js";
|
|
2
2
|
export { FieldValidationError, FieldValidationError as default, FieldValidationErrorProps };
|
|
@@ -32,10 +32,10 @@ declare const useFormContext$1: <TFieldValues extends FieldValues = FieldValues,
|
|
|
32
32
|
getValues: react_hook_form0.UseFormGetValues<TFieldValues>;
|
|
33
33
|
subscribe: react_hook_form0.UseFormSubscribe<TFieldValues>;
|
|
34
34
|
watch: react_hook_form0.UseFormWatch<TFieldValues>;
|
|
35
|
-
debugMode: "
|
|
35
|
+
debugMode: "disabled" | "debug" | "debug-testids" | "off";
|
|
36
36
|
debugModeSettings?: DebugModeSettings;
|
|
37
37
|
preventSubmit: (prevent: boolean) => void;
|
|
38
|
-
setDebugMode: (debugMode: "
|
|
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-C6OOtqZ5.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormContext-
|
|
1
|
+
{"version":3,"file":"useFormContext-C6OOtqZ5.d.ts","names":[],"sources":["../src/hooks/useFormContext/useFormContext.ts"],"mappings":";;;;;;;;;cAYa,oBAAA,GACX,UAAA,EAAY,YAAA,EACZ,IAAA;;;;;AAFF;;;;;;cAqEa,gBAAA,wBACU,WAAA,GAAc,WAAA,uCAEd,YAAA;;wBAwBQ,IAAA,CAAK,YAAA,GAAa,MAAA;;;;;;;;;;;;;;;;6BAWf,kBAAA,KAAA,OAAA;;0BAAA,kBAAA;;;;mBAwB/B,YAAA;eAEoB,YAAA;aAAwE,kBAAA;qDAAA,gBAAA,CAAA,WAAA;EAAA"}
|
|
@@ -32,10 +32,10 @@ declare const useFormContext: <TFieldValues extends FieldValues = FieldValues, T
|
|
|
32
32
|
getValues: react_hook_form0.UseFormGetValues<TFieldValues>;
|
|
33
33
|
subscribe: react_hook_form0.UseFormSubscribe<TFieldValues>;
|
|
34
34
|
watch: react_hook_form0.UseFormWatch<TFieldValues>;
|
|
35
|
-
debugMode: "
|
|
35
|
+
debugMode: "disabled" | "debug" | "debug-testids" | "off";
|
|
36
36
|
debugModeSettings?: DebugModeSettings;
|
|
37
37
|
preventSubmit: (prevent: boolean) => void;
|
|
38
|
-
setDebugMode: (debugMode: "
|
|
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: <TFieldValues extends FieldValues = FieldValues, T
|
|
|
61
61
|
};
|
|
62
62
|
//#endregion
|
|
63
63
|
export { useFormContext as n, checkFieldIsRequired as t };
|
|
64
|
-
//# sourceMappingURL=useFormContext-
|
|
64
|
+
//# sourceMappingURL=useFormContext-Dh97YG47.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormContext-
|
|
1
|
+
{"version":3,"file":"useFormContext-Dh97YG47.d.cts","names":[],"sources":["../src/hooks/useFormContext/useFormContext.ts"],"mappings":";;;;;;;;;cAYa,oBAAA,GACX,UAAA,EAAY,YAAA,EACZ,IAAA;;;;;AAFF;;;;;;cAqEa,cAAA,wBACU,WAAA,GAAc,WAAA,uCAEd,YAAA;;wBAwBQ,IAAA,CAAK,YAAA,GAAa,MAAA;;;;;;;;;;;;;;;;6BAWf,kBAAA,KAAA,OAAA;;0BAAA,kBAAA;;;;mBAwB/B,YAAA;eAEoB,YAAA;aAAwE,kBAAA;qDAAA,gBAAA,CAAA,WAAA;EAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as InputValueTransform } from "./useInputValueTransform-tsMNM7g_.js";
|
|
2
2
|
import { r as useController$1 } from "./useController-DfiNbuEz.js";
|
|
3
|
-
import { n as useFormContext$1 } from "./useFormContext-
|
|
3
|
+
import { n as useFormContext$1 } from "./useFormContext-C6OOtqZ5.js";
|
|
4
4
|
import { t as useInput } from "./useInput-BVZvtfNg.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-CqqIJtqo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUniformField-
|
|
1
|
+
{"version":3,"file":"useUniformField-CqqIJtqo.d.ts","names":[],"sources":["../src/hooks/useUniformField/useUniformField.tsx"],"mappings":";;;;;;;;UAgBiB,qBAAA,sBACM,WAAA,GAAc,WAAA;;EAInC,IAAA,EAAM,IAAA,CAAK,YAAA;EALyB;EAOpC,SAAA;EANqB;EAQrB,QAAA;EAJW;EAMX,KAAA,GAAQ,SAAA;EAAA;EAER,MAAA;EAEY;EAAZ,SAAA,GAAY,mBAAA,CAAoB,QAAA;EAAD;EAE/B,IAAA;AAAA;AAAA,UAGe,qBAAA,sBACM,WAAA,GAAc,WAAA;EAnBnC;EAsBA,SAAA;EAnBM;EAqBN,OAAA,EAAS,UAAA,QAAkB,gBAAA,CAAe,YAAA;EAnB1C;EAqBA,SAAA,EAAW,UAAA,QAAkB,gBAAA,CAAe,YAAA;EAjB5C;EAmBA,YAAA;EAjBA;EAmBA,QAAA;EAjBY;EAmBZ,KAAA,EAAO,UAAA;EAjBP;EAmBA,YAAA,EAAc,SAAA;EAnBV;EAqBJ,KAAA,EAAO,UAAA,QAAkB,eAAA,CAAc,YAAA;EAlBH;EAoBpC,oBAAA,EAAsB,UAAA,QAAkB,QAAA;EAnBnB;EAqBrB,qBAAA,EAAuB,UAAA,QAAkB,QAAA;EAhBC;EAkB1C,aAAA,EAAe,UAAA,QAAkB,QAAA;EAlBxB;EAoBT,SAAA,EAAW,UAAA,QAAkB,gBAAA,CAAe,YAAA;EAlBf;EAoB7B,OAAA;EAdO;EAgBP,KAAA,EAAO,SAAA;EAZgC;EAcvC,MAAA,EAAQ,UAAA,QAAkB,eAAA,CAAc,YAAA;EAdjC;EAgBP,QAAA,EAAU,UAAA,QAAkB,eAAA,CAAc,YAAA;EAdpB;EAgBtB,GAAA,EAAK,UAAA,QAAkB,eAAA,CAAc,YAAA;EAdd;EAgBvB,QAAA;EAde;EAgBf,UAAA,EAAY,UAAA,QAAkB,gBAAA,CAAe,YAAA;EAdhB;EAgB7B,MAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+BW,eAAA,wBACU,WAAA,GAAc,WAAA,sBAGnC,MAAA,EAAQ,qBAAA,CAAsB,YAAA,EAAc,QAAA,MAC3C,qBAAA,CAAsB,YAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as InputValueTransform } from "./useInputValueTransform-CNCBU7a9.cjs";
|
|
2
2
|
import { r as useController } from "./useController-CvPWE2Sy.cjs";
|
|
3
|
-
import { n as useFormContext } from "./useFormContext-
|
|
3
|
+
import { n as useFormContext } from "./useFormContext-Dh97YG47.cjs";
|
|
4
4
|
import { t as useInput } from "./useInput-CKmKH9Ij.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-DIb__gKK.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUniformField-
|
|
1
|
+
{"version":3,"file":"useUniformField-DIb__gKK.d.cts","names":[],"sources":["../src/hooks/useUniformField/useUniformField.tsx"],"mappings":";;;;;;;;UAgBiB,qBAAA,sBACM,WAAA,GAAc,WAAA;;EAInC,IAAA,EAAM,IAAA,CAAK,YAAA;EALyB;EAOpC,SAAA;EANqB;EAQrB,QAAA;EAJW;EAMX,KAAA,GAAQ,SAAA;EAAA;EAER,MAAA;EAEY;EAAZ,SAAA,GAAY,mBAAA,CAAoB,QAAA;EAAD;EAE/B,IAAA;AAAA;AAAA,UAGe,qBAAA,sBACM,WAAA,GAAc,WAAA;EAnBnC;EAsBA,SAAA;EAnBM;EAqBN,OAAA,EAAS,UAAA,QAAkB,cAAA,CAAe,YAAA;EAnB1C;EAqBA,SAAA,EAAW,UAAA,QAAkB,cAAA,CAAe,YAAA;EAjB5C;EAmBA,YAAA;EAjBA;EAmBA,QAAA;EAjBY;EAmBZ,KAAA,EAAO,UAAA;EAjBP;EAmBA,YAAA,EAAc,SAAA;EAnBV;EAqBJ,KAAA,EAAO,UAAA,QAAkB,aAAA,CAAc,YAAA;EAlBH;EAoBpC,oBAAA,EAAsB,UAAA,QAAkB,QAAA;EAnBnB;EAqBrB,qBAAA,EAAuB,UAAA,QAAkB,QAAA;EAhBC;EAkB1C,aAAA,EAAe,UAAA,QAAkB,QAAA;EAlBxB;EAoBT,SAAA,EAAW,UAAA,QAAkB,cAAA,CAAe,YAAA;EAlBf;EAoB7B,OAAA;EAdO;EAgBP,KAAA,EAAO,SAAA;EAZgC;EAcvC,MAAA,EAAQ,UAAA,QAAkB,aAAA,CAAc,YAAA;EAdjC;EAgBP,QAAA,EAAU,UAAA,QAAkB,aAAA,CAAc,YAAA;EAdpB;EAgBtB,GAAA,EAAK,UAAA,QAAkB,aAAA,CAAc,YAAA;EAdd;EAgBvB,QAAA;EAde;EAgBf,UAAA,EAAY,UAAA,QAAkB,cAAA,CAAe,YAAA;EAdhB;EAgB7B,MAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+BW,eAAA,wBACU,WAAA,GAAc,WAAA,sBAGnC,MAAA,EAAQ,qBAAA,CAAsB,YAAA,EAAc,QAAA,MAC3C,qBAAA,CAAsB,YAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as useController$1 } from "./useController-DfiNbuEz.js";
|
|
2
|
-
import { n as useFormContext$1 } from "./useFormContext-
|
|
2
|
+
import { n as useFormContext$1 } from "./useFormContext-C6OOtqZ5.js";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import * as react_hook_form14 from "react-hook-form";
|
|
5
5
|
import { ArrayPath, FieldValues } from "react-hook-form";
|
|
@@ -76,4 +76,4 @@ declare const useUniformFieldArray: <TFieldValues extends FieldValues = FieldVal
|
|
|
76
76
|
};
|
|
77
77
|
//#endregion
|
|
78
78
|
export { useUniformFieldArray as n, UseUniformFieldArrayProps as t };
|
|
79
|
-
//# sourceMappingURL=useUniformFieldArray-
|
|
79
|
+
//# sourceMappingURL=useUniformFieldArray-4MOU0xac.d.ts.map
|
package/dist/{useUniformFieldArray-14B50iH3.d.ts.map → useUniformFieldArray-4MOU0xac.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUniformFieldArray-
|
|
1
|
+
{"version":3,"file":"useUniformFieldArray-4MOU0xac.d.ts","names":[],"sources":["../src/hooks/useUniformFieldArray/useUniformFieldArray.ts"],"mappings":";;;;;;;;UAYiB,yBAAA,sBACM,WAAA,GAAc,WAAA;;EAGnC,IAAA,EAAM,SAAA,CAAU,YAAA;;EAEhB,IAAA;EANe;EAQf,mBAAA;EARwC;EAUxC,uBAAA;EATmC;EAWnC,QAAA;EARM;EAUN,MAAA;EAEiB;EAAjB,KAAA,GAAQ,SAAA;AAAA;;;;;;;;;;;;;cAeG,oBAAA,wBACU,WAAA,GAAc,WAAA;EACnC,IAAA;EAAA,IAAA;EAAA,mBAAA,EAAA,oBAAA;EAAA,uBAAA;EAAA,QAAA;EAAA,MAAA,EAAA,cAAA;EAAA;AAAA,GAQC,yBAAA,CAA0B,YAAA;;;;;;;;;kBAhC+B,KAAA;;;;;;;;;UAqExB,UAAA;YAEX,UAAA,QAFW,eAAA;OAKzB,UAAA,QAHc,eAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as useController } from "./useController-CvPWE2Sy.cjs";
|
|
2
|
-
import { n as useFormContext } from "./useFormContext-
|
|
2
|
+
import { n as useFormContext } from "./useFormContext-Dh97YG47.cjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import * as react_hook_form14 from "react-hook-form";
|
|
5
5
|
import { ArrayPath, FieldValues } from "react-hook-form";
|
|
@@ -76,4 +76,4 @@ declare const useUniformFieldArray: <TFieldValues extends FieldValues = FieldVal
|
|
|
76
76
|
};
|
|
77
77
|
//#endregion
|
|
78
78
|
export { useUniformFieldArray as n, UseUniformFieldArrayProps as t };
|
|
79
|
-
//# sourceMappingURL=useUniformFieldArray-
|
|
79
|
+
//# sourceMappingURL=useUniformFieldArray-BChcZvc5.d.cts.map
|
package/dist/{useUniformFieldArray-CeMjX0vf.d.cts.map → useUniformFieldArray-BChcZvc5.d.cts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUniformFieldArray-
|
|
1
|
+
{"version":3,"file":"useUniformFieldArray-BChcZvc5.d.cts","names":[],"sources":["../src/hooks/useUniformFieldArray/useUniformFieldArray.ts"],"mappings":";;;;;;;;UAYiB,yBAAA,sBACM,WAAA,GAAc,WAAA;;EAGnC,IAAA,EAAM,SAAA,CAAU,YAAA;;EAEhB,IAAA;EANe;EAQf,mBAAA;EARwC;EAUxC,uBAAA;EATmC;EAWnC,QAAA;EARM;EAUN,MAAA;EAEiB;EAAjB,KAAA,GAAQ,SAAA;AAAA;;;;;;;;;;;;;cAeG,oBAAA,wBACU,WAAA,GAAc,WAAA;EACnC,IAAA;EAAA,IAAA;EAAA,mBAAA,EAAA,oBAAA;EAAA,uBAAA;EAAA,QAAA;EAAA,MAAA,EAAA,cAAA;EAAA;AAAA,GAQC,yBAAA,CAA0B,YAAA;;;;;;;;;kBAhC+B,KAAA;;;;;;;;;UAqExB,UAAA;YAEX,UAAA,QAFW,aAAA;OAKzB,UAAA,QAHc,aAAA"}
|