@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/Divider.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-Jt4B5aU8.js';
|
|
2
3
|
|
|
3
|
-
interface DividerProps extends React.HTMLAttributes<HTMLDivElement
|
|
4
|
+
interface DividerProps extends React.HTMLAttributes<HTMLDivElement>, ComponentThemeProps {
|
|
4
5
|
direction?: "horizontal" | "vertical";
|
|
5
6
|
label?: React.ReactNode;
|
|
6
7
|
/** Use recessed groove styling. */
|
|
@@ -13,7 +14,6 @@ interface DividerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
13
14
|
*/
|
|
14
15
|
orientation?: "left" | "center" | "right";
|
|
15
16
|
}
|
|
16
|
-
/** `Divider` — visual separator, horizontal or vertical. */
|
|
17
17
|
declare const Divider: React.ForwardRefExoticComponent<DividerProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
18
|
|
|
19
19
|
export { Divider, type DividerProps };
|
package/dist/Divider.js
CHANGED
|
@@ -13,15 +13,16 @@
|
|
|
13
13
|
|
|
14
14
|
.drawer {
|
|
15
15
|
position: fixed;
|
|
16
|
-
background: var(--bg);
|
|
16
|
+
background: var(--lmn-drawer-bg, var(--bg));
|
|
17
17
|
padding: var(--gap-5);
|
|
18
18
|
z-index: 151;
|
|
19
|
-
overflow
|
|
19
|
+
overflow: hidden;
|
|
20
20
|
display: flex;
|
|
21
21
|
flex-direction: column;
|
|
22
|
-
--
|
|
23
|
-
--drawer-shadow-
|
|
24
|
-
--drawer-shadow-
|
|
22
|
+
--overlay-shadow-safe-area: calc(var(--lmn-drawer-shadow-offset, var(--shadow-offset)) + var(--lmn-drawer-shadow-blur, var(--shadow-blur)));
|
|
23
|
+
--drawer-shadow-offset: calc(var(--lmn-drawer-shadow-offset, var(--shadow-offset)) * 4 * var(--shadow-float-scale));
|
|
24
|
+
--drawer-shadow-blur: calc(var(--lmn-drawer-shadow-blur, var(--shadow-blur)) * 3.75 * var(--shadow-float-scale));
|
|
25
|
+
--drawer-shadow-spread: calc(var(--lmn-drawer-shadow-offset, var(--shadow-offset)) * -3.3 * var(--shadow-float-scale));
|
|
25
26
|
}
|
|
26
27
|
.drawer.hidden {
|
|
27
28
|
display: none;
|
|
@@ -31,25 +32,25 @@
|
|
|
31
32
|
top: 0; right: 0; bottom: 0;
|
|
32
33
|
width: min(420px, 92vw);
|
|
33
34
|
animation: drawerInRight var(--dur-slow) var(--ease);
|
|
34
|
-
box-shadow: calc(var(--drawer-shadow-offset) * -1) 0 var(--drawer-shadow-blur) var(--drawer-shadow-spread) var(--shadow-dark);
|
|
35
|
+
box-shadow: calc(var(--drawer-shadow-offset) * -1) 0 var(--drawer-shadow-blur) var(--drawer-shadow-spread) var(--lmn-drawer-shadow-dark, var(--shadow-dark));
|
|
35
36
|
}
|
|
36
37
|
.drawer.left {
|
|
37
38
|
top: 0; left: 0; bottom: 0;
|
|
38
39
|
width: min(420px, 92vw);
|
|
39
40
|
animation: drawerInLeft var(--dur-slow) var(--ease);
|
|
40
|
-
box-shadow: var(--drawer-shadow-offset) 0 var(--drawer-shadow-blur) var(--drawer-shadow-spread) var(--shadow-dark);
|
|
41
|
+
box-shadow: var(--drawer-shadow-offset) 0 var(--drawer-shadow-blur) var(--drawer-shadow-spread) var(--lmn-drawer-shadow-dark, var(--shadow-dark));
|
|
41
42
|
}
|
|
42
43
|
.drawer.top {
|
|
43
44
|
top: 0; left: 0; right: 0;
|
|
44
45
|
height: min(320px, 80vh);
|
|
45
46
|
animation: drawerInTop var(--dur-slow) var(--ease);
|
|
46
|
-
box-shadow: 0 var(--drawer-shadow-offset) var(--drawer-shadow-blur) var(--drawer-shadow-spread) var(--shadow-dark);
|
|
47
|
+
box-shadow: 0 var(--drawer-shadow-offset) var(--drawer-shadow-blur) var(--drawer-shadow-spread) var(--lmn-drawer-shadow-dark, var(--shadow-dark));
|
|
47
48
|
}
|
|
48
49
|
.drawer.bottom {
|
|
49
50
|
bottom: 0; left: 0; right: 0;
|
|
50
51
|
height: min(320px, 80vh);
|
|
51
52
|
animation: drawerInBottom var(--dur-slow) var(--ease);
|
|
52
|
-
box-shadow: 0 calc(var(--drawer-shadow-offset) * -1) var(--drawer-shadow-blur) var(--drawer-shadow-spread) var(--shadow-dark);
|
|
53
|
+
box-shadow: 0 calc(var(--drawer-shadow-offset) * -1) var(--drawer-shadow-blur) var(--drawer-shadow-spread) var(--lmn-drawer-shadow-dark, var(--shadow-dark));
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
@keyframes drawerInRight { from { transform: translateX( 20px); opacity: 0; } }
|
|
@@ -62,9 +63,8 @@
|
|
|
62
63
|
align-items: center;
|
|
63
64
|
justify-content: space-between;
|
|
64
65
|
gap: var(--gap-3);
|
|
65
|
-
margin-bottom: var(--gap-4);
|
|
66
66
|
padding-bottom: var(--gap-4);
|
|
67
|
-
border-bottom: 1px solid var(--divider);
|
|
67
|
+
border-bottom: 1px solid var(--lmn-drawer-divider, var(--divider));
|
|
68
68
|
}
|
|
69
69
|
.drawer-head-right {
|
|
70
70
|
display: inline-flex;
|
|
@@ -82,23 +82,36 @@
|
|
|
82
82
|
border-radius: var(--r-sm);
|
|
83
83
|
display: grid;
|
|
84
84
|
place-items: center;
|
|
85
|
-
color: var(--fg-subtle);
|
|
85
|
+
color: var(--lmn-drawer-fg-subtle, var(--fg-subtle));
|
|
86
86
|
cursor: pointer;
|
|
87
87
|
transition: all var(--dur-fast) var(--ease);
|
|
88
88
|
}
|
|
89
89
|
.drawer-close:hover {
|
|
90
|
-
color: var(--fg);
|
|
91
|
-
background: var(--bg);
|
|
92
|
-
box-shadow: var(--neu-shadow-subtle);
|
|
90
|
+
color: var(--lmn-drawer-fg, var(--fg));
|
|
91
|
+
background: var(--lmn-drawer-bg, var(--bg));
|
|
92
|
+
box-shadow: var(--lmn-drawer-neu-shadow-subtle, var(--neu-shadow-subtle));
|
|
93
93
|
}
|
|
94
94
|
.drawer-body {
|
|
95
95
|
flex: 1;
|
|
96
|
+
min-width: 0;
|
|
97
|
+
min-height: 0;
|
|
98
|
+
margin-inline: calc(var(--gap-5) * -1);
|
|
99
|
+
padding: var(--overlay-shadow-safe-area);
|
|
100
|
+
overflow: auto;
|
|
101
|
+
}
|
|
102
|
+
.drawer-body:first-child {
|
|
103
|
+
margin-top: calc(var(--gap-5) * -1);
|
|
104
|
+
}
|
|
105
|
+
.drawer-body:last-child {
|
|
106
|
+
margin-bottom: calc(var(--gap-5) * -1);
|
|
107
|
+
}
|
|
108
|
+
.drawer-body.inset-none {
|
|
109
|
+
padding: 0;
|
|
96
110
|
}
|
|
97
111
|
.drawer-foot {
|
|
98
112
|
display: flex;
|
|
99
113
|
gap: 10px;
|
|
100
114
|
justify-content: flex-end;
|
|
101
|
-
margin-top: var(--gap-4);
|
|
102
115
|
padding-top: var(--gap-4);
|
|
103
|
-
border-top: 1px solid var(--divider);
|
|
116
|
+
border-top: 1px solid var(--lmn-drawer-divider, var(--divider));
|
|
104
117
|
}
|
package/dist/Drawer.cjs
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunk7VLAHOA7_cjs = require('./chunk-7VLAHOA7.cjs');
|
|
4
|
+
require('./chunk-HSDMJUB6.cjs');
|
|
5
|
+
require('./chunk-2AUXUZ3Z.cjs');
|
|
6
|
+
require('./chunk-NRJXZPZR.cjs');
|
|
7
|
+
require('./chunk-EE5KXDRK.cjs');
|
|
5
8
|
|
|
6
9
|
|
|
7
10
|
|
|
8
11
|
Object.defineProperty(exports, "Drawer", {
|
|
9
12
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk7VLAHOA7_cjs.Drawer; }
|
|
11
14
|
});
|
package/dist/Drawer.d.cts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-Jt4B5aU8.cjs';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
/** 抽屉正文允许透传的 data-* 属性。 */
|
|
5
|
+
type DataAttributes = {
|
|
6
|
+
[K in `data-${string}`]?: string | number | boolean | undefined;
|
|
7
|
+
};
|
|
8
|
+
/** 抽屉正文包装节点可接收的原生属性。 */
|
|
9
|
+
type DrawerBodyProps = Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "className" | "style"> & DataAttributes;
|
|
10
|
+
/** 抽屉正文的边缘留白策略。 */
|
|
11
|
+
type DrawerBodyInset = "safe" | "none";
|
|
12
|
+
interface DrawerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "children" | "onClose">, ComponentThemeProps {
|
|
4
13
|
/** Whether the drawer is visible. */
|
|
5
14
|
open: boolean;
|
|
6
15
|
/** Close callback (triggered by mask click / close button / Esc). */
|
|
@@ -17,6 +26,19 @@ interface DrawerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"
|
|
|
17
26
|
footer?: React.ReactNode;
|
|
18
27
|
/** Drawer body. */
|
|
19
28
|
children?: React.ReactNode;
|
|
29
|
+
/** 正文容器的附加类名。 */
|
|
30
|
+
bodyClassName?: string;
|
|
31
|
+
/** 正文容器的内联样式。 */
|
|
32
|
+
bodyStyle?: React.CSSProperties;
|
|
33
|
+
/** 透传给正文容器的原生属性。 */
|
|
34
|
+
bodyProps?: DrawerBodyProps;
|
|
35
|
+
/** 正文容器的 overflow 快捷控制。 */
|
|
36
|
+
bodyOverflow?: React.CSSProperties["overflow"];
|
|
37
|
+
/**
|
|
38
|
+
* 正文边缘留白策略。`safe` 会根据拟态阴影强度自动预留空间,
|
|
39
|
+
* `none` 适合图片、表格等需要贴边展示的内容。
|
|
40
|
+
*/
|
|
41
|
+
bodyInset?: DrawerBodyInset;
|
|
20
42
|
/** Render the mask overlay. Default true. Set `false` for a non-blocking drawer. */
|
|
21
43
|
mask?: boolean;
|
|
22
44
|
/** Close when clicking the mask. Default true. Ignored when `mask` is false. */
|
|
@@ -41,9 +63,9 @@ interface DrawerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"
|
|
|
41
63
|
afterOpenChange?: (open: boolean) => void;
|
|
42
64
|
/** Stack index for nested drawers. */
|
|
43
65
|
zIndex?: number;
|
|
66
|
+
/** 抽屉面板的附加类名;遮罩层请使用 `maskClassName`。 */
|
|
44
67
|
className?: string;
|
|
45
68
|
}
|
|
46
|
-
/** `Drawer` — slide-in panel from an edge. */
|
|
47
69
|
declare const Drawer: React.ForwardRefExoticComponent<DrawerProps & React.RefAttributes<HTMLDivElement>>;
|
|
48
70
|
|
|
49
|
-
export { Drawer, type DrawerProps };
|
|
71
|
+
export { Drawer, type DrawerBodyInset, type DrawerProps };
|
package/dist/Drawer.d.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-Jt4B5aU8.js';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
/** 抽屉正文允许透传的 data-* 属性。 */
|
|
5
|
+
type DataAttributes = {
|
|
6
|
+
[K in `data-${string}`]?: string | number | boolean | undefined;
|
|
7
|
+
};
|
|
8
|
+
/** 抽屉正文包装节点可接收的原生属性。 */
|
|
9
|
+
type DrawerBodyProps = Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "className" | "style"> & DataAttributes;
|
|
10
|
+
/** 抽屉正文的边缘留白策略。 */
|
|
11
|
+
type DrawerBodyInset = "safe" | "none";
|
|
12
|
+
interface DrawerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "children" | "onClose">, ComponentThemeProps {
|
|
4
13
|
/** Whether the drawer is visible. */
|
|
5
14
|
open: boolean;
|
|
6
15
|
/** Close callback (triggered by mask click / close button / Esc). */
|
|
@@ -17,6 +26,19 @@ interface DrawerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"
|
|
|
17
26
|
footer?: React.ReactNode;
|
|
18
27
|
/** Drawer body. */
|
|
19
28
|
children?: React.ReactNode;
|
|
29
|
+
/** 正文容器的附加类名。 */
|
|
30
|
+
bodyClassName?: string;
|
|
31
|
+
/** 正文容器的内联样式。 */
|
|
32
|
+
bodyStyle?: React.CSSProperties;
|
|
33
|
+
/** 透传给正文容器的原生属性。 */
|
|
34
|
+
bodyProps?: DrawerBodyProps;
|
|
35
|
+
/** 正文容器的 overflow 快捷控制。 */
|
|
36
|
+
bodyOverflow?: React.CSSProperties["overflow"];
|
|
37
|
+
/**
|
|
38
|
+
* 正文边缘留白策略。`safe` 会根据拟态阴影强度自动预留空间,
|
|
39
|
+
* `none` 适合图片、表格等需要贴边展示的内容。
|
|
40
|
+
*/
|
|
41
|
+
bodyInset?: DrawerBodyInset;
|
|
20
42
|
/** Render the mask overlay. Default true. Set `false` for a non-blocking drawer. */
|
|
21
43
|
mask?: boolean;
|
|
22
44
|
/** Close when clicking the mask. Default true. Ignored when `mask` is false. */
|
|
@@ -41,9 +63,9 @@ interface DrawerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"
|
|
|
41
63
|
afterOpenChange?: (open: boolean) => void;
|
|
42
64
|
/** Stack index for nested drawers. */
|
|
43
65
|
zIndex?: number;
|
|
66
|
+
/** 抽屉面板的附加类名;遮罩层请使用 `maskClassName`。 */
|
|
44
67
|
className?: string;
|
|
45
68
|
}
|
|
46
|
-
/** `Drawer` — slide-in panel from an edge. */
|
|
47
69
|
declare const Drawer: React.ForwardRefExoticComponent<DrawerProps & React.RefAttributes<HTMLDivElement>>;
|
|
48
70
|
|
|
49
|
-
export { Drawer, type DrawerProps };
|
|
71
|
+
export { Drawer, type DrawerBodyInset, type DrawerProps };
|
package/dist/Drawer.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
padding: 60px 20px;
|
|
4
4
|
display: grid; place-items: center;
|
|
5
5
|
gap: 12px;
|
|
6
|
-
color: var(--fg-muted);
|
|
6
|
+
color: var(--lmn-empty-fg-muted, var(--fg-muted));
|
|
7
7
|
text-align: center;
|
|
8
8
|
}
|
|
9
9
|
.empty.sm { padding: 28px 16px; gap: 8px; }
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
.empty-ico {
|
|
19
19
|
width: 56px; height: 56px;
|
|
20
20
|
border-radius: var(--r-lg);
|
|
21
|
-
background: var(--bg);
|
|
22
|
-
box-shadow: var(--neu-shadow-inset);
|
|
21
|
+
background: var(--lmn-empty-bg, var(--bg));
|
|
22
|
+
box-shadow: var(--lmn-empty-neu-shadow-inset, var(--neu-shadow-inset));
|
|
23
23
|
display: grid; place-items: center;
|
|
24
|
-
color: var(--fg-subtle);
|
|
24
|
+
color: var(--lmn-empty-fg-subtle, var(--fg-subtle));
|
|
25
25
|
}
|
|
26
|
-
.empty-title { font-size: 14px; font-weight: 600; color: var(--fg); }
|
|
26
|
+
.empty-title { font-size: 14px; font-weight: 600; color: var(--lmn-empty-fg, var(--fg)); }
|
|
27
27
|
.empty-desc { font-size: 12px; }
|
|
28
28
|
.empty-action { margin-top: 8px; }
|
package/dist/Empty.cjs
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZHVR4YPB_cjs = require('./chunk-ZHVR4YPB.cjs');
|
|
4
|
+
require('./chunk-NRJXZPZR.cjs');
|
|
5
|
+
require('./chunk-EE5KXDRK.cjs');
|
|
4
6
|
|
|
5
7
|
|
|
6
8
|
|
|
7
9
|
Object.defineProperty(exports, "Empty", {
|
|
8
10
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkZHVR4YPB_cjs.Empty; }
|
|
10
12
|
});
|
package/dist/Empty.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-Jt4B5aU8.cjs';
|
|
2
3
|
|
|
3
|
-
interface EmptyProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "children"
|
|
4
|
+
interface EmptyProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "children">, ComponentThemeProps {
|
|
4
5
|
title?: React.ReactNode;
|
|
5
6
|
description?: React.ReactNode;
|
|
6
7
|
icon?: React.ReactNode;
|
|
@@ -10,7 +11,6 @@ interface EmptyProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"
|
|
|
10
11
|
variant?: "default" | "subtle";
|
|
11
12
|
className?: string;
|
|
12
13
|
}
|
|
13
|
-
/** `Empty` — empty state placeholder. */
|
|
14
14
|
declare const Empty: React.ForwardRefExoticComponent<EmptyProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
15
|
|
|
16
16
|
export { Empty, type EmptyProps };
|
package/dist/Empty.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-Jt4B5aU8.js';
|
|
2
3
|
|
|
3
|
-
interface EmptyProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "children"
|
|
4
|
+
interface EmptyProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "children">, ComponentThemeProps {
|
|
4
5
|
title?: React.ReactNode;
|
|
5
6
|
description?: React.ReactNode;
|
|
6
7
|
icon?: React.ReactNode;
|
|
@@ -10,7 +11,6 @@ interface EmptyProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"
|
|
|
10
11
|
variant?: "default" | "subtle";
|
|
11
12
|
className?: string;
|
|
12
13
|
}
|
|
13
|
-
/** `Empty` — empty state placeholder. */
|
|
14
14
|
declare const Empty: React.ForwardRefExoticComponent<EmptyProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
15
|
|
|
16
16
|
export { Empty, type EmptyProps };
|
package/dist/Empty.js
CHANGED
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
.form-item-label {
|
|
31
31
|
font-size: 13px;
|
|
32
32
|
font-weight: 500;
|
|
33
|
-
color: var(--fg);
|
|
33
|
+
color: var(--lmn-form-fg, var(--fg));
|
|
34
34
|
padding-left: 2px;
|
|
35
35
|
display: inline-flex;
|
|
36
36
|
align-items: center;
|
|
37
37
|
gap: 4px;
|
|
38
38
|
}
|
|
39
39
|
.form-item-required {
|
|
40
|
-
color: var(--danger);
|
|
40
|
+
color: var(--lmn-form-danger, var(--danger));
|
|
41
41
|
font-weight: 600;
|
|
42
42
|
margin-right: 2px;
|
|
43
43
|
}
|
|
@@ -45,23 +45,23 @@
|
|
|
45
45
|
|
|
46
46
|
.form-item-error {
|
|
47
47
|
font-size: 12px;
|
|
48
|
-
color: var(--danger);
|
|
48
|
+
color: var(--lmn-form-danger, var(--danger));
|
|
49
49
|
padding-left: 2px;
|
|
50
|
-
animation: fadeIn
|
|
50
|
+
animation: fadeIn var(--dur-fast) var(--ease);
|
|
51
51
|
}
|
|
52
52
|
.form-item-help {
|
|
53
53
|
font-size: 12px;
|
|
54
|
-
color: var(--fg-subtle);
|
|
54
|
+
color: var(--lmn-form-fg-subtle, var(--fg-subtle));
|
|
55
55
|
padding-left: 2px;
|
|
56
56
|
}
|
|
57
57
|
.form-item-extra {
|
|
58
58
|
font-size: 11.5px;
|
|
59
|
-
color: var(--fg-subtle);
|
|
59
|
+
color: var(--lmn-form-fg-subtle, var(--fg-subtle));
|
|
60
60
|
padding-left: 2px;
|
|
61
61
|
opacity: 0.85;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.form-item.has-error .input-wrap,
|
|
65
65
|
.form-item.has-error .select-trigger {
|
|
66
|
-
box-shadow: var(--neu-shadow-inset), 0 0 0 2px color-mix(in oklch, var(--danger) 30%, transparent);
|
|
66
|
+
box-shadow: var(--lmn-form-neu-shadow-inset, var(--neu-shadow-inset)), 0 0 0 2px color-mix(in oklch, var(--lmn-form-danger, var(--danger)) 30%, transparent);
|
|
67
67
|
}
|
package/dist/Form.cjs
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQ5HLC56A_cjs = require('./chunk-Q5HLC56A.cjs');
|
|
4
|
+
require('./chunk-HSDMJUB6.cjs');
|
|
5
|
+
require('./chunk-NRJXZPZR.cjs');
|
|
6
|
+
require('./chunk-EE5KXDRK.cjs');
|
|
4
7
|
|
|
5
8
|
|
|
6
9
|
|
|
7
10
|
Object.defineProperty(exports, "Form", {
|
|
8
11
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkQ5HLC56A_cjs.Form; }
|
|
10
13
|
});
|
|
11
14
|
Object.defineProperty(exports, "FormItem", {
|
|
12
15
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkQ5HLC56A_cjs.FormItem; }
|
|
14
17
|
});
|
|
15
18
|
Object.defineProperty(exports, "useForm", {
|
|
16
19
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkQ5HLC56A_cjs.useForm; }
|
|
18
21
|
});
|
package/dist/Form.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 FormLayout = "horizontal" | "vertical" | "inline";
|
|
4
5
|
type Rule = {
|
|
@@ -30,7 +31,7 @@ interface FormInstance<V extends Record<string, unknown> = Record<string, unknow
|
|
|
30
31
|
}
|
|
31
32
|
/** `Form.useForm()` — create a form instance. */
|
|
32
33
|
declare function useForm<V extends Record<string, unknown> = Record<string, unknown>>(): [FormInstance<V>];
|
|
33
|
-
interface FormProps<V extends Record<string, unknown> = Record<string, unknown>> extends Omit<React.FormHTMLAttributes<HTMLFormElement>, "onChange" | "onSubmit"
|
|
34
|
+
interface FormProps<V extends Record<string, unknown> = Record<string, unknown>> extends Omit<React.FormHTMLAttributes<HTMLFormElement>, "onChange" | "onSubmit">, ComponentThemeProps {
|
|
34
35
|
form?: FormInstance<V>;
|
|
35
36
|
layout?: FormLayout;
|
|
36
37
|
initialValues?: Partial<V>;
|
|
@@ -49,7 +50,7 @@ interface FormProps<V extends Record<string, unknown> = Record<string, unknown>>
|
|
|
49
50
|
}
|
|
50
51
|
type FormRootComponent = <V extends Record<string, unknown> = Record<string, unknown>>(props: FormProps<V> & React.RefAttributes<HTMLFormElement>) => React.ReactElement | null;
|
|
51
52
|
declare const FormRoot: FormRootComponent;
|
|
52
|
-
interface FormItemProps {
|
|
53
|
+
interface FormItemProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, ComponentThemeProps {
|
|
53
54
|
/** Field key. Omit for layout-only wrappers (no value binding). */
|
|
54
55
|
name?: string;
|
|
55
56
|
label?: React.ReactNode;
|
|
@@ -76,7 +77,7 @@ interface FormItemProps {
|
|
|
76
77
|
className?: string;
|
|
77
78
|
style?: React.CSSProperties;
|
|
78
79
|
}
|
|
79
|
-
declare const FormItem: React.
|
|
80
|
+
declare const FormItem: React.ForwardRefExoticComponent<FormItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
80
81
|
declare const Form: typeof FormRoot & {
|
|
81
82
|
Item: typeof FormItem;
|
|
82
83
|
useForm: typeof useForm;
|
package/dist/Form.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-Jt4B5aU8.js';
|
|
2
3
|
|
|
3
4
|
type FormLayout = "horizontal" | "vertical" | "inline";
|
|
4
5
|
type Rule = {
|
|
@@ -30,7 +31,7 @@ interface FormInstance<V extends Record<string, unknown> = Record<string, unknow
|
|
|
30
31
|
}
|
|
31
32
|
/** `Form.useForm()` — create a form instance. */
|
|
32
33
|
declare function useForm<V extends Record<string, unknown> = Record<string, unknown>>(): [FormInstance<V>];
|
|
33
|
-
interface FormProps<V extends Record<string, unknown> = Record<string, unknown>> extends Omit<React.FormHTMLAttributes<HTMLFormElement>, "onChange" | "onSubmit"
|
|
34
|
+
interface FormProps<V extends Record<string, unknown> = Record<string, unknown>> extends Omit<React.FormHTMLAttributes<HTMLFormElement>, "onChange" | "onSubmit">, ComponentThemeProps {
|
|
34
35
|
form?: FormInstance<V>;
|
|
35
36
|
layout?: FormLayout;
|
|
36
37
|
initialValues?: Partial<V>;
|
|
@@ -49,7 +50,7 @@ interface FormProps<V extends Record<string, unknown> = Record<string, unknown>>
|
|
|
49
50
|
}
|
|
50
51
|
type FormRootComponent = <V extends Record<string, unknown> = Record<string, unknown>>(props: FormProps<V> & React.RefAttributes<HTMLFormElement>) => React.ReactElement | null;
|
|
51
52
|
declare const FormRoot: FormRootComponent;
|
|
52
|
-
interface FormItemProps {
|
|
53
|
+
interface FormItemProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, ComponentThemeProps {
|
|
53
54
|
/** Field key. Omit for layout-only wrappers (no value binding). */
|
|
54
55
|
name?: string;
|
|
55
56
|
label?: React.ReactNode;
|
|
@@ -76,7 +77,7 @@ interface FormItemProps {
|
|
|
76
77
|
className?: string;
|
|
77
78
|
style?: React.CSSProperties;
|
|
78
79
|
}
|
|
79
|
-
declare const FormItem: React.
|
|
80
|
+
declare const FormItem: React.ForwardRefExoticComponent<FormItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
80
81
|
declare const Form: typeof FormRoot & {
|
|
81
82
|
Item: typeof FormItem;
|
|
82
83
|
useForm: typeof useForm;
|
package/dist/Form.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
.named-icon.spinning > svg {
|
|
2
|
+
animation: spin 0.9s linear infinite;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
svg[data-lumina-icon-color],
|
|
6
|
+
.named-icon[data-lumina-icon-color] {
|
|
7
|
+
color: var(--lmn-icon-fg, var(--fg));
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@media (prefers-reduced-motion: reduce) {
|
|
11
|
+
.named-icon.spinning > svg { animation: none; }
|
|
12
|
+
}
|