@fangxinyan/lumina 0.6.2 → 0.6.3
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/README.md +2 -1
- package/dist/{Alert-JJ7GB3UU.css → Alert-QBKIDY5H.css} +7 -0
- package/dist/Alert.cjs +3 -3
- package/dist/Alert.d.cts +3 -2
- package/dist/Alert.d.ts +3 -2
- package/dist/Alert.js +2 -2
- package/dist/AutoComplete.cjs +5 -5
- package/dist/AutoComplete.js +4 -4
- package/dist/Badge.d.cts +1 -0
- package/dist/Badge.d.ts +1 -0
- package/dist/{Button-SDQD25AG.css → Button-4Z3Q6KII.css} +56 -36
- package/dist/Button.cjs +3 -3
- package/dist/Button.d.cts +6 -5
- package/dist/Button.d.ts +6 -5
- package/dist/Button.js +2 -2
- package/dist/Calendar.cjs +3 -3
- package/dist/Calendar.js +2 -2
- package/dist/{Cascader-C2DFSMKJ.css → Cascader-3BLLA7EN.css} +13 -0
- package/dist/Cascader.cjs +5 -5
- package/dist/Cascader.d.cts +4 -2
- package/dist/Cascader.d.ts +4 -2
- package/dist/Cascader.js +4 -4
- package/dist/Checkbox.cjs +3 -3
- package/dist/Checkbox.js +2 -2
- package/dist/Collapse.cjs +3 -3
- package/dist/Collapse.js +2 -2
- package/dist/CommandPalette.cjs +5 -5
- package/dist/CommandPalette.js +4 -4
- package/dist/Drawer.cjs +3 -3
- package/dist/Drawer.js +2 -2
- package/dist/Icon.cjs +55 -47
- package/dist/Icon.d.cts +9 -1
- package/dist/Icon.d.ts +9 -1
- package/dist/Icon.js +1 -1
- package/dist/{Image-4MN34O6P.css → Image-MRYQCRQ5.css} +78 -0
- package/dist/Image.cjs +12 -4
- package/dist/Image.d.cts +79 -6
- package/dist/Image.d.ts +79 -6
- package/dist/Image.js +2 -2
- package/dist/{Input-3G4ONWNU.css → Input-HUBJ55OH.css} +10 -0
- package/dist/Input.cjs +5 -5
- package/dist/Input.d.cts +4 -3
- package/dist/Input.d.ts +4 -3
- package/dist/Input.js +3 -3
- package/dist/InputNumber.cjs +5 -5
- package/dist/InputNumber.js +4 -4
- package/dist/Message.cjs +6 -6
- package/dist/Message.js +2 -2
- package/dist/Modal.cjs +4 -4
- package/dist/Modal.d.cts +1 -0
- package/dist/Modal.d.ts +1 -0
- package/dist/Modal.js +3 -3
- package/dist/Pagination.cjs +7 -7
- package/dist/Pagination.js +6 -6
- package/dist/{Select-JVBQAZBG.css → Select-Z5VYPEEY.css} +26 -1
- package/dist/Select.cjs +6 -6
- package/dist/Select.d.cts +4 -3
- package/dist/Select.d.ts +4 -3
- package/dist/Select.js +5 -5
- package/dist/Table.cjs +9 -9
- package/dist/Table.js +8 -8
- package/dist/TablePro.cjs +10 -10
- package/dist/TablePro.js +9 -9
- package/dist/{Tag-LB3OOJAO.css → Tag-HDYCDPFS.css} +14 -1
- package/dist/Tag.cjs +3 -3
- package/dist/Tag.d.cts +4 -3
- package/dist/Tag.d.ts +4 -3
- package/dist/Tag.js +2 -2
- package/dist/Textarea.cjs +4 -4
- package/dist/Textarea.js +2 -2
- package/dist/Theme.cjs +14 -10
- package/dist/Theme.d.cts +29 -6
- package/dist/Theme.d.ts +29 -6
- package/dist/Theme.js +1 -1
- package/dist/Typography.cjs +7 -7
- package/dist/Typography.d.cts +1 -0
- package/dist/Typography.d.ts +1 -0
- package/dist/Typography.js +2 -2
- package/dist/{chunk-MT7UWY6T.cjs → chunk-2HQCUBA7.cjs} +2 -2
- package/dist/{chunk-OF3SGLZY.js → chunk-47VG2P34.js} +9 -1
- package/dist/{chunk-ZIP7F4UF.cjs → chunk-5DKRY67M.cjs} +4 -4
- package/dist/{chunk-DQTSTJ6O.js → chunk-5H5YP2TB.js} +3 -3
- package/dist/{chunk-QGHYQCF3.cjs → chunk-5MN3PMF4.cjs} +8 -8
- package/dist/{chunk-FBVVRTX2.cjs → chunk-6HMTV6P4.cjs} +2 -2
- package/dist/{chunk-RF2EY5JS.cjs → chunk-6ZXQJRAT.cjs} +153 -34
- package/dist/{chunk-4WTU5P3O.cjs → chunk-7AG524YZ.cjs} +3 -3
- package/dist/{chunk-CEJ7VBR6.js → chunk-7IYKKLV3.js} +2 -2
- package/dist/{chunk-FJNWUELL.js → chunk-AAGF7K3L.js} +1 -1
- package/dist/{chunk-AWXCSX6J.js → chunk-BPOOVO5T.js} +3 -3
- package/dist/{chunk-EJBHR2P5.js → chunk-BVQ77VRY.js} +2 -2
- package/dist/{chunk-7NGMQIST.js → chunk-CETNCRZ4.js} +2 -2
- package/dist/{chunk-K2KYM7LW.cjs → chunk-DG5VQ6BO.cjs} +2 -2
- package/dist/chunk-DWAN57G4.js +243 -0
- package/dist/{chunk-CXWEOAVU.js → chunk-ET6DYQVZ.js} +1 -1
- package/dist/{chunk-WKKSAGYH.js → chunk-FBYUZOZP.js} +7 -7
- package/dist/{chunk-EIY7KEJ3.cjs → chunk-FGW5GJ22.cjs} +2 -2
- package/dist/{chunk-33NCTOEB.js → chunk-FWPBORRB.js} +1 -1
- package/dist/{chunk-EQEJTN3V.js → chunk-GIZU3H6H.js} +1 -1
- package/dist/{chunk-HPFQXYKG.cjs → chunk-H4LGWZMH.cjs} +9 -9
- package/dist/{chunk-6LZ54NPO.cjs → chunk-HKF2V5MM.cjs} +33 -23
- package/dist/{chunk-WGZ2KJTZ.js → chunk-HLFH5HWR.js} +1 -1
- package/dist/{chunk-UMDGS4BP.js → chunk-I5WTQ5Y3.js} +4 -4
- package/dist/{chunk-MUXP7ASL.js → chunk-J2HZTJO6.js} +1 -1
- package/dist/{chunk-NN25YMOL.js → chunk-J5ZGYQZK.js} +153 -35
- package/dist/{chunk-CHMCL7AV.js → chunk-JCEHZ336.js} +1 -1
- package/dist/{chunk-FFZ6OMZI.js → chunk-JVUVOR6S.js} +1 -1
- package/dist/{chunk-ON4DEDMI.js → chunk-K5IGFBDR.js} +1 -1
- package/dist/{chunk-35ZGBAA3.cjs → chunk-K7FV7W6U.cjs} +5 -5
- package/dist/{chunk-XD3JGL5O.js → chunk-ME5BZ2WA.js} +1 -1
- package/dist/{chunk-OQBDU5I2.cjs → chunk-MPVCYU2K.cjs} +2 -2
- package/dist/{chunk-CUXV6QNN.cjs → chunk-P6EZG2R7.cjs} +5 -5
- package/dist/{chunk-SKMP2A5O.cjs → chunk-P6P4DGLF.cjs} +2 -2
- package/dist/{chunk-TEG7NJHS.cjs → chunk-PULGVK2I.cjs} +2 -2
- package/dist/{chunk-TZJH5HBT.cjs → chunk-QP3VCSRY.cjs} +5 -5
- package/dist/{chunk-MQV2XN4B.cjs → chunk-R2TEDH2F.cjs} +5 -5
- package/dist/{chunk-JD7A6VM3.js → chunk-SQGPSMSK.js} +5 -5
- package/dist/{chunk-GNEZQMKH.js → chunk-TGL5BGMR.js} +4 -4
- package/dist/{chunk-5WAXZJG5.cjs → chunk-TP567B3L.cjs} +5 -5
- package/dist/{chunk-XTIN5545.js → chunk-UKS23N3L.js} +31 -21
- package/dist/{chunk-TJII7BQ2.cjs → chunk-V272XR3F.cjs} +10 -0
- package/dist/chunk-VFFIE2VO.cjs +271 -0
- package/dist/{chunk-OYMJVU66.cjs → chunk-X5GCOMC3.cjs} +15 -15
- package/dist/{chunk-3AS5B7MQ.cjs → chunk-XSN4TLN5.cjs} +10 -10
- package/dist/{chunk-6ACKL3WH.cjs → chunk-ZKE73UQF.cjs} +3 -3
- package/dist/index.cjs +130 -110
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +24 -24
- package/dist/styles.css +202 -38
- package/docs/llms/alert.md +4 -3
- package/docs/llms/button.md +4 -3
- package/docs/llms/cascader.md +3 -0
- package/docs/llms/image.md +72 -1
- package/docs/llms/input.md +3 -2
- package/docs/llms/select.md +2 -2
- package/docs/llms/tag.md +3 -2
- package/docs/llms/theme.md +41 -4
- package/docs/llms.md +4 -4
- package/package.json +16 -1
- package/dist/chunk-B2KEZQ6S.cjs +0 -116
- package/dist/chunk-PH3YECMF.js +0 -90
|
@@ -36,6 +36,16 @@
|
|
|
36
36
|
color: var(--fg-subtle);
|
|
37
37
|
flex-shrink: 0;
|
|
38
38
|
display: inline-flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
line-height: 0;
|
|
42
|
+
}
|
|
43
|
+
.input-wrap .lead img,
|
|
44
|
+
.input-wrap .trail img {
|
|
45
|
+
display: block;
|
|
46
|
+
width: 16px;
|
|
47
|
+
height: 16px;
|
|
48
|
+
object-fit: contain;
|
|
39
49
|
}
|
|
40
50
|
.input-wrap .lead.interactive,
|
|
41
51
|
.input-wrap .trail.interactive { cursor: pointer; pointer-events: auto; }
|
package/dist/Input.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkHKF2V5MM_cjs = require('./chunk-HKF2V5MM.cjs');
|
|
4
|
+
require('./chunk-MPVCYU2K.cjs');
|
|
5
|
+
require('./chunk-V272XR3F.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Input", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkHKF2V5MM_cjs.Input; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "InputPassword", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkHKF2V5MM_cjs.InputPassword; }
|
|
16
16
|
});
|
package/dist/Input.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { IconSlot } from './Icon.cjs';
|
|
3
3
|
import { Textarea, TextareaProps } from './Textarea.cjs';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
4
5
|
|
|
5
6
|
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "prefix" | "value" | "defaultValue"> {
|
|
6
7
|
value?: string;
|
|
@@ -10,8 +11,8 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
|
10
11
|
/** Convenience value callback for Lumina-style code. */
|
|
11
12
|
onValueChange?: (value: string, event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
12
13
|
placeholder?: string;
|
|
13
|
-
leadingIcon?:
|
|
14
|
-
trailingIcon?:
|
|
14
|
+
leadingIcon?: IconSlot;
|
|
15
|
+
trailingIcon?: IconSlot;
|
|
15
16
|
/** Click handler for the leading icon (stops propagation so the input isn't focused). */
|
|
16
17
|
onLeadingIconClick?: (e: React.MouseEvent<SVGSVGElement>) => void;
|
|
17
18
|
/** Click handler for the trailing icon — e.g. password visibility toggle. */
|
package/dist/Input.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { IconSlot } from './Icon.js';
|
|
3
3
|
import { Textarea, TextareaProps } from './Textarea.js';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
4
5
|
|
|
5
6
|
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "prefix" | "value" | "defaultValue"> {
|
|
6
7
|
value?: string;
|
|
@@ -10,8 +11,8 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
|
10
11
|
/** Convenience value callback for Lumina-style code. */
|
|
11
12
|
onValueChange?: (value: string, event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
12
13
|
placeholder?: string;
|
|
13
|
-
leadingIcon?:
|
|
14
|
-
trailingIcon?:
|
|
14
|
+
leadingIcon?: IconSlot;
|
|
15
|
+
trailingIcon?: IconSlot;
|
|
15
16
|
/** Click handler for the leading icon (stops propagation so the input isn't focused). */
|
|
16
17
|
onLeadingIconClick?: (e: React.MouseEvent<SVGSVGElement>) => void;
|
|
17
18
|
/** Click handler for the trailing icon — e.g. password visibility toggle. */
|
package/dist/Input.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Input, InputPassword } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { Input, InputPassword } from './chunk-UKS23N3L.js';
|
|
2
|
+
import './chunk-HLFH5HWR.js';
|
|
3
|
+
import './chunk-47VG2P34.js';
|
package/dist/InputNumber.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
3
|
+
var chunkQP3VCSRY_cjs = require('./chunk-QP3VCSRY.cjs');
|
|
4
|
+
require('./chunk-HKF2V5MM.cjs');
|
|
5
|
+
require('./chunk-MPVCYU2K.cjs');
|
|
6
|
+
require('./chunk-V272XR3F.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "InputNumber", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkQP3VCSRY_cjs.InputNumber; }
|
|
13
13
|
});
|
package/dist/InputNumber.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { InputNumber } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
1
|
+
export { InputNumber } from './chunk-BVQ77VRY.js';
|
|
2
|
+
import './chunk-UKS23N3L.js';
|
|
3
|
+
import './chunk-HLFH5HWR.js';
|
|
4
|
+
import './chunk-47VG2P34.js';
|
package/dist/Message.cjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkZKE73UQF_cjs = require('./chunk-ZKE73UQF.cjs');
|
|
4
|
+
require('./chunk-V272XR3F.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "MessageContainer", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkZKE73UQF_cjs.MessageContainer; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "ToastContainer", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkZKE73UQF_cjs.ToastContainer; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "message", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkZKE73UQF_cjs.message; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "toast", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkZKE73UQF_cjs.toast; }
|
|
23
23
|
});
|
package/dist/Message.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { MessageContainer, ToastContainer, message, toast } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { MessageContainer, ToastContainer, message, toast } from './chunk-K5IGFBDR.js';
|
|
2
|
+
import './chunk-47VG2P34.js';
|
package/dist/Modal.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkH4LGWZMH_cjs = require('./chunk-H4LGWZMH.cjs');
|
|
4
|
+
require('./chunk-TP567B3L.cjs');
|
|
5
|
+
require('./chunk-V272XR3F.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Modal", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkH4LGWZMH_cjs.Modal; }
|
|
12
12
|
});
|
package/dist/Modal.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ButtonProps } from './Button.cjs';
|
|
3
3
|
import './Icon.cjs';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
4
5
|
|
|
5
6
|
interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "children" | "onClose"> {
|
|
6
7
|
/** Whether the modal is visible. */
|
package/dist/Modal.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ButtonProps } from './Button.js';
|
|
3
3
|
import './Icon.js';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
4
5
|
|
|
5
6
|
interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "children" | "onClose"> {
|
|
6
7
|
/** Whether the modal is visible. */
|
package/dist/Modal.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Modal } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { Modal } from './chunk-7IYKKLV3.js';
|
|
2
|
+
import './chunk-SQGPSMSK.js';
|
|
3
|
+
import './chunk-47VG2P34.js';
|
package/dist/Pagination.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkP6EZG2R7_cjs = require('./chunk-P6EZG2R7.cjs');
|
|
4
|
+
require('./chunk-X5GCOMC3.cjs');
|
|
5
|
+
require('./chunk-5DKRY67M.cjs');
|
|
6
6
|
require('./chunk-YB3IWIOJ.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-HKF2V5MM.cjs');
|
|
8
|
+
require('./chunk-MPVCYU2K.cjs');
|
|
9
|
+
require('./chunk-V272XR3F.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "Pagination", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkP6EZG2R7_cjs.Pagination; }
|
|
16
16
|
});
|
package/dist/Pagination.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Pagination } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { Pagination } from './chunk-CETNCRZ4.js';
|
|
2
|
+
import './chunk-FBYUZOZP.js';
|
|
3
|
+
import './chunk-5H5YP2TB.js';
|
|
4
4
|
import './chunk-DUFRASGO.js';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
5
|
+
import './chunk-UKS23N3L.js';
|
|
6
|
+
import './chunk-HLFH5HWR.js';
|
|
7
|
+
import './chunk-47VG2P34.js';
|
|
@@ -33,11 +33,36 @@
|
|
|
33
33
|
flex: 1;
|
|
34
34
|
min-width: 0;
|
|
35
35
|
}
|
|
36
|
-
.select-value
|
|
36
|
+
.select-value-label {
|
|
37
37
|
white-space: nowrap;
|
|
38
38
|
overflow: hidden;
|
|
39
39
|
text-overflow: ellipsis;
|
|
40
40
|
}
|
|
41
|
+
.select-icon,
|
|
42
|
+
.menu-item-icon {
|
|
43
|
+
display: inline-flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
line-height: 0;
|
|
47
|
+
flex-shrink: 0;
|
|
48
|
+
}
|
|
49
|
+
.select-icon img,
|
|
50
|
+
.menu-item-icon img {
|
|
51
|
+
display: block;
|
|
52
|
+
width: 16px;
|
|
53
|
+
height: 16px;
|
|
54
|
+
object-fit: contain;
|
|
55
|
+
}
|
|
56
|
+
.select.sm .select-icon img,
|
|
57
|
+
.select.sm .menu-item-icon img {
|
|
58
|
+
width: 14px;
|
|
59
|
+
height: 14px;
|
|
60
|
+
}
|
|
61
|
+
.select.lg .select-icon img,
|
|
62
|
+
.select.lg .menu-item-icon img {
|
|
63
|
+
width: 18px;
|
|
64
|
+
height: 18px;
|
|
65
|
+
}
|
|
41
66
|
.select.invalid .select-trigger {
|
|
42
67
|
box-shadow: var(--neu-out-sm), 0 0 0 2px color-mix(in oklch, var(--danger) 30%, transparent);
|
|
43
68
|
}
|
package/dist/Select.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkX5GCOMC3_cjs = require('./chunk-X5GCOMC3.cjs');
|
|
4
|
+
require('./chunk-5DKRY67M.cjs');
|
|
5
5
|
require('./chunk-YB3IWIOJ.cjs');
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-HKF2V5MM.cjs');
|
|
7
|
+
require('./chunk-MPVCYU2K.cjs');
|
|
8
|
+
require('./chunk-V272XR3F.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "Select", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkX5GCOMC3_cjs.Select; }
|
|
15
15
|
});
|
package/dist/Select.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { IconSlot } from './Icon.cjs';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
3
4
|
|
|
4
5
|
interface SelectOption<T extends string | number = string> {
|
|
5
6
|
value: T;
|
|
@@ -8,8 +9,8 @@ interface SelectOption<T extends string | number = string> {
|
|
|
8
9
|
text?: string;
|
|
9
10
|
/** Secondary line shown beneath the label. */
|
|
10
11
|
description?: React.ReactNode;
|
|
11
|
-
/** Leading icon. */
|
|
12
|
-
icon?:
|
|
12
|
+
/** Leading icon. Accepts a built-in icon name or custom React node. */
|
|
13
|
+
icon?: IconSlot;
|
|
13
14
|
disabled?: boolean;
|
|
14
15
|
}
|
|
15
16
|
interface SelectOptionGroup<T extends string | number = string> {
|
package/dist/Select.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { IconSlot } from './Icon.js';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
3
4
|
|
|
4
5
|
interface SelectOption<T extends string | number = string> {
|
|
5
6
|
value: T;
|
|
@@ -8,8 +9,8 @@ interface SelectOption<T extends string | number = string> {
|
|
|
8
9
|
text?: string;
|
|
9
10
|
/** Secondary line shown beneath the label. */
|
|
10
11
|
description?: React.ReactNode;
|
|
11
|
-
/** Leading icon. */
|
|
12
|
-
icon?:
|
|
12
|
+
/** Leading icon. Accepts a built-in icon name or custom React node. */
|
|
13
|
+
icon?: IconSlot;
|
|
13
14
|
disabled?: boolean;
|
|
14
15
|
}
|
|
15
16
|
interface SelectOptionGroup<T extends string | number = string> {
|
package/dist/Select.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { Select } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Select } from './chunk-FBYUZOZP.js';
|
|
2
|
+
import './chunk-5H5YP2TB.js';
|
|
3
3
|
import './chunk-DUFRASGO.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
4
|
+
import './chunk-UKS23N3L.js';
|
|
5
|
+
import './chunk-HLFH5HWR.js';
|
|
6
|
+
import './chunk-47VG2P34.js';
|
package/dist/Table.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
3
|
+
var chunkXSN4TLN5_cjs = require('./chunk-XSN4TLN5.cjs');
|
|
4
|
+
require('./chunk-P6EZG2R7.cjs');
|
|
5
|
+
require('./chunk-X5GCOMC3.cjs');
|
|
6
|
+
require('./chunk-5DKRY67M.cjs');
|
|
7
|
+
require('./chunk-6HMTV6P4.cjs');
|
|
8
8
|
require('./chunk-YB3IWIOJ.cjs');
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-HKF2V5MM.cjs');
|
|
10
|
+
require('./chunk-MPVCYU2K.cjs');
|
|
11
|
+
require('./chunk-V272XR3F.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "Table", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkXSN4TLN5_cjs.Table; }
|
|
18
18
|
});
|
package/dist/Table.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { Table } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
1
|
+
export { Table } from './chunk-BPOOVO5T.js';
|
|
2
|
+
import './chunk-CETNCRZ4.js';
|
|
3
|
+
import './chunk-FBYUZOZP.js';
|
|
4
|
+
import './chunk-5H5YP2TB.js';
|
|
5
|
+
import './chunk-GIZU3H6H.js';
|
|
6
6
|
import './chunk-DUFRASGO.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
7
|
+
import './chunk-UKS23N3L.js';
|
|
8
|
+
import './chunk-HLFH5HWR.js';
|
|
9
|
+
import './chunk-47VG2P34.js';
|
package/dist/TablePro.cjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
3
|
+
var chunkDG5VQ6BO_cjs = require('./chunk-DG5VQ6BO.cjs');
|
|
4
|
+
require('./chunk-XSN4TLN5.cjs');
|
|
5
|
+
require('./chunk-P6EZG2R7.cjs');
|
|
6
|
+
require('./chunk-X5GCOMC3.cjs');
|
|
7
|
+
require('./chunk-5DKRY67M.cjs');
|
|
8
|
+
require('./chunk-6HMTV6P4.cjs');
|
|
9
9
|
require('./chunk-YB3IWIOJ.cjs');
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-HKF2V5MM.cjs');
|
|
11
|
+
require('./chunk-MPVCYU2K.cjs');
|
|
12
|
+
require('./chunk-V272XR3F.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "TablePro", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkDG5VQ6BO_cjs.TablePro; }
|
|
19
19
|
});
|
package/dist/TablePro.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { TablePro } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
1
|
+
export { TablePro } from './chunk-J2HZTJO6.js';
|
|
2
|
+
import './chunk-BPOOVO5T.js';
|
|
3
|
+
import './chunk-CETNCRZ4.js';
|
|
4
|
+
import './chunk-FBYUZOZP.js';
|
|
5
|
+
import './chunk-5H5YP2TB.js';
|
|
6
|
+
import './chunk-GIZU3H6H.js';
|
|
7
7
|
import './chunk-DUFRASGO.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
8
|
+
import './chunk-UKS23N3L.js';
|
|
9
|
+
import './chunk-HLFH5HWR.js';
|
|
10
|
+
import './chunk-47VG2P34.js';
|
|
@@ -24,6 +24,19 @@
|
|
|
24
24
|
.tag.solid.danger { background: var(--danger); color: var(--bg); box-shadow: 0 2px 6px color-mix(in oklch, var(--danger) 35%, transparent); }
|
|
25
25
|
.tag.borderless { background: transparent; box-shadow: none; }
|
|
26
26
|
.tag .dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
|
|
27
|
-
.tag .tag-ico {
|
|
27
|
+
.tag .tag-ico {
|
|
28
|
+
color: currentColor;
|
|
29
|
+
display: inline-flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
line-height: 0;
|
|
33
|
+
flex-shrink: 0;
|
|
34
|
+
}
|
|
35
|
+
.tag .tag-ico img {
|
|
36
|
+
display: block;
|
|
37
|
+
width: 1em;
|
|
38
|
+
height: 1em;
|
|
39
|
+
object-fit: contain;
|
|
40
|
+
}
|
|
28
41
|
.tag .x { cursor: pointer; color: var(--fg-subtle); margin-left: 2px; display: inline-flex; }
|
|
29
42
|
.tag .x:hover { color: var(--fg); }
|
package/dist/Tag.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunk5DKRY67M_cjs = require('./chunk-5DKRY67M.cjs');
|
|
4
|
+
require('./chunk-V272XR3F.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Tag", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk5DKRY67M_cjs.Tag; }
|
|
11
11
|
});
|
package/dist/Tag.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { IconSlot } from './Icon.cjs';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
3
4
|
|
|
4
5
|
type TagTone = "neutral" | "accent" | "info" | "success" | "warning" | "danger";
|
|
5
6
|
interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
@@ -7,8 +8,8 @@ interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
|
7
8
|
solid?: boolean;
|
|
8
9
|
/** Render a leading colored dot. */
|
|
9
10
|
dot?: boolean;
|
|
10
|
-
/** Leading icon
|
|
11
|
-
icon?:
|
|
11
|
+
/** Leading icon. Accepts a built-in icon name or custom React node. */
|
|
12
|
+
icon?: IconSlot;
|
|
12
13
|
/** Show a close button. */
|
|
13
14
|
removable?: boolean;
|
|
14
15
|
onRemove?: () => void;
|
package/dist/Tag.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { IconSlot } from './Icon.js';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
3
4
|
|
|
4
5
|
type TagTone = "neutral" | "accent" | "info" | "success" | "warning" | "danger";
|
|
5
6
|
interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
@@ -7,8 +8,8 @@ interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
|
7
8
|
solid?: boolean;
|
|
8
9
|
/** Render a leading colored dot. */
|
|
9
10
|
dot?: boolean;
|
|
10
|
-
/** Leading icon
|
|
11
|
-
icon?:
|
|
11
|
+
/** Leading icon. Accepts a built-in icon name or custom React node. */
|
|
12
|
+
icon?: IconSlot;
|
|
12
13
|
/** Show a close button. */
|
|
13
14
|
removable?: boolean;
|
|
14
15
|
onRemove?: () => void;
|
package/dist/Tag.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Tag } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Tag } from './chunk-5H5YP2TB.js';
|
|
2
|
+
import './chunk-47VG2P34.js';
|
package/dist/Textarea.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkMPVCYU2K_cjs = require('./chunk-MPVCYU2K.cjs');
|
|
4
|
+
require('./chunk-V272XR3F.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "TextArea", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkMPVCYU2K_cjs.TextArea; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "Textarea", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkMPVCYU2K_cjs.Textarea; }
|
|
15
15
|
});
|
package/dist/Textarea.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { TextArea, Textarea } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { TextArea, Textarea } from './chunk-HLFH5HWR.js';
|
|
2
|
+
import './chunk-47VG2P34.js';
|
package/dist/Theme.cjs
CHANGED
|
@@ -1,42 +1,46 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6ZXQJRAT_cjs = require('./chunk-6ZXQJRAT.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "ACCENT_PRESETS", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk6ZXQJRAT_cjs.ACCENT_PRESETS; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ACCENT_PRESETS_DARK", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk6ZXQJRAT_cjs.ACCENT_PRESETS_DARK; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "FONT_STACKS", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk6ZXQJRAT_cjs.FONT_STACKS; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ThemeProvider", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk6ZXQJRAT_cjs.ThemeProvider; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "applyTheme", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk6ZXQJRAT_cjs.applyTheme; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "normalizeAccentInput", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk6ZXQJRAT_cjs.normalizeAccentInput; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "resolveThemeColorScheme", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunk6ZXQJRAT_cjs.resolveThemeColorScheme; }
|
|
30
34
|
});
|
|
31
35
|
Object.defineProperty(exports, "resolveThemeMode", {
|
|
32
36
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunk6ZXQJRAT_cjs.resolveThemeMode; }
|
|
34
38
|
});
|
|
35
39
|
Object.defineProperty(exports, "useTheme", {
|
|
36
40
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunk6ZXQJRAT_cjs.useTheme; }
|
|
38
42
|
});
|
|
39
43
|
Object.defineProperty(exports, "useThemeOptional", {
|
|
40
44
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunk6ZXQJRAT_cjs.useThemeOptional; }
|
|
42
46
|
});
|