@digigov/react-icons 2.0.0-6452adf3 → 2.0.0-66d7c5e2
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/AccessibilityIcon/config/index.js +3 -3
- package/AccessibilityIcon/config.d.ts +1 -1
- package/AccessibilityIcon/config.js.map +2 -2
- package/ArrowIcon/config/index.js +26 -2
- package/ArrowIcon/config.js.map +2 -2
- package/BurgerIcon/config/index.js +29 -5
- package/BurgerIcon/config.d.ts +2 -2
- package/BurgerIcon/config.js.map +2 -2
- package/CancelIcon/config/index.js +8 -2
- package/CancelIcon/config.d.ts +1 -1
- package/CancelIcon/config.js.map +2 -2
- package/CaretIcon/config/index.js +2 -2
- package/CaretIcon/config.js.map +2 -2
- package/ChatIcon/config/index.js +8 -2
- package/ChatIcon/config.js.map +2 -2
- package/CheckIcon/config/index.js +8 -2
- package/CheckIcon/config.d.ts +1 -1
- package/CheckIcon/config.js.map +2 -2
- package/ChevronIcon/config/index.js +26 -2
- package/ChevronIcon/config.js.map +2 -2
- package/CloseIcon/config/index.js +8 -2
- package/CloseIcon/config.d.ts +1 -1
- package/CloseIcon/config.js.map +2 -2
- package/DownloadIcon/config/index.js +8 -2
- package/DownloadIcon/config.d.ts +1 -1
- package/DownloadIcon/config.js.map +2 -2
- package/ExclamationIcon/config/index.js +8 -2
- package/ExclamationIcon/config.d.ts +1 -1
- package/ExclamationIcon/config.js.map +2 -2
- package/GlobeIcon/config/index.js +8 -2
- package/GlobeIcon/config.d.ts +1 -1
- package/GlobeIcon/config.js.map +2 -2
- package/Icon/index.d.ts +1 -1
- package/Icon/index.js +1 -1
- package/Icon/index.js.map +2 -2
- package/{Base → IconBase}/index.d.ts +6 -6
- package/{Base → IconBase}/index.js +4 -4
- package/IconBase/index.js.map +7 -0
- package/{Base → IconBase}/package.json +1 -1
- package/LockIcon/config/index.js +8 -2
- package/LockIcon/config.d.ts +1 -1
- package/LockIcon/config.js.map +2 -2
- package/LoginIcon/config/index.js +14 -2
- package/LoginIcon/config.d.ts +1 -1
- package/LoginIcon/config.js.map +2 -2
- package/MinusIcon/config/index.js +2 -2
- package/MinusIcon/config.d.ts +1 -1
- package/MinusIcon/config.js.map +2 -2
- package/MoreVertIcon/config/index.js +2 -2
- package/MoreVertIcon/config.d.ts +1 -1
- package/MoreVertIcon/config.js.map +2 -2
- package/PdfFileIcon/config/index.js +20 -2
- package/PdfFileIcon/config.d.ts +1 -1
- package/PdfFileIcon/config.js.map +2 -2
- package/PlusIcon/config/index.js +8 -2
- package/PlusIcon/config.d.ts +1 -1
- package/PlusIcon/config.js.map +2 -2
- package/PrintIcon/config/index.js +8 -2
- package/PrintIcon/config.d.ts +1 -1
- package/PrintIcon/config.js.map +2 -2
- package/ReplyIcon/config/index.js +8 -2
- package/ReplyIcon/config.d.ts +1 -1
- package/ReplyIcon/config.js.map +2 -2
- package/RestoreIcon/config/index.js +8 -2
- package/RestoreIcon/config.d.ts +1 -1
- package/RestoreIcon/config.js.map +2 -2
- package/SearchIcon/config/index.js +8 -2
- package/SearchIcon/config.d.ts +1 -1
- package/SearchIcon/config.js.map +2 -2
- package/SvgIcon/index.d.ts +2 -2
- package/SvgIcon/index.js +2 -2
- package/SvgIcon/index.js.map +2 -2
- package/UncheckIcon/config/index.js +8 -2
- package/UncheckIcon/config.d.ts +1 -1
- package/UncheckIcon/config.js.map +2 -2
- package/cjs/AccessibilityIcon/config/index.js +3 -3
- package/cjs/AccessibilityIcon/config.js.map +3 -3
- package/cjs/ArrowIcon/config/index.js +26 -2
- package/cjs/ArrowIcon/config.js.map +3 -3
- package/cjs/BurgerIcon/config/index.js +29 -5
- package/cjs/BurgerIcon/config.js.map +3 -3
- package/cjs/CancelIcon/config/index.js +8 -2
- package/cjs/CancelIcon/config.js.map +3 -3
- package/cjs/CaretIcon/config/index.js +2 -2
- package/cjs/CaretIcon/config.js.map +3 -3
- package/cjs/ChatIcon/config/index.js +8 -2
- package/cjs/ChatIcon/config.js.map +3 -3
- package/cjs/CheckIcon/config/index.js +8 -2
- package/cjs/CheckIcon/config.js.map +3 -3
- package/cjs/ChevronIcon/config/index.js +26 -2
- package/cjs/ChevronIcon/config.js.map +3 -3
- package/cjs/CloseIcon/config/index.js +8 -2
- package/cjs/CloseIcon/config.js.map +3 -3
- package/cjs/DownloadIcon/config/index.js +8 -2
- package/cjs/DownloadIcon/config.js.map +3 -3
- package/cjs/ExclamationIcon/config/index.js +8 -2
- package/cjs/ExclamationIcon/config.js.map +3 -3
- package/cjs/GlobeIcon/config/index.js +8 -2
- package/cjs/GlobeIcon/config.js.map +3 -3
- package/cjs/Icon/index.js +1 -1
- package/cjs/Icon/index.js.map +2 -2
- package/cjs/{Base → IconBase}/index.js +8 -8
- package/cjs/IconBase/index.js.map +7 -0
- package/cjs/LockIcon/config/index.js +8 -2
- package/cjs/LockIcon/config.js.map +3 -3
- package/cjs/LoginIcon/config/index.js +14 -2
- package/cjs/LoginIcon/config.js.map +3 -3
- package/cjs/MinusIcon/config/index.js +2 -2
- package/cjs/MinusIcon/config.js.map +3 -3
- package/cjs/MoreVertIcon/config/index.js +2 -2
- package/cjs/MoreVertIcon/config.js.map +3 -3
- package/cjs/PdfFileIcon/config/index.js +20 -2
- package/cjs/PdfFileIcon/config.js.map +3 -3
- package/cjs/PlusIcon/config/index.js +8 -2
- package/cjs/PlusIcon/config.js.map +3 -3
- package/cjs/PrintIcon/config/index.js +8 -2
- package/cjs/PrintIcon/config.js.map +3 -3
- package/cjs/ReplyIcon/config/index.js +8 -2
- package/cjs/ReplyIcon/config.js.map +3 -3
- package/cjs/RestoreIcon/config/index.js +8 -2
- package/cjs/RestoreIcon/config.js.map +3 -3
- package/cjs/SearchIcon/config/index.js +8 -2
- package/cjs/SearchIcon/config.js.map +3 -3
- package/cjs/SvgIcon/index.js +2 -2
- package/cjs/SvgIcon/index.js.map +3 -3
- package/cjs/UncheckIcon/config/index.js +8 -2
- package/cjs/UncheckIcon/config.js.map +3 -3
- package/cjs/icons.js.map +1 -1
- package/cjs/lazy/index.js +7 -7
- package/cjs/lazy.js.map +3 -3
- package/cjs/registry/index.js +54 -8
- package/cjs/registry.js.map +3 -3
- package/icons.d.ts +11 -11
- package/icons.js.map +1 -1
- package/index.js +1 -1
- package/lazy/index.js +28 -32
- package/package.json +4 -4
- package/registry/index.js +86 -41
- package/src/AccessibilityIcon/config.tsx +7 -6
- package/src/AccessibilityIcon/index.test.tsx +12 -4
- package/src/ArrowIcon/config.tsx +17 -5
- package/src/BurgerIcon/config.tsx +24 -8
- package/src/BurgerIcon/index.test.tsx +6 -2
- package/src/CancelIcon/config.tsx +7 -4
- package/src/CancelIcon/index.test.tsx +6 -2
- package/src/CaretIcon/config.tsx +5 -5
- package/src/ChatIcon/config.tsx +6 -3
- package/src/ChatIcon/index.test.tsx +7 -3
- package/src/CheckIcon/config.tsx +7 -4
- package/src/CheckIcon/index.test.tsx +6 -2
- package/src/ChevronIcon/config.tsx +17 -5
- package/src/ChevronIcon/index.test.tsx +6 -2
- package/src/CloseIcon/config.tsx +7 -4
- package/src/DownloadIcon/config.tsx +10 -7
- package/src/DownloadIcon/index.test.tsx +9 -3
- package/src/ExclamationIcon/config.tsx +8 -5
- package/src/ExclamationIcon/index.test.tsx +12 -4
- package/src/GlobeIcon/config.tsx +7 -4
- package/src/GlobeIcon/index.test.tsx +3 -1
- package/src/Icon/index.test.tsx +3 -1
- package/src/Icon/index.tsx +1 -1
- package/src/{Base → IconBase}/index.tsx +10 -10
- package/src/LockIcon/config.tsx +7 -4
- package/src/LockIcon/index.test.tsx +6 -2
- package/src/LoginIcon/config.tsx +11 -5
- package/src/LoginIcon/index.test.tsx +6 -2
- package/src/MinusIcon/config.tsx +4 -4
- package/src/MinusIcon/index.test.tsx +6 -2
- package/src/MoreVertIcon/config.tsx +6 -6
- package/src/MoreVertIcon/index.test.tsx +12 -4
- package/src/PdfFileIcon/config.tsx +20 -11
- package/src/PdfFileIcon/index.test.tsx +6 -2
- package/src/PlusIcon/config.tsx +7 -4
- package/src/PlusIcon/index.test.tsx +6 -2
- package/src/PrintIcon/config.tsx +8 -5
- package/src/PrintIcon/index.test.tsx +6 -2
- package/src/ReplyIcon/config.tsx +7 -4
- package/src/ReplyIcon/index.test.tsx +6 -2
- package/src/RestoreIcon/config.tsx +9 -6
- package/src/RestoreIcon/index.test.tsx +6 -2
- package/src/SearchIcon/config.tsx +7 -4
- package/src/SvgIcon/index.tsx +15 -15
- package/src/UncheckIcon/config.tsx +7 -4
- package/src/UncheckIcon/index.test.tsx +6 -2
- package/src/icons.ts +11 -12
- package/src/lazy.js +28 -29
- package/src/registry.js +78 -34
- package/Base/index.js.map +0 -7
- package/cjs/Base/index.js.map +0 -7
- package/lazy.d.ts +0 -29
- package/lazy.js.map +0 -7
- package/registry.d.ts +0 -31
- package/registry.js.map +0 -7
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
2
|
+
import IconBase from "@digigov/react-icons/IconBase";
|
|
3
3
|
function accessibility() {
|
|
4
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
5
|
-
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(IconBase, { as: "title" }, "\u039C\u03B5\u03BD\u03BF\u03CD \u03A0\u03C1\u03BF\u03C3\u03B2\u03B1\u03C3\u03B9\u03BC\u03CC\u03C4\u03B7\u03C4\u03B1\u03C2"), /* @__PURE__ */ React.createElement(IconBase, { as: "circle", cx: "12", cy: "3", r: "3" }), /* @__PURE__ */ React.createElement(
|
|
5
|
+
IconBase,
|
|
6
6
|
{
|
|
7
7
|
as: "path",
|
|
8
8
|
d: "M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37\n c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93\n l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31\n C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface AccessibilityType {
|
|
3
3
|
}
|
|
4
|
-
export declare function accessibility(): React.ReactElement
|
|
4
|
+
export declare function accessibility(): React.ReactElement<any>;
|
|
5
5
|
export declare namespace accessibility {
|
|
6
6
|
var props: any[];
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/AccessibilityIcon/config.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface AccessibilityType {}\n\nexport function accessibility(): React.ReactElement<any> {\n return (\n <>\n <IconBase as=\"title\">\u039C\u03B5\u03BD\u03BF\u03CD \u03A0\u03C1\u03BF\u03C3\u03B2\u03B1\u03C3\u03B9\u03BC\u03CC\u03C4\u03B7\u03C4\u03B1\u03C2</IconBase>\n <IconBase as=\"circle\" cx=\"12\" cy=\"3\" r=\"3\" />\n <IconBase\n as=\"path\"\n d=\"M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37\n\tc0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93\n\tl1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31\n\tC22.89,8.04,21.58,5.38,19.76,6.13z\"\n />\n </>\n );\n}\n\naccessibility.props = [];\n\nexport default accessibility;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAId,SAAS,gBAAyC;AACvD,SACE,0DACE,oCAAC,YAAS,IAAG,WAAQ,2HAAqB,GAC1C,oCAAC,YAAS,IAAG,UAAS,IAAG,MAAK,IAAG,KAAI,GAAE,KAAI,GAC3C;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EAIJ,CACF;AAEJ;AAEA,cAAc,QAAQ,CAAC;AAEvB,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,31 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
2
|
+
import IconBase from "@digigov/react-icons/IconBase";
|
|
3
3
|
const arrow = ({ direction = "up" }) => {
|
|
4
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, direction === "left" && /* @__PURE__ */ React.createElement(
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, direction === "left" && /* @__PURE__ */ React.createElement(
|
|
5
|
+
IconBase,
|
|
6
|
+
{
|
|
7
|
+
as: "polygon",
|
|
8
|
+
points: "14.4 19.7 8.48 13.7 21.93 13.7 22 10.37 8.48 10.32 14.4 4.4 12 2 2 12 12 22 14.4 19.7"
|
|
9
|
+
}
|
|
10
|
+
), direction === "right" && /* @__PURE__ */ React.createElement(
|
|
11
|
+
IconBase,
|
|
12
|
+
{
|
|
13
|
+
as: "polygon",
|
|
14
|
+
points: "9.6 4.3 15.52 10.3 2.07 10.3 2 13.63 15.52 13.68 9.6 19.6 12 22 22 12 12 2 9.6 4.3"
|
|
15
|
+
}
|
|
16
|
+
), direction === "up" && /* @__PURE__ */ React.createElement(
|
|
17
|
+
IconBase,
|
|
18
|
+
{
|
|
19
|
+
as: "polygon",
|
|
20
|
+
points: "22 12 12 2 2 12 4.3 14.4 10.3 8.48 10.3 21.93 13.63 22 13.68 8.48 19.6 14.4 22 12"
|
|
21
|
+
}
|
|
22
|
+
), direction === "down" && /* @__PURE__ */ React.createElement(
|
|
23
|
+
IconBase,
|
|
24
|
+
{
|
|
25
|
+
as: "polygon",
|
|
26
|
+
points: "19.7 9.6 13.7 15.52 13.7 2.07 10.37 2 10.32 15.52 4.4 9.6 2 12 12 22 22 12 19.7 9.6"
|
|
27
|
+
}
|
|
28
|
+
));
|
|
5
29
|
};
|
|
6
30
|
arrow.props = ["direction"];
|
|
7
31
|
var config_default = arrow;
|
package/ArrowIcon/config.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/ArrowIcon/config.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface ArrowType {\n /**\n * @value 'left'\n * @value 'right'\n * @value 'up'\n * @value 'down'\n * @default 'up'\n */\n direction?: 'left' | 'right' | 'up' | 'down';\n}\n\nexport const arrow: React.FC<ArrowType> = ({ direction = 'up' }) => {\n return (\n <>\n {direction === 'left' && (\n <IconBase\n as=\"polygon\"\n points=\"14.4 19.7 8.48 13.7 21.93 13.7 22 10.37 8.48 10.32 14.4 4.4 12 2 2 12 12 22 14.4 19.7\"\n />\n )}\n {direction === 'right' && (\n <IconBase\n as=\"polygon\"\n points=\"9.6 4.3 15.52 10.3 2.07 10.3 2 13.63 15.52 13.68 9.6 19.6 12 22 22 12 12 2 9.6 4.3\"\n />\n )}\n {direction === 'up' && (\n <IconBase\n as=\"polygon\"\n points=\"22 12 12 2 2 12 4.3 14.4 10.3 8.48 10.3 21.93 13.63 22 13.68 8.48 19.6 14.4 22 12\"\n />\n )}\n {direction === 'down' && (\n <IconBase\n as=\"polygon\"\n points=\"19.7 9.6 13.7 15.52 13.7 2.07 10.37 2 10.32 15.52 4.4 9.6 2 12 12 22 22 12 19.7 9.6\"\n />\n )}\n </>\n );\n};\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\narrow.props = ['direction'];\n\nexport default arrow;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAad,MAAM,QAA6B,CAAC,EAAE,YAAY,KAAK,MAAM;AAClE,SACE,0DACG,cAAc,UACb;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,QAAO;AAAA;AAAA,EACT,GAED,cAAc,WACb;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,QAAO;AAAA;AAAA,EACT,GAED,cAAc,QACb;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,QAAO;AAAA;AAAA,EACT,GAED,cAAc,UACb;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,QAAO;AAAA;AAAA,EACT,CAEJ;AAEJ;AAGA,MAAM,QAAQ,CAAC,WAAW;AAE1B,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,18 +1,42 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import
|
|
3
|
+
import IconBase from "@digigov/react-icons/IconBase";
|
|
4
4
|
const burger = ({ active = false }) => {
|
|
5
5
|
return /* @__PURE__ */ React.createElement(
|
|
6
|
-
|
|
6
|
+
IconBase,
|
|
7
7
|
{
|
|
8
8
|
as: "g",
|
|
9
9
|
className: clsx({
|
|
10
10
|
[`ds-svg-icon--burger--active`]: active
|
|
11
11
|
})
|
|
12
12
|
},
|
|
13
|
-
/* @__PURE__ */ React.createElement(
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
/* @__PURE__ */ React.createElement(
|
|
14
|
+
IconBase,
|
|
15
|
+
{
|
|
16
|
+
as: "rect",
|
|
17
|
+
id: "ds-svg-icon--burger__line-1",
|
|
18
|
+
width: "20",
|
|
19
|
+
height: "3.3"
|
|
20
|
+
}
|
|
21
|
+
),
|
|
22
|
+
/* @__PURE__ */ React.createElement(
|
|
23
|
+
IconBase,
|
|
24
|
+
{
|
|
25
|
+
as: "rect",
|
|
26
|
+
id: "ds-svg-icon--burger__line-2",
|
|
27
|
+
width: "20",
|
|
28
|
+
height: "3.3"
|
|
29
|
+
}
|
|
30
|
+
),
|
|
31
|
+
/* @__PURE__ */ React.createElement(
|
|
32
|
+
IconBase,
|
|
33
|
+
{
|
|
34
|
+
as: "rect",
|
|
35
|
+
id: "ds-svg-icon--burger__line-3",
|
|
36
|
+
width: "20",
|
|
37
|
+
height: "3.3"
|
|
38
|
+
}
|
|
39
|
+
)
|
|
16
40
|
);
|
|
17
41
|
};
|
|
18
42
|
burger.props = ["active"];
|
package/BurgerIcon/config.d.ts
CHANGED
package/BurgerIcon/config.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/BurgerIcon/config.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAU;AACjB,OAAO,
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface BurgerType {\n active?: boolean;\n}\n\nexport const burger: React.FC<BurgerType> = ({ active = false }) => {\n return (\n <IconBase\n as=\"g\"\n className={clsx({\n [`ds-svg-icon--burger--active`]: active,\n })}\n >\n <IconBase\n as=\"rect\"\n id=\"ds-svg-icon--burger__line-1\"\n width=\"20\"\n height=\"3.3\"\n />\n <IconBase\n as=\"rect\"\n id=\"ds-svg-icon--burger__line-2\"\n width=\"20\"\n height=\"3.3\"\n />\n <IconBase\n as=\"rect\"\n id=\"ds-svg-icon--burger__line-3\"\n width=\"20\"\n height=\"3.3\"\n />\n </IconBase>\n );\n};\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nburger.props = ['active'];\n\nexport default burger;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAU;AACjB,OAAO,cAAc;AAMd,MAAM,SAA+B,CAAC,EAAE,SAAS,MAAM,MAAM;AAClE,SACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,WAAW,KAAK;AAAA,QACd,CAAC,6BAA6B,GAAG;AAAA,MACnC,CAAC;AAAA;AAAA,IAED;AAAA,MAAC;AAAA;AAAA,QACC,IAAG;AAAA,QACH,IAAG;AAAA,QACH,OAAM;AAAA,QACN,QAAO;AAAA;AAAA,IACT;AAAA,IACA;AAAA,MAAC;AAAA;AAAA,QACC,IAAG;AAAA,QACH,IAAG;AAAA,QACH,OAAM;AAAA,QACN,QAAO;AAAA;AAAA,IACT;AAAA,IACA;AAAA,MAAC;AAAA;AAAA,QACC,IAAG;AAAA,QACH,IAAG;AAAA,QACH,OAAM;AAAA,QACN,QAAO;AAAA;AAAA,IACT;AAAA,EACF;AAEJ;AAGA,OAAO,QAAQ,CAAC,QAAQ;AAExB,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
2
|
+
import IconBase from "@digigov/react-icons/IconBase";
|
|
3
3
|
function cancel() {
|
|
4
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
5
|
+
IconBase,
|
|
6
|
+
{
|
|
7
|
+
as: "path",
|
|
8
|
+
d: "M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10,10-4.477,10-10S17.523,2,12,2ZM17.419,15.581l-1.838,1.838-3.581-3.581-3.581,3.581-1.838-1.838,3.581-3.581-3.581-3.581,1.838-1.839,3.581,3.581,3.581-3.581,1.838,1.839-3.581,3.581,3.581,3.581Z"
|
|
9
|
+
}
|
|
10
|
+
));
|
|
5
11
|
}
|
|
6
12
|
cancel.props = [];
|
|
7
13
|
var config_default = cancel;
|
package/CancelIcon/config.d.ts
CHANGED
package/CancelIcon/config.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/CancelIcon/config.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface CancelType {}\n\nexport function cancel(): React.ReactElement<any> {\n return (\n <>\n <IconBase\n as=\"path\"\n d=\"M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10,10-4.477,10-10S17.523,2,12,2ZM17.419,15.581l-1.838,1.838-3.581-3.581-3.581,3.581-1.838-1.838,3.581-3.581-3.581-3.581,1.838-1.839,3.581,3.581,3.581-3.581,1.838,1.839-3.581,3.581,3.581,3.581Z\"\n />\n </>\n );\n}\n\ncancel.props = [];\n\nexport default cancel;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAId,SAAS,SAAkC;AAChD,SACE,0DACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,CACF;AAEJ;AAEA,OAAO,QAAQ,CAAC;AAEhB,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
2
|
+
import IconBase from "@digigov/react-icons/IconBase";
|
|
3
3
|
const caret = ({ direction = "left" }) => {
|
|
4
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, direction === "left" && /* @__PURE__ */ React.createElement(
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, direction === "left" && /* @__PURE__ */ React.createElement(IconBase, { as: "path", d: "M18,22V2L6,12L18,22z" }), direction === "right" && /* @__PURE__ */ React.createElement(IconBase, { as: "path", d: "M6,2v20l12-10L6,2z" }), direction === "up" && /* @__PURE__ */ React.createElement(IconBase, { as: "path", d: "M2,18h20L12,6L2,18z" }), direction === "down" && /* @__PURE__ */ React.createElement(IconBase, { as: "path", d: "M22,6H2l10,12L22,6z" }));
|
|
5
5
|
};
|
|
6
6
|
caret.props = ["direction"];
|
|
7
7
|
var config_default = caret;
|
package/CaretIcon/config.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/CaretIcon/config.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface CaretType {\n /**\n * @value 'left'\n * @value 'right'\n * @value 'up'\n * @value 'down'\n * @default 'left'\n */\n direction?: 'left' | 'right' | 'up' | 'down';\n}\n\nexport const caret: React.FC<CaretType> = ({ direction = 'left' }) => {\n return (\n <>\n {direction === 'left' && <IconBase as=\"path\" d=\"M18,22V2L6,12L18,22z\" />}\n {direction === 'right' && <IconBase as=\"path\" d=\"M6,2v20l12-10L6,2z\" />}\n {direction === 'up' && <IconBase as=\"path\" d=\"M2,18h20L12,6L2,18z\" />}\n {direction === 'down' && <IconBase as=\"path\" d=\"M22,6H2l10,12L22,6z\" />}\n </>\n );\n};\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\ncaret.props = ['direction'];\n\nexport default caret;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAad,MAAM,QAA6B,CAAC,EAAE,YAAY,OAAO,MAAM;AACpE,SACE,0DACG,cAAc,UAAU,oCAAC,YAAS,IAAG,QAAO,GAAE,wBAAuB,GACrE,cAAc,WAAW,oCAAC,YAAS,IAAG,QAAO,GAAE,sBAAqB,GACpE,cAAc,QAAQ,oCAAC,YAAS,IAAG,QAAO,GAAE,uBAAsB,GAClE,cAAc,UAAU,oCAAC,YAAS,IAAG,QAAO,GAAE,uBAAsB,CACvE;AAEJ;AAGA,MAAM,QAAQ,CAAC,WAAW;AAE1B,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/ChatIcon/config/index.js
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
2
|
+
import IconBase from "@digigov/react-icons/IconBase";
|
|
3
3
|
const chat = ({ dots = false }) => {
|
|
4
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, dots ? /* @__PURE__ */ React.createElement(
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, dots ? /* @__PURE__ */ React.createElement(
|
|
5
|
+
IconBase,
|
|
6
|
+
{
|
|
7
|
+
as: "path",
|
|
8
|
+
d: "M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2ZM7.65,11.3c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3ZM12,11.3c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3ZM16.35,11.3c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3Z"
|
|
9
|
+
}
|
|
10
|
+
) : /* @__PURE__ */ React.createElement(IconBase, { as: "path", d: "M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z" }));
|
|
5
11
|
};
|
|
6
12
|
chat.props = ["dots"];
|
|
7
13
|
var config_default = chat;
|
package/ChatIcon/config.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/ChatIcon/config.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface ChatType {\n /**\n * @value 'false'\n * @value 'true'\n * @default 'false'\n */\n dots?: boolean;\n}\n\nexport const chat: React.FC<ChatType> = ({ dots = false }) => {\n return (\n <>\n {dots ? (\n <IconBase\n as=\"path\"\n d=\"M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2ZM7.65,11.3c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3ZM12,11.3c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3ZM16.35,11.3c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3Z\"\n />\n ) : (\n <IconBase as=\"path\" d=\"M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z\" />\n )}\n </>\n );\n};\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nchat.props = ['dots'];\n\nexport default chat;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAWd,MAAM,OAA2B,CAAC,EAAE,OAAO,MAAM,MAAM;AAC5D,SACE,0DACG,OACC;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,IAEA,oCAAC,YAAS,IAAG,QAAO,GAAE,2CAA0C,CAEpE;AAEJ;AAIA,KAAK,QAAQ,CAAC,MAAM;AAEpB,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
2
|
+
import IconBase from "@digigov/react-icons/IconBase";
|
|
3
3
|
function check() {
|
|
4
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
5
|
+
IconBase,
|
|
6
|
+
{
|
|
7
|
+
as: "polygon",
|
|
8
|
+
points: "9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
|
|
9
|
+
}
|
|
10
|
+
));
|
|
5
11
|
}
|
|
6
12
|
check.props = [];
|
|
7
13
|
var config_default = check;
|
package/CheckIcon/config.d.ts
CHANGED
package/CheckIcon/config.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/CheckIcon/config.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface CheckType {}\n\nexport function check(): React.ReactElement<any> {\n return (\n <>\n <IconBase\n as=\"polygon\"\n points=\"9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94\"\n />\n </>\n );\n}\n\ncheck.props = [];\n\nexport default check;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAId,SAAS,QAAiC;AAC/C,SACE,0DACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,QAAO;AAAA;AAAA,EACT,CACF;AAEJ;AAEA,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,31 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
2
|
+
import IconBase from "@digigov/react-icons/IconBase";
|
|
3
3
|
const chevron = ({ direction = "right" }) => {
|
|
4
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, direction === "left" && /* @__PURE__ */ React.createElement(
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, direction === "left" && /* @__PURE__ */ React.createElement(
|
|
5
|
+
IconBase,
|
|
6
|
+
{
|
|
7
|
+
as: "path",
|
|
8
|
+
d: "M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z"
|
|
9
|
+
}
|
|
10
|
+
), direction === "right" && /* @__PURE__ */ React.createElement(
|
|
11
|
+
IconBase,
|
|
12
|
+
{
|
|
13
|
+
as: "path",
|
|
14
|
+
d: "M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z"
|
|
15
|
+
}
|
|
16
|
+
), direction === "up" && /* @__PURE__ */ React.createElement(
|
|
17
|
+
IconBase,
|
|
18
|
+
{
|
|
19
|
+
as: "path",
|
|
20
|
+
d: "M2,15.8l2.3,2.4l7.7-7.6l7.6,7.6l2.4-2.4l-10-10L2,15.8z"
|
|
21
|
+
}
|
|
22
|
+
), direction === "down" && /* @__PURE__ */ React.createElement(
|
|
23
|
+
IconBase,
|
|
24
|
+
{
|
|
25
|
+
as: "path",
|
|
26
|
+
d: "M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z"
|
|
27
|
+
}
|
|
28
|
+
));
|
|
5
29
|
};
|
|
6
30
|
chevron.props = ["direction"];
|
|
7
31
|
var config_default = chevron;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/ChevronIcon/config.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface ChevronType {\n /**\n * direction sets the direction of the chevron icon.\n * @value 'left'\n * @value 'right'\n * @value 'up'\n * @value 'down'\n * @default 'right'\n */\n direction?: 'left' | 'right' | 'up' | 'down';\n}\n\nexport const chevron: React.FC<ChevronType> = ({ direction = 'right' }) => {\n return (\n <>\n {direction === 'left' && (\n <IconBase\n as=\"path\"\n d=\"M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z\"\n />\n )}\n {direction === 'right' && (\n <IconBase\n as=\"path\"\n d=\"M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z\"\n />\n )}\n {direction === 'up' && (\n <IconBase\n as=\"path\"\n d=\"M2,15.8l2.3,2.4l7.7-7.6l7.6,7.6l2.4-2.4l-10-10L2,15.8z\"\n />\n )}\n {direction === 'down' && (\n <IconBase\n as=\"path\"\n d=\"M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z\"\n />\n )}\n </>\n );\n};\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nchevron.props = ['direction'];\n\nexport default chevron;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAcd,MAAM,UAAiC,CAAC,EAAE,YAAY,QAAQ,MAAM;AACzE,SACE,0DACG,cAAc,UACb;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,GAED,cAAc,WACb;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,GAED,cAAc,QACb;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,GAED,cAAc,UACb;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,CAEJ;AAEJ;AAGA,QAAQ,QAAQ,CAAC,WAAW;AAE5B,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
2
|
+
import IconBase from "@digigov/react-icons/IconBase";
|
|
3
3
|
function close() {
|
|
4
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
5
|
+
IconBase,
|
|
6
|
+
{
|
|
7
|
+
as: "polygon",
|
|
8
|
+
points: "14.4,11.8 22,4.2 19.7,1.8 12,9.4 4.4,1.8 2,4.2 9.7,11.9 2.1,19.5 4.4,21.9 12.1,14.3 19.7,21.9 22.1,19.5 "
|
|
9
|
+
}
|
|
10
|
+
));
|
|
5
11
|
}
|
|
6
12
|
close.props = [];
|
|
7
13
|
var config_default = close;
|
package/CloseIcon/config.d.ts
CHANGED
package/CloseIcon/config.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/CloseIcon/config.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface CloseType {}\n\nexport function close(): React.ReactElement<any> {\n return (\n <>\n <IconBase\n as=\"polygon\"\n points=\"14.4,11.8 22,4.2 19.7,1.8 12,9.4 4.4,1.8 2,4.2 9.7,11.9 2.1,19.5 4.4,21.9 12.1,14.3 19.7,21.9 22.1,19.5 \"\n />\n </>\n );\n}\n\nclose.props = [];\n\nexport default close;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAId,SAAS,QAAiC;AAC/C,SACE,0DACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,QAAO;AAAA;AAAA,EACT,CACF;AAEJ;AAEA,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
2
|
+
import IconBase from "@digigov/react-icons/IconBase";
|
|
3
3
|
function download() {
|
|
4
|
-
return /* @__PURE__ */ React.createElement(
|
|
4
|
+
return /* @__PURE__ */ React.createElement(IconBase, { as: "g" }, /* @__PURE__ */ React.createElement(
|
|
5
|
+
IconBase,
|
|
6
|
+
{
|
|
7
|
+
as: "polygon",
|
|
8
|
+
points: "12 18 20 10 15.3 10 15.3 2 8.7 2 8.7 10 4 10 12 18"
|
|
9
|
+
}
|
|
10
|
+
), /* @__PURE__ */ React.createElement(IconBase, { as: "rect", x: "6", y: "18.699", width: "12", height: "3.301" }));
|
|
5
11
|
}
|
|
6
12
|
download.props = [];
|
|
7
13
|
var config_default = download;
|
package/DownloadIcon/config.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/DownloadIcon/config.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface DownloadType {}\n\nexport function download(): React.ReactElement<any> {\n return (\n <IconBase as=\"g\">\n <IconBase\n as=\"polygon\"\n points=\"12 18 20 10 15.3 10 15.3 2 8.7 2 8.7 10 4 10 12 18\"\n />\n <IconBase as=\"rect\" x=\"6\" y=\"18.699\" width=\"12\" height=\"3.301\" />\n </IconBase>\n );\n}\n\ndownload.props = [];\n\nexport default download;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAId,SAAS,WAAoC;AAClD,SACE,oCAAC,YAAS,IAAG,OACX;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,QAAO;AAAA;AAAA,EACT,GACA,oCAAC,YAAS,IAAG,QAAO,GAAE,KAAI,GAAE,UAAS,OAAM,MAAK,QAAO,SAAQ,CACjE;AAEJ;AAEA,SAAS,QAAQ,CAAC;AAElB,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
2
|
+
import IconBase from "@digigov/react-icons/IconBase";
|
|
3
3
|
function exclamation() {
|
|
4
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
5
|
+
IconBase,
|
|
6
|
+
{
|
|
7
|
+
as: "path",
|
|
8
|
+
d: "M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z"
|
|
9
|
+
}
|
|
10
|
+
), /* @__PURE__ */ React.createElement(IconBase, { as: "circle", cx: "11.993", cy: "19.9", r: "2.1" }));
|
|
5
11
|
}
|
|
6
12
|
exclamation.props = [];
|
|
7
13
|
var config_default = exclamation;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/ExclamationIcon/config.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface ExclamationType {}\n\nexport function exclamation(): React.ReactElement<any> {\n return (\n <>\n <IconBase\n as=\"path\"\n d=\"M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z\"\n />\n <IconBase as=\"circle\" cx=\"11.993\" cy=\"19.9\" r=\"2.1\" />\n </>\n );\n}\n\nexclamation.props = [];\n\nexport default exclamation;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAId,SAAS,cAAuC;AACrD,SACE,0DACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,GACA,oCAAC,YAAS,IAAG,UAAS,IAAG,UAAS,IAAG,QAAO,GAAE,OAAM,CACtD;AAEJ;AAEA,YAAY,QAAQ,CAAC;AAErB,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
2
|
+
import IconBase from "@digigov/react-icons/IconBase";
|
|
3
3
|
function globe() {
|
|
4
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
5
|
+
IconBase,
|
|
6
|
+
{
|
|
7
|
+
as: "path",
|
|
8
|
+
d: "M12,1C5.925,1,1,5.925,1,12s4.925,11,11,11,11-4.925,11-11S18.075,1,12,1ZM19.203,7.7h-2.6c-.236-1.22-.572-2.32-.98-3.267,1.49.716,2.735,1.857,3.58,3.267ZM20.4,12c0,.582-.06,1.151-.173,1.7h-3.292c.039-.556.066-1.12.066-1.7s-.026-1.145-.066-1.7h3.292c.113.549.173,1.118.173,1.7ZM12,20.378c-.484-.265-1.393-1.667-1.943-4.078h3.885c-.55,2.411-1.459,3.814-1.943,4.078ZM9.667,13.7c-.042-.537-.068-1.103-.068-1.7s.025-1.163.068-1.7h4.665c.042.537.068,1.103.068,1.7s-.025,1.163-.068,1.7h-4.665ZM3.6,12c0-.582.06-1.151.173-1.7h3.292c-.039.556-.066,1.12-.066,1.7s.026,1.145.066,1.7h-3.292c-.113-.549-.173-1.118-.173-1.7ZM12,3.622c.484.265,1.393,1.667,1.943,4.079h-3.885c.55-2.411,1.459-3.814,1.943-4.079ZM8.377,4.433c-.409.947-.745,2.047-.98,3.267h-2.6c.845-1.411,2.09-2.551,3.58-3.267ZM4.797,16.3h2.6c.236,1.22.572,2.32.98,3.267-1.49-.716-2.735-1.857-3.58-3.267ZM15.623,19.567c.409-.947.745-2.047.98-3.267h2.6c-.845,1.411-2.09,2.551-3.58,3.267Z"
|
|
9
|
+
}
|
|
10
|
+
));
|
|
5
11
|
}
|
|
6
12
|
globe.props = [];
|
|
7
13
|
var config_default = globe;
|
package/GlobeIcon/config.d.ts
CHANGED
package/GlobeIcon/config.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/GlobeIcon/config.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport IconBase from '@digigov/react-icons/IconBase';\n\nexport interface GlobeType {}\n\nexport function globe(): React.ReactElement<any> {\n return (\n <>\n <IconBase\n as=\"path\"\n d=\"M12,1C5.925,1,1,5.925,1,12s4.925,11,11,11,11-4.925,11-11S18.075,1,12,1ZM19.203,7.7h-2.6c-.236-1.22-.572-2.32-.98-3.267,1.49.716,2.735,1.857,3.58,3.267ZM20.4,12c0,.582-.06,1.151-.173,1.7h-3.292c.039-.556.066-1.12.066-1.7s-.026-1.145-.066-1.7h3.292c.113.549.173,1.118.173,1.7ZM12,20.378c-.484-.265-1.393-1.667-1.943-4.078h3.885c-.55,2.411-1.459,3.814-1.943,4.078ZM9.667,13.7c-.042-.537-.068-1.103-.068-1.7s.025-1.163.068-1.7h4.665c.042.537.068,1.103.068,1.7s-.025,1.163-.068,1.7h-4.665ZM3.6,12c0-.582.06-1.151.173-1.7h3.292c-.039.556-.066,1.12-.066,1.7s.026,1.145.066,1.7h-3.292c-.113-.549-.173-1.118-.173-1.7ZM12,3.622c.484.265,1.393,1.667,1.943,4.079h-3.885c.55-2.411,1.459-3.814,1.943-4.079ZM8.377,4.433c-.409.947-.745,2.047-.98,3.267h-2.6c.845-1.411,2.09-2.551,3.58-3.267ZM4.797,16.3h2.6c.236,1.22.572,2.32.98,3.267-1.49-.716-2.735-1.857-3.58-3.267ZM15.623,19.567c.409-.947.745-2.047.98-3.267h2.6c-.845,1.411-2.09,2.551-3.58,3.267Z\"\n />\n </>\n );\n}\n\nglobe.props = [];\n\nexport default globe;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AAId,SAAS,QAAiC;AAC/C,SACE,0DACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,GAAE;AAAA;AAAA,EACJ,CACF;AAEJ;AAEA,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/Icon/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { SvgIconProps } from '@digigov/react-icons/SvgIcon';
|
|
3
2
|
import type { IconTypes } from '@digigov/react-icons/icons';
|
|
3
|
+
import { SvgIconProps } from '@digigov/react-icons/SvgIcon';
|
|
4
4
|
export type IconProps<N extends keyof IconTypes> = SvgIconProps & IconTypes[N] & {
|
|
5
5
|
/**
|
|
6
6
|
* ref is optional.
|
package/Icon/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import SvgIcon from "@digigov/react-icons/SvgIcon";
|
|
4
3
|
import * as icons from "@digigov/react-icons/icons";
|
|
4
|
+
import SvgIcon from "@digigov/react-icons/SvgIcon";
|
|
5
5
|
const Icon = React.forwardRef(function Icon2({ icon = "chevron", className, ...props }, ref) {
|
|
6
6
|
const IconComponent = icons[icon];
|
|
7
7
|
const iconProps = IconComponent?.props.reduce((compProps, propName) => {
|
package/Icon/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Icon/index.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAU;AACjB,OAAO,aAA+B;
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport * as icons from '@digigov/react-icons/icons';\nimport type { IconTypes } from '@digigov/react-icons/icons';\nimport SvgIcon, { SvgIconProps } from '@digigov/react-icons/SvgIcon';\n\nexport type IconProps<N extends keyof IconTypes> = SvgIconProps &\n IconTypes[N] & {\n /**\n * ref is optional.\n * ref prop declares the reference of the svg icon component.\n * It can be used to to access the DOM element and the React element.\n */\n ref?: React.Ref<SVGSVGElement>;\n /**\n * icon is optional, but strongly recommended.\n * Default value is 'chevron'.\n * Use this prop to display the icon you want.\n */\n icon?: N;\n };\n\ntype IconComponent = <C extends keyof IconTypes>(\n props: IconProps<C>\n) => React.ReactNode | null;\nexport type IconNames = keyof IconTypes;\n/**\n * Icon is used whenever we need a GOV.GR icon.\n * Choose the icon from the list in icon prop.\n */\nexport const Icon: IconComponent = React.forwardRef<\n SVGSVGElement,\n IconProps<IconNames>\n>(function Icon(\n { icon = 'chevron', className, ...props }: IconProps<IconNames>,\n ref\n) {\n const IconComponent = icons[icon];\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n const iconProps = IconComponent?.props.reduce((compProps, propName) => {\n const value = props[propName];\n delete props[propName];\n return {\n ...compProps,\n [propName]: value,\n };\n }, {});\n\n return (\n <SvgIcon\n ref={ref}\n {...props}\n className={clsx(className, {\n [`ds-svg-icon--${icon}`]: true,\n })}\n >\n <IconComponent {...iconProps} />\n </SvgIcon>\n );\n});\n\nexport default Icon;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAU;AACjB,YAAY,WAAW;AAEvB,OAAO,aAA+B;AA0B/B,MAAM,OAAsB,MAAM,WAGvC,SAASA,MACT,EAAE,OAAO,WAAW,WAAW,GAAG,MAAM,GACxC,KACA;AACA,QAAM,gBAAgB,MAAM,IAAI;AAGhC,QAAM,YAAY,eAAe,MAAM,OAAO,CAAC,WAAW,aAAa;AACrE,UAAM,QAAQ,MAAM,QAAQ;AAC5B,WAAO,MAAM,QAAQ;AACrB,WAAO;AAAA,MACL,GAAG;AAAA,MACH,CAAC,QAAQ,GAAG;AAAA,IACd;AAAA,EACF,GAAG,CAAC,CAAC;AAEL,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACC,GAAG;AAAA,MACJ,WAAW,KAAK,WAAW;AAAA,QACzB,CAAC,gBAAgB,IAAI,EAAE,GAAG;AAAA,MAC5B,CAAC;AAAA;AAAA,IAED,oCAAC,iBAAe,GAAG,WAAW;AAAA,EAChC;AAEJ,CAAC;AAED,IAAO,eAAQ;",
|
|
6
6
|
"names": ["Icon"]
|
|
7
7
|
}
|