@digigov/react-icons 1.0.0-079f34f3d → 1.0.0-23c81d9f

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 (219) hide show
  1. package/AccessibilityIcon/config/package.json +6 -0
  2. package/AccessibilityIcon/index.d.ts +1 -1
  3. package/AccessibilityIcon/index.js +6 -21
  4. package/{es/AccessibilityIcon/index.test.js → AccessibilityIcon/index.test/index.js} +1 -1
  5. package/AccessibilityIcon/index.test/package.json +6 -0
  6. package/AccessibilityIcon/package.json +6 -0
  7. package/ArrowIcon/config/index.js +27 -0
  8. package/ArrowIcon/config/package.json +6 -0
  9. package/ArrowIcon/config.d.ts +1 -1
  10. package/ArrowIcon/index.d.ts +1 -1
  11. package/ArrowIcon/index.js +6 -21
  12. package/{esm/ArrowIcon/index.test.js → ArrowIcon/index.test/index.js} +1 -1
  13. package/ArrowIcon/index.test/package.json +6 -0
  14. package/ArrowIcon/package.json +6 -0
  15. package/BurgerIcon/config/package.json +6 -0
  16. package/BurgerIcon/index.d.ts +1 -1
  17. package/BurgerIcon/index.js +6 -21
  18. package/{esm/BurgerIcon/index.test.js → BurgerIcon/index.test/index.js} +1 -1
  19. package/BurgerIcon/index.test/package.json +6 -0
  20. package/BurgerIcon/package.json +6 -0
  21. package/CaretIcon/config/package.json +6 -0
  22. package/CaretIcon/index.d.ts +1 -1
  23. package/CaretIcon/index.js +6 -21
  24. package/{esm/CaretIcon/index.test.js → CaretIcon/index.test/index.js} +1 -1
  25. package/CaretIcon/index.test/package.json +6 -0
  26. package/CaretIcon/package.json +6 -0
  27. package/CheckIcon/config/package.json +6 -0
  28. package/CheckIcon/index.d.ts +1 -1
  29. package/CheckIcon/index.js +6 -21
  30. package/{esm/CheckIcon/index.test.js → CheckIcon/index.test/index.js} +1 -1
  31. package/CheckIcon/index.test/package.json +6 -0
  32. package/CheckIcon/package.json +6 -0
  33. package/{es/ArrowIcon/config.js → ChevronIcon/config/index.js} +3 -3
  34. package/ChevronIcon/config/package.json +6 -0
  35. package/ChevronIcon/config.d.ts +14 -0
  36. package/ChevronIcon/index.d.ts +4 -0
  37. package/{es/CheckIcon → ChevronIcon}/index.js +4 -4
  38. package/ChevronIcon/index.test/index.js +33 -0
  39. package/ChevronIcon/index.test/package.json +6 -0
  40. package/ChevronIcon/index.test.d.ts +1 -0
  41. package/ChevronIcon/package.json +6 -0
  42. package/CloseIcon/config/package.json +6 -0
  43. package/CloseIcon/index.d.ts +1 -1
  44. package/CloseIcon/index.js +6 -21
  45. package/{esm/CloseIcon/index.test.js → CloseIcon/index.test/index.js} +1 -1
  46. package/CloseIcon/index.test/package.json +6 -0
  47. package/CloseIcon/package.json +6 -0
  48. package/GlobeIcon/config/package.json +6 -0
  49. package/GlobeIcon/index.d.ts +1 -1
  50. package/GlobeIcon/index.js +6 -21
  51. package/{esm/GlobeIcon/index.test.js → GlobeIcon/index.test/index.js} +1 -1
  52. package/GlobeIcon/index.test/package.json +6 -0
  53. package/GlobeIcon/package.json +6 -0
  54. package/Icon/__snapshots__/index.test.tsx.snap +343 -0
  55. package/Icon/index.d.ts +25 -0
  56. package/Icon/index.js +34 -0
  57. package/Icon/index.test/index.js +82 -0
  58. package/Icon/index.test/package.json +6 -0
  59. package/Icon/index.test.d.ts +1 -0
  60. package/Icon/package.json +6 -0
  61. package/MoreVertIcon/config/package.json +6 -0
  62. package/MoreVertIcon/index.d.ts +1 -1
  63. package/MoreVertIcon/index.js +6 -21
  64. package/{es/MoreVertIcon/index.test.js → MoreVertIcon/index.test/index.js} +1 -1
  65. package/MoreVertIcon/index.test/package.json +6 -0
  66. package/MoreVertIcon/package.json +6 -0
  67. package/SearchIcon/config/package.json +6 -0
  68. package/SearchIcon/index.d.ts +1 -1
  69. package/SearchIcon/index.js +6 -21
  70. package/{esm/SearchIcon/index.test.js → SearchIcon/index.test/index.js} +1 -1
  71. package/SearchIcon/index.test/package.json +6 -0
  72. package/SearchIcon/package.json +6 -0
  73. package/UncheckIcon/config/package.json +6 -0
  74. package/UncheckIcon/index.d.ts +1 -1
  75. package/UncheckIcon/index.js +6 -21
  76. package/{esm/UncheckIcon/index.test.js → UncheckIcon/index.test/index.js} +1 -1
  77. package/UncheckIcon/index.test/package.json +6 -0
  78. package/UncheckIcon/package.json +6 -0
  79. package/cjs/AccessibilityIcon/index.js +24 -0
  80. package/{AccessibilityIcon/index.test.js → cjs/AccessibilityIcon/index.test/index.js} +10 -10
  81. package/cjs/ArrowIcon/config/index.js +39 -0
  82. package/cjs/ArrowIcon/index.js +24 -0
  83. package/{ArrowIcon/index.test.js → cjs/ArrowIcon/index.test/index.js} +5 -5
  84. package/cjs/BurgerIcon/index.js +24 -0
  85. package/{BurgerIcon/index.test.js → cjs/BurgerIcon/index.test/index.js} +7 -7
  86. package/cjs/CaretIcon/index.js +24 -0
  87. package/{CaretIcon/index.test.js → cjs/CaretIcon/index.test/index.js} +5 -5
  88. package/cjs/CheckIcon/index.js +24 -0
  89. package/{CheckIcon/index.test.js → cjs/CheckIcon/index.test/index.js} +9 -9
  90. package/{ArrowIcon/config.js → cjs/ChevronIcon/config/index.js} +5 -5
  91. package/cjs/ChevronIcon/index.js +24 -0
  92. package/cjs/ChevronIcon/index.test/index.js +39 -0
  93. package/cjs/CloseIcon/index.js +24 -0
  94. package/{CloseIcon/index.test.js → cjs/CloseIcon/index.test/index.js} +2 -2
  95. package/cjs/GlobeIcon/index.js +24 -0
  96. package/{GlobeIcon/index.test.js → cjs/GlobeIcon/index.test/index.js} +5 -5
  97. package/cjs/Icon/__snapshots__/index.test.tsx.snap +343 -0
  98. package/cjs/Icon/index.js +58 -0
  99. package/cjs/Icon/index.test/index.js +88 -0
  100. package/cjs/MoreVertIcon/index.js +24 -0
  101. package/{MoreVertIcon/index.test.js → cjs/MoreVertIcon/index.test/index.js} +10 -10
  102. package/cjs/SearchIcon/index.js +24 -0
  103. package/{SearchIcon/index.test.js → cjs/SearchIcon/index.test/index.js} +2 -2
  104. package/cjs/UncheckIcon/index.js +24 -0
  105. package/{UncheckIcon/index.test.js → cjs/UncheckIcon/index.test/index.js} +10 -10
  106. package/{icons.js → cjs/icons/index.js} +23 -10
  107. package/cjs/index.js +148 -0
  108. package/{registry.js → cjs/registry/index.js} +18 -12
  109. package/icons/index.js +12 -0
  110. package/icons/package.json +6 -0
  111. package/icons.d.ts +3 -0
  112. package/index.d.ts +1 -0
  113. package/index.js +11 -135
  114. package/package.json +4 -5
  115. package/{es/registry.js → registry/index.js} +16 -12
  116. package/registry/package.json +6 -0
  117. package/registry.d.ts +2 -0
  118. package/src/AccessibilityIcon/index.tsx +1 -1
  119. package/src/ArrowIcon/config.tsx +6 -6
  120. package/src/ArrowIcon/index.tsx +1 -1
  121. package/src/BurgerIcon/index.tsx +1 -1
  122. package/src/CaretIcon/index.tsx +1 -1
  123. package/src/CheckIcon/index.tsx +1 -1
  124. package/src/ChevronIcon/config.tsx +37 -0
  125. package/src/ChevronIcon/index.test.tsx +20 -0
  126. package/src/ChevronIcon/index.tsx +8 -0
  127. package/src/CloseIcon/index.tsx +1 -1
  128. package/src/GlobeIcon/index.tsx +1 -1
  129. package/src/Icon/__snapshots__/index.test.tsx.snap +343 -0
  130. package/src/Icon/index.test.tsx +36 -0
  131. package/src/Icon/index.tsx +63 -0
  132. package/src/MoreVertIcon/index.tsx +1 -1
  133. package/src/SearchIcon/index.tsx +1 -1
  134. package/src/UncheckIcon/index.tsx +1 -1
  135. package/src/icons.ts +3 -0
  136. package/src/index.ts +1 -0
  137. package/src/registry.js +4 -0
  138. package/es/AccessibilityIcon/index.js +0 -9
  139. package/es/ArrowIcon/index.js +0 -9
  140. package/es/ArrowIcon/index.test.js +0 -33
  141. package/es/BurgerIcon/index.js +0 -9
  142. package/es/BurgerIcon/index.test.js +0 -50
  143. package/es/CaretIcon/index.js +0 -9
  144. package/es/CaretIcon/index.test.js +0 -33
  145. package/es/CheckIcon/index.test.js +0 -67
  146. package/es/CloseIcon/index.js +0 -9
  147. package/es/CloseIcon/index.test.js +0 -9
  148. package/es/GlobeIcon/index.js +0 -9
  149. package/es/GlobeIcon/index.test.js +0 -33
  150. package/es/MoreVertIcon/index.js +0 -9
  151. package/es/SearchIcon/index.js +0 -9
  152. package/es/SearchIcon/index.test.js +0 -9
  153. package/es/UncheckIcon/index.js +0 -9
  154. package/es/UncheckIcon/index.test.js +0 -75
  155. package/es/icons.js +0 -11
  156. package/es/index.js +0 -10
  157. package/esm/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -408
  158. package/esm/AccessibilityIcon/config.js +0 -19
  159. package/esm/AccessibilityIcon/index.js +0 -9
  160. package/esm/AccessibilityIcon/index.test.js +0 -75
  161. package/esm/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -148
  162. package/esm/ArrowIcon/config.js +0 -27
  163. package/esm/ArrowIcon/index.js +0 -9
  164. package/esm/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -320
  165. package/esm/BurgerIcon/config.js +0 -32
  166. package/esm/BurgerIcon/index.js +0 -9
  167. package/esm/CaretIcon/__snapshots__/index.test.tsx.snap +0 -148
  168. package/esm/CaretIcon/config.js +0 -27
  169. package/esm/CaretIcon/index.js +0 -9
  170. package/esm/CheckIcon/__snapshots__/index.test.tsx.snap +0 -299
  171. package/esm/CheckIcon/config.js +0 -11
  172. package/esm/CheckIcon/index.js +0 -9
  173. package/esm/CloseIcon/__snapshots__/index.test.tsx.snap +0 -34
  174. package/esm/CloseIcon/config.js +0 -11
  175. package/esm/CloseIcon/index.js +0 -9
  176. package/esm/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -149
  177. package/esm/GlobeIcon/config.js +0 -11
  178. package/esm/GlobeIcon/index.js +0 -9
  179. package/esm/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -444
  180. package/esm/MoreVertIcon/config.js +0 -25
  181. package/esm/MoreVertIcon/index.js +0 -9
  182. package/esm/MoreVertIcon/index.test.js +0 -75
  183. package/esm/SearchIcon/__snapshots__/index.test.tsx.snap +0 -34
  184. package/esm/SearchIcon/config.js +0 -11
  185. package/esm/SearchIcon/index.js +0 -9
  186. package/esm/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -336
  187. package/esm/UncheckIcon/config.js +0 -11
  188. package/esm/UncheckIcon/index.js +0 -9
  189. package/esm/icons.js +0 -11
  190. package/esm/index.js +0 -10
  191. package/esm/registry.js +0 -42
  192. /package/{es/AccessibilityIcon/config.js → AccessibilityIcon/config/index.js} +0 -0
  193. /package/{es/BurgerIcon/config.js → BurgerIcon/config/index.js} +0 -0
  194. /package/{es/CaretIcon/config.js → CaretIcon/config/index.js} +0 -0
  195. /package/{es/CheckIcon/config.js → CheckIcon/config/index.js} +0 -0
  196. /package/{es/CloseIcon/config.js → CloseIcon/config/index.js} +0 -0
  197. /package/{es/GlobeIcon/config.js → GlobeIcon/config/index.js} +0 -0
  198. /package/{es/MoreVertIcon/config.js → MoreVertIcon/config/index.js} +0 -0
  199. /package/{es/SearchIcon/config.js → SearchIcon/config/index.js} +0 -0
  200. /package/{es/UncheckIcon/config.js → UncheckIcon/config/index.js} +0 -0
  201. /package/{es → cjs}/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -0
  202. /package/{AccessibilityIcon/config.js → cjs/AccessibilityIcon/config/index.js} +0 -0
  203. /package/{es → cjs}/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -0
  204. /package/{es → cjs}/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -0
  205. /package/{BurgerIcon/config.js → cjs/BurgerIcon/config/index.js} +0 -0
  206. /package/{es → cjs}/CaretIcon/__snapshots__/index.test.tsx.snap +0 -0
  207. /package/{CaretIcon/config.js → cjs/CaretIcon/config/index.js} +0 -0
  208. /package/{es → cjs}/CheckIcon/__snapshots__/index.test.tsx.snap +0 -0
  209. /package/{CheckIcon/config.js → cjs/CheckIcon/config/index.js} +0 -0
  210. /package/{es → cjs}/CloseIcon/__snapshots__/index.test.tsx.snap +0 -0
  211. /package/{CloseIcon/config.js → cjs/CloseIcon/config/index.js} +0 -0
  212. /package/{es → cjs}/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -0
  213. /package/{GlobeIcon/config.js → cjs/GlobeIcon/config/index.js} +0 -0
  214. /package/{es → cjs}/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -0
  215. /package/{MoreVertIcon/config.js → cjs/MoreVertIcon/config/index.js} +0 -0
  216. /package/{es → cjs}/SearchIcon/__snapshots__/index.test.tsx.snap +0 -0
  217. /package/{SearchIcon/config.js → cjs/SearchIcon/config/index.js} +0 -0
  218. /package/{es → cjs}/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -0
  219. /package/{UncheckIcon/config.js → cjs/UncheckIcon/config/index.js} +0 -0
