@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
|
@@ -41,28 +41,28 @@ exports[`renders the AccessibilityIcon with no props 1`] = `
|
|
|
41
41
|
</AccessibilityIcon>
|
|
42
42
|
`;
|
|
43
43
|
|
|
44
|
-
exports[`renders the AccessibilityIcon with prop color=
|
|
44
|
+
exports[`renders the AccessibilityIcon with prop color=base-content 1`] = `
|
|
45
45
|
<AccessibilityIcon
|
|
46
|
-
color="
|
|
46
|
+
color="base-content"
|
|
47
47
|
>
|
|
48
48
|
<ForwardRef(Icon)
|
|
49
|
-
color="
|
|
49
|
+
color="base-content"
|
|
50
50
|
icon="accessibility"
|
|
51
51
|
>
|
|
52
52
|
<ForwardRef(SvgIcon)
|
|
53
53
|
className="ds-svg-icon--accessibility"
|
|
54
|
-
color="
|
|
54
|
+
color="base-content"
|
|
55
55
|
>
|
|
56
56
|
<ForwardRef(Base)
|
|
57
57
|
aria-hidden="true"
|
|
58
58
|
as="svg"
|
|
59
|
-
className="ds-svg-icon--accessibility ds-svg-icon--
|
|
59
|
+
className="ds-svg-icon--accessibility ds-svg-icon--base-content ds-svg-icon"
|
|
60
60
|
focusable="false"
|
|
61
61
|
viewBox="0 0 24 24"
|
|
62
62
|
>
|
|
63
63
|
<svg
|
|
64
64
|
aria-hidden="true"
|
|
65
|
-
className="ds-svg-icon--accessibility ds-svg-icon--
|
|
65
|
+
className="ds-svg-icon--accessibility ds-svg-icon--base-content ds-svg-icon"
|
|
66
66
|
focusable="false"
|
|
67
67
|
viewBox="0 0 24 24"
|
|
68
68
|
>
|
|
@@ -18,9 +18,9 @@ it('renders the AccessibilityIcon with prop size=l', function () {
|
|
|
18
18
|
expect(mount(_ref3)).toMatchSnapshot();
|
|
19
19
|
});
|
|
20
20
|
var _ref4 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
|
|
21
|
-
color: "
|
|
21
|
+
color: "base-content"
|
|
22
22
|
});
|
|
23
|
-
it('renders the AccessibilityIcon with prop color=
|
|
23
|
+
it('renders the AccessibilityIcon with prop color=base-content', function () {
|
|
24
24
|
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
25
|
});
|
|
26
26
|
var _ref5 = /*#__PURE__*/React.createElement(AccessibilityIcon, {
|
|
@@ -53,28 +53,28 @@ exports[`renders the BurgerIcon prop color= "error" 1`] = `
|
|
|
53
53
|
</BurgerIcon>
|
|
54
54
|
`;
|
|
55
55
|
|
|
56
|
-
exports[`renders the BurgerIcon prop color= "
|
|
56
|
+
exports[`renders the BurgerIcon prop color= "white" 1`] = `
|
|
57
57
|
<BurgerIcon
|
|
58
|
-
color="
|
|
58
|
+
color="white"
|
|
59
59
|
>
|
|
60
60
|
<ForwardRef(Icon)
|
|
61
|
-
color="
|
|
61
|
+
color="white"
|
|
62
62
|
icon="burger"
|
|
63
63
|
>
|
|
64
64
|
<ForwardRef(SvgIcon)
|
|
65
65
|
className="ds-svg-icon--burger"
|
|
66
|
-
color="
|
|
66
|
+
color="white"
|
|
67
67
|
>
|
|
68
68
|
<ForwardRef(Base)
|
|
69
69
|
aria-hidden="true"
|
|
70
70
|
as="svg"
|
|
71
|
-
className="ds-svg-icon--burger ds-svg-icon--
|
|
71
|
+
className="ds-svg-icon--burger ds-svg-icon--white ds-svg-icon"
|
|
72
72
|
focusable="false"
|
|
73
73
|
viewBox="0 0 24 24"
|
|
74
74
|
>
|
|
75
75
|
<svg
|
|
76
76
|
aria-hidden="true"
|
|
77
|
-
className="ds-svg-icon--burger ds-svg-icon--
|
|
77
|
+
className="ds-svg-icon--burger ds-svg-icon--white ds-svg-icon"
|
|
78
78
|
focusable="false"
|
|
79
79
|
viewBox="0 0 24 24"
|
|
80
80
|
>
|
|
@@ -106,30 +106,30 @@ exports[`renders the BurgerIcon prop color= "light" 1`] = `
|
|
|
106
106
|
</BurgerIcon>
|
|
107
107
|
`;
|
|
108
108
|
|
|
109
|
-
exports[`renders the BurgerIcon props active color= "
|
|
109
|
+
exports[`renders the BurgerIcon props active color= "white" 1`] = `
|
|
110
110
|
<BurgerIcon
|
|
111
111
|
active={true}
|
|
112
|
-
color="
|
|
112
|
+
color="white"
|
|
113
113
|
>
|
|
114
114
|
<ForwardRef(Icon)
|
|
115
115
|
active={true}
|
|
116
|
-
color="
|
|
116
|
+
color="white"
|
|
117
117
|
icon="burger"
|
|
118
118
|
>
|
|
119
119
|
<ForwardRef(SvgIcon)
|
|
120
120
|
className="ds-svg-icon--burger"
|
|
121
|
-
color="
|
|
121
|
+
color="white"
|
|
122
122
|
>
|
|
123
123
|
<ForwardRef(Base)
|
|
124
124
|
aria-hidden="true"
|
|
125
125
|
as="svg"
|
|
126
|
-
className="ds-svg-icon--burger ds-svg-icon--
|
|
126
|
+
className="ds-svg-icon--burger ds-svg-icon--white ds-svg-icon"
|
|
127
127
|
focusable="false"
|
|
128
128
|
viewBox="0 0 24 24"
|
|
129
129
|
>
|
|
130
130
|
<svg
|
|
131
131
|
aria-hidden="true"
|
|
132
|
-
className="ds-svg-icon--burger ds-svg-icon--
|
|
132
|
+
className="ds-svg-icon--burger ds-svg-icon--white ds-svg-icon"
|
|
133
133
|
focusable="false"
|
|
134
134
|
viewBox="0 0 24 24"
|
|
135
135
|
>
|
|
@@ -266,28 +266,28 @@ exports[`renders the BurgerIcon with prop active=true 1`] = `
|
|
|
266
266
|
</BurgerIcon>
|
|
267
267
|
`;
|
|
268
268
|
|
|
269
|
-
exports[`renders the BurgerIcon with prop color=
|
|
269
|
+
exports[`renders the BurgerIcon with prop color=base-content 1`] = `
|
|
270
270
|
<BurgerIcon
|
|
271
|
-
color="
|
|
271
|
+
color="base-content"
|
|
272
272
|
>
|
|
273
273
|
<ForwardRef(Icon)
|
|
274
|
-
color="
|
|
274
|
+
color="base-content"
|
|
275
275
|
icon="burger"
|
|
276
276
|
>
|
|
277
277
|
<ForwardRef(SvgIcon)
|
|
278
278
|
className="ds-svg-icon--burger"
|
|
279
|
-
color="
|
|
279
|
+
color="base-content"
|
|
280
280
|
>
|
|
281
281
|
<ForwardRef(Base)
|
|
282
282
|
aria-hidden="true"
|
|
283
283
|
as="svg"
|
|
284
|
-
className="ds-svg-icon--burger ds-svg-icon--
|
|
284
|
+
className="ds-svg-icon--burger ds-svg-icon--base-content ds-svg-icon"
|
|
285
285
|
focusable="false"
|
|
286
286
|
viewBox="0 0 24 24"
|
|
287
287
|
>
|
|
288
288
|
<svg
|
|
289
289
|
aria-hidden="true"
|
|
290
|
-
className="ds-svg-icon--burger ds-svg-icon--
|
|
290
|
+
className="ds-svg-icon--burger ds-svg-icon--base-content ds-svg-icon"
|
|
291
291
|
focusable="false"
|
|
292
292
|
viewBox="0 0 24 24"
|
|
293
293
|
>
|
|
@@ -12,15 +12,15 @@ it('renders the BurgerIcon with prop active=true', function () {
|
|
|
12
12
|
expect(mount(_ref2)).toMatchSnapshot();
|
|
13
13
|
});
|
|
14
14
|
var _ref3 = /*#__PURE__*/React.createElement(BurgerIcon, {
|
|
15
|
-
color: "
|
|
15
|
+
color: "base-content"
|
|
16
16
|
});
|
|
17
|
-
it('renders the BurgerIcon with prop color=
|
|
17
|
+
it('renders the BurgerIcon with prop color=base-content', function () {
|
|
18
18
|
expect(mount(_ref3)).toMatchSnapshot();
|
|
19
19
|
});
|
|
20
20
|
var _ref4 = /*#__PURE__*/React.createElement(BurgerIcon, {
|
|
21
|
-
color: "
|
|
21
|
+
color: "white"
|
|
22
22
|
});
|
|
23
|
-
it('renders the BurgerIcon prop color= "
|
|
23
|
+
it('renders the BurgerIcon prop color= "white"', function () {
|
|
24
24
|
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
25
|
});
|
|
26
26
|
var _ref5 = /*#__PURE__*/React.createElement(BurgerIcon, {
|
|
@@ -31,8 +31,8 @@ it('renders the BurgerIcon prop color= "error"', function () {
|
|
|
31
31
|
});
|
|
32
32
|
var _ref6 = /*#__PURE__*/React.createElement(BurgerIcon, {
|
|
33
33
|
active: true,
|
|
34
|
-
color: "
|
|
34
|
+
color: "white"
|
|
35
35
|
});
|
|
36
|
-
it('renders the BurgerIcon props active color= "
|
|
36
|
+
it('renders the BurgerIcon props active color= "white"', function () {
|
|
37
37
|
expect(mount(_ref6)).toMatchSnapshot();
|
|
38
38
|
});
|
|
@@ -73,28 +73,28 @@ exports[`renders the CancelIcon with prop color=error and size= xl 1`] = `
|
|
|
73
73
|
</CancelIcon>
|
|
74
74
|
`;
|
|
75
75
|
|
|
76
|
-
exports[`renders the CancelIcon with prop color=
|
|
76
|
+
exports[`renders the CancelIcon with prop color=warning 1`] = `
|
|
77
77
|
<CancelIcon
|
|
78
|
-
color="
|
|
78
|
+
color="warning"
|
|
79
79
|
>
|
|
80
80
|
<ForwardRef(Icon)
|
|
81
|
-
color="
|
|
81
|
+
color="warning"
|
|
82
82
|
icon="cancel"
|
|
83
83
|
>
|
|
84
84
|
<ForwardRef(SvgIcon)
|
|
85
85
|
className="ds-svg-icon--cancel"
|
|
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--cancel ds-svg-icon--
|
|
91
|
+
className="ds-svg-icon--cancel 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--cancel ds-svg-icon--
|
|
97
|
+
className="ds-svg-icon--cancel 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 CancelIcon with prop color=light 1`] = `
|
|
|
110
110
|
</CancelIcon>
|
|
111
111
|
`;
|
|
112
112
|
|
|
113
|
-
exports[`renders the CancelIcon with prop color=warning 1`] = `
|
|
113
|
+
exports[`renders the CancelIcon with prop color=warning and size=s 1`] = `
|
|
114
114
|
<CancelIcon
|
|
115
115
|
color="warning"
|
|
116
|
+
size="sm"
|
|
116
117
|
>
|
|
117
118
|
<ForwardRef(Icon)
|
|
118
119
|
color="warning"
|
|
119
120
|
icon="cancel"
|
|
121
|
+
size="sm"
|
|
120
122
|
>
|
|
121
123
|
<ForwardRef(SvgIcon)
|
|
122
124
|
className="ds-svg-icon--cancel"
|
|
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--cancel ds-svg-icon--warning ds-svg-icon"
|
|
131
|
+
className="ds-svg-icon--cancel 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--cancel ds-svg-icon--warning ds-svg-icon"
|
|
137
|
+
className="ds-svg-icon--cancel 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 CancelIcon with prop color=warning 1`] = `
|
|
|
147
150
|
</CancelIcon>
|
|
148
151
|
`;
|
|
149
152
|
|
|
150
|
-
exports[`renders the CancelIcon with prop color=
|
|
153
|
+
exports[`renders the CancelIcon with prop color=white 1`] = `
|
|
151
154
|
<CancelIcon
|
|
152
|
-
color="
|
|
153
|
-
size="sm"
|
|
155
|
+
color="white"
|
|
154
156
|
>
|
|
155
157
|
<ForwardRef(Icon)
|
|
156
|
-
color="
|
|
158
|
+
color="white"
|
|
157
159
|
icon="cancel"
|
|
158
|
-
size="sm"
|
|
159
160
|
>
|
|
160
161
|
<ForwardRef(SvgIcon)
|
|
161
162
|
className="ds-svg-icon--cancel"
|
|
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--cancel ds-svg-icon--
|
|
168
|
+
className="ds-svg-icon--cancel 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--cancel ds-svg-icon--
|
|
174
|
+
className="ds-svg-icon--cancel ds-svg-icon--white ds-svg-icon"
|
|
175
175
|
focusable="false"
|
|
176
176
|
viewBox="0 0 24 24"
|
|
177
177
|
>
|
|
@@ -18,9 +18,9 @@ it('renders the CancelIcon with prop size=xl', function () {
|
|
|
18
18
|
expect(mount(_ref3)).toMatchSnapshot();
|
|
19
19
|
});
|
|
20
20
|
var _ref4 = /*#__PURE__*/React.createElement(CancelIcon, {
|
|
21
|
-
color: "
|
|
21
|
+
color: "white"
|
|
22
22
|
});
|
|
23
|
-
it('renders the CancelIcon with prop color=
|
|
23
|
+
it('renders the CancelIcon with prop color=white', function () {
|
|
24
24
|
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
25
|
});
|
|
26
26
|
var _ref5 = /*#__PURE__*/React.createElement(CancelIcon, {
|
|
@@ -111,28 +111,28 @@ exports[`renders the ChatIcon with prop color=error and size= xl 1`] = `
|
|
|
111
111
|
</ChatIcon>
|
|
112
112
|
`;
|
|
113
113
|
|
|
114
|
-
exports[`renders the ChatIcon with prop color=
|
|
114
|
+
exports[`renders the ChatIcon with prop color=warning 1`] = `
|
|
115
115
|
<ChatIcon
|
|
116
|
-
color="
|
|
116
|
+
color="warning"
|
|
117
117
|
>
|
|
118
118
|
<ForwardRef(Icon)
|
|
119
|
-
color="
|
|
119
|
+
color="warning"
|
|
120
120
|
icon="chat"
|
|
121
121
|
>
|
|
122
122
|
<ForwardRef(SvgIcon)
|
|
123
123
|
className="ds-svg-icon--chat"
|
|
124
|
-
color="
|
|
124
|
+
color="warning"
|
|
125
125
|
>
|
|
126
126
|
<ForwardRef(Base)
|
|
127
127
|
aria-hidden="true"
|
|
128
128
|
as="svg"
|
|
129
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
129
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
|
|
130
130
|
focusable="false"
|
|
131
131
|
viewBox="0 0 24 24"
|
|
132
132
|
>
|
|
133
133
|
<svg
|
|
134
134
|
aria-hidden="true"
|
|
135
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
135
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
|
|
136
136
|
focusable="false"
|
|
137
137
|
viewBox="0 0 24 24"
|
|
138
138
|
>
|
|
@@ -148,28 +148,31 @@ exports[`renders the ChatIcon with prop color=light 1`] = `
|
|
|
148
148
|
</ChatIcon>
|
|
149
149
|
`;
|
|
150
150
|
|
|
151
|
-
exports[`renders the ChatIcon with prop color=warning 1`] = `
|
|
151
|
+
exports[`renders the ChatIcon with prop color=warning and size=sm 1`] = `
|
|
152
152
|
<ChatIcon
|
|
153
153
|
color="warning"
|
|
154
|
+
size="sm"
|
|
154
155
|
>
|
|
155
156
|
<ForwardRef(Icon)
|
|
156
157
|
color="warning"
|
|
157
158
|
icon="chat"
|
|
159
|
+
size="sm"
|
|
158
160
|
>
|
|
159
161
|
<ForwardRef(SvgIcon)
|
|
160
162
|
className="ds-svg-icon--chat"
|
|
161
163
|
color="warning"
|
|
164
|
+
size="sm"
|
|
162
165
|
>
|
|
163
166
|
<ForwardRef(Base)
|
|
164
167
|
aria-hidden="true"
|
|
165
168
|
as="svg"
|
|
166
|
-
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
|
|
169
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
167
170
|
focusable="false"
|
|
168
171
|
viewBox="0 0 24 24"
|
|
169
172
|
>
|
|
170
173
|
<svg
|
|
171
174
|
aria-hidden="true"
|
|
172
|
-
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
|
|
175
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
173
176
|
focusable="false"
|
|
174
177
|
viewBox="0 0 24 24"
|
|
175
178
|
>
|
|
@@ -185,31 +188,28 @@ exports[`renders the ChatIcon with prop color=warning 1`] = `
|
|
|
185
188
|
</ChatIcon>
|
|
186
189
|
`;
|
|
187
190
|
|
|
188
|
-
exports[`renders the ChatIcon with prop color=
|
|
191
|
+
exports[`renders the ChatIcon with prop color=white 1`] = `
|
|
189
192
|
<ChatIcon
|
|
190
|
-
color="
|
|
191
|
-
size="sm"
|
|
193
|
+
color="white"
|
|
192
194
|
>
|
|
193
195
|
<ForwardRef(Icon)
|
|
194
|
-
color="
|
|
196
|
+
color="white"
|
|
195
197
|
icon="chat"
|
|
196
|
-
size="sm"
|
|
197
198
|
>
|
|
198
199
|
<ForwardRef(SvgIcon)
|
|
199
200
|
className="ds-svg-icon--chat"
|
|
200
|
-
color="
|
|
201
|
-
size="sm"
|
|
201
|
+
color="white"
|
|
202
202
|
>
|
|
203
203
|
<ForwardRef(Base)
|
|
204
204
|
aria-hidden="true"
|
|
205
205
|
as="svg"
|
|
206
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
206
|
+
className="ds-svg-icon--chat ds-svg-icon--white ds-svg-icon"
|
|
207
207
|
focusable="false"
|
|
208
208
|
viewBox="0 0 24 24"
|
|
209
209
|
>
|
|
210
210
|
<svg
|
|
211
211
|
aria-hidden="true"
|
|
212
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
212
|
+
className="ds-svg-icon--chat ds-svg-icon--white ds-svg-icon"
|
|
213
213
|
focusable="false"
|
|
214
214
|
viewBox="0 0 24 24"
|
|
215
215
|
>
|
|
@@ -24,9 +24,9 @@ it('renders the ChatIcon with prop size=xl', function () {
|
|
|
24
24
|
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
25
|
});
|
|
26
26
|
var _ref5 = /*#__PURE__*/React.createElement(ChatIcon, {
|
|
27
|
-
color: "
|
|
27
|
+
color: "white"
|
|
28
28
|
});
|
|
29
|
-
it('renders the ChatIcon with prop color=
|
|
29
|
+
it('renders the ChatIcon with prop color=white', function () {
|
|
30
30
|
expect(mount(_ref5)).toMatchSnapshot();
|
|
31
31
|
});
|
|
32
32
|
var _ref6 = /*#__PURE__*/React.createElement(ChatIcon, {
|
|
@@ -73,28 +73,28 @@ exports[`renders the CheckIcon with prop color=error and size= xl 1`] = `
|
|
|
73
73
|
</CheckIcon>
|
|
74
74
|
`;
|
|
75
75
|
|
|
76
|
-
exports[`renders the CheckIcon with prop color=
|
|
76
|
+
exports[`renders the CheckIcon with prop color=success 1`] = `
|
|
77
77
|
<CheckIcon
|
|
78
|
-
color="
|
|
78
|
+
color="success"
|
|
79
79
|
>
|
|
80
80
|
<ForwardRef(Icon)
|
|
81
|
-
color="
|
|
81
|
+
color="success"
|
|
82
82
|
icon="check"
|
|
83
83
|
>
|
|
84
84
|
<ForwardRef(SvgIcon)
|
|
85
85
|
className="ds-svg-icon--check"
|
|
86
|
-
color="
|
|
86
|
+
color="success"
|
|
87
87
|
>
|
|
88
88
|
<ForwardRef(Base)
|
|
89
89
|
aria-hidden="true"
|
|
90
90
|
as="svg"
|
|
91
|
-
className="ds-svg-icon--check ds-svg-icon--
|
|
91
|
+
className="ds-svg-icon--check ds-svg-icon--success 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--check ds-svg-icon--
|
|
97
|
+
className="ds-svg-icon--check ds-svg-icon--success ds-svg-icon"
|
|
98
98
|
focusable="false"
|
|
99
99
|
viewBox="0 0 24 24"
|
|
100
100
|
>
|
|
@@ -110,28 +110,28 @@ exports[`renders the CheckIcon with prop color=light 1`] = `
|
|
|
110
110
|
</CheckIcon>
|
|
111
111
|
`;
|
|
112
112
|
|
|
113
|
-
exports[`renders the CheckIcon with prop color=
|
|
113
|
+
exports[`renders the CheckIcon with prop color=warning 1`] = `
|
|
114
114
|
<CheckIcon
|
|
115
|
-
color="
|
|
115
|
+
color="warning"
|
|
116
116
|
>
|
|
117
117
|
<ForwardRef(Icon)
|
|
118
|
-
color="
|
|
118
|
+
color="warning"
|
|
119
119
|
icon="check"
|
|
120
120
|
>
|
|
121
121
|
<ForwardRef(SvgIcon)
|
|
122
122
|
className="ds-svg-icon--check"
|
|
123
|
-
color="
|
|
123
|
+
color="warning"
|
|
124
124
|
>
|
|
125
125
|
<ForwardRef(Base)
|
|
126
126
|
aria-hidden="true"
|
|
127
127
|
as="svg"
|
|
128
|
-
className="ds-svg-icon--check ds-svg-icon--
|
|
128
|
+
className="ds-svg-icon--check 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--check ds-svg-icon--
|
|
134
|
+
className="ds-svg-icon--check 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 CheckIcon with prop color=success 1`] = `
|
|
|
147
147
|
</CheckIcon>
|
|
148
148
|
`;
|
|
149
149
|
|
|
150
|
-
exports[`renders the CheckIcon with prop color=warning 1`] = `
|
|
150
|
+
exports[`renders the CheckIcon with prop color=warning and size=s 1`] = `
|
|
151
151
|
<CheckIcon
|
|
152
152
|
color="warning"
|
|
153
|
+
size="sm"
|
|
153
154
|
>
|
|
154
155
|
<ForwardRef(Icon)
|
|
155
156
|
color="warning"
|
|
156
157
|
icon="check"
|
|
158
|
+
size="sm"
|
|
157
159
|
>
|
|
158
160
|
<ForwardRef(SvgIcon)
|
|
159
161
|
className="ds-svg-icon--check"
|
|
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--check ds-svg-icon--warning ds-svg-icon"
|
|
168
|
+
className="ds-svg-icon--check 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--check ds-svg-icon--warning ds-svg-icon"
|
|
174
|
+
className="ds-svg-icon--check 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,31 +187,28 @@ exports[`renders the CheckIcon with prop color=warning 1`] = `
|
|
|
184
187
|
</CheckIcon>
|
|
185
188
|
`;
|
|
186
189
|
|
|
187
|
-
exports[`renders the CheckIcon with prop color=
|
|
190
|
+
exports[`renders the CheckIcon with prop color=white 1`] = `
|
|
188
191
|
<CheckIcon
|
|
189
|
-
color="
|
|
190
|
-
size="sm"
|
|
192
|
+
color="white"
|
|
191
193
|
>
|
|
192
194
|
<ForwardRef(Icon)
|
|
193
|
-
color="
|
|
195
|
+
color="white"
|
|
194
196
|
icon="check"
|
|
195
|
-
size="sm"
|
|
196
197
|
>
|
|
197
198
|
<ForwardRef(SvgIcon)
|
|
198
199
|
className="ds-svg-icon--check"
|
|
199
|
-
color="
|
|
200
|
-
size="sm"
|
|
200
|
+
color="white"
|
|
201
201
|
>
|
|
202
202
|
<ForwardRef(Base)
|
|
203
203
|
aria-hidden="true"
|
|
204
204
|
as="svg"
|
|
205
|
-
className="ds-svg-icon--check ds-svg-icon--
|
|
205
|
+
className="ds-svg-icon--check ds-svg-icon--white ds-svg-icon"
|
|
206
206
|
focusable="false"
|
|
207
207
|
viewBox="0 0 24 24"
|
|
208
208
|
>
|
|
209
209
|
<svg
|
|
210
210
|
aria-hidden="true"
|
|
211
|
-
className="ds-svg-icon--check ds-svg-icon--
|
|
211
|
+
className="ds-svg-icon--check ds-svg-icon--white ds-svg-icon"
|
|
212
212
|
focusable="false"
|
|
213
213
|
viewBox="0 0 24 24"
|
|
214
214
|
>
|
|
@@ -18,9 +18,9 @@ it('renders the CheckIcon with prop size=xl', function () {
|
|
|
18
18
|
expect(mount(_ref3)).toMatchSnapshot();
|
|
19
19
|
});
|
|
20
20
|
var _ref4 = /*#__PURE__*/React.createElement(CheckIcon, {
|
|
21
|
-
color: "
|
|
21
|
+
color: "white"
|
|
22
22
|
});
|
|
23
|
-
it('renders the CheckIcon with prop color=
|
|
23
|
+
it('renders the CheckIcon with prop color=white', function () {
|
|
24
24
|
expect(mount(_ref4)).toMatchSnapshot();
|
|
25
25
|
});
|
|
26
26
|
var _ref5 = /*#__PURE__*/React.createElement(CheckIcon, {
|