@digigov/react-icons 1.2.0-496927f3 → 2.0.0-8de46296

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 (166) hide show
  1. package/AccessibilityIcon/__snapshots__/index.test.tsx.snap +27 -27
  2. package/ArrowIcon/__snapshots__/index.test.tsx.snap +12 -12
  3. package/BurgerIcon/__snapshots__/index.test.tsx.snap +38 -38
  4. package/BurgerIcon/config/index.js +4 -4
  5. package/CancelIcon/__snapshots__/index.test.tsx.snap +21 -21
  6. package/CaretIcon/__snapshots__/index.test.tsx.snap +12 -12
  7. package/ChatIcon/__snapshots__/index.test.tsx.snap +300 -0
  8. package/ChatIcon/config/index.js +17 -0
  9. package/ChatIcon/config/package.json +6 -0
  10. package/ChatIcon/config.d.ts +11 -0
  11. package/ChatIcon/index.d.ts +4 -0
  12. package/ChatIcon/index.js +9 -0
  13. package/ChatIcon/index.test/index.js +51 -0
  14. package/ChatIcon/index.test/package.json +6 -0
  15. package/ChatIcon/index.test.d.ts +1 -0
  16. package/ChatIcon/package.json +6 -0
  17. package/CheckIcon/__snapshots__/index.test.tsx.snap +24 -24
  18. package/ChevronIcon/__snapshots__/index.test.tsx.snap +12 -12
  19. package/CloseIcon/__snapshots__/index.test.tsx.snap +3 -3
  20. package/DownloadIcon/__snapshots__/index.test.tsx.snap +21 -21
  21. package/ExclamationIcon/__snapshots__/index.test.tsx.snap +297 -0
  22. package/ExclamationIcon/config/index.js +14 -0
  23. package/ExclamationIcon/config/package.json +6 -0
  24. package/ExclamationIcon/config.d.ts +8 -0
  25. package/ExclamationIcon/index.d.ts +4 -0
  26. package/ExclamationIcon/index.js +9 -0
  27. package/ExclamationIcon/index.test/index.js +45 -0
  28. package/ExclamationIcon/index.test/package.json +6 -0
  29. package/ExclamationIcon/index.test.d.ts +1 -0
  30. package/ExclamationIcon/package.json +6 -0
  31. package/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
  32. package/Icon/__snapshots__/index.test.tsx.snap +33 -33
  33. package/Icon/index.js +1 -1
  34. package/LockIcon/__snapshots__/index.test.tsx.snap +21 -21
  35. package/LoginIcon/__snapshots__/index.test.tsx.snap +21 -21
  36. package/MinusIcon/__snapshots__/index.test.tsx.snap +21 -21
  37. package/MoreVertIcon/__snapshots__/index.test.tsx.snap +27 -27
  38. package/PdfFileIcon/__snapshots__/index.test.tsx.snap +21 -21
  39. package/PlusIcon/__snapshots__/index.test.tsx.snap +21 -21
  40. package/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  41. package/PrintIcon/config/index.js +15 -0
  42. package/PrintIcon/config/package.json +6 -0
  43. package/PrintIcon/config.d.ts +8 -0
  44. package/PrintIcon/index.d.ts +4 -0
  45. package/PrintIcon/index.js +9 -0
  46. package/PrintIcon/index.test/index.js +45 -0
  47. package/PrintIcon/index.test/package.json +6 -0
  48. package/PrintIcon/index.test.d.ts +1 -0
  49. package/PrintIcon/package.json +6 -0
  50. package/ReplyIcon/__snapshots__/index.test.tsx.snap +262 -0
  51. package/ReplyIcon/config/index.js +9 -0
  52. package/ReplyIcon/config/package.json +6 -0
  53. package/ReplyIcon/config.d.ts +8 -0
  54. package/ReplyIcon/index.d.ts +4 -0
  55. package/ReplyIcon/index.js +9 -0
  56. package/ReplyIcon/index.test/index.js +45 -0
  57. package/ReplyIcon/index.test/package.json +6 -0
  58. package/ReplyIcon/index.test.d.ts +1 -0
  59. package/ReplyIcon/package.json +6 -0
  60. package/RestoreIcon/__snapshots__/index.test.tsx.snap +318 -0
  61. package/RestoreIcon/config/index.js +17 -0
  62. package/RestoreIcon/config/package.json +6 -0
  63. package/RestoreIcon/config.d.ts +8 -0
  64. package/RestoreIcon/index.d.ts +4 -0
  65. package/RestoreIcon/index.js +9 -0
  66. package/RestoreIcon/index.test/index.js +45 -0
  67. package/RestoreIcon/index.test/package.json +6 -0
  68. package/RestoreIcon/index.test.d.ts +1 -0
  69. package/RestoreIcon/package.json +6 -0
  70. package/SearchIcon/__snapshots__/index.test.tsx.snap +3 -3
  71. package/UncheckIcon/__snapshots__/index.test.tsx.snap +27 -27
  72. package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +27 -27
  73. package/cjs/ArrowIcon/__snapshots__/index.test.tsx.snap +12 -12
  74. package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +38 -38
  75. package/cjs/BurgerIcon/config/index.js +4 -4
  76. package/cjs/CancelIcon/__snapshots__/index.test.tsx.snap +21 -21
  77. package/cjs/CaretIcon/__snapshots__/index.test.tsx.snap +12 -12
  78. package/cjs/ChatIcon/__snapshots__/index.test.tsx.snap +300 -0
  79. package/cjs/ChatIcon/config/index.js +24 -0
  80. package/cjs/ChatIcon/index.js +16 -0
  81. package/cjs/ChatIcon/index.test/index.js +54 -0
  82. package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +24 -24
  83. package/cjs/ChevronIcon/__snapshots__/index.test.tsx.snap +12 -12
  84. package/cjs/CloseIcon/__snapshots__/index.test.tsx.snap +3 -3
  85. package/cjs/DownloadIcon/__snapshots__/index.test.tsx.snap +21 -21
  86. package/cjs/ExclamationIcon/__snapshots__/index.test.tsx.snap +297 -0
  87. package/cjs/ExclamationIcon/config/index.js +22 -0
  88. package/cjs/ExclamationIcon/index.js +16 -0
  89. package/cjs/ExclamationIcon/index.test/index.js +48 -0
  90. package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
  91. package/cjs/Icon/__snapshots__/index.test.tsx.snap +33 -33
  92. package/cjs/Icon/index.js +1 -1
  93. package/cjs/LockIcon/__snapshots__/index.test.tsx.snap +21 -21
  94. package/cjs/LoginIcon/__snapshots__/index.test.tsx.snap +21 -21
  95. package/cjs/MinusIcon/__snapshots__/index.test.tsx.snap +21 -21
  96. package/cjs/MoreVertIcon/__snapshots__/index.test.tsx.snap +27 -27
  97. package/cjs/PdfFileIcon/__snapshots__/index.test.tsx.snap +21 -21
  98. package/cjs/PlusIcon/__snapshots__/index.test.tsx.snap +21 -21
  99. package/cjs/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  100. package/cjs/PrintIcon/config/index.js +23 -0
  101. package/cjs/PrintIcon/index.js +16 -0
  102. package/cjs/PrintIcon/index.test/index.js +48 -0
  103. package/cjs/ReplyIcon/__snapshots__/index.test.tsx.snap +262 -0
  104. package/cjs/ReplyIcon/config/index.js +17 -0
  105. package/cjs/ReplyIcon/index.js +16 -0
  106. package/cjs/ReplyIcon/index.test/index.js +48 -0
  107. package/cjs/RestoreIcon/__snapshots__/index.test.tsx.snap +318 -0
  108. package/cjs/RestoreIcon/config/index.js +25 -0
  109. package/cjs/RestoreIcon/index.js +16 -0
  110. package/cjs/RestoreIcon/index.test/index.js +48 -0
  111. package/cjs/SearchIcon/__snapshots__/index.test.tsx.snap +3 -3
  112. package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +27 -27
  113. package/cjs/icons/index.js +55 -0
  114. package/cjs/index.js +55 -0
  115. package/cjs/registry/index.js +10 -0
  116. package/icons/index.js +5 -0
  117. package/icons.d.ts +15 -0
  118. package/index.d.ts +5 -0
  119. package/index.js +7 -2
  120. package/package.json +3 -3
  121. package/registry/index.js +10 -0
  122. package/registry.d.ts +5 -0
  123. package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +27 -27
  124. package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +12 -12
  125. package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +38 -38
  126. package/src/BurgerIcon/config.tsx +4 -4
  127. package/src/CancelIcon/__snapshots__/index.test.tsx.snap +21 -21
  128. package/src/CaretIcon/__snapshots__/index.test.tsx.snap +12 -12
  129. package/src/ChatIcon/__snapshots__/index.test.tsx.snap +300 -0
  130. package/src/ChatIcon/config.tsx +28 -0
  131. package/src/ChatIcon/index.test.tsx +29 -0
  132. package/src/ChatIcon/index.tsx +8 -0
  133. package/src/CheckIcon/__snapshots__/index.test.tsx.snap +24 -24
  134. package/src/ChevronIcon/__snapshots__/index.test.tsx.snap +12 -12
  135. package/src/CloseIcon/__snapshots__/index.test.tsx.snap +3 -3
  136. package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +21 -21
  137. package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +297 -0
  138. package/src/ExclamationIcon/config.tsx +16 -0
  139. package/src/ExclamationIcon/index.test.tsx +26 -0
  140. package/src/ExclamationIcon/index.tsx +8 -0
  141. package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
  142. package/src/Icon/__snapshots__/index.test.tsx.snap +33 -33
  143. package/src/Icon/index.tsx +1 -1
  144. package/src/LockIcon/__snapshots__/index.test.tsx.snap +21 -21
  145. package/src/LoginIcon/__snapshots__/index.test.tsx.snap +21 -21
  146. package/src/MinusIcon/__snapshots__/index.test.tsx.snap +21 -21
  147. package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +27 -27
  148. package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +21 -21
  149. package/src/PlusIcon/__snapshots__/index.test.tsx.snap +21 -21
  150. package/src/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
  151. package/src/PrintIcon/config.tsx +16 -0
  152. package/src/PrintIcon/index.test.tsx +26 -0
  153. package/src/PrintIcon/index.tsx +8 -0
  154. package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +262 -0
  155. package/src/ReplyIcon/config.tsx +15 -0
  156. package/src/ReplyIcon/index.test.tsx +26 -0
  157. package/src/ReplyIcon/index.tsx +8 -0
  158. package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +318 -0
  159. package/src/RestoreIcon/config.tsx +17 -0
  160. package/src/RestoreIcon/index.test.tsx +26 -0
  161. package/src/RestoreIcon/index.tsx +8 -0
  162. package/src/SearchIcon/__snapshots__/index.test.tsx.snap +3 -3
  163. package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +27 -27
  164. package/src/icons.ts +16 -0
  165. package/src/index.ts +5 -0
  166. package/src/registry.js +10 -0