@@ -6,9 +6,9 @@ var _react = _interopRequireDefault(require("react"));
6
6
 
7
7
  var _enzyme = require("enzyme");
8
8
 
9
- var _SearchIcon = _interopRequireDefault(require("@digigov/react-icons/SearchIcon"));
9
+ var _ = _interopRequireDefault(require("./"));
10
10
 
11
- var _ref = /*#__PURE__*/_react["default"].createElement(_SearchIcon["default"], null);
11
+ var _ref = /*#__PURE__*/_react["default"].createElement(_["default"], null);
12
12
 
13
13
  it('renders the SearchIcon with no props', function () {
14
14
  expect((0, _enzyme.mount)(_ref)).toMatchSnapshot();
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = exports.UncheckIcon = void 0;
9
+
10
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
+
12
+ var _react = _interopRequireDefault(require("react"));
13
+
14
+ var _Icon = _interopRequireDefault(require("../Icon"));
15
+
16
+ var UncheckIcon = function UncheckIcon(props) {
17
+ return /*#__PURE__*/_react["default"].createElement(_Icon["default"], (0, _extends2["default"])({}, props, {
18
+ icon: "uncheck"
19
+ }));
20
+ };
21
+
22
+ exports.UncheckIcon = UncheckIcon;
23
+ var _default = UncheckIcon;
24
+ exports["default"] = _default;
@@ -6,15 +6,15 @@ var _react = _interopRequireDefault(require("react"));
6
6
 
7
7
  var _enzyme = require("enzyme");
8
8
 
9
- var _UncheckIcon = _interopRequireDefault(require("@digigov/react-icons/UncheckIcon"));
9
+ var _ = _interopRequireDefault(require("./"));
10
10
 
11
- var _ref = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], null);
11
+ var _ref = /*#__PURE__*/_react["default"].createElement(_["default"], null);
12
12
 
