@digigov/react-icons 2.0.0-d57821ba → 2.0.0-e7d30530

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.
Files changed (218) hide show
  1. package/AccessibilityIcon/config/index.js +4 -2
  2. package/AccessibilityIcon/config.d.ts +1 -1
  3. package/AccessibilityIcon/config.js.map +2 -2
  4. package/ArrowIcon/config/index.js +26 -1
  5. package/ArrowIcon/config.js.map +2 -2
  6. package/BurgerIcon/config/index.js +30 -4
  7. package/BurgerIcon/config.d.ts +2 -2
  8. package/BurgerIcon/config.js.map +2 -2
  9. package/CancelIcon/config/index.js +8 -1
  10. package/CancelIcon/config.d.ts +1 -1
  11. package/CancelIcon/config.js.map +2 -2
  12. package/CaretIcon/config/index.js +2 -1
  13. package/CaretIcon/config.js.map +2 -2
  14. package/ChatIcon/config/index.js +8 -1
  15. package/ChatIcon/config.js.map +2 -2
  16. package/CheckIcon/config/index.js +8 -1
  17. package/CheckIcon/config.d.ts +1 -1
  18. package/CheckIcon/config.js.map +2 -2
  19. package/ChevronIcon/config/index.js +26 -1
  20. package/ChevronIcon/config.js.map +2 -2
  21. package/CloseIcon/config/index.js +8 -1
  22. package/CloseIcon/config.d.ts +1 -1
  23. package/CloseIcon/config.js.map +2 -2
  24. package/DownloadIcon/config/index.js +8 -1
  25. package/DownloadIcon/config.d.ts +1 -1
  26. package/DownloadIcon/config.js.map +2 -2
  27. package/ExclamationIcon/config/index.js +8 -1
  28. package/ExclamationIcon/config.d.ts +1 -1
  29. package/ExclamationIcon/config.js.map +2 -2
  30. package/GlobeIcon/config/index.js +8 -1
  31. package/GlobeIcon/config.d.ts +1 -1
  32. package/GlobeIcon/config.js.map +2 -2
  33. package/Icon/index.d.ts +1 -1
  34. package/Icon/index.js +1 -1
  35. package/Icon/index.js.map +2 -2
  36. package/{Base → IconBase}/index.d.ts +6 -6
  37. package/{Base → IconBase}/index.js +5 -4
  38. package/IconBase/index.js.map +7 -0
  39. package/{Base → IconBase}/package.json +1 -1
  40. package/LockIcon/config/index.js +8 -1
  41. package/LockIcon/config.d.ts +1 -1
  42. package/LockIcon/config.js.map +2 -2
  43. package/LoginIcon/config/index.js +14 -1
  44. package/LoginIcon/config.d.ts +1 -1
  45. package/LoginIcon/config.js.map +2 -2
  46. package/MinusIcon/config/index.js +2 -1
  47. package/MinusIcon/config.d.ts +1 -1
  48. package/MinusIcon/config.js.map +2 -2
  49. package/MoreVertIcon/config/index.js +2 -1
  50. package/MoreVertIcon/config.d.ts +1 -1
  51. package/MoreVertIcon/config.js.map +2 -2
  52. package/PdfFileIcon/config/index.js +20 -1
  53. package/PdfFileIcon/config.d.ts +1 -1
  54. package/PdfFileIcon/config.js.map +2 -2
  55. package/PlusIcon/config/index.js +8 -1
  56. package/PlusIcon/config.d.ts +1 -1
  57. package/PlusIcon/config.js.map +2 -2
  58. package/PrintIcon/config/index.js +8 -1
  59. package/PrintIcon/config.d.ts +1 -1
  60. package/PrintIcon/config.js.map +2 -2
  61. package/ReplyIcon/config/index.js +8 -1
  62. package/ReplyIcon/config.d.ts +1 -1
  63. package/ReplyIcon/config.js.map +2 -2
  64. package/RestoreIcon/config/index.js +8 -1
  65. package/RestoreIcon/config.d.ts +1 -1
  66. package/RestoreIcon/config.js.map +2 -2
  67. package/SearchIcon/config/index.js +8 -1
  68. package/SearchIcon/config.d.ts +1 -1
  69. package/SearchIcon/config.js.map +2 -2
  70. package/SvgIcon/index.d.ts +2 -2
  71. package/SvgIcon/index.js +2 -2
  72. package/SvgIcon/index.js.map +2 -2
  73. package/UncheckIcon/config/index.js +8 -1
  74. package/UncheckIcon/config.d.ts +1 -1
  75. package/UncheckIcon/config.js.map +2 -2
  76. package/cjs/AccessibilityIcon/config/index.js +4 -2
  77. package/cjs/AccessibilityIcon/config.js.map +3 -3
  78. package/cjs/ArrowIcon/config/index.js +26 -1
  79. package/cjs/ArrowIcon/config.js.map +3 -3
  80. package/cjs/BurgerIcon/config/index.js +30 -4
  81. package/cjs/BurgerIcon/config.js.map +3 -3
  82. package/cjs/CancelIcon/config/index.js +8 -1
  83. package/cjs/CancelIcon/config.js.map +3 -3
  84. package/cjs/CaretIcon/config/index.js +2 -1
  85. package/cjs/CaretIcon/config.js.map +3 -3
  86. package/cjs/ChatIcon/config/index.js +8 -1
  87. package/cjs/ChatIcon/config.js.map +3 -3
  88. package/cjs/CheckIcon/config/index.js +8 -1
  89. package/cjs/CheckIcon/config.js.map +3 -3
  90. package/cjs/ChevronIcon/config/index.js +26 -1
  91. package/cjs/ChevronIcon/config.js.map +3 -3
  92. package/cjs/CloseIcon/config/index.js +8 -1
  93. package/cjs/CloseIcon/config.js.map +3 -3
  94. package/cjs/DownloadIcon/config/index.js +8 -1
  95. package/cjs/DownloadIcon/config.js.map +3 -3
  96. package/cjs/ExclamationIcon/config/index.js +8 -1
  97. package/cjs/ExclamationIcon/config.js.map +3 -3
  98. package/cjs/GlobeIcon/config/index.js +8 -1
  99. package/cjs/GlobeIcon/config.js.map +3 -3
  100. package/cjs/Icon/index.js +1 -1
  101. package/cjs/Icon/index.js.map +2 -2
  102. package/cjs/{Base → IconBase}/index.js +9 -8
  103. package/cjs/IconBase/index.js.map +7 -0
  104. package/cjs/LockIcon/config/index.js +8 -1
  105. package/cjs/LockIcon/config.js.map +3 -3
  106. package/cjs/LoginIcon/config/index.js +14 -1
  107. package/cjs/LoginIcon/config.js.map +3 -3
  108. package/cjs/MinusIcon/config/index.js +2 -1
  109. package/cjs/MinusIcon/config.js.map +3 -3
  110. package/cjs/MoreVertIcon/config/index.js +2 -1
  111. package/cjs/MoreVertIcon/config.js.map +3 -3
  112. package/cjs/PdfFileIcon/config/index.js +20 -1
  113. package/cjs/PdfFileIcon/config.js.map +3 -3
  114. package/cjs/PlusIcon/config/index.js +8 -1
  115. package/cjs/PlusIcon/config.js.map +3 -3
  116. package/cjs/PrintIcon/config/index.js +8 -1
  117. package/cjs/PrintIcon/config.js.map +3 -3
  118. package/cjs/ReplyIcon/config/index.js +8 -1
  119. package/cjs/ReplyIcon/config.js.map +3 -3
  120. package/cjs/RestoreIcon/config/index.js +8 -1
  121. package/cjs/RestoreIcon/config.js.map +3 -3
  122. package/cjs/SearchIcon/config/index.js +8 -1
  123. package/cjs/SearchIcon/config.js.map +3 -3
  124. package/cjs/SvgIcon/index.js +2 -2
  125. package/cjs/SvgIcon/index.js.map +3 -3
  126. package/cjs/UncheckIcon/config/index.js +8 -1
  127. package/cjs/UncheckIcon/config.js.map +3 -3
  128. package/cjs/icons.js.map +1 -1
  129. package/cjs/lazy/index.js +7 -7
  130. package/cjs/lazy.js.map +3 -3
  131. package/cjs/registry/index.js +52 -6
  132. package/cjs/registry.js.map +3 -3
  133. package/icons.d.ts +11 -11
  134. package/icons.js.map +1 -1
  135. package/index.js +1 -1
  136. package/lazy/index.js +28 -32
  137. package/package.json +4 -4
  138. package/registry/index.js +85 -40
  139. package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +126 -27
  140. package/src/AccessibilityIcon/config.tsx +6 -4
  141. package/src/AccessibilityIcon/index.test.tsx +12 -4
  142. package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +13 -1
  143. package/src/ArrowIcon/config.tsx +17 -4
  144. package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +53 -5
  145. package/src/BurgerIcon/config.tsx +24 -7
  146. package/src/BurgerIcon/index.test.tsx +6 -2
  147. package/src/CancelIcon/__snapshots__/index.test.tsx.snap +28 -7
  148. package/src/CancelIcon/config.tsx +6 -2
  149. package/src/CancelIcon/index.test.tsx +6 -2
  150. package/src/CaretIcon/__snapshots__/index.test.tsx.snap +13 -1
  151. package/src/CaretIcon/config.tsx +5 -4
  152. package/src/ChatIcon/__snapshots__/index.test.tsx.snap +31 -7
  153. package/src/ChatIcon/config.tsx +6 -2
  154. package/src/ChatIcon/index.test.tsx +7 -3
  155. package/src/CheckIcon/__snapshots__/index.test.tsx.snap +32 -8
  156. package/src/CheckIcon/config.tsx +6 -2
  157. package/src/CheckIcon/index.test.tsx +6 -2
  158. package/src/ChevronIcon/__snapshots__/index.test.tsx.snap +13 -1
  159. package/src/ChevronIcon/config.tsx +17 -4
  160. package/src/ChevronIcon/index.test.tsx +6 -2
  161. package/src/CloseIcon/__snapshots__/index.test.tsx.snap +4 -1
  162. package/src/CloseIcon/config.tsx +6 -2
  163. package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +70 -14
  164. package/src/DownloadIcon/config.tsx +9 -5
  165. package/src/DownloadIcon/index.test.tsx +9 -3
  166. package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +42 -7
  167. package/src/ExclamationIcon/config.tsx +7 -3
  168. package/src/ExclamationIcon/index.test.tsx +12 -4
  169. package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +16 -4
  170. package/src/GlobeIcon/config.tsx +6 -2
  171. package/src/GlobeIcon/index.test.tsx +3 -1
  172. package/src/Icon/__snapshots__/index.test.tsx.snap +40 -1
  173. package/src/Icon/index.test.tsx +3 -1
  174. package/src/Icon/index.tsx +1 -1
  175. package/src/{Base → IconBase}/index.tsx +11 -10
  176. package/src/LockIcon/__snapshots__/index.test.tsx.snap +28 -7
  177. package/src/LockIcon/config.tsx +6 -2
  178. package/src/LockIcon/index.test.tsx +6 -2
  179. package/src/LoginIcon/__snapshots__/index.test.tsx.snap +42 -7
  180. package/src/LoginIcon/config.tsx +10 -3
  181. package/src/LoginIcon/index.test.tsx +6 -2
  182. package/src/MinusIcon/__snapshots__/index.test.tsx.snap +28 -7
  183. package/src/MinusIcon/config.tsx +4 -3
  184. package/src/MinusIcon/index.test.tsx +6 -2
  185. package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +72 -9
  186. package/src/MoreVertIcon/config.tsx +5 -4
  187. package/src/MoreVertIcon/index.test.tsx +12 -4
  188. package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +126 -21
  189. package/src/PdfFileIcon/config.tsx +19 -9
  190. package/src/PdfFileIcon/index.test.tsx +6 -2
  191. package/src/PlusIcon/__snapshots__/index.test.tsx.snap +28 -7
  192. package/src/PlusIcon/config.tsx +6 -2
  193. package/src/PlusIcon/index.test.tsx +6 -2
  194. package/src/PrintIcon/__snapshots__/index.test.tsx.snap +42 -7
  195. package/src/PrintIcon/config.tsx +7 -3
  196. package/src/PrintIcon/index.test.tsx +6 -2
  197. package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +28 -7
  198. package/src/ReplyIcon/config.tsx +6 -2
  199. package/src/ReplyIcon/index.test.tsx +6 -2
  200. package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +56 -7
  201. package/src/RestoreIcon/config.tsx +8 -4
  202. package/src/RestoreIcon/index.test.tsx +6 -2
  203. package/src/SearchIcon/__snapshots__/index.test.tsx.snap +4 -1
  204. package/src/SearchIcon/config.tsx +6 -2
  205. package/src/SvgIcon/__snapshots__/index.test.tsx.snap +34 -17
  206. package/src/SvgIcon/index.tsx +4 -4
  207. package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +36 -9
  208. package/src/UncheckIcon/config.tsx +6 -2
  209. package/src/UncheckIcon/index.test.tsx +6 -2
  210. package/src/icons.ts +11 -12
  211. package/src/lazy.js +28 -29
  212. package/src/registry.js +77 -33
  213. package/Base/index.js.map +0 -7
  214. package/cjs/Base/index.js.map +0 -7
  215. package/lazy.d.ts +0 -29
  216. package/lazy.js.map +0 -7
  217. package/registry.d.ts +0 -31
  218. package/registry.js.map +0 -7
