@imtf/icons 0.9.0 → 0.10.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.
@@ -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: "M-19.8-19.8h138.9v78.7H-19.8z", style: {
22
- fill: "none"
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);
@@ -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: "M-19.8-19.8h138.9v78.7H-19.8z", style: {
21
- fill: "none"
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
+ };
@@ -110,6 +110,8 @@ export { TaskApprovedIcon } from "./TaskApprovedIcon";
110
110
  export { TaskRejectedIcon } from "./TaskRejectedIcon";
111
111
  export { TransactionsSanctionsScreeningIcon } from "./TransactionsSanctionsScreeningIcon";
112
112
  export { TypesIcon } from "./TypesIcon";
113
+ export { UnfoldLessIcon } from "./UnfoldLessIcon";
114
+ export { UnfoldMoreIcon } from "./UnfoldMoreIcon";
113
115
  export { UpdateIcon } from "./UpdateIcon";
114
116
  export { UploadIcon } from "./UploadIcon";
115
117
  export { UploadAndContinueIcon } from "./UploadAndContinueIcon";
package/lib/index.js CHANGED
@@ -114,6 +114,8 @@ const TaskApprovedIcon = require("./icons/TaskApprovedIcon.js");
114
114
  const TaskRejectedIcon = require("./icons/TaskRejectedIcon.js");
115
115
  const TransactionsSanctionsScreeningIcon = require("./icons/TransactionsSanctionsScreeningIcon.js");
116
116
  const TypesIcon = require("./icons/TypesIcon.js");
117
+ const UnfoldLessIcon = require("./icons/UnfoldLessIcon.js");
118
+ const UnfoldMoreIcon = require("./icons/UnfoldMoreIcon.js");
117
119
  const UpdateIcon = require("./icons/UpdateIcon.js");
118
120
  const UploadIcon = require("./icons/UploadIcon.js");
119
121
  const UploadAndContinueIcon = require("./icons/UploadAndContinueIcon.js");
@@ -238,6 +240,8 @@ exports.TaskApprovedIcon = TaskApprovedIcon.TaskApprovedIcon;
238
240
  exports.TaskRejectedIcon = TaskRejectedIcon.TaskRejectedIcon;
239
241
  exports.TransactionsSanctionsScreeningIcon = TransactionsSanctionsScreeningIcon.TransactionsSanctionsScreeningIcon;
240
242
  exports.TypesIcon = TypesIcon.TypesIcon;
243
+ exports.UnfoldLessIcon = UnfoldLessIcon.UnfoldLessIcon;
244
+ exports.UnfoldMoreIcon = UnfoldMoreIcon.UnfoldMoreIcon;
241
245
  exports.UpdateIcon = UpdateIcon.UpdateIcon;
242
246
  exports.UploadIcon = UploadIcon.UploadIcon;
243
247
  exports.UploadAndContinueIcon = UploadAndContinueIcon.UploadAndContinueIcon;
package/lib/index.mjs CHANGED
@@ -113,6 +113,8 @@ import { TaskApprovedIcon } from "./icons/TaskApprovedIcon.mjs";
113
113
  import { TaskRejectedIcon } from "./icons/TaskRejectedIcon.mjs";
114
114
  import { TransactionsSanctionsScreeningIcon } from "./icons/TransactionsSanctionsScreeningIcon.mjs";
115
115
  import { TypesIcon } from "./icons/TypesIcon.mjs";
116
+ import { UnfoldLessIcon } from "./icons/UnfoldLessIcon.mjs";
117
+ import { UnfoldMoreIcon } from "./icons/UnfoldMoreIcon.mjs";
116
118
  import { UpdateIcon } from "./icons/UpdateIcon.mjs";
117
119
  import { UploadIcon } from "./icons/UploadIcon.mjs";
118
120
  import { UploadAndContinueIcon } from "./icons/UploadAndContinueIcon.mjs";
@@ -237,6 +239,8 @@ export {
237
239
  TaskRejectedIcon,
238
240
  TransactionsSanctionsScreeningIcon,
239
241
  TypesIcon,
242
+ UnfoldLessIcon,
243
+ UnfoldMoreIcon,
240
244
  UpdateIcon,
241
245
  UploadAndContinueIcon,
242
246
  UploadIcon,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@imtf/icons",
3
3
  "private": false,
4
- "version": "0.9.0",
4
+ "version": "0.10.0",
5
5
  "description": "Library of icons (React components, font and svg)",
6
6
  "type": "module",
7
7
  "main": "./lib/index.js",
package/svg/Logo.svg CHANGED
@@ -1,5 +1,5 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" style="enable-background:new 0 0 99.2 39" viewBox="0 0 99.2 39">
2
- <path d="M-19.8-19.8h138.9v78.7H-19.8z" style="fill:none"/>
3
- <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.2h-3.6zm21.9 13.3v-16h8.3v2.6h-4.8v4h4.5v2.6h-4.5v6.8h-3.5z"/>
4
- <path d="M0 0v39h8.9v-2.6H3.2V2.6h5.7V0zm99.2 39V0h-8.8v2.6H96v33.8h-5.6V39z" style="fill:#d73d54"/>
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>
@@ -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="m356-160-56-56 180-180 180 180-56 56-124-124-124 124Zm124-404L300-744l56-56 124 124 124-124 56 56-180 180Z" />
4
+ </svg>
@@ -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-120 300-300l58-58 122 122 122-122 58 58-180 180ZM358-598l-58-58 180-180 180 180-58 58-122-122-122 122Z" />
4
+ </svg>
@@ -0,0 +1,8 @@
1
+ {
2
+ "aliases": [
3
+ "collapse",
4
+ "collapible",
5
+ "expandable"
6
+ ],
7
+ "description": ""
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "aliases": [
3
+ "collapse",
4
+ "collapible",
5
+ "expandable"
6
+ ],
7
+ "description": ""
8
+ }