@digigov/react-icons 2.0.0-af1b5f33 → 2.0.0-b3ec0588
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.
- package/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/AccessibilityIcon/index.test/index.js +12 -12
- package/BurgerIcon/__snapshots__/index.test.tsx.snap +16 -16
- package/BurgerIcon/index.test/index.js +8 -8
- package/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/CancelIcon/index.test/index.js +8 -8
- package/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/ChatIcon/index.test/index.js +8 -8
- package/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
- package/CheckIcon/index.test/index.js +10 -10
- package/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/DownloadIcon/index.test/index.js +8 -8
- package/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
- package/ExclamationIcon/index.test/index.js +8 -8
- package/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/GlobeIcon/index.test/index.js +6 -6
- package/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/LockIcon/index.test/index.js +8 -8
- package/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/LoginIcon/index.test/index.js +8 -8
- package/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/MinusIcon/index.test/index.js +8 -8
- package/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/MoreVertIcon/index.test/index.js +12 -12
- package/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/PdfFileIcon/index.test/index.js +8 -8
- package/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/PlusIcon/index.test/index.js +8 -8
- package/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
- package/PrintIcon/config/index.js +15 -0
- package/PrintIcon/config/package.json +6 -0
- package/PrintIcon/config.d.ts +8 -0
- package/PrintIcon/index.d.ts +4 -0
- package/PrintIcon/index.js +9 -0
- package/PrintIcon/index.test/index.js +45 -0
- package/PrintIcon/index.test/package.json +6 -0
- package/PrintIcon/index.test.d.ts +1 -0
- package/PrintIcon/package.json +6 -0
- package/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/ReplyIcon/index.test/index.js +8 -8
- package/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/RestoreIcon/index.test/index.js +8 -8
- package/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
- package/UncheckIcon/index.test/index.js +12 -12
- package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/cjs/AccessibilityIcon/index.test/index.js +12 -12
- package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +16 -16
- package/cjs/BurgerIcon/index.test/index.js +8 -8
- package/cjs/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/CancelIcon/index.test/index.js +8 -8
- package/cjs/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/ChatIcon/index.test/index.js +8 -8
- package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
- package/cjs/CheckIcon/index.test/index.js +10 -10
- package/cjs/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/DownloadIcon/index.test/index.js +8 -8
- package/cjs/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
- package/cjs/ExclamationIcon/index.test/index.js +8 -8
- package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/cjs/GlobeIcon/index.test/index.js +6 -6
- package/cjs/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/LockIcon/index.test/index.js +8 -8
- package/cjs/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/LoginIcon/index.test/index.js +8 -8
- package/cjs/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/MinusIcon/index.test/index.js +8 -8
- package/cjs/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/cjs/MoreVertIcon/index.test/index.js +12 -12
- package/cjs/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/PdfFileIcon/index.test/index.js +8 -8
- package/cjs/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/PlusIcon/index.test/index.js +8 -8
- package/cjs/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
- package/cjs/PrintIcon/config/index.js +23 -0
- package/cjs/PrintIcon/index.js +16 -0
- package/cjs/PrintIcon/index.test/index.js +48 -0
- package/cjs/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/ReplyIcon/index.test/index.js +8 -8
- package/cjs/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/RestoreIcon/index.test/index.js +8 -8
- package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
- package/cjs/UncheckIcon/index.test/index.js +12 -12
- package/cjs/icons/index.js +11 -0
- package/cjs/index.js +11 -0
- package/cjs/registry/index.js +5 -3
- package/icons/index.js +1 -0
- package/icons.d.ts +3 -0
- package/index.d.ts +1 -0
- package/index.js +3 -2
- package/package.json +3 -3
- package/registry/index.js +5 -3
- package/registry.d.ts +2 -1
- package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/src/AccessibilityIcon/index.test.tsx +12 -12
- package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +16 -16
- package/src/BurgerIcon/index.test.tsx +8 -8
- package/src/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/CancelIcon/index.test.tsx +8 -8
- package/src/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/ChatIcon/index.test.tsx +8 -8
- package/src/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
- package/src/CheckIcon/index.test.tsx +10 -10
- package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/DownloadIcon/index.test.tsx +8 -8
- package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
- package/src/ExclamationIcon/index.test.tsx +8 -8
- package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/src/GlobeIcon/index.test.tsx +6 -6
- package/src/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/LockIcon/index.test.tsx +8 -8
- package/src/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/LoginIcon/index.test.tsx +8 -8
- package/src/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/MinusIcon/index.test.tsx +8 -8
- package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/src/MoreVertIcon/index.test.tsx +12 -12
- package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/PdfFileIcon/index.test.tsx +8 -8
- package/src/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/PlusIcon/index.test.tsx +8 -8
- package/src/PrintIcon/__snapshots__/index.test.tsx.snap +304 -0
- package/src/PrintIcon/config.tsx +16 -0
- package/src/PrintIcon/index.test.tsx +26 -0
- package/src/PrintIcon/index.tsx +8 -0
- package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/ReplyIcon/index.test.tsx +8 -8
- package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/RestoreIcon/index.test.tsx +8 -8
- package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
- package/src/UncheckIcon/index.test.tsx +12 -12
- package/src/icons.ts +3 -0
- package/src/index.ts +1 -0
- package/src/registry.js +6 -4
|
@@ -33,28 +33,31 @@ exports[`renders the PlusIcon with no props 1`] = `
|
|
|
33
33
|
</PlusIcon>
|
|
34
34
|
`;
|
|
35
35
|
|
|
36
|
-
exports[`renders the PlusIcon with prop size=
|
|
36
|
+
exports[`renders the PlusIcon with prop color=error and size= xl 1`] = `
|
|
37
37
|
<PlusIcon
|
|
38
|
-
|
|
38
|
+
color="warning"
|
|
39
|
+
size="xl"
|
|
39
40
|
>
|
|
40
41
|
<ForwardRef(Icon)
|
|
42
|
+
color="warning"
|
|
41
43
|
icon="plus"
|
|
42
|
-
size="
|
|
44
|
+
size="xl"
|
|
43
45
|
>
|
|
44
46
|
<ForwardRef(SvgIcon)
|
|
45
47
|
className="ds-svg-icon--plus"
|
|
46
|
-
|
|
48
|
+
color="warning"
|
|
49
|
+
size="xl"
|
|
47
50
|
>
|
|
48
51
|
<ForwardRef(Base)
|
|
49
52
|
aria-hidden="true"
|
|
50
53
|
as="svg"
|
|
51
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
54
|
+
className="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
52
55
|
focusable="false"
|
|
53
56
|
viewBox="0 0 24 24"
|
|
54
57
|
>
|
|
55
58
|
<svg
|
|
56
59
|
aria-hidden="true"
|
|
57
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
60
|
+
className="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
58
61
|
focusable="false"
|
|
59
62
|
viewBox="0 0 24 24"
|
|
60
63
|
>
|
|
@@ -70,28 +73,28 @@ exports[`renders the PlusIcon with prop size=m 1`] = `
|
|
|
70
73
|
</PlusIcon>
|
|
71
74
|
`;
|
|
72
75
|
|
|
73
|
-
exports[`renders the PlusIcon with prop
|
|
76
|
+
exports[`renders the PlusIcon with prop color=light 1`] = `
|
|
74
77
|
<PlusIcon
|
|
75
|
-
|
|
78
|
+
color="light"
|
|
76
79
|
>
|
|
77
80
|
<ForwardRef(Icon)
|
|
81
|
+
color="light"
|
|
78
82
|
icon="plus"
|
|
79
|
-
size="xl"
|
|
80
83
|
>
|
|
81
84
|
<ForwardRef(SvgIcon)
|
|
82
85
|
className="ds-svg-icon--plus"
|
|
83
|
-
|
|
86
|
+
color="light"
|
|
84
87
|
>
|
|
85
88
|
<ForwardRef(Base)
|
|
86
89
|
aria-hidden="true"
|
|
87
90
|
as="svg"
|
|
88
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
91
|
+
className="ds-svg-icon--plus ds-svg-icon--light ds-svg-icon"
|
|
89
92
|
focusable="false"
|
|
90
93
|
viewBox="0 0 24 24"
|
|
91
94
|
>
|
|
92
95
|
<svg
|
|
93
96
|
aria-hidden="true"
|
|
94
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
97
|
+
className="ds-svg-icon--plus ds-svg-icon--light ds-svg-icon"
|
|
95
98
|
focusable="false"
|
|
96
99
|
viewBox="0 0 24 24"
|
|
97
100
|
>
|
|
@@ -107,31 +110,28 @@ exports[`renders the PlusIcon with prop size=xl 1`] = `
|
|
|
107
110
|
</PlusIcon>
|
|
108
111
|
`;
|
|
109
112
|
|
|
110
|
-
exports[`renders the PlusIcon with prop
|
|
113
|
+
exports[`renders the PlusIcon with prop color=warning 1`] = `
|
|
111
114
|
<PlusIcon
|
|
112
|
-
|
|
113
|
-
variant="warning"
|
|
115
|
+
color="warning"
|
|
114
116
|
>
|
|
115
117
|
<ForwardRef(Icon)
|
|
118
|
+
color="warning"
|
|
116
119
|
icon="plus"
|
|
117
|
-
size="xl"
|
|
118
|
-
variant="warning"
|
|
119
120
|
>
|
|
120
121
|
<ForwardRef(SvgIcon)
|
|
121
122
|
className="ds-svg-icon--plus"
|
|
122
|
-
|
|
123
|
-
variant="warning"
|
|
123
|
+
color="warning"
|
|
124
124
|
>
|
|
125
125
|
<ForwardRef(Base)
|
|
126
126
|
aria-hidden="true"
|
|
127
127
|
as="svg"
|
|
128
|
-
className="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon
|
|
128
|
+
className="ds-svg-icon--plus ds-svg-icon--warning 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="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon
|
|
134
|
+
className="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon"
|
|
135
135
|
focusable="false"
|
|
136
136
|
viewBox="0 0 24 24"
|
|
137
137
|
>
|
|
@@ -147,28 +147,31 @@ exports[`renders the PlusIcon with prop variant=error and size= xl 1`] = `
|
|
|
147
147
|
</PlusIcon>
|
|
148
148
|
`;
|
|
149
149
|
|
|
150
|
-
exports[`renders the PlusIcon with prop
|
|
150
|
+
exports[`renders the PlusIcon with prop color=warning and size=s 1`] = `
|
|
151
151
|
<PlusIcon
|
|
152
|
-
|
|
152
|
+
color="warning"
|
|
153
|
+
size="sm"
|
|
153
154
|
>
|
|
154
155
|
<ForwardRef(Icon)
|
|
156
|
+
color="warning"
|
|
155
157
|
icon="plus"
|
|
156
|
-
|
|
158
|
+
size="sm"
|
|
157
159
|
>
|
|
158
160
|
<ForwardRef(SvgIcon)
|
|
159
161
|
className="ds-svg-icon--plus"
|
|
160
|
-
|
|
162
|
+
color="warning"
|
|
163
|
+
size="sm"
|
|
161
164
|
>
|
|
162
165
|
<ForwardRef(Base)
|
|
163
166
|
aria-hidden="true"
|
|
164
167
|
as="svg"
|
|
165
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
168
|
+
className="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
166
169
|
focusable="false"
|
|
167
170
|
viewBox="0 0 24 24"
|
|
168
171
|
>
|
|
169
172
|
<svg
|
|
170
173
|
aria-hidden="true"
|
|
171
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
174
|
+
className="ds-svg-icon--plus ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
172
175
|
focusable="false"
|
|
173
176
|
viewBox="0 0 24 24"
|
|
174
177
|
>
|
|
@@ -184,28 +187,28 @@ exports[`renders the PlusIcon with prop variant=light 1`] = `
|
|
|
184
187
|
</PlusIcon>
|
|
185
188
|
`;
|
|
186
189
|
|
|
187
|
-
exports[`renders the PlusIcon with prop
|
|
190
|
+
exports[`renders the PlusIcon with prop size=m 1`] = `
|
|
188
191
|
<PlusIcon
|
|
189
|
-
|
|
192
|
+
size="md"
|
|
190
193
|
>
|
|
191
194
|
<ForwardRef(Icon)
|
|
192
195
|
icon="plus"
|
|
193
|
-
|
|
196
|
+
size="md"
|
|
194
197
|
>
|
|
195
198
|
<ForwardRef(SvgIcon)
|
|
196
199
|
className="ds-svg-icon--plus"
|
|
197
|
-
|
|
200
|
+
size="md"
|
|
198
201
|
>
|
|
199
202
|
<ForwardRef(Base)
|
|
200
203
|
aria-hidden="true"
|
|
201
204
|
as="svg"
|
|
202
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
205
|
+
className="ds-svg-icon--plus ds-svg-icon--md ds-svg-icon"
|
|
203
206
|
focusable="false"
|
|
204
207
|
viewBox="0 0 24 24"
|
|
205
208
|
>
|
|
206
209
|
<svg
|
|
207
210
|
aria-hidden="true"
|
|
208
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
211
|
+
className="ds-svg-icon--plus ds-svg-icon--md ds-svg-icon"
|
|
209
212
|
focusable="false"
|
|
210
213
|
viewBox="0 0 24 24"
|
|
211
214
|
>
|
|
@@ -221,31 +224,28 @@ exports[`renders the PlusIcon with prop variant=warning 1`] = `
|
|
|
221
224
|
</PlusIcon>
|
|
222
225
|
`;
|
|
223
226
|
|
|
224
|
-
exports[`renders the PlusIcon with prop
|
|
227
|
+
exports[`renders the PlusIcon with prop size=xl 1`] = `
|
|
225
228
|
<PlusIcon
|
|
226
|
-
size="
|
|
227
|
-
variant="warning"
|
|
229
|
+
size="xl"
|
|
228
230
|
>
|
|
229
231
|
<ForwardRef(Icon)
|
|
230
232
|
icon="plus"
|
|
231
|
-
size="
|
|
232
|
-
variant="warning"
|
|
233
|
+
size="xl"
|
|
233
234
|
>
|
|
234
235
|
<ForwardRef(SvgIcon)
|
|
235
236
|
className="ds-svg-icon--plus"
|
|
236
|
-
size="
|
|
237
|
-
variant="warning"
|
|
237
|
+
size="xl"
|
|
238
238
|
>
|
|
239
239
|
<ForwardRef(Base)
|
|
240
240
|
aria-hidden="true"
|
|
241
241
|
as="svg"
|
|
242
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
242
|
+
className="ds-svg-icon--plus ds-svg-icon--xl ds-svg-icon"
|
|
243
243
|
focusable="false"
|
|
244
244
|
viewBox="0 0 24 24"
|
|
245
245
|
>
|
|
246
246
|
<svg
|
|
247
247
|
aria-hidden="true"
|
|
248
|
-
className="ds-svg-icon--plus ds-svg-icon--
|
|
248
|
+
className="ds-svg-icon--plus ds-svg-icon--xl ds-svg-icon"
|
|
249
249
|
focusable="false"
|
|
250
250
|
viewBox="0 0 24 24"
|
|
251
251
|
>
|
|
@@ -18,28 +18,28 @@ it('renders the PlusIcon with prop size=xl', function () {
|
|
|
18
18
|
expect(mount(_ref3)).toMatchSnapshot();
|
|
19
19
|
});
|
|
20
20
|
var _ref4 = /*#__PURE__*/React.createElement(PlusIcon, {
|
|
21
|
-
|
|
21
|
+
color: "light"
|
|
22
22
|
});
|
|
23
|
-
it('renders the PlusIcon with prop
|
|
23
|
+
it('renders the PlusIcon with prop color=light', function () {
|
|
24
24
|
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
25
|
});
|
|
26
26
|
var _ref5 = /*#__PURE__*/React.createElement(PlusIcon, {
|
|
27
|
-
|
|
27
|
+
color: "warning"
|
|
28
28
|
});
|
|
29
|
-
it('renders the PlusIcon with prop
|
|
29
|
+
it('renders the PlusIcon with prop color=warning', function () {
|
|
30
30
|
expect(mount(_ref5)).toMatchSnapshot();
|
|
31
31
|
});
|
|
32
32
|
var _ref6 = /*#__PURE__*/React.createElement(PlusIcon, {
|
|
33
|
-
|
|
33
|
+
color: "warning",
|
|
34
34
|
size: "sm"
|
|
35
35
|
});
|
|
36
|
-
it('renders the PlusIcon with prop
|
|
36
|
+
it('renders the PlusIcon with prop color=warning and size=s', function () {
|
|
37
37
|
expect(mount(_ref6)).toMatchSnapshot();
|
|
38
38
|
});
|
|
39
39
|
var _ref7 = /*#__PURE__*/React.createElement(PlusIcon, {
|
|
40
|
-
|
|
40
|
+
color: "warning",
|
|
41
41
|
size: "xl"
|
|
42
42
|
});
|
|
43
|
-
it('renders the PlusIcon with prop
|
|
43
|
+
it('renders the PlusIcon with prop color=error and size= xl', function () {
|
|
44
44
|
expect(mount(_ref7)).toMatchSnapshot();
|
|
45
45
|
});
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`renders the PrintIcon with no props 1`] = `
|
|
4
|
+
<PrintIcon>
|
|
5
|
+
<ForwardRef(Icon)
|
|
6
|
+
icon="print"
|
|
7
|
+
>
|
|
8
|
+
<ForwardRef(SvgIcon)
|
|
9
|
+
className="ds-svg-icon--print"
|
|
10
|
+
>
|
|
11
|
+
<ForwardRef(Base)
|
|
12
|
+
aria-hidden="true"
|
|
13
|
+
as="svg"
|
|
14
|
+
className="ds-svg-icon--print ds-svg-icon"
|
|
15
|
+
focusable="false"
|
|
16
|
+
viewBox="0 0 24 24"
|
|
17
|
+
>
|
|
18
|
+
<svg
|
|
19
|
+
aria-hidden="true"
|
|
20
|
+
className="ds-svg-icon--print ds-svg-icon"
|
|
21
|
+
focusable="false"
|
|
22
|
+
viewBox="0 0 24 24"
|
|
23
|
+
>
|
|
24
|
+
<print>
|
|
25
|
+
<rect
|
|
26
|
+
height="4"
|
|
27
|
+
width="10"
|
|
28
|
+
x="7"
|
|
29
|
+
y="2"
|
|
30
|
+
/>
|
|
31
|
+
<path
|
|
32
|
+
d="M18.7,7.935H5.3c-1.823,0-3.3,1.477-3.3,3.3v6.7h2.4v4.065h15.2v-4.065h2.4v-6.7c0-1.823-1.477-3.3-3.3-3.3ZM17,19.4H7v-5h10v5ZM18.7,12.535c-.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"
|
|
33
|
+
/>
|
|
34
|
+
</print>
|
|
35
|
+
</svg>
|
|
36
|
+
</ForwardRef(Base)>
|
|
37
|
+
</ForwardRef(SvgIcon)>
|
|
38
|
+
</ForwardRef(Icon)>
|
|
39
|
+
</PrintIcon>
|
|
40
|
+
`;
|
|
41
|
+
|
|
42
|
+
exports[`renders the PrintIcon with prop color=error and size=sm 1`] = `
|
|
43
|
+
<PrintIcon
|
|
44
|
+
color="error"
|
|
45
|
+
size="sm"
|
|
46
|
+
>
|
|
47
|
+
<ForwardRef(Icon)
|
|
48
|
+
color="error"
|
|
49
|
+
icon="print"
|
|
50
|
+
size="sm"
|
|
51
|
+
>
|
|
52
|
+
<ForwardRef(SvgIcon)
|
|
53
|
+
className="ds-svg-icon--print"
|
|
54
|
+
color="error"
|
|
55
|
+
size="sm"
|
|
56
|
+
>
|
|
57
|
+
<ForwardRef(Base)
|
|
58
|
+
aria-hidden="true"
|
|
59
|
+
as="svg"
|
|
60
|
+
className="ds-svg-icon--print ds-svg-icon--error ds-svg-icon--sm ds-svg-icon"
|
|
61
|
+
focusable="false"
|
|
62
|
+
viewBox="0 0 24 24"
|
|
63
|
+
>
|
|
64
|
+
<svg
|
|
65
|
+
aria-hidden="true"
|
|
66
|
+
className="ds-svg-icon--print ds-svg-icon--error ds-svg-icon--sm ds-svg-icon"
|
|
67
|
+
focusable="false"
|
|
68
|
+
viewBox="0 0 24 24"
|
|
69
|
+
>
|
|
70
|
+
<print>
|
|
71
|
+
<rect
|
|
72
|
+
height="4"
|
|
73
|
+
width="10"
|
|
74
|
+
x="7"
|
|
75
|
+
y="2"
|
|
76
|
+
/>
|
|
77
|
+
<path
|
|
78
|
+
d="M18.7,7.935H5.3c-1.823,0-3.3,1.477-3.3,3.3v6.7h2.4v4.065h15.2v-4.065h2.4v-6.7c0-1.823-1.477-3.3-3.3-3.3ZM17,19.4H7v-5h10v5ZM18.7,12.535c-.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"
|
|
79
|
+
/>
|
|
80
|
+
</print>
|
|
81
|
+
</svg>
|
|
82
|
+
</ForwardRef(Base)>
|
|
83
|
+
</ForwardRef(SvgIcon)>
|
|
84
|
+
</ForwardRef(Icon)>
|
|
85
|
+
</PrintIcon>
|
|
86
|
+
`;
|
|
87
|
+
|
|
88
|
+
exports[`renders the PrintIcon with prop color=info and size= xl 1`] = `
|
|
89
|
+
<PrintIcon
|
|
90
|
+
color="info"
|
|
91
|
+
size="xl"
|
|
92
|
+
>
|
|
93
|
+
<ForwardRef(Icon)
|
|
94
|
+
color="info"
|
|
95
|
+
icon="print"
|
|
96
|
+
size="xl"
|
|
97
|
+
>
|
|
98
|
+
<ForwardRef(SvgIcon)
|
|
99
|
+
className="ds-svg-icon--print"
|
|
100
|
+
color="info"
|
|
101
|
+
size="xl"
|
|
102
|
+
>
|
|
103
|
+
<ForwardRef(Base)
|
|
104
|
+
aria-hidden="true"
|
|
105
|
+
as="svg"
|
|
106
|
+
className="ds-svg-icon--print ds-svg-icon--info ds-svg-icon--xl ds-svg-icon"
|
|
107
|
+
focusable="false"
|
|
108
|
+
viewBox="0 0 24 24"
|
|
109
|
+
>
|
|
110
|
+
<svg
|
|
111
|
+
aria-hidden="true"
|
|
112
|
+
className="ds-svg-icon--print ds-svg-icon--info ds-svg-icon--xl ds-svg-icon"
|
|
113
|
+
focusable="false"
|
|
114
|
+
viewBox="0 0 24 24"
|
|
115
|
+
>
|
|
116
|
+
<print>
|
|
117
|
+
<rect
|
|
118
|
+
height="4"
|
|
119
|
+
width="10"
|
|
120
|
+
x="7"
|
|
121
|
+
y="2"
|
|
122
|
+
/>
|
|
123
|
+
<path
|
|
124
|
+
d="M18.7,7.935H5.3c-1.823,0-3.3,1.477-3.3,3.3v6.7h2.4v4.065h15.2v-4.065h2.4v-6.7c0-1.823-1.477-3.3-3.3-3.3ZM17,19.4H7v-5h10v5ZM18.7,12.535c-.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"
|
|
125
|
+
/>
|
|
126
|
+
</print>
|
|
127
|
+
</svg>
|
|
128
|
+
</ForwardRef(Base)>
|
|
129
|
+
</ForwardRef(SvgIcon)>
|
|
130
|
+
</ForwardRef(Icon)>
|
|
131
|
+
</PrintIcon>
|
|
132
|
+
`;
|
|
133
|
+
|
|
134
|
+
exports[`renders the PrintIcon with prop color=light 1`] = `
|
|
135
|
+
<PrintIcon
|
|
136
|
+
color="light"
|
|
137
|
+
>
|
|
138
|
+
<ForwardRef(Icon)
|
|
139
|
+
color="light"
|
|
140
|
+
icon="print"
|
|
141
|
+
>
|
|
142
|
+
<ForwardRef(SvgIcon)
|
|
143
|
+
className="ds-svg-icon--print"
|
|
144
|
+
color="light"
|
|
145
|
+
>
|
|
146
|
+
<ForwardRef(Base)
|
|
147
|
+
aria-hidden="true"
|
|
148
|
+
as="svg"
|
|
149
|
+
className="ds-svg-icon--print ds-svg-icon--light ds-svg-icon"
|
|
150
|
+
focusable="false"
|
|
151
|
+
viewBox="0 0 24 24"
|
|
152
|
+
>
|
|
153
|
+
<svg
|
|
154
|
+
aria-hidden="true"
|
|
155
|
+
className="ds-svg-icon--print ds-svg-icon--light ds-svg-icon"
|
|
156
|
+
focusable="false"
|
|
157
|
+
viewBox="0 0 24 24"
|
|
158
|
+
>
|
|
159
|
+
<print>
|
|
160
|
+
<rect
|
|
161
|
+
height="4"
|
|
162
|
+
width="10"
|
|
163
|
+
x="7"
|
|
164
|
+
y="2"
|
|
165
|
+
/>
|
|
166
|
+
<path
|
|
167
|
+
d="M18.7,7.935H5.3c-1.823,0-3.3,1.477-3.3,3.3v6.7h2.4v4.065h15.2v-4.065h2.4v-6.7c0-1.823-1.477-3.3-3.3-3.3ZM17,19.4H7v-5h10v5ZM18.7,12.535c-.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"
|
|
168
|
+
/>
|
|
169
|
+
</print>
|
|
170
|
+
</svg>
|
|
171
|
+
</ForwardRef(Base)>
|
|
172
|
+
</ForwardRef(SvgIcon)>
|
|
173
|
+
</ForwardRef(Icon)>
|
|
174
|
+
</PrintIcon>
|
|
175
|
+
`;
|
|
176
|
+
|
|
177
|
+
exports[`renders the PrintIcon with prop color=warning 1`] = `
|
|
178
|
+
<PrintIcon
|
|
179
|
+
color="warning"
|
|
180
|
+
>
|
|
181
|
+
<ForwardRef(Icon)
|
|
182
|
+
color="warning"
|
|
183
|
+
icon="print"
|
|
184
|
+
>
|
|
185
|
+
<ForwardRef(SvgIcon)
|
|
186
|
+
className="ds-svg-icon--print"
|
|
187
|
+
color="warning"
|
|
188
|
+
>
|
|
189
|
+
<ForwardRef(Base)
|
|
190
|
+
aria-hidden="true"
|
|
191
|
+
as="svg"
|
|
192
|
+
className="ds-svg-icon--print ds-svg-icon--warning ds-svg-icon"
|
|
193
|
+
focusable="false"
|
|
194
|
+
viewBox="0 0 24 24"
|
|
195
|
+
>
|
|
196
|
+
<svg
|
|
197
|
+
aria-hidden="true"
|
|
198
|
+
className="ds-svg-icon--print ds-svg-icon--warning ds-svg-icon"
|
|
199
|
+
focusable="false"
|
|
200
|
+
viewBox="0 0 24 24"
|
|
201
|
+
>
|
|
202
|
+
<print>
|
|
203
|
+
<rect
|
|
204
|
+
height="4"
|
|
205
|
+
width="10"
|
|
206
|
+
x="7"
|
|
207
|
+
y="2"
|
|
208
|
+
/>
|
|
209
|
+
<path
|
|
210
|
+
d="M18.7,7.935H5.3c-1.823,0-3.3,1.477-3.3,3.3v6.7h2.4v4.065h15.2v-4.065h2.4v-6.7c0-1.823-1.477-3.3-3.3-3.3ZM17,19.4H7v-5h10v5ZM18.7,12.535c-.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"
|
|
211
|
+
/>
|
|
212
|
+
</print>
|
|
213
|
+
</svg>
|
|
214
|
+
</ForwardRef(Base)>
|
|
215
|
+
</ForwardRef(SvgIcon)>
|
|
216
|
+
</ForwardRef(Icon)>
|
|
217
|
+
</PrintIcon>
|
|
218
|
+
`;
|
|
219
|
+
|
|
220
|
+
exports[`renders the PrintIcon with prop size=md 1`] = `
|
|
221
|
+
<PrintIcon
|
|
222
|
+
size="md"
|
|
223
|
+
>
|
|
224
|
+
<ForwardRef(Icon)
|
|
225
|
+
icon="print"
|
|
226
|
+
size="md"
|
|
227
|
+
>
|
|
228
|
+
<ForwardRef(SvgIcon)
|
|
229
|
+
className="ds-svg-icon--print"
|
|
230
|
+
size="md"
|
|
231
|
+
>
|
|
232
|
+
<ForwardRef(Base)
|
|
233
|
+
aria-hidden="true"
|
|
234
|
+
as="svg"
|
|
235
|
+
className="ds-svg-icon--print ds-svg-icon--md ds-svg-icon"
|
|
236
|
+
focusable="false"
|
|
237
|
+
viewBox="0 0 24 24"
|
|
238
|
+
>
|
|
239
|
+
<svg
|
|
240
|
+
aria-hidden="true"
|
|
241
|
+
className="ds-svg-icon--print ds-svg-icon--md ds-svg-icon"
|
|
242
|
+
focusable="false"
|
|
243
|
+
viewBox="0 0 24 24"
|
|
244
|
+
>
|
|
245
|
+
<print>
|
|
246
|
+
<rect
|
|
247
|
+
height="4"
|
|
248
|
+
width="10"
|
|
249
|
+
x="7"
|
|
250
|
+
y="2"
|
|
251
|
+
/>
|
|
252
|
+
<path
|
|
253
|
+
d="M18.7,7.935H5.3c-1.823,0-3.3,1.477-3.3,3.3v6.7h2.4v4.065h15.2v-4.065h2.4v-6.7c0-1.823-1.477-3.3-3.3-3.3ZM17,19.4H7v-5h10v5ZM18.7,12.535c-.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"
|
|
254
|
+
/>
|
|
255
|
+
</print>
|
|
256
|
+
</svg>
|
|
257
|
+
</ForwardRef(Base)>
|
|
258
|
+
</ForwardRef(SvgIcon)>
|
|
259
|
+
</ForwardRef(Icon)>
|
|
260
|
+
</PrintIcon>
|
|
261
|
+
`;
|
|
262
|
+
|
|
263
|
+
exports[`renders the PrintIcon with prop size=xl 1`] = `
|
|
264
|
+
<PrintIcon
|
|
265
|
+
size="xl"
|
|
266
|
+
>
|
|
267
|
+
<ForwardRef(Icon)
|
|
268
|
+
icon="print"
|
|
269
|
+
size="xl"
|
|
270
|
+
>
|
|
271
|
+
<ForwardRef(SvgIcon)
|
|
272
|
+
className="ds-svg-icon--print"
|
|
273
|
+
size="xl"
|
|
274
|
+
>
|
|
275
|
+
<ForwardRef(Base)
|
|
276
|
+
aria-hidden="true"
|
|
277
|
+
as="svg"
|
|
278
|
+
className="ds-svg-icon--print ds-svg-icon--xl ds-svg-icon"
|
|
279
|
+
focusable="false"
|
|
280
|
+
viewBox="0 0 24 24"
|
|
281
|
+
>
|
|
282
|
+
<svg
|
|
283
|
+
aria-hidden="true"
|
|
284
|
+
className="ds-svg-icon--print ds-svg-icon--xl ds-svg-icon"
|
|
285
|
+
focusable="false"
|
|
286
|
+
viewBox="0 0 24 24"
|
|
287
|
+
>
|
|
288
|
+
<print>
|
|
289
|
+
<rect
|
|
290
|
+
height="4"
|
|
291
|
+
width="10"
|
|
292
|
+
x="7"
|
|
293
|
+
y="2"
|
|
294
|
+
/>
|
|
295
|
+
<path
|
|
296
|
+
d="M18.7,7.935H5.3c-1.823,0-3.3,1.477-3.3,3.3v6.7h2.4v4.065h15.2v-4.065h2.4v-6.7c0-1.823-1.477-3.3-3.3-3.3ZM17,19.4H7v-5h10v5ZM18.7,12.535c-.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"
|
|
297
|
+
/>
|
|
298
|
+
</print>
|
|
299
|
+
</svg>
|
|
300
|
+
</ForwardRef(Base)>
|
|
301
|
+
</ForwardRef(SvgIcon)>
|
|
302
|
+
</ForwardRef(Icon)>
|
|
303
|
+
</PrintIcon>
|
|
304
|
+
`;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
var _ref = /*#__PURE__*/React.createElement("rect", {
|
|
3
|
+
x: "7",
|
|
4
|
+
y: "2",
|
|
5
|
+
width: "10",
|
|
6
|
+
height: "4"
|
|
7
|
+
});
|
|
8
|
+
var _ref2 = /*#__PURE__*/React.createElement("path", {
|
|
9
|
+
d: "M18.7,7.935H5.3c-1.823,0-3.3,1.477-3.3,3.3v6.7h2.4v4.065h15.2v-4.065h2.4v-6.7c0-1.823-1.477-3.3-3.3-3.3ZM17,19.4H7v-5h10v5ZM18.7,12.535c-.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"
|
|
10
|
+
});
|
|
11
|
+
export function print() {
|
|
12
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, _ref, _ref2);
|
|
13
|
+
}
|
|
14
|
+
print.props = [];
|
|
15
|
+
export default print;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@digigov/react-icons/Icon';
|
|
4
|
+
export var PrintIcon = function PrintIcon(props) {
|
|
5
|
+
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
6
|
+
icon: "print"
|
|
7
|
+
}));
|
|
8
|
+
};
|
|
9
|
+
export default PrintIcon;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { mount } from 'enzyme';
|
|
3
|
+
import PrintIcon from '@digigov/react-icons/PrintIcon';
|
|
4
|
+
var _ref = /*#__PURE__*/React.createElement(PrintIcon, null);
|
|
5
|
+
it('renders the PrintIcon with no props', function () {
|
|
6
|
+
expect(mount(_ref)).toMatchSnapshot();
|
|
7
|
+
});
|
|
8
|
+
var _ref2 = /*#__PURE__*/React.createElement(PrintIcon, {
|
|
9
|
+
size: "md"
|
|
10
|
+
});
|
|
11
|
+
it('renders the PrintIcon with prop size=md', function () {
|
|
12
|
+
expect(mount(_ref2)).toMatchSnapshot();
|
|
13
|
+
});
|
|
14
|
+
var _ref3 = /*#__PURE__*/React.createElement(PrintIcon, {
|
|
15
|
+
size: "xl"
|
|
16
|
+
});
|
|
17
|
+
it('renders the PrintIcon with prop size=xl', function () {
|
|
18
|
+
expect(mount(_ref3)).toMatchSnapshot();
|
|
19
|
+
});
|
|
20
|
+
var _ref4 = /*#__PURE__*/React.createElement(PrintIcon, {
|
|
21
|
+
color: "light"
|
|
22
|
+
});
|
|
23
|
+
it('renders the PrintIcon with prop color=light', function () {
|
|
24
|
+
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
|
+
});
|
|
26
|
+
var _ref5 = /*#__PURE__*/React.createElement(PrintIcon, {
|
|
27
|
+
color: "warning"
|
|
28
|
+
});
|
|
29
|
+
it('renders the PrintIcon with prop color=warning', function () {
|
|
30
|
+
expect(mount(_ref5)).toMatchSnapshot();
|
|
31
|
+
});
|
|
32
|
+
var _ref6 = /*#__PURE__*/React.createElement(PrintIcon, {
|
|
33
|
+
color: "error",
|
|
34
|
+
size: "sm"
|
|
35
|
+
});
|
|
36
|
+
it('renders the PrintIcon with prop color=error and size=sm', function () {
|
|
37
|
+
expect(mount(_ref6)).toMatchSnapshot();
|
|
38
|
+
});
|
|
39
|
+
var _ref7 = /*#__PURE__*/React.createElement(PrintIcon, {
|
|
40
|
+
color: "info",
|
|
41
|
+
size: "xl"
|
|
42
|
+
});
|
|
43
|
+
it('renders the PrintIcon with prop color=info and size= xl', function () {
|
|
44
|
+
expect(mount(_ref7)).toMatchSnapshot();
|
|
45
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|