@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,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-GqydEAFk.d.ts
DELETED
|
@@ -1,290 +0,0 @@
|
|
|
1
|
-
import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
|
|
2
|
-
import { ReactNode } from "react";
|
|
3
|
-
import { Props } from "react-select";
|
|
4
|
-
|
|
5
|
-
//#region src/Select/Select.d.ts
|
|
6
|
-
declare const selectVariants: import("tailwind-variants").TVReturnType<{
|
|
7
|
-
[key: string]: {
|
|
8
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
9
|
-
label?: import("tailwind-merge").ClassNameValue;
|
|
10
|
-
control?: import("tailwind-merge").ClassNameValue;
|
|
11
|
-
placeholder?: import("tailwind-merge").ClassNameValue;
|
|
12
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
13
|
-
input?: import("tailwind-merge").ClassNameValue;
|
|
14
|
-
menu?: import("tailwind-merge").ClassNameValue;
|
|
15
|
-
option?: import("tailwind-merge").ClassNameValue;
|
|
16
|
-
group?: import("tailwind-merge").ClassNameValue;
|
|
17
|
-
clearIndicator?: import("tailwind-merge").ClassNameValue;
|
|
18
|
-
control_focused?: import("tailwind-merge").ClassNameValue;
|
|
19
|
-
crossIcon?: import("tailwind-merge").ClassNameValue;
|
|
20
|
-
downChevron?: import("tailwind-merge").ClassNameValue;
|
|
21
|
-
dropdownIndicator?: import("tailwind-merge").ClassNameValue;
|
|
22
|
-
groupHeading?: import("tailwind-merge").ClassNameValue;
|
|
23
|
-
indicatorsContainer?: import("tailwind-merge").ClassNameValue;
|
|
24
|
-
indicatorSeparator?: import("tailwind-merge").ClassNameValue;
|
|
25
|
-
loadingIndicator?: import("tailwind-merge").ClassNameValue;
|
|
26
|
-
loadingMessage?: import("tailwind-merge").ClassNameValue;
|
|
27
|
-
menuList?: import("tailwind-merge").ClassNameValue;
|
|
28
|
-
menuPortal?: import("tailwind-merge").ClassNameValue;
|
|
29
|
-
multiValue?: import("tailwind-merge").ClassNameValue;
|
|
30
|
-
multiValueContainer?: import("tailwind-merge").ClassNameValue;
|
|
31
|
-
multiValueLabel?: import("tailwind-merge").ClassNameValue;
|
|
32
|
-
multiValueRemove?: import("tailwind-merge").ClassNameValue;
|
|
33
|
-
noOptionsMessage?: import("tailwind-merge").ClassNameValue;
|
|
34
|
-
option_disabled?: import("tailwind-merge").ClassNameValue;
|
|
35
|
-
option_focused?: import("tailwind-merge").ClassNameValue;
|
|
36
|
-
option_selected?: import("tailwind-merge").ClassNameValue;
|
|
37
|
-
selectContainer?: import("tailwind-merge").ClassNameValue;
|
|
38
|
-
singleValue?: import("tailwind-merge").ClassNameValue;
|
|
39
|
-
valueContainer?: import("tailwind-merge").ClassNameValue;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
} | {
|
|
43
|
-
[x: string]: {
|
|
44
|
-
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
45
|
-
label?: import("tailwind-merge").ClassNameValue;
|
|
46
|
-
control?: import("tailwind-merge").ClassNameValue;
|
|
47
|
-
placeholder?: import("tailwind-merge").ClassNameValue;
|
|
48
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
49
|
-
input?: import("tailwind-merge").ClassNameValue;
|
|
50
|
-
menu?: import("tailwind-merge").ClassNameValue;
|
|
51
|
-
option?: import("tailwind-merge").ClassNameValue;
|
|
52
|
-
group?: import("tailwind-merge").ClassNameValue;
|
|
53
|
-
clearIndicator?: import("tailwind-merge").ClassNameValue;
|
|
54
|
-
control_focused?: import("tailwind-merge").ClassNameValue;
|
|
55
|
-
crossIcon?: import("tailwind-merge").ClassNameValue;
|
|
56
|
-
downChevron?: import("tailwind-merge").ClassNameValue;
|
|
57
|
-
dropdownIndicator?: import("tailwind-merge").ClassNameValue;
|
|
58
|
-
groupHeading?: import("tailwind-merge").ClassNameValue;
|
|
59
|
-
indicatorsContainer?: import("tailwind-merge").ClassNameValue;
|
|
60
|
-
indicatorSeparator?: import("tailwind-merge").ClassNameValue;
|
|
61
|
-
loadingIndicator?: import("tailwind-merge").ClassNameValue;
|
|
62
|
-
loadingMessage?: import("tailwind-merge").ClassNameValue;
|
|
63
|
-
menuList?: import("tailwind-merge").ClassNameValue;
|
|
64
|
-
menuPortal?: import("tailwind-merge").ClassNameValue;
|
|
65
|
-
multiValue?: import("tailwind-merge").ClassNameValue;
|
|
66
|
-
multiValueContainer?: import("tailwind-merge").ClassNameValue;
|
|
67
|
-
multiValueLabel?: import("tailwind-merge").ClassNameValue;
|
|
68
|
-
multiValueRemove?: import("tailwind-merge").ClassNameValue;
|
|
69
|
-
noOptionsMessage?: import("tailwind-merge").ClassNameValue;
|
|
70
|
-
option_disabled?: import("tailwind-merge").ClassNameValue;
|
|
71
|
-
option_focused?: import("tailwind-merge").ClassNameValue;
|
|
72
|
-
option_selected?: import("tailwind-merge").ClassNameValue;
|
|
73
|
-
selectContainer?: import("tailwind-merge").ClassNameValue;
|
|
74
|
-
singleValue?: import("tailwind-merge").ClassNameValue;
|
|
75
|
-
valueContainer?: import("tailwind-merge").ClassNameValue;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
} | {}, {
|
|
79
|
-
base: string;
|
|
80
|
-
clearIndicator: string;
|
|
81
|
-
control: string;
|
|
82
|
-
control_focused: string;
|
|
83
|
-
crossIcon: string;
|
|
84
|
-
downChevron: string;
|
|
85
|
-
dropdownIndicator: string;
|
|
86
|
-
group: string;
|
|
87
|
-
groupHeading: string;
|
|
88
|
-
indicatorsContainer: string;
|
|
89
|
-
indicatorSeparator: string;
|
|
90
|
-
input: string;
|
|
91
|
-
label: string;
|
|
92
|
-
loadingIndicator: string;
|
|
93
|
-
loadingMessage: string;
|
|
94
|
-
menu: string;
|
|
95
|
-
menuList: string;
|
|
96
|
-
menuPortal: string;
|
|
97
|
-
multiValue: string;
|
|
98
|
-
multiValueContainer: string;
|
|
99
|
-
multiValueLabel: string;
|
|
100
|
-
multiValueRemove: string;
|
|
101
|
-
noOptionsMessage: string;
|
|
102
|
-
option: string;
|
|
103
|
-
option_disabled: string;
|
|
104
|
-
option_focused: string;
|
|
105
|
-
option_selected: string;
|
|
106
|
-
placeholder: string;
|
|
107
|
-
selectContainer: string;
|
|
108
|
-
singleValue: string;
|
|
109
|
-
valueContainer: string;
|
|
110
|
-
}, undefined, {
|
|
111
|
-
[key: string]: {
|
|
112
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
113
|
-
label?: import("tailwind-merge").ClassNameValue;
|
|
114
|
-
control?: import("tailwind-merge").ClassNameValue;
|
|
115
|
-
placeholder?: import("tailwind-merge").ClassNameValue;
|
|
116
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
117
|
-
input?: import("tailwind-merge").ClassNameValue;
|
|
118
|
-
menu?: import("tailwind-merge").ClassNameValue;
|
|
119
|
-
option?: import("tailwind-merge").ClassNameValue;
|
|
120
|
-
group?: import("tailwind-merge").ClassNameValue;
|
|
121
|
-
clearIndicator?: import("tailwind-merge").ClassNameValue;
|
|
122
|
-
control_focused?: import("tailwind-merge").ClassNameValue;
|
|
123
|
-
crossIcon?: import("tailwind-merge").ClassNameValue;
|
|
124
|
-
downChevron?: import("tailwind-merge").ClassNameValue;
|
|
125
|
-
dropdownIndicator?: import("tailwind-merge").ClassNameValue;
|
|
126
|
-
groupHeading?: import("tailwind-merge").ClassNameValue;
|
|
127
|
-
indicatorsContainer?: import("tailwind-merge").ClassNameValue;
|
|
128
|
-
indicatorSeparator?: import("tailwind-merge").ClassNameValue;
|
|
129
|
-
loadingIndicator?: import("tailwind-merge").ClassNameValue;
|
|
130
|
-
loadingMessage?: import("tailwind-merge").ClassNameValue;
|
|
131
|
-
menuList?: import("tailwind-merge").ClassNameValue;
|
|
132
|
-
menuPortal?: import("tailwind-merge").ClassNameValue;
|
|
133
|
-
multiValue?: import("tailwind-merge").ClassNameValue;
|
|
134
|
-
multiValueContainer?: import("tailwind-merge").ClassNameValue;
|
|
135
|
-
multiValueLabel?: import("tailwind-merge").ClassNameValue;
|
|
136
|
-
multiValueRemove?: import("tailwind-merge").ClassNameValue;
|
|
137
|
-
noOptionsMessage?: import("tailwind-merge").ClassNameValue;
|
|
138
|
-
option_disabled?: import("tailwind-merge").ClassNameValue;
|
|
139
|
-
option_focused?: import("tailwind-merge").ClassNameValue;
|
|
140
|
-
option_selected?: import("tailwind-merge").ClassNameValue;
|
|
141
|
-
selectContainer?: import("tailwind-merge").ClassNameValue;
|
|
142
|
-
singleValue?: import("tailwind-merge").ClassNameValue;
|
|
143
|
-
valueContainer?: import("tailwind-merge").ClassNameValue;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
} | {}, {
|
|
147
|
-
base: string;
|
|
148
|
-
clearIndicator: string;
|
|
149
|
-
control: string;
|
|
150
|
-
control_focused: string;
|
|
151
|
-
crossIcon: string;
|
|
152
|
-
downChevron: string;
|
|
153
|
-
dropdownIndicator: string;
|
|
154
|
-
group: string;
|
|
155
|
-
groupHeading: string;
|
|
156
|
-
indicatorsContainer: string;
|
|
157
|
-
indicatorSeparator: string;
|
|
158
|
-
input: string;
|
|
159
|
-
label: string;
|
|
160
|
-
loadingIndicator: string;
|
|
161
|
-
loadingMessage: string;
|
|
162
|
-
menu: string;
|
|
163
|
-
menuList: string;
|
|
164
|
-
menuPortal: string;
|
|
165
|
-
multiValue: string;
|
|
166
|
-
multiValueContainer: string;
|
|
167
|
-
multiValueLabel: string;
|
|
168
|
-
multiValueRemove: string;
|
|
169
|
-
noOptionsMessage: string;
|
|
170
|
-
option: string;
|
|
171
|
-
option_disabled: string;
|
|
172
|
-
option_focused: string;
|
|
173
|
-
option_selected: string;
|
|
174
|
-
placeholder: string;
|
|
175
|
-
selectContainer: string;
|
|
176
|
-
singleValue: string;
|
|
177
|
-
valueContainer: string;
|
|
178
|
-
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
179
|
-
base: string;
|
|
180
|
-
clearIndicator: string;
|
|
181
|
-
control: string;
|
|
182
|
-
control_focused: string;
|
|
183
|
-
crossIcon: string;
|
|
184
|
-
downChevron: string;
|
|
185
|
-
dropdownIndicator: string;
|
|
186
|
-
group: string;
|
|
187
|
-
groupHeading: string;
|
|
188
|
-
indicatorsContainer: string;
|
|
189
|
-
indicatorSeparator: string;
|
|
190
|
-
input: string;
|
|
191
|
-
label: string;
|
|
192
|
-
loadingIndicator: string;
|
|
193
|
-
loadingMessage: string;
|
|
194
|
-
menu: string;
|
|
195
|
-
menuList: string;
|
|
196
|
-
menuPortal: string;
|
|
197
|
-
multiValue: string;
|
|
198
|
-
multiValueContainer: string;
|
|
199
|
-
multiValueLabel: string;
|
|
200
|
-
multiValueRemove: string;
|
|
201
|
-
noOptionsMessage: string;
|
|
202
|
-
option: string;
|
|
203
|
-
option_disabled: string;
|
|
204
|
-
option_focused: string;
|
|
205
|
-
option_selected: string;
|
|
206
|
-
placeholder: string;
|
|
207
|
-
selectContainer: string;
|
|
208
|
-
singleValue: string;
|
|
209
|
-
valueContainer: string;
|
|
210
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
211
|
-
interface SelectOption {
|
|
212
|
-
/** set option to disabled state */
|
|
213
|
-
disabled?: boolean;
|
|
214
|
-
/**
|
|
215
|
-
* True when option was auto-generated because the value wasn't found in options.
|
|
216
|
-
* Use in renderOptionLabel to render a component that fetches the real label.
|
|
217
|
-
*/
|
|
218
|
-
isFallback?: boolean;
|
|
219
|
-
/** option label */
|
|
220
|
-
label?: ReactNode;
|
|
221
|
-
/** option value */
|
|
222
|
-
value: string | number;
|
|
223
|
-
}
|
|
224
|
-
type VariantProps = TVProps<typeof selectVariants>;
|
|
225
|
-
type ClassName = TVClassName<typeof selectVariants>;
|
|
226
|
-
interface SelectProps extends VariantProps {
|
|
227
|
-
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
228
|
-
ariaLabel?: string;
|
|
229
|
-
/** CSS class name */
|
|
230
|
-
className?: ClassName;
|
|
231
|
-
/** Determine if the */
|
|
232
|
-
clearable?: boolean;
|
|
233
|
-
/** Set the select to disabled state. */
|
|
234
|
-
disabled?: boolean;
|
|
235
|
-
/** Force menu open for debugging or visual testing. */
|
|
236
|
-
debugMenuOpen?: boolean;
|
|
237
|
-
/** Filter Select Options */
|
|
238
|
-
filterOption?: undefined | ((option?: SelectOption, inputValue?: string) => boolean);
|
|
239
|
-
/** The value of the search input */
|
|
240
|
-
inputValue?: string;
|
|
241
|
-
/** Label that should be associated with the select. */
|
|
242
|
-
label?: ReactNode;
|
|
243
|
-
/** Set the select to a loading state. */
|
|
244
|
-
loading?: boolean;
|
|
245
|
-
/** switch between single and multi select mode. */
|
|
246
|
-
multiSelect?: boolean;
|
|
247
|
-
/** The name for the Select component, used by react-hook-form */
|
|
248
|
-
name: string;
|
|
249
|
-
/** Placeholder that is displayed when nothing is selected */
|
|
250
|
-
placeholder?: string;
|
|
251
|
-
/** Handle change events on the input */
|
|
252
|
-
onInputChange?: Props['onInputChange'];
|
|
253
|
-
/** The options for the Select component */
|
|
254
|
-
options: SelectOption[];
|
|
255
|
-
/** Render custom content when no options match the current search input. */
|
|
256
|
-
renderEmptyOptions?: Props['noOptionsMessage'];
|
|
257
|
-
/** Format the label of the option */
|
|
258
|
-
renderOptionLabel?: undefined | Props['formatOptionLabel'];
|
|
259
|
-
/**
|
|
260
|
-
* Fallback option(s) for async selects when value isn't in current options.
|
|
261
|
-
* Use when the selected value may not be in the options list (e.g., after
|
|
262
|
-
* search results change). Used only if value not found in options.
|
|
263
|
-
* For single select: pass the option object or undefined
|
|
264
|
-
* For multi-select: pass an array of option objects
|
|
265
|
-
*/
|
|
266
|
-
selectedOptionFallback?: SelectOption | SelectOption[];
|
|
267
|
-
/** HTML data-testid attribute used in e2e tests */
|
|
268
|
-
testId?: string;
|
|
269
|
-
}
|
|
270
|
-
/** Select component based on [HeroUI Select](https://www.heroui.com//docs/components/select) and [React-Select](https://react-select.com/home) */
|
|
271
|
-
declare const Select: ({
|
|
272
|
-
className,
|
|
273
|
-
clearable,
|
|
274
|
-
debugMenuOpen,
|
|
275
|
-
filterOption,
|
|
276
|
-
inputValue,
|
|
277
|
-
loading,
|
|
278
|
-
multiSelect,
|
|
279
|
-
name,
|
|
280
|
-
onInputChange,
|
|
281
|
-
options,
|
|
282
|
-
placeholder,
|
|
283
|
-
renderEmptyOptions,
|
|
284
|
-
renderOptionLabel,
|
|
285
|
-
selectedOptionFallback,
|
|
286
|
-
...uniformFieldProps
|
|
287
|
-
}: SelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
288
|
-
//#endregion
|
|
289
|
-
export { SelectProps as n, Select as t };
|
|
290
|
-
//# sourceMappingURL=index-GqydEAFk.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-GqydEAFk.d.ts","names":[],"sources":["../src/Select/Select.tsx"],"mappings":";;;;;cAea,cAAA,8BAAc,YAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA8CjB,YAAA;;EAER,QAAA;;;;;EAKA,UAAA;;EAEA,KAAA,GAAQ,SAAS;;EAEjB,KAAA;AAAA;AAAA,KAGG,YAAA,GAAe,OAAO,QAAQ,cAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,cAAA;AAAA,UAEnB,WAAA,SAAoB,YAAA;;EAEnC,SAAA;;EAEA,SAAA,GAAY,SAAA;;EAEZ,SAAA;;EAEA,QAAA;;EAEA,aAAA;;EAEA,YAAA,iBAEM,MAAA,GAAS,YAAA,EAAc,UAAA;;EAE7B,UAAA;;EAEA,KAAA,GAAQ,SAAA;;EAER,OAAA;;EAEA,WAAA;;EAEA,IAAA;;EAEA,WAAA;;EAEA,aAAA,GAAgB,KAAA;;EAEhB,OAAA,EAAS,YAAA;;EAET,kBAAA,GAAqB,KAAA;;EAErB,iBAAA,eAAgC,KAAA;;;;;;;;EAQhC,sBAAA,GAAyB,YAAA,GAAe,YAAA;;EAExC,MAAA;AAAA;;cA8CI,MAAA;EAAU,SAAA;EAAA,SAAA;EAAA,aAAA;EAAA,YAAA;EAAA,UAAA;EAAA,OAAA;EAAA,WAAA;EAAA,IAAA;EAAA,aAAA;EAAA,OAAA;EAAA,WAAA;EAAA,kBAAA;EAAA,iBAAA;EAAA,sBAAA;EAAA,GAAA;AAAA,GAgBb,WAAA,iCAAW,GAAA,CAAA,OAAA"}
|
package/dist/index-PMCqBX0t.d.ts
DELETED
|
@@ -1,101 +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/Input/Input.d.ts
|
|
6
|
-
declare const inputVariants: import("tailwind-variants").TVReturnType<{
|
|
7
|
-
[key: string]: {
|
|
8
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
9
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
10
|
-
input?: import("tailwind-merge").ClassNameValue;
|
|
11
|
-
inputWrapper?: import("tailwind-merge").ClassNameValue;
|
|
12
|
-
clearButton?: import("tailwind-merge").ClassNameValue;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
} | {
|
|
16
|
-
[x: string]: {
|
|
17
|
-
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
18
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
19
|
-
input?: import("tailwind-merge").ClassNameValue;
|
|
20
|
-
inputWrapper?: import("tailwind-merge").ClassNameValue;
|
|
21
|
-
clearButton?: import("tailwind-merge").ClassNameValue;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
} | {}, {
|
|
25
|
-
/** wrapper around the whole input */base: string; /** clear button */
|
|
26
|
-
clearButton: string; /** actual input element */
|
|
27
|
-
input: string; /** inner wrapper (HeroUI inputWrapper slot) */
|
|
28
|
-
inputWrapper: string;
|
|
29
|
-
}, undefined, {
|
|
30
|
-
[key: string]: {
|
|
31
|
-
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
32
|
-
base?: import("tailwind-merge").ClassNameValue;
|
|
33
|
-
input?: import("tailwind-merge").ClassNameValue;
|
|
34
|
-
inputWrapper?: import("tailwind-merge").ClassNameValue;
|
|
35
|
-
clearButton?: import("tailwind-merge").ClassNameValue;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
} | {}, {
|
|
39
|
-
/** wrapper around the whole input */base: string; /** clear button */
|
|
40
|
-
clearButton: string; /** actual input element */
|
|
41
|
-
input: string; /** inner wrapper (HeroUI inputWrapper slot) */
|
|
42
|
-
inputWrapper: string;
|
|
43
|
-
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
44
|
-
/** wrapper around the whole input */base: string; /** clear button */
|
|
45
|
-
clearButton: string; /** actual input element */
|
|
46
|
-
input: string; /** inner wrapper (HeroUI inputWrapper slot) */
|
|
47
|
-
inputWrapper: string;
|
|
48
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
49
|
-
type VariantProps = TVProps<typeof inputVariants>;
|
|
50
|
-
type ClassName = TVClassName<typeof inputVariants>;
|
|
51
|
-
interface InputProps extends VariantProps {
|
|
52
|
-
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
53
|
-
ariaLabel?: string;
|
|
54
|
-
/** CSS class name */
|
|
55
|
-
className?: ClassName;
|
|
56
|
-
/** shows clear button when input has value */
|
|
57
|
-
clearable?: boolean;
|
|
58
|
-
/** debounce delay in milliseconds for form state updates (default: 300ms) */
|
|
59
|
-
debounceDelay?: number;
|
|
60
|
-
/** input field is disabled */
|
|
61
|
-
disabled?: boolean;
|
|
62
|
-
/** added content to the end of the input Field. */
|
|
63
|
-
endContent?: ReactNode;
|
|
64
|
-
/** form field label */
|
|
65
|
-
label?: ReactNode;
|
|
66
|
-
/** form field name */
|
|
67
|
-
name: string;
|
|
68
|
-
/** callback that is fired when the value is cleared */
|
|
69
|
-
onClear?: () => void;
|
|
70
|
-
/** form field placeholder */
|
|
71
|
-
placeholder?: string;
|
|
72
|
-
/** size of the input */
|
|
73
|
-
size?: 'sm' | 'md' | 'lg';
|
|
74
|
-
/** content added to the start of the input field */
|
|
75
|
-
startContent?: ReactNode;
|
|
76
|
-
/** HTML data-testid attribute used in e2e tests */
|
|
77
|
-
testId?: string;
|
|
78
|
-
/** allows disentangled display and form values for a field */
|
|
79
|
-
transform?: InputValueTransform<string>;
|
|
80
|
-
/** input type */
|
|
81
|
-
type?: 'number' | 'password';
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Input component based on [HeroUI Input](https://www.heroui.com//docs/components/input)
|
|
85
|
-
*/
|
|
86
|
-
declare const Input: ({
|
|
87
|
-
className: _className,
|
|
88
|
-
clearable,
|
|
89
|
-
debounceDelay,
|
|
90
|
-
endContent,
|
|
91
|
-
name,
|
|
92
|
-
onClear,
|
|
93
|
-
placeholder,
|
|
94
|
-
size,
|
|
95
|
-
startContent,
|
|
96
|
-
type,
|
|
97
|
-
...uniformFieldProps
|
|
98
|
-
}: InputProps) => import("react/jsx-runtime").JSX.Element;
|
|
99
|
-
//#endregion
|
|
100
|
-
export { InputProps as n, Input as t };
|
|
101
|
-
//# sourceMappingURL=index-PMCqBX0t.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-PMCqBX0t.d.ts","names":[],"sources":["../src/Input/Input.tsx"],"mappings":";;;;;cAca,aAAA,8BAAa,YAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAarB,YAAA,GAAe,OAAO,QAAQ,aAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,aAAA;AAAA,UAEnB,UAAA,SAAmB,YAAA;EAHhB;EAKlB,SAAA;EAJG;EAMH,SAAA,GAAY,SAAA;;EAEZ,SAAA;EAR+C;EAU/C,aAAA;EAR0B;EAU1B,QAAA;EANY;EAQZ,UAAA,GAAa,SAAA;EAEL;EAAR,KAAA,GAAQ,SAAA;EAcI;EAZZ,IAAA;EAhB8C;EAkB9C,OAAA;EAlBkC;EAoBlC,WAAA;EAhBA;EAkBA,IAAA;EAhBA;EAkBA,YAAA,GAAe,SAAA;EAdf;EAgBA,MAAA;EAda;EAgBb,SAAA,GAAY,mBAAA;EAdJ;EAgBR,IAAA;AAAA;;;;cAMI,KAAA;EAAS,SAAA,EAAA,UAAA;EAAA,SAAA;EAAA,aAAA;EAAA,UAAA;EAAA,IAAA;EAAA,OAAA;EAAA,WAAA;EAAA,IAAA;EAAA,YAAA;EAAA,IAAA;EAAA,GAAA;AAAA,GAYZ,UAAA,iCAAU,GAAA,CAAA,OAAA"}
|