@digigov/react-icons 2.0.0-b3ec0588 → 2.0.0-cbc56209
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 +6 -6
- package/AccessibilityIcon/index.test/index.js +2 -2
- package/BurgerIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/BurgerIcon/index.test/index.js +6 -6
- package/CancelIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/CancelIcon/index.test/index.js +2 -2
- package/ChatIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/ChatIcon/index.test/index.js +2 -2
- package/CheckIcon/__snapshots__/index.test.tsx.snap +24 -24
- package/CheckIcon/index.test/index.js +2 -2
- package/DownloadIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/DownloadIcon/index.test/index.js +2 -2
- package/ExclamationIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/ExclamationIcon/index.test/index.js +2 -2
- package/GlobeIcon/__snapshots__/index.test.tsx.snap +16 -20
- package/GlobeIcon/config/index.js +2 -2
- package/GlobeIcon/index.test/index.js +4 -4
- package/Icon/__snapshots__/index.test.tsx.snap +1 -2
- package/LockIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/LockIcon/index.test/index.js +2 -2
- package/LoginIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/LoginIcon/index.test/index.js +2 -2
- package/MinusIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/MinusIcon/index.test/index.js +2 -2
- package/PdfFileIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/PdfFileIcon/index.test/index.js +2 -2
- package/PlusIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/PlusIcon/index.test/index.js +2 -2
- package/PrintIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/PrintIcon/index.test/index.js +2 -2
- package/ReplyIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/ReplyIcon/index.test/index.js +2 -2
- package/RestoreIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/RestoreIcon/index.test/index.js +2 -2
- package/UncheckIcon/__snapshots__/index.test.tsx.snap +21 -21
- package/UncheckIcon/index.test/index.js +2 -2
- package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +6 -6
- package/cjs/AccessibilityIcon/index.test/index.js +2 -2
- package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/BurgerIcon/index.test/index.js +6 -6
- package/cjs/CancelIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/CancelIcon/index.test/index.js +2 -2
- package/cjs/ChatIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/ChatIcon/index.test/index.js +2 -2
- package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +24 -24
- package/cjs/CheckIcon/index.test/index.js +2 -2
- package/cjs/DownloadIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/DownloadIcon/index.test/index.js +2 -2
- package/cjs/ExclamationIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/cjs/ExclamationIcon/index.test/index.js +2 -2
- package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +16 -20
- package/cjs/GlobeIcon/config/index.js +2 -2
- package/cjs/GlobeIcon/index.test/index.js +4 -4
- package/cjs/Icon/__snapshots__/index.test.tsx.snap +1 -2
- package/cjs/LockIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/LockIcon/index.test/index.js +2 -2
- package/cjs/LoginIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/LoginIcon/index.test/index.js +2 -2
- package/cjs/MinusIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/MinusIcon/index.test/index.js +2 -2
- package/cjs/PdfFileIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/PdfFileIcon/index.test/index.js +2 -2
- package/cjs/PlusIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/PlusIcon/index.test/index.js +2 -2
- package/cjs/PrintIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/cjs/PrintIcon/index.test/index.js +2 -2
- package/cjs/ReplyIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/ReplyIcon/index.test/index.js +2 -2
- package/cjs/RestoreIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/cjs/RestoreIcon/index.test/index.js +2 -2
- package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +21 -21
- package/cjs/UncheckIcon/index.test/index.js +2 -2
- package/cjs/lazy/index.js +229 -0
- package/index.js +1 -1
- package/lazy/index.js +171 -0
- package/lazy/package.json +6 -0
- package/lazy.d.ts +27 -0
- package/package.json +3 -3
- package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +6 -6
- package/src/AccessibilityIcon/index.test.tsx +2 -2
- package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/BurgerIcon/index.test.tsx +6 -6
- package/src/CancelIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/CancelIcon/index.test.tsx +2 -2
- package/src/ChatIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/ChatIcon/index.test.tsx +2 -2
- package/src/CheckIcon/__snapshots__/index.test.tsx.snap +24 -24
- package/src/CheckIcon/index.test.tsx +2 -2
- package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/DownloadIcon/index.test.tsx +2 -2
- package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/src/ExclamationIcon/index.test.tsx +2 -2
- package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +16 -20
- package/src/GlobeIcon/config.tsx +1 -12
- package/src/GlobeIcon/index.test.tsx +4 -4
- package/src/Icon/__snapshots__/index.test.tsx.snap +1 -2
- package/src/LockIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/LockIcon/index.test.tsx +2 -2
- package/src/LoginIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/LoginIcon/index.test.tsx +2 -2
- package/src/MinusIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/MinusIcon/index.test.tsx +2 -2
- package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/PdfFileIcon/index.test.tsx +2 -2
- package/src/PlusIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/PlusIcon/index.test.tsx +2 -2
- package/src/PrintIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/src/PrintIcon/index.test.tsx +2 -2
- package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/ReplyIcon/index.test.tsx +2 -2
- package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +18 -18
- package/src/RestoreIcon/index.test.tsx +2 -2
- package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +21 -21
- package/src/UncheckIcon/index.test.tsx +2 -2
- package/src/lazy.js +28 -0
|
@@ -27,9 +27,8 @@ exports[`renders the GlobeIcon prop color= "error" 1`] = `
|
|
|
27
27
|
>
|
|
28
28
|
<globe>
|
|
29
29
|
<path
|
|
30
|
-
d="M12,
|
|
30
|
+
d="M12,1C5.925,1,1,5.925,1,12s4.925,11,11,11,11-4.925,11-11S18.075,1,12,1ZM19.203,7.7h-2.6c-.236-1.22-.572-2.32-.98-3.267,1.49.716,2.735,1.857,3.58,3.267ZM20.4,12c0,.582-.06,1.151-.173,1.7h-3.292c.039-.556.066-1.12.066-1.7s-.026-1.145-.066-1.7h3.292c.113.549.173,1.118.173,1.7ZM12,20.378c-.484-.265-1.393-1.667-1.943-4.078h3.885c-.55,2.411-1.459,3.814-1.943,4.078ZM9.667,13.7c-.042-.537-.068-1.103-.068-1.7s.025-1.163.068-1.7h4.665c.042.537.068,1.103.068,1.7s-.025,1.163-.068,1.7h-4.665ZM3.6,12c0-.582.06-1.151.173-1.7h3.292c-.039.556-.066,1.12-.066,1.7s.026,1.145.066,1.7h-3.292c-.113-.549-.173-1.118-.173-1.7ZM12,3.622c.484.265,1.393,1.667,1.943,4.079h-3.885c.55-2.411,1.459-3.814,1.943-4.079ZM8.377,4.433c-.409.947-.745,2.047-.98,3.267h-2.6c.845-1.411,2.09-2.551,3.58-3.267ZM4.797,16.3h2.6c.236,1.22.572,2.32.98,3.267-1.49-.716-2.735-1.857-3.58-3.267ZM15.623,19.567c.409-.947.745-2.047.98-3.267h2.6c-.845,1.411-2.09,2.551-3.58,3.267Z"
|
|
31
31
|
/>
|
|
32
|
-
|
|
33
32
|
</globe>
|
|
34
33
|
</svg>
|
|
35
34
|
</ForwardRef(Base)>
|
|
@@ -38,36 +37,35 @@ exports[`renders the GlobeIcon prop color= "error" 1`] = `
|
|
|
38
37
|
</GlobeIcon>
|
|
39
38
|
`;
|
|
40
39
|
|
|
41
|
-
exports[`renders the GlobeIcon prop color= "
|
|
40
|
+
exports[`renders the GlobeIcon prop color= "white" 1`] = `
|
|
42
41
|
<GlobeIcon
|
|
43
|
-
color="
|
|
42
|
+
color="white"
|
|
44
43
|
>
|
|
45
44
|
<ForwardRef(Icon)
|
|
46
|
-
color="
|
|
45
|
+
color="white"
|
|
47
46
|
icon="globe"
|
|
48
47
|
>
|
|
49
48
|
<ForwardRef(SvgIcon)
|
|
50
49
|
className="ds-svg-icon--globe"
|
|
51
|
-
color="
|
|
50
|
+
color="white"
|
|
52
51
|
>
|
|
53
52
|
<ForwardRef(Base)
|
|
54
53
|
aria-hidden="true"
|
|
55
54
|
as="svg"
|
|
56
|
-
className="ds-svg-icon--globe ds-svg-icon--
|
|
55
|
+
className="ds-svg-icon--globe ds-svg-icon--white ds-svg-icon"
|
|
57
56
|
focusable="false"
|
|
58
57
|
viewBox="0 0 24 24"
|
|
59
58
|
>
|
|
60
59
|
<svg
|
|
61
60
|
aria-hidden="true"
|
|
62
|
-
className="ds-svg-icon--globe ds-svg-icon--
|
|
61
|
+
className="ds-svg-icon--globe ds-svg-icon--white ds-svg-icon"
|
|
63
62
|
focusable="false"
|
|
64
63
|
viewBox="0 0 24 24"
|
|
65
64
|
>
|
|
66
65
|
<globe>
|
|
67
66
|
<path
|
|
68
|
-
d="M12,
|
|
67
|
+
d="M12,1C5.925,1,1,5.925,1,12s4.925,11,11,11,11-4.925,11-11S18.075,1,12,1ZM19.203,7.7h-2.6c-.236-1.22-.572-2.32-.98-3.267,1.49.716,2.735,1.857,3.58,3.267ZM20.4,12c0,.582-.06,1.151-.173,1.7h-3.292c.039-.556.066-1.12.066-1.7s-.026-1.145-.066-1.7h3.292c.113.549.173,1.118.173,1.7ZM12,20.378c-.484-.265-1.393-1.667-1.943-4.078h3.885c-.55,2.411-1.459,3.814-1.943,4.078ZM9.667,13.7c-.042-.537-.068-1.103-.068-1.7s.025-1.163.068-1.7h4.665c.042.537.068,1.103.068,1.7s-.025,1.163-.068,1.7h-4.665ZM3.6,12c0-.582.06-1.151.173-1.7h3.292c-.039.556-.066,1.12-.066,1.7s.026,1.145.066,1.7h-3.292c-.113-.549-.173-1.118-.173-1.7ZM12,3.622c.484.265,1.393,1.667,1.943,4.079h-3.885c.55-2.411,1.459-3.814,1.943-4.079ZM8.377,4.433c-.409.947-.745,2.047-.98,3.267h-2.6c.845-1.411,2.09-2.551,3.58-3.267ZM4.797,16.3h2.6c.236,1.22.572,2.32.98,3.267-1.49-.716-2.735-1.857-3.58-3.267ZM15.623,19.567c.409-.947.745-2.047.98-3.267h2.6c-.845,1.411-2.09,2.551-3.58,3.267Z"
|
|
69
68
|
/>
|
|
70
|
-
|
|
71
69
|
</globe>
|
|
72
70
|
</svg>
|
|
73
71
|
</ForwardRef(Base)>
|
|
@@ -99,9 +97,8 @@ exports[`renders the GlobeIcon with no props 1`] = `
|
|
|
99
97
|
>
|
|
100
98
|
<globe>
|
|
101
99
|
<path
|
|
102
|
-
d="M12,
|
|
100
|
+
d="M12,1C5.925,1,1,5.925,1,12s4.925,11,11,11,11-4.925,11-11S18.075,1,12,1ZM19.203,7.7h-2.6c-.236-1.22-.572-2.32-.98-3.267,1.49.716,2.735,1.857,3.58,3.267ZM20.4,12c0,.582-.06,1.151-.173,1.7h-3.292c.039-.556.066-1.12.066-1.7s-.026-1.145-.066-1.7h3.292c.113.549.173,1.118.173,1.7ZM12,20.378c-.484-.265-1.393-1.667-1.943-4.078h3.885c-.55,2.411-1.459,3.814-1.943,4.078ZM9.667,13.7c-.042-.537-.068-1.103-.068-1.7s.025-1.163.068-1.7h4.665c.042.537.068,1.103.068,1.7s-.025,1.163-.068,1.7h-4.665ZM3.6,12c0-.582.06-1.151.173-1.7h3.292c-.039.556-.066,1.12-.066,1.7s.026,1.145.066,1.7h-3.292c-.113-.549-.173-1.118-.173-1.7ZM12,3.622c.484.265,1.393,1.667,1.943,4.079h-3.885c.55-2.411,1.459-3.814,1.943-4.079ZM8.377,4.433c-.409.947-.745,2.047-.98,3.267h-2.6c.845-1.411,2.09-2.551,3.58-3.267ZM4.797,16.3h2.6c.236,1.22.572,2.32.98,3.267-1.49-.716-2.735-1.857-3.58-3.267ZM15.623,19.567c.409-.947.745-2.047.98-3.267h2.6c-.845,1.411-2.09,2.551-3.58,3.267Z"
|
|
103
101
|
/>
|
|
104
|
-
|
|
105
102
|
</globe>
|
|
106
103
|
</svg>
|
|
107
104
|
</ForwardRef(Base)>
|
|
@@ -110,36 +107,35 @@ exports[`renders the GlobeIcon with no props 1`] = `
|
|
|
110
107
|
</GlobeIcon>
|
|
111
108
|
`;
|
|
112
109
|
|
|
113
|
-
exports[`renders the GlobeIcon with prop color=
|
|
110
|
+
exports[`renders the GlobeIcon with prop color=base-content 1`] = `
|
|
114
111
|
<GlobeIcon
|
|
115
|
-
color="
|
|
112
|
+
color="base-content"
|
|
116
113
|
>
|
|
117
114
|
<ForwardRef(Icon)
|
|
118
|
-
color="
|
|
115
|
+
color="base-content"
|
|
119
116
|
icon="globe"
|
|
120
117
|
>
|
|
121
118
|
<ForwardRef(SvgIcon)
|
|
122
119
|
className="ds-svg-icon--globe"
|
|
123
|
-
color="
|
|
120
|
+
color="base-content"
|
|
124
121
|
>
|
|
125
122
|
<ForwardRef(Base)
|
|
126
123
|
aria-hidden="true"
|
|
127
124
|
as="svg"
|
|
128
|
-
className="ds-svg-icon--globe ds-svg-icon--
|
|
125
|
+
className="ds-svg-icon--globe ds-svg-icon--base-content ds-svg-icon"
|
|
129
126
|
focusable="false"
|
|
130
127
|
viewBox="0 0 24 24"
|
|
131
128
|
>
|
|
132
129
|
<svg
|
|
133
130
|
aria-hidden="true"
|
|
134
|
-
className="ds-svg-icon--globe ds-svg-icon--
|
|
131
|
+
className="ds-svg-icon--globe ds-svg-icon--base-content ds-svg-icon"
|
|
135
132
|
focusable="false"
|
|
136
133
|
viewBox="0 0 24 24"
|
|
137
134
|
>
|
|
138
135
|
<globe>
|
|
139
136
|
<path
|
|
140
|
-
d="M12,
|
|
137
|
+
d="M12,1C5.925,1,1,5.925,1,12s4.925,11,11,11,11-4.925,11-11S18.075,1,12,1ZM19.203,7.7h-2.6c-.236-1.22-.572-2.32-.98-3.267,1.49.716,2.735,1.857,3.58,3.267ZM20.4,12c0,.582-.06,1.151-.173,1.7h-3.292c.039-.556.066-1.12.066-1.7s-.026-1.145-.066-1.7h3.292c.113.549.173,1.118.173,1.7ZM12,20.378c-.484-.265-1.393-1.667-1.943-4.078h3.885c-.55,2.411-1.459,3.814-1.943,4.078ZM9.667,13.7c-.042-.537-.068-1.103-.068-1.7s.025-1.163.068-1.7h4.665c.042.537.068,1.103.068,1.7s-.025,1.163-.068,1.7h-4.665ZM3.6,12c0-.582.06-1.151.173-1.7h3.292c-.039.556-.066,1.12-.066,1.7s.026,1.145.066,1.7h-3.292c-.113-.549-.173-1.118-.173-1.7ZM12,3.622c.484.265,1.393,1.667,1.943,4.079h-3.885c.55-2.411,1.459-3.814,1.943-4.079ZM8.377,4.433c-.409.947-.745,2.047-.98,3.267h-2.6c.845-1.411,2.09-2.551,3.58-3.267ZM4.797,16.3h2.6c.236,1.22.572,2.32.98,3.267-1.49-.716-2.735-1.857-3.58-3.267ZM15.623,19.567c.409-.947.745-2.047.98-3.267h2.6c-.845,1.411-2.09,2.551-3.58,3.267Z"
|
|
141
138
|
/>
|
|
142
|
-
|
|
143
139
|
</globe>
|
|
144
140
|
</svg>
|
|
145
141
|
</ForwardRef(Base)>
|
package/src/GlobeIcon/config.tsx
CHANGED
|
@@ -5,18 +5,7 @@ export interface GlobeType {}
|
|
|
5
5
|
export function globe(): React.ReactElement {
|
|
6
6
|
return (
|
|
7
7
|
<>
|
|
8
|
-
<path
|
|
9
|
-
d="M12,0C5.4,0,0,5.4,0,12s5.4,12,12,12s12-5.4,12-12S18.6,0,12,0z M22.4,13.1C22.4,13.1,22.4,13.2,22.4,13.1
|
|
10
|
-
c0,0.4-0.1,0.8-0.2,1.1v0h-3.6c0.2-1.5,0.2-3,0-4.5h3.6v0c0.1,0.4,0.1,0.7,0.2,1.1c0,0,0,0,0,0C22.5,11.6,22.5,12.4,22.4,13.1z
|
|
11
|
-
M16,21.7c1.1-1.5,2-3.5,2.4-6h3.4c0,0,0,0,0,0C20.8,18.4,18.7,20.6,16,21.7z M21.8,8.2C21.8,8.2,21.8,8.2,21.8,8.2l-3.4,0
|
|
12
|
-
c-0.4-2.4-1.3-4.5-2.4-6C18.7,3.4,20.8,5.6,21.8,8.2L21.8,8.2z M17.1,9.7c0.2,1.5,0.2,3,0,4.5h-4.4V9.7L17.1,9.7L17.1,9.7z
|
|
13
|
-
M12.7,8.2V1.6c1.9,0.6,3.5,3.2,4.1,6.6L12.7,8.2L12.7,8.2z M12.7,15.7h4.1c-0.7,3.4-2.3,6.1-4.1,6.6V15.7L12.7,15.7z M2.2,15.8
|
|
14
|
-
C2.2,15.8,2.2,15.8,2.2,15.8l3.4,0c0.4,2.4,1.3,4.5,2.4,6C5.3,20.6,3.2,18.4,2.2,15.8L2.2,15.8z M8,2.3c-1.1,1.5-2,3.5-2.4,6H2.2
|
|
15
|
-
c0,0,0,0,0,0C3.2,5.6,5.3,3.4,8,2.3z M6.9,14.3c-0.2-1.5-0.2-3,0-4.5h4.4v4.5H6.9L6.9,14.3z M11.2,15.8v6.6
|
|
16
|
-
c-1.9-0.6-3.5-3.2-4.1-6.6L11.2,15.8L11.2,15.8z M11.2,8.3H7.1c0.7-3.4,2.3-6.1,4.1-6.6V8.3L11.2,8.3z M1.6,10.9
|
|
17
|
-
C1.6,10.9,1.6,10.8,1.6,10.9c0-0.4,0.1-0.8,0.2-1.1v0h3.6c-0.2,1.5-0.2,3,0,4.5H1.7v0c-0.1-0.4-0.1-0.7-0.2-1.1c0,0,0,0,0,0
|
|
18
|
-
C1.5,12.4,1.5,11.6,1.6,10.9z"
|
|
19
|
-
/>{' '}
|
|
8
|
+
<path d="M12,1C5.925,1,1,5.925,1,12s4.925,11,11,11,11-4.925,11-11S18.075,1,12,1ZM19.203,7.7h-2.6c-.236-1.22-.572-2.32-.98-3.267,1.49.716,2.735,1.857,3.58,3.267ZM20.4,12c0,.582-.06,1.151-.173,1.7h-3.292c.039-.556.066-1.12.066-1.7s-.026-1.145-.066-1.7h3.292c.113.549.173,1.118.173,1.7ZM12,20.378c-.484-.265-1.393-1.667-1.943-4.078h3.885c-.55,2.411-1.459,3.814-1.943,4.078ZM9.667,13.7c-.042-.537-.068-1.103-.068-1.7s.025-1.163.068-1.7h4.665c.042.537.068,1.103.068,1.7s-.025,1.163-.068,1.7h-4.665ZM3.6,12c0-.582.06-1.151.173-1.7h3.292c-.039.556-.066,1.12-.066,1.7s.026,1.145.066,1.7h-3.292c-.113-.549-.173-1.118-.173-1.7ZM12,3.622c.484.265,1.393,1.667,1.943,4.079h-3.885c.55-2.411,1.459-3.814,1.943-4.079ZM8.377,4.433c-.409.947-.745,2.047-.98,3.267h-2.6c.845-1.411,2.09-2.551,3.58-3.267ZM4.797,16.3h2.6c.236,1.22.572,2.32.98,3.267-1.49-.716-2.735-1.857-3.58-3.267ZM15.623,19.567c.409-.947.745-2.047.98-3.267h2.6c-.845,1.411-2.09,2.551-3.58,3.267Z" />
|
|
20
9
|
</>
|
|
21
10
|
);
|
|
22
11
|
}
|
|
@@ -7,12 +7,12 @@ it('renders the GlobeIcon with no props', () => {
|
|
|
7
7
|
expect(mount(<GlobeIcon />)).toMatchSnapshot();
|
|
8
8
|
});
|
|
9
9
|
|
|
10
|
-
it('renders the GlobeIcon with prop color=
|
|
11
|
-
expect(mount(<GlobeIcon color="
|
|
10
|
+
it('renders the GlobeIcon with prop color=base-content', () => {
|
|
11
|
+
expect(mount(<GlobeIcon color="base-content" />)).toMatchSnapshot();
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
-
it('renders the GlobeIcon prop color= "
|
|
15
|
-
expect(mount(<GlobeIcon color="
|
|
14
|
+
it('renders the GlobeIcon prop color= "white"', () => {
|
|
15
|
+
expect(mount(<GlobeIcon color="white" />)).toMatchSnapshot();
|
|
16
16
|
});
|
|
17
17
|
it('renders the GlobeIcon prop color= "error"', () => {
|
|
18
18
|
expect(mount(<GlobeIcon color="error" />)).toMatchSnapshot();
|
|
@@ -332,9 +332,8 @@ exports[`renders the Icon with prop prop icon=globe 1`] = `
|
|
|
332
332
|
>
|
|
333
333
|
<globe>
|
|
334
334
|
<path
|
|
335
|
-
d="M12,
|
|
335
|
+
d="M12,1C5.925,1,1,5.925,1,12s4.925,11,11,11,11-4.925,11-11S18.075,1,12,1ZM19.203,7.7h-2.6c-.236-1.22-.572-2.32-.98-3.267,1.49.716,2.735,1.857,3.58,3.267ZM20.4,12c0,.582-.06,1.151-.173,1.7h-3.292c.039-.556.066-1.12.066-1.7s-.026-1.145-.066-1.7h3.292c.113.549.173,1.118.173,1.7ZM12,20.378c-.484-.265-1.393-1.667-1.943-4.078h3.885c-.55,2.411-1.459,3.814-1.943,4.078ZM9.667,13.7c-.042-.537-.068-1.103-.068-1.7s.025-1.163.068-1.7h4.665c.042.537.068,1.103.068,1.7s-.025,1.163-.068,1.7h-4.665ZM3.6,12c0-.582.06-1.151.173-1.7h3.292c-.039.556-.066,1.12-.066,1.7s.026,1.145.066,1.7h-3.292c-.113-.549-.173-1.118-.173-1.7ZM12,3.622c.484.265,1.393,1.667,1.943,4.079h-3.885c.55-2.411,1.459-3.814,1.943-4.079ZM8.377,4.433c-.409.947-.745,2.047-.98,3.267h-2.6c.845-1.411,2.09-2.551,3.58-3.267ZM4.797,16.3h2.6c.236,1.22.572,2.32.98,3.267-1.49-.716-2.735-1.857-3.58-3.267ZM15.623,19.567c.409-.947.745-2.047.98-3.267h2.6c-.845,1.411-2.09,2.551-3.58,3.267Z"
|
|
336
336
|
/>
|
|
337
|
-
|
|
338
337
|
</globe>
|
|
339
338
|
</svg>
|
|
340
339
|
</ForwardRef(Base)>
|
|
@@ -73,28 +73,28 @@ exports[`renders the LockIcon with prop color=error and size= xl 1`] = `
|
|
|
73
73
|
</LockIcon>
|
|
74
74
|
`;
|
|
75
75
|
|
|
76
|
-
exports[`renders the LockIcon with prop color=
|
|
76
|
+
exports[`renders the LockIcon with prop color=warning 1`] = `
|
|
77
77
|
<LockIcon
|
|
78
|
-
color="
|
|
78
|
+
color="warning"
|
|
79
79
|
>
|
|
80
80
|
<ForwardRef(Icon)
|
|
81
|
-
color="
|
|
81
|
+
color="warning"
|
|
82
82
|
icon="lock"
|
|
83
83
|
>
|
|
84
84
|
<ForwardRef(SvgIcon)
|
|
85
85
|
className="ds-svg-icon--lock"
|
|
86
|
-
color="
|
|
86
|
+
color="warning"
|
|
87
87
|
>
|
|
88
88
|
<ForwardRef(Base)
|
|
89
89
|
aria-hidden="true"
|
|
90
90
|
as="svg"
|
|
91
|
-
className="ds-svg-icon--lock ds-svg-icon--
|
|
91
|
+
className="ds-svg-icon--lock ds-svg-icon--warning ds-svg-icon"
|
|
92
92
|
focusable="false"
|
|
93
93
|
viewBox="0 0 24 24"
|
|
94
94
|
>
|
|
95
95
|
<svg
|
|
96
96
|
aria-hidden="true"
|
|
97
|
-
className="ds-svg-icon--lock ds-svg-icon--
|
|
97
|
+
className="ds-svg-icon--lock ds-svg-icon--warning ds-svg-icon"
|
|
98
98
|
focusable="false"
|
|
99
99
|
viewBox="0 0 24 24"
|
|
100
100
|
>
|
|
@@ -110,28 +110,31 @@ exports[`renders the LockIcon with prop color=light 1`] = `
|
|
|
110
110
|
</LockIcon>
|
|
111
111
|
`;
|
|
112
112
|
|
|
113
|
-
exports[`renders the LockIcon with prop color=warning 1`] = `
|
|
113
|
+
exports[`renders the LockIcon with prop color=warning and size=sm 1`] = `
|
|
114
114
|
<LockIcon
|
|
115
115
|
color="warning"
|
|
116
|
+
size="sm"
|
|
116
117
|
>
|
|
117
118
|
<ForwardRef(Icon)
|
|
118
119
|
color="warning"
|
|
119
120
|
icon="lock"
|
|
121
|
+
size="sm"
|
|
120
122
|
>
|
|
121
123
|
<ForwardRef(SvgIcon)
|
|
122
124
|
className="ds-svg-icon--lock"
|
|
123
125
|
color="warning"
|
|
126
|
+
size="sm"
|
|
124
127
|
>
|
|
125
128
|
<ForwardRef(Base)
|
|
126
129
|
aria-hidden="true"
|
|
127
130
|
as="svg"
|
|
128
|
-
className="ds-svg-icon--lock ds-svg-icon--warning ds-svg-icon"
|
|
131
|
+
className="ds-svg-icon--lock ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
129
132
|
focusable="false"
|
|
130
133
|
viewBox="0 0 24 24"
|
|
131
134
|
>
|
|
132
135
|
<svg
|
|
133
136
|
aria-hidden="true"
|
|
134
|
-
className="ds-svg-icon--lock ds-svg-icon--warning ds-svg-icon"
|
|
137
|
+
className="ds-svg-icon--lock ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
135
138
|
focusable="false"
|
|
136
139
|
viewBox="0 0 24 24"
|
|
137
140
|
>
|
|
@@ -147,31 +150,28 @@ exports[`renders the LockIcon with prop color=warning 1`] = `
|
|
|
147
150
|
</LockIcon>
|
|
148
151
|
`;
|
|
149
152
|
|
|
150
|
-
exports[`renders the LockIcon with prop color=
|
|
153
|
+
exports[`renders the LockIcon with prop color=white 1`] = `
|
|
151
154
|
<LockIcon
|
|
152
|
-
color="
|
|
153
|
-
size="sm"
|
|
155
|
+
color="white"
|
|
154
156
|
>
|
|
155
157
|
<ForwardRef(Icon)
|
|
156
|
-
color="
|
|
158
|
+
color="white"
|
|
157
159
|
icon="lock"
|
|
158
|
-
size="sm"
|
|
159
160
|
>
|
|
160
161
|
<ForwardRef(SvgIcon)
|
|
161
162
|
className="ds-svg-icon--lock"
|
|
162
|
-
color="
|
|
163
|
-
size="sm"
|
|
163
|
+
color="white"
|
|
164
164
|
>
|
|
165
165
|
<ForwardRef(Base)
|
|
166
166
|
aria-hidden="true"
|
|
167
167
|
as="svg"
|
|
168
|
-
className="ds-svg-icon--lock ds-svg-icon--
|
|
168
|
+
className="ds-svg-icon--lock ds-svg-icon--white ds-svg-icon"
|
|
169
169
|
focusable="false"
|
|
170
170
|
viewBox="0 0 24 24"
|
|
171
171
|
>
|
|
172
172
|
<svg
|
|
173
173
|
aria-hidden="true"
|
|
174
|
-
className="ds-svg-icon--lock ds-svg-icon--
|
|
174
|
+
className="ds-svg-icon--lock ds-svg-icon--white ds-svg-icon"
|
|
175
175
|
focusable="false"
|
|
176
176
|
viewBox="0 0 24 24"
|
|
177
177
|
>
|
|
@@ -12,8 +12,8 @@ it('renders the LockIcon with prop size=md', () => {
|
|
|
12
12
|
it('renders the LockIcon with prop size=xl', () => {
|
|
13
13
|
expect(mount(<LockIcon size="xl" />)).toMatchSnapshot();
|
|
14
14
|
});
|
|
15
|
-
it('renders the LockIcon with prop color=
|
|
16
|
-
expect(mount(<LockIcon color="
|
|
15
|
+
it('renders the LockIcon with prop color=white', () => {
|
|
16
|
+
expect(mount(<LockIcon color="white" />)).toMatchSnapshot();
|
|
17
17
|
});
|
|
18
18
|
it('renders the LockIcon with prop color=warning', () => {
|
|
19
19
|
expect(mount(<LockIcon color="warning" />)).toMatchSnapshot();
|
|
@@ -79,28 +79,28 @@ exports[`renders the LoginIcon with prop color=error and size= xl 1`] = `
|
|
|
79
79
|
</LoginIcon>
|
|
80
80
|
`;
|
|
81
81
|
|
|
82
|
-
exports[`renders the LoginIcon with prop color=
|
|
82
|
+
exports[`renders the LoginIcon with prop color=warning 1`] = `
|
|
83
83
|
<LoginIcon
|
|
84
|
-
color="
|
|
84
|
+
color="warning"
|
|
85
85
|
>
|
|
86
86
|
<ForwardRef(Icon)
|
|
87
|
-
color="
|
|
87
|
+
color="warning"
|
|
88
88
|
icon="login"
|
|
89
89
|
>
|
|
90
90
|
<ForwardRef(SvgIcon)
|
|
91
91
|
className="ds-svg-icon--login"
|
|
92
|
-
color="
|
|
92
|
+
color="warning"
|
|
93
93
|
>
|
|
94
94
|
<ForwardRef(Base)
|
|
95
95
|
aria-hidden="true"
|
|
96
96
|
as="svg"
|
|
97
|
-
className="ds-svg-icon--login ds-svg-icon--
|
|
97
|
+
className="ds-svg-icon--login ds-svg-icon--warning ds-svg-icon"
|
|
98
98
|
focusable="false"
|
|
99
99
|
viewBox="0 0 24 24"
|
|
100
100
|
>
|
|
101
101
|
<svg
|
|
102
102
|
aria-hidden="true"
|
|
103
|
-
className="ds-svg-icon--login ds-svg-icon--
|
|
103
|
+
className="ds-svg-icon--login ds-svg-icon--warning ds-svg-icon"
|
|
104
104
|
focusable="false"
|
|
105
105
|
viewBox="0 0 24 24"
|
|
106
106
|
>
|
|
@@ -119,28 +119,31 @@ exports[`renders the LoginIcon with prop color=light 1`] = `
|
|
|
119
119
|
</LoginIcon>
|
|
120
120
|
`;
|
|
121
121
|
|
|
122
|
-
exports[`renders the LoginIcon with prop color=warning 1`] = `
|
|
122
|
+
exports[`renders the LoginIcon with prop color=warning and size=s 1`] = `
|
|
123
123
|
<LoginIcon
|
|
124
124
|
color="warning"
|
|
125
|
+
size="sm"
|
|
125
126
|
>
|
|
126
127
|
<ForwardRef(Icon)
|
|
127
128
|
color="warning"
|
|
128
129
|
icon="login"
|
|
130
|
+
size="sm"
|
|
129
131
|
>
|
|
130
132
|
<ForwardRef(SvgIcon)
|
|
131
133
|
className="ds-svg-icon--login"
|
|
132
134
|
color="warning"
|
|
135
|
+
size="sm"
|
|
133
136
|
>
|
|
134
137
|
<ForwardRef(Base)
|
|
135
138
|
aria-hidden="true"
|
|
136
139
|
as="svg"
|
|
137
|
-
className="ds-svg-icon--login ds-svg-icon--warning ds-svg-icon"
|
|
140
|
+
className="ds-svg-icon--login ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
138
141
|
focusable="false"
|
|
139
142
|
viewBox="0 0 24 24"
|
|
140
143
|
>
|
|
141
144
|
<svg
|
|
142
145
|
aria-hidden="true"
|
|
143
|
-
className="ds-svg-icon--login ds-svg-icon--warning ds-svg-icon"
|
|
146
|
+
className="ds-svg-icon--login ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
144
147
|
focusable="false"
|
|
145
148
|
viewBox="0 0 24 24"
|
|
146
149
|
>
|
|
@@ -159,31 +162,28 @@ exports[`renders the LoginIcon with prop color=warning 1`] = `
|
|
|
159
162
|
</LoginIcon>
|
|
160
163
|
`;
|
|
161
164
|
|
|
162
|
-
exports[`renders the LoginIcon with prop color=
|
|
165
|
+
exports[`renders the LoginIcon with prop color=white 1`] = `
|
|
163
166
|
<LoginIcon
|
|
164
|
-
color="
|
|
165
|
-
size="sm"
|
|
167
|
+
color="white"
|
|
166
168
|
>
|
|
167
169
|
<ForwardRef(Icon)
|
|
168
|
-
color="
|
|
170
|
+
color="white"
|
|
169
171
|
icon="login"
|
|
170
|
-
size="sm"
|
|
171
172
|
>
|
|
172
173
|
<ForwardRef(SvgIcon)
|
|
173
174
|
className="ds-svg-icon--login"
|
|
174
|
-
color="
|
|
175
|
-
size="sm"
|
|
175
|
+
color="white"
|
|
176
176
|
>
|
|
177
177
|
<ForwardRef(Base)
|
|
178
178
|
aria-hidden="true"
|
|
179
179
|
as="svg"
|
|
180
|
-
className="ds-svg-icon--login ds-svg-icon--
|
|
180
|
+
className="ds-svg-icon--login ds-svg-icon--white ds-svg-icon"
|
|
181
181
|
focusable="false"
|
|
182
182
|
viewBox="0 0 24 24"
|
|
183
183
|
>
|
|
184
184
|
<svg
|
|
185
185
|
aria-hidden="true"
|
|
186
|
-
className="ds-svg-icon--login ds-svg-icon--
|
|
186
|
+
className="ds-svg-icon--login ds-svg-icon--white ds-svg-icon"
|
|
187
187
|
focusable="false"
|
|
188
188
|
viewBox="0 0 24 24"
|
|
189
189
|
>
|
|
@@ -12,8 +12,8 @@ it('renders the LoginIcon with prop size=md', () => {
|
|
|
12
12
|
it('renders the LoginIcon with prop size=xl', () => {
|
|
13
13
|
expect(mount(<LoginIcon size="xl" />)).toMatchSnapshot();
|
|
14
14
|
});
|
|
15
|
-
it('renders the LoginIcon with prop color=
|
|
16
|
-
expect(mount(<LoginIcon color="
|
|
15
|
+
it('renders the LoginIcon with prop color=white', () => {
|
|
16
|
+
expect(mount(<LoginIcon color="white" />)).toMatchSnapshot();
|
|
17
17
|
});
|
|
18
18
|
it('renders the LoginIcon with prop color=warning', () => {
|
|
19
19
|
expect(mount(<LoginIcon color="warning" />)).toMatchSnapshot();
|
|
@@ -79,28 +79,28 @@ exports[`renders the MinusIcon with prop color=error and size= xl 1`] = `
|
|
|
79
79
|
</MinusIcon>
|
|
80
80
|
`;
|
|
81
81
|
|
|
82
|
-
exports[`renders the MinusIcon with prop color=
|
|
82
|
+
exports[`renders the MinusIcon with prop color=warning 1`] = `
|
|
83
83
|
<MinusIcon
|
|
84
|
-
color="
|
|
84
|
+
color="warning"
|
|
85
85
|
>
|
|
86
86
|
<ForwardRef(Icon)
|
|
87
|
-
color="
|
|
87
|
+
color="warning"
|
|
88
88
|
icon="minus"
|
|
89
89
|
>
|
|
90
90
|
<ForwardRef(SvgIcon)
|
|
91
91
|
className="ds-svg-icon--minus"
|
|
92
|
-
color="
|
|
92
|
+
color="warning"
|
|
93
93
|
>
|
|
94
94
|
<ForwardRef(Base)
|
|
95
95
|
aria-hidden="true"
|
|
96
96
|
as="svg"
|
|
97
|
-
className="ds-svg-icon--minus ds-svg-icon--
|
|
97
|
+
className="ds-svg-icon--minus ds-svg-icon--warning ds-svg-icon"
|
|
98
98
|
focusable="false"
|
|
99
99
|
viewBox="0 0 24 24"
|
|
100
100
|
>
|
|
101
101
|
<svg
|
|
102
102
|
aria-hidden="true"
|
|
103
|
-
className="ds-svg-icon--minus ds-svg-icon--
|
|
103
|
+
className="ds-svg-icon--minus ds-svg-icon--warning ds-svg-icon"
|
|
104
104
|
focusable="false"
|
|
105
105
|
viewBox="0 0 24 24"
|
|
106
106
|
>
|
|
@@ -119,28 +119,31 @@ exports[`renders the MinusIcon with prop color=light 1`] = `
|
|
|
119
119
|
</MinusIcon>
|
|
120
120
|
`;
|
|
121
121
|
|
|
122
|
-
exports[`renders the MinusIcon with prop color=warning 1`] = `
|
|
122
|
+
exports[`renders the MinusIcon with prop color=warning and size=s 1`] = `
|
|
123
123
|
<MinusIcon
|
|
124
124
|
color="warning"
|
|
125
|
+
size="sm"
|
|
125
126
|
>
|
|
126
127
|
<ForwardRef(Icon)
|
|
127
128
|
color="warning"
|
|
128
129
|
icon="minus"
|
|
130
|
+
size="sm"
|
|
129
131
|
>
|
|
130
132
|
<ForwardRef(SvgIcon)
|
|
131
133
|
className="ds-svg-icon--minus"
|
|
132
134
|
color="warning"
|
|
135
|
+
size="sm"
|
|
133
136
|
>
|
|
134
137
|
<ForwardRef(Base)
|
|
135
138
|
aria-hidden="true"
|
|
136
139
|
as="svg"
|
|
137
|
-
className="ds-svg-icon--minus ds-svg-icon--warning ds-svg-icon"
|
|
140
|
+
className="ds-svg-icon--minus ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
138
141
|
focusable="false"
|
|
139
142
|
viewBox="0 0 24 24"
|
|
140
143
|
>
|
|
141
144
|
<svg
|
|
142
145
|
aria-hidden="true"
|
|
143
|
-
className="ds-svg-icon--minus ds-svg-icon--warning ds-svg-icon"
|
|
146
|
+
className="ds-svg-icon--minus ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
144
147
|
focusable="false"
|
|
145
148
|
viewBox="0 0 24 24"
|
|
146
149
|
>
|
|
@@ -159,31 +162,28 @@ exports[`renders the MinusIcon with prop color=warning 1`] = `
|
|
|
159
162
|
</MinusIcon>
|
|
160
163
|
`;
|
|
161
164
|
|
|
162
|
-
exports[`renders the MinusIcon with prop color=
|
|
165
|
+
exports[`renders the MinusIcon with prop color=white 1`] = `
|
|
163
166
|
<MinusIcon
|
|
164
|
-
color="
|
|
165
|
-
size="sm"
|
|
167
|
+
color="white"
|
|
166
168
|
>
|
|
167
169
|
<ForwardRef(Icon)
|
|
168
|
-
color="
|
|
170
|
+
color="white"
|
|
169
171
|
icon="minus"
|
|
170
|
-
size="sm"
|
|
171
172
|
>
|
|
172
173
|
<ForwardRef(SvgIcon)
|
|
173
174
|
className="ds-svg-icon--minus"
|
|
174
|
-
color="
|
|
175
|
-
size="sm"
|
|
175
|
+
color="white"
|
|
176
176
|
>
|
|
177
177
|
<ForwardRef(Base)
|
|
178
178
|
aria-hidden="true"
|
|
179
179
|
as="svg"
|
|
180
|
-
className="ds-svg-icon--minus ds-svg-icon--
|
|
180
|
+
className="ds-svg-icon--minus ds-svg-icon--white ds-svg-icon"
|
|
181
181
|
focusable="false"
|
|
182
182
|
viewBox="0 0 24 24"
|
|
183
183
|
>
|
|
184
184
|
<svg
|
|
185
185
|
aria-hidden="true"
|
|
186
|
-
className="ds-svg-icon--minus ds-svg-icon--
|
|
186
|
+
className="ds-svg-icon--minus ds-svg-icon--white ds-svg-icon"
|
|
187
187
|
focusable="false"
|
|
188
188
|
viewBox="0 0 24 24"
|
|
189
189
|
>
|
|
@@ -12,8 +12,8 @@ it('renders the MinusIcon with prop size=m', () => {
|
|
|
12
12
|
it('renders the MinusIcon with prop size=xl', () => {
|
|
13
13
|
expect(mount(<MinusIcon size="xl" />)).toMatchSnapshot();
|
|
14
14
|
});
|
|
15
|
-
it('renders the MinusIcon with prop color=
|
|
16
|
-
expect(mount(<MinusIcon color="
|
|
15
|
+
it('renders the MinusIcon with prop color=white', () => {
|
|
16
|
+
expect(mount(<MinusIcon color="white" />)).toMatchSnapshot();
|
|
17
17
|
});
|
|
18
18
|
it('renders the MinusIcon with prop color=warning', () => {
|
|
19
19
|
expect(mount(<MinusIcon color="warning" />)).toMatchSnapshot();
|