@fangxinyan/lumina 0.5.0 → 0.5.1
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/Accordion.cjs +3 -3
- package/dist/Accordion.js +2 -2
- package/dist/Alert.cjs +3 -3
- package/dist/Alert.js +2 -2
- package/dist/AutoComplete.cjs +5 -5
- package/dist/AutoComplete.js +4 -4
- package/dist/Button.cjs +4 -4
- package/dist/Button.js +2 -2
- package/dist/Calendar.cjs +3 -3
- package/dist/Calendar.js +2 -2
- package/dist/Cascader.cjs +4 -4
- package/dist/Cascader.js +3 -3
- package/dist/Checkbox.cjs +4 -4
- package/dist/Checkbox.js +2 -2
- package/dist/ColorPicker.cjs +3 -3
- package/dist/ColorPicker.js +2 -2
- package/dist/CommandPalette.cjs +4 -4
- package/dist/CommandPalette.js +3 -3
- package/dist/Drawer.cjs +3 -3
- package/dist/Drawer.js +2 -2
- package/dist/Icon.cjs +3 -3
- package/dist/Icon.d.cts +1 -1
- package/dist/Icon.d.ts +1 -1
- package/dist/Icon.js +1 -1
- package/dist/Image.cjs +4 -4
- package/dist/Image.js +2 -2
- package/dist/Input.cjs +4 -4
- package/dist/Input.js +2 -2
- package/dist/InputNumber.cjs +4 -4
- package/dist/InputNumber.js +3 -3
- package/dist/Modal.cjs +4 -4
- package/dist/Modal.js +3 -3
- package/dist/Pagination.cjs +6 -6
- package/dist/Pagination.js +5 -5
- package/dist/Popover-DVGQGWX6.css +103 -0
- package/dist/Popover.cjs +3 -3
- package/dist/Popover.d.cts +23 -1
- package/dist/Popover.d.ts +23 -1
- package/dist/Popover.js +2 -2
- package/dist/Select.cjs +5 -5
- package/dist/Select.js +4 -4
- package/dist/Table.cjs +9 -9
- package/dist/Table.js +7 -7
- package/dist/Tag.cjs +4 -4
- package/dist/Tag.js +2 -2
- package/dist/Timeline-RHZAZKZ7.css +136 -0
- package/dist/Timeline.cjs +13 -0
- package/dist/Timeline.cjs.map +1 -0
- package/dist/Timeline.d.cts +38 -0
- package/dist/Timeline.d.ts +38 -0
- package/dist/Timeline.js +4 -0
- package/dist/Timeline.js.map +1 -0
- package/dist/{Toast-6PVSAXQ5.css → Toast-YSACW3EM.css} +2 -2
- package/dist/Toast.cjs +4 -4
- package/dist/Toast.js +2 -2
- package/dist/{Tooltip-ST24GY4S.css → Tooltip-DMKUPC24.css} +1 -0
- package/dist/Tooltip.cjs +3 -3
- package/dist/Tooltip.js +2 -2
- package/dist/Typography.cjs +7 -7
- package/dist/Typography.js +2 -2
- package/dist/{chunk-BCPAY65C.cjs → chunk-2D5VCIJZ.cjs} +7 -7
- package/dist/{chunk-BCPAY65C.cjs.map → chunk-2D5VCIJZ.cjs.map} +1 -1
- package/dist/{chunk-LLNEDEST.cjs → chunk-2OBQOEFD.cjs} +4 -4
- package/dist/{chunk-LLNEDEST.cjs.map → chunk-2OBQOEFD.cjs.map} +1 -1
- package/dist/{chunk-N73JGXYZ.cjs → chunk-3ES5QPAF.cjs} +4 -4
- package/dist/{chunk-N73JGXYZ.cjs.map → chunk-3ES5QPAF.cjs.map} +1 -1
- package/dist/{chunk-YCHUHMNP.cjs → chunk-3KQKEE5O.cjs} +5 -4
- package/dist/chunk-3KQKEE5O.cjs.map +1 -0
- package/dist/{chunk-RZ2E3XEU.cjs → chunk-3XIDJEYR.cjs} +21 -6
- package/dist/chunk-3XIDJEYR.cjs.map +1 -0
- package/dist/{chunk-IOWREUEP.js → chunk-3YYOYDKI.js} +4 -4
- package/dist/{chunk-IOWREUEP.js.map → chunk-3YYOYDKI.js.map} +1 -1
- package/dist/{chunk-PKXXR76Q.js → chunk-4ADDAZK3.js} +3 -3
- package/dist/{chunk-PKXXR76Q.js.map → chunk-4ADDAZK3.js.map} +1 -1
- package/dist/{chunk-TZLM5GF4.js → chunk-5SJJI3HL.js} +4 -4
- package/dist/{chunk-TZLM5GF4.js.map → chunk-5SJJI3HL.js.map} +1 -1
- package/dist/{chunk-2ENTRT7R.cjs → chunk-AJEF2ZB7.cjs} +16 -6
- package/dist/chunk-AJEF2ZB7.cjs.map +1 -0
- package/dist/{chunk-V2DIQ3RH.js → chunk-ANAQER3T.js} +21 -6
- package/dist/chunk-ANAQER3T.js.map +1 -0
- package/dist/{chunk-FXQGPHK2.js → chunk-AZRJZM7W.js} +3 -3
- package/dist/{chunk-FXQGPHK2.js.map → chunk-AZRJZM7W.js.map} +1 -1
- package/dist/{chunk-3BZ47QNV.cjs → chunk-BIXW4ZYW.cjs} +7 -7
- package/dist/{chunk-3BZ47QNV.cjs.map → chunk-BIXW4ZYW.cjs.map} +1 -1
- package/dist/{chunk-IJA26LRY.cjs → chunk-BPDWBY6Y.cjs} +4 -4
- package/dist/{chunk-IJA26LRY.cjs.map → chunk-BPDWBY6Y.cjs.map} +1 -1
- package/dist/{chunk-77TZHI76.cjs → chunk-D26YHP2Y.cjs} +7 -7
- package/dist/{chunk-77TZHI76.cjs.map → chunk-D26YHP2Y.cjs.map} +1 -1
- package/dist/{chunk-T4PI2ZX7.cjs → chunk-D3GZSL2B.cjs} +16 -17
- package/dist/chunk-D3GZSL2B.cjs.map +1 -0
- package/dist/{chunk-VQBZKRIB.cjs → chunk-DF5K2BZ2.cjs} +6 -6
- package/dist/{chunk-VQBZKRIB.cjs.map → chunk-DF5K2BZ2.cjs.map} +1 -1
- package/dist/{chunk-7M7NAMR5.js → chunk-DLGFIRVW.js} +14 -4
- package/dist/chunk-DLGFIRVW.js.map +1 -0
- package/dist/{chunk-6Z24VO3K.js → chunk-E7UQSFKF.js} +3 -3
- package/dist/{chunk-6Z24VO3K.js.map → chunk-E7UQSFKF.js.map} +1 -1
- package/dist/{chunk-KW7Z4IQC.js → chunk-FLPHVK45.js} +3 -3
- package/dist/{chunk-KW7Z4IQC.js.map → chunk-FLPHVK45.js.map} +1 -1
- package/dist/{chunk-WUOFJPZ4.js → chunk-GB5NAXBP.js} +3 -3
- package/dist/{chunk-WUOFJPZ4.js.map → chunk-GB5NAXBP.js.map} +1 -1
- package/dist/{chunk-SMHXSEBD.cjs → chunk-GT45MQAK.cjs} +7 -7
- package/dist/{chunk-SMHXSEBD.cjs.map → chunk-GT45MQAK.cjs.map} +1 -1
- package/dist/{chunk-TZXEZFCI.cjs → chunk-H2QTLV5T.cjs} +5 -5
- package/dist/{chunk-TZXEZFCI.cjs.map → chunk-H2QTLV5T.cjs.map} +1 -1
- package/dist/{chunk-FFZLSY2N.js → chunk-HHPYY4LH.js} +4 -4
- package/dist/{chunk-FFZLSY2N.js.map → chunk-HHPYY4LH.js.map} +1 -1
- package/dist/{chunk-XYVJ3FBQ.cjs → chunk-I7UJA6RM.cjs} +5 -5
- package/dist/{chunk-XYVJ3FBQ.cjs.map → chunk-I7UJA6RM.cjs.map} +1 -1
- package/dist/{chunk-YFBHVTKN.cjs → chunk-IJIQ4H6C.cjs} +7 -7
- package/dist/{chunk-YFBHVTKN.cjs.map → chunk-IJIQ4H6C.cjs.map} +1 -1
- package/dist/{chunk-LXNR6TQK.js → chunk-ILVNMES2.js} +3 -3
- package/dist/{chunk-LXNR6TQK.js.map → chunk-ILVNMES2.js.map} +1 -1
- package/dist/{chunk-JXHMJUVI.js → chunk-JELHUUM5.js} +3 -3
- package/dist/{chunk-JXHMJUVI.js.map → chunk-JELHUUM5.js.map} +1 -1
- package/dist/{chunk-CTYW42GG.js → chunk-JQZFOIX6.js} +6 -6
- package/dist/{chunk-CTYW42GG.js.map → chunk-JQZFOIX6.js.map} +1 -1
- package/dist/{chunk-I7WLFADD.js → chunk-LWN2PXW7.js} +3 -3
- package/dist/{chunk-I7WLFADD.js.map → chunk-LWN2PXW7.js.map} +1 -1
- package/dist/{chunk-I2HHC6QW.js → chunk-N5W6XJI2.js} +3 -3
- package/dist/{chunk-I2HHC6QW.js.map → chunk-N5W6XJI2.js.map} +1 -1
- package/dist/chunk-P2AV5BD7.cjs +137 -0
- package/dist/chunk-P2AV5BD7.cjs.map +1 -0
- package/dist/{chunk-ZFJHUOFU.js → chunk-P4XPESR2.js} +4 -4
- package/dist/{chunk-ZFJHUOFU.js.map → chunk-P4XPESR2.js.map} +1 -1
- package/dist/{chunk-AESLEYST.js → chunk-RJNGXR5Y.js} +4 -4
- package/dist/{chunk-AESLEYST.js.map → chunk-RJNGXR5Y.js.map} +1 -1
- package/dist/chunk-S3NIRNWM.js +86 -0
- package/dist/chunk-S3NIRNWM.js.map +1 -0
- package/dist/{chunk-HJIKU6MF.cjs → chunk-S7RFIMA3.cjs} +4 -4
- package/dist/{chunk-HJIKU6MF.cjs.map → chunk-S7RFIMA3.cjs.map} +1 -1
- package/dist/chunk-TAYFI4RG.cjs +108 -0
- package/dist/chunk-TAYFI4RG.cjs.map +1 -0
- package/dist/{chunk-OZVPJWXO.cjs → chunk-TCPTBLDV.cjs} +5 -5
- package/dist/{chunk-OZVPJWXO.cjs.map → chunk-TCPTBLDV.cjs.map} +1 -1
- package/dist/{chunk-E62JFAHW.js → chunk-TGUDT3GK.js} +4 -4
- package/dist/{chunk-E62JFAHW.js.map → chunk-TGUDT3GK.js.map} +1 -1
- package/dist/{chunk-XCYE4OQV.js → chunk-TMRSI543.js} +3 -3
- package/dist/{chunk-XCYE4OQV.js.map → chunk-TMRSI543.js.map} +1 -1
- package/dist/{chunk-RWHWEQQX.cjs → chunk-U7TAQLPN.cjs} +6 -6
- package/dist/{chunk-RWHWEQQX.cjs.map → chunk-U7TAQLPN.cjs.map} +1 -1
- package/dist/chunk-UEHONGPZ.js +115 -0
- package/dist/chunk-UEHONGPZ.js.map +1 -0
- package/dist/{chunk-NN7WMXY4.cjs → chunk-UUY7EDVJ.cjs} +4 -4
- package/dist/{chunk-NN7WMXY4.cjs.map → chunk-UUY7EDVJ.cjs.map} +1 -1
- package/dist/{chunk-OM76QWUN.js → chunk-UXABXEWT.js} +3 -3
- package/dist/{chunk-OM76QWUN.js.map → chunk-UXABXEWT.js.map} +1 -1
- package/dist/{chunk-MDQNUKCP.cjs → chunk-V6466VMN.cjs} +14 -14
- package/dist/{chunk-MDQNUKCP.cjs.map → chunk-V6466VMN.cjs.map} +1 -1
- package/dist/{chunk-O7C6S644.js → chunk-WBL7LOIH.js} +3 -3
- package/dist/{chunk-O7C6S644.js.map → chunk-WBL7LOIH.js.map} +1 -1
- package/dist/{chunk-RQV7SMIZ.cjs → chunk-WKNVNN2K.cjs} +5 -5
- package/dist/{chunk-RQV7SMIZ.cjs.map → chunk-WKNVNN2K.cjs.map} +1 -1
- package/dist/{chunk-HXSAH4Y6.cjs → chunk-WR3FML2W.cjs} +7 -7
- package/dist/{chunk-HXSAH4Y6.cjs.map → chunk-WR3FML2W.cjs.map} +1 -1
- package/dist/{chunk-QOGROEVD.js → chunk-X3JG3IR6.js} +6 -5
- package/dist/chunk-X3JG3IR6.js.map +1 -0
- package/dist/{chunk-6XZ362VL.js → chunk-XT7RXXOE.js} +6 -7
- package/dist/chunk-XT7RXXOE.js.map +1 -0
- package/dist/{chunk-WVBFQB26.cjs → chunk-ZSR5JSYZ.cjs} +8 -8
- package/dist/{chunk-WVBFQB26.cjs.map → chunk-ZSR5JSYZ.cjs.map} +1 -1
- package/dist/index.cjs +65 -60
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +26 -25
- package/dist/index.js.map +1 -1
- package/dist/styles.css +86 -4
- package/docs/llms/popover.md +138 -6
- package/docs/llms/timeline.md +140 -0
- package/docs/llms.md +3 -2
- package/package.json +5 -1
- package/dist/Popover-NYEKT5CQ.css +0 -10
- package/dist/chunk-2ENTRT7R.cjs.map +0 -1
- package/dist/chunk-3UU2PUK4.js +0 -66
- package/dist/chunk-3UU2PUK4.js.map +0 -1
- package/dist/chunk-6XZ362VL.js.map +0 -1
- package/dist/chunk-7M7NAMR5.js.map +0 -1
- package/dist/chunk-O2HMH5BI.cjs +0 -88
- package/dist/chunk-O2HMH5BI.cjs.map +0 -1
- package/dist/chunk-QOGROEVD.js.map +0 -1
- package/dist/chunk-RZ2E3XEU.cjs.map +0 -1
- package/dist/chunk-T4PI2ZX7.cjs.map +0 -1
- package/dist/chunk-V2DIQ3RH.js.map +0 -1
- package/dist/chunk-YCHUHMNP.cjs.map +0 -1
package/dist/Popover.d.cts
CHANGED
|
@@ -1,16 +1,38 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
|
|
3
3
|
interface PopoverProps {
|
|
4
|
+
/** Popover body content. */
|
|
4
5
|
content: React.ReactNode;
|
|
6
|
+
/** Optional title rendered above content. */
|
|
7
|
+
title?: React.ReactNode;
|
|
8
|
+
/** Preferred placement relative to the trigger. */
|
|
5
9
|
placement?: "top" | "bottom" | "left" | "right";
|
|
10
|
+
/** How the popover is triggered. */
|
|
6
11
|
trigger?: "click" | "hover";
|
|
12
|
+
/** Show a small arrow pointing at the trigger. */
|
|
13
|
+
arrow?: boolean;
|
|
14
|
+
/** Show a close button in the header (click trigger only). */
|
|
15
|
+
closable?: boolean;
|
|
16
|
+
/** Panel width in px, or `"auto"` to fit content. */
|
|
17
|
+
width?: number | "auto";
|
|
18
|
+
/** Uncontrolled initial open state. */
|
|
7
19
|
defaultOpen?: boolean;
|
|
20
|
+
/** Controlled open state. */
|
|
8
21
|
open?: boolean;
|
|
22
|
+
/** Callback when visibility changes. */
|
|
9
23
|
onOpenChange?: (open: boolean) => void;
|
|
24
|
+
/** Trigger element. */
|
|
10
25
|
children: React.ReactElement;
|
|
11
26
|
className?: string;
|
|
12
27
|
}
|
|
13
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* `Popover` — rich content bubble with optional title, arrow, and close button.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* <Popover title="Confirm" content={<p>Are you sure?</p>} arrow>
|
|
33
|
+
* <Button>Delete</Button>
|
|
34
|
+
* </Popover>
|
|
35
|
+
*/
|
|
14
36
|
declare const Popover: React.FC<PopoverProps>;
|
|
15
37
|
|
|
16
38
|
export { Popover, type PopoverProps };
|
package/dist/Popover.d.ts
CHANGED
|
@@ -1,16 +1,38 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
|
|
3
3
|
interface PopoverProps {
|
|
4
|
+
/** Popover body content. */
|
|
4
5
|
content: React.ReactNode;
|
|
6
|
+
/** Optional title rendered above content. */
|
|
7
|
+
title?: React.ReactNode;
|
|
8
|
+
/** Preferred placement relative to the trigger. */
|
|
5
9
|
placement?: "top" | "bottom" | "left" | "right";
|
|
10
|
+
/** How the popover is triggered. */
|
|
6
11
|
trigger?: "click" | "hover";
|
|
12
|
+
/** Show a small arrow pointing at the trigger. */
|
|
13
|
+
arrow?: boolean;
|
|
14
|
+
/** Show a close button in the header (click trigger only). */
|
|
15
|
+
closable?: boolean;
|
|
16
|
+
/** Panel width in px, or `"auto"` to fit content. */
|
|
17
|
+
width?: number | "auto";
|
|
18
|
+
/** Uncontrolled initial open state. */
|
|
7
19
|
defaultOpen?: boolean;
|
|
20
|
+
/** Controlled open state. */
|
|
8
21
|
open?: boolean;
|
|
22
|
+
/** Callback when visibility changes. */
|
|
9
23
|
onOpenChange?: (open: boolean) => void;
|
|
24
|
+
/** Trigger element. */
|
|
10
25
|
children: React.ReactElement;
|
|
11
26
|
className?: string;
|
|
12
27
|
}
|
|
13
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* `Popover` — rich content bubble with optional title, arrow, and close button.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* <Popover title="Confirm" content={<p>Are you sure?</p>} arrow>
|
|
33
|
+
* <Button>Delete</Button>
|
|
34
|
+
* </Popover>
|
|
35
|
+
*/
|
|
14
36
|
declare const Popover: React.FC<PopoverProps>;
|
|
15
37
|
|
|
16
38
|
export { Popover, type PopoverProps };
|
package/dist/Popover.js
CHANGED
package/dist/Select.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
3
|
+
var chunkD3GZSL2B_cjs = require('./chunk-D3GZSL2B.cjs');
|
|
4
|
+
require('./chunk-WKNVNN2K.cjs');
|
|
5
|
+
require('./chunk-3XIDJEYR.cjs');
|
|
6
|
+
require('./chunk-3KQKEE5O.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "Select", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkD3GZSL2B_cjs.Select; }
|
|
13
13
|
});
|
|
14
14
|
//# sourceMappingURL=Select.cjs.map
|
|
15
15
|
//# sourceMappingURL=Select.cjs.map
|
package/dist/Select.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { Select } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
1
|
+
export { Select } from './chunk-XT7RXXOE.js';
|
|
2
|
+
import './chunk-ILVNMES2.js';
|
|
3
|
+
import './chunk-ANAQER3T.js';
|
|
4
|
+
import './chunk-X3JG3IR6.js';
|
|
5
5
|
//# sourceMappingURL=Select.js.map
|
|
6
6
|
//# sourceMappingURL=Select.js.map
|
package/dist/Table.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
3
|
+
var chunkV6466VMN_cjs = require('./chunk-V6466VMN.cjs');
|
|
4
|
+
require('./chunk-D26YHP2Y.cjs');
|
|
5
|
+
require('./chunk-D3GZSL2B.cjs');
|
|
6
|
+
require('./chunk-WKNVNN2K.cjs');
|
|
7
|
+
require('./chunk-UUY7EDVJ.cjs');
|
|
8
|
+
require('./chunk-3XIDJEYR.cjs');
|
|
9
|
+
require('./chunk-3KQKEE5O.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "Table", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkV6466VMN_cjs.Table; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "TablePro", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkV6466VMN_cjs.TablePro; }
|
|
20
20
|
});
|
|
21
21
|
//# sourceMappingURL=Table.cjs.map
|
|
22
22
|
//# sourceMappingURL=Table.cjs.map
|
package/dist/Table.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { Table, TablePro } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
1
|
+
export { Table, TablePro } from './chunk-JQZFOIX6.js';
|
|
2
|
+
import './chunk-RJNGXR5Y.js';
|
|
3
|
+
import './chunk-XT7RXXOE.js';
|
|
4
|
+
import './chunk-ILVNMES2.js';
|
|
5
|
+
import './chunk-4ADDAZK3.js';
|
|
6
|
+
import './chunk-ANAQER3T.js';
|
|
7
|
+
import './chunk-X3JG3IR6.js';
|
|
8
8
|
//# sourceMappingURL=Table.js.map
|
|
9
9
|
//# sourceMappingURL=Table.js.map
|
package/dist/Tag.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkWKNVNN2K_cjs = require('./chunk-WKNVNN2K.cjs');
|
|
4
|
+
require('./chunk-3KQKEE5O.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Badge", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkWKNVNN2K_cjs.Badge; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "Tag", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkWKNVNN2K_cjs.Tag; }
|
|
15
15
|
});
|
|
16
16
|
//# sourceMappingURL=Tag.cjs.map
|
|
17
17
|
//# sourceMappingURL=Tag.cjs.map
|
package/dist/Tag.js
CHANGED
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
.timeline {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
font-size: 14px;
|
|
5
|
+
color: var(--fg);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/* ---- Item layout ---- */
|
|
9
|
+
.timeline-item {
|
|
10
|
+
display: grid;
|
|
11
|
+
grid-template-columns: 1fr auto 1fr;
|
|
12
|
+
gap: 0 var(--gap-3);
|
|
13
|
+
min-height: 60px;
|
|
14
|
+
position: relative;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* Left mode: label hidden, content on right */
|
|
18
|
+
.timeline-left .timeline-item-label {
|
|
19
|
+
display: none;
|
|
20
|
+
}
|
|
21
|
+
.timeline-left .timeline-item {
|
|
22
|
+
grid-template-columns: auto 1fr;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Right mode: content on left, label hidden */
|
|
26
|
+
.timeline-right .timeline-item-label {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
.timeline-right .timeline-item {
|
|
30
|
+
grid-template-columns: 1fr auto;
|
|
31
|
+
direction: rtl;
|
|
32
|
+
}
|
|
33
|
+
.timeline-right .timeline-item-content,
|
|
34
|
+
.timeline-right .timeline-item-head {
|
|
35
|
+
direction: ltr;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* Alternate mode */
|
|
39
|
+
.timeline-alternate .timeline-item-left .timeline-item-label {
|
|
40
|
+
text-align: right;
|
|
41
|
+
color: var(--fg-muted);
|
|
42
|
+
}
|
|
43
|
+
.timeline-alternate .timeline-item-left .timeline-item-content {
|
|
44
|
+
text-align: left;
|
|
45
|
+
}
|
|
46
|
+
.timeline-alternate .timeline-item-right .timeline-item-label {
|
|
47
|
+
text-align: left;
|
|
48
|
+
}
|
|
49
|
+
.timeline-alternate .timeline-item-right .timeline-item-content {
|
|
50
|
+
text-align: right;
|
|
51
|
+
color: var(--fg-muted);
|
|
52
|
+
}
|
|
53
|
+
.timeline-alternate .timeline-item-right {
|
|
54
|
+
direction: rtl;
|
|
55
|
+
}
|
|
56
|
+
.timeline-alternate .timeline-item-right .timeline-item-head,
|
|
57
|
+
.timeline-alternate .timeline-item-right .timeline-item-content,
|
|
58
|
+
.timeline-alternate .timeline-item-right .timeline-item-label {
|
|
59
|
+
direction: ltr;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* ---- Head (dot + tail) ---- */
|
|
63
|
+
.timeline-item-head {
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
align-items: center;
|
|
67
|
+
position: relative;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.timeline-item-dot {
|
|
71
|
+
width: 12px;
|
|
72
|
+
height: 12px;
|
|
73
|
+
border-radius: var(--r-pill);
|
|
74
|
+
box-shadow: var(--neu-out-sm);
|
|
75
|
+
flex-shrink: 0;
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
justify-content: center;
|
|
79
|
+
position: relative;
|
|
80
|
+
z-index: 1;
|
|
81
|
+
margin-top: 4px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.timeline-item-dot.accent { background: var(--accent); }
|
|
85
|
+
.timeline-item-dot.success { background: var(--success); }
|
|
86
|
+
.timeline-item-dot.warning { background: var(--warning); }
|
|
87
|
+
.timeline-item-dot.danger { background: var(--danger); }
|
|
88
|
+
.timeline-item-dot.info { background: var(--info); }
|
|
89
|
+
.timeline-item-dot.muted { background: var(--fg-subtle); }
|
|
90
|
+
|
|
91
|
+
/* Pending dot: clear default fill, Spinner handles its own visuals */
|
|
92
|
+
.timeline-item-dot.pending {
|
|
93
|
+
background: transparent;
|
|
94
|
+
box-shadow: none;
|
|
95
|
+
border: none;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.timeline-item-tail {
|
|
99
|
+
width: 2px;
|
|
100
|
+
flex: 1;
|
|
101
|
+
background: var(--divider);
|
|
102
|
+
margin-top: var(--gap-1);
|
|
103
|
+
margin-bottom: 0;
|
|
104
|
+
border-radius: 1px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* ---- Content ---- */
|
|
108
|
+
.timeline-item-content {
|
|
109
|
+
padding-bottom: var(--gap-5);
|
|
110
|
+
line-height: 1.6;
|
|
111
|
+
}
|
|
112
|
+
.timeline-item-last .timeline-item-content {
|
|
113
|
+
padding-bottom: 0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.timeline-item-label {
|
|
117
|
+
padding-bottom: var(--gap-5);
|
|
118
|
+
line-height: 1.6;
|
|
119
|
+
color: var(--fg-muted);
|
|
120
|
+
font-size: 13px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* ---- Pending animation ---- */
|
|
124
|
+
.timeline-item-pending .timeline-item-content {
|
|
125
|
+
color: var(--fg-muted);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* When dot has custom content (Spinner / Icon), expand to fit */
|
|
129
|
+
.timeline-item-dot:has(> *) {
|
|
130
|
+
width: auto;
|
|
131
|
+
height: auto;
|
|
132
|
+
background: transparent !important;
|
|
133
|
+
box-shadow: none;
|
|
134
|
+
border-radius: 0;
|
|
135
|
+
border: none;
|
|
136
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkTAYFI4RG_cjs = require('./chunk-TAYFI4RG.cjs');
|
|
4
|
+
require('./chunk-XUT2Z2L6.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "Timeline", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkTAYFI4RG_cjs.Timeline; }
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=Timeline.cjs.map
|
|
13
|
+
//# sourceMappingURL=Timeline.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Timeline.cjs"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface TimelineItemConfig {
|
|
4
|
+
/** Unique key for the item */
|
|
5
|
+
key?: string;
|
|
6
|
+
/** Content displayed on the right (or main side) */
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
/** Label displayed on the opposite side (alternate/label mode) */
|
|
9
|
+
label?: React.ReactNode;
|
|
10
|
+
/** Dot color */
|
|
11
|
+
color?: "accent" | "success" | "warning" | "danger" | "info" | "muted";
|
|
12
|
+
/** Custom dot content (replaces default dot) */
|
|
13
|
+
dot?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
interface TimelineProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
16
|
+
/** Timeline items */
|
|
17
|
+
items: TimelineItemConfig[];
|
|
18
|
+
/**
|
|
19
|
+
* Show a pending (loading) item at the end.
|
|
20
|
+
* `true` renders a default spinner; a ReactNode renders custom content.
|
|
21
|
+
*/
|
|
22
|
+
pending?: boolean | React.ReactNode;
|
|
23
|
+
/** Text shown as the pending item's content */
|
|
24
|
+
pendingContent?: React.ReactNode;
|
|
25
|
+
/** Layout mode */
|
|
26
|
+
mode?: "left" | "right" | "alternate";
|
|
27
|
+
/** Reverse the order of items */
|
|
28
|
+
reverse?: boolean;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* `Timeline` — vertical timeline with pending/loading state.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* <Timeline items={[{ children: "Created" }, { children: "In Progress" }]} pending />
|
|
35
|
+
*/
|
|
36
|
+
declare const Timeline: React.ForwardRefExoticComponent<TimelineProps & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
+
|
|
38
|
+
export { Timeline, type TimelineItemConfig, type TimelineProps };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface TimelineItemConfig {
|
|
4
|
+
/** Unique key for the item */
|
|
5
|
+
key?: string;
|
|
6
|
+
/** Content displayed on the right (or main side) */
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
/** Label displayed on the opposite side (alternate/label mode) */
|
|
9
|
+
label?: React.ReactNode;
|
|
10
|
+
/** Dot color */
|
|
11
|
+
color?: "accent" | "success" | "warning" | "danger" | "info" | "muted";
|
|
12
|
+
/** Custom dot content (replaces default dot) */
|
|
13
|
+
dot?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
interface TimelineProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
16
|
+
/** Timeline items */
|
|
17
|
+
items: TimelineItemConfig[];
|
|
18
|
+
/**
|
|
19
|
+
* Show a pending (loading) item at the end.
|
|
20
|
+
* `true` renders a default spinner; a ReactNode renders custom content.
|
|
21
|
+
*/
|
|
22
|
+
pending?: boolean | React.ReactNode;
|
|
23
|
+
/** Text shown as the pending item's content */
|
|
24
|
+
pendingContent?: React.ReactNode;
|
|
25
|
+
/** Layout mode */
|
|
26
|
+
mode?: "left" | "right" | "alternate";
|
|
27
|
+
/** Reverse the order of items */
|
|
28
|
+
reverse?: boolean;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* `Timeline` — vertical timeline with pending/loading state.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* <Timeline items={[{ children: "Created" }, { children: "In Progress" }]} pending />
|
|
35
|
+
*/
|
|
36
|
+
declare const Timeline: React.ForwardRefExoticComponent<TimelineProps & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
+
|
|
38
|
+
export { Timeline, type TimelineItemConfig, type TimelineProps };
|
package/dist/Timeline.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Timeline.js"}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
box-shadow: var(--neu-float);
|
|
19
19
|
padding: 12px 16px;
|
|
20
20
|
min-width: 240px;
|
|
21
|
-
display: flex; align-items:
|
|
21
|
+
display: flex; align-items: center; gap: 10px;
|
|
22
22
|
font-size: 13px;
|
|
23
23
|
pointer-events: auto;
|
|
24
24
|
animation: toastIn var(--dur-slow) var(--ease);
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
.toast.success { border-color: var(--success); }
|
|
28
28
|
.toast.warning { border-color: var(--warning); }
|
|
29
29
|
.toast.danger { border-color: var(--danger); }
|
|
30
|
-
.toast .toast-icon { color: var(--accent);
|
|
30
|
+
.toast .toast-icon { color: var(--accent); flex-shrink: 0; }
|
|
31
31
|
.toast.success .toast-icon { color: var(--success); }
|
|
32
32
|
.toast.warning .toast-icon { color: var(--warning); }
|
|
33
33
|
.toast.danger .toast-icon { color: var(--danger); }
|
package/dist/Toast.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkAJEF2ZB7_cjs = require('./chunk-AJEF2ZB7.cjs');
|
|
4
|
+
require('./chunk-3KQKEE5O.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "ToastContainer", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkAJEF2ZB7_cjs.ToastContainer; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "toast", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkAJEF2ZB7_cjs.toast; }
|
|
15
15
|
});
|
|
16
16
|
//# sourceMappingURL=Toast.cjs.map
|
|
17
17
|
//# sourceMappingURL=Toast.cjs.map
|
package/dist/Toast.js
CHANGED
package/dist/Tooltip.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkTCPTBLDV_cjs = require('./chunk-TCPTBLDV.cjs');
|
|
4
|
+
require('./chunk-3XIDJEYR.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Tooltip", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkTCPTBLDV_cjs.Tooltip; }
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=Tooltip.cjs.map
|
|
13
13
|
//# sourceMappingURL=Tooltip.cjs.map
|
package/dist/Tooltip.js
CHANGED
package/dist/Typography.cjs
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkBIXW4ZYW_cjs = require('./chunk-BIXW4ZYW.cjs');
|
|
4
|
+
require('./chunk-3KQKEE5O.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Link", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkBIXW4ZYW_cjs.Link; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "Paragraph", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkBIXW4ZYW_cjs.Paragraph; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "Text", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkBIXW4ZYW_cjs.Text; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "Title", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkBIXW4ZYW_cjs.Title; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "Typography", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkBIXW4ZYW_cjs.Typography; }
|
|
27
27
|
});
|
|
28
28
|
//# sourceMappingURL=Typography.cjs.map
|
|
29
29
|
//# sourceMappingURL=Typography.cjs.map
|
package/dist/Typography.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Link, Paragraph, Text, Title, Typography } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Link, Paragraph, Text, Title, Typography } from './chunk-LWN2PXW7.js';
|
|
2
|
+
import './chunk-X3JG3IR6.js';
|
|
3
3
|
//# sourceMappingURL=Typography.js.map
|
|
4
4
|
//# sourceMappingURL=Typography.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkIJIQ4H6C_cjs = require('./chunk-IJIQ4H6C.cjs');
|
|
4
|
+
var chunk3KQKEE5O_cjs = require('./chunk-3KQKEE5O.cjs');
|
|
5
5
|
require('./tokens-BIIUTPKN.css');
|
|
6
6
|
require('./shared-NJHRNLRH.css');
|
|
7
7
|
require('./InputNumber-VXQIWLQC.css');
|
|
@@ -117,7 +117,7 @@ var InputNumber = React__namespace.forwardRef(
|
|
|
117
117
|
disabled: upDisabled,
|
|
118
118
|
onMouseDown: (e) => e.preventDefault(),
|
|
119
119
|
onClick: () => increment(step),
|
|
120
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
120
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunk3KQKEE5O_cjs.Icon, { name: "chevUp", size: 10, stroke: 2.5 })
|
|
121
121
|
}
|
|
122
122
|
),
|
|
123
123
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -129,7 +129,7 @@ var InputNumber = React__namespace.forwardRef(
|
|
|
129
129
|
disabled: downDisabled,
|
|
130
130
|
onMouseDown: (e) => e.preventDefault(),
|
|
131
131
|
onClick: () => increment(-step),
|
|
132
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
132
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunk3KQKEE5O_cjs.Icon, { name: "chevDown", size: 10, stroke: 2.5 })
|
|
133
133
|
}
|
|
134
134
|
)
|
|
135
135
|
] }) : null;
|
|
@@ -138,7 +138,7 @@ var InputNumber = React__namespace.forwardRef(
|
|
|
138
138
|
stepperSuffix
|
|
139
139
|
] }) : stepperSuffix ?? suffix;
|
|
140
140
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
141
|
-
|
|
141
|
+
chunkIJIQ4H6C_cjs.Input,
|
|
142
142
|
{
|
|
143
143
|
ref,
|
|
144
144
|
id,
|
|
@@ -165,5 +165,5 @@ var InputNumber = React__namespace.forwardRef(
|
|
|
165
165
|
InputNumber.displayName = "InputNumber";
|
|
166
166
|
|
|
167
167
|
exports.InputNumber = InputNumber;
|
|
168
|
-
//# sourceMappingURL=chunk-
|
|
169
|
-
//# sourceMappingURL=chunk-
|
|
168
|
+
//# sourceMappingURL=chunk-2D5VCIJZ.cjs.map
|
|
169
|
+
//# sourceMappingURL=chunk-2D5VCIJZ.cjs.map
|