@fuf-stack/uniform 1.8.10 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Checkboxes/index.cjs +3 -8
- package/dist/Checkboxes/index.cjs.map +1 -1
- package/dist/Checkboxes/index.d.cts +2 -2
- package/dist/Checkboxes/index.d.ts +2 -2
- package/dist/Checkboxes/index.js +2 -7
- package/dist/{Checkboxes-CDjOYw76.d.cts → Checkboxes-CBgO9itq.d.cts} +2 -0
- package/dist/{Checkboxes-wWzFP2sn.d.ts → Checkboxes-CFbsc6zg.d.ts} +2 -0
- package/dist/FieldArray/index.cjs +5 -8
- package/dist/FieldArray/index.cjs.map +1 -1
- package/dist/FieldArray/index.d.cts +2 -2
- package/dist/FieldArray/index.d.ts +2 -2
- package/dist/FieldArray/index.js +4 -7
- package/dist/{FieldArray-Cql1zcch.d.cts → FieldArray-72vn2MG9.d.cts} +2 -2
- package/dist/{FieldArray-Cql1zcch.d.ts → FieldArray-72vn2MG9.d.ts} +2 -2
- package/dist/FieldCard/index.cjs +19 -0
- package/dist/FieldCard/index.cjs.map +1 -0
- package/dist/FieldCard/index.d.cts +95 -0
- package/dist/FieldCard/index.d.ts +95 -0
- package/dist/FieldCard/index.js +19 -0
- package/dist/Form/index.cjs +3 -13
- package/dist/Form/index.cjs.map +1 -1
- package/dist/Form/index.js +2 -12
- package/dist/Input/index.cjs +4 -8
- package/dist/Input/index.cjs.map +1 -1
- package/dist/Input/index.d.cts +2 -2
- package/dist/Input/index.d.ts +2 -2
- package/dist/Input/index.js +3 -7
- package/dist/{Input-DMVTcinm.d.cts → Input-BGYDOpbo.d.cts} +4 -2
- package/dist/{Input-BcdS2xBM.d.ts → Input-__SqMh2n.d.ts} +4 -2
- package/dist/{RadioBoxes-DpkI28l0.d.cts → RadioBox-DnqCiTR1.d.cts} +89 -37
- package/dist/{RadioBoxes-DpkI28l0.d.ts → RadioBox-DnqCiTR1.d.ts} +89 -37
- package/dist/RadioBoxes/index.cjs +5 -8
- package/dist/RadioBoxes/index.cjs.map +1 -1
- package/dist/RadioBoxes/index.d.cts +2 -2
- package/dist/RadioBoxes/index.d.ts +2 -2
- package/dist/RadioBoxes/index.js +6 -9
- package/dist/RadioTabs/index.cjs +3 -8
- package/dist/RadioTabs/index.cjs.map +1 -1
- package/dist/RadioTabs/index.d.cts +2 -2
- package/dist/RadioTabs/index.d.ts +2 -2
- package/dist/RadioTabs/index.js +2 -7
- package/dist/{RadioTabs-DTDcAZoH.d.cts → RadioTabs-DkR5fvl4.d.cts} +18 -1
- package/dist/{RadioTabs-DTDcAZoH.d.ts → RadioTabs-DkR5fvl4.d.ts} +18 -1
- package/dist/Radios/index.cjs +3 -8
- package/dist/Radios/index.cjs.map +1 -1
- package/dist/Radios/index.d.cts +2 -2
- package/dist/Radios/index.d.ts +2 -2
- package/dist/Radios/index.js +2 -7
- package/dist/{Radios-DprlJhoq.d.cts → Radios-lLVlvY_B.d.cts} +3 -1
- package/dist/{Radios-DprlJhoq.d.ts → Radios-lLVlvY_B.d.ts} +3 -1
- package/dist/Select/index.cjs +4 -8
- package/dist/Select/index.cjs.map +1 -1
- package/dist/Select/index.d.cts +3 -2
- package/dist/Select/index.d.ts +3 -2
- package/dist/Select/index.js +3 -7
- package/dist/{Select-CDkZmZp2.d.cts → Select-DWlnKj5c.d.cts} +8 -5
- package/dist/{Select-CDkZmZp2.d.ts → Select-DWlnKj5c.d.ts} +8 -5
- package/dist/Slider/index.cjs +19 -0
- package/dist/Slider/index.cjs.map +1 -0
- package/dist/Slider/index.d.cts +10 -0
- package/dist/Slider/index.d.ts +10 -0
- package/dist/Slider/index.js +19 -0
- package/dist/Slider-CxHvafJA.d.cts +155 -0
- package/dist/Slider-CxHvafJA.d.ts +155 -0
- package/dist/SubmitButton/index.cjs +3 -13
- package/dist/SubmitButton/index.cjs.map +1 -1
- package/dist/SubmitButton/index.js +2 -12
- package/dist/Switch/index.cjs +3 -8
- package/dist/Switch/index.cjs.map +1 -1
- package/dist/Switch/index.d.cts +2 -2
- package/dist/Switch/index.d.ts +2 -2
- package/dist/Switch/index.js +2 -7
- package/dist/{Switch-Hr6PnK98.d.cts → Switch-B4AuHAMX.d.cts} +6 -4
- package/dist/{Switch-Hr6PnK98.d.ts → Switch-B4AuHAMX.d.ts} +6 -4
- package/dist/SwitchBox/index.cjs +21 -0
- package/dist/SwitchBox/index.cjs.map +1 -0
- package/dist/SwitchBox/index.d.cts +11 -0
- package/dist/SwitchBox/index.d.ts +11 -0
- package/dist/SwitchBox/index.js +21 -0
- package/dist/SwitchBox/index.js.map +1 -0
- package/dist/SwitchBox-q1I7a0NX.d.cts +146 -0
- package/dist/SwitchBox-q1I7a0NX.d.ts +146 -0
- package/dist/TextArea/index.cjs +4 -8
- package/dist/TextArea/index.cjs.map +1 -1
- package/dist/TextArea/index.d.cts +2 -2
- package/dist/TextArea/index.d.ts +2 -2
- package/dist/TextArea/index.js +3 -7
- package/dist/{TextArea-DhxNWYNg.d.cts → TextArea-CYcFOcun.d.cts} +2 -0
- package/dist/{TextArea-DhxNWYNg.d.ts → TextArea-CYcFOcun.d.ts} +2 -0
- package/dist/{chunk-EFZXZNJO.js → chunk-2EQEKXG2.js} +4 -2
- package/dist/chunk-2EQEKXG2.js.map +1 -0
- package/dist/chunk-36LBVB45.js +1 -0
- package/dist/chunk-36LBVB45.js.map +1 -0
- package/dist/chunk-3JAVQAL5.cjs +1 -0
- package/dist/{chunk-KWJMKX5J.cjs.map → chunk-3JAVQAL5.cjs.map} +1 -1
- package/dist/{chunk-NTOYCWCJ.cjs → chunk-3ZQXSGR2.cjs} +1 -1
- package/dist/{chunk-NTOYCWCJ.cjs.map → chunk-3ZQXSGR2.cjs.map} +1 -1
- package/dist/{chunk-BIC7IWER.js → chunk-4KEI3VRK.js} +6 -3
- package/dist/chunk-4KEI3VRK.js.map +1 -0
- package/dist/{chunk-PFFTE4NW.cjs → chunk-4LLSZ6GN.cjs} +6 -4
- package/dist/chunk-4LLSZ6GN.cjs.map +1 -0
- package/dist/chunk-5UGCZ7OA.js +215 -0
- package/dist/chunk-5UGCZ7OA.js.map +1 -0
- package/dist/{chunk-MEIT57H2.cjs → chunk-6UORUDZV.cjs} +5 -3
- package/dist/chunk-6UORUDZV.cjs.map +1 -0
- package/dist/chunk-7TUWJWLN.js +131 -0
- package/dist/chunk-7TUWJWLN.js.map +1 -0
- package/dist/chunk-7WBYC3BC.js +149 -0
- package/dist/chunk-7WBYC3BC.js.map +1 -0
- package/dist/{chunk-QE4J4AMH.js → chunk-BUFKWZNC.js} +2 -2
- package/dist/chunk-BUFKWZNC.js.map +1 -0
- package/dist/{chunk-A3PYIWG2.js → chunk-BZ2PD2JG.js} +1 -1
- package/dist/chunk-BZ2PD2JG.js.map +1 -0
- package/dist/{chunk-37RM7TVP.cjs → chunk-CM2LLV5N.cjs} +5 -3
- package/dist/chunk-CM2LLV5N.cjs.map +1 -0
- package/dist/{chunk-OTFX4BWZ.js → chunk-FHYUMBE3.js} +80 -46
- package/dist/chunk-FHYUMBE3.js.map +1 -0
- package/dist/chunk-FQDOJIQF.cjs +149 -0
- package/dist/chunk-FQDOJIQF.cjs.map +1 -0
- package/dist/{chunk-TN7OSO3T.js → chunk-GQF5HVA4.js} +5 -5
- package/dist/chunk-GQF5HVA4.js.map +1 -0
- package/dist/{chunk-6AQ5R4U4.cjs → chunk-HYOALQIV.cjs} +7 -7
- package/dist/chunk-HYOALQIV.cjs.map +1 -0
- package/dist/{chunk-NG2KM4CA.cjs → chunk-IZ5SPNVQ.cjs} +9 -6
- package/dist/chunk-IZ5SPNVQ.cjs.map +1 -0
- package/dist/{chunk-RRG5ZLVF.cjs → chunk-JRE5KEX3.cjs} +1 -1
- package/dist/{chunk-RRG5ZLVF.cjs.map → chunk-JRE5KEX3.cjs.map} +1 -1
- package/dist/chunk-KOV7U4QA.cjs +165 -0
- package/dist/chunk-KOV7U4QA.cjs.map +1 -0
- package/dist/{chunk-ZJDU5EPE.js → chunk-LEMQGDFE.js} +1 -1
- package/dist/chunk-M5IL7INR.js +219 -0
- package/dist/chunk-M5IL7INR.js.map +1 -0
- package/dist/{chunk-R5AOS4DQ.js → chunk-MODH7W2M.js} +5 -3
- package/dist/chunk-MODH7W2M.js.map +1 -0
- package/dist/chunk-MSJP25N4.cjs +131 -0
- package/dist/chunk-MSJP25N4.cjs.map +1 -0
- package/dist/{chunk-OYDNTOOU.cjs → chunk-MVFEXRWQ.cjs} +3 -3
- package/dist/chunk-MVFEXRWQ.cjs.map +1 -0
- package/dist/{chunk-7WHL6K5T.js → chunk-O5KAFUBE.js} +7 -4
- package/dist/chunk-O5KAFUBE.js.map +1 -0
- package/dist/{chunk-ZNX2PT6C.cjs → chunk-OED4DYBD.cjs} +6 -3
- package/dist/chunk-OED4DYBD.cjs.map +1 -0
- package/dist/chunk-OIKPQMQ2.cjs +215 -0
- package/dist/chunk-OIKPQMQ2.cjs.map +1 -0
- package/dist/{chunk-Y7YEI6T2.js → chunk-P2TT7HU5.js} +1 -1
- package/dist/chunk-P2TT7HU5.js.map +1 -0
- package/dist/{chunk-JQQ32JOD.cjs → chunk-PTCZOUQX.cjs} +1 -1
- package/dist/chunk-PTCZOUQX.cjs.map +1 -0
- package/dist/{chunk-2UHJBGKV.js → chunk-QPKHR6WH.js} +4 -2
- package/dist/chunk-QPKHR6WH.js.map +1 -0
- package/dist/{chunk-WWSJQUTT.cjs → chunk-V45YAJT4.cjs} +7 -5
- package/dist/chunk-V45YAJT4.cjs.map +1 -0
- package/dist/chunk-WRKONOOV.cjs +219 -0
- package/dist/chunk-WRKONOOV.cjs.map +1 -0
- package/dist/{chunk-DUYZ7WW3.cjs → chunk-XSS4REAS.cjs} +80 -46
- package/dist/chunk-XSS4REAS.cjs.map +1 -0
- package/dist/{chunk-GRQVGEYI.js → chunk-XSVEW3KN.js} +5 -3
- package/dist/chunk-XSVEW3KN.js.map +1 -0
- package/dist/chunk-YMXUVBQ3.js +165 -0
- package/dist/chunk-YMXUVBQ3.js.map +1 -0
- package/dist/hooks/useFormContext/index.cjs +2 -1
- package/dist/hooks/useFormContext/index.cjs.map +1 -1
- package/dist/hooks/useFormContext/index.d.cts +2 -2
- package/dist/hooks/useFormContext/index.d.ts +2 -2
- package/dist/hooks/useFormContext/index.js +1 -0
- package/dist/hooks/useInputValueDebounce/index.cjs +2 -2
- package/dist/hooks/useInputValueDebounce/index.js +1 -1
- package/dist/hooks/useUniformField/index.cjs +2 -2
- package/dist/hooks/useUniformField/index.d.cts +9 -5
- package/dist/hooks/useUniformField/index.d.ts +9 -5
- package/dist/hooks/useUniformField/index.js +1 -1
- package/dist/hooks/useUniformFieldArray/index.cjs +4 -3
- package/dist/hooks/useUniformFieldArray/index.cjs.map +1 -1
- package/dist/hooks/useUniformFieldArray/index.d.cts +6 -5
- package/dist/hooks/useUniformFieldArray/index.d.ts +6 -5
- package/dist/hooks/useUniformFieldArray/index.js +3 -2
- package/dist/index.cjs +41 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -14
- package/dist/index.d.ts +17 -14
- package/dist/index.js +45 -27
- package/package.json +19 -8
- package/dist/chunk-2UHJBGKV.js.map +0 -1
- package/dist/chunk-37RM7TVP.cjs.map +0 -1
- package/dist/chunk-44STFB2F.cjs +0 -170
- package/dist/chunk-44STFB2F.cjs.map +0 -1
- package/dist/chunk-5ZMXUK6O.js +0 -170
- package/dist/chunk-5ZMXUK6O.js.map +0 -1
- package/dist/chunk-6AQ5R4U4.cjs.map +0 -1
- package/dist/chunk-7WHL6K5T.js.map +0 -1
- package/dist/chunk-A3PYIWG2.js.map +0 -1
- package/dist/chunk-BIC7IWER.js.map +0 -1
- package/dist/chunk-DUYZ7WW3.cjs.map +0 -1
- package/dist/chunk-EFZXZNJO.js.map +0 -1
- package/dist/chunk-GRQVGEYI.js.map +0 -1
- package/dist/chunk-HBPVEZJN.js +0 -105
- package/dist/chunk-HBPVEZJN.js.map +0 -1
- package/dist/chunk-JQQ32JOD.cjs.map +0 -1
- package/dist/chunk-KWJMKX5J.cjs +0 -1
- package/dist/chunk-MEIT57H2.cjs.map +0 -1
- package/dist/chunk-NG2KM4CA.cjs.map +0 -1
- package/dist/chunk-OTFX4BWZ.js.map +0 -1
- package/dist/chunk-OYDNTOOU.cjs.map +0 -1
- package/dist/chunk-PEADXODY.cjs +0 -105
- package/dist/chunk-PEADXODY.cjs.map +0 -1
- package/dist/chunk-PFFTE4NW.cjs.map +0 -1
- package/dist/chunk-QE4J4AMH.js.map +0 -1
- package/dist/chunk-R5AOS4DQ.js.map +0 -1
- package/dist/chunk-TN7OSO3T.js.map +0 -1
- package/dist/chunk-V3GDAELU.js +0 -1
- package/dist/chunk-WWSJQUTT.cjs.map +0 -1
- package/dist/chunk-Y7YEI6T2.js.map +0 -1
- package/dist/chunk-ZNX2PT6C.cjs.map +0 -1
- package/dist/hooks/index.cjs +0 -49
- package/dist/hooks/index.cjs.map +0 -1
- package/dist/hooks/index.d.cts +0 -14
- package/dist/hooks/index.d.ts +0 -14
- package/dist/hooks/index.js +0 -49
- /package/dist/{hooks → FieldCard}/index.js.map +0 -0
- /package/dist/{chunk-V3GDAELU.js.map → Slider/index.js.map} +0 -0
- /package/dist/{chunk-ZJDU5EPE.js.map → chunk-LEMQGDFE.js.map} +0 -0
package/dist/Radios/index.js
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Radios_default,
|
|
3
3
|
Radios_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-ZJDU5EPE.js";
|
|
7
|
-
import "../chunk-QE4J4AMH.js";
|
|
8
|
-
import "../chunk-BIC7IWER.js";
|
|
4
|
+
} from "../chunk-2EQEKXG2.js";
|
|
5
|
+
import "../chunk-4KEI3VRK.js";
|
|
9
6
|
import "../chunk-NTDKZW4E.js";
|
|
10
7
|
import "../chunk-ELYGQTXB.js";
|
|
11
8
|
import "../chunk-GE7HUIAK.js";
|
|
12
9
|
import "../chunk-AHJJIANM.js";
|
|
13
10
|
import "../chunk-CNTOODUQ.js";
|
|
14
|
-
import "../chunk-IKOYYA75.js";
|
|
15
|
-
import "../chunk-WWRIMXSN.js";
|
|
16
11
|
import "../chunk-ZZW7JZ2U.js";
|
|
17
12
|
import "../chunk-TUIK3MER.js";
|
|
18
13
|
import "../chunk-BOCYHTFE.js";
|
|
@@ -81,7 +81,7 @@ interface RadioOption {
|
|
|
81
81
|
/** disables the option */
|
|
82
82
|
disabled?: boolean;
|
|
83
83
|
/** option label */
|
|
84
|
-
label?:
|
|
84
|
+
label?: ReactNode;
|
|
85
85
|
/** option icon */
|
|
86
86
|
icon?: ReactNode;
|
|
87
87
|
/** HTML data-testid attribute of the option */
|
|
@@ -90,6 +90,8 @@ interface RadioOption {
|
|
|
90
90
|
value: string;
|
|
91
91
|
}
|
|
92
92
|
interface RadiosProps extends VariantProps {
|
|
93
|
+
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
94
|
+
ariaLabel?: string;
|
|
93
95
|
/** CSS class name */
|
|
94
96
|
className?: ClassName;
|
|
95
97
|
/** Determines if the Buttons are disabled or not. */
|
|
@@ -81,7 +81,7 @@ interface RadioOption {
|
|
|
81
81
|
/** disables the option */
|
|
82
82
|
disabled?: boolean;
|
|
83
83
|
/** option label */
|
|
84
|
-
label?:
|
|
84
|
+
label?: ReactNode;
|
|
85
85
|
/** option icon */
|
|
86
86
|
icon?: ReactNode;
|
|
87
87
|
/** HTML data-testid attribute of the option */
|
|
@@ -90,6 +90,8 @@ interface RadioOption {
|
|
|
90
90
|
value: string;
|
|
91
91
|
}
|
|
92
92
|
interface RadiosProps extends VariantProps {
|
|
93
|
+
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
94
|
+
ariaLabel?: string;
|
|
93
95
|
/** CSS class name */
|
|
94
96
|
className?: ClassName;
|
|
95
97
|
/** Determines if the Buttons are disabled or not. */
|
package/dist/Select/index.cjs
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-OYDNTOOU.cjs');
|
|
8
|
-
require('../chunk-ZNX2PT6C.cjs');
|
|
4
|
+
var _chunk4LLSZ6GNcjs = require('../chunk-4LLSZ6GN.cjs');
|
|
5
|
+
require('../chunk-3JAVQAL5.cjs');
|
|
6
|
+
require('../chunk-OED4DYBD.cjs');
|
|
9
7
|
require('../chunk-OE5BOGGX.cjs');
|
|
10
8
|
require('../chunk-NHEZXA4H.cjs');
|
|
11
9
|
require('../chunk-NV4YVZYX.cjs');
|
|
12
10
|
require('../chunk-PCTYJUY7.cjs');
|
|
13
11
|
require('../chunk-56TQOKG7.cjs');
|
|
14
|
-
require('../chunk-NKIZA3ZO.cjs');
|
|
15
|
-
require('../chunk-6RZT2BKH.cjs');
|
|
16
12
|
require('../chunk-UUGUQGMX.cjs');
|
|
17
13
|
require('../chunk-UBLASN6D.cjs');
|
|
18
14
|
require('../chunk-TKICOKNS.cjs');
|
|
@@ -20,5 +16,5 @@ require('../chunk-555JRYCS.cjs');
|
|
|
20
16
|
|
|
21
17
|
|
|
22
18
|
|
|
23
|
-
exports.Select =
|
|
19
|
+
exports.Select = _chunk4LLSZ6GNcjs.Select_default; exports.default = _chunk4LLSZ6GNcjs.Select_default2;
|
|
24
20
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/uniform/dist/Select/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/uniform/dist/Select/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACF,uGAAC","file":"/home/runner/work/pixels/pixels/packages/uniform/dist/Select/index.cjs"}
|
package/dist/Select/index.d.cts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { S as Select } from '../Select-
|
|
2
|
-
export { a as SelectProps } from '../Select-
|
|
1
|
+
import { S as Select } from '../Select-DWlnKj5c.cjs';
|
|
2
|
+
export { a as SelectProps } from '../Select-DWlnKj5c.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import '@fuf-stack/pixel-utils';
|
|
6
|
+
import 'react';
|
|
6
7
|
import 'react-select';
|
|
7
8
|
|
|
8
9
|
|
package/dist/Select/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { S as Select } from '../Select-
|
|
2
|
-
export { a as SelectProps } from '../Select-
|
|
1
|
+
import { S as Select } from '../Select-DWlnKj5c.js';
|
|
2
|
+
export { a as SelectProps } from '../Select-DWlnKj5c.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import '@fuf-stack/pixel-utils';
|
|
6
|
+
import 'react';
|
|
6
7
|
import 'react-select';
|
|
7
8
|
|
|
8
9
|
|
package/dist/Select/index.js
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Select_default,
|
|
3
3
|
Select_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-QE4J4AMH.js";
|
|
8
|
-
import "../chunk-BIC7IWER.js";
|
|
4
|
+
} from "../chunk-MODH7W2M.js";
|
|
5
|
+
import "../chunk-36LBVB45.js";
|
|
6
|
+
import "../chunk-4KEI3VRK.js";
|
|
9
7
|
import "../chunk-NTDKZW4E.js";
|
|
10
8
|
import "../chunk-ELYGQTXB.js";
|
|
11
9
|
import "../chunk-GE7HUIAK.js";
|
|
12
10
|
import "../chunk-AHJJIANM.js";
|
|
13
11
|
import "../chunk-CNTOODUQ.js";
|
|
14
|
-
import "../chunk-IKOYYA75.js";
|
|
15
|
-
import "../chunk-WWRIMXSN.js";
|
|
16
12
|
import "../chunk-ZZW7JZ2U.js";
|
|
17
13
|
import "../chunk-TUIK3MER.js";
|
|
18
14
|
import "../chunk-BOCYHTFE.js";
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as tailwind_variants from 'tailwind-variants';
|
|
3
3
|
import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
4
5
|
import { Props } from 'react-select';
|
|
5
6
|
|
|
6
7
|
declare const selectVariants: tailwind_variants.TVReturnType<{
|
|
7
8
|
[key: string]: {
|
|
8
9
|
[key: string]: tailwind_variants.ClassValue | {
|
|
9
|
-
control?: tailwind_variants.ClassValue;
|
|
10
10
|
base?: tailwind_variants.ClassValue;
|
|
11
11
|
input?: tailwind_variants.ClassValue;
|
|
12
12
|
label?: tailwind_variants.ClassValue;
|
|
13
13
|
menu?: tailwind_variants.ClassValue;
|
|
14
14
|
option?: tailwind_variants.ClassValue;
|
|
15
15
|
group?: tailwind_variants.ClassValue;
|
|
16
|
+
control?: tailwind_variants.ClassValue;
|
|
16
17
|
placeholder?: tailwind_variants.ClassValue;
|
|
17
18
|
clearIndicator?: tailwind_variants.ClassValue;
|
|
18
19
|
control_focused?: tailwind_variants.ClassValue;
|
|
@@ -41,13 +42,13 @@ declare const selectVariants: tailwind_variants.TVReturnType<{
|
|
|
41
42
|
} | {
|
|
42
43
|
[x: string]: {
|
|
43
44
|
[x: string]: tailwind_variants.ClassValue | {
|
|
44
|
-
control?: tailwind_variants.ClassValue;
|
|
45
45
|
base?: tailwind_variants.ClassValue;
|
|
46
46
|
input?: tailwind_variants.ClassValue;
|
|
47
47
|
label?: tailwind_variants.ClassValue;
|
|
48
48
|
menu?: tailwind_variants.ClassValue;
|
|
49
49
|
option?: tailwind_variants.ClassValue;
|
|
50
50
|
group?: tailwind_variants.ClassValue;
|
|
51
|
+
control?: tailwind_variants.ClassValue;
|
|
51
52
|
placeholder?: tailwind_variants.ClassValue;
|
|
52
53
|
clearIndicator?: tailwind_variants.ClassValue;
|
|
53
54
|
control_focused?: tailwind_variants.ClassValue;
|
|
@@ -107,13 +108,13 @@ declare const selectVariants: tailwind_variants.TVReturnType<{
|
|
|
107
108
|
}, undefined, {
|
|
108
109
|
[key: string]: {
|
|
109
110
|
[key: string]: tailwind_variants.ClassValue | {
|
|
110
|
-
control?: tailwind_variants.ClassValue;
|
|
111
111
|
base?: tailwind_variants.ClassValue;
|
|
112
112
|
input?: tailwind_variants.ClassValue;
|
|
113
113
|
label?: tailwind_variants.ClassValue;
|
|
114
114
|
menu?: tailwind_variants.ClassValue;
|
|
115
115
|
option?: tailwind_variants.ClassValue;
|
|
116
116
|
group?: tailwind_variants.ClassValue;
|
|
117
|
+
control?: tailwind_variants.ClassValue;
|
|
117
118
|
placeholder?: tailwind_variants.ClassValue;
|
|
118
119
|
clearIndicator?: tailwind_variants.ClassValue;
|
|
119
120
|
control_focused?: tailwind_variants.ClassValue;
|
|
@@ -204,13 +205,15 @@ declare const selectVariants: tailwind_variants.TVReturnType<{
|
|
|
204
205
|
}, undefined, unknown, unknown, undefined>>;
|
|
205
206
|
interface SelectOption {
|
|
206
207
|
/** option label */
|
|
207
|
-
label?:
|
|
208
|
+
label?: ReactNode;
|
|
208
209
|
/** option value */
|
|
209
210
|
value: string;
|
|
210
211
|
}
|
|
211
212
|
type VariantProps = TVProps<typeof selectVariants>;
|
|
212
213
|
type ClassName = TVClassName<typeof selectVariants>;
|
|
213
214
|
interface SelectProps extends VariantProps {
|
|
215
|
+
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
216
|
+
ariaLabel?: string;
|
|
214
217
|
/** CSS class name */
|
|
215
218
|
className?: ClassName;
|
|
216
219
|
/** Determine if the */
|
|
@@ -224,7 +227,7 @@ interface SelectProps extends VariantProps {
|
|
|
224
227
|
/** The value of the search input */
|
|
225
228
|
inputValue?: string;
|
|
226
229
|
/** Label that should be associated with the select. */
|
|
227
|
-
label?:
|
|
230
|
+
label?: ReactNode;
|
|
228
231
|
/** Set the select to a loading state. */
|
|
229
232
|
loading?: boolean;
|
|
230
233
|
/** switch between single and multi select mode. */
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as tailwind_variants from 'tailwind-variants';
|
|
3
3
|
import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
4
5
|
import { Props } from 'react-select';
|
|
5
6
|
|
|
6
7
|
declare const selectVariants: tailwind_variants.TVReturnType<{
|
|
7
8
|
[key: string]: {
|
|
8
9
|
[key: string]: tailwind_variants.ClassValue | {
|
|
9
|
-
control?: tailwind_variants.ClassValue;
|
|
10
10
|
base?: tailwind_variants.ClassValue;
|
|
11
11
|
input?: tailwind_variants.ClassValue;
|
|
12
12
|
label?: tailwind_variants.ClassValue;
|
|
13
13
|
menu?: tailwind_variants.ClassValue;
|
|
14
14
|
option?: tailwind_variants.ClassValue;
|
|
15
15
|
group?: tailwind_variants.ClassValue;
|
|
16
|
+
control?: tailwind_variants.ClassValue;
|
|
16
17
|
placeholder?: tailwind_variants.ClassValue;
|
|
17
18
|
clearIndicator?: tailwind_variants.ClassValue;
|
|
18
19
|
control_focused?: tailwind_variants.ClassValue;
|
|
@@ -41,13 +42,13 @@ declare const selectVariants: tailwind_variants.TVReturnType<{
|
|
|
41
42
|
} | {
|
|
42
43
|
[x: string]: {
|
|
43
44
|
[x: string]: tailwind_variants.ClassValue | {
|
|
44
|
-
control?: tailwind_variants.ClassValue;
|
|
45
45
|
base?: tailwind_variants.ClassValue;
|
|
46
46
|
input?: tailwind_variants.ClassValue;
|
|
47
47
|
label?: tailwind_variants.ClassValue;
|
|
48
48
|
menu?: tailwind_variants.ClassValue;
|
|
49
49
|
option?: tailwind_variants.ClassValue;
|
|
50
50
|
group?: tailwind_variants.ClassValue;
|
|
51
|
+
control?: tailwind_variants.ClassValue;
|
|
51
52
|
placeholder?: tailwind_variants.ClassValue;
|
|
52
53
|
clearIndicator?: tailwind_variants.ClassValue;
|
|
53
54
|
control_focused?: tailwind_variants.ClassValue;
|
|
@@ -107,13 +108,13 @@ declare const selectVariants: tailwind_variants.TVReturnType<{
|
|
|
107
108
|
}, undefined, {
|
|
108
109
|
[key: string]: {
|
|
109
110
|
[key: string]: tailwind_variants.ClassValue | {
|
|
110
|
-
control?: tailwind_variants.ClassValue;
|
|
111
111
|
base?: tailwind_variants.ClassValue;
|
|
112
112
|
input?: tailwind_variants.ClassValue;
|
|
113
113
|
label?: tailwind_variants.ClassValue;
|
|
114
114
|
menu?: tailwind_variants.ClassValue;
|
|
115
115
|
option?: tailwind_variants.ClassValue;
|
|
116
116
|
group?: tailwind_variants.ClassValue;
|
|
117
|
+
control?: tailwind_variants.ClassValue;
|
|
117
118
|
placeholder?: tailwind_variants.ClassValue;
|
|
118
119
|
clearIndicator?: tailwind_variants.ClassValue;
|
|
119
120
|
control_focused?: tailwind_variants.ClassValue;
|
|
@@ -204,13 +205,15 @@ declare const selectVariants: tailwind_variants.TVReturnType<{
|
|
|
204
205
|
}, undefined, unknown, unknown, undefined>>;
|
|
205
206
|
interface SelectOption {
|
|
206
207
|
/** option label */
|
|
207
|
-
label?:
|
|
208
|
+
label?: ReactNode;
|
|
208
209
|
/** option value */
|
|
209
210
|
value: string;
|
|
210
211
|
}
|
|
211
212
|
type VariantProps = TVProps<typeof selectVariants>;
|
|
212
213
|
type ClassName = TVClassName<typeof selectVariants>;
|
|
213
214
|
interface SelectProps extends VariantProps {
|
|
215
|
+
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
216
|
+
ariaLabel?: string;
|
|
214
217
|
/** CSS class name */
|
|
215
218
|
className?: ClassName;
|
|
216
219
|
/** Determine if the */
|
|
@@ -224,7 +227,7 @@ interface SelectProps extends VariantProps {
|
|
|
224
227
|
/** The value of the search input */
|
|
225
228
|
inputValue?: string;
|
|
226
229
|
/** Label that should be associated with the select. */
|
|
227
|
-
label?:
|
|
230
|
+
label?: ReactNode;
|
|
228
231
|
/** Set the select to a loading state. */
|
|
229
232
|
loading?: boolean;
|
|
230
233
|
/** switch between single and multi select mode. */
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkKOV7U4QAcjs = require('../chunk-KOV7U4QA.cjs');
|
|
5
|
+
require('../chunk-OED4DYBD.cjs');
|
|
6
|
+
require('../chunk-OE5BOGGX.cjs');
|
|
7
|
+
require('../chunk-NHEZXA4H.cjs');
|
|
8
|
+
require('../chunk-NV4YVZYX.cjs');
|
|
9
|
+
require('../chunk-PCTYJUY7.cjs');
|
|
10
|
+
require('../chunk-56TQOKG7.cjs');
|
|
11
|
+
require('../chunk-UUGUQGMX.cjs');
|
|
12
|
+
require('../chunk-UBLASN6D.cjs');
|
|
13
|
+
require('../chunk-TKICOKNS.cjs');
|
|
14
|
+
require('../chunk-555JRYCS.cjs');
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
exports.Slider = _chunkKOV7U4QAcjs.Slider_default; exports.default = _chunkKOV7U4QAcjs.Slider_default2;
|
|
19
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/uniform/dist/Slider/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACF,uGAAC","file":"/home/runner/work/pixels/pixels/packages/uniform/dist/Slider/index.cjs"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { S as Slider } from '../Slider-CxHvafJA.cjs';
|
|
2
|
+
export { a as SliderProps } from '../Slider-CxHvafJA.cjs';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
|
+
import 'tailwind-variants';
|
|
5
|
+
import '@fuf-stack/pixel-utils';
|
|
6
|
+
import 'react';
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
export { Slider, Slider as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { S as Slider } from '../Slider-CxHvafJA.js';
|
|
2
|
+
export { a as SliderProps } from '../Slider-CxHvafJA.js';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
|
+
import 'tailwind-variants';
|
|
5
|
+
import '@fuf-stack/pixel-utils';
|
|
6
|
+
import 'react';
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
export { Slider, Slider as default };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Slider_default,
|
|
3
|
+
Slider_default2
|
|
4
|
+
} from "../chunk-YMXUVBQ3.js";
|
|
5
|
+
import "../chunk-4KEI3VRK.js";
|
|
6
|
+
import "../chunk-NTDKZW4E.js";
|
|
7
|
+
import "../chunk-ELYGQTXB.js";
|
|
8
|
+
import "../chunk-GE7HUIAK.js";
|
|
9
|
+
import "../chunk-AHJJIANM.js";
|
|
10
|
+
import "../chunk-CNTOODUQ.js";
|
|
11
|
+
import "../chunk-ZZW7JZ2U.js";
|
|
12
|
+
import "../chunk-TUIK3MER.js";
|
|
13
|
+
import "../chunk-BOCYHTFE.js";
|
|
14
|
+
import "../chunk-K2V4ULA2.js";
|
|
15
|
+
export {
|
|
16
|
+
Slider_default as Slider,
|
|
17
|
+
Slider_default2 as default
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
3
|
+
import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
5
|
+
|
|
6
|
+
declare const sliderVariants: tailwind_variants.TVReturnType<{
|
|
7
|
+
[key: string]: {
|
|
8
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
9
|
+
value?: tailwind_variants.ClassValue;
|
|
10
|
+
base?: tailwind_variants.ClassValue;
|
|
11
|
+
label?: tailwind_variants.ClassValue;
|
|
12
|
+
mark?: tailwind_variants.ClassValue;
|
|
13
|
+
track?: tailwind_variants.ClassValue;
|
|
14
|
+
step?: tailwind_variants.ClassValue;
|
|
15
|
+
errorMessage?: tailwind_variants.ClassValue;
|
|
16
|
+
startContent?: tailwind_variants.ClassValue;
|
|
17
|
+
endContent?: tailwind_variants.ClassValue;
|
|
18
|
+
labelWrapper?: tailwind_variants.ClassValue;
|
|
19
|
+
filler?: tailwind_variants.ClassValue;
|
|
20
|
+
thumb?: tailwind_variants.ClassValue;
|
|
21
|
+
trackWrapper?: tailwind_variants.ClassValue;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
} | {
|
|
25
|
+
[x: string]: {
|
|
26
|
+
[x: string]: tailwind_variants.ClassValue | {
|
|
27
|
+
value?: tailwind_variants.ClassValue;
|
|
28
|
+
base?: tailwind_variants.ClassValue;
|
|
29
|
+
label?: tailwind_variants.ClassValue;
|
|
30
|
+
mark?: tailwind_variants.ClassValue;
|
|
31
|
+
track?: tailwind_variants.ClassValue;
|
|
32
|
+
step?: tailwind_variants.ClassValue;
|
|
33
|
+
errorMessage?: tailwind_variants.ClassValue;
|
|
34
|
+
startContent?: tailwind_variants.ClassValue;
|
|
35
|
+
endContent?: tailwind_variants.ClassValue;
|
|
36
|
+
labelWrapper?: tailwind_variants.ClassValue;
|
|
37
|
+
filler?: tailwind_variants.ClassValue;
|
|
38
|
+
thumb?: tailwind_variants.ClassValue;
|
|
39
|
+
trackWrapper?: tailwind_variants.ClassValue;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
} | {}, {
|
|
43
|
+
base: string;
|
|
44
|
+
endContent: string;
|
|
45
|
+
errorMessage: string;
|
|
46
|
+
filler: string;
|
|
47
|
+
label: string;
|
|
48
|
+
labelWrapper: string;
|
|
49
|
+
mark: string;
|
|
50
|
+
startContent: string;
|
|
51
|
+
step: string;
|
|
52
|
+
thumb: string;
|
|
53
|
+
track: string;
|
|
54
|
+
trackWrapper: string;
|
|
55
|
+
value: string;
|
|
56
|
+
}, undefined, {
|
|
57
|
+
[key: string]: {
|
|
58
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
59
|
+
value?: tailwind_variants.ClassValue;
|
|
60
|
+
base?: tailwind_variants.ClassValue;
|
|
61
|
+
label?: tailwind_variants.ClassValue;
|
|
62
|
+
mark?: tailwind_variants.ClassValue;
|
|
63
|
+
track?: tailwind_variants.ClassValue;
|
|
64
|
+
step?: tailwind_variants.ClassValue;
|
|
65
|
+
errorMessage?: tailwind_variants.ClassValue;
|
|
66
|
+
startContent?: tailwind_variants.ClassValue;
|
|
67
|
+
endContent?: tailwind_variants.ClassValue;
|
|
68
|
+
labelWrapper?: tailwind_variants.ClassValue;
|
|
69
|
+
filler?: tailwind_variants.ClassValue;
|
|
70
|
+
thumb?: tailwind_variants.ClassValue;
|
|
71
|
+
trackWrapper?: tailwind_variants.ClassValue;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
} | {}, {
|
|
75
|
+
base: string;
|
|
76
|
+
endContent: string;
|
|
77
|
+
errorMessage: string;
|
|
78
|
+
filler: string;
|
|
79
|
+
label: string;
|
|
80
|
+
labelWrapper: string;
|
|
81
|
+
mark: string;
|
|
82
|
+
startContent: string;
|
|
83
|
+
step: string;
|
|
84
|
+
thumb: string;
|
|
85
|
+
track: string;
|
|
86
|
+
trackWrapper: string;
|
|
87
|
+
value: string;
|
|
88
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
89
|
+
base: string;
|
|
90
|
+
endContent: string;
|
|
91
|
+
errorMessage: string;
|
|
92
|
+
filler: string;
|
|
93
|
+
label: string;
|
|
94
|
+
labelWrapper: string;
|
|
95
|
+
mark: string;
|
|
96
|
+
startContent: string;
|
|
97
|
+
step: string;
|
|
98
|
+
thumb: string;
|
|
99
|
+
track: string;
|
|
100
|
+
trackWrapper: string;
|
|
101
|
+
value: string;
|
|
102
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
103
|
+
type VariantProps = TVProps<typeof sliderVariants>;
|
|
104
|
+
type ClassName = TVClassName<typeof sliderVariants>;
|
|
105
|
+
interface SliderProps extends VariantProps {
|
|
106
|
+
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
107
|
+
ariaLabel?: string;
|
|
108
|
+
/** CSS class name */
|
|
109
|
+
className?: ClassName;
|
|
110
|
+
/** input field is disabled */
|
|
111
|
+
disabled?: boolean;
|
|
112
|
+
/** Content to display at the end of the slider */
|
|
113
|
+
endContent?: ReactNode;
|
|
114
|
+
/** The offset from where the fill should start */
|
|
115
|
+
fillOffset?: number;
|
|
116
|
+
/** form field label */
|
|
117
|
+
label?: string;
|
|
118
|
+
/** form field name */
|
|
119
|
+
name: string;
|
|
120
|
+
/**
|
|
121
|
+
* Whether to show step dots on the slider
|
|
122
|
+
* @default false
|
|
123
|
+
*/
|
|
124
|
+
showSteps?: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* The size of the slider
|
|
127
|
+
* @default "md"
|
|
128
|
+
*/
|
|
129
|
+
size?: 'sm' | 'md' | 'lg';
|
|
130
|
+
/** Content to display at the start of the slider */
|
|
131
|
+
startContent?: ReactNode;
|
|
132
|
+
/**
|
|
133
|
+
* The step value of the slider
|
|
134
|
+
* @default 1
|
|
135
|
+
*/
|
|
136
|
+
step?: number;
|
|
137
|
+
/** HTML data-testid attribute used in e2e tests */
|
|
138
|
+
testId?: string;
|
|
139
|
+
/**
|
|
140
|
+
* The minimum value of the slider
|
|
141
|
+
* @default 0
|
|
142
|
+
*/
|
|
143
|
+
minValue?: number;
|
|
144
|
+
/**
|
|
145
|
+
* The maximum value of the slider
|
|
146
|
+
* @default 100
|
|
147
|
+
*/
|
|
148
|
+
maxValue?: number;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Slider component based on [HeroUI Slider](https://www.heroui.com//docs/components/slider)
|
|
152
|
+
*/
|
|
153
|
+
declare const Slider: ({ className, endContent, fillOffset, name, showSteps, size, startContent, step, minValue, maxValue, ...uniformFieldProps }: SliderProps) => react_jsx_runtime.JSX.Element;
|
|
154
|
+
|
|
155
|
+
export { Slider as S, type SliderProps as a };
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
3
|
+
import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
5
|
+
|
|
6
|
+
declare const sliderVariants: tailwind_variants.TVReturnType<{
|
|
7
|
+
[key: string]: {
|
|
8
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
9
|
+
value?: tailwind_variants.ClassValue;
|
|
10
|
+
base?: tailwind_variants.ClassValue;
|
|
11
|
+
label?: tailwind_variants.ClassValue;
|
|
12
|
+
mark?: tailwind_variants.ClassValue;
|
|
13
|
+
track?: tailwind_variants.ClassValue;
|
|
14
|
+
step?: tailwind_variants.ClassValue;
|
|
15
|
+
errorMessage?: tailwind_variants.ClassValue;
|
|
16
|
+
startContent?: tailwind_variants.ClassValue;
|
|
17
|
+
endContent?: tailwind_variants.ClassValue;
|
|
18
|
+
labelWrapper?: tailwind_variants.ClassValue;
|
|
19
|
+
filler?: tailwind_variants.ClassValue;
|
|
20
|
+
thumb?: tailwind_variants.ClassValue;
|
|
21
|
+
trackWrapper?: tailwind_variants.ClassValue;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
} | {
|
|
25
|
+
[x: string]: {
|
|
26
|
+
[x: string]: tailwind_variants.ClassValue | {
|
|
27
|
+
value?: tailwind_variants.ClassValue;
|
|
28
|
+
base?: tailwind_variants.ClassValue;
|
|
29
|
+
label?: tailwind_variants.ClassValue;
|
|
30
|
+
mark?: tailwind_variants.ClassValue;
|
|
31
|
+
track?: tailwind_variants.ClassValue;
|
|
32
|
+
step?: tailwind_variants.ClassValue;
|
|
33
|
+
errorMessage?: tailwind_variants.ClassValue;
|
|
34
|
+
startContent?: tailwind_variants.ClassValue;
|
|
35
|
+
endContent?: tailwind_variants.ClassValue;
|
|
36
|
+
labelWrapper?: tailwind_variants.ClassValue;
|
|
37
|
+
filler?: tailwind_variants.ClassValue;
|
|
38
|
+
thumb?: tailwind_variants.ClassValue;
|
|
39
|
+
trackWrapper?: tailwind_variants.ClassValue;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
} | {}, {
|
|
43
|
+
base: string;
|
|
44
|
+
endContent: string;
|
|
45
|
+
errorMessage: string;
|
|
46
|
+
filler: string;
|
|
47
|
+
label: string;
|
|
48
|
+
labelWrapper: string;
|
|
49
|
+
mark: string;
|
|
50
|
+
startContent: string;
|
|
51
|
+
step: string;
|
|
52
|
+
thumb: string;
|
|
53
|
+
track: string;
|
|
54
|
+
trackWrapper: string;
|
|
55
|
+
value: string;
|
|
56
|
+
}, undefined, {
|
|
57
|
+
[key: string]: {
|
|
58
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
59
|
+
value?: tailwind_variants.ClassValue;
|
|
60
|
+
base?: tailwind_variants.ClassValue;
|
|
61
|
+
label?: tailwind_variants.ClassValue;
|
|
62
|
+
mark?: tailwind_variants.ClassValue;
|
|
63
|
+
track?: tailwind_variants.ClassValue;
|
|
64
|
+
step?: tailwind_variants.ClassValue;
|
|
65
|
+
errorMessage?: tailwind_variants.ClassValue;
|
|
66
|
+
startContent?: tailwind_variants.ClassValue;
|
|
67
|
+
endContent?: tailwind_variants.ClassValue;
|
|
68
|
+
labelWrapper?: tailwind_variants.ClassValue;
|
|
69
|
+
filler?: tailwind_variants.ClassValue;
|
|
70
|
+
thumb?: tailwind_variants.ClassValue;
|
|
71
|
+
trackWrapper?: tailwind_variants.ClassValue;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
} | {}, {
|
|
75
|
+
base: string;
|
|
76
|
+
endContent: string;
|
|
77
|
+
errorMessage: string;
|
|
78
|
+
filler: string;
|
|
79
|
+
label: string;
|
|
80
|
+
labelWrapper: string;
|
|
81
|
+
mark: string;
|
|
82
|
+
startContent: string;
|
|
83
|
+
step: string;
|
|
84
|
+
thumb: string;
|
|
85
|
+
track: string;
|
|
86
|
+
trackWrapper: string;
|
|
87
|
+
value: string;
|
|
88
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
89
|
+
base: string;
|
|
90
|
+
endContent: string;
|
|
91
|
+
errorMessage: string;
|
|
92
|
+
filler: string;
|
|
93
|
+
label: string;
|
|
94
|
+
labelWrapper: string;
|
|
95
|
+
mark: string;
|
|
96
|
+
startContent: string;
|
|
97
|
+
step: string;
|
|
98
|
+
thumb: string;
|
|
99
|
+
track: string;
|
|
100
|
+
trackWrapper: string;
|
|
101
|
+
value: string;
|
|
102
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
103
|
+
type VariantProps = TVProps<typeof sliderVariants>;
|
|
104
|
+
type ClassName = TVClassName<typeof sliderVariants>;
|
|
105
|
+
interface SliderProps extends VariantProps {
|
|
106
|
+
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
107
|
+
ariaLabel?: string;
|
|
108
|
+
/** CSS class name */
|
|
109
|
+
className?: ClassName;
|
|
110
|
+
/** input field is disabled */
|
|
111
|
+
disabled?: boolean;
|
|
112
|
+
/** Content to display at the end of the slider */
|
|
113
|
+
endContent?: ReactNode;
|
|
114
|
+
/** The offset from where the fill should start */
|
|
115
|
+
fillOffset?: number;
|
|
116
|
+
/** form field label */
|
|
117
|
+
label?: string;
|
|
118
|
+
/** form field name */
|
|
119
|
+
name: string;
|
|
120
|
+
/**
|
|
121
|
+
* Whether to show step dots on the slider
|
|
122
|
+
* @default false
|
|
123
|
+
*/
|
|
124
|
+
showSteps?: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* The size of the slider
|
|
127
|
+
* @default "md"
|
|
128
|
+
*/
|
|
129
|
+
size?: 'sm' | 'md' | 'lg';
|
|
130
|
+
/** Content to display at the start of the slider */
|
|
131
|
+
startContent?: ReactNode;
|
|
132
|
+
/**
|
|
133
|
+
* The step value of the slider
|
|
134
|
+
* @default 1
|
|
135
|
+
*/
|
|
136
|
+
step?: number;
|
|
137
|
+
/** HTML data-testid attribute used in e2e tests */
|
|
138
|
+
testId?: string;
|
|
139
|
+
/**
|
|
140
|
+
* The minimum value of the slider
|
|
141
|
+
* @default 0
|
|
142
|
+
*/
|
|
143
|
+
minValue?: number;
|
|
144
|
+
/**
|
|
145
|
+
* The maximum value of the slider
|
|
146
|
+
* @default 100
|
|
147
|
+
*/
|
|
148
|
+
maxValue?: number;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Slider component based on [HeroUI Slider](https://www.heroui.com//docs/components/slider)
|
|
152
|
+
*/
|
|
153
|
+
declare const Slider: ({ className, endContent, fillOffset, name, showSteps, size, startContent, step, minValue, maxValue, ...uniformFieldProps }: SliderProps) => react_jsx_runtime.JSX.Element;
|
|
154
|
+
|
|
155
|
+
export { Slider as S, type SliderProps as a };
|