@fangxinyan/lumina 0.6.18 → 0.8.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 +28 -3
- package/dist/Select.d.ts +28 -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 +18 -12
- package/dist/Splitter.d.ts +18 -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-KB6EEBDJ.css} +105 -53
- package/dist/Table.cjs +14 -10
- package/dist/Table.d.cts +38 -3
- package/dist/Table.d.ts +38 -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-FB2AMBWL.css} +24 -10
- package/dist/Tabs.cjs +4 -2
- package/dist/Tabs.d.cts +8 -2
- package/dist/Tabs.d.ts +8 -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-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-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-2FOC3D6X.js → chunk-63RSKQID.js} +23 -7
- 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-BVQOJKRX.js → chunk-BKW5PXEO.js} +115 -72
- package/dist/chunk-DRDDQCDD.js +322 -0
- package/dist/chunk-DU2DSERH.js +190 -0
- package/dist/chunk-DURKCGEM.js +496 -0
- package/dist/{chunk-PSQ3HNZP.cjs → chunk-E66PSVBU.cjs} +106 -19
- package/dist/chunk-EAUB6FEN.js +262 -0
- package/dist/chunk-EE5KXDRK.cjs +1223 -0
- package/dist/chunk-EE7IJ3MB.js +1 -0
- 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-V5SQOZPF.js → chunk-HQNDVNTQ.js} +38 -20
- 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-IJDM2U3B.js +100 -0
- package/dist/chunk-J5UEQ3ZQ.js +226 -0
- package/dist/chunk-JBS353O4.cjs +248 -0
- package/dist/{chunk-IPSNC5VZ.js → chunk-JHM7MN3G.js} +15 -7
- 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-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-L6GIV5DQ.cjs → chunk-PJFYIXBX.cjs} +40 -22
- package/dist/{chunk-NXBFEIUX.cjs → chunk-PNKNZREC.cjs} +266 -130
- 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-BW76ENTW.cjs → chunk-RERMZNF3.cjs} +10 -9
- package/dist/chunk-RMGFRAZ2.cjs +270 -0
- package/dist/chunk-RPO7657K.js +228 -0
- package/dist/chunk-RR7KWH26.cjs +122 -0
- package/dist/chunk-SF7BPXDJ.cjs +518 -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-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-4ACCOYBY.cjs → chunk-WHBKQZU5.cjs} +24 -8
- package/dist/{chunk-UGAN4BBW.js → chunk-WMISXERU.js} +262 -126
- package/dist/{chunk-MYW7LNB2.cjs → chunk-WROF2PVG.cjs} +40 -21
- 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 +1663 -695
- 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 +27 -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 +48 -2
- package/docs/llms/sidebar.md +24 -0
- package/docs/llms/slider.md +5 -2
- package/docs/llms/splitter.md +17 -3
- package/docs/llms/switch.md +13 -0
- package/docs/llms/table.md +7 -8
- package/docs/llms/tablepro.md +23 -1
- package/docs/llms/tabs.md +21 -0
- 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-E22OIVYP.js +0 -349
- 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-UW57F3UO.cjs +0 -371
- 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
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/* ============ Table ============ */
|
|
2
2
|
.table-wrap {
|
|
3
3
|
border-radius: var(--r-lg);
|
|
4
|
-
background: var(--bg);
|
|
5
|
-
box-shadow: var(--neu-shadow-inset);
|
|
4
|
+
background: var(--lmn-table-bg, var(--bg));
|
|
5
|
+
box-shadow: var(--lmn-table-neu-shadow-inset, var(--neu-shadow-inset));
|
|
6
6
|
overflow: auto;
|
|
7
|
+
container-type: inline-size;
|
|
7
8
|
}
|
|
8
9
|
/* When scroll=y is on, the wrap itself becomes the scroll region. */
|
|
9
10
|
.table-wrap.scroll-y { overflow-y: auto; }
|
|
@@ -18,52 +19,69 @@
|
|
|
18
19
|
.table th {
|
|
19
20
|
text-align: left;
|
|
20
21
|
padding: 14px 18px;
|
|
21
|
-
background: var(--bg);
|
|
22
|
+
background: var(--lmn-table-bg, var(--bg));
|
|
22
23
|
font-size: 11px;
|
|
23
24
|
font-weight: 700;
|
|
24
25
|
letter-spacing: 0.08em;
|
|
25
26
|
text-transform: uppercase;
|
|
26
|
-
color: var(--fg-subtle);
|
|
27
|
-
border-bottom: 1px solid var(--divider);
|
|
27
|
+
color: var(--lmn-table-fg-subtle, var(--fg-subtle));
|
|
28
|
+
border-bottom: 1px solid var(--lmn-table-divider, var(--divider));
|
|
28
29
|
position: sticky; top: 0;
|
|
29
30
|
z-index: 1;
|
|
30
31
|
}
|
|
31
32
|
/* When the wrap is the scroll container (scroll.y), position:sticky on th needs
|
|
32
33
|
top:0 relative to the wrap — browsers already handle that. Adding a stronger
|
|
33
34
|
bg so content under the header doesn't bleed through. */
|
|
34
|
-
.table.sticky-head th { background: var(--bg); }
|
|
35
|
-
.table th.sortable {
|
|
36
|
-
.table th.sortable:hover { color: var(--fg); }
|
|
35
|
+
.table.sticky-head th { background: var(--lmn-table-bg, var(--bg)); }
|
|
36
|
+
.table th.sortable { user-select: none; }
|
|
37
|
+
.table th.sortable:hover { color: var(--lmn-table-fg, var(--fg)); }
|
|
38
|
+
.table-sort-trigger.btn {
|
|
39
|
+
height: auto;
|
|
40
|
+
min-height: 24px;
|
|
41
|
+
padding: 2px 4px;
|
|
42
|
+
color: inherit;
|
|
43
|
+
font: inherit;
|
|
44
|
+
letter-spacing: inherit;
|
|
45
|
+
text-transform: inherit;
|
|
46
|
+
}
|
|
37
47
|
.table th .th-label { vertical-align: middle; }
|
|
38
48
|
.table th .sort-ind {
|
|
39
49
|
display: inline-flex;
|
|
40
50
|
width: 16px; height: 16px;
|
|
41
51
|
border-radius: 6px;
|
|
42
|
-
background: var(--bg);
|
|
43
|
-
box-shadow: var(--neu-shadow-subtle);
|
|
52
|
+
background: var(--lmn-table-bg, var(--bg));
|
|
53
|
+
box-shadow: var(--lmn-table-neu-shadow-subtle, var(--neu-shadow-subtle));
|
|
44
54
|
align-items: center; justify-content: center;
|
|
45
55
|
margin-left: 6px;
|
|
46
|
-
color: var(--fg-subtle);
|
|
56
|
+
color: var(--lmn-table-fg-subtle, var(--fg-subtle));
|
|
47
57
|
vertical-align: middle;
|
|
48
58
|
}
|
|
49
|
-
.table th.sorted .sort-ind { color: var(--accent); box-shadow: var(--neu-shadow-inset); }
|
|
59
|
+
.table th.sorted .sort-ind { color: var(--lmn-table-accent, var(--accent)); box-shadow: var(--lmn-table-neu-shadow-inset, var(--neu-shadow-inset)); }
|
|
50
60
|
.table td {
|
|
51
61
|
padding: 12px 18px;
|
|
52
|
-
border-bottom: 1px solid var(--divider);
|
|
62
|
+
border-bottom: 1px solid var(--lmn-table-divider, var(--divider));
|
|
53
63
|
vertical-align: middle;
|
|
54
64
|
}
|
|
55
|
-
.table.hoverable tbody tr:hover td { background: color-mix(in oklch, var(--accent-soft) 40%, transparent); }
|
|
65
|
+
.table.hoverable tbody tr:hover td { background: color-mix(in oklch, var(--lmn-table-accent-soft, var(--accent-soft)) 40%, transparent); }
|
|
56
66
|
.table tbody tr.clickable { cursor: pointer; }
|
|
57
|
-
.table tbody tr.
|
|
67
|
+
.table tbody tr.clickable:focus-visible td {
|
|
68
|
+
background: color-mix(in oklch, var(--lmn-table-accent-soft, var(--accent-soft)) 55%, transparent);
|
|
69
|
+
box-shadow: inset 0 0 0 2px var(--lmn-table-accent-glow, var(--accent-glow));
|
|
70
|
+
}
|
|
71
|
+
.table tbody tr.selected td { background: color-mix(in oklch, var(--lmn-table-accent-soft, var(--accent-soft)) 80%, transparent); color: var(--lmn-table-accent-ink, var(--accent-ink)); }
|
|
58
72
|
.table tbody tr:last-child td { border-bottom: none; }
|
|
59
73
|
.table.striped tbody tr:nth-child(even) td {
|
|
60
|
-
background: color-mix(in oklch, var(--bg-sunken) 40%, transparent);
|
|
74
|
+
background: color-mix(in oklch, var(--lmn-table-bg-sunken, var(--bg-sunken)) 40%, transparent);
|
|
75
|
+
}
|
|
76
|
+
.table:not(.cards) tbody tr.active-row td {
|
|
77
|
+
background: color-mix(in oklch, var(--lmn-table-accent-soft, var(--accent-soft)) 72%, transparent);
|
|
78
|
+
color: var(--lmn-table-accent-ink, var(--accent-ink));
|
|
61
79
|
}
|
|
62
80
|
|
|
63
81
|
/* Embossed: each row sits on the surface */
|
|
64
82
|
.table.embossed { border-spacing: 0; }
|
|
65
83
|
.table.embossed tbody td {
|
|
66
|
-
background: var(--bg);
|
|
84
|
+
background: var(--lmn-table-bg, var(--bg));
|
|
67
85
|
}
|
|
68
86
|
|
|
69
87
|
/* Card-row variant: each row is its own raised pill */
|
|
@@ -84,8 +102,8 @@
|
|
|
84
102
|
inset: 0;
|
|
85
103
|
z-index: -1;
|
|
86
104
|
border-radius: var(--r-md);
|
|
87
|
-
background: var(--bg);
|
|
88
|
-
box-shadow: var(--neu-shadow-control);
|
|
105
|
+
background: var(--lmn-table-bg, var(--bg));
|
|
106
|
+
box-shadow: var(--lmn-table-neu-shadow-control, var(--neu-shadow-control));
|
|
89
107
|
pointer-events: none;
|
|
90
108
|
transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
|
|
91
109
|
}
|
|
@@ -113,41 +131,63 @@
|
|
|
113
131
|
.table.cards.hoverable tbody tr:hover {
|
|
114
132
|
transform: translateY(-1px);
|
|
115
133
|
}
|
|
116
|
-
.table.cards.hoverable tbody tr:hover .card-row-surface { box-shadow: var(--neu-shadow-panel); }
|
|
134
|
+
.table.cards.hoverable tbody tr:hover .card-row-surface { box-shadow: var(--lmn-table-neu-shadow-panel, var(--neu-shadow-panel)); }
|
|
117
135
|
.table.cards.hoverable tbody tr:hover td { background: transparent; }
|
|
136
|
+
.table.cards tbody tr.active-row .card-row-surface {
|
|
137
|
+
box-shadow:
|
|
138
|
+
var(--lmn-table-neu-shadow-control, var(--neu-shadow-control)),
|
|
139
|
+
inset 0 0 0 2px var(--lmn-table-accent-glow, var(--accent-glow));
|
|
140
|
+
}
|
|
141
|
+
.table.cards tbody tr.active-row td {
|
|
142
|
+
color: var(--lmn-table-accent-ink, var(--accent-ink));
|
|
143
|
+
}
|
|
118
144
|
|
|
119
145
|
.table .row-check { width: 44px; }
|
|
120
146
|
.table .row-check .checkbox { display: inline-flex; }
|
|
121
147
|
.table .row-expand { width: 40px; text-align: center; }
|
|
122
|
-
.table-empty {
|
|
148
|
+
.table .table-empty {
|
|
149
|
+
padding: 0;
|
|
150
|
+
color: var(--lmn-table-fg-muted, var(--fg-muted));
|
|
151
|
+
}
|
|
152
|
+
.table-empty-content {
|
|
153
|
+
box-sizing: border-box;
|
|
154
|
+
width: 100%;
|
|
155
|
+
padding: 60px 20px;
|
|
156
|
+
text-align: center;
|
|
157
|
+
}
|
|
158
|
+
.table-wrap.scroll-x .table-empty-content {
|
|
159
|
+
position: sticky;
|
|
160
|
+
left: 0;
|
|
161
|
+
width: 100cqi;
|
|
162
|
+
}
|
|
123
163
|
|
|
124
164
|
/* Expand button */
|
|
125
165
|
.expand-btn {
|
|
126
166
|
width: 22px; height: 22px;
|
|
127
167
|
border: none;
|
|
128
168
|
border-radius: var(--r-sm);
|
|
129
|
-
background: var(--bg);
|
|
130
|
-
box-shadow: var(--neu-shadow-subtle);
|
|
131
|
-
color: var(--fg-subtle);
|
|
169
|
+
background: var(--lmn-table-bg, var(--bg));
|
|
170
|
+
box-shadow: var(--lmn-table-neu-shadow-subtle, var(--neu-shadow-subtle));
|
|
171
|
+
color: var(--lmn-table-fg-subtle, var(--fg-subtle));
|
|
132
172
|
display: inline-flex; align-items: center; justify-content: center;
|
|
133
173
|
cursor: pointer;
|
|
134
174
|
transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
|
|
135
175
|
}
|
|
136
|
-
.expand-btn:hover { color: var(--accent-ink); box-shadow: var(--neu-shadow-control); }
|
|
137
|
-
.expand-btn.open { transform: rotate(90deg); color: var(--accent-ink); box-shadow: var(--neu-shadow-inset); }
|
|
176
|
+
.expand-btn:hover { color: var(--lmn-table-accent-ink, var(--accent-ink)); box-shadow: var(--lmn-table-neu-shadow-control, var(--neu-shadow-control)); }
|
|
177
|
+
.expand-btn.open { transform: rotate(90deg); color: var(--lmn-table-accent-ink, var(--accent-ink)); box-shadow: var(--lmn-table-neu-shadow-inset, var(--neu-shadow-inset)); }
|
|
138
178
|
|
|
139
179
|
/* Expanded row panel */
|
|
140
180
|
.table tbody tr.expanded-row td {
|
|
141
181
|
padding: 14px 18px;
|
|
142
|
-
border-bottom: 1px solid var(--divider);
|
|
143
|
-
background: color-mix(in oklch, var(--bg-sunken) 25%, transparent);
|
|
182
|
+
border-bottom: 1px solid var(--lmn-table-divider, var(--divider));
|
|
183
|
+
background: color-mix(in oklch, var(--lmn-table-bg-sunken, var(--bg-sunken)) 25%, transparent);
|
|
144
184
|
}
|
|
145
185
|
.expanded-panel {
|
|
146
186
|
padding: 14px 16px;
|
|
147
187
|
border-radius: var(--r-md);
|
|
148
|
-
background: var(--bg);
|
|
149
|
-
box-shadow: var(--neu-shadow-inset);
|
|
150
|
-
color: var(--fg);
|
|
188
|
+
background: var(--lmn-table-bg, var(--bg));
|
|
189
|
+
box-shadow: var(--lmn-table-neu-shadow-inset, var(--neu-shadow-inset));
|
|
190
|
+
color: var(--lmn-table-fg, var(--fg));
|
|
151
191
|
font-size: 13px;
|
|
152
192
|
}
|
|
153
193
|
|
|
@@ -157,21 +197,21 @@
|
|
|
157
197
|
border-radius: 50%;
|
|
158
198
|
border: none;
|
|
159
199
|
padding: 0;
|
|
160
|
-
background: var(--bg);
|
|
161
|
-
box-shadow: var(--neu-shadow-inset);
|
|
200
|
+
background: var(--lmn-table-bg, var(--bg));
|
|
201
|
+
box-shadow: var(--lmn-table-neu-shadow-inset, var(--neu-shadow-inset));
|
|
162
202
|
display: inline-flex; align-items: center; justify-content: center;
|
|
163
203
|
cursor: pointer;
|
|
164
204
|
transition: box-shadow var(--dur-fast) var(--ease);
|
|
165
205
|
}
|
|
166
206
|
.table .row-check .radio-dot:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
167
207
|
.table .row-check .radio-dot.checked {
|
|
168
|
-
box-shadow: var(--neu-shadow-control);
|
|
208
|
+
box-shadow: var(--lmn-table-neu-shadow-control, var(--neu-shadow-control));
|
|
169
209
|
}
|
|
170
210
|
.table .row-check .radio-dot.checked::after {
|
|
171
211
|
content: "";
|
|
172
212
|
width: 8px; height: 8px;
|
|
173
213
|
border-radius: 50%;
|
|
174
|
-
background: var(--accent);
|
|
214
|
+
background: var(--lmn-table-accent, var(--accent));
|
|
175
215
|
}
|
|
176
216
|
|
|
177
217
|
/* Filter button on header */
|
|
@@ -179,9 +219,9 @@
|
|
|
179
219
|
display: inline-flex;
|
|
180
220
|
width: 18px; height: 18px;
|
|
181
221
|
border-radius: 5px;
|
|
182
|
-
background: var(--bg);
|
|
183
|
-
box-shadow: var(--neu-shadow-subtle);
|
|
184
|
-
color: var(--fg-subtle);
|
|
222
|
+
background: var(--lmn-table-bg, var(--bg));
|
|
223
|
+
box-shadow: var(--lmn-table-neu-shadow-subtle, var(--neu-shadow-subtle));
|
|
224
|
+
color: var(--lmn-table-fg-subtle, var(--fg-subtle));
|
|
185
225
|
align-items: center; justify-content: center;
|
|
186
226
|
margin-left: 6px;
|
|
187
227
|
cursor: pointer;
|
|
@@ -190,10 +230,10 @@
|
|
|
190
230
|
padding: 0;
|
|
191
231
|
transition: color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
|
|
192
232
|
}
|
|
193
|
-
.table th.filterable .filter-ind:hover { color: var(--fg); }
|
|
233
|
+
.table th.filterable .filter-ind:hover { color: var(--lmn-table-fg, var(--fg)); }
|
|
194
234
|
.table th.filterable .filter-ind.active {
|
|
195
|
-
color: var(--accent-ink);
|
|
196
|
-
box-shadow: var(--neu-shadow-inset);
|
|
235
|
+
color: var(--lmn-table-accent-ink, var(--accent-ink));
|
|
236
|
+
box-shadow: var(--lmn-table-neu-shadow-inset, var(--neu-shadow-inset));
|
|
197
237
|
}
|
|
198
238
|
|
|
199
239
|
/* Filter popover panel (portaled to body) */
|
|
@@ -201,9 +241,9 @@
|
|
|
201
241
|
z-index: 1001;
|
|
202
242
|
min-width: 200px;
|
|
203
243
|
max-width: 260px;
|
|
204
|
-
background: var(--bg);
|
|
244
|
+
background: var(--lmn-table-bg, var(--bg));
|
|
205
245
|
border-radius: var(--r-md);
|
|
206
|
-
box-shadow: var(--neu-shadow-float);
|
|
246
|
+
box-shadow: var(--lmn-table-neu-shadow-float, var(--neu-shadow-float));
|
|
207
247
|
padding: 10px;
|
|
208
248
|
animation: menuIn var(--dur) var(--ease);
|
|
209
249
|
}
|
|
@@ -222,12 +262,12 @@
|
|
|
222
262
|
padding: 6px 8px;
|
|
223
263
|
border-radius: var(--r-sm);
|
|
224
264
|
font-size: 13px;
|
|
225
|
-
color: var(--fg);
|
|
265
|
+
color: var(--lmn-table-fg, var(--fg));
|
|
226
266
|
cursor: pointer;
|
|
227
267
|
transition: background var(--dur-fast) var(--ease);
|
|
228
268
|
}
|
|
229
269
|
.table-filter-item:hover {
|
|
230
|
-
background: color-mix(in oklch, var(--accent-soft) 40%, transparent);
|
|
270
|
+
background: color-mix(in oklch, var(--lmn-table-accent-soft, var(--accent-soft)) 40%, transparent);
|
|
231
271
|
}
|
|
232
272
|
.table-filter-actions {
|
|
233
273
|
display: flex;
|
|
@@ -235,24 +275,36 @@
|
|
|
235
275
|
gap: 6px;
|
|
236
276
|
margin-top: 6px;
|
|
237
277
|
padding-top: 8px;
|
|
238
|
-
border-top: 1px solid var(--divider);
|
|
278
|
+
border-top: 1px solid var(--lmn-table-divider, var(--divider));
|
|
239
279
|
}
|
|
240
280
|
.table-filter-actions .tf-btn {
|
|
241
281
|
border: none;
|
|
242
282
|
padding: 6px 12px;
|
|
243
283
|
border-radius: var(--r-sm);
|
|
244
|
-
background: var(--bg);
|
|
245
|
-
box-shadow: var(--neu-shadow-control);
|
|
284
|
+
background: var(--lmn-table-bg, var(--bg));
|
|
285
|
+
box-shadow: var(--lmn-table-neu-shadow-control, var(--neu-shadow-control));
|
|
246
286
|
font-size: 12px;
|
|
247
287
|
font-family: inherit;
|
|
248
|
-
color: var(--fg);
|
|
288
|
+
color: var(--lmn-table-fg, var(--fg));
|
|
249
289
|
cursor: pointer;
|
|
250
290
|
transition: box-shadow var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
|
|
251
291
|
}
|
|
252
|
-
.table-filter-actions .tf-btn:hover { box-shadow: var(--neu-shadow-inset); }
|
|
253
|
-
.table-filter-actions .tf-btn.primary { color: var(--accent-ink); font-weight: 600; }
|
|
254
|
-
.table-filter-actions .tf-btn.ghost { color: var(--fg-muted); box-shadow: var(--neu-shadow-subtle); }
|
|
255
|
-
.table-filter-actions .tf-btn.ghost:hover { box-shadow: var(--neu-shadow-inset); }
|
|
292
|
+
.table-filter-actions .tf-btn:hover { box-shadow: var(--lmn-table-neu-shadow-inset, var(--neu-shadow-inset)); }
|
|
293
|
+
.table-filter-actions .tf-btn.primary { color: var(--lmn-table-accent-ink, var(--accent-ink)); font-weight: 600; }
|
|
294
|
+
.table-filter-actions .tf-btn.ghost { color: var(--lmn-table-fg-muted, var(--fg-muted)); box-shadow: var(--lmn-table-neu-shadow-subtle, var(--neu-shadow-subtle)); }
|
|
295
|
+
.table-filter-actions .tf-btn.ghost:hover { box-shadow: var(--lmn-table-neu-shadow-inset, var(--neu-shadow-inset)); }
|
|
296
|
+
|
|
297
|
+
.table-sr-only {
|
|
298
|
+
position: absolute;
|
|
299
|
+
width: 1px;
|
|
300
|
+
height: 1px;
|
|
301
|
+
padding: 0;
|
|
302
|
+
margin: -1px;
|
|
303
|
+
overflow: hidden;
|
|
304
|
+
clip: rect(0, 0, 0, 0);
|
|
305
|
+
white-space: nowrap;
|
|
306
|
+
border: 0;
|
|
307
|
+
}
|
|
256
308
|
|
|
257
309
|
/* Built-in pagination bar */
|
|
258
310
|
.table-pagination {
|
package/dist/Table.cjs
CHANGED
|
@@ -1,18 +1,22 @@
|
|
|
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-
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
3
|
+
var chunkPNKNZREC_cjs = require('./chunk-PNKNZREC.cjs');
|
|
4
|
+
require('./chunk-PJFYIXBX.cjs');
|
|
5
|
+
require('./chunk-SF7BPXDJ.cjs');
|
|
6
|
+
require('./chunk-GFKWSDD6.cjs');
|
|
7
|
+
require('./chunk-KCDOC3HS.cjs');
|
|
8
|
+
require('./chunk-FJB3243S.cjs');
|
|
9
|
+
require('./chunk-STQDKMS5.cjs');
|
|
10
|
+
require('./chunk-HYHBCHFM.cjs');
|
|
11
|
+
require('./chunk-HSDMJUB6.cjs');
|
|
12
|
+
require('./chunk-T4RR6NVU.cjs');
|
|
13
|
+
require('./chunk-2AUXUZ3Z.cjs');
|
|
14
|
+
require('./chunk-NRJXZPZR.cjs');
|
|
15
|
+
require('./chunk-EE5KXDRK.cjs');
|
|
12
16
|
|
|
13
17
|
|
|
14
18
|
|
|
15
19
|
Object.defineProperty(exports, "Table", {
|
|
16
20
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkPNKNZREC_cjs.Table; }
|
|
18
22
|
});
|
package/dist/Table.d.cts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-Jt4B5aU8.cjs';
|
|
2
3
|
|
|
3
4
|
type RowKey = string | number;
|
|
5
|
+
/** 根据当前数据行生成附加类名,或为全部行使用同一个类名。 */
|
|
6
|
+
type TableRowClassName<Row = any> = string | ((row: Row, index: number) => string | undefined);
|
|
4
7
|
interface TableColumnFilterItem {
|
|
5
8
|
text: React.ReactNode;
|
|
6
9
|
value: string | number;
|
|
@@ -49,6 +52,29 @@ interface PaginationConfig {
|
|
|
49
52
|
showSizeChanger?: boolean;
|
|
50
53
|
/** Selectable page sizes for the size dropdown. */
|
|
51
54
|
pageSizeOptions?: number[];
|
|
55
|
+
/** 数据分页方式。`local` 由 Table 切片,`remote` 直接渲染传入数据。 */
|
|
56
|
+
mode?: "local" | "remote";
|
|
57
|
+
}
|
|
58
|
+
/** Table 统一变更事件的触发来源。 */
|
|
59
|
+
type TableChangeAction = "paginate" | "filter" | "sort";
|
|
60
|
+
/** Table 当前分页快照。 */
|
|
61
|
+
interface TablePaginationState {
|
|
62
|
+
current: number;
|
|
63
|
+
pageSize: number;
|
|
64
|
+
total: number;
|
|
65
|
+
}
|
|
66
|
+
/** Table 当前排序快照。 */
|
|
67
|
+
interface TableSorterState {
|
|
68
|
+
key?: string;
|
|
69
|
+
direction?: "asc" | "desc";
|
|
70
|
+
}
|
|
71
|
+
/** Table 排序、筛选和分页的统一变更信息。 */
|
|
72
|
+
interface TableChangeInfo<Row = any> {
|
|
73
|
+
action: TableChangeAction;
|
|
74
|
+
pagination?: TablePaginationState;
|
|
75
|
+
filters: Record<string, (string | number)[]>;
|
|
76
|
+
sorter: TableSorterState;
|
|
77
|
+
currentData: Row[];
|
|
52
78
|
}
|
|
53
79
|
interface RowSelectionConfig<Row = any> {
|
|
54
80
|
/** "checkbox" (default) allows multi-select; "radio" allows only one row at a time. */
|
|
@@ -82,7 +108,7 @@ interface TableScrollConfig {
|
|
|
82
108
|
/** Vertical scroll: max body height (with sticky header). */
|
|
83
109
|
y?: number | string;
|
|
84
110
|
}
|
|
85
|
-
interface TableProps<Row = any> extends Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect"
|
|
111
|
+
interface TableProps<Row = any> extends Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect" | "onChange">, ComponentThemeProps {
|
|
86
112
|
columns: TableColumn<Row>[];
|
|
87
113
|
data: Row[];
|
|
88
114
|
rowKey?: keyof Row | ((row: Row) => RowKey);
|
|
@@ -96,6 +122,8 @@ interface TableProps<Row = any> extends Omit<React.HTMLAttributes<HTMLDivElement
|
|
|
96
122
|
sortKey?: string;
|
|
97
123
|
sortDir?: "asc" | "desc";
|
|
98
124
|
onSort?: (key: string) => void;
|
|
125
|
+
/** 排序、筛选或分页变化时触发,适合统一同步 URL 或远程请求参数。 */
|
|
126
|
+
onChange?: (info: TableChangeInfo<Row>) => void;
|
|
99
127
|
/**
|
|
100
128
|
* Row selection config — preferred API.
|
|
101
129
|
* When provided, takes precedence over `selectable` / `selected` / `onSelect`.
|
|
@@ -122,14 +150,21 @@ interface TableProps<Row = any> extends Omit<React.HTMLAttributes<HTMLDivElement
|
|
|
122
150
|
pagination?: false | PaginationConfig;
|
|
123
151
|
/** Horizontal / vertical scroll config. */
|
|
124
152
|
scroll?: TableScrollConfig;
|
|
153
|
+
/** 原生 table 元素属性,例如 aria-label。 */
|
|
154
|
+
tableProps?: Omit<React.TableHTMLAttributes<HTMLTableElement>, "children">;
|
|
155
|
+
/** 原生表格标题;可用 className 自行做视觉隐藏。 */
|
|
156
|
+
caption?: React.ReactNode;
|
|
125
157
|
/** Called when user clicks a row. */
|
|
126
158
|
onRowClick?: (row: Row, index: number) => void;
|
|
159
|
+
/** 仅高亮指定行,不改变选择状态或复选框。 */
|
|
160
|
+
activeRowKey?: RowKey;
|
|
161
|
+
/** 为数据行提供固定类名或按行计算类名。 */
|
|
162
|
+
rowClassName?: TableRowClassName<Row>;
|
|
127
163
|
/** Empty state. */
|
|
128
164
|
empty?: React.ReactNode;
|
|
129
165
|
className?: string;
|
|
130
166
|
}
|
|
131
167
|
type TableComponent = <Row extends Record<string, any> = any>(props: TableProps<Row> & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
|
|
132
|
-
/** `Table` — neumorphic data table with sorting, selection and visual variants. */
|
|
133
168
|
declare const Table: TableComponent;
|
|
134
169
|
|
|
135
|
-
export { type ExpandableConfig, type PaginationConfig, type RowKey, type RowSelectionConfig, Table, type TableColumn, type TableColumnFilterItem, type TableProps, type TableScrollConfig, type TableVariant };
|
|
170
|
+
export { type ExpandableConfig, type PaginationConfig, type RowKey, type RowSelectionConfig, Table, type TableChangeAction, type TableChangeInfo, type TableColumn, type TableColumnFilterItem, type TablePaginationState, type TableProps, type TableRowClassName, type TableScrollConfig, type TableSorterState, type TableVariant };
|
package/dist/Table.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { f as ComponentThemeProps } from './componentThemeTypes-Jt4B5aU8.js';
|
|
2
3
|
|
|
3
4
|
type RowKey = string | number;
|
|
5
|
+
/** 根据当前数据行生成附加类名,或为全部行使用同一个类名。 */
|
|
6
|
+
type TableRowClassName<Row = any> = string | ((row: Row, index: number) => string | undefined);
|
|
4
7
|
interface TableColumnFilterItem {
|
|
5
8
|
text: React.ReactNode;
|
|
6
9
|
value: string | number;
|
|
@@ -49,6 +52,29 @@ interface PaginationConfig {
|
|
|
49
52
|
showSizeChanger?: boolean;
|
|
50
53
|
/** Selectable page sizes for the size dropdown. */
|
|
51
54
|
pageSizeOptions?: number[];
|
|
55
|
+
/** 数据分页方式。`local` 由 Table 切片,`remote` 直接渲染传入数据。 */
|
|
56
|
+
mode?: "local" | "remote";
|
|
57
|
+
}
|
|
58
|
+
/** Table 统一变更事件的触发来源。 */
|
|
59
|
+
type TableChangeAction = "paginate" | "filter" | "sort";
|
|
60
|
+
/** Table 当前分页快照。 */
|
|
61
|
+
interface TablePaginationState {
|
|
62
|
+
current: number;
|
|
63
|
+
pageSize: number;
|
|
64
|
+
total: number;
|
|
65
|
+
}
|
|
66
|
+
/** Table 当前排序快照。 */
|
|
67
|
+
interface TableSorterState {
|
|
68
|
+
key?: string;
|
|
69
|
+
direction?: "asc" | "desc";
|
|
70
|
+
}
|
|
71
|
+
/** Table 排序、筛选和分页的统一变更信息。 */
|
|
72
|
+
interface TableChangeInfo<Row = any> {
|
|
73
|
+
action: TableChangeAction;
|
|
74
|
+
pagination?: TablePaginationState;
|
|
75
|
+
filters: Record<string, (string | number)[]>;
|
|
76
|
+
sorter: TableSorterState;
|
|
77
|
+
currentData: Row[];
|
|
52
78
|
}
|
|
53
79
|
interface RowSelectionConfig<Row = any> {
|
|
54
80
|
/** "checkbox" (default) allows multi-select; "radio" allows only one row at a time. */
|
|
@@ -82,7 +108,7 @@ interface TableScrollConfig {
|
|
|
82
108
|
/** Vertical scroll: max body height (with sticky header). */
|
|
83
109
|
y?: number | string;
|
|
84
110
|
}
|
|
85
|
-
interface TableProps<Row = any> extends Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect"
|
|
111
|
+
interface TableProps<Row = any> extends Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect" | "onChange">, ComponentThemeProps {
|
|
86
112
|
columns: TableColumn<Row>[];
|
|
87
113
|
data: Row[];
|
|
88
114
|
rowKey?: keyof Row | ((row: Row) => RowKey);
|
|
@@ -96,6 +122,8 @@ interface TableProps<Row = any> extends Omit<React.HTMLAttributes<HTMLDivElement
|
|
|
96
122
|
sortKey?: string;
|
|
97
123
|
sortDir?: "asc" | "desc";
|
|
98
124
|
onSort?: (key: string) => void;
|
|
125
|
+
/** 排序、筛选或分页变化时触发,适合统一同步 URL 或远程请求参数。 */
|
|
126
|
+
onChange?: (info: TableChangeInfo<Row>) => void;
|
|
99
127
|
/**
|
|
100
128
|
* Row selection config — preferred API.
|
|
101
129
|
* When provided, takes precedence over `selectable` / `selected` / `onSelect`.
|
|
@@ -122,14 +150,21 @@ interface TableProps<Row = any> extends Omit<React.HTMLAttributes<HTMLDivElement
|
|
|
122
150
|
pagination?: false | PaginationConfig;
|
|
123
151
|
/** Horizontal / vertical scroll config. */
|
|
124
152
|
scroll?: TableScrollConfig;
|
|
153
|
+
/** 原生 table 元素属性,例如 aria-label。 */
|
|
154
|
+
tableProps?: Omit<React.TableHTMLAttributes<HTMLTableElement>, "children">;
|
|
155
|
+
/** 原生表格标题;可用 className 自行做视觉隐藏。 */
|
|
156
|
+
caption?: React.ReactNode;
|
|
125
157
|
/** Called when user clicks a row. */
|
|
126
158
|
onRowClick?: (row: Row, index: number) => void;
|
|
159
|
+
/** 仅高亮指定行,不改变选择状态或复选框。 */
|
|
160
|
+
activeRowKey?: RowKey;
|
|
161
|
+
/** 为数据行提供固定类名或按行计算类名。 */
|
|
162
|
+
rowClassName?: TableRowClassName<Row>;
|
|
127
163
|
/** Empty state. */
|
|
128
164
|
empty?: React.ReactNode;
|
|
129
165
|
className?: string;
|
|
130
166
|
}
|
|
131
167
|
type TableComponent = <Row extends Record<string, any> = any>(props: TableProps<Row> & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
|
|
132
|
-
/** `Table` — neumorphic data table with sorting, selection and visual variants. */
|
|
133
168
|
declare const Table: TableComponent;
|
|
134
169
|
|
|
135
|
-
export { type ExpandableConfig, type PaginationConfig, type RowKey, type RowSelectionConfig, Table, type TableColumn, type TableColumnFilterItem, type TableProps, type TableScrollConfig, type TableVariant };
|
|
170
|
+
export { type ExpandableConfig, type PaginationConfig, type RowKey, type RowSelectionConfig, Table, type TableChangeAction, type TableChangeInfo, type TableColumn, type TableColumnFilterItem, type TablePaginationState, type TableProps, type TableRowClassName, type TableScrollConfig, type TableSorterState, type TableVariant };
|
package/dist/Table.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
export { Table } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
1
|
+
export { Table } from './chunk-WMISXERU.js';
|
|
2
|
+
import './chunk-HQNDVNTQ.js';
|
|
3
|
+
import './chunk-DURKCGEM.js';
|
|
4
|
+
import './chunk-62VV5COT.js';
|
|
5
|
+
import './chunk-KATJAJUU.js';
|
|
6
|
+
import './chunk-3QXP2ZNP.js';
|
|
7
|
+
import './chunk-UE4HFGJ6.js';
|
|
8
|
+
import './chunk-3F424R5P.js';
|
|
9
|
+
import './chunk-2A4GYSN4.js';
|
|
10
|
+
import './chunk-JHM7MN3G.js';
|
|
11
|
+
import './chunk-LQMOYVQF.js';
|
|
12
|
+
import './chunk-DRDDQCDD.js';
|
|
13
|
+
import './chunk-ULTDRMGN.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* ============ TablePro ============ */
|
|
2
2
|
.table-card {
|
|
3
3
|
border-radius: var(--r-lg);
|
|
4
|
-
background: var(--bg);
|
|
5
|
-
box-shadow: var(--neu-shadow-control);
|
|
4
|
+
background: var(--lmn-table-pro-bg, var(--bg));
|
|
5
|
+
box-shadow: var(--lmn-table-pro-neu-shadow-control, var(--neu-shadow-control));
|
|
6
6
|
overflow: hidden;
|
|
7
7
|
}
|
|
8
8
|
.table-card .table-wrap { background: transparent; box-shadow: none; border-radius: 0; }
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
.table-card .table-pagination {
|
|
11
11
|
margin-top: 0;
|
|
12
12
|
padding: 6px 16px;
|
|
13
|
-
border-top: 1px solid var(--divider);
|
|
13
|
+
border-top: 1px solid var(--lmn-table-pro-divider, var(--divider));
|
|
14
14
|
background: transparent;
|
|
15
15
|
}
|
|
16
16
|
.table-toolbar {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
align-items: center;
|
|
19
19
|
gap: var(--gap-3);
|
|
20
20
|
padding: 14px 16px;
|
|
21
|
-
border-bottom: 1px solid var(--divider);
|
|
21
|
+
border-bottom: 1px solid var(--lmn-table-pro-divider, var(--divider));
|
|
22
22
|
}
|
|
23
23
|
.table-toolbar .table-title {
|
|
24
24
|
font-size: 14px;
|
|
@@ -40,6 +40,6 @@
|
|
|
40
40
|
}
|
|
41
41
|
.table-footer {
|
|
42
42
|
padding: 10px 16px;
|
|
43
|
-
border-top: 1px solid var(--divider);
|
|
43
|
+
border-top: 1px solid var(--lmn-table-pro-divider, var(--divider));
|
|
44
44
|
background: transparent;
|
|
45
45
|
}
|
package/dist/TablePro.cjs
CHANGED
|
@@ -1,19 +1,23 @@
|
|
|
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-
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
3
|
+
var chunkWHBKQZU5_cjs = require('./chunk-WHBKQZU5.cjs');
|
|
4
|
+
require('./chunk-PNKNZREC.cjs');
|
|
5
|
+
require('./chunk-PJFYIXBX.cjs');
|
|
6
|
+
require('./chunk-SF7BPXDJ.cjs');
|
|
7
|
+
require('./chunk-GFKWSDD6.cjs');
|
|
8
|
+
require('./chunk-KCDOC3HS.cjs');
|
|
9
|
+
require('./chunk-FJB3243S.cjs');
|
|
10
|
+
require('./chunk-STQDKMS5.cjs');
|
|
11
|
+
require('./chunk-HYHBCHFM.cjs');
|
|
12
|
+
require('./chunk-HSDMJUB6.cjs');
|
|
13
|
+
require('./chunk-T4RR6NVU.cjs');
|
|
14
|
+
require('./chunk-2AUXUZ3Z.cjs');
|
|
15
|
+
require('./chunk-NRJXZPZR.cjs');
|
|
16
|
+
require('./chunk-EE5KXDRK.cjs');
|
|
13
17
|
|
|
14
18
|
|
|
15
19
|
|
|
16
20
|
Object.defineProperty(exports, "TablePro", {
|
|
17
21
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkWHBKQZU5_cjs.TablePro; }
|
|
19
23
|
});
|
package/dist/TablePro.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TableProps } from './Table.cjs';
|
|
3
|
+
import './componentThemeTypes-Jt4B5aU8.cjs';
|
|
3
4
|
|
|
4
5
|
interface TableProProps<Row = any> extends Omit<TableProps<Row>, "title" | "className" | "style"> {
|
|
5
6
|
/** Toolbar slot — search input, filter, etc. */
|
package/dist/TablePro.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TableProps } from './Table.js';
|
|
3
|
+
import './componentThemeTypes-Jt4B5aU8.js';
|
|
3
4
|
|
|
4
5
|
interface TableProProps<Row = any> extends Omit<TableProps<Row>, "title" | "className" | "style"> {
|
|
5
6
|
/** Toolbar slot — search input, filter, etc. */
|
package/dist/TablePro.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
export { TablePro } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
1
|
+
export { TablePro } from './chunk-63RSKQID.js';
|
|
2
|
+
import './chunk-WMISXERU.js';
|
|
3
|
+
import './chunk-HQNDVNTQ.js';
|
|
4
|
+
import './chunk-DURKCGEM.js';
|
|
5
|
+
import './chunk-62VV5COT.js';
|
|
6
|
+
import './chunk-KATJAJUU.js';
|
|
7
|
+
import './chunk-3QXP2ZNP.js';
|
|
8
|
+
import './chunk-UE4HFGJ6.js';
|
|
9
|
+
import './chunk-3F424R5P.js';
|
|
10
|
+
import './chunk-2A4GYSN4.js';
|
|
11
|
+
import './chunk-JHM7MN3G.js';
|
|
12
|
+
import './chunk-LQMOYVQF.js';
|
|
13
|
+
import './chunk-DRDDQCDD.js';
|
|
14
|
+
import './chunk-ULTDRMGN.js';
|