@digigov/react-icons 1.0.0-21c8c3dc → 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 (199) hide show
  1. package/AccessibilityIcon/config/package.json +6 -0
  2. package/AccessibilityIcon/index.js +6 -21
  3. package/{es/AccessibilityIcon/index.test.js → AccessibilityIcon/index.test/index.js} +1 -1
  4. package/AccessibilityIcon/index.test/package.json +6 -0
  5. package/AccessibilityIcon/package.json +6 -0
  6. package/ArrowIcon/config/index.js +27 -0
  7. package/ArrowIcon/config/package.json +6 -0
  8. package/ArrowIcon/config.d.ts +1 -1
  9. package/ArrowIcon/index.js +6 -21
  10. package/{esm/ArrowIcon/index.test.js → ArrowIcon/index.test/index.js} +1 -1
  11. package/ArrowIcon/index.test/package.json +6 -0
  12. package/ArrowIcon/package.json +6 -0
  13. package/BurgerIcon/config/package.json +6 -0
  14. package/BurgerIcon/index.js +6 -21
  15. package/{esm/BurgerIcon/index.test.js → BurgerIcon/index.test/index.js} +1 -1
  16. package/BurgerIcon/index.test/package.json +6 -0
  17. package/BurgerIcon/package.json +6 -0
  18. package/CaretIcon/config/package.json +6 -0
  19. package/CaretIcon/index.js +6 -21
  20. package/{esm/CaretIcon/index.test.js → CaretIcon/index.test/index.js} +1 -1
  21. package/CaretIcon/index.test/package.json +6 -0
  22. package/CaretIcon/package.json +6 -0
  23. package/CheckIcon/config/package.json +6 -0
  24. package/CheckIcon/index.js +6 -21
  25. package/{esm/CheckIcon/index.test.js → CheckIcon/index.test/index.js} +1 -1
  26. package/CheckIcon/index.test/package.json +6 -0
  27. package/CheckIcon/package.json +6 -0
  28. package/{es/ArrowIcon/config.js → ChevronIcon/config/index.js} +3 -3
  29. package/ChevronIcon/config/package.json +6 -0
  30. package/ChevronIcon/config.d.ts +14 -0
  31. package/ChevronIcon/index.d.ts +4 -0
  32. package/{es/CheckIcon → ChevronIcon}/index.js +4 -4
  33. package/ChevronIcon/index.test/index.js +33 -0
  34. package/ChevronIcon/index.test/package.json +6 -0
  35. package/ChevronIcon/index.test.d.ts +1 -0
  36. package/ChevronIcon/package.json +6 -0
  37. package/CloseIcon/config/package.json +6 -0
  38. package/CloseIcon/index.js +6 -21
  39. package/{esm/CloseIcon/index.test.js → CloseIcon/index.test/index.js} +1 -1
  40. package/CloseIcon/index.test/package.json +6 -0
  41. package/CloseIcon/package.json +6 -0
  42. package/GlobeIcon/config/package.json +6 -0
  43. package/GlobeIcon/index.js +6 -21
  44. package/{esm/GlobeIcon/index.test.js → GlobeIcon/index.test/index.js} +1 -1
  45. package/GlobeIcon/index.test/package.json +6 -0
  46. package/GlobeIcon/package.json +6 -0
  47. package/Icon/index.d.ts +1 -1
  48. package/Icon/index.js +16 -40
  49. package/{es/Icon/index.test.js → Icon/index.test/index.js} +1 -1
  50. package/Icon/index.test/package.json +6 -0
  51. package/Icon/package.json +6 -0
  52. package/MoreVertIcon/config/package.json +6 -0
  53. package/MoreVertIcon/index.js +6 -21
  54. package/{es/MoreVertIcon/index.test.js → MoreVertIcon/index.test/index.js} +1 -1
  55. package/MoreVertIcon/index.test/package.json +6 -0
  56. package/MoreVertIcon/package.json +6 -0
  57. package/SearchIcon/config/package.json +6 -0
  58. package/SearchIcon/index.js +6 -21
  59. package/{esm/SearchIcon/index.test.js → SearchIcon/index.test/index.js} +1 -1
  60. package/SearchIcon/index.test/package.json +6 -0
  61. package/SearchIcon/package.json +6 -0
  62. package/UncheckIcon/config/package.json +6 -0
  63. package/UncheckIcon/index.js +6 -21
  64. package/{esm/UncheckIcon/index.test.js → UncheckIcon/index.test/index.js} +1 -1
  65. package/UncheckIcon/index.test/package.json +6 -0
  66. package/UncheckIcon/package.json +6 -0
  67. package/cjs/AccessibilityIcon/index.js +24 -0
  68. package/{AccessibilityIcon/index.test.js → cjs/AccessibilityIcon/index.test/index.js} +10 -10
  69. package/cjs/ArrowIcon/config/index.js +39 -0
  70. package/cjs/ArrowIcon/index.js +24 -0
  71. package/{ArrowIcon/index.test.js → cjs/ArrowIcon/index.test/index.js} +5 -5
  72. package/cjs/BurgerIcon/index.js +24 -0
  73. package/{BurgerIcon/index.test.js → cjs/BurgerIcon/index.test/index.js} +7 -7
  74. package/cjs/CaretIcon/index.js +24 -0
  75. package/{CaretIcon/index.test.js → cjs/CaretIcon/index.test/index.js} +5 -5
  76. package/cjs/CheckIcon/index.js +24 -0
  77. package/{CheckIcon/index.test.js → cjs/CheckIcon/index.test/index.js} +9 -9
  78. package/{ArrowIcon/config.js → cjs/ChevronIcon/config/index.js} +5 -5
  79. package/cjs/ChevronIcon/index.js +24 -0
  80. package/cjs/ChevronIcon/index.test/index.js +39 -0
  81. package/cjs/CloseIcon/index.js +24 -0
  82. package/{CloseIcon/index.test.js → cjs/CloseIcon/index.test/index.js} +2 -2
  83. package/cjs/GlobeIcon/index.js +24 -0
  84. package/{GlobeIcon/index.test.js → cjs/GlobeIcon/index.test/index.js} +5 -5
  85. package/cjs/Icon/index.js +58 -0
  86. package/{Icon/index.test.js → cjs/Icon/index.test/index.js} +11 -11
  87. package/cjs/MoreVertIcon/index.js +24 -0
  88. package/{MoreVertIcon/index.test.js → cjs/MoreVertIcon/index.test/index.js} +10 -10
  89. package/cjs/SearchIcon/index.js +24 -0
  90. package/{SearchIcon/index.test.js → cjs/SearchIcon/index.test/index.js} +2 -2
  91. package/cjs/UncheckIcon/index.js +24 -0
  92. package/{UncheckIcon/index.test.js → cjs/UncheckIcon/index.test/index.js} +10 -10
  93. package/{icons.js → cjs/icons/index.js} +23 -10
  94. package/cjs/index.js +148 -0
  95. package/{registry.js → cjs/registry/index.js} +16 -13
  96. package/icons/index.js +12 -0
  97. package/icons/package.json +6 -0
  98. package/icons.d.ts +3 -0
  99. package/index.d.ts +1 -0
  100. package/index.js +11 -135
  101. package/package.json +4 -4
  102. package/{es/registry.js → registry/index.js} +15 -13
  103. package/registry/package.json +6 -0
  104. package/registry.d.ts +1 -0
  105. package/src/ArrowIcon/config.tsx +6 -6
  106. package/src/ChevronIcon/config.tsx +37 -0
  107. package/src/ChevronIcon/index.test.tsx +20 -0
  108. package/src/ChevronIcon/index.tsx +8 -0
  109. package/src/Icon/index.tsx +2 -2
  110. package/src/icons.ts +3 -0
  111. package/src/index.ts +1 -0
  112. package/src/registry.js +2 -0
  113. package/es/AccessibilityIcon/index.js +0 -9
  114. package/es/ArrowIcon/index.js +0 -9
  115. package/es/ArrowIcon/index.test.js +0 -33
  116. package/es/BurgerIcon/index.js +0 -9
  117. package/es/BurgerIcon/index.test.js +0 -50
  118. package/es/CaretIcon/index.js +0 -9
  119. package/es/CaretIcon/index.test.js +0 -33
  120. package/es/CheckIcon/index.test.js +0 -67
  121. package/es/CloseIcon/index.js +0 -9
  122. package/es/CloseIcon/index.test.js +0 -9
  123. package/es/GlobeIcon/index.js +0 -9
  124. package/es/GlobeIcon/index.test.js +0 -33
  125. package/es/Icon/index.js +0 -34
  126. package/es/MoreVertIcon/index.js +0 -9
  127. package/es/SearchIcon/index.js +0 -9
  128. package/es/SearchIcon/index.test.js +0 -9
  129. package/es/UncheckIcon/index.js +0 -9
  130. package/es/UncheckIcon/index.test.js +0 -75
  131. package/es/icons.js +0 -11
  132. package/es/index.js +0 -10
  133. package/esm/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -408
  134. package/esm/AccessibilityIcon/config.js +0 -19
  135. package/esm/AccessibilityIcon/index.js +0 -9
  136. package/esm/AccessibilityIcon/index.test.js +0 -75
  137. package/esm/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -148
  138. package/esm/ArrowIcon/config.js +0 -27
  139. package/esm/ArrowIcon/index.js +0 -9
  140. package/esm/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -320
  141. package/esm/BurgerIcon/config.js +0 -32
  142. package/esm/BurgerIcon/index.js +0 -9
  143. package/esm/CaretIcon/__snapshots__/index.test.tsx.snap +0 -148
  144. package/esm/CaretIcon/config.js +0 -27
  145. package/esm/CaretIcon/index.js +0 -9
  146. package/esm/CheckIcon/__snapshots__/index.test.tsx.snap +0 -299
  147. package/esm/CheckIcon/config.js +0 -11
  148. package/esm/CheckIcon/index.js +0 -9
  149. package/esm/CloseIcon/__snapshots__/index.test.tsx.snap +0 -34
  150. package/esm/CloseIcon/config.js +0 -11
  151. package/esm/CloseIcon/index.js +0 -9
  152. package/esm/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -149
  153. package/esm/GlobeIcon/config.js +0 -11
  154. package/esm/GlobeIcon/index.js +0 -9
  155. package/esm/Icon/__snapshots__/index.test.tsx.snap +0 -343
  156. package/esm/Icon/index.js +0 -34
  157. package/esm/Icon/index.test.js +0 -82
  158. package/esm/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -444
  159. package/esm/MoreVertIcon/config.js +0 -25
  160. package/esm/MoreVertIcon/index.js +0 -9
  161. package/esm/MoreVertIcon/index.test.js +0 -75
  162. package/esm/SearchIcon/__snapshots__/index.test.tsx.snap +0 -34
  163. package/esm/SearchIcon/config.js +0 -11
  164. package/esm/SearchIcon/index.js +0 -9
  165. package/esm/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -336
  166. package/esm/UncheckIcon/config.js +0 -11
  167. package/esm/UncheckIcon/index.js +0 -9
  168. package/esm/icons.js +0 -11
  169. package/esm/index.js +0 -10
  170. package/esm/registry.js +0 -44
  171. /package/{es/AccessibilityIcon/config.js → AccessibilityIcon/config/index.js} +0 -0
  172. /package/{es/BurgerIcon/config.js → BurgerIcon/config/index.js} +0 -0
  173. /package/{es/CaretIcon/config.js → CaretIcon/config/index.js} +0 -0
  174. /package/{es/CheckIcon/config.js → CheckIcon/config/index.js} +0 -0
  175. /package/{es/CloseIcon/config.js → CloseIcon/config/index.js} +0 -0
  176. /package/{es/GlobeIcon/config.js → GlobeIcon/config/index.js} +0 -0
  177. /package/{es/MoreVertIcon/config.js → MoreVertIcon/config/index.js} +0 -0
  178. /package/{es/SearchIcon/config.js → SearchIcon/config/index.js} +0 -0
  179. /package/{es/UncheckIcon/config.js → UncheckIcon/config/index.js} +0 -0
  180. /package/{es → cjs}/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -0
  181. /package/{AccessibilityIcon/config.js → cjs/AccessibilityIcon/config/index.js} +0 -0
  182. /package/{es → cjs}/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -0
  183. /package/{es → cjs}/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -0
  184. /package/{BurgerIcon/config.js → cjs/BurgerIcon/config/index.js} +0 -0
  185. /package/{es → cjs}/CaretIcon/__snapshots__/index.test.tsx.snap +0 -0
  186. /package/{CaretIcon/config.js → cjs/CaretIcon/config/index.js} +0 -0
  187. /package/{es → cjs}/CheckIcon/__snapshots__/index.test.tsx.snap +0 -0
  188. /package/{CheckIcon/config.js → cjs/CheckIcon/config/index.js} +0 -0
  189. /package/{es → cjs}/CloseIcon/__snapshots__/index.test.tsx.snap +0 -0
  190. /package/{CloseIcon/config.js → cjs/CloseIcon/config/index.js} +0 -0
  191. /package/{es → cjs}/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -0
  192. /package/{GlobeIcon/config.js → cjs/GlobeIcon/config/index.js} +0 -0
  193. /package/{es → cjs}/Icon/__snapshots__/index.test.tsx.snap +0 -0
  194. /package/{es → cjs}/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -0
  195. /package/{MoreVertIcon/config.js → cjs/MoreVertIcon/config/index.js} +0 -0
  196. /package/{es → cjs}/SearchIcon/__snapshots__/index.test.tsx.snap +0 -0
  197. /package/{SearchIcon/config.js → cjs/SearchIcon/config/index.js} +0 -0
  198. /package/{es → cjs}/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -0
  199. /package/{UncheckIcon/config.js → cjs/UncheckIcon/config/index.js} +0 -0
