@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,300 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the ChatIcon with dots 1`] = `
4
+ <ChatIcon
5
+ dots={true}
6
+ >
7
+ <ForwardRef(Icon)
8
+ dots={true}
9
+ icon="chat"
10
+ >
11
+ <ForwardRef(SvgIcon)
12
+ className="ds-svg-icon--chat"
13
+ >
14
+ <ForwardRef(Base)
15
+ aria-hidden="true"
16
+ as="svg"
17
+ className="ds-svg-icon--chat ds-svg-icon"
18
+ focusable="false"
19
+ viewBox="0 0 24 24"
20
+ >
21
+ <svg
22
+ aria-hidden="true"
23
+ className="ds-svg-icon--chat ds-svg-icon"
24
+ focusable="false"
25
+ viewBox="0 0 24 24"
26
+ >
27
+ <chat
28
+ dots={true}
29
+ >
30
+ <path
31
+ d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2ZM7.65,11.3c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3ZM12,11.3c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3ZM16.35,11.3c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3Z"
32
+ />
33
+ </chat>
34
+ </svg>
35
+ </ForwardRef(Base)>
36
+ </ForwardRef(SvgIcon)>
37
+ </ForwardRef(Icon)>
38
+ </ChatIcon>
39
+ `;
40
+
41
+ exports[`renders the ChatIcon with no props 1`] = `
42
+ <ChatIcon>
43
+ <ForwardRef(Icon)
44
+ icon="chat"
45
+ >
46
+ <ForwardRef(SvgIcon)
47
+ className="ds-svg-icon--chat"
48
+ >
49
+ <ForwardRef(Base)
50
+ aria-hidden="true"
51
+ as="svg"
52
+ className="ds-svg-icon--chat ds-svg-icon"
53
+ focusable="false"
54
+ viewBox="0 0 24 24"
55
+ >
56
+ <svg
57
+ aria-hidden="true"
58
+ className="ds-svg-icon--chat ds-svg-icon"
59
+ focusable="false"
60
+ viewBox="0 0 24 24"
61
+ >
62
+ <chat>
63
+ <path
64
+ d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
65
+ />
66
+ </chat>
67
+ </svg>
68
+ </ForwardRef(Base)>
69
+ </ForwardRef(SvgIcon)>
70
+ </ForwardRef(Icon)>
71
+ </ChatIcon>
72
+ `;
73
+
74
+ exports[`renders the ChatIcon with prop size=md 1`] = `
75
+ <ChatIcon
76
+ size="md"
77
+ >
78
+ <ForwardRef(Icon)
79
+ icon="chat"
80
+ size="md"
81
+ >
82
+ <ForwardRef(SvgIcon)
83
+ className="ds-svg-icon--chat"
84
+ size="md"
85
+ >
86
+ <ForwardRef(Base)
87
+ aria-hidden="true"
88
+ as="svg"
89
+ className="ds-svg-icon--chat ds-svg-icon--md ds-svg-icon"
90
+ focusable="false"
91
+ viewBox="0 0 24 24"
92
+ >
93
+ <svg
94
+ aria-hidden="true"
95
+ className="ds-svg-icon--chat ds-svg-icon--md ds-svg-icon"
96
+ focusable="false"
97
+ viewBox="0 0 24 24"
98
+ >
99
+ <chat>
100
+ <path
101
+ d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
102
+ />
103
+ </chat>
104
+ </svg>
105
+ </ForwardRef(Base)>
106
+ </ForwardRef(SvgIcon)>
107
+ </ForwardRef(Icon)>
108
+ </ChatIcon>
109
+ `;
110
+
111
+ exports[`renders the ChatIcon with prop size=xl 1`] = `
112
+ <ChatIcon
113
+ size="xl"
114
+ >
115
+ <ForwardRef(Icon)
116
+ icon="chat"
117
+ size="xl"
118
+ >
119
+ <ForwardRef(SvgIcon)
120
+ className="ds-svg-icon--chat"
121
+ size="xl"
122
+ >
123
+ <ForwardRef(Base)
124
+ aria-hidden="true"
125
+ as="svg"
126
+ className="ds-svg-icon--chat ds-svg-icon--xl ds-svg-icon"
127
+ focusable="false"
128
+ viewBox="0 0 24 24"
129
+ >
130
+ <svg
131
+ aria-hidden="true"
132
+ className="ds-svg-icon--chat ds-svg-icon--xl ds-svg-icon"
133
+ focusable="false"
134
+ viewBox="0 0 24 24"
135
+ >
136
+ <chat>
137
+ <path
138
+ d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
139
+ />
140
+ </chat>
141
+ </svg>
142
+ </ForwardRef(Base)>
143
+ </ForwardRef(SvgIcon)>
144
+ </ForwardRef(Icon)>
145
+ </ChatIcon>
146
+ `;
147
+
148
+ exports[`renders the ChatIcon with prop variant=error and size= xl 1`] = `
149
+ <ChatIcon
150
+ size="xl"
151
+ variant="warning"
152
+ >
153
+ <ForwardRef(Icon)
154
+ icon="chat"
155
+ size="xl"
156
+ variant="warning"
157
+ >
158
+ <ForwardRef(SvgIcon)
159
+ className="ds-svg-icon--chat"
160
+ size="xl"
161
+ variant="warning"
162
+ >
163
+ <ForwardRef(Base)
164
+ aria-hidden="true"
165
+ as="svg"
166
+ className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
167
+ focusable="false"
168
+ viewBox="0 0 24 24"
169
+ >
170
+ <svg
171
+ aria-hidden="true"
172
+ className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
173
+ focusable="false"
174
+ viewBox="0 0 24 24"
175
+ >
176
+ <chat>
177
+ <path
178
+ d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
179
+ />
180
+ </chat>
181
+ </svg>
182
+ </ForwardRef(Base)>
183
+ </ForwardRef(SvgIcon)>
184
+ </ForwardRef(Icon)>
185
+ </ChatIcon>
186
+ `;
187
+
188
+ exports[`renders the ChatIcon with prop variant=light 1`] = `
189
+ <ChatIcon
190
+ variant="light"
191
+ >
192
+ <ForwardRef(Icon)
193
+ icon="chat"
194
+ variant="light"
195
+ >
196
+ <ForwardRef(SvgIcon)
197
+ className="ds-svg-icon--chat"
198
+ variant="light"
199
+ >
200
+ <ForwardRef(Base)
201
+ aria-hidden="true"
202
+ as="svg"
203
+ className="ds-svg-icon--chat ds-svg-icon--light ds-svg-icon"
204
+ focusable="false"
205
+ viewBox="0 0 24 24"
206
+ >
207
+ <svg
208
+ aria-hidden="true"
209
+ className="ds-svg-icon--chat ds-svg-icon--light ds-svg-icon"
210
+ focusable="false"
211
+ viewBox="0 0 24 24"
212
+ >
213
+ <chat>
214
+ <path
215
+ d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
216
+ />
217
+ </chat>
218
+ </svg>
219
+ </ForwardRef(Base)>
220
+ </ForwardRef(SvgIcon)>
221
+ </ForwardRef(Icon)>
222
+ </ChatIcon>
223
+ `;
224
+
225
+ exports[`renders the ChatIcon with prop variant=warning 1`] = `
226
+ <ChatIcon
227
+ variant="warning"
228
+ >
229
+ <ForwardRef(Icon)
230
+ icon="chat"
231
+ variant="warning"
232
+ >
233
+ <ForwardRef(SvgIcon)
234
+ className="ds-svg-icon--chat"
235
+ variant="warning"
236
+ >
237
+ <ForwardRef(Base)
238
+ aria-hidden="true"
239
+ as="svg"
240
+ className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
241
+ focusable="false"
242
+ viewBox="0 0 24 24"
243
+ >
244
+ <svg
245
+ aria-hidden="true"
246
+ className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
247
+ focusable="false"
248
+ viewBox="0 0 24 24"
249
+ >
250
+ <chat>
251
+ <path
252
+ d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
253
+ />
254
+ </chat>
255
+ </svg>
256
+ </ForwardRef(Base)>
257
+ </ForwardRef(SvgIcon)>
258
+ </ForwardRef(Icon)>
259
+ </ChatIcon>
260
+ `;
261
+
262
+ exports[`renders the ChatIcon with prop variant=warning and size=sm 1`] = `
263
+ <ChatIcon
264
+ size="sm"
265
+ variant="warning"
266
+ >
267
+ <ForwardRef(Icon)
268
+ icon="chat"
269
+ size="sm"
270
+ variant="warning"
271
+ >
272
+ <ForwardRef(SvgIcon)
273
+ className="ds-svg-icon--chat"
274
+ size="sm"
275
+ variant="warning"
276
+ >
277
+ <ForwardRef(Base)
278
+ aria-hidden="true"
279
+ as="svg"
280
+ className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
281
+ focusable="false"
282
+ viewBox="0 0 24 24"
283
+ >
284
+ <svg
285
+ aria-hidden="true"
286
+ className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
287
+ focusable="false"
288
+ viewBox="0 0 24 24"
289
+ >
290
+ <chat>
291
+ <path
292
+ d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
293
+ />
294
+ </chat>
295
+ </svg>
296
+ </ForwardRef(Base)>
297
+ </ForwardRef(SvgIcon)>
298
+ </ForwardRef(Icon)>
299
+ </ChatIcon>
300
+ `;
@@ -0,0 +1,24 @@
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.chat = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _ref2 = /*#__PURE__*/_react["default"].createElement("path", {
10
+ d: "M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2ZM7.65,11.3c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3ZM12,11.3c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3ZM16.35,11.3c-.718,0-1.3-.582-1.3-1.3s.582-1.3,1.3-1.3,1.3.582,1.3,1.3-.582,1.3-1.3,1.3Z"
11
+ });
12
+ var _ref3 = /*#__PURE__*/_react["default"].createElement("path", {
13
+ d: "M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
14
+ });
15
+ var chat = exports.chat = function chat(_ref) {
16
+ var _ref$dots = _ref.dots,
17
+ dots = _ref$dots === void 0 ? false : _ref$dots;
18
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, dots ? _ref2 : _ref3);
19
+ };
20
+
21
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
22
+ // @ts-ignore
23
+ chat.props = ['dots'];
24
+ var _default = exports["default"] = chat;
@@ -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.ChatIcon = 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 ChatIcon = exports.ChatIcon = function ChatIcon(props) {
12
+ return /*#__PURE__*/_react["default"].createElement(_Icon["default"], (0, _extends2["default"])({}, props, {
13
+ icon: "chat"
14
+ }));
15
+ };
16
+ var _default = exports["default"] = ChatIcon;
@@ -0,0 +1,54 @@
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 _ChatIcon = _interopRequireDefault(require("@digigov/react-icons/ChatIcon"));
7
+ var _ref = /*#__PURE__*/_react["default"].createElement(_ChatIcon["default"], null);
8
+ it('renders the ChatIcon with no props', function () {
9
+ expect((0, _enzyme.mount)(_ref)).toMatchSnapshot();
10
+ });
11
+ var _ref2 = /*#__PURE__*/_react["default"].createElement(_ChatIcon["default"], {
12
+ dots: true
13
+ });
14
+ it('renders the ChatIcon with dots', function () {
15
+ expect((0, _enzyme.mount)(_ref2)).toMatchSnapshot();
16
+ });
17
+ var _ref3 = /*#__PURE__*/_react["default"].createElement(_ChatIcon["default"], {
18
+ size: "md"
19
+ });
20
+ it('renders the ChatIcon with prop size=md', function () {
21
+ expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
22
+ });
23
+ var _ref4 = /*#__PURE__*/_react["default"].createElement(_ChatIcon["default"], {
24
+ size: "xl"
25
+ });
26
+ it('renders the ChatIcon with prop size=xl', function () {
27
+ expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
28
+ });
29
+ var _ref5 = /*#__PURE__*/_react["default"].createElement(_ChatIcon["default"], {
30
+ variant: "light"
31
+ });
32
+ it('renders the ChatIcon with prop variant=light', function () {
33
+ expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
34
+ });
35
+ var _ref6 = /*#__PURE__*/_react["default"].createElement(_ChatIcon["default"], {
36
+ variant: "warning"
37
+ });
38
+ it('renders the ChatIcon with prop variant=warning', function () {
39
+ expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
40
+ });
41
+ var _ref7 = /*#__PURE__*/_react["default"].createElement(_ChatIcon["default"], {
42
+ variant: "warning",
43
+ size: "sm"
44
+ });
45
+ it('renders the ChatIcon with prop variant=warning and size=sm', function () {
46
+ expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
47
+ });
48
+ var _ref8 = /*#__PURE__*/_react["default"].createElement(_ChatIcon["default"], {
49
+ variant: "warning",
50
+ size: "xl"
51
+ });
52
+ it('renders the ChatIcon with prop variant=error and size= xl', function () {
53
+ expect((0, _enzyme.mount)(_ref8)).toMatchSnapshot();
54
+ });
@@ -6,18 +6,18 @@ exports[`renders the CheckIcon with no props 1`] = `
6
6
  icon="check"