@@ -1,8 +1,10 @@
1
1
  import React from "react";
2
+ import IconBase from "@digigov/react-icons/IconBase";
2
3
  function accessibility() {
3
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("title", null, "\u039C\u03B5\u03BD\u03BF\u03CD \u03A0\u03C1\u03BF\u03C3\u03B2\u03B1\u03C3\u03B9\u03BC\u03CC\u03C4\u03B7\u03C4\u03B1\u03C2"), /* @__PURE__ */ React.createElement("circle", { cx: "12", cy: "3", r: "3" }), /* @__PURE__ */ React.createElement(
4
- "path",
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,
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
  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';\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</title>\n <circle cx=\"12\" cy=\"3\" r=\"3\" />\n <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;AAIX,SAAS,gBAAoC;AAClD,SACE,0DACE,oCAAC,eAAM,2HAAqB,GAC5B,oCAAC,YAAO,IAAG,MAAK,IAAG,KAAI,GAAE,KAAI,GAC7B;AAAA,IAAC;AAAA;AAAA,MACC,GAAE;AAAA;AAAA,EAIJ,CACF;AAEJ;AAEA,cAAc,QAAQ,CAAC;AAEvB,IAAO,iBAAQ;",
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,6 +1,31 @@
1
1
  import React from "react";
2
+ import IconBase from "@digigov/react-icons/IconBase";
2
3
  const arrow = ({ direction = "up" }) => {
3
- return /* @__PURE__ */ React.createElement(React.Fragment, null, direction === "left" && /* @__PURE__ */ React.createElement("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("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("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("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
+ 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
+ ));
4
29
  };
5
30
  arrow.props = ["direction"];
6
31
  var config_default = arrow;
@@ -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;AAaX,MAAM,QAA6B,CAAC,EAAE,YAAY,KAAK,MAAM;AAClE,SACE,0DACG,cAAc,UACb,oCAAC,aAAQ,QAAO,yFAAwF,GAEzG,cAAc,WACb,oCAAC,aAAQ,QAAO,sFAAqF,GAEtG,cAAc,QACb,oCAAC,aAAQ,QAAO,qFAAoF,GAErG,cAAc,UACb,oCAAC,aAAQ,QAAO,uFAAsF,CAE1G;AAEJ;AAGA,MAAM,QAAQ,CAAC,WAAW;AAE1B,IAAO,iBAAQ;",
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,16 +1,42 @@
1
1
  import React from "react";
2
2
  import clsx from "clsx";
3
+ import IconBase from "@digigov/react-icons/IconBase";
3
4
  const burger = ({ active = false }) => {
4
5
  return /* @__PURE__ */ React.createElement(
5
- "g",
6
+ IconBase,
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", { id: "ds-svg-icon--burger__line-1", width: "20", height: "3.3" }),
12
- /* @__PURE__ */ React.createElement("rect", { id: "ds-svg-icon--burger__line-2", width: "20", height: "3.3" }),
13
- /* @__PURE__ */ React.createElement("rect", { id: "ds-svg-icon--burger__line-3", width: "20", height: "3.3" })
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
+ )
14
40
  );
15
41
  };
16
42
  burger.props = ["active"];
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- export type BurgerType = {
2
+ export interface BurgerType {
3
3
  active?: boolean;
4
- };
4
+ }
5
5
  export declare const burger: React.FC<BurgerType>;
6
6
  export default burger;
@@ -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 </g>\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;AAMV,MAAM,SAA+B,CAAC,EAAE,SAAS,MAAM,MAAM;AAClE,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,KAAK;AAAA,QACd,CAAC,6BAA6B,GAAG;AAAA,MACnC,CAAC;AAAA;AAAA,IAED,oCAAC,UAAK,IAAG,+BAA8B,OAAM,MAAK,QAAO,OAAM;AAAA,IAC/D,oCAAC,UAAK,IAAG,+BAA8B,OAAM,MAAK,QAAO,OAAM;AAAA,IAC/D,oCAAC,UAAK,IAAG,+BAA8B,OAAM,MAAK,QAAO,OAAM;AAAA,EACjE;AAEJ;AAGA,OAAO,QAAQ,CAAC,QAAQ;AAExB,IAAO,iBAAQ;",
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,6 +1,13 @@
1
1
  import React from "react";
2
+ import IconBase from "@digigov/react-icons/IconBase";
2
3
  function cancel() {
3
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("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
+ 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
+ ));
4
11
  }
5
12
  cancel.props = [];
6
13
  var config_default = cancel;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  export interface CancelType {
3
3
  }
4
- export declare function cancel(): React.ReactElement;
4
+ export declare function cancel(): React.ReactElement<any>;
5
5
  export declare namespace cancel {
6
6
  var props: any[];
7
7
  }
@@ -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;AAIX,SAAS,SAA6B;AAC3C,SACE,0DACE,oCAAC,UAAK,GAAE,2OAAyO,CACnP;AAEJ;AAEA,OAAO,QAAQ,CAAC;AAEhB,IAAO,iBAAQ;",
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,6 +1,7 @@
1
1
  import React from "react";
2
+ import IconBase from "@digigov/react-icons/IconBase";
2
3
  const caret = ({ direction = "left" }) => {
3
- return /* @__PURE__ */ React.createElement(React.Fragment, null, direction === "left" && /* @__PURE__ */ React.createElement("path", { d: "M18,22V2L6,12L18,22z" }), direction === "right" && /* @__PURE__ */ React.createElement("path", { d: "M6,2v20l12-10L6,2z" }), direction === "up" && /* @__PURE__ */ React.createElement("path", { d: "M2,18h20L12,6L2,18z" }), direction === "down" && /* @__PURE__ */ React.createElement("path", { d: "M22,6H2l10,12L22,6z" }));
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" }));
4
5
  };
5
6
  caret.props = ["direction"];
6
7
  var config_default = caret;
@@ -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;AAaX,MAAM,QAA6B,CAAC,EAAE,YAAY,OAAO,MAAM;AACpE,SACE,0DACG,cAAc,UAAU,oCAAC,UAAK,GAAE,wBAAuB,GACvD,cAAc,WAAW,oCAAC,UAAK,GAAE,sBAAqB,GACtD,cAAc,QAAQ,oCAAC,UAAK,GAAE,uBAAsB,GACpD,cAAc,UAAU,oCAAC,UAAK,GAAE,uBAAsB,CACzD;AAEJ;AAGA,MAAM,QAAQ,CAAC,WAAW;AAE1B,IAAO,iBAAQ;",
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
  }
