@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
|
@@ -1,18 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-NTOYCWCJ.cjs');
|
|
7
|
-
require('../chunk-OYDNTOOU.cjs');
|
|
8
|
-
require('../chunk-ZNX2PT6C.cjs');
|
|
9
|
-
require('../chunk-OE5BOGGX.cjs');
|
|
10
|
-
require('../chunk-NHEZXA4H.cjs');
|
|
11
|
-
require('../chunk-NV4YVZYX.cjs');
|
|
12
|
-
require('../chunk-PCTYJUY7.cjs');
|
|
13
|
-
require('../chunk-56TQOKG7.cjs');
|
|
14
|
-
require('../chunk-NKIZA3ZO.cjs');
|
|
15
|
-
require('../chunk-6RZT2BKH.cjs');
|
|
4
|
+
var _chunkPTCZOUQXcjs = require('../chunk-PTCZOUQX.cjs');
|
|
5
|
+
require('../chunk-3JAVQAL5.cjs');
|
|
16
6
|
require('../chunk-UUGUQGMX.cjs');
|
|
17
7
|
require('../chunk-UBLASN6D.cjs');
|
|
18
8
|
require('../chunk-TKICOKNS.cjs');
|
|
@@ -20,5 +10,5 @@ require('../chunk-555JRYCS.cjs');
|
|
|
20
10
|
|
|
21
11
|
|
|
22
12
|
|
|
23
|
-
exports.SubmitButton =
|
|
13
|
+
exports.SubmitButton = _chunkPTCZOUQXcjs.SubmitButton_default; exports.default = _chunkPTCZOUQXcjs.SubmitButton_default2;
|
|
24
14
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/uniform/dist/SubmitButton/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/uniform/dist/SubmitButton/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACF,yHAAC","file":"/home/runner/work/pixels/pixels/packages/uniform/dist/SubmitButton/index.cjs"}
|
|
@@ -1,18 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SubmitButton_default,
|
|
3
3
|
SubmitButton_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-ZJDU5EPE.js";
|
|
7
|
-
import "../chunk-QE4J4AMH.js";
|
|
8
|
-
import "../chunk-BIC7IWER.js";
|
|
9
|
-
import "../chunk-NTDKZW4E.js";
|
|
10
|
-
import "../chunk-ELYGQTXB.js";
|
|
11
|
-
import "../chunk-GE7HUIAK.js";
|
|
12
|
-
import "../chunk-AHJJIANM.js";
|
|
13
|
-
import "../chunk-CNTOODUQ.js";
|
|
14
|
-
import "../chunk-IKOYYA75.js";
|
|
15
|
-
import "../chunk-WWRIMXSN.js";
|
|
4
|
+
} from "../chunk-BZ2PD2JG.js";
|
|
5
|
+
import "../chunk-36LBVB45.js";
|
|
16
6
|
import "../chunk-ZZW7JZ2U.js";
|
|
17
7
|
import "../chunk-TUIK3MER.js";
|
|
18
8
|
import "../chunk-BOCYHTFE.js";
|
package/dist/Switch/index.cjs
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-NTOYCWCJ.cjs');
|
|
7
|
-
require('../chunk-OYDNTOOU.cjs');
|
|
8
|
-
require('../chunk-ZNX2PT6C.cjs');
|
|
4
|
+
var _chunkMSJP25N4cjs = require('../chunk-MSJP25N4.cjs');
|
|
5
|
+
require('../chunk-OED4DYBD.cjs');
|
|
9
6
|
require('../chunk-OE5BOGGX.cjs');
|
|
10
7
|
require('../chunk-NHEZXA4H.cjs');
|
|
11
8
|
require('../chunk-NV4YVZYX.cjs');
|
|
12
9
|
require('../chunk-PCTYJUY7.cjs');
|
|
13
10
|
require('../chunk-56TQOKG7.cjs');
|
|
14
|
-
require('../chunk-NKIZA3ZO.cjs');
|
|
15
|
-
require('../chunk-6RZT2BKH.cjs');
|
|
16
11
|
require('../chunk-UUGUQGMX.cjs');
|
|
17
12
|
require('../chunk-UBLASN6D.cjs');
|
|
18
13
|
require('../chunk-TKICOKNS.cjs');
|
|
@@ -20,5 +15,5 @@ require('../chunk-555JRYCS.cjs');
|
|
|
20
15
|
|
|
21
16
|
|
|
22
17
|
|
|
23
|
-
exports.Switch =
|
|
18
|
+
exports.Switch = _chunkMSJP25N4cjs.Switch_default; exports.default = _chunkMSJP25N4cjs.Switch_default2;
|
|
24
19
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/uniform/dist/Switch/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
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/uniform/dist/Switch/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/Switch/index.cjs"}
|
package/dist/Switch/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Switch } from '../Switch-
|
|
2
|
-
export { a as SwitchProps } from '../Switch-
|
|
1
|
+
import { S as Switch } from '../Switch-B4AuHAMX.cjs';
|
|
2
|
+
export { a as SwitchProps } from '../Switch-B4AuHAMX.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import '@fuf-stack/pixel-utils';
|
package/dist/Switch/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Switch } from '../Switch-
|
|
2
|
-
export { a as SwitchProps } from '../Switch-
|
|
1
|
+
import { S as Switch } from '../Switch-B4AuHAMX.js';
|
|
2
|
+
export { a as SwitchProps } from '../Switch-B4AuHAMX.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import '@fuf-stack/pixel-utils';
|
package/dist/Switch/index.js
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Switch_default,
|
|
3
3
|
Switch_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-7TUWJWLN.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";
|
|
@@ -13,8 +13,8 @@ declare const switchVariants: tailwind_variants.TVReturnType<{
|
|
|
13
13
|
wrapper?: tailwind_variants.ClassValue;
|
|
14
14
|
startContent?: tailwind_variants.ClassValue;
|
|
15
15
|
endContent?: tailwind_variants.ClassValue;
|
|
16
|
-
outerWrapper?: tailwind_variants.ClassValue;
|
|
17
16
|
thumb?: tailwind_variants.ClassValue;
|
|
17
|
+
outerWrapper?: tailwind_variants.ClassValue;
|
|
18
18
|
thumbIcon?: tailwind_variants.ClassValue;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
@@ -27,8 +27,8 @@ declare const switchVariants: tailwind_variants.TVReturnType<{
|
|
|
27
27
|
wrapper?: tailwind_variants.ClassValue;
|
|
28
28
|
startContent?: tailwind_variants.ClassValue;
|
|
29
29
|
endContent?: tailwind_variants.ClassValue;
|
|
30
|
-
outerWrapper?: tailwind_variants.ClassValue;
|
|
31
30
|
thumb?: tailwind_variants.ClassValue;
|
|
31
|
+
outerWrapper?: tailwind_variants.ClassValue;
|
|
32
32
|
thumbIcon?: tailwind_variants.ClassValue;
|
|
33
33
|
};
|
|
34
34
|
};
|
|
@@ -51,8 +51,8 @@ declare const switchVariants: tailwind_variants.TVReturnType<{
|
|
|
51
51
|
wrapper?: tailwind_variants.ClassValue;
|
|
52
52
|
startContent?: tailwind_variants.ClassValue;
|
|
53
53
|
endContent?: tailwind_variants.ClassValue;
|
|
54
|
-
outerWrapper?: tailwind_variants.ClassValue;
|
|
55
54
|
thumb?: tailwind_variants.ClassValue;
|
|
55
|
+
outerWrapper?: tailwind_variants.ClassValue;
|
|
56
56
|
thumbIcon?: tailwind_variants.ClassValue;
|
|
57
57
|
};
|
|
58
58
|
};
|
|
@@ -80,6 +80,8 @@ declare const switchVariants: tailwind_variants.TVReturnType<{
|
|
|
80
80
|
type VariantProps = TVProps<typeof switchVariants>;
|
|
81
81
|
type ClassName = TVClassName<typeof switchVariants>;
|
|
82
82
|
interface SwitchProps extends VariantProps {
|
|
83
|
+
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
84
|
+
ariaLabel?: string;
|
|
83
85
|
/** CSS class name */
|
|
84
86
|
className?: ClassName;
|
|
85
87
|
/** whether the select should be disabled */
|
|
@@ -101,6 +103,6 @@ interface SwitchProps extends VariantProps {
|
|
|
101
103
|
/**
|
|
102
104
|
* Switch component based on [HeroUI Switch](https://www.heroui.com//docs/components/switch)
|
|
103
105
|
*/
|
|
104
|
-
declare const Switch: ({ className,
|
|
106
|
+
declare const Switch: ({ className, endContent, name, size, startContent, thumbIcon, ...uniformFieldProps }: SwitchProps) => react_jsx_runtime.JSX.Element;
|
|
105
107
|
|
|
106
108
|
export { Switch as S, type SwitchProps as a };
|
|
@@ -13,8 +13,8 @@ declare const switchVariants: tailwind_variants.TVReturnType<{
|
|
|
13
13
|
wrapper?: tailwind_variants.ClassValue;
|
|
14
14
|
startContent?: tailwind_variants.ClassValue;
|
|
15
15
|
endContent?: tailwind_variants.ClassValue;
|
|
16
|
-
outerWrapper?: tailwind_variants.ClassValue;
|
|
17
16
|
thumb?: tailwind_variants.ClassValue;
|
|
17
|
+
outerWrapper?: tailwind_variants.ClassValue;
|
|
18
18
|
thumbIcon?: tailwind_variants.ClassValue;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
@@ -27,8 +27,8 @@ declare const switchVariants: tailwind_variants.TVReturnType<{
|
|
|
27
27
|
wrapper?: tailwind_variants.ClassValue;
|
|
28
28
|
startContent?: tailwind_variants.ClassValue;
|
|
29
29
|
endContent?: tailwind_variants.ClassValue;
|
|
30
|
-
outerWrapper?: tailwind_variants.ClassValue;
|
|
31
30
|
thumb?: tailwind_variants.ClassValue;
|
|
31
|
+
outerWrapper?: tailwind_variants.ClassValue;
|
|
32
32
|
thumbIcon?: tailwind_variants.ClassValue;
|
|
33
33
|
};
|
|
34
34
|
};
|
|
@@ -51,8 +51,8 @@ declare const switchVariants: tailwind_variants.TVReturnType<{
|
|
|
51
51
|
wrapper?: tailwind_variants.ClassValue;
|
|
52
52
|
startContent?: tailwind_variants.ClassValue;
|
|
53
53
|
endContent?: tailwind_variants.ClassValue;
|
|
54
|
-
outerWrapper?: tailwind_variants.ClassValue;
|
|
55
54
|
thumb?: tailwind_variants.ClassValue;
|
|
55
|
+
outerWrapper?: tailwind_variants.ClassValue;
|
|
56
56
|
thumbIcon?: tailwind_variants.ClassValue;
|
|
57
57
|
};
|
|
58
58
|
};
|
|
@@ -80,6 +80,8 @@ declare const switchVariants: tailwind_variants.TVReturnType<{
|
|
|
80
80
|
type VariantProps = TVProps<typeof switchVariants>;
|
|
81
81
|
type ClassName = TVClassName<typeof switchVariants>;
|
|
82
82
|
interface SwitchProps extends VariantProps {
|
|
83
|
+
/** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */
|
|
84
|
+
ariaLabel?: string;
|
|
83
85
|
/** CSS class name */
|
|
84
86
|
className?: ClassName;
|
|
85
87
|
/** whether the select should be disabled */
|
|
@@ -101,6 +103,6 @@ interface SwitchProps extends VariantProps {
|
|
|
101
103
|
/**
|
|
102
104
|
* Switch component based on [HeroUI Switch](https://www.heroui.com//docs/components/switch)
|
|
103
105
|
*/
|
|
104
|
-
declare const Switch: ({ className,
|
|
106
|
+
declare const Switch: ({ className, endContent, name, size, startContent, thumbIcon, ...uniformFieldProps }: SwitchProps) => react_jsx_runtime.JSX.Element;
|
|
105
107
|
|
|
106
108
|
export { Switch as S, type SwitchProps as a };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkOIKPQMQ2cjs = require('../chunk-OIKPQMQ2.cjs');
|
|
6
|
+
require('../chunk-OED4DYBD.cjs');
|
|
7
|
+
require('../chunk-OE5BOGGX.cjs');
|
|
8
|
+
require('../chunk-NHEZXA4H.cjs');
|
|
9
|
+
require('../chunk-NV4YVZYX.cjs');
|
|
10
|
+
require('../chunk-PCTYJUY7.cjs');
|
|
11
|
+
require('../chunk-56TQOKG7.cjs');
|
|
12
|
+
require('../chunk-UUGUQGMX.cjs');
|
|
13
|
+
require('../chunk-UBLASN6D.cjs');
|
|
14
|
+
require('../chunk-TKICOKNS.cjs');
|
|
15
|
+
require('../chunk-555JRYCS.cjs');
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
exports.SwitchBox = _chunkOIKPQMQ2cjs.SwitchBox_default; exports.default = _chunkOIKPQMQ2cjs.SwitchBox_default2; exports.switchBoxVariants = _chunkOIKPQMQ2cjs.switchBoxVariants;
|
|
21
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/uniform/dist/SwitchBox/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;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;AACA;AACF,iLAAC","file":"/home/runner/work/pixels/pixels/packages/uniform/dist/SwitchBox/index.cjs"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { S as SwitchBox } from '../SwitchBox-q1I7a0NX.cjs';
|
|
2
|
+
export { a as SwitchBoxProps, s as switchBoxVariants } from '../SwitchBox-q1I7a0NX.cjs';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
|
+
import 'tailwind-variants';
|
|
5
|
+
import '@fuf-stack/pixel-utils';
|
|
6
|
+
import '@heroui/switch';
|
|
7
|
+
import 'react';
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export { SwitchBox, SwitchBox as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { S as SwitchBox } from '../SwitchBox-q1I7a0NX.js';
|
|
2
|
+
export { a as SwitchBoxProps, s as switchBoxVariants } from '../SwitchBox-q1I7a0NX.js';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
|
+
import 'tailwind-variants';
|
|
5
|
+
import '@fuf-stack/pixel-utils';
|
|
6
|
+
import '@heroui/switch';
|
|
7
|
+
import 'react';
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export { SwitchBox, SwitchBox as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SwitchBox_default,
|
|
3
|
+
SwitchBox_default2,
|
|
4
|
+
switchBoxVariants
|
|
5
|
+
} from "../chunk-5UGCZ7OA.js";
|
|
6
|
+
import "../chunk-4KEI3VRK.js";
|
|
7
|
+
import "../chunk-NTDKZW4E.js";
|
|
8
|
+
import "../chunk-ELYGQTXB.js";
|
|
9
|
+
import "../chunk-GE7HUIAK.js";
|
|
10
|
+
import "../chunk-AHJJIANM.js";
|
|
11
|
+
import "../chunk-CNTOODUQ.js";
|
|
12
|
+
import "../chunk-ZZW7JZ2U.js";
|
|
13
|
+
import "../chunk-TUIK3MER.js";
|
|
14
|
+
import "../chunk-BOCYHTFE.js";
|
|
15
|
+
import "../chunk-K2V4ULA2.js";
|
|
16
|
+
export {
|
|
17
|
+
SwitchBox_default as SwitchBox,
|
|
18
|
+
SwitchBox_default2 as default,
|
|
19
|
+
switchBoxVariants
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
3
|
+
import { TVClassName } from '@fuf-stack/pixel-utils';
|
|
4
|
+
import { SwitchProps } from '@heroui/switch';
|
|
5
|
+
import { ReactNode } from 'react';
|
|
6
|
+
|
|
7
|
+
declare const switchBoxVariants: tailwind_variants.TVReturnType<{
|
|
8
|
+
isDisabled: {
|
|
9
|
+
true: {
|
|
10
|
+
box: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
isInvalid: {
|
|
14
|
+
true: {
|
|
15
|
+
box: string;
|
|
16
|
+
label: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
size: {
|
|
20
|
+
sm: {
|
|
21
|
+
box: string;
|
|
22
|
+
description: string;
|
|
23
|
+
label: string;
|
|
24
|
+
};
|
|
25
|
+
md: {
|
|
26
|
+
box: string;
|
|
27
|
+
description: string;
|
|
28
|
+
label: string;
|
|
29
|
+
};
|
|
30
|
+
lg: {
|
|
31
|
+
box: string;
|
|
32
|
+
description: string;
|
|
33
|
+
label: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
}, {
|
|
37
|
+
box: string;
|
|
38
|
+
description: string;
|
|
39
|
+
icon: string;
|
|
40
|
+
label: string;
|
|
41
|
+
wrapper: string;
|
|
42
|
+
thumb: string;
|
|
43
|
+
thumbIcon: string;
|
|
44
|
+
}, undefined, {
|
|
45
|
+
isDisabled: {
|
|
46
|
+
true: {
|
|
47
|
+
box: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
isInvalid: {
|
|
51
|
+
true: {
|
|
52
|
+
box: string;
|
|
53
|
+
label: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
size: {
|
|
57
|
+
sm: {
|
|
58
|
+
box: string;
|
|
59
|
+
description: string;
|
|
60
|
+
label: string;
|
|
61
|
+
};
|
|
62
|
+
md: {
|
|
63
|
+
box: string;
|
|
64
|
+
description: string;
|
|
65
|
+
label: string;
|
|
66
|
+
};
|
|
67
|
+
lg: {
|
|
68
|
+
box: string;
|
|
69
|
+
description: string;
|
|
70
|
+
label: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
}, {
|
|
74
|
+
box: string;
|
|
75
|
+
description: string;
|
|
76
|
+
icon: string;
|
|
77
|
+
label: string;
|
|
78
|
+
wrapper: string;
|
|
79
|
+
thumb: string;
|
|
80
|
+
thumbIcon: string;
|
|
81
|
+
}, tailwind_variants.TVReturnType<{
|
|
82
|
+
isDisabled: {
|
|
83
|
+
true: {
|
|
84
|
+
box: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
isInvalid: {
|
|
88
|
+
true: {
|
|
89
|
+
box: string;
|
|
90
|
+
label: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
size: {
|
|
94
|
+
sm: {
|
|
95
|
+
box: string;
|
|
96
|
+
description: string;
|
|
97
|
+
label: string;
|
|
98
|
+
};
|
|
99
|
+
md: {
|
|
100
|
+
box: string;
|
|
101
|
+
description: string;
|
|
102
|
+
label: string;
|
|
103
|
+
};
|
|
104
|
+
lg: {
|
|
105
|
+
box: string;
|
|
106
|
+
description: string;
|
|
107
|
+
label: string;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
}, {
|
|
111
|
+
box: string;
|
|
112
|
+
description: string;
|
|
113
|
+
icon: string;
|
|
114
|
+
label: string;
|
|
115
|
+
wrapper: string;
|
|
116
|
+
thumb: string;
|
|
117
|
+
thumbIcon: string;
|
|
118
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
119
|
+
type ClassName = TVClassName<typeof switchBoxVariants>;
|
|
120
|
+
interface SwitchBoxProps {
|
|
121
|
+
/** CSS class name */
|
|
122
|
+
className?: ClassName;
|
|
123
|
+
/** Description text displayed below the label */
|
|
124
|
+
description?: ReactNode;
|
|
125
|
+
/** whether the switch should be disabled */
|
|
126
|
+
disabled?: boolean;
|
|
127
|
+
/** Icon to be displayed in the box */
|
|
128
|
+
icon?: ReactNode;
|
|
129
|
+
/** component displayed as the label */
|
|
130
|
+
label?: ReactNode;
|
|
131
|
+
/** name the field is registered under */
|
|
132
|
+
name: string;
|
|
133
|
+
/** whether the field is required */
|
|
134
|
+
required?: boolean;
|
|
135
|
+
size?: 'sm' | 'md' | 'lg';
|
|
136
|
+
/** HTML data-testid attribute used in e2e tests */
|
|
137
|
+
testId?: string;
|
|
138
|
+
/** Icon to be displayed inside the thumb */
|
|
139
|
+
thumbIcon?: SwitchProps['thumbIcon'];
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* SwitchBox component - A card-like box with a switch control
|
|
143
|
+
*/
|
|
144
|
+
declare const SwitchBox: ({ className, description, icon, name, size, thumbIcon, ...uniformFieldProps }: SwitchBoxProps) => react_jsx_runtime.JSX.Element;
|
|
145
|
+
|
|
146
|
+
export { SwitchBox as S, type SwitchBoxProps as a, switchBoxVariants as s };
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
3
|
+
import { TVClassName } from '@fuf-stack/pixel-utils';
|
|
4
|
+
import { SwitchProps } from '@heroui/switch';
|
|
5
|
+
import { ReactNode } from 'react';
|
|
6
|
+
|
|
7
|
+
declare const switchBoxVariants: tailwind_variants.TVReturnType<{
|
|
8
|
+
isDisabled: {
|
|
9
|
+
true: {
|
|
10
|
+
box: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
isInvalid: {
|
|
14
|
+
true: {
|
|
15
|
+
box: string;
|
|
16
|
+
label: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
size: {
|
|
20
|
+
sm: {
|
|
21
|
+
box: string;
|
|
22
|
+
description: string;
|
|
23
|
+
label: string;
|
|
24
|
+
};
|
|
25
|
+
md: {
|
|
26
|
+
box: string;
|
|
27
|
+
description: string;
|
|
28
|
+
label: string;
|
|
29
|
+
};
|
|
30
|
+
lg: {
|
|
31
|
+
box: string;
|
|
32
|
+
description: string;
|
|
33
|
+
label: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
}, {
|
|
37
|
+
box: string;
|
|
38
|
+
description: string;
|
|
39
|
+
icon: string;
|
|
40
|
+
label: string;
|
|
41
|
+
wrapper: string;
|
|
42
|
+
thumb: string;
|
|
43
|
+
thumbIcon: string;
|
|
44
|
+
}, undefined, {
|
|
45
|
+
isDisabled: {
|
|
46
|
+
true: {
|
|
47
|
+
box: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
isInvalid: {
|
|
51
|
+
true: {
|
|
52
|
+
box: string;
|
|
53
|
+
label: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
size: {
|
|
57
|
+
sm: {
|
|
58
|
+
box: string;
|
|
59
|
+
description: string;
|
|
60
|
+
label: string;
|
|
61
|
+
};
|
|
62
|
+
md: {
|
|
63
|
+
box: string;
|
|
64
|
+
description: string;
|
|
65
|
+
label: string;
|
|
66
|
+
};
|
|
67
|
+
lg: {
|
|
68
|
+
box: string;
|
|
69
|
+
description: string;
|
|
70
|
+
label: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
}, {
|
|
74
|
+
box: string;
|
|
75
|
+
description: string;
|
|
76
|
+
icon: string;
|
|
77
|
+
label: string;
|
|
78
|
+
wrapper: string;
|
|
79
|
+
thumb: string;
|
|
80
|
+
thumbIcon: string;
|
|
81
|
+
}, tailwind_variants.TVReturnType<{
|
|
82
|
+
isDisabled: {
|
|
83
|
+
true: {
|
|
84
|
+
box: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
isInvalid: {
|
|
88
|
+
true: {
|
|
89
|
+
box: string;
|
|
90
|
+
label: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
size: {
|
|
94
|
+
sm: {
|
|
95
|
+
box: string;
|
|
96
|
+
description: string;
|
|
97
|
+
label: string;
|
|
98
|
+
};
|
|
99
|
+
md: {
|
|
100
|
+
box: string;
|
|
101
|
+
description: string;
|
|
102
|
+
label: string;
|
|
103
|
+
};
|
|
104
|
+
lg: {
|
|
105
|
+
box: string;
|
|
106
|
+
description: string;
|
|
107
|
+
label: string;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
}, {
|
|
111
|
+
box: string;
|
|
112
|
+
description: string;
|
|
113
|
+
icon: string;
|
|
114
|
+
label: string;
|
|
115
|
+
wrapper: string;
|
|
116
|
+
thumb: string;
|
|
117
|
+
thumbIcon: string;
|
|
118
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
119
|
+
type ClassName = TVClassName<typeof switchBoxVariants>;
|
|
120
|
+
interface SwitchBoxProps {
|
|
121
|
+
/** CSS class name */
|
|
122
|
+
className?: ClassName;
|
|
123
|
+
/** Description text displayed below the label */
|
|
124
|
+
description?: ReactNode;
|
|
125
|
+
/** whether the switch should be disabled */
|
|
126
|
+
disabled?: boolean;
|
|
127
|
+
/** Icon to be displayed in the box */
|
|
128
|
+
icon?: ReactNode;
|
|
129
|
+
/** component displayed as the label */
|
|
130
|
+
label?: ReactNode;
|
|
131
|
+
/** name the field is registered under */
|
|
132
|
+
name: string;
|
|
133
|
+
/** whether the field is required */
|
|
134
|
+
required?: boolean;
|
|
135
|
+
size?: 'sm' | 'md' | 'lg';
|
|
136
|
+
/** HTML data-testid attribute used in e2e tests */
|
|
137
|
+
testId?: string;
|
|
138
|
+
/** Icon to be displayed inside the thumb */
|
|
139
|
+
thumbIcon?: SwitchProps['thumbIcon'];
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* SwitchBox component - A card-like box with a switch control
|
|
143
|
+
*/
|
|
144
|
+
declare const SwitchBox: ({ className, description, icon, name, size, thumbIcon, ...uniformFieldProps }: SwitchBoxProps) => react_jsx_runtime.JSX.Element;
|
|
145
|
+
|
|
146
|
+
export { SwitchBox as S, type SwitchBoxProps as a, switchBoxVariants as s };
|
package/dist/TextArea/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 _chunkV45YAJT4cjs = require('../chunk-V45YAJT4.cjs');
|
|
5
|
+
require('../chunk-3ZQXSGR2.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.TextArea =
|
|
19
|
+
exports.TextArea = _chunkV45YAJT4cjs.TextArea_default; exports.default = _chunkV45YAJT4cjs.TextArea_default2;
|
|
24
20
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/uniform/dist/TextArea/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/TextArea/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,6GAAC","file":"/home/runner/work/pixels/pixels/packages/uniform/dist/TextArea/index.cjs"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TextArea } from '../TextArea-
|
|
2
|
-
export { a as TextAreaProps } from '../TextArea-
|
|
1
|
+
import { T as TextArea } from '../TextArea-CYcFOcun.cjs';
|
|
2
|
+
export { a as TextAreaProps } from '../TextArea-CYcFOcun.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import '@fuf-stack/pixel-utils';
|
package/dist/TextArea/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TextArea } from '../TextArea-
|
|
2
|
-
export { a as TextAreaProps } from '../TextArea-
|
|
1
|
+
import { T as TextArea } from '../TextArea-CYcFOcun.js';
|
|
2
|
+
export { a as TextAreaProps } from '../TextArea-CYcFOcun.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import '@fuf-stack/pixel-utils';
|
package/dist/TextArea/index.js
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TextArea_default,
|
|
3
3
|
TextArea_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-QE4J4AMH.js";
|
|
8
|
-
import "../chunk-BIC7IWER.js";
|
|
4
|
+
} from "../chunk-XSVEW3KN.js";
|
|
5
|
+
import "../chunk-LEMQGDFE.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";
|