@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,297 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the ExclamationIcon with no props 1`] = `
4
+ <ExclamationIcon>
5
+ <ForwardRef(Icon)
6
+ icon="exclamation"
7
+ >
8
+ <ForwardRef(SvgIcon)
9
+ className="ds-svg-icon--exclamation"
10
+ >
11
+ <ForwardRef(Base)
12
+ aria-hidden="true"
13
+ as="svg"
14
+ className="ds-svg-icon--exclamation ds-svg-icon"
15
+ focusable="false"
16
+ viewBox="0 0 24 24"
17
+ >
18
+ <svg
19
+ aria-hidden="true"
20
+ className="ds-svg-icon--exclamation ds-svg-icon"
21
+ focusable="false"
22
+ viewBox="0 0 24 24"
23
+ >
24
+ <exclamation>
25
+ <path
26
+ d="M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z"
27
+ />
28
+ <circle
29
+ cx="11.993"
30
+ cy="19.9"
31
+ r="2.1"
32
+ />
33
+ </exclamation>
34
+ </svg>
35
+ </ForwardRef(Base)>
36
+ </ForwardRef(SvgIcon)>
37
+ </ForwardRef(Icon)>
38
+ </ExclamationIcon>
39
+ `;
40
+
41
+ exports[`renders the ExclamationIcon with prop size=md 1`] = `
42
+ <ExclamationIcon
43
+ size="md"
44
+ >
45
+ <ForwardRef(Icon)
46
+ icon="exclamation"
47
+ size="md"
48
+ >
49
+ <ForwardRef(SvgIcon)
50
+ className="ds-svg-icon--exclamation"
51
+ size="md"
52
+ >
53
+ <ForwardRef(Base)
54
+ aria-hidden="true"
55
+ as="svg"
56
+ className="ds-svg-icon--exclamation ds-svg-icon--md ds-svg-icon"
57
+ focusable="false"
58
+ viewBox="0 0 24 24"
59
+ >
60
+ <svg
61
+ aria-hidden="true"
62
+ className="ds-svg-icon--exclamation ds-svg-icon--md ds-svg-icon"
63
+ focusable="false"
64
+ viewBox="0 0 24 24"
65
+ >
66
+ <exclamation>
67
+ <path
68
+ d="M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z"
69
+ />
70
+ <circle
71
+ cx="11.993"
72
+ cy="19.9"
73
+ r="2.1"
74
+ />
75
+ </exclamation>
76
+ </svg>
77
+ </ForwardRef(Base)>
78
+ </ForwardRef(SvgIcon)>
79
+ </ForwardRef(Icon)>
80
+ </ExclamationIcon>
81
+ `;
82
+
83
+ exports[`renders the ExclamationIcon with prop size=xl 1`] = `
84
+ <ExclamationIcon
85
+ size="xl"
86
+ >
87
+ <ForwardRef(Icon)
88
+ icon="exclamation"
89
+ size="xl"
90
+ >
91
+ <ForwardRef(SvgIcon)
92
+ className="ds-svg-icon--exclamation"
93
+ size="xl"
94
+ >
95
+ <ForwardRef(Base)
96
+ aria-hidden="true"
97
+ as="svg"
98
+ className="ds-svg-icon--exclamation ds-svg-icon--xl ds-svg-icon"
99
+ focusable="false"
100
+ viewBox="0 0 24 24"
101
+ >
102
+ <svg
103
+ aria-hidden="true"
104
+ className="ds-svg-icon--exclamation ds-svg-icon--xl ds-svg-icon"
105
+ focusable="false"
106
+ viewBox="0 0 24 24"
107
+ >
108
+ <exclamation>
109
+ <path
110
+ d="M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z"
111
+ />
112
+ <circle
113
+ cx="11.993"
114
+ cy="19.9"
115
+ r="2.1"
116
+ />
117
+ </exclamation>
118
+ </svg>
119
+ </ForwardRef(Base)>
120
+ </ForwardRef(SvgIcon)>
121
+ </ForwardRef(Icon)>
122
+ </ExclamationIcon>
123
+ `;
124
+
125
+ exports[`renders the ExclamationIcon with prop variant=error and size=sm 1`] = `
126
+ <ExclamationIcon
127
+ size="sm"
128
+ variant="error"
129
+ >
130
+ <ForwardRef(Icon)
131
+ icon="exclamation"
132
+ size="sm"
133
+ variant="error"
134
+ >
135
+ <ForwardRef(SvgIcon)
136
+ className="ds-svg-icon--exclamation"
137
+ size="sm"
138
+ variant="error"
139
+ >
140
+ <ForwardRef(Base)
141
+ aria-hidden="true"
142
+ as="svg"
143
+ className="ds-svg-icon--exclamation ds-svg-icon--error ds-svg-icon--sm ds-svg-icon"
144
+ focusable="false"
145
+ viewBox="0 0 24 24"
146
+ >
147
+ <svg
148
+ aria-hidden="true"
149
+ className="ds-svg-icon--exclamation ds-svg-icon--error ds-svg-icon--sm ds-svg-icon"
150
+ focusable="false"
151
+ viewBox="0 0 24 24"
152
+ >
153
+ <exclamation>
154
+ <path
155
+ d="M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z"
156
+ />
157
+ <circle
158
+ cx="11.993"
159
+ cy="19.9"
160
+ r="2.1"
161
+ />
162
+ </exclamation>
163
+ </svg>
164
+ </ForwardRef(Base)>
165
+ </ForwardRef(SvgIcon)>
166
+ </ForwardRef(Icon)>
167
+ </ExclamationIcon>
168
+ `;
169
+
170
+ exports[`renders the ExclamationIcon with prop variant=info and size= xl 1`] = `
171
+ <ExclamationIcon
172
+ size="xl"
173
+ variant="info"
174
+ >
175
+ <ForwardRef(Icon)
176
+ icon="exclamation"
177
+ size="xl"
178
+ variant="info"
179
+ >
180
+ <ForwardRef(SvgIcon)
181
+ className="ds-svg-icon--exclamation"
182
+ size="xl"
183
+ variant="info"
184
+ >
185
+ <ForwardRef(Base)
186
+ aria-hidden="true"
187
+ as="svg"
188
+ className="ds-svg-icon--exclamation ds-svg-icon--info ds-svg-icon--xl ds-svg-icon"
189
+ focusable="false"
190
+ viewBox="0 0 24 24"
191
+ >
192
+ <svg
193
+ aria-hidden="true"
194
+ className="ds-svg-icon--exclamation ds-svg-icon--info ds-svg-icon--xl ds-svg-icon"
195
+ focusable="false"
196
+ viewBox="0 0 24 24"
197
+ >
198
+ <exclamation>
199
+ <path
200
+ d="M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z"
201
+ />
202
+ <circle
203
+ cx="11.993"
204
+ cy="19.9"
205
+ r="2.1"
206
+ />
207
+ </exclamation>
208
+ </svg>
209
+ </ForwardRef(Base)>
210
+ </ForwardRef(SvgIcon)>
211
+ </ForwardRef(Icon)>
212
+ </ExclamationIcon>
213
+ `;
214
+
215
+ exports[`renders the ExclamationIcon with prop variant=light 1`] = `
216
+ <ExclamationIcon
217
+ variant="light"
218
+ >
219
+ <ForwardRef(Icon)
220
+ icon="exclamation"
221
+ variant="light"
222
+ >
223
+ <ForwardRef(SvgIcon)
224
+ className="ds-svg-icon--exclamation"
225
+ variant="light"
226
+ >
227
+ <ForwardRef(Base)
228
+ aria-hidden="true"
229
+ as="svg"
230
+ className="ds-svg-icon--exclamation ds-svg-icon--light ds-svg-icon"
231
+ focusable="false"
232
+ viewBox="0 0 24 24"
233
+ >
234
+ <svg
235
+ aria-hidden="true"
236
+ className="ds-svg-icon--exclamation ds-svg-icon--light ds-svg-icon"
237
+ focusable="false"
238
+ viewBox="0 0 24 24"
239
+ >
240
+ <exclamation>
241
+ <path
242
+ d="M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z"
243
+ />
244
+ <circle
245
+ cx="11.993"
246
+ cy="19.9"
247
+ r="2.1"
248
+ />
249
+ </exclamation>
250
+ </svg>
251
+ </ForwardRef(Base)>
252
+ </ForwardRef(SvgIcon)>
253
+ </ForwardRef(Icon)>
254
+ </ExclamationIcon>
255
+ `;
256
+
257
+ exports[`renders the ExclamationIcon with prop variant=warning 1`] = `
258
+ <ExclamationIcon
259
+ variant="warning"
260
+ >
261
+ <ForwardRef(Icon)
262
+ icon="exclamation"
263
+ variant="warning"
264
+ >
265
+ <ForwardRef(SvgIcon)
266
+ className="ds-svg-icon--exclamation"
267
+ variant="warning"
268
+ >
269
+ <ForwardRef(Base)
270
+ aria-hidden="true"
271
+ as="svg"
272
+ className="ds-svg-icon--exclamation ds-svg-icon--warning ds-svg-icon"
273
+ focusable="false"
274
+ viewBox="0 0 24 24"
275
+ >
276
+ <svg
277
+ aria-hidden="true"
278
+ className="ds-svg-icon--exclamation ds-svg-icon--warning ds-svg-icon"
279
+ focusable="false"
280
+ viewBox="0 0 24 24"
281
+ >
282
+ <exclamation>
283
+ <path
284
+ d="M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z"
285
+ />
286
+ <circle
287
+ cx="11.993"
288
+ cy="19.9"
289
+ r="2.1"
290
+ />
291
+ </exclamation>
292
+ </svg>
293
+ </ForwardRef(Base)>
294
+ </ForwardRef(SvgIcon)>
295
+ </ForwardRef(Icon)>
296
+ </ExclamationIcon>
297
+ `;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+
3
+ export interface ExclamationType {}
4
+
5
+ export function exclamation(): React.ReactElement {
6
+ return (
7
+ <>
8
+ <path d="M13.716,16.486h-3.446l-.488-14.486h4.422l-.488,14.486Z" />
9
+ <circle cx="11.993" cy="19.9" r="2.1" />
10
+ </>
11
+ );
12
+ }
13
+
14
+ exclamation.props = [];
15
+
16
+ export default exclamation;
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+
4
+ import ExclamationIcon from '@digigov/react-icons/ExclamationIcon';
5
+
6
+ it('renders the ExclamationIcon with no props', () => {
7
+ expect(mount(<ExclamationIcon />)).toMatchSnapshot();
8
+ });
9
+ it('renders the ExclamationIcon with prop size=md', () => {
10
+ expect(mount(<ExclamationIcon size="md" />)).toMatchSnapshot();
11
+ });
12
+ it('renders the ExclamationIcon with prop size=xl', () => {
13
+ expect(mount(<ExclamationIcon size="xl" />)).toMatchSnapshot();
14
+ });
15
+ it('renders the ExclamationIcon with prop variant=light', () => {
16
+ expect(mount(<ExclamationIcon variant="light" />)).toMatchSnapshot();
17
+ });
18
+ it('renders the ExclamationIcon with prop variant=warning', () => {
19
+ expect(mount(<ExclamationIcon variant="warning" />)).toMatchSnapshot();
20
+ });
21
+ it('renders the ExclamationIcon with prop variant=error and size=sm', () => {
22
+ expect(mount(<ExclamationIcon variant="error" size="sm" />)).toMatchSnapshot();
23
+ });
24
+ it('renders the ExclamationIcon with prop variant=info and size= xl', () => {
25
+ expect(mount(<ExclamationIcon variant="info" size="xl" />)).toMatchSnapshot();
26
+ });
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import Icon, { IconProps } from '@digigov/react-icons/Icon';
3
+
4
+ export const ExclamationIcon: React.FC<IconProps<'exclamation'>> = (props) => {
5
+ return <Icon {...props} icon="exclamation"></Icon>;
6
+ };
7
+
8
+ export default ExclamationIcon;
@@ -9,19 +9,19 @@ exports[`renders the GlobeIcon prop variant= "error" 1`] = `
9
9
  variant="error"