13
13
  it('renders the UncheckIcon with no props', function () {
14
14
  expect((0, _enzyme.mount)(_ref)).toMatchSnapshot();
15
15
  });
16
16
 
17
- var _ref2 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
17
+ var _ref2 = /*#__PURE__*/_react["default"].createElement(_["default"], {
18
18
  size: "md"
19
19
  });
20
20
 
@@ -22,7 +22,7 @@ it('renders the UncheckIcon with prop size=m', function () {
22
22
  expect((0, _enzyme.mount)(_ref2)).toMatchSnapshot();
23
23
  });
24
24
 
25
- var _ref3 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
25
+ var _ref3 = /*#__PURE__*/_react["default"].createElement(_["default"], {
26
26
  size: "lg"
27
27
  });
28
28
 
@@ -30,7 +30,7 @@ it('renders the UncheckIcon with prop size=l', function () {
30
30
  expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
31
31
  });
32
32
 
33
- var _ref4 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
33
+ var _ref4 = /*#__PURE__*/_react["default"].createElement(_["default"], {
34
34
  variant: "dark"
35
35
  });
36
36
 
@@ -38,7 +38,7 @@ it('renders the UncheckIcon with prop variant=dark', function () {
38
38
  expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
39
39
  });
40
40
 
41
- var _ref5 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
41
+ var _ref5 = /*#__PURE__*/_react["default"].createElement(_["default"], {
42
42
  variant: "light"
43
43
  });