7
7
  >
8
8
  <ForwardRef(SvgIcon)
9
- className="govgr-svg-icon--check"
9
+ className="ds-svg-icon--check"
10
10
  >
11
11
  <ForwardRef(Base)
12
12
  aria-hidden="true"
13
13
  as="svg"
14
- className="govgr-svg-icon--check govgr-svg-icon"
14
+ className="ds-svg-icon--check ds-svg-icon"
15
15
  focusable="false"
16
16
  viewBox="0 0 24 24"
17
17
  >
18
18
  <svg
19
19
  aria-hidden="true"
20
- className="govgr-svg-icon--check govgr-svg-icon"
20
+ className="ds-svg-icon--check ds-svg-icon"
21
21
  focusable="false"
22
22
  viewBox="0 0 24 24"
23
23
  >
@@ -42,19 +42,19 @@ exports[`renders the CheckIcon with prop size=m 1`] = `
42
42
  size="md"
43
43
  >
44
44
  <ForwardRef(SvgIcon)
45
- className="govgr-svg-icon--check"
45
+ className="ds-svg-icon--check"
46
46
  size="md"
47
47
  >
48
48
  <ForwardRef(Base)
49
49
  aria-hidden="true"
50
50
  as="svg"
51
- className="govgr-svg-icon--check govgr-svg-icon--md govgr-svg-icon"
51
+ className="ds-svg-icon--check ds-svg-icon--md ds-svg-icon"
52
52
  focusable="false"
53
53
  viewBox="0 0 24 24"
54
54
  >
55
55
  <svg
56
56
  aria-hidden="true"
57
- className="govgr-svg-icon--check govgr-svg-icon--md govgr-svg-icon"
57
+ className="ds-svg-icon--check ds-svg-icon--md ds-svg-icon"
58
58
  focusable="false"
59
59
  viewBox="0 0 24 24"
60
60
  >
@@ -79,19 +79,19 @@ exports[`renders the CheckIcon with prop size=xl 1`] = `
79
79
  size="xl"