@@ -1,6 +1,13 @@
1
1
  import React from "react";
2
+ import IconBase from "@digigov/react-icons/IconBase";
2
3
  const chat = ({ dots = false }) => {
3
- return /* @__PURE__ */ React.createElement(React.Fragment, null, dots ? /* @__PURE__ */ React.createElement("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("path", { d: "M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z" }));
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" }));
4
11
  };
5
12
  chat.props = ["dots"];
6
13
  var config_default = chat;
@@ -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;AAWX,MAAM,OAA2B,CAAC,EAAE,OAAO,MAAM,MAAM;AAC5D,SACE,0DACG,OACC,oCAAC,UAAK,GAAE,4SAA2S,IAEnT,oCAAC,UAAK,GAAE,2CAA0C,CAEtD;AAEJ;AAIA,KAAK,QAAQ,CAAC,MAAM;AAEpB,IAAO,iBAAQ;",
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,6 +1,13 @@
1
1
  import React from "react";
2
+ import IconBase from "@digigov/react-icons/IconBase";
2
3
  function check() {
3
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("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
+ 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
+ ));
4
11
  }
5
12
  check.props = [];
6
13
  var config_default = check;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  export interface CheckType {
3
3
  }
4
- export declare function check(): React.ReactElement;
4
+ export declare function check(): React.ReactElement<any>;
5
5
  export declare namespace check {
6
6
  var props: any[];
7
7
  }
@@ -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;AAIX,SAAS,QAA4B;AAC1C,SACE,0DACE,oCAAC,aAAQ,QAAO,2EAA0E,CAC5F;AAEJ;AAEA,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
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,6 +1,31 @@
1
1
  import React from "react";
2
+ import IconBase from "@digigov/react-icons/IconBase";
2
3
  const chevron = ({ direction = "right" }) => {
3
- return /* @__PURE__ */ React.createElement(React.Fragment, null, direction === "left" && /* @__PURE__ */ React.createElement("path", { d: "M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z" }), direction === "right" && /* @__PURE__ */ React.createElement("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("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("path", { d: "M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z" }));
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
+ ));
4
29
  };