44
44
 
@@ -46,7 +46,7 @@ it('renders the UncheckIcon with prop variant=light', function () {
46
46
  expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
47
47
  });
48
48
 
49
- var _ref6 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
49
+ var _ref6 = /*#__PURE__*/_react["default"].createElement(_["default"], {
50
50
  variant: "gray"
51
51
  });
52
52
 
@@ -54,7 +54,7 @@ it('renders the UncheckIcon with prop variant=gray', function () {
54
54
  expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
55
55
  });
56
56
 
57
- var _ref7 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
57
+ var _ref7 = /*#__PURE__*/_react["default"].createElement(_["default"], {
58
58
  variant: "primary"
59
59
  });
60
60
 
@@ -62,7 +62,7 @@ it('renders the UncheckIcon with prop variant=primary', function () {
62
62
  expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
63
63
  });
64
64
 
65
- var _ref8 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
65
+ var _ref8 = /*#__PURE__*/_react["default"].createElement(_["default"], {
66
66
  variant: "warning",
67
67
  size: "sm"
68
68
  });
@@ -71,7 +71,7 @@ it('renders the UncheckIcon with prop variant=warning and size=s', function () {
71
71
  expect((0, _enzyme.mount)(_ref8)).toMatchSnapshot();
72
72
  });
73
73
 
74
- var _ref9 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
74
+ var _ref9 = /*#__PURE__*/_react["default"].createElement(_["default"], {
75
75
  variant: "warning",
76
76
  size: "xl"
77
77
  });
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var _config = require("@digigov/react-icons/AccessibilityIcon/config");
7
+ var _config = require("./AccessibilityIcon/config");
8
8
 
9
9
  Object.keys(_config).forEach(function (key) {
10
10
  if (key === "default" || key === "__esModule") return;
@@ -17,7 +17,7 @@ Object.keys(_config).forEach(function (key) {
17
17
  });
18
18
  });
19
19
 
20
- var _config2 = require("@digigov/react-icons/ArrowIcon/config");
20
+ var _config2 = require("./ArrowIcon/config");
21
21
 
22
22
  Object.keys(_config2).forEach(function (key) {
23
23
  if (key === "default" || key === "__esModule") return;
@@ -30,7 +30,7 @@ Object.keys(_config2).forEach(function (key) {
30
30
  });
31
31
  });
32
32
 
33
- var _config3 = require("@digigov/react-icons/BurgerIcon/config");
33
+ var _config3 = require("./BurgerIcon/config");
34
34
 
35
35
  Object.keys(_config3).forEach(function (key) {
36
36
  if (key === "default" || key === "__esModule") return;
@@ -43,7 +43,7 @@ Object.keys(_config3).forEach(function (key) {
43
43
  });
44
44
  });
45
45
 
46
- var _config4 = require("@digigov/react-icons/CaretIcon/config");
46
+ var _config4 = require("./CaretIcon/config");
47
47
 
48
48
  Object.keys(_config4).forEach(function (key) {
49
49
  if (key === "default" || key === "__esModule") return;
@@ -56,7 +56,7 @@ Object.keys(_config4).forEach(function (key) {
56
56
  });
57
57
  });
58
58
 
59
- var _config5 = require("@digigov/react-icons/CloseIcon/config");
59
+ var _config5 = require("./ChevronIcon/config");
60
60
 
61
61
  Object.keys(_config5).forEach(function (key) {
62
62
  if (key === "default" || key === "__esModule") return;
@@ -69,7 +69,7 @@ Object.keys(_config5).forEach(function (key) {
69
69
  });
70
70
  });
