@zohodesk/components 1.0.0-temp-212.1 → 1.0.0-temp-216
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/.cli/propValidation_report.html +1 -1
- package/README.md +57 -1
- package/es/AvatarTeam/props/propTypes.js +2 -1
- package/es/Button/css/Button.module.css +4 -6
- package/es/CheckBox/CheckBox.js +6 -5
- package/es/CheckBox/CheckBox.module.css +5 -2
- package/es/CheckBox/__tests__/__snapshots__/CheckBox.spec.js.snap +64 -64
- package/es/DateTime/CalendarView.js +8 -5
- package/es/DateTime/DateTime.js +26 -8
- package/es/DateTime/DateTime.module.css +5 -5
- package/es/DateTime/DateWidget.js +13 -2
- package/es/DateTime/DaysRow.js +3 -2
- package/es/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +7 -7
- package/es/DateTime/props/defaultProps.js +9 -3
- package/es/DateTime/props/propTypes.js +16 -4
- package/es/DropBox/DropBoxElement/DropBoxElement.js +3 -1
- package/es/DropBox/DropBoxElement/__tests__/__snapshots__/DropBoxElement.spec.js.snap +1 -0
- package/es/DropBox/__tests__/__snapshots__/DropBox.spec.js.snap +1 -0
- package/es/DropDown/__tests__/__snapshots__/DropDown.spec.js.snap +1 -0
- package/es/ListItem/ListItemWithAvatar.js +7 -3
- package/es/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +2 -2
- package/es/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +1 -1
- package/es/ListItem/props/propTypes.js +6 -1
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +4 -2
- package/es/MultiSelect/AdvancedMultiSelect.js +4 -2
- package/es/MultiSelect/MultiSelect.js +11 -15
- package/es/MultiSelect/props/propTypes.js +6 -3
- package/es/Popup/Popup.js +125 -7
- package/es/Popup/intersectionObserver.js +49 -0
- package/es/Popup/props/propTypes.js +30 -0
- package/es/Radio/Radio.js +9 -7
- package/es/Radio/Radio.module.css +1 -1
- package/es/Radio/__tests__/__snapshots__/Radio.spec.js.snap +77 -77
- package/es/ResponsiveDropBox/__tests__/__snapshots__/ResponsiveDropBox.spec.js.snap +1 -0
- package/es/Select/GroupSelect.js +10 -3
- package/es/Select/props/defaultProps.js +2 -1
- package/es/Select/props/propTypes.js +5 -1
- package/es/Tag/Tag.js +10 -3
- package/es/Tag/props/defaultProps.js +2 -1
- package/es/Tag/props/propTypes.js +7 -1
- package/es/TextBox/TextBox.js +1 -1
- package/es/Textarea/Textarea.js +4 -2
- package/es/Textarea/Textarea.module.css +1 -1
- package/es/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +41 -41
- package/es/Textarea/props/propTypes.js +2 -1
- package/es/Typography/Typography.js +38 -0
- package/es/Typography/css/Typography.module.css +489 -0
- package/es/Typography/css/cssJSLogic.js +56 -0
- package/es/Typography/props/defaultProps.js +8 -0
- package/es/Typography/props/propTypes.js +27 -0
- package/es/Typography/utils/index.js +50 -0
- package/es/index.js +1 -1
- package/es/v1/DateTime/CalendarView.js +9 -6
- package/es/v1/DateTime/DateTime.js +18 -4
- package/es/v1/DateTime/DateWidget.js +5 -1
- package/es/v1/DateTime/DaysRow.js +3 -2
- package/es/v1/DateTime/props/defaultProps.js +9 -3
- package/es/v1/DateTime/props/propTypes.js +11 -4
- package/es/v1/MultiSelect/MultiSelect.js +7 -13
- package/es/v1/Typography/Typography.js +1 -1
- package/lib/AvatarTeam/props/propTypes.js +3 -1
- package/lib/Button/css/Button.module.css +4 -6
- package/lib/CheckBox/CheckBox.js +5 -4
- package/lib/CheckBox/CheckBox.module.css +5 -2
- package/lib/CheckBox/__tests__/__snapshots__/CheckBox.spec.js.snap +64 -64
- package/lib/DateTime/CalendarView.js +8 -5
- package/lib/DateTime/DateTime.js +38 -9
- package/lib/DateTime/DateTime.module.css +5 -5
- package/lib/DateTime/DateWidget.js +13 -2
- package/lib/DateTime/DaysRow.js +3 -2
- package/lib/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +7 -7
- package/lib/DateTime/props/defaultProps.js +9 -3
- package/lib/DateTime/props/propTypes.js +16 -4
- package/lib/DropBox/DropBoxElement/DropBoxElement.js +3 -1
- package/lib/DropBox/DropBoxElement/__tests__/__snapshots__/DropBoxElement.spec.js.snap +1 -0
- package/lib/DropBox/__tests__/__snapshots__/DropBox.spec.js.snap +1 -0
- package/lib/DropDown/__tests__/__snapshots__/DropDown.spec.js.snap +1 -0
- package/lib/ListItem/ListItemWithAvatar.js +8 -4
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +2 -2
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +1 -1
- package/lib/ListItem/props/propTypes.js +8 -1
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +4 -2
- package/lib/MultiSelect/AdvancedMultiSelect.js +4 -2
- package/lib/MultiSelect/MultiSelect.js +18 -22
- package/lib/MultiSelect/props/propTypes.js +8 -6
- package/lib/Popup/Popup.js +135 -8
- package/lib/Popup/intersectionObserver.js +72 -0
- package/lib/Popup/props/propTypes.js +51 -0
- package/lib/Radio/Radio.js +10 -7
- package/lib/Radio/Radio.module.css +1 -1
- package/lib/Radio/__tests__/__snapshots__/Radio.spec.js.snap +77 -77
- package/lib/ResponsiveDropBox/__tests__/__snapshots__/ResponsiveDropBox.spec.js.snap +1 -0
- package/lib/Select/GroupSelect.js +12 -5
- package/lib/Select/props/defaultProps.js +2 -1
- package/lib/Select/props/propTypes.js +5 -1
- package/lib/Tag/Tag.js +10 -5
- package/lib/Tag/props/defaultProps.js +2 -1
- package/lib/Tag/props/propTypes.js +9 -1
- package/lib/TextBox/TextBox.js +1 -1
- package/lib/Textarea/Textarea.js +4 -2
- package/lib/Textarea/Textarea.module.css +1 -1
- package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +41 -41
- package/lib/Textarea/props/propTypes.js +2 -1
- package/lib/Typography/Typography.js +56 -0
- package/lib/Typography/css/Typography.module.css +489 -0
- package/lib/Typography/css/cssJSLogic.js +48 -0
- package/lib/Typography/props/defaultProps.js +15 -0
- package/lib/Typography/props/propTypes.js +38 -0
- package/lib/Typography/utils/index.js +59 -0
- package/lib/index.js +1 -1
- package/lib/v1/DateTime/CalendarView.js +9 -6
- package/lib/v1/DateTime/DateTime.js +27 -4
- package/lib/v1/DateTime/DateWidget.js +5 -1
- package/lib/v1/DateTime/DaysRow.js +3 -2
- package/lib/v1/DateTime/props/defaultProps.js +9 -3
- package/lib/v1/DateTime/props/propTypes.js +11 -4
- package/lib/v1/MultiSelect/MultiSelect.js +14 -20
- package/lib/v1/Typography/Typography.js +2 -2
- package/package.json +6 -6
- package/propValidationArg.json +1 -1
- package/result.json +1 -1
- /package/es/v1/Typography/css/{Typography.module.css → v1_Typography.module.css} +0 -0
- /package/lib/v1/Typography/css/{Typography.module.css → v1_Typography.module.css} +0 -0
|
@@ -1006,6 +1006,8 @@ class DateWidgetComponent extends React.Component {
|
|
|
1006
1006
|
onError,
|
|
1007
1007
|
startDate,
|
|
1008
1008
|
endDate,
|
|
1009
|
+
weekStartDay,
|
|
1010
|
+
holidays,
|
|
1009
1011
|
customProps = {}
|
|
1010
1012
|
} = this.props;
|
|
1011
1013
|
const {
|
|
@@ -1105,7 +1107,9 @@ class DateWidgetComponent extends React.Component {
|
|
|
1105
1107
|
onError: onError,
|
|
1106
1108
|
startDate: startDate,
|
|
1107
1109
|
endDate: endDate,
|
|
1108
|
-
customProps: DateTimeProps
|
|
1110
|
+
customProps: DateTimeProps,
|
|
1111
|
+
weekStartDay: weekStartDay,
|
|
1112
|
+
holidays: holidays
|
|
1109
1113
|
}));
|
|
1110
1114
|
}
|
|
1111
1115
|
|
|
@@ -13,7 +13,8 @@ export default class DaysRow extends PureComponent {
|
|
|
13
13
|
render() {
|
|
14
14
|
const {
|
|
15
15
|
dayNames,
|
|
16
|
-
dayNamesShort
|
|
16
|
+
dayNamesShort,
|
|
17
|
+
holidays
|
|
17
18
|
} = this.props;
|
|
18
19
|
return /*#__PURE__*/React.createElement(Container, {
|
|
19
20
|
alignBox: "row",
|
|
@@ -21,7 +22,7 @@ export default class DaysRow extends PureComponent {
|
|
|
21
22
|
className: style.days
|
|
22
23
|
}, dayNames.map((dayName, index) => /*#__PURE__*/React.createElement(Box, {
|
|
23
24
|
key: dayName,
|
|
24
|
-
className: `${style.daysStr} ${style.grid} ${index
|
|
25
|
+
className: `${style.daysStr} ${style.grid} ${holidays.includes(index) ? style.holiday : ''}`,
|
|
25
26
|
"data-title": dayName,
|
|
26
27
|
"aria-label": dayName
|
|
27
28
|
}, dayNamesShort[index])));
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export const CalendarView_defaultProps = {
|
|
2
2
|
dataId: 'dateContainer',
|
|
3
|
-
needBorder: true
|
|
3
|
+
needBorder: true,
|
|
4
|
+
weekStartDay: 0,
|
|
5
|
+
holidays: [0]
|
|
4
6
|
};
|
|
5
7
|
export const Span_defaultProps = {
|
|
6
8
|
dataId: 'calendar-view'
|
|
@@ -20,7 +22,9 @@ export const DateTime_defaultProps = {
|
|
|
20
22
|
i18nKeys: {},
|
|
21
23
|
is24Hour: false,
|
|
22
24
|
isDefaultPosition: false,
|
|
23
|
-
customDateFormat: null
|
|
25
|
+
customDateFormat: null,
|
|
26
|
+
weekStartDay: 0,
|
|
27
|
+
holidays: [0]
|
|
24
28
|
};
|
|
25
29
|
export const DateWidget_defaultProps = {
|
|
26
30
|
borderColor: 'default',
|
|
@@ -43,7 +47,9 @@ export const DateWidget_defaultProps = {
|
|
|
43
47
|
needErrorOnBlur: false,
|
|
44
48
|
isEditable: false,
|
|
45
49
|
iconOnHover: false,
|
|
46
|
-
is24Hour: false
|
|
50
|
+
is24Hour: false,
|
|
51
|
+
weekStartDay: 0,
|
|
52
|
+
holidays: [0]
|
|
47
53
|
};
|
|
48
54
|
export const YearView_defaultProps = {
|
|
49
55
|
dataId: 'dateContainer',
|
|
@@ -13,7 +13,9 @@ export const CalendarView_propTypes = {
|
|
|
13
13
|
todayDate: PropTypes.string,
|
|
14
14
|
todayYear: PropTypes.string,
|
|
15
15
|
startDate: PropTypes.string,
|
|
16
|
-
endDate: PropTypes.string
|
|
16
|
+
endDate: PropTypes.string,
|
|
17
|
+
weekStartDay: PropTypes.oneOf([0, 1, 2, 3, 4, 5, 6]),
|
|
18
|
+
holidays: PropTypes.arrayOf(PropTypes.number)
|
|
17
19
|
};
|
|
18
20
|
export const Span_propTypes = {
|
|
19
21
|
dataId: PropTypes.string,
|
|
@@ -79,7 +81,9 @@ export const DateTime_propTypes = {
|
|
|
79
81
|
dropBoxPortalId: PropTypes.string,
|
|
80
82
|
startDate: PropTypes.string,
|
|
81
83
|
endDate: PropTypes.string,
|
|
82
|
-
customProps: PropTypes.object
|
|
84
|
+
customProps: PropTypes.object,
|
|
85
|
+
weekStartDay: PropTypes.oneOf([0, 1, 2, 3, 4, 5, 6]),
|
|
86
|
+
holidays: PropTypes.arrayOf(PropTypes.number)
|
|
83
87
|
};
|
|
84
88
|
export const DateWidget_propTypes = {
|
|
85
89
|
borderColor: PropTypes.oneOf(['transparent', 'default']),
|
|
@@ -150,7 +154,9 @@ export const DateWidget_propTypes = {
|
|
|
150
154
|
startDate: PropTypes.string,
|
|
151
155
|
endDate: PropTypes.string,
|
|
152
156
|
getPopupProps: PropTypes.func,
|
|
153
|
-
customProps: PropTypes.object
|
|
157
|
+
customProps: PropTypes.object,
|
|
158
|
+
weekStartDay: PropTypes.oneOf([0, 1, 2, 3, 4, 5, 6]),
|
|
159
|
+
holidays: PropTypes.arrayOf(PropTypes.number)
|
|
154
160
|
};
|
|
155
161
|
export const YearView_propTypes = {
|
|
156
162
|
onSelectMonth: PropTypes.func,
|
|
@@ -177,7 +183,8 @@ export const DateTimePopupHeader_propTypes = {
|
|
|
177
183
|
};
|
|
178
184
|
export const DaysRow_propTypes = {
|
|
179
185
|
dayNames: PropTypes.array,
|
|
180
|
-
dayNamesShort: PropTypes.object
|
|
186
|
+
dayNamesShort: PropTypes.object,
|
|
187
|
+
holidays: PropTypes.arrayOf(PropTypes.number)
|
|
181
188
|
};
|
|
182
189
|
export const Time_propTypes = {
|
|
183
190
|
timeText: PropTypes.string,
|
|
@@ -191,19 +191,13 @@ export class MultiSelectComponent extends React.Component {
|
|
|
191
191
|
} //Need To MultiselectNew Component
|
|
192
192
|
|
|
193
193
|
|
|
194
|
-
this.handleComponentDidUpdate(prevProps, prevState);
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
let isElementScrollable = scrollHeight > clientHeight;
|
|
202
|
-
|
|
203
|
-
if (!isElementScrollable) {
|
|
204
|
-
this.handleScrollFuncCall();
|
|
205
|
-
}
|
|
206
|
-
}
|
|
194
|
+
this.handleComponentDidUpdate(prevProps, prevState); // if (isPopupOpen && isNextOptions && prevProps.selectedOptions.length !== selectedOptions.length) {
|
|
195
|
+
// let { scrollHeight, clientHeight } = this.suggestionContainer || {};
|
|
196
|
+
// let isElementScrollable = scrollHeight > clientHeight;
|
|
197
|
+
// if (!isElementScrollable) {
|
|
198
|
+
// this.handleScrollFuncCall();
|
|
199
|
+
// }
|
|
200
|
+
// }
|
|
207
201
|
}
|
|
208
202
|
|
|
209
203
|
componentWillUnmount() {
|
|
@@ -3,7 +3,7 @@ import { defaultProps } from './props/defaultProps';
|
|
|
3
3
|
import { propTypes } from './props/propTypes';
|
|
4
4
|
import cssJSLogic from './css/cssJSLogic';
|
|
5
5
|
import { mergeStyle } from '@zohodesk/utils';
|
|
6
|
-
import defaultStyle from './css/
|
|
6
|
+
import defaultStyle from './css/v1_Typography.module.css';
|
|
7
7
|
|
|
8
8
|
const Typography = props => {
|
|
9
9
|
const {
|
|
@@ -7,6 +7,8 @@ exports.propTypes = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
9
|
|
|
10
|
+
var _propTypes2 = require("../../Avatar/props/propTypes");
|
|
11
|
+
|
|
10
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
13
|
|
|
12
14
|
var propTypes = {
|
|
@@ -32,7 +34,7 @@ var propTypes = {
|
|
|
32
34
|
needDefaultBorder: _propTypes["default"].bool,
|
|
33
35
|
customProps: _propTypes["default"].shape({
|
|
34
36
|
AvatarTeamProps: _propTypes["default"].object,
|
|
35
|
-
AvatarProps: _propTypes["default"].
|
|
37
|
+
AvatarProps: _propTypes["default"].exact(_propTypes2.propTypes)
|
|
36
38
|
})
|
|
37
39
|
};
|
|
38
40
|
exports.propTypes = propTypes;
|
|
@@ -535,15 +535,14 @@
|
|
|
535
535
|
|
|
536
536
|
.primaryfilledStrike {
|
|
537
537
|
--button_border_color: var(--zdt_button_primaryfill_bg);
|
|
538
|
-
background-color: var(--zdt_button_primaryfill_bg);
|
|
539
538
|
}
|
|
540
539
|
|
|
541
540
|
[dir=ltr] .primaryfilledStrike {
|
|
542
|
-
background: repeating-linear-gradient(120deg, var(--zdt_button_primary_filled_strike) , var(--zdt_button_primary_filled_strike) 1px, var(--zdt_button_primaryfill_bg) 1px,var(--zdt_button_primaryfill_bg) 8px);
|
|
541
|
+
background: repeating-linear-gradient(120deg, var(--zdt_button_primary_filled_strike) , var(--zdt_button_primary_filled_strike) 1px, var(--zdt_button_primaryfill_bg) 1px,var(--zdt_button_primaryfill_bg) 8px), var(--zdt_button_primaryfill_bg);
|
|
543
542
|
}
|
|
544
543
|
|
|
545
544
|
[dir=rtl] .primaryfilledStrike {
|
|
546
|
-
background: repeating-linear-gradient(-120deg, var(--zdt_button_primary_filled_strike) , var(--zdt_button_primary_filled_strike) 1px, var(--zdt_button_primaryfill_bg) 1px,var(--zdt_button_primaryfill_bg) 8px);
|
|
545
|
+
background: repeating-linear-gradient(-120deg, var(--zdt_button_primary_filled_strike) , var(--zdt_button_primary_filled_strike) 1px, var(--zdt_button_primaryfill_bg) 1px,var(--zdt_button_primaryfill_bg) 8px), var(--zdt_button_primaryfill_bg);
|
|
547
546
|
}
|
|
548
547
|
|
|
549
548
|
[dir=ltr] .dangerStrike {
|
|
@@ -556,15 +555,14 @@
|
|
|
556
555
|
|
|
557
556
|
.dangerfilledStrike {
|
|
558
557
|
--button_border_color: var(--zdt_button_danger_border);
|
|
559
|
-
background-color: var(--zdt_button_dangerfill_bg);
|
|
560
558
|
}
|
|
561
559
|
|
|
562
560
|
[dir=ltr] .dangerfilledStrike {
|
|
563
|
-
background: repeating-linear-gradient(120deg,var(--zdt_button_danger_strike) , var(--zdt_button_danger_strike) 1px, var(--zdt_button_dangerfill_bg) 1px,var(--zdt_button_dangerfill_bg) 8px);
|
|
561
|
+
background: repeating-linear-gradient(120deg,var(--zdt_button_danger_strike) , var(--zdt_button_danger_strike) 1px, var(--zdt_button_dangerfill_bg) 1px,var(--zdt_button_dangerfill_bg) 8px), var(--zdt_button_dangerfill_bg);
|
|
564
562
|
}
|
|
565
563
|
|
|
566
564
|
[dir=rtl] .dangerfilledStrike {
|
|
567
|
-
background: repeating-linear-gradient(-120deg,var(--zdt_button_danger_strike) , var(--zdt_button_danger_strike) 1px, var(--zdt_button_dangerfill_bg) 1px,var(--zdt_button_dangerfill_bg) 8px);
|
|
565
|
+
background: repeating-linear-gradient(-120deg,var(--zdt_button_danger_strike) , var(--zdt_button_danger_strike) 1px, var(--zdt_button_dangerfill_bg) 1px,var(--zdt_button_dangerfill_bg) 8px), var(--zdt_button_dangerfill_bg);
|
|
568
566
|
}
|
|
569
567
|
|
|
570
568
|
[dir=ltr] .secondaryStrike {
|
package/lib/CheckBox/CheckBox.js
CHANGED
|
@@ -126,16 +126,17 @@ var CheckBox = /*#__PURE__*/function (_React$Component) {
|
|
|
126
126
|
role = _a11y$role === void 0 ? 'checkbox' : _a11y$role,
|
|
127
127
|
_a11y$ariaChecked = a11y.ariaChecked,
|
|
128
128
|
ariaChecked = _a11y$ariaChecked === void 0 ? checked : _a11y$ariaChecked;
|
|
129
|
+
var isEditable = !(isReadOnly || disabled);
|
|
129
130
|
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, _extends({
|
|
130
131
|
dataId: dataId,
|
|
131
132
|
isCover: false,
|
|
132
133
|
isInline: text ? false : true,
|
|
133
134
|
alignBox: "row",
|
|
134
135
|
align: "vertical",
|
|
135
|
-
className: "".concat(_CheckBoxModule["default"].container, " ").concat(accessMode, " ").concat(
|
|
136
|
+
className: "".concat(_CheckBoxModule["default"].container, " ").concat(accessMode, " ").concat(!isEditable ? '' : "".concat(_CheckBoxModule["default"][palette]), " \n ").concat(checked ? "".concat(_CheckBoxModule["default"]["checked".concat(palette)]) : '', " ").concat(customCheckBox),
|
|
136
137
|
"data-title": toolTip,
|
|
137
|
-
onClick:
|
|
138
|
-
tabIndex:
|
|
138
|
+
onClick: !isEditable ? null : this.onChange,
|
|
139
|
+
tabIndex: !isEditable || ariaHidden ? '-1' : '0',
|
|
139
140
|
"aria-checked": ariaChecked,
|
|
140
141
|
eleRef: this.handleGetContainerRef,
|
|
141
142
|
role: role,
|
|
@@ -144,7 +145,7 @@ var CheckBox = /*#__PURE__*/function (_React$Component) {
|
|
|
144
145
|
"aria-hidden": ariaHidden,
|
|
145
146
|
"data-selector-id": dataSelectorId || id
|
|
146
147
|
}, CheckBoxProps), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
147
|
-
className: "".concat(_CheckBoxModule["default"].boxContainer, " ").concat(_CheckBoxModule["default"][size], " ").concat(customCBoxSize, " ").concat(isFilled ? _CheckBoxModule["default"].filled : '')
|
|
148
|
+
className: "".concat(_CheckBoxModule["default"].boxContainer, " ").concat(_CheckBoxModule["default"][size], " ").concat(customCBoxSize, " ").concat(isFilled ? _CheckBoxModule["default"].filled : '', " ").concat(!isEditable ? "".concat(_CheckBoxModule["default"]["disabled"]) : '')
|
|
148
149
|
}, /*#__PURE__*/_react["default"].createElement("input", {
|
|
149
150
|
type: "hidden",
|
|
150
151
|
id: id,
|
|
@@ -97,10 +97,10 @@
|
|
|
97
97
|
margin-right: var(--zd_size6) ;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
.checkedprimary,
|
|
100
|
+
.checkedprimary,
|
|
101
101
|
.checkeddanger {
|
|
102
102
|
stroke: var(--checkbox_checked_stroke_color);
|
|
103
|
-
}
|
|
103
|
+
}
|
|
104
104
|
.primary:hover
|
|
105
105
|
/* .primary:focus */
|
|
106
106
|
{
|
|
@@ -138,6 +138,9 @@
|
|
|
138
138
|
.checkeddangerLabel {
|
|
139
139
|
--checkbox_checked_active_color: var(--zdt_checkbox_danger_stroke_border);
|
|
140
140
|
}
|
|
141
|
+
.disabled {
|
|
142
|
+
opacity: 0.7
|
|
143
|
+
}
|
|
141
144
|
@keyframes tickAnimate {
|
|
142
145
|
0% {
|
|
143
146
|
stroke-dashoffset: 40;
|