5
30
  chevron.props = ["direction"];
6
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';\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;AAcX,MAAM,UAAiC,CAAC,EAAE,YAAY,QAAQ,MAAM;AACzE,SACE,0DACG,cAAc,UACb,oCAAC,UAAK,GAAE,0DAAyD,GAElE,cAAc,WACb,oCAAC,UAAK,GAAE,uDAAsD,GAE/D,cAAc,QACb,oCAAC,UAAK,GAAE,0DAAyD,GAElE,cAAc,UACb,oCAAC,UAAK,GAAE,wDAAuD,CAEnE;AAEJ;AAGA,QAAQ,QAAQ,CAAC,WAAW;AAE5B,IAAO,iBAAQ;",
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,6 +1,13 @@
1
1
  import React from "react";
2
+ import IconBase from "@digigov/react-icons/IconBase";
2
3
  function close() {
3
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("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
+ 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
+ ));
4
11
  }
5
12
  close.props = [];
6
13
  var config_default = close;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  export interface CloseType {
3
3
  }
4
- export declare function close(): React.ReactElement;
4
+ export declare function close(): React.ReactElement<any>;
5
5
  export declare namespace close {
6
6
  var props: any[];
7
7
  }
@@ -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;AAIX,SAAS,QAA4B;AAC1C,SACE,0DACE,oCAAC,aAAQ,QAAO,4GAA2G,CAC7H;AAEJ;AAEA,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
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,6 +1,13 @@
1
1
  import React from "react";