@@ -0,0 +1,262 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the ReplyIcon with no props 1`] = `
4
+ <ReplyIcon>
5
+ <ForwardRef(Icon)
6
+ icon="reply"
7
+ >
8
+ <ForwardRef(SvgIcon)
9
+ className="ds-svg-icon--reply"
10
+ >
11
+ <ForwardRef(Base)
12
+ aria-hidden="true"
13
+ as="svg"
14
+ className="ds-svg-icon--reply ds-svg-icon"
15
+ focusable="false"
16
+ viewBox="0 0 24 24"
17
+ >
18
+ <svg
19
+ aria-hidden="true"
20
+ className="ds-svg-icon--reply ds-svg-icon"
21
+ focusable="false"
22
+ viewBox="0 0 24 24"
23
+ >
24
+ <reply>
25
+ <path
26
+ d="M16.35,9.517h-8.034l4.184-4.184-2.334-2.333L2,11.167l8.166,8.167,2.334-2.334-4.184-4.183h8.033c1.296,0,2.35,1.054,2.35,2.35v5.834h3.301v-5.834c0-3.115-2.535-5.65-5.65-5.65Z"
27
+ />
28
+ </reply>
29
+ </svg>
30
+ </ForwardRef(Base)>
31
+ </ForwardRef(SvgIcon)>
32
+ </ForwardRef(Icon)>
33
+ </ReplyIcon>
34
+ `;
35
+
36
+ exports[`renders the ReplyIcon with prop size=md 1`] = `
37
+ <ReplyIcon
38
+ size="md"
39
+ >
40
+ <ForwardRef(Icon)
41
+ icon="reply"
42
+ size="md"
43
+ >
44
+ <ForwardRef(SvgIcon)
45
+ className="ds-svg-icon--reply"
46
+ size="md"
47
+ >
48
+ <ForwardRef(Base)
49
+ aria-hidden="true"
50
+ as="svg"
51
+ className="ds-svg-icon--reply ds-svg-icon--md ds-svg-icon"
52
+ focusable="false"
53
+ viewBox="0 0 24 24"
54
+ >
55
+ <svg
56
+ aria-hidden="true"
57
+ className="ds-svg-icon--reply ds-svg-icon--md ds-svg-icon"
58
+ focusable="false"
59
+ viewBox="0 0 24 24"
60
+ >
61
+ <reply>
62
+ <path
63
+ d="M16.35,9.517h-8.034l4.184-4.184-2.334-2.333L2,11.167l8.166,8.167,2.334-2.334-4.184-4.183h8.033c1.296,0,2.35,1.054,2.35,2.35v5.834h3.301v-5.834c0-3.115-2.535-5.65-5.65-5.65Z"
64
+ />
65
+ </reply>
66
+ </svg>
67
+ </ForwardRef(Base)>
68
+ </ForwardRef(SvgIcon)>
69
+ </ForwardRef(Icon)>
70
+ </ReplyIcon>
71
+ `;
72
+
73
+ exports[`renders the ReplyIcon with prop size=xl 1`] = `
74
+ <ReplyIcon
75
+ size="xl"
76
+ >
77
+ <ForwardRef(Icon)
78
+ icon="reply"
79
+ size="xl"
80
+ >
81
+ <ForwardRef(SvgIcon)
82
+ className="ds-svg-icon--reply"
83
+ size="xl"
84
+ >
85
+ <ForwardRef(Base)
86
+ aria-hidden="true"
87
+ as="svg"
88
+ className="ds-svg-icon--reply ds-svg-icon--xl ds-svg-icon"
89
+ focusable="false"
90
+ viewBox="0 0 24 24"
91
+ >
92
+ <svg
93
+ aria-hidden="true"
94
+ className="ds-svg-icon--reply ds-svg-icon--xl ds-svg-icon"
95
+ focusable="false"
96
+ viewBox="0 0 24 24"
97
+ >
98
+ <reply>
99
+ <path
100
+ d="M16.35,9.517h-8.034l4.184-4.184-2.334-2.333L2,11.167l8.166,8.167,2.334-2.334-4.184-4.183h8.033c1.296,0,2.35,1.054,2.35,2.35v5.834h3.301v-5.834c0-3.115-2.535-5.65-5.65-5.65Z"
101
+ />
102
+ </reply>
103
+ </svg>
104
+ </ForwardRef(Base)>
105
+ </ForwardRef(SvgIcon)>
106
+ </ForwardRef(Icon)>
107
+ </ReplyIcon>
108
+ `;
109
+
110
+ exports[`renders the ReplyIcon with prop variant=error and size= xl 1`] = `
111
+ <ReplyIcon
112
+ size="xl"
113
+ variant="warning"
114
+ >
115
+ <ForwardRef(Icon)
116
+ icon="reply"
117
+ size="xl"
118
+ variant="warning"
119
+ >
120
+ <ForwardRef(SvgIcon)
121
+ className="ds-svg-icon--reply"
122
+ size="xl"
123
+ variant="warning"
124
+ >
125
+ <ForwardRef(Base)
126
+ aria-hidden="true"
127
+ as="svg"
128
+ className="ds-svg-icon--reply ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
129
+ focusable="false"
130
+ viewBox="0 0 24 24"
131
+ >
132
+ <svg
133
+ aria-hidden="true"
134
+ className="ds-svg-icon--reply ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
135
+ focusable="false"
136
+ viewBox="0 0 24 24"
137
+ >
138
+ <reply>
139
+ <path
140
+ d="M16.35,9.517h-8.034l4.184-4.184-2.334-2.333L2,11.167l8.166,8.167,2.334-2.334-4.184-4.183h8.033c1.296,0,2.35,1.054,2.35,2.35v5.834h3.301v-5.834c0-3.115-2.535-5.65-5.65-5.65Z"
141
+ />
142
+ </reply>
143
+ </svg>
144
+ </ForwardRef(Base)>
145
+ </ForwardRef(SvgIcon)>
146
+ </ForwardRef(Icon)>
147
+ </ReplyIcon>
148
+ `;
149
+
150
+ exports[`renders the ReplyIcon with prop variant=light 1`] = `
151
+ <ReplyIcon
152
+ variant="light"
153
+ >
154
+ <ForwardRef(Icon)
155
+ icon="reply"
156
+ variant="light"
157
+ >
158
+ <ForwardRef(SvgIcon)
159
+ className="ds-svg-icon--reply"
160
+ variant="light"
161
+ >
162
+ <ForwardRef(Base)
163
+ aria-hidden="true"
164
+ as="svg"
165
+ className="ds-svg-icon--reply ds-svg-icon--light ds-svg-icon"
166
+ focusable="false"
167
+ viewBox="0 0 24 24"
168
+ >
169
+ <svg
170
+ aria-hidden="true"
171
+ className="ds-svg-icon--reply ds-svg-icon--light ds-svg-icon"
172
+ focusable="false"
173
+ viewBox="0 0 24 24"
174
+ >
175
+ <reply>
176
+ <path
177
+ d="M16.35,9.517h-8.034l4.184-4.184-2.334-2.333L2,11.167l8.166,8.167,2.334-2.334-4.184-4.183h8.033c1.296,0,2.35,1.054,2.35,2.35v5.834h3.301v-5.834c0-3.115-2.535-5.65-5.65-5.65Z"
178
+ />
179
+ </reply>
180
+ </svg>
181
+ </ForwardRef(Base)>
182
+ </ForwardRef(SvgIcon)>
183
+ </ForwardRef(Icon)>
184
+ </ReplyIcon>
185
+ `;
186
+
187
+ exports[`renders the ReplyIcon with prop variant=warning 1`] = `
188
+ <ReplyIcon
189
+ variant="warning"
190
+ >
191
+ <ForwardRef(Icon)
192
+ icon="reply"
193
+ variant="warning"
194
+ >
195
+ <ForwardRef(SvgIcon)
196
+ className="ds-svg-icon--reply"
197
+ variant="warning"
198
+ >
199
+ <ForwardRef(Base)
200
+ aria-hidden="true"
201
+ as="svg"
202
+ className="ds-svg-icon--reply ds-svg-icon--warning ds-svg-icon"
203
+ focusable="false"
204
+ viewBox="0 0 24 24"
205
+ >
206
+ <svg
207
+ aria-hidden="true"
208
+ className="ds-svg-icon--reply ds-svg-icon--warning ds-svg-icon"
209
+ focusable="false"
210
+ viewBox="0 0 24 24"
211
+ >
212
+ <reply>
213
+ <path
214
+ d="M16.35,9.517h-8.034l4.184-4.184-2.334-2.333L2,11.167l8.166,8.167,2.334-2.334-4.184-4.183h8.033c1.296,0,2.35,1.054,2.35,2.35v5.834h3.301v-5.834c0-3.115-2.535-5.65-5.65-5.65Z"
215
+ />
216
+ </reply>
217
+ </svg>
218
+ </ForwardRef(Base)>
219
+ </ForwardRef(SvgIcon)>
220
+ </ForwardRef(Icon)>
221
+ </ReplyIcon>
222
+ `;
223
+
224
+ exports[`renders the ReplyIcon with prop variant=warning and size=sm 1`] = `
225
+ <ReplyIcon
226
+ size="sm"
227
+ variant="warning"
228
+ >
229
+ <ForwardRef(Icon)
230
+ icon="reply"
231
+ size="sm"
232
+ variant="warning"
233
+ >
234
+ <ForwardRef(SvgIcon)
235
+ className="ds-svg-icon--reply"
236
+ size="sm"
237
+ variant="warning"
238
+ >
239
+ <ForwardRef(Base)
240
+ aria-hidden="true"
241
+ as="svg"
242
+ className="ds-svg-icon--reply ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
243
+ focusable="false"
244
+ viewBox="0 0 24 24"
245
+ >
246
+ <svg
247
+ aria-hidden="true"
248
+ className="ds-svg-icon--reply ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
249
+ focusable="false"
250
+ viewBox="0 0 24 24"
251
+ >
252
+ <reply>
253
+ <path
254
+ d="M16.35,9.517h-8.034l4.184-4.184-2.334-2.333L2,11.167l8.166,8.167,2.334-2.334-4.184-4.183h8.033c1.296,0,2.35,1.054,2.35,2.35v5.834h3.301v-5.834c0-3.115-2.535-5.65-5.65-5.65Z"
255
+ />
256
+ </reply>
257
+ </svg>
258
+ </ForwardRef(Base)>
259
+ </ForwardRef(SvgIcon)>
260
+ </ForwardRef(Icon)>
261
+ </ReplyIcon>
262
+ `;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ exports.reply = reply;
9
+ var _react = _interopRequireDefault(require("react"));
10
+ var _ref = /*#__PURE__*/_react["default"].createElement("path", {
11
+ d: "M16.35,9.517h-8.034l4.184-4.184-2.334-2.333L2,11.167l8.166,8.167,2.334-2.334-4.184-4.183h8.033c1.296,0,2.35,1.054,2.35,2.35v5.834h3.301v-5.834c0-3.115-2.535-5.65-5.65-5.65Z"
12
+ });
13
+ function reply() {
14
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, _ref);
15
+ }
16
+ reply.props = [];
17
+ var _default = exports["default"] = reply;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.ReplyIcon = void 0;
8
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
+ var _react = _interopRequireDefault(require("react"));
10
+ var _Icon = _interopRequireDefault(require("@digigov/react-icons/Icon"));
11
+ var ReplyIcon = exports.ReplyIcon = function ReplyIcon(props) {
12
+ return /*#__PURE__*/_react["default"].createElement(_Icon["default"], (0, _extends2["default"])({}, props, {
13
+ icon: "reply"
14
+ }));
15
+ };
16
+ var _default = exports["default"] = ReplyIcon;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ var _react = _interopRequireDefault(require("react"));
5
+ var _enzyme = require("enzyme");
6
+ var _ReplyIcon = _interopRequireDefault(require("@digigov/react-icons/ReplyIcon"));
7
+ var _ref = /*#__PURE__*/_react["default"].createElement(_ReplyIcon["default"], null);
8
+ it('renders the ReplyIcon with no props', function () {
9
+ expect((0, _enzyme.mount)(_ref)).toMatchSnapshot();
10
+ });
11
+ var _ref2 = /*#__PURE__*/_react["default"].createElement(_ReplyIcon["default"], {
12
+ size: "md"
13
+ });
14
+ it('renders the ReplyIcon with prop size=md', function () {
15
+ expect((0, _enzyme.mount)(_ref2)).toMatchSnapshot();
16
+ });
17
+ var _ref3 = /*#__PURE__*/_react["default"].createElement(_ReplyIcon["default"], {
18
+ size: "xl"
19
+ });
20
+ it('renders the ReplyIcon with prop size=xl', function () {
21
+ expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
22
+ });
23
+ var _ref4 = /*#__PURE__*/_react["default"].createElement(_ReplyIcon["default"], {
24
+ variant: "light"
25
+ });
26
+ it('renders the ReplyIcon with prop variant=light', function () {
27
+ expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
28
+ });
29
+ var _ref5 = /*#__PURE__*/_react["default"].createElement(_ReplyIcon["default"], {
30
+ variant: "warning"
31
+ });
32
+ it('renders the ReplyIcon with prop variant=warning', function () {
33
+ expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
34
+ });
35
+ var _ref6 = /*#__PURE__*/_react["default"].createElement(_ReplyIcon["default"], {
36
+ variant: "warning",
37
+ size: "sm"
38
+ });
39
+ it('renders the ReplyIcon with prop variant=warning and size=sm', function () {
40
+ expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
41
+ });
42
+ var _ref7 = /*#__PURE__*/_react["default"].createElement(_ReplyIcon["default"], {
43
+ variant: "warning",
44
+ size: "xl"
45
+ });
46
+ it('renders the ReplyIcon with prop variant=error and size= xl', function () {
47
+ expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
48
+ });
@@ -0,0 +1,318 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the RestoreIcon with no props 1`] = `
4
+ <RestoreIcon>
5
+ <ForwardRef(Icon)
6
+ icon="restore"
7
+ >
8
+ <ForwardRef(SvgIcon)
9
+ className="ds-svg-icon--restore"
10
+ >
11
+ <ForwardRef(Base)
12
+ aria-hidden="true"
13
+ as="svg"
14
+ className="ds-svg-icon--restore ds-svg-icon"
15
+ focusable="false"
16
+ viewBox="0 0 24 24"
17
+ >
18
+ <svg
19
+ aria-hidden="true"
20
+ className="ds-svg-icon--restore ds-svg-icon"
21
+ focusable="false"
22
+ viewBox="0 0 24 24"
23
+ >
24
+ <restore>
25
+ <path
26
+ d="M12,21.3c-2.37,0-4.691-.929-6.407-2.559l1.669-2.003c1.247,1.247,2.974,1.962,4.738,1.962,3.694,0,6.7-3.006,6.7-6.7s-3.006-6.7-6.7-6.7-6.7,3.006-6.7,6.7h-2.6C2.7,6.872,6.872,2.7,12,2.7s9.3,4.172,9.3,9.3-4.172,9.3-9.3,9.3Z"
27
+ />
28
+ <path
29
+ d="M7.5,12H.5l3.5,4.2,3.5-4.2Z"
30
+ />
31
+ <circle
32
+ cx="12"
33
+ cy="12"
34
+ r="1.65"
35
+ />
36
+ </restore>
37
+ </svg>
38
+ </ForwardRef(Base)>
39
+ </ForwardRef(SvgIcon)>
40
+ </ForwardRef(Icon)>
41
+ </RestoreIcon>
42
+ `;
43
+
44
+ exports[`renders the RestoreIcon with prop size=md 1`] = `
45
+ <RestoreIcon
46
+ size="md"
47
+ >
48
+ <ForwardRef(Icon)
49
+ icon="restore"
50
+ size="md"
51
+ >
52
+ <ForwardRef(SvgIcon)
53
+ className="ds-svg-icon--restore"
54
+ size="md"
55
+ >
56
+ <ForwardRef(Base)
57
+ aria-hidden="true"
58
+ as="svg"
59
+ className="ds-svg-icon--restore ds-svg-icon--md ds-svg-icon"
60
+ focusable="false"
61
+ viewBox="0 0 24 24"
62
+ >
63
+ <svg
64
+ aria-hidden="true"
65
+ className="ds-svg-icon--restore ds-svg-icon--md ds-svg-icon"
66
+ focusable="false"
67
+ viewBox="0 0 24 24"
68
+ >
69
+ <restore>
70
+ <path
71
+ d="M12,21.3c-2.37,0-4.691-.929-6.407-2.559l1.669-2.003c1.247,1.247,2.974,1.962,4.738,1.962,3.694,0,6.7-3.006,6.7-6.7s-3.006-6.7-6.7-6.7-6.7,3.006-6.7,6.7h-2.6C2.7,6.872,6.872,2.7,12,2.7s9.3,4.172,9.3,9.3-4.172,9.3-9.3,9.3Z"
72
+ />
73
+ <path
74
+ d="M7.5,12H.5l3.5,4.2,3.5-4.2Z"
75
+ />
76
+ <circle
77
+ cx="12"
78
+ cy="12"
79
+ r="1.65"
80
+ />
81
+ </restore>
82
+ </svg>
83
+ </ForwardRef(Base)>
84
+ </ForwardRef(SvgIcon)>
85
+ </ForwardRef(Icon)>
86
+ </RestoreIcon>
87
+ `;
88
+
89
+ exports[`renders the RestoreIcon with prop size=xl 1`] = `
90
+ <RestoreIcon
91
+ size="xl"
92
+ >
93
+ <ForwardRef(Icon)
94
+ icon="restore"
95
+ size="xl"
96
+ >
97
+ <ForwardRef(SvgIcon)
98
+ className="ds-svg-icon--restore"
99
+ size="xl"
100
+ >
101
+ <ForwardRef(Base)
102
+ aria-hidden="true"
103
+ as="svg"
104
+ className="ds-svg-icon--restore ds-svg-icon--xl ds-svg-icon"
105
+ focusable="false"
106
+ viewBox="0 0 24 24"
107
+ >
108
+ <svg
109
+ aria-hidden="true"
110
+ className="ds-svg-icon--restore ds-svg-icon--xl ds-svg-icon"
111
+ focusable="false"
112
+ viewBox="0 0 24 24"
113
+ >
114
+ <restore>
115
+ <path
116
+ d="M12,21.3c-2.37,0-4.691-.929-6.407-2.559l1.669-2.003c1.247,1.247,2.974,1.962,4.738,1.962,3.694,0,6.7-3.006,6.7-6.7s-3.006-6.7-6.7-6.7-6.7,3.006-6.7,6.7h-2.6C2.7,6.872,6.872,2.7,12,2.7s9.3,4.172,9.3,9.3-4.172,9.3-9.3,9.3Z"
117
+ />
118
+ <path
119
+ d="M7.5,12H.5l3.5,4.2,3.5-4.2Z"
120
+ />
121
+ <circle
122
+ cx="12"
123
+ cy="12"
124
+ r="1.65"
125
+ />
126
+ </restore>
127
+ </svg>
128
+ </ForwardRef(Base)>
129
+ </ForwardRef(SvgIcon)>
130
+ </ForwardRef(Icon)>
131
+ </RestoreIcon>
132
+ `;
133
+
134
+ exports[`renders the RestoreIcon with prop variant=error and size= xl 1`] = `
135
+ <RestoreIcon
136
+ size="xl"
137
+ variant="warning"
138
+ >
139
+ <ForwardRef(Icon)
140
+ icon="restore"
141
+ size="xl"
142
+ variant="warning"
143
+ >
144
+ <ForwardRef(SvgIcon)
145
+ className="ds-svg-icon--restore"
146
+ size="xl"
147
+ variant="warning"
148
+ >
149
+ <ForwardRef(Base)
150
+ aria-hidden="true"
151
+ as="svg"
152
+ className="ds-svg-icon--restore ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
153
+ focusable="false"
154
+ viewBox="0 0 24 24"
155
+ >
156
+ <svg
157
+ aria-hidden="true"
158
+ className="ds-svg-icon--restore ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
159
+ focusable="false"
160
+ viewBox="0 0 24 24"
161
+ >
162
+ <restore>
163
+ <path
164
+ d="M12,21.3c-2.37,0-4.691-.929-6.407-2.559l1.669-2.003c1.247,1.247,2.974,1.962,4.738,1.962,3.694,0,6.7-3.006,6.7-6.7s-3.006-6.7-6.7-6.7-6.7,3.006-6.7,6.7h-2.6C2.7,6.872,6.872,2.7,12,2.7s9.3,4.172,9.3,9.3-4.172,9.3-9.3,9.3Z"
165
+ />
166
+ <path
167
+ d="M7.5,12H.5l3.5,4.2,3.5-4.2Z"
168
+ />
169
+ <circle
170
+ cx="12"
171
+ cy="12"
172
+ r="1.65"
173
+ />
174
+ </restore>
175
+ </svg>
176
+ </ForwardRef(Base)>
177
+ </ForwardRef(SvgIcon)>
178
+ </ForwardRef(Icon)>
179
+ </RestoreIcon>
180
+ `;
181
+
182
+ exports[`renders the RestoreIcon with prop variant=light 1`] = `
183
+ <RestoreIcon
184
+ variant="light"
185
+ >
186
+ <ForwardRef(Icon)
187
+ icon="restore"
188
+ variant="light"
189
+ >
190
+ <ForwardRef(SvgIcon)
191
+ className="ds-svg-icon--restore"
192
+ variant="light"
193
+ >
194
+ <ForwardRef(Base)
195
+ aria-hidden="true"
196
+ as="svg"
197
+ className="ds-svg-icon--restore ds-svg-icon--light ds-svg-icon"
198
+ focusable="false"
199
+ viewBox="0 0 24 24"
200
+ >
201
+ <svg
202
+ aria-hidden="true"
203
+ className="ds-svg-icon--restore ds-svg-icon--light ds-svg-icon"
204
+ focusable="false"
205
+ viewBox="0 0 24 24"
206
+ >
207
+ <restore>
208
+ <path
209
+ d="M12,21.3c-2.37,0-4.691-.929-6.407-2.559l1.669-2.003c1.247,1.247,2.974,1.962,4.738,1.962,3.694,0,6.7-3.006,6.7-6.7s-3.006-6.7-6.7-6.7-6.7,3.006-6.7,6.7h-2.6C2.7,6.872,6.872,2.7,12,2.7s9.3,4.172,9.3,9.3-4.172,9.3-9.3,9.3Z"
210
+ />
211
+ <path
212
+ d="M7.5,12H.5l3.5,4.2,3.5-4.2Z"
213
+ />
214
+ <circle
215
+ cx="12"
216
+ cy="12"
217
+ r="1.65"
218
+ />
219
+ </restore>
220
+ </svg>
221
+ </ForwardRef(Base)>
222
+ </ForwardRef(SvgIcon)>
223
+ </ForwardRef(Icon)>
224
+ </RestoreIcon>
225
+ `;
226
+
227
+ exports[`renders the RestoreIcon with prop variant=warning 1`] = `
228
+ <RestoreIcon
229
+ variant="warning"
230
+ >
231
+ <ForwardRef(Icon)
232
+ icon="restore"
233
+ variant="warning"
234
+ >
235
+ <ForwardRef(SvgIcon)
236
+ className="ds-svg-icon--restore"
237
+ variant="warning"
238
+ >
239
+ <ForwardRef(Base)
240
+ aria-hidden="true"
241
+ as="svg"
242
+ className="ds-svg-icon--restore ds-svg-icon--warning ds-svg-icon"
243
+ focusable="false"
244
+ viewBox="0 0 24 24"
245
+ >
246
+ <svg
247
+ aria-hidden="true"
248
+ className="ds-svg-icon--restore ds-svg-icon--warning ds-svg-icon"
249
+ focusable="false"
250
+ viewBox="0 0 24 24"
251
+ >
252
+ <restore>
253
+ <path
254
+ d="M12,21.3c-2.37,0-4.691-.929-6.407-2.559l1.669-2.003c1.247,1.247,2.974,1.962,4.738,1.962,3.694,0,6.7-3.006,6.7-6.7s-3.006-6.7-6.7-6.7-6.7,3.006-6.7,6.7h-2.6C2.7,6.872,6.872,2.7,12,2.7s9.3,4.172,9.3,9.3-4.172,9.3-9.3,9.3Z"
255
+ />
256
+ <path
257
+ d="M7.5,12H.5l3.5,4.2,3.5-4.2Z"
258
+ />
259
+ <circle
260
+ cx="12"
261
+ cy="12"
262
+ r="1.65"
263
+ />
264
+ </restore>
265
+ </svg>
266
+ </ForwardRef(Base)>
267
+ </ForwardRef(SvgIcon)>
268
+ </ForwardRef(Icon)>
269
+ </RestoreIcon>
270
+ `;
271
+
272
+ exports[`renders the RestoreIcon with prop variant=warning and size=sm 1`] = `
273
+ <RestoreIcon
274
+ size="sm"
275
+ variant="warning"
276
+ >
277
+ <ForwardRef(Icon)
278
+ icon="restore"
279
+ size="sm"
280
+ variant="warning"
281
+ >
282
+ <ForwardRef(SvgIcon)
283
+ className="ds-svg-icon--restore"
284
+ size="sm"
285
+ variant="warning"
286
+ >
287
+ <ForwardRef(Base)
288
+ aria-hidden="true"
289
+ as="svg"
290
+ className="ds-svg-icon--restore ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
291
+ focusable="false"
292
+ viewBox="0 0 24 24"
293
+ >
294
+ <svg
295
+ aria-hidden="true"
296
+ className="ds-svg-icon--restore ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
297
+ focusable="false"
298
+ viewBox="0 0 24 24"
299
+ >
300
+ <restore>
301
+ <path
302
+ d="M12,21.3c-2.37,0-4.691-.929-6.407-2.559l1.669-2.003c1.247,1.247,2.974,1.962,4.738,1.962,3.694,0,6.7-3.006,6.7-6.7s-3.006-6.7-6.7-6.7-6.7,3.006-6.7,6.7h-2.6C2.7,6.872,6.872,2.7,12,2.7s9.3,4.172,9.3,9.3-4.172,9.3-9.3,9.3Z"
303
+ />
304
+ <path
305
+ d="M7.5,12H.5l3.5,4.2,3.5-4.2Z"
306
+ />
307
+ <circle
308
+ cx="12"
309
+ cy="12"
310
+ r="1.65"
311
+ />
312
+ </restore>
313
+ </svg>
314
+ </ForwardRef(Base)>
315
+ </ForwardRef(SvgIcon)>
316
+ </ForwardRef(Icon)>
317
+ </RestoreIcon>
318
+ `;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ exports.restore = restore;
9
+ var _react = _interopRequireDefault(require("react"));
10
+ var _ref = /*#__PURE__*/_react["default"].createElement("path", {
11
+ d: "M12,21.3c-2.37,0-4.691-.929-6.407-2.559l1.669-2.003c1.247,1.247,2.974,1.962,4.738,1.962,3.694,0,6.7-3.006,6.7-6.7s-3.006-6.7-6.7-6.7-6.7,3.006-6.7,6.7h-2.6C2.7,6.872,6.872,2.7,12,2.7s9.3,4.172,9.3,9.3-4.172,9.3-9.3,9.3Z"
12
+ });
13
+ var _ref2 = /*#__PURE__*/_react["default"].createElement("path", {
14
+ d: "M7.5,12H.5l3.5,4.2,3.5-4.2Z"
15
+ });
16
+ var _ref3 = /*#__PURE__*/_react["default"].createElement("circle", {
17
+ cx: "12",
18
+ cy: "12",
19
+ r: "1.65"
20
+ });
21
+ function restore() {
22
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, _ref, _ref2, _ref3);
23
+ }
24
+ restore.props = [];
25
+ var _default = exports["default"] = restore;