@fangxinyan/lumina 0.6.18 → 0.7.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-HVPI6L4V.css → Alert-DJ3K7N7L.css} +9 -9
- package/dist/Alert.cjs +5 -3
- package/dist/Alert.d.cts +2 -2
- package/dist/Alert.d.ts +2 -2
- package/dist/Alert.js +4 -2
- package/dist/{AppShell-FZCD4C56.css → AppShell-OWJRJ4ZD.css} +57 -22
- package/dist/AppShell.cjs +8 -5
- package/dist/AppShell.d.cts +19 -16
- package/dist/AppShell.d.ts +19 -16
- package/dist/AppShell.js +4 -1
- package/dist/{AutoComplete-4YZBMW4E.css → AutoComplete-PNCYHU2T.css} +8 -8
- package/dist/AutoComplete.cjs +9 -6
- package/dist/AutoComplete.d.cts +2 -1
- package/dist/AutoComplete.d.ts +2 -1
- package/dist/AutoComplete.js +8 -5
- package/dist/Avatar-YBU2YZTW.css +48 -0
- package/dist/Avatar.cjs +4 -2
- package/dist/Avatar.d.cts +6 -2
- package/dist/Avatar.d.ts +6 -2
- package/dist/Avatar.js +3 -1
- package/dist/Badge-DBWJEV4C.css +22 -0
- package/dist/Badge.cjs +4 -2
- package/dist/Badge.d.cts +6 -2
- package/dist/Badge.d.ts +6 -2
- package/dist/Badge.js +3 -1
- package/dist/{Button-TUMZUQLI.css → Button-ILNZUX2N.css} +28 -21
- package/dist/Button.cjs +6 -4
- package/dist/Button.d.cts +2 -14
- package/dist/Button.d.ts +2 -14
- package/dist/Button.js +4 -2
- package/dist/{Calendar-I6NHCXIB.css → Calendar-QJ5HWEJQ.css} +26 -26
- package/dist/Calendar.cjs +5 -3
- package/dist/Calendar.d.cts +8 -4
- package/dist/Calendar.d.ts +8 -4
- package/dist/Calendar.js +4 -2
- package/dist/Card-VPMTWAWZ.css +98 -0
- package/dist/Card.cjs +7 -3
- package/dist/Card.d.cts +8 -4
- package/dist/Card.d.ts +8 -4
- package/dist/Card.js +6 -2
- package/dist/Cascader-YBVDK6DC.css +168 -0
- package/dist/Cascader.cjs +9 -6
- package/dist/Cascader.d.cts +21 -3
- package/dist/Cascader.d.ts +21 -3
- package/dist/Cascader.js +8 -5
- package/dist/Checkbox-IHFML4FV.css +50 -0
- package/dist/Checkbox.cjs +5 -3
- package/dist/Checkbox.d.cts +10 -2
- package/dist/Checkbox.d.ts +10 -2
- package/dist/Checkbox.js +4 -2
- package/dist/{Collapse-UNBHEPYP.css → Collapse-BTSBHBSY.css} +12 -7
- package/dist/Collapse.cjs +5 -3
- package/dist/Collapse.d.cts +2 -2
- package/dist/Collapse.d.ts +2 -2
- package/dist/Collapse.js +4 -2
- package/dist/{ColorPicker-LPG6QPYF.css → ColorPicker-GRZOKR5O.css} +17 -32
- package/dist/ColorPicker.cjs +9 -3
- package/dist/ColorPicker.d.cts +7 -11
- package/dist/ColorPicker.d.ts +7 -11
- package/dist/ColorPicker.js +8 -2
- package/dist/{CommandPalette-RTKWNH2D.css → CommandPalette-GHTX7AAA.css} +22 -23
- package/dist/CommandPalette.cjs +8 -5
- package/dist/CommandPalette.d.cts +5 -28
- package/dist/CommandPalette.d.ts +5 -28
- package/dist/CommandPalette.js +7 -4
- package/dist/{ContextMenu-WRR2SSWL.css → ContextMenu-NG524Y2P.css} +17 -17
- package/dist/ContextMenu.cjs +5 -2
- package/dist/ContextMenu.d.cts +2 -19
- package/dist/ContextMenu.d.ts +2 -19
- package/dist/ContextMenu.js +4 -1
- package/dist/{DatePicker-VDVSIARF.css → DatePicker-ZSFDXAYD.css} +4 -4
- package/dist/DatePicker.cjs +11 -8
- package/dist/DatePicker.d.cts +4 -7
- package/dist/DatePicker.d.ts +4 -7
- package/dist/DatePicker.js +10 -7
- package/dist/{DateTimePicker-DRX7XA74.css → DateTimePicker-EWSISVIF.css} +17 -17
- package/dist/DateTimePicker.cjs +11 -8
- package/dist/DateTimePicker.d.cts +4 -8
- package/dist/DateTimePicker.d.ts +4 -8
- package/dist/DateTimePicker.js +10 -7
- package/dist/{Divider-RPQCVH3J.css → Divider-OI2BXPBU.css} +10 -10
- package/dist/Divider.cjs +4 -2
- package/dist/Divider.d.cts +2 -2
- package/dist/Divider.d.ts +2 -2
- package/dist/Divider.js +3 -1
- package/dist/{Drawer-7KICRM4L.css → Drawer-VCXAXWV6.css} +30 -17
- package/dist/Drawer.cjs +6 -3
- package/dist/Drawer.d.cts +25 -3
- package/dist/Drawer.d.ts +25 -3
- package/dist/Drawer.js +5 -2
- package/dist/{Empty-CZTRZMZQ.css → Empty-U5CBLCAL.css} +5 -5
- package/dist/Empty.cjs +4 -2
- package/dist/Empty.d.cts +2 -2
- package/dist/Empty.d.ts +2 -2
- package/dist/Empty.js +3 -1
- package/dist/{Form-NGCQWTMZ.css → Form-DNEDZRJA.css} +7 -7
- package/dist/Form.cjs +7 -4
- package/dist/Form.d.cts +4 -3
- package/dist/Form.d.ts +4 -3
- package/dist/Form.js +4 -1
- package/dist/Icon-HJSUVW4O.css +12 -0
- package/dist/Icon.cjs +51 -49
- package/dist/Icon.d.cts +8 -8
- package/dist/Icon.d.ts +8 -8
- package/dist/Icon.js +3 -1
- package/dist/{Image-NISJRUWX.css → Image-CZJPPURT.css} +25 -23
- package/dist/Image.cjs +10 -7
- package/dist/Image.d.cts +5 -24
- package/dist/Image.d.ts +5 -24
- package/dist/Image.js +6 -3
- package/dist/{Input-7GDPGP3E.css → Input-ZUASNDXM.css} +15 -15
- package/dist/Input.cjs +7 -5
- package/dist/Input.d.cts +2 -1
- package/dist/Input.d.ts +2 -1
- package/dist/Input.js +5 -3
- package/dist/{InputNumber-VXQIWLQC.css → InputNumber-6NHBMRT4.css} +7 -7
- package/dist/InputNumber.cjs +7 -5
- package/dist/InputNumber.d.cts +2 -1
- package/dist/InputNumber.d.ts +2 -1
- package/dist/InputNumber.js +6 -4
- package/dist/List-6BQIFAIT.css +42 -0
- package/dist/List.cjs +4 -2
- package/dist/List.d.cts +2 -2
- package/dist/List.d.ts +2 -2
- package/dist/List.js +3 -1
- package/dist/{Message-H222YGR6.css → Message-OTZWQTQ5.css} +13 -13
- package/dist/Message.cjs +9 -6
- package/dist/Message.d.cts +18 -2
- package/dist/Message.d.ts +18 -2
- package/dist/Message.js +5 -2
- package/dist/{Modal-ZFWNFEA5.css → Modal-UI2FXNDR.css} +29 -18
- package/dist/Modal.cjs +7 -4
- package/dist/Modal.d.cts +13 -2
- package/dist/Modal.d.ts +13 -2
- package/dist/Modal.js +6 -3
- package/dist/Pagination-POJTWMYR.css +70 -0
- package/dist/Pagination.cjs +11 -8
- package/dist/Pagination.d.cts +2 -2
- package/dist/Pagination.d.ts +2 -2
- package/dist/Pagination.js +10 -7
- package/dist/{Popover-Y3LDCJPW.css → Popover-LCXLR3EU.css} +13 -14
- package/dist/Popover.cjs +6 -3
- package/dist/Popover.d.cts +3 -10
- package/dist/Popover.d.ts +3 -10
- package/dist/Popover.js +5 -2
- package/dist/Progress-33WE2NI7.css +90 -0
- package/dist/Progress.cjs +4 -2
- package/dist/Progress.d.cts +4 -2
- package/dist/Progress.d.ts +4 -2
- package/dist/Progress.js +3 -1
- package/dist/{Radio-IQKASYDF.css → Radio-RL7232MZ.css} +21 -13
- package/dist/Radio.cjs +5 -3
- package/dist/Radio.d.cts +18 -5
- package/dist/Radio.d.ts +18 -5
- package/dist/Radio.js +3 -1
- package/dist/{Select-YZ2NUJSX.css → Select-TU37MAHZ.css} +64 -40
- package/dist/Select.cjs +10 -7
- package/dist/Select.d.cts +24 -3
- package/dist/Select.d.ts +24 -3
- package/dist/Select.js +9 -6
- package/dist/{Skeleton-CVWH2VWN.css → Skeleton-FMFE3BRI.css} +9 -4
- package/dist/Skeleton.cjs +4 -2
- package/dist/Skeleton.d.cts +2 -4
- package/dist/Skeleton.d.ts +2 -4
- package/dist/Skeleton.js +3 -1
- package/dist/Slider-FZ5MI4X2.css +145 -0
- package/dist/Slider.cjs +4 -2
- package/dist/Slider.d.cts +6 -5
- package/dist/Slider.d.ts +6 -5
- package/dist/Slider.js +3 -1
- package/dist/{Spin-GONGPV4Q.css → Spin-F5YIEENO.css} +15 -9
- package/dist/Spin.cjs +4 -2
- package/dist/Spin.d.cts +2 -2
- package/dist/Spin.d.ts +2 -2
- package/dist/Spin.js +3 -1
- package/dist/{Splitter-DHNOY4NC.css → Splitter-IQ3PFIKK.css} +4 -4
- package/dist/Splitter.cjs +4 -2
- package/dist/Splitter.d.cts +8 -12
- package/dist/Splitter.d.ts +8 -12
- package/dist/Splitter.js +3 -1
- package/dist/{StatusBar-FJKEEPXU.css → StatusBar-TCGR3LXP.css} +23 -9
- package/dist/StatusBar.cjs +5 -3
- package/dist/StatusBar.d.cts +5 -17
- package/dist/StatusBar.d.ts +5 -17
- package/dist/StatusBar.js +3 -1
- package/dist/{Surface-UDDN3DGL.css → Surface-CTN775GD.css} +10 -10
- package/dist/Surface.cjs +6 -5
- package/dist/Surface.d.cts +10 -1
- package/dist/Surface.d.ts +10 -1
- package/dist/Surface.js +4 -3
- package/dist/{Switch-COAQIOMH.css → Switch-TATU3LPB.css} +16 -8
- package/dist/Switch.cjs +4 -2
- package/dist/Switch.d.cts +10 -4
- package/dist/Switch.d.ts +10 -4
- package/dist/Switch.js +3 -1
- package/dist/{Table-IWHIIGRJ.css → Table-W4HPZ7MZ.css} +78 -53
- package/dist/Table.cjs +14 -10
- package/dist/Table.d.cts +32 -3
- package/dist/Table.d.ts +32 -3
- package/dist/Table.js +13 -9
- package/dist/{TablePro-3NGWERWT.css → TablePro-WYE6TXWJ.css} +5 -5
- package/dist/TablePro.cjs +15 -11
- package/dist/TablePro.d.cts +1 -0
- package/dist/TablePro.d.ts +1 -0
- package/dist/TablePro.js +14 -10
- package/dist/{Tabs-X5U5PCPV.css → Tabs-A3IG6UZ6.css} +10 -10
- package/dist/Tabs.cjs +4 -2
- package/dist/Tabs.d.cts +2 -2
- package/dist/Tabs.d.ts +2 -2
- package/dist/Tabs.js +3 -1
- package/dist/Tag-5GIZLRAH.css +42 -0
- package/dist/Tag.cjs +5 -3
- package/dist/Tag.d.cts +2 -2
- package/dist/Tag.d.ts +2 -2
- package/dist/Tag.js +4 -2
- package/dist/{Textarea-YHWKHIFE.css → Textarea-ZGHBZNLX.css} +10 -10
- package/dist/Textarea.cjs +6 -4
- package/dist/Textarea.d.cts +2 -4
- package/dist/Textarea.d.ts +2 -4
- package/dist/Textarea.js +4 -2
- package/dist/Theme-CLedeJ_C.d.ts +193 -0
- package/dist/Theme-uQq2B0Yk.d.cts +193 -0
- package/dist/Theme.cjs +57 -11
- package/dist/Theme.d.cts +26 -145
- package/dist/Theme.d.ts +26 -145
- package/dist/Theme.js +3 -1
- package/dist/{ThemePanel-TEHB2JCQ.css → ThemePanel-EHNAS4RN.css} +52 -52
- package/dist/ThemePanel.cjs +17 -15
- package/dist/ThemePanel.d.cts +3 -13
- package/dist/ThemePanel.d.ts +3 -13
- package/dist/ThemePanel.js +14 -12
- package/dist/{TimePicker-ZBJOXH3U.css → TimePicker-WJ3FSK6A.css} +17 -17
- package/dist/TimePicker.cjs +10 -7
- package/dist/TimePicker.d.cts +2 -8
- package/dist/TimePicker.d.ts +2 -8
- package/dist/TimePicker.js +9 -6
- package/dist/{Timeline-CRFZ3I2W.css → Timeline-FUFO2UGY.css} +28 -13
- package/dist/Timeline.cjs +5 -3
- package/dist/Timeline.d.cts +2 -7
- package/dist/Timeline.d.ts +2 -7
- package/dist/Timeline.js +4 -2
- package/dist/{Tooltip-5FSPJWLX.css → Tooltip-2EUNTOTW.css} +3 -3
- package/dist/Tooltip.cjs +6 -3
- package/dist/Tooltip.d.cts +2 -2
- package/dist/Tooltip.d.ts +2 -2
- package/dist/Tooltip.js +5 -2
- package/dist/{Typography-32QQLD4F.css → Typography-CQ2OZXQH.css} +105 -42
- package/dist/Typography.cjs +11 -8
- package/dist/Typography.d.cts +12 -36
- package/dist/Typography.d.ts +12 -36
- package/dist/Typography.js +6 -3
- package/dist/chunk-2A4GYSN4.js +294 -0
- package/dist/{chunk-QMX67CVT.cjs → chunk-2AUXUZ3Z.cjs} +56 -31
- package/dist/chunk-2BIOTRQC.js +40 -0
- package/dist/{chunk-A6O25EP2.js → chunk-2HIN5NFM.js} +14 -6
- package/dist/{chunk-I7TOBKJO.js → chunk-3DKFS44V.js} +84 -23
- package/dist/{chunk-E22OIVYP.js → chunk-3EHJ5QI3.js} +202 -69
- package/dist/{chunk-X5MYHDEQ.cjs → chunk-3EMWDDWK.cjs} +372 -117
- package/dist/chunk-3F424R5P.js +143 -0
- package/dist/chunk-3IZZBM56.js +269 -0
- package/dist/{chunk-DUFRASGO.js → chunk-3QXP2ZNP.js} +18 -23
- package/dist/{chunk-5QEI7GGA.cjs → chunk-434Y2JVW.cjs} +60 -27
- package/dist/{chunk-SOCYOUGM.js → chunk-4SKHRPDH.js} +168 -64
- package/dist/{chunk-L6GIV5DQ.cjs → chunk-56I6ZKGU.cjs} +40 -22
- package/dist/{chunk-R3DTXVP2.js → chunk-5AXNUX3J.js} +8 -5
- package/dist/chunk-5CZA33BK.cjs +229 -0
- package/dist/{chunk-6K5YI4ZE.js → chunk-62VV5COT.js} +16 -6
- package/dist/chunk-6DKPJ5LV.cjs +294 -0
- package/dist/{chunk-OTSDPQPV.js → chunk-6RQJXSWN.js} +50 -30
- package/dist/{chunk-V5KUC5VH.cjs → chunk-77HU7JWK.cjs} +40 -13
- package/dist/chunk-7QAVPVMW.js +180 -0
- package/dist/chunk-7VLAHOA7.cjs +191 -0
- package/dist/chunk-ALAG4ZUH.js +72 -0
- package/dist/chunk-ARUN2DMD.js +39 -0
- package/dist/chunk-AUO2YYHB.js +248 -0
- package/dist/{chunk-6MEOLYNQ.js → chunk-AURYNA6G.js} +6 -5
- package/dist/chunk-BIPOXOHP.cjs +287 -0
- package/dist/{chunk-V5SQOZPF.js → chunk-BJDQVVCG.js} +38 -20
- package/dist/{chunk-BVQOJKRX.js → chunk-BKW5PXEO.js} +115 -72
- package/dist/{chunk-UW57F3UO.cjs → chunk-D7YSY5RZ.cjs} +208 -75
- package/dist/chunk-DRDDQCDD.js +322 -0
- package/dist/chunk-DU2DSERH.js +190 -0
- package/dist/{chunk-PSQ3HNZP.cjs → chunk-E66PSVBU.cjs} +106 -19
- package/dist/{chunk-UGAN4BBW.js → chunk-EA3NZBCZ.js} +251 -125
- package/dist/chunk-EAUB6FEN.js +262 -0
- package/dist/chunk-EE5KXDRK.cjs +1223 -0
- package/dist/chunk-EE7IJ3MB.js +1 -0
- package/dist/{chunk-NXBFEIUX.cjs → chunk-ENFLP7SN.cjs} +255 -129
- package/dist/chunk-EUTK2ZRJ.cjs +61 -0
- package/dist/{chunk-HSAJUEO7.cjs → chunk-F7WUCOBP.cjs} +150 -86
- package/dist/{chunk-YB3IWIOJ.cjs → chunk-FJB3243S.cjs} +18 -23
- package/dist/chunk-FKCPSVC4.cjs +188 -0
- package/dist/chunk-FMUHLIHB.cjs +94 -0
- package/dist/chunk-FY73C7JK.js +520 -0
- package/dist/{chunk-6EOSMK34.cjs → chunk-G5LCOBOT.cjs} +20 -1
- package/dist/{chunk-5ERD3W24.cjs → chunk-GFKWSDD6.cjs} +18 -8
- package/dist/{chunk-T2O4DTDE.cjs → chunk-GTFP7HA3.cjs} +58 -32
- package/dist/chunk-HQFKXTX6.js +60 -0
- package/dist/chunk-HSDMJUB6.cjs +319 -0
- package/dist/chunk-HVPUGYBY.js +166 -0
- package/dist/chunk-HYHBCHFM.cjs +167 -0
- package/dist/chunk-HYJSMFZA.cjs +2 -0
- package/dist/chunk-I4YPBAQ5.js +163 -0
- package/dist/{chunk-IPSNC5VZ.js → chunk-JHM7MN3G.js} +15 -7
- package/dist/{chunk-4ACCOYBY.cjs → chunk-JINKQT6H.cjs} +20 -8
- package/dist/{chunk-6Q76VLCE.cjs → chunk-JKUXA3U6.cjs} +50 -30
- package/dist/{chunk-D7GK6H6V.js → chunk-K5HGHOG7.js} +50 -21
- package/dist/chunk-KATJAJUU.js +78 -0
- package/dist/chunk-KCDOC3HS.cjs +100 -0
- package/dist/{chunk-M4NJTJKV.cjs → chunk-LDX6Q6RK.cjs} +8 -5
- package/dist/chunk-LEDESWNL.js +83 -0
- package/dist/chunk-LG62MPMU.cjs +213 -0
- package/dist/{chunk-7NTTRKNT.js → chunk-LJVQQEME.js} +54 -28
- package/dist/chunk-LOWTSOWT.js +199 -0
- package/dist/{chunk-FDZG27IG.js → chunk-LQMOYVQF.js} +57 -32
- package/dist/{chunk-P2OQTJZP.cjs → chunk-MCDW3VKZ.cjs} +17 -6
- package/dist/{chunk-BT2RXFT4.cjs → chunk-MUZQWIMR.cjs} +121 -78
- package/dist/chunk-NRJXZPZR.cjs +351 -0
- package/dist/chunk-O6G3F5L4.js +311 -0
- package/dist/{chunk-3VSHGM54.js → chunk-OLYSSZHP.js} +126 -68
- package/dist/{chunk-A4Z7PLHV.cjs → chunk-PIJV2FHO.cjs} +135 -77
- package/dist/{chunk-FYSXJXNW.js → chunk-PQOBBASY.js} +10 -9
- package/dist/chunk-Q565GDVK.cjs +205 -0
- package/dist/{chunk-FDUQPAQE.cjs → chunk-Q5HLC56A.cjs} +122 -28
- package/dist/chunk-QDCPVI3S.cjs +333 -0
- package/dist/{chunk-ZR4IMROK.js → chunk-QDMFXRPI.js} +122 -28
- package/dist/chunk-QDY56GGO.js +234 -0
- package/dist/{chunk-4KDABJSY.cjs → chunk-QNQSNVCU.cjs} +86 -25
- package/dist/chunk-QYPA77OI.cjs +55 -0
- package/dist/chunk-RAK6CENJ.js +83 -0
- package/dist/{chunk-BW76ENTW.cjs → chunk-RERMZNF3.cjs} +10 -9
- package/dist/chunk-RMGFRAZ2.cjs +270 -0
- package/dist/chunk-RPO7657K.js +228 -0
- package/dist/chunk-STQDKMS5.cjs +288 -0
- package/dist/{chunk-HG6YS4I7.js → chunk-SXLRWYQQ.js} +71 -24
- package/dist/{chunk-SW2HMNCA.cjs → chunk-T4RR6NVU.cjs} +17 -9
- package/dist/{chunk-6SPMHY54.js → chunk-TSL3F2K3.js} +20 -2
- package/dist/{chunk-BNY2NVTL.cjs → chunk-TYZ6L7E6.cjs} +48 -28
- package/dist/{chunk-MOZ52KN6.js → chunk-U3SG2YT2.js} +39 -12
- package/dist/{chunk-POU3W5J3.cjs → chunk-U5YYOOLC.cjs} +13 -6
- package/dist/chunk-U7VEPMCX.cjs +221 -0
- package/dist/chunk-UE4HFGJ6.js +264 -0
- package/dist/chunk-ULTDRMGN.js +1175 -0
- package/dist/{chunk-6HF6UF73.js → chunk-UQI4R32R.js} +368 -113
- package/dist/{chunk-MWEHU7YO.cjs → chunk-VA3JWOAB.cjs} +172 -68
- package/dist/chunk-VQEMMJHC.js +33 -0
- package/dist/{chunk-S2ZGXBUH.cjs → chunk-VVRXNGYL.cjs} +218 -42
- package/dist/{chunk-JMFHL7GN.cjs → chunk-VX6MZO4K.cjs} +100 -22
- package/dist/{chunk-2FOC3D6X.js → chunk-WMZV7PNO.js} +19 -7
- package/dist/{chunk-MYW7LNB2.cjs → chunk-WROF2PVG.cjs} +40 -21
- package/dist/chunk-XZXY3XCL.cjs +105 -0
- package/dist/{chunk-5VOUUQF5.js → chunk-Y22PTPA7.js} +145 -81
- package/dist/chunk-Y2MT6PI6.js +207 -0
- package/dist/chunk-YAYSXZZZ.cjs +82 -0
- package/dist/{chunk-6LN4VVX7.js → chunk-YBGMTQ2V.js} +48 -28
- package/dist/{chunk-TYLDISRK.js → chunk-YKHIIC7M.js} +13 -6
- package/dist/{chunk-3VXGZ3SJ.js → chunk-YPMQC5HX.js} +57 -24
- package/dist/{chunk-UWL6DRZW.cjs → chunk-YUJ7Z6N2.cjs} +74 -27
- package/dist/{chunk-LEMMFFEY.cjs → chunk-ZEYK37VW.cjs} +15 -7
- package/dist/{chunk-ES7AWMNH.cjs → chunk-ZHVR4YPB.cjs} +6 -5
- package/dist/{chunk-MPOO5VPW.cjs → chunk-ZYIE3BH7.cjs} +50 -21
- package/dist/componentThemeTypes-Jt4B5aU8.d.cts +77 -0
- package/dist/componentThemeTypes-Jt4B5aU8.d.ts +77 -0
- package/dist/index.cjs +253 -206
- package/dist/index.d.cts +11 -9
- package/dist/index.d.ts +11 -9
- package/dist/index.js +56 -53
- package/dist/styles.css +1628 -701
- package/dist/{tokens-RYJ3DFTU.css → tokens-CEJVVA3G.css} +10 -0
- package/dist/tokens.css +10 -0
- package/docs/llms/appshell.md +9 -6
- package/docs/llms/autocomplete.md +8 -2
- package/docs/llms/avatar.md +2 -0
- package/docs/llms/badge.md +2 -0
- package/docs/llms/calendar.md +7 -2
- package/docs/llms/card.md +20 -1
- package/docs/llms/cascader.md +27 -5
- package/docs/llms/checkbox.md +13 -0
- package/docs/llms/collapse.md +13 -5
- package/docs/llms/colorpicker.md +4 -3
- package/docs/llms/commandpalette.md +10 -2
- package/docs/llms/contextmenu.md +14 -2
- package/docs/llms/datepicker.md +7 -0
- package/docs/llms/datetimepicker.md +7 -0
- package/docs/llms/drawer.md +20 -4
- package/docs/llms/form.md +5 -2
- package/docs/llms/icon.md +25 -1
- package/docs/llms/image.md +3 -3
- package/docs/llms/list.md +11 -0
- package/docs/llms/message.md +31 -8
- package/docs/llms/modal.md +20 -8
- package/docs/llms/pagination.md +12 -4
- package/docs/llms/popover.md +11 -1
- package/docs/llms/progress.md +1 -0
- package/docs/llms/radio.md +13 -0
- package/docs/llms/select.md +29 -2
- package/docs/llms/sidebar.md +24 -0
- package/docs/llms/slider.md +5 -2
- package/docs/llms/splitter.md +5 -2
- package/docs/llms/switch.md +13 -0
- package/docs/llms/table.md +7 -8
- package/docs/llms/theme.md +83 -28
- package/docs/llms/themepanel.md +1 -0
- package/docs/llms/titlebar.md +1 -0
- package/docs/llms/tooltip.md +7 -2
- package/docs/llms/typography.md +27 -3
- package/docs/llms/windowcontrols.md +11 -3
- package/docs/llms.md +2 -2
- package/package.json +212 -2
- package/dist/Avatar-TNPOHVY5.css +0 -40
- package/dist/Badge-DPGLV3D3.css +0 -22
- package/dist/Card-W3ATFUJW.css +0 -77
- package/dist/Cascader-ANEQUPMI.css +0 -150
- package/dist/Checkbox-EDNPZRIP.css +0 -42
- package/dist/List-LSMU5QAC.css +0 -26
- package/dist/Pagination-YSZSNFHG.css +0 -68
- package/dist/Progress-CZNXCYGW.css +0 -80
- package/dist/Slider-UM2IZZBH.css +0 -127
- package/dist/Tag-G2XWAL7A.css +0 -42
- package/dist/chunk-262ED6WQ.cjs +0 -88
- package/dist/chunk-4HJBF4GY.js +0 -218
- package/dist/chunk-4TTRHEGM.cjs +0 -217
- package/dist/chunk-5A6KSYWA.cjs +0 -67
- package/dist/chunk-5MOYKVB7.js +0 -192
- package/dist/chunk-7IO3EOHN.cjs +0 -200
- package/dist/chunk-7QXP6DXC.cjs +0 -129
- package/dist/chunk-AAPZLBHQ.js +0 -165
- package/dist/chunk-ARUPS7JH.js +0 -66
- package/dist/chunk-ATUPFAPZ.cjs +0 -76
- package/dist/chunk-CFZVWY5N.js +0 -178
- package/dist/chunk-DSLYWX4O.js +0 -25
- package/dist/chunk-FQJY4D3T.cjs +0 -47
- package/dist/chunk-GNV6W4BN.js +0 -495
- package/dist/chunk-HBO7ZDEQ.js +0 -29
- package/dist/chunk-I777JTTG.js +0 -150
- package/dist/chunk-IOAOG5L7.js +0 -191
- package/dist/chunk-IOUAZYK2.cjs +0 -116
- package/dist/chunk-IZHH6CVY.js +0 -123
- package/dist/chunk-JFL2WMJZ.js +0 -106
- package/dist/chunk-KMPFESEV.js +0 -41
- package/dist/chunk-KYV75JPQ.js +0 -147
- package/dist/chunk-N7OQNSII.cjs +0 -145
- package/dist/chunk-P64NPZBG.js +0 -113
- package/dist/chunk-PKNRTFNE.cjs +0 -526
- package/dist/chunk-PU7VXDAS.js +0 -64
- package/dist/chunk-RFI5R42I.cjs +0 -138
- package/dist/chunk-RR2BKV65.js +0 -39
- package/dist/chunk-RSSOX4RQ.cjs +0 -240
- package/dist/chunk-RZEFKXL3.cjs +0 -104
- package/dist/chunk-S7IHWY24.js +0 -81
- package/dist/chunk-SOQ56ZI2.cjs +0 -49
- package/dist/chunk-TBNPJPYG.cjs +0 -61
- package/dist/chunk-TJECLLN4.js +0 -344
- package/dist/chunk-ULUD3FED.cjs +0 -138
- package/dist/chunk-VA2I7ZAL.cjs +0 -190
- package/dist/chunk-VS3I5OKA.cjs +0 -214
- package/dist/chunk-WMGMIE2D.js +0 -113
- package/dist/chunk-X7XP6GEI.cjs +0 -63
- package/dist/chunk-XCXUGHDF.js +0 -91
- package/dist/chunk-YAFDVNXT.js +0 -27
- package/dist/chunk-ZD3L4V3H.js +0 -54
- package/dist/chunk-ZTCRD2FL.js +0 -45
package/dist/Icon.cjs
CHANGED
|
@@ -1,198 +1,200 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2AUXUZ3Z_cjs = require('./chunk-2AUXUZ3Z.cjs');
|
|
4
|
+
require('./chunk-NRJXZPZR.cjs');
|
|
5
|
+
require('./chunk-EE5KXDRK.cjs');
|
|
4
6
|
|
|
5
7
|
|
|
6
8
|
|
|
7
9
|
Object.defineProperty(exports, "AimOutlined", {
|
|
8
10
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk2AUXUZ3Z_cjs.AimOutlined; }
|
|
10
12
|
});
|
|
11
13
|
Object.defineProperty(exports, "AppstoreOutlined", {
|
|
12
14
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk2AUXUZ3Z_cjs.AppstoreOutlined; }
|
|
14
16
|
});
|
|
15
17
|
Object.defineProperty(exports, "BarChartOutlined", {
|
|
16
18
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk2AUXUZ3Z_cjs.BarChartOutlined; }
|
|
18
20
|
});
|
|
19
21
|
Object.defineProperty(exports, "BlockOutlined", {
|
|
20
22
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk2AUXUZ3Z_cjs.BlockOutlined; }
|
|
22
24
|
});
|
|
23
25
|
Object.defineProperty(exports, "BorderOutlined", {
|
|
24
26
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk2AUXUZ3Z_cjs.BorderOutlined; }
|
|
26
28
|
});
|
|
27
29
|
Object.defineProperty(exports, "CameraOutlined", {
|
|
28
30
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk2AUXUZ3Z_cjs.CameraOutlined; }
|
|
30
32
|
});
|
|
31
33
|
Object.defineProperty(exports, "CaretDownOutlined", {
|
|
32
34
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk2AUXUZ3Z_cjs.CaretDownOutlined; }
|
|
34
36
|
});
|
|
35
37
|
Object.defineProperty(exports, "CaretUpOutlined", {
|
|
36
38
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunk2AUXUZ3Z_cjs.CaretUpOutlined; }
|
|
38
40
|
});
|
|
39
41
|
Object.defineProperty(exports, "CheckCircleFilled", {
|
|
40
42
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunk2AUXUZ3Z_cjs.CheckCircleFilled; }
|
|
42
44
|
});
|
|
43
45
|
Object.defineProperty(exports, "CheckCircleOutlined", {
|
|
44
46
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunk2AUXUZ3Z_cjs.CheckCircleOutlined; }
|
|
46
48
|
});
|
|
47
49
|
Object.defineProperty(exports, "CheckOutlined", {
|
|
48
50
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunk2AUXUZ3Z_cjs.CheckOutlined; }
|
|
50
52
|
});
|
|
51
53
|
Object.defineProperty(exports, "ClockCircleFilled", {
|
|
52
54
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunk2AUXUZ3Z_cjs.ClockCircleFilled; }
|
|
54
56
|
});
|
|
55
57
|
Object.defineProperty(exports, "CloseCircleOutlined", {
|
|
56
58
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunk2AUXUZ3Z_cjs.CloseCircleOutlined; }
|
|
58
60
|
});
|
|
59
61
|
Object.defineProperty(exports, "CloseOutlined", {
|
|
60
62
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunk2AUXUZ3Z_cjs.CloseOutlined; }
|
|
62
64
|
});
|
|
63
65
|
Object.defineProperty(exports, "CopyOutlined", {
|
|
64
66
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunk2AUXUZ3Z_cjs.CopyOutlined; }
|
|
66
68
|
});
|
|
67
69
|
Object.defineProperty(exports, "DashboardOutlined", {
|
|
68
70
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunk2AUXUZ3Z_cjs.DashboardOutlined; }
|
|
70
72
|
});
|
|
71
73
|
Object.defineProperty(exports, "DeleteOutlined", {
|
|
72
74
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunk2AUXUZ3Z_cjs.DeleteOutlined; }
|
|
74
76
|
});
|
|
75
77
|
Object.defineProperty(exports, "DownOutlined", {
|
|
76
78
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunk2AUXUZ3Z_cjs.DownOutlined; }
|
|
78
80
|
});
|
|
79
81
|
Object.defineProperty(exports, "EnvironmentOutlined", {
|
|
80
82
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunk2AUXUZ3Z_cjs.EnvironmentOutlined; }
|
|
82
84
|
});
|
|
83
85
|
Object.defineProperty(exports, "ExclamationCircleOutlined", {
|
|
84
86
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunk2AUXUZ3Z_cjs.ExclamationCircleOutlined; }
|
|
86
88
|
});
|
|
87
89
|
Object.defineProperty(exports, "FolderOpenOutlined", {
|
|
88
90
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunk2AUXUZ3Z_cjs.FolderOpenOutlined; }
|
|
90
92
|
});
|
|
91
93
|
Object.defineProperty(exports, "ICON_NAMES", {
|
|
92
94
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunk2AUXUZ3Z_cjs.ICON_NAMES; }
|
|
94
96
|
});
|
|
95
97
|
Object.defineProperty(exports, "Icon", {
|
|
96
98
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunk2AUXUZ3Z_cjs.Icon; }
|
|
98
100
|
});
|
|
99
101
|
Object.defineProperty(exports, "LeftOutlined", {
|
|
100
102
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunk2AUXUZ3Z_cjs.LeftOutlined; }
|
|
102
104
|
});
|
|
103
105
|
Object.defineProperty(exports, "LoadingOutlined", {
|
|
104
106
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunk2AUXUZ3Z_cjs.LoadingOutlined; }
|
|
106
108
|
});
|
|
107
109
|
Object.defineProperty(exports, "MinusCircleOutlined", {
|
|
108
110
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunk2AUXUZ3Z_cjs.MinusCircleOutlined; }
|
|
110
112
|
});
|
|
111
113
|
Object.defineProperty(exports, "MinusOutlined", {
|
|
112
114
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunk2AUXUZ3Z_cjs.MinusOutlined; }
|
|
114
116
|
});
|
|
115
117
|
Object.defineProperty(exports, "NAMED_ICON_MAP", {
|
|
116
118
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunk2AUXUZ3Z_cjs.NAMED_ICON_MAP; }
|
|
118
120
|
});
|
|
119
121
|
Object.defineProperty(exports, "PictureOutlined", {
|
|
120
122
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunk2AUXUZ3Z_cjs.PictureOutlined; }
|
|
122
124
|
});
|
|
123
125
|
Object.defineProperty(exports, "PlusOutlined", {
|
|
124
126
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunk2AUXUZ3Z_cjs.PlusOutlined; }
|
|
126
128
|
});
|
|
127
129
|
Object.defineProperty(exports, "QqOutlined", {
|
|
128
130
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunk2AUXUZ3Z_cjs.QqOutlined; }
|
|
130
132
|
});
|
|
131
133
|
Object.defineProperty(exports, "ReloadOutlined", {
|
|
132
134
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunk2AUXUZ3Z_cjs.ReloadOutlined; }
|
|
134
136
|
});
|
|
135
137
|
Object.defineProperty(exports, "RightOutlined", {
|
|
136
138
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunk2AUXUZ3Z_cjs.RightOutlined; }
|
|
138
140
|
});
|
|
139
141
|
Object.defineProperty(exports, "RobotOutlined", {
|
|
140
142
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunk2AUXUZ3Z_cjs.RobotOutlined; }
|
|
142
144
|
});
|
|
143
145
|
Object.defineProperty(exports, "SearchOutlined", {
|
|
144
146
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunk2AUXUZ3Z_cjs.SearchOutlined; }
|
|
146
148
|
});
|
|
147
149
|
Object.defineProperty(exports, "SettingOutlined", {
|
|
148
150
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunk2AUXUZ3Z_cjs.SettingOutlined; }
|
|
150
152
|
});
|
|
151
153
|
Object.defineProperty(exports, "StarFilled", {
|
|
152
154
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunk2AUXUZ3Z_cjs.StarFilled; }
|
|
154
156
|
});
|
|
155
157
|
Object.defineProperty(exports, "StarOutlined", {
|
|
156
158
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunk2AUXUZ3Z_cjs.StarOutlined; }
|
|
158
160
|
});
|
|
159
161
|
Object.defineProperty(exports, "SwapOutlined", {
|
|
160
162
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunk2AUXUZ3Z_cjs.SwapOutlined; }
|
|
162
164
|
});
|
|
163
165
|
Object.defineProperty(exports, "SwapRightOutlined", {
|
|
164
166
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunk2AUXUZ3Z_cjs.SwapRightOutlined; }
|
|
166
168
|
});
|
|
167
169
|
Object.defineProperty(exports, "SyncOutlined", {
|
|
168
170
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunk2AUXUZ3Z_cjs.SyncOutlined; }
|
|
170
172
|
});
|
|
171
173
|
Object.defineProperty(exports, "ThunderboltOutlined", {
|
|
172
174
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunk2AUXUZ3Z_cjs.ThunderboltOutlined; }
|
|
174
176
|
});
|
|
175
177
|
Object.defineProperty(exports, "TranslationOutlined", {
|
|
176
178
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunk2AUXUZ3Z_cjs.TranslationOutlined; }
|
|
178
180
|
});
|
|
179
181
|
Object.defineProperty(exports, "UnorderedListOutlined", {
|
|
180
182
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunk2AUXUZ3Z_cjs.UnorderedListOutlined; }
|
|
182
184
|
});
|
|
183
185
|
Object.defineProperty(exports, "UserOutlined", {
|
|
184
186
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunk2AUXUZ3Z_cjs.UserOutlined; }
|
|
186
188
|
});
|
|
187
189
|
Object.defineProperty(exports, "isIconName", {
|
|
188
190
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
191
|
+
get: function () { return chunk2AUXUZ3Z_cjs.isIconName; }
|
|
190
192
|
});
|
|
191
193
|
Object.defineProperty(exports, "renderIconSlot", {
|
|
192
194
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
195
|
+
get: function () { return chunk2AUXUZ3Z_cjs.renderIconSlot; }
|
|
194
196
|
});
|
|
195
197
|
Object.defineProperty(exports, "resolveIconName", {
|
|
196
198
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
199
|
+
get: function () { return chunk2AUXUZ3Z_cjs.resolveIconName; }
|
|
198
200
|
});
|
package/dist/Icon.d.cts
CHANGED
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-Jt4B5aU8.cjs';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Name of a built-in icon. To add your own, pass `children` (raw SVG paths) instead.
|
|
6
7
|
*/
|
|
7
8
|
type IconName = "search" | "plus" | "minus" | "check" | "x" | "chevDown" | "chevRight" | "chevLeft" | "chevUp" | "arrowRight" | "settings" | "user" | "bell" | "mail" | "heart" | "star" | "home" | "folder" | "file" | "image" | "play" | "pause" | "volume" | "trash" | "edit" | "copy" | "download" | "upload" | "info" | "alert" | "check2" | "eye" | "eyeOff" | "sparkle" | "moon" | "sun" | "palette" | "layers" | "grid" | "list" | "zap" | "filter" | "mic" | "send" | "calendar" | "clock" | "menu" | "more" | "sliders" | "aim" | "swap" | "camera" | "qq" | "code" | "appstore" | "barChart" | "block" | "border" | "caretDown" | "caretUp" | "checkCircle" | "checkCircleFilled" | "clockCircleFilled" | "closeCircle" | "dashboard" | "environment" | "exclamationCircle" | "folderOpen" | "loading" | "minusCircle" | "picture" | "reload" | "robot" | "swapRight" | "sync" | "translate" | "unorderedList" | "starFilled";
|
|
8
|
-
interface IconProps extends Omit<React.SVGAttributes<SVGSVGElement>, "stroke"
|
|
9
|
+
interface IconProps extends Omit<React.SVGAttributes<SVGSVGElement>, "stroke">, ComponentThemeProps {
|
|
9
10
|
name: IconName;
|
|
10
11
|
size?: number | string;
|
|
11
12
|
stroke?: number;
|
|
13
|
+
/** 为语义图标提供可访问标题;未提供任何名称时图标默认视为装饰。 */
|
|
14
|
+
title?: string;
|
|
12
15
|
}
|
|
13
16
|
type IconSlot = IconName | React.ReactNode;
|
|
14
|
-
/**
|
|
15
|
-
* `Icon` — stroked line icon set, sized in pixels, inherits `currentColor`.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* <Icon name="plus" size={18} />
|
|
19
|
-
*/
|
|
20
17
|
declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
|
|
21
18
|
declare const isIconName: (value: IconSlot) => value is IconName;
|
|
22
19
|
interface RenderIconSlotOptions {
|
|
@@ -71,9 +68,12 @@ declare const NAMED_ICON_MAP: {
|
|
|
71
68
|
};
|
|
72
69
|
type NamedIconComponentName = keyof typeof NAMED_ICON_MAP;
|
|
73
70
|
declare const resolveIconName: (name: string, fallback?: IconName) => IconName;
|
|
74
|
-
interface NamedIconProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "children"
|
|
71
|
+
interface NamedIconProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "children">, ComponentThemeProps {
|
|
72
|
+
/** 是否播放旋转动画。LoadingOutlined 默认启用。 */
|
|
75
73
|
spin?: boolean;
|
|
74
|
+
/** 静态顺时针旋转角度,单位为度。 */
|
|
76
75
|
rotate?: number;
|
|
76
|
+
/** 图标尺寸,支持数字像素值或 CSS 长度。 */
|
|
77
77
|
size?: number | string;
|
|
78
78
|
}
|
|
79
79
|
declare const AimOutlined: React.ForwardRefExoticComponent<NamedIconProps & React.RefAttributes<HTMLSpanElement>>;
|
package/dist/Icon.d.ts
CHANGED
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-Jt4B5aU8.js';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Name of a built-in icon. To add your own, pass `children` (raw SVG paths) instead.
|
|
6
7
|
*/
|
|
7
8
|
type IconName = "search" | "plus" | "minus" | "check" | "x" | "chevDown" | "chevRight" | "chevLeft" | "chevUp" | "arrowRight" | "settings" | "user" | "bell" | "mail" | "heart" | "star" | "home" | "folder" | "file" | "image" | "play" | "pause" | "volume" | "trash" | "edit" | "copy" | "download" | "upload" | "info" | "alert" | "check2" | "eye" | "eyeOff" | "sparkle" | "moon" | "sun" | "palette" | "layers" | "grid" | "list" | "zap" | "filter" | "mic" | "send" | "calendar" | "clock" | "menu" | "more" | "sliders" | "aim" | "swap" | "camera" | "qq" | "code" | "appstore" | "barChart" | "block" | "border" | "caretDown" | "caretUp" | "checkCircle" | "checkCircleFilled" | "clockCircleFilled" | "closeCircle" | "dashboard" | "environment" | "exclamationCircle" | "folderOpen" | "loading" | "minusCircle" | "picture" | "reload" | "robot" | "swapRight" | "sync" | "translate" | "unorderedList" | "starFilled";
|
|
8
|
-
interface IconProps extends Omit<React.SVGAttributes<SVGSVGElement>, "stroke"
|
|
9
|
+
interface IconProps extends Omit<React.SVGAttributes<SVGSVGElement>, "stroke">, ComponentThemeProps {
|
|
9
10
|
name: IconName;
|
|
10
11
|
size?: number | string;
|
|
11
12
|
stroke?: number;
|
|
13
|
+
/** 为语义图标提供可访问标题;未提供任何名称时图标默认视为装饰。 */
|
|
14
|
+
title?: string;
|
|
12
15
|
}
|
|
13
16
|
type IconSlot = IconName | React.ReactNode;
|
|
14
|
-
/**
|
|
15
|
-
* `Icon` — stroked line icon set, sized in pixels, inherits `currentColor`.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* <Icon name="plus" size={18} />
|
|
19
|
-
*/
|
|
20
17
|
declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
|
|
21
18
|
declare const isIconName: (value: IconSlot) => value is IconName;
|
|
22
19
|
interface RenderIconSlotOptions {
|
|
@@ -71,9 +68,12 @@ declare const NAMED_ICON_MAP: {
|
|
|
71
68
|
};
|
|
72
69
|
type NamedIconComponentName = keyof typeof NAMED_ICON_MAP;
|
|
73
70
|
declare const resolveIconName: (name: string, fallback?: IconName) => IconName;
|
|
74
|
-
interface NamedIconProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "children"
|
|
71
|
+
interface NamedIconProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "children">, ComponentThemeProps {
|
|
72
|
+
/** 是否播放旋转动画。LoadingOutlined 默认启用。 */
|
|
75
73
|
spin?: boolean;
|
|
74
|
+
/** 静态顺时针旋转角度,单位为度。 */
|
|
76
75
|
rotate?: number;
|
|
76
|
+
/** 图标尺寸,支持数字像素值或 CSS 长度。 */
|
|
77
77
|
size?: number | string;
|
|
78
78
|
}
|
|
79
79
|
declare const AimOutlined: React.ForwardRefExoticComponent<NamedIconProps & React.RefAttributes<HTMLSpanElement>>;
|
package/dist/Icon.js
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
export { AimOutlined, AppstoreOutlined, BarChartOutlined, BlockOutlined, BorderOutlined, CameraOutlined, CaretDownOutlined, CaretUpOutlined, CheckCircleFilled, CheckCircleOutlined, CheckOutlined, ClockCircleFilled, CloseCircleOutlined, CloseOutlined, CopyOutlined, DashboardOutlined, DeleteOutlined, DownOutlined, EnvironmentOutlined, ExclamationCircleOutlined, FolderOpenOutlined, ICON_NAMES, Icon, LeftOutlined, LoadingOutlined, MinusCircleOutlined, MinusOutlined, NAMED_ICON_MAP, PictureOutlined, PlusOutlined, QqOutlined, ReloadOutlined, RightOutlined, RobotOutlined, SearchOutlined, SettingOutlined, StarFilled, StarOutlined, SwapOutlined, SwapRightOutlined, SyncOutlined, ThunderboltOutlined, TranslationOutlined, UnorderedListOutlined, UserOutlined, isIconName, renderIconSlot, resolveIconName } from './chunk-
|
|
1
|
+
export { AimOutlined, AppstoreOutlined, BarChartOutlined, BlockOutlined, BorderOutlined, CameraOutlined, CaretDownOutlined, CaretUpOutlined, CheckCircleFilled, CheckCircleOutlined, CheckOutlined, ClockCircleFilled, CloseCircleOutlined, CloseOutlined, CopyOutlined, DashboardOutlined, DeleteOutlined, DownOutlined, EnvironmentOutlined, ExclamationCircleOutlined, FolderOpenOutlined, ICON_NAMES, Icon, LeftOutlined, LoadingOutlined, MinusCircleOutlined, MinusOutlined, NAMED_ICON_MAP, PictureOutlined, PlusOutlined, QqOutlined, ReloadOutlined, RightOutlined, RobotOutlined, SearchOutlined, SettingOutlined, StarFilled, StarOutlined, SwapOutlined, SwapRightOutlined, SyncOutlined, ThunderboltOutlined, TranslationOutlined, UnorderedListOutlined, UserOutlined, isIconName, renderIconSlot, resolveIconName } from './chunk-LQMOYVQF.js';
|
|
2
|
+
import './chunk-DRDDQCDD.js';
|
|
3
|
+
import './chunk-ULTDRMGN.js';
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
display: inline-block;
|
|
4
4
|
position: relative;
|
|
5
5
|
border-radius: var(--r-md);
|
|
6
|
-
background: var(--bg);
|
|
6
|
+
background: var(--lmn-image-bg, var(--bg));
|
|
7
7
|
padding: 6px;
|
|
8
|
-
box-shadow: var(--neu-shadow-control);
|
|
8
|
+
box-shadow: var(--lmn-image-neu-shadow-control, var(--neu-shadow-control));
|
|
9
9
|
overflow: hidden;
|
|
10
10
|
line-height: 0;
|
|
11
11
|
}
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
position: relative;
|
|
26
26
|
overflow: hidden;
|
|
27
27
|
border-radius: calc(var(--r-md) - 4px);
|
|
28
|
-
box-shadow: var(--neu-shadow-inset);
|
|
29
|
-
background: var(--bg-sunken);
|
|
28
|
+
box-shadow: var(--lmn-image-neu-shadow-inset, var(--neu-shadow-inset));
|
|
29
|
+
background: var(--lmn-image-bg-sunken, var(--bg-sunken));
|
|
30
30
|
}
|
|
31
31
|
.n-image.raw .n-image-frame {
|
|
32
32
|
border-radius: 0;
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
.n-image-placeholder {
|
|
50
50
|
position: absolute; inset: 0;
|
|
51
51
|
display: grid; place-items: center;
|
|
52
|
-
color: var(--fg-subtle);
|
|
52
|
+
color: var(--lmn-image-fg-subtle, var(--fg-subtle));
|
|
53
53
|
background:
|
|
54
54
|
repeating-linear-gradient(45deg,
|
|
55
55
|
transparent 0 10px,
|
|
56
|
-
color-mix(in oklch, var(--fg-subtle) 8%, transparent) 10px 11px);
|
|
56
|
+
color-mix(in oklch, var(--lmn-image-fg-subtle, var(--fg-subtle)) 8%, transparent) 10px 11px);
|
|
57
57
|
transition: opacity var(--dur) var(--ease);
|
|
58
58
|
}
|
|
59
59
|
.n-image-placeholder.loaded { opacity: 0; pointer-events: none; }
|
|
@@ -73,7 +73,8 @@
|
|
|
73
73
|
transform: translateY(-4px);
|
|
74
74
|
transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
|
|
75
75
|
}
|
|
76
|
-
.n-image:hover .image-actions
|
|
76
|
+
.n-image:hover .image-actions,
|
|
77
|
+
.n-image:focus-within .image-actions { opacity: 1; transform: translateY(0); }
|
|
77
78
|
.image-actions .ia-btn {
|
|
78
79
|
width: 26px;
|
|
79
80
|
height: 26px;
|
|
@@ -111,7 +112,8 @@
|
|
|
111
112
|
transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
|
|
112
113
|
pointer-events: none;
|
|
113
114
|
}
|
|
114
|
-
.n-image:hover .image-hint
|
|
115
|
+
.n-image:hover .image-hint,
|
|
116
|
+
.n-image:focus-visible .image-hint { opacity: 1; transform: translateY(0); }
|
|
115
117
|
.image-preview-overlay {
|
|
116
118
|
position: fixed; inset: 0;
|
|
117
119
|
background: var(--image-preview-mask-bg, var(--mask-bg));
|
|
@@ -126,8 +128,8 @@
|
|
|
126
128
|
outline: none;
|
|
127
129
|
}
|
|
128
130
|
.image-preview-toolbar {
|
|
129
|
-
--image-preview-toolbar-ink: color-mix(in oklch, var(--accent) 42%, var(--fg-muted));
|
|
130
|
-
--image-preview-toolbar-ink-hover: color-mix(in oklch, var(--accent) 48%, var(--fg));
|
|
131
|
+
--image-preview-toolbar-ink: color-mix(in oklch, var(--lmn-image-accent, var(--accent)) 42%, var(--lmn-image-fg-muted, var(--fg-muted)));
|
|
132
|
+
--image-preview-toolbar-ink-hover: color-mix(in oklch, var(--lmn-image-accent, var(--accent)) 48%, var(--lmn-image-fg, var(--fg)));
|
|
131
133
|
position: absolute;
|
|
132
134
|
top: var(--gap-5);
|
|
133
135
|
left: 50%;
|
|
@@ -139,12 +141,12 @@
|
|
|
139
141
|
padding: 6px;
|
|
140
142
|
overflow-x: auto;
|
|
141
143
|
color: var(--image-preview-toolbar-ink);
|
|
142
|
-
border: 1px solid color-mix(in oklch, var(--accent) 14%, var(--border));
|
|
144
|
+
border: 1px solid color-mix(in oklch, var(--lmn-image-accent, var(--accent)) 14%, var(--lmn-image-border, var(--border)));
|
|
143
145
|
border-radius: var(--r-pill);
|
|
144
|
-
background: color-mix(in oklch, var(--bg-raised) 92%, var(--accent-soft));
|
|
146
|
+
background: color-mix(in oklch, var(--lmn-image-bg-raised, var(--bg-raised)) 92%, var(--lmn-image-accent-soft, var(--accent-soft)));
|
|
145
147
|
box-shadow:
|
|
146
|
-
var(--neu-float),
|
|
147
|
-
0 0 0 1px color-mix(in oklch, var(--accent-glow) 22%, transparent);
|
|
148
|
+
var(--lmn-image-neu-float, var(--neu-float)),
|
|
149
|
+
0 0 0 1px color-mix(in oklch, var(--lmn-image-accent-glow, var(--accent-glow)) 22%, transparent);
|
|
148
150
|
backdrop-filter: blur(18px) saturate(1.2);
|
|
149
151
|
transform: translateX(-50%);
|
|
150
152
|
}
|
|
@@ -156,14 +158,14 @@
|
|
|
156
158
|
}
|
|
157
159
|
.image-preview-toolbar .btn.ghost:hover {
|
|
158
160
|
color: var(--image-preview-toolbar-ink-hover);
|
|
159
|
-
background: color-mix(in oklch, var(--accent-soft) 36%, var(--bg));
|
|
160
|
-
box-shadow: var(--neu-shadow-subtle);
|
|
161
|
+
background: color-mix(in oklch, var(--lmn-image-accent-soft, var(--accent-soft)) 36%, var(--lmn-image-bg, var(--bg)));
|
|
162
|
+
box-shadow: var(--lmn-image-neu-shadow-subtle, var(--neu-shadow-subtle));
|
|
161
163
|
}
|
|
162
164
|
.image-preview-toolbar .btn.ghost:active,
|
|
163
165
|
.image-preview-toolbar .btn.ghost.pressed {
|
|
164
166
|
color: var(--image-preview-toolbar-ink-hover);
|
|
165
|
-
background: color-mix(in oklch, var(--accent-soft) 48%, var(--bg));
|
|
166
|
-
box-shadow: var(--neu-shadow-inset-strong);
|
|
167
|
+
background: color-mix(in oklch, var(--lmn-image-accent-soft, var(--accent-soft)) 48%, var(--lmn-image-bg, var(--bg)));
|
|
168
|
+
box-shadow: var(--lmn-image-neu-shadow-inset-strong, var(--neu-shadow-inset-strong));
|
|
167
169
|
}
|
|
168
170
|
.image-preview-scale {
|
|
169
171
|
min-width: 48px;
|
|
@@ -189,7 +191,7 @@
|
|
|
189
191
|
max-width: 80vw;
|
|
190
192
|
max-height: 80vh;
|
|
191
193
|
border-radius: var(--r-lg);
|
|
192
|
-
box-shadow: var(--neu-shadow-float);
|
|
194
|
+
box-shadow: var(--lmn-image-neu-shadow-float, var(--neu-shadow-float));
|
|
193
195
|
transform-origin: center;
|
|
194
196
|
transition: transform var(--dur-fast) var(--ease);
|
|
195
197
|
user-select: none;
|
|
@@ -212,9 +214,9 @@
|
|
|
212
214
|
display: inline-block;
|
|
213
215
|
position: relative;
|
|
214
216
|
border-radius: var(--r-sm);
|
|
215
|
-
background: var(--bg);
|
|
217
|
+
background: var(--lmn-image-bg, var(--bg));
|
|
216
218
|
padding: 6px;
|
|
217
|
-
box-shadow: var(--neu-shadow-control);
|
|
219
|
+
box-shadow: var(--lmn-image-neu-shadow-control, var(--neu-shadow-control));
|
|
218
220
|
overflow: hidden;
|
|
219
221
|
line-height: 0;
|
|
220
222
|
}
|
|
@@ -235,8 +237,8 @@
|
|
|
235
237
|
width: 100%;
|
|
236
238
|
overflow: hidden;
|
|
237
239
|
border-radius: var(--r-sm);
|
|
238
|
-
background: var(--bg-sunken);
|
|
239
|
-
box-shadow: var(--neu-shadow-inset);
|
|
240
|
+
background: var(--lmn-image-bg-sunken, var(--bg-sunken));
|
|
241
|
+
box-shadow: var(--lmn-image-neu-shadow-inset, var(--neu-shadow-inset));
|
|
240
242
|
}
|
|
241
243
|
.n-sprite-image.raw .n-sprite-image-frame,
|
|
242
244
|
.n-layered-image.raw .n-layered-image-frame {
|
package/dist/Image.cjs
CHANGED
|
@@ -1,24 +1,27 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkF7WUCOBP_cjs = require('./chunk-F7WUCOBP.cjs');
|
|
4
|
+
require('./chunk-HSDMJUB6.cjs');
|
|
5
|
+
require('./chunk-T4RR6NVU.cjs');
|
|
6
|
+
require('./chunk-2AUXUZ3Z.cjs');
|
|
7
|
+
require('./chunk-NRJXZPZR.cjs');
|
|
8
|
+
require('./chunk-EE5KXDRK.cjs');
|
|
6
9
|
|
|
7
10
|
|
|
8
11
|
|
|
9
12
|
Object.defineProperty(exports, "Image", {
|
|
10
13
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkF7WUCOBP_cjs.Image; }
|
|
12
15
|
});
|
|
13
16
|
Object.defineProperty(exports, "ImageGrid", {
|
|
14
17
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkF7WUCOBP_cjs.ImageGrid; }
|
|
16
19
|
});
|
|
17
20
|
Object.defineProperty(exports, "LayeredImage", {
|
|
18
21
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkF7WUCOBP_cjs.LayeredImage; }
|
|
20
23
|
});
|
|
21
24
|
Object.defineProperty(exports, "SpriteImage", {
|
|
22
25
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkF7WUCOBP_cjs.SpriteImage; }
|
|
24
27
|
});
|
package/dist/Image.d.cts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-Jt4B5aU8.cjs';
|
|
2
3
|
|
|
3
4
|
type ImageVariant = "framed" | "raw" | "icon";
|
|
4
5
|
type ImagePreviewMode = "fit" | "actual";
|
|
@@ -12,7 +13,7 @@ interface ImagePreviewToolbarRenderProps {
|
|
|
12
13
|
reset: () => void;
|
|
13
14
|
close: () => void;
|
|
14
15
|
}
|
|
15
|
-
interface ImageProps extends React.HTMLAttributes<HTMLDivElement
|
|
16
|
+
interface ImageProps extends React.HTMLAttributes<HTMLDivElement>, ComponentThemeProps {
|
|
16
17
|
src?: string;
|
|
17
18
|
alt?: string;
|
|
18
19
|
width?: number | string;
|
|
@@ -47,19 +48,12 @@ interface ImageProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
47
48
|
imgProps?: Omit<React.ImgHTMLAttributes<HTMLImageElement>, "src" | "alt" | "width" | "height">;
|
|
48
49
|
className?: string;
|
|
49
50
|
}
|
|
50
|
-
/**
|
|
51
|
-
* `Image` — image surface with framed, raw and icon-oriented variants.
|
|
52
|
-
*
|
|
53
|
-
* @example
|
|
54
|
-
* <Image src={url} width={240} height={160} />
|
|
55
|
-
* <Image variant="icon" src={iconUrl} width={48} height={48} preview={false} />
|
|
56
|
-
*/
|
|
57
51
|
declare const Image: React.ForwardRefExoticComponent<ImageProps & React.RefAttributes<HTMLDivElement>>;
|
|
58
52
|
interface ImageGridItem extends Omit<ImageProps, "children"> {
|
|
59
53
|
src: string;
|
|
60
54
|
alt?: string;
|
|
61
55
|
}
|
|
62
|
-
interface ImageGridProps extends React.HTMLAttributes<HTMLDivElement
|
|
56
|
+
interface ImageGridProps extends React.HTMLAttributes<HTMLDivElement>, ComponentThemeProps {
|
|
63
57
|
images: ImageGridItem[];
|
|
64
58
|
columns?: number;
|
|
65
59
|
itemHeight?: number;
|
|
@@ -68,7 +62,6 @@ interface ImageGridProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
68
62
|
imageProps?: Omit<ImageProps, "src" | "alt" | "width" | "height">;
|
|
69
63
|
className?: string;
|
|
70
64
|
}
|
|
71
|
-
/** `ImageGrid` — auto-fit grid of `Image` items. */
|
|
72
65
|
declare const ImageGrid: React.ForwardRefExoticComponent<ImageGridProps & React.RefAttributes<HTMLDivElement>>;
|
|
73
66
|
interface SpriteRect {
|
|
74
67
|
x: number;
|
|
@@ -76,7 +69,7 @@ interface SpriteRect {
|
|
|
76
69
|
width: number;
|
|
77
70
|
height: number;
|
|
78
71
|
}
|
|
79
|
-
interface SpriteImageProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"
|
|
72
|
+
interface SpriteImageProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, ComponentThemeProps {
|
|
80
73
|
src: string;
|
|
81
74
|
sprite: SpriteRect;
|
|
82
75
|
alt?: string;
|
|
@@ -89,12 +82,6 @@ interface SpriteImageProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "c
|
|
|
89
82
|
padding?: number | string;
|
|
90
83
|
className?: string;
|
|
91
84
|
}
|
|
92
|
-
/**
|
|
93
|
-
* `SpriteImage` — crops one rectangle from a sprite sheet.
|
|
94
|
-
*
|
|
95
|
-
* @example
|
|
96
|
-
* <SpriteImage src={sheetUrl} sprite={{ x: 64, y: 32, width: 32, height: 32 }} />
|
|
97
|
-
*/
|
|
98
85
|
declare const SpriteImage: React.ForwardRefExoticComponent<SpriteImageProps & React.RefAttributes<HTMLDivElement>>;
|
|
99
86
|
type LayeredImageInset = number | string | Partial<Record<"top" | "right" | "bottom" | "left", number | string>>;
|
|
100
87
|
interface LayeredImageLayer extends Omit<React.ImgHTMLAttributes<HTMLImageElement>, "src" | "alt" | "width" | "height"> {
|
|
@@ -104,7 +91,7 @@ interface LayeredImageLayer extends Omit<React.ImgHTMLAttributes<HTMLImageElemen
|
|
|
104
91
|
inset?: LayeredImageInset;
|
|
105
92
|
zIndex?: number;
|
|
106
93
|
}
|
|
107
|
-
interface LayeredImageProps extends React.HTMLAttributes<HTMLDivElement
|
|
94
|
+
interface LayeredImageProps extends React.HTMLAttributes<HTMLDivElement>, ComponentThemeProps {
|
|
108
95
|
layers: LayeredImageLayer[];
|
|
109
96
|
width?: number | string;
|
|
110
97
|
height?: number | string;
|
|
@@ -113,12 +100,6 @@ interface LayeredImageProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
113
100
|
padding?: number | string;
|
|
114
101
|
className?: string;
|
|
115
102
|
}
|
|
116
|
-
/**
|
|
117
|
-
* `LayeredImage` — stacks several images in the same box, useful for avatar + frame assets.
|
|
118
|
-
*
|
|
119
|
-
* @example
|
|
120
|
-
* <LayeredImage layers={[{ src: headUrl }, { src: frameUrl }]} width={48} height={48} />
|
|
121
|
-
*/
|
|
122
103
|
declare const LayeredImage: React.ForwardRefExoticComponent<LayeredImageProps & React.RefAttributes<HTMLDivElement>>;
|
|
123
104
|
|
|
124
105
|
export { Image, ImageGrid, type ImageGridItem, type ImageGridProps, type ImagePreviewMode, type ImagePreviewToolbarRenderProps, type ImageProps, type ImageVariant, LayeredImage, type LayeredImageInset, type LayeredImageLayer, type LayeredImageProps, SpriteImage, type SpriteImageProps, type SpriteRect };
|