71
71
 
72
- var _config6 = require("@digigov/react-icons/CheckIcon/config");
72
+ var _config6 = require("./CloseIcon/config");
73
73
 
74
74
  Object.keys(_config6).forEach(function (key) {
75
75
  if (key === "default" || key === "__esModule") return;
@@ -82,7 +82,7 @@ Object.keys(_config6).forEach(function (key) {
82
82
  });
83
83
  });
84
84
 
85
- var _config7 = require("@digigov/react-icons/GlobeIcon/config");
85
+ var _config7 = require("./CheckIcon/config");
86
86
 
87
87
  Object.keys(_config7).forEach(function (key) {
88
88
  if (key === "default" || key === "__esModule") return;
@@ -95,7 +95,7 @@ Object.keys(_config7).forEach(function (key) {
95
95
  });
96
96
  });
97
97
 
98
- var _config8 = require("@digigov/react-icons/MoreVertIcon/config");
98
+ var _config8 = require("./GlobeIcon/config");
99
99
 
100
100
  Object.keys(_config8).forEach(function (key) {
101
101
  if (key === "default" || key === "__esModule") return;
@@ -108,7 +108,7 @@ Object.keys(_config8).forEach(function (key) {
108
108
  });
109
109
  });
110
110
 
111
- var _config9 = require("@digigov/react-icons/UncheckIcon/config");
111
+ var _config9 = require("./MoreVertIcon/config");
112
112
 
113
113
  Object.keys(_config9).forEach(function (key) {
114
114
  if (key === "default" || key === "__esModule") return;
@@ -121,7 +121,7 @@ Object.keys(_config9).forEach(function (key) {
121
121
  });
122
122
  });
123
123
 
124
- var _config10 = require("@digigov/react-icons/SearchIcon/config");
124
+ var _config10 = require("./UncheckIcon/config");
125
125
 
126
126
  Object.keys(_config10).forEach(function (key) {
127
127
  if (key === "default" || key === "__esModule") return;
@@ -132,4 +132,17 @@ Object.keys(_config10).forEach(function (key) {
132
132
  return _config10[key];
133
133
  }
134
134
  });
135
+ });
136
+
137
+ var _config11 = require("./SearchIcon/config");
138
+
139
+ Object.keys(_config11).forEach(function (key) {
140
+ if (key === "default" || key === "__esModule") return;
141
+ if (key in exports && exports[key] === _config11[key]) return;
142
+ Object.defineProperty(exports, key, {
143
+ enumerable: true,
144
+ get: function get() {
145
+ return _config11[key];
146
+ }
147
+ });
135
148
  });
package/cjs/index.js ADDED
@@ -0,0 +1,148 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ var _AccessibilityIcon = require("./AccessibilityIcon");
8
+
9
+ Object.keys(_AccessibilityIcon).forEach(function (key) {
10
+ if (key === "default" || key === "__esModule") return;
11
+ if (key in exports && exports[key] === _AccessibilityIcon[key]) return;
12
+ Object.defineProperty(exports, key, {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _AccessibilityIcon[key];
16
+ }
17
+ });
18
+ });
19
+
20
+ var _ArrowIcon = require("./ArrowIcon");
21
+
22
+ Object.keys(_ArrowIcon).forEach(function (key) {
23
+ if (key === "default" || key === "__esModule") return;
24
+ if (key in exports && exports[key] === _ArrowIcon[key]) return;
25
+ Object.defineProperty(exports, key, {
26
+ enumerable: true,
27
+ get: function get() {
28
+ return _ArrowIcon[key];
29
+ }
30
+ });
31
+ });
32
+
33
+ var _BurgerIcon = require("./BurgerIcon");
34
+
35
+ Object.keys(_BurgerIcon).forEach(function (key) {
36
+ if (key === "default" || key === "__esModule") return;
37
+ if (key in exports && exports[key] === _BurgerIcon[key]) return;
38
+ Object.defineProperty(exports, key, {
39
+ enumerable: true,
40
+ get: function get() {
41
+ return _BurgerIcon[key];
42
+ }
43
+ });
44
+ });
45
+
46
+ var _CaretIcon = require("./CaretIcon");
47
+
48
+ Object.keys(_CaretIcon).forEach(function (key) {
49
+ if (key === "default" || key === "__esModule") return;
50
+ if (key in exports && exports[key] === _CaretIcon[key]) return;
51
+ Object.defineProperty(exports, key, {
52
+ enumerable: true,
53
+ get: function get() {
54
+ return _CaretIcon[key];
55
+ }
56
+ });
57
+ });
58
+
59
+ var _CheckIcon = require("./CheckIcon");
60
+
61
+ Object.keys(_CheckIcon).forEach(function (key) {
62
+ if (key === "default" || key === "__esModule") return;
63
+ if (key in exports && exports[key] === _CheckIcon[key]) return;
64
+ Object.defineProperty(exports, key, {
65
+ enumerable: true,
66
+ get: function get() {
67
+ return _CheckIcon[key];
68
+ }
69
+ });
70
+ });
71
+
72
+ var _ChevronIcon = require("./ChevronIcon");
73
+
74
+ Object.keys(_ChevronIcon).forEach(function (key) {
75
+ if (key === "default" || key === "__esModule") return;
76
+ if (key in exports && exports[key] === _ChevronIcon[key]) return;
77
+ Object.defineProperty(exports, key, {
78
+ enumerable: true,
79
+ get: function get() {
80
+ return _ChevronIcon[key];
81
+ }
82
+ });
83
+ });
84
+
85
+ var _UncheckIcon = require("./UncheckIcon");
86
+
87
+ Object.keys(_UncheckIcon).forEach(function (key) {
88
+ if (key === "default" || key === "__esModule") return;
89
+ if (key in exports && exports[key] === _UncheckIcon[key]) return;
90
+ Object.defineProperty(exports, key, {
91
+ enumerable: true,
92
+ get: function get() {
93
+ return _UncheckIcon[key];
94
+ }
95
+ });
96
+ });
97
+
98
+ var _CloseIcon = require("./CloseIcon");
99
+
100
+ Object.keys(_CloseIcon).forEach(function (key) {
101
+ if (key === "default" || key === "__esModule") return;
102
+ if (key in exports && exports[key] === _CloseIcon[key]) return;
103
+ Object.defineProperty(exports, key, {
104
+ enumerable: true,
105
+ get: function get() {
106
+ return _CloseIcon[key];
107
+ }
108
+ });
109
+ });
110
+
111
+ var _GlobeIcon = require("./GlobeIcon");
112
+
113
+ Object.keys(_GlobeIcon).forEach(function (key) {
114
+ if (key === "default" || key === "__esModule") return;
115
+ if (key in exports && exports[key] === _GlobeIcon[key]) return;
116
+ Object.defineProperty(exports, key, {
117
+ enumerable: true,
118
+ get: function get() {
119
+ return _GlobeIcon[key];
120
+ }
121
+ });
122
+ });
123
+
124
+ var _MoreVertIcon = require("./MoreVertIcon");
125
+
126
+ Object.keys(_MoreVertIcon).forEach(function (key) {
127
+ if (key === "default" || key === "__esModule") return;
128
+ if (key in exports && exports[key] === _MoreVertIcon[key]) return;
129
+ Object.defineProperty(exports, key, {
130
+ enumerable: true,
131
+ get: function get() {
132
+ return _MoreVertIcon[key];
133
+ }
134
+ });
135
+ });
136
+
137
+ var _SearchIcon = require("./SearchIcon");
138
+
139
+ Object.keys(_SearchIcon).forEach(function (key) {
140
+ if (key === "default" || key === "__esModule") return;
141
+ if (key in exports && exports[key] === _SearchIcon[key]) return;
142
+ Object.defineProperty(exports, key, {
143
+ enumerable: true,
144
+ get: function get() {
145
+ return _SearchIcon[key];
146
+ }
147
+ });
148
+ });
@@ -7,29 +7,33 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports["default"] = void 0;
9
9
 