80
80
  >
81
81
  <ForwardRef(SvgIcon)
82
- className="govgr-svg-icon--check"
82
+ className="ds-svg-icon--check"
83
83
  size="xl"
84
84
  >
85
85
  <ForwardRef(Base)
86
86
  aria-hidden="true"
87
87
  as="svg"
88
- className="govgr-svg-icon--check govgr-svg-icon--xl govgr-svg-icon"
88
+ className="ds-svg-icon--check ds-svg-icon--xl ds-svg-icon"
89
89
  focusable="false"
90
90
  viewBox="0 0 24 24"
91
91
  >
92
92
  <svg
93
93
  aria-hidden="true"
94
- className="govgr-svg-icon--check govgr-svg-icon--xl govgr-svg-icon"
94
+ className="ds-svg-icon--check ds-svg-icon--xl ds-svg-icon"
95
95
  focusable="false"
96
96
  viewBox="0 0 24 24"
97
97
  >
@@ -118,20 +118,20 @@ exports[`renders the CheckIcon with prop variant=error and size= xl 1`] = `
118
118
  variant="warning"
119
119
  >
120
120
  <ForwardRef(SvgIcon)
121
- className="govgr-svg-icon--check"
121
+ className="ds-svg-icon--check"
122
122
  size="xl"
123
123
  variant="warning"
124
124
  >
125
125
  <ForwardRef(Base)
126
126
  aria-hidden="true"
127
127
  as="svg"
128
- className="govgr-svg-icon--check govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon"
128
+ className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
129
129
  focusable="false"
130
130
  viewBox="0 0 24 24"
131
131
  >
132
132
  <svg
133
133
  aria-hidden="true"
134
- className="govgr-svg-icon--check govgr-svg-icon--warning govgr-svg-icon--xl govgr-svg-icon"
134
+ className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
135
135
  focusable="false"
136
136
  viewBox="0 0 24 24"
137
137
  >
@@ -156,19 +156,19 @@ exports[`renders the CheckIcon with prop variant=light 1`] = `
156
156
  variant="light"
