@carbon/ibm-products 1.61.1 → 1.62.1
Sign up to get free protection for your applications and to get access to all the features.
- package/css/index-full-carbon.css +172 -70
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +3 -3
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +1768 -0
- package/css/index-without-carbon-released-only.css.map +1 -1
- package/css/index-without-carbon-released-only.min.css +3 -1
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +172 -70
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +3 -3
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +172 -70
- package/css/index.css.map +1 -1
- package/css/index.min.css +3 -3
- package/css/index.min.css.map +1 -1
- package/es/components/Carousel/Carousel.js +194 -119
- package/es/components/Carousel/CarouselItem.js +8 -21
- package/es/components/Coachmark/Coachmark.js +17 -5
- package/es/components/Coachmark/CoachmarkDragbar.js +12 -5
- package/es/components/Coachmark/CoachmarkHeader.js +2 -1
- package/es/components/Coachmark/CoachmarkOverlay.js +105 -9
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +5 -2
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +26 -6
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +34 -10
- package/es/components/CoachmarkStack/CoachmarkStack.js +19 -4
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +45 -11
- package/es/components/Datagrid/Datagrid/DatagridContent.js +12 -9
- package/es/components/Datagrid/Datagrid/DatagridExpandedRow.js +6 -4
- package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +42 -25
- package/es/components/Datagrid/Datagrid/DatagridRefBody.js +4 -1
- package/es/components/Datagrid/Datagrid/DatagridRow.js +23 -11
- package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +31 -12
- package/es/components/Datagrid/Datagrid/DatagridSimpleBody.js +4 -1
- package/es/components/Datagrid/Datagrid/DatagridToolbar.js +43 -23
- package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +18 -18
- package/es/components/Datagrid/Datagrid/addons/stateReducer.js +93 -14
- package/es/components/Datagrid/Datagrid.stories/StickyActionsColumnStory.js +1 -1
- package/es/components/Datagrid/useActionsColumn.js +9 -9
- package/es/components/Datagrid/useDatagrid.js +13 -1
- package/es/components/Datagrid/useExpandedRow.js +3 -6
- package/es/components/Datagrid/useFlexResize.js +19 -9
- package/es/components/Datagrid/useFocusRowExpander.js +40 -0
- package/es/components/Datagrid/useInfiniteScroll.js +10 -9
- package/es/components/Datagrid/useNestedRowExpander.js +9 -0
- package/es/components/Datagrid/useNestedRows.js +0 -4
- package/es/components/Datagrid/useOnRowClick.js +6 -7
- package/es/components/Datagrid/useParentDimensions.js +6 -6
- package/es/components/Datagrid/useResizeTable.js +7 -7
- package/es/components/Datagrid/useRowExpander.js +9 -0
- package/es/components/Datagrid/useSelectAllToggle.js +2 -2
- package/es/components/Datagrid/useSelectRows.js +52 -30
- package/es/components/Datagrid/useSkeletonRows.js +6 -6
- package/es/components/Datagrid/useSortableColumns.js +4 -5
- package/es/components/Datagrid/useStickyColumn.js +13 -6
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -0
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -0
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -0
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -0
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -0
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -0
- package/es/components/EmptyStates/assets/ErrorIllustration.js +6 -4
- package/es/components/EmptyStates/assets/NoDataIllustration.js +6 -4
- package/es/components/EmptyStates/assets/NoTagsIllustration.js +6 -4
- package/es/components/EmptyStates/assets/NotFoundIllustration.js +6 -4
- package/es/components/EmptyStates/assets/NotificationsIllustration.js +6 -4
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +6 -4
- package/es/components/Guidebanner/Guidebanner.js +9 -12
- package/es/global/js/hooks/index.js +3 -2
- package/es/global/js/hooks/usePrefix.js +11 -0
- package/es/global/js/package-settings.js +1 -4
- package/lib/components/Carousel/Carousel.js +190 -114
- package/lib/components/Carousel/CarouselItem.js +9 -25
- package/lib/components/Coachmark/Coachmark.js +16 -4
- package/lib/components/Coachmark/CoachmarkDragbar.js +12 -5
- package/lib/components/Coachmark/CoachmarkHeader.js +2 -1
- package/lib/components/Coachmark/CoachmarkOverlay.js +105 -8
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +5 -2
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +25 -5
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +34 -10
- package/lib/components/CoachmarkStack/CoachmarkStack.js +18 -3
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +44 -10
- package/lib/components/Datagrid/Datagrid/DatagridContent.js +12 -9
- package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.js +6 -4
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +42 -32
- package/lib/components/Datagrid/Datagrid/DatagridRefBody.js +4 -1
- package/lib/components/Datagrid/Datagrid/DatagridRow.js +17 -4
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +25 -5
- package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +4 -1
- package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +43 -23
- package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +12 -12
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +96 -15
- package/lib/components/Datagrid/Datagrid.stories/StickyActionsColumnStory.js +1 -1
- package/lib/components/Datagrid/useActionsColumn.js +9 -12
- package/lib/components/Datagrid/useDatagrid.js +13 -1
- package/lib/components/Datagrid/useExpandedRow.js +2 -5
- package/lib/components/Datagrid/useFlexResize.js +19 -9
- package/lib/components/Datagrid/useFocusRowExpander.js +46 -0
- package/lib/components/Datagrid/useInfiniteScroll.js +9 -9
- package/lib/components/Datagrid/useNestedRowExpander.js +9 -0
- package/lib/components/Datagrid/useNestedRows.js +0 -4
- package/lib/components/Datagrid/useOnRowClick.js +6 -7
- package/lib/components/Datagrid/useParentDimensions.js +5 -6
- package/lib/components/Datagrid/useResizeTable.js +6 -7
- package/lib/components/Datagrid/useRowExpander.js +9 -0
- package/lib/components/Datagrid/useSelectAllToggle.js +2 -2
- package/lib/components/Datagrid/useSelectRows.js +46 -23
- package/lib/components/Datagrid/useSkeletonRows.js +6 -6
- package/lib/components/Datagrid/useSortableColumns.js +4 -5
- package/lib/components/Datagrid/useStickyColumn.js +8 -0
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -0
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -0
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -0
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -0
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -0
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -0
- package/lib/components/EmptyStates/assets/ErrorIllustration.js +6 -4
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +6 -4
- package/lib/components/EmptyStates/assets/NoTagsIllustration.js +6 -4
- package/lib/components/EmptyStates/assets/NotFoundIllustration.js +6 -4
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +6 -4
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +6 -4
- package/lib/components/Guidebanner/Guidebanner.js +9 -12
- package/lib/global/js/hooks/index.js +8 -1
- package/lib/global/js/hooks/usePrefix.js +19 -0
- package/lib/global/js/package-settings.js +1 -4
- package/package.json +2 -2
- package/scss/components/Carousel/_carousel.scss +1 -2
- package/scss/components/Checklist/_checklist.scss +13 -25
- package/scss/components/Coachmark/styles/_coachmark-dragbar.scss +1 -45
- package/scss/components/Coachmark/styles/_coachmark-header.scss +0 -33
- package/scss/components/Coachmark/styles/_coachmark-overlay.scss +113 -5
- package/scss/components/Coachmark/styles/_coachmark-tagline.scss +18 -0
- package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +19 -1
- package/scss/components/CoachmarkOverlayElement/_coachmark-overlay-element.scss +2 -0
- package/scss/components/CoachmarkOverlayElements/_coachmark-overlay-elements.scss +1 -0
- package/scss/components/CoachmarkStack/_coachmark-stack.scss +3 -0
- package/scss/components/Datagrid/styles/_datagrid.scss +31 -5
- package/scss/components/Datagrid/styles/_useExpandedRow.scss +21 -0
- package/scss/components/Datagrid/styles/_useNestedRows.scss +1 -1
- package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +9 -0
- package/scss/components/_index-released-only.scss +1 -0
- package/es/components/Carousel/utils.js +0 -98
- package/lib/components/Carousel/utils.js +0 -108
@@ -28,9 +28,11 @@ var useStickyColumn = function useStickyColumn(hooks) {
|
|
28
28
|
setWindowSize(window.innerWidth);
|
29
29
|
}, []);
|
30
30
|
(0, _react.useLayoutEffect)(function () {
|
31
|
+
/* istanbul ignore next */
|
31
32
|
function updateSize() {
|
32
33
|
setWindowSize(window.innerWidth);
|
33
34
|
}
|
35
|
+
/* istanbul ignore next */
|
34
36
|
window.addEventListener('resize', updateSize);
|
35
37
|
return function () {
|
36
38
|
return window.removeEventListener('resize', updateSize);
|
@@ -51,14 +53,17 @@ var useStickyColumn = function useStickyColumn(hooks) {
|
|
51
53
|
(0, _react.useEffect)(function () {
|
52
54
|
var tableBodyElement = tableBodyRef.current;
|
53
55
|
var headerCellElement = stickyHeaderCellRef.current;
|
56
|
+
/* istanbul ignore next */
|
54
57
|
if (hasVertScroll(tableBodyElement) && headerCellElement) {
|
55
58
|
headerCellElement.classList.add(OFFSET_SCROLL_CLASS);
|
56
59
|
}
|
57
60
|
var boundListener = (0, _debounce.default)(onBodyResize.bind(null, tableBodyElement, headerCellElement), 250);
|
61
|
+
/* istanbul ignore next */
|
58
62
|
if (typeof window !== 'undefined') {
|
59
63
|
window.addEventListener('resize', boundListener);
|
60
64
|
}
|
61
65
|
return function () {
|
66
|
+
/* istanbul ignore next */
|
62
67
|
if (typeof window !== 'undefined') {
|
63
68
|
window.removeEventListener('resize', boundListener);
|
64
69
|
}
|
@@ -157,6 +162,7 @@ var changeProps = function changeProps(elementName, headerCellRef, windowSize, p
|
|
157
162
|
};
|
158
163
|
var onBodyResize = function onBodyResize(tableBodyEle, headerCellEle) {
|
159
164
|
if (headerCellEle) {
|
165
|
+
/* istanbul ignore next */
|
160
166
|
if (hasVertScroll(tableBodyEle)) {
|
161
167
|
headerCellEle.classList.add(OFFSET_SCROLL_CLASS);
|
162
168
|
} else {
|
@@ -166,6 +172,7 @@ var onBodyResize = function onBodyResize(tableBodyEle, headerCellEle) {
|
|
166
172
|
}
|
167
173
|
};
|
168
174
|
var toggleStickyShadow = function toggleStickyShadow(tableBodyEle, headerCellEle) {
|
175
|
+
/* istanbul ignore next */
|
169
176
|
if (tableBodyEle && headerCellEle) {
|
170
177
|
var isScrolledToRight = tableBodyEle.scrollLeft + tableBodyEle.clientWidth === tableBodyEle.scrollWidth;
|
171
178
|
if (isScrolledToRight) {
|
@@ -178,6 +185,7 @@ var toggleStickyShadow = function toggleStickyShadow(tableBodyEle, headerCellEle
|
|
178
185
|
}
|
179
186
|
};
|
180
187
|
var hasVertScroll = function hasVertScroll(element) {
|
188
|
+
/* istanbul ignore next */
|
181
189
|
if (!element) {
|
182
190
|
return false;
|
183
191
|
}
|
@@ -37,6 +37,7 @@ var ErrorEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref
|
|
37
37
|
className: (0, _classnames.default)(blockClass, className, "".concat(blockClass, "-type--error")),
|
38
38
|
ref: ref
|
39
39
|
}, (0, _devtools.getDevtoolsProps)(componentName)), /*#__PURE__*/_react.default.createElement(_ErrorIllustration.ErrorIllustration, {
|
40
|
+
title: title,
|
40
41
|
theme: illustrationTheme,
|
41
42
|
size: size
|
42
43
|
}), /*#__PURE__*/_react.default.createElement(_EmptyStateContent.EmptyStateContent, {
|
@@ -37,6 +37,7 @@ var NoDataEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, re
|
|
37
37
|
className: (0, _classnames.default)(blockClass, className, "".concat(blockClass, "-type--noData")),
|
38
38
|
ref: ref
|
39
39
|
}, (0, _devtools.getDevtoolsProps)(componentName)), /*#__PURE__*/_react.default.createElement(_NoDataIllustration.NoDataIllustration, {
|
40
|
+
title: title,
|
40
41
|
theme: illustrationTheme,
|
41
42
|
size: size
|
42
43
|
}), /*#__PURE__*/_react.default.createElement(_EmptyStateContent.EmptyStateContent, {
|
@@ -37,6 +37,7 @@ var NoTagsEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref, re
|
|
37
37
|
className: (0, _classnames.default)(blockClass, className, "".concat(blockClass, "-type--noTags")),
|
38
38
|
ref: ref
|
39
39
|
}, (0, _devtools.getDevtoolsProps)(componentName)), /*#__PURE__*/_react.default.createElement(_NoTagsIllustration.NoTagsIllustration, {
|
40
|
+
title: title,
|
40
41
|
theme: illustrationTheme,
|
41
42
|
size: size
|
42
43
|
}), /*#__PURE__*/_react.default.createElement(_EmptyStateContent.EmptyStateContent, {
|
@@ -37,6 +37,7 @@ var NotFoundEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_ref,
|
|
37
37
|
className: (0, _classnames.default)(blockClass, className, "".concat(blockClass, "-type--notFound")),
|
38
38
|
ref: ref
|
39
39
|
}, (0, _devtools.getDevtoolsProps)(componentName)), /*#__PURE__*/_react.default.createElement(_NotFoundIllustration.NotFoundIllustration, {
|
40
|
+
title: title,
|
40
41
|
theme: illustrationTheme,
|
41
42
|
size: size
|
42
43
|
}), /*#__PURE__*/_react.default.createElement(_EmptyStateContent.EmptyStateContent, {
|
@@ -38,6 +38,7 @@ var NotificationsEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_
|
|
38
38
|
ref: ref
|
39
39
|
}, (0, _devtools.getDevtoolsProps)(componentName)), /*#__PURE__*/_react.default.createElement(_NotificationsIllustration.NotificationsIllustration, {
|
40
40
|
size: size,
|
41
|
+
title: title,
|
41
42
|
theme: illustrationTheme
|
42
43
|
}), /*#__PURE__*/_react.default.createElement(_EmptyStateContent.EmptyStateContent, {
|
43
44
|
action: action,
|
@@ -38,6 +38,7 @@ var UnauthorizedEmptyState = /*#__PURE__*/_react.default.forwardRef(function (_r
|
|
38
38
|
ref: ref
|
39
39
|
}, (0, _devtools.getDevtoolsProps)(componentName)), /*#__PURE__*/_react.default.createElement(_UnauthorizedIllustration.UnauthorizedIllustration, {
|
40
40
|
size: size,
|
41
|
+
title: title,
|
41
42
|
theme: illustrationTheme
|
42
43
|
}), /*#__PURE__*/_react.default.createElement(_EmptyStateContent.EmptyStateContent, {
|
43
44
|
action: action,
|
@@ -12,11 +12,12 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
12
|
var _classnames = _interopRequireDefault(require("classnames"));
|
13
13
|
var _settings = require("../../../settings");
|
14
14
|
var _uuidv = _interopRequireDefault(require("../../../global/js/utils/uuidv4"));
|
15
|
-
var _excluded = ["theme", "size"];
|
15
|
+
var _excluded = ["title", "theme", "size"];
|
16
16
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
17
17
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
18
18
|
var ErrorIllustration = function ErrorIllustration(_ref) {
|
19
|
-
var
|
19
|
+
var title = _ref.title,
|
20
|
+
theme = _ref.theme,
|
20
21
|
size = _ref.size,
|
21
22
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
22
23
|
var svgId = (0, _uuidv.default)();
|
@@ -27,7 +28,7 @@ var ErrorIllustration = function ErrorIllustration(_ref) {
|
|
27
28
|
viewBox: "0 0 80 80",
|
28
29
|
className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration-error"), "".concat(blockClass, "__illustration--").concat(size)]),
|
29
30
|
role: "img"
|
30
|
-
}), theme === 'dark' ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
|
31
|
+
}), /*#__PURE__*/_react.default.createElement("title", null, title), theme === 'dark' ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
|
31
32
|
id: "prefix__a_dark_".concat(svgId),
|
32
33
|
x1: 38.9,
|
33
34
|
y1: 77.08,
|
@@ -206,5 +207,6 @@ var ErrorIllustration = function ErrorIllustration(_ref) {
|
|
206
207
|
exports.ErrorIllustration = ErrorIllustration;
|
207
208
|
ErrorIllustration.propTypes = {
|
208
209
|
size: _propTypes.default.oneOf(['lg', 'sm']),
|
209
|
-
theme: _propTypes.default.oneOf(['light', 'dark'])
|
210
|
+
theme: _propTypes.default.oneOf(['light', 'dark']),
|
211
|
+
title: _propTypes.default.string
|
210
212
|
};
|
@@ -12,11 +12,12 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
12
|
var _classnames = _interopRequireDefault(require("classnames"));
|
13
13
|
var _settings = require("../../../settings");
|
14
14
|
var _uuidv = _interopRequireDefault(require("../../../global/js/utils/uuidv4"));
|
15
|
-
var _excluded = ["theme", "size"];
|
15
|
+
var _excluded = ["title", "theme", "size"];
|
16
16
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
17
17
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
18
18
|
var NoDataIllustration = function NoDataIllustration(_ref) {
|
19
|
-
var
|
19
|
+
var title = _ref.title,
|
20
|
+
theme = _ref.theme,
|
20
21
|
size = _ref.size,
|
21
22
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
22
23
|
var svgId = (0, _uuidv.default)();
|
@@ -27,7 +28,7 @@ var NoDataIllustration = function NoDataIllustration(_ref) {
|
|
27
28
|
viewBox: "0 0 80 80",
|
28
29
|
className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration-noData"), "".concat(blockClass, "__illustration--").concat(size)]),
|
29
30
|
role: "img"
|
30
|
-
}), theme === 'dark' ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
|
31
|
+
}), /*#__PURE__*/_react.default.createElement("title", null, title), theme === 'dark' ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
|
31
32
|
id: "prefix__a_dark_".concat(svgId),
|
32
33
|
x1: 11.12,
|
33
34
|
y1: 43.34,
|
@@ -169,5 +170,6 @@ var NoDataIllustration = function NoDataIllustration(_ref) {
|
|
169
170
|
exports.NoDataIllustration = NoDataIllustration;
|
170
171
|
NoDataIllustration.propTypes = {
|
171
172
|
size: _propTypes.default.oneOf(['lg', 'sm']),
|
172
|
-
theme: _propTypes.default.oneOf(['light', 'dark'])
|
173
|
+
theme: _propTypes.default.oneOf(['light', 'dark']),
|
174
|
+
title: _propTypes.default.string
|
173
175
|
};
|
@@ -12,11 +12,12 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
12
|
var _classnames = _interopRequireDefault(require("classnames"));
|
13
13
|
var _settings = require("../../../settings");
|
14
14
|
var _uuidv = _interopRequireDefault(require("../../../global/js/utils/uuidv4"));
|
15
|
-
var _excluded = ["theme", "size"];
|
15
|
+
var _excluded = ["title", "theme", "size"];
|
16
16
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
17
17
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
18
18
|
var NoTagsIllustration = function NoTagsIllustration(_ref) {
|
19
|
-
var
|
19
|
+
var title = _ref.title,
|
20
|
+
theme = _ref.theme,
|
20
21
|
size = _ref.size,
|
21
22
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
22
23
|
var svgId = (0, _uuidv.default)();
|
@@ -28,7 +29,7 @@ var NoTagsIllustration = function NoTagsIllustration(_ref) {
|
|
28
29
|
viewBox: "0 0 80 80",
|
29
30
|
className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration-noTags"), "".concat(blockClass, "__illustration--").concat(size)]),
|
30
31
|
role: "img"
|
31
|
-
}), theme === 'dark' ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
|
32
|
+
}), /*#__PURE__*/_react.default.createElement("title", null, title), theme === 'dark' ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
|
32
33
|
id: "prefix__c_dark_".concat(svgId),
|
33
34
|
x1: 34.96,
|
34
35
|
y1: 5.37,
|
@@ -476,5 +477,6 @@ var NoTagsIllustration = function NoTagsIllustration(_ref) {
|
|
476
477
|
exports.NoTagsIllustration = NoTagsIllustration;
|
477
478
|
NoTagsIllustration.propTypes = {
|
478
479
|
size: _propTypes.default.oneOf(['lg', 'sm']),
|
479
|
-
theme: _propTypes.default.oneOf(['light', 'dark'])
|
480
|
+
theme: _propTypes.default.oneOf(['light', 'dark']),
|
481
|
+
title: _propTypes.default.string
|
480
482
|
};
|
@@ -12,11 +12,12 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
12
|
var _classnames = _interopRequireDefault(require("classnames"));
|
13
13
|
var _settings = require("../../../settings");
|
14
14
|
var _uuidv = _interopRequireDefault(require("../../../global/js/utils/uuidv4"));
|
15
|
-
var _excluded = ["theme", "size"];
|
15
|
+
var _excluded = ["title", "theme", "size"];
|
16
16
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
17
17
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
18
18
|
var NotFoundIllustration = function NotFoundIllustration(_ref) {
|
19
|
-
var
|
19
|
+
var title = _ref.title,
|
20
|
+
theme = _ref.theme,
|
20
21
|
size = _ref.size,
|
21
22
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
22
23
|
var svgId = (0, _uuidv.default)();
|
@@ -27,7 +28,7 @@ var NotFoundIllustration = function NotFoundIllustration(_ref) {
|
|
27
28
|
viewBox: "0 0 80 80",
|
28
29
|
className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration-notFound"), "".concat(blockClass, "__illustration--").concat(size)]),
|
29
30
|
role: "img"
|
30
|
-
}), theme === 'dark' ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
|
31
|
+
}), /*#__PURE__*/_react.default.createElement("title", null, title), theme === 'dark' ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
|
31
32
|
id: "prefix__a_dark_".concat(svgId),
|
32
33
|
x1: 2.6,
|
33
34
|
y1: -12.81,
|
@@ -353,5 +354,6 @@ var NotFoundIllustration = function NotFoundIllustration(_ref) {
|
|
353
354
|
exports.NotFoundIllustration = NotFoundIllustration;
|
354
355
|
NotFoundIllustration.propTypes = {
|
355
356
|
size: _propTypes.default.oneOf(['lg', 'sm']),
|
356
|
-
theme: _propTypes.default.oneOf(['light', 'dark'])
|
357
|
+
theme: _propTypes.default.oneOf(['light', 'dark']),
|
358
|
+
title: _propTypes.default.string
|
357
359
|
};
|
@@ -12,11 +12,12 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
12
|
var _classnames = _interopRequireDefault(require("classnames"));
|
13
13
|
var _settings = require("../../../settings");
|
14
14
|
var _uuidv = _interopRequireDefault(require("../../../global/js/utils/uuidv4"));
|
15
|
-
var _excluded = ["theme", "size"];
|
15
|
+
var _excluded = ["title", "theme", "size"];
|
16
16
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
17
17
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
18
18
|
var NotificationsIllustration = function NotificationsIllustration(_ref) {
|
19
|
-
var
|
19
|
+
var title = _ref.title,
|
20
|
+
theme = _ref.theme,
|
20
21
|
size = _ref.size,
|
21
22
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
22
23
|
var svgId = (0, _uuidv.default)();
|
@@ -27,7 +28,7 @@ var NotificationsIllustration = function NotificationsIllustration(_ref) {
|
|
27
28
|
viewBox: "0 0 80 80",
|
28
29
|
className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration-notification"), "".concat(blockClass, "__illustration--").concat(size)]),
|
29
30
|
role: "img"
|
30
|
-
}), theme === 'dark' ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
|
31
|
+
}), /*#__PURE__*/_react.default.createElement("title", null, title), theme === 'dark' ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
|
31
32
|
id: "prefix__a_dark_".concat(svgId),
|
32
33
|
x1: 30.05,
|
33
34
|
y1: 54.31,
|
@@ -324,5 +325,6 @@ var NotificationsIllustration = function NotificationsIllustration(_ref) {
|
|
324
325
|
exports.NotificationsIllustration = NotificationsIllustration;
|
325
326
|
NotificationsIllustration.propTypes = {
|
326
327
|
size: _propTypes.default.oneOf(['lg', 'sm']),
|
327
|
-
theme: _propTypes.default.oneOf(['light', 'dark'])
|
328
|
+
theme: _propTypes.default.oneOf(['light', 'dark']),
|
329
|
+
title: _propTypes.default.string
|
328
330
|
};
|
@@ -12,11 +12,12 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
12
|
var _classnames = _interopRequireDefault(require("classnames"));
|
13
13
|
var _settings = require("../../../settings");
|
14
14
|
var _uuidv = _interopRequireDefault(require("../../../global/js/utils/uuidv4"));
|
15
|
-
var _excluded = ["theme", "size"];
|
15
|
+
var _excluded = ["title", "theme", "size"];
|
16
16
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
17
17
|
var blockClass = "".concat(_settings.pkg.prefix, "--empty-state");
|
18
18
|
var UnauthorizedIllustration = function UnauthorizedIllustration(_ref) {
|
19
|
-
var
|
19
|
+
var title = _ref.title,
|
20
|
+
theme = _ref.theme,
|
20
21
|
size = _ref.size,
|
21
22
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
22
23
|
var svgId = (0, _uuidv.default)();
|
@@ -28,7 +29,7 @@ var UnauthorizedIllustration = function UnauthorizedIllustration(_ref) {
|
|
28
29
|
viewBox: "0 0 80 80",
|
29
30
|
className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration-unauthorized"), "".concat(blockClass, "__illustration--").concat(size)]),
|
30
31
|
role: "img"
|
31
|
-
}), theme === 'dark' ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
|
32
|
+
}), /*#__PURE__*/_react.default.createElement("title", null, title), theme === 'dark' ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
|
32
33
|
id: "prefix__b_dark_".concat(svgId),
|
33
34
|
x1: 17.33,
|
34
35
|
y1: 40.68,
|
@@ -297,5 +298,6 @@ var UnauthorizedIllustration = function UnauthorizedIllustration(_ref) {
|
|
297
298
|
exports.UnauthorizedIllustration = UnauthorizedIllustration;
|
298
299
|
UnauthorizedIllustration.propTypes = {
|
299
300
|
size: _propTypes.default.oneOf(['lg', 'sm']),
|
300
|
-
theme: _propTypes.default.oneOf(['light', 'dark'])
|
301
|
+
theme: _propTypes.default.oneOf(['light', 'dark']),
|
302
|
+
title: _propTypes.default.string
|
301
303
|
};
|
@@ -73,9 +73,6 @@ var Guidebanner = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
73
73
|
_useState6 = (0, _slicedToArray2.default)(_useState5, 2),
|
74
74
|
isCollapsed = _useState6[0],
|
75
75
|
setIsCollapsed = _useState6[1];
|
76
|
-
var handleScrollableChange = function handleScrollableChange(value) {
|
77
|
-
setShowNavigation(value);
|
78
|
-
};
|
79
76
|
var handleClickToggle = function handleClickToggle() {
|
80
77
|
setScrollPosition(0);
|
81
78
|
scrollRef.current.scrollToView(0);
|
@@ -100,9 +97,13 @@ var Guidebanner = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
100
97
|
left: _colors.blue90,
|
101
98
|
right: _colors.purple70
|
102
99
|
},
|
103
|
-
|
104
|
-
|
105
|
-
|
100
|
+
onChangeIsScrollable: function onChangeIsScrollable(value) {
|
101
|
+
setShowNavigation(value);
|
102
|
+
},
|
103
|
+
onScroll: function onScroll(scrollPercent) {
|
104
|
+
setScrollPosition(scrollPercent);
|
105
|
+
},
|
106
|
+
ref: scrollRef
|
106
107
|
}, children), /*#__PURE__*/_react.default.createElement("div", {
|
107
108
|
className: (0, _classnames.default)([collapsible || showNavigation ? "".concat(blockClass, "__navigation") : null])
|
108
109
|
}, collapsible && /*#__PURE__*/_react.default.createElement(_carbonComponentsReact.Button, {
|
@@ -121,9 +122,7 @@ var Guidebanner = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
121
122
|
tooltipPosition: "top",
|
122
123
|
iconDescription: previousIconDescription,
|
123
124
|
onClick: function onClick() {
|
124
|
-
scrollRef.current.scrollPrev()
|
125
|
-
return setScrollPosition(scrollPercentage);
|
126
|
-
});
|
125
|
+
scrollRef.current.scrollPrev();
|
127
126
|
}
|
128
127
|
}), /*#__PURE__*/_react.default.createElement(_carbonComponentsReact.Button, {
|
129
128
|
kind: "ghost",
|
@@ -136,9 +135,7 @@ var Guidebanner = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
136
135
|
tooltipAlignment: "end",
|
137
136
|
iconDescription: nextIconDescription,
|
138
137
|
onClick: function onClick() {
|
139
|
-
scrollRef.current.scrollNext()
|
140
|
-
return setScrollPosition(scrollPercentage);
|
141
|
-
});
|
138
|
+
scrollRef.current.scrollNext();
|
142
139
|
}
|
143
140
|
}))), onClose && /*#__PURE__*/_react.default.createElement(_carbonComponentsReact.Button, {
|
144
141
|
className: "".concat(blockClass, "__close-button"),
|
@@ -39,6 +39,12 @@ Object.defineProperty(exports, "useNearestScroll", {
|
|
39
39
|
return _useWindowScroll.useNearestScroll;
|
40
40
|
}
|
41
41
|
});
|
42
|
+
Object.defineProperty(exports, "usePrefix", {
|
43
|
+
enumerable: true,
|
44
|
+
get: function get() {
|
45
|
+
return _usePrefix.usePrefix;
|
46
|
+
}
|
47
|
+
});
|
42
48
|
Object.defineProperty(exports, "usePreviousValue", {
|
43
49
|
enumerable: true,
|
44
50
|
get: function get() {
|
@@ -85,4 +91,5 @@ var _usePreviousValue = require("./usePreviousValue");
|
|
85
91
|
var _useResetCreateComponent = require("./useResetCreateComponent");
|
86
92
|
var _useRetrieveStepData = require("./useRetrieveStepData");
|
87
93
|
var _useValidCreateStepCount = require("./useValidCreateStepCount");
|
88
|
-
var _useControllableState = require("./useControllableState");
|
94
|
+
var _useControllableState = require("./useControllableState");
|
95
|
+
var _usePrefix = require("./usePrefix");
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports.usePrefix = void 0;
|
8
|
+
var _packageSettings = _interopRequireDefault(require("../package-settings"));
|
9
|
+
/**
|
10
|
+
* Copyright IBM Corp. 2023, 2023
|
11
|
+
*
|
12
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
14
|
+
*/
|
15
|
+
|
16
|
+
var usePrefix = function usePrefix() {
|
17
|
+
return _packageSettings.default.prefix;
|
18
|
+
};
|
19
|
+
exports.usePrefix = usePrefix;
|
@@ -25,6 +25,7 @@ var defaults = {
|
|
25
25
|
CreateTearsheet: true,
|
26
26
|
CreateTearsheetStep: true,
|
27
27
|
CreateTearsheetDivider: true,
|
28
|
+
Datagrid: true,
|
28
29
|
EditInPlace: true,
|
29
30
|
EmptyState: true,
|
30
31
|
ErrorEmptyState: true,
|
@@ -65,7 +66,6 @@ var defaults = {
|
|
65
66
|
EditSidePanel: false,
|
66
67
|
CancelableTextEdit: false,
|
67
68
|
DataSpreadsheet: false,
|
68
|
-
Datagrid: false,
|
69
69
|
EditTearsheet: false,
|
70
70
|
EditTearsheetNarrow: false,
|
71
71
|
EditFullPage: false,
|
@@ -95,10 +95,7 @@ var defaults = {
|
|
95
95
|
feature: {
|
96
96
|
'a-new-feature': false,
|
97
97
|
'default-portal-target-body': true,
|
98
|
-
'Datagrid.useExpandedRow': false,
|
99
|
-
'Datagrid.useNestedRows': false,
|
100
98
|
'Datagrid.useInlineEdit': false,
|
101
|
-
'Datagrid.useActionsColumn': false,
|
102
99
|
'Datagrid.useFiltering': false,
|
103
100
|
'Datagrid.useCustomizeColumns': false,
|
104
101
|
'ExampleComponent.secondaryIcon': false,
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@carbon/ibm-products",
|
3
3
|
"description": "Carbon for IBM Products",
|
4
|
-
"version": "1.
|
4
|
+
"version": "1.62.1",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "lib/index.js",
|
7
7
|
"module": "es/index.js",
|
@@ -97,5 +97,5 @@
|
|
97
97
|
"react": "^16.8.6 || ^17.0.1",
|
98
98
|
"react-dom": "^16.8.6 || ^17.0.1"
|
99
99
|
},
|
100
|
-
"gitHead": "
|
100
|
+
"gitHead": "9de0589dad65ac5c559578d5f53c6ee31432717a"
|
101
101
|
}
|
@@ -11,18 +11,6 @@
|
|
11
11
|
@import '../../global/styles/project-settings';
|
12
12
|
@import '../../global/styles/mixins';
|
13
13
|
|
14
|
-
// Other Carbon settings.
|
15
|
-
// TODO: @import 'carbon-components/scss/globals/grid/grid'; if needed
|
16
|
-
|
17
|
-
// Checklist uses the following Carbon components:
|
18
|
-
// TODO: @import(s) of Carbon component styles used by Checklist
|
19
|
-
|
20
|
-
// Checklist uses the following Carbon for IBM Products components:
|
21
|
-
// TODO: @import(s) of IBM Products component styles used by Checklist
|
22
|
-
|
23
|
-
// Define all component styles in a mixin which is then exported using
|
24
|
-
// the Carbon import-once mechanism.
|
25
|
-
|
26
14
|
@mixin ellipsis-2-lines {
|
27
15
|
display: -webkit-box;
|
28
16
|
overflow: hidden;
|
@@ -39,6 +27,7 @@
|
|
39
27
|
&__header {
|
40
28
|
display: flex;
|
41
29
|
padding: $spacing-05;
|
30
|
+
border-top: 1px solid $ui-03;
|
42
31
|
background-color: $ui-01;
|
43
32
|
gap: $spacing-03;
|
44
33
|
}
|
@@ -114,7 +103,9 @@
|
|
114
103
|
transform: rotate(-180deg);
|
115
104
|
}
|
116
105
|
|
117
|
-
// Button to appear more like a link so it aligns better with the list text
|
106
|
+
// Button to appear more like a link so it aligns better with the list text.
|
107
|
+
// Override Primary button styling to appear more like a link.
|
108
|
+
// "Unset" some settings to allow an inner div to enable multiple lines and an ellipsis if req'd.
|
118
109
|
&__button {
|
119
110
|
max-width: none !important;
|
120
111
|
min-height: auto !important;
|
@@ -126,8 +117,7 @@
|
|
126
117
|
background-color: transparent !important;
|
127
118
|
color: $link-01 !important;
|
128
119
|
|
129
|
-
// The CSS for the Carbon button's label
|
130
|
-
// is incompatible with two-line ellipsis,
|
120
|
+
// The CSS for the Carbon button's label is incompatible with two-line ellipsis,
|
131
121
|
// but a div inside a Carbon button works.
|
132
122
|
div {
|
133
123
|
@include ellipsis-2-lines();
|
@@ -144,10 +134,6 @@
|
|
144
134
|
color: $text-primary;
|
145
135
|
text-decoration: underline;
|
146
136
|
}
|
147
|
-
|
148
|
-
&--error {
|
149
|
-
color: $text-error !important;
|
150
|
-
}
|
151
137
|
}
|
152
138
|
|
153
139
|
// container for animated content
|
@@ -195,14 +181,18 @@
|
|
195
181
|
&__icon {
|
196
182
|
/* stylelint-disable-next-line carbon/layout-token-use */
|
197
183
|
margin: rem(1px) $spacing-03 0 0;
|
198
|
-
|
184
|
+
|
185
|
+
&--checked,
|
186
|
+
&--indeterminate {
|
187
|
+
color: $link-01;
|
188
|
+
}
|
199
189
|
|
200
190
|
&--error {
|
201
191
|
color: $support-error;
|
202
192
|
}
|
203
193
|
|
204
194
|
&--disabled {
|
205
|
-
color: $disabled-
|
195
|
+
color: $disabled-02;
|
206
196
|
}
|
207
197
|
}
|
208
198
|
|
@@ -210,10 +200,8 @@
|
|
210
200
|
@include carbon--type-style('body-short-01');
|
211
201
|
@include ellipsis-2-lines();
|
212
202
|
|
213
|
-
&--
|
214
|
-
|
215
|
-
&--error {
|
216
|
-
color: $disabled-03;
|
203
|
+
&--disabled {
|
204
|
+
color: $disabled-02;
|
217
205
|
}
|
218
206
|
}
|
219
207
|
|
@@ -5,8 +5,6 @@
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
6
6
|
//
|
7
7
|
|
8
|
-
/* stylelint-disable declaration-no-important */
|
9
|
-
|
10
8
|
// Standard imports.
|
11
9
|
@import '../../../global/styles/project-settings';
|
12
10
|
@import '../../../global/styles/mixins';
|
@@ -16,53 +14,11 @@
|
|
16
14
|
@mixin coachmark-dragbar {
|
17
15
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
18
16
|
$block-class: #{$pkg-prefix}--coachmark-dragbar;
|
17
|
+
$handle-class: #{$pkg-prefix}--coachmark-dragbar__handle;
|
19
18
|
|
20
19
|
.#{$block-class} {
|
21
20
|
display: flex;
|
22
21
|
|
23
|
-
&__handle {
|
24
|
-
flex-grow: 1;
|
25
|
-
padding: $spacing-03 0 0 $spacing-03;
|
26
|
-
border: 0;
|
27
|
-
background-color: transparent;
|
28
|
-
text-align: left;
|
29
|
-
|
30
|
-
&:hover {
|
31
|
-
cursor: move;
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
&--close-btn {
|
36
|
-
width: $spacing-07;
|
37
|
-
height: $spacing-07;
|
38
|
-
margin-left: auto !important;
|
39
|
-
|
40
|
-
svg > path {
|
41
|
-
margin: 0;
|
42
|
-
fill: $inverse-01 !important;
|
43
|
-
}
|
44
|
-
|
45
|
-
&:hover {
|
46
|
-
background-color: $inverse-hover-ui !important;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
&__light {
|
51
|
-
#{$block-class}--close-btn {
|
52
|
-
&:active {
|
53
|
-
background-color: $active-secondary;
|
54
|
-
}
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
&__dark {
|
59
|
-
#{$block-class}--close-btn {
|
60
|
-
&:active {
|
61
|
-
background-color: $button-tertiary-active;
|
62
|
-
}
|
63
|
-
}
|
64
|
-
}
|
65
|
-
|
66
22
|
svg {
|
67
23
|
color: $inverse-01;
|
68
24
|
}
|
@@ -5,8 +5,6 @@
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
6
6
|
//
|
7
7
|
|
8
|
-
/* stylelint-disable declaration-no-important */
|
9
|
-
|
10
8
|
// Standard imports.
|
11
9
|
@import '../../../global/styles/project-settings';
|
12
10
|
@import '../../../global/styles/mixins';
|
@@ -19,37 +17,6 @@
|
|
19
17
|
|
20
18
|
.#{$block-class} {
|
21
19
|
display: flex;
|
22
|
-
|
23
|
-
&--close-btn {
|
24
|
-
width: $spacing-07;
|
25
|
-
height: $spacing-07;
|
26
|
-
margin-left: auto !important;
|
27
|
-
|
28
|
-
svg > path {
|
29
|
-
margin: 0;
|
30
|
-
fill: $inverse-01 !important;
|
31
|
-
}
|
32
|
-
|
33
|
-
&:hover {
|
34
|
-
background-color: $inverse-hover-ui !important;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
&__light {
|
39
|
-
#{$block-class}--close-btn {
|
40
|
-
&:active {
|
41
|
-
background-color: $active-secondary;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
&__dark {
|
47
|
-
#{$block-class}--close-btn {
|
48
|
-
&:active {
|
49
|
-
background-color: $button-tertiary-active;
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
53
20
|
}
|
54
21
|
}
|
55
22
|
|