@fangxinyan/lumina 0.7.0 → 0.9.0
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 +5 -5
- package/dist/Alert.js +4 -4
- package/dist/AppShell.cjs +8 -8
- package/dist/AppShell.js +4 -4
- package/dist/AutoComplete.cjs +7 -7
- package/dist/AutoComplete.js +6 -6
- package/dist/Avatar.cjs +4 -4
- package/dist/Avatar.js +3 -3
- package/dist/Badge.cjs +4 -4
- package/dist/Badge.js +3 -3
- package/dist/Button.cjs +6 -6
- package/dist/Button.js +4 -4
- package/dist/Calendar.cjs +5 -5
- package/dist/Calendar.js +4 -4
- package/dist/Card.cjs +7 -7
- package/dist/Card.js +6 -6
- package/dist/Cascader.cjs +7 -7
- package/dist/Cascader.js +6 -6
- package/dist/{Checkbox-IHFML4FV.css → Checkbox-YQ43GFUI.css} +7 -0
- package/dist/Checkbox.cjs +5 -5
- package/dist/Checkbox.d.cts +2 -0
- package/dist/Checkbox.d.ts +2 -0
- package/dist/Checkbox.js +4 -4
- package/dist/Collapse.cjs +5 -5
- package/dist/Collapse.js +4 -4
- package/dist/ColorPicker.cjs +7 -7
- package/dist/ColorPicker.js +6 -6
- package/dist/CommandPalette.cjs +7 -7
- package/dist/CommandPalette.js +6 -6
- package/dist/ContextMenu.cjs +4 -4
- package/dist/ContextMenu.js +3 -3
- package/dist/DatePicker.cjs +9 -9
- package/dist/DatePicker.js +8 -8
- package/dist/DateTimePicker.cjs +9 -9
- package/dist/DateTimePicker.js +8 -8
- package/dist/Divider.cjs +4 -4
- package/dist/Divider.js +3 -3
- package/dist/Drawer.cjs +5 -5
- package/dist/Drawer.js +4 -4
- package/dist/Empty.cjs +4 -4
- package/dist/Empty.js +3 -3
- package/dist/Form.cjs +6 -6
- package/dist/Form.js +3 -3
- package/dist/Icon.cjs +51 -51
- package/dist/Icon.js +3 -3
- package/dist/Image.cjs +9 -9
- package/dist/Image.js +5 -5
- package/dist/Input.cjs +7 -7
- package/dist/Input.js +5 -5
- package/dist/InputNumber.cjs +7 -7
- package/dist/InputNumber.js +6 -6
- package/dist/List.cjs +4 -4
- package/dist/List.js +3 -3
- package/dist/Message.cjs +8 -8
- package/dist/Message.js +4 -4
- package/dist/Modal.cjs +6 -6
- package/dist/Modal.js +5 -5
- package/dist/Pagination.cjs +9 -9
- package/dist/Pagination.js +8 -8
- package/dist/Popover.cjs +4 -4
- package/dist/Popover.js +3 -3
- package/dist/Progress.cjs +4 -4
- package/dist/Progress.js +3 -3
- package/dist/Radio.cjs +5 -5
- package/dist/Radio.js +3 -3
- package/dist/{Select-TU37MAHZ.css → Select-QPBB73KA.css} +34 -5
- package/dist/Select.cjs +8 -8
- package/dist/Select.d.cts +16 -1
- package/dist/Select.d.ts +16 -1
- package/dist/Select.js +7 -7
- package/dist/Skeleton.cjs +4 -4
- package/dist/Skeleton.js +3 -3
- package/dist/Slider.cjs +4 -4
- package/dist/Slider.js +3 -3
- package/dist/Spin.cjs +4 -4
- package/dist/Spin.js +3 -3
- package/dist/Splitter.cjs +4 -4
- package/dist/Splitter.d.cts +10 -0
- package/dist/Splitter.d.ts +10 -0
- package/dist/Splitter.js +3 -3
- package/dist/StatusBar.cjs +5 -5
- package/dist/StatusBar.js +3 -3
- package/dist/Surface.cjs +5 -5
- package/dist/Surface.js +3 -3
- package/dist/{Switch-TATU3LPB.css → Switch-3JV3LCPX.css} +3 -0
- package/dist/Switch.cjs +4 -4
- package/dist/Switch.d.cts +2 -0
- package/dist/Switch.d.ts +2 -0
- package/dist/Switch.js +3 -3
- package/dist/{Table-W4HPZ7MZ.css → Table-KB6EEBDJ.css} +28 -1
- package/dist/Table.cjs +12 -12
- package/dist/Table.d.cts +7 -1
- package/dist/Table.d.ts +7 -1
- package/dist/Table.js +11 -11
- package/dist/TablePro.cjs +13 -13
- package/dist/TablePro.js +12 -12
- package/dist/{Tabs-A3IG6UZ6.css → Tabs-FB2AMBWL.css} +14 -0
- package/dist/Tabs.cjs +4 -4
- package/dist/Tabs.d.cts +6 -0
- package/dist/Tabs.d.ts +6 -0
- package/dist/Tabs.js +3 -3
- package/dist/Tag.cjs +5 -5
- package/dist/Tag.js +4 -4
- package/dist/Textarea.cjs +6 -6
- package/dist/Textarea.js +4 -4
- package/dist/Theme.cjs +19 -19
- package/dist/Theme.js +1 -1
- package/dist/ThemePanel.cjs +14 -14
- package/dist/ThemePanel.js +11 -11
- package/dist/TimePicker.cjs +8 -8
- package/dist/TimePicker.js +7 -7
- package/dist/Timeline.cjs +5 -5
- package/dist/Timeline.js +4 -4
- package/dist/Tooltip.cjs +4 -4
- package/dist/Tooltip.js +3 -3
- package/dist/Typography.cjs +9 -9
- package/dist/Typography.js +4 -4
- package/dist/{chunk-LQMOYVQF.js → chunk-2BM65ITV.js} +2 -2
- package/dist/{chunk-UQI4R32R.js → chunk-2COQYOVG.js} +4 -4
- package/dist/{chunk-WMZV7PNO.js → chunk-2NECDEAJ.js} +7 -3
- package/dist/{chunk-I4YPBAQ5.js → chunk-2NXLVPF4.js} +3 -3
- package/dist/{chunk-7QAVPVMW.js → chunk-2V6RQQRI.js} +4 -4
- package/dist/{chunk-ZEYK37VW.cjs → chunk-2XDLXAZT.cjs} +6 -6
- package/dist/{chunk-TYZ6L7E6.cjs → chunk-33YRXHVK.cjs} +6 -6
- package/dist/{chunk-3EMWDDWK.cjs → chunk-3D5RJA7R.cjs} +16 -16
- package/dist/{chunk-VX6MZO4K.cjs → chunk-3J7HOTD6.cjs} +6 -6
- package/dist/{chunk-ARUN2DMD.js → chunk-427CDZDU.js} +2 -2
- package/dist/chunk-4JANYBXO.js +100 -0
- package/dist/{chunk-ZHVR4YPB.cjs → chunk-4LYJRFD2.cjs} +3 -3
- package/dist/{chunk-LG62MPMU.cjs → chunk-4MZW2KBN.cjs} +11 -11
- package/dist/{chunk-F7WUCOBP.cjs → chunk-4ZSFMWLF.cjs} +24 -24
- package/dist/{chunk-FMUHLIHB.cjs → chunk-53I3PWRH.cjs} +3 -3
- package/dist/{chunk-JHM7MN3G.js → chunk-563SQXH7.js} +3 -3
- package/dist/{chunk-DRDDQCDD.js → chunk-5HLNFDV4.js} +1 -1
- package/dist/{chunk-2HIN5NFM.js → chunk-5VLANZAJ.js} +3 -3
- package/dist/{chunk-ALAG4ZUH.js → chunk-6OVWY63D.js} +2 -2
- package/dist/{chunk-434Y2JVW.cjs → chunk-6WEXRX7K.cjs} +7 -7
- package/dist/{chunk-MCDW3VKZ.cjs → chunk-76CTKBXD.cjs} +3 -3
- package/dist/{chunk-VA3JWOAB.cjs → chunk-7IWUBBYX.cjs} +15 -15
- package/dist/{chunk-ENFLP7SN.cjs → chunk-7KA5D37Z.cjs} +40 -30
- package/dist/{chunk-Y2MT6PI6.js → chunk-7NKNQRK6.js} +4 -4
- package/dist/{chunk-EAUB6FEN.js → chunk-7PUYEPLK.js} +4 -4
- package/dist/{chunk-7VLAHOA7.cjs → chunk-7ZMUCSCJ.cjs} +8 -8
- package/dist/{chunk-RPO7657K.js → chunk-A34P5CU7.js} +3 -3
- package/dist/{chunk-FKCPSVC4.cjs → chunk-ADPXWCTK.cjs} +9 -9
- package/dist/{chunk-QDCPVI3S.cjs → chunk-AE5XWZ24.cjs} +14 -14
- package/dist/{chunk-XZXY3XCL.cjs → chunk-AEY76EAH.cjs} +55 -38
- package/dist/{chunk-3EHJ5QI3.js → chunk-AL2PYVVP.js} +99 -49
- package/dist/{chunk-PIJV2FHO.cjs → chunk-AQN3PD24.cjs} +30 -30
- package/dist/{chunk-RMGFRAZ2.cjs → chunk-AR3MT2ZT.cjs} +10 -10
- package/dist/{chunk-3F424R5P.js → chunk-AXZNZ2IH.js} +3 -3
- package/dist/{chunk-HVPUGYBY.js → chunk-BDPJ2BPN.js} +4 -4
- package/dist/{chunk-HQFKXTX6.js → chunk-BOBT7JUB.js} +2 -2
- package/dist/{chunk-O6G3F5L4.js → chunk-CFKAKB2B.js} +5 -5
- package/dist/{chunk-U5YYOOLC.cjs → chunk-CLJLBFNU.cjs} +4 -4
- package/dist/{chunk-HYHBCHFM.cjs → chunk-CNV7R2OZ.cjs} +7 -7
- package/dist/{chunk-ULTDRMGN.js → chunk-CPVUDSIY.js} +6 -6
- package/dist/{chunk-QDY56GGO.js → chunk-D2N7OXMK.js} +2 -2
- package/dist/{chunk-LJVQQEME.js → chunk-DQMG4XPX.js} +6 -6
- package/dist/{chunk-STQDKMS5.cjs → chunk-GFGMGJ5A.cjs} +13 -13
- package/dist/{chunk-BKW5PXEO.js → chunk-GMFOY7RD.js} +5 -5
- package/dist/{chunk-GTFP7HA3.cjs → chunk-GW77XQEF.cjs} +15 -15
- package/dist/{chunk-DU2DSERH.js → chunk-HAIWLYLR.js} +3 -3
- package/dist/{chunk-VVRXNGYL.cjs → chunk-HJGPUE67.cjs} +9 -9
- package/dist/{chunk-JINKQT6H.cjs → chunk-HMN65CDW.cjs} +10 -6
- package/dist/{chunk-MUZQWIMR.cjs → chunk-I2YL5XE4.cjs} +18 -18
- package/dist/{chunk-EE5KXDRK.cjs → chunk-I4GJZLJU.cjs} +6 -6
- package/dist/{chunk-QDMFXRPI.js → chunk-INCTDROH.js} +2 -2
- package/dist/{chunk-2BIOTRQC.js → chunk-ISK2RW7F.js} +2 -2
- package/dist/{chunk-OLYSSZHP.js → chunk-IU6PLLEL.js} +10 -10
- package/dist/{chunk-LOWTSOWT.js → chunk-J7D5CQDK.js} +34 -7
- package/dist/{chunk-EA3NZBCZ.js → chunk-JMYUO7V7.js} +20 -10
- package/dist/{chunk-D7YSY5RZ.cjs → chunk-K3KHQ77L.cjs} +111 -61
- package/dist/{chunk-AURYNA6G.js → chunk-KFCWDFBW.js} +2 -2
- package/dist/{chunk-KCDOC3HS.cjs → chunk-KPBZKHCS.cjs} +8 -6
- package/dist/{chunk-PQOBBASY.js → chunk-L2NEYHYG.js} +2 -2
- package/dist/{chunk-VQEMMJHC.js → chunk-LACXN5CI.js} +2 -2
- package/dist/{chunk-T4RR6NVU.cjs → chunk-M3JYP3V4.cjs} +7 -7
- package/dist/{chunk-FY73C7JK.js → chunk-MEBAE7DB.js} +4 -4
- package/dist/{chunk-5AXNUX3J.js → chunk-MFJHI472.js} +2 -2
- package/dist/{chunk-4SKHRPDH.js → chunk-MKVONDTB.js} +6 -6
- package/dist/{chunk-U7VEPMCX.cjs → chunk-MV56FOAD.cjs} +35 -8
- package/dist/{chunk-LEDESWNL.js → chunk-O6PRE6MZ.js} +5 -3
- package/dist/{chunk-EUTK2ZRJ.cjs → chunk-OBNGHJ3N.cjs} +3 -3
- package/dist/{chunk-62VV5COT.js → chunk-OGMI3TO5.js} +3 -3
- package/dist/{chunk-YAYSXZZZ.cjs → chunk-PYCAGTO7.cjs} +3 -3
- package/dist/{chunk-6DKPJ5LV.cjs → chunk-QI6BJJXM.cjs} +6 -6
- package/dist/{chunk-Y22PTPA7.js → chunk-QK3E6FAQ.js} +5 -5
- package/dist/{chunk-KATJAJUU.js → chunk-QSLXUNLM.js} +6 -4
- package/dist/{chunk-E66PSVBU.cjs → chunk-QTMI4ZA4.cjs} +5 -5
- package/dist/{chunk-LDX6Q6RK.cjs → chunk-RA5BULQ3.cjs} +3 -3
- package/dist/{chunk-BIPOXOHP.cjs → chunk-RWM44VCZ.cjs} +9 -9
- package/dist/{chunk-JKUXA3U6.cjs → chunk-RXITGNPX.cjs} +5 -5
- package/dist/{chunk-YPMQC5HX.js → chunk-RYF5ADJW.js} +3 -3
- package/dist/{chunk-SXLRWYQQ.js → chunk-SXT672KF.js} +5 -5
- package/dist/{chunk-U3SG2YT2.js → chunk-TALNKJQ2.js} +3 -3
- package/dist/{chunk-3IZZBM56.js → chunk-TNQJA5JF.js} +3 -3
- package/dist/{chunk-Q565GDVK.cjs → chunk-TPFY5SKB.cjs} +9 -9
- package/dist/{chunk-RERMZNF3.cjs → chunk-TTRU4TLQ.cjs} +3 -3
- package/dist/{chunk-UE4HFGJ6.js → chunk-TUXF2G2O.js} +4 -4
- package/dist/{chunk-3DKFS44V.js → chunk-TY5LOU3A.js} +3 -3
- package/dist/{chunk-6RQJXSWN.js → chunk-U7V2FOIM.js} +3 -3
- package/dist/{chunk-BJDQVVCG.js → chunk-UCE53RYR.js} +5 -5
- package/dist/{chunk-WROF2PVG.cjs → chunk-UQF7E32V.cjs} +6 -4
- package/dist/{chunk-NRJXZPZR.cjs → chunk-V6BLBIY6.cjs} +17 -17
- package/dist/{chunk-2AUXUZ3Z.cjs → chunk-VDVKY2IX.cjs} +4 -4
- package/dist/{chunk-YKHIIC7M.js → chunk-VLQ6XIAL.js} +2 -2
- package/dist/{chunk-GFKWSDD6.cjs → chunk-VNP5WB6M.cjs} +6 -6
- package/dist/{chunk-56I6ZKGU.cjs → chunk-VTN6YLRJ.cjs} +11 -11
- package/dist/{chunk-YBGMTQ2V.js → chunk-XFJTJVWD.js} +3 -3
- package/dist/{chunk-77HU7JWK.cjs → chunk-XHKSUKKL.cjs} +6 -6
- package/dist/{chunk-K5HGHOG7.js → chunk-Y3WFWA52.js} +2 -2
- package/dist/{chunk-QNQSNVCU.cjs → chunk-YU4LBDBD.cjs} +6 -6
- package/dist/{chunk-QYPA77OI.cjs → chunk-Z6AG7O4B.cjs} +3 -3
- package/dist/{chunk-AUO2YYHB.js → chunk-Z7GKR4LL.js} +4 -4
- package/dist/{chunk-ZYIE3BH7.cjs → chunk-ZBRFGD3I.cjs} +3 -3
- package/dist/{chunk-5CZA33BK.cjs → chunk-ZCAYS4KR.cjs} +8 -8
- package/dist/{chunk-Q5HLC56A.cjs → chunk-ZGZLEJKA.cjs} +4 -4
- package/dist/{chunk-YUJ7Z6N2.cjs → chunk-ZT7ZWAF2.cjs} +13 -13
- package/dist/index.cjs +189 -189
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +52 -52
- package/dist/styles.css +100 -20
- package/dist/{tokens-CEJVVA3G.css → tokens-223RYVVS.css} +14 -14
- package/dist/tokens.css +14 -14
- package/docs/llms/checkbox.md +22 -5
- package/docs/llms/drawer.md +8 -1
- package/docs/llms/select.md +50 -0
- package/docs/llms/splitter.md +12 -1
- package/docs/llms/switch.md +22 -5
- package/docs/llms/tablepro.md +23 -1
- package/docs/llms/tabs.md +21 -0
- package/docs/llms.md +1 -1
- package/package.json +1 -1
- package/dist/chunk-RAK6CENJ.js +0 -83
package/dist/Pagination.cjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkVTN6YLRJ_cjs = require('./chunk-VTN6YLRJ.cjs');
|
|
4
|
+
require('./chunk-K3KHQ77L.cjs');
|
|
5
|
+
require('./chunk-VNP5WB6M.cjs');
|
|
6
6
|
require('./chunk-FJB3243S.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-GFGMGJ5A.cjs');
|
|
8
|
+
require('./chunk-CNV7R2OZ.cjs');
|
|
9
9
|
require('./chunk-HSDMJUB6.cjs');
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-VDVKY2IX.cjs');
|
|
11
|
+
require('./chunk-V6BLBIY6.cjs');
|
|
12
|
+
require('./chunk-I4GJZLJU.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "Pagination", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkVTN6YLRJ_cjs.Pagination; }
|
|
19
19
|
});
|
package/dist/Pagination.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { Pagination } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { Pagination } from './chunk-UCE53RYR.js';
|
|
2
|
+
import './chunk-AL2PYVVP.js';
|
|
3
|
+
import './chunk-OGMI3TO5.js';
|
|
4
4
|
import './chunk-3QXP2ZNP.js';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-TUXF2G2O.js';
|
|
6
|
+
import './chunk-AXZNZ2IH.js';
|
|
7
7
|
import './chunk-2A4GYSN4.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
8
|
+
import './chunk-2BM65ITV.js';
|
|
9
|
+
import './chunk-5HLNFDV4.js';
|
|
10
|
+
import './chunk-CPVUDSIY.js';
|
package/dist/Popover.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3J7HOTD6_cjs = require('./chunk-3J7HOTD6.cjs');
|
|
4
4
|
require('./chunk-FJB3243S.cjs');
|
|
5
5
|
require('./chunk-HSDMJUB6.cjs');
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-V6BLBIY6.cjs');
|
|
7
|
+
require('./chunk-I4GJZLJU.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "Popover", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk3J7HOTD6_cjs.Popover; }
|
|
14
14
|
});
|
package/dist/Popover.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Popover } from './chunk-
|
|
1
|
+
export { Popover } from './chunk-A34P5CU7.js';
|
|
2
2
|
import './chunk-3QXP2ZNP.js';
|
|
3
3
|
import './chunk-2A4GYSN4.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
4
|
+
import './chunk-5HLNFDV4.js';
|
|
5
|
+
import './chunk-CPVUDSIY.js';
|
package/dist/Progress.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkPYCAGTO7_cjs = require('./chunk-PYCAGTO7.cjs');
|
|
4
|
+
require('./chunk-V6BLBIY6.cjs');
|
|
5
|
+
require('./chunk-I4GJZLJU.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Progress", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkPYCAGTO7_cjs.Progress; }
|
|
12
12
|
});
|
package/dist/Progress.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Progress } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { Progress } from './chunk-BOBT7JUB.js';
|
|
2
|
+
import './chunk-5HLNFDV4.js';
|
|
3
|
+
import './chunk-CPVUDSIY.js';
|
package/dist/Radio.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkQTMI4ZA4_cjs = require('./chunk-QTMI4ZA4.cjs');
|
|
4
|
+
require('./chunk-V6BLBIY6.cjs');
|
|
5
|
+
require('./chunk-I4GJZLJU.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Radio", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkQTMI4ZA4_cjs.Radio; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "RadioGroup", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkQTMI4ZA4_cjs.RadioGroup; }
|
|
16
16
|
});
|
package/dist/Radio.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Radio, RadioGroup } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { Radio, RadioGroup } from './chunk-D2N7OXMK.js';
|
|
2
|
+
import './chunk-5HLNFDV4.js';
|
|
3
|
+
import './chunk-CPVUDSIY.js';
|
|
@@ -220,6 +220,30 @@
|
|
|
220
220
|
min-width: 0;
|
|
221
221
|
text-align: left;
|
|
222
222
|
}
|
|
223
|
+
.menu-item-row {
|
|
224
|
+
display: flex;
|
|
225
|
+
align-items: center;
|
|
226
|
+
min-width: 0;
|
|
227
|
+
border-radius: var(--r-sm);
|
|
228
|
+
transition: all var(--dur-fast) var(--ease);
|
|
229
|
+
}
|
|
230
|
+
.menu-item-row > .menu-item {
|
|
231
|
+
flex: 1;
|
|
232
|
+
min-width: 0;
|
|
233
|
+
width: auto;
|
|
234
|
+
}
|
|
235
|
+
.menu-item-extra {
|
|
236
|
+
display: inline-flex;
|
|
237
|
+
align-items: center;
|
|
238
|
+
justify-content: center;
|
|
239
|
+
flex-shrink: 0;
|
|
240
|
+
padding: 0 8px 0 2px;
|
|
241
|
+
color: var(--lmn-select-fg-subtle, var(--fg-subtle));
|
|
242
|
+
}
|
|
243
|
+
.menu-item-extra:focus-within,
|
|
244
|
+
.menu-item-extra:hover {
|
|
245
|
+
color: var(--lmn-select-accent-ink, var(--accent-ink));
|
|
246
|
+
}
|
|
223
247
|
.menu-item-label {
|
|
224
248
|
white-space: nowrap;
|
|
225
249
|
overflow: hidden;
|
|
@@ -234,14 +258,18 @@
|
|
|
234
258
|
}
|
|
235
259
|
.menu-item.active .menu-item-desc { color: color-mix(in oklch, var(--lmn-select-accent-ink, var(--accent-ink)) 70%, var(--lmn-select-fg-subtle, var(--fg-subtle))); }
|
|
236
260
|
|
|
237
|
-
/* Keyboard / hover highlight —
|
|
238
|
-
.menu-item.highlight:not(
|
|
261
|
+
/* Keyboard / hover highlight — inset styling stays inside the scrollport edge. */
|
|
262
|
+
.menu-item-row.highlight:not(.disabled) {
|
|
239
263
|
background: var(--lmn-select-bg, var(--bg));
|
|
240
|
-
box-shadow: var(--lmn-select-neu-shadow-
|
|
264
|
+
box-shadow: var(--lmn-select-neu-shadow-inset, var(--neu-shadow-inset));
|
|
265
|
+
}
|
|
266
|
+
.menu-item-row.highlight:not(.disabled) .menu-item {
|
|
241
267
|
color: var(--lmn-select-accent-ink, var(--accent-ink));
|
|
242
268
|
}
|
|
243
|
-
.menu-item
|
|
269
|
+
.menu-item-row.disabled {
|
|
244
270
|
opacity: 0.45;
|
|
271
|
+
}
|
|
272
|
+
.menu-item-row.disabled .menu-item {
|
|
245
273
|
cursor: not-allowed;
|
|
246
274
|
}
|
|
247
275
|
|
|
@@ -277,7 +305,8 @@
|
|
|
277
305
|
width: 100%;
|
|
278
306
|
text-align: left;
|
|
279
307
|
}
|
|
280
|
-
.menu-item:hover { background: var(--lmn-select-bg, var(--bg)); box-shadow: var(--lmn-select-neu-shadow-
|
|
308
|
+
.menu-item-row:hover:not(.disabled) { background: var(--lmn-select-bg, var(--bg)); box-shadow: var(--lmn-select-neu-shadow-inset, var(--neu-shadow-inset)); }
|
|
309
|
+
.menu-item-row:hover:not(.disabled) .menu-item { color: var(--lmn-select-accent-ink, var(--accent-ink)); }
|
|
281
310
|
.menu-item.active { color: var(--lmn-select-accent-ink, var(--accent-ink)); font-weight: 500; }
|
|
282
311
|
.menu-item .tick { margin-left: auto; color: var(--lmn-select-accent, var(--accent)); opacity: 0; }
|
|
283
312
|
.menu-item.active .tick { opacity: 1; }
|
package/dist/Select.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkK3KHQ77L_cjs = require('./chunk-K3KHQ77L.cjs');
|
|
4
|
+
require('./chunk-VNP5WB6M.cjs');
|
|
5
5
|
require('./chunk-FJB3243S.cjs');
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-GFGMGJ5A.cjs');
|
|
7
|
+
require('./chunk-CNV7R2OZ.cjs');
|
|
8
8
|
require('./chunk-HSDMJUB6.cjs');
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-VDVKY2IX.cjs');
|
|
10
|
+
require('./chunk-V6BLBIY6.cjs');
|
|
11
|
+
require('./chunk-I4GJZLJU.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "Select", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkK3KHQ77L_cjs.Select; }
|
|
18
18
|
});
|
package/dist/Select.d.cts
CHANGED
|
@@ -14,12 +14,16 @@ interface SelectOption<T extends string | number = string> {
|
|
|
14
14
|
description?: React.ReactNode;
|
|
15
15
|
/** Leading icon. Accepts a built-in icon name or custom React node. */
|
|
16
16
|
icon?: IconSlot;
|
|
17
|
+
/** 选项尾部的独立内容或操作,例如收藏按钮。 */
|
|
18
|
+
extra?: React.ReactNode;
|
|
17
19
|
disabled?: boolean;
|
|
18
20
|
}
|
|
19
21
|
interface SelectOptionGroup<T extends string | number = string> {
|
|
20
22
|
/** Group heading. */
|
|
21
23
|
label: React.ReactNode;
|
|
22
24
|
options: SelectOption<T>[];
|
|
25
|
+
/** 是否稳定提升到菜单顶部。 */
|
|
26
|
+
pinned?: boolean;
|
|
23
27
|
}
|
|
24
28
|
type SelectItem<T extends string | number = string> = SelectOption<T> | SelectOptionGroup<T>;
|
|
25
29
|
type SelectFilterOption<T extends string | number = string> = boolean | ((input: string, option: SelectOption<T>) => boolean);
|
|
@@ -29,6 +33,11 @@ interface SelectOptionRenderInfo {
|
|
|
29
33
|
selected: boolean;
|
|
30
34
|
active: boolean;
|
|
31
35
|
}
|
|
36
|
+
/** 自定义选项尾部内容时可用的置顶与禁用状态。 */
|
|
37
|
+
interface SelectOptionExtraRenderInfo extends SelectOptionRenderInfo {
|
|
38
|
+
disabled: boolean;
|
|
39
|
+
groupPinned: boolean;
|
|
40
|
+
}
|
|
32
41
|
/** 自定义已选内容渲染时可用的状态。 */
|
|
33
42
|
interface SelectSelectedRenderInfo<T extends string | number = string> {
|
|
34
43
|
value: T;
|
|
@@ -68,12 +77,16 @@ interface BaseSelectProps<T extends string | number = string> extends Omit<React
|
|
|
68
77
|
emptyContent?: React.ReactNode;
|
|
69
78
|
/** 自定义菜单内的完整选项内容;选择标记仍由 Select 负责。 */
|
|
70
79
|
optionRender?: (option: SelectOption<T>, info: SelectOptionRenderInfo) => React.ReactNode;
|
|
80
|
+
/** 自定义选项尾部的独立内容或操作;不会触发该选项的选择行为。 */
|
|
81
|
+
optionExtraRender?: (option: SelectOption<T>, info: SelectOptionExtraRenderInfo) => React.ReactNode;
|
|
71
82
|
/** 自定义触发器中的紧凑已选内容,避免复用复杂的 option 内容。 */
|
|
72
83
|
selectedRender?: (option: SelectOption<T>, info: SelectSelectedRenderInfo<T>) => React.ReactNode;
|
|
73
84
|
/** 菜单选项滚动区域的最大高度。 */
|
|
74
85
|
listHeight?: number;
|
|
75
86
|
/** Portal 菜单的额外内联样式,可覆盖宽度或高度。 */
|
|
76
87
|
popupStyle?: React.CSSProperties;
|
|
88
|
+
/** 按当前选择动态禁用候选项;静态 disabled 仍然优先。 */
|
|
89
|
+
getOptionDisabled?: (option: SelectOption<T>, selectedValues: readonly T[]) => boolean;
|
|
77
90
|
/** Controlled open state. */
|
|
78
91
|
open?: boolean;
|
|
79
92
|
defaultOpen?: boolean;
|
|
@@ -103,6 +116,8 @@ interface MultiSelectProps<T extends string | number = string> extends BaseSelec
|
|
|
103
116
|
onClear?: () => void;
|
|
104
117
|
/** Max selected items shown as tags before collapsing to "+N". */
|
|
105
118
|
maxTagCount?: number;
|
|
119
|
+
/** 多选允许的最大选择数;达到上限后禁用尚未选中的候选项。 */
|
|
120
|
+
maxCount?: number;
|
|
106
121
|
}
|
|
107
122
|
type SelectProps<T extends string | number = string> = SingleSelectProps<T> | MultiSelectProps<T>;
|
|
108
123
|
type SelectComponent = {
|
|
@@ -111,4 +126,4 @@ type SelectComponent = {
|
|
|
111
126
|
};
|
|
112
127
|
declare const Select: SelectComponent;
|
|
113
128
|
|
|
114
|
-
export { type MultiSelectProps, Select, type SelectFilterOption, type SelectItem, type SelectMultiChangeHandler, type SelectOption, type SelectOptionGroup, type SelectOptionRenderInfo, type SelectProps, type SelectSelectedRenderInfo, type SelectSingleChangeHandler, type SingleSelectProps };
|
|
129
|
+
export { type MultiSelectProps, Select, type SelectFilterOption, type SelectItem, type SelectMultiChangeHandler, type SelectOption, type SelectOptionExtraRenderInfo, type SelectOptionGroup, type SelectOptionRenderInfo, type SelectProps, type SelectSelectedRenderInfo, type SelectSingleChangeHandler, type SingleSelectProps };
|
package/dist/Select.d.ts
CHANGED
|
@@ -14,12 +14,16 @@ interface SelectOption<T extends string | number = string> {
|
|
|
14
14
|
description?: React.ReactNode;
|
|
15
15
|
/** Leading icon. Accepts a built-in icon name or custom React node. */
|
|
16
16
|
icon?: IconSlot;
|
|
17
|
+
/** 选项尾部的独立内容或操作,例如收藏按钮。 */
|
|
18
|
+
extra?: React.ReactNode;
|
|
17
19
|
disabled?: boolean;
|
|
18
20
|
}
|
|
19
21
|
interface SelectOptionGroup<T extends string | number = string> {
|
|
20
22
|
/** Group heading. */
|
|
21
23
|
label: React.ReactNode;
|
|
22
24
|
options: SelectOption<T>[];
|
|
25
|
+
/** 是否稳定提升到菜单顶部。 */
|
|
26
|
+
pinned?: boolean;
|
|
23
27
|
}
|
|
24
28
|
type SelectItem<T extends string | number = string> = SelectOption<T> | SelectOptionGroup<T>;
|
|
25
29
|
type SelectFilterOption<T extends string | number = string> = boolean | ((input: string, option: SelectOption<T>) => boolean);
|
|
@@ -29,6 +33,11 @@ interface SelectOptionRenderInfo {
|
|
|
29
33
|
selected: boolean;
|
|
30
34
|
active: boolean;
|
|
31
35
|
}
|
|
36
|
+
/** 自定义选项尾部内容时可用的置顶与禁用状态。 */
|
|
37
|
+
interface SelectOptionExtraRenderInfo extends SelectOptionRenderInfo {
|
|
38
|
+
disabled: boolean;
|
|
39
|
+
groupPinned: boolean;
|
|
40
|
+
}
|
|
32
41
|
/** 自定义已选内容渲染时可用的状态。 */
|
|
33
42
|
interface SelectSelectedRenderInfo<T extends string | number = string> {
|
|
34
43
|
value: T;
|
|
@@ -68,12 +77,16 @@ interface BaseSelectProps<T extends string | number = string> extends Omit<React
|
|
|
68
77
|
emptyContent?: React.ReactNode;
|
|
69
78
|
/** 自定义菜单内的完整选项内容;选择标记仍由 Select 负责。 */
|
|
70
79
|
optionRender?: (option: SelectOption<T>, info: SelectOptionRenderInfo) => React.ReactNode;
|
|
80
|
+
/** 自定义选项尾部的独立内容或操作;不会触发该选项的选择行为。 */
|
|
81
|
+
optionExtraRender?: (option: SelectOption<T>, info: SelectOptionExtraRenderInfo) => React.ReactNode;
|
|
71
82
|
/** 自定义触发器中的紧凑已选内容,避免复用复杂的 option 内容。 */
|
|
72
83
|
selectedRender?: (option: SelectOption<T>, info: SelectSelectedRenderInfo<T>) => React.ReactNode;
|
|
73
84
|
/** 菜单选项滚动区域的最大高度。 */
|
|
74
85
|
listHeight?: number;
|
|
75
86
|
/** Portal 菜单的额外内联样式,可覆盖宽度或高度。 */
|
|
76
87
|
popupStyle?: React.CSSProperties;
|
|
88
|
+
/** 按当前选择动态禁用候选项;静态 disabled 仍然优先。 */
|
|
89
|
+
getOptionDisabled?: (option: SelectOption<T>, selectedValues: readonly T[]) => boolean;
|
|
77
90
|
/** Controlled open state. */
|
|
78
91
|
open?: boolean;
|
|
79
92
|
defaultOpen?: boolean;
|
|
@@ -103,6 +116,8 @@ interface MultiSelectProps<T extends string | number = string> extends BaseSelec
|
|
|
103
116
|
onClear?: () => void;
|
|
104
117
|
/** Max selected items shown as tags before collapsing to "+N". */
|
|
105
118
|
maxTagCount?: number;
|
|
119
|
+
/** 多选允许的最大选择数;达到上限后禁用尚未选中的候选项。 */
|
|
120
|
+
maxCount?: number;
|
|
106
121
|
}
|
|
107
122
|
type SelectProps<T extends string | number = string> = SingleSelectProps<T> | MultiSelectProps<T>;
|
|
108
123
|
type SelectComponent = {
|
|
@@ -111,4 +126,4 @@ type SelectComponent = {
|
|
|
111
126
|
};
|
|
112
127
|
declare const Select: SelectComponent;
|
|
113
128
|
|
|
114
|
-
export { type MultiSelectProps, Select, type SelectFilterOption, type SelectItem, type SelectMultiChangeHandler, type SelectOption, type SelectOptionGroup, type SelectOptionRenderInfo, type SelectProps, type SelectSelectedRenderInfo, type SelectSingleChangeHandler, type SingleSelectProps };
|
|
129
|
+
export { type MultiSelectProps, Select, type SelectFilterOption, type SelectItem, type SelectMultiChangeHandler, type SelectOption, type SelectOptionExtraRenderInfo, type SelectOptionGroup, type SelectOptionRenderInfo, type SelectProps, type SelectSelectedRenderInfo, type SelectSingleChangeHandler, type SingleSelectProps };
|
package/dist/Select.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { Select } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Select } from './chunk-AL2PYVVP.js';
|
|
2
|
+
import './chunk-OGMI3TO5.js';
|
|
3
3
|
import './chunk-3QXP2ZNP.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
4
|
+
import './chunk-TUXF2G2O.js';
|
|
5
|
+
import './chunk-AXZNZ2IH.js';
|
|
6
6
|
import './chunk-2A4GYSN4.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
7
|
+
import './chunk-2BM65ITV.js';
|
|
8
|
+
import './chunk-5HLNFDV4.js';
|
|
9
|
+
import './chunk-CPVUDSIY.js';
|
package/dist/Skeleton.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkRA5BULQ3_cjs = require('./chunk-RA5BULQ3.cjs');
|
|
4
|
+
require('./chunk-V6BLBIY6.cjs');
|
|
5
|
+
require('./chunk-I4GJZLJU.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Skeleton", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkRA5BULQ3_cjs.Skeleton; }
|
|
12
12
|
});
|
package/dist/Skeleton.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Skeleton } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { Skeleton } from './chunk-MFJHI472.js';
|
|
2
|
+
import './chunk-5HLNFDV4.js';
|
|
3
|
+
import './chunk-CPVUDSIY.js';
|
package/dist/Slider.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkZBRFGD3I_cjs = require('./chunk-ZBRFGD3I.cjs');
|
|
4
|
+
require('./chunk-V6BLBIY6.cjs');
|
|
5
|
+
require('./chunk-I4GJZLJU.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Slider", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkZBRFGD3I_cjs.Slider; }
|
|
12
12
|
});
|
package/dist/Slider.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Slider } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { Slider } from './chunk-Y3WFWA52.js';
|
|
2
|
+
import './chunk-5HLNFDV4.js';
|
|
3
|
+
import './chunk-CPVUDSIY.js';
|
package/dist/Spin.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkTTRU4TLQ_cjs = require('./chunk-TTRU4TLQ.cjs');
|
|
4
|
+
require('./chunk-V6BLBIY6.cjs');
|
|
5
|
+
require('./chunk-I4GJZLJU.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Spin", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkTTRU4TLQ_cjs.Spin; }
|
|
12
12
|
});
|
package/dist/Spin.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Spin } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { Spin } from './chunk-L2NEYHYG.js';
|
|
2
|
+
import './chunk-5HLNFDV4.js';
|
|
3
|
+
import './chunk-CPVUDSIY.js';
|
package/dist/Splitter.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkMV56FOAD_cjs = require('./chunk-MV56FOAD.cjs');
|
|
4
|
+
require('./chunk-V6BLBIY6.cjs');
|
|
5
|
+
require('./chunk-I4GJZLJU.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Splitter", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkMV56FOAD_cjs.Splitter; }
|
|
12
12
|
});
|
package/dist/Splitter.d.cts
CHANGED
|
@@ -30,6 +30,16 @@ interface SplitterProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "chil
|
|
|
30
30
|
handleClassName?: string;
|
|
31
31
|
/** 原生属性透传到拖拽手柄,可用于设置 aria-label。 */
|
|
32
32
|
handleProps?: Omit<React.HTMLAttributes<HTMLDivElement>, "onPointerDown">;
|
|
33
|
+
/** 第一个面板的附加类名。 */
|
|
34
|
+
firstPaneClassName?: string;
|
|
35
|
+
/** 第一个面板的内联样式,优先级高于内部分栏尺寸样式。 */
|
|
36
|
+
firstPaneStyle?: React.CSSProperties;
|
|
37
|
+
/** 第二个面板的附加类名。 */
|
|
38
|
+
secondPaneClassName?: string;
|
|
39
|
+
/** 第二个面板的内联样式。 */
|
|
40
|
+
secondPaneStyle?: React.CSSProperties;
|
|
41
|
+
/** 自定义分隔手柄内容;传入 null 可隐藏默认握柄。 */
|
|
42
|
+
handle?: React.ReactNode;
|
|
33
43
|
/** 第二个面板保留的最小尺寸。默认 24px。 */
|
|
34
44
|
secondMin?: number;
|
|
35
45
|
/** 可选持久化键;仅保存一个数值尺寸。 */
|
package/dist/Splitter.d.ts
CHANGED
|
@@ -30,6 +30,16 @@ interface SplitterProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "chil
|
|
|
30
30
|
handleClassName?: string;
|
|
31
31
|
/** 原生属性透传到拖拽手柄,可用于设置 aria-label。 */
|
|
32
32
|
handleProps?: Omit<React.HTMLAttributes<HTMLDivElement>, "onPointerDown">;
|
|
33
|
+
/** 第一个面板的附加类名。 */
|
|
34
|
+
firstPaneClassName?: string;
|
|
35
|
+
/** 第一个面板的内联样式,优先级高于内部分栏尺寸样式。 */
|
|
36
|
+
firstPaneStyle?: React.CSSProperties;
|
|
37
|
+
/** 第二个面板的附加类名。 */
|
|
38
|
+
secondPaneClassName?: string;
|
|
39
|
+
/** 第二个面板的内联样式。 */
|
|
40
|
+
secondPaneStyle?: React.CSSProperties;
|
|
41
|
+
/** 自定义分隔手柄内容;传入 null 可隐藏默认握柄。 */
|
|
42
|
+
handle?: React.ReactNode;
|
|
33
43
|
/** 第二个面板保留的最小尺寸。默认 24px。 */
|
|
34
44
|
secondMin?: number;
|
|
35
45
|
/** 可选持久化键;仅保存一个数值尺寸。 */
|
package/dist/Splitter.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Splitter } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { Splitter } from './chunk-J7D5CQDK.js';
|
|
2
|
+
import './chunk-5HLNFDV4.js';
|
|
3
|
+
import './chunk-CPVUDSIY.js';
|
package/dist/StatusBar.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkCLJLBFNU_cjs = require('./chunk-CLJLBFNU.cjs');
|
|
4
|
+
require('./chunk-V6BLBIY6.cjs');
|
|
5
|
+
require('./chunk-I4GJZLJU.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "StatusBar", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkCLJLBFNU_cjs.StatusBar; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "StatusBarItem", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkCLJLBFNU_cjs.StatusBarItem; }
|
|
16
16
|
});
|
package/dist/StatusBar.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { StatusBar, StatusBarItem } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { StatusBar, StatusBarItem } from './chunk-VLQ6XIAL.js';
|
|
2
|
+
import './chunk-5HLNFDV4.js';
|
|
3
|
+
import './chunk-CPVUDSIY.js';
|
package/dist/Surface.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk4MZW2KBN_cjs = require('./chunk-4MZW2KBN.cjs');
|
|
4
4
|
require('./chunk-G5LCOBOT.cjs');
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-V6BLBIY6.cjs');
|
|
6
|
+
require('./chunk-I4GJZLJU.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "SURFACE_THEME_PRESETS", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk4MZW2KBN_cjs.SURFACE_THEME_PRESETS; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "Surface", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk4MZW2KBN_cjs.Surface; }
|
|
17
17
|
});
|
package/dist/Surface.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { SURFACE_THEME_PRESETS, Surface } from './chunk-
|
|
1
|
+
export { SURFACE_THEME_PRESETS, Surface } from './chunk-HAIWLYLR.js';
|
|
2
2
|
import './chunk-TSL3F2K3.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-5HLNFDV4.js';
|
|
4
|
+
import './chunk-CPVUDSIY.js';
|
|
@@ -32,6 +32,9 @@
|
|
|
32
32
|
flex-shrink: 0;
|
|
33
33
|
transition: all var(--dur) var(--ease);
|
|
34
34
|
}
|
|
35
|
+
.switch.invalid .switch-track {
|
|
36
|
+
box-shadow: var(--lmn-switch-neu-shadow-inset, var(--neu-shadow-inset)), 0 0 0 2px color-mix(in oklch, var(--lmn-switch-danger, var(--danger)) 30%, transparent);
|
|
37
|
+
}
|
|
35
38
|
.switch.sm { --w: 36px; --h: 20px; }
|
|
36
39
|
.switch.lg { --w: 58px; --h: 32px; }
|
|
37
40
|
/* When checkedChildren / unCheckedChildren are present, widen the track to fit. */
|
package/dist/Switch.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkUQF7E32V_cjs = require('./chunk-UQF7E32V.cjs');
|
|
4
|
+
require('./chunk-V6BLBIY6.cjs');
|
|
5
|
+
require('./chunk-I4GJZLJU.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Switch", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkUQF7E32V_cjs.Switch; }
|
|
12
12
|
});
|
package/dist/Switch.d.cts
CHANGED
|
@@ -22,6 +22,8 @@ interface SwitchProps extends Omit<React.LabelHTMLAttributes<HTMLLabelElement>,
|
|
|
22
22
|
required?: boolean;
|
|
23
23
|
/** 关联的原生 form 元素 id。 */
|
|
24
24
|
form?: string;
|
|
25
|
+
/** 是否显示错误态,可由 Form.Item 自动注入。 */
|
|
26
|
+
invalid?: boolean;
|
|
25
27
|
}
|
|
26
28
|
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLLabelElement>>;
|
|
27
29
|
|
package/dist/Switch.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ interface SwitchProps extends Omit<React.LabelHTMLAttributes<HTMLLabelElement>,
|
|
|
22
22
|
required?: boolean;
|
|
23
23
|
/** 关联的原生 form 元素 id。 */
|
|
24
24
|
form?: string;
|
|
25
|
+
/** 是否显示错误态,可由 Form.Item 自动注入。 */
|
|
26
|
+
invalid?: boolean;
|
|
25
27
|
}
|
|
26
28
|
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLLabelElement>>;
|
|
27
29
|
|
package/dist/Switch.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Switch } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { Switch } from './chunk-O6PRE6MZ.js';
|
|
2
|
+
import './chunk-5HLNFDV4.js';
|
|
3
|
+
import './chunk-CPVUDSIY.js';
|