@digigov/react-icons 2.0.0-8de46296 → 2.0.0-b3ec0588
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/AccessibilityIcon/index.test/index.js +12 -12
- package/BurgerIcon/__snapshots__/index.test.tsx.snap +16 -16
- package/BurgerIcon/index.test/index.js +8 -8
- package/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/CancelIcon/index.test/index.js +8 -8
- package/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/ChatIcon/index.test/index.js +8 -8
- package/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
- package/CheckIcon/index.test/index.js +10 -10
- package/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/DownloadIcon/index.test/index.js +8 -8
- package/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
- package/ExclamationIcon/index.test/index.js +8 -8
- package/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/GlobeIcon/index.test/index.js +6 -6
- package/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/LockIcon/index.test/index.js +8 -8
- package/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/LoginIcon/index.test/index.js +8 -8
- package/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/MinusIcon/index.test/index.js +8 -8
- package/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/MoreVertIcon/index.test/index.js +12 -12
- package/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/PdfFileIcon/index.test/index.js +8 -8
- package/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/PlusIcon/index.test/index.js +8 -8
- package/PrintIcon/__snapshots__/index.test.tsx.snap +39 -39
- package/PrintIcon/index.test/index.js +8 -8
- package/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/ReplyIcon/index.test/index.js +8 -8
- package/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/RestoreIcon/index.test/index.js +8 -8
- package/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
- package/UncheckIcon/index.test/index.js +12 -12
- package/cjs/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/cjs/AccessibilityIcon/index.test/index.js +12 -12
- package/cjs/BurgerIcon/__snapshots__/index.test.tsx.snap +16 -16
- package/cjs/BurgerIcon/index.test/index.js +8 -8
- package/cjs/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/CancelIcon/index.test/index.js +8 -8
- package/cjs/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/ChatIcon/index.test/index.js +8 -8
- package/cjs/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
- package/cjs/CheckIcon/index.test/index.js +10 -10
- package/cjs/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/DownloadIcon/index.test/index.js +8 -8
- package/cjs/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
- package/cjs/ExclamationIcon/index.test/index.js +8 -8
- package/cjs/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/cjs/GlobeIcon/index.test/index.js +6 -6
- package/cjs/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/LockIcon/index.test/index.js +8 -8
- package/cjs/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/LoginIcon/index.test/index.js +8 -8
- package/cjs/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/MinusIcon/index.test/index.js +8 -8
- package/cjs/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/cjs/MoreVertIcon/index.test/index.js +12 -12
- package/cjs/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/PdfFileIcon/index.test/index.js +8 -8
- package/cjs/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/PlusIcon/index.test/index.js +8 -8
- package/cjs/PrintIcon/__snapshots__/index.test.tsx.snap +39 -39
- package/cjs/PrintIcon/index.test/index.js +8 -8
- package/cjs/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/ReplyIcon/index.test/index.js +8 -8
- package/cjs/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/cjs/RestoreIcon/index.test/index.js +8 -8
- package/cjs/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
- package/cjs/UncheckIcon/index.test/index.js +12 -12
- package/index.js +1 -1
- package/package.json +3 -3
- package/src/AccessibilityIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/src/AccessibilityIcon/index.test.tsx +12 -12
- package/src/BurgerIcon/__snapshots__/index.test.tsx.snap +16 -16
- package/src/BurgerIcon/index.test.tsx +8 -8
- package/src/CancelIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/CancelIcon/index.test.tsx +8 -8
- package/src/ChatIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/ChatIcon/index.test.tsx +8 -8
- package/src/CheckIcon/__snapshots__/index.test.tsx.snap +48 -48
- package/src/CheckIcon/index.test.tsx +10 -10
- package/src/DownloadIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/DownloadIcon/index.test.tsx +8 -8
- package/src/ExclamationIcon/__snapshots__/index.test.tsx.snap +39 -39
- package/src/ExclamationIcon/index.test.tsx +8 -8
- package/src/GlobeIcon/__snapshots__/index.test.tsx.snap +12 -12
- package/src/GlobeIcon/index.test.tsx +6 -6
- package/src/LockIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/LockIcon/index.test.tsx +8 -8
- package/src/LoginIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/LoginIcon/index.test.tsx +8 -8
- package/src/MinusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/MinusIcon/index.test.tsx +8 -8
- package/src/MoreVertIcon/__snapshots__/index.test.tsx.snap +51 -51
- package/src/MoreVertIcon/index.test.tsx +12 -12
- package/src/PdfFileIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/PdfFileIcon/index.test.tsx +8 -8
- package/src/PlusIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/PlusIcon/index.test.tsx +8 -8
- package/src/PrintIcon/__snapshots__/index.test.tsx.snap +39 -39
- package/src/PrintIcon/index.test.tsx +8 -8
- package/src/ReplyIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/ReplyIcon/index.test.tsx +8 -8
- package/src/RestoreIcon/__snapshots__/index.test.tsx.snap +42 -42
- package/src/RestoreIcon/index.test.tsx +8 -8
- package/src/UncheckIcon/__snapshots__/index.test.tsx.snap +54 -54
- package/src/UncheckIcon/index.test.tsx +12 -12
|
@@ -21,40 +21,40 @@ it('renders the AccessibilityIcon with prop size=l', function () {
|
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_AccessibilityIcon["default"], {
|
|
24
|
-
|
|
24
|
+
color: "dark"
|
|
25
25
|
});
|
|
26
|
-
it('renders the AccessibilityIcon with prop
|
|
26
|
+
it('renders the AccessibilityIcon with prop color=dark', function () {
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_AccessibilityIcon["default"], {
|
|
30
|
-
|
|
30
|
+
color: "primary"
|
|
31
31
|
});
|
|
32
|
-
it('renders the AccessibilityIcon with prop
|
|
32
|
+
it('renders the AccessibilityIcon with prop color=primary', function () {
|
|
33
33
|
expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
|
|
34
34
|
});
|
|
35
35
|
var _ref6 = /*#__PURE__*/_react["default"].createElement(_AccessibilityIcon["default"], {
|
|
36
|
-
|
|
36
|
+
color: "success"
|
|
37
37
|
});
|
|
38
|
-
it('renders the AccessibilityIcon with prop
|
|
38
|
+
it('renders the AccessibilityIcon with prop color=success', function () {
|
|
39
39
|
expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
|
|
40
40
|
});
|
|
41
41
|
var _ref7 = /*#__PURE__*/_react["default"].createElement(_AccessibilityIcon["default"], {
|
|
42
|
-
|
|
42
|
+
color: "error"
|
|
43
43
|
});
|
|
44
|
-
it('renders the AccessibilityIcon with prop
|
|
44
|
+
it('renders the AccessibilityIcon with prop color=error', function () {
|
|
45
45
|
expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
|
|
46
46
|
});
|
|
47
47
|
var _ref8 = /*#__PURE__*/_react["default"].createElement(_AccessibilityIcon["default"], {
|
|
48
|
-
|
|
48
|
+
color: "warning",
|
|
49
49
|
size: "sm"
|
|
50
50
|
});
|
|
51
|
-
it('renders the AccessibilityIcon with prop
|
|
51
|
+
it('renders the AccessibilityIcon with prop color=warning and size=s', function () {
|
|
52
52
|
expect((0, _enzyme.mount)(_ref8)).toMatchSnapshot();
|
|
53
53
|
});
|
|
54
54
|
var _ref9 = /*#__PURE__*/_react["default"].createElement(_AccessibilityIcon["default"], {
|
|
55
|
-
|
|
55
|
+
color: "warning",
|
|
56
56
|
size: "xl"
|
|
57
57
|
});
|
|
58
|
-
it('renders the AccessibilityIcon with prop
|
|
58
|
+
it('renders the AccessibilityIcon with prop color=error and size= xl', function () {
|
|
59
59
|
expect((0, _enzyme.mount)(_ref9)).toMatchSnapshot();
|
|
60
60
|
});
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`renders the BurgerIcon prop
|
|
3
|
+
exports[`renders the BurgerIcon prop color= "error" 1`] = `
|
|
4
4
|
<BurgerIcon
|
|
5
|
-
|
|
5
|
+
color="error"
|
|
6
6
|
>
|
|
7
7
|
<ForwardRef(Icon)
|
|
8
|
+
color="error"
|
|
8
9
|
icon="burger"
|
|
9
|
-
variant="error"
|
|
10
10
|
>
|
|
11
11
|
<ForwardRef(SvgIcon)
|
|
12
12
|
className="ds-svg-icon--burger"
|
|
13
|
-
|
|
13
|
+
color="error"
|
|
14
14
|
>
|
|
15
15
|
<ForwardRef(Base)
|
|
16
16
|
aria-hidden="true"
|
|
@@ -53,17 +53,17 @@ exports[`renders the BurgerIcon prop variant= "error" 1`] = `
|
|
|
53
53
|
</BurgerIcon>
|
|
54
54
|
`;
|
|
55
55
|
|
|
56
|
-
exports[`renders the BurgerIcon prop
|
|
56
|
+
exports[`renders the BurgerIcon prop color= "light" 1`] = `
|
|
57
57
|
<BurgerIcon
|
|
58
|
-
|
|
58
|
+
color="light"
|
|
59
59
|
>
|
|
60
60
|
<ForwardRef(Icon)
|
|
61
|
+
color="light"
|
|
61
62
|
icon="burger"
|
|
62
|
-
variant="light"
|
|
63
63
|
>
|
|
64
64
|
<ForwardRef(SvgIcon)
|
|
65
65
|
className="ds-svg-icon--burger"
|
|
66
|
-
|
|
66
|
+
color="light"
|
|
67
67
|
>
|
|
68
68
|
<ForwardRef(Base)
|
|
69
69
|
aria-hidden="true"
|
|
@@ -106,19 +106,19 @@ exports[`renders the BurgerIcon prop variant= "light" 1`] = `
|
|
|
106
106
|
</BurgerIcon>
|
|
107
107
|
`;
|
|
108
108
|
|
|
109
|
-
exports[`renders the BurgerIcon props active
|
|
109
|
+
exports[`renders the BurgerIcon props active color= "light" 1`] = `
|
|
110
110
|
<BurgerIcon
|
|
111
111
|
active={true}
|
|
112
|
-
|
|
112
|
+
color="light"
|
|
113
113
|
>
|
|
114
114
|
<ForwardRef(Icon)
|
|
115
115
|
active={true}
|
|
116
|
+
color="light"
|
|
116
117
|
icon="burger"
|
|
117
|
-
variant="light"
|
|
118
118
|
>
|
|
119
119
|
<ForwardRef(SvgIcon)
|
|
120
120
|
className="ds-svg-icon--burger"
|
|
121
|
-
|
|
121
|
+
color="light"
|
|
122
122
|
>
|
|
123
123
|
<ForwardRef(Base)
|
|
124
124
|
aria-hidden="true"
|
|
@@ -266,17 +266,17 @@ exports[`renders the BurgerIcon with prop active=true 1`] = `
|
|
|
266
266
|
</BurgerIcon>
|
|
267
267
|
`;
|
|
268
268
|
|
|
269
|
-
exports[`renders the BurgerIcon with prop
|
|
269
|
+
exports[`renders the BurgerIcon with prop color=dark 1`] = `
|
|
270
270
|
<BurgerIcon
|
|
271
|
-
|
|
271
|
+
color="dark"
|
|
272
272
|
>
|
|
273
273
|
<ForwardRef(Icon)
|
|
274
|
+
color="dark"
|
|
274
275
|
icon="burger"
|
|
275
|
-
variant="dark"
|
|
276
276
|
>
|
|
277
277
|
<ForwardRef(SvgIcon)
|
|
278
278
|
className="ds-svg-icon--burger"
|
|
279
|
-
|
|
279
|
+
color="dark"
|
|
280
280
|
>
|
|
281
281
|
<ForwardRef(Base)
|
|
282
282
|
aria-hidden="true"
|
|
@@ -15,27 +15,27 @@ it('renders the BurgerIcon with prop active=true', function () {
|
|
|
15
15
|
expect((0, _enzyme.mount)(_ref2)).toMatchSnapshot();
|
|
16
16
|
});
|
|
17
17
|
var _ref3 = /*#__PURE__*/_react["default"].createElement(_BurgerIcon["default"], {
|
|
18
|
-
|
|
18
|
+
color: "dark"
|
|
19
19
|
});
|
|
20
|
-
it('renders the BurgerIcon with prop
|
|
20
|
+
it('renders the BurgerIcon with prop color=dark', function () {
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_BurgerIcon["default"], {
|
|
24
|
-
|
|
24
|
+
color: "light"
|
|
25
25
|
});
|
|
26
|
-
it('renders the BurgerIcon prop
|
|
26
|
+
it('renders the BurgerIcon prop color= "light"', function () {
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_BurgerIcon["default"], {
|
|
30
|
-
|
|
30
|
+
color: "error"
|
|
31
31
|
});
|
|
32
|
-
it('renders the BurgerIcon prop
|
|
32
|
+
it('renders the BurgerIcon prop color= "error"', function () {
|
|
33
33
|
expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
|
|
34
34
|
});
|
|
35
35
|
var _ref6 = /*#__PURE__*/_react["default"].createElement(_BurgerIcon["default"], {
|
|
36
36
|
active: true,
|
|
37
|
-
|
|
37
|
+
color: "light"
|
|
38
38
|
});
|
|
39
|
-
it('renders the BurgerIcon props active
|
|
39
|
+
it('renders the BurgerIcon props active color= "light"', function () {
|
|
40
40
|
expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
|
|
41
41
|
});
|
|
@@ -33,28 +33,31 @@ exports[`renders the CancelIcon with no props 1`] = `
|
|
|
33
33
|
</CancelIcon>
|
|
34
34
|
`;
|
|
35
35
|
|
|
36
|
-
exports[`renders the CancelIcon with prop size=
|
|
36
|
+
exports[`renders the CancelIcon with prop color=error and size= xl 1`] = `
|
|
37
37
|
<CancelIcon
|
|
38
|
-
|
|
38
|
+
color="warning"
|
|
39
|
+
size="xl"
|
|
39
40
|
>
|
|
40
41
|
<ForwardRef(Icon)
|
|
42
|
+
color="warning"
|
|
41
43
|
icon="cancel"
|
|
42
|
-
size="
|
|
44
|
+
size="xl"
|
|
43
45
|
>
|
|
44
46
|
<ForwardRef(SvgIcon)
|
|
45
47
|
className="ds-svg-icon--cancel"
|
|
46
|
-
|
|
48
|
+
color="warning"
|
|
49
|
+
size="xl"
|
|
47
50
|
>
|
|
48
51
|
<ForwardRef(Base)
|
|
49
52
|
aria-hidden="true"
|
|
50
53
|
as="svg"
|
|
51
|
-
className="ds-svg-icon--cancel ds-svg-icon--
|
|
54
|
+
className="ds-svg-icon--cancel ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
52
55
|
focusable="false"
|
|
53
56
|
viewBox="0 0 24 24"
|
|
54
57
|
>
|
|
55
58
|
<svg
|
|
56
59
|
aria-hidden="true"
|
|
57
|
-
className="ds-svg-icon--cancel ds-svg-icon--
|
|
60
|
+
className="ds-svg-icon--cancel ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
58
61
|
focusable="false"
|
|
59
62
|
viewBox="0 0 24 24"
|
|
60
63
|
>
|
|
@@ -70,28 +73,28 @@ exports[`renders the CancelIcon with prop size=m 1`] = `
|
|
|
70
73
|
</CancelIcon>
|
|
71
74
|
`;
|
|
72
75
|
|
|
73
|
-
exports[`renders the CancelIcon with prop
|
|
76
|
+
exports[`renders the CancelIcon with prop color=light 1`] = `
|
|
74
77
|
<CancelIcon
|
|
75
|
-
|
|
78
|
+
color="light"
|
|
76
79
|
>
|
|
77
80
|
<ForwardRef(Icon)
|
|
81
|
+
color="light"
|
|
78
82
|
icon="cancel"
|
|
79
|
-
size="xl"
|
|
80
83
|
>
|
|
81
84
|
<ForwardRef(SvgIcon)
|
|
82
85
|
className="ds-svg-icon--cancel"
|
|
83
|
-
|
|
86
|
+
color="light"
|
|
84
87
|
>
|
|
85
88
|
<ForwardRef(Base)
|
|
86
89
|
aria-hidden="true"
|
|
87
90
|
as="svg"
|
|
88
|
-
className="ds-svg-icon--cancel ds-svg-icon--
|
|
91
|
+
className="ds-svg-icon--cancel ds-svg-icon--light ds-svg-icon"
|
|
89
92
|
focusable="false"
|
|
90
93
|
viewBox="0 0 24 24"
|
|
91
94
|
>
|
|
92
95
|
<svg
|
|
93
96
|
aria-hidden="true"
|
|
94
|
-
className="ds-svg-icon--cancel ds-svg-icon--
|
|
97
|
+
className="ds-svg-icon--cancel ds-svg-icon--light ds-svg-icon"
|
|
95
98
|
focusable="false"
|
|
96
99
|
viewBox="0 0 24 24"
|
|
97
100
|
>
|
|
@@ -107,31 +110,28 @@ exports[`renders the CancelIcon with prop size=xl 1`] = `
|
|
|
107
110
|
</CancelIcon>
|
|
108
111
|
`;
|
|
109
112
|
|
|
110
|
-
exports[`renders the CancelIcon with prop
|
|
113
|
+
exports[`renders the CancelIcon with prop color=warning 1`] = `
|
|
111
114
|
<CancelIcon
|
|
112
|
-
|
|
113
|
-
variant="warning"
|
|
115
|
+
color="warning"
|
|
114
116
|
>
|
|
115
117
|
<ForwardRef(Icon)
|
|
118
|
+
color="warning"
|
|
116
119
|
icon="cancel"
|
|
117
|
-
size="xl"
|
|
118
|
-
variant="warning"
|
|
119
120
|
>
|
|
120
121
|
<ForwardRef(SvgIcon)
|
|
121
122
|
className="ds-svg-icon--cancel"
|
|
122
|
-
|
|
123
|
-
variant="warning"
|
|
123
|
+
color="warning"
|
|
124
124
|
>
|
|
125
125
|
<ForwardRef(Base)
|
|
126
126
|
aria-hidden="true"
|
|
127
127
|
as="svg"
|
|
128
|
-
className="ds-svg-icon--cancel ds-svg-icon--warning ds-svg-icon
|
|
128
|
+
className="ds-svg-icon--cancel 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--cancel ds-svg-icon--warning ds-svg-icon
|
|
134
|
+
className="ds-svg-icon--cancel 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 CancelIcon with prop variant=error and size= xl 1`] = `
|
|
|
147
147
|
</CancelIcon>
|
|
148
148
|
`;
|
|
149
149
|
|
|
150
|
-
exports[`renders the CancelIcon with prop
|
|
150
|
+
exports[`renders the CancelIcon with prop color=warning and size=s 1`] = `
|
|
151
151
|
<CancelIcon
|
|
152
|
-
|
|
152
|
+
color="warning"
|
|
153
|
+
size="sm"
|
|
153
154
|
>
|
|
154
155
|
<ForwardRef(Icon)
|
|
156
|
+
color="warning"
|
|
155
157
|
icon="cancel"
|
|
156
|
-
|
|
158
|
+
size="sm"
|
|
157
159
|
>
|
|
158
160
|
<ForwardRef(SvgIcon)
|
|
159
161
|
className="ds-svg-icon--cancel"
|
|
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--cancel ds-svg-icon--
|
|
168
|
+
className="ds-svg-icon--cancel 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--cancel ds-svg-icon--
|
|
174
|
+
className="ds-svg-icon--cancel ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
172
175
|
focusable="false"
|
|
173
176
|
viewBox="0 0 24 24"
|
|
174
177
|
>
|
|
@@ -184,28 +187,28 @@ exports[`renders the CancelIcon with prop variant=light 1`] = `
|
|
|
184
187
|
</CancelIcon>
|
|
185
188
|
`;
|
|
186
189
|
|
|
187
|
-
exports[`renders the CancelIcon with prop
|
|
190
|
+
exports[`renders the CancelIcon with prop size=m 1`] = `
|
|
188
191
|
<CancelIcon
|
|
189
|
-
|
|
192
|
+
size="md"
|
|
190
193
|
>
|
|
191
194
|
<ForwardRef(Icon)
|
|
192
195
|
icon="cancel"
|
|
193
|
-
|
|
196
|
+
size="md"
|
|
194
197
|
>
|
|
195
198
|
<ForwardRef(SvgIcon)
|
|
196
199
|
className="ds-svg-icon--cancel"
|
|
197
|
-
|
|
200
|
+
size="md"
|
|
198
201
|
>
|
|
199
202
|
<ForwardRef(Base)
|
|
200
203
|
aria-hidden="true"
|
|
201
204
|
as="svg"
|
|
202
|
-
className="ds-svg-icon--cancel ds-svg-icon--
|
|
205
|
+
className="ds-svg-icon--cancel ds-svg-icon--md ds-svg-icon"
|
|
203
206
|
focusable="false"
|
|
204
207
|
viewBox="0 0 24 24"
|
|
205
208
|
>
|
|
206
209
|
<svg
|
|
207
210
|
aria-hidden="true"
|
|
208
|
-
className="ds-svg-icon--cancel ds-svg-icon--
|
|
211
|
+
className="ds-svg-icon--cancel ds-svg-icon--md ds-svg-icon"
|
|
209
212
|
focusable="false"
|
|
210
213
|
viewBox="0 0 24 24"
|
|
211
214
|
>
|
|
@@ -221,31 +224,28 @@ exports[`renders the CancelIcon with prop variant=warning 1`] = `
|
|
|
221
224
|
</CancelIcon>
|
|
222
225
|
`;
|
|
223
226
|
|
|
224
|
-
exports[`renders the CancelIcon with prop
|
|
227
|
+
exports[`renders the CancelIcon with prop size=xl 1`] = `
|
|
225
228
|
<CancelIcon
|
|
226
|
-
size="
|
|
227
|
-
variant="warning"
|
|
229
|
+
size="xl"
|
|
228
230
|
>
|
|
229
231
|
<ForwardRef(Icon)
|
|
230
232
|
icon="cancel"
|
|
231
|
-
size="
|
|
232
|
-
variant="warning"
|
|
233
|
+
size="xl"
|
|
233
234
|
>
|
|
234
235
|
<ForwardRef(SvgIcon)
|
|
235
236
|
className="ds-svg-icon--cancel"
|
|
236
|
-
size="
|
|
237
|
-
variant="warning"
|
|
237
|
+
size="xl"
|
|
238
238
|
>
|
|
239
239
|
<ForwardRef(Base)
|
|
240
240
|
aria-hidden="true"
|
|
241
241
|
as="svg"
|
|
242
|
-
className="ds-svg-icon--cancel ds-svg-icon--
|
|
242
|
+
className="ds-svg-icon--cancel ds-svg-icon--xl ds-svg-icon"
|
|
243
243
|
focusable="false"
|
|
244
244
|
viewBox="0 0 24 24"
|
|
245
245
|
>
|
|
246
246
|
<svg
|
|
247
247
|
aria-hidden="true"
|
|
248
|
-
className="ds-svg-icon--cancel ds-svg-icon--
|
|
248
|
+
className="ds-svg-icon--cancel ds-svg-icon--xl ds-svg-icon"
|
|
249
249
|
focusable="false"
|
|
250
250
|
viewBox="0 0 24 24"
|
|
251
251
|
>
|
|
@@ -21,28 +21,28 @@ it('renders the CancelIcon with prop size=xl', function () {
|
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_CancelIcon["default"], {
|
|
24
|
-
|
|
24
|
+
color: "light"
|
|
25
25
|
});
|
|
26
|
-
it('renders the CancelIcon with prop
|
|
26
|
+
it('renders the CancelIcon with prop color=light', function () {
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_CancelIcon["default"], {
|
|
30
|
-
|
|
30
|
+
color: "warning"
|
|
31
31
|
});
|
|
32
|
-
it('renders the CancelIcon with prop
|
|
32
|
+
it('renders the CancelIcon with prop color=warning', function () {
|
|
33
33
|
expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
|
|
34
34
|
});
|
|
35
35
|
var _ref6 = /*#__PURE__*/_react["default"].createElement(_CancelIcon["default"], {
|
|
36
|
-
|
|
36
|
+
color: "warning",
|
|
37
37
|
size: "sm"
|
|
38
38
|
});
|
|
39
|
-
it('renders the CancelIcon with prop
|
|
39
|
+
it('renders the CancelIcon with prop color=warning and size=s', function () {
|
|
40
40
|
expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
|
|
41
41
|
});
|
|
42
42
|
var _ref7 = /*#__PURE__*/_react["default"].createElement(_CancelIcon["default"], {
|
|
43
|
-
|
|
43
|
+
color: "warning",
|
|
44
44
|
size: "xl"
|
|
45
45
|
});
|
|
46
|
-
it('renders the CancelIcon with prop
|
|
46
|
+
it('renders the CancelIcon with prop color=error and size= xl', function () {
|
|
47
47
|
expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
|
|
48
48
|
});
|
|
@@ -71,28 +71,31 @@ exports[`renders the ChatIcon with no props 1`] = `
|
|
|
71
71
|
</ChatIcon>
|
|
72
72
|
`;
|
|
73
73
|
|
|
74
|
-
exports[`renders the ChatIcon with prop size=
|
|
74
|
+
exports[`renders the ChatIcon with prop color=error and size= xl 1`] = `
|
|
75
75
|
<ChatIcon
|
|
76
|
-
|
|
76
|
+
color="warning"
|
|
77
|
+
size="xl"
|
|
77
78
|
>
|
|
78
79
|
<ForwardRef(Icon)
|
|
80
|
+
color="warning"
|
|
79
81
|
icon="chat"
|
|
80
|
-
size="
|
|
82
|
+
size="xl"
|
|
81
83
|
>
|
|
82
84
|
<ForwardRef(SvgIcon)
|
|
83
85
|
className="ds-svg-icon--chat"
|
|
84
|
-
|
|
86
|
+
color="warning"
|
|
87
|
+
size="xl"
|
|
85
88
|
>
|
|
86
89
|
<ForwardRef(Base)
|
|
87
90
|
aria-hidden="true"
|
|
88
91
|
as="svg"
|
|
89
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
92
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
90
93
|
focusable="false"
|
|
91
94
|
viewBox="0 0 24 24"
|
|
92
95
|
>
|
|
93
96
|
<svg
|
|
94
97
|
aria-hidden="true"
|
|
95
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
98
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--xl ds-svg-icon"
|
|
96
99
|
focusable="false"
|
|
97
100
|
viewBox="0 0 24 24"
|
|
98
101
|
>
|
|
@@ -108,28 +111,28 @@ exports[`renders the ChatIcon with prop size=md 1`] = `
|
|
|
108
111
|
</ChatIcon>
|
|
109
112
|
`;
|
|
110
113
|
|
|
111
|
-
exports[`renders the ChatIcon with prop
|
|
114
|
+
exports[`renders the ChatIcon with prop color=light 1`] = `
|
|
112
115
|
<ChatIcon
|
|
113
|
-
|
|
116
|
+
color="light"
|
|
114
117
|
>
|
|
115
118
|
<ForwardRef(Icon)
|
|
119
|
+
color="light"
|
|
116
120
|
icon="chat"
|
|
117
|
-
size="xl"
|
|
118
121
|
>
|
|
119
122
|
<ForwardRef(SvgIcon)
|
|
120
123
|
className="ds-svg-icon--chat"
|
|
121
|
-
|
|
124
|
+
color="light"
|
|
122
125
|
>
|
|
123
126
|
<ForwardRef(Base)
|
|
124
127
|
aria-hidden="true"
|
|
125
128
|
as="svg"
|
|
126
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
129
|
+
className="ds-svg-icon--chat ds-svg-icon--light ds-svg-icon"
|
|
127
130
|
focusable="false"
|
|
128
131
|
viewBox="0 0 24 24"
|
|
129
132
|
>
|
|
130
133
|
<svg
|
|
131
134
|
aria-hidden="true"
|
|
132
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
135
|
+
className="ds-svg-icon--chat ds-svg-icon--light ds-svg-icon"
|
|
133
136
|
focusable="false"
|
|
134
137
|
viewBox="0 0 24 24"
|
|
135
138
|
>
|
|
@@ -145,31 +148,28 @@ exports[`renders the ChatIcon with prop size=xl 1`] = `
|
|
|
145
148
|
</ChatIcon>
|
|
146
149
|
`;
|
|
147
150
|
|
|
148
|
-
exports[`renders the ChatIcon with prop
|
|
151
|
+
exports[`renders the ChatIcon with prop color=warning 1`] = `
|
|
149
152
|
<ChatIcon
|
|
150
|
-
|
|
151
|
-
variant="warning"
|
|
153
|
+
color="warning"
|
|
152
154
|
>
|
|
153
155
|
<ForwardRef(Icon)
|
|
156
|
+
color="warning"
|
|
154
157
|
icon="chat"
|
|
155
|
-
size="xl"
|
|
156
|
-
variant="warning"
|
|
157
158
|
>
|
|
158
159
|
<ForwardRef(SvgIcon)
|
|
159
160
|
className="ds-svg-icon--chat"
|
|
160
|
-
|
|
161
|
-
variant="warning"
|
|
161
|
+
color="warning"
|
|
162
162
|
>
|
|
163
163
|
<ForwardRef(Base)
|
|
164
164
|
aria-hidden="true"
|
|
165
165
|
as="svg"
|
|
166
|
-
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon
|
|
166
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
|
|
167
167
|
focusable="false"
|
|
168
168
|
viewBox="0 0 24 24"
|
|
169
169
|
>
|
|
170
170
|
<svg
|
|
171
171
|
aria-hidden="true"
|
|
172
|
-
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon
|
|
172
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon"
|
|
173
173
|
focusable="false"
|
|
174
174
|
viewBox="0 0 24 24"
|
|
175
175
|
>
|
|
@@ -185,28 +185,31 @@ exports[`renders the ChatIcon with prop variant=error and size= xl 1`] = `
|
|
|
185
185
|
</ChatIcon>
|
|
186
186
|
`;
|
|
187
187
|
|
|
188
|
-
exports[`renders the ChatIcon with prop
|
|
188
|
+
exports[`renders the ChatIcon with prop color=warning and size=sm 1`] = `
|
|
189
189
|
<ChatIcon
|
|
190
|
-
|
|
190
|
+
color="warning"
|
|
191
|
+
size="sm"
|
|
191
192
|
>
|
|
192
193
|
<ForwardRef(Icon)
|
|
194
|
+
color="warning"
|
|
193
195
|
icon="chat"
|
|
194
|
-
|
|
196
|
+
size="sm"
|
|
195
197
|
>
|
|
196
198
|
<ForwardRef(SvgIcon)
|
|
197
199
|
className="ds-svg-icon--chat"
|
|
198
|
-
|
|
200
|
+
color="warning"
|
|
201
|
+
size="sm"
|
|
199
202
|
>
|
|
200
203
|
<ForwardRef(Base)
|
|
201
204
|
aria-hidden="true"
|
|
202
205
|
as="svg"
|
|
203
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
206
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
204
207
|
focusable="false"
|
|
205
208
|
viewBox="0 0 24 24"
|
|
206
209
|
>
|
|
207
210
|
<svg
|
|
208
211
|
aria-hidden="true"
|
|
209
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
212
|
+
className="ds-svg-icon--chat ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
210
213
|
focusable="false"
|
|
211
214
|
viewBox="0 0 24 24"
|
|
212
215
|
>
|
|
@@ -222,28 +225,28 @@ exports[`renders the ChatIcon with prop variant=light 1`] = `
|
|
|
222
225
|
</ChatIcon>
|
|
223
226
|
`;
|
|
224
227
|
|
|
225
|
-
exports[`renders the ChatIcon with prop
|
|
228
|
+
exports[`renders the ChatIcon with prop size=md 1`] = `
|
|
226
229
|
<ChatIcon
|
|
227
|
-
|
|
230
|
+
size="md"
|
|
228
231
|
>
|
|
229
232
|
<ForwardRef(Icon)
|
|
230
233
|
icon="chat"
|
|
231
|
-
|
|
234
|
+
size="md"
|
|
232
235
|
>
|
|
233
236
|
<ForwardRef(SvgIcon)
|
|
234
237
|
className="ds-svg-icon--chat"
|
|
235
|
-
|
|
238
|
+
size="md"
|
|
236
239
|
>
|
|
237
240
|
<ForwardRef(Base)
|
|
238
241
|
aria-hidden="true"
|
|
239
242
|
as="svg"
|
|
240
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
243
|
+
className="ds-svg-icon--chat ds-svg-icon--md ds-svg-icon"
|
|
241
244
|
focusable="false"
|
|
242
245
|
viewBox="0 0 24 24"
|
|
243
246
|
>
|
|
244
247
|
<svg
|
|
245
248
|
aria-hidden="true"
|
|
246
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
249
|
+
className="ds-svg-icon--chat ds-svg-icon--md ds-svg-icon"
|
|
247
250
|
focusable="false"
|
|
248
251
|
viewBox="0 0 24 24"
|
|
249
252
|
>
|
|
@@ -259,31 +262,28 @@ exports[`renders the ChatIcon with prop variant=warning 1`] = `
|
|
|
259
262
|
</ChatIcon>
|
|
260
263
|
`;
|
|
261
264
|
|
|
262
|
-
exports[`renders the ChatIcon with prop
|
|
265
|
+
exports[`renders the ChatIcon with prop size=xl 1`] = `
|
|
263
266
|
<ChatIcon
|
|
264
|
-
size="
|
|
265
|
-
variant="warning"
|
|
267
|
+
size="xl"
|
|
266
268
|
>
|
|
267
269
|
<ForwardRef(Icon)
|
|
268
270
|
icon="chat"
|
|
269
|
-
size="
|
|
270
|
-
variant="warning"
|
|
271
|
+
size="xl"
|
|
271
272
|
>
|
|
272
273
|
<ForwardRef(SvgIcon)
|
|
273
274
|
className="ds-svg-icon--chat"
|
|
274
|
-
size="
|
|
275
|
-
variant="warning"
|
|
275
|
+
size="xl"
|
|
276
276
|
>
|
|
277
277
|
<ForwardRef(Base)
|
|
278
278
|
aria-hidden="true"
|
|
279
279
|
as="svg"
|
|
280
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
280
|
+
className="ds-svg-icon--chat ds-svg-icon--xl ds-svg-icon"
|
|
281
281
|
focusable="false"
|
|
282
282
|
viewBox="0 0 24 24"
|
|
283
283
|
>
|
|
284
284
|
<svg
|
|
285
285
|
aria-hidden="true"
|
|
286
|
-
className="ds-svg-icon--chat ds-svg-icon--
|
|
286
|
+
className="ds-svg-icon--chat ds-svg-icon--xl ds-svg-icon"
|
|
287
287
|
focusable="false"
|
|
288
288
|
viewBox="0 0 24 24"
|
|
289
289
|
>
|