10
- var _digigov_react_icons_AccessibilityIcon = _interopRequireWildcard(require("@digigov/react-icons/AccessibilityIcon"));
10
+ var _digigov_react_icons_AccessibilityIcon = _interopRequireWildcard(require("./AccessibilityIcon"));
11
11
 
12
- var _digigov_react_icons_ArrowIcon = _interopRequireWildcard(require("@digigov/react-icons/ArrowIcon"));
12
+ var _digigov_react_icons_ArrowIcon = _interopRequireWildcard(require("./ArrowIcon"));
13
13
 
14
- var _digigov_react_icons_BurgerIcon = _interopRequireWildcard(require("@digigov/react-icons/BurgerIcon"));
14
+ var _digigov_react_icons_BurgerIcon = _interopRequireWildcard(require("./BurgerIcon"));
15
15
 
16
- var _digigov_react_icons_CaretIcon = _interopRequireWildcard(require("@digigov/react-icons/CaretIcon"));
16
+ var _digigov_react_icons_CaretIcon = _interopRequireWildcard(require("./CaretIcon"));
17
17
 
18
- var _digigov_react_icons_CheckIcon = _interopRequireWildcard(require("@digigov/react-icons/CheckIcon"));
18
+ var _digigov_react_icons_CheckIcon = _interopRequireWildcard(require("./CheckIcon"));
19
19
 
20
- var _digigov_react_icons_CloseIcon = _interopRequireWildcard(require("@digigov/react-icons/CloseIcon"));
20
+ var _digigov_react_icons_ChevronIcon = _interopRequireWildcard(require("./ChevronIcon"));
21
21
 
22
- var _digigov_react_icons_GlobeIcon = _interopRequireWildcard(require("@digigov/react-icons/GlobeIcon"));
22
+ var _digigov_react_icons_CloseIcon = _interopRequireWildcard(require("./CloseIcon"));
23
23
 
24
- var _digigov_react_icons_icons = _interopRequireWildcard(require("@digigov/react-icons/icons"));
24
+ var _digigov_react_icons_GlobeIcon = _interopRequireWildcard(require("./GlobeIcon"));
25
25
 
26
- var _digigov_react_icons = _interopRequireWildcard(require("@digigov/react-icons"));
26
+ var _digigov_react_icons_Icon = _interopRequireWildcard(require("./Icon"));
27
27
 
28
- var _digigov_react_icons_MoreVertIcon = _interopRequireWildcard(require("@digigov/react-icons/MoreVertIcon"));
28
+ var _digigov_react_icons_icons = _interopRequireWildcard(require("./icons"));
29
29
 
30
- var _digigov_react_icons_SearchIcon = _interopRequireWildcard(require("@digigov/react-icons/SearchIcon"));
30
+ var _digigov_react_icons = _interopRequireWildcard(require("./"));
31
31
 
