@fangxinyan/lumina 0.6.0 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Alert.cjs +3 -5
- package/dist/Alert.js +2 -4
- package/dist/AppShell.cjs +5 -7
- package/dist/AppShell.js +1 -3
- package/dist/AutoComplete.cjs +6 -7
- package/dist/AutoComplete.d.cts +1 -1
- package/dist/AutoComplete.d.ts +1 -1
- package/dist/AutoComplete.js +5 -6
- package/dist/Avatar.cjs +2 -4
- package/dist/Avatar.js +1 -3
- package/dist/Badge-DPGLV3D3.css +22 -0
- package/dist/Badge.cjs +10 -0
- package/dist/Badge.d.cts +18 -0
- package/dist/Badge.d.ts +18 -0
- package/dist/Badge.js +1 -0
- package/dist/Button.cjs +3 -9
- package/dist/Button.d.cts +5 -10
- package/dist/Button.d.ts +5 -10
- package/dist/Button.js +2 -4
- package/dist/Calendar.cjs +3 -5
- package/dist/Calendar.js +2 -4
- package/dist/{Card-RG7ECXL2.css → Card-6RMVIHWX.css} +7 -13
- package/dist/Card.cjs +2 -8
- package/dist/Card.d.cts +7 -11
- package/dist/Card.d.ts +7 -11
- package/dist/Card.js +1 -3
- package/dist/{Cascader-VSYEKQCG.css → Cascader-C2DFSMKJ.css} +64 -0
- package/dist/Cascader.cjs +6 -6
- package/dist/Cascader.d.cts +18 -2
- package/dist/Cascader.d.ts +18 -2
- package/dist/Cascader.js +5 -5
- package/dist/{Checkbox-SKJATVSN.css → Checkbox-U5EUDSYS.css} +5 -35
- package/dist/Checkbox.cjs +3 -9
- package/dist/Checkbox.d.cts +1 -18
- package/dist/Checkbox.d.ts +1 -18
- package/dist/Checkbox.js +2 -4
- package/dist/Collapse-66U5YJFY.css +53 -0
- package/dist/Collapse.cjs +11 -0
- package/dist/Collapse.d.cts +32 -0
- package/dist/Collapse.d.ts +32 -0
- package/dist/Collapse.js +2 -0
- package/dist/ColorPicker.cjs +3 -5
- package/dist/ColorPicker.js +2 -4
- package/dist/CommandPalette.cjs +5 -6
- package/dist/CommandPalette.js +4 -5
- package/dist/ContextMenu.cjs +2 -4
- package/dist/ContextMenu.js +1 -3
- package/dist/Divider.cjs +2 -4
- package/dist/Divider.js +1 -3
- package/dist/Drawer.cjs +3 -5
- package/dist/Drawer.js +2 -4
- package/dist/Empty-DC2LPORC.css +28 -0
- package/dist/Empty.cjs +2 -12
- package/dist/Empty.d.cts +1 -62
- package/dist/Empty.d.ts +1 -62
- package/dist/Empty.js +1 -3
- package/dist/Form.cjs +4 -6
- package/dist/Form.d.cts +1 -1
- package/dist/Form.d.ts +1 -1
- package/dist/Form.js +1 -3
- package/dist/Icon.cjs +179 -5
- package/dist/Icon.d.cts +96 -3
- package/dist/Icon.d.ts +96 -3
- package/dist/Icon.js +1 -3
- package/dist/Image.cjs +4 -6
- package/dist/Image.js +2 -4
- package/dist/{Input-33CAH4O6.css → Input-3G4ONWNU.css} +15 -42
- package/dist/Input.cjs +6 -7
- package/dist/Input.d.cts +19 -23
- package/dist/Input.d.ts +19 -23
- package/dist/Input.js +3 -4
- package/dist/InputNumber.cjs +5 -6
- package/dist/InputNumber.d.cts +1 -1
- package/dist/InputNumber.d.ts +1 -1
- package/dist/InputNumber.js +4 -5
- package/dist/List.cjs +2 -4
- package/dist/List.js +1 -3
- package/dist/Message-2MZ3LFPU.css +45 -0
- package/dist/Message.cjs +23 -0
- package/dist/Message.d.cts +54 -0
- package/dist/Message.d.ts +54 -0
- package/dist/Message.js +2 -0
- package/dist/{Modal-XSDMU4XJ.css → Modal-2QNDW4SO.css} +27 -0
- package/dist/Modal.cjs +4 -6
- package/dist/Modal.d.cts +28 -4
- package/dist/Modal.d.ts +28 -4
- package/dist/Modal.js +3 -5
- package/dist/Pagination.cjs +8 -8
- package/dist/Pagination.js +7 -7
- package/dist/Popover.cjs +3 -5
- package/dist/Popover.d.cts +11 -3
- package/dist/Popover.d.ts +11 -3
- package/dist/Popover.js +2 -4
- package/dist/Progress.cjs +2 -4
- package/dist/Progress.js +1 -3
- package/dist/Radio-GVFDPAZM.css +97 -0
- package/dist/Radio.cjs +14 -0
- package/dist/Radio.d.cts +36 -0
- package/dist/Radio.d.ts +36 -0
- package/dist/Radio.js +1 -0
- package/dist/{Select-J3CCVFJ7.css → Select-JVBQAZBG.css} +7 -23
- package/dist/Select.cjs +7 -7
- package/dist/Select.d.cts +25 -4
- package/dist/Select.d.ts +25 -4
- package/dist/Select.js +6 -6
- package/dist/Skeleton-CVWH2VWN.css +40 -0
- package/dist/Skeleton.cjs +10 -0
- package/dist/Skeleton.d.cts +30 -0
- package/dist/Skeleton.d.ts +30 -0
- package/dist/Skeleton.js +1 -0
- package/dist/Slider.cjs +2 -4
- package/dist/Slider.js +1 -3
- package/dist/Spin-3GJNMSIH.css +94 -0
- package/dist/Spin.cjs +10 -0
- package/dist/Spin.d.cts +20 -0
- package/dist/Spin.d.ts +20 -0
- package/dist/Spin.js +1 -0
- package/dist/Splitter.cjs +2 -4
- package/dist/Splitter.js +1 -3
- package/dist/StatusBar.cjs +3 -5
- package/dist/StatusBar.js +1 -3
- package/dist/Switch.cjs +2 -4
- package/dist/Switch.js +1 -3
- package/dist/{Table-2LPTOUIR.css → Table-ATJJQLKU.css} +0 -53
- package/dist/Table.cjs +10 -14
- package/dist/Table.d.cts +2 -21
- package/dist/Table.d.ts +2 -21
- package/dist/Table.js +9 -9
- package/dist/TablePro-3XVHYLSL.css +45 -0
- package/dist/TablePro.cjs +19 -0
- package/dist/TablePro.d.cts +21 -0
- package/dist/TablePro.d.ts +21 -0
- package/dist/TablePro.js +10 -0
- package/dist/{Tabs-RHK6XAFF.css → Tabs-BLSNI2T5.css} +0 -34
- package/dist/Tabs.cjs +2 -8
- package/dist/Tabs.d.cts +1 -16
- package/dist/Tabs.d.ts +1 -16
- package/dist/Tabs.js +1 -3
- package/dist/Tag-LB3OOJAO.css +29 -0
- package/dist/Tag.cjs +3 -9
- package/dist/Tag.d.cts +1 -11
- package/dist/Tag.d.ts +1 -11
- package/dist/Tag.js +2 -4
- package/dist/Textarea-YNET7IBH.css +54 -0
- package/dist/Textarea.cjs +15 -0
- package/dist/Textarea.d.cts +25 -0
- package/dist/Textarea.d.ts +25 -0
- package/dist/Textarea.js +2 -0
- package/dist/Theme.cjs +10 -12
- package/dist/Theme.js +1 -3
- package/dist/{Timeline-RHZAZKZ7.css → Timeline-3ZHOHPXT.css} +2 -2
- package/dist/Timeline.cjs +3 -5
- package/dist/Timeline.d.cts +1 -1
- package/dist/Timeline.d.ts +1 -1
- package/dist/Timeline.js +2 -4
- package/dist/Tooltip.cjs +3 -5
- package/dist/Tooltip.d.cts +17 -4
- package/dist/Tooltip.d.ts +17 -4
- package/dist/Tooltip.js +2 -4
- package/dist/Typography.cjs +7 -9
- package/dist/Typography.js +2 -4
- package/dist/{chunk-74VZZAUT.cjs → chunk-2TL37AP5.cjs} +0 -2
- package/dist/{chunk-4DNHASZU.js → chunk-33NCTOEB.js} +1 -3
- package/dist/{chunk-KA3XLPQJ.cjs → chunk-35ZGBAA3.cjs} +3 -5
- package/dist/{chunk-IL523MTN.cjs → chunk-3AS5B7MQ.cjs} +13 -34
- package/dist/{chunk-ZA36BJIY.cjs → chunk-3YJU3D5S.cjs} +30 -9
- package/dist/chunk-45VJGBGN.js +25 -0
- package/dist/{chunk-JS6U7UQS.js → chunk-46VXFTEC.js} +3 -5
- package/dist/{chunk-V24B7KWT.cjs → chunk-4WTU5P3O.cjs} +3 -5
- package/dist/{chunk-3LJO33HI.js → chunk-5C2AI2SD.js} +0 -2
- package/dist/{chunk-FCIPCZAK.cjs → chunk-5JSDQ6QQ.cjs} +0 -2
- package/dist/{chunk-A3IJM7IX.js → chunk-5TKC6IEN.js} +4 -57
- package/dist/{chunk-JF2WNLPF.cjs → chunk-5WAXZJG5.cjs} +12 -21
- package/dist/{chunk-E6K6GYUC.js → chunk-65FIH5A3.js} +0 -2
- package/dist/chunk-6ACKL3WH.cjs +138 -0
- package/dist/{chunk-DCX36FYD.js → chunk-6BWELOCT.js} +0 -2
- package/dist/{chunk-WFFWVQK4.cjs → chunk-6LZ54NPO.cjs} +70 -76
- package/dist/{chunk-2LIX7ZHX.js → chunk-6YQTMI55.js} +0 -2
- package/dist/{chunk-SREMTSVI.cjs → chunk-7ABFUIOB.cjs} +0 -2
- package/dist/{chunk-2TZ2R7L2.js → chunk-7JN6FJ55.js} +0 -2
- package/dist/{chunk-DB5JMXOI.js → chunk-7NGMQIST.js} +2 -4
- package/dist/{chunk-Y7BZMMAV.cjs → chunk-7PNJI5UE.cjs} +0 -2
- package/dist/{chunk-KWE2PXJQ.js → chunk-7PQJCLIR.js} +0 -2
- package/dist/{chunk-5VIOJW6M.js → chunk-AWXCSX6J.js} +6 -26
- package/dist/chunk-AXZ7ELMA.js +41 -0
- package/dist/{chunk-XMINE4TN.cjs → chunk-B2KEZQ6S.cjs} +5 -7
- package/dist/chunk-CEJ7VBR6.js +283 -0
- package/dist/{chunk-ZPDMAMWC.js → chunk-CHMCL7AV.js} +1 -3
- package/dist/{chunk-MU4GGX6C.cjs → chunk-CUXV6QNN.cjs} +5 -7
- package/dist/{chunk-WLFMOWUY.js → chunk-CXWEOAVU.js} +1 -3
- package/dist/{chunk-D242UJZO.js → chunk-DQTSTJ6O.js} +3 -20
- package/dist/{chunk-ANAQER3T.js → chunk-DUFRASGO.js} +0 -2
- package/dist/{chunk-EARCKSI7.js → chunk-EC4WGEAJ.js} +0 -2
- package/dist/chunk-EIY7KEJ3.cjs +132 -0
- package/dist/{chunk-LSQD2GFA.js → chunk-EJBHR2P5.js} +3 -5
- package/dist/chunk-ELNT3CFO.js +64 -0
- package/dist/{chunk-ZN6VS6SO.js → chunk-EQEJTN3V.js} +3 -45
- package/dist/chunk-F6RYCBQG.js +25 -0
- package/dist/{chunk-S3OSBW7R.cjs → chunk-FBVVRTX2.cjs} +3 -46
- package/dist/chunk-FFZ6OMZI.js +110 -0
- package/dist/{chunk-MXIWTYNC.js → chunk-FJNWUELL.js} +3 -5
- package/dist/chunk-GENABQYA.cjs +47 -0
- package/dist/chunk-GMN74OEY.cjs +63 -0
- package/dist/{chunk-AXRABZLY.cjs → chunk-GNEZD7KE.cjs} +0 -2
- package/dist/chunk-GNEZQMKH.js +218 -0
- package/dist/{chunk-JAGJQDAV.cjs → chunk-HPFQXYKG.cjs} +159 -10
- package/dist/{chunk-XYGRVPUA.js → chunk-HWFM4MAT.js} +19 -9
- package/dist/{chunk-TC5ZL2OS.cjs → chunk-HZSIUOCN.cjs} +2 -57
- package/dist/{chunk-N6ZLZUBF.cjs → chunk-IZOHYJUQ.cjs} +0 -2
- package/dist/{chunk-6FSOJLY6.js → chunk-JD7A6VM3.js} +11 -19
- package/dist/chunk-K2KYM7LW.cjs +28 -0
- package/dist/{chunk-X3QINITU.js → chunk-K6F25JXT.js} +1 -3
- package/dist/{chunk-NRP3X3PE.cjs → chunk-KD4YYIIO.cjs} +1 -34
- package/dist/chunk-KGSADAOD.cjs +170 -0
- package/dist/{chunk-ZHCQEJ2Z.js → chunk-KLEKKZ73.js} +0 -2
- package/dist/{chunk-QRSPBK3X.js → chunk-LKK2AA7W.js} +0 -2
- package/dist/{chunk-V5KSJITO.cjs → chunk-MQV2XN4B.cjs} +5 -7
- package/dist/{chunk-2TNJ7TC4.cjs → chunk-MT7UWY6T.cjs} +2 -4
- package/dist/chunk-MUXP7ASL.js +26 -0
- package/dist/{chunk-W6I67HQQ.js → chunk-NN25YMOL.js} +0 -2
- package/dist/{chunk-474MXYO5.cjs → chunk-NTS5L4NQ.cjs} +3 -5
- package/dist/{chunk-CVEGVB2C.js → chunk-OBEKX4VR.js} +2 -34
- package/dist/chunk-OF3SGLZY.js +385 -0
- package/dist/{chunk-6TRVGFFX.cjs → chunk-OF7JIYBY.cjs} +2 -4
- package/dist/chunk-ON4DEDMI.js +113 -0
- package/dist/chunk-OQBDU5I2.cjs +104 -0
- package/dist/{chunk-ZM4P6ELG.cjs → chunk-OYMJVU66.cjs} +50 -41
- package/dist/{chunk-4JHFGSNH.js → chunk-PH3YECMF.js} +1 -3
- package/dist/{chunk-3EGZ6TBF.cjs → chunk-PL6DRFUO.cjs} +0 -2
- package/dist/chunk-Q5SZIU7Z.cjs +47 -0
- package/dist/{chunk-SWB57EA2.js → chunk-QCILPZWP.js} +0 -2
- package/dist/chunk-QGHYQCF3.cjs +240 -0
- package/dist/chunk-QKQHZIF3.cjs +86 -0
- package/dist/{chunk-Q7CDWNM6.cjs → chunk-RF2EY5JS.cjs} +0 -2
- package/dist/{chunk-2K5HZLXW.cjs → chunk-S3VXH5L4.cjs} +0 -2
- package/dist/{chunk-P4CGE5C7.cjs → chunk-SKMP2A5O.cjs} +5 -7
- package/dist/{chunk-RXL26GSI.cjs → chunk-SWBWZIL4.cjs} +0 -2
- package/dist/{chunk-YRAQRENN.js → chunk-TEEFR2FD.js} +29 -8
- package/dist/{chunk-YVSZLQTQ.cjs → chunk-TEG7NJHS.cjs} +3 -5
- package/dist/{chunk-DH4NYYJP.cjs → chunk-TJII7BQ2.cjs} +263 -4
- package/dist/{chunk-HHSVGNJA.cjs → chunk-TZJH5HBT.cjs} +6 -8
- package/dist/{chunk-T7ZBJJC4.js → chunk-UMDGS4BP.js} +1 -3
- package/dist/chunk-USQ43DJ5.js +147 -0
- package/dist/{chunk-RNVE2LMJ.cjs → chunk-UUHFKIWP.cjs} +20 -10
- package/dist/chunk-WGZ2KJTZ.js +81 -0
- package/dist/{chunk-RHZOBQON.js → chunk-WKKSAGYH.js} +40 -31
- package/dist/{chunk-XXE5TQ7I.cjs → chunk-WNM5RVXR.cjs} +0 -2
- package/dist/{chunk-4XSP4HHZ.js → chunk-XD3JGL5O.js} +2 -4
- package/dist/{chunk-44AVDO3T.js → chunk-XRR3CYQL.js} +0 -2
- package/dist/{chunk-ZZXNHPF3.js → chunk-XTIN5545.js} +68 -74
- package/dist/{chunk-3XIDJEYR.cjs → chunk-YB3IWIOJ.cjs} +0 -2
- package/dist/{chunk-EHZXEZI2.cjs → chunk-YLIQ37KY.cjs} +0 -2
- package/dist/{chunk-QCNHDDSD.cjs → chunk-ZIP7F4UF.cjs} +4 -22
- package/dist/index.cjs +346 -158
- package/dist/index.d.cts +23 -17
- package/dist/index.d.ts +23 -17
- package/dist/index.js +47 -43
- package/dist/styles.css +313 -192
- package/docs/llms/badge.md +3 -3
- package/docs/llms/button.md +7 -38
- package/docs/llms/card.md +6 -12
- package/docs/llms/cascader.md +19 -0
- package/docs/llms/{accordion.md → collapse.md} +13 -11
- package/docs/llms/drawer.md +1 -1
- package/docs/llms/form.md +1 -1
- package/docs/llms/input.md +25 -16
- package/docs/llms/message.md +63 -0
- package/docs/llms/modal.md +30 -0
- package/docs/llms/popover.md +18 -1
- package/docs/llms/radio.md +37 -1
- package/docs/llms/select.md +20 -0
- package/docs/llms/spin.md +59 -0
- package/docs/llms/table.md +3 -3
- package/docs/llms/tooltip.md +16 -3
- package/docs/llms.md +5 -5
- package/package.json +19 -53
- package/dist/Accordion-REMDCQUD.css +0 -44
- package/dist/Accordion.cjs +0 -13
- package/dist/Accordion.cjs.map +0 -1
- package/dist/Accordion.d.cts +0 -33
- package/dist/Accordion.d.ts +0 -33
- package/dist/Accordion.js +0 -4
- package/dist/Accordion.js.map +0 -1
- package/dist/Alert.cjs.map +0 -1
- package/dist/Alert.js.map +0 -1
- package/dist/AppShell.cjs.map +0 -1
- package/dist/AppShell.js.map +0 -1
- package/dist/AutoComplete.cjs.map +0 -1
- package/dist/AutoComplete.js.map +0 -1
- package/dist/Avatar.cjs.map +0 -1
- package/dist/Avatar.js.map +0 -1
- package/dist/Button.cjs.map +0 -1
- package/dist/Button.js.map +0 -1
- package/dist/Calendar.cjs.map +0 -1
- package/dist/Calendar.js.map +0 -1
- package/dist/Card.cjs.map +0 -1
- package/dist/Card.js.map +0 -1
- package/dist/Cascader.cjs.map +0 -1
- package/dist/Cascader.js.map +0 -1
- package/dist/Checkbox.cjs.map +0 -1
- package/dist/Checkbox.js.map +0 -1
- package/dist/ColorPicker.cjs.map +0 -1
- package/dist/ColorPicker.js.map +0 -1
- package/dist/CommandPalette.cjs.map +0 -1
- package/dist/CommandPalette.js.map +0 -1
- package/dist/ContextMenu.cjs.map +0 -1
- package/dist/ContextMenu.js.map +0 -1
- package/dist/Divider.cjs.map +0 -1
- package/dist/Divider.js.map +0 -1
- package/dist/Drawer.cjs.map +0 -1
- package/dist/Drawer.js.map +0 -1
- package/dist/Empty-NQ72W3D7.css +0 -160
- package/dist/Empty.cjs.map +0 -1
- package/dist/Empty.js.map +0 -1
- package/dist/Form.cjs.map +0 -1
- package/dist/Form.js.map +0 -1
- package/dist/Icon.cjs.map +0 -1
- package/dist/Icon.js.map +0 -1
- package/dist/Image.cjs.map +0 -1
- package/dist/Image.js.map +0 -1
- package/dist/Input.cjs.map +0 -1
- package/dist/Input.js.map +0 -1
- package/dist/InputNumber.cjs.map +0 -1
- package/dist/InputNumber.js.map +0 -1
- package/dist/List.cjs.map +0 -1
- package/dist/List.js.map +0 -1
- package/dist/Modal.cjs.map +0 -1
- package/dist/Modal.js.map +0 -1
- package/dist/Pagination.cjs.map +0 -1
- package/dist/Pagination.js.map +0 -1
- package/dist/Popover.cjs.map +0 -1
- package/dist/Popover.js.map +0 -1
- package/dist/Progress.cjs.map +0 -1
- package/dist/Progress.js.map +0 -1
- package/dist/Select.cjs.map +0 -1
- package/dist/Select.js.map +0 -1
- package/dist/Slider.cjs.map +0 -1
- package/dist/Slider.js.map +0 -1
- package/dist/Splitter.cjs.map +0 -1
- package/dist/Splitter.js.map +0 -1
- package/dist/StatusBar.cjs.map +0 -1
- package/dist/StatusBar.js.map +0 -1
- package/dist/Switch.cjs.map +0 -1
- package/dist/Switch.js.map +0 -1
- package/dist/Table.cjs.map +0 -1
- package/dist/Table.js.map +0 -1
- package/dist/Tabs.cjs.map +0 -1
- package/dist/Tabs.js.map +0 -1
- package/dist/Tag-FGDY3W7E.css +0 -51
- package/dist/Tag.cjs.map +0 -1
- package/dist/Tag.js.map +0 -1
- package/dist/Theme.cjs.map +0 -1
- package/dist/Theme.js.map +0 -1
- package/dist/Timeline.cjs.map +0 -1
- package/dist/Timeline.js.map +0 -1
- package/dist/Toast-YSACW3EM.css +0 -45
- package/dist/Toast.cjs +0 -17
- package/dist/Toast.cjs.map +0 -1
- package/dist/Toast.d.cts +0 -26
- package/dist/Toast.d.ts +0 -26
- package/dist/Toast.js +0 -4
- package/dist/Toast.js.map +0 -1
- package/dist/Tooltip.cjs.map +0 -1
- package/dist/Tooltip.js.map +0 -1
- package/dist/Typography.cjs.map +0 -1
- package/dist/Typography.js.map +0 -1
- package/dist/chunk-2K5HZLXW.cjs.map +0 -1
- package/dist/chunk-2LIX7ZHX.js.map +0 -1
- package/dist/chunk-2TNJ7TC4.cjs.map +0 -1
- package/dist/chunk-2TZ2R7L2.js.map +0 -1
- package/dist/chunk-3EGZ6TBF.cjs.map +0 -1
- package/dist/chunk-3LJO33HI.js.map +0 -1
- package/dist/chunk-3XIDJEYR.cjs.map +0 -1
- package/dist/chunk-44AVDO3T.js.map +0 -1
- package/dist/chunk-474MXYO5.cjs.map +0 -1
- package/dist/chunk-4DNHASZU.js.map +0 -1
- package/dist/chunk-4JHFGSNH.js.map +0 -1
- package/dist/chunk-4SCDDSXY.js +0 -41
- package/dist/chunk-4SCDDSXY.js.map +0 -1
- package/dist/chunk-4XSP4HHZ.js.map +0 -1
- package/dist/chunk-5VIOJW6M.js.map +0 -1
- package/dist/chunk-6CAEGNCK.js +0 -101
- package/dist/chunk-6CAEGNCK.js.map +0 -1
- package/dist/chunk-6FSOJLY6.js.map +0 -1
- package/dist/chunk-6TRVGFFX.cjs.map +0 -1
- package/dist/chunk-74VZZAUT.cjs.map +0 -1
- package/dist/chunk-A3IJM7IX.js.map +0 -1
- package/dist/chunk-ANAQER3T.js.map +0 -1
- package/dist/chunk-AXRABZLY.cjs.map +0 -1
- package/dist/chunk-BSHHQOFY.js +0 -170
- package/dist/chunk-BSHHQOFY.js.map +0 -1
- package/dist/chunk-CVEGVB2C.js.map +0 -1
- package/dist/chunk-D242UJZO.js.map +0 -1
- package/dist/chunk-DB5JMXOI.js.map +0 -1
- package/dist/chunk-DCX36FYD.js.map +0 -1
- package/dist/chunk-DH4NYYJP.cjs.map +0 -1
- package/dist/chunk-DUNQNSVK.js +0 -125
- package/dist/chunk-DUNQNSVK.js.map +0 -1
- package/dist/chunk-E6K6GYUC.js.map +0 -1
- package/dist/chunk-EARCKSI7.js.map +0 -1
- package/dist/chunk-EHZXEZI2.cjs.map +0 -1
- package/dist/chunk-FBQLNAUI.cjs +0 -123
- package/dist/chunk-FBQLNAUI.cjs.map +0 -1
- package/dist/chunk-FCIPCZAK.cjs.map +0 -1
- package/dist/chunk-FSOJHDXH.js +0 -76
- package/dist/chunk-FSOJHDXH.js.map +0 -1
- package/dist/chunk-HHSVGNJA.cjs.map +0 -1
- package/dist/chunk-HQO7EZNQ.cjs +0 -147
- package/dist/chunk-HQO7EZNQ.cjs.map +0 -1
- package/dist/chunk-IL523MTN.cjs.map +0 -1
- package/dist/chunk-JAGJQDAV.cjs.map +0 -1
- package/dist/chunk-JF2WNLPF.cjs.map +0 -1
- package/dist/chunk-JS6U7UQS.js.map +0 -1
- package/dist/chunk-KA3XLPQJ.cjs.map +0 -1
- package/dist/chunk-KWE2PXJQ.js.map +0 -1
- package/dist/chunk-LSQD2GFA.js.map +0 -1
- package/dist/chunk-MU4GGX6C.cjs.map +0 -1
- package/dist/chunk-MUFMJPRT.cjs +0 -64
- package/dist/chunk-MUFMJPRT.cjs.map +0 -1
- package/dist/chunk-MXIWTYNC.js.map +0 -1
- package/dist/chunk-N6ZLZUBF.cjs.map +0 -1
- package/dist/chunk-NRP3X3PE.cjs.map +0 -1
- package/dist/chunk-P4CGE5C7.cjs.map +0 -1
- package/dist/chunk-PX5ABNKV.js +0 -134
- package/dist/chunk-PX5ABNKV.js.map +0 -1
- package/dist/chunk-Q7CDWNM6.cjs.map +0 -1
- package/dist/chunk-QCNHDDSD.cjs.map +0 -1
- package/dist/chunk-QRSPBK3X.js.map +0 -1
- package/dist/chunk-RHZOBQON.js.map +0 -1
- package/dist/chunk-RNVE2LMJ.cjs.map +0 -1
- package/dist/chunk-RXL26GSI.cjs.map +0 -1
- package/dist/chunk-S3OSBW7R.cjs.map +0 -1
- package/dist/chunk-SREMTSVI.cjs.map +0 -1
- package/dist/chunk-SWB57EA2.js.map +0 -1
- package/dist/chunk-T7ZBJJC4.js.map +0 -1
- package/dist/chunk-TC5ZL2OS.cjs.map +0 -1
- package/dist/chunk-V24B7KWT.cjs.map +0 -1
- package/dist/chunk-V5KSJITO.cjs.map +0 -1
- package/dist/chunk-W6I67HQQ.js.map +0 -1
- package/dist/chunk-WFFWVQK4.cjs.map +0 -1
- package/dist/chunk-WLFMOWUY.js.map +0 -1
- package/dist/chunk-X3QINITU.js.map +0 -1
- package/dist/chunk-XMFVAYBP.cjs +0 -102
- package/dist/chunk-XMFVAYBP.cjs.map +0 -1
- package/dist/chunk-XMINE4TN.cjs.map +0 -1
- package/dist/chunk-XXE5TQ7I.cjs.map +0 -1
- package/dist/chunk-XYGRVPUA.js.map +0 -1
- package/dist/chunk-Y7BZMMAV.cjs.map +0 -1
- package/dist/chunk-YRAQRENN.js.map +0 -1
- package/dist/chunk-YVSZLQTQ.cjs.map +0 -1
- package/dist/chunk-ZA36BJIY.cjs.map +0 -1
- package/dist/chunk-ZHCQEJ2Z.js.map +0 -1
- package/dist/chunk-ZM4P6ELG.cjs.map +0 -1
- package/dist/chunk-ZN6VS6SO.js.map +0 -1
- package/dist/chunk-ZPDMAMWC.js.map +0 -1
- package/dist/chunk-ZZXNHPF3.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/docs/llms/spinner.md +0 -58
- package/docs/llms/toast.md +0 -51
package/dist/Spin.d.cts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
type SpinSize = "small" | "default" | "large" | number;
|
|
4
|
+
interface SpinProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
5
|
+
size?: SpinSize;
|
|
6
|
+
tone?: "accent" | "success" | "warning" | "danger" | "current";
|
|
7
|
+
/** Text rendered next to the indicator. */
|
|
8
|
+
tip?: React.ReactNode;
|
|
9
|
+
/** Same as `tip`; useful when a `label` prop reads better at call sites. */
|
|
10
|
+
label?: React.ReactNode;
|
|
11
|
+
/** `ring` is the default border spinner; `dots` is a three-dot bounce. */
|
|
12
|
+
variant?: "ring" | "dots";
|
|
13
|
+
/** Hide the indicator while preserving wrapper rendering. */
|
|
14
|
+
spinning?: boolean;
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
/** `Spin` — loading indicator. */
|
|
18
|
+
declare const Spin: React.ForwardRefExoticComponent<SpinProps & React.RefAttributes<HTMLSpanElement>>;
|
|
19
|
+
|
|
20
|
+
export { Spin, type SpinProps, type SpinSize };
|
package/dist/Spin.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
type SpinSize = "small" | "default" | "large" | number;
|
|
4
|
+
interface SpinProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
5
|
+
size?: SpinSize;
|
|
6
|
+
tone?: "accent" | "success" | "warning" | "danger" | "current";
|
|
7
|
+
/** Text rendered next to the indicator. */
|
|
8
|
+
tip?: React.ReactNode;
|
|
9
|
+
/** Same as `tip`; useful when a `label` prop reads better at call sites. */
|
|
10
|
+
label?: React.ReactNode;
|
|
11
|
+
/** `ring` is the default border spinner; `dots` is a three-dot bounce. */
|
|
12
|
+
variant?: "ring" | "dots";
|
|
13
|
+
/** Hide the indicator while preserving wrapper rendering. */
|
|
14
|
+
spinning?: boolean;
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
/** `Spin` — loading indicator. */
|
|
18
|
+
declare const Spin: React.ForwardRefExoticComponent<SpinProps & React.RefAttributes<HTMLSpanElement>>;
|
|
19
|
+
|
|
20
|
+
export { Spin, type SpinProps, type SpinSize };
|
package/dist/Spin.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Spin } from './chunk-ELNT3CFO.js';
|
package/dist/Splitter.cjs
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2TL37AP5_cjs = require('./chunk-2TL37AP5.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Splitter", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk2TL37AP5_cjs.Splitter; }
|
|
10
10
|
});
|
|
11
|
-
//# sourceMappingURL=Splitter.cjs.map
|
|
12
|
-
//# sourceMappingURL=Splitter.cjs.map
|
package/dist/Splitter.js
CHANGED
package/dist/StatusBar.cjs
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYLIQ37KY_cjs = require('./chunk-YLIQ37KY.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "StatusBar", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkYLIQ37KY_cjs.StatusBar; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "StatusBarItem", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkYLIQ37KY_cjs.StatusBarItem; }
|
|
14
14
|
});
|
|
15
|
-
//# sourceMappingURL=StatusBar.cjs.map
|
|
16
|
-
//# sourceMappingURL=StatusBar.cjs.map
|
package/dist/StatusBar.js
CHANGED
package/dist/Switch.cjs
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWNM5RVXR_cjs = require('./chunk-WNM5RVXR.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Switch", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkWNM5RVXR_cjs.Switch; }
|
|
10
10
|
});
|
|
11
|
-
//# sourceMappingURL=Switch.cjs.map
|
|
12
|
-
//# sourceMappingURL=Switch.cjs.map
|
package/dist/Switch.js
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
/* ============ Table ============ */
|
|
2
|
-
.table-card {
|
|
3
|
-
border-radius: var(--r-lg);
|
|
4
|
-
background: var(--bg);
|
|
5
|
-
box-shadow: var(--neu-out-sm);
|
|
6
|
-
overflow: hidden;
|
|
7
|
-
}
|
|
8
2
|
.table-wrap {
|
|
9
3
|
border-radius: var(--r-lg);
|
|
10
4
|
background: var(--bg);
|
|
@@ -246,50 +240,3 @@
|
|
|
246
240
|
.table-pagination {
|
|
247
241
|
margin-top: 12px;
|
|
248
242
|
}
|
|
249
|
-
|
|
250
|
-
/* Pro: card-wrap with toolbar + table + footer */
|
|
251
|
-
.table-card {
|
|
252
|
-
border-radius: var(--r-lg);
|
|
253
|
-
background: var(--bg);
|
|
254
|
-
box-shadow: var(--neu-out-sm);
|
|
255
|
-
overflow: hidden;
|
|
256
|
-
}
|
|
257
|
-
.table-card .table-wrap { background: transparent; box-shadow: none; border-radius: 0; }
|
|
258
|
-
.table-card .table-wrap.joined { border-radius: 0; }
|
|
259
|
-
/* When TablePro hosts the built-in pagination, seat it inside the card. */
|
|
260
|
-
.table-card .table-pagination {
|
|
261
|
-
margin-top: 0;
|
|
262
|
-
padding: 6px 16px;
|
|
263
|
-
border-top: 1px solid var(--divider);
|
|
264
|
-
background: color-mix(in oklch, var(--bg-sunken) 30%, transparent);
|
|
265
|
-
}
|
|
266
|
-
.table-toolbar {
|
|
267
|
-
display: flex;
|
|
268
|
-
align-items: center;
|
|
269
|
-
gap: var(--gap-3);
|
|
270
|
-
padding: 14px 16px;
|
|
271
|
-
border-bottom: 1px solid var(--divider);
|
|
272
|
-
}
|
|
273
|
-
.table-toolbar .table-title {
|
|
274
|
-
font-size: 14px;
|
|
275
|
-
font-weight: 600;
|
|
276
|
-
margin-right: 8px;
|
|
277
|
-
}
|
|
278
|
-
.table-toolbar-main {
|
|
279
|
-
flex: 1;
|
|
280
|
-
display: flex;
|
|
281
|
-
align-items: center;
|
|
282
|
-
gap: 10px;
|
|
283
|
-
min-width: 0;
|
|
284
|
-
}
|
|
285
|
-
.table-toolbar-actions {
|
|
286
|
-
display: flex;
|
|
287
|
-
align-items: center;
|
|
288
|
-
gap: 8px;
|
|
289
|
-
flex-shrink: 0;
|
|
290
|
-
}
|
|
291
|
-
.table-footer {
|
|
292
|
-
padding: 10px 16px;
|
|
293
|
-
border-top: 1px solid var(--divider);
|
|
294
|
-
background: color-mix(in oklch, var(--bg-sunken) 30%, transparent);
|
|
295
|
-
}
|
package/dist/Table.cjs
CHANGED
|
@@ -1,22 +1,18 @@
|
|
|
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 chunk3AS5B7MQ_cjs = require('./chunk-3AS5B7MQ.cjs');
|
|
4
|
+
require('./chunk-CUXV6QNN.cjs');
|
|
5
|
+
require('./chunk-OYMJVU66.cjs');
|
|
6
|
+
require('./chunk-ZIP7F4UF.cjs');
|
|
7
|
+
require('./chunk-FBVVRTX2.cjs');
|
|
8
|
+
require('./chunk-YB3IWIOJ.cjs');
|
|
9
|
+
require('./chunk-6LZ54NPO.cjs');
|
|
10
|
+
require('./chunk-OQBDU5I2.cjs');
|
|
11
|
+
require('./chunk-TJII7BQ2.cjs');
|
|
10
12
|
|
|
11
13
|
|
|
12
14
|
|
|
13
15
|
Object.defineProperty(exports, "Table", {
|
|
14
16
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk3AS5B7MQ_cjs.Table; }
|
|
16
18
|
});
|
|
17
|
-
Object.defineProperty(exports, "TablePro", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function () { return chunkIL523MTN_cjs.TablePro; }
|
|
20
|
-
});
|
|
21
|
-
//# sourceMappingURL=Table.cjs.map
|
|
22
|
-
//# sourceMappingURL=Table.cjs.map
|
package/dist/Table.d.cts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
|
|
4
3
|
type RowKey = string | number;
|
|
@@ -98,7 +97,7 @@ interface TableProps<Row = any> extends Omit<React.HTMLAttributes<HTMLDivElement
|
|
|
98
97
|
sortDir?: "asc" | "desc";
|
|
99
98
|
onSort?: (key: string) => void;
|
|
100
99
|
/**
|
|
101
|
-
* Row selection config — preferred API
|
|
100
|
+
* Row selection config — preferred API.
|
|
102
101
|
* When provided, takes precedence over `selectable` / `selected` / `onSelect`.
|
|
103
102
|
*/
|
|
104
103
|
rowSelection?: RowSelectionConfig<Row>;
|
|
@@ -132,23 +131,5 @@ interface TableProps<Row = any> extends Omit<React.HTMLAttributes<HTMLDivElement
|
|
|
132
131
|
type TableComponent = <Row extends Record<string, any> = any>(props: TableProps<Row> & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
|
|
133
132
|
/** `Table` — neumorphic data table with sorting, selection and visual variants. */
|
|
134
133
|
declare const Table: TableComponent;
|
|
135
|
-
interface TableProProps<Row = any> extends Omit<TableProps<Row>, "title"> {
|
|
136
|
-
/** Toolbar slot — search input, filter, etc. */
|
|
137
|
-
toolbar?: React.ReactNode;
|
|
138
|
-
/** Right-aligned actions slot in toolbar. */
|
|
139
|
-
actions?: React.ReactNode;
|
|
140
|
-
/** Footer slot — usually <Pagination />. Optional now that `pagination` is built-in. */
|
|
141
|
-
footer?: React.ReactNode;
|
|
142
|
-
/** Title shown above the toolbar. */
|
|
143
|
-
title?: React.ReactNode;
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* `TablePro` — full-featured table card with toolbar, sortable/selectable rows,
|
|
147
|
-
* variants, and a footer slot for pagination.
|
|
148
|
-
*
|
|
149
|
-
* Prefer the built-in `pagination` prop over rendering a `<Pagination />` in the
|
|
150
|
-
* `footer` slot; `footer` still works for custom footers.
|
|
151
|
-
*/
|
|
152
|
-
declare function TablePro<Row extends Record<string, any> = any>({ toolbar, actions, footer, title, className, ...tableProps }: TableProProps<Row>): react_jsx_runtime.JSX.Element;
|
|
153
134
|
|
|
154
|
-
export { type ExpandableConfig, type PaginationConfig, type RowKey, type RowSelectionConfig, Table, type TableColumn, type TableColumnFilterItem,
|
|
135
|
+
export { type ExpandableConfig, type PaginationConfig, type RowKey, type RowSelectionConfig, Table, type TableColumn, type TableColumnFilterItem, type TableProps, type TableScrollConfig, type TableVariant };
|
package/dist/Table.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
|
|
4
3
|
type RowKey = string | number;
|
|
@@ -98,7 +97,7 @@ interface TableProps<Row = any> extends Omit<React.HTMLAttributes<HTMLDivElement
|
|
|
98
97
|
sortDir?: "asc" | "desc";
|
|
99
98
|
onSort?: (key: string) => void;
|
|
100
99
|
/**
|
|
101
|
-
* Row selection config — preferred API
|
|
100
|
+
* Row selection config — preferred API.
|
|
102
101
|
* When provided, takes precedence over `selectable` / `selected` / `onSelect`.
|
|
103
102
|
*/
|
|
104
103
|
rowSelection?: RowSelectionConfig<Row>;
|
|
@@ -132,23 +131,5 @@ interface TableProps<Row = any> extends Omit<React.HTMLAttributes<HTMLDivElement
|
|
|
132
131
|
type TableComponent = <Row extends Record<string, any> = any>(props: TableProps<Row> & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
|
|
133
132
|
/** `Table` — neumorphic data table with sorting, selection and visual variants. */
|
|
134
133
|
declare const Table: TableComponent;
|
|
135
|
-
interface TableProProps<Row = any> extends Omit<TableProps<Row>, "title"> {
|
|
136
|
-
/** Toolbar slot — search input, filter, etc. */
|
|
137
|
-
toolbar?: React.ReactNode;
|
|
138
|
-
/** Right-aligned actions slot in toolbar. */
|
|
139
|
-
actions?: React.ReactNode;
|
|
140
|
-
/** Footer slot — usually <Pagination />. Optional now that `pagination` is built-in. */
|
|
141
|
-
footer?: React.ReactNode;
|
|
142
|
-
/** Title shown above the toolbar. */
|
|
143
|
-
title?: React.ReactNode;
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* `TablePro` — full-featured table card with toolbar, sortable/selectable rows,
|
|
147
|
-
* variants, and a footer slot for pagination.
|
|
148
|
-
*
|
|
149
|
-
* Prefer the built-in `pagination` prop over rendering a `<Pagination />` in the
|
|
150
|
-
* `footer` slot; `footer` still works for custom footers.
|
|
151
|
-
*/
|
|
152
|
-
declare function TablePro<Row extends Record<string, any> = any>({ toolbar, actions, footer, title, className, ...tableProps }: TableProProps<Row>): react_jsx_runtime.JSX.Element;
|
|
153
134
|
|
|
154
|
-
export { type ExpandableConfig, type PaginationConfig, type RowKey, type RowSelectionConfig, Table, type TableColumn, type TableColumnFilterItem,
|
|
135
|
+
export { type ExpandableConfig, type PaginationConfig, type RowKey, type RowSelectionConfig, Table, type TableColumn, type TableColumnFilterItem, type TableProps, type TableScrollConfig, type TableVariant };
|
package/dist/Table.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { Table
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
export { Table } from './chunk-AWXCSX6J.js';
|
|
2
|
+
import './chunk-7NGMQIST.js';
|
|
3
|
+
import './chunk-WKKSAGYH.js';
|
|
4
|
+
import './chunk-DQTSTJ6O.js';
|
|
5
|
+
import './chunk-EQEJTN3V.js';
|
|
6
|
+
import './chunk-DUFRASGO.js';
|
|
7
|
+
import './chunk-XTIN5545.js';
|
|
8
|
+
import './chunk-WGZ2KJTZ.js';
|
|
9
|
+
import './chunk-OF3SGLZY.js';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* ============ TablePro ============ */
|
|
2
|
+
.table-card {
|
|
3
|
+
border-radius: var(--r-lg);
|
|
4
|
+
background: var(--bg);
|
|
5
|
+
box-shadow: var(--neu-out-sm);
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
}
|
|
8
|
+
.table-card .table-wrap { background: transparent; box-shadow: none; border-radius: 0; }
|
|
9
|
+
.table-card .table-wrap.joined { border-radius: 0; }
|
|
10
|
+
.table-card .table-pagination {
|
|
11
|
+
margin-top: 0;
|
|
12
|
+
padding: 6px 16px;
|
|
13
|
+
border-top: 1px solid var(--divider);
|
|
14
|
+
background: color-mix(in oklch, var(--bg-sunken) 30%, transparent);
|
|
15
|
+
}
|
|
16
|
+
.table-toolbar {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
gap: var(--gap-3);
|
|
20
|
+
padding: 14px 16px;
|
|
21
|
+
border-bottom: 1px solid var(--divider);
|
|
22
|
+
}
|
|
23
|
+
.table-toolbar .table-title {
|
|
24
|
+
font-size: 14px;
|
|
25
|
+
font-weight: 600;
|
|
26
|
+
margin-right: 8px;
|
|
27
|
+
}
|
|
28
|
+
.table-toolbar-main {
|
|
29
|
+
flex: 1;
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
gap: 10px;
|
|
33
|
+
min-width: 0;
|
|
34
|
+
}
|
|
35
|
+
.table-toolbar-actions {
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
gap: 8px;
|
|
39
|
+
flex-shrink: 0;
|
|
40
|
+
}
|
|
41
|
+
.table-footer {
|
|
42
|
+
padding: 10px 16px;
|
|
43
|
+
border-top: 1px solid var(--divider);
|
|
44
|
+
background: color-mix(in oklch, var(--bg-sunken) 30%, transparent);
|
|
45
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkK2KYM7LW_cjs = require('./chunk-K2KYM7LW.cjs');
|
|
4
|
+
require('./chunk-3AS5B7MQ.cjs');
|
|
5
|
+
require('./chunk-CUXV6QNN.cjs');
|
|
6
|
+
require('./chunk-OYMJVU66.cjs');
|
|
7
|
+
require('./chunk-ZIP7F4UF.cjs');
|
|
8
|
+
require('./chunk-FBVVRTX2.cjs');
|
|
9
|
+
require('./chunk-YB3IWIOJ.cjs');
|
|
10
|
+
require('./chunk-6LZ54NPO.cjs');
|
|
11
|
+
require('./chunk-OQBDU5I2.cjs');
|
|
12
|
+
require('./chunk-TJII7BQ2.cjs');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
Object.defineProperty(exports, "TablePro", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkK2KYM7LW_cjs.TablePro; }
|
|
19
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { TableProps } from './Table.cjs';
|
|
4
|
+
|
|
5
|
+
interface TableProProps<Row = any> extends Omit<TableProps<Row>, "title"> {
|
|
6
|
+
/** Toolbar slot — search input, filter, etc. */
|
|
7
|
+
toolbar?: React.ReactNode;
|
|
8
|
+
/** Right-aligned actions slot in toolbar. */
|
|
9
|
+
actions?: React.ReactNode;
|
|
10
|
+
/** Footer slot — usually <Pagination />. Optional now that `pagination` is built-in. */
|
|
11
|
+
footer?: React.ReactNode;
|
|
12
|
+
/** Title shown above the toolbar. */
|
|
13
|
+
title?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* `TablePro` — full-featured table card with toolbar, sortable/selectable rows,
|
|
17
|
+
* variants, and a footer slot for pagination.
|
|
18
|
+
*/
|
|
19
|
+
declare function TablePro<Row extends Record<string, any> = any>({ toolbar, actions, footer, title, className, ...tableProps }: TableProProps<Row>): react_jsx_runtime.JSX.Element;
|
|
20
|
+
|
|
21
|
+
export { TablePro, type TableProProps };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { TableProps } from './Table.js';
|
|
4
|
+
|
|
5
|
+
interface TableProProps<Row = any> extends Omit<TableProps<Row>, "title"> {
|
|
6
|
+
/** Toolbar slot — search input, filter, etc. */
|
|
7
|
+
toolbar?: React.ReactNode;
|
|
8
|
+
/** Right-aligned actions slot in toolbar. */
|
|
9
|
+
actions?: React.ReactNode;
|
|
10
|
+
/** Footer slot — usually <Pagination />. Optional now that `pagination` is built-in. */
|
|
11
|
+
footer?: React.ReactNode;
|
|
12
|
+
/** Title shown above the toolbar. */
|
|
13
|
+
title?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* `TablePro` — full-featured table card with toolbar, sortable/selectable rows,
|
|
17
|
+
* variants, and a footer slot for pagination.
|
|
18
|
+
*/
|
|
19
|
+
declare function TablePro<Row extends Record<string, any> = any>({ toolbar, actions, footer, title, className, ...tableProps }: TableProProps<Row>): react_jsx_runtime.JSX.Element;
|
|
20
|
+
|
|
21
|
+
export { TablePro, type TableProProps };
|
package/dist/TablePro.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { TablePro } from './chunk-MUXP7ASL.js';
|
|
2
|
+
import './chunk-AWXCSX6J.js';
|
|
3
|
+
import './chunk-7NGMQIST.js';
|
|
4
|
+
import './chunk-WKKSAGYH.js';
|
|
5
|
+
import './chunk-DQTSTJ6O.js';
|
|
6
|
+
import './chunk-EQEJTN3V.js';
|
|
7
|
+
import './chunk-DUFRASGO.js';
|
|
8
|
+
import './chunk-XTIN5545.js';
|
|
9
|
+
import './chunk-WGZ2KJTZ.js';
|
|
10
|
+
import './chunk-OF3SGLZY.js';
|
|
@@ -66,37 +66,3 @@
|
|
|
66
66
|
.tabs.centered.underline .tabs-nav .tab { margin-right: 11px; margin-left: 11px; }
|
|
67
67
|
|
|
68
68
|
.tabs-content { padding: var(--gap-2) 0; }
|
|
69
|
-
|
|
70
|
-
/* Segmented (owned by Tabs.tsx — Segmented is co-exported) */
|
|
71
|
-
.segmented {
|
|
72
|
-
display: inline-flex;
|
|
73
|
-
padding: 4px;
|
|
74
|
-
border-radius: var(--r-md);
|
|
75
|
-
background: var(--bg);
|
|
76
|
-
box-shadow: var(--neu-in-sm);
|
|
77
|
-
gap: 2px;
|
|
78
|
-
}
|
|
79
|
-
.segmented .seg {
|
|
80
|
-
padding: 6px 14px;
|
|
81
|
-
height: 32px;
|
|
82
|
-
display: inline-flex;
|
|
83
|
-
align-items: center;
|
|
84
|
-
gap: 6px;
|
|
85
|
-
border: none;
|
|
86
|
-
background: transparent;
|
|
87
|
-
border-radius: calc(var(--r-md) - 4px);
|
|
88
|
-
font-size: 12px;
|
|
89
|
-
font-family: inherit;
|
|
90
|
-
color: var(--fg-muted);
|
|
91
|
-
cursor: pointer;
|
|
92
|
-
transition: all var(--dur-fast) var(--ease);
|
|
93
|
-
}
|
|
94
|
-
.segmented .seg:hover { color: var(--fg); }
|
|
95
|
-
.segmented .seg.active {
|
|
96
|
-
color: var(--accent-ink);
|
|
97
|
-
background: var(--bg);
|
|
98
|
-
box-shadow: var(--neu-out-sm);
|
|
99
|
-
font-weight: 600;
|
|
100
|
-
}
|
|
101
|
-
.segmented.sm .seg { height: 26px; padding: 4px 10px; font-size: 11px; }
|
|
102
|
-
.segmented.lg .seg { height: 38px; padding: 8px 18px; font-size: 13px; }
|
package/dist/Tabs.cjs
CHANGED
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKD4YYIIO_cjs = require('./chunk-KD4YYIIO.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
Object.defineProperty(exports, "Segmented", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () { return chunkNRP3X3PE_cjs.Segmented; }
|
|
10
|
-
});
|
|
11
7
|
Object.defineProperty(exports, "Tabs", {
|
|
12
8
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkKD4YYIIO_cjs.Tabs; }
|
|
14
10
|
});
|
|
15
|
-
//# sourceMappingURL=Tabs.cjs.map
|
|
16
|
-
//# sourceMappingURL=Tabs.cjs.map
|
package/dist/Tabs.d.cts
CHANGED
|
@@ -18,20 +18,5 @@ interface TabsProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange
|
|
|
18
18
|
}
|
|
19
19
|
/** `Tabs` — switchable sections. */
|
|
20
20
|
declare const Tabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
-
interface SegmentedProps<T extends string = string> extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
|
|
22
|
-
options: {
|
|
23
|
-
value: T;
|
|
24
|
-
label: React.ReactNode;
|
|
25
|
-
disabled?: boolean;
|
|
26
|
-
}[];
|
|
27
|
-
value?: T;
|
|
28
|
-
defaultValue?: T;
|
|
29
|
-
onChange?: (value: T) => void;
|
|
30
|
-
size?: "sm" | "md";
|
|
31
|
-
className?: string;
|
|
32
|
-
}
|
|
33
|
-
type SegmentedComponent = <T extends string = string>(props: SegmentedProps<T> & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
|
|
34
|
-
/** `Segmented` — exclusive choice chip row. */
|
|
35
|
-
declare const Segmented: SegmentedComponent;
|
|
36
21
|
|
|
37
|
-
export {
|
|
22
|
+
export { type TabItem, Tabs, type TabsProps };
|
package/dist/Tabs.d.ts
CHANGED
|
@@ -18,20 +18,5 @@ interface TabsProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange
|
|
|
18
18
|
}
|
|
19
19
|
/** `Tabs` — switchable sections. */
|
|
20
20
|
declare const Tabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
-
interface SegmentedProps<T extends string = string> extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
|
|
22
|
-
options: {
|
|
23
|
-
value: T;
|
|
24
|
-
label: React.ReactNode;
|
|
25
|
-
disabled?: boolean;
|
|
26
|
-
}[];
|
|
27
|
-
value?: T;
|
|
28
|
-
defaultValue?: T;
|
|
29
|
-
onChange?: (value: T) => void;
|
|
30
|
-
size?: "sm" | "md";
|
|
31
|
-
className?: string;
|
|
32
|
-
}
|
|
33
|
-
type SegmentedComponent = <T extends string = string>(props: SegmentedProps<T> & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
|
|
34
|
-
/** `Segmented` — exclusive choice chip row. */
|
|
35
|
-
declare const Segmented: SegmentedComponent;
|
|
36
21
|
|
|
37
|
-
export {
|
|
22
|
+
export { type TabItem, Tabs, type TabsProps };
|
package/dist/Tabs.js
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* ============ Tag ============ */
|
|
2
|
+
.tag {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
gap: 6px;
|
|
6
|
+
height: 24px;
|
|
7
|
+
padding: 0 10px;
|
|
8
|
+
border-radius: var(--r-pill);
|
|
9
|
+
font-size: 11px;
|
|
10
|
+
font-weight: 500;
|
|
11
|
+
background: var(--bg);
|
|
12
|
+
box-shadow: var(--neu-flat);
|
|
13
|
+
color: var(--fg-muted);
|
|
14
|
+
}
|
|
15
|
+
.tag.accent { color: var(--accent-ink); }
|
|
16
|
+
.tag.info { color: var(--info); }
|
|
17
|
+
.tag.success { color: var(--success); }
|
|
18
|
+
.tag.warning { color: var(--warning); }
|
|
19
|
+
.tag.danger { color: var(--danger); }
|
|
20
|
+
.tag.solid { background: var(--accent); color: var(--bg); box-shadow: 0 2px 6px var(--accent-glow); }
|
|
21
|
+
.tag.solid.info { background: var(--info); color: var(--bg); box-shadow: 0 2px 6px color-mix(in oklch, var(--info) 35%, transparent); }
|
|
22
|
+
.tag.solid.success { background: var(--success); color: var(--bg); box-shadow: 0 2px 6px color-mix(in oklch, var(--success) 35%, transparent); }
|
|
23
|
+
.tag.solid.warning { background: var(--warning); color: var(--bg); box-shadow: 0 2px 6px color-mix(in oklch, var(--warning) 35%, transparent); }
|
|
24
|
+
.tag.solid.danger { background: var(--danger); color: var(--bg); box-shadow: 0 2px 6px color-mix(in oklch, var(--danger) 35%, transparent); }
|
|
25
|
+
.tag.borderless { background: transparent; box-shadow: none; }
|
|
26
|
+
.tag .dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
|
|
27
|
+
.tag .tag-ico { color: currentColor; display: inline-flex; }
|
|
28
|
+
.tag .x { cursor: pointer; color: var(--fg-subtle); margin-left: 2px; display: inline-flex; }
|
|
29
|
+
.tag .x:hover { color: var(--fg); }
|
package/dist/Tag.cjs
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkZIP7F4UF_cjs = require('./chunk-ZIP7F4UF.cjs');
|
|
4
|
+
require('./chunk-TJII7BQ2.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
Object.defineProperty(exports, "Badge", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunkQCNHDDSD_cjs.Badge; }
|
|
11
|
-
});
|
|
12
8
|
Object.defineProperty(exports, "Tag", {
|
|
13
9
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkZIP7F4UF_cjs.Tag; }
|
|
15
11
|
});
|
|
16
|
-
//# sourceMappingURL=Tag.cjs.map
|
|
17
|
-
//# sourceMappingURL=Tag.cjs.map
|
package/dist/Tag.d.cts
CHANGED
|
@@ -18,15 +18,5 @@ interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
|
18
18
|
}
|
|
19
19
|
/** `Tag` — small label/pill. */
|
|
20
20
|
declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;
|
|
21
|
-
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
22
|
-
/** Numeric count — renders as "99+" if > 99. */
|
|
23
|
-
count?: number;
|
|
24
|
-
/** Show a tiny dot instead of a number. */
|
|
25
|
-
dot?: boolean;
|
|
26
|
-
tone?: TagTone;
|
|
27
|
-
children?: React.ReactNode;
|
|
28
|
-
}
|
|
29
|
-
/** `Badge` — notification dot / count. Wrap around another element. */
|
|
30
|
-
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
31
21
|
|
|
32
|
-
export {
|
|
22
|
+
export { Tag, type TagProps, type TagTone };
|
package/dist/Tag.d.ts
CHANGED
|
@@ -18,15 +18,5 @@ interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
|
18
18
|
}
|
|
19
19
|
/** `Tag` — small label/pill. */
|
|
20
20
|
declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;
|
|
21
|
-
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
22
|
-
/** Numeric count — renders as "99+" if > 99. */
|
|
23
|
-
count?: number;
|
|
24
|
-
/** Show a tiny dot instead of a number. */
|
|
25
|
-
dot?: boolean;
|
|
26
|
-
tone?: TagTone;
|
|
27
|
-
children?: React.ReactNode;
|
|
28
|
-
}
|
|
29
|
-
/** `Badge` — notification dot / count. Wrap around another element. */
|
|
30
|
-
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
31
21
|
|
|
32
|
-
export {
|
|
22
|
+
export { Tag, type TagProps, type TagTone };
|
package/dist/Tag.js
CHANGED