@digigov/react-icons 2.0.0-rc.17 → 2.0.0-rc.19
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 +4 -2
- package/AccessibilityIcon/config.js.map +2 -2
- package/ArrowIcon/config/index.js +2 -1
- package/ArrowIcon/config.js.map +2 -2
- package/Base/index.d.ts +1 -1
- package/Base/index.js +1 -0
- package/Base/index.js.map +2 -2
- package/BurgerIcon/config/index.js +6 -4
- package/BurgerIcon/config.js.map +2 -2
- package/CancelIcon/config/index.js +2 -1
- package/CancelIcon/config.js.map +2 -2
- package/CaretIcon/config/index.js +2 -1
- package/CaretIcon/config.js.map +2 -2
- package/ChatIcon/config/index.js +2 -1
- package/ChatIcon/config.js.map +2 -2
- package/CheckIcon/config/index.js +2 -1
- package/CheckIcon/config.js.map +2 -2
- package/ChevronIcon/config/index.js +2 -1
- package/ChevronIcon/config.js.map +2 -2
- package/CloseIcon/config/index.js +2 -1
- package/CloseIcon/config.js.map +2 -2
- package/DownloadIcon/config/index.js +2 -1
- package/DownloadIcon/config.js.map +2 -2
- package/ExclamationIcon/config/index.js +2 -1
- package/ExclamationIcon/config.js.map +2 -2
- package/GlobeIcon/config/index.js +2 -1
- package/GlobeIcon/config.js.map +2 -2
- package/Icon/index.d.ts +1 -1
- package/Icon/index.js.map +1 -1
- package/LockIcon/config/index.js +2 -1
- package/LockIcon/config.js.map +2 -2
- package/LoginIcon/config/index.js +2 -1
- package/LoginIcon/config.js.map +2 -2
- package/MinusIcon/config/index.js +2 -1
- package/MinusIcon/config.js.map +2 -2
- package/MoreVertIcon/config/index.js +2 -1
- package/MoreVertIcon/config.js.map +2 -2
- package/PdfFileIcon/config/index.js +2 -1
- package/PdfFileIcon/config.js.map +2 -2
- package/PlusIcon/config/index.js +2 -1
- package/PlusIcon/config.js.map +2 -2
- package/PrintIcon/config/index.js +2 -1
- package/PrintIcon/config.js.map +2 -2
- package/ReplyIcon/config/index.js +2 -1
- package/ReplyIcon/config.js.map +2 -2
- package/RestoreIcon/config/index.js +2 -1
- package/RestoreIcon/config.js.map +2 -2
- package/SearchIcon/config/index.js +2 -1
- package/SearchIcon/config.js.map +2 -2
- package/SvgIcon/index.d.ts +1 -1
- package/SvgIcon/index.js.map +1 -1
- package/UncheckIcon/config/index.js +2 -1
- package/UncheckIcon/config.js.map +2 -2
- package/cjs/AccessibilityIcon/config/index.js +4 -2
- package/cjs/AccessibilityIcon/config.js.map +3 -3
- package/cjs/ArrowIcon/config/index.js +2 -1
- package/cjs/ArrowIcon/config.js.map +3 -3
- package/cjs/Base/index.js +1 -0
- package/cjs/Base/index.js.map +2 -2
- package/cjs/BurgerIcon/config/index.js +6 -4
- package/cjs/BurgerIcon/config.js.map +3 -3
- package/cjs/CancelIcon/config/index.js +2 -1
- package/cjs/CancelIcon/config.js.map +3 -3
- package/cjs/CaretIcon/config/index.js +2 -1
- package/cjs/CaretIcon/config.js.map +3 -3
- package/cjs/ChatIcon/config/index.js +2 -1
- package/cjs/ChatIcon/config.js.map +3 -3
- package/cjs/CheckIcon/config/index.js +2 -1
- package/cjs/CheckIcon/config.js.map +3 -3
- package/cjs/ChevronIcon/config/index.js +2 -1
- package/cjs/ChevronIcon/config.js.map +3 -3
- package/cjs/CloseIcon/config/index.js +2 -1
- package/cjs/CloseIcon/config.js.map +3 -3
- package/cjs/DownloadIcon/config/index.js +2 -1
- package/cjs/DownloadIcon/config.js.map +3 -3
- package/cjs/ExclamationIcon/config/index.js +2 -1
- package/cjs/ExclamationIcon/config.js.map +3 -3
- package/cjs/GlobeIcon/config/index.js +2 -1
- package/cjs/GlobeIcon/config.js.map +3 -3
- package/cjs/Icon/index.js.map +1 -1
- package/cjs/LockIcon/config/index.js +2 -1
- package/cjs/LockIcon/config.js.map +3 -3
- package/cjs/LoginIcon/config/index.js +2 -1
- package/cjs/LoginIcon/config.js.map +3 -3
- package/cjs/MinusIcon/config/index.js +2 -1
- package/cjs/MinusIcon/config.js.map +3 -3
- package/cjs/MoreVertIcon/config/index.js +2 -1
- package/cjs/MoreVertIcon/config.js.map +3 -3
- package/cjs/PdfFileIcon/config/index.js +2 -1
- package/cjs/PdfFileIcon/config.js.map +3 -3
- package/cjs/PlusIcon/config/index.js +2 -1
- package/cjs/PlusIcon/config.js.map +3 -3
- package/cjs/PrintIcon/config/index.js +2 -1
- package/cjs/PrintIcon/config.js.map +3 -3
- package/cjs/ReplyIcon/config/index.js +2 -1
- package/cjs/ReplyIcon/config.js.map +3 -3
- package/cjs/RestoreIcon/config/index.js +2 -1
- package/cjs/RestoreIcon/config.js.map +3 -3
- package/cjs/SearchIcon/config/index.js +2 -1
- package/cjs/SearchIcon/config.js.map +3 -3
- package/cjs/SvgIcon/index.js.map +1 -1
- package/cjs/UncheckIcon/config/index.js +2 -1
- package/cjs/UncheckIcon/config.js.map +3 -3
- package/index.js +1 -1
- package/lazy.d.ts +3 -3
- package/package.json +4 -5
- package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +189 -371
- package/src/AccessibilityIcon/config.tsx +5 -4
- package/src/AccessibilityIcon/index.test.tsx +10 -10
- package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +52 -131
- package/src/ArrowIcon/config.tsx +5 -4
- package/src/ArrowIcon/index.test.tsx +5 -5
- package/src/Base/index.tsx +2 -1
- package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +168 -289
- package/src/BurgerIcon/config.tsx +6 -5
- package/src/BurgerIcon/index.test.tsx +7 -7
- package/src/CancelIcon/__snapshots__/index.test.tsx.snap +91 -233
- package/src/CancelIcon/config.tsx +3 -2
- package/src/CancelIcon/index.test.tsx +8 -8
- package/src/CaretIcon/__snapshots__/index.test.tsx.snap +52 -131
- package/src/CaretIcon/config.tsx +5 -4
- package/src/CaretIcon/index.test.tsx +5 -5
- package/src/ChatIcon/__snapshots__/index.test.tsx.snap +104 -267
- package/src/ChatIcon/config.tsx +3 -2
- package/src/ChatIcon/index.test.tsx +9 -9
- package/src/CheckIcon/__snapshots__/index.test.tsx.snap +104 -266
- package/src/CheckIcon/config.tsx +3 -2
- package/src/CheckIcon/index.test.tsx +9 -9
- package/src/ChevronIcon/__snapshots__/index.test.tsx.snap +52 -131
- package/src/ChevronIcon/config.tsx +5 -4
- package/src/ChevronIcon/index.test.tsx +5 -5
- package/src/CloseIcon/__snapshots__/index.test.tsx.snap +13 -29
- package/src/CloseIcon/config.tsx +3 -2
- package/src/CloseIcon/index.test.tsx +2 -2
- package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +147 -289
- package/src/DownloadIcon/config.tsx +6 -5
- package/src/DownloadIcon/index.test.tsx +8 -8
- package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +126 -268
- package/src/ExclamationIcon/config.tsx +4 -3
- package/src/ExclamationIcon/index.test.tsx +8 -8
- package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +52 -128
- package/src/GlobeIcon/config.tsx +3 -2
- package/src/GlobeIcon/index.test.tsx +5 -5
- package/src/Icon/__snapshots__/index.test.tsx.snap +127 -270
- package/src/Icon/index.test.tsx +11 -11
- package/src/Icon/index.tsx +1 -1
- package/src/LockIcon/__snapshots__/index.test.tsx.snap +91 -233
- package/src/LockIcon/config.tsx +3 -2
- package/src/LockIcon/index.test.tsx +8 -8
- package/src/LoginIcon/__snapshots__/index.test.tsx.snap +112 -254
- package/src/LoginIcon/config.tsx +4 -3
- package/src/LoginIcon/index.test.tsx +8 -8
- package/src/MinusIcon/__snapshots__/index.test.tsx.snap +112 -254
- package/src/MinusIcon/config.tsx +4 -3
- package/src/MinusIcon/index.test.tsx +8 -8
- package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +225 -407
- package/src/MoreVertIcon/config.tsx +5 -4
- package/src/MoreVertIcon/index.test.tsx +10 -10
- package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +182 -324
- package/src/PdfFileIcon/config.tsx +10 -9
- package/src/PdfFileIcon/index.test.tsx +8 -8
- package/src/PlusIcon/__snapshots__/index.test.tsx.snap +91 -233
- package/src/PlusIcon/config.tsx +3 -2
- package/src/PlusIcon/index.test.tsx +8 -8
- package/src/PrintIcon/__snapshots__/index.test.tsx.snap +133 -275
- package/src/PrintIcon/config.tsx +4 -3
- package/src/PrintIcon/index.test.tsx +8 -8
- package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +91 -233
- package/src/ReplyIcon/config.tsx +3 -2
- package/src/ReplyIcon/index.test.tsx +8 -8
- package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +147 -289
- package/src/RestoreIcon/config.tsx +5 -4
- package/src/RestoreIcon/index.test.tsx +8 -8
- package/src/SearchIcon/__snapshots__/index.test.tsx.snap +13 -29
- package/src/SearchIcon/config.tsx +3 -2
- package/src/SearchIcon/index.test.tsx +2 -2
- package/src/SvgIcon/__snapshots__/index.test.tsx.snap +85 -221
- package/src/SvgIcon/index.test.tsx +48 -20
- package/src/SvgIcon/index.tsx +1 -1
- package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +117 -299
- package/src/UncheckIcon/config.tsx +3 -2
- package/src/UncheckIcon/index.test.tsx +10 -10
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import Base from "@digigov/react-icons/Base";
|
|
2
3
|
function accessibility() {
|
|
3
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("title"
|
|
4
|
-
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Base, { 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(Base, { as: "circle", cx: "12", cy: "3", r: "3" }), /* @__PURE__ */ React.createElement(
|
|
5
|
+
Base,
|
|
5
6
|
{
|
|
7
|
+
as: "path",
|
|
6
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"
|
|
7
9
|
}
|
|
8
10
|
));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/AccessibilityIcon/config.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\n\nexport interface AccessibilityType {}\n\nexport function accessibility(): React.ReactElement {\n return (\n <>\n <title>\u039C\u03B5\u03BD\u03BF\u03CD \u03A0\u03C1\u03BF\u03C3\u03B2\u03B1\u03C3\u03B9\u03BC\u03CC\u03C4\u03B7\u03C4\u03B1\u03C2</
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Base from '@digigov/react-icons/Base';\n\nexport interface AccessibilityType { }\n\nexport function accessibility(): React.ReactElement {\n return (\n <>\n <Base as=\"title\">\u039C\u03B5\u03BD\u03BF\u03CD \u03A0\u03C1\u03BF\u03C3\u03B2\u03B1\u03C3\u03B9\u03BC\u03CC\u03C4\u03B7\u03C4\u03B1\u03C2</Base>\n <Base as=\"circle\" cx=\"12\" cy=\"3\" r=\"3\" />\n <Base 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,UAAU;AAIV,SAAS,gBAAoC;AAClD,SACE,0DACE,oCAAC,QAAK,IAAG,WAAQ,2HAAqB,GACtC,oCAAC,QAAK,IAAG,UAAS,IAAG,MAAK,IAAG,KAAI,GAAE,KAAI,GACvC;AAAA,IAAC;AAAA;AAAA,MAAK,IAAG;AAAA,MACP,GAAE;AAAA;AAAA,EAIJ,CACF;AAEJ;AAEA,cAAc,QAAQ,CAAC;AAEvB,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import Base from "@digigov/react-icons/Base";
|
|
2
3
|
const arrow = ({ direction = "up" }) => {
|
|
3
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, direction === "left" && /* @__PURE__ */ React.createElement("polygon",
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, direction === "left" && /* @__PURE__ */ React.createElement(Base, { as: "polygon", 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" }), direction === "right" && /* @__PURE__ */ React.createElement(Base, { as: "polygon", 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" }), direction === "up" && /* @__PURE__ */ React.createElement(Base, { as: "polygon", 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" }), direction === "down" && /* @__PURE__ */ React.createElement(Base, { as: "polygon", 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" }));
|
|
4
5
|
};
|
|
5
6
|
arrow.props = ["direction"];
|
|
6
7
|
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';\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 <polygon 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 {direction === 'right' && (\n <polygon 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 {direction === 'up' && (\n <polygon 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 {direction === 'down' && (\n <polygon 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// 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;
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Base from '@digigov/react-icons/Base';\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 <Base as=\"polygon\" 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 {direction === 'right' && (\n <Base as=\"polygon\" 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 {direction === 'up' && (\n <Base as=\"polygon\" 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 {direction === 'down' && (\n <Base as=\"polygon\" 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// 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,UAAU;AAaV,MAAM,QAA6B,CAAC,EAAE,YAAY,KAAK,MAAM;AAClE,SACE,0DACG,cAAc,UACb,oCAAC,QAAK,IAAG,WAAU,QAAO,yFAAwF,GAEnH,cAAc,WACb,oCAAC,QAAK,IAAG,WAAU,QAAO,sFAAqF,GAEhH,cAAc,QACb,oCAAC,QAAK,IAAG,WAAU,QAAO,qFAAoF,GAE/G,cAAc,UACb,oCAAC,QAAK,IAAG,WAAU,QAAO,uFAAsF,CAEpH;AAEJ;AAGA,MAAM,QAAQ,CAAC,WAAW;AAE1B,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/Base/index.d.ts
CHANGED
|
@@ -90,6 +90,6 @@ type spacingValues = 0 | 0.5 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4 | 5 | 6 | 7 | 8 |
|
|
|
90
90
|
/**
|
|
91
91
|
* This is the type used in the type annotation for the component
|
|
92
92
|
*/
|
|
93
|
-
type BaseComponent = <C extends React.ElementType = 'span'>(props: BaseProps<C>) => React.
|
|
93
|
+
type BaseComponent = <C extends React.ElementType = 'span'>(props: BaseProps<C>) => React.ReactNode | null;
|
|
94
94
|
export declare const Base: BaseComponent;
|
|
95
95
|
export default Base;
|
package/Base/index.js
CHANGED
|
@@ -47,6 +47,7 @@ const Base = React.forwardRef(function Base2({
|
|
|
47
47
|
return /* @__PURE__ */ React.createElement(
|
|
48
48
|
Component,
|
|
49
49
|
{
|
|
50
|
+
as,
|
|
50
51
|
className: clsx(className, {
|
|
51
52
|
[`ds-m-${margin}`]: margin !== void 0 ? true : void 0,
|
|
52
53
|
[`ds-mt-${marginTop}`]: marginTop !== void 0 ? true : void 0,
|
package/Base/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Base/index.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\n\ntype AsProp<C extends React.ElementType> = {\n as?: C;\n};\n\ntype PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);\n\n// This is the first reusable type utility we built\ntype PolymorphicComponentProp<\n C extends React.ElementType,\n Props = Record<string, unknown>,\n> = React.PropsWithChildren<Props & AsProp<C>> &\n Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;\n\n// This is a new type utitlity with ref!\ntype PolymorphicComponentPropWithRef<\n C extends React.ElementType,\n Props = Record<string, unknown>,\n> = PolymorphicComponentProp<C, Props> & { ref?: any };\n\n// This is the type for the \"ref\" only\ntype PolymorphicRef<C extends React.ElementType> =\n React.ComponentPropsWithRef<C>['ref'];\n\n/**\n * This is the updated component props using PolymorphicComponentPropWithRef\n */\nexport type BaseProps<C extends React.ElementType> =\n PolymorphicComponentPropWithRef<\n C,\n {\n /** margin is optional. It has not a default value. */\n margin?: spacingValues;\n /** marginTop is optional. It has not a default value. */\n marginTop?: spacingValues;\n /** marginBottom is optional. It has not a default value. */\n marginBottom?: spacingValues;\n /** marginLeft is optional. It has not a default value. */\n marginLeft?: spacingValues;\n /** marginRight is optional. It has not a default value. */\n marginRight?: spacingValues;\n /** Alternative for margin. Margin is optional. It has not a default value. */\n m?: spacingValues;\n /** Alternative for marginTop. MarginTop is optional. It has not a default value. */\n mt?: spacingValues;\n /** Alternative for marginBottom. MarginBottom is optional. It has not a default value. */\n mb?: spacingValues;\n /** Alternative for marginLeft. MarginLeft is optional. It has not a default value. */\n ml?: spacingValues;\n /** Alternative for marginRight. MarginRight is optional. It has not a default value. */\n mr?: spacingValues;\n /** Alternative for marginX. MarginX is optional. It has not a default value. */\n mx?: spacingValues;\n /** Alternative for marginY. MarginY is optional. It has not a default value. */\n my?: spacingValues;\n /** padding is optional. It has not a default value. */\n padding?: spacingValues;\n /** paddingTop is optional. It has not a default value. */\n paddingTop?: spacingValues;\n /** paddingBottom is optional. It has not a default value. */\n paddingBottom?: spacingValues;\n /** paddingLeft is optional. It has not a default value. */\n paddingLeft?: spacingValues;\n /** paddingRight is optional. It has not a default value. */\n paddingRight?: spacingValues;\n /** Alternative for padding. Padding is optional. It has not a default value. */\n p?: spacingValues;\n /** Alternative for paddingTop. PaddingTop is optional. It has not a default value. */\n pt?: spacingValues;\n /** Alternative for paddingBottom. PaddingBottom is optional. It has not a default value. */\n pb?: spacingValues;\n /** Alternative for paddingLeft. PaddingLeft is optional. It has not a default value. */\n pl?: spacingValues;\n /** Alternative for paddingRight. PaddingRight is optional. It has not a default value. */\n pr?: spacingValues;\n /** Alternative for paddingX. PaddingX is optional. It has not a default value. */\n px?: spacingValues;\n /** Alternative for paddingY. PaddingY is optional. It has not a default value. */\n py?: spacingValues;\n /** printHidden is optional. Default value is false. When true, the component is hidden at print. */\n printHidden?: boolean;\n /** printVisible is optional. When block, the component is displayed as block. When inline, the component is displayed as inline.*/\n printVisible?: 'block' | 'inline';\n /** Components will be hidden at all screen sizes. */\n hidden?: boolean;\n /** Components will be hidden from 'xs' screen size and up. */\n xsUpHidden?: boolean;\n /** Components will be hidden from 'sm' screen size and up. */\n smUpHidden?: boolean;\n /** Components will be hidden from 'md' screen size and up. */\n mdUpHidden?: boolean;\n /** Components will be hidden from 'lg' screen size and up. */\n lgUpHidden?: boolean;\n /** Components will be hidden from 'xl' screen size and up. */\n xlUpHidden?: boolean;\n /** Components will be hidden between xs and sm screen size. */\n xsHidden?: boolean;\n /** Components will be hidden between sm and md screen size. */\n smHidden?: boolean;\n /** Components will be hidden between md and lg screen size. */\n mdHidden?: boolean;\n /** Components will be hidden between lg and xl screen size. */\n lgHidden?: boolean;\n /** Components will be hidden between xl and 2xl screen size. */\n xlHidden?: boolean;\n }\n >;\n\ntype spacingValues =\n | 0\n | 0.5\n | 1\n | 1.5\n | 2\n | 2.5\n | 3\n | 3.5\n | 4\n | 5\n | 6\n | 7\n | 8\n | 9\n | 10\n | 11\n | 12\n | 14\n | 16\n | 20\n | 24\n | 28\n | 32\n | 36\n | 40\n | 44\n | 48\n | 52\n | 56\n | 60\n | 64\n | 72\n | 80\n | 96;\n\n/**\n * This is the type used in the type annotation for the component\n */\ntype BaseComponent = <C extends React.ElementType = 'span'>(\n props: BaseProps<C>\n) => React.
|
|
5
|
-
"mappings": "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",
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\n\ntype AsProp<C extends React.ElementType> = {\n as?: C;\n};\n\ntype PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);\n\n// This is the first reusable type utility we built\ntype PolymorphicComponentProp<\n C extends React.ElementType,\n Props = Record<string, unknown>,\n> = React.PropsWithChildren<Props & AsProp<C>> &\n Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;\n\n// This is a new type utitlity with ref!\ntype PolymorphicComponentPropWithRef<\n C extends React.ElementType,\n Props = Record<string, unknown>,\n> = PolymorphicComponentProp<C, Props> & { ref?: any };\n\n// This is the type for the \"ref\" only\ntype PolymorphicRef<C extends React.ElementType> =\n React.ComponentPropsWithRef<C>['ref'];\n\n/**\n * This is the updated component props using PolymorphicComponentPropWithRef\n */\nexport type BaseProps<C extends React.ElementType> =\n PolymorphicComponentPropWithRef<\n C,\n {\n /** margin is optional. It has not a default value. */\n margin?: spacingValues;\n /** marginTop is optional. It has not a default value. */\n marginTop?: spacingValues;\n /** marginBottom is optional. It has not a default value. */\n marginBottom?: spacingValues;\n /** marginLeft is optional. It has not a default value. */\n marginLeft?: spacingValues;\n /** marginRight is optional. It has not a default value. */\n marginRight?: spacingValues;\n /** Alternative for margin. Margin is optional. It has not a default value. */\n m?: spacingValues;\n /** Alternative for marginTop. MarginTop is optional. It has not a default value. */\n mt?: spacingValues;\n /** Alternative for marginBottom. MarginBottom is optional. It has not a default value. */\n mb?: spacingValues;\n /** Alternative for marginLeft. MarginLeft is optional. It has not a default value. */\n ml?: spacingValues;\n /** Alternative for marginRight. MarginRight is optional. It has not a default value. */\n mr?: spacingValues;\n /** Alternative for marginX. MarginX is optional. It has not a default value. */\n mx?: spacingValues;\n /** Alternative for marginY. MarginY is optional. It has not a default value. */\n my?: spacingValues;\n /** padding is optional. It has not a default value. */\n padding?: spacingValues;\n /** paddingTop is optional. It has not a default value. */\n paddingTop?: spacingValues;\n /** paddingBottom is optional. It has not a default value. */\n paddingBottom?: spacingValues;\n /** paddingLeft is optional. It has not a default value. */\n paddingLeft?: spacingValues;\n /** paddingRight is optional. It has not a default value. */\n paddingRight?: spacingValues;\n /** Alternative for padding. Padding is optional. It has not a default value. */\n p?: spacingValues;\n /** Alternative for paddingTop. PaddingTop is optional. It has not a default value. */\n pt?: spacingValues;\n /** Alternative for paddingBottom. PaddingBottom is optional. It has not a default value. */\n pb?: spacingValues;\n /** Alternative for paddingLeft. PaddingLeft is optional. It has not a default value. */\n pl?: spacingValues;\n /** Alternative for paddingRight. PaddingRight is optional. It has not a default value. */\n pr?: spacingValues;\n /** Alternative for paddingX. PaddingX is optional. It has not a default value. */\n px?: spacingValues;\n /** Alternative for paddingY. PaddingY is optional. It has not a default value. */\n py?: spacingValues;\n /** printHidden is optional. Default value is false. When true, the component is hidden at print. */\n printHidden?: boolean;\n /** printVisible is optional. When block, the component is displayed as block. When inline, the component is displayed as inline.*/\n printVisible?: 'block' | 'inline';\n /** Components will be hidden at all screen sizes. */\n hidden?: boolean;\n /** Components will be hidden from 'xs' screen size and up. */\n xsUpHidden?: boolean;\n /** Components will be hidden from 'sm' screen size and up. */\n smUpHidden?: boolean;\n /** Components will be hidden from 'md' screen size and up. */\n mdUpHidden?: boolean;\n /** Components will be hidden from 'lg' screen size and up. */\n lgUpHidden?: boolean;\n /** Components will be hidden from 'xl' screen size and up. */\n xlUpHidden?: boolean;\n /** Components will be hidden between xs and sm screen size. */\n xsHidden?: boolean;\n /** Components will be hidden between sm and md screen size. */\n smHidden?: boolean;\n /** Components will be hidden between md and lg screen size. */\n mdHidden?: boolean;\n /** Components will be hidden between lg and xl screen size. */\n lgHidden?: boolean;\n /** Components will be hidden between xl and 2xl screen size. */\n xlHidden?: boolean;\n }\n >;\n\ntype spacingValues =\n | 0\n | 0.5\n | 1\n | 1.5\n | 2\n | 2.5\n | 3\n | 3.5\n | 4\n | 5\n | 6\n | 7\n | 8\n | 9\n | 10\n | 11\n | 12\n | 14\n | 16\n | 20\n | 24\n | 28\n | 32\n | 36\n | 40\n | 44\n | 48\n | 52\n | 56\n | 60\n | 64\n | 72\n | 80\n | 96;\n\n/**\n * This is the type used in the type annotation for the component\n */\ntype BaseComponent = <C extends React.ElementType = 'span'>(\n props: BaseProps<C>\n) => React.ReactNode | null;\n\nexport const Base: BaseComponent = React.forwardRef(function Base<\n C extends React.ElementType = 'span',\n>(\n {\n as,\n margin,\n marginTop,\n marginBottom,\n marginLeft,\n marginRight,\n m,\n mt,\n mb,\n ml,\n mr,\n mx,\n my,\n padding,\n paddingTop,\n paddingBottom,\n paddingLeft,\n paddingRight,\n p,\n pt,\n pb,\n pr,\n pl,\n px,\n py,\n printHidden,\n printVisible,\n hidden,\n xsUpHidden,\n smUpHidden,\n mdUpHidden,\n lgUpHidden,\n xlUpHidden,\n xsHidden,\n smHidden,\n mdHidden,\n lgHidden,\n xlHidden,\n children,\n className,\n ...props\n }: BaseProps<C>,\n ref?: PolymorphicRef<C>\n) {\n const Component = as || 'span';\n\n return (\n <Component\n as={as}\n className={clsx(className, {\n [`ds-m-${margin}`]: margin !== undefined ? true : undefined,\n [`ds-mt-${marginTop}`]: marginTop !== undefined ? true : undefined,\n [`ds-mb-${marginBottom}`]:\n marginBottom !== undefined ? true : undefined,\n [`ds-mr-${marginRight}`]: marginRight !== undefined ? true : undefined,\n [`ds-ml-${marginLeft}`]: marginLeft !== undefined ? true : undefined,\n [`ds-m-${m}`]: m !== undefined ? true : undefined,\n [`ds-mt-${mt}`]: mt !== undefined ? true : undefined,\n [`ds-mb-${mb}`]: mb !== undefined ? true : undefined,\n [`ds-mr-${mr}`]: mr !== undefined ? true : undefined,\n [`ds-ml-${ml}`]: ml !== undefined ? true : undefined,\n [`ds-mx-${mx}`]: mx !== undefined ? true : undefined,\n [`ds-my-${my}`]: my !== undefined ? true : undefined,\n [`ds-p-${padding}`]: padding !== undefined ? true : undefined,\n [`ds-pt-${paddingTop}`]: paddingTop !== undefined ? true : undefined,\n [`ds-pb-${paddingBottom}`]:\n paddingBottom !== undefined ? true : undefined,\n [`ds-pr-${paddingRight}`]:\n paddingRight !== undefined ? true : undefined,\n [`ds-pl-${paddingLeft}`]: paddingLeft !== undefined ? true : undefined,\n [`ds-p-${p}`]: p !== undefined ? true : undefined,\n [`ds-pt-${pt}`]: pt !== undefined ? true : undefined,\n [`ds-pb-${pb}`]: pb !== undefined ? true : undefined,\n [`ds-pr-${pr}`]: pr !== undefined ? true : undefined,\n [`ds-pl-${pl}`]: pl !== undefined ? true : undefined,\n [`ds-px-${px}`]: px !== undefined ? true : undefined,\n [`ds-py-${py}`]: py !== undefined ? true : undefined,\n 'ds-print-hidden': !!printHidden,\n 'ds-print-visible-block': printVisible === 'block',\n 'ds-print-visible-inline': printVisible === 'inline',\n 'ds-hidden': !!hidden,\n 'ds-hidden-xs-up': !!xsUpHidden,\n 'ds-hidden-sm-up': !!smUpHidden,\n 'ds-hidden-md-up': !!mdUpHidden,\n 'ds-hidden-lg-up': !!lgUpHidden,\n 'ds-hidden-xl-up': !!xlUpHidden,\n 'ds-hidden-xs': !!xsHidden,\n 'ds-hidden-sm': !!smHidden,\n 'ds-hidden-md': !!mdHidden,\n 'ds-hidden-lg': !!lgHidden,\n 'ds-hidden-xl': !!xlHidden,\n })}\n ref={ref}\n {...props}\n >\n {children}\n </Component>\n );\n});\n\nexport default Base;\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
6
|
"names": ["Base"]
|
|
7
7
|
}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
+
import Base from "@digigov/react-icons/Base";
|
|
3
4
|
const burger = ({ active = false }) => {
|
|
4
5
|
return /* @__PURE__ */ React.createElement(
|
|
5
|
-
|
|
6
|
+
Base,
|
|
6
7
|
{
|
|
8
|
+
as: "g",
|
|
7
9
|
className: clsx({
|
|
8
10
|
[`ds-svg-icon--burger--active`]: active
|
|
9
11
|
})
|
|
10
12
|
},
|
|
11
|
-
/* @__PURE__ */ React.createElement("rect",
|
|
12
|
-
/* @__PURE__ */ React.createElement("rect",
|
|
13
|
-
/* @__PURE__ */ React.createElement("rect",
|
|
13
|
+
/* @__PURE__ */ React.createElement(Base, { as: "rect", id: "ds-svg-icon--burger__line-1", width: "20", height: "3.3" }),
|
|
14
|
+
/* @__PURE__ */ React.createElement(Base, { as: "rect", id: "ds-svg-icon--burger__line-2", width: "20", height: "3.3" }),
|
|
15
|
+
/* @__PURE__ */ React.createElement(Base, { as: "rect", id: "ds-svg-icon--burger__line-3", width: "20", height: "3.3" })
|
|
14
16
|
);
|
|
15
17
|
};
|
|
16
18
|
burger.props = ["active"];
|
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';\n\nexport type BurgerType = {\n active?: boolean;\n};\n\nexport const burger: React.FC<BurgerType> = ({ active = false }) => {\n return (\n <g\n className={clsx({\n [`ds-svg-icon--burger--active`]: active,\n })}\n >\n <rect id=\"ds-svg-icon--burger__line-1\" width=\"20\" height=\"3.3\" />\n <rect id=\"ds-svg-icon--burger__line-2\" width=\"20\" height=\"3.3\" />\n <rect id=\"ds-svg-icon--burger__line-3\" width=\"20\" height=\"3.3\" />\n </
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAU;AAMV,MAAM,SAA+B,CAAC,EAAE,SAAS,MAAM,MAAM;AAClE,SACE;AAAA,IAAC;AAAA;AAAA,
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport Base from '@digigov/react-icons/Base';\n\nexport type BurgerType = {\n active?: boolean;\n};\n\nexport const burger: React.FC<BurgerType> = ({ active = false }) => {\n return (\n <Base as=\"g\"\n className={clsx({\n [`ds-svg-icon--burger--active`]: active,\n })}\n >\n <Base as=\"rect\" id=\"ds-svg-icon--burger__line-1\" width=\"20\" height=\"3.3\" />\n <Base as=\"rect\" id=\"ds-svg-icon--burger__line-2\" width=\"20\" height=\"3.3\" />\n <Base as=\"rect\" id=\"ds-svg-icon--burger__line-3\" width=\"20\" height=\"3.3\" />\n </Base>\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,UAAU;AAMV,MAAM,SAA+B,CAAC,EAAE,SAAS,MAAM,MAAM;AAClE,SACE;AAAA,IAAC;AAAA;AAAA,MAAK,IAAG;AAAA,MACP,WAAW,KAAK;AAAA,QACd,CAAC,6BAA6B,GAAG;AAAA,MACnC,CAAC;AAAA;AAAA,IAED,oCAAC,QAAK,IAAG,QAAO,IAAG,+BAA8B,OAAM,MAAK,QAAO,OAAM;AAAA,IACzE,oCAAC,QAAK,IAAG,QAAO,IAAG,+BAA8B,OAAM,MAAK,QAAO,OAAM;AAAA,IACzE,oCAAC,QAAK,IAAG,QAAO,IAAG,+BAA8B,OAAM,MAAK,QAAO,OAAM;AAAA,EAC3E;AAEJ;AAGA,OAAO,QAAQ,CAAC,QAAQ;AAExB,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import Base from "@digigov/react-icons/Base";
|
|
2
3
|
function cancel() {
|
|
3
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("path",
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Base, { as: "path", 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" }));
|
|
4
5
|
}
|
|
5
6
|
cancel.props = [];
|
|
6
7
|
var config_default = cancel;
|
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';\n\nexport interface CancelType {}\n\nexport function cancel(): React.ReactElement {\n return (\n <>\n <path 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\ncancel.props = [];\n\nexport default cancel;\n"],
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Base from '@digigov/react-icons/Base';\n\nexport interface CancelType { }\n\nexport function cancel(): React.ReactElement {\n return (\n <>\n <Base as=\"path\" 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\ncancel.props = [];\n\nexport default cancel;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAU;AAIV,SAAS,SAA6B;AAC3C,SACE,0DACE,oCAAC,QAAK,IAAG,QAAO,GAAE,2OAA0O,CAC9P;AAEJ;AAEA,OAAO,QAAQ,CAAC;AAEhB,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import Base from "@digigov/react-icons/Base";
|
|
2
3
|
const caret = ({ direction = "left" }) => {
|
|
3
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, direction === "left" && /* @__PURE__ */ React.createElement("path",
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, direction === "left" && /* @__PURE__ */ React.createElement(Base, { as: "path", d: "M18,22V2L6,12L18,22z" }), direction === "right" && /* @__PURE__ */ React.createElement(Base, { as: "path", d: "M6,2v20l12-10L6,2z" }), direction === "up" && /* @__PURE__ */ React.createElement(Base, { as: "path", d: "M2,18h20L12,6L2,18z" }), direction === "down" && /* @__PURE__ */ React.createElement(Base, { as: "path", d: "M22,6H2l10,12L22,6z" }));
|
|
4
5
|
};
|
|
5
6
|
caret.props = ["direction"];
|
|
6
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';\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' && <path d=\"M18,22V2L6,12L18,22z\" />}\n {direction === 'right' && <path d=\"M6,2v20l12-10L6,2z\" />}\n {direction === 'up' && <path d=\"M2,18h20L12,6L2,18z\" />}\n {direction === 'down' && <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;
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Base from '@digigov/react-icons/Base';\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' && <Base as=\"path\" d=\"M18,22V2L6,12L18,22z\" />}\n {direction === 'right' && <Base as=\"path\" d=\"M6,2v20l12-10L6,2z\" />}\n {direction === 'up' && <Base as=\"path\" d=\"M2,18h20L12,6L2,18z\" />}\n {direction === 'down' && <Base 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,UAAU;AAaV,MAAM,QAA6B,CAAC,EAAE,YAAY,OAAO,MAAM;AACpE,SACE,0DACG,cAAc,UAAU,oCAAC,QAAK,IAAG,QAAO,GAAE,wBAAuB,GACjE,cAAc,WAAW,oCAAC,QAAK,IAAG,QAAO,GAAE,sBAAqB,GAChE,cAAc,QAAQ,oCAAC,QAAK,IAAG,QAAO,GAAE,uBAAsB,GAC9D,cAAc,UAAU,oCAAC,QAAK,IAAG,QAAO,GAAE,uBAAsB,CACnE;AAEJ;AAGA,MAAM,QAAQ,CAAC,WAAW;AAE1B,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/ChatIcon/config/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import Base from "@digigov/react-icons/Base";
|
|
2
3
|
const chat = ({ dots = false }) => {
|
|
3
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, dots ? /* @__PURE__ */ React.createElement("path",
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, dots ? /* @__PURE__ */ React.createElement(Base, { as: "path", 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" }) : /* @__PURE__ */ React.createElement(Base, { as: "path", d: "M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z" }));
|
|
4
5
|
};
|
|
5
6
|
chat.props = ["dots"];
|
|
6
7
|
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';\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 <path 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 <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;
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Base from '@digigov/react-icons/Base';\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 <Base as=\"path\" 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 <Base 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,UAAU;AAWV,MAAM,OAA2B,CAAC,EAAE,OAAO,MAAM,MAAM;AAC5D,SACE,0DACG,OACC,oCAAC,QAAK,IAAG,QAAO,GAAE,4SAA2S,IAE7T,oCAAC,QAAK,IAAG,QAAO,GAAE,2CAA0C,CAEhE;AAEJ;AAIA,KAAK,QAAQ,CAAC,MAAM;AAEpB,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import Base from "@digigov/react-icons/Base";
|
|
2
3
|
function check() {
|
|
3
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("polygon",
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Base, { as: "polygon", 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" }));
|
|
4
5
|
}
|
|
5
6
|
check.props = [];
|
|
6
7
|
var config_default = check;
|
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';\n\nexport interface CheckType {}\n\nexport function check(): React.ReactElement {\n return (\n <>\n <polygon 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\ncheck.props = [];\n\nexport default check;\n"],
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Base from '@digigov/react-icons/Base';\n\nexport interface CheckType { }\n\nexport function check(): React.ReactElement {\n return (\n <>\n <Base as=\"polygon\" 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\ncheck.props = [];\n\nexport default check;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAU;AAIV,SAAS,QAA4B;AAC1C,SACE,0DACE,oCAAC,QAAK,IAAG,WAAU,QAAO,2EAA0E,CACtG;AAEJ;AAEA,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import Base from "@digigov/react-icons/Base";
|
|
2
3
|
const chevron = ({ direction = "right" }) => {
|
|
3
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, direction === "left" && /* @__PURE__ */ React.createElement("path",
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, direction === "left" && /* @__PURE__ */ React.createElement(Base, { as: "path", d: "M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z" }), direction === "right" && /* @__PURE__ */ React.createElement(Base, { as: "path", d: "M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z" }), direction === "up" && /* @__PURE__ */ React.createElement(Base, { as: "path", d: "M2,15.8l2.3,2.4l7.7-7.6l7.6,7.6l2.4-2.4l-10-10L2,15.8z" }), direction === "down" && /* @__PURE__ */ React.createElement(Base, { as: "path", d: "M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z" }));
|
|
4
5
|
};
|
|
5
6
|
chevron.props = ["direction"];
|
|
6
7
|
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';\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 <path d=\"M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z\" />\n )}\n {direction === 'right' && (\n <path d=\"M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z\" />\n )}\n {direction === 'up' && (\n <path d=\"M2,15.8l2.3,2.4l7.7-7.6l7.6,7.6l2.4-2.4l-10-10L2,15.8z\" />\n )}\n {direction === 'down' && (\n <path d=\"M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z\" />\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;
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Base from '@digigov/react-icons/Base'\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 <Base as=\"path\" d=\"M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z\" />\n )}\n {direction === 'right' && (\n <Base as=\"path\" d=\"M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z\" />\n )}\n {direction === 'up' && (\n <Base as=\"path\" d=\"M2,15.8l2.3,2.4l7.7-7.6l7.6,7.6l2.4-2.4l-10-10L2,15.8z\" />\n )}\n {direction === 'down' && (\n <Base as=\"path\" d=\"M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z\" />\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,UAAU;AAcV,MAAM,UAAiC,CAAC,EAAE,YAAY,QAAQ,MAAM;AACzE,SACE,0DACG,cAAc,UACb,oCAAC,QAAK,IAAG,QAAO,GAAE,0DAAyD,GAE5E,cAAc,WACb,oCAAC,QAAK,IAAG,QAAO,GAAE,uDAAsD,GAEzE,cAAc,QACb,oCAAC,QAAK,IAAG,QAAO,GAAE,0DAAyD,GAE5E,cAAc,UACb,oCAAC,QAAK,IAAG,QAAO,GAAE,wDAAuD,CAE7E;AAEJ;AAGA,QAAQ,QAAQ,CAAC,WAAW;AAE5B,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import Base from "@digigov/react-icons/Base";
|
|
2
3
|
function close() {
|
|
3
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("polygon",
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Base, { as: "polygon", 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 " }));
|
|
4
5
|
}
|
|
5
6
|
close.props = [];
|
|
6
7
|
var config_default = close;
|
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';\n\nexport interface CloseType {}\n\nexport function close(): React.ReactElement {\n return (\n <>\n <polygon 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\nclose.props = [];\n\nexport default close;\n"],
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Base from '@digigov/react-icons/Base';\n\nexport interface CloseType { }\n\nexport function close(): React.ReactElement {\n return (\n <>\n <Base as=\"polygon\" 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\nclose.props = [];\n\nexport default close;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAU;AAIV,SAAS,QAA4B;AAC1C,SACE,0DACE,oCAAC,QAAK,IAAG,WAAU,QAAO,4GAA2G,CACvI;AAEJ;AAEA,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import Base from "@digigov/react-icons/Base";
|
|
2
3
|
function download() {
|
|
3
|
-
return /* @__PURE__ */ React.createElement("g"
|
|
4
|
+
return /* @__PURE__ */ React.createElement(Base, { as: "g" }, /* @__PURE__ */ React.createElement(Base, { as: "polygon", points: "12 18 20 10 15.3 10 15.3 2 8.7 2 8.7 10 4 10 12 18" }), /* @__PURE__ */ React.createElement(Base, { as: "rect", x: "6", y: "18.699", width: "12", height: "3.301" }));
|
|
4
5
|
}
|
|
5
6
|
download.props = [];
|
|
6
7
|
var config_default = download;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/DownloadIcon/config.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\n\nexport interface DownloadType {}\n\nexport function download(): React.ReactElement {\n return (\n <g>\n
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Base from '@digigov/react-icons/Base';\n\nexport interface DownloadType { }\n\nexport function download(): React.ReactElement {\n return (\n <Base as=\"g\">\n <Base as=\"polygon\" points=\"12 18 20 10 15.3 10 15.3 2 8.7 2 8.7 10 4 10 12 18\" />\n <Base as=\"rect\" x=\"6\" y=\"18.699\" width=\"12\" height=\"3.301\" />\n </Base>\n );\n}\n\ndownload.props = [];\n\nexport default download;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAU;AAIV,SAAS,WAA+B;AAC7C,SACE,oCAAC,QAAK,IAAG,OACP,oCAAC,QAAK,IAAG,WAAU,QAAO,sDAAqD,GAC/E,oCAAC,QAAK,IAAG,QAAO,GAAE,KAAI,GAAE,UAAS,OAAM,MAAK,QAAO,SAAQ,CAC7D;AAEJ;AAEA,SAAS,QAAQ,CAAC;AAElB,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import Base from "@digigov/react-icons/Base";
|
|
2
3
|
function exclamation() {
|
|
3
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("path",
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Base, { as: "path", d: "M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z" }), /* @__PURE__ */ React.createElement(Base, { as: "circle", cx: "11.993", cy: "19.9", r: "2.1" }));
|
|
4
5
|
}
|
|
5
6
|
exclamation.props = [];
|
|
6
7
|
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';\n\nexport interface ExclamationType {}\n\nexport function exclamation(): React.ReactElement {\n return (\n <>\n <path d=\"M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z\" />\n <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;
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Base from '@digigov/react-icons/Base';\n\nexport interface ExclamationType { }\n\nexport function exclamation(): React.ReactElement {\n return (\n <>\n <Base as=\"path\" d=\"M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z\" />\n <Base 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,UAAU;AAIV,SAAS,cAAkC;AAChD,SACE,0DACE,oCAAC,QAAK,IAAG,QAAO,GAAE,0DAAyD,GAC3E,oCAAC,QAAK,IAAG,UAAS,IAAG,UAAS,IAAG,QAAO,GAAE,OAAM,CAClD;AAEJ;AAEA,YAAY,QAAQ,CAAC;AAErB,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import Base from "@digigov/react-icons/Base";
|
|
2
3
|
function globe() {
|
|
3
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("path",
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Base, { as: "path", 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" }));
|
|
4
5
|
}
|
|
5
6
|
globe.props = [];
|
|
6
7
|
var config_default = globe;
|
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';\n\nexport interface GlobeType {}\n\nexport function globe(): React.ReactElement {\n return (\n <>\n <path 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\nglobe.props = [];\n\nexport default globe;\n"],
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Base from '@digigov/react-icons/Base';\n\nexport interface GlobeType { }\n\nexport function globe(): React.ReactElement {\n return (\n <>\n <Base as=\"path\" 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\nglobe.props = [];\n\nexport default globe;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAU;AAIV,SAAS,QAA4B;AAC1C,SACE,0DACE,oCAAC,QAAK,IAAG,QAAO,GAAE,y6BAAw6B,CAC57B;AAEJ;AAEA,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/Icon/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export type IconProps<N extends keyof IconTypes> = SvgIconProps & IconTypes[N] &
|
|
|
15
15
|
*/
|
|
16
16
|
icon?: N;
|
|
17
17
|
};
|
|
18
|
-
type IconComponent = <C extends keyof IconTypes>(props: IconProps<C>) => React.
|
|
18
|
+
type IconComponent = <C extends keyof IconTypes>(props: IconProps<C>) => React.ReactNode | null;
|
|
19
19
|
export type IconNames = keyof IconTypes;
|
|
20
20
|
/**
|
|
21
21
|
* Icon is used whenever we need a GOV.GR icon.
|
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 SvgIcon, { SvgIconProps } from '@digigov/react-icons/SvgIcon';\nimport * as icons from '@digigov/react-icons/icons';\nimport type { IconTypes } from '@digigov/react-icons/icons';\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.
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport SvgIcon, { SvgIconProps } from '@digigov/react-icons/SvgIcon';\nimport * as icons from '@digigov/react-icons/icons';\nimport type { IconTypes } from '@digigov/react-icons/icons';\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
5
|
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAU;AACjB,OAAO,aAA+B;AACtC,YAAY,WAAW;AA2BhB,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
|
}
|
package/LockIcon/config/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import Base from "@digigov/react-icons/Base";
|
|
2
3
|
function lock() {
|
|
3
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("path",
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Base, { as: "path", d: "M17.872,9v-1.128c0-3.238-2.635-5.872-5.872-5.872s-5.872,2.634-5.872,5.872v1.128h-2.128v13h16v-13h-2.128ZM9.429,7.872c0-1.418,1.153-2.572,2.571-2.572s2.571,1.154,2.571,2.572v1.128h-5.143v-1.128ZM13.65,16c0,.911-.739,1.65-1.65,1.65s-1.65-.739-1.65-1.65v-2c0-.911.739-1.65,1.65-1.65s1.65.739,1.65,1.65v2Z" }));
|
|
4
5
|
}
|
|
5
6
|
lock.props = [];
|
|
6
7
|
var config_default = lock;
|
package/LockIcon/config.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/LockIcon/config.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\n\nexport interface LockType {}\n\nexport function lock(): React.ReactElement {\n return (\n <>\n <path d=\"M17.872,9v-1.128c0-3.238-2.635-5.872-5.872-5.872s-5.872,2.634-5.872,5.872v1.128h-2.128v13h16v-13h-2.128ZM9.429,7.872c0-1.418,1.153-2.572,2.571-2.572s2.571,1.154,2.571,2.572v1.128h-5.143v-1.128ZM13.65,16c0,.911-.739,1.65-1.65,1.65s-1.65-.739-1.65-1.65v-2c0-.911.739-1.65,1.65-1.65s1.65.739,1.65,1.65v2Z\"/>\n </>\n );\n}\n\nlock.props = [];\n\nexport default lock;\n"],
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Base from '@digigov/react-icons/Base';\n\nexport interface LockType { }\n\nexport function lock(): React.ReactElement {\n return (\n <>\n <Base as=\"path\" d=\"M17.872,9v-1.128c0-3.238-2.635-5.872-5.872-5.872s-5.872,2.634-5.872,5.872v1.128h-2.128v13h16v-13h-2.128ZM9.429,7.872c0-1.418,1.153-2.572,2.571-2.572s2.571,1.154,2.571,2.572v1.128h-5.143v-1.128ZM13.65,16c0,.911-.739,1.65-1.65,1.65s-1.65-.739-1.65-1.65v-2c0-.911.739-1.65,1.65-1.65s1.65.739,1.65,1.65v2Z\" />\n </>\n );\n}\n\nlock.props = [];\n\nexport default lock;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAU;AAIV,SAAS,OAA2B;AACzC,SACE,0DACE,oCAAC,QAAK,IAAG,QAAO,GAAE,iTAAgT,CACpU;AAEJ;AAEA,KAAK,QAAQ,CAAC;AAEd,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import Base from "@digigov/react-icons/Base";
|
|
2
3
|
function login() {
|
|
3
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("polygon",
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Base, { as: "polygon", points: "10.419 6.081 8.581 7.919 11.361 10.7 2 10.7 2 13.3 11.361 13.3 8.581 16.081 10.419 17.919 16.339 12 10.419 6.081" }), /* @__PURE__ */ React.createElement(Base, { as: "polygon", points: "19.4 2 15 2 15 4.6 19.4 4.6 19.4 19.4 15 19.4 15 22 19.4 22 22 22 22 19.4 22 4.6 22 2 19.4 2" }));
|
|
4
5
|
}
|
|
5
6
|
login.props = [];
|
|
6
7
|
var config_default = login;
|
package/LoginIcon/config.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/LoginIcon/config.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\n\nexport interface LoginType {}\n\nexport function login(): React.ReactElement {\n return (\n <>\n <polygon points=\"10.419 6.081 8.581 7.919 11.361 10.7 2 10.7 2 13.3 11.361 13.3 8.581 16.081 10.419 17.919 16.339 12 10.419 6.081\" />\n <polygon points=\"19.4 2 15 2 15 4.6 19.4 4.6 19.4 19.4 15 19.4 15 22 19.4 22 22 22 22 19.4 22 4.6 22 2 19.4 2\" />\n </>\n );\n}\n\nlogin.props = [];\n\nexport default login;\n"],
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Base from '@digigov/react-icons/Base';\n\nexport interface LoginType { }\n\nexport function login(): React.ReactElement {\n return (\n <>\n <Base as=\"polygon\" points=\"10.419 6.081 8.581 7.919 11.361 10.7 2 10.7 2 13.3 11.361 13.3 8.581 16.081 10.419 17.919 16.339 12 10.419 6.081\" />\n <Base as=\"polygon\" points=\"19.4 2 15 2 15 4.6 19.4 4.6 19.4 19.4 15 19.4 15 22 19.4 22 22 22 22 19.4 22 4.6 22 2 19.4 2\" />\n </>\n );\n}\n\nlogin.props = [];\n\nexport default login;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAU;AAIV,SAAS,QAA4B;AAC1C,SACE,0DACE,oCAAC,QAAK,IAAG,WAAU,QAAO,oHAAmH,GAC7I,oCAAC,QAAK,IAAG,WAAU,QAAO,gGAA+F,CAC3H;AAEJ;AAEA,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import Base from "@digigov/react-icons/Base";
|
|
2
3
|
function minus() {
|
|
3
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("rect",
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Base, { as: "rect", x: "2", y: "10.35", width: "20", height: "3.3" }));
|
|
4
5
|
}
|
|
5
6
|
minus.props = [];
|
|
6
7
|
var config_default = minus;
|
package/MinusIcon/config.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/MinusIcon/config.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\n\nexport interface MinusType {}\n\nexport function minus(): React.ReactElement {\n return (\n <>\n <rect x=\"2\" y=\"10.35\" width=\"20\" height=\"3.3\"/>\n
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Base from '@digigov/react-icons/Base';\n\nexport interface MinusType { }\n\nexport function minus(): React.ReactElement {\n return (\n <>\n <Base as=\"rect\" x=\"2\" y=\"10.35\" width=\"20\" height=\"3.3\" />\n </>\n );\n}\n\nminus.props = [];\n\nexport default minus;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAU;AAIV,SAAS,QAA4B;AAC1C,SACE,0DACE,oCAAC,QAAK,IAAG,QAAO,GAAE,KAAI,GAAE,SAAQ,OAAM,MAAK,QAAO,OAAM,CAC1D;AAEJ;AAEA,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import Base from "@digigov/react-icons/Base";
|
|
2
3
|
function moreVert() {
|
|
3
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("circle",
|
|
4
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Base, { as: "circle", cx: "12", cy: "5", r: "2" }), /* @__PURE__ */ React.createElement(Base, { as: "circle", cx: "12", cy: "12", r: "2" }), /* @__PURE__ */ React.createElement(Base, { as: "circle", cx: "12", cy: "19", r: "2" }));
|
|
4
5
|
}
|
|
5
6
|
moreVert.props = [];
|
|
6
7
|
var config_default = moreVert;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/MoreVertIcon/config.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\n\nexport interface MoreVertType {}\n\nexport function moreVert(): React.ReactElement {\n return (\n <>\n <circle cx=\"12\" cy=\"5\" r=\"2\" />\n <circle cx=\"12\" cy=\"12\" r=\"2\" />\n <circle cx=\"12\" cy=\"19\" r=\"2\" />\n </>\n );\n}\n\nmoreVert.props = [];\n\nexport default moreVert;\n"],
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Base from '@digigov/react-icons/Base';\n\nexport interface MoreVertType { }\n\nexport function moreVert(): React.ReactElement {\n return (\n <>\n <Base as=\"circle\" cx=\"12\" cy=\"5\" r=\"2\" />\n <Base as=\"circle\" cx=\"12\" cy=\"12\" r=\"2\" />\n <Base as=\"circle\" cx=\"12\" cy=\"19\" r=\"2\" />\n </>\n );\n}\n\nmoreVert.props = [];\n\nexport default moreVert;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAU;AAIV,SAAS,WAA+B;AAC7C,SACE,0DACE,oCAAC,QAAK,IAAG,UAAS,IAAG,MAAK,IAAG,KAAI,GAAE,KAAI,GACvC,oCAAC,QAAK,IAAG,UAAS,IAAG,MAAK,IAAG,MAAK,GAAE,KAAI,GACxC,oCAAC,QAAK,IAAG,UAAS,IAAG,MAAK,IAAG,MAAK,GAAE,KAAI,CAC1C;AAEJ;AAEA,SAAS,QAAQ,CAAC;AAElB,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import Base from "@digigov/react-icons/Base";
|
|
2
3
|
function pdfFile() {
|
|
3
|
-
return /* @__PURE__ */ React.createElement("g"
|
|
4
|
+
return /* @__PURE__ */ React.createElement(Base, { as: "g" }, /* @__PURE__ */ React.createElement(Base, { as: "polygon", points: "4 19 4 7 2 7 2 21 18 21 18 19 4 19" }), /* @__PURE__ */ React.createElement(Base, { as: "g" }, /* @__PURE__ */ React.createElement(Base, { as: "path", d: "M9.594,8.364h-.838v1.504h.823c.243,0,.429-.061.557-.183.128-.122.192-.294.192-.516,0-.243-.066-.438-.197-.584-.131-.146-.31-.22-.537-.222Z" }), /* @__PURE__ */ React.createElement(Base, { as: "path", d: "M13.952,8.364h-.422v3.276h.437c.36,0,.637-.128.831-.385.193-.257.29-.638.29-1.144v-.226c0-.504-.097-.883-.29-1.139-.193-.255-.475-.383-.845-.383Z" }), /* @__PURE__ */ React.createElement(Base, { as: "path", d: "M6,3v14h16V3H6ZM11.057,10.381c-.364.304-.863.456-1.498.456h-.802v1.769h-1.257v-5.213h2.08c.399,0,.751.073,1.058.22s.544.356.712.627c.168.271.252.578.252.922,0,.508-.182.915-.546,1.219ZM16.368,10.111c0,.477-.101.905-.303,1.284-.202.378-.486.674-.852.888-.366.214-.775.322-1.226.324h-1.715v-5.213h1.679c.461,0,.875.104,1.242.313.368.209.655.504.861.884.206.381.311.807.313,1.28v.24ZM20.5,8.364h-2.231v1.199h2.026v.967h-2.026v2.077h-1.257v-5.213h3.487v.97Z" })));
|
|
4
5
|
}
|
|
5
6
|
pdfFile.props = [];
|
|
6
7
|
var config_default = pdfFile;
|