10
10
  >
11
11
  <ForwardRef(SvgIcon)
12
- className="govgr-svg-icon--globe"
12
+ className="ds-svg-icon--globe"
13
13
  variant="error"
14
14
  >
15
15
  <ForwardRef(Base)
16
16
  aria-hidden="true"
17
17
  as="svg"
18
- className="govgr-svg-icon--globe govgr-svg-icon--error govgr-svg-icon"
18
+ className="ds-svg-icon--globe ds-svg-icon--error ds-svg-icon"
19
19
  focusable="false"
20
20
  viewBox="0 0 24 24"
21
21
  >
22
22
  <svg
23
23
  aria-hidden="true"
24
- className="govgr-svg-icon--globe govgr-svg-icon--error govgr-svg-icon"
24
+ className="ds-svg-icon--globe ds-svg-icon--error ds-svg-icon"
25
25
  focusable="false"
26
26
  viewBox="0 0 24 24"
27
27
  >
@@ -47,19 +47,19 @@ exports[`renders the GlobeIcon prop variant= "light" 1`] = `
47
47
  variant="light"
48
48
  >
49
49
  <ForwardRef(SvgIcon)
50
- className="govgr-svg-icon--globe"
50
+ className="ds-svg-icon--globe"
51
51
  variant="light"
52
52
  >
53
53
  <ForwardRef(Base)
54
54
  aria-hidden="true"
55
55
  as="svg"
56
- className="govgr-svg-icon--globe govgr-svg-icon--light govgr-svg-icon"
56
+ className="ds-svg-icon--globe ds-svg-icon--light ds-svg-icon"
57
57
  focusable="false"
58
58
  viewBox="0 0 24 24"
59
59
  >
60
60
  <svg
61
61
  aria-hidden="true"
62
- className="govgr-svg-icon--globe govgr-svg-icon--light govgr-svg-icon"
62
+ className="ds-svg-icon--globe ds-svg-icon--light ds-svg-icon"
63
63
  focusable="false"
64
64
  viewBox="0 0 24 24"
65
65
  >
@@ -82,18 +82,18 @@ exports[`renders the GlobeIcon with no props 1`] = `
82
82
  icon="globe"