2
+ import IconBase from "@digigov/react-icons/IconBase";
2
3
  function download() {
3
- return /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("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("rect", { x: "6", y: "18.699", width: "12", height: "3.301" }));
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" }));
4
11
  }
5
12
  download.props = [];
6
13
  var config_default = download;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  export interface DownloadType {
3
3
  }
4
- export declare function download(): React.ReactElement;
4
+ export declare function download(): React.ReactElement<any>;
5
5
  export declare namespace download {
6
6
  var props: any[];
7
7
  }
@@ -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 <polygon points=\"12 18 20 10 15.3 10 15.3 2 8.7 2 8.7 10 4 10 12 18\"/>\n <rect x=\"6\" y=\"18.699\" width=\"12\" height=\"3.301\"/> \n </g>\n );\n}\n\ndownload.props = [];\n\nexport default download;\n"],
5
- "mappings": "AAAA,OAAO,WAAW;AAIX,SAAS,WAA+B;AAC7C,SACE,oCAAC,WACD,oCAAC,aAAQ,QAAO,sDAAoD,GACpE,oCAAC,UAAK,GAAE,KAAI,GAAE,UAAS,OAAM,MAAK,QAAO,SAAO,CAChD;AAEJ;AAEA,SAAS,QAAQ,CAAC;AAElB,IAAO,iBAAQ;",
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,6 +1,13 @@
1
1
  import React from "react";
