@wisdomgarden/torque-icons 0.1.4 → 0.1.6

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.
@@ -1,16 +1,3 @@
1
1
  import * as React from 'react';
2
2
  import { IconSvgComponent, IconSvgProps } from './types';
3
- /**
4
- * Rewrites every `fill` / `stroke` that is not `none` to `currentColor` so the
5
- * icon follows the surrounding text color, unless the caller asks for the
6
- * colors the icon was drawn with.
7
- *
8
- * This runs per render rather than at build time on purpose: `useOriginalColor`
9
- * is a prop, not a property of the icon, and 17 icons in this set are used both
10
- * ways. Building two variants instead would double the module count to keep one
11
- * boolean out of the render path.
12
- *
13
- * Every generated icon module shares this one implementation, so an icon's own
14
- * lazily loaded chunk carries nothing but its markup.
15
- */
16
3
  export declare const withColorOverride: (Svg: (props: IconSvgProps) => React.ReactElement) => IconSvgComponent;
@@ -1,16 +1,37 @@
1
- import * as i from "react";
2
- const c = (e) => ({ useOriginalColor: s = !1, ...l }) => {
3
- const t = (o) => {
4
- if (!i.isValidElement(o) || typeof o.type != "string") return o;
5
- const r = o.props, n = { ...r };
6
- return s || ("fill" in r && r.fill !== "none" && (n.fill = "currentColor"), "stroke" in r && r.stroke !== "none" && (n.stroke = "currentColor")), i.cloneElement(
7
- o,
8
- n,
9
- r.children ? i.Children.map(r.children, t) : void 0
1
+ import * as p from "react";
2
+ const a = (s) => {
3
+ const l = s.trim().toLowerCase();
4
+ if (l === "white") return !0;
5
+ const i = /^#([0-9a-f]{3}|[0-9a-f]{6})$/.exec(l);
6
+ if (!i) return !1;
7
+ let e = i[1];
8
+ return e.length === 3 && (e = e.split("").map((o) => o + o).join("")), [0, 2, 4].every((o) => parseInt(e.slice(o, o + 2), 16) >= 224);
9
+ }, d = (s) => ({
10
+ useOriginalColor: i = !1,
11
+ cutout: e = !1,
12
+ ...o
13
+ }) => {
14
+ const c = (t) => {
15
+ if (!p.isValidElement(t) || typeof t.type != "string") return t;
16
+ const r = t.props, f = { ...r };
17
+ if (!i) {
18
+ if ("fill" in r && r.fill !== "none") {
19
+ const n = r.fill;
20
+ f.fill = e && typeof n == "string" && a(n) ? "none" : "currentColor";
21
+ }
22
+ if ("stroke" in r && r.stroke !== "none") {
23
+ const n = r.stroke;
24
+ f.stroke = e && typeof n == "string" && a(n) ? "none" : "currentColor";
25
+ }
26
+ }
27
+ return p.cloneElement(
28
+ t,
29
+ f,
30
+ r.children ? p.Children.map(r.children, c) : void 0
10
31
  );
11
32
  };
12
- return t(e(l));
33
+ return c(s(o));
13
34
  };
14
35
  export {
15
- c as withColorOverride
36
+ d as withColorOverride
16
37
  };
@@ -0,0 +1,12 @@
1
+ import { jsxs as t, jsx as C } from "react/jsx-runtime";
2
+ import { withColorOverride as e } from "../../../color-override.js";
3
+ const i = e((r) => /* @__PURE__ */ t("svg", { width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: [
4
+ /* @__PURE__ */ C("path", { d: "M4.16 2H11.84C13.28 2 14 2.72 14 4.16V11.84C14 13.28 13.28 14 11.84 14H4.16C2.72 14 2 13.28 2 11.84V4.16C2 2.72 2.72 2 4.16 2Z", fill: "white" }),
5
+ /* @__PURE__ */ C("path", { d: "M3.58766 8.22998L5.96366 5.85398C6.00823 5.8094 6.06114 5.77404 6.11938 5.74992C6.17762 5.7258 6.24004 5.71338 6.30308 5.71338C6.36611 5.71338 6.42853 5.7258 6.48677 5.74992C6.54501 5.77404 6.59792 5.8094 6.6425 5.85398L8.00006 7.21178L4.94534 10.2665C4.85532 10.3565 4.73325 10.407 4.60598 10.407C4.4787 10.407 4.35663 10.3565 4.26662 10.2665L3.58778 9.58766C3.40777 9.40762 3.30664 9.16346 3.30664 8.90888C3.30664 8.65429 3.40777 8.41013 3.58778 8.2301L3.58766 8.22998Z", fill: "currentColor" }),
6
+ /* @__PURE__ */ C("path", { d: "M6.30273 8.90894L9.35745 5.85422C9.40203 5.80965 9.45494 5.77429 9.51318 5.75016C9.57142 5.72604 9.63384 5.71362 9.69687 5.71362C9.75991 5.71362 9.82233 5.72604 9.88057 5.75016C9.93881 5.77429 9.99172 5.80965 10.0363 5.85422L11.394 7.21178L8.33925 10.2665C8.29468 10.3111 8.24177 10.3464 8.18353 10.3706C8.12529 10.3947 8.06287 10.4071 7.99983 10.4071C7.9368 10.4071 7.87438 10.3947 7.81614 10.3706C7.7579 10.3464 7.70499 10.3111 7.66041 10.2665L6.30273 8.90894Z", fill: "currentColor" }),
7
+ /* @__PURE__ */ C("path", { d: "M9.6123 8.82411L11.3093 7.12695L12.4125 8.23011C12.5925 8.41014 12.6936 8.65431 12.6936 8.90889C12.6936 9.16348 12.5925 9.40764 12.4125 9.58767L11.7337 10.2665C11.6891 10.3111 11.6362 10.3464 11.5779 10.3706C11.5197 10.3947 11.4573 10.4071 11.3942 10.4071C11.3312 10.4071 11.2688 10.3947 11.2106 10.3706C11.1523 10.3464 11.0994 10.3111 11.0548 10.2665L9.61242 8.82411H9.6123Z", fill: "currentColor" }),
8
+ /* @__PURE__ */ C("path", { d: "M6.61881 5.83086L7.99977 7.21182L6.30273 8.90898L6.30561 5.71362C6.42054 5.71475 6.5314 5.75625 6.61881 5.83086Z", fill: "currentColor" })
9
+ ] }));
10
+ export {
11
+ i as default
12
+ };
@@ -0,0 +1,13 @@
1
+ import { jsxs as i, jsx as C } from "react/jsx-runtime";
2
+ import { withColorOverride as t } from "../color-override.js";
3
+ const L = t((l) => /* @__PURE__ */ i("svg", { width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l, children: [
4
+ /* @__PURE__ */ C("path", { d: "M1.97656 10.3428V3.93848C1.97656 3.02721 2.71568 2.28809 3.62695 2.28809H8.4082C8.76706 2.28824 9.05762 2.57959 9.05762 2.93848C9.05762 3.29737 8.76706 3.58871 8.4082 3.58887H3.62695C3.43365 3.58887 3.27734 3.74518 3.27734 3.93848V10.3428C3.27734 10.7018 2.98594 10.9932 2.62695 10.9932C2.26797 10.9932 1.97656 10.7018 1.97656 10.3428ZM12.2773 10.3428V8.19727C12.2773 7.83835 12.5679 7.54698 12.9268 7.54688C13.2857 7.54688 13.5771 7.83828 13.5771 8.19727V10.3428C13.5771 10.7018 13.2857 10.9932 12.9268 10.9932C12.5679 10.9931 12.2773 10.7017 12.2773 10.3428Z", fill: "#141414" }),
5
+ /* @__PURE__ */ C("path", { d: "M1.27734 10.993C1.27734 10.634 1.56836 10.343 1.92734 10.343H13.6273C13.9863 10.343 14.2773 10.634 14.2773 10.993C14.2773 11.352 13.9863 11.643 13.6273 11.643H1.92734C1.56836 11.643 1.27734 11.352 1.27734 10.993Z", fill: "#141414" }),
6
+ /* @__PURE__ */ C("path", { d: "M4.28125 8.79575C4.28125 8.43677 4.57226 8.14575 4.93125 8.14575H6.63125C6.99023 8.14575 7.28125 8.43677 7.28125 8.79575C7.28125 9.15474 6.99023 9.44575 6.63125 9.44575H4.93125C4.57226 9.44575 4.28125 9.15474 4.28125 8.79575Z", fill: "#141414" }),
7
+ /* @__PURE__ */ C("path", { d: "M4.67891 10.945C4.8584 10.6341 5.25593 10.5276 5.56682 10.7071C5.87771 10.8866 5.98423 11.2841 5.80474 11.595L4.29242 14.2144C4.11293 14.5253 3.71539 14.6318 3.4045 14.4523C3.09361 14.2728 2.9871 13.8753 3.16659 13.5644L4.67891 10.945Z", fill: "#141414" }),
8
+ /* @__PURE__ */ C("path", { d: "M11.3016 10.997C11.1221 10.6861 10.7245 10.5796 10.4136 10.7591C10.1028 10.9386 9.99624 11.3361 10.1757 11.647L11.6581 14.2146C11.8376 14.5255 12.2351 14.632 12.546 14.4525C12.8569 14.273 12.9634 13.8755 12.784 13.5646L11.3016 10.997Z", fill: "#141414" }),
9
+ /* @__PURE__ */ C("path", { d: "M11.4644 2.01854C11.5634 1.78028 11.8927 1.78027 11.9917 2.01854L12.2583 2.66112C12.4885 3.21603 12.9173 3.65982 13.4566 3.8994L14.1587 4.21092C14.3889 4.31327 14.3889 4.64769 14.1587 4.74999L13.4341 5.07225C12.9084 5.30579 12.4867 5.73302 12.2525 6.26952L11.9898 6.87303C11.8885 7.1046 11.5676 7.10461 11.4663 6.87303L11.2036 6.26952C10.9694 5.73291 10.5468 5.30577 10.021 5.07225L9.29738 4.74999C9.06719 4.64769 9.06724 4.31328 9.29738 4.21092L9.99953 3.8994C10.5388 3.65982 10.9676 3.21602 11.1978 2.66112L11.4644 2.01854Z", fill: "#5C6CFF" })
10
+ ] }));
11
+ export {
12
+ L as default
13
+ };
@@ -0,0 +1,11 @@
1
+ import { jsxs as i, jsx as C } from "react/jsx-runtime";
2
+ import { withColorOverride as e } from "../color-override.js";
3
+ const d = e((l) => /* @__PURE__ */ i("svg", { width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l, children: [
4
+ /* @__PURE__ */ C("path", { d: "M8.73535 1.50586C9.0942 1.50586 9.38552 1.79745 9.38574 2.15625C9.38574 2.51524 9.09434 2.80664 8.73535 2.80664H3.63086C3.43769 2.80664 3.28147 2.96314 3.28125 3.15625V11.3564C3.28136 12.3781 4.1092 13.2061 5.13086 13.2061H11.3311C11.5242 13.2059 11.6806 13.0496 11.6807 12.8564V8.00586C11.6811 7.64724 11.9723 7.35645 12.3311 7.35645C12.6897 7.35655 12.98 7.6473 12.9805 8.00586V12.8564C12.9804 13.7676 12.2422 14.5058 11.3311 14.5059H5.13086C3.39123 14.5059 1.98057 13.0961 1.98047 11.3564V3.15625C1.98069 2.24516 2.71972 1.50586 3.63086 1.50586H8.73535Z", fill: "#141414" }),
5
+ /* @__PURE__ */ C("path", { d: "M7.02246 9.79199C7.38144 9.79199 7.67285 10.0834 7.67285 10.4424C7.67285 10.8014 7.38145 11.0928 7.02246 11.0928H4.95508C4.59609 11.0928 4.30469 10.8014 4.30469 10.4424C4.30469 10.0834 4.5961 9.79199 4.95508 9.79199H7.02246Z", fill: "#141414" }),
6
+ /* @__PURE__ */ C("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.11719 8.00684H7.04883L6.85352 7.41309H5.56348L5.36719 8.00684H4.30469L5.63086 4.36914H6.79688L8.11719 8.00684ZM5.82129 6.63965H6.60059L6.20801 5.46289L5.82129 6.63965Z", fill: "#141414" }),
7
+ /* @__PURE__ */ C("path", { d: "M11.1533 1.67284C11.2523 1.43458 11.5817 1.43457 11.6807 1.67284L11.9473 2.31542C12.1774 2.87033 12.6062 3.31412 13.1455 3.5537L13.8477 3.86522C14.0778 3.96757 14.0778 4.30199 13.8477 4.40428L13.123 4.72655C12.5974 4.96009 12.1756 5.38732 11.9414 5.92382L11.6787 6.52733C11.5775 6.7589 11.2565 6.7589 11.1553 6.52733L10.8926 5.92382C10.6583 5.38721 10.2358 4.96007 9.70996 4.72655L8.98633 4.40428C8.75613 4.30199 8.75618 3.96758 8.98633 3.86522L9.68848 3.5537C10.2277 3.31411 10.6565 2.87032 10.8867 2.31542L11.1533 1.67284Z", fill: "#5C6CFF" })
8
+ ] }));
9
+ export {
10
+ d as default
11
+ };
@@ -0,0 +1,6 @@
1
+ import { jsx as C } from "react/jsx-runtime";
2
+ import { withColorOverride as r } from "../color-override.js";
3
+ const e = r((o) => /* @__PURE__ */ C("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 16 15", fill: "none", ...o, children: /* @__PURE__ */ C("path", { d: "M8 1.12549C11.7279 1.12549 14.75 3.84632 14.75 7.20264C14.75 10.559 11.7279 13.2798 8 13.2798H1.25C1.25 13.2798 1.25 8.74388 1.25 7.20264C1.25 3.84638 4.27219 1.1256 8 1.12549ZM5.36719 9.33057C5.00829 9.33066 4.7168 9.59336 4.7168 9.9165C4.71702 10.2395 5.00843 10.5014 5.36719 10.5015H8.29199C8.65084 10.5015 8.94216 10.2395 8.94238 9.9165C8.94238 9.5933 8.65098 9.33057 8.29199 9.33057H5.36719ZM5.36719 7.07959C5.00833 7.07968 4.71687 7.34146 4.7168 7.66455C4.7168 7.9877 5.00829 8.25039 5.36719 8.25049H10.6318C10.9908 8.25049 11.2822 7.98775 11.2822 7.66455C11.2822 7.3414 10.9908 7.07959 10.6318 7.07959H5.36719ZM5.36719 4.82764C5.00829 4.82773 4.7168 5.09043 4.7168 5.41357C4.71702 5.73655 5.00843 5.99844 5.36719 5.99854H10.6318C10.9907 5.99854 11.282 5.73661 11.2822 5.41357C11.2822 5.09037 10.9908 4.82764 10.6318 4.82764H5.36719Z", fill: "currentColor" }) }));
4
+ export {
5
+ e as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { jsx as C } from "react/jsx-runtime";
2
+ import { withColorOverride as e } from "../color-override.js";
3
+ const i = e((o) => /* @__PURE__ */ C("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "none", ...o, children: /* @__PURE__ */ C("path", { d: "M10.2197 13.4883C10.5785 13.4883 10.8697 13.7791 10.8701 14.1377C10.8701 14.4967 10.5787 14.7881 10.2197 14.7881H5.78125C5.42227 14.7881 5.13086 14.4967 5.13086 14.1377C5.13127 13.7791 5.42252 13.4883 5.78125 13.4883H10.2197ZM8 0.84668C11.0372 0.84668 13.4994 3.3096 13.5 6.34668C13.5 8.2574 12.5253 9.94089 11.0488 10.9258C10.971 10.9777 10.8902 11.0262 10.8096 11.0742V12.3477C10.8096 12.7066 10.5182 12.998 10.1592 12.998H5.84082C5.482 12.9979 5.19141 12.7065 5.19141 12.3477V11.0742C5.11076 11.0262 5.03003 10.9777 4.95215 10.9258C3.4756 9.94091 2.5 8.25746 2.5 6.34668C2.50057 3.30973 4.96296 0.846891 8 0.84668ZM10.1768 7.3291C9.90225 7.09794 9.49202 7.13283 9.26074 7.40723C8.95759 7.76683 8.50525 7.99403 8 7.99414C7.49474 7.99397 7.04237 7.7669 6.73926 7.40723C6.508 7.13285 6.09775 7.09802 5.82324 7.3291C5.54923 7.56047 5.514 7.97076 5.74512 8.24512C6.28468 8.8854 7.0953 9.29377 8 9.29395C8.90462 9.29383 9.71528 8.88526 10.2549 8.24512C10.486 7.97066 10.451 7.56039 10.1768 7.3291Z", fill: "currentColor" }) }));
4
+ export {
5
+ i as default
6
+ };
@@ -0,0 +1,10 @@
1
+ import { jsxs as l, jsx as C } from "react/jsx-runtime";
2
+ import { withColorOverride as o } from "../color-override.js";
3
+ const i = o((e) => /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "none", ...e, children: [
4
+ /* @__PURE__ */ C("path", { d: "M10.2197 13.4885C10.5786 13.4885 10.8699 13.7791 10.8701 14.1379C10.8701 14.4969 10.5787 14.7883 10.2197 14.7883H5.78125C5.42227 14.7883 5.13086 14.4969 5.13086 14.1379C5.13104 13.7791 5.42238 13.4885 5.78125 13.4885H10.2197Z", fill: "currentColor" }),
5
+ /* @__PURE__ */ C("path", { d: "M9.26074 7.40649C9.49204 7.13207 9.90225 7.09714 10.1768 7.32837C10.451 7.55966 10.486 7.96993 10.2549 8.24438C9.71528 8.88479 8.90484 9.2931 8 9.29321C7.09512 9.29318 6.28477 8.88478 5.74512 8.24438C5.51387 7.96987 5.5488 7.55967 5.82324 7.32837C6.09775 7.09728 6.508 7.13211 6.73926 7.40649C7.04247 7.76628 7.49455 7.99337 8 7.99341C8.50546 7.99329 8.95759 7.76636 9.26074 7.40649Z", fill: "currentColor" }),
6
+ /* @__PURE__ */ C("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8 0.846924C11.0374 0.846924 13.4997 3.30965 13.5 6.34692C13.5 8.25773 12.5254 9.94116 11.0488 10.926C10.9709 10.978 10.8902 11.0264 10.8096 11.0745V12.3479C10.8096 12.7069 10.5182 12.9983 10.1592 12.9983H5.84082C5.482 12.9981 5.19141 12.7068 5.19141 12.3479V11.0745C5.1107 11.0264 5.03009 10.978 4.95215 10.926C3.47549 9.94117 2.5 8.25779 2.5 6.34692C2.50034 3.30978 4.96282 0.847135 8 0.846924ZM8 2.14771C5.68079 2.14792 3.80112 4.02775 3.80078 6.34692C3.80078 7.80503 4.5433 9.08999 5.67383 9.84399C5.82011 9.94155 5.97256 10.0308 6.13086 10.1096C6.35151 10.2195 6.49112 10.4452 6.49121 10.6917V11.6985H9.50977V10.6917C9.50986 10.4452 9.64947 10.2195 9.87012 10.1096C10.0284 10.0308 10.1809 9.94152 10.3271 9.84399C11.4576 9.08998 12.2002 7.80497 12.2002 6.34692C12.1999 4.02762 10.3194 2.14771 8 2.14771Z", fill: "currentColor" })
7
+ ] }));
8
+ export {
9
+ i as default
10
+ };
@@ -0,0 +1,6 @@
1
+ import { jsx as L } from "react/jsx-runtime";
2
+ import { withColorOverride as o } from "../color-override.js";
3
+ const i = o((e) => /* @__PURE__ */ L("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 14 14", fill: "none", ...e, children: /* @__PURE__ */ L("path", { d: "M7.00312 6.92285e-07C5.61852 -0.00061496 4.26481 0.409409 3.11326 1.1782C1.96171 1.947 1.06404 3.04003 0.533748 4.31906C0.00345759 5.59809 -0.135621 7.00566 0.134124 8.36373C0.403869 9.7218 1.07031 10.9694 2.04915 11.9486C3.028 12.9279 4.27528 13.5949 5.63323 13.8653C6.99118 14.1356 8.39881 13.9972 9.67807 13.4674C10.9573 12.9377 12.0508 12.0405 12.8201 10.8893C13.5894 9.73811 14 8.3846 14 7C13.9984 5.14453 13.2608 3.36548 11.949 2.05318C10.6373 0.740867 8.85859 0.00247282 7.00312 6.92285e-07ZM5.51845 8.43176L5.49668 8.45355L4.78391 9.1663L4.7621 9.14451L2.61451 7L2.63628 6.97821L4.78391 4.8306L4.80568 4.85239L5.51845 5.56514L5.49668 5.58693L4.08671 7L5.51845 8.43176ZM8.45663 3.73499L6.57048 10.5825L5.56826 10.3055L7.46376 3.4393L8.46597 3.71632L8.45663 3.73499ZM11.3948 7.02179L9.25033 9.1663L9.22856 9.14451L8.51579 8.43176L8.53756 8.40997L9.94753 7L8.51579 5.56514L8.53756 5.54335L9.25033 4.8306L9.27214 4.85239L11.4197 7L11.3948 7.02179Z", fill: "currentColor" }) }));
4
+ export {
5
+ i as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { jsx as C } from "react/jsx-runtime";
2
+ import { withColorOverride as o } from "../color-override.js";
3
+ const e = o((L) => /* @__PURE__ */ C("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 14 14", fill: "none", ...L, children: /* @__PURE__ */ C("path", { d: "M8.54457 3.38815L6.47096 10.8834L5.45574 10.6026L7.5263 3.09809L8.54457 3.38815ZM4.16284 7.00154L5.74891 5.41549L5.00215 4.66873L2.66935 7.00154L5.00215 9.33436L5.74891 8.58762L4.16284 7.00154ZM8.99512 4.66873L8.24835 5.41549L9.83443 7.00154L8.24835 8.58762L8.99512 9.33436L11.3279 7.00154L8.99512 4.66873ZM14.0002 7.00154C14.0002 8.38632 13.5895 9.74 12.8202 10.8914C12.0509 12.0428 10.9574 12.9402 9.67799 13.4701C8.39863 14.0001 6.99087 14.1387 5.63271 13.8686C4.27454 13.5984 3.02698 12.9316 2.0478 11.9524C1.06861 10.9732 0.401757 9.72565 0.131601 8.36749C-0.138555 7.00932 0.000119595 5.60155 0.53005 4.32218C1.05998 3.04282 1.95738 1.94932 3.10878 1.17998C4.26018 0.410639 5.61384 0 6.99861 0C8.85504 0.00163418 10.635 0.739824 11.9477 2.05251C13.2604 3.3652 13.9985 5.14512 14.0002 7.00154ZM12.7659 7.00154C12.7665 5.86076 12.4288 4.74543 11.7954 3.7966C11.1621 2.84778 10.2616 2.10809 9.20779 1.67111C8.15402 1.23413 6.99434 1.11947 5.8754 1.34165C4.75646 1.56383 3.72852 2.11286 2.92165 2.9193C2.11478 3.72575 1.56521 4.75337 1.34243 5.87219C1.11965 6.99101 1.23368 8.15078 1.6701 9.20478C2.10652 10.2588 2.8457 11.1597 3.79418 11.7935C4.74267 12.4274 5.85783 12.7657 6.99861 12.7657C8.52715 12.7641 9.99268 12.1564 11.0738 11.0758C12.1549 9.99527 12.7634 8.53008 12.7659 7.00154Z", fill: "currentColor" }) }));
4
+ export {
5
+ e as default
6
+ };
@@ -1,15 +1,15 @@
1
- import { jsxs as t, jsx as C } from "react/jsx-runtime";
2
- import { withColorOverride as e } from "../color-override.js";
3
- const d = e((o) => /* @__PURE__ */ t("svg", { width: "1em", height: "1em", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o, children: [
4
- /* @__PURE__ */ C("path", { d: "M9.00085 1.91699C5.08909 1.91699 1.91797 5.08812 1.91797 8.99988C1.91797 12.9116 5.08909 16.0828 9.00085 16.0828C12.9126 16.0828 16.0837 12.9116 16.0837 8.99988", stroke: "#333333", strokeWidth: 1.3, strokeLinecap: "round", strokeLinejoin: "round" }),
5
- /* @__PURE__ */ C("path", { d: "M9.00238 5.45898C7.04648 5.45898 5.46094 7.04453 5.46094 9.00043C5.46094 10.9563 7.04648 12.5419 9.00238 12.5419C10.9583 12.5419 12.5438 10.9563 12.5438 9.00043", stroke: "#333333", strokeWidth: 1.3, strokeLinecap: "round", strokeLinejoin: "round" }),
6
- /* @__PURE__ */ C("path", { d: "M9 8.99985L11.479 6.51855", stroke: "#333333", strokeWidth: 1.3, strokeLinecap: "round", strokeLinejoin: "round" }),
7
- /* @__PURE__ */ C("path", { d: "M11.4805 4.05225V6.52087H13.9694L16.0844 4.39608H13.6066V1.91699L11.4805 4.05225Z", stroke: "#333333", strokeWidth: 1.3, strokeLinejoin: "round" }),
8
- /* @__PURE__ */ C("path", { d: "M1.18555 9.00012C1.18555 4.6845 4.6845 1.18555 9.00012 1.18555C9.40398 1.18555 9.73181 1.51338 9.73181 1.91724C9.73181 2.32109 9.40398 2.64893 9.00012 2.64893C5.49222 2.64893 2.64893 5.49222 2.64893 9.00012C2.64893 12.508 5.49222 15.3513 9.00012 15.3513C12.508 15.3513 15.3513 12.508 15.3513 9.00012C15.3513 8.59626 15.6791 8.26843 16.083 8.26843C16.4869 8.26843 16.8147 8.59626 16.8147 9.00012C16.8147 13.3157 13.3157 16.8147 9.00012 16.8147C4.6845 16.8147 1.18555 13.3157 1.18555 9.00012Z", fill: "#141414" }),
9
- /* @__PURE__ */ C("path", { d: "M4.72754 9.00067C4.72754 6.64091 6.64146 4.72699 9.00122 4.72699C9.40483 4.72729 9.73181 5.055 9.73181 5.45868C9.73181 5.86235 9.40483 6.19007 9.00122 6.19037C7.44918 6.19037 6.19092 7.44863 6.19092 9.00067C6.19121 10.5525 7.44936 11.8099 9.00122 11.8099C10.5528 11.8096 11.8101 10.5523 11.8104 9.00067C11.8104 8.59681 12.1383 8.26898 12.5421 8.26898C12.946 8.26898 13.2738 8.59681 13.2738 9.00067C13.2735 11.36 11.3605 13.273 9.00122 13.2733C6.64165 13.2733 4.72784 11.3602 4.72754 9.00067Z", fill: "#141414" }),
10
- /* @__PURE__ */ C("path", { d: "M10.9623 6.0025C11.2477 5.7168 11.7104 5.71597 11.9961 6.0014C12.2818 6.28682 12.2815 6.74951 11.9961 7.03522L9.51758 9.51703C9.23215 9.80272 8.76947 9.80245 8.48376 9.51703C8.19807 9.2316 8.19725 8.76892 8.48267 8.48322L10.9623 6.0025Z", fill: "#141414" }),
11
- /* @__PURE__ */ C("path", { d: "M13.087 1.40088C13.2959 1.19148 13.6101 1.12878 13.8835 1.24158C14.1572 1.35458 14.3362 1.62119 14.3362 1.91724V3.66516H16.083C16.3782 3.66534 16.6442 3.84301 16.7576 4.1156C16.8709 4.38844 16.8089 4.70271 16.6005 4.91211L14.4856 7.03687C14.3484 7.17471 14.1615 7.2522 13.967 7.2522H11.4786C11.0749 7.2522 10.7472 6.92524 10.7469 6.52161V4.05298C10.7469 3.85969 10.8238 3.67364 10.9601 3.53662L13.087 1.40088ZM12.2103 4.354V5.78992H13.6638L14.323 5.12744H13.6045C13.201 5.12727 12.8742 4.80036 12.8739 4.39685V3.68713L12.2103 4.354Z", fill: "#141414" })
1
+ import { jsxs as C, jsx as r } from "react/jsx-runtime";
2
+ import { withColorOverride as t } from "../color-override.js";
3
+ const i = t((o) => /* @__PURE__ */ C("svg", { width: "1em", height: "1em", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o, children: [
4
+ /* @__PURE__ */ r("path", { d: "M9.00085 1.91699C5.08909 1.91699 1.91797 5.08812 1.91797 8.99988C1.91797 12.9116 5.08909 16.0828 9.00085 16.0828C12.9126 16.0828 16.0837 12.9116 16.0837 8.99988", stroke: "currentColor", strokeWidth: 1.3, strokeLinecap: "round", strokeLinejoin: "round" }),
5
+ /* @__PURE__ */ r("path", { d: "M9.00238 5.45898C7.04648 5.45898 5.46094 7.04453 5.46094 9.00043C5.46094 10.9563 7.04648 12.5419 9.00238 12.5419C10.9583 12.5419 12.5438 10.9563 12.5438 9.00043", stroke: "currentColor", strokeWidth: 1.3, strokeLinecap: "round", strokeLinejoin: "round" }),
6
+ /* @__PURE__ */ r("path", { d: "M9 8.99985L11.479 6.51855", stroke: "currentColor", strokeWidth: 1.3, strokeLinecap: "round", strokeLinejoin: "round" }),
7
+ /* @__PURE__ */ r("path", { d: "M11.4805 4.05225V6.52087H13.9694L16.0844 4.39608H13.6066V1.91699L11.4805 4.05225Z", stroke: "currentColor", strokeWidth: 1.3, strokeLinejoin: "round" }),
8
+ /* @__PURE__ */ r("path", { d: "M1.18555 9.00012C1.18555 4.6845 4.6845 1.18555 9.00012 1.18555C9.40398 1.18555 9.73181 1.51338 9.73181 1.91724C9.73181 2.32109 9.40398 2.64893 9.00012 2.64893C5.49222 2.64893 2.64893 5.49222 2.64893 9.00012C2.64893 12.508 5.49222 15.3513 9.00012 15.3513C12.508 15.3513 15.3513 12.508 15.3513 9.00012C15.3513 8.59626 15.6791 8.26843 16.083 8.26843C16.4869 8.26843 16.8147 8.59626 16.8147 9.00012C16.8147 13.3157 13.3157 16.8147 9.00012 16.8147C4.6845 16.8147 1.18555 13.3157 1.18555 9.00012Z", fill: "currentColor" }),
9
+ /* @__PURE__ */ r("path", { d: "M4.72754 9.00067C4.72754 6.64091 6.64146 4.72699 9.00122 4.72699C9.40483 4.72729 9.73181 5.055 9.73181 5.45868C9.73181 5.86235 9.40483 6.19007 9.00122 6.19037C7.44918 6.19037 6.19092 7.44863 6.19092 9.00067C6.19121 10.5525 7.44936 11.8099 9.00122 11.8099C10.5528 11.8096 11.8101 10.5523 11.8104 9.00067C11.8104 8.59681 12.1383 8.26898 12.5421 8.26898C12.946 8.26898 13.2738 8.59681 13.2738 9.00067C13.2735 11.36 11.3605 13.273 9.00122 13.2733C6.64165 13.2733 4.72784 11.3602 4.72754 9.00067Z", fill: "currentColor" }),
10
+ /* @__PURE__ */ r("path", { d: "M10.9623 6.0025C11.2477 5.7168 11.7104 5.71597 11.9961 6.0014C12.2818 6.28682 12.2815 6.74951 11.9961 7.03522L9.51758 9.51703C9.23215 9.80272 8.76947 9.80245 8.48376 9.51703C8.19807 9.2316 8.19725 8.76892 8.48267 8.48322L10.9623 6.0025Z", fill: "currentColor" }),
11
+ /* @__PURE__ */ r("path", { d: "M13.087 1.40088C13.2959 1.19148 13.6101 1.12878 13.8835 1.24158C14.1572 1.35458 14.3362 1.62119 14.3362 1.91724V3.66516H16.083C16.3782 3.66534 16.6442 3.84301 16.7576 4.1156C16.8709 4.38844 16.8089 4.70271 16.6005 4.91211L14.4856 7.03687C14.3484 7.17471 14.1615 7.2522 13.967 7.2522H11.4786C11.0749 7.2522 10.7472 6.92524 10.7469 6.52161V4.05298C10.7469 3.85969 10.8238 3.67364 10.9601 3.53662L13.087 1.40088ZM12.2103 4.354V5.78992H13.6638L14.323 5.12744H13.6045C13.201 5.12727 12.8742 4.80036 12.8739 4.39685V3.68713L12.2103 4.354Z", fill: "currentColor" })
12
12
  ] }));
13
13
  export {
14
- d as default
14
+ i as default
15
15
  };
@@ -0,0 +1,6 @@
1
+ import { jsx as C } from "react/jsx-runtime";
2
+ import { withColorOverride as L } from "../color-override.js";
3
+ const i = L((o) => /* @__PURE__ */ C("svg", { width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o, children: /* @__PURE__ */ C("path", { d: "M10.9004 14.5C10.5004 14.5 10.1004 14.4 9.80044 14.3C6.30044 12.6 3.40044 9.8 1.80044 6.3C1.20044 5.2 1.50044 3.9 2.40044 3.1L4.00044 1.8C4.30044 1.6 4.60044 1.5 5.00044 1.5C5.40044 1.5 5.70044 1.7 5.90044 2L7.20044 3.5C7.40044 3.8 7.50044 4.1 7.50044 4.5C7.50044 4.9 7.30044 5.2 7.00044 5.4L6.50044 5.7C7.40044 7.3 8.70044 8.6 10.2004 9.4L10.6004 9C11.1004 8.4 11.9004 8.3 12.5004 8.8L14.0004 10.1C14.3004 10.3 14.4004 10.7 14.5004 11C14.5004 11.4 14.4004 11.7 14.2004 12L12.9004 13.6C12.4004 14.2 11.6004 14.5 10.9004 14.5ZM10.3004 13.1C10.9004 13.4 11.5004 13.2 11.9004 12.8L13.2004 11.2L11.7004 9.8L11.0004 10.7C10.8004 10.9 10.5004 11 10.2004 10.9C8.00044 9.8 6.20044 8 5.10044 5.8C5.00044 5.5 5.10044 5.2 5.30044 5L6.20044 4.3L4.90044 2.8L3.20044 4.1C2.80044 4.5 2.60044 5.2 2.90044 5.7C4.40044 9 7.00044 11.6 10.3004 13.1Z", fill: "#141414" }) }));
4
+ export {
5
+ i as default
6
+ };
@@ -0,0 +1,6 @@
1
+ import { jsx as C } from "react/jsx-runtime";
2
+ import { withColorOverride as r } from "../color-override.js";
3
+ const i = r((o) => /* @__PURE__ */ C("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 13 13", fill: "none", ...o, children: /* @__PURE__ */ C("path", { d: "M12.5667 11.697H0.433333C0.193556 11.697 0 11.892 0 12.1318V12.5652C0 12.805 0.195 13 0.433333 13H12.5667C12.8064 13 13 12.805 13 12.5652V12.1318C13 11.8906 12.805 11.697 12.5667 11.697ZM12.5667 9.0896H8.66667C8.42689 9.0896 8.23333 9.28462 8.23333 9.52441V9.95778C8.23333 10.1976 8.42833 10.3926 8.66667 10.3926H12.5667C12.8064 10.3926 13 10.1976 13 9.95778V9.52441C13 9.28462 12.805 9.0896 12.5667 9.0896ZM4.56444 1.84952L9.06533 4.45548C9.27333 4.57538 9.53911 4.5046 9.659 4.29514L10.2556 3.2594C10.3754 3.05138 10.3047 2.78414 10.0967 2.6628L5.59578 0.0582726C5.38778 -0.0616251 5.122 0.00915783 5.00211 0.218618L4.40556 1.25436C4.28422 1.46093 4.35644 1.72817 4.56444 1.84952ZM2.52056 10.1759C2.59856 10.3088 2.74011 10.3911 2.89467 10.3926L5.88756 10.4056C6.04356 10.4056 6.188 10.3232 6.266 10.1875L8.79089 5.80181C8.91078 5.59379 8.84 5.32655 8.632 5.20665L4.12967 2.60068C3.92167 2.48078 3.65589 2.55157 3.536 2.75958L1.01111 7.14668C0.933111 7.28247 0.933111 7.44859 1.01256 7.58438L2.52056 10.1759Z", fill: "currentColor" }) }));
4
+ export {
5
+ i as default
6
+ };
@@ -1,2 +1,2 @@
1
- export type IconNameLiteral = 'abbreviation' | 'accessibility' | 'activity/fill/chatroom' | 'activity/fill/classin' | 'activity/fill/classroom' | 'activity/fill/dingtalk-live' | 'activity/fill/exam' | 'activity/fill/feedback' | 'activity/fill/forum' | 'activity/fill/google-meeting' | 'activity/fill/h5-courseware' | 'activity/fill/homework' | 'activity/fill/interaction-practice' | 'activity/fill/interaction' | 'activity/fill/lark-meeting' | 'activity/fill/lecture-live' | 'activity/fill/lesson' | 'activity/fill/lti-tool' | 'activity/fill/material' | 'activity/fill/microsoft-teams-meeting' | 'activity/fill/online-video' | 'activity/fill/page' | 'activity/fill/questionnaire' | 'activity/fill/rollcall' | 'activity/fill/scorm' | 'activity/fill/slide' | 'activity/fill/tencent-meeting' | 'activity/fill/third-party-live' | 'activity/fill/virtual-classroom' | 'activity/fill/virtual-experiment' | 'activity/fill/web-link' | 'activity/fill/webex-meeting' | 'activity/fill/wecom-meeting' | 'activity/fill/welink' | 'activity/fill/zoom' | 'add-circle' | 'add-to-error-log' | 'add' | 'admin-menu/ai' | 'admin-menu/announcement' | 'admin-menu/course' | 'admin-menu/forewarning' | 'admin-menu/role-permission' | 'admin-menu/statistics' | 'admin-menu/system-log' | 'agent' | 'ai-credits' | 'ai-generation' | 'alarm' | 'analysis/bulletin' | 'analysis/chapter' | 'analysis/report' | 'analysis/student' | 'analysis/today-visits' | 'analysis/total-visits' | 'annotation/comment' | 'annotation/correct' | 'annotation/eraser' | 'annotation/error' | 'annotation/half-pair' | 'annotation/shape' | 'annotation/text' | 'annotation/verbose' | 'announcement-colorful' | 'announcement' | 'answer-right' | 'application-center' | 'arrow-bottom' | 'arrow-down-filled' | 'arrow-left-solid' | 'arrow-left' | 'arrow-right-fill' | 'arrow-right' | 'arrow-rotate-left' | 'arrow-rotate-right' | 'arrow-up-filled' | 'arrow-up' | 'ask_ai' | 'assistant' | 'audio-mute' | 'audio-pause' | 'audio-play' | 'audio-volume' | 'avatar-dark' | 'avatar-empty' | 'avatar' | 'average-score' | 'bell' | 'book-round' | 'book' | 'building' | 'calendar' | 'camera' | 'capacity' | 'caption' | 'card' | 'certificate' | 'chart-line' | 'check' | 'checklist' | 'class-members' | 'class-report' | 'class-report/black_board' | 'class-report/classroom_exam' | 'class-report/countdown' | 'class-report/courseware' | 'class-report/danmu' | 'class-report/feedback' | 'class-report/forum' | 'class-report/group_rollcall' | 'class-report/homework' | 'class-report/live' | 'class-report/race_answer' | 'class-report/rollcall' | 'class-report/select_student' | 'class-report/vote' | 'clear' | 'clock' | 'close' | 'collapse-left' | 'collapse-right' | 'collapse-sidebar' | 'collapse' | 'comment' | 'common-entry/combined-courses' | 'common-entry/interactive-materials' | 'common-entry/my-favorites' | 'common-entry/my-following' | 'common-entry/my-groups' | 'common-entry/my-notes' | 'common-entry/my-profile' | 'common-entry/my-projects' | 'common-entry/my-research-room' | 'common-entry/my-shares' | 'common-entry/my-supervision' | 'common-entry/question-bank' | 'common-entry/recorded-materials' | 'common-entry/rubrics' | 'complete-status' | 'conversation-history' | 'conversation' | 'copilot/air' | 'copilot/explain' | 'copilot/generate' | 'copilot/summary' | 'copy-in' | 'copy-out' | 'copy' | 'copyright/cc_attribute' | 'copyright/cc_attribute_no_derivatives' | 'copyright/cc_attribute_non_commercial' | 'copyright/cc_attribute_non_commercial_no_derivatives' | 'copyright/cc_attribute_non_commercial_share_alike' | 'copyright/cc_attribute_share_alike' | 'copyright/private' | 'copyright/public_domain' | 'correction-book-line' | 'correction-book' | 'course-code' | 'course-copy/course-start' | 'course-copy/specify-chapter-done' | 'course-copy/specify-chapter' | 'course-copy/student-join' | 'course-copy/student-visible' | 'course-copy/timeline-chevron' | 'course-fill' | 'course-information' | 'course-sidebar/activities' | 'course-sidebar/activity/ai-generation' | 'course-sidebar/activity/chatroom' | 'course-sidebar/activity/classin' | 'course-sidebar/activity/classroom' | 'course-sidebar/activity/dingtalk-live' | 'course-sidebar/activity/exam' | 'course-sidebar/activity/feedback' | 'course-sidebar/activity/forum' | 'course-sidebar/activity/google-meeting' | 'course-sidebar/activity/h5-courseware' | 'course-sidebar/activity/homework' | 'course-sidebar/activity/interaction-practice' | 'course-sidebar/activity/interaction' | 'course-sidebar/activity/lark-meeting' | 'course-sidebar/activity/lecture-live' | 'course-sidebar/activity/lesson' | 'course-sidebar/activity/lti-tool' | 'course-sidebar/activity/material' | 'course-sidebar/activity/microsoft-teams-meeting' | 'course-sidebar/activity/online-video' | 'course-sidebar/activity/page' | 'course-sidebar/activity/questionnaire' | 'course-sidebar/activity/scorm' | 'course-sidebar/activity/slide' | 'course-sidebar/activity/tencent-meeting' | 'course-sidebar/activity/third-party-live' | 'course-sidebar/activity/virtual-classroom' | 'course-sidebar/activity/virtual-experiment' | 'course-sidebar/activity/web-link' | 'course-sidebar/activity/webex-meeting' | 'course-sidebar/activity/wecom-meeting' | 'course-sidebar/activity/welink' | 'course-sidebar/activity/zoom' | 'course-sidebar/app' | 'course-sidebar/file' | 'course-sidebar/module' | 'course-sidebar/overview' | 'course-sidebar/resource' | 'course-sidebar/setting' | 'course-sidebar/stat' | 'course-tool/assistant' | 'course-tool/bulletin' | 'course-tool/chapter' | 'course-tool/content' | 'course-tool/courseware' | 'course-tool/discussion' | 'course-tool/exam' | 'course-tool/homework' | 'course-tool/resource' | 'course-tool/rollcall' | 'course-tool/subject-lib' | 'course' | 'courseware/announcement' | 'courseware/answer-questions' | 'courseware/answer-summary' | 'courseware/book' | 'courseware/document' | 'courseware/exam' | 'courseware/folder' | 'courseware/interaction' | 'courseware/learning-activity' | 'courseware/link' | 'courseware/third-party' | 'courseware/video' | 'credits/allocate' | 'credits/approval' | 'credits/batch-approval' | 'credits/clear-remaining' | 'credits/deactivate' | 'credits/total-credits' | 'credits/usage-limit' | 'credits/used-credits' | 'crown' | 'data' | 'default-app' | 'default-avatar' | 'delete' | 'department' | 'dialog-box-happy-dark' | 'dialog-box-happy' | 'dialog-box' | 'dot' | 'double-arrow-down' | 'double-arrow-right' | 'double-arrow-up' | 'down' | 'download' | 'drag' | 'edit-contained' | 'edit-pencil' | 'edit' | 'editor/align-center' | 'editor/align-justify' | 'editor/align-left' | 'editor/align-right' | 'editor/bold' | 'editor/bullet-list' | 'editor/clear-format' | 'editor/code' | 'editor/embed-video' | 'editor/font-size' | 'editor/h1' | 'editor/h2' | 'editor/h3' | 'editor/h4' | 'editor/h5' | 'editor/image' | 'editor/italic' | 'editor/link' | 'editor/markdown' | 'editor/ordered-list' | 'editor/redo' | 'editor/strike' | 'editor/subscript' | 'editor/superscript' | 'editor/table' | 'editor/underline' | 'editor/undo' | 'editor/unlink' | 'error-fill' | 'evaluation' | 'exam/answer-sheet' | 'exam/exam-paper-makeup' | 'exam/exam-paper' | 'exam/grades' | 'exam/group-exam-filled' | 'exam/group-title' | 'exam/icon-average-score' | 'exam/icon-completion-status' | 'exam/icon-review-progress' | 'exam/icon-submit-progress' | 'exam/underline' | 'exit-fullscreen' | 'expand' | 'expired' | 'export' | 'extension/extension-Intelligent-evaluation' | 'extension/extension-aigc' | 'extension/extension-qna-assistant' | 'eye-circle' | 'eye-close' | 'eye' | 'favorite' | 'file-audio' | 'file-info' | 'file-upload' | 'file-video' | 'file/archive' | 'file/audio' | 'file/document-orange' | 'file/document' | 'file/evercam' | 'file/excel' | 'file/folder' | 'file/image' | 'file/lib' | 'file/link' | 'file/pdf' | 'file/ppt' | 'file/scorm' | 'file/srt' | 'file/txt' | 'file/unknown' | 'file/video' | 'file/word' | 'filter' | 'focus-time' | 'folder' | 'forbidden-fill' | 'forewarning' | 'full-screen' | 'fullscreen' | 'global-sidebar/apps' | 'global-sidebar/bell' | 'global-sidebar/book-half-open' | 'global-sidebar/book-open' | 'global-sidebar/category/courseware' | 'global-sidebar/category/exam' | 'global-sidebar/category/forum' | 'global-sidebar/category/live-video' | 'global-sidebar/category/questionnaire' | 'global-sidebar/chatbot-outline' | 'global-sidebar/chatbot' | 'global-sidebar/checked' | 'global-sidebar/competencies' | 'global-sidebar/earth' | 'global-sidebar/exit' | 'global-sidebar/files' | 'global-sidebar/house' | 'global-sidebar/ltr' | 'global-sidebar/moon' | 'global-sidebar/palette' | 'global-sidebar/rtl' | 'global-sidebar/site-guide' | 'global-sidebar/sun' | 'global-sidebar/switch' | 'global-sidebar/user' | 'global-sidebar/zoom' | 'group-avatar-dark' | 'group-avatar' | 'group-learning' | 'group' | 'group1' | 'hidden-column' | 'highest-score' | 'homework/duplicate-rate' | 'homework/grades' | 'homework/group-homework-filled' | 'homework/group-inner-review-filled' | 'homework/group-review-filled' | 'homework/group-review' | 'homework/instructor-review-filled' | 'homework/instructor-review' | 'homework/student-review-filled' | 'homework/student-review' | 'homework/triangle' | 'icon-admin-dashboard' | 'icon-ai' | 'icon-clear-input' | 'icon-share' | 'icon-stats' | 'icon-teaching-platform' | 'icon-users' | 'id-card' | 'image-avatar' | 'image-placeholder' | 'improve' | 'info-fill' | 'info' | 'intelligent-chapter' | 'interaction-icon' | 'interaction' | 'interaction/black-board' | 'interaction/classroom' | 'interaction/course-ware' | 'interaction/course' | 'interaction/danmu' | 'interaction/feedback' | 'interaction/group-rollcall' | 'interaction/number-rollcall' | 'interaction/qrcode-rollcall' | 'interaction/race-answer' | 'interaction/radar-rollcall' | 'interaction/rollcall' | 'interaction/select-student' | 'interaction/timer' | 'interaction/vote' | 'interactive' | 'invigilation/client-mobile' | 'invigilation/client-web' | 'invigilation/moments' | 'invigilation/retake' | 'invigilation/warn' | 'join-course' | 'jump' | 'knowledge-graph-view' | 'knowledge-graph' | 'left' | 'lesson' | 'link-globe' | 'link' | 'list' | 'live-streaming' | 'live' | 'location' | 'lock-dot' | 'lock' | 'logo-with-name' | 'logo' | 'lowest-score' | 'magic-wand' | 'mail' | 'meeting/replay' | 'message-dot' | 'message' | 'mind-map' | 'minus-circle' | 'minus' | 'more-horizontal' | 'more' | 'mute-shadowed' | 'mute' | 'note' | 'notebook' | 'notebook/remove' | 'notification-colorful' | 'notification/alert' | 'notification/course-deleted' | 'notification/course-invite' | 'notification/discussion' | 'notification/others' | 'obe-achievements' | 'objective' | 'open-sidebar' | 'palette' | 'pdf-reader/attachment' | 'pdf-reader/dual-page' | 'pdf-reader/hand' | 'pdf-reader/more' | 'pdf-reader/mouse' | 'pdf-reader/outline' | 'pdf-reader/rotate-clockwise' | 'pdf-reader/rotate-counterclockwise' | 'pdf-reader/single-page' | 'pdf-reader/thumbnail' | 'peer-review-group-duotone' | 'peer-review-within-group-duotone' | 'personal-settings' | 'pie-chart' | 'pin-filled' | 'pin' | 'play-outline' | 'position' | 'question-fill' | 'question' | 'questions' | 'quick-access-colorful' | 'quick-access' | 'random' | 'read' | 'recall' | 'refresh' | 'remove-from-error-log' | 'rename' | 'reset-circle' | 'reset' | 'resize-x' | 'restore' | 'retry' | 'review-progress' | 'right' | 'roll-call/absent' | 'roll-call/all' | 'roll-call/checkmark-fill' | 'roll-call/error-fill' | 'roll-call/info' | 'roll-call/leave' | 'roll-call/pending-fill' | 'roll-call/present' | 'roll-call/rate' | 'roll-call/rollcall-fill' | 'rollcall-record' | 'rotate' | 'schedule-colorful' | 'score-outline' | 'score' | 'score/activity' | 'score/attendance' | 'score/class-performance' | 'score/classroom-exam' | 'score/custom-item' | 'score/custom-score' | 'score/custom' | 'score/exam' | 'score/forum' | 'score/homework' | 'score/interaction' | 'score/questionnaire' | 'score/recommend' | 'score/video' | 'score/view-video' | 'search' | 'send' | 'setting' | 'setting/link-setting' | 'setting/phone-filled' | 'shortcut-colorful' | 'smile' | 'sort' | 'sorted-fill-asc' | 'sorted-fill-desc' | 'sorted-fill' | 'stats' | 'student-duotone' | 'students-average-score' | 'subject-lib-full' | 'subject-lib' | 'subject-lib/entry' | 'subject-lib/import-arrow' | 'subject-lib/random-entry' | 'subject-type/analysis' | 'subject-type/cloze' | 'subject-type/fill-in-blank' | 'subject-type/matching' | 'subject-type/media' | 'subject-type/multiple-selection' | 'subject-type/short-answer' | 'subject-type/single-selection' | 'subject-type/true-or-false' | 'submit-progress' | 'subtract' | 'success-fill' | 'success' | 'teacher-duotone' | 'teacher' | 'timetable-colorful' | 'to-top' | 'todo-colorful' | 'todo/exam-dark' | 'todo/exam' | 'todo/homework-dark' | 'todo/homework' | 'todo/questionnaire-dark' | 'todo/questionnaire' | 'topic-category/forum-group' | 'topic-category/group-forum-filled' | 'topic-category/inter-group-filled' | 'topic-category/message-blue' | 'topic-category/message-green' | 'tronclass' | 'uncompleted' | 'unpin' | 'unsorted-fill' | 'up' | 'upload-resource' | 'upload-success' | 'upload' | 'uploading' | 'upvote-filled' | 'upvote-heart' | 'upvote' | 'user' | 'video-frame' | 'video' | 'visit-duration' | 'visit-times' | 'warning-fill-triangle' | 'warning-fill' | 'word-cloud' | 'write-comment' | 'zoom-in' | 'zoom-out' | 'zoom';
1
+ export type IconNameLiteral = 'abbreviation' | 'accessibility' | 'activity/fill/chatroom' | 'activity/fill/classin' | 'activity/fill/classroom' | 'activity/fill/dingtalk-live' | 'activity/fill/exam' | 'activity/fill/feedback' | 'activity/fill/forum' | 'activity/fill/google-meeting' | 'activity/fill/h5-courseware' | 'activity/fill/homework' | 'activity/fill/interaction-practice' | 'activity/fill/interaction' | 'activity/fill/lark-meeting' | 'activity/fill/lecture-live' | 'activity/fill/lesson' | 'activity/fill/lti-tool' | 'activity/fill/material' | 'activity/fill/microsoft-teams-meeting' | 'activity/fill/online-video' | 'activity/fill/page' | 'activity/fill/questionnaire' | 'activity/fill/rollcall' | 'activity/fill/scorm' | 'activity/fill/slide' | 'activity/fill/tencent-meeting-pure' | 'activity/fill/tencent-meeting' | 'activity/fill/third-party-live' | 'activity/fill/virtual-classroom' | 'activity/fill/virtual-experiment' | 'activity/fill/web-link' | 'activity/fill/webex-meeting' | 'activity/fill/wecom-meeting' | 'activity/fill/welink' | 'activity/fill/zoom' | 'add-circle' | 'add-to-error-log' | 'add' | 'admin-menu/ai' | 'admin-menu/announcement' | 'admin-menu/course' | 'admin-menu/forewarning' | 'admin-menu/role-permission' | 'admin-menu/statistics' | 'admin-menu/system-log' | 'agent' | 'ai-credits' | 'ai-explain-board' | 'ai-generation' | 'ai-grading' | 'alarm' | 'analysis/bulletin' | 'analysis/chapter' | 'analysis/report' | 'analysis/student' | 'analysis/today-visits' | 'analysis/total-visits' | 'annotation/comment' | 'annotation/correct' | 'annotation/eraser' | 'annotation/error' | 'annotation/half-pair' | 'annotation/shape' | 'annotation/text' | 'annotation/verbose' | 'announcement-colorful' | 'announcement' | 'answer-right' | 'application-center' | 'arrow-bottom' | 'arrow-down-filled' | 'arrow-left-solid' | 'arrow-left' | 'arrow-right-fill' | 'arrow-right' | 'arrow-rotate-left' | 'arrow-rotate-right' | 'arrow-up-filled' | 'arrow-up' | 'ask_ai' | 'assistant' | 'audio-mute' | 'audio-pause' | 'audio-play' | 'audio-volume' | 'avatar-dark' | 'avatar-empty' | 'avatar' | 'average-score' | 'bell' | 'book-round' | 'book' | 'building' | 'calendar' | 'camera' | 'capacity' | 'caption' | 'card' | 'certificate' | 'chart-line' | 'check' | 'checklist' | 'class-members' | 'class-report' | 'class-report/black_board' | 'class-report/classroom_exam' | 'class-report/countdown' | 'class-report/courseware' | 'class-report/danmu' | 'class-report/feedback' | 'class-report/forum' | 'class-report/group_rollcall' | 'class-report/homework' | 'class-report/live' | 'class-report/race_answer' | 'class-report/rollcall' | 'class-report/select_student' | 'class-report/vote' | 'clear' | 'clock' | 'close' | 'collapse-left' | 'collapse-right' | 'collapse-sidebar' | 'collapse' | 'comment' | 'common-entry/combined-courses' | 'common-entry/interactive-materials' | 'common-entry/my-favorites' | 'common-entry/my-following' | 'common-entry/my-groups' | 'common-entry/my-notes' | 'common-entry/my-profile' | 'common-entry/my-projects' | 'common-entry/my-research-room' | 'common-entry/my-shares' | 'common-entry/my-supervision' | 'common-entry/question-bank' | 'common-entry/recorded-materials' | 'common-entry/rubrics' | 'complete-status' | 'conversation-history' | 'conversation' | 'copilot/air' | 'copilot/explain' | 'copilot/generate' | 'copilot/summary' | 'copy-in' | 'copy-out' | 'copy' | 'copyright/cc_attribute' | 'copyright/cc_attribute_no_derivatives' | 'copyright/cc_attribute_non_commercial' | 'copyright/cc_attribute_non_commercial_no_derivatives' | 'copyright/cc_attribute_non_commercial_share_alike' | 'copyright/cc_attribute_share_alike' | 'copyright/private' | 'copyright/public_domain' | 'correction-book-line' | 'correction-book' | 'course-code' | 'course-copy/course-start' | 'course-copy/specify-chapter-done' | 'course-copy/specify-chapter' | 'course-copy/student-join' | 'course-copy/student-visible' | 'course-copy/timeline-chevron' | 'course-fill' | 'course-information' | 'course-sidebar/activities' | 'course-sidebar/activity/ai-generation' | 'course-sidebar/activity/chatroom' | 'course-sidebar/activity/classin' | 'course-sidebar/activity/classroom' | 'course-sidebar/activity/dingtalk-live' | 'course-sidebar/activity/exam' | 'course-sidebar/activity/feedback' | 'course-sidebar/activity/forum' | 'course-sidebar/activity/google-meeting' | 'course-sidebar/activity/h5-courseware' | 'course-sidebar/activity/homework' | 'course-sidebar/activity/interaction-practice' | 'course-sidebar/activity/interaction' | 'course-sidebar/activity/lark-meeting' | 'course-sidebar/activity/lecture-live' | 'course-sidebar/activity/lesson' | 'course-sidebar/activity/lti-tool' | 'course-sidebar/activity/material' | 'course-sidebar/activity/microsoft-teams-meeting' | 'course-sidebar/activity/online-video' | 'course-sidebar/activity/page' | 'course-sidebar/activity/questionnaire' | 'course-sidebar/activity/scorm' | 'course-sidebar/activity/slide' | 'course-sidebar/activity/tencent-meeting' | 'course-sidebar/activity/third-party-live' | 'course-sidebar/activity/virtual-classroom' | 'course-sidebar/activity/virtual-experiment' | 'course-sidebar/activity/web-link' | 'course-sidebar/activity/webex-meeting' | 'course-sidebar/activity/wecom-meeting' | 'course-sidebar/activity/welink' | 'course-sidebar/activity/zoom' | 'course-sidebar/app' | 'course-sidebar/file' | 'course-sidebar/module' | 'course-sidebar/overview' | 'course-sidebar/resource' | 'course-sidebar/setting' | 'course-sidebar/stat' | 'course-tool/assistant' | 'course-tool/bulletin' | 'course-tool/chapter' | 'course-tool/content' | 'course-tool/courseware' | 'course-tool/discussion' | 'course-tool/exam' | 'course-tool/homework' | 'course-tool/resource' | 'course-tool/rollcall' | 'course-tool/subject-lib' | 'course' | 'courseware/announcement' | 'courseware/answer-questions' | 'courseware/answer-summary' | 'courseware/book' | 'courseware/document' | 'courseware/exam' | 'courseware/folder' | 'courseware/interaction' | 'courseware/learning-activity' | 'courseware/link' | 'courseware/third-party' | 'courseware/video' | 'credits/allocate' | 'credits/approval' | 'credits/batch-approval' | 'credits/clear-remaining' | 'credits/deactivate' | 'credits/total-credits' | 'credits/usage-limit' | 'credits/used-credits' | 'crown' | 'data' | 'default-app' | 'default-avatar' | 'delete' | 'department' | 'dialog-box-happy-dark' | 'dialog-box-happy' | 'dialog-box' | 'discuss-fill' | 'dot' | 'double-arrow-down' | 'double-arrow-right' | 'double-arrow-up' | 'down' | 'download' | 'drag' | 'edit-contained' | 'edit-pencil' | 'edit' | 'editor/align-center' | 'editor/align-justify' | 'editor/align-left' | 'editor/align-right' | 'editor/bold' | 'editor/bullet-list' | 'editor/clear-format' | 'editor/code' | 'editor/embed-video' | 'editor/font-size' | 'editor/h1' | 'editor/h2' | 'editor/h3' | 'editor/h4' | 'editor/h5' | 'editor/image' | 'editor/italic' | 'editor/link' | 'editor/markdown' | 'editor/ordered-list' | 'editor/redo' | 'editor/strike' | 'editor/subscript' | 'editor/superscript' | 'editor/table' | 'editor/underline' | 'editor/undo' | 'editor/unlink' | 'error-fill' | 'evaluation' | 'exam/answer-sheet' | 'exam/exam-paper-makeup' | 'exam/exam-paper' | 'exam/grades' | 'exam/group-exam-filled' | 'exam/group-title' | 'exam/icon-average-score' | 'exam/icon-completion-status' | 'exam/icon-review-progress' | 'exam/icon-submit-progress' | 'exam/underline' | 'exit-fullscreen' | 'expand' | 'expired' | 'export' | 'extension/extension-Intelligent-evaluation' | 'extension/extension-aigc' | 'extension/extension-qna-assistant' | 'eye-circle' | 'eye-close' | 'eye' | 'favorite' | 'file-audio' | 'file-info' | 'file-upload' | 'file-video' | 'file/archive' | 'file/audio' | 'file/document-orange' | 'file/document' | 'file/evercam' | 'file/excel' | 'file/folder' | 'file/image' | 'file/lib' | 'file/link' | 'file/pdf' | 'file/ppt' | 'file/scorm' | 'file/srt' | 'file/txt' | 'file/unknown' | 'file/video' | 'file/word' | 'filter' | 'focus-time' | 'folder' | 'forbidden-fill' | 'forewarning' | 'full-screen' | 'fullscreen' | 'global-sidebar/apps' | 'global-sidebar/bell' | 'global-sidebar/book-half-open' | 'global-sidebar/book-open' | 'global-sidebar/category/courseware' | 'global-sidebar/category/exam' | 'global-sidebar/category/forum' | 'global-sidebar/category/live-video' | 'global-sidebar/category/questionnaire' | 'global-sidebar/chatbot-outline' | 'global-sidebar/chatbot' | 'global-sidebar/checked' | 'global-sidebar/competencies' | 'global-sidebar/earth' | 'global-sidebar/exit' | 'global-sidebar/files' | 'global-sidebar/house' | 'global-sidebar/ltr' | 'global-sidebar/moon' | 'global-sidebar/palette' | 'global-sidebar/rtl' | 'global-sidebar/site-guide' | 'global-sidebar/sun' | 'global-sidebar/switch' | 'global-sidebar/user' | 'global-sidebar/zoom' | 'group-avatar-dark' | 'group-avatar' | 'group-learning' | 'group' | 'group1' | 'hidden-column' | 'highest-score' | 'homework/duplicate-rate' | 'homework/grades' | 'homework/group-homework-filled' | 'homework/group-inner-review-filled' | 'homework/group-review-filled' | 'homework/group-review' | 'homework/instructor-review-filled' | 'homework/instructor-review' | 'homework/student-review-filled' | 'homework/student-review' | 'homework/triangle' | 'icon-admin-dashboard' | 'icon-ai' | 'icon-clear-input' | 'icon-share' | 'icon-stats' | 'icon-teaching-platform' | 'icon-users' | 'id-card' | 'image-avatar' | 'image-placeholder' | 'improve' | 'info-fill' | 'info' | 'intelligent-chapter' | 'interaction-icon' | 'interaction' | 'interaction/black-board' | 'interaction/classroom' | 'interaction/course-ware' | 'interaction/course' | 'interaction/danmu' | 'interaction/feedback' | 'interaction/group-rollcall' | 'interaction/number-rollcall' | 'interaction/qrcode-rollcall' | 'interaction/race-answer' | 'interaction/radar-rollcall' | 'interaction/rollcall' | 'interaction/select-student' | 'interaction/timer' | 'interaction/vote' | 'interactive' | 'invigilation/client-mobile' | 'invigilation/client-web' | 'invigilation/moments' | 'invigilation/retake' | 'invigilation/warn' | 'join-course' | 'jump' | 'knowledge-graph-view' | 'knowledge-graph' | 'knowledge-point-fill' | 'knowledge-point' | 'left' | 'lesson' | 'link-globe' | 'link' | 'list' | 'live-streaming' | 'live' | 'location' | 'lock-dot' | 'lock' | 'logo-with-name' | 'logo' | 'lowest-score' | 'lti-fill' | 'lti' | 'magic-wand' | 'mail' | 'meeting/replay' | 'message-dot' | 'message' | 'mind-map' | 'minus-circle' | 'minus' | 'more-horizontal' | 'more' | 'mute-shadowed' | 'mute' | 'note' | 'notebook' | 'notebook/remove' | 'notification-colorful' | 'notification/alert' | 'notification/course-deleted' | 'notification/course-invite' | 'notification/discussion' | 'notification/others' | 'obe-achievements' | 'objective' | 'open-sidebar' | 'palette' | 'pdf-reader/attachment' | 'pdf-reader/dual-page' | 'pdf-reader/hand' | 'pdf-reader/more' | 'pdf-reader/mouse' | 'pdf-reader/outline' | 'pdf-reader/rotate-clockwise' | 'pdf-reader/rotate-counterclockwise' | 'pdf-reader/single-page' | 'pdf-reader/thumbnail' | 'peer-review-group-duotone' | 'peer-review-within-group-duotone' | 'personal-settings' | 'phone' | 'pie-chart' | 'pin-filled' | 'pin' | 'play-outline' | 'position' | 'post' | 'question-fill' | 'question' | 'questions' | 'quick-access-colorful' | 'quick-access' | 'random' | 'read' | 'recall' | 'refresh' | 'remove-from-error-log' | 'rename' | 'reset-circle' | 'reset' | 'resize-x' | 'restore' | 'retry' | 'review-progress' | 'right' | 'roll-call/absent' | 'roll-call/all' | 'roll-call/checkmark-fill' | 'roll-call/error-fill' | 'roll-call/info' | 'roll-call/leave' | 'roll-call/pending-fill' | 'roll-call/present' | 'roll-call/rate' | 'roll-call/rollcall-fill' | 'rollcall-record' | 'rotate' | 'schedule-colorful' | 'score-outline' | 'score' | 'score/activity' | 'score/attendance' | 'score/class-performance' | 'score/classroom-exam' | 'score/custom-item' | 'score/custom-score' | 'score/custom' | 'score/exam' | 'score/forum' | 'score/homework' | 'score/interaction' | 'score/questionnaire' | 'score/recommend' | 'score/video' | 'score/view-video' | 'search' | 'send' | 'setting' | 'setting/link-setting' | 'setting/phone-filled' | 'shortcut-colorful' | 'smile' | 'sort' | 'sorted-fill-asc' | 'sorted-fill-desc' | 'sorted-fill' | 'stats' | 'student-duotone' | 'students-average-score' | 'subject-lib-full' | 'subject-lib' | 'subject-lib/entry' | 'subject-lib/import-arrow' | 'subject-lib/random-entry' | 'subject-type/analysis' | 'subject-type/cloze' | 'subject-type/fill-in-blank' | 'subject-type/matching' | 'subject-type/media' | 'subject-type/multiple-selection' | 'subject-type/short-answer' | 'subject-type/single-selection' | 'subject-type/true-or-false' | 'submit-progress' | 'subtract' | 'success-fill' | 'success' | 'teacher-duotone' | 'teacher' | 'timetable-colorful' | 'to-top' | 'todo-colorful' | 'todo/exam-dark' | 'todo/exam' | 'todo/homework-dark' | 'todo/homework' | 'todo/questionnaire-dark' | 'todo/questionnaire' | 'topic-category/forum-group' | 'topic-category/group-forum-filled' | 'topic-category/inter-group-filled' | 'topic-category/message-blue' | 'topic-category/message-green' | 'tronclass' | 'uncompleted' | 'unpin' | 'unsorted-fill' | 'up' | 'upload-resource' | 'upload-success' | 'upload' | 'uploading' | 'upvote-filled' | 'upvote-heart' | 'upvote' | 'user' | 'video-frame' | 'video' | 'visit-duration' | 'visit-times' | 'warning-fill-triangle' | 'warning-fill' | 'word-cloud' | 'write-comment' | 'zoom-in' | 'zoom-out' | 'zoom';
2
2
  export declare const iconNames: readonly IconNameLiteral[];
@@ -25,6 +25,7 @@ const e = [
25
25
  "activity/fill/rollcall",
26
26
  "activity/fill/scorm",
27
27
  "activity/fill/slide",
28
+ "activity/fill/tencent-meeting-pure",
28
29
  "activity/fill/tencent-meeting",
29
30
  "activity/fill/third-party-live",
30
31
  "activity/fill/virtual-classroom",
@@ -46,7 +47,9 @@ const e = [
46
47
  "admin-menu/system-log",
47
48
  "agent",
48
49
  "ai-credits",
50
+ "ai-explain-board",
49
51
  "ai-generation",
52
+ "ai-grading",
50
53
  "alarm",
51
54
  "analysis/bulletin",
52
55
  "analysis/chapter",
@@ -248,6 +251,7 @@ const e = [
248
251
  "dialog-box-happy-dark",
249
252
  "dialog-box-happy",
250
253
  "dialog-box",
254
+ "discuss-fill",
251
255
  "dot",
252
256
  "double-arrow-down",
253
257
  "double-arrow-right",
@@ -424,6 +428,8 @@ const e = [
424
428
  "jump",
425
429
  "knowledge-graph-view",
426
430
  "knowledge-graph",
431
+ "knowledge-point-fill",
432
+ "knowledge-point",
427
433
  "left",
428
434
  "lesson",
429
435
  "link-globe",
@@ -437,6 +443,8 @@ const e = [
437
443
  "logo-with-name",
438
444
  "logo",
439
445
  "lowest-score",
446
+ "lti-fill",
447
+ "lti",
440
448
  "magic-wand",
441
449
  "mail",
442
450
  "meeting/replay",
@@ -475,11 +483,13 @@ const e = [
475
483
  "peer-review-group-duotone",
476
484
  "peer-review-within-group-duotone",
477
485
  "personal-settings",
486
+ "phone",
478
487
  "pie-chart",
479
488
  "pin-filled",
480
489
  "pin",
481
490
  "play-outline",
482
491
  "position",
492
+ "post",
483
493
  "question-fill",
484
494
  "question",
485
495
  "questions",
package/dist/icon.d.ts CHANGED
@@ -14,4 +14,4 @@ import { IconProps } from './types';
14
14
  * <Icon name="common-entry/my-notes" useOriginalColor width={44} height={44} />
15
15
  * ```
16
16
  */
17
- export declare const Icon: ({ name, useOriginalColor, width, height, style, ref, ...others }: IconProps) => import("react").JSX.Element;
17
+ export declare const Icon: ({ name, useOriginalColor, cutout, width, height, style, ref, ...others }: IconProps) => import("react").JSX.Element;
package/dist/icon.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { Suspense as d, createElement as p, lazy as u } from "react";
3
- import { loadIcon as f } from "./loader.js";
4
- import { getIconLoader as m } from "./registry.js";
5
- const c = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ (() => {
2
+ import { Suspense as p, createElement as u, lazy as f } from "react";
3
+ import { loadIcon as m } from "./loader.js";
4
+ import { getIconLoader as y } from "./registry.js";
5
+ const l = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ (() => {
6
6
  const e = /* @__PURE__ */ new Set();
7
7
  return (r, n) => {
8
8
  e.has(r) || (e.add(r), console.warn(
@@ -10,46 +10,47 @@ const c = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ (() => {
10
10
  n
11
11
  ));
12
12
  };
13
- })(), w = (e) => {
14
- let r = c.get(e);
13
+ })(), g = (e) => {
14
+ let r = l.get(e);
15
15
  if (!r) {
16
- const n = m() ?? f;
17
- r = u(async () => {
16
+ const n = y() ?? m;
17
+ r = f(async () => {
18
18
  try {
19
19
  return { default: await n(e) };
20
20
  } catch (o) {
21
- return y(e, o), { default: () => null };
21
+ return w(e, o), { default: () => null };
22
22
  }
23
- }), c.set(e, r);
23
+ }), l.set(e, r);
24
24
  }
25
25
  return r;
26
- }, I = ({
26
+ }, b = ({
27
27
  name: e,
28
28
  useOriginalColor: r,
29
- width: n = "1em",
30
- height: o = "1em",
31
- style: l,
32
- ref: a,
33
- ...s
29
+ cutout: n,
30
+ width: o = "1em",
31
+ height: c = "1em",
32
+ style: a,
33
+ ref: s,
34
+ ...i
34
35
  }) => {
35
- const i = w(e);
36
+ const d = g(e);
36
37
  return /* @__PURE__ */ t(
37
38
  "span",
38
39
  {
39
- ...s,
40
- ref: a,
40
+ ...i,
41
+ ref: s,
41
42
  "data-icon-name": e,
42
- style: { display: "inline-flex", ...l },
43
+ style: { display: "inline-flex", ...a },
43
44
  children: /* @__PURE__ */ t(
44
- d,
45
+ p,
45
46
  {
46
- fallback: /* @__PURE__ */ t("span", { style: { display: "inline-block", width: n, height: o } }),
47
- children: p(i, { useOriginalColor: r, width: n, height: o })
47
+ fallback: /* @__PURE__ */ t("span", { style: { display: "inline-block", width: o, height: c } }),
48
+ children: u(d, { useOriginalColor: r, cutout: n, width: o, height: c })
48
49
  }
49
50
  )
50
51
  }
51
52
  );
52
53
  };
53
54
  export {
54
- I as Icon
55
+ b as Icon
55
56
  };
package/dist/types.d.ts CHANGED
@@ -10,6 +10,7 @@ export type { IconNameLiteral };
10
10
  export type IconName = IconNameLiteral | (string & {});
11
11
  export type IconSvgProps = SVGProps<SVGSVGElement> & {
12
12
  readonly useOriginalColor?: boolean;
13
+ readonly cutout?: boolean;
13
14
  };
14
15
  export type IconSvgComponent = ComponentType<IconSvgProps>;
15
16
  /** Resolves an icon name to its component. See `./loader` for the bundled one. */
@@ -23,6 +24,12 @@ export interface IconProps extends Omit<ComponentPropsWithoutRef<'span'>, 'width
23
24
  * every shape collapses to a single color.
24
25
  */
25
26
  readonly useOriginalColor?: boolean;
27
+ /**
28
+ * Monochrome mode for two-tone icons: shapes drawn in white or near-white
29
+ * become transparent instead of taking `currentColor`, so the background
30
+ * shows through them while the body shape renders in `currentColor`.
31
+ */
32
+ readonly cutout?: boolean;
26
33
  readonly width?: string | number;
27
34
  readonly height?: string | number;
28
35
  readonly ref?: Ref<HTMLSpanElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wisdomgarden/torque-icons",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Torque Design icons — the Wisdom Garden icon set — one lazily loaded ES module per icon, plus a React <Icon> that resolves them by name.",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE",