@imtf/icons 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/icons/CheckCircleIcon.d.ts +4 -0
- package/lib/icons/CheckCircleIcon.js +23 -0
- package/lib/icons/CheckCircleIcon.mjs +24 -0
- package/lib/icons/ErrorIcon.d.ts +4 -0
- package/lib/icons/ErrorIcon.js +23 -0
- package/lib/icons/ErrorIcon.mjs +24 -0
- package/lib/icons/InfoIcon.js +1 -1
- package/lib/icons/InfoIcon.mjs +1 -1
- package/lib/icons/LogoIcon.js +2 -7
- package/lib/icons/LogoIcon.mjs +2 -7
- package/lib/icons/UnfoldLessIcon.d.ts +4 -0
- package/lib/icons/UnfoldLessIcon.js +23 -0
- package/lib/icons/UnfoldLessIcon.mjs +24 -0
- package/lib/icons/UnfoldMoreIcon.d.ts +4 -0
- package/lib/icons/UnfoldMoreIcon.js +23 -0
- package/lib/icons/UnfoldMoreIcon.mjs +24 -0
- package/lib/icons/WarningIcon.js +1 -1
- package/lib/icons/WarningIcon.mjs +1 -1
- package/lib/icons/index.d.ts +4 -0
- package/lib/index.js +8 -0
- package/lib/index.mjs +8 -0
- package/package.json +1 -1
- package/svg/CheckCircle.svg +4 -0
- package/svg/Error.svg +4 -0
- package/svg/Info.svg +3 -2
- package/svg/Logo.svg +4 -4
- package/svg/UnfoldLess.svg +4 -0
- package/svg/UnfoldMore.svg +4 -0
- package/svg/Warning.svg +3 -2
- package/svg/checkCircle.json +4 -0
- package/svg/error.json +4 -0
- package/svg/unfoldLess.json +8 -0
- package/svg/unfoldMore.json +8 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { SVGProps } from "react";
|
|
2
|
+
import type { IconProps } from "../types";
|
|
3
|
+
declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement> & IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
4
|
+
export { ForwardRef as CheckCircleIcon };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const react = require("react");
|
|
5
|
+
const get = require("../utils/get.js");
|
|
6
|
+
const Context = require("../providers/IconProvider/Context.js");
|
|
7
|
+
const CheckCircleIcon = ({
|
|
8
|
+
color: defaultColor,
|
|
9
|
+
size,
|
|
10
|
+
...props
|
|
11
|
+
}, ref) => {
|
|
12
|
+
const defaultContextValues = react.useContext(Context.IconContext);
|
|
13
|
+
const defaultValues = {
|
|
14
|
+
...defaultContextValues,
|
|
15
|
+
color: defaultColor ?? defaultContextValues.color,
|
|
16
|
+
fontSize: size ?? defaultContextValues.size ?? "var(--panache-icon-size)",
|
|
17
|
+
...props
|
|
18
|
+
};
|
|
19
|
+
const color = react.useMemo(() => get.default(defaultValues.palette, defaultValues.color) ?? defaultValues.color, [defaultValues.color, defaultValues.palette]);
|
|
20
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", fontSize: defaultValues.fontSize, fill: color, color, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m424-296 282-282-56-56-226 226-114-114-56 56zm56 216q-83 0-156-31.5T197-197t-85.5-127T80-480t31.5-156T197-763t127-85.5T480-880t156 31.5T763-763t85.5 127T880-480t-31.5 156T763-197t-127 85.5T480-80m0-80q134 0 227-93t93-227-93-227-227-93-227 93-93 227 93 227 227 93m0-320" }) });
|
|
21
|
+
};
|
|
22
|
+
const ForwardRef = react.forwardRef(CheckCircleIcon);
|
|
23
|
+
exports.CheckCircleIcon = ForwardRef;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef, useContext, useMemo } from "react";
|
|
4
|
+
import get from "../utils/get.mjs";
|
|
5
|
+
import { IconContext } from "../providers/IconProvider/Context.mjs";
|
|
6
|
+
const CheckCircleIcon = ({
|
|
7
|
+
color: defaultColor,
|
|
8
|
+
size,
|
|
9
|
+
...props
|
|
10
|
+
}, ref) => {
|
|
11
|
+
const defaultContextValues = useContext(IconContext);
|
|
12
|
+
const defaultValues = {
|
|
13
|
+
...defaultContextValues,
|
|
14
|
+
color: defaultColor ?? defaultContextValues.color,
|
|
15
|
+
fontSize: size ?? defaultContextValues.size ?? "var(--panache-icon-size)",
|
|
16
|
+
...props
|
|
17
|
+
};
|
|
18
|
+
const color = useMemo(() => get(defaultValues.palette, defaultValues.color) ?? defaultValues.color, [defaultValues.color, defaultValues.palette]);
|
|
19
|
+
return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", fontSize: defaultValues.fontSize, fill: color, color, ref, ...props, children: /* @__PURE__ */ jsx("path", { d: "m424-296 282-282-56-56-226 226-114-114-56 56zm56 216q-83 0-156-31.5T197-197t-85.5-127T80-480t31.5-156T197-763t127-85.5T480-880t156 31.5T763-763t85.5 127T880-480t-31.5 156T763-197t-127 85.5T480-80m0-80q134 0 227-93t93-227-93-227-227-93-227 93-93 227 93 227 227 93m0-320" }) });
|
|
20
|
+
};
|
|
21
|
+
const ForwardRef = forwardRef(CheckCircleIcon);
|
|
22
|
+
export {
|
|
23
|
+
ForwardRef as CheckCircleIcon
|
|
24
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { SVGProps } from "react";
|
|
2
|
+
import type { IconProps } from "../types";
|
|
3
|
+
declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement> & IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
4
|
+
export { ForwardRef as ErrorIcon };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const react = require("react");
|
|
5
|
+
const get = require("../utils/get.js");
|
|
6
|
+
const Context = require("../providers/IconProvider/Context.js");
|
|
7
|
+
const ErrorIcon = ({
|
|
8
|
+
color: defaultColor,
|
|
9
|
+
size,
|
|
10
|
+
...props
|
|
11
|
+
}, ref) => {
|
|
12
|
+
const defaultContextValues = react.useContext(Context.IconContext);
|
|
13
|
+
const defaultValues = {
|
|
14
|
+
...defaultContextValues,
|
|
15
|
+
color: defaultColor ?? defaultContextValues.color,
|
|
16
|
+
fontSize: size ?? defaultContextValues.size ?? "var(--panache-icon-size)",
|
|
17
|
+
...props
|
|
18
|
+
};
|
|
19
|
+
const color = react.useMemo(() => get.default(defaultValues.palette, defaultValues.color) ?? defaultValues.color, [defaultValues.color, defaultValues.palette]);
|
|
20
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", fontSize: defaultValues.fontSize, fill: color, color, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M480-280q17 0 28.5-11.5T520-320t-11.5-28.5T480-360t-28.5 11.5T440-320t11.5 28.5T480-280m-40-160h80v-240h-80zm40 360q-83 0-156-31.5T197-197t-85.5-127T80-480t31.5-156T197-763t127-85.5T480-880t156 31.5T763-763t85.5 127T880-480t-31.5 156T763-197t-127 85.5T480-80m0-80q134 0 227-93t93-227-93-227-227-93-227 93-93 227 93 227 227 93m0-320" }) });
|
|
21
|
+
};
|
|
22
|
+
const ForwardRef = react.forwardRef(ErrorIcon);
|
|
23
|
+
exports.ErrorIcon = ForwardRef;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef, useContext, useMemo } from "react";
|
|
4
|
+
import get from "../utils/get.mjs";
|
|
5
|
+
import { IconContext } from "../providers/IconProvider/Context.mjs";
|
|
6
|
+
const ErrorIcon = ({
|
|
7
|
+
color: defaultColor,
|
|
8
|
+
size,
|
|
9
|
+
...props
|
|
10
|
+
}, ref) => {
|
|
11
|
+
const defaultContextValues = useContext(IconContext);
|
|
12
|
+
const defaultValues = {
|
|
13
|
+
...defaultContextValues,
|
|
14
|
+
color: defaultColor ?? defaultContextValues.color,
|
|
15
|
+
fontSize: size ?? defaultContextValues.size ?? "var(--panache-icon-size)",
|
|
16
|
+
...props
|
|
17
|
+
};
|
|
18
|
+
const color = useMemo(() => get(defaultValues.palette, defaultValues.color) ?? defaultValues.color, [defaultValues.color, defaultValues.palette]);
|
|
19
|
+
return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", fontSize: defaultValues.fontSize, fill: color, color, ref, ...props, children: /* @__PURE__ */ jsx("path", { d: "M480-280q17 0 28.5-11.5T520-320t-11.5-28.5T480-360t-28.5 11.5T440-320t11.5 28.5T480-280m-40-160h80v-240h-80zm40 360q-83 0-156-31.5T197-197t-85.5-127T80-480t31.5-156T197-763t127-85.5T480-880t156 31.5T763-763t85.5 127T880-480t-31.5 156T763-197t-127 85.5T480-80m0-80q134 0 227-93t93-227-93-227-227-93-227 93-93 227 93 227 227 93m0-320" }) });
|
|
20
|
+
};
|
|
21
|
+
const ForwardRef = forwardRef(ErrorIcon);
|
|
22
|
+
export {
|
|
23
|
+
ForwardRef as ErrorIcon
|
|
24
|
+
};
|
package/lib/icons/InfoIcon.js
CHANGED
|
@@ -17,7 +17,7 @@ const InfoIcon = ({
|
|
|
17
17
|
...props
|
|
18
18
|
};
|
|
19
19
|
const color = react.useMemo(() => get.default(defaultValues.palette, defaultValues.color) ?? defaultValues.color, [defaultValues.color, defaultValues.palette]);
|
|
20
|
-
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0
|
|
20
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", fontSize: defaultValues.fontSize, fill: color, color, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M440-280h80v-240h-80zm40-320q17 0 28.5-11.5T520-640t-11.5-28.5T480-680t-28.5 11.5T440-640t11.5 28.5T480-600m0 520q-83 0-156-31.5T197-197t-85.5-127T80-480t31.5-156T197-763t127-85.5T480-880t156 31.5T763-763t85.5 127T880-480t-31.5 156T763-197t-127 85.5T480-80m0-80q134 0 227-93t93-227-93-227-227-93-227 93-93 227 93 227 227 93m0-320" }) });
|
|
21
21
|
};
|
|
22
22
|
const ForwardRef = react.forwardRef(InfoIcon);
|
|
23
23
|
exports.InfoIcon = ForwardRef;
|
package/lib/icons/InfoIcon.mjs
CHANGED
|
@@ -16,7 +16,7 @@ const InfoIcon = ({
|
|
|
16
16
|
...props
|
|
17
17
|
};
|
|
18
18
|
const color = useMemo(() => get(defaultValues.palette, defaultValues.color) ?? defaultValues.color, [defaultValues.color, defaultValues.palette]);
|
|
19
|
-
return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0
|
|
19
|
+
return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", fontSize: defaultValues.fontSize, fill: color, color, ref, ...props, children: /* @__PURE__ */ jsx("path", { d: "M440-280h80v-240h-80zm40-320q17 0 28.5-11.5T520-640t-11.5-28.5T480-680t-28.5 11.5T440-640t11.5 28.5T480-600m0 520q-83 0-156-31.5T197-197t-85.5-127T80-480t31.5-156T197-763t127-85.5T480-880t156 31.5T763-763t85.5 127T880-480t-31.5 156T763-197t-127 85.5T480-80m0-80q134 0 227-93t93-227-93-227-227-93-227 93-93 227 93 227 227 93m0-320" }) });
|
|
20
20
|
};
|
|
21
21
|
const ForwardRef = forwardRef(InfoIcon);
|
|
22
22
|
export {
|
package/lib/icons/LogoIcon.js
CHANGED
|
@@ -18,13 +18,8 @@ const LogoIcon = ({
|
|
|
18
18
|
};
|
|
19
19
|
const color = react.useMemo(() => get.default(defaultValues.palette, defaultValues.color) ?? defaultValues.color, [defaultValues.color, defaultValues.palette]);
|
|
20
20
|
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 99.2 39", width: "1em", height: "1em", fontSize: defaultValues.fontSize, fill: color, color, ref, ...props, children: [
|
|
21
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "
|
|
22
|
-
|
|
23
|
-
} }),
|
|
24
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14.2 11.5h3.2v16h-3.2zm16.8 0h3.3l3.4 7 3.5-7h3.3v16H41V17.4l-3 5.9h-.6l-3-5.9v10.1H31zm24.7 2.7v-2.7h10.6v2.6h-3.5v13.4h-3.5V14.2zm21.9 13.3v-16h8.3v2.6h-4.8v4h4.5v2.6h-4.5v6.8z" }),
|
|
25
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M0 0v39h8.9v-2.6H3.2V2.6h5.7V0zm99.2 39V0h-8.8v2.6H96v33.8h-5.6V39z", style: {
|
|
26
|
-
fill: "#d73d54"
|
|
27
|
-
} })
|
|
21
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#1a2a53", d: "M14.2 11.5h3.2v16h-3.2zm16.8 0h3.3l3.4 7 3.5-7h3.3v16H41V17.4l-3 5.9h-.6l-3-5.9v10.1H31zm24.7 2.7v-2.7h10.6v2.6h-3.5v13.4h-3.5V14.2zm21.9 13.3v-16h8.3v2.6h-4.8v4h4.5v2.6h-4.5v6.8z" }),
|
|
22
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#d73d54", d: "M0 0v39h8.9v-2.6H3.2V2.6h5.7V0zm99.2 39V0h-8.8v2.6H96v33.8h-5.6V39z" })
|
|
28
23
|
] });
|
|
29
24
|
};
|
|
30
25
|
const ForwardRef = react.forwardRef(LogoIcon);
|
package/lib/icons/LogoIcon.mjs
CHANGED
|
@@ -17,13 +17,8 @@ const LogoIcon = ({
|
|
|
17
17
|
};
|
|
18
18
|
const color = useMemo(() => get(defaultValues.palette, defaultValues.color) ?? defaultValues.color, [defaultValues.color, defaultValues.palette]);
|
|
19
19
|
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 99.2 39", width: "1em", height: "1em", fontSize: defaultValues.fontSize, fill: color, color, ref, ...props, children: [
|
|
20
|
-
/* @__PURE__ */ jsx("path", { d: "
|
|
21
|
-
|
|
22
|
-
} }),
|
|
23
|
-
/* @__PURE__ */ jsx("path", { d: "M14.2 11.5h3.2v16h-3.2zm16.8 0h3.3l3.4 7 3.5-7h3.3v16H41V17.4l-3 5.9h-.6l-3-5.9v10.1H31zm24.7 2.7v-2.7h10.6v2.6h-3.5v13.4h-3.5V14.2zm21.9 13.3v-16h8.3v2.6h-4.8v4h4.5v2.6h-4.5v6.8z" }),
|
|
24
|
-
/* @__PURE__ */ jsx("path", { d: "M0 0v39h8.9v-2.6H3.2V2.6h5.7V0zm99.2 39V0h-8.8v2.6H96v33.8h-5.6V39z", style: {
|
|
25
|
-
fill: "#d73d54"
|
|
26
|
-
} })
|
|
20
|
+
/* @__PURE__ */ jsx("path", { fill: "#1a2a53", d: "M14.2 11.5h3.2v16h-3.2zm16.8 0h3.3l3.4 7 3.5-7h3.3v16H41V17.4l-3 5.9h-.6l-3-5.9v10.1H31zm24.7 2.7v-2.7h10.6v2.6h-3.5v13.4h-3.5V14.2zm21.9 13.3v-16h8.3v2.6h-4.8v4h4.5v2.6h-4.5v6.8z" }),
|
|
21
|
+
/* @__PURE__ */ jsx("path", { fill: "#d73d54", d: "M0 0v39h8.9v-2.6H3.2V2.6h5.7V0zm99.2 39V0h-8.8v2.6H96v33.8h-5.6V39z" })
|
|
27
22
|
] });
|
|
28
23
|
};
|
|
29
24
|
const ForwardRef = forwardRef(LogoIcon);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { SVGProps } from "react";
|
|
2
|
+
import type { IconProps } from "../types";
|
|
3
|
+
declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement> & IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
4
|
+
export { ForwardRef as UnfoldLessIcon };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const react = require("react");
|
|
5
|
+
const get = require("../utils/get.js");
|
|
6
|
+
const Context = require("../providers/IconProvider/Context.js");
|
|
7
|
+
const UnfoldLessIcon = ({
|
|
8
|
+
color: defaultColor,
|
|
9
|
+
size,
|
|
10
|
+
...props
|
|
11
|
+
}, ref) => {
|
|
12
|
+
const defaultContextValues = react.useContext(Context.IconContext);
|
|
13
|
+
const defaultValues = {
|
|
14
|
+
...defaultContextValues,
|
|
15
|
+
color: defaultColor ?? defaultContextValues.color,
|
|
16
|
+
fontSize: size ?? defaultContextValues.size ?? "var(--panache-icon-size)",
|
|
17
|
+
...props
|
|
18
|
+
};
|
|
19
|
+
const color = react.useMemo(() => get.default(defaultValues.palette, defaultValues.color) ?? defaultValues.color, [defaultValues.color, defaultValues.palette]);
|
|
20
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", fontSize: defaultValues.fontSize, fill: color, color, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m356-160-56-56 180-180 180 180-56 56-124-124zm124-404L300-744l56-56 124 124 124-124 56 56z" }) });
|
|
21
|
+
};
|
|
22
|
+
const ForwardRef = react.forwardRef(UnfoldLessIcon);
|
|
23
|
+
exports.UnfoldLessIcon = ForwardRef;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef, useContext, useMemo } from "react";
|
|
4
|
+
import get from "../utils/get.mjs";
|
|
5
|
+
import { IconContext } from "../providers/IconProvider/Context.mjs";
|
|
6
|
+
const UnfoldLessIcon = ({
|
|
7
|
+
color: defaultColor,
|
|
8
|
+
size,
|
|
9
|
+
...props
|
|
10
|
+
}, ref) => {
|
|
11
|
+
const defaultContextValues = useContext(IconContext);
|
|
12
|
+
const defaultValues = {
|
|
13
|
+
...defaultContextValues,
|
|
14
|
+
color: defaultColor ?? defaultContextValues.color,
|
|
15
|
+
fontSize: size ?? defaultContextValues.size ?? "var(--panache-icon-size)",
|
|
16
|
+
...props
|
|
17
|
+
};
|
|
18
|
+
const color = useMemo(() => get(defaultValues.palette, defaultValues.color) ?? defaultValues.color, [defaultValues.color, defaultValues.palette]);
|
|
19
|
+
return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", fontSize: defaultValues.fontSize, fill: color, color, ref, ...props, children: /* @__PURE__ */ jsx("path", { d: "m356-160-56-56 180-180 180 180-56 56-124-124zm124-404L300-744l56-56 124 124 124-124 56 56z" }) });
|
|
20
|
+
};
|
|
21
|
+
const ForwardRef = forwardRef(UnfoldLessIcon);
|
|
22
|
+
export {
|
|
23
|
+
ForwardRef as UnfoldLessIcon
|
|
24
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { SVGProps } from "react";
|
|
2
|
+
import type { IconProps } from "../types";
|
|
3
|
+
declare const ForwardRef: import("react").ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement> & IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
4
|
+
export { ForwardRef as UnfoldMoreIcon };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const react = require("react");
|
|
5
|
+
const get = require("../utils/get.js");
|
|
6
|
+
const Context = require("../providers/IconProvider/Context.js");
|
|
7
|
+
const UnfoldMoreIcon = ({
|
|
8
|
+
color: defaultColor,
|
|
9
|
+
size,
|
|
10
|
+
...props
|
|
11
|
+
}, ref) => {
|
|
12
|
+
const defaultContextValues = react.useContext(Context.IconContext);
|
|
13
|
+
const defaultValues = {
|
|
14
|
+
...defaultContextValues,
|
|
15
|
+
color: defaultColor ?? defaultContextValues.color,
|
|
16
|
+
fontSize: size ?? defaultContextValues.size ?? "var(--panache-icon-size)",
|
|
17
|
+
...props
|
|
18
|
+
};
|
|
19
|
+
const color = react.useMemo(() => get.default(defaultValues.palette, defaultValues.color) ?? defaultValues.color, [defaultValues.color, defaultValues.palette]);
|
|
20
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", fontSize: defaultValues.fontSize, fill: color, color, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M480-120 300-300l58-58 122 122 122-122 58 58zM358-598l-58-58 180-180 180 180-58 58-122-122z" }) });
|
|
21
|
+
};
|
|
22
|
+
const ForwardRef = react.forwardRef(UnfoldMoreIcon);
|
|
23
|
+
exports.UnfoldMoreIcon = ForwardRef;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef, useContext, useMemo } from "react";
|
|
4
|
+
import get from "../utils/get.mjs";
|
|
5
|
+
import { IconContext } from "../providers/IconProvider/Context.mjs";
|
|
6
|
+
const UnfoldMoreIcon = ({
|
|
7
|
+
color: defaultColor,
|
|
8
|
+
size,
|
|
9
|
+
...props
|
|
10
|
+
}, ref) => {
|
|
11
|
+
const defaultContextValues = useContext(IconContext);
|
|
12
|
+
const defaultValues = {
|
|
13
|
+
...defaultContextValues,
|
|
14
|
+
color: defaultColor ?? defaultContextValues.color,
|
|
15
|
+
fontSize: size ?? defaultContextValues.size ?? "var(--panache-icon-size)",
|
|
16
|
+
...props
|
|
17
|
+
};
|
|
18
|
+
const color = useMemo(() => get(defaultValues.palette, defaultValues.color) ?? defaultValues.color, [defaultValues.color, defaultValues.palette]);
|
|
19
|
+
return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", fontSize: defaultValues.fontSize, fill: color, color, ref, ...props, children: /* @__PURE__ */ jsx("path", { d: "M480-120 300-300l58-58 122 122 122-122 58 58zM358-598l-58-58 180-180 180 180-58 58-122-122z" }) });
|
|
20
|
+
};
|
|
21
|
+
const ForwardRef = forwardRef(UnfoldMoreIcon);
|
|
22
|
+
export {
|
|
23
|
+
ForwardRef as UnfoldMoreIcon
|
|
24
|
+
};
|
package/lib/icons/WarningIcon.js
CHANGED
|
@@ -17,7 +17,7 @@ const WarningIcon = ({
|
|
|
17
17
|
...props
|
|
18
18
|
};
|
|
19
19
|
const color = react.useMemo(() => get.default(defaultValues.palette, defaultValues.color) ?? defaultValues.color, [defaultValues.color, defaultValues.palette]);
|
|
20
|
-
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0
|
|
20
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", fontSize: defaultValues.fontSize, fill: color, color, ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m40-120 440-760 440 760zm138-80h604L480-720zm302-40q17 0 28.5-11.5T520-280t-11.5-28.5T480-320t-28.5 11.5T440-280t11.5 28.5T480-240m-40-120h80v-200h-80zm40-100" }) });
|
|
21
21
|
};
|
|
22
22
|
const ForwardRef = react.forwardRef(WarningIcon);
|
|
23
23
|
exports.WarningIcon = ForwardRef;
|
|
@@ -16,7 +16,7 @@ const WarningIcon = ({
|
|
|
16
16
|
...props
|
|
17
17
|
};
|
|
18
18
|
const color = useMemo(() => get(defaultValues.palette, defaultValues.color) ?? defaultValues.color, [defaultValues.color, defaultValues.palette]);
|
|
19
|
-
return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0
|
|
19
|
+
return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", fontSize: defaultValues.fontSize, fill: color, color, ref, ...props, children: /* @__PURE__ */ jsx("path", { d: "m40-120 440-760 440 760zm138-80h604L480-720zm302-40q17 0 28.5-11.5T520-280t-11.5-28.5T480-320t-28.5 11.5T440-280t11.5 28.5T480-240m-40-120h80v-200h-80zm40-100" }) });
|
|
20
20
|
};
|
|
21
21
|
const ForwardRef = forwardRef(WarningIcon);
|
|
22
22
|
export {
|
package/lib/icons/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export { BurgerMenuIcon } from "./BurgerMenuIcon";
|
|
|
17
17
|
export { CancelIcon } from "./CancelIcon";
|
|
18
18
|
export { CaseManagerIcon } from "./CaseManagerIcon";
|
|
19
19
|
export { CheckIcon } from "./CheckIcon";
|
|
20
|
+
export { CheckCircleIcon } from "./CheckCircleIcon";
|
|
20
21
|
export { ChevronDownIcon } from "./ChevronDownIcon";
|
|
21
22
|
export { ChevronLeftIcon } from "./ChevronLeftIcon";
|
|
22
23
|
export { ChevronRightIcon } from "./ChevronRightIcon";
|
|
@@ -43,6 +44,7 @@ export { EditSignatureIcon } from "./EditSignatureIcon";
|
|
|
43
44
|
export { EmptyNotificationIcon } from "./EmptyNotificationIcon";
|
|
44
45
|
export { EntityIcon } from "./EntityIcon";
|
|
45
46
|
export { EraseIcon } from "./EraseIcon";
|
|
47
|
+
export { ErrorIcon } from "./ErrorIcon";
|
|
46
48
|
export { ExpandContentIcon } from "./ExpandContentIcon";
|
|
47
49
|
export { EyeIcon } from "./EyeIcon";
|
|
48
50
|
export { EyeOffIcon } from "./EyeOffIcon";
|
|
@@ -110,6 +112,8 @@ export { TaskApprovedIcon } from "./TaskApprovedIcon";
|
|
|
110
112
|
export { TaskRejectedIcon } from "./TaskRejectedIcon";
|
|
111
113
|
export { TransactionsSanctionsScreeningIcon } from "./TransactionsSanctionsScreeningIcon";
|
|
112
114
|
export { TypesIcon } from "./TypesIcon";
|
|
115
|
+
export { UnfoldLessIcon } from "./UnfoldLessIcon";
|
|
116
|
+
export { UnfoldMoreIcon } from "./UnfoldMoreIcon";
|
|
113
117
|
export { UpdateIcon } from "./UpdateIcon";
|
|
114
118
|
export { UploadIcon } from "./UploadIcon";
|
|
115
119
|
export { UploadAndContinueIcon } from "./UploadAndContinueIcon";
|
package/lib/index.js
CHANGED
|
@@ -21,6 +21,7 @@ const BurgerMenuIcon = require("./icons/BurgerMenuIcon.js");
|
|
|
21
21
|
const CancelIcon = require("./icons/CancelIcon.js");
|
|
22
22
|
const CaseManagerIcon = require("./icons/CaseManagerIcon.js");
|
|
23
23
|
const CheckIcon = require("./icons/CheckIcon.js");
|
|
24
|
+
const CheckCircleIcon = require("./icons/CheckCircleIcon.js");
|
|
24
25
|
const ChevronDownIcon = require("./icons/ChevronDownIcon.js");
|
|
25
26
|
const ChevronLeftIcon = require("./icons/ChevronLeftIcon.js");
|
|
26
27
|
const ChevronRightIcon = require("./icons/ChevronRightIcon.js");
|
|
@@ -47,6 +48,7 @@ const EditSignatureIcon = require("./icons/EditSignatureIcon.js");
|
|
|
47
48
|
const EmptyNotificationIcon = require("./icons/EmptyNotificationIcon.js");
|
|
48
49
|
const EntityIcon = require("./icons/EntityIcon.js");
|
|
49
50
|
const EraseIcon = require("./icons/EraseIcon.js");
|
|
51
|
+
const ErrorIcon = require("./icons/ErrorIcon.js");
|
|
50
52
|
const ExpandContentIcon = require("./icons/ExpandContentIcon.js");
|
|
51
53
|
const EyeIcon = require("./icons/EyeIcon.js");
|
|
52
54
|
const EyeOffIcon = require("./icons/EyeOffIcon.js");
|
|
@@ -114,6 +116,8 @@ const TaskApprovedIcon = require("./icons/TaskApprovedIcon.js");
|
|
|
114
116
|
const TaskRejectedIcon = require("./icons/TaskRejectedIcon.js");
|
|
115
117
|
const TransactionsSanctionsScreeningIcon = require("./icons/TransactionsSanctionsScreeningIcon.js");
|
|
116
118
|
const TypesIcon = require("./icons/TypesIcon.js");
|
|
119
|
+
const UnfoldLessIcon = require("./icons/UnfoldLessIcon.js");
|
|
120
|
+
const UnfoldMoreIcon = require("./icons/UnfoldMoreIcon.js");
|
|
117
121
|
const UpdateIcon = require("./icons/UpdateIcon.js");
|
|
118
122
|
const UploadIcon = require("./icons/UploadIcon.js");
|
|
119
123
|
const UploadAndContinueIcon = require("./icons/UploadAndContinueIcon.js");
|
|
@@ -145,6 +149,7 @@ exports.BurgerMenuIcon = BurgerMenuIcon.BurgerMenuIcon;
|
|
|
145
149
|
exports.CancelIcon = CancelIcon.CancelIcon;
|
|
146
150
|
exports.CaseManagerIcon = CaseManagerIcon.CaseManagerIcon;
|
|
147
151
|
exports.CheckIcon = CheckIcon.CheckIcon;
|
|
152
|
+
exports.CheckCircleIcon = CheckCircleIcon.CheckCircleIcon;
|
|
148
153
|
exports.ChevronDownIcon = ChevronDownIcon.ChevronDownIcon;
|
|
149
154
|
exports.ChevronLeftIcon = ChevronLeftIcon.ChevronLeftIcon;
|
|
150
155
|
exports.ChevronRightIcon = ChevronRightIcon.ChevronRightIcon;
|
|
@@ -171,6 +176,7 @@ exports.EditSignatureIcon = EditSignatureIcon.EditSignatureIcon;
|
|
|
171
176
|
exports.EmptyNotificationIcon = EmptyNotificationIcon.EmptyNotificationIcon;
|
|
172
177
|
exports.EntityIcon = EntityIcon.EntityIcon;
|
|
173
178
|
exports.EraseIcon = EraseIcon.EraseIcon;
|
|
179
|
+
exports.ErrorIcon = ErrorIcon.ErrorIcon;
|
|
174
180
|
exports.ExpandContentIcon = ExpandContentIcon.ExpandContentIcon;
|
|
175
181
|
exports.EyeIcon = EyeIcon.EyeIcon;
|
|
176
182
|
exports.EyeOffIcon = EyeOffIcon.EyeOffIcon;
|
|
@@ -238,6 +244,8 @@ exports.TaskApprovedIcon = TaskApprovedIcon.TaskApprovedIcon;
|
|
|
238
244
|
exports.TaskRejectedIcon = TaskRejectedIcon.TaskRejectedIcon;
|
|
239
245
|
exports.TransactionsSanctionsScreeningIcon = TransactionsSanctionsScreeningIcon.TransactionsSanctionsScreeningIcon;
|
|
240
246
|
exports.TypesIcon = TypesIcon.TypesIcon;
|
|
247
|
+
exports.UnfoldLessIcon = UnfoldLessIcon.UnfoldLessIcon;
|
|
248
|
+
exports.UnfoldMoreIcon = UnfoldMoreIcon.UnfoldMoreIcon;
|
|
241
249
|
exports.UpdateIcon = UpdateIcon.UpdateIcon;
|
|
242
250
|
exports.UploadIcon = UploadIcon.UploadIcon;
|
|
243
251
|
exports.UploadAndContinueIcon = UploadAndContinueIcon.UploadAndContinueIcon;
|
package/lib/index.mjs
CHANGED
|
@@ -20,6 +20,7 @@ import { BurgerMenuIcon } from "./icons/BurgerMenuIcon.mjs";
|
|
|
20
20
|
import { CancelIcon } from "./icons/CancelIcon.mjs";
|
|
21
21
|
import { CaseManagerIcon } from "./icons/CaseManagerIcon.mjs";
|
|
22
22
|
import { CheckIcon } from "./icons/CheckIcon.mjs";
|
|
23
|
+
import { CheckCircleIcon } from "./icons/CheckCircleIcon.mjs";
|
|
23
24
|
import { ChevronDownIcon } from "./icons/ChevronDownIcon.mjs";
|
|
24
25
|
import { ChevronLeftIcon } from "./icons/ChevronLeftIcon.mjs";
|
|
25
26
|
import { ChevronRightIcon } from "./icons/ChevronRightIcon.mjs";
|
|
@@ -46,6 +47,7 @@ import { EditSignatureIcon } from "./icons/EditSignatureIcon.mjs";
|
|
|
46
47
|
import { EmptyNotificationIcon } from "./icons/EmptyNotificationIcon.mjs";
|
|
47
48
|
import { EntityIcon } from "./icons/EntityIcon.mjs";
|
|
48
49
|
import { EraseIcon } from "./icons/EraseIcon.mjs";
|
|
50
|
+
import { ErrorIcon } from "./icons/ErrorIcon.mjs";
|
|
49
51
|
import { ExpandContentIcon } from "./icons/ExpandContentIcon.mjs";
|
|
50
52
|
import { EyeIcon } from "./icons/EyeIcon.mjs";
|
|
51
53
|
import { EyeOffIcon } from "./icons/EyeOffIcon.mjs";
|
|
@@ -113,6 +115,8 @@ import { TaskApprovedIcon } from "./icons/TaskApprovedIcon.mjs";
|
|
|
113
115
|
import { TaskRejectedIcon } from "./icons/TaskRejectedIcon.mjs";
|
|
114
116
|
import { TransactionsSanctionsScreeningIcon } from "./icons/TransactionsSanctionsScreeningIcon.mjs";
|
|
115
117
|
import { TypesIcon } from "./icons/TypesIcon.mjs";
|
|
118
|
+
import { UnfoldLessIcon } from "./icons/UnfoldLessIcon.mjs";
|
|
119
|
+
import { UnfoldMoreIcon } from "./icons/UnfoldMoreIcon.mjs";
|
|
116
120
|
import { UpdateIcon } from "./icons/UpdateIcon.mjs";
|
|
117
121
|
import { UploadIcon } from "./icons/UploadIcon.mjs";
|
|
118
122
|
import { UploadAndContinueIcon } from "./icons/UploadAndContinueIcon.mjs";
|
|
@@ -140,6 +144,7 @@ export {
|
|
|
140
144
|
BurgerMenuIcon,
|
|
141
145
|
CancelIcon,
|
|
142
146
|
CaseManagerIcon,
|
|
147
|
+
CheckCircleIcon,
|
|
143
148
|
CheckIcon,
|
|
144
149
|
ChevronDownIcon,
|
|
145
150
|
ChevronLeftIcon,
|
|
@@ -167,6 +172,7 @@ export {
|
|
|
167
172
|
EmptyNotificationIcon,
|
|
168
173
|
EntityIcon,
|
|
169
174
|
EraseIcon,
|
|
175
|
+
ErrorIcon,
|
|
170
176
|
ExpandContentIcon,
|
|
171
177
|
EyeIcon,
|
|
172
178
|
EyeOffIcon,
|
|
@@ -237,6 +243,8 @@ export {
|
|
|
237
243
|
TaskRejectedIcon,
|
|
238
244
|
TransactionsSanctionsScreeningIcon,
|
|
239
245
|
TypesIcon,
|
|
246
|
+
UnfoldLessIcon,
|
|
247
|
+
UnfoldMoreIcon,
|
|
240
248
|
UpdateIcon,
|
|
241
249
|
UploadAndContinueIcon,
|
|
242
250
|
UploadIcon,
|
package/package.json
CHANGED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px">
|
|
2
|
+
<path
|
|
3
|
+
d="m424-296 282-282-56-56-226 226-114-114-56 56 170 170Zm56 216q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" />
|
|
4
|
+
</svg>
|
package/svg/Error.svg
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px">
|
|
2
|
+
<path
|
|
3
|
+
d="M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm-40-160h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" />
|
|
4
|
+
</svg>
|
package/svg/Info.svg
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
|
2
|
-
<path
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px">
|
|
2
|
+
<path
|
|
3
|
+
d="M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" />
|
|
3
4
|
</svg>
|
package/svg/Logo.svg
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
|
2
|
-
<path
|
|
3
|
-
|
|
4
|
-
<path d="M0 0v39h8.9v-2.6H3.2V2.6h5.
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 99.2 39">
|
|
2
|
+
<path fill="#1a2a53"
|
|
3
|
+
d="M14.2 11.5h3.2v16h-3.2zM31 11.5h3.3l3.4 7 3.5-7h3.3v16H41V17.4l-3 5.9h-.6l-3-5.9v10.1H31zM55.7 14.2v-2.7h10.6v2.6h-3.5v13.4h-3.5V14.2h-3.6zM77.6 27.5v-16h8.3v2.6h-4.8v4h4.5v2.6h-4.5v6.8h-3.5z" />
|
|
4
|
+
<path fill="#d73d54" d="M0 0v39h8.9v-2.6H3.2V2.6h5.7V0zM99.2 39V0h-8.8v2.6H96v33.8h-5.6V39z" />
|
|
5
5
|
</svg>
|
package/svg/Warning.svg
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
|
2
|
-
<path
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px">
|
|
2
|
+
<path
|
|
3
|
+
d="m40-120 440-760 440 760H40Zm138-80h604L480-720 178-200Zm302-40q17 0 28.5-11.5T520-280q0-17-11.5-28.5T480-320q-17 0-28.5 11.5T440-280q0 17 11.5 28.5T480-240Zm-40-120h80v-200h-80v200Zm40-100Z" />
|
|
3
4
|
</svg>
|
package/svg/error.json
ADDED