157
157
  >
158
158
  <ForwardRef(SvgIcon)
159
- className="govgr-svg-icon--check"
159
+ className="ds-svg-icon--check"
160
160
  variant="light"
161
161
  >
162
162
  <ForwardRef(Base)
163
163
  aria-hidden="true"
164
164
  as="svg"
165
- className="govgr-svg-icon--check govgr-svg-icon--light govgr-svg-icon"
165
+ className="ds-svg-icon--check ds-svg-icon--light ds-svg-icon"
166
166
  focusable="false"
167
167
  viewBox="0 0 24 24"
168
168
  >
169
169
  <svg
170
170
  aria-hidden="true"
171
- className="govgr-svg-icon--check govgr-svg-icon--light govgr-svg-icon"
171
+ className="ds-svg-icon--check ds-svg-icon--light ds-svg-icon"
172
172
  focusable="false"
173
173
  viewBox="0 0 24 24"
174
174
  >
@@ -193,19 +193,19 @@ exports[`renders the CheckIcon with prop variant=success 1`] = `
193
193
  variant="success"
194
194
  >
195
195
  <ForwardRef(SvgIcon)
196
- className="govgr-svg-icon--check"
196
+ className="ds-svg-icon--check"
197
197
  variant="success"
198
198
  >
199
199
  <ForwardRef(Base)
200
200
  aria-hidden="true"
201
201
  as="svg"
202
- className="govgr-svg-icon--check govgr-svg-icon--success govgr-svg-icon"
202
+ className="ds-svg-icon--check ds-svg-icon--success ds-svg-icon"
203
203
  focusable="false"
204
204
  viewBox="0 0 24 24"
205
205
  >
206
206
  <svg
207
207
  aria-hidden="true"
208
- className="govgr-svg-icon--check govgr-svg-icon--success govgr-svg-icon"
208
+ className="ds-svg-icon--check ds-svg-icon--success ds-svg-icon"
209
209
  focusable="false"
210
210
  viewBox="0 0 24 24"
211
211
  >
@@ -230,19 +230,19 @@ exports[`renders the CheckIcon with prop variant=warning 1`] = `
230
230
  variant="warning"
