@digigov/react-icons 1.0.0-6b93ebf2 → 1.0.0-871b6be5
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 +0 -315
- package/AccessibilityIcon/index.test.js +13 -69
- package/ArrowIcon/__snapshots__/index.test.tsx.snap +1 -1
- package/CheckIcon/__snapshots__/index.test.tsx.snap +0 -259
- package/CheckIcon/index.test.js +13 -69
- package/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -294
- package/MoreVertIcon/index.test.js +13 -61
- package/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -222
- package/UncheckIcon/index.test.js +15 -63
- package/es/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -315
- package/es/AccessibilityIcon/index.test.js +13 -69
- package/es/ArrowIcon/__snapshots__/index.test.tsx.snap +1 -1
- package/es/CheckIcon/__snapshots__/index.test.tsx.snap +0 -259
- package/es/CheckIcon/index.test.js +13 -69
- package/es/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -294
- package/es/MoreVertIcon/index.test.js +13 -61
- package/es/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -222
- package/es/UncheckIcon/index.test.js +15 -63
- package/esm/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -315
- package/esm/AccessibilityIcon/index.test.js +13 -69
- package/esm/ArrowIcon/__snapshots__/index.test.tsx.snap +1 -1
- package/esm/CheckIcon/__snapshots__/index.test.tsx.snap +0 -259
- package/esm/CheckIcon/index.test.js +13 -69
- package/esm/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -294
- package/esm/MoreVertIcon/index.test.js +13 -61
- package/esm/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -222
- package/esm/UncheckIcon/index.test.js +15 -63
- package/package.json +3 -3
- package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -315
- package/src/AccessibilityIcon/index.test.tsx +0 -21
- package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +1 -1
- package/src/CheckIcon/__snapshots__/index.test.tsx.snap +0 -259
- package/src/CheckIcon/index.test.tsx +0 -21
- package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -294
- package/src/MoreVertIcon/index.test.tsx +0 -18
- package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -222
- package/src/UncheckIcon/index.test.tsx +0 -18
|
@@ -9,115 +9,67 @@ it('renders the UncheckIcon with no props', function () {
|
|
|
9
9
|
});
|
|
10
10
|
|
|
11
11
|
var _ref2 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
12
|
-
size: "sm"
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
it('renders the UncheckIcon with prop size=s', function () {
|
|
16
|
-
expect(mount(_ref2)).toMatchSnapshot();
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
var _ref3 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
20
12
|
size: "md"
|
|
21
13
|
});
|
|
22
14
|
|
|
23
15
|
it('renders the UncheckIcon with prop size=m', function () {
|
|
24
|
-
expect(mount(
|
|
16
|
+
expect(mount(_ref2)).toMatchSnapshot();
|
|
25
17
|
});
|
|
26
18
|
|
|
27
|
-
var
|
|
19
|
+
var _ref3 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
28
20
|
size: "lg"
|
|
29
21
|
});
|
|
30
22
|
|
|
31
23
|
it('renders the UncheckIcon with prop size=l', function () {
|
|
32
|
-
expect(mount(
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
var _ref5 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
36
|
-
size: "xl"
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
it('renders the UncheckIcon with prop size=xl', function () {
|
|
40
|
-
expect(mount(_ref5)).toMatchSnapshot();
|
|
24
|
+
expect(mount(_ref3)).toMatchSnapshot();
|
|
41
25
|
});
|
|
42
26
|
|
|
43
|
-
var
|
|
27
|
+
var _ref4 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
44
28
|
variant: "dark"
|
|
45
29
|
});
|
|
46
30
|
|
|
47
31
|
it('renders the UncheckIcon with prop variant=dark', function () {
|
|
48
|
-
expect(mount(
|
|
32
|
+
expect(mount(_ref4)).toMatchSnapshot();
|
|
49
33
|
});
|
|
50
34
|
|
|
51
|
-
var
|
|
35
|
+
var _ref5 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
52
36
|
variant: "light"
|
|
53
37
|
});
|
|
54
38
|
|
|
55
39
|
it('renders the UncheckIcon with prop variant=light', function () {
|
|
56
|
-
expect(mount(
|
|
40
|
+
expect(mount(_ref5)).toMatchSnapshot();
|
|
57
41
|
});
|
|
58
42
|
|
|
59
|
-
var
|
|
43
|
+
var _ref6 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
60
44
|
variant: "gray"
|
|
61
45
|
});
|
|
62
46
|
|
|
63
47
|
it('renders the UncheckIcon with prop variant=gray', function () {
|
|
64
|
-
expect(mount(
|
|
48
|
+
expect(mount(_ref6)).toMatchSnapshot();
|
|
65
49
|
});
|
|
66
50
|
|
|
67
|
-
var
|
|
51
|
+
var _ref7 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
68
52
|
variant: "primary"
|
|
69
53
|
});
|
|
70
54
|
|
|
71
55
|
it('renders the UncheckIcon with prop variant=primary', function () {
|
|
72
|
-
expect(mount(
|
|
73
|
-
});
|
|
74
|
-
|
|
75
|
-
var _ref10 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
76
|
-
variant: "success"
|
|
77
|
-
});
|
|
78
|
-
|
|
79
|
-
it('renders the UncheckIcon with prop variant=success', function () {
|
|
80
|
-
expect(mount(_ref10)).toMatchSnapshot();
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
var _ref11 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
84
|
-
variant: "warning"
|
|
85
|
-
});
|
|
86
|
-
|
|
87
|
-
it('renders the UncheckIcon with prop variant=warning', function () {
|
|
88
|
-
expect(mount(_ref11)).toMatchSnapshot();
|
|
89
|
-
});
|
|
90
|
-
|
|
91
|
-
var _ref12 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
92
|
-
variant: "error"
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
it('renders the UncheckIcon with prop variant=error', function () {
|
|
96
|
-
expect(mount(_ref12)).toMatchSnapshot();
|
|
97
|
-
});
|
|
98
|
-
|
|
99
|
-
var _ref13 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
100
|
-
variant: "focus"
|
|
101
|
-
});
|
|
102
|
-
|
|
103
|
-
it('renders the UncheckIcon with prop variant=focus', function () {
|
|
104
|
-
expect(mount(_ref13)).toMatchSnapshot();
|
|
56
|
+
expect(mount(_ref7)).toMatchSnapshot();
|
|
105
57
|
});
|
|
106
58
|
|
|
107
|
-
var
|
|
59
|
+
var _ref8 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
108
60
|
variant: "warning",
|
|
109
61
|
size: "sm"
|
|
110
62
|
});
|
|
111
63
|
|
|
112
64
|
it('renders the UncheckIcon with prop variant=warning and size=s', function () {
|
|
113
|
-
expect(mount(
|
|
65
|
+
expect(mount(_ref8)).toMatchSnapshot();
|
|
114
66
|
});
|
|
115
67
|
|
|
116
|
-
var
|
|
68
|
+
var _ref9 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
117
69
|
variant: "warning",
|
|
118
70
|
size: "xl"
|
|
119
71
|
});
|
|
120
72
|
|
|
121
73
|
it('renders the UncheckIcon with prop variant=error and size= xl', function () {
|
|
122
|
-
expect(mount(
|
|
74
|
+
expect(mount(_ref9)).toMatchSnapshot();
|
|
123
75
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/react-icons",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-871b6be5",
|
|
4
4
|
"description": "@digigov react icons",
|
|
5
5
|
"author": "GRNET Developers <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"directory": "dist"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"@digigov/css": "1.0.0-
|
|
15
|
-
"@digigov/react-core": "1.0.0-
|
|
14
|
+
"@digigov/css": "1.0.0-871b6be5",
|
|
15
|
+
"@digigov/react-core": "1.0.0-871b6be5",
|
|
16
16
|
"clsx": "1.1.1",
|
|
17
17
|
"react": "^16.8.0 || ^17.0.0",
|
|
18
18
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
@@ -86,51 +86,6 @@ exports[`renders the AccessibilityIcon with prop size=l 1`] = `
|
|
|
86
86
|
</AccessibilityIcon>
|
|
87
87
|
`;
|
|
88
88
|
|
|
89
|
-
exports[`renders the AccessibilityIcon with prop size=m 1`] = `
|
|
90
|
-
<AccessibilityIcon
|
|
91
|
-
size="md"
|
|
92
|
-
>
|
|
93
|
-
<ForwardRef(Icon)
|
|
94
|
-
icon="accessibility"
|
|
95
|
-
size="md"
|
|
96
|
-
>
|
|
97
|
-
<ForwardRef(SvgIcon)
|
|
98
|
-
className="govgr-svg-icon--accessibility"
|
|
99
|
-
size="md"
|
|
100
|
-
>
|
|
101
|
-
<ForwardRef(Base)
|
|
102
|
-
aria-hidden="true"
|
|
103
|
-
as="svg"
|
|
104
|
-
className="govgr-svg-icon--accessibility govgr-svg-icon--md govgr-svg-icon"
|
|
105
|
-
focusable="false"
|
|
106
|
-
viewBox="0 0 24 24"
|
|
107
|
-
>
|
|
108
|
-
<svg
|
|
109
|
-
aria-hidden="true"
|
|
110
|
-
className="govgr-svg-icon--accessibility govgr-svg-icon--md govgr-svg-icon"
|
|
111
|
-
focusable="false"
|
|
112
|
-
viewBox="0 0 24 24"
|
|
113
|
-
>
|
|
114
|
-
<accessibility>
|
|
115
|
-
<title>
|
|
116
|
-
Μενού Προσβασιμότητας
|
|
117
|
-
</title>
|
|
118
|
-
<circle
|
|
119
|
-
cx="12"
|
|
120
|
-
cy="3"
|
|
121
|
-
r="3"
|
|
122
|
-
/>
|
|
123
|
-
<path
|
|
124
|
-
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
125
|
-
/>
|
|
126
|
-
</accessibility>
|
|
127
|
-
</svg>
|
|
128
|
-
</ForwardRef(Base)>
|
|
129
|
-
</ForwardRef(SvgIcon)>
|
|
130
|
-
</ForwardRef(Icon)>
|
|
131
|
-
</AccessibilityIcon>
|
|
132
|
-
`;
|
|
133
|
-
|
|
134
89
|
exports[`renders the AccessibilityIcon with prop size=s 1`] = `
|
|
135
90
|
<AccessibilityIcon
|
|
136
91
|
size="sm"
|
|
@@ -176,96 +131,6 @@ exports[`renders the AccessibilityIcon with prop size=s 1`] = `
|
|
|
176
131
|
</AccessibilityIcon>
|
|
177
132
|
`;
|
|
178
133
|
|
|
179
|
-
exports[`renders the AccessibilityIcon with prop size=xl 1`] = `
|
|
180
|
-
<AccessibilityIcon
|
|
181
|
-
size="xl"
|
|
182
|
-
>
|
|
183
|
-
<ForwardRef(Icon)
|
|
184
|
-
icon="accessibility"
|
|
185
|
-
size="xl"
|
|
186
|
-
>
|
|
187
|
-
<ForwardRef(SvgIcon)
|
|
188
|
-
className="govgr-svg-icon--accessibility"
|
|
189
|
-
size="xl"
|
|
190
|
-
>
|
|
191
|
-
<ForwardRef(Base)
|
|
192
|
-
aria-hidden="true"
|
|
193
|
-
as="svg"
|
|
194
|
-
className="govgr-svg-icon--accessibility govgr-svg-icon--xl govgr-svg-icon"
|
|
195
|
-
focusable="false"
|
|
196
|
-
viewBox="0 0 24 24"
|
|
197
|
-
>
|
|
198
|
-
<svg
|
|
199
|
-
aria-hidden="true"
|
|
200
|
-
className="govgr-svg-icon--accessibility govgr-svg-icon--xl govgr-svg-icon"
|
|
201
|
-
focusable="false"
|
|
202
|
-
viewBox="0 0 24 24"
|
|
203
|
-
>
|
|
204
|
-
<accessibility>
|
|
205
|
-
<title>
|
|
206
|
-
Μενού Προσβασιμότητας
|
|
207
|
-
</title>
|
|
208
|
-
<circle
|
|
209
|
-
cx="12"
|
|
210
|
-
cy="3"
|
|
211
|
-
r="3"
|
|
212
|
-
/>
|
|
213
|
-
<path
|
|
214
|
-
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
215
|
-
/>
|
|
216
|
-
</accessibility>
|
|
217
|
-
</svg>
|
|
218
|
-
</ForwardRef(Base)>
|
|
219
|
-
</ForwardRef(SvgIcon)>
|
|
220
|
-
</ForwardRef(Icon)>
|
|
221
|
-
</AccessibilityIcon>
|
|
222
|
-
`;
|
|
223
|
-
|
|
224
|
-
exports[`renders the AccessibilityIcon with prop size=xl 2`] = `
|
|
225
|
-
<AccessibilityIcon
|
|
226
|
-
size="xxl"
|
|
227
|
-
>
|
|
228
|
-
<ForwardRef(Icon)
|
|
229
|
-
icon="accessibility"
|
|
230
|
-
size="xxl"
|
|
231
|
-
>
|
|
232
|
-
<ForwardRef(SvgIcon)
|
|
233
|
-
className="govgr-svg-icon--accessibility"
|
|
234
|
-
size="xxl"
|
|
235
|
-
>
|
|
236
|
-
<ForwardRef(Base)
|
|
237
|
-
aria-hidden="true"
|
|
238
|
-
as="svg"
|
|
239
|
-
className="govgr-svg-icon--accessibility govgr-svg-icon"
|
|
240
|
-
focusable="false"
|
|
241
|
-
viewBox="0 0 24 24"
|
|
242
|
-
>
|
|
243
|
-
<svg
|
|
244
|
-
aria-hidden="true"
|
|
245
|
-
className="govgr-svg-icon--accessibility govgr-svg-icon"
|
|
246
|
-
focusable="false"
|
|
247
|
-
viewBox="0 0 24 24"
|
|
248
|
-
>
|
|
249
|
-
<accessibility>
|
|
250
|
-
<title>
|
|
251
|
-
Μενού Προσβασιμότητας
|
|
252
|
-
</title>
|
|
253
|
-
<circle
|
|
254
|
-
cx="12"
|
|
255
|
-
cy="3"
|
|
256
|
-
r="3"
|
|
257
|
-
/>
|
|
258
|
-
<path
|
|
259
|
-
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
260
|
-
/>
|
|
261
|
-
</accessibility>
|
|
262
|
-
</svg>
|
|
263
|
-
</ForwardRef(Base)>
|
|
264
|
-
</ForwardRef(SvgIcon)>
|
|
265
|
-
</ForwardRef(Icon)>
|
|
266
|
-
</AccessibilityIcon>
|
|
267
|
-
`;
|
|
268
|
-
|
|
269
134
|
exports[`renders the AccessibilityIcon with prop variant=dark 1`] = `
|
|
270
135
|
<AccessibilityIcon
|
|
271
136
|
variant="dark"
|
|
@@ -404,141 +269,6 @@ exports[`renders the AccessibilityIcon with prop variant=error and size= xl 1`]
|
|
|
404
269
|
</AccessibilityIcon>
|
|
405
270
|
`;
|
|
406
271
|
|
|
407
|
-
exports[`renders the AccessibilityIcon with prop variant=focus 1`] = `
|
|
408
|
-
<AccessibilityIcon
|
|
409
|
-
variant="focus"
|
|
410
|
-
>
|
|
411
|
-
<ForwardRef(Icon)
|
|
412
|
-
icon="accessibility"
|
|
413
|
-
variant="focus"
|
|
414
|
-
>
|
|
415
|
-
<ForwardRef(SvgIcon)
|
|
416
|
-
className="govgr-svg-icon--accessibility"
|
|
417
|
-
variant="focus"
|
|
418
|
-
>
|
|
419
|
-
<ForwardRef(Base)
|
|
420
|
-
aria-hidden="true"
|
|
421
|
-
as="svg"
|
|
422
|
-
className="govgr-svg-icon--accessibility govgr-svg-icon--focus govgr-svg-icon"
|
|
423
|
-
focusable="false"
|
|
424
|
-
viewBox="0 0 24 24"
|
|
425
|
-
>
|
|
426
|
-
<svg
|
|
427
|
-
aria-hidden="true"
|
|
428
|
-
className="govgr-svg-icon--accessibility govgr-svg-icon--focus govgr-svg-icon"
|
|
429
|
-
focusable="false"
|
|
430
|
-
viewBox="0 0 24 24"
|
|
431
|
-
>
|
|
432
|
-
<accessibility>
|
|
433
|
-
<title>
|
|
434
|
-
Μενού Προσβασιμότητας
|
|
435
|
-
</title>
|
|
436
|
-
<circle
|
|
437
|
-
cx="12"
|
|
438
|
-
cy="3"
|
|
439
|
-
r="3"
|
|
440
|
-
/>
|
|
441
|
-
<path
|
|
442
|
-
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
443
|
-
/>
|
|
444
|
-
</accessibility>
|
|
445
|
-
</svg>
|
|
446
|
-
</ForwardRef(Base)>
|
|
447
|
-
</ForwardRef(SvgIcon)>
|
|
448
|
-
</ForwardRef(Icon)>
|
|
449
|
-
</AccessibilityIcon>
|
|
450
|
-
`;
|
|
451
|
-
|
|
452
|
-
exports[`renders the AccessibilityIcon with prop variant=gray 1`] = `
|
|
453
|
-
<AccessibilityIcon
|
|
454
|
-
variant="gray"
|
|
455
|
-
>
|
|
456
|
-
<ForwardRef(Icon)
|
|
457
|
-
icon="accessibility"
|
|
458
|
-
variant="gray"
|
|
459
|
-
>
|
|
460
|
-
<ForwardRef(SvgIcon)
|
|
461
|
-
className="govgr-svg-icon--accessibility"
|
|
462
|
-
variant="gray"
|
|
463
|
-
>
|
|
464
|
-
<ForwardRef(Base)
|
|
465
|
-
aria-hidden="true"
|
|
466
|
-
as="svg"
|
|
467
|
-
className="govgr-svg-icon--accessibility govgr-svg-icon--gray govgr-svg-icon"
|
|
468
|
-
focusable="false"
|
|
469
|
-
viewBox="0 0 24 24"
|
|
470
|
-
>
|
|
471
|
-
<svg
|
|
472
|
-
aria-hidden="true"
|
|
473
|
-
className="govgr-svg-icon--accessibility govgr-svg-icon--gray govgr-svg-icon"
|
|
474
|
-
focusable="false"
|
|
475
|
-
viewBox="0 0 24 24"
|
|
476
|
-
>
|
|
477
|
-
<accessibility>
|
|
478
|
-
<title>
|
|
479
|
-
Μενού Προσβασιμότητας
|
|
480
|
-
</title>
|
|
481
|
-
<circle
|
|
482
|
-
cx="12"
|
|
483
|
-
cy="3"
|
|
484
|
-
r="3"
|
|
485
|
-
/>
|
|
486
|
-
<path
|
|
487
|
-
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
488
|
-
/>
|
|
489
|
-
</accessibility>
|
|
490
|
-
</svg>
|
|
491
|
-
</ForwardRef(Base)>
|
|
492
|
-
</ForwardRef(SvgIcon)>
|
|
493
|
-
</ForwardRef(Icon)>
|
|
494
|
-
</AccessibilityIcon>
|
|
495
|
-
`;
|
|
496
|
-
|
|
497
|
-
exports[`renders the AccessibilityIcon with prop variant=light 1`] = `
|
|
498
|
-
<AccessibilityIcon
|
|
499
|
-
variant="light"
|
|
500
|
-
>
|
|
501
|
-
<ForwardRef(Icon)
|
|
502
|
-
icon="accessibility"
|
|
503
|
-
variant="light"
|
|
504
|
-
>
|
|
505
|
-
<ForwardRef(SvgIcon)
|
|
506
|
-
className="govgr-svg-icon--accessibility"
|
|
507
|
-
variant="light"
|
|
508
|
-
>
|
|
509
|
-
<ForwardRef(Base)
|
|
510
|
-
aria-hidden="true"
|
|
511
|
-
as="svg"
|
|
512
|
-
className="govgr-svg-icon--accessibility govgr-svg-icon--light govgr-svg-icon"
|
|
513
|
-
focusable="false"
|
|
514
|
-
viewBox="0 0 24 24"
|
|
515
|
-
>
|
|
516
|
-
<svg
|
|
517
|
-
aria-hidden="true"
|
|
518
|
-
className="govgr-svg-icon--accessibility govgr-svg-icon--light govgr-svg-icon"
|
|
519
|
-
focusable="false"
|
|
520
|
-
viewBox="0 0 24 24"
|
|
521
|
-
>
|
|
522
|
-
<accessibility>
|
|
523
|
-
<title>
|
|
524
|
-
Μενού Προσβασιμότητας
|
|
525
|
-
</title>
|
|
526
|
-
<circle
|
|
527
|
-
cx="12"
|
|
528
|
-
cy="3"
|
|
529
|
-
r="3"
|
|
530
|
-
/>
|
|
531
|
-
<path
|
|
532
|
-
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
533
|
-
/>
|
|
534
|
-
</accessibility>
|
|
535
|
-
</svg>
|
|
536
|
-
</ForwardRef(Base)>
|
|
537
|
-
</ForwardRef(SvgIcon)>
|
|
538
|
-
</ForwardRef(Icon)>
|
|
539
|
-
</AccessibilityIcon>
|
|
540
|
-
`;
|
|
541
|
-
|
|
542
272
|
exports[`renders the AccessibilityIcon with prop variant=primary 1`] = `
|
|
543
273
|
<AccessibilityIcon
|
|
544
274
|
variant="primary"
|
|
@@ -629,51 +359,6 @@ exports[`renders the AccessibilityIcon with prop variant=success 1`] = `
|
|
|
629
359
|
</AccessibilityIcon>
|
|
630
360
|
`;
|
|
631
361
|
|
|
632
|
-
exports[`renders the AccessibilityIcon with prop variant=warning 1`] = `
|
|
633
|
-
<AccessibilityIcon
|
|
634
|
-
variant="warning"
|
|
635
|
-
>
|
|
636
|
-
<ForwardRef(Icon)
|
|
637
|
-
icon="accessibility"
|
|
638
|
-
variant="warning"
|
|
639
|
-
>
|
|
640
|
-
<ForwardRef(SvgIcon)
|
|
641
|
-
className="govgr-svg-icon--accessibility"
|
|
642
|
-
variant="warning"
|
|
643
|
-
>
|
|
644
|
-
<ForwardRef(Base)
|
|
645
|
-
aria-hidden="true"
|
|
646
|
-
as="svg"
|
|
647
|
-
className="govgr-svg-icon--accessibility govgr-svg-icon--warning govgr-svg-icon"
|
|
648
|
-
focusable="false"
|
|
649
|
-
viewBox="0 0 24 24"
|
|
650
|
-
>
|
|
651
|
-
<svg
|
|
652
|
-
aria-hidden="true"
|
|
653
|
-
className="govgr-svg-icon--accessibility govgr-svg-icon--warning govgr-svg-icon"
|
|
654
|
-
focusable="false"
|
|
655
|
-
viewBox="0 0 24 24"
|
|
656
|
-
>
|
|
657
|
-
<accessibility>
|
|
658
|
-
<title>
|
|
659
|
-
Μενού Προσβασιμότητας
|
|
660
|
-
</title>
|
|
661
|
-
<circle
|
|
662
|
-
cx="12"
|
|
663
|
-
cy="3"
|
|
664
|
-
r="3"
|
|
665
|
-
/>
|
|
666
|
-
<path
|
|
667
|
-
d="M19.76,6.13c-4.94,2.01-10.57,2.01-15.51,0c-0.71-0.3-1.55-0.04-1.98,0.66c-1.41,2.6,3.27,3.76,4.94,4.37 c0.4,0.11,0.81,0.2,1.22,0.28c0.56,0.11,0.92,0.67,0.79,1.25c-0.79,3.66-1.96,9.1-1.96,9.1c-0.46,2.27,2.72,3.15,3.39,0.92L12,17.93 l1.36,4.78c0.67,2.22,3.85,1.36,3.39-0.92c0,0-1.16-5.4-1.95-9.06c-0.12-0.57,0.22-1.16,0.77-1.27c2.01-0.41,3.94-1.17,5.68-2.31 C22.89,8.04,21.58,5.38,19.76,6.13z"
|
|
668
|
-
/>
|
|
669
|
-
</accessibility>
|
|
670
|
-
</svg>
|
|
671
|
-
</ForwardRef(Base)>
|
|
672
|
-
</ForwardRef(SvgIcon)>
|
|
673
|
-
</ForwardRef(Icon)>
|
|
674
|
-
</AccessibilityIcon>
|
|
675
|
-
`;
|
|
676
|
-
|
|
677
362
|
exports[`renders the AccessibilityIcon with prop variant=warning and size=s 1`] = `
|
|
678
363
|
<AccessibilityIcon
|
|
679
364
|
size="sm"
|
|
@@ -9,42 +9,21 @@ it('renders the AccessibilityIcon with no props', () => {
|
|
|
9
9
|
it('renders the AccessibilityIcon with prop size=s', () => {
|
|
10
10
|
expect(mount(<AccessibilityIcon size="sm" />)).toMatchSnapshot();
|
|
11
11
|
});
|
|
12
|
-
it('renders the AccessibilityIcon with prop size=m', () => {
|
|
13
|
-
expect(mount(<AccessibilityIcon size="md" />)).toMatchSnapshot();
|
|
14
|
-
});
|
|
15
12
|
it('renders the AccessibilityIcon with prop size=l', () => {
|
|
16
13
|
expect(mount(<AccessibilityIcon size="lg" />)).toMatchSnapshot();
|
|
17
14
|
});
|
|
18
|
-
it('renders the AccessibilityIcon with prop size=xl', () => {
|
|
19
|
-
expect(mount(<AccessibilityIcon size="xl" />)).toMatchSnapshot();
|
|
20
|
-
});
|
|
21
|
-
it('renders the AccessibilityIcon with prop size=xl', () => {
|
|
22
|
-
expect(mount(<AccessibilityIcon size="xxl" />)).toMatchSnapshot();
|
|
23
|
-
});
|
|
24
15
|
it('renders the AccessibilityIcon with prop variant=dark', () => {
|
|
25
16
|
expect(mount(<AccessibilityIcon variant="dark" />)).toMatchSnapshot();
|
|
26
17
|
});
|
|
27
|
-
it('renders the AccessibilityIcon with prop variant=light', () => {
|
|
28
|
-
expect(mount(<AccessibilityIcon variant="light" />)).toMatchSnapshot();
|
|
29
|
-
});
|
|
30
|
-
it('renders the AccessibilityIcon with prop variant=gray', () => {
|
|
31
|
-
expect(mount(<AccessibilityIcon variant="gray" />)).toMatchSnapshot();
|
|
32
|
-
});
|
|
33
18
|
it('renders the AccessibilityIcon with prop variant=primary', () => {
|
|
34
19
|
expect(mount(<AccessibilityIcon variant="primary" />)).toMatchSnapshot();
|
|
35
20
|
});
|
|
36
21
|
it('renders the AccessibilityIcon with prop variant=success', () => {
|
|
37
22
|
expect(mount(<AccessibilityIcon variant="success" />)).toMatchSnapshot();
|
|
38
23
|
});
|
|
39
|
-
it('renders the AccessibilityIcon with prop variant=warning', () => {
|
|
40
|
-
expect(mount(<AccessibilityIcon variant="warning" />)).toMatchSnapshot();
|
|
41
|
-
});
|
|
42
24
|
it('renders the AccessibilityIcon with prop variant=error', () => {
|
|
43
25
|
expect(mount(<AccessibilityIcon variant="error" />)).toMatchSnapshot();
|
|
44
26
|
});
|
|
45
|
-
it('renders the AccessibilityIcon with prop variant=focus', () => {
|
|
46
|
-
expect(mount(<AccessibilityIcon variant="focus" />)).toMatchSnapshot();
|
|
47
|
-
});
|
|
48
27
|
it('renders the AccessibilityIcon with prop variant=warning and size=s', () => {
|
|
49
28
|
expect(
|
|
50
29
|
mount(<AccessibilityIcon variant="warning" size="sm" />)
|
|
@@ -137,7 +137,7 @@ exports[`renders the ArrowIcon with no props, direction prop is right by default
|
|
|
137
137
|
>
|
|
138
138
|
<arrow>
|
|
139
139
|
<path
|
|
140
|
-
d="
|
|
140
|
+
d="M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z"
|
|
141
141
|
/>
|
|
142
142
|
</arrow>
|
|
143
143
|
</svg>
|