@fangxinyan/lumina 0.6.1 → 0.6.3
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/README.md +2 -1
- package/dist/{Alert-JJ7GB3UU.css → Alert-QBKIDY5H.css} +7 -0
- package/dist/Alert.cjs +3 -3
- package/dist/Alert.d.cts +3 -2
- package/dist/Alert.d.ts +3 -2
- package/dist/Alert.js +2 -2
- package/dist/AutoComplete.cjs +5 -4
- package/dist/AutoComplete.d.cts +1 -1
- package/dist/AutoComplete.d.ts +1 -1
- package/dist/AutoComplete.js +4 -3
- package/dist/Badge-DPGLV3D3.css +22 -0
- package/dist/Badge.cjs +10 -0
- package/dist/Badge.d.cts +19 -0
- package/dist/Badge.d.ts +19 -0
- package/dist/Badge.js +1 -0
- package/dist/{Button-SDQD25AG.css → Button-4Z3Q6KII.css} +56 -36
- package/dist/Button.cjs +3 -7
- package/dist/Button.d.cts +11 -15
- package/dist/Button.d.ts +11 -15
- package/dist/Button.js +2 -2
- package/dist/Calendar.cjs +3 -3
- package/dist/Calendar.js +2 -2
- package/dist/{Card-RG7ECXL2.css → Card-6RMVIHWX.css} +7 -13
- package/dist/Card.cjs +2 -6
- package/dist/Card.d.cts +7 -11
- package/dist/Card.d.ts +7 -11
- package/dist/Card.js +1 -1
- package/dist/{Cascader-VSYEKQCG.css → Cascader-3BLLA7EN.css} +77 -0
- package/dist/Cascader.cjs +5 -3
- package/dist/Cascader.d.cts +22 -4
- package/dist/Cascader.d.ts +22 -4
- package/dist/Cascader.js +4 -2
- package/dist/{Checkbox-SKJATVSN.css → Checkbox-U5EUDSYS.css} +5 -35
- package/dist/Checkbox.cjs +3 -7
- package/dist/Checkbox.d.cts +1 -18
- package/dist/Checkbox.d.ts +1 -18
- package/dist/Checkbox.js +2 -2
- 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/CommandPalette.cjs +5 -4
- package/dist/CommandPalette.js +4 -3
- package/dist/Drawer.cjs +3 -3
- package/dist/Drawer.js +2 -2
- package/dist/Empty-DC2LPORC.css +28 -0
- package/dist/Empty.cjs +2 -10
- package/dist/Empty.d.cts +1 -62
- package/dist/Empty.d.ts +1 -62
- package/dist/Empty.js +1 -1
- package/dist/Form.d.cts +1 -1
- package/dist/Form.d.ts +1 -1
- package/dist/Icon.cjs +187 -3
- package/dist/Icon.d.cts +104 -3
- package/dist/Icon.d.ts +104 -3
- package/dist/Icon.js +1 -1
- package/dist/{Image-4MN34O6P.css → Image-MRYQCRQ5.css} +78 -0
- package/dist/Image.cjs +12 -4
- package/dist/Image.d.cts +79 -6
- package/dist/Image.d.ts +79 -6
- package/dist/Image.js +2 -2
- package/dist/{Input-33CAH4O6.css → Input-HUBJ55OH.css} +25 -42
- package/dist/Input.cjs +6 -5
- package/dist/Input.d.cts +23 -26
- package/dist/Input.d.ts +23 -26
- package/dist/Input.js +3 -2
- package/dist/InputNumber.cjs +5 -4
- package/dist/InputNumber.d.cts +1 -1
- package/dist/InputNumber.d.ts +1 -1
- package/dist/InputNumber.js +4 -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 -4
- package/dist/Modal.d.cts +29 -4
- package/dist/Modal.d.ts +29 -4
- package/dist/Modal.js +3 -3
- package/dist/Pagination.cjs +7 -5
- package/dist/Pagination.js +6 -4
- package/dist/Popover.cjs +2 -2
- package/dist/Popover.d.cts +11 -3
- package/dist/Popover.d.ts +11 -3
- package/dist/Popover.js +1 -1
- 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-Z5VYPEEY.css} +33 -24
- package/dist/Select.cjs +6 -4
- package/dist/Select.d.cts +29 -7
- package/dist/Select.d.ts +29 -7
- package/dist/Select.js +5 -3
- 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/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/{Table-2LPTOUIR.css → Table-ATJJQLKU.css} +0 -53
- package/dist/Table.cjs +9 -11
- package/dist/Table.d.cts +2 -21
- package/dist/Table.d.ts +2 -21
- package/dist/Table.js +8 -6
- 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 -6
- package/dist/Tabs.d.cts +1 -16
- package/dist/Tabs.d.ts +1 -16
- package/dist/Tabs.js +1 -1
- package/dist/Tag-HDYCDPFS.css +42 -0
- package/dist/Tag.cjs +3 -7
- package/dist/Tag.d.cts +5 -14
- package/dist/Tag.d.ts +5 -14
- package/dist/Tag.js +2 -2
- 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 +14 -10
- package/dist/Theme.d.cts +29 -6
- package/dist/Theme.d.ts +29 -6
- package/dist/Theme.js +1 -1
- package/dist/{Timeline-RHZAZKZ7.css → Timeline-3ZHOHPXT.css} +2 -2
- package/dist/Timeline.cjs +3 -3
- package/dist/Timeline.d.cts +1 -1
- package/dist/Timeline.d.ts +1 -1
- package/dist/Timeline.js +2 -2
- package/dist/Tooltip.cjs +2 -2
- package/dist/Tooltip.d.cts +17 -4
- package/dist/Tooltip.d.ts +17 -4
- package/dist/Tooltip.js +1 -1
- package/dist/Typography.cjs +7 -7
- package/dist/Typography.d.cts +1 -0
- package/dist/Typography.d.ts +1 -0
- package/dist/Typography.js +2 -2
- package/dist/{chunk-OVZTG5CP.cjs → chunk-2HQCUBA7.cjs} +2 -2
- package/dist/{chunk-X2U7EKCS.cjs → chunk-3YJU3D5S.cjs} +28 -5
- package/dist/chunk-45VJGBGN.js +25 -0
- package/dist/{chunk-3D77MQHO.js → chunk-46VXFTEC.js} +3 -3
- package/dist/chunk-47VG2P34.js +393 -0
- package/dist/{chunk-LZU33BX6.cjs → chunk-5DKRY67M.cjs} +4 -20
- package/dist/{chunk-TWGQZX2R.js → chunk-5H5YP2TB.js} +4 -19
- package/dist/chunk-5MN3PMF4.cjs +240 -0
- package/dist/{chunk-5A3RT4KD.js → chunk-5TKC6IEN.js} +4 -55
- package/dist/{chunk-N57NXCNC.cjs → chunk-6HMTV6P4.cjs} +3 -44
- package/dist/{chunk-RF2EY5JS.cjs → chunk-6ZXQJRAT.cjs} +153 -34
- package/dist/{chunk-OFGDUCT7.cjs → chunk-7AG524YZ.cjs} +3 -3
- package/dist/chunk-7IYKKLV3.js +283 -0
- package/dist/{chunk-73RQBWWW.js → chunk-AAGF7K3L.js} +2 -2
- package/dist/chunk-AXZ7ELMA.js +41 -0
- package/dist/{chunk-R6BIF3FF.js → chunk-BPOOVO5T.js} +5 -23
- package/dist/{chunk-OI3CWXT3.js → chunk-BVQ77VRY.js} +3 -3
- package/dist/{chunk-UXH5PH3S.js → chunk-CETNCRZ4.js} +2 -2
- package/dist/chunk-DG5VQ6BO.cjs +28 -0
- package/dist/chunk-DWAN57G4.js +243 -0
- package/dist/chunk-ELNT3CFO.js +64 -0
- package/dist/{chunk-ULOJ5UEY.js → chunk-ET6DYQVZ.js} +1 -1
- package/dist/chunk-F6RYCBQG.js +25 -0
- package/dist/{chunk-RPFMQZA5.js → chunk-FBYUZOZP.js} +42 -31
- package/dist/chunk-FGW5GJ22.cjs +132 -0
- package/dist/{chunk-6Y5WRCPW.js → chunk-FWPBORRB.js} +1 -1
- package/dist/chunk-GENABQYA.cjs +47 -0
- package/dist/{chunk-TGHBKKSS.js → chunk-GIZU3H6H.js} +3 -43
- package/dist/chunk-GMN74OEY.cjs +63 -0
- package/dist/{chunk-Y47YTYQ3.cjs → chunk-H4LGWZMH.cjs} +159 -8
- package/dist/chunk-HKF2V5MM.cjs +214 -0
- package/dist/chunk-HLFH5HWR.js +81 -0
- package/dist/{chunk-4WRE4HQP.js → chunk-HWFM4MAT.js} +18 -6
- package/dist/{chunk-GY3BSHHS.cjs → chunk-HZSIUOCN.cjs} +2 -55
- package/dist/{chunk-D46EM4EN.js → chunk-I5WTQ5Y3.js} +4 -4
- package/dist/chunk-J2HZTJO6.js +26 -0
- package/dist/{chunk-NN25YMOL.js → chunk-J5ZGYQZK.js} +153 -35
- package/dist/{chunk-WRDKOSSM.js → chunk-JCEHZ336.js} +1 -1
- package/dist/chunk-JVUVOR6S.js +110 -0
- package/dist/chunk-K5IGFBDR.js +113 -0
- package/dist/{chunk-Q2KG6SQK.cjs → chunk-K7FV7W6U.cjs} +5 -5
- package/dist/{chunk-PWW64ZWO.cjs → chunk-KD4YYIIO.cjs} +1 -32
- package/dist/chunk-KGSADAOD.cjs +170 -0
- package/dist/{chunk-54YLXXS2.js → chunk-ME5BZ2WA.js} +2 -2
- package/dist/chunk-MPVCYU2K.cjs +104 -0
- package/dist/{chunk-EEMWQX3C.cjs → chunk-NTS5L4NQ.cjs} +3 -3
- package/dist/{chunk-WBK6XIDJ.js → chunk-OBEKX4VR.js} +2 -32
- package/dist/{chunk-EBNRZRWY.cjs → chunk-P6EZG2R7.cjs} +5 -5
- package/dist/{chunk-KYEY2LIB.cjs → chunk-P6P4DGLF.cjs} +3 -3
- package/dist/{chunk-GOBWKQCX.cjs → chunk-PULGVK2I.cjs} +3 -3
- package/dist/chunk-Q5SZIU7Z.cjs +47 -0
- package/dist/chunk-QKQHZIF3.cjs +86 -0
- package/dist/{chunk-3TWNBJFI.cjs → chunk-QP3VCSRY.cjs} +6 -6
- package/dist/{chunk-6ODY6MGL.cjs → chunk-R2TEDH2F.cjs} +5 -5
- package/dist/{chunk-YRZGXXWA.js → chunk-SQGPSMSK.js} +14 -20
- package/dist/{chunk-IW5LW6XS.js → chunk-TEEFR2FD.js} +28 -5
- package/dist/chunk-TGL5BGMR.js +218 -0
- package/dist/{chunk-62GU4OHH.cjs → chunk-TP567B3L.cjs} +13 -20
- package/dist/chunk-UKS23N3L.js +191 -0
- package/dist/chunk-USQ43DJ5.js +147 -0
- package/dist/{chunk-G2K6ETP4.cjs → chunk-UUHFKIWP.cjs} +18 -6
- package/dist/{chunk-2MNAZRWE.cjs → chunk-V272XR3F.cjs} +271 -2
- package/dist/chunk-VFFIE2VO.cjs +271 -0
- package/dist/{chunk-FIO65XYG.cjs → chunk-X5GCOMC3.cjs} +49 -38
- package/dist/{chunk-Y3ZSG3SJ.cjs → chunk-XSN4TLN5.cjs} +11 -30
- package/dist/chunk-ZKE73UQF.cjs +138 -0
- package/dist/index.cjs +342 -132
- package/dist/index.d.cts +26 -20
- package/dist/index.d.ts +26 -20
- package/dist/index.js +35 -29
- package/dist/styles.css +515 -230
- package/docs/llms/alert.md +4 -3
- package/docs/llms/badge.md +3 -3
- package/docs/llms/button.md +11 -41
- package/docs/llms/card.md +6 -12
- package/docs/llms/cascader.md +22 -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/image.md +72 -1
- package/docs/llms/input.md +28 -18
- 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 +22 -2
- package/docs/llms/spin.md +59 -0
- package/docs/llms/table.md +3 -3
- package/docs/llms/tag.md +3 -2
- package/docs/llms/theme.md +41 -4
- package/docs/llms/tooltip.md +16 -3
- package/docs/llms.md +8 -8
- package/package.json +32 -52
- package/dist/Accordion-REMDCQUD.css +0 -44
- package/dist/Accordion.cjs +0 -11
- package/dist/Accordion.d.cts +0 -33
- package/dist/Accordion.d.ts +0 -33
- package/dist/Accordion.js +0 -2
- package/dist/Empty-NQ72W3D7.css +0 -160
- package/dist/Tag-FGDY3W7E.css +0 -51
- package/dist/Toast-YSACW3EM.css +0 -45
- package/dist/Toast.cjs +0 -15
- package/dist/Toast.d.cts +0 -26
- package/dist/Toast.d.ts +0 -26
- package/dist/Toast.js +0 -2
- package/dist/chunk-32HBMXXV.cjs +0 -208
- package/dist/chunk-3XTHKAEY.js +0 -39
- package/dist/chunk-5M26OVVY.js +0 -90
- package/dist/chunk-DOMYUGJY.js +0 -132
- package/dist/chunk-DPNDHNKK.js +0 -185
- package/dist/chunk-G2XK57I7.cjs +0 -116
- package/dist/chunk-HBWO3QKW.js +0 -74
- package/dist/chunk-JVS5ZALZ.js +0 -123
- package/dist/chunk-LIGHV4RC.cjs +0 -121
- package/dist/chunk-MCTIA6RZ.js +0 -99
- package/dist/chunk-NC4YUEXM.cjs +0 -145
- package/dist/chunk-NJ6B22YJ.js +0 -170
- package/dist/chunk-W64ARHLJ.cjs +0 -62
- package/dist/chunk-ZFW6OYAO.cjs +0 -100
- package/docs/llms/spinner.md +0 -58
- package/docs/llms/toast.md +0 -51
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
import './tokens-BIIUTPKN.css';
|
|
2
|
+
import './shared-NJHRNLRH.css';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
|
+
|
|
6
|
+
// src/components/Icon/Icon.tsx
|
|
7
|
+
var paths = {
|
|
8
|
+
search: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
9
|
+
/* @__PURE__ */ jsx("circle", { cx: "11", cy: "11", r: "7" }),
|
|
10
|
+
/* @__PURE__ */ jsx("path", { d: "m20 20-3.5-3.5" })
|
|
11
|
+
] }),
|
|
12
|
+
plus: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M12 5v14M5 12h14" }) }),
|
|
13
|
+
minus: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M5 12h14" }) }),
|
|
14
|
+
check: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m4 12 5 5L20 6" }) }),
|
|
15
|
+
x: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M6 6l12 12M18 6 6 18" }) }),
|
|
16
|
+
chevDown: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m6 9 6 6 6-6" }) }),
|
|
17
|
+
chevRight: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m9 6 6 6-6 6" }) }),
|
|
18
|
+
chevLeft: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m15 6-6 6 6 6" }) }),
|
|
19
|
+
chevUp: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m6 15 6-6 6 6" }) }),
|
|
20
|
+
arrowRight: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M5 12h14M13 6l6 6-6 6" }) }),
|
|
21
|
+
settings: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
22
|
+
/* @__PURE__ */ jsx("path", { d: "M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z" }),
|
|
23
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "3" })
|
|
24
|
+
] }),
|
|
25
|
+
user: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
26
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "8", r: "4" }),
|
|
27
|
+
/* @__PURE__ */ jsx("path", { d: "M4 21a8 8 0 0 1 16 0" })
|
|
28
|
+
] }),
|
|
29
|
+
bell: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
30
|
+
/* @__PURE__ */ jsx("path", { d: "M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9" }),
|
|
31
|
+
/* @__PURE__ */ jsx("path", { d: "M10.3 21a1.94 1.94 0 0 0 3.4 0" })
|
|
32
|
+
] }),
|
|
33
|
+
mail: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
34
|
+
/* @__PURE__ */ jsx("rect", { x: "3", y: "5", width: "18", height: "14", rx: "2" }),
|
|
35
|
+
/* @__PURE__ */ jsx("path", { d: "m3 7 9 6 9-6" })
|
|
36
|
+
] }),
|
|
37
|
+
heart: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z" }) }),
|
|
38
|
+
star: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m12 2 3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z" }) }),
|
|
39
|
+
starFilled: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m12 2 3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z", fill: "currentColor", stroke: "none" }) }),
|
|
40
|
+
home: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m3 10 9-7 9 7v10a2 2 0 0 1-2 2h-4v-7h-6v7H5a2 2 0 0 1-2-2z" }) }),
|
|
41
|
+
folder: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M3 7a2 2 0 0 1 2-2h4l2 3h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" }) }),
|
|
42
|
+
file: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
43
|
+
/* @__PURE__ */ jsx("path", { d: "M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z" }),
|
|
44
|
+
/* @__PURE__ */ jsx("path", { d: "M14 3v6h6" })
|
|
45
|
+
] }),
|
|
46
|
+
image: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
47
|
+
/* @__PURE__ */ jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
48
|
+
/* @__PURE__ */ jsx("circle", { cx: "9", cy: "9", r: "2" }),
|
|
49
|
+
/* @__PURE__ */ jsx("path", { d: "m21 15-5-5L5 21" })
|
|
50
|
+
] }),
|
|
51
|
+
play: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M7 5v14l11-7z", fill: "currentColor", stroke: "none" }) }),
|
|
52
|
+
pause: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M6 4h4v16H6zM14 4h4v16h-4z", fill: "currentColor", stroke: "none" }) }),
|
|
53
|
+
volume: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
54
|
+
/* @__PURE__ */ jsx("path", { d: "M11 5 6 9H3v6h3l5 4z" }),
|
|
55
|
+
/* @__PURE__ */ jsx("path", { d: "M17 8a5 5 0 0 1 0 8M20 5a9 9 0 0 1 0 14" })
|
|
56
|
+
] }),
|
|
57
|
+
trash: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M5 6l1 14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2l1-14" }) }),
|
|
58
|
+
edit: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
59
|
+
/* @__PURE__ */ jsx("path", { d: "M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" }),
|
|
60
|
+
/* @__PURE__ */ jsx("path", { d: "M18.5 2.5a2.12 2.12 0 0 1 3 3L12 15l-4 1 1-4z" })
|
|
61
|
+
] }),
|
|
62
|
+
copy: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
63
|
+
/* @__PURE__ */ jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2" }),
|
|
64
|
+
/* @__PURE__ */ jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
|
|
65
|
+
] }),
|
|
66
|
+
download: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3" }) }),
|
|
67
|
+
upload: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M17 8l-5-5-5 5M12 3v12" }) }),
|
|
68
|
+
info: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
69
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
70
|
+
/* @__PURE__ */ jsx("path", { d: "M12 16v-4M12 8h.01" })
|
|
71
|
+
] }),
|
|
72
|
+
alert: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0zM12 9v4M12 17h.01" }) }),
|
|
73
|
+
check2: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
74
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
75
|
+
/* @__PURE__ */ jsx("path", { d: "m9 12 2 2 4-4" })
|
|
76
|
+
] }),
|
|
77
|
+
eye: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
78
|
+
/* @__PURE__ */ jsx("path", { d: "M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7z" }),
|
|
79
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "3" })
|
|
80
|
+
] }),
|
|
81
|
+
eyeOff: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-10-8-10-8a19 19 0 0 1 5.17-6M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 10 8 10 8a19 19 0 0 1-2.16 3.19M14.12 14.12a3 3 0 1 1-4.24-4.24M1 1l22 22" }) }),
|
|
82
|
+
sparkle: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M12 3v4M12 17v4M3 12h4M17 12h4M5.6 5.6l2.8 2.8M15.6 15.6l2.8 2.8M5.6 18.4l2.8-2.8M15.6 8.4l2.8-2.8" }) }),
|
|
83
|
+
moon: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z" }) }),
|
|
84
|
+
sun: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
85
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "4" }),
|
|
86
|
+
/* @__PURE__ */ jsx("path", { d: "M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41" })
|
|
87
|
+
] }),
|
|
88
|
+
palette: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
89
|
+
/* @__PURE__ */ jsx("circle", { cx: "13.5", cy: "6.5", r: "1" }),
|
|
90
|
+
/* @__PURE__ */ jsx("circle", { cx: "17.5", cy: "10.5", r: "1" }),
|
|
91
|
+
/* @__PURE__ */ jsx("circle", { cx: "8.5", cy: "7.5", r: "1" }),
|
|
92
|
+
/* @__PURE__ */ jsx("circle", { cx: "6.5", cy: "12.5", r: "1" }),
|
|
93
|
+
/* @__PURE__ */ jsx("path", { d: "M12 2a10 10 0 1 0 0 20 3 3 0 0 0 0-6h-1a2 2 0 0 1 0-4h4a5 5 0 0 0 5-5 10 10 0 0 0-8-5z" })
|
|
94
|
+
] }),
|
|
95
|
+
layers: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
96
|
+
/* @__PURE__ */ jsx("path", { d: "m12 2 10 6-10 6L2 8z" }),
|
|
97
|
+
/* @__PURE__ */ jsx("path", { d: "m2 17 10 6 10-6M2 12l10 6 10-6" })
|
|
98
|
+
] }),
|
|
99
|
+
grid: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
100
|
+
/* @__PURE__ */ jsx("rect", { x: "3", y: "3", width: "7", height: "7" }),
|
|
101
|
+
/* @__PURE__ */ jsx("rect", { x: "14", y: "3", width: "7", height: "7" }),
|
|
102
|
+
/* @__PURE__ */ jsx("rect", { x: "3", y: "14", width: "7", height: "7" }),
|
|
103
|
+
/* @__PURE__ */ jsx("rect", { x: "14", y: "14", width: "7", height: "7" })
|
|
104
|
+
] }),
|
|
105
|
+
list: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01" }) }),
|
|
106
|
+
zap: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M13 2 3 14h9l-1 8 10-12h-9z" }) }),
|
|
107
|
+
filter: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M22 3H2l8 9.46V19l4 2v-8.54z" }) }),
|
|
108
|
+
mic: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
109
|
+
/* @__PURE__ */ jsx("rect", { x: "9", y: "2", width: "6", height: "12", rx: "3" }),
|
|
110
|
+
/* @__PURE__ */ jsx("path", { d: "M19 10v1a7 7 0 0 1-14 0v-1M12 18v4M8 22h8" })
|
|
111
|
+
] }),
|
|
112
|
+
send: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m22 2-7 20-4-9-9-4zM22 2 11 13" }) }),
|
|
113
|
+
calendar: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
114
|
+
/* @__PURE__ */ jsx("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2" }),
|
|
115
|
+
/* @__PURE__ */ jsx("path", { d: "M16 2v4M8 2v4M3 10h18" })
|
|
116
|
+
] }),
|
|
117
|
+
clock: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
118
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
119
|
+
/* @__PURE__ */ jsx("path", { d: "M12 6v6l4 2" })
|
|
120
|
+
] }),
|
|
121
|
+
menu: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M3 6h18M3 12h18M3 18h18" }) }),
|
|
122
|
+
more: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
123
|
+
/* @__PURE__ */ jsx("circle", { cx: "5", cy: "12", r: "1" }),
|
|
124
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "1" }),
|
|
125
|
+
/* @__PURE__ */ jsx("circle", { cx: "19", cy: "12", r: "1" })
|
|
126
|
+
] }),
|
|
127
|
+
sliders: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6" }) }),
|
|
128
|
+
aim: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
129
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
130
|
+
/* @__PURE__ */ jsx("line", { x1: "12", y1: "2", x2: "12", y2: "6" }),
|
|
131
|
+
/* @__PURE__ */ jsx("line", { x1: "12", y1: "18", x2: "12", y2: "22" }),
|
|
132
|
+
/* @__PURE__ */ jsx("line", { x1: "2", y1: "12", x2: "6", y2: "12" }),
|
|
133
|
+
/* @__PURE__ */ jsx("line", { x1: "18", y1: "12", x2: "22", y2: "12" }),
|
|
134
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "2" })
|
|
135
|
+
] }),
|
|
136
|
+
swap: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M3 8h18M17 4l4 4-4 4M21 16H3M7 20l-4-4 4-4" }) }),
|
|
137
|
+
camera: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
138
|
+
/* @__PURE__ */ jsx("path", { d: "M3 7h4l2-3h6l2 3h4a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1z" }),
|
|
139
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "13", r: "4" })
|
|
140
|
+
] }),
|
|
141
|
+
qq: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
142
|
+
/* @__PURE__ */ jsx("path", { d: "M12 2c-3 0-5 2.1-5 5 0 1.3.4 2.6.9 3.6-1.8 1-3.4 3-3.4 5.9 0 .8.7 1.5 1.5 1.5 0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2 .8 0 1.5-.7 1.5-1.5 0-2.9-1.6-4.9-3.4-5.9.5-1 .9-2.3.9-3.6 0-2.9-2-5-5-5z" }),
|
|
143
|
+
/* @__PURE__ */ jsx("circle", { cx: "10", cy: "9", r: "0.8", fill: "currentColor", stroke: "none" }),
|
|
144
|
+
/* @__PURE__ */ jsx("circle", { cx: "14", cy: "9", r: "0.8", fill: "currentColor", stroke: "none" })
|
|
145
|
+
] }),
|
|
146
|
+
code: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m16 18 6-6-6-6M8 6l-6 6 6 6" }) }),
|
|
147
|
+
appstore: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
148
|
+
/* @__PURE__ */ jsx("rect", { x: "3", y: "3", width: "7", height: "7", rx: "1.5" }),
|
|
149
|
+
/* @__PURE__ */ jsx("rect", { x: "14", y: "3", width: "7", height: "7", rx: "1.5" }),
|
|
150
|
+
/* @__PURE__ */ jsx("rect", { x: "3", y: "14", width: "7", height: "7", rx: "1.5" }),
|
|
151
|
+
/* @__PURE__ */ jsx("rect", { x: "14", y: "14", width: "7", height: "7", rx: "1.5" })
|
|
152
|
+
] }),
|
|
153
|
+
barChart: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M4 20V10M10 20V4M16 20v-7M22 20H2" }) }),
|
|
154
|
+
block: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
155
|
+
/* @__PURE__ */ jsx("path", { d: "M7 7h10v10H7z" }),
|
|
156
|
+
/* @__PURE__ */ jsx("path", { d: "M4 4h10v10H4z" })
|
|
157
|
+
] }),
|
|
158
|
+
border: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("rect", { x: "4", y: "4", width: "16", height: "16", rx: "1.5" }) }),
|
|
159
|
+
caretDown: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m7 9 5 6 5-6z", fill: "currentColor", stroke: "none" }) }),
|
|
160
|
+
caretUp: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m7 15 5-6 5 6z", fill: "currentColor", stroke: "none" }) }),
|
|
161
|
+
checkCircle: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
162
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
163
|
+
/* @__PURE__ */ jsx("path", { d: "m8 12 3 3 5-6" })
|
|
164
|
+
] }),
|
|
165
|
+
checkCircleFilled: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
166
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
167
|
+
/* @__PURE__ */ jsx("path", { d: "m7.8 12.2 2.7 2.7 5.8-6", stroke: "var(--bg)", strokeWidth: "2.2", fill: "none" })
|
|
168
|
+
] }),
|
|
169
|
+
clockCircleFilled: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
170
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10", fill: "currentColor", stroke: "none" }),
|
|
171
|
+
/* @__PURE__ */ jsx("path", { d: "M12 6.5v5.7l3.6 2.1", stroke: "var(--bg)", strokeWidth: "2.1", fill: "none" })
|
|
172
|
+
] }),
|
|
173
|
+
closeCircle: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
174
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
175
|
+
/* @__PURE__ */ jsx("path", { d: "M8 8l8 8M16 8l-8 8" })
|
|
176
|
+
] }),
|
|
177
|
+
dashboard: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
178
|
+
/* @__PURE__ */ jsx("path", { d: "M4 13a8 8 0 1 1 16 0" }),
|
|
179
|
+
/* @__PURE__ */ jsx("path", { d: "M12 13l4-4" }),
|
|
180
|
+
/* @__PURE__ */ jsx("path", { d: "M7 17h10" })
|
|
181
|
+
] }),
|
|
182
|
+
environment: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
183
|
+
/* @__PURE__ */ jsx("path", { d: "M12 22s7-5.2 7-12a7 7 0 0 0-14 0c0 6.8 7 12 7 12z" }),
|
|
184
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "10", r: "2.5" })
|
|
185
|
+
] }),
|
|
186
|
+
exclamationCircle: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
187
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
188
|
+
/* @__PURE__ */ jsx("path", { d: "M12 7v6M12 17h.01" })
|
|
189
|
+
] }),
|
|
190
|
+
folderOpen: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
191
|
+
/* @__PURE__ */ jsx("path", { d: "M3 8a2 2 0 0 1 2-2h4l2 3h8a2 2 0 0 1 2 2v1" }),
|
|
192
|
+
/* @__PURE__ */ jsx("path", { d: "M3 18.5 5.2 11h17L20 20H5a2 2 0 0 1-2-1.5z" })
|
|
193
|
+
] }),
|
|
194
|
+
loading: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
195
|
+
/* @__PURE__ */ jsx("path", { d: "M21 12a9 9 0 1 1-3-6.7" }),
|
|
196
|
+
/* @__PURE__ */ jsx("path", { d: "M21 3v6h-6" })
|
|
197
|
+
] }),
|
|
198
|
+
minusCircle: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
199
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
200
|
+
/* @__PURE__ */ jsx("path", { d: "M8 12h8" })
|
|
201
|
+
] }),
|
|
202
|
+
picture: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
203
|
+
/* @__PURE__ */ jsx("rect", { x: "3", y: "4", width: "18", height: "16", rx: "2" }),
|
|
204
|
+
/* @__PURE__ */ jsx("circle", { cx: "8.5", cy: "9", r: "1.7" }),
|
|
205
|
+
/* @__PURE__ */ jsx("path", { d: "m21 15-4.5-4.5L9 18" })
|
|
206
|
+
] }),
|
|
207
|
+
reload: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
208
|
+
/* @__PURE__ */ jsx("path", { d: "M21 12a9 9 0 1 1-2.64-6.36" }),
|
|
209
|
+
/* @__PURE__ */ jsx("path", { d: "M21 3v6h-6" })
|
|
210
|
+
] }),
|
|
211
|
+
robot: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
212
|
+
/* @__PURE__ */ jsx("rect", { x: "5", y: "8", width: "14", height: "11", rx: "3" }),
|
|
213
|
+
/* @__PURE__ */ jsx("path", { d: "M12 8V4M9 4h6M3 13h2M19 13h2" }),
|
|
214
|
+
/* @__PURE__ */ jsx("circle", { cx: "9.5", cy: "13", r: "1", fill: "currentColor", stroke: "none" }),
|
|
215
|
+
/* @__PURE__ */ jsx("circle", { cx: "14.5", cy: "13", r: "1", fill: "currentColor", stroke: "none" }),
|
|
216
|
+
/* @__PURE__ */ jsx("path", { d: "M9 16h6" })
|
|
217
|
+
] }),
|
|
218
|
+
swapRight: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M5 7h10M12 4l3 3-3 3M19 17H9M12 14l-3 3 3 3" }) }),
|
|
219
|
+
sync: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
220
|
+
/* @__PURE__ */ jsx("path", { d: "M20 7h-5V2" }),
|
|
221
|
+
/* @__PURE__ */ jsx("path", { d: "M4 17h5v5" }),
|
|
222
|
+
/* @__PURE__ */ jsx("path", { d: "M20 12a8 8 0 0 0-13.7-5.7L4 8" }),
|
|
223
|
+
/* @__PURE__ */ jsx("path", { d: "M4 12a8 8 0 0 0 13.7 5.7L20 16" })
|
|
224
|
+
] }),
|
|
225
|
+
translate: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
226
|
+
/* @__PURE__ */ jsx("path", { d: "M4 5h8M8 3v2M6 9c1.4 2.6 3.4 4.4 6 5.5" }),
|
|
227
|
+
/* @__PURE__ */ jsx("path", { d: "M11 5c-.7 4-2.8 7-7 9" }),
|
|
228
|
+
/* @__PURE__ */ jsx("path", { d: "M14 20l4-10 4 10M15.4 16h5.2" })
|
|
229
|
+
] }),
|
|
230
|
+
unorderedList: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
231
|
+
/* @__PURE__ */ jsx("path", { d: "M8 6h13M8 12h13M8 18h13" }),
|
|
232
|
+
/* @__PURE__ */ jsx("circle", { cx: "4", cy: "6", r: "1", fill: "currentColor", stroke: "none" }),
|
|
233
|
+
/* @__PURE__ */ jsx("circle", { cx: "4", cy: "12", r: "1", fill: "currentColor", stroke: "none" }),
|
|
234
|
+
/* @__PURE__ */ jsx("circle", { cx: "4", cy: "18", r: "1", fill: "currentColor", stroke: "none" })
|
|
235
|
+
] })
|
|
236
|
+
};
|
|
237
|
+
var Icon = React.forwardRef(
|
|
238
|
+
({ name, size = 16, stroke = 2, style, ...rest }, ref) => /* @__PURE__ */ jsx(
|
|
239
|
+
"svg",
|
|
240
|
+
{
|
|
241
|
+
ref,
|
|
242
|
+
width: size,
|
|
243
|
+
height: size,
|
|
244
|
+
viewBox: "0 0 24 24",
|
|
245
|
+
fill: "none",
|
|
246
|
+
stroke: "currentColor",
|
|
247
|
+
strokeWidth: stroke,
|
|
248
|
+
strokeLinecap: "round",
|
|
249
|
+
strokeLinejoin: "round",
|
|
250
|
+
overflow: "visible",
|
|
251
|
+
style,
|
|
252
|
+
...rest,
|
|
253
|
+
children: paths[name]
|
|
254
|
+
}
|
|
255
|
+
)
|
|
256
|
+
);
|
|
257
|
+
Icon.displayName = "Icon";
|
|
258
|
+
var isIconName = (value) => typeof value === "string" && Object.prototype.hasOwnProperty.call(paths, value);
|
|
259
|
+
var renderIconSlot = (icon, { size = 14, className } = {}) => {
|
|
260
|
+
if (icon == null || icon === false) return null;
|
|
261
|
+
if (isIconName(icon)) {
|
|
262
|
+
return /* @__PURE__ */ jsx(Icon, { name: icon, size, className });
|
|
263
|
+
}
|
|
264
|
+
return /* @__PURE__ */ jsx("span", { className, children: icon });
|
|
265
|
+
};
|
|
266
|
+
var ICON_NAMES = Object.keys(paths);
|
|
267
|
+
var NAMED_ICON_MAP = {
|
|
268
|
+
AimOutlined: "aim",
|
|
269
|
+
AppstoreOutlined: "appstore",
|
|
270
|
+
BarChartOutlined: "barChart",
|
|
271
|
+
BlockOutlined: "block",
|
|
272
|
+
BorderOutlined: "border",
|
|
273
|
+
CameraOutlined: "camera",
|
|
274
|
+
CaretDownOutlined: "caretDown",
|
|
275
|
+
CaretUpOutlined: "caretUp",
|
|
276
|
+
CheckCircleFilled: "checkCircleFilled",
|
|
277
|
+
CheckCircleOutlined: "checkCircle",
|
|
278
|
+
CheckOutlined: "check",
|
|
279
|
+
ClockCircleFilled: "clockCircleFilled",
|
|
280
|
+
CloseCircleOutlined: "closeCircle",
|
|
281
|
+
CloseOutlined: "x",
|
|
282
|
+
CopyOutlined: "copy",
|
|
283
|
+
DashboardOutlined: "dashboard",
|
|
284
|
+
DeleteOutlined: "trash",
|
|
285
|
+
DownOutlined: "chevDown",
|
|
286
|
+
EnvironmentOutlined: "environment",
|
|
287
|
+
ExclamationCircleOutlined: "exclamationCircle",
|
|
288
|
+
FolderOpenOutlined: "folderOpen",
|
|
289
|
+
LeftOutlined: "chevLeft",
|
|
290
|
+
LoadingOutlined: "loading",
|
|
291
|
+
MinusCircleOutlined: "minusCircle",
|
|
292
|
+
MinusOutlined: "minus",
|
|
293
|
+
PictureOutlined: "picture",
|
|
294
|
+
PlusOutlined: "plus",
|
|
295
|
+
QqOutlined: "qq",
|
|
296
|
+
ReloadOutlined: "reload",
|
|
297
|
+
RightOutlined: "chevRight",
|
|
298
|
+
RobotOutlined: "robot",
|
|
299
|
+
SearchOutlined: "search",
|
|
300
|
+
SettingOutlined: "settings",
|
|
301
|
+
StarFilled: "starFilled",
|
|
302
|
+
StarOutlined: "star",
|
|
303
|
+
SwapOutlined: "swap",
|
|
304
|
+
SwapRightOutlined: "swapRight",
|
|
305
|
+
SyncOutlined: "sync",
|
|
306
|
+
ThunderboltOutlined: "zap",
|
|
307
|
+
TranslationOutlined: "translate",
|
|
308
|
+
UnorderedListOutlined: "unorderedList",
|
|
309
|
+
UserOutlined: "user"
|
|
310
|
+
};
|
|
311
|
+
var resolveIconName = (name, fallback = "appstore") => NAMED_ICON_MAP[name] ?? fallback;
|
|
312
|
+
var createNamedIcon = (displayName, defaultSpin = false) => {
|
|
313
|
+
const iconName = NAMED_ICON_MAP[displayName];
|
|
314
|
+
const Component = React.forwardRef(
|
|
315
|
+
({ spin, rotate, size = "1em", className = "", style, ...rest }, ref) => {
|
|
316
|
+
const shouldSpin = spin ?? defaultSpin;
|
|
317
|
+
const transform = rotate ? `${style?.transform ? `${style.transform} ` : ""}rotate(${rotate}deg)` : style?.transform;
|
|
318
|
+
return /* @__PURE__ */ jsx(
|
|
319
|
+
"span",
|
|
320
|
+
{
|
|
321
|
+
ref,
|
|
322
|
+
role: "img",
|
|
323
|
+
"aria-label": displayName,
|
|
324
|
+
className,
|
|
325
|
+
style: {
|
|
326
|
+
display: "inline-flex",
|
|
327
|
+
alignItems: "center",
|
|
328
|
+
justifyContent: "center",
|
|
329
|
+
lineHeight: 0,
|
|
330
|
+
verticalAlign: "-0.125em",
|
|
331
|
+
...style,
|
|
332
|
+
...transform ? { transform } : {}
|
|
333
|
+
},
|
|
334
|
+
...rest,
|
|
335
|
+
children: /* @__PURE__ */ jsx(
|
|
336
|
+
Icon,
|
|
337
|
+
{
|
|
338
|
+
name: iconName,
|
|
339
|
+
size,
|
|
340
|
+
style: shouldSpin ? { animation: "spin 0.9s linear infinite" } : void 0
|
|
341
|
+
}
|
|
342
|
+
)
|
|
343
|
+
}
|
|
344
|
+
);
|
|
345
|
+
}
|
|
346
|
+
);
|
|
347
|
+
Component.displayName = displayName;
|
|
348
|
+
return Component;
|
|
349
|
+
};
|
|
350
|
+
var AimOutlined = createNamedIcon("AimOutlined");
|
|
351
|
+
var AppstoreOutlined = createNamedIcon("AppstoreOutlined");
|
|
352
|
+
var BarChartOutlined = createNamedIcon("BarChartOutlined");
|
|
353
|
+
var BlockOutlined = createNamedIcon("BlockOutlined");
|
|
354
|
+
var BorderOutlined = createNamedIcon("BorderOutlined");
|
|
355
|
+
var CameraOutlined = createNamedIcon("CameraOutlined");
|
|
356
|
+
var CaretDownOutlined = createNamedIcon("CaretDownOutlined");
|
|
357
|
+
var CaretUpOutlined = createNamedIcon("CaretUpOutlined");
|
|
358
|
+
var CheckCircleFilled = createNamedIcon("CheckCircleFilled");
|
|
359
|
+
var CheckCircleOutlined = createNamedIcon("CheckCircleOutlined");
|
|
360
|
+
var CheckOutlined = createNamedIcon("CheckOutlined");
|
|
361
|
+
var ClockCircleFilled = createNamedIcon("ClockCircleFilled");
|
|
362
|
+
var CloseCircleOutlined = createNamedIcon("CloseCircleOutlined");
|
|
363
|
+
var CloseOutlined = createNamedIcon("CloseOutlined");
|
|
364
|
+
var CopyOutlined = createNamedIcon("CopyOutlined");
|
|
365
|
+
var DashboardOutlined = createNamedIcon("DashboardOutlined");
|
|
366
|
+
var DeleteOutlined = createNamedIcon("DeleteOutlined");
|
|
367
|
+
var DownOutlined = createNamedIcon("DownOutlined");
|
|
368
|
+
var EnvironmentOutlined = createNamedIcon("EnvironmentOutlined");
|
|
369
|
+
var ExclamationCircleOutlined = createNamedIcon("ExclamationCircleOutlined");
|
|
370
|
+
var FolderOpenOutlined = createNamedIcon("FolderOpenOutlined");
|
|
371
|
+
var LeftOutlined = createNamedIcon("LeftOutlined");
|
|
372
|
+
var LoadingOutlined = createNamedIcon("LoadingOutlined", true);
|
|
373
|
+
var MinusCircleOutlined = createNamedIcon("MinusCircleOutlined");
|
|
374
|
+
var MinusOutlined = createNamedIcon("MinusOutlined");
|
|
375
|
+
var PictureOutlined = createNamedIcon("PictureOutlined");
|
|
376
|
+
var PlusOutlined = createNamedIcon("PlusOutlined");
|
|
377
|
+
var QqOutlined = createNamedIcon("QqOutlined");
|
|
378
|
+
var ReloadOutlined = createNamedIcon("ReloadOutlined");
|
|
379
|
+
var RightOutlined = createNamedIcon("RightOutlined");
|
|
380
|
+
var RobotOutlined = createNamedIcon("RobotOutlined");
|
|
381
|
+
var SearchOutlined = createNamedIcon("SearchOutlined");
|
|
382
|
+
var SettingOutlined = createNamedIcon("SettingOutlined");
|
|
383
|
+
var StarFilled = createNamedIcon("StarFilled");
|
|
384
|
+
var StarOutlined = createNamedIcon("StarOutlined");
|
|
385
|
+
var SwapOutlined = createNamedIcon("SwapOutlined");
|
|
386
|
+
var SwapRightOutlined = createNamedIcon("SwapRightOutlined");
|
|
387
|
+
var SyncOutlined = createNamedIcon("SyncOutlined");
|
|
388
|
+
var ThunderboltOutlined = createNamedIcon("ThunderboltOutlined");
|
|
389
|
+
var TranslationOutlined = createNamedIcon("TranslationOutlined");
|
|
390
|
+
var UnorderedListOutlined = createNamedIcon("UnorderedListOutlined");
|
|
391
|
+
var UserOutlined = createNamedIcon("UserOutlined");
|
|
392
|
+
|
|
393
|
+
export { AimOutlined, AppstoreOutlined, BarChartOutlined, BlockOutlined, BorderOutlined, CameraOutlined, CaretDownOutlined, CaretUpOutlined, CheckCircleFilled, CheckCircleOutlined, CheckOutlined, ClockCircleFilled, CloseCircleOutlined, CloseOutlined, CopyOutlined, DashboardOutlined, DeleteOutlined, DownOutlined, EnvironmentOutlined, ExclamationCircleOutlined, FolderOpenOutlined, ICON_NAMES, Icon, LeftOutlined, LoadingOutlined, MinusCircleOutlined, MinusOutlined, NAMED_ICON_MAP, PictureOutlined, PlusOutlined, QqOutlined, ReloadOutlined, RightOutlined, RobotOutlined, SearchOutlined, SettingOutlined, StarFilled, StarOutlined, SwapOutlined, SwapRightOutlined, SyncOutlined, ThunderboltOutlined, TranslationOutlined, UnorderedListOutlined, UserOutlined, isIconName, renderIconSlot, resolveIconName };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkV272XR3F_cjs = require('./chunk-V272XR3F.cjs');
|
|
4
4
|
require('./tokens-BIIUTPKN.css');
|
|
5
5
|
require('./shared-NJHRNLRH.css');
|
|
6
|
-
require('./Tag-
|
|
6
|
+
require('./Tag-HDYCDPFS.css');
|
|
7
7
|
var React = require('react');
|
|
8
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
9
9
|
|
|
@@ -48,7 +48,7 @@ var Tag = React__namespace.forwardRef(({
|
|
|
48
48
|
].filter(Boolean).join(" ");
|
|
49
49
|
return /* @__PURE__ */ jsxRuntime.jsxs("span", { ref, className: cls, ...rest, children: [
|
|
50
50
|
dot && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "dot" }),
|
|
51
|
-
|
|
51
|
+
chunkV272XR3F_cjs.renderIconSlot(icon, { size: 11, className: "tag-ico" }),
|
|
52
52
|
children,
|
|
53
53
|
removable && /* @__PURE__ */ jsxRuntime.jsx(
|
|
54
54
|
"span",
|
|
@@ -60,27 +60,11 @@ var Tag = React__namespace.forwardRef(({
|
|
|
60
60
|
e.stopPropagation();
|
|
61
61
|
onRemove?.();
|
|
62
62
|
},
|
|
63
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
63
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkV272XR3F_cjs.Icon, { name: "x", size: 11 })
|
|
64
64
|
}
|
|
65
65
|
)
|
|
66
66
|
] });
|
|
67
67
|
});
|
|
68
68
|
Tag.displayName = "Tag";
|
|
69
|
-
var Badge = React__namespace.forwardRef(({
|
|
70
|
-
count,
|
|
71
|
-
dot,
|
|
72
|
-
tone = "danger",
|
|
73
|
-
children,
|
|
74
|
-
className = "",
|
|
75
|
-
...rest
|
|
76
|
-
}, ref) => {
|
|
77
|
-
const show = dot || typeof count === "number" && count > 0;
|
|
78
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("span", { ref, className: `badge-wrap ${className}`, ...rest, children: [
|
|
79
|
-
children,
|
|
80
|
-
show && /* @__PURE__ */ jsxRuntime.jsx("span", { className: `badge ${tone} ${dot ? "dot" : ""}`, children: !dot && (count > 99 ? "99+" : count) })
|
|
81
|
-
] });
|
|
82
|
-
});
|
|
83
|
-
Badge.displayName = "Badge";
|
|
84
69
|
|
|
85
|
-
exports.Badge = Badge;
|
|
86
70
|
exports.Tag = Tag;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Icon } from './chunk-
|
|
1
|
+
import { renderIconSlot, Icon } from './chunk-47VG2P34.js';
|
|
2
2
|
import './tokens-BIIUTPKN.css';
|
|
3
3
|
import './shared-NJHRNLRH.css';
|
|
4
|
-
import './Tag-
|
|
4
|
+
import './Tag-HDYCDPFS.css';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -26,7 +26,7 @@ var Tag = React.forwardRef(({
|
|
|
26
26
|
].filter(Boolean).join(" ");
|
|
27
27
|
return /* @__PURE__ */ jsxs("span", { ref, className: cls, ...rest, children: [
|
|
28
28
|
dot && /* @__PURE__ */ jsx("span", { className: "dot" }),
|
|
29
|
-
icon
|
|
29
|
+
renderIconSlot(icon, { size: 11, className: "tag-ico" }),
|
|
30
30
|
children,
|
|
31
31
|
removable && /* @__PURE__ */ jsx(
|
|
32
32
|
"span",
|
|
@@ -44,20 +44,5 @@ var Tag = React.forwardRef(({
|
|
|
44
44
|
] });
|
|
45
45
|
});
|
|
46
46
|
Tag.displayName = "Tag";
|
|
47
|
-
var Badge = React.forwardRef(({
|
|
48
|
-
count,
|
|
49
|
-
dot,
|
|
50
|
-
tone = "danger",
|
|
51
|
-
children,
|
|
52
|
-
className = "",
|
|
53
|
-
...rest
|
|
54
|
-
}, ref) => {
|
|
55
|
-
const show = dot || typeof count === "number" && count > 0;
|
|
56
|
-
return /* @__PURE__ */ jsxs("span", { ref, className: `badge-wrap ${className}`, ...rest, children: [
|
|
57
|
-
children,
|
|
58
|
-
show && /* @__PURE__ */ jsx("span", { className: `badge ${tone} ${dot ? "dot" : ""}`, children: !dot && (count > 99 ? "99+" : count) })
|
|
59
|
-
] });
|
|
60
|
-
});
|
|
61
|
-
Badge.displayName = "Badge";
|
|
62
47
|
|
|
63
|
-
export {
|
|
48
|
+
export { Tag };
|