@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/Slider.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXWRQ7ZLT_cjs = require('./chunk-XWRQ7ZLT.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Slider", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkXWRQ7ZLT_cjs.Slider; }
|
|
10
10
|
});
|
package/dist/Slider.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Slider } from './chunk-
|
|
1
|
+
export { Slider } from './chunk-Q5KHJ32P.js';
|
package/dist/Spin.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkMZCKPLHQ_cjs = require('./chunk-MZCKPLHQ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Spin", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkMZCKPLHQ_cjs.Spin; }
|
|
10
10
|
});
|
package/dist/Spin.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Spin } from './chunk-
|
|
1
|
+
export { Spin } from './chunk-3GJZRYTD.js';
|
package/dist/Splitter.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkIMAGOTLP_cjs = require('./chunk-IMAGOTLP.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Splitter", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkIMAGOTLP_cjs.Splitter; }
|
|
10
10
|
});
|
package/dist/Splitter.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Splitter } from './chunk-
|
|
1
|
+
export { Splitter } from './chunk-R53WIZY5.js';
|
package/dist/StatusBar.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk5C3ZSOKF_cjs = require('./chunk-5C3ZSOKF.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "StatusBar", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk5C3ZSOKF_cjs.StatusBar; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "StatusBarItem", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk5C3ZSOKF_cjs.StatusBarItem; }
|
|
14
14
|
});
|
package/dist/StatusBar.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { StatusBar, StatusBarItem } from './chunk-
|
|
1
|
+
export { StatusBar, StatusBarItem } from './chunk-HR5QBBIS.js';
|
package/dist/Surface.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk4LOOWTRX_cjs = require('./chunk-4LOOWTRX.cjs');
|
|
4
4
|
require('./chunk-6EOSMK34.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-DGB6KVU3.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "SURFACE_THEME_PRESETS", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk4LOOWTRX_cjs.SURFACE_THEME_PRESETS; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "Surface", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk4LOOWTRX_cjs.Surface; }
|
|
16
16
|
});
|
package/dist/Surface.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { SURFACE_THEME_PRESETS, Surface } from './chunk-
|
|
1
|
+
export { SURFACE_THEME_PRESETS, Surface } from './chunk-WIZVOZNO.js';
|
|
2
2
|
import './chunk-6SPMHY54.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-7ZCTEIOW.js';
|
package/dist/Switch.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHFM4YKM5_cjs = require('./chunk-HFM4YKM5.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Switch", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkHFM4YKM5_cjs.Switch; }
|
|
10
10
|
});
|
package/dist/Switch.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Switch } from './chunk-
|
|
1
|
+
export { Switch } from './chunk-6VSNO7IH.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 chunkCPBFUKSX_cjs = require('./chunk-CPBFUKSX.cjs');
|
|
4
|
+
require('./chunk-XVDD6JEU.cjs');
|
|
5
|
+
require('./chunk-F65KYGPX.cjs');
|
|
6
|
+
require('./chunk-76OH42CM.cjs');
|
|
7
|
+
require('./chunk-5KGGB3EH.cjs');
|
|
8
8
|
require('./chunk-YB3IWIOJ.cjs');
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-7OYMY22O.cjs');
|
|
10
|
+
require('./chunk-LW6Z2WDZ.cjs');
|
|
11
|
+
require('./chunk-GJAEGIPM.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 chunkCPBFUKSX_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-FZITSOKH.js';
|
|
2
|
+
import './chunk-5CWTC3I2.js';
|
|
3
|
+
import './chunk-MOLKLUSQ.js';
|
|
4
|
+
import './chunk-I5XCHN67.js';
|
|
5
|
+
import './chunk-PHONNUK2.js';
|
|
6
6
|
import './chunk-DUFRASGO.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
7
|
+
import './chunk-QDXBI3PV.js';
|
|
8
|
+
import './chunk-7DNK5JB2.js';
|
|
9
|
+
import './chunk-SNX4FZYB.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 chunkNUNPFMCM_cjs = require('./chunk-NUNPFMCM.cjs');
|
|
4
|
+
require('./chunk-CPBFUKSX.cjs');
|
|
5
|
+
require('./chunk-XVDD6JEU.cjs');
|
|
6
|
+
require('./chunk-F65KYGPX.cjs');
|
|
7
|
+
require('./chunk-76OH42CM.cjs');
|
|
8
|
+
require('./chunk-5KGGB3EH.cjs');
|
|
9
9
|
require('./chunk-YB3IWIOJ.cjs');
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-7OYMY22O.cjs');
|
|
11
|
+
require('./chunk-LW6Z2WDZ.cjs');
|
|
12
|
+
require('./chunk-GJAEGIPM.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 chunkNUNPFMCM_cjs.TablePro; }
|
|
19
19
|
});
|
package/dist/TablePro.d.cts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { TableProps } from './Table.cjs';
|
|
4
3
|
|
|
5
|
-
interface TableProProps<Row = any> extends Omit<TableProps<Row>, "title"> {
|
|
4
|
+
interface TableProProps<Row = any> extends Omit<TableProps<Row>, "title" | "className" | "style"> {
|
|
6
5
|
/** Toolbar slot — search input, filter, etc. */
|
|
7
6
|
toolbar?: React.ReactNode;
|
|
8
7
|
/** Right-aligned actions slot in toolbar. */
|
|
@@ -11,11 +10,16 @@ interface TableProProps<Row = any> extends Omit<TableProps<Row>, "title"> {
|
|
|
11
10
|
footer?: React.ReactNode;
|
|
12
11
|
/** Title shown above the toolbar. */
|
|
13
12
|
title?: React.ReactNode;
|
|
13
|
+
/** Extra class names on the outer table card. */
|
|
14
|
+
className?: string;
|
|
15
|
+
/** Inline style on the outer table card. */
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
/** Extra class names forwarded to the inner `Table`. */
|
|
18
|
+
tableClassName?: string;
|
|
19
|
+
/** Inline style forwarded to the inner `Table`. */
|
|
20
|
+
tableStyle?: React.CSSProperties;
|
|
14
21
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
* variants, and a footer slot for pagination.
|
|
18
|
-
*/
|
|
19
|
-
declare function TablePro<Row extends Record<string, any> = any>({ toolbar, actions, footer, title, className, ...tableProps }: TableProProps<Row>): react_jsx_runtime.JSX.Element;
|
|
22
|
+
type TableProComponent = <Row extends Record<string, any> = any>(props: TableProProps<Row> & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
|
|
23
|
+
declare const TablePro: TableProComponent;
|
|
20
24
|
|
|
21
25
|
export { TablePro, type TableProProps };
|
package/dist/TablePro.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { TableProps } from './Table.js';
|
|
4
3
|
|
|
5
|
-
interface TableProProps<Row = any> extends Omit<TableProps<Row>, "title"> {
|
|
4
|
+
interface TableProProps<Row = any> extends Omit<TableProps<Row>, "title" | "className" | "style"> {
|
|
6
5
|
/** Toolbar slot — search input, filter, etc. */
|
|
7
6
|
toolbar?: React.ReactNode;
|
|
8
7
|
/** Right-aligned actions slot in toolbar. */
|
|
@@ -11,11 +10,16 @@ interface TableProProps<Row = any> extends Omit<TableProps<Row>, "title"> {
|
|
|
11
10
|
footer?: React.ReactNode;
|
|
12
11
|
/** Title shown above the toolbar. */
|
|
13
12
|
title?: React.ReactNode;
|
|
13
|
+
/** Extra class names on the outer table card. */
|
|
14
|
+
className?: string;
|
|
15
|
+
/** Inline style on the outer table card. */
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
/** Extra class names forwarded to the inner `Table`. */
|
|
18
|
+
tableClassName?: string;
|
|
19
|
+
/** Inline style forwarded to the inner `Table`. */
|
|
20
|
+
tableStyle?: React.CSSProperties;
|
|
14
21
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
* variants, and a footer slot for pagination.
|
|
18
|
-
*/
|
|
19
|
-
declare function TablePro<Row extends Record<string, any> = any>({ toolbar, actions, footer, title, className, ...tableProps }: TableProProps<Row>): react_jsx_runtime.JSX.Element;
|
|
22
|
+
type TableProComponent = <Row extends Record<string, any> = any>(props: TableProProps<Row> & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
|
|
23
|
+
declare const TablePro: TableProComponent;
|
|
20
24
|
|
|
21
25
|
export { TablePro, type TableProProps };
|
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-N24KHD5B.js';
|
|
2
|
+
import './chunk-FZITSOKH.js';
|
|
3
|
+
import './chunk-5CWTC3I2.js';
|
|
4
|
+
import './chunk-MOLKLUSQ.js';
|
|
5
|
+
import './chunk-I5XCHN67.js';
|
|
6
|
+
import './chunk-PHONNUK2.js';
|
|
7
7
|
import './chunk-DUFRASGO.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
8
|
+
import './chunk-QDXBI3PV.js';
|
|
9
|
+
import './chunk-7DNK5JB2.js';
|
|
10
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/Tabs.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2LM5UYNU_cjs = require('./chunk-2LM5UYNU.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Tabs", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk2LM5UYNU_cjs.Tabs; }
|
|
10
10
|
});
|
package/dist/Tabs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Tabs } from './chunk-
|
|
1
|
+
export { Tabs } from './chunk-GVPGJXZT.js';
|
package/dist/Tag.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunk76OH42CM_cjs = require('./chunk-76OH42CM.cjs');
|
|
4
|
+
require('./chunk-GJAEGIPM.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 chunk76OH42CM_cjs.Tag; }
|
|
11
11
|
});
|
package/dist/Tag.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Tag } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Tag } from './chunk-I5XCHN67.js';
|
|
2
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/Textarea.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkLW6Z2WDZ_cjs = require('./chunk-LW6Z2WDZ.cjs');
|
|
4
|
+
require('./chunk-GJAEGIPM.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 chunkLW6Z2WDZ_cjs.TextArea; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "Textarea", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkLW6Z2WDZ_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-7DNK5JB2.js';
|
|
2
|
+
import './chunk-SNX4FZYB.js';
|
package/dist/Theme.cjs
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDGB6KVU3_cjs = require('./chunk-DGB6KVU3.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 chunkDGB6KVU3_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 chunkDGB6KVU3_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 chunkDGB6KVU3_cjs.FONT_STACKS; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ThemeProvider", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkDGB6KVU3_cjs.ThemeProvider; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "applyTheme", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkDGB6KVU3_cjs.applyTheme; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "normalizeAccentInput", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkDGB6KVU3_cjs.normalizeAccentInput; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "resolveThemeColorScheme", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkDGB6KVU3_cjs.resolveThemeColorScheme; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "resolveThemeMode", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkDGB6KVU3_cjs.resolveThemeMode; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "useTheme", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkDGB6KVU3_cjs.useTheme; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "useThemeOptional", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkDGB6KVU3_cjs.useThemeOptional; }
|
|
46
46
|
});
|
package/dist/Theme.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ACCENT_PRESETS, ACCENT_PRESETS_DARK, FONT_STACKS, ThemeProvider, applyTheme, normalizeAccentInput, resolveThemeColorScheme, resolveThemeMode, useTheme, useThemeOptional } from './chunk-
|
|
1
|
+
export { ACCENT_PRESETS, ACCENT_PRESETS_DARK, FONT_STACKS, ThemeProvider, applyTheme, normalizeAccentInput, resolveThemeColorScheme, resolveThemeMode, useTheme, useThemeOptional } from './chunk-7ZCTEIOW.js';
|
|
@@ -319,6 +319,74 @@
|
|
|
319
319
|
gap: 7px;
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
+
.theme-panel-advanced-row {
|
|
323
|
+
gap: 10px;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.theme-panel .theme-panel-advanced-toggle.btn {
|
|
327
|
+
justify-content: center;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.theme-panel-live-advanced {
|
|
331
|
+
display: flex;
|
|
332
|
+
flex-direction: column;
|
|
333
|
+
gap: 10px;
|
|
334
|
+
padding: 10px;
|
|
335
|
+
border-radius: var(--r-md);
|
|
336
|
+
background: var(--bg);
|
|
337
|
+
box-shadow: var(--neu-shadow-inset);
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.theme-panel-advanced-actions {
|
|
341
|
+
display: flex;
|
|
342
|
+
flex-direction: column;
|
|
343
|
+
gap: 8px;
|
|
344
|
+
padding-top: 10px;
|
|
345
|
+
border-top: 1px solid var(--divider);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.theme-panel-save-as-field {
|
|
349
|
+
display: grid;
|
|
350
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
351
|
+
gap: 8px;
|
|
352
|
+
align-items: center;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.theme-panel-save-as-field > span {
|
|
356
|
+
color: var(--fg-muted);
|
|
357
|
+
font-size: 11px;
|
|
358
|
+
font-weight: 800;
|
|
359
|
+
white-space: nowrap;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.theme-panel-advanced-footer {
|
|
363
|
+
display: grid;
|
|
364
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
365
|
+
gap: 8px;
|
|
366
|
+
align-items: center;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.theme-panel-advanced-footer > span {
|
|
370
|
+
min-width: 0;
|
|
371
|
+
color: var(--fg-subtle);
|
|
372
|
+
font-family: var(--font-mono);
|
|
373
|
+
font-size: 10px;
|
|
374
|
+
overflow: hidden;
|
|
375
|
+
text-overflow: ellipsis;
|
|
376
|
+
white-space: nowrap;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.theme-panel-advanced-buttons {
|
|
380
|
+
display: flex;
|
|
381
|
+
flex-wrap: wrap;
|
|
382
|
+
justify-content: flex-end;
|
|
383
|
+
gap: 6px;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.theme-panel-advanced-buttons .btn {
|
|
387
|
+
white-space: nowrap;
|
|
388
|
+
}
|
|
389
|
+
|
|
322
390
|
.theme-panel-create-preview {
|
|
323
391
|
min-height: 36px;
|
|
324
392
|
display: flex;
|
package/dist/ThemePanel.cjs
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkF3DN2JGE_cjs = require('./chunk-F3DN2JGE.cjs');
|
|
4
|
+
require('./chunk-XWRQ7ZLT.cjs');
|
|
5
5
|
require('./chunk-6EOSMK34.cjs');
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-DGB6KVU3.cjs');
|
|
7
|
+
require('./chunk-HFM4YKM5.cjs');
|
|
8
|
+
require('./chunk-ZC5VDX4W.cjs');
|
|
9
|
+
require('./chunk-XPV672EI.cjs');
|
|
10
10
|
require('./chunk-YB3IWIOJ.cjs');
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-7OYMY22O.cjs');
|
|
12
|
+
require('./chunk-LW6Z2WDZ.cjs');
|
|
13
|
+
require('./chunk-S4CZ3VO6.cjs');
|
|
14
|
+
require('./chunk-GJAEGIPM.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
Object.defineProperty(exports, "THEME_PANEL_DEFAULT_PRESET_OPTIONS", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkF3DN2JGE_cjs.THEME_PANEL_DEFAULT_PRESET_OPTIONS; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "THEME_PANEL_DEFAULT_THEME_PRESETS", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkF3DN2JGE_cjs.THEME_PANEL_DEFAULT_THEME_PRESETS; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "ThemePanel", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkF3DN2JGE_cjs.ThemePanel; }
|
|
29
29
|
});
|
package/dist/ThemePanel.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ThemeMode, ThemePreset, ThemeBaseMode } from './Theme.cjs';
|
|
3
3
|
|
|
4
|
-
type ThemePanelSection = "mode" | "presets" | "accent" | "shadow" | "intensity" | "radius" | "font" | "density";
|
|
4
|
+
type ThemePanelSection = "mode" | "presets" | "accent" | "shadow" | "intensity" | "radius" | "font" | "density" | "advanced";
|
|
5
5
|
interface ThemePanelPresetOption {
|
|
6
6
|
/** Mode key. If it exists in `theme.themes`, the registered preset is used. */
|
|
7
7
|
key: ThemeMode;
|
|
@@ -27,6 +27,12 @@ interface ThemePanelCreateThemePayload extends ThemePanelCreatedThemeMeta {
|
|
|
27
27
|
interface ThemePanelDeleteThemePayload extends ThemePanelCreatedThemeMeta {
|
|
28
28
|
preset?: ThemePreset;
|
|
29
29
|
}
|
|
30
|
+
interface ThemePanelUpdateThemePayload extends ThemePanelCreatedThemeMeta {
|
|
31
|
+
preset: ThemePreset;
|
|
32
|
+
previousPreset?: ThemePreset;
|
|
33
|
+
/** Ready-to-sync preset option for callers that control `presetOptions`. */
|
|
34
|
+
presetOption: ThemePanelPresetOption;
|
|
35
|
+
}
|
|
30
36
|
type ThemePanelDefaultPresetKey = "light" | "dark" | "porcelain" | "assistant" | "assistantDark";
|
|
31
37
|
type ThemePanelDefaultPreset = ThemePreset & {
|
|
32
38
|
base: ThemeBaseMode;
|
|
@@ -59,6 +65,10 @@ interface ThemePanelProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "ti
|
|
|
59
65
|
allowDeleteTheme?: boolean;
|
|
60
66
|
/** Called after a non-default theme is removed from the nearest ThemeProvider. */
|
|
61
67
|
onDeleteTheme?: (payload: ThemePanelDeleteThemePayload) => void;
|
|
68
|
+
/** Show the save action for non-default named themes in the advanced editor. */
|
|
69
|
+
allowUpdateTheme?: boolean;
|
|
70
|
+
/** Called after a non-default theme is saved from the advanced editor. */
|
|
71
|
+
onUpdateTheme?: (payload: ThemePanelUpdateThemePayload) => void;
|
|
62
72
|
/** Show the reset button. */
|
|
63
73
|
showReset?: boolean;
|
|
64
74
|
/** Compact typography and spacing. */
|
|
@@ -77,4 +87,4 @@ interface ThemePanelProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "ti
|
|
|
77
87
|
*/
|
|
78
88
|
declare const ThemePanel: React.ForwardRefExoticComponent<ThemePanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
79
89
|
|
|
80
|
-
export { THEME_PANEL_DEFAULT_PRESET_OPTIONS, THEME_PANEL_DEFAULT_THEME_PRESETS, ThemePanel, type ThemePanelCreateThemePayload, type ThemePanelCreatedThemeMeta, type ThemePanelDeleteThemePayload, type ThemePanelModeOption, type ThemePanelPresetOption, type ThemePanelProps, type ThemePanelSection };
|
|
90
|
+
export { THEME_PANEL_DEFAULT_PRESET_OPTIONS, THEME_PANEL_DEFAULT_THEME_PRESETS, ThemePanel, type ThemePanelCreateThemePayload, type ThemePanelCreatedThemeMeta, type ThemePanelDeleteThemePayload, type ThemePanelModeOption, type ThemePanelPresetOption, type ThemePanelProps, type ThemePanelSection, type ThemePanelUpdateThemePayload };
|
package/dist/ThemePanel.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ThemeMode, ThemePreset, ThemeBaseMode } from './Theme.js';
|
|
3
3
|
|
|
4
|
-
type ThemePanelSection = "mode" | "presets" | "accent" | "shadow" | "intensity" | "radius" | "font" | "density";
|
|
4
|
+
type ThemePanelSection = "mode" | "presets" | "accent" | "shadow" | "intensity" | "radius" | "font" | "density" | "advanced";
|
|
5
5
|
interface ThemePanelPresetOption {
|
|
6
6
|
/** Mode key. If it exists in `theme.themes`, the registered preset is used. */
|
|
7
7
|
key: ThemeMode;
|
|
@@ -27,6 +27,12 @@ interface ThemePanelCreateThemePayload extends ThemePanelCreatedThemeMeta {
|
|
|
27
27
|
interface ThemePanelDeleteThemePayload extends ThemePanelCreatedThemeMeta {
|
|
28
28
|
preset?: ThemePreset;
|
|
29
29
|
}
|
|
30
|
+
interface ThemePanelUpdateThemePayload extends ThemePanelCreatedThemeMeta {
|
|
31
|
+
preset: ThemePreset;
|
|
32
|
+
previousPreset?: ThemePreset;
|
|
33
|
+
/** Ready-to-sync preset option for callers that control `presetOptions`. */
|
|
34
|
+
presetOption: ThemePanelPresetOption;
|
|
35
|
+
}
|
|
30
36
|
type ThemePanelDefaultPresetKey = "light" | "dark" | "porcelain" | "assistant" | "assistantDark";
|
|
31
37
|
type ThemePanelDefaultPreset = ThemePreset & {
|
|
32
38
|
base: ThemeBaseMode;
|
|
@@ -59,6 +65,10 @@ interface ThemePanelProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "ti
|
|
|
59
65
|
allowDeleteTheme?: boolean;
|
|
60
66
|
/** Called after a non-default theme is removed from the nearest ThemeProvider. */
|
|
61
67
|
onDeleteTheme?: (payload: ThemePanelDeleteThemePayload) => void;
|
|
68
|
+
/** Show the save action for non-default named themes in the advanced editor. */
|
|
69
|
+
allowUpdateTheme?: boolean;
|
|
70
|
+
/** Called after a non-default theme is saved from the advanced editor. */
|
|
71
|
+
onUpdateTheme?: (payload: ThemePanelUpdateThemePayload) => void;
|
|
62
72
|
/** Show the reset button. */
|
|
63
73
|
showReset?: boolean;
|
|
64
74
|
/** Compact typography and spacing. */
|
|
@@ -77,4 +87,4 @@ interface ThemePanelProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "ti
|
|
|
77
87
|
*/
|
|
78
88
|
declare const ThemePanel: React.ForwardRefExoticComponent<ThemePanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
79
89
|
|
|
80
|
-
export { THEME_PANEL_DEFAULT_PRESET_OPTIONS, THEME_PANEL_DEFAULT_THEME_PRESETS, ThemePanel, type ThemePanelCreateThemePayload, type ThemePanelCreatedThemeMeta, type ThemePanelDeleteThemePayload, type ThemePanelModeOption, type ThemePanelPresetOption, type ThemePanelProps, type ThemePanelSection };
|
|
90
|
+
export { THEME_PANEL_DEFAULT_PRESET_OPTIONS, THEME_PANEL_DEFAULT_THEME_PRESETS, ThemePanel, type ThemePanelCreateThemePayload, type ThemePanelCreatedThemeMeta, type ThemePanelDeleteThemePayload, type ThemePanelModeOption, type ThemePanelPresetOption, type ThemePanelProps, type ThemePanelSection, type ThemePanelUpdateThemePayload };
|
package/dist/ThemePanel.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { THEME_PANEL_DEFAULT_PRESET_OPTIONS, THEME_PANEL_DEFAULT_THEME_PRESETS, ThemePanel } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { THEME_PANEL_DEFAULT_PRESET_OPTIONS, THEME_PANEL_DEFAULT_THEME_PRESETS, ThemePanel } from './chunk-ZTIECMCF.js';
|
|
2
|
+
import './chunk-Q5KHJ32P.js';
|
|
3
3
|
import './chunk-6SPMHY54.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
4
|
+
import './chunk-7ZCTEIOW.js';
|
|
5
|
+
import './chunk-6VSNO7IH.js';
|
|
6
|
+
import './chunk-P434GBHP.js';
|
|
7
|
+
import './chunk-AHS2AFTD.js';
|
|
8
8
|
import './chunk-DUFRASGO.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
9
|
+
import './chunk-QDXBI3PV.js';
|
|
10
|
+
import './chunk-7DNK5JB2.js';
|
|
11
|
+
import './chunk-VRA4CQCJ.js';
|
|
12
|
+
import './chunk-SNX4FZYB.js';
|