@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
|
@@ -8,10 +8,10 @@ exports["default"] = void 0;
|
|
|
8
8
|
exports.globe = globe;
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _ref = /*#__PURE__*/_react["default"].createElement("path", {
|
|
11
|
-
d: "M12,
|
|
11
|
+
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"
|
|
12
12
|
});
|
|
13
13
|
function globe() {
|
|
14
|
-
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, _ref
|
|
14
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, _ref);
|
|
15
15
|
}
|
|
16
16
|
globe.props = [];
|
|
17
17
|
var _default = exports["default"] = globe;
|
|
@@ -9,15 +9,15 @@ it('renders the GlobeIcon with no props', function () {
|
|
|
9
9
|
expect((0, _enzyme.mount)(_ref)).toMatchSnapshot();
|
|
10
10
|
});
|
|
11
11
|
var _ref2 = /*#__PURE__*/_react["default"].createElement(_GlobeIcon["default"], {
|
|
12
|
-
color: "
|
|
12
|
+
color: "base-content"
|
|
13
13
|
});
|
|
14
|
-
it('renders the GlobeIcon with prop color=
|
|
14
|
+
it('renders the GlobeIcon with prop color=base-content', function () {
|
|
15
15
|
expect((0, _enzyme.mount)(_ref2)).toMatchSnapshot();
|
|
16
16
|
});
|
|
17
17
|
var _ref3 = /*#__PURE__*/_react["default"].createElement(_GlobeIcon["default"], {
|
|
18
|
-
color: "
|
|
18
|
+
color: "white"
|
|
19
19
|
});
|
|
20
|
-
it('renders the GlobeIcon prop color= "
|
|
20
|
+
it('renders the GlobeIcon prop color= "white"', function () {
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_GlobeIcon["default"], {
|
|
@@ -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
|
>
|
|
@@ -21,9 +21,9 @@ it('renders the LockIcon with prop size=xl', function () {
|
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_LockIcon["default"], {
|
|
24
|
-
color: "
|
|
24
|
+
color: "white"
|
|
25
25
|
});
|
|
26
|
-
it('renders the LockIcon with prop color=
|
|
26
|
+
it('renders the LockIcon with prop color=white', function () {
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_LockIcon["default"], {
|
|
@@ -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
|
>
|
|
@@ -21,9 +21,9 @@ it('renders the LoginIcon with prop size=xl', function () {
|
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_LoginIcon["default"], {
|
|
24
|
-
color: "
|
|
24
|
+
color: "white"
|
|
25
25
|
});
|
|
26
|
-
it('renders the LoginIcon with prop color=
|
|
26
|
+
it('renders the LoginIcon with prop color=white', function () {
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_LoginIcon["default"], {
|
|
@@ -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
|
>
|
|
@@ -21,9 +21,9 @@ it('renders the MinusIcon with prop size=xl', function () {
|
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_MinusIcon["default"], {
|
|
24
|
-
color: "
|
|
24
|
+
color: "white"
|
|
25
25
|
});
|
|
26
|
-
it('renders the MinusIcon with prop color=
|
|
26
|
+
it('renders the MinusIcon with prop color=white', function () {
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_MinusIcon["default"], {
|
|
@@ -99,28 +99,28 @@ exports[`renders the PdfFileIcon with prop color=error and size= xl 1`] = `
|
|
|
99
99
|
</PdfFileIcon>
|
|
100
100
|
`;
|
|
101
101
|
|
|
102
|
-
exports[`renders the PdfFileIcon with prop color=
|
|
102
|
+
exports[`renders the PdfFileIcon with prop color=warning 1`] = `
|
|
103
103
|
<PdfFileIcon
|
|
104
|
-
color="
|
|
104
|
+
color="warning"
|
|
105
105
|
>
|
|
106
106
|
<ForwardRef(Icon)
|
|
107
|
-
color="
|
|
107
|
+
color="warning"
|
|
108
108
|
icon="pdfFile"
|
|
109
109
|
>
|
|
110
110
|
<ForwardRef(SvgIcon)
|
|
111
111
|
className="ds-svg-icon--pdfFile"
|
|
112
|
-
color="
|
|
112
|
+
color="warning"
|
|
113
113
|
>
|
|
114
114
|
<ForwardRef(Base)
|
|
115
115
|
aria-hidden="true"
|
|
116
116
|
as="svg"
|
|
117
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--
|
|
117
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon"
|
|
118
118
|
focusable="false"
|
|
119
119
|
viewBox="0 0 24 24"
|
|
120
120
|
>
|
|
121
121
|
<svg
|
|
122
122
|
aria-hidden="true"
|
|
123
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--
|
|
123
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon"
|
|
124
124
|
focusable="false"
|
|
125
125
|
viewBox="0 0 24 24"
|
|
126
126
|
>
|
|
@@ -149,28 +149,31 @@ exports[`renders the PdfFileIcon with prop color=light 1`] = `
|
|
|
149
149
|
</PdfFileIcon>
|
|
150
150
|
`;
|
|
151
151
|
|
|
152
|
-
exports[`renders the PdfFileIcon with prop color=warning 1`] = `
|
|
152
|
+
exports[`renders the PdfFileIcon with prop color=warning and size=s 1`] = `
|
|
153
153
|
<PdfFileIcon
|
|
154
154
|
color="warning"
|
|
155
|
+
size="sm"
|
|
155
156
|
>
|
|
156
157
|
<ForwardRef(Icon)
|
|
157
158
|
color="warning"
|
|
158
159
|
icon="pdfFile"
|
|
160
|
+
size="sm"
|
|
159
161
|
>
|
|
160
162
|
<ForwardRef(SvgIcon)
|
|
161
163
|
className="ds-svg-icon--pdfFile"
|
|
162
164
|
color="warning"
|
|
165
|
+
size="sm"
|
|
163
166
|
>
|
|
164
167
|
<ForwardRef(Base)
|
|
165
168
|
aria-hidden="true"
|
|
166
169
|
as="svg"
|
|
167
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon"
|
|
170
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
168
171
|
focusable="false"
|
|
169
172
|
viewBox="0 0 24 24"
|
|
170
173
|
>
|
|
171
174
|
<svg
|
|
172
175
|
aria-hidden="true"
|
|
173
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon"
|
|
176
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--warning ds-svg-icon--sm ds-svg-icon"
|
|
174
177
|
focusable="false"
|
|
175
178
|
viewBox="0 0 24 24"
|
|
176
179
|
>
|
|
@@ -199,31 +202,28 @@ exports[`renders the PdfFileIcon with prop color=warning 1`] = `
|
|
|
199
202
|
</PdfFileIcon>
|
|
200
203
|
`;
|
|
201
204
|
|
|
202
|
-
exports[`renders the PdfFileIcon with prop color=
|
|
205
|
+
exports[`renders the PdfFileIcon with prop color=white 1`] = `
|
|
203
206
|
<PdfFileIcon
|
|
204
|
-
color="
|
|
205
|
-
size="sm"
|
|
207
|
+
color="white"
|
|
206
208
|
>
|
|
207
209
|
<ForwardRef(Icon)
|
|
208
|
-
color="
|
|
210
|
+
color="white"
|
|
209
211
|
icon="pdfFile"
|
|
210
|
-
size="sm"
|
|
211
212
|
>
|
|
212
213
|
<ForwardRef(SvgIcon)
|
|
213
214
|
className="ds-svg-icon--pdfFile"
|
|
214
|
-
color="
|
|
215
|
-
size="sm"
|
|
215
|
+
color="white"
|
|
216
216
|
>
|
|
217
217
|
<ForwardRef(Base)
|
|
218
218
|
aria-hidden="true"
|
|
219
219
|
as="svg"
|
|
220
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--
|
|
220
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--white ds-svg-icon"
|
|
221
221
|
focusable="false"
|
|
222
222
|
viewBox="0 0 24 24"
|
|
223
223
|
>
|
|
224
224
|
<svg
|
|
225
225
|
aria-hidden="true"
|
|
226
|
-
className="ds-svg-icon--pdfFile ds-svg-icon--
|
|
226
|
+
className="ds-svg-icon--pdfFile ds-svg-icon--white ds-svg-icon"
|
|
227
227
|
focusable="false"
|
|
228
228
|
viewBox="0 0 24 24"
|
|
229
229
|
>
|
|
@@ -21,9 +21,9 @@ it('renders the PdfFileIcon with prop size=xl', function () {
|
|
|
21
21
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
22
22
|
});
|
|
23
23
|
var _ref4 = /*#__PURE__*/_react["default"].createElement(_PdfFileIcon["default"], {
|
|
24
|
-
color: "
|
|
24
|
+
color: "white"
|
|
25
25
|
});
|
|
26
|
-
it('renders the PdfFileIcon with prop color=
|
|
26
|
+
it('renders the PdfFileIcon with prop color=white', function () {
|
|
27
27
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
28
28
|
});
|
|
29
29
|
var _ref5 = /*#__PURE__*/_react["default"].createElement(_PdfFileIcon["default"], {
|
|
@@ -73,28 +73,28 @@ exports[`renders the PlusIcon with prop color=error and size= xl 1`] = `
|
|
|
73
73
|
</PlusIcon>
|
|
74
74
|
`;
|
|
75
75
|
|
|
76
|
-
exports[`renders the PlusIcon with prop color=
|
|
76
|
+
exports[`renders the PlusIcon with prop color=warning 1`] = `
|
|
77
77
|
<PlusIcon
|
|
78
|
-
color="
|
|
78
|
+
color="warning"
|
|
79
79
|
>
|
|
80
80
|
<ForwardRef(Icon)
|
|
81
|
-
color="
|
|
81
|
+
color="warning"
|
|
82
82
|
icon="plus"
|
|
83
83
|
>
|
|
84
84
|
<ForwardRef(SvgIcon)
|
|
85
85
|
className="ds-svg-icon--plus"
|
|
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--plus ds-svg-icon--
|
|
91
|
+
className="ds-svg-icon--plus 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--plus ds-svg-icon--
|
|
97
|
+
className="ds-svg-icon--plus 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 PlusIcon with prop color=light 1`] = `
|
|
|
110
110
|
</PlusIcon>
|
|
111
111
|
`;
|
|
112
112
|
|
|
113
|
-
exports[`renders the PlusIcon with prop color=warning 1`] = `
|
|
113
|
+
exports[`renders the PlusIcon with prop color=warning and size=s 1`] = `
|
|
114
114
|
<PlusIcon
|
|
115
115
|
color="warning"
|
|
116
|
+
size="sm"
|
|
116
117
|
>
|
|
117
118
|
<ForwardRef(Icon)
|
|
118
119
|
color="warning"
|
|
119
120
|
icon="plus"
|
|
121
|
+
size="sm"
|
|
120
122
|
>
|
|
121
123
|
<ForwardRef(SvgIcon)
|
|
122
124
|
className="ds-svg-icon--plus"
|
|
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--plus ds-svg-icon--warning ds-svg-icon"
|
|
131
|
+
className="ds-svg-icon--plus 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--plus ds-svg-icon--warning ds-svg-icon"
|
|
137
|
+
className="ds-svg-icon--plus 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 PlusIcon with prop color=warning 1`] = `
|
|
|
147
150
|
</PlusIcon>
|
|
148
151
|
`;
|
|
149
152
|
|
|
150
|
-
exports[`renders the PlusIcon with prop color=
|
|
153
|
+
exports[`renders the PlusIcon with prop color=white 1`] = `
|
|
151
154
|
<PlusIcon
|
|
152
|
-
color="
|
|
153
|
-
size="sm"
|
|
155
|
+
color="white"
|
|
154
156
|
>
|
|
155
157
|
<ForwardRef(Icon)
|
|
156
|
-
color="
|
|
158
|
+
color="white"
|
|
157
159
|
icon="plus"
|
|
158
|
-
size="sm"
|
|
159
160
|
>
|
|
160
161
|
<ForwardRef(SvgIcon)
|
|
161
162
|
className="ds-svg-icon--plus"
|
|
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--plus ds-svg-icon--
|
|
168
|
+
className="ds-svg-icon--plus 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--plus ds-svg-icon--
|
|
174
|
+
className="ds-svg-icon--plus ds-svg-icon--white ds-svg-icon"
|
|
175
175
|
focusable="false"
|
|
176
176
|
viewBox="0 0 24 24"
|
|
177
177
|
>
|