@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
|
@@ -13,15 +13,16 @@
|
|
|
13
13
|
display: none;
|
|
14
14
|
}
|
|
15
15
|
.modal {
|
|
16
|
-
background: var(--bg);
|
|
16
|
+
background: var(--lmn-modal-bg, var(--bg));
|
|
17
17
|
border-radius: var(--r-xl);
|
|
18
|
-
box-shadow: var(--neu-shadow-float);
|
|
18
|
+
box-shadow: var(--lmn-modal-neu-shadow-float, var(--neu-shadow-float));
|
|
19
19
|
padding: var(--gap-6);
|
|
20
20
|
width: min(480px, 92vw);
|
|
21
21
|
animation: modalIn var(--dur-slow) var(--ease);
|
|
22
22
|
max-height: 86vh;
|
|
23
23
|
display: flex;
|
|
24
24
|
flex-direction: column;
|
|
25
|
+
--overlay-shadow-safe-area: calc(var(--lmn-modal-shadow-offset, var(--shadow-offset)) + var(--lmn-modal-shadow-blur, var(--shadow-blur)));
|
|
25
26
|
}
|
|
26
27
|
@keyframes modalIn {
|
|
27
28
|
from { opacity: 0; transform: translateY(8px) scale(0.97); }
|
|
@@ -31,7 +32,6 @@
|
|
|
31
32
|
align-items: flex-start;
|
|
32
33
|
justify-content: space-between;
|
|
33
34
|
gap: var(--gap-3);
|
|
34
|
-
margin-bottom: var(--gap-3);
|
|
35
35
|
}
|
|
36
36
|
.modal-titles {
|
|
37
37
|
display: flex;
|
|
@@ -39,20 +39,31 @@
|
|
|
39
39
|
gap: 4px;
|
|
40
40
|
}
|
|
41
41
|
.modal-title { font-size: 17px; font-weight: 600; }
|
|
42
|
-
.modal-desc { font-size: 13px; color: var(--fg-muted); }
|
|
42
|
+
.modal-desc { font-size: 13px; color: var(--lmn-modal-fg-muted, var(--fg-muted)); }
|
|
43
43
|
.modal-body {
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
min-width: 0;
|
|
45
|
+
min-height: 0;
|
|
46
|
+
margin-inline: calc(var(--gap-6) * -1);
|
|
47
|
+
padding: var(--overlay-shadow-safe-area);
|
|
48
|
+
color: var(--lmn-modal-fg-muted, var(--fg-muted));
|
|
46
49
|
font-size: 13px;
|
|
47
50
|
line-height: 1.6;
|
|
48
51
|
flex: 1;
|
|
49
52
|
overflow-y: auto;
|
|
50
53
|
}
|
|
54
|
+
.modal-body:first-child {
|
|
55
|
+
margin-top: calc(var(--gap-6) * -1);
|
|
56
|
+
}
|
|
57
|
+
.modal-body:last-child {
|
|
58
|
+
margin-bottom: calc(var(--gap-6) * -1);
|
|
59
|
+
}
|
|
60
|
+
.modal-body.inset-none {
|
|
61
|
+
padding: 0;
|
|
62
|
+
}
|
|
51
63
|
.modal-foot {
|
|
52
64
|
display: flex;
|
|
53
65
|
gap: 10px;
|
|
54
66
|
justify-content: flex-end;
|
|
55
|
-
margin-top: var(--gap-4);
|
|
56
67
|
}
|
|
57
68
|
.modal-close {
|
|
58
69
|
width: 28px; height: 28px;
|
|
@@ -61,14 +72,14 @@
|
|
|
61
72
|
border-radius: var(--r-sm);
|
|
62
73
|
display: grid;
|
|
63
74
|
place-items: center;
|
|
64
|
-
color: var(--fg-subtle);
|
|
75
|
+
color: var(--lmn-modal-fg-subtle, var(--fg-subtle));
|
|
65
76
|
cursor: pointer;
|
|
66
77
|
transition: all var(--dur-fast) var(--ease);
|
|
67
78
|
}
|
|
68
79
|
.modal-close:hover {
|
|
69
|
-
color: var(--fg);
|
|
70
|
-
background: var(--bg);
|
|
71
|
-
box-shadow: var(--neu-shadow-subtle);
|
|
80
|
+
color: var(--lmn-modal-fg, var(--fg));
|
|
81
|
+
background: var(--lmn-modal-bg, var(--bg));
|
|
82
|
+
box-shadow: var(--lmn-modal-neu-shadow-subtle, var(--neu-shadow-subtle));
|
|
72
83
|
}
|
|
73
84
|
|
|
74
85
|
.modal-static-body {
|
|
@@ -84,16 +95,16 @@
|
|
|
84
95
|
display: inline-grid;
|
|
85
96
|
place-items: center;
|
|
86
97
|
flex-shrink: 0;
|
|
87
|
-
background: var(--bg);
|
|
88
|
-
box-shadow: var(--neu-shadow-inset);
|
|
89
|
-
color: var(--accent);
|
|
98
|
+
background: var(--lmn-modal-bg, var(--bg));
|
|
99
|
+
box-shadow: var(--lmn-modal-neu-shadow-inset, var(--neu-shadow-inset));
|
|
100
|
+
color: var(--lmn-modal-accent, var(--accent));
|
|
90
101
|
}
|
|
91
102
|
|
|
92
|
-
.modal-static-icon.success { color: var(--success); }
|
|
93
|
-
.modal-static-icon.warning { color: var(--warning); }
|
|
94
|
-
.modal-static-icon.error { color: var(--danger); }
|
|
103
|
+
.modal-static-icon.success { color: var(--lmn-modal-success, var(--success)); }
|
|
104
|
+
.modal-static-icon.warning { color: var(--lmn-modal-warning, var(--warning)); }
|
|
105
|
+
.modal-static-icon.error { color: var(--lmn-modal-danger, var(--danger)); }
|
|
95
106
|
|
|
96
107
|
.modal-static-content {
|
|
97
108
|
min-width: 0;
|
|
98
|
-
color: var(--fg-muted);
|
|
109
|
+
color: var(--lmn-modal-fg-muted, var(--fg-muted));
|
|
99
110
|
}
|
package/dist/Modal.cjs
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkMUZQWIMR_cjs = require('./chunk-MUZQWIMR.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, "Modal", {
|
|
10
13
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkMUZQWIMR_cjs.Modal; }
|
|
12
15
|
});
|
package/dist/Modal.d.cts
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ButtonProps } from './Button.cjs';
|
|
3
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-Jt4B5aU8.cjs';
|
|
3
4
|
import './Icon.cjs';
|
|
4
5
|
import 'react/jsx-runtime';
|
|
5
6
|
|
|
7
|
+
/** 弹窗正文允许透传的 data-* 属性。 */
|
|
6
8
|
type DataAttributes = {
|
|
7
9
|
[K in `data-${string}`]?: string | number | boolean | undefined;
|
|
8
10
|
};
|
|
11
|
+
/** 弹窗正文包装节点可接收的原生属性。 */
|
|
9
12
|
type ModalBodyProps = Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "className" | "style"> & DataAttributes;
|
|
10
|
-
|
|
13
|
+
/** 弹窗正文的边缘留白策略。 */
|
|
14
|
+
type ModalBodyInset = "safe" | "none";
|
|
15
|
+
interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "children" | "onClose">, ComponentThemeProps {
|
|
11
16
|
/** Whether the modal is visible. */
|
|
12
17
|
open: boolean;
|
|
13
18
|
/** Fired by mask click / close button / Esc. Also the fallback for cancel. */
|
|
@@ -55,6 +60,11 @@ interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"
|
|
|
55
60
|
bodyProps?: ModalBodyProps;
|
|
56
61
|
/** Convenience overflow control for the body wrapper. */
|
|
57
62
|
bodyOverflow?: React.CSSProperties["overflow"];
|
|
63
|
+
/**
|
|
64
|
+
* 正文边缘留白策略。`safe` 会根据拟态阴影强度自动预留空间,
|
|
65
|
+
* `none` 适合图片、表格等需要贴边展示的内容。
|
|
66
|
+
*/
|
|
67
|
+
bodyInset?: ModalBodyInset;
|
|
58
68
|
/**
|
|
59
69
|
* When true the modal's children are unmounted every time it closes.
|
|
60
70
|
* Default `false` — children stay mounted so internal state survives
|
|
@@ -65,6 +75,7 @@ interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"
|
|
|
65
75
|
afterOpenChange?: (open: boolean) => void;
|
|
66
76
|
/** Override the z-index of the overlay. */
|
|
67
77
|
zIndex?: number;
|
|
78
|
+
/** 对话框面板的附加类名;遮罩层请使用 `maskClassName`。 */
|
|
68
79
|
className?: string;
|
|
69
80
|
}
|
|
70
81
|
type ModalStaticKind = "confirm" | "info" | "success" | "warning" | "error";
|
|
@@ -94,4 +105,4 @@ interface ModalStaticFunctions {
|
|
|
94
105
|
type ModalComponent = React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>> & ModalStaticFunctions;
|
|
95
106
|
declare const Modal: ModalComponent;
|
|
96
107
|
|
|
97
|
-
export { Modal, type ModalComponent, type ModalProps, type ModalStaticConfig, type ModalStaticFunctions, type ModalStaticHandle, type ModalStaticKind };
|
|
108
|
+
export { Modal, type ModalBodyInset, type ModalComponent, type ModalProps, type ModalStaticConfig, type ModalStaticFunctions, type ModalStaticHandle, type ModalStaticKind };
|
package/dist/Modal.d.ts
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ButtonProps } from './Button.js';
|
|
3
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-Jt4B5aU8.js';
|
|
3
4
|
import './Icon.js';
|
|
4
5
|
import 'react/jsx-runtime';
|
|
5
6
|
|
|
7
|
+
/** 弹窗正文允许透传的 data-* 属性。 */
|
|
6
8
|
type DataAttributes = {
|
|
7
9
|
[K in `data-${string}`]?: string | number | boolean | undefined;
|
|
8
10
|
};
|
|
11
|
+
/** 弹窗正文包装节点可接收的原生属性。 */
|
|
9
12
|
type ModalBodyProps = Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "className" | "style"> & DataAttributes;
|
|
10
|
-
|
|
13
|
+
/** 弹窗正文的边缘留白策略。 */
|
|
14
|
+
type ModalBodyInset = "safe" | "none";
|
|
15
|
+
interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "children" | "onClose">, ComponentThemeProps {
|
|
11
16
|
/** Whether the modal is visible. */
|
|
12
17
|
open: boolean;
|
|
13
18
|
/** Fired by mask click / close button / Esc. Also the fallback for cancel. */
|
|
@@ -55,6 +60,11 @@ interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"
|
|
|
55
60
|
bodyProps?: ModalBodyProps;
|
|
56
61
|
/** Convenience overflow control for the body wrapper. */
|
|
57
62
|
bodyOverflow?: React.CSSProperties["overflow"];
|
|
63
|
+
/**
|
|
64
|
+
* 正文边缘留白策略。`safe` 会根据拟态阴影强度自动预留空间,
|
|
65
|
+
* `none` 适合图片、表格等需要贴边展示的内容。
|
|
66
|
+
*/
|
|
67
|
+
bodyInset?: ModalBodyInset;
|
|
58
68
|
/**
|
|
59
69
|
* When true the modal's children are unmounted every time it closes.
|
|
60
70
|
* Default `false` — children stay mounted so internal state survives
|
|
@@ -65,6 +75,7 @@ interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"
|
|
|
65
75
|
afterOpenChange?: (open: boolean) => void;
|
|
66
76
|
/** Override the z-index of the overlay. */
|
|
67
77
|
zIndex?: number;
|
|
78
|
+
/** 对话框面板的附加类名;遮罩层请使用 `maskClassName`。 */
|
|
68
79
|
className?: string;
|
|
69
80
|
}
|
|
70
81
|
type ModalStaticKind = "confirm" | "info" | "success" | "warning" | "error";
|
|
@@ -94,4 +105,4 @@ interface ModalStaticFunctions {
|
|
|
94
105
|
type ModalComponent = React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>> & ModalStaticFunctions;
|
|
95
106
|
declare const Modal: ModalComponent;
|
|
96
107
|
|
|
97
|
-
export { Modal, type ModalComponent, type ModalProps, type ModalStaticConfig, type ModalStaticFunctions, type ModalStaticHandle, type ModalStaticKind };
|
|
108
|
+
export { Modal, type ModalBodyInset, type ModalComponent, type ModalProps, type ModalStaticConfig, type ModalStaticFunctions, type ModalStaticHandle, type ModalStaticKind };
|
package/dist/Modal.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
export { Modal } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { Modal } from './chunk-BKW5PXEO.js';
|
|
2
|
+
import './chunk-2A4GYSN4.js';
|
|
3
|
+
import './chunk-JHM7MN3G.js';
|
|
4
|
+
import './chunk-LQMOYVQF.js';
|
|
5
|
+
import './chunk-DRDDQCDD.js';
|
|
6
|
+
import './chunk-ULTDRMGN.js';
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* ============ Pagination ============ */
|
|
2
|
+
.pagination {
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
padding: 12px 14px;
|
|
7
|
+
font-size: 12px;
|
|
8
|
+
color: var(--lmn-pagination-fg-muted, var(--fg-muted));
|
|
9
|
+
gap: 12px;
|
|
10
|
+
flex-wrap: wrap;
|
|
11
|
+
}
|
|
12
|
+
.pagination .pg-controls { display: flex; gap: 4px; align-items: center; }
|
|
13
|
+
.pagination .pg {
|
|
14
|
+
min-width: 30px; height: 30px;
|
|
15
|
+
padding: 0 10px;
|
|
16
|
+
border: none;
|
|
17
|
+
border-radius: var(--r-sm);
|
|
18
|
+
background: var(--lmn-pagination-bg, var(--bg));
|
|
19
|
+
box-shadow: var(--lmn-pagination-neu-shadow-control, var(--neu-shadow-control));
|
|
20
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
font-size: 12px;
|
|
23
|
+
font-family: inherit;
|
|
24
|
+
font-variant-numeric: tabular-nums;
|
|
25
|
+
color: var(--lmn-pagination-fg, var(--fg));
|
|
26
|
+
transition: all var(--dur-fast) var(--ease);
|
|
27
|
+
}
|
|
28
|
+
.pagination .pg:hover { color: var(--lmn-pagination-accent-ink, var(--accent-ink)); }
|
|
29
|
+
.pagination .pg.active {
|
|
30
|
+
box-shadow: var(--lmn-pagination-neu-shadow-inset, var(--neu-shadow-inset));
|
|
31
|
+
color: var(--lmn-pagination-accent-ink, var(--accent-ink));
|
|
32
|
+
font-weight: 700;
|
|
33
|
+
}
|
|
34
|
+
.pagination .pg.disabled { color: var(--lmn-pagination-fg-subtle, var(--fg-subtle)); cursor: not-allowed; box-shadow: var(--lmn-pagination-neu-shadow-subtle, var(--neu-shadow-subtle)); }
|
|
35
|
+
.pagination .ellipsis { padding: 0 4px; color: var(--lmn-pagination-fg-subtle, var(--fg-subtle)); }
|
|
36
|
+
|
|
37
|
+
/* size changer — compact Select inline with the page buttons */
|
|
38
|
+
.pagination .pg-size-changer { margin-left: 8px; min-width: 108px; }
|
|
39
|
+
|
|
40
|
+
/* quick jumper */
|
|
41
|
+
.pagination .pg-jumper {
|
|
42
|
+
display: inline-flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
gap: 6px;
|
|
45
|
+
margin-left: 8px;
|
|
46
|
+
color: var(--lmn-pagination-fg-muted, var(--fg-muted));
|
|
47
|
+
font-size: 12px;
|
|
48
|
+
}
|
|
49
|
+
.pagination .pg-jumper-label { color: var(--lmn-pagination-fg-muted, var(--fg-muted)); }
|
|
50
|
+
.pagination .pg-jumper-input {
|
|
51
|
+
width: 52px;
|
|
52
|
+
}
|
|
53
|
+
.pagination .pg-jumper-input .input {
|
|
54
|
+
font-variant-numeric: tabular-nums;
|
|
55
|
+
text-align: center;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@media (max-width: 480px) {
|
|
59
|
+
.pagination {
|
|
60
|
+
align-items: flex-start;
|
|
61
|
+
padding-inline: 8px;
|
|
62
|
+
}
|
|
63
|
+
.pagination .pg-controls {
|
|
64
|
+
flex-wrap: wrap;
|
|
65
|
+
}
|
|
66
|
+
.pagination .pg-size-changer,
|
|
67
|
+
.pagination .pg-jumper {
|
|
68
|
+
margin-left: 0;
|
|
69
|
+
}
|
|
70
|
+
}
|
package/dist/Pagination.cjs
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
3
|
+
var chunk56I6ZKGU_cjs = require('./chunk-56I6ZKGU.cjs');
|
|
4
|
+
require('./chunk-D7YSY5RZ.cjs');
|
|
5
|
+
require('./chunk-GFKWSDD6.cjs');
|
|
6
|
+
require('./chunk-FJB3243S.cjs');
|
|
7
|
+
require('./chunk-STQDKMS5.cjs');
|
|
8
|
+
require('./chunk-HYHBCHFM.cjs');
|
|
9
|
+
require('./chunk-HSDMJUB6.cjs');
|
|
10
|
+
require('./chunk-2AUXUZ3Z.cjs');
|
|
11
|
+
require('./chunk-NRJXZPZR.cjs');
|
|
12
|
+
require('./chunk-EE5KXDRK.cjs');
|
|
10
13
|
|
|
11
14
|
|
|
12
15
|
|
|
13
16
|
Object.defineProperty(exports, "Pagination", {
|
|
14
17
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk56I6ZKGU_cjs.Pagination; }
|
|
16
19
|
});
|
package/dist/Pagination.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 PaginationProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"
|
|
4
|
+
interface PaginationProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange">, ComponentThemeProps {
|
|
4
5
|
/** Total number of items. */
|
|
5
6
|
total: number;
|
|
6
7
|
/** Items per page. */
|
|
@@ -27,7 +28,6 @@ interface PaginationProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "on
|
|
|
27
28
|
onShowSizeChange?: (current: number, size: number) => void;
|
|
28
29
|
className?: string;
|
|
29
30
|
}
|
|
30
|
-
/** `Pagination` — page number controls. */
|
|
31
31
|
declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLDivElement>>;
|
|
32
32
|
|
|
33
33
|
export { Pagination, type PaginationProps };
|
package/dist/Pagination.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 PaginationProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"
|
|
4
|
+
interface PaginationProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange">, ComponentThemeProps {
|
|
4
5
|
/** Total number of items. */
|
|
5
6
|
total: number;
|
|
6
7
|
/** Items per page. */
|
|
@@ -27,7 +28,6 @@ interface PaginationProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "on
|
|
|
27
28
|
onShowSizeChange?: (current: number, size: number) => void;
|
|
28
29
|
className?: string;
|
|
29
30
|
}
|
|
30
|
-
/** `Pagination` — page number controls. */
|
|
31
31
|
declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLDivElement>>;
|
|
32
32
|
|
|
33
33
|
export { Pagination, type PaginationProps };
|
package/dist/Pagination.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
export { Pagination } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
1
|
+
export { Pagination } from './chunk-BJDQVVCG.js';
|
|
2
|
+
import './chunk-3EHJ5QI3.js';
|
|
3
|
+
import './chunk-62VV5COT.js';
|
|
4
|
+
import './chunk-3QXP2ZNP.js';
|
|
5
|
+
import './chunk-UE4HFGJ6.js';
|
|
6
|
+
import './chunk-3F424R5P.js';
|
|
7
|
+
import './chunk-2A4GYSN4.js';
|
|
8
|
+
import './chunk-LQMOYVQF.js';
|
|
9
|
+
import './chunk-DRDDQCDD.js';
|
|
10
|
+
import './chunk-ULTDRMGN.js';
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
/* ============ Popover ============ */
|
|
2
2
|
.popover {
|
|
3
3
|
z-index: 1000;
|
|
4
|
-
background: var(--bg);
|
|
4
|
+
background: var(--lmn-popover-bg, var(--bg));
|
|
5
5
|
border-radius: var(--r-md);
|
|
6
6
|
min-width: 220px;
|
|
7
|
-
box-shadow: var(--neu-shadow-float);
|
|
7
|
+
box-shadow: var(--lmn-popover-neu-shadow-float, var(--neu-shadow-float));
|
|
8
8
|
position: relative;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/*
|
|
12
12
|
* Direction-aware entrance.
|
|
13
|
-
* We animate `opacity` + `translate`
|
|
14
|
-
*
|
|
15
|
-
* applies for cross-axis centering.
|
|
13
|
+
* We animate `opacity` + `translate` so positioning stays independent from
|
|
14
|
+
* the coordinates calculated by useFloating.
|
|
16
15
|
*/
|
|
17
16
|
.popover-bottom { animation: popoverInDown var(--dur) var(--ease); }
|
|
18
17
|
.popover-top { animation: popoverInUp var(--dur) var(--ease); }
|
|
@@ -36,14 +35,14 @@
|
|
|
36
35
|
.popover-title {
|
|
37
36
|
font-weight: 600;
|
|
38
37
|
font-size: 14px;
|
|
39
|
-
color: var(--fg);
|
|
38
|
+
color: var(--lmn-popover-fg, var(--fg));
|
|
40
39
|
}
|
|
41
40
|
|
|
42
41
|
.popover-close {
|
|
43
42
|
all: unset;
|
|
44
43
|
cursor: pointer;
|
|
45
44
|
font-size: 16px;
|
|
46
|
-
color: var(--fg-muted);
|
|
45
|
+
color: var(--lmn-popover-fg-muted, var(--fg-muted));
|
|
47
46
|
line-height: 1;
|
|
48
47
|
padding: 2px 4px;
|
|
49
48
|
border-radius: var(--r-xs);
|
|
@@ -51,7 +50,7 @@
|
|
|
51
50
|
margin-left: auto;
|
|
52
51
|
}
|
|
53
52
|
.popover-close:hover {
|
|
54
|
-
color: var(--fg);
|
|
53
|
+
color: var(--lmn-popover-fg, var(--fg));
|
|
55
54
|
}
|
|
56
55
|
|
|
57
56
|
/* ---- Body ---- */
|
|
@@ -68,8 +67,8 @@
|
|
|
68
67
|
position: absolute;
|
|
69
68
|
width: 10px;
|
|
70
69
|
height: 10px;
|
|
71
|
-
background: var(--bg);
|
|
72
|
-
box-shadow: 2px 2px 4px
|
|
70
|
+
background: var(--lmn-popover-bg, var(--bg));
|
|
71
|
+
box-shadow: 2px 2px 4px color-mix(in oklch, var(--lmn-popover-shadow-dark, var(--shadow-dark)) 36%, transparent);
|
|
73
72
|
transform: rotate(45deg);
|
|
74
73
|
pointer-events: none;
|
|
75
74
|
}
|
|
@@ -78,26 +77,26 @@
|
|
|
78
77
|
top: -5px;
|
|
79
78
|
left: 50%;
|
|
80
79
|
margin-left: -5px;
|
|
81
|
-
box-shadow: -2px -2px 4px
|
|
80
|
+
box-shadow: -2px -2px 4px color-mix(in oklch, var(--lmn-popover-shadow-dark, var(--shadow-dark)) 36%, transparent);
|
|
82
81
|
}
|
|
83
82
|
|
|
84
83
|
.popover-arrow-top {
|
|
85
84
|
bottom: -5px;
|
|
86
85
|
left: 50%;
|
|
87
86
|
margin-left: -5px;
|
|
88
|
-
box-shadow: 2px 2px 4px
|
|
87
|
+
box-shadow: 2px 2px 4px color-mix(in oklch, var(--lmn-popover-shadow-dark, var(--shadow-dark)) 36%, transparent);
|
|
89
88
|
}
|
|
90
89
|
|
|
91
90
|
.popover-arrow-left {
|
|
92
91
|
right: -5px;
|
|
93
92
|
top: 50%;
|
|
94
93
|
margin-top: -5px;
|
|
95
|
-
box-shadow: 2px -2px 4px
|
|
94
|
+
box-shadow: 2px -2px 4px color-mix(in oklch, var(--lmn-popover-shadow-dark, var(--shadow-dark)) 36%, transparent);
|
|
96
95
|
}
|
|
97
96
|
|
|
98
97
|
.popover-arrow-right {
|
|
99
98
|
left: -5px;
|
|
100
99
|
top: 50%;
|
|
101
100
|
margin-top: -5px;
|
|
102
|
-
box-shadow: -2px 2px 4px
|
|
101
|
+
box-shadow: -2px 2px 4px color-mix(in oklch, var(--lmn-popover-shadow-dark, var(--shadow-dark)) 36%, transparent);
|
|
103
102
|
}
|
package/dist/Popover.cjs
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkVX6MZO4K_cjs = require('./chunk-VX6MZO4K.cjs');
|
|
4
|
+
require('./chunk-FJB3243S.cjs');
|
|
5
|
+
require('./chunk-HSDMJUB6.cjs');
|
|
6
|
+
require('./chunk-NRJXZPZR.cjs');
|
|
7
|
+
require('./chunk-EE5KXDRK.cjs');
|
|
5
8
|
|
|
6
9
|
|
|
7
10
|
|
|
8
11
|
Object.defineProperty(exports, "Popover", {
|
|
9
12
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkVX6MZO4K_cjs.Popover; }
|
|
11
14
|
});
|
package/dist/Popover.d.cts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-Jt4B5aU8.cjs';
|
|
2
3
|
|
|
3
4
|
type PopoverPlacement = "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
|
|
4
|
-
interface PopoverProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "title" | "children" | "content"
|
|
5
|
+
interface PopoverProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "title" | "children" | "content">, ComponentThemeProps {
|
|
5
6
|
/** Popover body content. */
|
|
6
7
|
content?: React.ReactNode;
|
|
7
8
|
/** Optional title rendered above content. */
|
|
@@ -9,7 +10,7 @@ interface PopoverProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "titl
|
|
|
9
10
|
/** Preferred placement relative to the trigger. */
|
|
10
11
|
placement?: PopoverPlacement;
|
|
11
12
|
/** How the popover is triggered. */
|
|
12
|
-
trigger?: "click" | "hover";
|
|
13
|
+
trigger?: "click" | "hover" | "focus";
|
|
13
14
|
/** Show a small arrow pointing at the trigger. */
|
|
14
15
|
arrow?: boolean;
|
|
15
16
|
/** Show a close button in the header (click trigger only). */
|
|
@@ -33,14 +34,6 @@ interface PopoverProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "titl
|
|
|
33
34
|
/** Alias used by some popup APIs. */
|
|
34
35
|
popupClassName?: string;
|
|
35
36
|
}
|
|
36
|
-
/**
|
|
37
|
-
* `Popover` — rich content bubble with optional title, arrow, and close button.
|
|
38
|
-
*
|
|
39
|
-
* @example
|
|
40
|
-
* <Popover title="Confirm" content={<p>Are you sure?</p>} arrow>
|
|
41
|
-
* <Button>Delete</Button>
|
|
42
|
-
* </Popover>
|
|
43
|
-
*/
|
|
44
37
|
declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLSpanElement>>;
|
|
45
38
|
|
|
46
39
|
export { Popover, type PopoverPlacement, type PopoverProps };
|
package/dist/Popover.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-Jt4B5aU8.js';
|
|
2
3
|
|
|
3
4
|
type PopoverPlacement = "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
|
|
4
|
-
interface PopoverProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "title" | "children" | "content"
|
|
5
|
+
interface PopoverProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "title" | "children" | "content">, ComponentThemeProps {
|
|
5
6
|
/** Popover body content. */
|
|
6
7
|
content?: React.ReactNode;
|
|
7
8
|
/** Optional title rendered above content. */
|
|
@@ -9,7 +10,7 @@ interface PopoverProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "titl
|
|
|
9
10
|
/** Preferred placement relative to the trigger. */
|
|
10
11
|
placement?: PopoverPlacement;
|
|
11
12
|
/** How the popover is triggered. */
|
|
12
|
-
trigger?: "click" | "hover";
|
|
13
|
+
trigger?: "click" | "hover" | "focus";
|
|
13
14
|
/** Show a small arrow pointing at the trigger. */
|
|
14
15
|
arrow?: boolean;
|
|
15
16
|
/** Show a close button in the header (click trigger only). */
|
|
@@ -33,14 +34,6 @@ interface PopoverProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "titl
|
|
|
33
34
|
/** Alias used by some popup APIs. */
|
|
34
35
|
popupClassName?: string;
|
|
35
36
|
}
|
|
36
|
-
/**
|
|
37
|
-
* `Popover` — rich content bubble with optional title, arrow, and close button.
|
|
38
|
-
*
|
|
39
|
-
* @example
|
|
40
|
-
* <Popover title="Confirm" content={<p>Are you sure?</p>} arrow>
|
|
41
|
-
* <Button>Delete</Button>
|
|
42
|
-
* </Popover>
|
|
43
|
-
*/
|
|
44
37
|
declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLSpanElement>>;
|
|
45
38
|
|
|
46
39
|
export { Popover, type PopoverPlacement, type PopoverProps };
|
package/dist/Popover.js
CHANGED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/* ============ Progress ============ */
|
|
2
|
+
.progress {
|
|
3
|
+
--progress-fill: var(--lmn-progress-accent, var(--accent));
|
|
4
|
+
--progress-fill-glow: var(--lmn-progress-accent-glow, var(--accent-glow));
|
|
5
|
+
--progress-inset: 2px;
|
|
6
|
+
width: 100%;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
gap: 6px;
|
|
10
|
+
}
|
|
11
|
+
.progress.sm { --progress-inset: 1px; }
|
|
12
|
+
.progress.lg { --progress-inset: 2px; }
|
|
13
|
+
.progress.success {
|
|
14
|
+
--progress-fill: var(--lmn-progress-success, var(--success));
|
|
15
|
+
--progress-fill-glow: color-mix(in oklch, var(--lmn-progress-success, var(--success)) 35%, transparent);
|
|
16
|
+
}
|
|
17
|
+
.progress.warning {
|
|
18
|
+
--progress-fill: var(--lmn-progress-warning, var(--warning));
|
|
19
|
+
--progress-fill-glow: color-mix(in oklch, var(--lmn-progress-warning, var(--warning)) 35%, transparent);
|
|
20
|
+
}
|
|
21
|
+
.progress.danger {
|
|
22
|
+
--progress-fill: var(--lmn-progress-danger, var(--danger));
|
|
23
|
+
--progress-fill-glow: color-mix(in oklch, var(--lmn-progress-danger, var(--danger)) 35%, transparent);
|
|
24
|
+
}
|
|
25
|
+
.progress-label {
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
font-size: 12px;
|
|
29
|
+
color: var(--lmn-progress-fg-muted, var(--fg-muted));
|
|
30
|
+
}
|
|
31
|
+
.progress-label .v { font-family: var(--font-mono); }
|
|
32
|
+
.progress-track {
|
|
33
|
+
width: 100%;
|
|
34
|
+
height: 10px;
|
|
35
|
+
border-radius: 999px;
|
|
36
|
+
padding: var(--progress-inset);
|
|
37
|
+
box-sizing: border-box;
|
|
38
|
+
background: linear-gradient(
|
|
39
|
+
180deg,
|
|
40
|
+
color-mix(in oklch, var(--lmn-progress-bg, var(--bg)) 88%, var(--lmn-progress-shadow-light, var(--shadow-light))),
|
|
41
|
+
color-mix(in oklch, var(--lmn-progress-bg, var(--bg)) 92%, var(--lmn-progress-shadow-dark, var(--shadow-dark)))
|
|
42
|
+
);
|
|
43
|
+
box-shadow: var(--lmn-progress-neu-shadow-inset, var(--neu-shadow-inset));
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
position: relative;
|
|
46
|
+
}
|
|
47
|
+
.progress.sm .progress-track { height: 6px; }
|
|
48
|
+
.progress.lg .progress-track { height: 14px; }
|
|
49
|
+
.progress-bar {
|
|
50
|
+
position: relative;
|
|
51
|
+
height: 100%;
|
|
52
|
+
border-radius: inherit;
|
|
53
|
+
background: linear-gradient(
|
|
54
|
+
180deg,
|
|
55
|
+
color-mix(in oklch, var(--progress-fill) 68%, var(--lmn-progress-shadow-light, var(--shadow-light))) 0%,
|
|
56
|
+
var(--progress-fill) 55%,
|
|
57
|
+
color-mix(in oklch, var(--progress-fill) 84%, var(--lmn-progress-shadow-dark, var(--shadow-dark))) 100%
|
|
58
|
+
);
|
|
59
|
+
box-shadow:
|
|
60
|
+
inset 1px 1px 2px color-mix(in oklch, var(--progress-fill) 18%, var(--lmn-progress-shadow-dark, var(--shadow-dark))),
|
|
61
|
+
inset -1px -1px 2px color-mix(in oklch, var(--progress-fill) 14%, var(--lmn-progress-shadow-light, var(--shadow-light))),
|
|
62
|
+
1px 1px 4px color-mix(in oklch, var(--progress-fill) 16%, var(--lmn-progress-shadow-dark, var(--shadow-dark))),
|
|
63
|
+
-1px -1px 4px color-mix(in oklch, var(--progress-fill) 10%, var(--lmn-progress-shadow-light, var(--shadow-light))),
|
|
64
|
+
0 0 10px var(--progress-fill-glow);
|
|
65
|
+
transition: width var(--dur-slow) var(--ease), box-shadow var(--dur) var(--ease);
|
|
66
|
+
overflow: hidden;
|
|
67
|
+
}
|
|
68
|
+
.progress-bar::before {
|
|
69
|
+
content: "";
|
|
70
|
+
position: absolute;
|
|
71
|
+
inset: 0;
|
|
72
|
+
border-radius: inherit;
|
|
73
|
+
background: linear-gradient(
|
|
74
|
+
180deg,
|
|
75
|
+
color-mix(in oklch, var(--lmn-progress-shadow-light, var(--shadow-light)) 72%, transparent) 0%,
|
|
76
|
+
color-mix(in oklch, var(--lmn-progress-shadow-light, var(--shadow-light)) 28%, transparent) 38%,
|
|
77
|
+
transparent 70%
|
|
78
|
+
);
|
|
79
|
+
pointer-events: none;
|
|
80
|
+
}
|
|
81
|
+
.progress.indeterminate .progress-bar {
|
|
82
|
+
animation: progress-indeterminate 1.4s var(--ease) infinite;
|
|
83
|
+
}
|
|
84
|
+
@keyframes progress-indeterminate {
|
|
85
|
+
from { transform: translateX(-120%); }
|
|
86
|
+
to { transform: translateX(320%); }
|
|
87
|
+
}
|
|
88
|
+
@media (prefers-reduced-motion: reduce) {
|
|
89
|
+
.progress.indeterminate .progress-bar { animation: none; }
|
|
90
|
+
}
|