@@ -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,31 +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_Icon = _interopRequireWildcard(require("@digigov/react-icons/Icon"));
24
+ var _digigov_react_icons_GlobeIcon = _interopRequireWildcard(require("./GlobeIcon"));
25
25
 
26
- var _digigov_react_icons_icons = _interopRequireWildcard(require("@digigov/react-icons/icons"));
26
+ var _digigov_react_icons_Icon = _interopRequireWildcard(require("./Icon"));
27
27
 
28
- var _digigov_react_icons = _interopRequireWildcard(require("@digigov/react-icons"));
28
+ var _digigov_react_icons_icons = _interopRequireWildcard(require("./icons"));
29
29
 
30
- var _digigov_react_icons_MoreVertIcon = _interopRequireWildcard(require("@digigov/react-icons/MoreVertIcon"));
30
+ var _digigov_react_icons = _interopRequireWildcard(require("./"));
31
31
 
32
- var _digigov_react_icons_SearchIcon = _interopRequireWildcard(require("@digigov/react-icons/SearchIcon"));
32
+ var _digigov_react_icons_MoreVertIcon = _interopRequireWildcard(require("./MoreVertIcon"));
33
33
 
34
- var _digigov_react_icons_UncheckIcon = _interopRequireWildcard(require("@digigov/react-icons/UncheckIcon"));
34
+ var _digigov_react_icons_SearchIcon = _interopRequireWildcard(require("./SearchIcon"));
35
+
36
+ var _digigov_react_icons_UncheckIcon = _interopRequireWildcard(require("./UncheckIcon"));
35
37
 
