carbon-react 116.0.1 → 116.1.0
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/esm/components/advanced-color-picker/advanced-color-picker.component.d.ts +1 -1
- package/esm/components/advanced-color-picker/advanced-color-picker.component.js +1 -0
- package/esm/components/badge/badge.component.d.ts +3 -1
- package/esm/components/badge/badge.component.js +31 -11
- package/esm/components/badge/badge.style.d.ts +4 -2
- package/esm/components/badge/badge.style.js +59 -31
- package/lib/components/advanced-color-picker/advanced-color-picker.component.d.ts +1 -1
- package/lib/components/advanced-color-picker/advanced-color-picker.component.js +2 -1
- package/lib/components/badge/badge.component.d.ts +3 -1
- package/lib/components/badge/badge.component.js +30 -10
- package/lib/components/badge/badge.style.d.ts +4 -2
- package/lib/components/badge/badge.style.js +64 -32
- package/package.json +1 -1
|
@@ -39,5 +39,5 @@ export interface AdvancedColorPickerProps extends MarginProps {
|
|
|
39
39
|
/** Prop for `selectedColor` containing pre-selected color for `controlled` use */
|
|
40
40
|
selectedColor?: string;
|
|
41
41
|
}
|
|
42
|
-
declare const AdvancedColorPicker: ({ "aria-describedby": ariaDescribedBy, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, availableColors, defaultColor, name, onOpen, onClose, onChange, onBlur, open, role, selectedColor, ...props }: AdvancedColorPickerProps) => JSX.Element;
|
|
42
|
+
export declare const AdvancedColorPicker: ({ "aria-describedby": ariaDescribedBy, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, availableColors, defaultColor, name, onOpen, onClose, onChange, onBlur, open, role, selectedColor, ...props }: AdvancedColorPickerProps) => JSX.Element;
|
|
43
43
|
export default AdvancedColorPicker;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export interface BadgeProps {
|
|
3
|
+
/** Prop to specify an aria-label for the component */
|
|
4
|
+
"aria-label"?: string;
|
|
3
5
|
/** The badge will be added to this element */
|
|
4
6
|
children: React.ReactNode;
|
|
5
7
|
/** The number rendered in the badge component */
|
|
@@ -7,5 +9,5 @@ export interface BadgeProps {
|
|
|
7
9
|
/** Callback fired when badge is clicked */
|
|
8
10
|
onClick?: (ev: React.MouseEvent<HTMLElement>) => void;
|
|
9
11
|
}
|
|
10
|
-
export declare const Badge: ({ children, counter, onClick }: BadgeProps) => JSX.Element;
|
|
12
|
+
export declare const Badge: ({ "aria-label": ariaLabel, children, counter, onClick, }: BadgeProps) => JSX.Element;
|
|
11
13
|
export default Badge;
|
|
@@ -1,25 +1,45 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
import React from "react";
|
|
2
4
|
import PropTypes from "prop-types";
|
|
3
|
-
import { StyledBadgeWrapper,
|
|
5
|
+
import { StyledBadgeWrapper, StyledCrossIcon, StyledCounter, StyledBadge } from "./badge.style";
|
|
4
6
|
|
|
5
7
|
const Badge = ({
|
|
8
|
+
"aria-label": ariaLabel,
|
|
6
9
|
children,
|
|
7
10
|
counter = 0,
|
|
8
11
|
onClick
|
|
9
12
|
}) => {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
const shouldDisplayCounter = counter > 0;
|
|
14
|
+
const counterToDisplay = counter > 99 ? 99 : counter;
|
|
15
|
+
|
|
16
|
+
const renderCorrectBadge = () => {
|
|
17
|
+
const props = onClick ? {
|
|
18
|
+
buttonType: "secondary",
|
|
19
|
+
onClick
|
|
20
|
+
} : {
|
|
21
|
+
"aria-label": ariaLabel
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
if (shouldDisplayCounter) {
|
|
25
|
+
return /*#__PURE__*/React.createElement(StyledBadge, _extends({
|
|
26
|
+
"data-component": "badge"
|
|
27
|
+
}, props), onClick && /*#__PURE__*/React.createElement(StyledCrossIcon, {
|
|
28
|
+
"data-element": "badge-cross-icon",
|
|
29
|
+
type: "cross"
|
|
30
|
+
}), /*#__PURE__*/React.createElement(StyledCounter, {
|
|
31
|
+
"data-element": "badge-counter"
|
|
32
|
+
}, counterToDisplay));
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return null;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
return /*#__PURE__*/React.createElement(StyledBadgeWrapper, null, renderCorrectBadge(), children);
|
|
20
39
|
};
|
|
21
40
|
|
|
22
41
|
Badge.propTypes = {
|
|
42
|
+
"aria-label": PropTypes.string,
|
|
23
43
|
"children": PropTypes.node,
|
|
24
44
|
"counter": PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
25
45
|
"onClick": PropTypes.func
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const StyledBadgeWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
declare const StyledCounter: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
declare const
|
|
4
|
+
declare const StyledBadge: import("styled-components").StyledComponent<"span", any, {
|
|
5
|
+
as: import("react").ForwardRefExoticComponent<import("../button").ButtonProps & import("react").RefAttributes<HTMLButtonElement>> | undefined;
|
|
6
|
+
}, "as">;
|
|
5
7
|
declare const StyledCrossIcon: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../icon").IconProps & import("react").RefAttributes<HTMLSpanElement>>, any, {}, never>;
|
|
6
|
-
export {
|
|
8
|
+
export { StyledBadge, StyledBadgeWrapper, StyledCrossIcon, StyledCounter };
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
-
import styled from "styled-components";
|
|
1
|
+
import styled, { css } from "styled-components";
|
|
2
2
|
import StyledIcon from "../icon/icon.style";
|
|
3
3
|
import Button from "../button";
|
|
4
4
|
import Icon from "../icon";
|
|
5
|
+
const commonStyles = `
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
border-radius: 50%;
|
|
8
|
+
position: absolute;
|
|
9
|
+
top: -11px;
|
|
10
|
+
right: -11px;
|
|
11
|
+
padding: 0;
|
|
12
|
+
margin-right: 0;
|
|
13
|
+
background: var(--colorsActionMajorYang100);
|
|
14
|
+
`;
|
|
5
15
|
const StyledBadgeWrapper = styled.div`
|
|
6
16
|
position: relative;
|
|
7
17
|
display: inline-block;
|
|
@@ -11,46 +21,64 @@ const StyledCounter = styled.div`
|
|
|
11
21
|
font-size: 12px;
|
|
12
22
|
margin-top: -1px;
|
|
13
23
|
`;
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
const StyledBadge = styled.span.attrs(({
|
|
25
|
+
onClick
|
|
26
|
+
}) => ({
|
|
27
|
+
as: onClick ? Button : undefined
|
|
28
|
+
}))`
|
|
29
|
+
${commonStyles}
|
|
30
|
+
cursor: default;
|
|
31
|
+
align-items: center;
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
width: 18px;
|
|
35
|
+
min-height: 18px;
|
|
36
|
+
border: solid 2px transparent;
|
|
37
|
+
border-color: var(--colorsActionMajor500);
|
|
38
|
+
color: var(--colorsActionMajor500);
|
|
26
39
|
|
|
27
40
|
::-moz-focus-inner {
|
|
28
41
|
border: none;
|
|
29
42
|
}
|
|
30
43
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
44
|
+
${({
|
|
45
|
+
onClick
|
|
46
|
+
}) => css`
|
|
47
|
+
${onClick && `
|
|
48
|
+
${commonStyles}
|
|
49
|
+
width: 22px;
|
|
50
|
+
min-height: 22px;
|
|
51
|
+
text-align: center;
|
|
52
|
+
|
|
53
|
+
::-moz-focus-inner {
|
|
54
|
+
border: none;
|
|
55
|
+
}
|
|
38
56
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
57
|
+
&:hover,
|
|
58
|
+
&:focus {
|
|
59
|
+
background: var(--colorsActionMajor500);
|
|
60
|
+
border: none;
|
|
61
|
+
${StyledCounter} {
|
|
62
|
+
display: none;
|
|
63
|
+
}
|
|
44
64
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
65
|
+
${StyledIcon} {
|
|
66
|
+
display: block;
|
|
67
|
+
width: auto;
|
|
68
|
+
height: auto;
|
|
69
|
+
margin-right: 0;
|
|
70
|
+
|
|
71
|
+
:before {
|
|
72
|
+
font-size: 16px;
|
|
73
|
+
color: var(--colorsActionMajorYang100);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
48
76
|
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
77
|
+
`}
|
|
78
|
+
`}
|
|
51
79
|
`;
|
|
52
80
|
const StyledCrossIcon = styled(Icon)`
|
|
53
81
|
margin: 0;
|
|
54
82
|
display: none;
|
|
55
83
|
`;
|
|
56
|
-
export {
|
|
84
|
+
export { StyledBadge, StyledBadgeWrapper, StyledCrossIcon, StyledCounter };
|
|
@@ -39,5 +39,5 @@ export interface AdvancedColorPickerProps extends MarginProps {
|
|
|
39
39
|
/** Prop for `selectedColor` containing pre-selected color for `controlled` use */
|
|
40
40
|
selectedColor?: string;
|
|
41
41
|
}
|
|
42
|
-
declare const AdvancedColorPicker: ({ "aria-describedby": ariaDescribedBy, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, availableColors, defaultColor, name, onOpen, onClose, onChange, onBlur, open, role, selectedColor, ...props }: AdvancedColorPickerProps) => JSX.Element;
|
|
42
|
+
export declare const AdvancedColorPicker: ({ "aria-describedby": ariaDescribedBy, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, availableColors, defaultColor, name, onOpen, onClose, onChange, onBlur, open, role, selectedColor, ...props }: AdvancedColorPickerProps) => JSX.Element;
|
|
43
43
|
export default AdvancedColorPicker;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.default = void 0;
|
|
6
|
+
exports.default = exports.AdvancedColorPicker = void 0;
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
9
|
|
|
@@ -168,6 +168,7 @@ const AdvancedColorPicker = ({
|
|
|
168
168
|
})))));
|
|
169
169
|
};
|
|
170
170
|
|
|
171
|
+
exports.AdvancedColorPicker = AdvancedColorPicker;
|
|
171
172
|
AdvancedColorPicker.propTypes = {
|
|
172
173
|
"aria-describedby": _propTypes.default.string,
|
|
173
174
|
"aria-label": _propTypes.default.string,
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export interface BadgeProps {
|
|
3
|
+
/** Prop to specify an aria-label for the component */
|
|
4
|
+
"aria-label"?: string;
|
|
3
5
|
/** The badge will be added to this element */
|
|
4
6
|
children: React.ReactNode;
|
|
5
7
|
/** The number rendered in the badge component */
|
|
@@ -7,5 +9,5 @@ export interface BadgeProps {
|
|
|
7
9
|
/** Callback fired when badge is clicked */
|
|
8
10
|
onClick?: (ev: React.MouseEvent<HTMLElement>) => void;
|
|
9
11
|
}
|
|
10
|
-
export declare const Badge: ({ children, counter, onClick }: BadgeProps) => JSX.Element;
|
|
12
|
+
export declare const Badge: ({ "aria-label": ariaLabel, children, counter, onClick, }: BadgeProps) => JSX.Element;
|
|
11
13
|
export default Badge;
|
|
@@ -13,25 +13,45 @@ var _badge = require("./badge.style");
|
|
|
13
13
|
|
|
14
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
15
|
|
|
16
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
17
|
+
|
|
16
18
|
const Badge = ({
|
|
19
|
+
"aria-label": ariaLabel,
|
|
17
20
|
children,
|
|
18
21
|
counter = 0,
|
|
19
22
|
onClick
|
|
20
23
|
}) => {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
const shouldDisplayCounter = counter > 0;
|
|
25
|
+
const counterToDisplay = counter > 99 ? 99 : counter;
|
|
26
|
+
|
|
27
|
+
const renderCorrectBadge = () => {
|
|
28
|
+
const props = onClick ? {
|
|
29
|
+
buttonType: "secondary",
|
|
30
|
+
onClick
|
|
31
|
+
} : {
|
|
32
|
+
"aria-label": ariaLabel
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
if (shouldDisplayCounter) {
|
|
36
|
+
return /*#__PURE__*/_react.default.createElement(_badge.StyledBadge, _extends({
|
|
37
|
+
"data-component": "badge"
|
|
38
|
+
}, props), onClick && /*#__PURE__*/_react.default.createElement(_badge.StyledCrossIcon, {
|
|
39
|
+
"data-element": "badge-cross-icon",
|
|
40
|
+
type: "cross"
|
|
41
|
+
}), /*#__PURE__*/_react.default.createElement(_badge.StyledCounter, {
|
|
42
|
+
"data-element": "badge-counter"
|
|
43
|
+
}, counterToDisplay));
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
return null;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
return /*#__PURE__*/_react.default.createElement(_badge.StyledBadgeWrapper, null, renderCorrectBadge(), children);
|
|
31
50
|
};
|
|
32
51
|
|
|
33
52
|
exports.Badge = Badge;
|
|
34
53
|
Badge.propTypes = {
|
|
54
|
+
"aria-label": _propTypes.default.string,
|
|
35
55
|
"children": _propTypes.default.node,
|
|
36
56
|
"counter": _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
37
57
|
"onClick": _propTypes.default.func
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const StyledBadgeWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
declare const StyledCounter: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
declare const
|
|
4
|
+
declare const StyledBadge: import("styled-components").StyledComponent<"span", any, {
|
|
5
|
+
as: import("react").ForwardRefExoticComponent<import("../button").ButtonProps & import("react").RefAttributes<HTMLButtonElement>> | undefined;
|
|
6
|
+
}, "as">;
|
|
5
7
|
declare const StyledCrossIcon: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../icon").IconProps & import("react").RefAttributes<HTMLSpanElement>>, any, {}, never>;
|
|
6
|
-
export {
|
|
8
|
+
export { StyledBadge, StyledBadgeWrapper, StyledCrossIcon, StyledCounter };
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.StyledCounter = exports.StyledCrossIcon = exports.
|
|
6
|
+
exports.StyledCounter = exports.StyledCrossIcon = exports.StyledBadgeWrapper = exports.StyledBadge = void 0;
|
|
7
7
|
|
|
8
|
-
var _styledComponents =
|
|
8
|
+
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
9
9
|
|
|
10
10
|
var _icon = _interopRequireDefault(require("../icon/icon.style"));
|
|
11
11
|
|
|
@@ -15,6 +15,20 @@ var _icon2 = _interopRequireDefault(require("../icon"));
|
|
|
15
15
|
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
17
|
|
|
18
|
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
19
|
+
|
|
20
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
21
|
+
|
|
22
|
+
const commonStyles = `
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
border-radius: 50%;
|
|
25
|
+
position: absolute;
|
|
26
|
+
top: -11px;
|
|
27
|
+
right: -11px;
|
|
28
|
+
padding: 0;
|
|
29
|
+
margin-right: 0;
|
|
30
|
+
background: var(--colorsActionMajorYang100);
|
|
31
|
+
`;
|
|
18
32
|
const StyledBadgeWrapper = _styledComponents.default.div`
|
|
19
33
|
position: relative;
|
|
20
34
|
display: inline-block;
|
|
@@ -26,45 +40,63 @@ const StyledCounter = _styledComponents.default.div`
|
|
|
26
40
|
margin-top: -1px;
|
|
27
41
|
`;
|
|
28
42
|
exports.StyledCounter = StyledCounter;
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
43
|
+
const StyledBadge = _styledComponents.default.span.attrs(({
|
|
44
|
+
onClick
|
|
45
|
+
}) => ({
|
|
46
|
+
as: onClick ? _button.default : undefined
|
|
47
|
+
}))`
|
|
48
|
+
${commonStyles}
|
|
49
|
+
cursor: default;
|
|
50
|
+
align-items: center;
|
|
51
|
+
display: inline-flex;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
width: 18px;
|
|
54
|
+
min-height: 18px;
|
|
55
|
+
border: solid 2px transparent;
|
|
56
|
+
border-color: var(--colorsActionMajor500);
|
|
57
|
+
color: var(--colorsActionMajor500);
|
|
41
58
|
|
|
42
59
|
::-moz-focus-inner {
|
|
43
60
|
border: none;
|
|
44
61
|
}
|
|
45
62
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
63
|
+
${({
|
|
64
|
+
onClick
|
|
65
|
+
}) => (0, _styledComponents.css)`
|
|
66
|
+
${onClick && `
|
|
67
|
+
${commonStyles}
|
|
68
|
+
width: 22px;
|
|
69
|
+
min-height: 22px;
|
|
70
|
+
text-align: center;
|
|
71
|
+
|
|
72
|
+
::-moz-focus-inner {
|
|
73
|
+
border: none;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&:hover,
|
|
77
|
+
&:focus {
|
|
78
|
+
background: var(--colorsActionMajor500);
|
|
79
|
+
border: none;
|
|
80
|
+
${StyledCounter} {
|
|
81
|
+
display: none;
|
|
82
|
+
}
|
|
53
83
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
84
|
+
${_icon.default} {
|
|
85
|
+
display: block;
|
|
86
|
+
width: auto;
|
|
87
|
+
height: auto;
|
|
88
|
+
margin-right: 0;
|
|
59
89
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
90
|
+
:before {
|
|
91
|
+
font-size: 16px;
|
|
92
|
+
color: var(--colorsActionMajorYang100);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
63
95
|
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
96
|
+
`}
|
|
97
|
+
`}
|
|
66
98
|
`;
|
|
67
|
-
exports.
|
|
99
|
+
exports.StyledBadge = StyledBadge;
|
|
68
100
|
const StyledCrossIcon = (0, _styledComponents.default)(_icon2.default)`
|
|
69
101
|
margin: 0;
|
|
70
102
|
display: none;
|