@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/Input.d.ts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IconName } from './Icon.js';
|
|
3
|
+
import { Textarea, TextareaProps } from './Textarea.js';
|
|
3
4
|
|
|
4
|
-
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "prefix"> {
|
|
5
|
+
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "prefix" | "value" | "defaultValue"> {
|
|
5
6
|
value?: string;
|
|
6
7
|
defaultValue?: string;
|
|
7
|
-
|
|
8
|
+
/** Native input change event. */
|
|
9
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
10
|
+
/** Convenience value callback for Lumina-style code. */
|
|
11
|
+
onValueChange?: (value: string, event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8
12
|
placeholder?: string;
|
|
9
13
|
leadingIcon?: IconName;
|
|
10
14
|
trailingIcon?: IconName;
|
|
@@ -27,26 +31,18 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
|
27
31
|
suffix?: React.ReactNode;
|
|
28
32
|
className?: string;
|
|
29
33
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
value?: string;
|
|
36
|
-
defaultValue?: string;
|
|
37
|
-
onChange?: (value: string, event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
38
|
-
invalid?: boolean;
|
|
39
|
-
/** Show a × button in the top-right corner to clear the value. */
|
|
40
|
-
allowClear?: boolean;
|
|
41
|
-
/** Max length — forwarded to the native textarea. */
|
|
42
|
-
maxLength?: number;
|
|
43
|
-
/** Render a "N / max" counter beneath the textarea. */
|
|
44
|
-
showCount?: boolean;
|
|
45
|
-
className?: string;
|
|
34
|
+
interface InputPasswordProps extends Omit<InputProps, "type" | "trailingIcon" | "onTrailingIconClick"> {
|
|
35
|
+
/** Show the eye toggle. Default true. */
|
|
36
|
+
visibilityToggle?: boolean;
|
|
37
|
+
/** Customize the visibility icon. */
|
|
38
|
+
iconRender?: (visible: boolean) => React.ReactNode;
|
|
46
39
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
40
|
+
type InputComponent = React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>> & {
|
|
41
|
+
Password: React.ForwardRefExoticComponent<InputPasswordProps & React.RefAttributes<HTMLInputElement>>;
|
|
42
|
+
TextArea: typeof Textarea;
|
|
43
|
+
};
|
|
44
|
+
declare const InputPassword: React.ForwardRefExoticComponent<InputPasswordProps & React.RefAttributes<HTMLInputElement>>;
|
|
45
|
+
declare const Input: InputComponent;
|
|
46
|
+
type InputTextAreaProps = TextareaProps;
|
|
51
47
|
|
|
52
|
-
export { Input, type
|
|
48
|
+
export { Input, type InputComponent, InputPassword, type InputPasswordProps, type InputProps, type InputTextAreaProps };
|
package/dist/Input.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { Input,
|
|
2
|
-
import './chunk-
|
|
3
|
-
|
|
4
|
-
//# sourceMappingURL=Input.js.map
|
|
1
|
+
export { Input, InputPassword } from './chunk-XTIN5545.js';
|
|
2
|
+
import './chunk-WGZ2KJTZ.js';
|
|
3
|
+
import './chunk-OF3SGLZY.js';
|
package/dist/InputNumber.cjs
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkTZJH5HBT_cjs = require('./chunk-TZJH5HBT.cjs');
|
|
4
|
+
require('./chunk-6LZ54NPO.cjs');
|
|
5
|
+
require('./chunk-OQBDU5I2.cjs');
|
|
6
|
+
require('./chunk-TJII7BQ2.cjs');
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
Object.defineProperty(exports, "InputNumber", {
|
|
10
11
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkTZJH5HBT_cjs.InputNumber; }
|
|
12
13
|
});
|
|
13
|
-
//# sourceMappingURL=InputNumber.cjs.map
|
|
14
|
-
//# sourceMappingURL=InputNumber.cjs.map
|
package/dist/InputNumber.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ interface InputNumberProps extends Omit<React.InputHTMLAttributes<HTMLInputEleme
|
|
|
9
9
|
onChange?: (value: number | null) => void;
|
|
10
10
|
onBlur?: React.FocusEventHandler<HTMLInputElement>;
|
|
11
11
|
onFocus?: React.FocusEventHandler<HTMLInputElement>;
|
|
12
|
-
/** Fires when the Enter key is pressed
|
|
12
|
+
/** Fires when the Enter key is pressed. */
|
|
13
13
|
onPressEnter?: React.KeyboardEventHandler<HTMLInputElement>;
|
|
14
14
|
min?: number;
|
|
15
15
|
max?: number;
|
package/dist/InputNumber.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ interface InputNumberProps extends Omit<React.InputHTMLAttributes<HTMLInputEleme
|
|
|
9
9
|
onChange?: (value: number | null) => void;
|
|
10
10
|
onBlur?: React.FocusEventHandler<HTMLInputElement>;
|
|
11
11
|
onFocus?: React.FocusEventHandler<HTMLInputElement>;
|
|
12
|
-
/** Fires when the Enter key is pressed
|
|
12
|
+
/** Fires when the Enter key is pressed. */
|
|
13
13
|
onPressEnter?: React.KeyboardEventHandler<HTMLInputElement>;
|
|
14
14
|
min?: number;
|
|
15
15
|
max?: number;
|
package/dist/InputNumber.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export { InputNumber } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
|
|
5
|
-
//# sourceMappingURL=InputNumber.js.map
|
|
1
|
+
export { InputNumber } from './chunk-EJBHR2P5.js';
|
|
2
|
+
import './chunk-XTIN5545.js';
|
|
3
|
+
import './chunk-WGZ2KJTZ.js';
|
|
4
|
+
import './chunk-OF3SGLZY.js';
|
package/dist/List.cjs
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7PNJI5UE_cjs = require('./chunk-7PNJI5UE.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "List", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk7PNJI5UE_cjs.List; }
|
|
10
10
|
});
|
|
11
|
-
//# sourceMappingURL=List.cjs.map
|
|
12
|
-
//# sourceMappingURL=List.cjs.map
|
package/dist/List.js
CHANGED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* ============ Message ============ */
|
|
2
|
+
.message-container {
|
|
3
|
+
position: fixed;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: 10px;
|
|
7
|
+
z-index: 300;
|
|
8
|
+
pointer-events: none;
|
|
9
|
+
}
|
|
10
|
+
.message-container.top-right { top: 56px; right: 20px; }
|
|
11
|
+
.message-container.top-left { top: 56px; left: 20px; }
|
|
12
|
+
.message-container.bottom-right { bottom: 20px; right: 20px; }
|
|
13
|
+
.message-container.bottom-left { bottom: 20px; left: 20px; }
|
|
14
|
+
.message-container.top-center { top: 56px; left: 50%; transform: translateX(-50%); align-items: center; }
|
|
15
|
+
.message {
|
|
16
|
+
background: var(--bg);
|
|
17
|
+
border-radius: var(--r-md);
|
|
18
|
+
box-shadow: var(--neu-float);
|
|
19
|
+
padding: 12px 16px;
|
|
20
|
+
min-width: 240px;
|
|
21
|
+
display: flex; align-items: center; gap: 10px;
|
|
22
|
+
font-size: 13px;
|
|
23
|
+
pointer-events: auto;
|
|
24
|
+
animation: messageIn var(--dur-slow) var(--ease);
|
|
25
|
+
border-left: 3px solid var(--accent);
|
|
26
|
+
}
|
|
27
|
+
.message.success { border-color: var(--success); }
|
|
28
|
+
.message.warning { border-color: var(--warning); }
|
|
29
|
+
.message.error { border-color: var(--danger); }
|
|
30
|
+
.message .message-icon { color: var(--accent); flex-shrink: 0; }
|
|
31
|
+
.message.success .message-icon { color: var(--success); }
|
|
32
|
+
.message.warning .message-icon { color: var(--warning); }
|
|
33
|
+
.message.error .message-icon { color: var(--danger); }
|
|
34
|
+
.message-body { flex: 1; min-width: 0; }
|
|
35
|
+
.message-title { font-weight: 600; margin-bottom: 2px; }
|
|
36
|
+
.message-content { color: var(--fg-muted); font-size: 12px; }
|
|
37
|
+
.message-close {
|
|
38
|
+
background: transparent; border: none;
|
|
39
|
+
color: var(--fg-subtle); cursor: pointer;
|
|
40
|
+
padding: 0 2px; font-family: inherit;
|
|
41
|
+
}
|
|
42
|
+
.message-close:hover { color: var(--fg); }
|
|
43
|
+
.message.leaving { animation: messageOut var(--dur) var(--ease) forwards; }
|
|
44
|
+
@keyframes messageIn { from { opacity: 0; transform: translateX(20px); } }
|
|
45
|
+
@keyframes messageOut { to { opacity: 0; transform: translateX(20px); } }
|
package/dist/Message.cjs
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk6ACKL3WH_cjs = require('./chunk-6ACKL3WH.cjs');
|
|
4
|
+
require('./chunk-TJII7BQ2.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "MessageContainer", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunk6ACKL3WH_cjs.MessageContainer; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "ToastContainer", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunk6ACKL3WH_cjs.ToastContainer; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "message", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunk6ACKL3WH_cjs.message; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "toast", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunk6ACKL3WH_cjs.toast; }
|
|
23
|
+
});
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
type MessageType = "info" | "success" | "warning" | "error";
|
|
4
|
+
interface MessageConfig {
|
|
5
|
+
/** Message body. */
|
|
6
|
+
content?: React.ReactNode;
|
|
7
|
+
/** Alias for callers that pass `{ message }` instead of `{ content }`. */
|
|
8
|
+
message?: React.ReactNode;
|
|
9
|
+
/** Optional title shown above the body. */
|
|
10
|
+
title?: React.ReactNode;
|
|
11
|
+
type?: MessageType;
|
|
12
|
+
/** Auto-dismiss delay in ms. `0` keeps it until manually closed. */
|
|
13
|
+
duration?: number;
|
|
14
|
+
/** Stable key; opening another message with the same key updates it. */
|
|
15
|
+
key?: React.Key;
|
|
16
|
+
onClose?: () => void;
|
|
17
|
+
}
|
|
18
|
+
interface MessageItem {
|
|
19
|
+
id: number;
|
|
20
|
+
key?: React.Key;
|
|
21
|
+
type: MessageType;
|
|
22
|
+
title?: React.ReactNode;
|
|
23
|
+
content?: React.ReactNode;
|
|
24
|
+
duration?: number;
|
|
25
|
+
onClose?: () => void;
|
|
26
|
+
}
|
|
27
|
+
type MessageMethod = (configOrContent: MessageConfig | React.ReactNode, durationOrTitle?: number | React.ReactNode, onClose?: () => void) => number;
|
|
28
|
+
interface MessageApi {
|
|
29
|
+
open(config: MessageConfig): number;
|
|
30
|
+
show(config: MessageConfig): number;
|
|
31
|
+
info: MessageMethod;
|
|
32
|
+
success: MessageMethod;
|
|
33
|
+
warning: MessageMethod;
|
|
34
|
+
warn: MessageMethod;
|
|
35
|
+
error: MessageMethod;
|
|
36
|
+
dismiss(idOrKey: number | React.Key): void;
|
|
37
|
+
destroy(idOrKey?: number | React.Key): void;
|
|
38
|
+
clear(): void;
|
|
39
|
+
}
|
|
40
|
+
declare const message: MessageApi;
|
|
41
|
+
interface MessageContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
42
|
+
placement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "top-center";
|
|
43
|
+
}
|
|
44
|
+
/** `MessageContainer` — optional app-root mount point for `message.*` calls. */
|
|
45
|
+
declare const MessageContainer: React.ForwardRefExoticComponent<MessageContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
46
|
+
type ToastType = MessageType;
|
|
47
|
+
type ToastItem = MessageItem;
|
|
48
|
+
type ToastContainerProps = MessageContainerProps;
|
|
49
|
+
/** @deprecated Use `message` instead. */
|
|
50
|
+
declare const toast: MessageApi;
|
|
51
|
+
/** @deprecated Use `MessageContainer` instead. */
|
|
52
|
+
declare const ToastContainer: React.ForwardRefExoticComponent<MessageContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
53
|
+
|
|
54
|
+
export { type MessageApi, type MessageConfig, MessageContainer, type MessageContainerProps, type MessageItem, type MessageMethod, type MessageType, ToastContainer, type ToastContainerProps, type ToastItem, type ToastType, message, toast };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
type MessageType = "info" | "success" | "warning" | "error";
|
|
4
|
+
interface MessageConfig {
|
|
5
|
+
/** Message body. */
|
|
6
|
+
content?: React.ReactNode;
|
|
7
|
+
/** Alias for callers that pass `{ message }` instead of `{ content }`. */
|
|
8
|
+
message?: React.ReactNode;
|
|
9
|
+
/** Optional title shown above the body. */
|
|
10
|
+
title?: React.ReactNode;
|
|
11
|
+
type?: MessageType;
|
|
12
|
+
/** Auto-dismiss delay in ms. `0` keeps it until manually closed. */
|
|
13
|
+
duration?: number;
|
|
14
|
+
/** Stable key; opening another message with the same key updates it. */
|
|
15
|
+
key?: React.Key;
|
|
16
|
+
onClose?: () => void;
|
|
17
|
+
}
|
|
18
|
+
interface MessageItem {
|
|
19
|
+
id: number;
|
|
20
|
+
key?: React.Key;
|
|
21
|
+
type: MessageType;
|
|
22
|
+
title?: React.ReactNode;
|
|
23
|
+
content?: React.ReactNode;
|
|
24
|
+
duration?: number;
|
|
25
|
+
onClose?: () => void;
|
|
26
|
+
}
|
|
27
|
+
type MessageMethod = (configOrContent: MessageConfig | React.ReactNode, durationOrTitle?: number | React.ReactNode, onClose?: () => void) => number;
|
|
28
|
+
interface MessageApi {
|
|
29
|
+
open(config: MessageConfig): number;
|
|
30
|
+
show(config: MessageConfig): number;
|
|
31
|
+
info: MessageMethod;
|
|
32
|
+
success: MessageMethod;
|
|
33
|
+
warning: MessageMethod;
|
|
34
|
+
warn: MessageMethod;
|
|
35
|
+
error: MessageMethod;
|
|
36
|
+
dismiss(idOrKey: number | React.Key): void;
|
|
37
|
+
destroy(idOrKey?: number | React.Key): void;
|
|
38
|
+
clear(): void;
|
|
39
|
+
}
|
|
40
|
+
declare const message: MessageApi;
|
|
41
|
+
interface MessageContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
42
|
+
placement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "top-center";
|
|
43
|
+
}
|
|
44
|
+
/** `MessageContainer` — optional app-root mount point for `message.*` calls. */
|
|
45
|
+
declare const MessageContainer: React.ForwardRefExoticComponent<MessageContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
46
|
+
type ToastType = MessageType;
|
|
47
|
+
type ToastItem = MessageItem;
|
|
48
|
+
type ToastContainerProps = MessageContainerProps;
|
|
49
|
+
/** @deprecated Use `message` instead. */
|
|
50
|
+
declare const toast: MessageApi;
|
|
51
|
+
/** @deprecated Use `MessageContainer` instead. */
|
|
52
|
+
declare const ToastContainer: React.ForwardRefExoticComponent<MessageContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
53
|
+
|
|
54
|
+
export { type MessageApi, type MessageConfig, MessageContainer, type MessageContainerProps, type MessageItem, type MessageMethod, type MessageType, ToastContainer, type ToastContainerProps, type ToastItem, type ToastType, message, toast };
|
package/dist/Message.js
ADDED
|
@@ -70,3 +70,30 @@
|
|
|
70
70
|
background: var(--bg);
|
|
71
71
|
box-shadow: var(--neu-flat);
|
|
72
72
|
}
|
|
73
|
+
|
|
74
|
+
.modal-static-body {
|
|
75
|
+
display: flex;
|
|
76
|
+
gap: var(--gap-3);
|
|
77
|
+
align-items: flex-start;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.modal-static-icon {
|
|
81
|
+
width: 34px;
|
|
82
|
+
height: 34px;
|
|
83
|
+
border-radius: var(--r-md);
|
|
84
|
+
display: inline-grid;
|
|
85
|
+
place-items: center;
|
|
86
|
+
flex-shrink: 0;
|
|
87
|
+
background: var(--bg);
|
|
88
|
+
box-shadow: var(--neu-in-sm);
|
|
89
|
+
color: var(--accent);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.modal-static-icon.success { color: var(--success); }
|
|
93
|
+
.modal-static-icon.warning { color: var(--warning); }
|
|
94
|
+
.modal-static-icon.error { color: var(--danger); }
|
|
95
|
+
|
|
96
|
+
.modal-static-content {
|
|
97
|
+
min-width: 0;
|
|
98
|
+
color: var(--fg-muted);
|
|
99
|
+
}
|
package/dist/Modal.cjs
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkHPFQXYKG_cjs = require('./chunk-HPFQXYKG.cjs');
|
|
4
|
+
require('./chunk-5WAXZJG5.cjs');
|
|
5
|
+
require('./chunk-TJII7BQ2.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Modal", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkHPFQXYKG_cjs.Modal; }
|
|
12
12
|
});
|
|
13
|
-
//# sourceMappingURL=Modal.cjs.map
|
|
14
|
-
//# sourceMappingURL=Modal.cjs.map
|
package/dist/Modal.d.cts
CHANGED
|
@@ -41,7 +41,7 @@ interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"
|
|
|
41
41
|
/**
|
|
42
42
|
* When true the modal's children are unmounted every time it closes.
|
|
43
43
|
* Default `false` — children stay mounted so internal state survives
|
|
44
|
-
* reopens
|
|
44
|
+
* reopens.
|
|
45
45
|
*/
|
|
46
46
|
destroyOnClose?: boolean;
|
|
47
47
|
/** Fires after the open/close animation finishes. */
|
|
@@ -50,7 +50,31 @@ interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"
|
|
|
50
50
|
zIndex?: number;
|
|
51
51
|
className?: string;
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
type ModalStaticKind = "confirm" | "info" | "success" | "warning" | "error";
|
|
54
|
+
interface ModalStaticConfig extends Omit<ModalProps, "open" | "onClose" | "onOk" | "onCancel" | "children" | "afterOpenChange" | "content"> {
|
|
55
|
+
content?: React.ReactNode;
|
|
56
|
+
children?: React.ReactNode;
|
|
57
|
+
/** Override the semantic icon. Pass `false` to hide it. */
|
|
58
|
+
icon?: React.ReactNode | false;
|
|
59
|
+
/** Whether to show Cancel + OK. Defaults to true for confirm, false for the other static methods. */
|
|
60
|
+
okCancel?: boolean;
|
|
61
|
+
onOk?: () => void | boolean | Promise<void | boolean>;
|
|
62
|
+
onCancel?: () => void;
|
|
63
|
+
}
|
|
64
|
+
interface ModalStaticHandle {
|
|
65
|
+
destroy: () => void;
|
|
66
|
+
update: (config: Partial<ModalStaticConfig> | ((prev: ModalStaticConfig) => Partial<ModalStaticConfig>)) => void;
|
|
67
|
+
}
|
|
68
|
+
interface ModalStaticFunctions {
|
|
69
|
+
confirm: (config: ModalStaticConfig) => ModalStaticHandle;
|
|
70
|
+
info: (config: ModalStaticConfig) => ModalStaticHandle;
|
|
71
|
+
success: (config: ModalStaticConfig) => ModalStaticHandle;
|
|
72
|
+
warning: (config: ModalStaticConfig) => ModalStaticHandle;
|
|
73
|
+
warn: (config: ModalStaticConfig) => ModalStaticHandle;
|
|
74
|
+
error: (config: ModalStaticConfig) => ModalStaticHandle;
|
|
75
|
+
destroyAll: () => void;
|
|
76
|
+
}
|
|
77
|
+
type ModalComponent = React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>> & ModalStaticFunctions;
|
|
78
|
+
declare const Modal: ModalComponent;
|
|
55
79
|
|
|
56
|
-
export { Modal, type ModalProps };
|
|
80
|
+
export { Modal, type ModalComponent, type ModalProps, type ModalStaticConfig, type ModalStaticFunctions, type ModalStaticHandle, type ModalStaticKind };
|
package/dist/Modal.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"
|
|
|
41
41
|
/**
|
|
42
42
|
* When true the modal's children are unmounted every time it closes.
|
|
43
43
|
* Default `false` — children stay mounted so internal state survives
|
|
44
|
-
* reopens
|
|
44
|
+
* reopens.
|
|
45
45
|
*/
|
|
46
46
|
destroyOnClose?: boolean;
|
|
47
47
|
/** Fires after the open/close animation finishes. */
|
|
@@ -50,7 +50,31 @@ interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"
|
|
|
50
50
|
zIndex?: number;
|
|
51
51
|
className?: string;
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
type ModalStaticKind = "confirm" | "info" | "success" | "warning" | "error";
|
|
54
|
+
interface ModalStaticConfig extends Omit<ModalProps, "open" | "onClose" | "onOk" | "onCancel" | "children" | "afterOpenChange" | "content"> {
|
|
55
|
+
content?: React.ReactNode;
|
|
56
|
+
children?: React.ReactNode;
|
|
57
|
+
/** Override the semantic icon. Pass `false` to hide it. */
|
|
58
|
+
icon?: React.ReactNode | false;
|
|
59
|
+
/** Whether to show Cancel + OK. Defaults to true for confirm, false for the other static methods. */
|
|
60
|
+
okCancel?: boolean;
|
|
61
|
+
onOk?: () => void | boolean | Promise<void | boolean>;
|
|
62
|
+
onCancel?: () => void;
|
|
63
|
+
}
|
|
64
|
+
interface ModalStaticHandle {
|
|
65
|
+
destroy: () => void;
|
|
66
|
+
update: (config: Partial<ModalStaticConfig> | ((prev: ModalStaticConfig) => Partial<ModalStaticConfig>)) => void;
|
|
67
|
+
}
|
|
68
|
+
interface ModalStaticFunctions {
|
|
69
|
+
confirm: (config: ModalStaticConfig) => ModalStaticHandle;
|
|
70
|
+
info: (config: ModalStaticConfig) => ModalStaticHandle;
|
|
71
|
+
success: (config: ModalStaticConfig) => ModalStaticHandle;
|
|
72
|
+
warning: (config: ModalStaticConfig) => ModalStaticHandle;
|
|
73
|
+
warn: (config: ModalStaticConfig) => ModalStaticHandle;
|
|
74
|
+
error: (config: ModalStaticConfig) => ModalStaticHandle;
|
|
75
|
+
destroyAll: () => void;
|
|
76
|
+
}
|
|
77
|
+
type ModalComponent = React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>> & ModalStaticFunctions;
|
|
78
|
+
declare const Modal: ModalComponent;
|
|
55
79
|
|
|
56
|
-
export { Modal, type ModalProps };
|
|
80
|
+
export { Modal, type ModalComponent, type ModalProps, type ModalStaticConfig, type ModalStaticFunctions, type ModalStaticHandle, type ModalStaticKind };
|
package/dist/Modal.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export { Modal } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
//# sourceMappingURL=Modal.js.map
|
|
5
|
-
//# sourceMappingURL=Modal.js.map
|
|
1
|
+
export { Modal } from './chunk-CEJ7VBR6.js';
|
|
2
|
+
import './chunk-JD7A6VM3.js';
|
|
3
|
+
import './chunk-OF3SGLZY.js';
|
package/dist/Pagination.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
3
|
+
var chunkCUXV6QNN_cjs = require('./chunk-CUXV6QNN.cjs');
|
|
4
|
+
require('./chunk-OYMJVU66.cjs');
|
|
5
|
+
require('./chunk-ZIP7F4UF.cjs');
|
|
6
|
+
require('./chunk-YB3IWIOJ.cjs');
|
|
7
|
+
require('./chunk-6LZ54NPO.cjs');
|
|
8
|
+
require('./chunk-OQBDU5I2.cjs');
|
|
9
|
+
require('./chunk-TJII7BQ2.cjs');
|
|
8
10
|
|
|
9
11
|
|
|
10
12
|
|
|
11
13
|
Object.defineProperty(exports, "Pagination", {
|
|
12
14
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkCUXV6QNN_cjs.Pagination; }
|
|
14
16
|
});
|
|
15
|
-
//# sourceMappingURL=Pagination.cjs.map
|
|
16
|
-
//# sourceMappingURL=Pagination.cjs.map
|
package/dist/Pagination.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Pagination } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
export { Pagination } from './chunk-7NGMQIST.js';
|
|
2
|
+
import './chunk-WKKSAGYH.js';
|
|
3
|
+
import './chunk-DQTSTJ6O.js';
|
|
4
|
+
import './chunk-DUFRASGO.js';
|
|
5
|
+
import './chunk-XTIN5545.js';
|
|
6
|
+
import './chunk-WGZ2KJTZ.js';
|
|
7
|
+
import './chunk-OF3SGLZY.js';
|
package/dist/Popover.cjs
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkUUHFKIWP_cjs = require('./chunk-UUHFKIWP.cjs');
|
|
4
|
+
require('./chunk-YB3IWIOJ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Popover", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkUUHFKIWP_cjs.Popover; }
|
|
11
11
|
});
|
|
12
|
-
//# sourceMappingURL=Popover.cjs.map
|
|
13
|
-
//# sourceMappingURL=Popover.cjs.map
|
package/dist/Popover.d.cts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
|
|
3
|
+
type PopoverPlacement = "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
|
|
3
4
|
interface PopoverProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "title" | "children" | "content"> {
|
|
4
5
|
/** Popover body content. */
|
|
5
|
-
content
|
|
6
|
+
content?: React.ReactNode;
|
|
6
7
|
/** Optional title rendered above content. */
|
|
7
8
|
title?: React.ReactNode;
|
|
8
9
|
/** Preferred placement relative to the trigger. */
|
|
9
|
-
placement?:
|
|
10
|
+
placement?: PopoverPlacement;
|
|
10
11
|
/** How the popover is triggered. */
|
|
11
12
|
trigger?: "click" | "hover";
|
|
12
13
|
/** Show a small arrow pointing at the trigger. */
|
|
@@ -19,11 +20,18 @@ interface PopoverProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "titl
|
|
|
19
20
|
defaultOpen?: boolean;
|
|
20
21
|
/** Controlled open state. */
|
|
21
22
|
open?: boolean;
|
|
23
|
+
/** Controlled visibility alias. */
|
|
24
|
+
visible?: boolean;
|
|
22
25
|
/** Callback when visibility changes. */
|
|
23
26
|
onOpenChange?: (open: boolean) => void;
|
|
27
|
+
onVisibleChange?: (visible: boolean) => void;
|
|
24
28
|
/** Trigger element. */
|
|
25
29
|
children: React.ReactElement;
|
|
26
30
|
className?: string;
|
|
31
|
+
/** Class for the popped-out panel. */
|
|
32
|
+
overlayClassName?: string;
|
|
33
|
+
/** Alias used by some popup APIs. */
|
|
34
|
+
popupClassName?: string;
|
|
27
35
|
}
|
|
28
36
|
/**
|
|
29
37
|
* `Popover` — rich content bubble with optional title, arrow, and close button.
|
|
@@ -35,4 +43,4 @@ interface PopoverProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "titl
|
|
|
35
43
|
*/
|
|
36
44
|
declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLSpanElement>>;
|
|
37
45
|
|
|
38
|
-
export { Popover, type PopoverProps };
|
|
46
|
+
export { Popover, type PopoverPlacement, type PopoverProps };
|
package/dist/Popover.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
|
|
3
|
+
type PopoverPlacement = "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
|
|
3
4
|
interface PopoverProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "title" | "children" | "content"> {
|
|
4
5
|
/** Popover body content. */
|
|
5
|
-
content
|
|
6
|
+
content?: React.ReactNode;
|
|
6
7
|
/** Optional title rendered above content. */
|
|
7
8
|
title?: React.ReactNode;
|
|
8
9
|
/** Preferred placement relative to the trigger. */
|
|
9
|
-
placement?:
|
|
10
|
+
placement?: PopoverPlacement;
|
|
10
11
|
/** How the popover is triggered. */
|
|
11
12
|
trigger?: "click" | "hover";
|
|
12
13
|
/** Show a small arrow pointing at the trigger. */
|
|
@@ -19,11 +20,18 @@ interface PopoverProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "titl
|
|
|
19
20
|
defaultOpen?: boolean;
|
|
20
21
|
/** Controlled open state. */
|
|
21
22
|
open?: boolean;
|
|
23
|
+
/** Controlled visibility alias. */
|
|
24
|
+
visible?: boolean;
|
|
22
25
|
/** Callback when visibility changes. */
|
|
23
26
|
onOpenChange?: (open: boolean) => void;
|
|
27
|
+
onVisibleChange?: (visible: boolean) => void;
|
|
24
28
|
/** Trigger element. */
|
|
25
29
|
children: React.ReactElement;
|
|
26
30
|
className?: string;
|
|
31
|
+
/** Class for the popped-out panel. */
|
|
32
|
+
overlayClassName?: string;
|
|
33
|
+
/** Alias used by some popup APIs. */
|
|
34
|
+
popupClassName?: string;
|
|
27
35
|
}
|
|
28
36
|
/**
|
|
29
37
|
* `Popover` — rich content bubble with optional title, arrow, and close button.
|
|
@@ -35,4 +43,4 @@ interface PopoverProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "titl
|
|
|
35
43
|
*/
|
|
36
44
|
declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLSpanElement>>;
|
|
37
45
|
|
|
38
|
-
export { Popover, type PopoverProps };
|
|
46
|
+
export { Popover, type PopoverPlacement, type PopoverProps };
|
package/dist/Popover.js
CHANGED
package/dist/Progress.cjs
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPL6DRFUO_cjs = require('./chunk-PL6DRFUO.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Progress", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkPL6DRFUO_cjs.Progress; }
|
|
10
10
|
});
|
|
11
|
-
//# sourceMappingURL=Progress.cjs.map
|
|
12
|
-
//# sourceMappingURL=Progress.cjs.map
|
package/dist/Progress.js
CHANGED