36
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); }
37
39
 
@@ -58,6 +60,7 @@ var _default = {
58
60
  '@digigov/react-icons/BurgerIcon': lazyImport(_digigov_react_icons_BurgerIcon),
59
61
  '@digigov/react-icons/CaretIcon': lazyImport(_digigov_react_icons_CaretIcon),
60
62
  '@digigov/react-icons/CheckIcon': lazyImport(_digigov_react_icons_CheckIcon),
63
+ '@digigov/react-icons/ChevronIcon': lazyImport(_digigov_react_icons_ChevronIcon),
61
64
  '@digigov/react-icons/CloseIcon': lazyImport(_digigov_react_icons_CloseIcon),
62
65
  '@digigov/react-icons/GlobeIcon': lazyImport(_digigov_react_icons_GlobeIcon),
63
66
  '@digigov/react-icons/Icon': lazyImport(_digigov_react_icons_Icon),
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,17 +1,17 @@
1
1
  {
2
2
  "name": "@digigov/react-icons",
3
- "version": "1.0.0-21c8c3dc",
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-21c8c3dc",
14
+ "@digigov/css": "1.0.0-23c81d9f",
15
15
  "clsx": "1.1.1",
16
16
  "react": "^16.8.0 || ^17.0.0",
17
17
  "react-dom": "^16.8.0 || ^17.0.0"
@@ -1,16 +1,17 @@
1
- import * as _digigov_react_icons_AccessibilityIcon from '@digigov/react-icons/AccessibilityIcon';
2
- import * as _digigov_react_icons_ArrowIcon from '@digigov/react-icons/ArrowIcon';
3
- import * as _digigov_react_icons_BurgerIcon from '@digigov/react-icons/BurgerIcon';
4
- import * as _digigov_react_icons_CaretIcon from '@digigov/react-icons/CaretIcon';
5
- import * as _digigov_react_icons_CheckIcon from '@digigov/react-icons/CheckIcon';
6
- import * as _digigov_react_icons_CloseIcon from '@digigov/react-icons/CloseIcon';
7
- import * as _digigov_react_icons_GlobeIcon from '@digigov/react-icons/GlobeIcon';
8
- import * as _digigov_react_icons_Icon from '@digigov/react-icons/Icon';
9
- import * as _digigov_react_icons_icons from '@digigov/react-icons/icons';
10
- import * as _digigov_react_icons from '@digigov/react-icons';
11
- import * as _digigov_react_icons_MoreVertIcon from '@digigov/react-icons/MoreVertIcon';
12
- import * as _digigov_react_icons_SearchIcon from '@digigov/react-icons/SearchIcon';
13
- import * as _digigov_react_icons_UncheckIcon from '@digigov/react-icons/UncheckIcon';
1
+ import * as _digigov_react_icons_AccessibilityIcon from "./AccessibilityIcon";
2
+ import * as _digigov_react_icons_ArrowIcon from "./ArrowIcon";
3
+ import * as _digigov_react_icons_BurgerIcon from "./BurgerIcon";
4
+ import * as _digigov_react_icons_CaretIcon from "./CaretIcon";
5
+ import * as _digigov_react_icons_CheckIcon from "./CheckIcon";
6
+ import * as _digigov_react_icons_ChevronIcon from "./ChevronIcon";
7
+ import * as _digigov_react_icons_CloseIcon from "./CloseIcon";
8
+ import * as _digigov_react_icons_GlobeIcon from "./GlobeIcon";
9
+ import * as _digigov_react_icons_Icon from "./Icon";
10
+ import * as _digigov_react_icons_icons from "./icons";
11
+ import * as _digigov_react_icons from "./";
12
+ import * as _digigov_react_icons_MoreVertIcon from "./MoreVertIcon";
13
+ import * as _digigov_react_icons_SearchIcon from "./SearchIcon";
14
+ import * as _digigov_react_icons_UncheckIcon from "./UncheckIcon";
14
15
 
15
16
  function lazyImport(pkgImport) {
16
17
  // eslint-disable-next-line no-undef
@@ -33,6 +34,7 @@ export default {
33
34
  '@digigov/react-icons/BurgerIcon': lazyImport(_digigov_react_icons_BurgerIcon),
34
35
  '@digigov/react-icons/CaretIcon': lazyImport(_digigov_react_icons_CaretIcon),
35
36
  '@digigov/react-icons/CheckIcon': lazyImport(_digigov_react_icons_CheckIcon),
37
+ '@digigov/react-icons/ChevronIcon': lazyImport(_digigov_react_icons_ChevronIcon),
36
38
  '@digigov/react-icons/CloseIcon': lazyImport(_digigov_react_icons_CloseIcon),
37
39
  '@digigov/react-icons/GlobeIcon': lazyImport(_digigov_react_icons_GlobeIcon),
38
40
  '@digigov/react-icons/Icon': lazyImport(_digigov_react_icons_Icon),
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "./index.js",
4
+ "types": "./index.d.ts",
5
+ "main": "../cjs/registry/index.js"
6
+ }
package/registry.d.ts CHANGED
@@ -4,6 +4,7 @@ declare var _default: {
4
4
  '@digigov/react-icons/BurgerIcon': {};
5
5
  '@digigov/react-icons/CaretIcon': {};
6
6
  '@digigov/react-icons/CheckIcon': {};
7
+ '@digigov/react-icons/ChevronIcon': {};
7
8
  '@digigov/react-icons/CloseIcon': {};
8
9
  '@digigov/react-icons/GlobeIcon': {};
9
10
  '@digigov/react-icons/Icon': {};