@fangxinyan/lumina 0.6.6 → 0.6.8
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/Alert.cjs +3 -3
- package/dist/Alert.js +2 -2
- package/dist/AppShell.cjs +5 -5
- package/dist/AppShell.js +1 -1
- package/dist/AutoComplete.cjs +5 -5
- package/dist/AutoComplete.js +4 -4
- package/dist/Avatar.cjs +2 -2
- package/dist/Avatar.js +1 -1
- package/dist/Badge.cjs +2 -2
- package/dist/Badge.js +1 -1
- package/dist/Button.cjs +7 -3
- package/dist/Button.d.cts +13 -1
- package/dist/Button.d.ts +13 -1
- package/dist/Button.js +2 -2
- package/dist/Calendar.cjs +3 -3
- package/dist/Calendar.js +2 -2
- package/dist/{Card-MA6SV7D5.css → Card-M6UMBDD2.css} +41 -1
- package/dist/Card.cjs +3 -2
- package/dist/Card.d.cts +18 -0
- package/dist/Card.d.ts +18 -0
- package/dist/Card.js +2 -1
- package/dist/Cascader.cjs +5 -5
- 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/ColorPicker.cjs +2 -2
- package/dist/ColorPicker.js +1 -1
- package/dist/CommandPalette.cjs +5 -5
- package/dist/CommandPalette.js +4 -4
- package/dist/ContextMenu.cjs +2 -2
- package/dist/ContextMenu.js +1 -1
- package/dist/Divider.cjs +2 -2
- package/dist/Divider.js +1 -1
- package/dist/Drawer.cjs +3 -3
- package/dist/Drawer.js +2 -2
- package/dist/Empty.cjs +2 -2
- package/dist/Empty.js +1 -1
- package/dist/Form.cjs +4 -4
- package/dist/Form.js +1 -1
- package/dist/Icon.cjs +49 -49
- package/dist/Icon.js +1 -1
- package/dist/Image.cjs +6 -6
- package/dist/Image.js +2 -2
- package/dist/Input.cjs +5 -5
- package/dist/Input.js +3 -3
- package/dist/InputNumber.cjs +5 -5
- package/dist/InputNumber.js +4 -4
- package/dist/List.cjs +2 -2
- package/dist/List.js +1 -1
- package/dist/Message.cjs +6 -6
- package/dist/Message.js +2 -2
- package/dist/Modal.cjs +4 -4
- package/dist/Modal.d.cts +12 -0
- package/dist/Modal.d.ts +12 -0
- package/dist/Modal.js +3 -3
- package/dist/Pagination.cjs +7 -7
- package/dist/Pagination.js +6 -6
- package/dist/Popover.cjs +2 -2
- package/dist/Popover.js +1 -1
- package/dist/Progress.cjs +2 -2
- package/dist/Progress.js +1 -1
- package/dist/Radio.cjs +3 -3
- package/dist/Radio.js +1 -1
- package/dist/Select.cjs +6 -6
- package/dist/Select.js +5 -5
- package/dist/Skeleton.cjs +2 -2
- package/dist/Skeleton.js +1 -1
- package/dist/Slider.cjs +2 -2
- package/dist/Slider.js +1 -1
- package/dist/Spin.cjs +2 -2
- package/dist/Spin.js +1 -1
- package/dist/Splitter.cjs +2 -2
- package/dist/Splitter.js +1 -1
- package/dist/StatusBar.cjs +3 -3
- package/dist/StatusBar.js +1 -1
- package/dist/Surface.cjs +4 -4
- package/dist/Surface.js +2 -2
- package/dist/Switch.cjs +2 -2
- package/dist/Switch.js +1 -1
- package/dist/Table.cjs +9 -9
- package/dist/Table.js +8 -8
- package/dist/TablePro.cjs +10 -10
- package/dist/TablePro.d.cts +11 -7
- package/dist/TablePro.d.ts +11 -7
- package/dist/TablePro.js +9 -9
- package/dist/Tabs.cjs +2 -2
- package/dist/Tabs.js +1 -1
- package/dist/Tag.cjs +3 -3
- package/dist/Tag.js +2 -2
- package/dist/Textarea.cjs +4 -4
- package/dist/Textarea.js +2 -2
- package/dist/Theme.cjs +11 -11
- package/dist/Theme.js +1 -1
- package/dist/{ThemePanel-76LB3YA5.css → ThemePanel-TEHB2JCQ.css} +68 -0
- package/dist/ThemePanel.cjs +13 -13
- package/dist/ThemePanel.d.cts +12 -2
- package/dist/ThemePanel.d.ts +12 -2
- package/dist/ThemePanel.js +10 -10
- package/dist/{Timeline-ZIM7QFQC.css → Timeline-CRFZ3I2W.css} +4 -1
- package/dist/Timeline.cjs +3 -3
- package/dist/Timeline.d.cts +38 -0
- package/dist/Timeline.d.ts +38 -0
- package/dist/Timeline.js +2 -2
- package/dist/Tooltip.cjs +2 -2
- package/dist/Tooltip.js +1 -1
- package/dist/Typography.cjs +7 -7
- package/dist/Typography.js +2 -2
- package/dist/{chunk-MOMLQP7B.cjs → chunk-2EY34PPA.cjs} +1 -1
- package/dist/{chunk-IHK2FRTS.cjs → chunk-2LM5UYNU.cjs} +1 -1
- package/dist/{chunk-Y5F7ZTBH.js → chunk-3GJZRYTD.js} +1 -1
- package/dist/{chunk-D5PCIVID.cjs → chunk-3HPHQV2L.cjs} +3 -3
- package/dist/{chunk-DYHNOYRC.cjs → chunk-3NSBPQBT.cjs} +6 -6
- package/dist/{chunk-LI4XJTEA.js → chunk-3VXBSLPT.js} +3 -3
- package/dist/{chunk-YVTLHTG6.js → chunk-44WHEN76.js} +1 -1
- package/dist/{chunk-NT6CJYI3.cjs → chunk-4LOOWTRX.cjs} +4 -4
- package/dist/{chunk-U2H4DRMV.cjs → chunk-4N64ZL5M.cjs} +1 -1
- package/dist/{chunk-6XVLERA3.cjs → chunk-5C3ZSOKF.cjs} +1 -1
- package/dist/{chunk-2ZFJTMEF.js → chunk-5CWTC3I2.js} +3 -3
- package/dist/{chunk-ZPKHGKVL.cjs → chunk-5KGGB3EH.cjs} +3 -3
- package/dist/{chunk-W5CJC7S7.js → chunk-62RPBEAW.js} +2 -2
- package/dist/{chunk-NE7IUGMK.js → chunk-64ZQHLHL.js} +2 -2
- package/dist/{chunk-YJEXAO2I.js → chunk-6VSNO7IH.js} +1 -1
- package/dist/{chunk-3YP7CBJT.js → chunk-762NV3E4.js} +2 -2
- package/dist/{chunk-SYWTT5TY.cjs → chunk-76OH42CM.cjs} +4 -4
- package/dist/{chunk-56PHETWO.js → chunk-7DNK5JB2.js} +2 -2
- package/dist/chunk-7IWYBQAE.js +151 -0
- package/dist/{chunk-VAXWWJJP.cjs → chunk-7OYMY22O.cjs} +8 -8
- package/dist/{chunk-L27C5O4W.cjs → chunk-7UCXY4T5.cjs} +3 -3
- package/dist/{chunk-7NZ2A4MA.js → chunk-7ZCTEIOW.js} +1 -1
- package/dist/{chunk-QY76WTO5.cjs → chunk-AA2FRQUQ.cjs} +8 -8
- package/dist/{chunk-SABWUELE.js → chunk-ACZA7HHP.js} +1 -1
- package/dist/{chunk-GZCU6HXD.js → chunk-AHS2AFTD.js} +1 -1
- package/dist/{chunk-YSCIMHOI.cjs → chunk-AYZ4BWHG.cjs} +4 -4
- package/dist/{chunk-WEJKY3DF.js → chunk-BKI7JY4Z.js} +24 -5
- package/dist/{chunk-NFXHIO3G.js → chunk-BY2YW5XN.js} +1 -1
- package/dist/{chunk-OGPDCBPD.cjs → chunk-CPBFUKSX.cjs} +11 -11
- package/dist/{chunk-R74TZKJS.cjs → chunk-D56CNYUP.cjs} +3 -3
- package/dist/{chunk-4UKM4KAC.cjs → chunk-DDCAHAAE.cjs} +1 -1
- package/dist/{chunk-N2COYOXE.cjs → chunk-DGB6KVU3.cjs} +1 -1
- package/dist/{chunk-PNZJFLMY.js → chunk-EXN64ADJ.js} +2 -2
- package/dist/{chunk-LFTCK2VM.cjs → chunk-F3DN2JGE.cjs} +489 -238
- package/dist/{chunk-IDJCFYPP.cjs → chunk-F65KYGPX.cjs} +14 -14
- package/dist/{chunk-RIUDYPRB.cjs → chunk-FJHFUES7.cjs} +1 -1
- package/dist/{chunk-66GXZQKL.cjs → chunk-FL25IGIG.cjs} +3 -3
- package/dist/{chunk-REMJWNAT.js → chunk-FPII6I52.js} +3 -3
- package/dist/{chunk-YSXD344H.js → chunk-FZITSOKH.js} +4 -4
- package/dist/{chunk-2NT5QKEX.js → chunk-GEANNF4T.js} +2 -2
- package/dist/{chunk-6LARTGLP.cjs → chunk-GJAEGIPM.cjs} +1 -1
- package/dist/chunk-GT34KAMX.cjs +173 -0
- package/dist/{chunk-TVUBGXWA.js → chunk-GVPGJXZT.js} +1 -1
- package/dist/{chunk-6GQPF3EI.cjs → chunk-HFM4YKM5.cjs} +1 -1
- package/dist/{chunk-2SCXQ7QS.js → chunk-HR5QBBIS.js} +1 -1
- package/dist/{chunk-ACQSRMLF.cjs → chunk-HTW62OMX.cjs} +4 -4
- package/dist/{chunk-VNNQYJLT.js → chunk-I5XCHN67.js} +2 -2
- package/dist/{chunk-N3OLFKV5.cjs → chunk-IMAGOTLP.cjs} +1 -1
- package/dist/{chunk-Z4PZ2ZHI.cjs → chunk-J2R3BEEH.cjs} +1 -1
- package/dist/{chunk-PEJLXJQD.js → chunk-JPAYPF6H.js} +1 -1
- package/dist/{chunk-YNCDTKAE.cjs → chunk-JWZ6HJIF.cjs} +1 -1
- package/dist/{chunk-S6OKX4H7.cjs → chunk-KOY7GNP3.cjs} +1 -1
- package/dist/{chunk-NDO22RER.cjs → chunk-LF3ATJFY.cjs} +1 -1
- package/dist/{chunk-5NFSDFBB.cjs → chunk-LW6Z2WDZ.cjs} +3 -3
- package/dist/{chunk-YUKXNWVE.cjs → chunk-MLOT2AGK.cjs} +1 -1
- package/dist/{chunk-7D76MI37.js → chunk-MOLKLUSQ.js} +4 -4
- package/dist/{chunk-SG42F5VB.cjs → chunk-MZCKPLHQ.cjs} +1 -1
- package/dist/chunk-N24KHD5B.js +84 -0
- package/dist/{chunk-C24W6PTJ.cjs → chunk-N4JH6HHA.cjs} +1 -1
- package/dist/{chunk-5JNDDWFZ.js → chunk-NUF3EA7T.js} +2 -2
- package/dist/chunk-NUNPFMCM.cjs +106 -0
- package/dist/{chunk-AJH2O4WC.js → chunk-OVTB7FQQ.js} +2 -2
- package/dist/{chunk-HFUHQUPQ.js → chunk-P434GBHP.js} +1 -1
- package/dist/{chunk-66T76GII.cjs → chunk-PEFIXNAV.cjs} +6 -6
- package/dist/{chunk-WXWFMWWF.js → chunk-PHONNUK2.js} +2 -2
- package/dist/{chunk-MYRLCN6V.js → chunk-PWPL3DRN.js} +1 -1
- package/dist/{chunk-HU7T64Y3.js → chunk-Q5KHJ32P.js} +1 -1
- package/dist/{chunk-OHFZ7L4T.js → chunk-Q77BWQNG.js} +1 -1
- package/dist/{chunk-XVP7IKLZ.js → chunk-QDXBI3PV.js} +3 -3
- package/dist/{chunk-PKHITACT.js → chunk-QKWRN2JL.js} +1 -1
- package/dist/{chunk-7ZNGHWVS.js → chunk-R53WIZY5.js} +1 -1
- package/dist/{chunk-LQLOOUS3.js → chunk-RYRBNMCC.js} +1 -1
- package/dist/{chunk-2ZADGBUN.cjs → chunk-S4CZ3VO6.cjs} +9 -4
- package/dist/{chunk-OHIFKN4E.js → chunk-SGNDIRZC.js} +17 -4
- package/dist/{chunk-YT5NLCRC.js → chunk-SNX4FZYB.js} +1 -1
- package/dist/{chunk-CBKJXKVI.cjs → chunk-TDYJ5ECR.cjs} +24 -5
- package/dist/{chunk-KMG7OMOS.js → chunk-TJB7U72Z.js} +1 -1
- package/dist/{chunk-SFAGHPBT.js → chunk-TWJAYAK2.js} +1 -1
- package/dist/{chunk-JFQ53MO4.cjs → chunk-VM6CJYP6.cjs} +1 -1
- package/dist/{chunk-CNGKJYGZ.js → chunk-VRA4CQCJ.js} +7 -3
- package/dist/{chunk-YU5JK247.cjs → chunk-VUTCNATX.cjs} +6 -6
- package/dist/{chunk-CEZ2DR4R.js → chunk-W72IIGOV.js} +2 -2
- package/dist/{chunk-QP7RXZES.js → chunk-WIBAYFBB.js} +1 -1
- package/dist/{chunk-O43DOE7V.js → chunk-WIZVOZNO.js} +2 -2
- package/dist/{chunk-SQIWPU6V.js → chunk-XN52S7PT.js} +1 -1
- package/dist/{chunk-O4BOBOYV.cjs → chunk-XOYMBL5R.cjs} +1 -1
- package/dist/{chunk-MYHBC3HA.cjs → chunk-XPV672EI.cjs} +1 -1
- package/dist/{chunk-DYSGXQUK.cjs → chunk-XVDD6JEU.cjs} +6 -6
- package/dist/{chunk-ZWCDB5PP.cjs → chunk-XWRQ7ZLT.cjs} +1 -1
- package/dist/{chunk-N2BTMKF2.cjs → chunk-Z35Q432P.cjs} +4 -4
- package/dist/{chunk-VSUMJX6Z.cjs → chunk-ZC5VDX4W.cjs} +1 -1
- package/dist/{chunk-ZPP7LTHP.js → chunk-ZCMFLRZS.js} +2 -2
- package/dist/{chunk-GBKUGKIY.cjs → chunk-ZGDAYWWC.cjs} +24 -11
- package/dist/{chunk-NJCHFXGC.js → chunk-ZTIECMCF.js} +455 -204
- package/dist/index.cjs +180 -176
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +48 -48
- package/dist/styles.css +118 -1
- package/dist/{tokens-EF34LSWI.css → tokens-RGFJKRC7.css} +21 -0
- package/dist/tokens.css +21 -0
- package/docs/llms/autocomplete.md +6 -0
- package/docs/llms/button.md +16 -4
- package/docs/llms/card.md +32 -0
- package/docs/llms/commandpalette.md +6 -0
- package/docs/llms/contextmenu.md +6 -0
- package/docs/llms/form.md +6 -0
- package/docs/llms/inputnumber.md +6 -0
- package/docs/llms/modal.md +19 -0
- package/docs/llms/splitter.md +6 -0
- package/docs/llms/statusbar.md +6 -0
- package/docs/llms/tablepro.md +2 -0
- package/docs/llms/textarea.md +83 -0
- package/docs/llms/themepanel.md +26 -5
- package/docs/llms/timeline.md +35 -0
- package/docs/llms/typography.md +1 -1
- package/docs/llms.md +2 -1
- package/package.json +51 -1
- package/dist/chunk-BJ6WUVEG.cjs +0 -106
- package/dist/chunk-D64IPDUE.cjs +0 -28
- package/dist/chunk-GUZ2DNDC.js +0 -26
- package/dist/chunk-OQU3TJCF.js +0 -84
package/dist/Alert.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkAYZ4BWHG_cjs = require('./chunk-AYZ4BWHG.cjs');
|
|
4
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Alert", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkAYZ4BWHG_cjs.Alert; }
|
|
11
11
|
});
|
package/dist/Alert.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Alert } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Alert } from './chunk-762NV3E4.js';
|
|
2
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/AppShell.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJWZ6HJIF_cjs = require('./chunk-JWZ6HJIF.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "AppShell", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkJWZ6HJIF_cjs.AppShell; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "Sidebar", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkJWZ6HJIF_cjs.Sidebar; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "TitleBar", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkJWZ6HJIF_cjs.TitleBar; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "WindowControls", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkJWZ6HJIF_cjs.WindowControls; }
|
|
22
22
|
});
|
package/dist/AppShell.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AppShell, Sidebar, TitleBar, WindowControls } from './chunk-
|
|
1
|
+
export { AppShell, Sidebar, TitleBar, WindowControls } from './chunk-WIBAYFBB.js';
|
package/dist/AutoComplete.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFL25IGIG_cjs = require('./chunk-FL25IGIG.cjs');
|
|
4
4
|
require('./chunk-YB3IWIOJ.cjs');
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-7OYMY22O.cjs');
|
|
6
|
+
require('./chunk-LW6Z2WDZ.cjs');
|
|
7
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "AutoComplete", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkFL25IGIG_cjs.AutoComplete; }
|
|
14
14
|
});
|
package/dist/AutoComplete.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { AutoComplete } from './chunk-
|
|
1
|
+
export { AutoComplete } from './chunk-ZCMFLRZS.js';
|
|
2
2
|
import './chunk-DUFRASGO.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
import './chunk-QDXBI3PV.js';
|
|
4
|
+
import './chunk-7DNK5JB2.js';
|
|
5
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/Avatar.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKOY7GNP3_cjs = require('./chunk-KOY7GNP3.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Avatar", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkKOY7GNP3_cjs.Avatar; }
|
|
10
10
|
});
|
package/dist/Avatar.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Avatar } from './chunk-
|
|
1
|
+
export { Avatar } from './chunk-TJB7U72Z.js';
|
package/dist/Badge.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVM6CJYP6_cjs = require('./chunk-VM6CJYP6.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Badge", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkVM6CJYP6_cjs.Badge; }
|
|
10
10
|
});
|
package/dist/Badge.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Badge } from './chunk-
|
|
1
|
+
export { Badge } from './chunk-BY2YW5XN.js';
|
package/dist/Button.cjs
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkS4CZ3VO6_cjs = require('./chunk-S4CZ3VO6.cjs');
|
|
4
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Button", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkS4CZ3VO6_cjs.Button; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "IconButton", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkS4CZ3VO6_cjs.IconButton; }
|
|
11
15
|
});
|
package/dist/Button.d.cts
CHANGED
|
@@ -27,6 +27,11 @@ interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
27
27
|
className?: string;
|
|
28
28
|
children?: React.ReactNode;
|
|
29
29
|
}
|
|
30
|
+
interface IconButtonProps extends Omit<ButtonProps, "children" | "iconOnly" | "trailingIcon"> {
|
|
31
|
+
/** Icon rendered in the square button. Accepts a built-in icon name or custom React node. */
|
|
32
|
+
icon: IconSlot;
|
|
33
|
+
children?: never;
|
|
34
|
+
}
|
|
30
35
|
/**
|
|
31
36
|
* `Button` — the primary action surface.
|
|
32
37
|
*
|
|
@@ -35,5 +40,12 @@ interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
35
40
|
* <Button variant="ghost" loading>保存</Button>
|
|
36
41
|
*/
|
|
37
42
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
43
|
+
/**
|
|
44
|
+
* `IconButton` — square icon-only command button.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* <IconButton icon="settings" tip="设置" />
|
|
48
|
+
*/
|
|
49
|
+
declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
38
50
|
|
|
39
|
-
export { Button, type ButtonProps, type ButtonSize, type ButtonVariant };
|
|
51
|
+
export { Button, type ButtonProps, type ButtonSize, type ButtonVariant, IconButton, type IconButtonProps };
|
package/dist/Button.d.ts
CHANGED
|
@@ -27,6 +27,11 @@ interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
27
27
|
className?: string;
|
|
28
28
|
children?: React.ReactNode;
|
|
29
29
|
}
|
|
30
|
+
interface IconButtonProps extends Omit<ButtonProps, "children" | "iconOnly" | "trailingIcon"> {
|
|
31
|
+
/** Icon rendered in the square button. Accepts a built-in icon name or custom React node. */
|
|
32
|
+
icon: IconSlot;
|
|
33
|
+
children?: never;
|
|
34
|
+
}
|
|
30
35
|
/**
|
|
31
36
|
* `Button` — the primary action surface.
|
|
32
37
|
*
|
|
@@ -35,5 +40,12 @@ interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
|
35
40
|
* <Button variant="ghost" loading>保存</Button>
|
|
36
41
|
*/
|
|
37
42
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
43
|
+
/**
|
|
44
|
+
* `IconButton` — square icon-only command button.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* <IconButton icon="settings" tip="设置" />
|
|
48
|
+
*/
|
|
49
|
+
declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
38
50
|
|
|
39
|
-
export { Button, type ButtonProps, type ButtonSize, type ButtonVariant };
|
|
51
|
+
export { Button, type ButtonProps, type ButtonSize, type ButtonVariant, IconButton, type IconButtonProps };
|
package/dist/Button.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Button } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Button, IconButton } from './chunk-VRA4CQCJ.js';
|
|
2
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/Calendar.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkHTW62OMX_cjs = require('./chunk-HTW62OMX.cjs');
|
|
4
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Calendar", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkHTW62OMX_cjs.Calendar; }
|
|
11
11
|
});
|
package/dist/Calendar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Calendar } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Calendar } from './chunk-W72IIGOV.js';
|
|
2
|
+
import './chunk-SNX4FZYB.js';
|
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
box-shadow: var(--neu-shadow-panel);
|
|
6
6
|
padding: var(--gap-5);
|
|
7
7
|
}
|
|
8
|
+
.card.fill {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
min-height: 0;
|
|
12
|
+
height: 100%;
|
|
13
|
+
}
|
|
8
14
|
.card.flat { box-shadow: var(--neu-shadow-subtle); }
|
|
9
15
|
.card.sunken { box-shadow: var(--neu-shadow-inset-strong); }
|
|
10
16
|
.card.pad-none { padding: 0; }
|
|
@@ -30,4 +36,38 @@
|
|
|
30
36
|
.card-title { font-size: 15px; font-weight: 600; }
|
|
31
37
|
.card-desc { font-size: 12px; color: var(--fg-muted); }
|
|
32
38
|
.card-actions { display: flex; gap: 6px; }
|
|
33
|
-
.card-body {
|
|
39
|
+
.card-body {
|
|
40
|
+
font-size: 13px;
|
|
41
|
+
min-width: 0;
|
|
42
|
+
position: relative;
|
|
43
|
+
}
|
|
44
|
+
.card-body.body-stack {
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
gap: var(--gap-3);
|
|
48
|
+
}
|
|
49
|
+
.card-body.body-fill {
|
|
50
|
+
display: flex;
|
|
51
|
+
flex: 1;
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
min-height: 0;
|
|
54
|
+
}
|
|
55
|
+
.card-body.body-center {
|
|
56
|
+
display: grid;
|
|
57
|
+
place-items: center;
|
|
58
|
+
}
|
|
59
|
+
.card-body.loading {
|
|
60
|
+
pointer-events: none;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.card-loading-overlay {
|
|
64
|
+
position: absolute;
|
|
65
|
+
inset: calc(var(--gap-2) * -1);
|
|
66
|
+
border-radius: var(--r-md);
|
|
67
|
+
display: grid;
|
|
68
|
+
place-items: center;
|
|
69
|
+
background: color-mix(in oklch, var(--bg) 82%, transparent);
|
|
70
|
+
box-shadow: var(--neu-shadow-inset);
|
|
71
|
+
color: var(--fg-muted);
|
|
72
|
+
z-index: 1;
|
|
73
|
+
}
|
package/dist/Card.cjs
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTDYJ5ECR_cjs = require('./chunk-TDYJ5ECR.cjs');
|
|
4
|
+
require('./chunk-MZCKPLHQ.cjs');
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
Object.defineProperty(exports, "Card", {
|
|
8
9
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkTDYJ5ECR_cjs.Card; }
|
|
10
11
|
});
|
package/dist/Card.d.cts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
|
|
3
|
+
type DataAttributes = {
|
|
4
|
+
[K in `data-${string}`]?: string | number | boolean | undefined;
|
|
5
|
+
};
|
|
6
|
+
type CardBodyProps = Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "className" | "style"> & DataAttributes;
|
|
3
7
|
interface CardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
4
8
|
/** Visual variant. `raised` protrudes; `sunken` recesses; `flat` is subtle. */
|
|
5
9
|
variant?: "raised" | "sunken" | "flat";
|
|
@@ -13,6 +17,20 @@ interface CardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">
|
|
|
13
17
|
description?: React.ReactNode;
|
|
14
18
|
/** Action slot aligned to the card heading. */
|
|
15
19
|
actions?: React.ReactNode;
|
|
20
|
+
/** Make the card and its body fill the available height. */
|
|
21
|
+
fill?: boolean;
|
|
22
|
+
/** Body layout strategy. */
|
|
23
|
+
bodyLayout?: "block" | "stack" | "fill" | "center";
|
|
24
|
+
/** Class name forwarded to the card body wrapper. */
|
|
25
|
+
bodyClassName?: string;
|
|
26
|
+
/** Inline style forwarded to the card body wrapper. */
|
|
27
|
+
bodyStyle?: React.CSSProperties;
|
|
28
|
+
/** Extra DOM props forwarded to the card body wrapper. */
|
|
29
|
+
bodyProps?: CardBodyProps;
|
|
30
|
+
/** Show a built-in loading overlay above the body content. */
|
|
31
|
+
loading?: boolean;
|
|
32
|
+
/** Custom overlay content shown while `loading` is true. */
|
|
33
|
+
loadingOverlay?: React.ReactNode;
|
|
16
34
|
children?: React.ReactNode;
|
|
17
35
|
}
|
|
18
36
|
/**
|
package/dist/Card.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
|
|
3
|
+
type DataAttributes = {
|
|
4
|
+
[K in `data-${string}`]?: string | number | boolean | undefined;
|
|
5
|
+
};
|
|
6
|
+
type CardBodyProps = Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "className" | "style"> & DataAttributes;
|
|
3
7
|
interface CardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
4
8
|
/** Visual variant. `raised` protrudes; `sunken` recesses; `flat` is subtle. */
|
|
5
9
|
variant?: "raised" | "sunken" | "flat";
|
|
@@ -13,6 +17,20 @@ interface CardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">
|
|
|
13
17
|
description?: React.ReactNode;
|
|
14
18
|
/** Action slot aligned to the card heading. */
|
|
15
19
|
actions?: React.ReactNode;
|
|
20
|
+
/** Make the card and its body fill the available height. */
|
|
21
|
+
fill?: boolean;
|
|
22
|
+
/** Body layout strategy. */
|
|
23
|
+
bodyLayout?: "block" | "stack" | "fill" | "center";
|
|
24
|
+
/** Class name forwarded to the card body wrapper. */
|
|
25
|
+
bodyClassName?: string;
|
|
26
|
+
/** Inline style forwarded to the card body wrapper. */
|
|
27
|
+
bodyStyle?: React.CSSProperties;
|
|
28
|
+
/** Extra DOM props forwarded to the card body wrapper. */
|
|
29
|
+
bodyProps?: CardBodyProps;
|
|
30
|
+
/** Show a built-in loading overlay above the body content. */
|
|
31
|
+
loading?: boolean;
|
|
32
|
+
/** Custom overlay content shown while `loading` is true. */
|
|
33
|
+
loadingOverlay?: React.ReactNode;
|
|
16
34
|
children?: React.ReactNode;
|
|
17
35
|
}
|
|
18
36
|
/**
|
package/dist/Card.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { Card } from './chunk-
|
|
1
|
+
export { Card } from './chunk-BKI7JY4Z.js';
|
|
2
|
+
import './chunk-3GJZRYTD.js';
|
package/dist/Cascader.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkAA2FRQUQ_cjs = require('./chunk-AA2FRQUQ.cjs');
|
|
4
4
|
require('./chunk-YB3IWIOJ.cjs');
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-7OYMY22O.cjs');
|
|
6
|
+
require('./chunk-LW6Z2WDZ.cjs');
|
|
7
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "Cascader", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkAA2FRQUQ_cjs.Cascader; }
|
|
14
14
|
});
|
package/dist/Cascader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Cascader } from './chunk-
|
|
1
|
+
export { Cascader } from './chunk-FPII6I52.js';
|
|
2
2
|
import './chunk-DUFRASGO.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
import './chunk-QDXBI3PV.js';
|
|
4
|
+
import './chunk-7DNK5JB2.js';
|
|
5
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/Checkbox.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunk5KGGB3EH_cjs = require('./chunk-5KGGB3EH.cjs');
|
|
4
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Checkbox", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk5KGGB3EH_cjs.Checkbox; }
|
|
11
11
|
});
|
package/dist/Checkbox.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Checkbox } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Checkbox } from './chunk-PHONNUK2.js';
|
|
2
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/Collapse.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkD56CNYUP_cjs = require('./chunk-D56CNYUP.cjs');
|
|
4
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Collapse", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkD56CNYUP_cjs.Collapse; }
|
|
11
11
|
});
|
package/dist/Collapse.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Collapse } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Collapse } from './chunk-OVTB7FQQ.js';
|
|
2
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/ColorPicker.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXPV672EI_cjs = require('./chunk-XPV672EI.cjs');
|
|
4
4
|
require('./chunk-YB3IWIOJ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "ColorPicker", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkXPV672EI_cjs.ColorPicker; }
|
|
11
11
|
});
|
package/dist/ColorPicker.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ColorPicker } from './chunk-
|
|
1
|
+
export { ColorPicker } from './chunk-AHS2AFTD.js';
|
|
2
2
|
import './chunk-DUFRASGO.js';
|
package/dist/CommandPalette.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 chunk3HPHQV2L_cjs = require('./chunk-3HPHQV2L.cjs');
|
|
4
|
+
require('./chunk-7OYMY22O.cjs');
|
|
5
|
+
require('./chunk-LW6Z2WDZ.cjs');
|
|
6
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "CommandPalette", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk3HPHQV2L_cjs.CommandPalette; }
|
|
13
13
|
});
|
package/dist/CommandPalette.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CommandPalette } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
1
|
+
export { CommandPalette } from './chunk-64ZQHLHL.js';
|
|
2
|
+
import './chunk-QDXBI3PV.js';
|
|
3
|
+
import './chunk-7DNK5JB2.js';
|
|
4
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/ContextMenu.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXOYMBL5R_cjs = require('./chunk-XOYMBL5R.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "ContextMenu", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkXOYMBL5R_cjs.ContextMenu; }
|
|
10
10
|
});
|
package/dist/ContextMenu.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ContextMenu } from './chunk-
|
|
1
|
+
export { ContextMenu } from './chunk-XN52S7PT.js';
|
package/dist/Divider.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLF3ATJFY_cjs = require('./chunk-LF3ATJFY.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Divider", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkLF3ATJFY_cjs.Divider; }
|
|
10
10
|
});
|
package/dist/Divider.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Divider } from './chunk-
|
|
1
|
+
export { Divider } from './chunk-PWPL3DRN.js';
|
package/dist/Drawer.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunk7UCXY4T5_cjs = require('./chunk-7UCXY4T5.cjs');
|
|
4
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Drawer", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk7UCXY4T5_cjs.Drawer; }
|
|
11
11
|
});
|
package/dist/Drawer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Drawer } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Drawer } from './chunk-EXN64ADJ.js';
|
|
2
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/Empty.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJ2R3BEEH_cjs = require('./chunk-J2R3BEEH.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Empty", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkJ2R3BEEH_cjs.Empty; }
|
|
10
10
|
});
|
package/dist/Empty.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Empty } from './chunk-
|
|
1
|
+
export { Empty } from './chunk-RYRBNMCC.js';
|
package/dist/Form.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkN4JH6HHA_cjs = require('./chunk-N4JH6HHA.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Form", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkN4JH6HHA_cjs.Form; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "FormItem", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkN4JH6HHA_cjs.FormItem; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "useForm", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkN4JH6HHA_cjs.useForm; }
|
|
18
18
|
});
|
package/dist/Form.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Form, FormItem, useForm } from './chunk-
|
|
1
|
+
export { Form, FormItem, useForm } from './chunk-ACZA7HHP.js';
|