@fuf-stack/uniform 1.22.4 → 1.22.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Checkboxes/index.cjs +2 -1
- package/dist/Checkboxes/index.d.cts +2 -2
- package/dist/Checkboxes/index.d.ts +2 -2
- package/dist/Checkboxes/index.js +2 -2
- package/dist/{Checkboxes-DHk09GmH.cjs → Checkboxes-DrJqx6O2.cjs} +7 -1
- package/dist/{Checkboxes-DHk09GmH.cjs.map → Checkboxes-DrJqx6O2.cjs.map} +1 -1
- package/dist/{Checkboxes-D1hppxDE.js → Checkboxes-X6FRwI50.js} +2 -2
- package/dist/{Checkboxes-D1hppxDE.js.map → Checkboxes-X6FRwI50.js.map} +1 -1
- package/dist/DatePicker/index.cjs +2 -1
- package/dist/DatePicker/index.d.cts +2 -2
- package/dist/DatePicker/index.d.ts +2 -2
- package/dist/DatePicker/index.js +2 -2
- package/dist/{DatePicker-BUSi8SWQ.js → DatePicker-CGIWizz9.js} +2 -2
- package/dist/{DatePicker-BUSi8SWQ.js.map → DatePicker-CGIWizz9.js.map} +1 -1
- package/dist/{DatePicker-DuBjvS5g.cjs → DatePicker-CYUuwwsm.cjs} +7 -1
- package/dist/{DatePicker-DuBjvS5g.cjs.map → DatePicker-CYUuwwsm.cjs.map} +1 -1
- package/dist/FieldArray/index.cjs +2 -1
- package/dist/FieldArray/index.d.cts +2 -2
- package/dist/FieldArray/index.d.ts +2 -2
- package/dist/FieldArray/index.js +2 -2
- package/dist/{FieldArray-BxmK1NRd.js → FieldArray-Dkw6JBnT.js} +2 -2
- package/dist/{FieldArray-BxmK1NRd.js.map → FieldArray-Dkw6JBnT.js.map} +1 -1
- package/dist/{FieldArray-DgiQpIdr.cjs → FieldArray-V66fsvtd.cjs} +7 -1
- package/dist/{FieldArray-DgiQpIdr.cjs.map → FieldArray-V66fsvtd.cjs.map} +1 -1
- package/dist/FieldCard/index.cjs +6 -2
- package/dist/FieldCard/index.d.cts +2 -2
- package/dist/FieldCard/index.d.ts +2 -2
- package/dist/FieldCard/index.js +2 -2
- package/dist/{FieldCard-C-DZ5ARr.cjs → FieldCard-CAHnM8C0.cjs} +10 -1
- package/dist/FieldCard-CAHnM8C0.cjs.map +1 -0
- package/dist/{FieldCard-BK6SNqFY.js → FieldCard-Cg31ce9J.js} +5 -2
- package/dist/FieldCard-Cg31ce9J.js.map +1 -0
- package/dist/Input/index.d.cts +1 -1
- package/dist/Input/index.d.ts +1 -1
- package/dist/RadioBoxes/index.cjs +1 -1
- package/dist/RadioBoxes/index.d.cts +2 -2
- package/dist/RadioBoxes/index.d.ts +2 -2
- package/dist/RadioBoxes/index.js +1 -1
- package/dist/{RadioBoxes-CR--FBhQ.cjs → RadioBoxes-BmLrbYXt.cjs} +3 -3
- package/dist/RadioBoxes-BmLrbYXt.cjs.map +1 -0
- package/dist/{RadioBoxes-BJz-aJp3.js → RadioBoxes-DWxJBTKR.js} +3 -3
- package/dist/RadioBoxes-DWxJBTKR.js.map +1 -0
- package/dist/RadioTabs/index.cjs +2 -1
- package/dist/RadioTabs/index.d.cts +2 -2
- package/dist/RadioTabs/index.d.ts +2 -2
- package/dist/RadioTabs/index.js +2 -2
- package/dist/{RadioTabs-Btt582Nl.cjs → RadioTabs-14XTbTJU.cjs} +20 -14
- package/dist/RadioTabs-14XTbTJU.cjs.map +1 -0
- package/dist/{RadioTabs-CYmzrPBG.js → RadioTabs-DAY6MYJI.js} +15 -15
- package/dist/RadioTabs-DAY6MYJI.js.map +1 -0
- package/dist/Radios/index.cjs +2 -1
- package/dist/Radios/index.d.cts +2 -2
- package/dist/Radios/index.d.ts +2 -2
- package/dist/Radios/index.js +2 -2
- package/dist/{Radios-DZxhrX96.js → Radios-C938-msm.js} +2 -2
- package/dist/{Radios-DZxhrX96.js.map → Radios-C938-msm.js.map} +1 -1
- package/dist/{Radios-Jg9mwE0B.cjs → Radios-D_B9Y8s2.cjs} +7 -1
- package/dist/{Radios-Jg9mwE0B.cjs.map → Radios-D_B9Y8s2.cjs.map} +1 -1
- package/dist/Select/index.cjs +2 -1
- package/dist/Select/index.d.cts +2 -2
- package/dist/Select/index.d.ts +2 -2
- package/dist/Select/index.js +2 -2
- package/dist/{Select-CgeqhZIC.js → Select-BL6k_e-D.js} +2 -2
- package/dist/Select-BL6k_e-D.js.map +1 -0
- package/dist/{Select-CZwuEAB5.cjs → Select-D66A-hYm.cjs} +7 -1
- package/dist/Select-D66A-hYm.cjs.map +1 -0
- package/dist/Slider/index.cjs +2 -1
- package/dist/Slider/index.d.cts +2 -2
- package/dist/Slider/index.d.ts +2 -2
- package/dist/Slider/index.js +2 -2
- package/dist/{Slider-Bpxt-Qgj.cjs → Slider-ChC2PZNb.cjs} +7 -1
- package/dist/{Slider-Bpxt-Qgj.cjs.map → Slider-ChC2PZNb.cjs.map} +1 -1
- package/dist/{Slider-DRfSw0uE.js → Slider-DmEwhC1T.js} +2 -2
- package/dist/{Slider-DRfSw0uE.js.map → Slider-DmEwhC1T.js.map} +1 -1
- package/dist/Switch/index.cjs +2 -1
- package/dist/Switch/index.d.cts +2 -2
- package/dist/Switch/index.d.ts +2 -2
- package/dist/Switch/index.js +2 -2
- package/dist/{Switch-hjjy34QB.cjs → Switch-Ch6_VInV.cjs} +7 -1
- package/dist/{Switch-hjjy34QB.cjs.map → Switch-Ch6_VInV.cjs.map} +1 -1
- package/dist/{Switch-D9DNrqmj.js → Switch-DvKRPFcC.js} +2 -2
- package/dist/{Switch-D9DNrqmj.js.map → Switch-DvKRPFcC.js.map} +1 -1
- package/dist/SwitchBox/index.d.cts +1 -1
- package/dist/SwitchBox/index.d.ts +1 -1
- package/dist/SwitchBox-BU1XieaZ.js.map +1 -1
- package/dist/SwitchBox-Dl-F5y2m.cjs.map +1 -1
- package/dist/TextArea/index.d.cts +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/Time/index.cjs +7 -2
- package/dist/Time/index.d.cts +2 -2
- package/dist/Time/index.d.ts +2 -2
- package/dist/Time/index.js +2 -2
- package/dist/{Time-CDptQ3CK.js → Time-B_SXrKWK.js} +5 -2
- package/dist/Time-B_SXrKWK.js.map +1 -0
- package/dist/{Time-WKgbji5k.cjs → Time-CYoWaQsz.cjs} +16 -1
- package/dist/Time-CYoWaQsz.cjs.map +1 -0
- 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 +1 -1
- package/dist/hooks/useUniformFieldArray/index.d.cts +1 -1
- package/dist/hooks/useUniformFieldArray/index.d.ts +1 -1
- package/dist/index-19JGtN7H.d.cts +1257 -0
- package/dist/index-19JGtN7H.d.cts.map +1 -0
- package/dist/index-B4XExHDi.d.cts +539 -0
- package/dist/index-B4XExHDi.d.cts.map +1 -0
- package/dist/index-BUZEnZDm.d.ts +1760 -0
- package/dist/index-BUZEnZDm.d.ts.map +1 -0
- package/dist/index-Bbaubtxp.d.cts +677 -0
- package/dist/index-Bbaubtxp.d.cts.map +1 -0
- package/dist/index-BdgFJ-dj.d.ts +1028 -0
- package/dist/index-BdgFJ-dj.d.ts.map +1 -0
- package/dist/index-BiZNkLK3.d.cts +1477 -0
- package/dist/index-BiZNkLK3.d.cts.map +1 -0
- package/dist/index-Bie3CWyW.d.cts +1760 -0
- package/dist/index-Bie3CWyW.d.cts.map +1 -0
- package/dist/index-BsTqcI1C.d.cts +659 -0
- package/dist/index-BsTqcI1C.d.cts.map +1 -0
- package/dist/index-C6Y8KybK.d.ts +677 -0
- package/dist/index-C6Y8KybK.d.ts.map +1 -0
- package/dist/index-CD0Wpla3.d.cts +1413 -0
- package/dist/index-CD0Wpla3.d.cts.map +1 -0
- package/dist/index-CUByIf_d.d.ts +314 -0
- package/dist/index-CUByIf_d.d.ts.map +1 -0
- package/dist/index-Cf2B9woY.d.cts +473 -0
- package/dist/index-Cf2B9woY.d.cts.map +1 -0
- package/dist/index-CqXEYILn.d.cts +1263 -0
- package/dist/index-CqXEYILn.d.cts.map +1 -0
- package/dist/index-D1cB3mbB.d.ts +3917 -0
- package/dist/index-D1cB3mbB.d.ts.map +1 -0
- package/dist/index-D7AUghFx.d.ts +1413 -0
- package/dist/index-D7AUghFx.d.ts.map +1 -0
- package/dist/index-DCwffq1f.d.ts +1263 -0
- package/dist/index-DCwffq1f.d.ts.map +1 -0
- package/dist/index-DFbuWomg.d.ts +534 -0
- package/dist/index-DFbuWomg.d.ts.map +1 -0
- package/dist/index-DXOBPBft.d.ts +659 -0
- package/dist/index-DXOBPBft.d.ts.map +1 -0
- package/dist/index-DY-d4cFe.d.cts +1028 -0
- package/dist/index-DY-d4cFe.d.cts.map +1 -0
- package/dist/index-DqMpHpu7.d.ts +1257 -0
- package/dist/index-DqMpHpu7.d.ts.map +1 -0
- package/dist/index-DwnqyNnX.d.cts +534 -0
- package/dist/index-DwnqyNnX.d.cts.map +1 -0
- package/dist/index-OdNTqjhQ.d.ts +585 -0
- package/dist/index-OdNTqjhQ.d.ts.map +1 -0
- package/dist/index-QPDvw5Z5.d.cts +585 -0
- package/dist/index-QPDvw5Z5.d.cts.map +1 -0
- package/dist/index-amMd-sQN.d.ts +473 -0
- package/dist/index-amMd-sQN.d.ts.map +1 -0
- package/dist/index-clztdahp.d.ts +1477 -0
- package/dist/index-clztdahp.d.ts.map +1 -0
- package/dist/index-jK092-MJ.d.cts +314 -0
- package/dist/index-jK092-MJ.d.cts.map +1 -0
- package/dist/index-veBM95Gw.d.cts +3917 -0
- package/dist/index-veBM95Gw.d.cts.map +1 -0
- package/dist/index-yYjVSHlN.d.ts +539 -0
- package/dist/index-yYjVSHlN.d.ts.map +1 -0
- package/dist/index.cjs +20 -11
- package/dist/index.d.cts +18 -18
- package/dist/index.d.ts +18 -18
- package/dist/index.js +12 -12
- package/dist/{useFormContext-CpLVpNAf.d.ts → useFormContext-Bj1gXLt_.d.ts} +3 -3
- package/dist/{useFormContext-CpLVpNAf.d.ts.map → useFormContext-Bj1gXLt_.d.ts.map} +1 -1
- package/dist/{useFormContext-Ddc1HWKv.d.cts → useFormContext-M94eQfHm.d.cts} +3 -3
- package/dist/{useFormContext-Ddc1HWKv.d.cts.map → useFormContext-M94eQfHm.d.cts.map} +1 -1
- package/dist/{useUniformField-CmAYcGER.d.cts → useUniformField-BE-e3C4Y.d.cts} +2 -2
- package/dist/{useUniformField-CmAYcGER.d.cts.map → useUniformField-BE-e3C4Y.d.cts.map} +1 -1
- package/dist/{useUniformField-DJDpQzRo.d.ts → useUniformField-DUW-svZD.d.ts} +2 -2
- package/dist/{useUniformField-DJDpQzRo.d.ts.map → useUniformField-DUW-svZD.d.ts.map} +1 -1
- package/dist/{useUniformFieldArray-zGcIhwhF.d.ts → useUniformFieldArray-CdWv1SEk.d.ts} +2 -2
- package/dist/{useUniformFieldArray-zGcIhwhF.d.ts.map → useUniformFieldArray-CdWv1SEk.d.ts.map} +1 -1
- package/dist/{useUniformFieldArray-D3fdzwzD.d.cts → useUniformFieldArray-kkOHxNFF.d.cts} +2 -2
- package/dist/{useUniformFieldArray-D3fdzwzD.d.cts.map → useUniformFieldArray-kkOHxNFF.d.cts.map} +1 -1
- package/package.json +6 -6
- package/dist/FieldCard-BK6SNqFY.js.map +0 -1
- package/dist/FieldCard-C-DZ5ARr.cjs.map +0 -1
- package/dist/RadioBoxes-BJz-aJp3.js.map +0 -1
- package/dist/RadioBoxes-CR--FBhQ.cjs.map +0 -1
- package/dist/RadioTabs-Btt582Nl.cjs.map +0 -1
- package/dist/RadioTabs-CYmzrPBG.js.map +0 -1
- package/dist/Select-CZwuEAB5.cjs.map +0 -1
- package/dist/Select-CgeqhZIC.js.map +0 -1
- package/dist/Time-CDptQ3CK.js.map +0 -1
- package/dist/Time-WKgbji5k.cjs.map +0 -1
- package/dist/index-7UT2Ki5e.d.cts +0 -113
- package/dist/index-7UT2Ki5e.d.cts.map +0 -1
- package/dist/index-9_3XTDJC.d.cts +0 -174
- package/dist/index-9_3XTDJC.d.cts.map +0 -1
- package/dist/index-B5SfdA5O.d.cts +0 -99
- package/dist/index-B5SfdA5O.d.cts.map +0 -1
- package/dist/index-B61zRzeS.d.cts +0 -101
- package/dist/index-B61zRzeS.d.cts.map +0 -1
- package/dist/index-B7gQppgQ.d.ts +0 -116
- package/dist/index-B7gQppgQ.d.ts.map +0 -1
- package/dist/index-BDFJDKmz.d.ts +0 -166
- package/dist/index-BDFJDKmz.d.ts.map +0 -1
- package/dist/index-BPaSE_7b.d.ts +0 -179
- package/dist/index-BPaSE_7b.d.ts.map +0 -1
- package/dist/index-BSjcTo7A.d.ts +0 -147
- package/dist/index-BSjcTo7A.d.ts.map +0 -1
- package/dist/index-BmMspnsJ.d.cts +0 -137
- package/dist/index-BmMspnsJ.d.cts.map +0 -1
- package/dist/index-Bzs7_gnk.d.cts +0 -116
- package/dist/index-Bzs7_gnk.d.cts.map +0 -1
- package/dist/index-C4GJH8Xv.d.ts +0 -290
- package/dist/index-C4GJH8Xv.d.ts.map +0 -1
- package/dist/index-CE8fnXuQ.d.ts +0 -167
- package/dist/index-CE8fnXuQ.d.ts.map +0 -1
- package/dist/index-CIiOXrrY.d.ts +0 -99
- package/dist/index-CIiOXrrY.d.ts.map +0 -1
- package/dist/index-C_zjtsGM.d.ts +0 -113
- package/dist/index-C_zjtsGM.d.ts.map +0 -1
- package/dist/index-CbPJiRK2.d.ts +0 -83
- package/dist/index-CbPJiRK2.d.ts.map +0 -1
- package/dist/index-CvP3tbVV.d.ts +0 -137
- package/dist/index-CvP3tbVV.d.ts.map +0 -1
- package/dist/index-Cwb7sTO0.d.ts +0 -154
- package/dist/index-Cwb7sTO0.d.ts.map +0 -1
- package/dist/index-CxY9VWv5.d.cts +0 -154
- package/dist/index-CxY9VWv5.d.cts.map +0 -1
- package/dist/index-D8udSkgA.d.cts +0 -167
- package/dist/index-D8udSkgA.d.cts.map +0 -1
- package/dist/index-DBsF7xsq.d.cts +0 -147
- package/dist/index-DBsF7xsq.d.cts.map +0 -1
- package/dist/index-DNADTCoc.d.cts +0 -290
- package/dist/index-DNADTCoc.d.cts.map +0 -1
- package/dist/index-DRg0anjB.d.cts +0 -179
- package/dist/index-DRg0anjB.d.cts.map +0 -1
- package/dist/index-DUmNI6cE.d.cts +0 -83
- package/dist/index-DUmNI6cE.d.cts.map +0 -1
- package/dist/index-Db0WD4d1.d.cts +0 -166
- package/dist/index-Db0WD4d1.d.cts.map +0 -1
- package/dist/index-GxTY7aAc.d.ts +0 -174
- package/dist/index-GxTY7aAc.d.ts.map +0 -1
- package/dist/index-PMCqBX0t.d.ts +0 -101
- package/dist/index-PMCqBX0t.d.ts.map +0 -1
- package/dist/index-QgVr4iWX.d.cts +0 -122
- package/dist/index-QgVr4iWX.d.cts.map +0 -1
- package/dist/index-dgho7gpc.d.ts +0 -122
- package/dist/index-dgho7gpc.d.ts.map +0 -1
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
import { t as InputValueTransform } from "./useInputValueTransform-CNCBU7a9.cjs";
|
|
2
|
-
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
3
|
-
import { ReactNode } from "react";
|
|
4
|
-
|
|
5
|
-
//#region src/Checkboxes/Checkboxes.d.ts
|
|
6
|
-
declare const checkboxesVariants: import("tailwind-variants").TVReturnType<{
|
|
7
|
-
color: {
|
|
8
|
-
readonly default: {
|
|
9
|
-
wrapper: string;
|
|
10
|
-
};
|
|
11
|
-
readonly primary: {
|
|
12
|
-
wrapper: string;
|
|
13
|
-
};
|
|
14
|
-
readonly secondary: {
|
|
15
|
-
wrapper: string;
|
|
16
|
-
};
|
|
17
|
-
readonly success: {
|
|
18
|
-
wrapper: string;
|
|
19
|
-
};
|
|
20
|
-
readonly warning: {
|
|
21
|
-
wrapper: string;
|
|
22
|
-
};
|
|
23
|
-
readonly danger: {
|
|
24
|
-
wrapper: string;
|
|
25
|
-
};
|
|
26
|
-
readonly info: {
|
|
27
|
-
readonly wrapper: "text-info-foreground after:bg-info after:text-info-foreground";
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
lineThrough: {
|
|
31
|
-
true: {
|
|
32
|
-
optionLabel: string[];
|
|
33
|
-
optionLabelSubline: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
}, {
|
|
37
|
-
base: string;
|
|
38
|
-
errorMessage: string;
|
|
39
|
-
label: string;
|
|
40
|
-
optionBase: string;
|
|
41
|
-
optionIcon: string;
|
|
42
|
-
optionLabel: string;
|
|
43
|
-
optionLabelSubline: string;
|
|
44
|
-
optionWrapper: string;
|
|
45
|
-
wrapper: string;
|
|
46
|
-
}, undefined, {
|
|
47
|
-
color: {
|
|
48
|
-
readonly default: {
|
|
49
|
-
wrapper: string;
|
|
50
|
-
};
|
|
51
|
-
readonly primary: {
|
|
52
|
-
wrapper: string;
|
|
53
|
-
};
|
|
54
|
-
readonly secondary: {
|
|
55
|
-
wrapper: string;
|
|
56
|
-
};
|
|
57
|
-
readonly success: {
|
|
58
|
-
wrapper: string;
|
|
59
|
-
};
|
|
60
|
-
readonly warning: {
|
|
61
|
-
wrapper: string;
|
|
62
|
-
};
|
|
63
|
-
readonly danger: {
|
|
64
|
-
wrapper: string;
|
|
65
|
-
};
|
|
66
|
-
readonly info: {
|
|
67
|
-
readonly wrapper: "text-info-foreground after:bg-info after:text-info-foreground";
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
lineThrough: {
|
|
71
|
-
true: {
|
|
72
|
-
optionLabel: string[];
|
|
73
|
-
optionLabelSubline: string;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
}, {
|
|
77
|
-
base: string;
|
|
78
|
-
errorMessage: string;
|
|
79
|
-
label: string;
|
|
80
|
-
optionBase: string;
|
|
81
|
-
optionIcon: string;
|
|
82
|
-
optionLabel: string;
|
|
83
|
-
optionLabelSubline: string;
|
|
84
|
-
optionWrapper: string;
|
|
85
|
-
wrapper: string;
|
|
86
|
-
}, import("tailwind-variants").TVReturnType<{
|
|
87
|
-
color: {
|
|
88
|
-
readonly default: {
|
|
89
|
-
wrapper: string;
|
|
90
|
-
};
|
|
91
|
-
readonly primary: {
|
|
92
|
-
wrapper: string;
|
|
93
|
-
};
|
|
94
|
-
readonly secondary: {
|
|
95
|
-
wrapper: string;
|
|
96
|
-
};
|
|
97
|
-
readonly success: {
|
|
98
|
-
wrapper: string;
|
|
99
|
-
};
|
|
100
|
-
readonly warning: {
|
|
101
|
-
wrapper: string;
|
|
102
|
-
};
|
|
103
|
-
readonly danger: {
|
|
104
|
-
wrapper: string;
|
|
105
|
-
};
|
|
106
|
-
readonly info: {
|
|
107
|
-
readonly wrapper: "text-info-foreground after:bg-info after:text-info-foreground";
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
lineThrough: {
|
|
111
|
-
true: {
|
|
112
|
-
optionLabel: string[];
|
|
113
|
-
optionLabelSubline: string;
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
}, {
|
|
117
|
-
base: string;
|
|
118
|
-
errorMessage: string;
|
|
119
|
-
label: string;
|
|
120
|
-
optionBase: string;
|
|
121
|
-
optionIcon: string;
|
|
122
|
-
optionLabel: string;
|
|
123
|
-
optionLabelSubline: string;
|
|
124
|
-
optionWrapper: string;
|
|
125
|
-
wrapper: string;
|
|
126
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
127
|
-
type VariantProps = TVProps<typeof checkboxesVariants>;
|
|
128
|
-
type ClassName = TVClassName<typeof checkboxesVariants>;
|
|
129
|
-
interface CheckboxOption {
|
|
130
|
-
/** option label */
|
|
131
|
-
label?: ReactNode;
|
|
132
|
-
/** subline displayed below the label */
|
|
133
|
-
labelSubline?: ReactNode;
|
|
134
|
-
/** option value */
|
|
135
|
-
value: string;
|
|
136
|
-
/** disables the option */
|
|
137
|
-
disabled?: boolean;
|
|
138
|
-
/** HTML data-testid attribute of the option */
|
|
139
|
-
testId?: string;
|
|
140
|
-
}
|
|
141
|
-
interface CheckboxesProps extends VariantProps {
|
|
142
|
-
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
143
|
-
ariaLabel?: string;
|
|
144
|
-
/** CSS class name */
|
|
145
|
-
className?: ClassName;
|
|
146
|
-
/** Color scheme of the checkboxes */
|
|
147
|
-
color?: VariantProps['color'];
|
|
148
|
-
/** Sets all checkboxes disabled */
|
|
149
|
-
disabled?: boolean;
|
|
150
|
-
/** Orientation of the checkboxes */
|
|
151
|
-
inline?: boolean;
|
|
152
|
-
/** Label displayed above the checkboxes */
|
|
153
|
-
label?: ReactNode;
|
|
154
|
-
/** Whether the checkboxes label should be crossed out */
|
|
155
|
-
lineThrough?: boolean;
|
|
156
|
-
/** Name the Field is registered on the form */
|
|
157
|
-
name: string;
|
|
158
|
-
/** Checkboxes that should be displayed. */
|
|
159
|
-
options: CheckboxOption[];
|
|
160
|
-
/** HTML data-testid attribute used in e2e tests */
|
|
161
|
-
testId?: string;
|
|
162
|
-
/** allows disentangled display and form values for a field */
|
|
163
|
-
transform?: InputValueTransform<string[]>;
|
|
164
|
-
}
|
|
165
|
-
/**
|
|
166
|
-
* Checkboxes component based on [HeroUI CheckboxGroup](https://www.heroui.com//docs/components/checkbox-group)
|
|
167
|
-
*/
|
|
168
|
-
declare const Checkboxes: ({
|
|
169
|
-
className,
|
|
170
|
-
color,
|
|
171
|
-
inline,
|
|
172
|
-
lineThrough,
|
|
173
|
-
options,
|
|
174
|
-
name,
|
|
175
|
-
...uniformFieldProps
|
|
176
|
-
}: CheckboxesProps) => import("react/jsx-runtime").JSX.Element;
|
|
177
|
-
//#endregion
|
|
178
|
-
export { Checkboxes as n, CheckboxesProps as r, CheckboxOption as t };
|
|
179
|
-
//# sourceMappingURL=index-DRg0anjB.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-DRg0anjB.d.cts","names":[],"sources":["../src/Checkboxes/Checkboxes.tsx"],"mappings":";;;;;cAoBa,kBAAA,8BAAkB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqC1B,YAAA,GAAe,OAAO,QAAQ,kBAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,kBAAA;AAAA,UAEnB,cAAA;EAmCH;EAjCZ,KAAA,GAAQ,SAAA;EAW2C;EATnD,YAAA,GAAe,SAAS;EASe;EAPvC,KAAA;EAWA;EATA,QAAA;EAWA;EATA,MAAA;AAAA;AAAA,UAGe,eAAA,SAAwB,YAAA;EAYvC;EAVA,SAAA;EAYA;EAVA,SAAA,GAAY,SAAA;EAcZ;EAZA,KAAA,GAAQ,YAAA;EAcR;EAZA,QAAA;EAcY;EAZZ,MAAA;EAY+B;EAV/B,KAAA,GAAQ,SAAA;EAyIT;EAvIC,WAAA;EAckB;EAZlB,IAAA;EAYkB;EAVlB,OAAA,EAAS,cAAA;EAUS;EARlB,MAAA;EAgBC;EAdD,SAAA,GAAY,mBAAA;AAAA;;;;cAMR,UAAA;EAAc,SAAA;EAAA,KAAA;EAAA,MAAA;EAAA,WAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;AAAA,GAQjB,eAAA,iCAAe,GAAA,CAAA,OAAA"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
2
|
-
import { ReactNode } from "react";
|
|
3
|
-
|
|
4
|
-
//#region src/TextArea/TextArea.d.ts
|
|
5
|
-
declare const textAreaVariants: import("tailwind-variants").TVReturnType<{
|
|
6
|
-
[key: string]: {
|
|
7
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
8
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
9
|
-
input?: import("tailwind-merge").ClassNameValue;
|
|
10
|
-
inputWrapper?: import("tailwind-merge").ClassNameValue;
|
|
11
|
-
clearButton?: import("tailwind-merge").ClassNameValue;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
} | {
|
|
15
|
-
[x: string]: {
|
|
16
|
-
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
17
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
18
|
-
input?: import("tailwind-merge").ClassNameValue;
|
|
19
|
-
inputWrapper?: import("tailwind-merge").ClassNameValue;
|
|
20
|
-
clearButton?: import("tailwind-merge").ClassNameValue;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
} | {}, {
|
|
24
|
-
/** wrapper around the whole input */base: string; /** clear button */
|
|
25
|
-
clearButton: string; /** actual input element */
|
|
26
|
-
input: string; /** inner wrapper (HeroUI inputWrapper slot) */
|
|
27
|
-
inputWrapper: string;
|
|
28
|
-
}, undefined, {
|
|
29
|
-
[key: string]: {
|
|
30
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
31
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
32
|
-
input?: import("tailwind-merge").ClassNameValue;
|
|
33
|
-
inputWrapper?: import("tailwind-merge").ClassNameValue;
|
|
34
|
-
clearButton?: import("tailwind-merge").ClassNameValue;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
} | {}, {
|
|
38
|
-
/** wrapper around the whole input */base: string; /** clear button */
|
|
39
|
-
clearButton: string; /** actual input element */
|
|
40
|
-
input: string; /** inner wrapper (HeroUI inputWrapper slot) */
|
|
41
|
-
inputWrapper: string;
|
|
42
|
-
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
43
|
-
/** wrapper around the whole input */base: string; /** clear button */
|
|
44
|
-
clearButton: string; /** actual input element */
|
|
45
|
-
input: string; /** inner wrapper (HeroUI inputWrapper slot) */
|
|
46
|
-
inputWrapper: string;
|
|
47
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
48
|
-
type VariantProps = TVProps<typeof textAreaVariants>;
|
|
49
|
-
type ClassName = TVClassName<typeof textAreaVariants>;
|
|
50
|
-
interface TextAreaProps extends VariantProps {
|
|
51
|
-
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
52
|
-
ariaLabel?: string;
|
|
53
|
-
/** Child components. The content of the textarea. */
|
|
54
|
-
children?: ReactNode;
|
|
55
|
-
/** CSS class name */
|
|
56
|
-
className?: ClassName;
|
|
57
|
-
/** debounce delay in milliseconds for form state updates (default: 300ms) */
|
|
58
|
-
debounceDelay?: number;
|
|
59
|
-
/** Determines if the TextArea is disabled or not. */
|
|
60
|
-
disabled?: boolean;
|
|
61
|
-
/** Label displayed above the TextArea. */
|
|
62
|
-
label?: ReactNode;
|
|
63
|
-
/** Name the TextArea is registered at in HTML forms (react-hook-form). */
|
|
64
|
-
name: string;
|
|
65
|
-
/** placeholder for the textArea content. */
|
|
66
|
-
placeholder?: string;
|
|
67
|
-
/** Id to grab element in internal tests. */
|
|
68
|
-
testId?: string;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* TextArea component based on [HeroUI TextArea](https://www.heroui.com//docs/components/textarea)
|
|
72
|
-
*/
|
|
73
|
-
declare const TextArea: ({
|
|
74
|
-
children,
|
|
75
|
-
className: _className,
|
|
76
|
-
debounceDelay,
|
|
77
|
-
name,
|
|
78
|
-
placeholder,
|
|
79
|
-
...uniformFieldProps
|
|
80
|
-
}: TextAreaProps) => import("react/jsx-runtime").JSX.Element;
|
|
81
|
-
//#endregion
|
|
82
|
-
export { TextAreaProps as n, TextArea as t };
|
|
83
|
-
//# sourceMappingURL=index-DUmNI6cE.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-DUmNI6cE.d.cts","names":[],"sources":["../src/TextArea/TextArea.tsx"],"mappings":";;;;cAWa,gBAAA,8BAAgB,YAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAaxB,YAAA,GAAe,OAAO,QAAQ,gBAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,gBAAA;AAAA,UAEnB,aAAA,SAAsB,YAAA;EAHnB;EAKlB,SAAA;EAJG;EAMH,QAAA,GAAW,SAAA;;EAEX,SAAA,GAAY,SAAA;EARsC;EAUlD,aAAA;EAR6B;EAU7B,QAAA;EANW;EAQX,KAAA,GAAQ,SAAA;EAAA;EAER,IAAA;EAdiD;EAgBjD,WAAA;EAhBqC;EAkBrC,MAAA;AAAA;;;;cAMI,QAAA;EAAY,QAAA;EAAA,SAAA,EAAA,UAAA;EAAA,aAAA;EAAA,IAAA;EAAA,WAAA;EAAA,GAAA;AAAA,GAOf,aAAA,iCAAa,GAAA,CAAA,OAAA"}
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
2
|
-
import { ReactNode } from "react";
|
|
3
|
-
|
|
4
|
-
//#region src/DatePicker/DatePicker.d.ts
|
|
5
|
-
declare const datePickerVariants: import("tailwind-variants").TVReturnType<{
|
|
6
|
-
[key: string]: {
|
|
7
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
8
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
9
|
-
helperWrapper?: import("tailwind-merge").ClassNameValue;
|
|
10
|
-
inputWrapper?: import("tailwind-merge").ClassNameValue;
|
|
11
|
-
calendar?: import("tailwind-merge").ClassNameValue;
|
|
12
|
-
calendarContent?: import("tailwind-merge").ClassNameValue;
|
|
13
|
-
popoverContent?: import("tailwind-merge").ClassNameValue;
|
|
14
|
-
selectorButton?: import("tailwind-merge").ClassNameValue;
|
|
15
|
-
selectorIcon?: import("tailwind-merge").ClassNameValue;
|
|
16
|
-
timeInput?: import("tailwind-merge").ClassNameValue;
|
|
17
|
-
timeInputLabel?: import("tailwind-merge").ClassNameValue;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
} | {
|
|
21
|
-
[x: string]: {
|
|
22
|
-
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
23
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
24
|
-
helperWrapper?: import("tailwind-merge").ClassNameValue;
|
|
25
|
-
inputWrapper?: import("tailwind-merge").ClassNameValue;
|
|
26
|
-
calendar?: import("tailwind-merge").ClassNameValue;
|
|
27
|
-
calendarContent?: import("tailwind-merge").ClassNameValue;
|
|
28
|
-
popoverContent?: import("tailwind-merge").ClassNameValue;
|
|
29
|
-
selectorButton?: import("tailwind-merge").ClassNameValue;
|
|
30
|
-
selectorIcon?: import("tailwind-merge").ClassNameValue;
|
|
31
|
-
timeInput?: import("tailwind-merge").ClassNameValue;
|
|
32
|
-
timeInputLabel?: import("tailwind-merge").ClassNameValue;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
} | {}, {
|
|
36
|
-
/** wrapper around the whole date picker */base: string; /** helper wrapper for error/description */
|
|
37
|
-
helperWrapper: string[]; /** the calendar element */
|
|
38
|
-
calendar: string; /** the calendar's content element */
|
|
39
|
-
calendarContent: string;
|
|
40
|
-
/**
|
|
41
|
-
* inner wrapper (HeroUI inputWrapper slot)
|
|
42
|
-
*
|
|
43
|
-
* NOTE: Unlike HeroUI Input, the DatePicker does not expose a
|
|
44
|
-
* `data-focus` indicator on the group, so the focus border has to be
|
|
45
|
-
* driven by the native `focus-within` state of the segment inputs.
|
|
46
|
-
*/
|
|
47
|
-
inputWrapper: string; /** the calendar popover element */
|
|
48
|
-
popoverContent: string; /** selector button element */
|
|
49
|
-
selectorButton: string; /** selector icon element */
|
|
50
|
-
selectorIcon: string; /** the time-input component element */
|
|
51
|
-
timeInput: string; /** the time-input component's label element */
|
|
52
|
-
timeInputLabel: string;
|
|
53
|
-
}, undefined, {
|
|
54
|
-
[key: string]: {
|
|
55
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
56
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
57
|
-
helperWrapper?: import("tailwind-merge").ClassNameValue;
|
|
58
|
-
inputWrapper?: import("tailwind-merge").ClassNameValue;
|
|
59
|
-
calendar?: import("tailwind-merge").ClassNameValue;
|
|
60
|
-
calendarContent?: import("tailwind-merge").ClassNameValue;
|
|
61
|
-
popoverContent?: import("tailwind-merge").ClassNameValue;
|
|
62
|
-
selectorButton?: import("tailwind-merge").ClassNameValue;
|
|
63
|
-
selectorIcon?: import("tailwind-merge").ClassNameValue;
|
|
64
|
-
timeInput?: import("tailwind-merge").ClassNameValue;
|
|
65
|
-
timeInputLabel?: import("tailwind-merge").ClassNameValue;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
} | {}, {
|
|
69
|
-
/** wrapper around the whole date picker */base: string; /** helper wrapper for error/description */
|
|
70
|
-
helperWrapper: string[]; /** the calendar element */
|
|
71
|
-
calendar: string; /** the calendar's content element */
|
|
72
|
-
calendarContent: string;
|
|
73
|
-
/**
|
|
74
|
-
* inner wrapper (HeroUI inputWrapper slot)
|
|
75
|
-
*
|
|
76
|
-
* NOTE: Unlike HeroUI Input, the DatePicker does not expose a
|
|
77
|
-
* `data-focus` indicator on the group, so the focus border has to be
|
|
78
|
-
* driven by the native `focus-within` state of the segment inputs.
|
|
79
|
-
*/
|
|
80
|
-
inputWrapper: string; /** the calendar popover element */
|
|
81
|
-
popoverContent: string; /** selector button element */
|
|
82
|
-
selectorButton: string; /** selector icon element */
|
|
83
|
-
selectorIcon: string; /** the time-input component element */
|
|
84
|
-
timeInput: string; /** the time-input component's label element */
|
|
85
|
-
timeInputLabel: string;
|
|
86
|
-
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
87
|
-
/** wrapper around the whole date picker */base: string; /** helper wrapper for error/description */
|
|
88
|
-
helperWrapper: string[]; /** the calendar element */
|
|
89
|
-
calendar: string; /** the calendar's content element */
|
|
90
|
-
calendarContent: string;
|
|
91
|
-
/**
|
|
92
|
-
* inner wrapper (HeroUI inputWrapper slot)
|
|
93
|
-
*
|
|
94
|
-
* NOTE: Unlike HeroUI Input, the DatePicker does not expose a
|
|
95
|
-
* `data-focus` indicator on the group, so the focus border has to be
|
|
96
|
-
* driven by the native `focus-within` state of the segment inputs.
|
|
97
|
-
*/
|
|
98
|
-
inputWrapper: string; /** the calendar popover element */
|
|
99
|
-
popoverContent: string; /** selector button element */
|
|
100
|
-
selectorButton: string; /** selector icon element */
|
|
101
|
-
selectorIcon: string; /** the time-input component element */
|
|
102
|
-
timeInput: string; /** the time-input component's label element */
|
|
103
|
-
timeInputLabel: string;
|
|
104
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
105
|
-
type VariantProps = TVProps<typeof datePickerVariants>;
|
|
106
|
-
type ClassName = TVClassName<typeof datePickerVariants>;
|
|
107
|
-
interface DatePickerProps extends VariantProps {
|
|
108
|
-
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
109
|
-
ariaLabel?: string;
|
|
110
|
-
/** CSS class name */
|
|
111
|
-
className?: ClassName;
|
|
112
|
-
/** date picker is disabled */
|
|
113
|
-
disabled?: boolean;
|
|
114
|
-
/**
|
|
115
|
-
* Optional hour cycle override.
|
|
116
|
-
*
|
|
117
|
-
* When omitted, the picker uses the user's locale default (12-hour or 24-hour).
|
|
118
|
-
*/
|
|
119
|
-
hourCycle?: 12 | 24;
|
|
120
|
-
/** hide timezone abbreviation for zoned values */
|
|
121
|
-
hideTimeZone?: boolean;
|
|
122
|
-
/** form field label */
|
|
123
|
-
label?: ReactNode;
|
|
124
|
-
/** latest selectable value as ISO string */
|
|
125
|
-
maxValue?: string;
|
|
126
|
-
/** earliest selectable value as ISO string */
|
|
127
|
-
minValue?: string;
|
|
128
|
-
/** form field name */
|
|
129
|
-
name: string;
|
|
130
|
-
/** HTML data-testid attribute used in e2e tests */
|
|
131
|
-
testId?: string;
|
|
132
|
-
/**
|
|
133
|
-
* Optional advanced override for the display/interpretation timezone.
|
|
134
|
-
*
|
|
135
|
-
* When omitted, the picker uses the current user's local timezone while
|
|
136
|
-
* `withTime` is enabled.
|
|
137
|
-
*/
|
|
138
|
-
timeZone?: string;
|
|
139
|
-
/**
|
|
140
|
-
* Enables date-time mode.
|
|
141
|
-
*
|
|
142
|
-
* - `false` (default): date-only input (`day` granularity)
|
|
143
|
-
* - `true`: includes time segments (`minute` granularity)
|
|
144
|
-
*/
|
|
145
|
-
withTime?: boolean;
|
|
146
|
-
/** value format stored in form state (`string` stores UTC ISO values) */
|
|
147
|
-
valueType?: 'dateValue' | 'string';
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* DatePicker component based on [HeroUI DatePicker](https://v2.heroui.com/docs/components/date-picker)
|
|
151
|
-
*/
|
|
152
|
-
declare const DatePicker: ({
|
|
153
|
-
className: _className,
|
|
154
|
-
hourCycle,
|
|
155
|
-
hideTimeZone,
|
|
156
|
-
maxValue,
|
|
157
|
-
minValue,
|
|
158
|
-
name,
|
|
159
|
-
timeZone,
|
|
160
|
-
valueType,
|
|
161
|
-
withTime,
|
|
162
|
-
...uniformFieldProps
|
|
163
|
-
}: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
164
|
-
//#endregion
|
|
165
|
-
export { DatePickerProps as n, DatePicker as t };
|
|
166
|
-
//# sourceMappingURL=index-Db0WD4d1.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-Db0WD4d1.d.cts","names":[],"sources":["../src/DatePicker/DatePicker.tsx"],"mappings":";;;;cAiBa,kBAAA,8BAAkB,YAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgC5B;;;;AAEkD;AAAA;;0BACC;0BAErB;wBAInB;qBAJ2B;;;KAHpC,YAAA,GAAe,OAAO,QAAQ,kBAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,kBAAA;AAAA,UAEnB,eAAA,SAAwB,YAAA;EAI3B;EAFZ,SAAA;EAUA;EARA,SAAA,GAAY,SAAA;EAYZ;EAVA,QAAA;EAYA;;;;;EANA,SAAA;EA4BA;EA1BA,YAAA;EA0BS;EAxBT,KAAA,GAAQ,SAAA;EAuIT;EArIC,QAAA;EA4BkB;EA1BlB,QAAA;EA0BkB;EAxBlB,IAAA;EAwBkB;EAtBlB,MAAA;EAsBkB;;;;;;EAflB,QAAA;EAekB;;;;;;EARlB,QAAA;EAQkB;EANlB,SAAA;AAAA;;;;cAMI,UAAA;EAAc,SAAA,EAAA,UAAA;EAAA,SAAA;EAAA,YAAA;EAAA,QAAA;EAAA,QAAA;EAAA,IAAA;EAAA,QAAA;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,GAWjB,eAAA,iCAAe,GAAA,CAAA,OAAA"}
|
package/dist/index-GxTY7aAc.d.ts
DELETED
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
2
|
-
import { ReactNode } from "react";
|
|
3
|
-
//#region src/RadioBoxes/RadioBoxes.d.ts
|
|
4
|
-
declare const radioBoxesVariants: import("tailwind-variants").TVReturnType<{
|
|
5
|
-
[key: string]: {
|
|
6
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
7
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
8
|
-
label?: import("tailwind-merge").ClassNameValue;
|
|
9
|
-
wrapper?: import("tailwind-merge").ClassNameValue;
|
|
10
|
-
boxBase?: import("tailwind-merge").ClassNameValue;
|
|
11
|
-
boxControl?: import("tailwind-merge").ClassNameValue;
|
|
12
|
-
boxDescription?: import("tailwind-merge").ClassNameValue;
|
|
13
|
-
boxLabel?: import("tailwind-merge").ClassNameValue;
|
|
14
|
-
boxLabelWrapper?: import("tailwind-merge").ClassNameValue;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
} | {
|
|
18
|
-
[x: string]: {
|
|
19
|
-
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
20
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
21
|
-
label?: import("tailwind-merge").ClassNameValue;
|
|
22
|
-
wrapper?: import("tailwind-merge").ClassNameValue;
|
|
23
|
-
boxBase?: import("tailwind-merge").ClassNameValue;
|
|
24
|
-
boxControl?: import("tailwind-merge").ClassNameValue;
|
|
25
|
-
boxDescription?: import("tailwind-merge").ClassNameValue;
|
|
26
|
-
boxLabel?: import("tailwind-merge").ClassNameValue;
|
|
27
|
-
boxLabelWrapper?: import("tailwind-merge").ClassNameValue;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
} | {}, {
|
|
31
|
-
base: string;
|
|
32
|
-
boxBase: string;
|
|
33
|
-
boxControl: string;
|
|
34
|
-
boxDescription: string;
|
|
35
|
-
boxLabel: string;
|
|
36
|
-
boxLabelWrapper: string;
|
|
37
|
-
label: string;
|
|
38
|
-
wrapper: string;
|
|
39
|
-
}, undefined, {
|
|
40
|
-
[key: string]: {
|
|
41
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
42
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
43
|
-
label?: import("tailwind-merge").ClassNameValue;
|
|
44
|
-
wrapper?: import("tailwind-merge").ClassNameValue;
|
|
45
|
-
boxBase?: import("tailwind-merge").ClassNameValue;
|
|
46
|
-
boxControl?: import("tailwind-merge").ClassNameValue;
|
|
47
|
-
boxDescription?: import("tailwind-merge").ClassNameValue;
|
|
48
|
-
boxLabel?: import("tailwind-merge").ClassNameValue;
|
|
49
|
-
boxLabelWrapper?: import("tailwind-merge").ClassNameValue;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
} | {}, {
|
|
53
|
-
base: string;
|
|
54
|
-
boxBase: string;
|
|
55
|
-
boxControl: string;
|
|
56
|
-
boxDescription: string;
|
|
57
|
-
boxLabel: string;
|
|
58
|
-
boxLabelWrapper: string;
|
|
59
|
-
label: string;
|
|
60
|
-
wrapper: string;
|
|
61
|
-
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
62
|
-
base: string;
|
|
63
|
-
boxBase: string;
|
|
64
|
-
boxControl: string;
|
|
65
|
-
boxDescription: string;
|
|
66
|
-
boxLabel: string;
|
|
67
|
-
boxLabelWrapper: string;
|
|
68
|
-
label: string;
|
|
69
|
-
wrapper: string;
|
|
70
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
71
|
-
type VariantProps = TVProps<typeof radioBoxesVariants>;
|
|
72
|
-
type ClassName = TVClassName<typeof radioBoxesVariants>;
|
|
73
|
-
interface RadioBoxesOption {
|
|
74
|
-
/** Description of the value. Works with variant radioBox. */
|
|
75
|
-
description?: ReactNode;
|
|
76
|
-
/** disables the option */
|
|
77
|
-
disabled?: boolean;
|
|
78
|
-
/** option label */
|
|
79
|
-
label?: ReactNode;
|
|
80
|
-
/** option icon */
|
|
81
|
-
icon?: ReactNode;
|
|
82
|
-
/** HTML data-testid attribute of the option */
|
|
83
|
-
testId?: string;
|
|
84
|
-
/** option value */
|
|
85
|
-
value: string | number;
|
|
86
|
-
}
|
|
87
|
-
interface RadioBoxesProps extends VariantProps {
|
|
88
|
-
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
89
|
-
ariaLabel?: string;
|
|
90
|
-
/** CSS class name */
|
|
91
|
-
className?: ClassName;
|
|
92
|
-
/** Determines if the Buttons are disabled or not. */
|
|
93
|
-
disabled?: boolean;
|
|
94
|
-
/** determines orientation of the Buttons. */
|
|
95
|
-
inline?: boolean;
|
|
96
|
-
/** Label displayed next to the RadioButton. */
|
|
97
|
-
label?: ReactNode;
|
|
98
|
-
/** Name the RadioButtons are registered at in HTML forms (react-hook-form). */
|
|
99
|
-
name: string;
|
|
100
|
-
/** Radio button configuration. */
|
|
101
|
-
options: RadioBoxesOption[];
|
|
102
|
-
/** Id to grab element in internal tests. */
|
|
103
|
-
testId?: string;
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* RadioBoxes component based on [HeroUI RadioGroup](https://www.heroui.com//docs/components/radio-group)
|
|
107
|
-
*/
|
|
108
|
-
declare const RadioBoxes: ({
|
|
109
|
-
className,
|
|
110
|
-
inline,
|
|
111
|
-
name,
|
|
112
|
-
options,
|
|
113
|
-
...uniformFieldProps
|
|
114
|
-
}: RadioBoxesProps) => import("react/jsx-runtime").JSX.Element;
|
|
115
|
-
//#endregion
|
|
116
|
-
//#region src/RadioBoxes/RadioBox.d.ts
|
|
117
|
-
declare const radioBoxVariants: import("tailwind-variants").TVReturnType<{
|
|
118
|
-
isDisabled: {
|
|
119
|
-
true: {
|
|
120
|
-
base: string;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
isInvalid: {
|
|
124
|
-
true: {
|
|
125
|
-
base: string;
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
|
-
}, {
|
|
129
|
-
base: string;
|
|
130
|
-
control: string;
|
|
131
|
-
description: string;
|
|
132
|
-
icon: string;
|
|
133
|
-
label: string;
|
|
134
|
-
labelWrapper: string;
|
|
135
|
-
}, undefined, {
|
|
136
|
-
isDisabled: {
|
|
137
|
-
true: {
|
|
138
|
-
base: string;
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
isInvalid: {
|
|
142
|
-
true: {
|
|
143
|
-
base: string;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
}, {
|
|
147
|
-
base: string;
|
|
148
|
-
control: string;
|
|
149
|
-
description: string;
|
|
150
|
-
icon: string;
|
|
151
|
-
label: string;
|
|
152
|
-
labelWrapper: string;
|
|
153
|
-
}, import("tailwind-variants").TVReturnType<{
|
|
154
|
-
isDisabled: {
|
|
155
|
-
true: {
|
|
156
|
-
base: string;
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
isInvalid: {
|
|
160
|
-
true: {
|
|
161
|
-
base: string;
|
|
162
|
-
};
|
|
163
|
-
};
|
|
164
|
-
}, {
|
|
165
|
-
base: string;
|
|
166
|
-
control: string;
|
|
167
|
-
description: string;
|
|
168
|
-
icon: string;
|
|
169
|
-
label: string;
|
|
170
|
-
labelWrapper: string;
|
|
171
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
172
|
-
//#endregion
|
|
173
|
-
export { RadioBoxes as n, RadioBoxesProps as r, radioBoxVariants as t };
|
|
174
|
-
//# sourceMappingURL=index-GxTY7aAc.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-GxTY7aAc.d.ts","names":[],"sources":["../src/RadioBoxes/RadioBoxes.tsx","../src/RadioBoxes/RadioBox.tsx"],"mappings":";;;cAaa,kBAAA,8BAAkB,YAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgB1B,YAAA,GAAe,OAAO,QAAQ,kBAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,kBAAA;AAAA,UAEnB,gBAAA;;EAEf,WAAA,GAAc,SAAA;;EAEd,QAAA;;EAEA,KAAA,GAAQ,SAAA;;EAER,IAAA,GAAO,SAAA;;EAEP,MAAA;;EAEA,KAAA;AAAA;AAAA,UAGe,eAAA,SAAwB,YAAA;;EAEvC,SAAA;;EAEA,SAAA,GAAY,SAAA;;EAEZ,QAAA;;EAEA,MAAA;EA1BG;EA4BH,KAAA,GAAQ,SAAA;;EAER,IAAA;EA9BmD;EAgCnD,OAAA,EAAS,gBAAA;EA/BG;EAiCZ,MAAA;AAAA;AAjCoD;AAEtD;;AAFsD,cAuChD,UAAA;EAAc,SAAA;EAAA,MAAA;EAAA,IAAA;EAAA,OAAA;EAAA,GAAA;AAAA,GAMjB,eAAA,iCAAe,GAAA,CAAA,OAAA;;;cClEL,gBAAA,8BAAgB,YAAA"}
|