@fuf-stack/uniform 1.5.1 → 1.5.4
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 +5 -5
- package/dist/Checkboxes/index.js +4 -4
- package/dist/FieldArray/index.cjs +5 -5
- package/dist/FieldArray/index.js +4 -4
- package/dist/Form/index.cjs +5 -5
- package/dist/Form/index.js +4 -4
- package/dist/Input/index.cjs +5 -5
- package/dist/Input/index.js +4 -4
- package/dist/RadioBoxes/index.cjs +5 -5
- package/dist/RadioBoxes/index.js +4 -4
- package/dist/RadioTabs/index.cjs +5 -5
- package/dist/RadioTabs/index.js +4 -4
- package/dist/Radios/index.cjs +5 -5
- package/dist/Radios/index.js +4 -4
- package/dist/Select/index.cjs +5 -5
- package/dist/Select/index.js +4 -4
- package/dist/SubmitButton/index.cjs +5 -5
- package/dist/SubmitButton/index.js +4 -4
- package/dist/Switch/index.cjs +5 -5
- package/dist/Switch/index.js +4 -4
- package/dist/TextArea/index.cjs +5 -5
- package/dist/TextArea/index.js +4 -4
- package/dist/{chunk-74NPRJVH.js → chunk-2TVCFRLE.js} +4 -4
- package/dist/{chunk-74NPRJVH.js.map → chunk-2TVCFRLE.js.map} +1 -1
- package/dist/{chunk-62BVHALF.js → chunk-33JULJXP.js} +13 -13
- package/dist/{chunk-62BVHALF.js.map → chunk-33JULJXP.js.map} +1 -1
- package/dist/{chunk-4MMOSRT3.cjs → chunk-3Z3F4LTX.cjs} +7 -7
- package/dist/{chunk-4MMOSRT3.cjs.map → chunk-3Z3F4LTX.cjs.map} +1 -1
- package/dist/{chunk-ZQ64MG7T.js → chunk-4TOWIBVX.js} +4 -4
- package/dist/{chunk-ZQ64MG7T.js.map → chunk-4TOWIBVX.js.map} +1 -1
- package/dist/{chunk-P6HJOG7D.cjs → chunk-4WYC2RBE.cjs} +7 -3
- package/dist/chunk-4WYC2RBE.cjs.map +1 -0
- package/dist/{chunk-2QLCCB3L.js → chunk-57GTLKQC.js} +4 -4
- package/dist/{chunk-2QLCCB3L.js.map → chunk-57GTLKQC.js.map} +1 -1
- package/dist/{chunk-Q2BOMFJ5.js → chunk-7KLFK2IT.js} +7 -3
- package/dist/{chunk-Q2BOMFJ5.js.map → chunk-7KLFK2IT.js.map} +1 -1
- package/dist/{chunk-J5FFM7WG.cjs → chunk-BGVM2RIC.cjs} +81 -6
- package/dist/chunk-BGVM2RIC.cjs.map +1 -0
- package/dist/{chunk-GVMEDVT5.cjs → chunk-BQLB74OT.cjs} +4 -4
- package/dist/{chunk-GVMEDVT5.cjs.map → chunk-BQLB74OT.cjs.map} +1 -1
- package/dist/{chunk-FLK6OPFY.cjs → chunk-BZ5OMN4Y.cjs} +3 -3
- package/dist/{chunk-FLK6OPFY.cjs.map → chunk-BZ5OMN4Y.cjs.map} +1 -1
- package/dist/{chunk-COLAXULB.js → chunk-CG7LKC5L.js} +6 -6
- package/dist/{chunk-COLAXULB.js.map → chunk-CG7LKC5L.js.map} +1 -1
- package/dist/{chunk-HSKFVCTS.js → chunk-CICN5KXP.js} +3 -3
- package/dist/{chunk-EO4A7QGM.cjs → chunk-F6H3CFFX.cjs} +6 -6
- package/dist/{chunk-EO4A7QGM.cjs.map → chunk-F6H3CFFX.cjs.map} +1 -1
- package/dist/{chunk-RW35BB4P.js → chunk-FUJZS2ZW.js} +2 -2
- package/dist/{chunk-7NWHDCME.cjs → chunk-IOFHIMRR.cjs} +14 -14
- package/dist/{chunk-7NWHDCME.cjs.map → chunk-IOFHIMRR.cjs.map} +1 -1
- package/dist/{chunk-KBUECB4B.cjs → chunk-J2EEMMKC.cjs} +3 -3
- package/dist/{chunk-KBUECB4B.cjs.map → chunk-J2EEMMKC.cjs.map} +1 -1
- package/dist/{chunk-6IU7IYYB.js → chunk-MODD3TFE.js} +2 -2
- package/dist/{chunk-TFMVYQGN.cjs → chunk-NCYGAFR2.cjs} +5 -5
- package/dist/{chunk-TFMVYQGN.cjs.map → chunk-NCYGAFR2.cjs.map} +1 -1
- package/dist/{chunk-65BN4MRG.cjs → chunk-NURK44RO.cjs} +7 -7
- package/dist/{chunk-65BN4MRG.cjs.map → chunk-NURK44RO.cjs.map} +1 -1
- package/dist/{chunk-DHO4HSO7.cjs → chunk-PVB5EFWW.cjs} +5 -5
- package/dist/{chunk-DHO4HSO7.cjs.map → chunk-PVB5EFWW.cjs.map} +1 -1
- package/dist/{chunk-JLJB4A4K.js → chunk-QJETOENA.js} +3 -3
- package/dist/{chunk-SLTUNYTD.js → chunk-RROVF7SO.js} +4 -4
- package/dist/{chunk-SLTUNYTD.js.map → chunk-RROVF7SO.js.map} +1 -1
- package/dist/{chunk-TVMCTUQ4.js → chunk-U57PIYJR.js} +3 -3
- package/dist/{chunk-TVMCTUQ4.js.map → chunk-U57PIYJR.js.map} +1 -1
- package/dist/{chunk-4GBNXNCZ.js → chunk-UVCXMSCC.js} +114 -97
- package/dist/chunk-UVCXMSCC.js.map +1 -0
- package/dist/{chunk-RTFM4VRY.cjs → chunk-WPBRWZ6G.cjs} +5 -5
- package/dist/{chunk-RTFM4VRY.cjs.map → chunk-WPBRWZ6G.cjs.map} +1 -1
- package/dist/{chunk-CFH4VPJ4.js → chunk-XRV3STYH.js} +83 -8
- package/dist/chunk-XRV3STYH.js.map +1 -0
- package/dist/{chunk-EAJFV3AD.cjs → chunk-Y4TP2U6D.cjs} +5 -5
- package/dist/{chunk-EAJFV3AD.cjs.map → chunk-Y4TP2U6D.cjs.map} +1 -1
- package/dist/{chunk-3YDAYNNB.cjs → chunk-ZFOAPZDA.cjs} +112 -95
- package/dist/chunk-ZFOAPZDA.cjs.map +1 -0
- package/dist/hooks/index.cjs +4 -4
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.cts +69 -5
- package/dist/hooks/index.d.ts +69 -5
- package/dist/hooks/index.js +7 -7
- package/dist/hooks/useInputValueDebounce/index.cjs +3 -3
- package/dist/hooks/useInputValueDebounce/index.js +2 -2
- package/dist/hooks/useInputValueTransform/index.cjs +2 -2
- package/dist/hooks/useInputValueTransform/index.js +1 -1
- package/dist/index.cjs +15 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +18 -18
- package/package.json +2 -2
- package/dist/chunk-3YDAYNNB.cjs.map +0 -1
- package/dist/chunk-4GBNXNCZ.js.map +0 -1
- package/dist/chunk-CFH4VPJ4.js.map +0 -1
- package/dist/chunk-J5FFM7WG.cjs.map +0 -1
- package/dist/chunk-P6HJOG7D.cjs.map +0 -1
- /package/dist/{chunk-HSKFVCTS.js.map → chunk-CICN5KXP.js.map} +0 -0
- /package/dist/{chunk-RW35BB4P.js.map → chunk-FUJZS2ZW.js.map} +0 -0
- /package/dist/{chunk-6IU7IYYB.js.map → chunk-MODD3TFE.js.map} +0 -0
- /package/dist/{chunk-JLJB4A4K.js.map → chunk-QJETOENA.js.map} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkPVB5EFWWcjs = require('../chunk-PVB5EFWW.cjs');
|
|
5
|
+
require('../chunk-BGVM2RIC.cjs');
|
|
6
6
|
require('../chunk-OE5BOGGX.cjs');
|
|
7
7
|
require('../chunk-NHEZXA4H.cjs');
|
|
8
8
|
require('../chunk-Z353BLWI.cjs');
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-BZ5OMN4Y.cjs');
|
|
10
|
+
require('../chunk-4WYC2RBE.cjs');
|
|
11
11
|
require('../chunk-555JRYCS.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.Checkboxes =
|
|
15
|
+
exports.Checkboxes = _chunkPVB5EFWWcjs.Checkboxes_default; exports.default = _chunkPVB5EFWWcjs.Checkboxes_default2;
|
|
16
16
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Checkboxes/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Checkboxes_default,
|
|
3
3
|
Checkboxes_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-57GTLKQC.js";
|
|
5
|
+
import "../chunk-XRV3STYH.js";
|
|
6
6
|
import "../chunk-NTDKZW4E.js";
|
|
7
7
|
import "../chunk-ELYGQTXB.js";
|
|
8
8
|
import "../chunk-76KOVUDN.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-MODD3TFE.js";
|
|
10
|
+
import "../chunk-7KLFK2IT.js";
|
|
11
11
|
import "../chunk-K2V4ULA2.js";
|
|
12
12
|
export {
|
|
13
13
|
Checkboxes_default as Checkboxes,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkZFOAPZDAcjs = require('../chunk-ZFOAPZDA.cjs');
|
|
5
5
|
require('../chunk-TTD3KL6E.cjs');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-BGVM2RIC.cjs');
|
|
7
7
|
require('../chunk-OE5BOGGX.cjs');
|
|
8
8
|
require('../chunk-NHEZXA4H.cjs');
|
|
9
9
|
require('../chunk-Z353BLWI.cjs');
|
|
10
|
-
require('../chunk-
|
|
11
|
-
require('../chunk-
|
|
10
|
+
require('../chunk-BZ5OMN4Y.cjs');
|
|
11
|
+
require('../chunk-4WYC2RBE.cjs');
|
|
12
12
|
require('../chunk-555JRYCS.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
exports.FieldArray =
|
|
16
|
+
exports.FieldArray = _chunkZFOAPZDAcjs.FieldArray_default; exports.default = _chunkZFOAPZDAcjs.FieldArray_default2;
|
|
17
17
|
//# sourceMappingURL=index.cjs.map
|
package/dist/FieldArray/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FieldArray_default,
|
|
3
3
|
FieldArray_default2
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-UVCXMSCC.js";
|
|
5
5
|
import "../chunk-B62HKKMS.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-XRV3STYH.js";
|
|
7
7
|
import "../chunk-NTDKZW4E.js";
|
|
8
8
|
import "../chunk-ELYGQTXB.js";
|
|
9
9
|
import "../chunk-76KOVUDN.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-MODD3TFE.js";
|
|
11
|
+
import "../chunk-7KLFK2IT.js";
|
|
12
12
|
import "../chunk-K2V4ULA2.js";
|
|
13
13
|
export {
|
|
14
14
|
FieldArray_default as FieldArray,
|
package/dist/Form/index.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkF6H3CFFXcjs = require('../chunk-F6H3CFFX.cjs');
|
|
5
|
+
require('../chunk-BGVM2RIC.cjs');
|
|
6
6
|
require('../chunk-OE5BOGGX.cjs');
|
|
7
7
|
require('../chunk-NHEZXA4H.cjs');
|
|
8
8
|
require('../chunk-Z353BLWI.cjs');
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-BZ5OMN4Y.cjs');
|
|
10
|
+
require('../chunk-4WYC2RBE.cjs');
|
|
11
11
|
require('../chunk-555JRYCS.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.Form =
|
|
15
|
+
exports.Form = _chunkF6H3CFFXcjs.Form_default; exports.default = _chunkF6H3CFFXcjs.Form_default2;
|
|
16
16
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Form/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Form_default,
|
|
3
3
|
Form_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-2TVCFRLE.js";
|
|
5
|
+
import "../chunk-XRV3STYH.js";
|
|
6
6
|
import "../chunk-NTDKZW4E.js";
|
|
7
7
|
import "../chunk-ELYGQTXB.js";
|
|
8
8
|
import "../chunk-76KOVUDN.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-MODD3TFE.js";
|
|
10
|
+
import "../chunk-7KLFK2IT.js";
|
|
11
11
|
import "../chunk-K2V4ULA2.js";
|
|
12
12
|
export {
|
|
13
13
|
Form_default as Form,
|
package/dist/Input/index.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkY4TP2U6Dcjs = require('../chunk-Y4TP2U6D.cjs');
|
|
5
|
+
require('../chunk-BGVM2RIC.cjs');
|
|
6
6
|
require('../chunk-OE5BOGGX.cjs');
|
|
7
7
|
require('../chunk-NHEZXA4H.cjs');
|
|
8
8
|
require('../chunk-Z353BLWI.cjs');
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-BZ5OMN4Y.cjs');
|
|
10
|
+
require('../chunk-4WYC2RBE.cjs');
|
|
11
11
|
require('../chunk-555JRYCS.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.Input =
|
|
15
|
+
exports.Input = _chunkY4TP2U6Dcjs.Input_default; exports.default = _chunkY4TP2U6Dcjs.Input_default2;
|
|
16
16
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Input/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Input_default,
|
|
3
3
|
Input_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-QJETOENA.js";
|
|
5
|
+
import "../chunk-XRV3STYH.js";
|
|
6
6
|
import "../chunk-NTDKZW4E.js";
|
|
7
7
|
import "../chunk-ELYGQTXB.js";
|
|
8
8
|
import "../chunk-76KOVUDN.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-MODD3TFE.js";
|
|
10
|
+
import "../chunk-7KLFK2IT.js";
|
|
11
11
|
import "../chunk-K2V4ULA2.js";
|
|
12
12
|
export {
|
|
13
13
|
Input_default as Input,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunk3Z3F4LTXcjs = require('../chunk-3Z3F4LTX.cjs');
|
|
5
|
+
require('../chunk-BGVM2RIC.cjs');
|
|
6
6
|
require('../chunk-OE5BOGGX.cjs');
|
|
7
7
|
require('../chunk-NHEZXA4H.cjs');
|
|
8
8
|
require('../chunk-Z353BLWI.cjs');
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-BZ5OMN4Y.cjs');
|
|
10
|
+
require('../chunk-4WYC2RBE.cjs');
|
|
11
11
|
require('../chunk-555JRYCS.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.RadioBoxes =
|
|
15
|
+
exports.RadioBoxes = _chunk3Z3F4LTXcjs.RadioBoxes_default; exports.default = _chunk3Z3F4LTXcjs.RadioBoxes_default2;
|
|
16
16
|
//# sourceMappingURL=index.cjs.map
|
package/dist/RadioBoxes/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RadioBoxes_default,
|
|
3
3
|
RadioBoxes_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-CG7LKC5L.js";
|
|
5
|
+
import "../chunk-XRV3STYH.js";
|
|
6
6
|
import "../chunk-NTDKZW4E.js";
|
|
7
7
|
import "../chunk-ELYGQTXB.js";
|
|
8
8
|
import "../chunk-76KOVUDN.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-MODD3TFE.js";
|
|
10
|
+
import "../chunk-7KLFK2IT.js";
|
|
11
11
|
import "../chunk-K2V4ULA2.js";
|
|
12
12
|
export {
|
|
13
13
|
RadioBoxes_default as RadioBoxes,
|
package/dist/RadioTabs/index.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkNCYGAFR2cjs = require('../chunk-NCYGAFR2.cjs');
|
|
5
|
+
require('../chunk-BGVM2RIC.cjs');
|
|
6
6
|
require('../chunk-OE5BOGGX.cjs');
|
|
7
7
|
require('../chunk-NHEZXA4H.cjs');
|
|
8
8
|
require('../chunk-Z353BLWI.cjs');
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-BZ5OMN4Y.cjs');
|
|
10
|
+
require('../chunk-4WYC2RBE.cjs');
|
|
11
11
|
require('../chunk-555JRYCS.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.RadioTabs =
|
|
15
|
+
exports.RadioTabs = _chunkNCYGAFR2cjs.RadioTabs_default; exports.default = _chunkNCYGAFR2cjs.RadioTabs_default2;
|
|
16
16
|
//# sourceMappingURL=index.cjs.map
|
package/dist/RadioTabs/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RadioTabs_default,
|
|
3
3
|
RadioTabs_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-4TOWIBVX.js";
|
|
5
|
+
import "../chunk-XRV3STYH.js";
|
|
6
6
|
import "../chunk-NTDKZW4E.js";
|
|
7
7
|
import "../chunk-ELYGQTXB.js";
|
|
8
8
|
import "../chunk-76KOVUDN.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-MODD3TFE.js";
|
|
10
|
+
import "../chunk-7KLFK2IT.js";
|
|
11
11
|
import "../chunk-K2V4ULA2.js";
|
|
12
12
|
export {
|
|
13
13
|
RadioTabs_default as RadioTabs,
|
package/dist/Radios/index.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkBQLB74OTcjs = require('../chunk-BQLB74OT.cjs');
|
|
5
|
+
require('../chunk-BGVM2RIC.cjs');
|
|
6
6
|
require('../chunk-OE5BOGGX.cjs');
|
|
7
7
|
require('../chunk-NHEZXA4H.cjs');
|
|
8
8
|
require('../chunk-Z353BLWI.cjs');
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-BZ5OMN4Y.cjs');
|
|
10
|
+
require('../chunk-4WYC2RBE.cjs');
|
|
11
11
|
require('../chunk-555JRYCS.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.Radios =
|
|
15
|
+
exports.Radios = _chunkBQLB74OTcjs.Radios_default; exports.default = _chunkBQLB74OTcjs.Radios_default2;
|
|
16
16
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Radios/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Radios_default,
|
|
3
3
|
Radios_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-U57PIYJR.js";
|
|
5
|
+
import "../chunk-XRV3STYH.js";
|
|
6
6
|
import "../chunk-NTDKZW4E.js";
|
|
7
7
|
import "../chunk-ELYGQTXB.js";
|
|
8
8
|
import "../chunk-76KOVUDN.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-MODD3TFE.js";
|
|
10
|
+
import "../chunk-7KLFK2IT.js";
|
|
11
11
|
import "../chunk-K2V4ULA2.js";
|
|
12
12
|
export {
|
|
13
13
|
Radios_default as Radios,
|
package/dist/Select/index.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkIOFHIMRRcjs = require('../chunk-IOFHIMRR.cjs');
|
|
5
|
+
require('../chunk-BGVM2RIC.cjs');
|
|
6
6
|
require('../chunk-OE5BOGGX.cjs');
|
|
7
7
|
require('../chunk-NHEZXA4H.cjs');
|
|
8
8
|
require('../chunk-Z353BLWI.cjs');
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-BZ5OMN4Y.cjs');
|
|
10
|
+
require('../chunk-4WYC2RBE.cjs');
|
|
11
11
|
require('../chunk-555JRYCS.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.Select =
|
|
15
|
+
exports.Select = _chunkIOFHIMRRcjs.Select_default; exports.default = _chunkIOFHIMRRcjs.Select_default2;
|
|
16
16
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Select/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Select_default,
|
|
3
3
|
Select_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-33JULJXP.js";
|
|
5
|
+
import "../chunk-XRV3STYH.js";
|
|
6
6
|
import "../chunk-NTDKZW4E.js";
|
|
7
7
|
import "../chunk-ELYGQTXB.js";
|
|
8
8
|
import "../chunk-76KOVUDN.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-MODD3TFE.js";
|
|
10
|
+
import "../chunk-7KLFK2IT.js";
|
|
11
11
|
import "../chunk-K2V4ULA2.js";
|
|
12
12
|
export {
|
|
13
13
|
Select_default as Select,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkJ2EEMMKCcjs = require('../chunk-J2EEMMKC.cjs');
|
|
5
|
+
require('../chunk-BGVM2RIC.cjs');
|
|
6
6
|
require('../chunk-OE5BOGGX.cjs');
|
|
7
7
|
require('../chunk-NHEZXA4H.cjs');
|
|
8
8
|
require('../chunk-Z353BLWI.cjs');
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-BZ5OMN4Y.cjs');
|
|
10
|
+
require('../chunk-4WYC2RBE.cjs');
|
|
11
11
|
require('../chunk-555JRYCS.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.SubmitButton =
|
|
15
|
+
exports.SubmitButton = _chunkJ2EEMMKCcjs.SubmitButton_default; exports.default = _chunkJ2EEMMKCcjs.SubmitButton_default2;
|
|
16
16
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SubmitButton_default,
|
|
3
3
|
SubmitButton_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-FUJZS2ZW.js";
|
|
5
|
+
import "../chunk-XRV3STYH.js";
|
|
6
6
|
import "../chunk-NTDKZW4E.js";
|
|
7
7
|
import "../chunk-ELYGQTXB.js";
|
|
8
8
|
import "../chunk-76KOVUDN.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-MODD3TFE.js";
|
|
10
|
+
import "../chunk-7KLFK2IT.js";
|
|
11
11
|
import "../chunk-K2V4ULA2.js";
|
|
12
12
|
export {
|
|
13
13
|
SubmitButton_default as SubmitButton,
|
package/dist/Switch/index.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkNURK44ROcjs = require('../chunk-NURK44RO.cjs');
|
|
5
|
+
require('../chunk-BGVM2RIC.cjs');
|
|
6
6
|
require('../chunk-OE5BOGGX.cjs');
|
|
7
7
|
require('../chunk-NHEZXA4H.cjs');
|
|
8
8
|
require('../chunk-Z353BLWI.cjs');
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-BZ5OMN4Y.cjs');
|
|
10
|
+
require('../chunk-4WYC2RBE.cjs');
|
|
11
11
|
require('../chunk-555JRYCS.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.Switch =
|
|
15
|
+
exports.Switch = _chunkNURK44ROcjs.Switch_default; exports.default = _chunkNURK44ROcjs.Switch_default2;
|
|
16
16
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Switch/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Switch_default,
|
|
3
3
|
Switch_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-RROVF7SO.js";
|
|
5
|
+
import "../chunk-XRV3STYH.js";
|
|
6
6
|
import "../chunk-NTDKZW4E.js";
|
|
7
7
|
import "../chunk-ELYGQTXB.js";
|
|
8
8
|
import "../chunk-76KOVUDN.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-MODD3TFE.js";
|
|
10
|
+
import "../chunk-7KLFK2IT.js";
|
|
11
11
|
import "../chunk-K2V4ULA2.js";
|
|
12
12
|
export {
|
|
13
13
|
Switch_default as Switch,
|
package/dist/TextArea/index.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkWPBRWZ6Gcjs = require('../chunk-WPBRWZ6G.cjs');
|
|
5
|
+
require('../chunk-BGVM2RIC.cjs');
|
|
6
6
|
require('../chunk-OE5BOGGX.cjs');
|
|
7
7
|
require('../chunk-NHEZXA4H.cjs');
|
|
8
8
|
require('../chunk-Z353BLWI.cjs');
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-BZ5OMN4Y.cjs');
|
|
10
|
+
require('../chunk-4WYC2RBE.cjs');
|
|
11
11
|
require('../chunk-555JRYCS.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.TextArea =
|
|
15
|
+
exports.TextArea = _chunkWPBRWZ6Gcjs.TextArea_default; exports.default = _chunkWPBRWZ6Gcjs.TextArea_default2;
|
|
16
16
|
//# sourceMappingURL=index.cjs.map
|
package/dist/TextArea/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TextArea_default,
|
|
3
3
|
TextArea_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-CICN5KXP.js";
|
|
5
|
+
import "../chunk-XRV3STYH.js";
|
|
6
6
|
import "../chunk-NTDKZW4E.js";
|
|
7
7
|
import "../chunk-ELYGQTXB.js";
|
|
8
8
|
import "../chunk-76KOVUDN.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-MODD3TFE.js";
|
|
10
|
+
import "../chunk-7KLFK2IT.js";
|
|
11
11
|
import "../chunk-K2V4ULA2.js";
|
|
12
12
|
export {
|
|
13
13
|
TextArea_default as TextArea,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FormContext_default,
|
|
3
3
|
useFormContext
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XRV3STYH.js";
|
|
5
5
|
|
|
6
6
|
// src/Form/Form.tsx
|
|
7
7
|
import { cn as cn2, slugify } from "@fuf-stack/pixel-utils";
|
|
@@ -32,7 +32,7 @@ var FormDebugViewer = ({ className = void 0 }) => {
|
|
|
32
32
|
Button,
|
|
33
33
|
{
|
|
34
34
|
ariaLabel: "Enable form debug mode",
|
|
35
|
-
className: "
|
|
35
|
+
className: "fixed bottom-2.5 right-2.5 w-5 text-default-400",
|
|
36
36
|
icon: /* @__PURE__ */ jsx(FaBug, {}),
|
|
37
37
|
variant: "light",
|
|
38
38
|
onClick: () => {
|
|
@@ -67,7 +67,7 @@ var FormDebugViewer = ({ className = void 0 }) => {
|
|
|
67
67
|
/* @__PURE__ */ jsx(
|
|
68
68
|
Button,
|
|
69
69
|
{
|
|
70
|
-
className: "
|
|
70
|
+
className: "mb-4 ml-auto mr-auto",
|
|
71
71
|
icon: /* @__PURE__ */ jsx(FaBullseye, {}),
|
|
72
72
|
variant: showDebugTestIds ? "solid" : "light",
|
|
73
73
|
onClick: () => {
|
|
@@ -148,4 +148,4 @@ export {
|
|
|
148
148
|
Form_default,
|
|
149
149
|
Form_default2
|
|
150
150
|
};
|
|
151
|
-
//# sourceMappingURL=chunk-
|
|
151
|
+
//# sourceMappingURL=chunk-2TVCFRLE.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Form/Form.tsx","../src/Form/subcomponents/FormDebugViewer.tsx","../src/Form/index.ts"],"sourcesContent":["import type { VetoInstance } from '@fuf-stack/veto';\nimport type { ReactNode } from 'react';\nimport type { FieldValues, SubmitHandler } from 'react-hook-form';\nimport type { DebugModeSettings } from './subcomponents/FormContext';\n\nimport { cn, slugify } from '@fuf-stack/pixel-utils';\n\nimport FormProvider from './subcomponents/FormContext';\nimport FormDebugViewer from './subcomponents/FormDebugViewer';\n\nconst IS_TEST = process.env.NODE_ENV === 'test';\n\nexport interface FormProps {\n /** form children */\n children: ReactNode | ReactNode[];\n /** CSS class name */\n className?: string | string[];\n /** settings for from debug mode */\n debug?: DebugModeSettings;\n /** initial form values */\n initialValues?: FieldValues;\n /** name of the form */\n name?: string;\n /** form submit handler */\n onSubmit: SubmitHandler<FieldValues>;\n /** HTML data-testid attribute used in e2e tests */\n testId?: string;\n /** veto validation schema */\n validation?: VetoInstance;\n /** when the validation should be triggered */\n validationTrigger?: 'onChange' | 'onBlur' | 'onSubmit' | 'onTouched' | 'all';\n}\n\n/**\n * Form component that has to wrap every uniform\n */\nconst Form = ({\n children,\n className = undefined,\n debug = undefined,\n initialValues = undefined,\n name = undefined,\n onSubmit,\n testId = undefined,\n validation = undefined,\n validationTrigger = 'all',\n}: FormProps) => {\n return (\n <FormProvider\n debugModeSettings={debug}\n initialValues={initialValues}\n onSubmit={onSubmit}\n validation={validation}\n validationTrigger={validationTrigger}\n >\n {({ handleSubmit, isValid }) => {\n return (\n <div className=\"flex w-full flex-row justify-between gap-6\">\n <form\n className={cn('grow', className)}\n data-form-is-valid={isValid}\n data-testid={slugify(testId ?? name ?? '')}\n name={name}\n onSubmit={handleSubmit}\n >\n {children}\n </form>\n {/* render debug viewer when not in test environment and debug not disabled */}\n {!IS_TEST && !debug?.disable && (\n <FormDebugViewer className=\"w-96 shrink\" />\n )}\n </div>\n );\n }}\n </FormProvider>\n );\n};\n\nexport default Form;\n","import { FaTimes } from 'react-icons/fa';\nimport { FaBug, FaBullseye } from 'react-icons/fa6';\n\nimport { cn } from '@fuf-stack/pixel-utils';\nimport { Button } from '@fuf-stack/pixels/Button';\nimport { Card } from '@fuf-stack/pixels/Card';\nimport { Json } from '@fuf-stack/pixels/Json';\n\nimport { useFormContext } from '../../hooks';\n\n// import Json css (theme)\nimport '@fuf-stack/pixels/Json.css';\n\ninterface FormDebugViewerProps {\n /** CSS class name */\n className?: string;\n}\n\n/** Renders a form debug panel with information about the current form state */\nconst FormDebugViewer = ({ className = undefined }: FormDebugViewerProps) => {\n const {\n debugMode,\n formState: { isValid, isSubmitting, submitCount, isSubmitSuccessful },\n setDebugMode,\n validation: { errors },\n watch,\n } = useFormContext();\n\n const showDebugButton = debugMode === 'off';\n const showDebugCard = debugMode === 'debug' || debugMode === 'debug-testids';\n const showDebugTestIds = debugMode === 'debug-testids';\n\n // TODO: maybe use new Watch component?\n // see: https://github.com/react-hook-form/react-hook-form/pull/12986\n const values = watch();\n\n if (showDebugButton) {\n return (\n <Button\n ariaLabel=\"Enable form debug mode\"\n className=\"
|
|
1
|
+
{"version":3,"sources":["../src/Form/Form.tsx","../src/Form/subcomponents/FormDebugViewer.tsx","../src/Form/index.ts"],"sourcesContent":["import type { VetoInstance } from '@fuf-stack/veto';\nimport type { ReactNode } from 'react';\nimport type { FieldValues, SubmitHandler } from 'react-hook-form';\nimport type { DebugModeSettings } from './subcomponents/FormContext';\n\nimport { cn, slugify } from '@fuf-stack/pixel-utils';\n\nimport FormProvider from './subcomponents/FormContext';\nimport FormDebugViewer from './subcomponents/FormDebugViewer';\n\nconst IS_TEST = process.env.NODE_ENV === 'test';\n\nexport interface FormProps {\n /** form children */\n children: ReactNode | ReactNode[];\n /** CSS class name */\n className?: string | string[];\n /** settings for from debug mode */\n debug?: DebugModeSettings;\n /** initial form values */\n initialValues?: FieldValues;\n /** name of the form */\n name?: string;\n /** form submit handler */\n onSubmit: SubmitHandler<FieldValues>;\n /** HTML data-testid attribute used in e2e tests */\n testId?: string;\n /** veto validation schema */\n validation?: VetoInstance;\n /** when the validation should be triggered */\n validationTrigger?: 'onChange' | 'onBlur' | 'onSubmit' | 'onTouched' | 'all';\n}\n\n/**\n * Form component that has to wrap every uniform\n */\nconst Form = ({\n children,\n className = undefined,\n debug = undefined,\n initialValues = undefined,\n name = undefined,\n onSubmit,\n testId = undefined,\n validation = undefined,\n validationTrigger = 'all',\n}: FormProps) => {\n return (\n <FormProvider\n debugModeSettings={debug}\n initialValues={initialValues}\n onSubmit={onSubmit}\n validation={validation}\n validationTrigger={validationTrigger}\n >\n {({ handleSubmit, isValid }) => {\n return (\n <div className=\"flex w-full flex-row justify-between gap-6\">\n <form\n className={cn('grow', className)}\n data-form-is-valid={isValid}\n data-testid={slugify(testId ?? name ?? '')}\n name={name}\n onSubmit={handleSubmit}\n >\n {children}\n </form>\n {/* render debug viewer when not in test environment and debug not disabled */}\n {!IS_TEST && !debug?.disable && (\n <FormDebugViewer className=\"w-96 shrink\" />\n )}\n </div>\n );\n }}\n </FormProvider>\n );\n};\n\nexport default Form;\n","import { FaTimes } from 'react-icons/fa';\nimport { FaBug, FaBullseye } from 'react-icons/fa6';\n\nimport { cn } from '@fuf-stack/pixel-utils';\nimport { Button } from '@fuf-stack/pixels/Button';\nimport { Card } from '@fuf-stack/pixels/Card';\nimport { Json } from '@fuf-stack/pixels/Json';\n\nimport { useFormContext } from '../../hooks';\n\n// import Json css (theme)\nimport '@fuf-stack/pixels/Json.css';\n\ninterface FormDebugViewerProps {\n /** CSS class name */\n className?: string;\n}\n\n/** Renders a form debug panel with information about the current form state */\nconst FormDebugViewer = ({ className = undefined }: FormDebugViewerProps) => {\n const {\n debugMode,\n formState: { isValid, isSubmitting, submitCount, isSubmitSuccessful },\n setDebugMode,\n validation: { errors },\n watch,\n } = useFormContext();\n\n const showDebugButton = debugMode === 'off';\n const showDebugCard = debugMode === 'debug' || debugMode === 'debug-testids';\n const showDebugTestIds = debugMode === 'debug-testids';\n\n // TODO: maybe use new Watch component?\n // see: https://github.com/react-hook-form/react-hook-form/pull/12986\n const values = watch();\n\n if (showDebugButton) {\n return (\n <Button\n ariaLabel=\"Enable form debug mode\"\n className=\"fixed bottom-2.5 right-2.5 w-5 text-default-400\"\n icon={<FaBug />}\n variant=\"light\"\n onClick={() => {\n setDebugMode('debug');\n }}\n />\n );\n }\n\n // do not show card\n if (!showDebugCard) {\n return null;\n }\n\n return (\n <Card\n className={cn(className)}\n header={\n <div className=\"flex w-full flex-row justify-between\">\n <span className=\"text-lg\">Debug Mode</span>\n <Button\n color=\"danger\"\n icon={<FaTimes />}\n size=\"sm\"\n variant=\"light\"\n onClick={() => {\n setDebugMode('off');\n }}\n />\n </div>\n }\n >\n <Button\n className=\"mb-4 ml-auto mr-auto\"\n icon={<FaBullseye />}\n variant={showDebugTestIds ? 'solid' : 'light'}\n onClick={() => {\n setDebugMode(debugMode === 'debug' ? 'debug-testids' : 'debug');\n }}\n >\n {showDebugTestIds ? 'Hide CopyButton' : 'Show CopyButton'}\n </Button>\n <Json\n value={{\n values,\n errors: errors ?? null,\n submit: {\n isValid,\n isSubmitting,\n isSubmitSuccessful,\n submitCount,\n },\n }}\n />\n </Card>\n );\n};\n\nexport default FormDebugViewer;\n","import Form from './Form';\n\nexport type { FormProps } from './Form';\n\nexport { Form };\n\nexport default Form;\n"],"mappings":"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","names":["cn","jsx","jsxs","cn","Form_default"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useUniformField
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XRV3STYH.js";
|
|
4
4
|
import {
|
|
5
5
|
__objRest,
|
|
6
6
|
__spreadProps,
|
|
@@ -16,36 +16,36 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
16
16
|
var selectVariants = tv({
|
|
17
17
|
slots: {
|
|
18
18
|
base: "group leading-normal",
|
|
19
|
-
clearIndicator: "text-foreground-500 hover:bg-default-200 hover:text-foreground-800
|
|
20
|
-
control: "border-default-200 bg-content1 transition-background hover:border-default-400 group-data-[invalid=true]:border-danger group-data-[invalid=true]:hover:border-danger
|
|
19
|
+
clearIndicator: "rounded-md p-1 text-foreground-500 hover:cursor-pointer hover:bg-default-200 hover:text-foreground-800",
|
|
20
|
+
control: "duration-150! rounded-lg border-2 border-default-200 bg-content1 transition-background hover:border-default-400 group-data-[invalid=true]:border-danger group-data-[invalid=true]:hover:border-danger motion-reduce:transition-none",
|
|
21
21
|
control_focused: "border-focus",
|
|
22
22
|
crossIcon: "",
|
|
23
23
|
downChevron: "",
|
|
24
|
-
dropdownIndicator: "text-foreground-500 hover:bg-default-200
|
|
24
|
+
dropdownIndicator: "rounded-md p-1 text-foreground-500 hover:cursor-pointer hover:bg-default-200 hover:text-black",
|
|
25
25
|
group: "",
|
|
26
|
-
groupHeading: "
|
|
26
|
+
groupHeading: "mb-1 ml-3 mt-2 text-sm text-foreground-500",
|
|
27
27
|
indicatorsContainer: "gap-1 p-1",
|
|
28
28
|
indicatorSeparator: "bg-default-300",
|
|
29
29
|
input: "py-0.5 pl-1",
|
|
30
30
|
// see HeroUI styles for group-data condition,
|
|
31
31
|
// e.g.: https://github.com/heroui-inc/heroui/blob/main/packages/core/theme/src/components/select.ts
|
|
32
|
-
label: 'text-small group-data-[invalid=true]:!text-danger group-data-[required=true]:after:
|
|
32
|
+
label: 'pointer-events-auto relative bottom-1.5 ml-1 subpixel-antialiased text-small group-data-[invalid=true]:!text-danger group-data-[required=true]:after:ml-0.5 group-data-[required=true]:after:text-danger group-data-[required=true]:after:content-["*"]',
|
|
33
33
|
loadingIndicator: "",
|
|
34
|
-
loadingMessage: "
|
|
35
|
-
menu: "border-default-200 bg-content1
|
|
34
|
+
loadingMessage: "rounded-sm p-2 text-foreground-500",
|
|
35
|
+
menu: "mt-2 rounded-xl border border-default-200 bg-content1 p-1 shadow-lg",
|
|
36
36
|
menuList: "",
|
|
37
37
|
// ensure menu has same z-index as modal so it is visible when rendered in modal
|
|
38
38
|
// see: https://github.com/heroui-inc/heroui/blob/main/packages/core/theme/src/components/modal.ts (see z-50)
|
|
39
39
|
menuPortal: "z-50!",
|
|
40
|
-
multiValue: "
|
|
40
|
+
multiValue: "items-center gap-1.5 rounded bg-default-100 py-0.5 pl-2 pr-1",
|
|
41
41
|
multiValueContainer: "",
|
|
42
42
|
multiValueLabel: "py-0.5 leading-6",
|
|
43
|
-
multiValueRemove: "text-default-500 hover:border-default-300 hover:text-default-800
|
|
44
|
-
noOptionsMessage: "
|
|
43
|
+
multiValueRemove: "rounded text-default-500 hover:cursor-pointer hover:border-default-300 hover:text-default-800",
|
|
44
|
+
noOptionsMessage: "rounded-sm p-2 text-foreground-500",
|
|
45
45
|
option_focused: "bg-default-100 active:bg-default-200",
|
|
46
46
|
option_selected: "bg-default-300",
|
|
47
47
|
option: "rounded px-3 py-2 hover:cursor-pointer",
|
|
48
|
-
placeholder: "
|
|
48
|
+
placeholder: "ml-1 py-0.5 pl-1 text-sm text-foreground-500",
|
|
49
49
|
selectContainer: "",
|
|
50
50
|
singleValue: "ml-1! leading-7!",
|
|
51
51
|
valueContainer: "gap-1 p-1"
|
|
@@ -277,4 +277,4 @@ export {
|
|
|
277
277
|
Select_default,
|
|
278
278
|
Select_default2
|
|
279
279
|
};
|
|
280
|
-
//# sourceMappingURL=chunk-
|
|
280
|
+
//# sourceMappingURL=chunk-33JULJXP.js.map
|