@digigov/react-icons 2.0.0-rc.21 → 2.0.0-rc.23
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/index.js +1 -1
- package/package.json +2 -2
- package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +126 -27
- package/src/ArrowIcon/__snapshots__/index.test.tsx.snap +13 -1
- package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +53 -5
- package/src/CancelIcon/__snapshots__/index.test.tsx.snap +28 -7
- package/src/CaretIcon/__snapshots__/index.test.tsx.snap +13 -1
- package/src/ChatIcon/__snapshots__/index.test.tsx.snap +31 -7
- package/src/CheckIcon/__snapshots__/index.test.tsx.snap +32 -8
- package/src/ChevronIcon/__snapshots__/index.test.tsx.snap +13 -1
- package/src/CloseIcon/__snapshots__/index.test.tsx.snap +4 -1
- package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +70 -14
- package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +42 -7
- package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +16 -4
- package/src/Icon/__snapshots__/index.test.tsx.snap +40 -1
- package/src/LockIcon/__snapshots__/index.test.tsx.snap +28 -7
- package/src/LoginIcon/__snapshots__/index.test.tsx.snap +42 -7
- package/src/MinusIcon/__snapshots__/index.test.tsx.snap +28 -7
- package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +72 -9
- package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +126 -21
- package/src/PlusIcon/__snapshots__/index.test.tsx.snap +28 -7
- package/src/PrintIcon/__snapshots__/index.test.tsx.snap +42 -7
- package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +28 -7
- package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +56 -7
- package/src/SearchIcon/__snapshots__/index.test.tsx.snap +4 -1
- package/src/SvgIcon/__snapshots__/index.test.tsx.snap +34 -17
- package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +36 -9
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
2
|
|
|
3
3
|
exports[`renders the CancelIcon with no props 1`] = `
|
|
4
4
|
<body>
|
|
5
5
|
<div>
|
|
6
6
|
<svg
|
|
7
7
|
aria-hidden="true"
|
|
8
|
+
as="svg"
|
|
8
9
|
class="ds-svg-icon--cancel ds-svg-icon"
|
|
9
10
|
focusable="false"
|
|
10
11
|
viewBox="0 0 24 24"
|
|
11
12
|
>
|
|
12
13
|
<path
|
|
14
|
+
as="path"
|
|
15
|
+
class=""
|
|
13
16
|
d="M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10,10-4.477,10-10S17.523,2,12,2ZM17.419,15.581l-1.838,1.838-3.581-3.581-3.581,3.581-1.838-1.838,3.581-3.581-3.581-3.581,1.838-1.839,3.581,3.581,3.581-3.581,1.838,1.839-3.581,3.581,3.581,3.581Z"
|
|
14
17
|
/>
|
|
15
18
|
</svg>
|
|
@@ -22,11 +25,14 @@ exports[`renders the CancelIcon with prop color=error and size= xl 1`] = `
|
|
|
22
25
|
<div>
|
|
23
26
|
<svg
|
|
24
27
|
aria-hidden="true"
|
|
25
|
-
|
|
28
|
+
as="svg"
|
|
29
|
+
class="ds-svg-icon--cancel ds-svg-icon ds-svg-icon--warning ds-svg-icon--xl"
|
|
26
30
|
focusable="false"
|
|
27
31
|
viewBox="0 0 24 24"
|
|
28
32
|
>
|
|
29
33
|
<path
|
|
34
|
+
as="path"
|
|
35
|
+
class=""
|
|
30
36
|
d="M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10,10-4.477,10-10S17.523,2,12,2ZM17.419,15.581l-1.838,1.838-3.581-3.581-3.581,3.581-1.838-1.838,3.581-3.581-3.581-3.581,1.838-1.839,3.581,3.581,3.581-3.581,1.838,1.839-3.581,3.581,3.581,3.581Z"
|
|
31
37
|
/>
|
|
32
38
|
</svg>
|
|
@@ -39,11 +45,14 @@ exports[`renders the CancelIcon with prop color=warning 1`] = `
|
|
|
39
45
|
<div>
|
|
40
46
|
<svg
|
|
41
47
|
aria-hidden="true"
|
|
42
|
-
|
|
48
|
+
as="svg"
|
|
49
|
+
class="ds-svg-icon--cancel ds-svg-icon ds-svg-icon--warning"
|
|
43
50
|
focusable="false"
|
|
44
51
|
viewBox="0 0 24 24"
|
|
45
52
|
>
|
|
46
53
|
<path
|
|
54
|
+
as="path"
|
|
55
|
+
class=""
|
|
47
56
|
d="M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10,10-4.477,10-10S17.523,2,12,2ZM17.419,15.581l-1.838,1.838-3.581-3.581-3.581,3.581-1.838-1.838,3.581-3.581-3.581-3.581,1.838-1.839,3.581,3.581,3.581-3.581,1.838,1.839-3.581,3.581,3.581,3.581Z"
|
|
48
57
|
/>
|
|
49
58
|
</svg>
|
|
@@ -56,11 +65,14 @@ exports[`renders the CancelIcon with prop color=warning and size=s 1`] = `
|
|
|
56
65
|
<div>
|
|
57
66
|
<svg
|
|
58
67
|
aria-hidden="true"
|
|
59
|
-
|
|
68
|
+
as="svg"
|
|
69
|
+
class="ds-svg-icon--cancel ds-svg-icon ds-svg-icon--warning ds-svg-icon--sm"
|
|
60
70
|
focusable="false"
|
|
61
71
|
viewBox="0 0 24 24"
|
|
62
72
|
>
|
|
63
73
|
<path
|
|
74
|
+
as="path"
|
|
75
|
+
class=""
|
|
64
76
|
d="M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10,10-4.477,10-10S17.523,2,12,2ZM17.419,15.581l-1.838,1.838-3.581-3.581-3.581,3.581-1.838-1.838,3.581-3.581-3.581-3.581,1.838-1.839,3.581,3.581,3.581-3.581,1.838,1.839-3.581,3.581,3.581,3.581Z"
|
|
65
77
|
/>
|
|
66
78
|
</svg>
|
|
@@ -73,11 +85,14 @@ exports[`renders the CancelIcon with prop color=white 1`] = `
|
|
|
73
85
|
<div>
|
|
74
86
|
<svg
|
|
75
87
|
aria-hidden="true"
|
|
76
|
-
|
|
88
|
+
as="svg"
|
|
89
|
+
class="ds-svg-icon--cancel ds-svg-icon ds-svg-icon--white"
|
|
77
90
|
focusable="false"
|
|
78
91
|
viewBox="0 0 24 24"
|
|
79
92
|
>
|
|
80
93
|
<path
|
|
94
|
+
as="path"
|
|
95
|
+
class=""
|
|
81
96
|
d="M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10,10-4.477,10-10S17.523,2,12,2ZM17.419,15.581l-1.838,1.838-3.581-3.581-3.581,3.581-1.838-1.838,3.581-3.581-3.581-3.581,1.838-1.839,3.581,3.581,3.581-3.581,1.838,1.839-3.581,3.581,3.581,3.581Z"
|
|
82
97
|
/>
|
|
83
98
|
</svg>
|
|
@@ -90,11 +105,14 @@ exports[`renders the CancelIcon with prop size=m 1`] = `
|
|
|
90
105
|
<div>
|
|
91
106
|
<svg
|
|
92
107
|
aria-hidden="true"
|
|
93
|
-
|
|
108
|
+
as="svg"
|
|
109
|
+
class="ds-svg-icon--cancel ds-svg-icon ds-svg-icon--md"
|
|
94
110
|
focusable="false"
|
|
95
111
|
viewBox="0 0 24 24"
|
|
96
112
|
>
|
|
97
113
|
<path
|
|
114
|
+
as="path"
|
|
115
|
+
class=""
|
|
98
116
|
d="M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10,10-4.477,10-10S17.523,2,12,2ZM17.419,15.581l-1.838,1.838-3.581-3.581-3.581,3.581-1.838-1.838,3.581-3.581-3.581-3.581,1.838-1.839,3.581,3.581,3.581-3.581,1.838,1.839-3.581,3.581,3.581,3.581Z"
|
|
99
117
|
/>
|
|
100
118
|
</svg>
|
|
@@ -107,11 +125,14 @@ exports[`renders the CancelIcon with prop size=xl 1`] = `
|
|
|
107
125
|
<div>
|
|
108
126
|
<svg
|
|
109
127
|
aria-hidden="true"
|
|
110
|
-
|
|
128
|
+
as="svg"
|
|
129
|
+
class="ds-svg-icon--cancel ds-svg-icon ds-svg-icon--xl"
|
|
111
130
|
focusable="false"
|
|
112
131
|
viewBox="0 0 24 24"
|
|
113
132
|
>
|
|
114
133
|
<path
|
|
134
|
+
as="path"
|
|
135
|
+
class=""
|
|
115
136
|
d="M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10,10-4.477,10-10S17.523,2,12,2ZM17.419,15.581l-1.838,1.838-3.581-3.581-3.581,3.581-1.838-1.838,3.581-3.581-3.581-3.581,1.838-1.839,3.581,3.581,3.581-3.581,1.838,1.839-3.581,3.581,3.581,3.581Z"
|
|
116
137
|
/>
|
|
117
138
|
</svg>
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
2
|
|
|
3
3
|
exports[`renders the CaretIcon with direction down prop 1`] = `
|
|
4
4
|
<body>
|
|
5
5
|
<div>
|
|
6
6
|
<svg
|
|
7
7
|
aria-hidden="true"
|
|
8
|
+
as="svg"
|
|
8
9
|
class="ds-svg-icon--caret ds-svg-icon"
|
|
9
10
|
focusable="false"
|
|
10
11
|
viewBox="0 0 24 24"
|
|
11
12
|
>
|
|
12
13
|
<path
|
|
14
|
+
as="path"
|
|
15
|
+
class=""
|
|
13
16
|
d="M22,6H2l10,12L22,6z"
|
|
14
17
|
/>
|
|
15
18
|
</svg>
|
|
@@ -22,11 +25,14 @@ exports[`renders the CaretIcon with direction right prop 1`] = `
|
|
|
22
25
|
<div>
|
|
23
26
|
<svg
|
|
24
27
|
aria-hidden="true"
|
|
28
|
+
as="svg"
|
|
25
29
|
class="ds-svg-icon--caret ds-svg-icon"
|
|
26
30
|
focusable="false"
|
|
27
31
|
viewBox="0 0 24 24"
|
|
28
32
|
>
|
|
29
33
|
<path
|
|
34
|
+
as="path"
|
|
35
|
+
class=""
|
|
30
36
|
d="M6,2v20l12-10L6,2z"
|
|
31
37
|
/>
|
|
32
38
|
</svg>
|
|
@@ -39,11 +45,14 @@ exports[`renders the CaretIcon with direction up prop 1`] = `
|
|
|
39
45
|
<div>
|
|
40
46
|
<svg
|
|
41
47
|
aria-hidden="true"
|
|
48
|
+
as="svg"
|
|
42
49
|
class="ds-svg-icon--caret ds-svg-icon"
|
|
43
50
|
focusable="false"
|
|
44
51
|
viewBox="0 0 24 24"
|
|
45
52
|
>
|
|
46
53
|
<path
|
|
54
|
+
as="path"
|
|
55
|
+
class=""
|
|
47
56
|
d="M2,18h20L12,6L2,18z"
|
|
48
57
|
/>
|
|
49
58
|
</svg>
|
|
@@ -56,11 +65,14 @@ exports[`renders the CaretIcon with no props, direction prop is left by default
|
|
|
56
65
|
<div>
|
|
57
66
|
<svg
|
|
58
67
|
aria-hidden="true"
|
|
68
|
+
as="svg"
|
|
59
69
|
class="ds-svg-icon--caret ds-svg-icon"
|
|
60
70
|
focusable="false"
|
|
61
71
|
viewBox="0 0 24 24"
|
|
62
72
|
>
|
|
63
73
|
<path
|
|
74
|
+
as="path"
|
|
75
|
+
class=""
|
|
64
76
|
d="M18,22V2L6,12L18,22z"
|
|
65
77
|
/>
|
|
66
78
|
</svg>
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
2
|
|
|
3
3
|
exports[`renders the ChatIcon with dots 1`] = `
|
|
4
4
|
<body>
|
|
5
5
|
<div>
|
|
6
6
|
<svg
|
|
7
7
|
aria-hidden="true"
|
|
8
|
+
as="svg"
|
|
8
9
|
class="ds-svg-icon--chat ds-svg-icon"
|
|
9
10
|
focusable="false"
|
|
10
11
|
viewBox="0 0 24 24"
|
|
11
12
|
>
|
|
12
13
|
<path
|
|
14
|
+
as="path"
|
|
15
|
+
class=""
|
|
13
16
|
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"
|
|
14
17
|
/>
|
|
15
18
|
</svg>
|
|
@@ -22,11 +25,14 @@ exports[`renders the ChatIcon with no props 1`] = `
|
|
|
22
25
|
<div>
|
|
23
26
|
<svg
|
|
24
27
|
aria-hidden="true"
|
|
28
|
+
as="svg"
|
|
25
29
|
class="ds-svg-icon--chat ds-svg-icon"
|
|
26
30
|
focusable="false"
|
|
27
31
|
viewBox="0 0 24 24"
|
|
28
32
|
>
|
|
29
33
|
<path
|
|
34
|
+
as="path"
|
|
35
|
+
class=""
|
|
30
36
|
d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
|
|
31
37
|
/>
|
|
32
38
|
</svg>
|
|
@@ -39,11 +45,14 @@ exports[`renders the ChatIcon with prop color=error and size= xl 1`] = `
|
|
|
39
45
|
<div>
|
|
40
46
|
<svg
|
|
41
47
|
aria-hidden="true"
|
|
42
|
-
|
|
48
|
+
as="svg"
|
|
49
|
+
class="ds-svg-icon--chat ds-svg-icon ds-svg-icon--warning ds-svg-icon--xl"
|
|
43
50
|
focusable="false"
|
|
44
51
|
viewBox="0 0 24 24"
|
|
45
52
|
>
|
|
46
53
|
<path
|
|
54
|
+
as="path"
|
|
55
|
+
class=""
|
|
47
56
|
d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
|
|
48
57
|
/>
|
|
49
58
|
</svg>
|
|
@@ -56,11 +65,14 @@ exports[`renders the ChatIcon with prop color=warning 1`] = `
|
|
|
56
65
|
<div>
|
|
57
66
|
<svg
|
|
58
67
|
aria-hidden="true"
|
|
59
|
-
|
|
68
|
+
as="svg"
|
|
69
|
+
class="ds-svg-icon--chat ds-svg-icon ds-svg-icon--warning"
|
|
60
70
|
focusable="false"
|
|
61
71
|
viewBox="0 0 24 24"
|
|
62
72
|
>
|
|
63
73
|
<path
|
|
74
|
+
as="path"
|
|
75
|
+
class=""
|
|
64
76
|
d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
|
|
65
77
|
/>
|
|
66
78
|
</svg>
|
|
@@ -73,11 +85,14 @@ exports[`renders the ChatIcon with prop color=warning and size=sm 1`] = `
|
|
|
73
85
|
<div>
|
|
74
86
|
<svg
|
|
75
87
|
aria-hidden="true"
|
|
76
|
-
|
|
88
|
+
as="svg"
|
|
89
|
+
class="ds-svg-icon--chat ds-svg-icon ds-svg-icon--warning ds-svg-icon--sm"
|
|
77
90
|
focusable="false"
|
|
78
91
|
viewBox="0 0 24 24"
|
|
79
92
|
>
|
|
80
93
|
<path
|
|
94
|
+
as="path"
|
|
95
|
+
class=""
|
|
81
96
|
d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
|
|
82
97
|
/>
|
|
83
98
|
</svg>
|
|
@@ -90,11 +105,14 @@ exports[`renders the ChatIcon with prop color=white 1`] = `
|
|
|
90
105
|
<div>
|
|
91
106
|
<svg
|
|
92
107
|
aria-hidden="true"
|
|
93
|
-
|
|
108
|
+
as="svg"
|
|
109
|
+
class="ds-svg-icon--chat ds-svg-icon ds-svg-icon--white"
|
|
94
110
|
focusable="false"
|
|
95
111
|
viewBox="0 0 24 24"
|
|
96
112
|
>
|
|
97
113
|
<path
|
|
114
|
+
as="path"
|
|
115
|
+
class=""
|
|
98
116
|
d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
|
|
99
117
|
/>
|
|
100
118
|
</svg>
|
|
@@ -107,11 +125,14 @@ exports[`renders the ChatIcon with prop size=md 1`] = `
|
|
|
107
125
|
<div>
|
|
108
126
|
<svg
|
|
109
127
|
aria-hidden="true"
|
|
110
|
-
|
|
128
|
+
as="svg"
|
|
129
|
+
class="ds-svg-icon--chat ds-svg-icon ds-svg-icon--md"
|
|
111
130
|
focusable="false"
|
|
112
131
|
viewBox="0 0 24 24"
|
|
113
132
|
>
|
|
114
133
|
<path
|
|
134
|
+
as="path"
|
|
135
|
+
class=""
|
|
115
136
|
d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
|
|
116
137
|
/>
|
|
117
138
|
</svg>
|
|
@@ -124,11 +145,14 @@ exports[`renders the ChatIcon with prop size=xl 1`] = `
|
|
|
124
145
|
<div>
|
|
125
146
|
<svg
|
|
126
147
|
aria-hidden="true"
|
|
127
|
-
|
|
148
|
+
as="svg"
|
|
149
|
+
class="ds-svg-icon--chat ds-svg-icon ds-svg-icon--xl"
|
|
128
150
|
focusable="false"
|
|
129
151
|
viewBox="0 0 24 24"
|
|
130
152
|
>
|
|
131
153
|
<path
|
|
154
|
+
as="path"
|
|
155
|
+
class=""
|
|
132
156
|
d="M2,3.5v13h4.35l2.5,3,2.5-3h10.65V3.5H2Z"
|
|
133
157
|
/>
|
|
134
158
|
</svg>
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
2
|
|
|
3
3
|
exports[`renders the CheckIcon with no props 1`] = `
|
|
4
4
|
<body>
|
|
5
5
|
<div>
|
|
6
6
|
<svg
|
|
7
7
|
aria-hidden="true"
|
|
8
|
+
as="svg"
|
|
8
9
|
class="ds-svg-icon--check ds-svg-icon"
|
|
9
10
|
focusable="false"
|
|
10
11
|
viewBox="0 0 24 24"
|
|
11
12
|
>
|
|
12
13
|
<polygon
|
|
14
|
+
as="polygon"
|
|
15
|
+
class=""
|
|
13
16
|
points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
|
|
14
17
|
/>
|
|
15
18
|
</svg>
|
|
@@ -22,11 +25,14 @@ exports[`renders the CheckIcon with prop color=error and size= xl 1`] = `
|
|
|
22
25
|
<div>
|
|
23
26
|
<svg
|
|
24
27
|
aria-hidden="true"
|
|
25
|
-
|
|
28
|
+
as="svg"
|
|
29
|
+
class="ds-svg-icon--check ds-svg-icon ds-svg-icon--warning ds-svg-icon--xl"
|
|
26
30
|
focusable="false"
|
|
27
31
|
viewBox="0 0 24 24"
|
|
28
32
|
>
|
|
29
33
|
<polygon
|
|
34
|
+
as="polygon"
|
|
35
|
+
class=""
|
|
30
36
|
points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
|
|
31
37
|
/>
|
|
32
38
|
</svg>
|
|
@@ -39,11 +45,14 @@ exports[`renders the CheckIcon with prop color=success 1`] = `
|
|
|
39
45
|
<div>
|
|
40
46
|
<svg
|
|
41
47
|
aria-hidden="true"
|
|
42
|
-
|
|
48
|
+
as="svg"
|
|
49
|
+
class="ds-svg-icon--check ds-svg-icon ds-svg-icon--success"
|
|
43
50
|
focusable="false"
|
|
44
51
|
viewBox="0 0 24 24"
|
|
45
52
|
>
|
|
46
53
|
<polygon
|
|
54
|
+
as="polygon"
|
|
55
|
+
class=""
|
|
47
56
|
points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
|
|
48
57
|
/>
|
|
49
58
|
</svg>
|
|
@@ -56,11 +65,14 @@ exports[`renders the CheckIcon with prop color=warning 1`] = `
|
|
|
56
65
|
<div>
|
|
57
66
|
<svg
|
|
58
67
|
aria-hidden="true"
|
|
59
|
-
|
|
68
|
+
as="svg"
|
|
69
|
+
class="ds-svg-icon--check ds-svg-icon ds-svg-icon--warning"
|
|
60
70
|
focusable="false"
|
|
61
71
|
viewBox="0 0 24 24"
|
|
62
72
|
>
|
|
63
73
|
<polygon
|
|
74
|
+
as="polygon"
|
|
75
|
+
class=""
|
|
64
76
|
points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
|
|
65
77
|
/>
|
|
66
78
|
</svg>
|
|
@@ -73,11 +85,14 @@ exports[`renders the CheckIcon with prop color=warning and size=s 1`] = `
|
|
|
73
85
|
<div>
|
|
74
86
|
<svg
|
|
75
87
|
aria-hidden="true"
|
|
76
|
-
|
|
88
|
+
as="svg"
|
|
89
|
+
class="ds-svg-icon--check ds-svg-icon ds-svg-icon--warning ds-svg-icon--sm"
|
|
77
90
|
focusable="false"
|
|
78
91
|
viewBox="0 0 24 24"
|
|
79
92
|
>
|
|
80
93
|
<polygon
|
|
94
|
+
as="polygon"
|
|
95
|
+
class=""
|
|
81
96
|
points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
|
|
82
97
|
/>
|
|
83
98
|
</svg>
|
|
@@ -90,11 +105,14 @@ exports[`renders the CheckIcon with prop color=white 1`] = `
|
|
|
90
105
|
<div>
|
|
91
106
|
<svg
|
|
92
107
|
aria-hidden="true"
|
|
93
|
-
|
|
108
|
+
as="svg"
|
|
109
|
+
class="ds-svg-icon--check ds-svg-icon ds-svg-icon--white"
|
|
94
110
|
focusable="false"
|
|
95
111
|
viewBox="0 0 24 24"
|
|
96
112
|
>
|
|
97
113
|
<polygon
|
|
114
|
+
as="polygon"
|
|
115
|
+
class=""
|
|
98
116
|
points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
|
|
99
117
|
/>
|
|
100
118
|
</svg>
|
|
@@ -107,11 +125,14 @@ exports[`renders the CheckIcon with prop size=m 1`] = `
|
|
|
107
125
|
<div>
|
|
108
126
|
<svg
|
|
109
127
|
aria-hidden="true"
|
|
110
|
-
|
|
128
|
+
as="svg"
|
|
129
|
+
class="ds-svg-icon--check ds-svg-icon ds-svg-icon--md"
|
|
111
130
|
focusable="false"
|
|
112
131
|
viewBox="0 0 24 24"
|
|
113
132
|
>
|
|
114
133
|
<polygon
|
|
134
|
+
as="polygon"
|
|
135
|
+
class=""
|
|
115
136
|
points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
|
|
116
137
|
/>
|
|
117
138
|
</svg>
|
|
@@ -124,11 +145,14 @@ exports[`renders the CheckIcon with prop size=xl 1`] = `
|
|
|
124
145
|
<div>
|
|
125
146
|
<svg
|
|
126
147
|
aria-hidden="true"
|
|
127
|
-
|
|
148
|
+
as="svg"
|
|
149
|
+
class="ds-svg-icon--check ds-svg-icon ds-svg-icon--xl"
|
|
128
150
|
focusable="false"
|
|
129
151
|
viewBox="0 0 24 24"
|
|
130
152
|
>
|
|
131
153
|
<polygon
|
|
154
|
+
as="polygon"
|
|
155
|
+
class=""
|
|
132
156
|
points="9.49 14.94 4.16 9.67 1.84 12.01 9.5 19.6 22.16 7.05 19.84 4.7 9.5 14.94"
|
|
133
157
|
/>
|
|
134
158
|
</svg>
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
2
|
|
|
3
3
|
exports[`renders the ChevronIcon with direction down prop 1`] = `
|
|
4
4
|
<body>
|
|
5
5
|
<div>
|
|
6
6
|
<svg
|
|
7
7
|
aria-hidden="true"
|
|
8
|
+
as="svg"
|
|
8
9
|
class="ds-svg-icon--chevron ds-svg-icon"
|
|
9
10
|
focusable="false"
|
|
10
11
|
viewBox="0 0 24 24"
|
|
11
12
|
>
|
|
12
13
|
<path
|
|
14
|
+
as="path"
|
|
15
|
+
class=""
|
|
13
16
|
d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z"
|
|
14
17
|
/>
|
|
15
18
|
</svg>
|
|
@@ -22,11 +25,14 @@ exports[`renders the ChevronIcon with direction left prop 1`] = `
|
|
|
22
25
|
<div>
|
|
23
26
|
<svg
|
|
24
27
|
aria-hidden="true"
|
|
28
|
+
as="svg"
|
|
25
29
|
class="ds-svg-icon--chevron ds-svg-icon"
|
|
26
30
|
focusable="false"
|
|
27
31
|
viewBox="0 0 24 24"
|
|
28
32
|
>
|
|
29
33
|
<path
|
|
34
|
+
as="path"
|
|
35
|
+
class=""
|
|
30
36
|
d="M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z"
|
|
31
37
|
/>
|
|
32
38
|
</svg>
|
|
@@ -39,11 +45,14 @@ exports[`renders the ChevronIcon with direction up prop 1`] = `
|
|
|
39
45
|
<div>
|
|
40
46
|
<svg
|
|
41
47
|
aria-hidden="true"
|
|
48
|
+
as="svg"
|
|
42
49
|
class="ds-svg-icon--chevron ds-svg-icon"
|
|
43
50
|
focusable="false"
|
|
44
51
|
viewBox="0 0 24 24"
|
|
45
52
|
>
|
|
46
53
|
<path
|
|
54
|
+
as="path"
|
|
55
|
+
class=""
|
|
47
56
|
d="M2,15.8l2.3,2.4l7.7-7.6l7.6,7.6l2.4-2.4l-10-10L2,15.8z"
|
|
48
57
|
/>
|
|
49
58
|
</svg>
|
|
@@ -56,11 +65,14 @@ exports[`renders the ChevronIcon with no props, direction prop is right by defau
|
|
|
56
65
|
<div>
|
|
57
66
|
<svg
|
|
58
67
|
aria-hidden="true"
|
|
68
|
+
as="svg"
|
|
59
69
|
class="ds-svg-icon--chevron ds-svg-icon"
|
|
60
70
|
focusable="false"
|
|
61
71
|
viewBox="0 0 24 24"
|
|
62
72
|
>
|
|
63
73
|
<path
|
|
74
|
+
as="path"
|
|
75
|
+
class=""
|
|
64
76
|
d="M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z"
|
|
65
77
|
/>
|
|
66
78
|
</svg>
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
2
|
|
|
3
3
|
exports[`renders the CloseIcon with no props 1`] = `
|
|
4
4
|
<body>
|
|
5
5
|
<div>
|
|
6
6
|
<svg
|
|
7
7
|
aria-hidden="true"
|
|
8
|
+
as="svg"
|
|
8
9
|
class="ds-svg-icon--close ds-svg-icon"
|
|
9
10
|
focusable="false"
|
|
10
11
|
viewBox="0 0 24 24"
|
|
11
12
|
>
|
|
12
13
|
<polygon
|
|
14
|
+
as="polygon"
|
|
15
|
+
class=""
|
|
13
16
|
points="14.4,11.8 22,4.2 19.7,1.8 12,9.4 4.4,1.8 2,4.2 9.7,11.9 2.1,19.5 4.4,21.9 12.1,14.3 19.7,21.9 22.1,19.5 "
|
|
14
17
|
/>
|
|
15
18
|
</svg>
|