32
- var _digigov_react_icons_UncheckIcon = _interopRequireWildcard(require("@digigov/react-icons/UncheckIcon"));
32
+ var _digigov_react_icons_MoreVertIcon = _interopRequireWildcard(require("./MoreVertIcon"));
33
+
34
+ var _digigov_react_icons_SearchIcon = _interopRequireWildcard(require("./SearchIcon"));
35
+
36
+ var _digigov_react_icons_UncheckIcon = _interopRequireWildcard(require("./UncheckIcon"));
33
37
 
34
38
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
35
39
 
@@ -56,8 +60,10 @@ var _default = {
56
60
  '@digigov/react-icons/BurgerIcon': lazyImport(_digigov_react_icons_BurgerIcon),
57
61
  '@digigov/react-icons/CaretIcon': lazyImport(_digigov_react_icons_CaretIcon),
58
62
  '@digigov/react-icons/CheckIcon': lazyImport(_digigov_react_icons_CheckIcon),
63
+ '@digigov/react-icons/ChevronIcon': lazyImport(_digigov_react_icons_ChevronIcon),
59
64
  '@digigov/react-icons/CloseIcon': lazyImport(_digigov_react_icons_CloseIcon),
60
65
  '@digigov/react-icons/GlobeIcon': lazyImport(_digigov_react_icons_GlobeIcon),
66
+ '@digigov/react-icons/Icon': lazyImport(_digigov_react_icons_Icon),
61
67
  '@digigov/react-icons/icons': lazyImport(_digigov_react_icons_icons),
62
68
  '@digigov/react-icons': lazyImport(_digigov_react_icons),
63
69
  '@digigov/react-icons/MoreVertIcon': lazyImport(_digigov_react_icons_MoreVertIcon),
package/icons/index.js ADDED
@@ -0,0 +1,12 @@
1
+ export * from "./AccessibilityIcon/config";
2
+ export * from "./ArrowIcon/config";
3
+ export * from "./BurgerIcon/config";
4
+ export * from "./CaretIcon/config";
5
+ export * from "./ChevronIcon/config";
6
+ export * from "./CloseIcon/config";
7
+ export * from "./CheckIcon/config";
8
+ export * from "./GlobeIcon/config";
9
+ export * from "./MoreVertIcon/config";
10
+ export * from "./UncheckIcon/config";
11
+ export * from "./SearchIcon/config";
12
+ export {};
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "./index.js",
4
+ "types": "./index.d.ts",
5
+ "main": "../cjs/icons/index.js"
6
+ }
package/icons.d.ts CHANGED
@@ -3,6 +3,7 @@ import type { ArrowType } from '@digigov/react-icons/ArrowIcon/config';
3
3
  import type { BurgerType } from '@digigov/react-icons/BurgerIcon/config';
4
4
  import type { CaretType } from '@digigov/react-icons/CaretIcon/config';
5
5
  import type { CheckType } from '@digigov/react-icons/CheckIcon/config';
6
+ import type { ChevronType } from '@digigov/react-icons/ChevronIcon/config';
6
7
  import type { CloseType } from '@digigov/react-icons/CloseIcon/config';
7
8
  import type { GlobeType } from '@digigov/react-icons/GlobeIcon/config';
8
9
  import type { MoreVertType } from '@digigov/react-icons/MoreVertIcon/config';
@@ -12,6 +13,7 @@ export * from '@digigov/react-icons/AccessibilityIcon/config';
12
13
  export * from '@digigov/react-icons/ArrowIcon/config';
13
14
  export * from '@digigov/react-icons/BurgerIcon/config';
14
15
  export * from '@digigov/react-icons/CaretIcon/config';
16
+ export * from '@digigov/react-icons/ChevronIcon/config';
15
17
  export * from '@digigov/react-icons/CloseIcon/config';
16
18
  export * from '@digigov/react-icons/CheckIcon/config';
17
19
  export * from '@digigov/react-icons/GlobeIcon/config';
@@ -29,4 +31,5 @@ export interface IconTypes {
29
31
  moreVert: MoreVertType;
30
32
  uncheck: UncheckType;
31
33
  search: SearchType;
34
+ chevron: ChevronType;
32
35
  }
package/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export * from '@digigov/react-icons/ArrowIcon';
3
3
  export * from '@digigov/react-icons/BurgerIcon';
4
4
  export * from '@digigov/react-icons/CaretIcon';
5
5
  export * from '@digigov/react-icons/CheckIcon';
6
+ export * from '@digigov/react-icons/ChevronIcon';
6
7
  export * from '@digigov/react-icons/UncheckIcon';
7
8
  export * from '@digigov/react-icons/CloseIcon';
8
9
  export * from '@digigov/react-icons/GlobeIcon';