83
83
  >
84
84
  <ForwardRef(SvgIcon)
85
- className="govgr-svg-icon--globe"
85
+ className="ds-svg-icon--globe"
86
86
  >
87
87
  <ForwardRef(Base)
88
88
  aria-hidden="true"
89
89
  as="svg"
90
- className="govgr-svg-icon--globe govgr-svg-icon"
90
+ className="ds-svg-icon--globe ds-svg-icon"
91
91
  focusable="false"
92
92
  viewBox="0 0 24 24"
93
93
  >
94
94
  <svg
95
95
  aria-hidden="true"
96
- className="govgr-svg-icon--globe govgr-svg-icon"
96
+ className="ds-svg-icon--globe ds-svg-icon"
97
97
  focusable="false"
98
98
  viewBox="0 0 24 24"
99
99
  >
@@ -119,19 +119,19 @@ exports[`renders the GlobeIcon with prop variant=dark 1`] = `
119
119
  variant="dark"
120
120
  >
121
121
  <ForwardRef(SvgIcon)
122
- className="govgr-svg-icon--globe"
122
+ className="ds-svg-icon--globe"
123
123
  variant="dark"
124
124
  >
125
125
  <ForwardRef(Base)
126
126
  aria-hidden="true"
127
127
  as="svg"
128
- className="govgr-svg-icon--globe govgr-svg-icon--dark govgr-svg-icon"
128
+ className="ds-svg-icon--globe ds-svg-icon--dark 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--globe govgr-svg-icon--dark govgr-svg-icon"
134
+ className="ds-svg-icon--globe ds-svg-icon--dark ds-svg-icon"
135
135
  focusable="false"
136
136
  viewBox="0 0 24 24"
137
137
  >
@@ -5,18 +5,18 @@ exports[`renders the Icon prop icon= "caret" 1`] = `
5
5
  icon="caret"
6
6
  >
7
7
  <ForwardRef(SvgIcon)
8
- className="govgr-svg-icon--caret"
8
+ className="ds-svg-icon--caret"
9
9
  >
10
10
  <ForwardRef(Base)
11
11
  aria-hidden="true"
12
12
  as="svg"
13
- className="govgr-svg-icon--caret govgr-svg-icon"
13
+ className="ds-svg-icon--caret ds-svg-icon"
14
14
  focusable="false"
15
15
  viewBox="0 0 24 24"
16
16
  >
17
17
  <svg
18
18
  aria-hidden="true"
19
- className="govgr-svg-icon--caret govgr-svg-icon"
19
+ className="ds-svg-icon--caret ds-svg-icon"
20
20
  focusable="false"
21
21
  viewBox="0 0 24 24"
22
22
  >
@@ -37,18 +37,18 @@ exports[`renders the Icon prop icon= "caret" and direction=left 1`] = `
37
37
  icon="caret"
38
38
  >
39
39
  <ForwardRef(SvgIcon)
40
- className="govgr-svg-icon--caret"
40
+ className="ds-svg-icon--caret"
41
41
  >
42
42
  <ForwardRef(Base)
43
43
  aria-hidden="true"
44
44
  as="svg"
45
- className="govgr-svg-icon--caret govgr-svg-icon"
45
+ className="ds-svg-icon--caret ds-svg-icon"
46
46
  focusable="false"
47
47
  viewBox="0 0 24 24"
48
48
  >
49
49
  <svg
50
50
  aria-hidden="true"
51
- className="govgr-svg-icon--caret govgr-svg-icon"
51
+ className="ds-svg-icon--caret ds-svg-icon"
52
52
  focusable="false"
53
53
  viewBox="0 0 24 24"
54
54
  >
@@ -70,18 +70,18 @@ exports[`renders the Icon prop icon= "check" 1`] = `
70
70
  icon="check"
71
71
  >
72
72
  <ForwardRef(SvgIcon)
73
- className="govgr-svg-icon--check"
73
+ className="ds-svg-icon--check"
74
74
  >
75
75
  <ForwardRef(Base)
76
76
  aria-hidden="true"
77
77
  as="svg"
78
- className="govgr-svg-icon--check govgr-svg-icon"
78
+ className="ds-svg-icon--check ds-svg-icon"
79
79
  focusable="false"
80
80
  viewBox="0 0 24 24"
81
81
  >
82
82
  <svg
83
83
  aria-hidden="true"
84
- className="govgr-svg-icon--check govgr-svg-icon"
84
+ className="ds-svg-icon--check ds-svg-icon"
85
85
  focusable="false"
86
86
  viewBox="0 0 24 24"
87
87
  >
@@ -101,18 +101,18 @@ exports[`renders the Icon prop icon= "close" 1`] = `
101
101
  icon="close"
102
102
  >
103
103
  <ForwardRef(SvgIcon)
104
- className="govgr-svg-icon--close"
104
+ className="ds-svg-icon--close"
105
105
  >
106
106
  <ForwardRef(Base)
107
107
  aria-hidden="true"
108
108
  as="svg"
109
- className="govgr-svg-icon--close govgr-svg-icon"
109
+ className="ds-svg-icon--close ds-svg-icon"
110
110
  focusable="false"
111
111
  viewBox="0 0 24 24"
112
112
  >
113
113
  <svg
114
114
  aria-hidden="true"
115
- className="govgr-svg-icon--close govgr-svg-icon"
115
+ className="ds-svg-icon--close ds-svg-icon"
116
116
  focusable="false"
117
117
  viewBox="0 0 24 24"
118
118
  >
@@ -132,18 +132,18 @@ exports[`renders the Icon prop icon= "uncheck" 1`] = `
132
132
  icon="uncheck"
133
133
  >
134
134
  <ForwardRef(SvgIcon)
135
- className="govgr-svg-icon--uncheck"
135
+ className="ds-svg-icon--uncheck"
136
136
  >
137
137
  <ForwardRef(Base)
138
138
  aria-hidden="true"
139
139
  as="svg"
140
- className="govgr-svg-icon--uncheck govgr-svg-icon"
140
+ className="ds-svg-icon--uncheck ds-svg-icon"
141
141
  focusable="false"
142
142
  viewBox="0 0 24 24"
143
143
  >
144
144
  <svg
145
145
  aria-hidden="true"
146
- className="govgr-svg-icon--uncheck govgr-svg-icon"
146
+ className="ds-svg-icon--uncheck ds-svg-icon"
147
147
  focusable="false"
148
148
  viewBox="0 0 24 24"
149
149
  >
@@ -163,18 +163,18 @@ exports[`renders the Icon props icon= "moreVert" 1`] = `
163
163
  icon="moreVert"
164
164
  >
165
165
  <ForwardRef(SvgIcon)
166
- className="govgr-svg-icon--moreVert"
166
+ className="ds-svg-icon--moreVert"
167
167
  >
168
168
  <ForwardRef(Base)
169
169
  aria-hidden="true"
170
170
  as="svg"
171
- className="govgr-svg-icon--moreVert govgr-svg-icon"
171
+ className="ds-svg-icon--moreVert ds-svg-icon"
172
172
  focusable="false"
173
173
  viewBox="0 0 24 24"
174
174
  >
175
175
  <svg
176
176
  aria-hidden="true"
177
- className="govgr-svg-icon--moreVert govgr-svg-icon"
177
+ className="ds-svg-icon--moreVert ds-svg-icon"
178
178
  focusable="false"
179
179
  viewBox="0 0 24 24"
180
180
  >
@@ -204,18 +204,18 @@ exports[`renders the Icon props icon= "moreVert" 1`] = `
204
204
  exports[`renders the Icon with no props 1`] = `
205
205
  <ForwardRef(Icon)>
206
206
  <ForwardRef(SvgIcon)
207
- className="govgr-svg-icon--chevron"
207
+ className="ds-svg-icon--chevron"
208
208
  >
209
209
  <ForwardRef(Base)
210
210
  aria-hidden="true"
211
211
  as="svg"
212
- className="govgr-svg-icon--chevron govgr-svg-icon"
212
+ className="ds-svg-icon--chevron ds-svg-icon"
213
213
  focusable="false"
214
214
  viewBox="0 0 24 24"
215
215
  >
216
216
  <svg
217
217
  aria-hidden="true"
218
- className="govgr-svg-icon--chevron govgr-svg-icon"
218
+ className="ds-svg-icon--chevron ds-svg-icon"
219
219
  focusable="false"
220
220
  viewBox="0 0 24 24"
221
221
  >
@@ -235,18 +235,18 @@ exports[`renders the Icon with prop icon=arrow and direction=up 1`] = `
235
235
  direction="up"
236
236
  >
237
237
  <ForwardRef(SvgIcon)