2
+ import IconBase from "@digigov/react-icons/IconBase";
2
3
  function exclamation() {
3
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("path", { d: "M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z" }), /* @__PURE__ */ React.createElement("circle", { cx: "11.993", cy: "19.9", r: "2.1" }));
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" }));
4
11
  }
5
12
  exclamation.props = [];
6
13
  var config_default = exclamation;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  export interface ExclamationType {
3
3
  }
4
- export declare function exclamation(): React.ReactElement;
4
+ export declare function exclamation(): React.ReactElement<any>;
5
5
  export declare namespace exclamation {
6
6
  var props: any[];
7
7
  }
@@ -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;AAIX,SAAS,cAAkC;AAChD,SACE,0DACE,oCAAC,UAAK,GAAE,0DAAyD,GACjE,oCAAC,YAAO,IAAG,UAAS,IAAG,QAAO,GAAE,OAAM,CACxC;AAEJ;AAEA,YAAY,QAAQ,CAAC;AAErB,IAAO,iBAAQ;",
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,6 +1,13 @@
1
1
  import React from "react";
2
+ import IconBase from "@digigov/react-icons/IconBase";
2
3
  function globe() {
3
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("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
+ 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
+ ));
4
11
  }
5
12
  globe.props = [];
6
13
  var config_default = globe;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  export interface GlobeType {
3
3
  }