package/index.js CHANGED
@@ -1,135 +1,11 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
-
7
- var _AccessibilityIcon = require("@digigov/react-icons/AccessibilityIcon");
8
-
9
- Object.keys(_AccessibilityIcon).forEach(function (key) {
10
- if (key === "default" || key === "__esModule") return;
11
- if (key in exports && exports[key] === _AccessibilityIcon[key]) return;
12
- Object.defineProperty(exports, key, {
13
- enumerable: true,
14
- get: function get() {
15
- return _AccessibilityIcon[key];
16
- }
17
- });
18
- });
19
-
20
- var _ArrowIcon = require("@digigov/react-icons/ArrowIcon");
21
-
22
- Object.keys(_ArrowIcon).forEach(function (key) {
23
- if (key === "default" || key === "__esModule") return;
24
- if (key in exports && exports[key] === _ArrowIcon[key]) return;
25
- Object.defineProperty(exports, key, {
26
- enumerable: true,
27
- get: function get() {
28
- return _ArrowIcon[key];
29
- }
30
- });
31
- });
32
-
33
- var _BurgerIcon = require("@digigov/react-icons/BurgerIcon");
34
-
35
- Object.keys(_BurgerIcon).forEach(function (key) {
36
- if (key === "default" || key === "__esModule") return;
37
- if (key in exports && exports[key] === _BurgerIcon[key]) return;
38
- Object.defineProperty(exports, key, {
39
- enumerable: true,
40
- get: function get() {
41
- return _BurgerIcon[key];
42
- }
43
- });
44
- });
45
-
46
- var _CaretIcon = require("@digigov/react-icons/CaretIcon");
47
-
48
- Object.keys(_CaretIcon).forEach(function (key) {
49
- if (key === "default" || key === "__esModule") return;
50
- if (key in exports && exports[key] === _CaretIcon[key]) return;
51
- Object.defineProperty(exports, key, {
52
- enumerable: true,
53
- get: function get() {
54
- return _CaretIcon[key];
55
- }
56
- });
57
- });
58
-
59
- var _CheckIcon = require("@digigov/react-icons/CheckIcon");
60
-
61
- Object.keys(_CheckIcon).forEach(function (key) {
62
- if (key === "default" || key === "__esModule") return;
63
- if (key in exports && exports[key] === _CheckIcon[key]) return;
64
- Object.defineProperty(exports, key, {
65
- enumerable: true,
66
- get: function get() {
67
- return _CheckIcon[key];
68
- }
69
- });
70
- });
71
-
72
- var _UncheckIcon = require("@digigov/react-icons/UncheckIcon");
73
-
74
- Object.keys(_UncheckIcon).forEach(function (key) {
75
- if (key === "default" || key === "__esModule") return;
76
- if (key in exports && exports[key] === _UncheckIcon[key]) return;
77
- Object.defineProperty(exports, key, {
78
- enumerable: true,
79
- get: function get() {
80
- return _UncheckIcon[key];
81
- }
82
- });
83
- });
84
-
85
- var _CloseIcon = require("@digigov/react-icons/CloseIcon");
86
-
87
- Object.keys(_CloseIcon).forEach(function (key) {
88
- if (key === "default" || key === "__esModule") return;
89
- if (key in exports && exports[key] === _CloseIcon[key]) return;
90
- Object.defineProperty(exports, key, {
91
- enumerable: true,
92
- get: function get() {
93
- return _CloseIcon[key];
94
- }
95
- });
96
- });
97
-
98
- var _GlobeIcon = require("@digigov/react-icons/GlobeIcon");
99
-
100
- Object.keys(_GlobeIcon).forEach(function (key) {
101
- if (key === "default" || key === "__esModule") return;
102
- if (key in exports && exports[key] === _GlobeIcon[key]) return;
103
- Object.defineProperty(exports, key, {
104
- enumerable: true,
105
- get: function get() {
106
- return _GlobeIcon[key];
107
- }
108
- });
109
- });
110
-
111
- var _MoreVertIcon = require("@digigov/react-icons/MoreVertIcon");
112
-
113
- Object.keys(_MoreVertIcon).forEach(function (key) {
114
- if (key === "default" || key === "__esModule") return;
115
- if (key in exports && exports[key] === _MoreVertIcon[key]) return;
116
- Object.defineProperty(exports, key, {
117
- enumerable: true,
118
- get: function get() {
119
- return _MoreVertIcon[key];
120
- }
121
- });
122
- });
123
-
124
- var _SearchIcon = require("@digigov/react-icons/SearchIcon");
125
-
126
- Object.keys(_SearchIcon).forEach(function (key) {
127
- if (key === "default" || key === "__esModule") return;
128
- if (key in exports && exports[key] === _SearchIcon[key]) return;
129
- Object.defineProperty(exports, key, {
130
- enumerable: true,
131
- get: function get() {
132
- return _SearchIcon[key];
133
- }
134
- });
135
- });
1
+ export * from "./AccessibilityIcon";
2
+ export * from "./ArrowIcon";
3
+ export * from "./BurgerIcon";
4
+ export * from "./CaretIcon";
5
+ export * from "./CheckIcon";
6
+ export * from "./ChevronIcon";
7
+ export * from "./UncheckIcon";
8
+ export * from "./CloseIcon";
9
+ export * from "./GlobeIcon";
10
+ export * from "./MoreVertIcon";
11
+ export * from "./SearchIcon";
package/package.json CHANGED
@@ -1,18 +1,17 @@
1
1
  {
2
2
  "name": "@digigov/react-icons",
3
- "version": "1.0.0-079f34f3d",
3
+ "version": "1.0.0-23c81d9f",
4
4
  "description": "@digigov react icons",
5
5
  "author": "GRNET Developers <devs@lists.grnet.gr>",
6
6
  "license": "BSD-2-Clause",
7
- "main": "./index.js",
8
- "module": "./esm/index.js",
7
+ "main": "./cjs/index.js",
8
+ "module": "./index.js",
9
9
  "publishConfig": {
10
10
  "access": "public",
11
11
  "directory": "dist"
12
12
  },
13
13
  "peerDependencies": {
14
- "@digigov/css": "1.0.0-079f34f3d",
15
- "@digigov/react-core": "1.0.0-079f34f3d",
14
+ "@digigov/css": "1.0.0-23c81d9f",
16
15
  "clsx": "1.1.1",
17
16
  "react": "^16.8.0 || ^17.0.0",
18
17
  "react-dom": "^16.8.0 || ^17.0.0"