@fuf-stack/uniform 1.22.3 → 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/useUniformFieldArray/index.cjs +4 -4
- package/dist/hooks/useUniformFieldArray/index.cjs.map +1 -1
- package/dist/hooks/useUniformFieldArray/index.js +4 -4
- package/dist/hooks/useUniformFieldArray/index.js.map +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 +15 -15
- package/dist/index.d.ts +15 -15
- package/dist/index.js +12 -12
- 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-B4jKGy-P.d.ts +0 -167
- package/dist/index-B4jKGy-P.d.ts.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-BDFJDKmz.d.ts +0 -166
- package/dist/index-BDFJDKmz.d.ts.map +0 -1
- package/dist/index-BE4OAqJ2.d.cts +0 -113
- package/dist/index-BE4OAqJ2.d.cts.map +0 -1
- package/dist/index-BMEKfOWp.d.ts +0 -174
- package/dist/index-BMEKfOWp.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-Bgo2Dr6X.d.cts +0 -174
- package/dist/index-Bgo2Dr6X.d.cts.map +0 -1
- package/dist/index-BmMspnsJ.d.cts +0 -137
- package/dist/index-BmMspnsJ.d.cts.map +0 -1
- package/dist/index-BvbHkoH5.d.cts +0 -290
- package/dist/index-BvbHkoH5.d.cts.map +0 -1
- package/dist/index-C6DBVs7t.d.ts +0 -116
- package/dist/index-C6DBVs7t.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-CSRKNes5.d.cts +0 -167
- package/dist/index-CSRKNes5.d.cts.map +0 -1
- package/dist/index-CbPJiRK2.d.ts +0 -83
- package/dist/index-CbPJiRK2.d.ts.map +0 -1
- package/dist/index-CbQ8Ft4o.d.ts +0 -113
- package/dist/index-CbQ8Ft4o.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-Cz4JaCWd.d.ts +0 -122
- package/dist/index-Cz4JaCWd.d.ts.map +0 -1
- package/dist/index-DBsF7xsq.d.cts +0 -147
- package/dist/index-DBsF7xsq.d.cts.map +0 -1
- package/dist/index-DMOhTl4I.d.cts +0 -116
- package/dist/index-DMOhTl4I.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-GqydEAFk.d.ts +0 -290
- package/dist/index-GqydEAFk.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-Q3BWGyUO.d.cts +0 -122
- package/dist/index-Q3BWGyUO.d.cts.map +0 -1
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
2
|
-
import { ReactNode } from "react";
|
|
3
|
-
|
|
4
|
-
//#region src/Time/Time.d.ts
|
|
5
|
-
declare const timeVariants: import("tailwind-variants").TVReturnType<{
|
|
6
|
-
[key: string]: {
|
|
7
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
8
|
-
label?: import("tailwind-merge").ClassNameValue;
|
|
9
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
10
|
-
input?: import("tailwind-merge").ClassNameValue;
|
|
11
|
-
helperWrapper?: import("tailwind-merge").ClassNameValue;
|
|
12
|
-
inputWrapper?: import("tailwind-merge").ClassNameValue;
|
|
13
|
-
innerWrapper?: import("tailwind-merge").ClassNameValue;
|
|
14
|
-
segment?: import("tailwind-merge").ClassNameValue;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
} | {
|
|
18
|
-
[x: string]: {
|
|
19
|
-
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
20
|
-
label?: import("tailwind-merge").ClassNameValue;
|
|
21
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
22
|
-
input?: import("tailwind-merge").ClassNameValue;
|
|
23
|
-
helperWrapper?: import("tailwind-merge").ClassNameValue;
|
|
24
|
-
inputWrapper?: import("tailwind-merge").ClassNameValue;
|
|
25
|
-
innerWrapper?: import("tailwind-merge").ClassNameValue;
|
|
26
|
-
segment?: import("tailwind-merge").ClassNameValue;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
} | {}, {
|
|
30
|
-
/** wrapper around the whole time input */base: string; /** helper wrapper for error/description */
|
|
31
|
-
helperWrapper: string[]; /** the segmented input element */
|
|
32
|
-
input: string; /** inner wrapper around segments and optional content */
|
|
33
|
-
innerWrapper: string; /** outer input wrapper */
|
|
34
|
-
inputWrapper: string; /** field label */
|
|
35
|
-
label: string; /** individual segment */
|
|
36
|
-
segment: string;
|
|
37
|
-
}, undefined, {
|
|
38
|
-
[key: string]: {
|
|
39
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
40
|
-
label?: import("tailwind-merge").ClassNameValue;
|
|
41
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
42
|
-
input?: import("tailwind-merge").ClassNameValue;
|
|
43
|
-
helperWrapper?: import("tailwind-merge").ClassNameValue;
|
|
44
|
-
inputWrapper?: import("tailwind-merge").ClassNameValue;
|
|
45
|
-
innerWrapper?: import("tailwind-merge").ClassNameValue;
|
|
46
|
-
segment?: import("tailwind-merge").ClassNameValue;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
} | {}, {
|
|
50
|
-
/** wrapper around the whole time input */base: string; /** helper wrapper for error/description */
|
|
51
|
-
helperWrapper: string[]; /** the segmented input element */
|
|
52
|
-
input: string; /** inner wrapper around segments and optional content */
|
|
53
|
-
innerWrapper: string; /** outer input wrapper */
|
|
54
|
-
inputWrapper: string; /** field label */
|
|
55
|
-
label: string; /** individual segment */
|
|
56
|
-
segment: string;
|
|
57
|
-
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
58
|
-
/** wrapper around the whole time input */base: string; /** helper wrapper for error/description */
|
|
59
|
-
helperWrapper: string[]; /** the segmented input element */
|
|
60
|
-
input: string; /** inner wrapper around segments and optional content */
|
|
61
|
-
innerWrapper: string; /** outer input wrapper */
|
|
62
|
-
inputWrapper: string; /** field label */
|
|
63
|
-
label: string; /** individual segment */
|
|
64
|
-
segment: string;
|
|
65
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
66
|
-
type VariantProps = TVProps<typeof timeVariants>;
|
|
67
|
-
type ClassName = TVClassName<typeof timeVariants>;
|
|
68
|
-
interface TimeProps extends VariantProps {
|
|
69
|
-
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
70
|
-
ariaLabel?: string;
|
|
71
|
-
/** CSS class name */
|
|
72
|
-
className?: ClassName;
|
|
73
|
-
/** input is disabled */
|
|
74
|
-
disabled?: boolean;
|
|
75
|
-
/** smallest visible unit in the segmented time input */
|
|
76
|
-
granularity?: 'hour' | 'minute';
|
|
77
|
-
/** hide timezone abbreviation for zoned values */
|
|
78
|
-
hideTimeZone?: boolean;
|
|
79
|
-
/** force hour granularity and store UTC hour as number (0-23) */
|
|
80
|
-
hourAsNumber?: boolean;
|
|
81
|
-
/** hour cycle formatting */
|
|
82
|
-
hourCycle?: 12 | 24;
|
|
83
|
-
/** form field label */
|
|
84
|
-
label?: ReactNode;
|
|
85
|
-
/** form field name */
|
|
86
|
-
name: string;
|
|
87
|
-
/** HTML data-testid attribute used in e2e tests */
|
|
88
|
-
testId?: string;
|
|
89
|
-
/**
|
|
90
|
-
* Optional timezone used for parsing date-time strings and serializing values.
|
|
91
|
-
* When omitted, local timezone is used.
|
|
92
|
-
*/
|
|
93
|
-
timeZone?: string;
|
|
94
|
-
/** value format stored in form state (`string` stores UTC minute values, e.g. `10:15Z`) */
|
|
95
|
-
valueType?: 'string' | 'timeValue';
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Time component based on [HeroUI TimeInput](https://v2.heroui.com/docs/components/time-input)
|
|
99
|
-
*/
|
|
100
|
-
declare const Time: ({
|
|
101
|
-
className: _className,
|
|
102
|
-
granularity,
|
|
103
|
-
hideTimeZone,
|
|
104
|
-
hourAsNumber,
|
|
105
|
-
hourCycle,
|
|
106
|
-
name,
|
|
107
|
-
timeZone,
|
|
108
|
-
valueType,
|
|
109
|
-
...uniformFieldProps
|
|
110
|
-
}: TimeProps) => import("react/jsx-runtime").JSX.Element;
|
|
111
|
-
//#endregion
|
|
112
|
-
export { TimeProps as n, Time as t };
|
|
113
|
-
//# sourceMappingURL=index-BE4OAqJ2.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-BE4OAqJ2.d.cts","names":[],"sources":["../src/Time/Time.tsx"],"mappings":";;;;cAgBa,YAAA,8BAAY,YAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAsBpB,YAAA,GAAe,OAAO,QAAQ,YAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,YAAA;AAAA,UAEnB,SAAA,SAAkB,YAAA;EAHf;EAKlB,SAAA;EAJG;EAMH,SAAA,GAAY,SAAA;;EAEZ,QAAA;EAR8C;EAU9C,WAAA;EARyB;EAUzB,YAAA;EANY;EAQZ,YAAA;EAZiC;EAcjC,SAAA;EAd6C;EAgB7C,KAAA,GAAQ,SAAA;EAdR;EAgBA,IAAA;EAdY;EAgBZ,MAAA;EAZA;;;;EAiBA,QAAA;EATQ;EAWR,SAAA;AAAA;;;;cAMI,IAAA;EAAQ,SAAA,EAAA,UAAA;EAAA,WAAA;EAAA,YAAA;EAAA,YAAA;EAAA,SAAA;EAAA,IAAA;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;AAAA,GAUX,SAAA,iCAAS,GAAA,CAAA,OAAA"}
|
package/dist/index-BMEKfOWp.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
|
-
label?: import("tailwind-merge").ClassNameValue;
|
|
8
|
-
base?: 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
|
-
label?: import("tailwind-merge").ClassNameValue;
|
|
21
|
-
base?: 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
|
-
label?: import("tailwind-merge").ClassNameValue;
|
|
43
|
-
base?: 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-BMEKfOWp.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-BMEKfOWp.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"}
|
package/dist/index-BPaSE_7b.d.ts
DELETED
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
import { t as InputValueTransform } from "./useInputValueTransform-dLfFIYW4.js";
|
|
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-BPaSE_7b.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-BPaSE_7b.d.ts","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"}
|
package/dist/index-BSjcTo7A.d.ts
DELETED
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
2
|
-
import { ReactElement, ReactNode } from "react";
|
|
3
|
-
import { TabsProps } from "@fuf-stack/pixels";
|
|
4
|
-
|
|
5
|
-
//#region src/RadioTabs/RadioTabs.d.ts
|
|
6
|
-
declare const radioTabsVariants: import("tailwind-variants").TVReturnType<{
|
|
7
|
-
hasContent: {
|
|
8
|
-
true: {
|
|
9
|
-
base: string;
|
|
10
|
-
tabBase: string;
|
|
11
|
-
tabWrapper: string[];
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
fullWidth: {
|
|
15
|
-
true: {
|
|
16
|
-
tabWrapper: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
isInvalid: {
|
|
20
|
-
true: {
|
|
21
|
-
tabWrapper: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
}, {
|
|
25
|
-
base: string;
|
|
26
|
-
cursor: string;
|
|
27
|
-
label: string;
|
|
28
|
-
tab: string;
|
|
29
|
-
tabBase: string;
|
|
30
|
-
tabContent: string;
|
|
31
|
-
tabList: string;
|
|
32
|
-
tabPanel: string;
|
|
33
|
-
tabWrapper: string;
|
|
34
|
-
wrapper: string;
|
|
35
|
-
}, undefined, {
|
|
36
|
-
hasContent: {
|
|
37
|
-
true: {
|
|
38
|
-
base: string;
|
|
39
|
-
tabBase: string;
|
|
40
|
-
tabWrapper: string[];
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
fullWidth: {
|
|
44
|
-
true: {
|
|
45
|
-
tabWrapper: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
isInvalid: {
|
|
49
|
-
true: {
|
|
50
|
-
tabWrapper: string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
}, {
|
|
54
|
-
base: string;
|
|
55
|
-
cursor: string;
|
|
56
|
-
label: string;
|
|
57
|
-
tab: string;
|
|
58
|
-
tabBase: string;
|
|
59
|
-
tabContent: string;
|
|
60
|
-
tabList: string;
|
|
61
|
-
tabPanel: string;
|
|
62
|
-
tabWrapper: string;
|
|
63
|
-
wrapper: string;
|
|
64
|
-
}, import("tailwind-variants").TVReturnType<{
|
|
65
|
-
hasContent: {
|
|
66
|
-
true: {
|
|
67
|
-
base: string;
|
|
68
|
-
tabBase: string;
|
|
69
|
-
tabWrapper: string[];
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
fullWidth: {
|
|
73
|
-
true: {
|
|
74
|
-
tabWrapper: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
isInvalid: {
|
|
78
|
-
true: {
|
|
79
|
-
tabWrapper: string;
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
}, {
|
|
83
|
-
base: string;
|
|
84
|
-
cursor: string;
|
|
85
|
-
label: string;
|
|
86
|
-
tab: string;
|
|
87
|
-
tabBase: string;
|
|
88
|
-
tabContent: string;
|
|
89
|
-
tabList: string;
|
|
90
|
-
tabPanel: string;
|
|
91
|
-
tabWrapper: string;
|
|
92
|
-
wrapper: string;
|
|
93
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
94
|
-
type VariantProps = TVProps<typeof radioTabsVariants>;
|
|
95
|
-
type ClassName = TVClassName<typeof radioTabsVariants>;
|
|
96
|
-
interface RadioTabsOption {
|
|
97
|
-
/** Optional content inside of the tab */
|
|
98
|
-
content?: ReactNode;
|
|
99
|
-
/** disables the option */
|
|
100
|
-
disabled?: boolean;
|
|
101
|
-
/** option label */
|
|
102
|
-
label?: ReactNode;
|
|
103
|
-
/** option icon */
|
|
104
|
-
icon?: ReactNode;
|
|
105
|
-
/** HTML data-testid attribute of the option */
|
|
106
|
-
testId?: string;
|
|
107
|
-
/** option value */
|
|
108
|
-
value: string | number | boolean;
|
|
109
|
-
}
|
|
110
|
-
interface RadioTabsProps extends Omit<VariantProps, 'hasContent'> {
|
|
111
|
-
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
112
|
-
ariaLabel?: string;
|
|
113
|
-
/** CSS class name */
|
|
114
|
-
className?: ClassName;
|
|
115
|
-
/** Determines if the Buttons are disabled or not. */
|
|
116
|
-
disabled?: boolean;
|
|
117
|
-
/** Whether tabs should take up full container width */
|
|
118
|
-
fullWidth?: boolean;
|
|
119
|
-
/** determines orientation of the Buttons. */
|
|
120
|
-
inline?: boolean;
|
|
121
|
-
/** Label displayed next to the RadioButton. */
|
|
122
|
-
label?: ReactNode;
|
|
123
|
-
/** Name the RadioButtons are registered at in HTML forms (react-hook-form). */
|
|
124
|
-
name: string;
|
|
125
|
-
/** Radio button configuration. */
|
|
126
|
-
options: RadioTabsOption[];
|
|
127
|
-
/** Id to grab element in internal tests. */
|
|
128
|
-
testId?: string;
|
|
129
|
-
/** How the RadioTabs should look like. */
|
|
130
|
-
variant?: TabsProps['variant'];
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* RadioTabs component based on [HeroUI RadioGroup](https://www.heroui.com//docs/components/radio-group)
|
|
134
|
-
* and [HeroUI Tabs](https://www.heroui.com//docs/components/tabs)
|
|
135
|
-
*/
|
|
136
|
-
declare const RadioTabs: ({
|
|
137
|
-
className,
|
|
138
|
-
fullWidth,
|
|
139
|
-
inline,
|
|
140
|
-
name,
|
|
141
|
-
options,
|
|
142
|
-
variant,
|
|
143
|
-
...uniformFieldProps
|
|
144
|
-
}: RadioTabsProps) => ReactElement;
|
|
145
|
-
//#endregion
|
|
146
|
-
export { RadioTabsProps as n, RadioTabs as t };
|
|
147
|
-
//# sourceMappingURL=index-BSjcTo7A.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-BSjcTo7A.d.ts","names":[],"sources":["../src/RadioTabs/RadioTabs.tsx"],"mappings":";;;;;cAgBa,iBAAA,8BAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAwCzB,YAAA,GAAe,OAAO,QAAQ,iBAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,iBAAA;AAAA,UAEnB,eAAA;EAEf;EAAA,OAAA,GAAU,SAAA;EAEV;EAAA,QAAA;EAEQ;EAAR,KAAA,GAAQ,SAAA;EAED;EAAP,IAAA,GAAO,SAAA;EAIP;EAFA,MAAA;EAEK;EAAL,KAAA;AAAA;AAAA,UAGe,cAAA,SAAuB,IAAA,CAAK,YAAA;EAAA;EAE3C,SAAA;EAUQ;EARR,SAAA,GAAY,SAAA;EAgBF;EAdV,QAAA;EAN0C;EAQ1C,SAAA;EARsC;EAUtC,MAAA;EARA;EAUA,KAAA,GAAQ,SAAA;EARI;EAUZ,IAAA;EANA;EAQA,OAAA,EAAS,eAAA;EAJT;EAMA,MAAA;EAJA;EAMA,OAAA,GAAU,SAAA;AAAA;;;;;cAON,SAAA;EAAa,SAAA;EAAA,SAAA;EAAA,MAAA;EAAA,IAAA;EAAA,OAAA;EAAA,OAAA;EAAA,GAAA;AAAA,GAQhB,cAAA,KAAiB,YAAA"}
|