231
231
  >
232
232
  <ForwardRef(SvgIcon)
233
- className="govgr-svg-icon--check"
233
+ className="ds-svg-icon--check"
234
234
  variant="warning"
235
235
  >
236
236
  <ForwardRef(Base)
237
237
  aria-hidden="true"
238
238
  as="svg"
239
- className="govgr-svg-icon--check govgr-svg-icon--warning govgr-svg-icon"
239
+ className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon"
240
240
  focusable="false"
241
241
  viewBox="0 0 24 24"
242
242
  >
243
243
  <svg
244
244
  aria-hidden="true"
245
- className="govgr-svg-icon--check govgr-svg-icon--warning govgr-svg-icon"
245
+ className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon"
246
246
  focusable="false"
247
247
  viewBox="0 0 24 24"
248
248
  >
@@ -269,20 +269,20 @@ exports[`renders the CheckIcon with prop variant=warning and size=s 1`] = `
269
269
  variant="warning"
270
270
  >
271
271
  <ForwardRef(SvgIcon)
272
- className="govgr-svg-icon--check"
272
+ className="ds-svg-icon--check"
273
273
  size="sm"
274
274
  variant="warning"
275
275
  >
276
276
  <ForwardRef(Base)
277
277
  aria-hidden="true"
278
278
  as="svg"
279
- className="govgr-svg-icon--check govgr-svg-icon--warning govgr-svg-icon--sm govgr-svg-icon"
279
+ className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
280
280
  focusable="false"
281
281
  viewBox="0 0 24 24"
282
282
  >
283
283
  <svg
284
284
  aria-hidden="true"
285
- className="govgr-svg-icon--check govgr-svg-icon--warning govgr-svg-icon--sm govgr-svg-icon"
285
+ className="ds-svg-icon--check ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
286
286
  focusable="false"
287
287
  viewBox="0 0 24 24"
288
288
  >
@@ -9,18 +9,18 @@ exports[`renders the ChevronIcon with direction down prop 1`] = `
9
9
  icon="chevron"
10
10
  >
11
11
  <ForwardRef(SvgIcon)
12
- className="govgr-svg-icon--chevron"
12
+ className="ds-svg-icon--chevron"
13
13
  >
14
14
  <ForwardRef(Base)
15
15
  aria-hidden="true"
16
16
  as="svg"