4
- export declare function globe(): React.ReactElement;
4
+ export declare function globe(): React.ReactElement<any>;
5
5
  export declare namespace globe {
6
6
  var props: any[];
7
7
  }
@@ -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;AAIX,SAAS,QAA4B;AAC1C,SACE,0DACE,oCAAC,UAAK,GAAE,y6BAAw6B,CACl7B;AAEJ;AAEA,MAAM,QAAQ,CAAC;AAEf,IAAO,iBAAQ;",
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 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
- "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;",
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
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- type AsProp<C extends React.ElementType> = {
2
+ interface AsProp<C extends React.ElementType> {
3
3
  as?: C;
4
- };
4
+ }
5
5
  type PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);
6
6
  type PolymorphicComponentProp<C extends React.ElementType, Props = Record<string, unknown>> = React.PropsWithChildren<Props & AsProp<C>> & Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;
7
7
  type PolymorphicComponentPropWithRef<C extends React.ElementType, Props = Record<string, unknown>> = PolymorphicComponentProp<C, Props> & {
@@ -10,7 +10,7 @@ type PolymorphicComponentPropWithRef<C extends React.ElementType, Props = Record
10
10
  /**
11
11
  * This is the updated component props using PolymorphicComponentPropWithRef
12
12
  */
13
- export type BaseProps<C extends React.ElementType> = PolymorphicComponentPropWithRef<C, {
13
+ export type IconBaseProps<C extends React.ElementType> = PolymorphicComponentPropWithRef<C, {
14
14
  /** margin is optional. It has not a default value. */
15
15
  margin?: spacingValues;
16
16
  /** marginTop is optional. It has not a default value. */
@@ -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.ReactNode | null;
94
- export declare const Base: BaseComponent;
95
- export default Base;
93
+ type IconBaseComponent = <C extends React.ElementType = 'span'>(props: IconBaseProps<C>) => React.ReactNode | null;
94
+ export declare const IconBase: IconBaseComponent;
95
+ export default IconBase;