238
- className="govgr-svg-icon--chevron"
238
+ className="ds-svg-icon--chevron"
239
239
  >
240
240
  <ForwardRef(Base)
241
241
  aria-hidden="true"
242
242
  as="svg"
243
- className="govgr-svg-icon--chevron govgr-svg-icon"
243
+ className="ds-svg-icon--chevron ds-svg-icon"
244
244
  focusable="false"
245
245
  viewBox="0 0 24 24"
246
246
  >
247
247
  <svg
248
248
  aria-hidden="true"
249
- className="govgr-svg-icon--chevron govgr-svg-icon"
249
+ className="ds-svg-icon--chevron ds-svg-icon"
250
250
  focusable="false"
251
251
  viewBox="0 0 24 24"
252
252
  >
@@ -268,18 +268,18 @@ exports[`renders the Icon with prop prop icon=burger 1`] = `
268
268
  icon="burger"
269
269
  >
270
270
  <ForwardRef(SvgIcon)
271
- className="govgr-svg-icon--burger"
271
+ className="ds-svg-icon--burger"
272
272
  >
273
273
  <ForwardRef(Base)
274
274
  aria-hidden="true"
275
275
  as="svg"
276
- className="govgr-svg-icon--burger govgr-svg-icon"
276
+ className="ds-svg-icon--burger ds-svg-icon"
277
277
  focusable="false"
278
278
  viewBox="0 0 24 24"
279
279
  >
280
280
  <svg
281
281
  aria-hidden="true"
282
- className="govgr-svg-icon--burger govgr-svg-icon"
282
+ className="ds-svg-icon--burger ds-svg-icon"
283
283
  focusable="false"
284
284
  viewBox="0 0 24 24"
285
285
  >
@@ -289,17 +289,17 @@ exports[`renders the Icon with prop prop icon=burger 1`] = `
289
289
  >
290
290
  <rect
291
291
  height="3.3"
292
- id="govgr-svg-icon--burger__line-1"
292
+ id="ds-svg-icon--burger__line-1"
293
293
  width="20"
294
294
  />
295
295
  <rect
296
296
  height="3.3"
297
- id="govgr-svg-icon--burger__line-2"
297
+ id="ds-svg-icon--burger__line-2"
298
298
  width="20"
299
299
  />
300
300
  <rect
301
301
  height="3.3"
302
- id="govgr-svg-icon--burger__line-3"
302
+ id="ds-svg-icon--burger__line-3"
303
303
  width="20"
304
304
  />
305
305
  </g>
@@ -315,18 +315,18 @@ exports[`renders the Icon with prop prop icon=globe 1`] = `
315
315
  icon="globe"
316
316
  >
317
317
  <ForwardRef(SvgIcon)
318
- className="govgr-svg-icon--globe"
318
+ className="ds-svg-icon--globe"
319
319
  >
320
320
  <ForwardRef(Base)
321
321
  aria-hidden="true"
322
322
  as="svg"
323
- className="govgr-svg-icon--globe govgr-svg-icon"
323
+ className="ds-svg-icon--globe ds-svg-icon"
324
324
  focusable="false"
325
325
  viewBox="0 0 24 24"
326
326
  >
327
327
  <svg
328
328
  aria-hidden="true"
329
- className="govgr-svg-icon--globe govgr-svg-icon"
329
+ className="ds-svg-icon--globe ds-svg-icon"
330
330
  focusable="false"
331
331
  viewBox="0 0 24 24"
332
332
  >
@@ -52,7 +52,7 @@ export const Icon: IconComponent = React.forwardRef<
52
52
  ref={ref}
53
53
  {...props}
54
54
  className={clsx(className, {
55
- [`govgr-svg-icon--${icon}`]: true,
55
+ [`ds-svg-icon--${icon}`]: true,
56
56
  })}
57
57
  >
58
58
  <IconComponent {...iconProps} />