17
- className="govgr-svg-icon--chevron govgr-svg-icon"
17
+ className="ds-svg-icon--chevron ds-svg-icon"
18
18
  focusable="false"
19
19
  viewBox="0 0 24 24"
20
20
  >
21
21
  <svg
22
22
  aria-hidden="true"
23
- className="govgr-svg-icon--chevron govgr-svg-icon"
23
+ className="ds-svg-icon--chevron ds-svg-icon"
24
24
  focusable="false"
25
25
  viewBox="0 0 24 24"
26
26
  >
@@ -47,18 +47,18 @@ exports[`renders the ChevronIcon with direction left prop 1`] = `
47
47
  icon="chevron"
48
48
  >
49
49
  <ForwardRef(SvgIcon)
50
- className="govgr-svg-icon--chevron"
50
+ className="ds-svg-icon--chevron"
51
51
  >
52
52
  <ForwardRef(Base)
53
53
  aria-hidden="true"
54
54
  as="svg"
55
- className="govgr-svg-icon--chevron govgr-svg-icon"
55
+ className="ds-svg-icon--chevron ds-svg-icon"
56
56
  focusable="false"
57
57
  viewBox="0 0 24 24"
58
58
  >
59
59
  <svg
60
60
  aria-hidden="true"
61
- className="govgr-svg-icon--chevron govgr-svg-icon"
61
+ className="ds-svg-icon--chevron ds-svg-icon"
62
62
  focusable="false"
63
63
  viewBox="0 0 24 24"
64
64
  >
@@ -85,18 +85,18 @@ exports[`renders the ChevronIcon with direction up prop 1`] = `
85
85
  icon="chevron"
86
86
  >
87
87
  <ForwardRef(SvgIcon)
88
- className="govgr-svg-icon--chevron"
88
+ className="ds-svg-icon--chevron"
89
89
  >
90
90
  <ForwardRef(Base)
91
91
  aria-hidden="true"
92
92
  as="svg"
93
- className="govgr-svg-icon--chevron govgr-svg-icon"
93
+ className="ds-svg-icon--chevron ds-svg-icon"
94
94
  focusable="false"
95
95
  viewBox="0 0 24 24"
96
96
  >
97
97
  <svg
98
98
  aria-hidden="true"
99
- className="govgr-svg-icon--chevron govgr-svg-icon"
99
+ className="ds-svg-icon--chevron ds-svg-icon"
100
100
  focusable="false"
101
101
  viewBox="0 0 24 24"
102
102
  >
@@ -120,18 +120,18 @@ exports[`renders the ChevronIcon with no props, direction prop is right by defau
120
120
  icon="chevron"
121
121
  >
122
122
  <ForwardRef(SvgIcon)
123
- className="govgr-svg-icon--chevron"
123
+ className="ds-svg-icon--chevron"
124
124
  >
125
125
  <ForwardRef(Base)
126
126
  aria-hidden="true"
127
127
  as="svg"
128
- className="govgr-svg-icon--chevron govgr-svg-icon"
128
+ className="ds-svg-icon--chevron ds-svg-icon"
129
129
  focusable="false"
130
130
  viewBox="0 0 24 24"
131
131
  >
132
132
  <svg
133
133
  aria-hidden="true"
134
- className="govgr-svg-icon--chevron govgr-svg-icon"
134
+ className="ds-svg-icon--chevron ds-svg-icon"
135
135
  focusable="false"
136
136
  viewBox="0 0 24 24"
137
137
  >
@@ -6,18 +6,18 @@ exports[`renders the CloseIcon with no props 1`] = `
6
6
  icon="close"
7
7
  >
8
8
  <ForwardRef(SvgIcon)
9
- className="govgr-svg-icon--close"
9
+ className="ds-svg-icon--close"
10
10
  >
11
11
  <ForwardRef(Base)
12
12
  aria-hidden="true"
13
13
  as="svg"
14
- className="govgr-svg-icon--close govgr-svg-icon"
14
+ className="ds-svg-icon--close ds-svg-icon"
15
15
  focusable="false"
16
16
  viewBox="0 0 24 24"
17
17
  >
18
18
  <svg
19
19
  aria-hidden="true"
20
- className="govgr-svg-icon--close govgr-svg-icon"
20
+ className="ds-svg-icon--close ds-svg-icon"
21
21
  focusable="false"
22
22
  viewBox="0 0 24 24"
23
23
  >