@carbon/ibm-products 2.23.0 → 2.24.0
Sign up to get free protection for your applications and to get access to all the features.
- package/css/index-full-carbon.css +29484 -28211
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +1 -1
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +49 -10
- package/css/index-without-carbon-released-only.css.map +1 -1
- package/css/index-without-carbon-released-only.min.css +1 -1
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +24418 -291
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +1 -1
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +17172 -13
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/es/components/Card/Card.js +1 -2
- package/es/components/Card/CardHeader.js +2 -2
- package/es/components/Carousel/Carousel.js +5 -3
- package/es/components/Coachmark/Coachmark.js +255 -0
- package/es/components/Coachmark/CoachmarkDragbar.js +146 -0
- package/es/components/Coachmark/CoachmarkHeader.js +91 -0
- package/es/components/Coachmark/CoachmarkOverlay.js +235 -0
- package/es/components/Coachmark/CoachmarkTagline.js +97 -0
- package/es/components/Coachmark/index.js +10 -0
- package/es/components/Coachmark/utils/constants.js +76 -0
- package/es/components/Coachmark/utils/context.js +5 -0
- package/es/components/Coachmark/utils/enums.js +40 -0
- package/es/components/Coachmark/utils/helpers.js +11 -0
- package/es/components/Coachmark/utils/hooks.js +54 -0
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +93 -0
- package/es/components/CoachmarkBeacon/index.js +8 -0
- package/es/components/CoachmarkButton/CoachmarkButton.js +90 -0
- package/es/components/CoachmarkButton/index.js +8 -0
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +226 -0
- package/es/components/CoachmarkFixed/index.js +8 -0
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +86 -0
- package/es/components/CoachmarkOverlayElement/index.js +8 -0
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +216 -0
- package/es/components/CoachmarkOverlayElements/index.js +8 -0
- package/es/components/CoachmarkStack/CoachmarkStack.js +283 -0
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +192 -0
- package/es/components/CoachmarkStack/index.js +8 -0
- package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +4 -1
- package/es/components/Datagrid/Datagrid/DraggableElement.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +4 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
- package/es/components/Datagrid/Datagrid.docs-page.js +2 -2
- package/es/components/Datagrid/useActionsColumn.js +16 -12
- package/es/components/Datagrid/useNestedRowExpander.js +2 -2
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +7 -2
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +8 -3
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +7 -2
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +7 -2
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +7 -2
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +7 -2
- package/es/components/EmptyStates/assets/ErrorIllustration.js +5 -5
- package/es/components/EmptyStates/assets/NoDataIllustration.js +5 -5
- package/es/components/EmptyStates/assets/NoTagsIllustration.js +5 -5
- package/es/components/EmptyStates/assets/NotFoundIllustration.js +5 -5
- package/es/components/EmptyStates/assets/NotificationsIllustration.js +5 -5
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +5 -5
- package/es/components/InterstitialScreen/InterstitialScreen.js +427 -0
- package/es/components/InterstitialScreen/index.js +8 -0
- package/es/components/InterstitialScreenView/InterstitialScreenView.js +75 -0
- package/es/components/InterstitialScreenView/index.js +8 -0
- package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +83 -0
- package/es/components/InterstitialScreenViewModule/index.js +8 -0
- package/es/components/PageHeader/PageHeaderUtils.js +2 -2
- package/es/components/SearchBar/SearchBar.js +227 -0
- package/es/components/SearchBar/index.js +8 -0
- package/es/components/index.js +12 -1
- package/es/global/js/package-settings.js +14 -0
- package/lib/components/Card/Card.js +3 -4
- package/lib/components/Card/CardHeader.js +2 -2
- package/lib/components/Carousel/Carousel.js +5 -3
- package/lib/components/Coachmark/Coachmark.js +264 -0
- package/lib/components/Coachmark/CoachmarkDragbar.js +151 -0
- package/lib/components/Coachmark/CoachmarkHeader.js +95 -0
- package/lib/components/Coachmark/CoachmarkOverlay.js +243 -0
- package/lib/components/Coachmark/CoachmarkTagline.js +101 -0
- package/lib/components/Coachmark/index.js +38 -0
- package/lib/components/Coachmark/utils/constants.js +81 -0
- package/lib/components/Coachmark/utils/context.js +11 -0
- package/lib/components/Coachmark/utils/enums.js +46 -0
- package/lib/components/Coachmark/utils/helpers.js +17 -0
- package/lib/components/Coachmark/utils/hooks.js +59 -0
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +97 -0
- package/lib/components/CoachmarkBeacon/index.js +12 -0
- package/lib/components/CoachmarkButton/CoachmarkButton.js +93 -0
- package/lib/components/CoachmarkButton/index.js +12 -0
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +232 -0
- package/lib/components/CoachmarkFixed/index.js +12 -0
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +90 -0
- package/lib/components/CoachmarkOverlayElement/index.js +12 -0
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +222 -0
- package/lib/components/CoachmarkOverlayElements/index.js +12 -0
- package/lib/components/CoachmarkStack/CoachmarkStack.js +288 -0
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +198 -0
- package/lib/components/CoachmarkStack/index.js +12 -0
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +4 -1
- package/lib/components/Datagrid/Datagrid/DraggableElement.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +4 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
- package/lib/components/Datagrid/Datagrid.docs-page.js +2 -2
- package/lib/components/Datagrid/useActionsColumn.js +15 -11
- package/lib/components/Datagrid/useNestedRowExpander.js +2 -2
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +7 -2
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +8 -3
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +7 -2
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +7 -2
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +7 -2
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +7 -2
- package/lib/components/EmptyStates/assets/ErrorIllustration.js +5 -5
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +5 -5
- package/lib/components/EmptyStates/assets/NoTagsIllustration.js +5 -5
- package/lib/components/EmptyStates/assets/NotFoundIllustration.js +5 -5
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +5 -5
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +5 -5
- package/lib/components/InterstitialScreen/InterstitialScreen.js +434 -0
- package/lib/components/InterstitialScreen/index.js +12 -0
- package/lib/components/InterstitialScreenView/InterstitialScreenView.js +77 -0
- package/lib/components/InterstitialScreenView/index.js +12 -0
- package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +85 -0
- package/lib/components/InterstitialScreenViewModule/index.js +12 -0
- package/lib/components/PageHeader/PageHeaderUtils.js +2 -2
- package/lib/components/SearchBar/SearchBar.js +233 -0
- package/lib/components/SearchBar/index.js +12 -0
- package/lib/components/index.js +78 -1
- package/lib/global/js/package-settings.js +14 -0
- package/package.json +5 -5
- package/scss/components/Card/_card.scss +6 -5
- package/scss/components/Coachmark/_carbon-imports.scss +10 -0
- package/scss/components/Coachmark/_coachmark-dragbar.scss +27 -0
- package/scss/components/Coachmark/_coachmark-header.scss +20 -0
- package/scss/components/Coachmark/_coachmark-overlay.scss +431 -0
- package/scss/components/Coachmark/_coachmark-tagline.scss +140 -0
- package/scss/components/Coachmark/_coachmark.scss +30 -0
- package/scss/components/Coachmark/_index-with-carbon.scss +9 -0
- package/scss/components/Coachmark/_index.scss +8 -0
- package/scss/components/CoachmarkBeacon/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +166 -0
- package/scss/components/CoachmarkBeacon/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkBeacon/_index.scss +8 -0
- package/scss/components/CoachmarkButton/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkButton/_coachmark-button.scss +25 -0
- package/scss/components/CoachmarkButton/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkButton/_index.scss +8 -0
- package/scss/components/CoachmarkFixed/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkFixed/_coachmark-fixed.scss +25 -0
- package/scss/components/CoachmarkFixed/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkFixed/_index.scss +8 -0
- package/scss/components/CoachmarkOverlayElement/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkOverlayElement/_coachmark-overlay-element.scss +52 -0
- package/scss/components/CoachmarkOverlayElement/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkOverlayElement/_index.scss +8 -0
- package/scss/components/CoachmarkOverlayElements/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkOverlayElements/_coachmark-overlay-elements.scss +47 -0
- package/scss/components/CoachmarkOverlayElements/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkOverlayElements/_index.scss +8 -0
- package/scss/components/CoachmarkStack/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkStack/_coachmark-stack.scss +95 -0
- package/scss/components/CoachmarkStack/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkStack/_index.scss +8 -0
- package/scss/components/InterstitialScreen/_carbon-imports.scss +9 -0
- package/scss/components/InterstitialScreen/_index-with-carbon.scss +9 -0
- package/scss/components/InterstitialScreen/_index.scss +8 -0
- package/scss/components/InterstitialScreen/_interstitial-screen.scss +276 -0
- package/scss/components/InterstitialScreenView/_carbon-imports.scss +9 -0
- package/scss/components/InterstitialScreenView/_index-with-carbon.scss +9 -0
- package/scss/components/InterstitialScreenView/_index.scss +8 -0
- package/scss/components/InterstitialScreenView/_interstitial-screen-view.scss +25 -0
- package/scss/components/InterstitialScreenViewModule/_carbon-imports.scss +9 -0
- package/scss/components/InterstitialScreenViewModule/_index-with-carbon.scss +9 -0
- package/scss/components/InterstitialScreenViewModule/_index.scss +8 -0
- package/scss/components/InterstitialScreenViewModule/_interstitial-screen-view-module.scss +59 -0
- package/scss/components/PageHeader/_page-header.scss +0 -1
- package/scss/components/SearchBar/_carbon-imports.scss +9 -0
- package/scss/components/SearchBar/_index-with-carbon.scss +9 -0
- package/scss/components/SearchBar/_index.scss +8 -0
- package/scss/components/SearchBar/_search-bar.scss +26 -0
- package/scss/components/SidePanel/_side-panel.scss +12 -7
- package/scss/components/_index-with-carbon.scss +11 -0
- package/scss/components/_index.scss +11 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
4
|
-
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "link", "size", "subtitle", "title"];
|
4
|
+
var _excluded = ["action", "className", "illustrationPosition", "illustrationDescription", "illustrationTheme", "link", "size", "subtitle", "title"];
|
5
5
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
7
|
/**
|
@@ -36,6 +36,7 @@ export var ErrorEmptyState = /*#__PURE__*/React.forwardRef(function (_ref, ref)
|
|
36
36
|
className = _ref.className,
|
37
37
|
_ref$illustrationPosi = _ref.illustrationPosition,
|
38
38
|
illustrationPosition = _ref$illustrationPosi === void 0 ? defaults.position : _ref$illustrationPosi,
|
39
|
+
illustrationDescription = _ref.illustrationDescription,
|
39
40
|
illustrationTheme = _ref.illustrationTheme,
|
40
41
|
link = _ref.link,
|
41
42
|
_ref$size = _ref.size,
|
@@ -49,7 +50,7 @@ export var ErrorEmptyState = /*#__PURE__*/React.forwardRef(function (_ref, ref)
|
|
49
50
|
}, getDevtoolsProps(componentName)), /*#__PURE__*/React.createElement(ErrorIllustration, {
|
50
51
|
theme: illustrationTheme,
|
51
52
|
size: size,
|
52
|
-
|
53
|
+
alt: illustrationDescription || title
|
53
54
|
}), /*#__PURE__*/React.createElement(EmptyStateContent, {
|
54
55
|
action: action,
|
55
56
|
link: link,
|
@@ -83,6 +84,10 @@ ErrorEmptyState.propTypes = {
|
|
83
84
|
* Provide an optional class to be applied to the containing node.
|
84
85
|
*/
|
85
86
|
className: PropTypes.string,
|
87
|
+
/**
|
88
|
+
* The alt text for empty state svg images. If not provided , title will be used.
|
89
|
+
*/
|
90
|
+
illustrationDescription: PropTypes.string,
|
86
91
|
/**
|
87
92
|
* Designates the position of the illustration relative to the content
|
88
93
|
*/
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
4
|
-
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "link", "size", "subtitle", "title"];
|
4
|
+
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
5
5
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
7
|
/**
|
@@ -37,6 +37,7 @@ export var NoDataEmptyState = /*#__PURE__*/React.forwardRef(function (_ref, ref)
|
|
37
37
|
_ref$illustrationPosi = _ref.illustrationPosition,
|
38
38
|
illustrationPosition = _ref$illustrationPosi === void 0 ? defaults.position : _ref$illustrationPosi,
|
39
39
|
illustrationTheme = _ref.illustrationTheme,
|
40
|
+
illustrationDescription = _ref.illustrationDescription,
|
40
41
|
link = _ref.link,
|
41
42
|
_ref$size = _ref.size,
|
42
43
|
size = _ref$size === void 0 ? defaults.size : _ref$size,
|
@@ -47,9 +48,9 @@ export var NoDataEmptyState = /*#__PURE__*/React.forwardRef(function (_ref, ref)
|
|
47
48
|
className: cx(blockClass, className, "".concat(blockClass, "-position--").concat(illustrationPosition), "".concat(blockClass, "-type--noData")),
|
48
49
|
ref: ref
|
49
50
|
}, getDevtoolsProps(componentName)), /*#__PURE__*/React.createElement(NoDataIllustration, {
|
50
|
-
title: title,
|
51
51
|
theme: illustrationTheme,
|
52
|
-
size: size
|
52
|
+
size: size,
|
53
|
+
alt: illustrationDescription || title
|
53
54
|
}), /*#__PURE__*/React.createElement(EmptyStateContent, {
|
54
55
|
action: action,
|
55
56
|
link: link,
|
@@ -83,6 +84,10 @@ NoDataEmptyState.propTypes = {
|
|
83
84
|
* Provide an optional class to be applied to the containing node.
|
84
85
|
*/
|
85
86
|
className: PropTypes.string,
|
87
|
+
/**
|
88
|
+
* The alt text for empty state svg images. If not provided , title will be used.
|
89
|
+
*/
|
90
|
+
illustrationDescription: PropTypes.string,
|
86
91
|
/**
|
87
92
|
* Designates the position of the illustration relative to the content
|
88
93
|
*/
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
4
|
-
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "link", "size", "subtitle", "title"];
|
4
|
+
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
5
5
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
7
|
/**
|
@@ -37,6 +37,7 @@ export var NoTagsEmptyState = /*#__PURE__*/React.forwardRef(function (_ref, ref)
|
|
37
37
|
_ref$illustrationPosi = _ref.illustrationPosition,
|
38
38
|
illustrationPosition = _ref$illustrationPosi === void 0 ? defaults.position : _ref$illustrationPosi,
|
39
39
|
illustrationTheme = _ref.illustrationTheme,
|
40
|
+
illustrationDescription = _ref.illustrationDescription,
|
40
41
|
link = _ref.link,
|
41
42
|
_ref$size = _ref.size,
|
42
43
|
size = _ref$size === void 0 ? defaults.size : _ref$size,
|
@@ -49,7 +50,7 @@ export var NoTagsEmptyState = /*#__PURE__*/React.forwardRef(function (_ref, ref)
|
|
49
50
|
}, getDevtoolsProps(componentName)), /*#__PURE__*/React.createElement(NoTagsIllustration, {
|
50
51
|
theme: illustrationTheme,
|
51
52
|
size: size,
|
52
|
-
|
53
|
+
alt: illustrationDescription || title
|
53
54
|
}), /*#__PURE__*/React.createElement(EmptyStateContent, {
|
54
55
|
action: action,
|
55
56
|
link: link,
|
@@ -83,6 +84,10 @@ NoTagsEmptyState.propTypes = {
|
|
83
84
|
* Provide an optional class to be applied to the containing node.
|
84
85
|
*/
|
85
86
|
className: PropTypes.string,
|
87
|
+
/**
|
88
|
+
* The alt text for empty state svg images. If not provided , title will be used.
|
89
|
+
*/
|
90
|
+
illustrationDescription: PropTypes.string,
|
86
91
|
/**
|
87
92
|
* Designates the position of the illustration relative to the content
|
88
93
|
*/
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
4
|
-
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "link", "size", "subtitle", "title"];
|
4
|
+
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
5
5
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
7
|
/**
|
@@ -37,6 +37,7 @@ export var NotFoundEmptyState = /*#__PURE__*/React.forwardRef(function (_ref, re
|
|
37
37
|
_ref$illustrationPosi = _ref.illustrationPosition,
|
38
38
|
illustrationPosition = _ref$illustrationPosi === void 0 ? defaults.position : _ref$illustrationPosi,
|
39
39
|
illustrationTheme = _ref.illustrationTheme,
|
40
|
+
illustrationDescription = _ref.illustrationDescription,
|
40
41
|
link = _ref.link,
|
41
42
|
_ref$size = _ref.size,
|
42
43
|
size = _ref$size === void 0 ? defaults.size : _ref$size,
|
@@ -49,7 +50,7 @@ export var NotFoundEmptyState = /*#__PURE__*/React.forwardRef(function (_ref, re
|
|
49
50
|
}, getDevtoolsProps(componentName)), /*#__PURE__*/React.createElement(NotFoundIllustration, {
|
50
51
|
theme: illustrationTheme,
|
51
52
|
size: size,
|
52
|
-
|
53
|
+
alt: illustrationDescription || title
|
53
54
|
}), /*#__PURE__*/React.createElement(EmptyStateContent, {
|
54
55
|
action: action,
|
55
56
|
link: link,
|
@@ -83,6 +84,10 @@ NotFoundEmptyState.propTypes = {
|
|
83
84
|
* Provide an optional class to be applied to the containing node.
|
84
85
|
*/
|
85
86
|
className: PropTypes.string,
|
87
|
+
/**
|
88
|
+
* The alt text for empty state svg images. If not provided , title will be used.
|
89
|
+
*/
|
90
|
+
illustrationDescription: PropTypes.string,
|
86
91
|
/**
|
87
92
|
* Designates the position of the illustration relative to the content
|
88
93
|
*/
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
4
|
-
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "link", "size", "subtitle", "title"];
|
4
|
+
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
5
5
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
7
|
/**
|
@@ -37,6 +37,7 @@ export var NotificationsEmptyState = /*#__PURE__*/React.forwardRef(function (_re
|
|
37
37
|
_ref$illustrationPosi = _ref.illustrationPosition,
|
38
38
|
illustrationPosition = _ref$illustrationPosi === void 0 ? defaults.position : _ref$illustrationPosi,
|
39
39
|
illustrationTheme = _ref.illustrationTheme,
|
40
|
+
illustrationDescription = _ref.illustrationDescription,
|
40
41
|
link = _ref.link,
|
41
42
|
_ref$size = _ref.size,
|
42
43
|
size = _ref$size === void 0 ? defaults.size : _ref$size,
|
@@ -49,7 +50,7 @@ export var NotificationsEmptyState = /*#__PURE__*/React.forwardRef(function (_re
|
|
49
50
|
}, getDevtoolsProps(componentName)), /*#__PURE__*/React.createElement(NotificationsIllustration, {
|
50
51
|
size: size,
|
51
52
|
theme: illustrationTheme,
|
52
|
-
|
53
|
+
alt: illustrationDescription || title
|
53
54
|
}), /*#__PURE__*/React.createElement(EmptyStateContent, {
|
54
55
|
action: action,
|
55
56
|
link: link,
|
@@ -83,6 +84,10 @@ NotificationsEmptyState.propTypes = {
|
|
83
84
|
* Provide an optional class to be applied to the containing node.
|
84
85
|
*/
|
85
86
|
className: PropTypes.string,
|
87
|
+
/**
|
88
|
+
* The alt text for empty state svg images. If not provided , title will be used.
|
89
|
+
*/
|
90
|
+
illustrationDescription: PropTypes.string,
|
86
91
|
/**
|
87
92
|
* Designates the position of the illustration relative to the content
|
88
93
|
*/
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
4
|
-
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "link", "size", "subtitle", "title"];
|
4
|
+
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
5
5
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
7
|
/**
|
@@ -37,6 +37,7 @@ export var UnauthorizedEmptyState = /*#__PURE__*/React.forwardRef(function (_ref
|
|
37
37
|
_ref$illustrationPosi = _ref.illustrationPosition,
|
38
38
|
illustrationPosition = _ref$illustrationPosi === void 0 ? defaults.position : _ref$illustrationPosi,
|
39
39
|
illustrationTheme = _ref.illustrationTheme,
|
40
|
+
illustrationDescription = _ref.illustrationDescription,
|
40
41
|
link = _ref.link,
|
41
42
|
_ref$size = _ref.size,
|
42
43
|
size = _ref$size === void 0 ? defaults.size : _ref$size,
|
@@ -49,7 +50,7 @@ export var UnauthorizedEmptyState = /*#__PURE__*/React.forwardRef(function (_ref
|
|
49
50
|
}, getDevtoolsProps(componentName)), /*#__PURE__*/React.createElement(UnauthorizedIllustration, {
|
50
51
|
size: size,
|
51
52
|
theme: illustrationTheme,
|
52
|
-
|
53
|
+
alt: illustrationDescription || title
|
53
54
|
}), /*#__PURE__*/React.createElement(EmptyStateContent, {
|
54
55
|
action: action,
|
55
56
|
link: link,
|
@@ -83,6 +84,10 @@ UnauthorizedEmptyState.propTypes = {
|
|
83
84
|
* Provide an optional class to be applied to the containing node.
|
84
85
|
*/
|
85
86
|
className: PropTypes.string,
|
87
|
+
/**
|
88
|
+
* The alt text for empty state svg images. If not provided , title will be used.
|
89
|
+
*/
|
90
|
+
illustrationDescription: PropTypes.string,
|
86
91
|
/**
|
87
92
|
* Designates the position of the illustration relative to the content
|
88
93
|
*/
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
|
-
var _excluded = ["theme", "
|
3
|
+
var _excluded = ["theme", "size", "alt"];
|
4
4
|
/**
|
5
5
|
* Copyright IBM Corp. 2020, 2021
|
6
6
|
*
|
@@ -21,8 +21,8 @@ import uuidv4 from '../../../global/js/utils/uuidv4';
|
|
21
21
|
var blockClass = "".concat(pkg.prefix, "--empty-state");
|
22
22
|
export var ErrorIllustration = function ErrorIllustration(_ref) {
|
23
23
|
var theme = _ref.theme,
|
24
|
-
title = _ref.title,
|
25
24
|
size = _ref.size,
|
25
|
+
alt = _ref.alt,
|
26
26
|
rest = _objectWithoutProperties(_ref, _excluded);
|
27
27
|
var svgId = uuidv4();
|
28
28
|
return /*#__PURE__*/React.createElement("svg", _extends({}, rest, {
|
@@ -32,7 +32,7 @@ export var ErrorIllustration = function ErrorIllustration(_ref) {
|
|
32
32
|
viewBox: "0 0 80 80",
|
33
33
|
className: cx(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration-error"), "".concat(blockClass, "__illustration--").concat(size)]),
|
34
34
|
role: "img"
|
35
|
-
}), /*#__PURE__*/React.createElement("title", null,
|
35
|
+
}), /*#__PURE__*/React.createElement("title", null, alt), theme === 'dark' ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
36
36
|
id: "prefix__a_dark_".concat(svgId),
|
37
37
|
x1: 38.9,
|
38
38
|
y1: 77.08,
|
@@ -209,7 +209,7 @@ export var ErrorIllustration = function ErrorIllustration(_ref) {
|
|
209
209
|
})));
|
210
210
|
};
|
211
211
|
ErrorIllustration.propTypes = {
|
212
|
+
alt: PropTypes.string.isRequired,
|
212
213
|
size: PropTypes.oneOf(['lg', 'sm']),
|
213
|
-
theme: PropTypes.oneOf(['light', 'dark'])
|
214
|
-
title: PropTypes.string
|
214
|
+
theme: PropTypes.oneOf(['light', 'dark'])
|
215
215
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
|
-
var _excluded = ["theme", "
|
3
|
+
var _excluded = ["theme", "size", "alt"];
|
4
4
|
/**
|
5
5
|
* Copyright IBM Corp. 2020, 2021
|
6
6
|
*
|
@@ -21,8 +21,8 @@ import uuidv4 from '../../../global/js/utils/uuidv4';
|
|
21
21
|
var blockClass = "".concat(pkg.prefix, "--empty-state");
|
22
22
|
export var NoDataIllustration = function NoDataIllustration(_ref) {
|
23
23
|
var theme = _ref.theme,
|
24
|
-
title = _ref.title,
|
25
24
|
size = _ref.size,
|
25
|
+
alt = _ref.alt,
|
26
26
|
rest = _objectWithoutProperties(_ref, _excluded);
|
27
27
|
var svgId = uuidv4();
|
28
28
|
return /*#__PURE__*/React.createElement("svg", _extends({}, rest, {
|
@@ -32,7 +32,7 @@ export var NoDataIllustration = function NoDataIllustration(_ref) {
|
|
32
32
|
viewBox: "0 0 80 80",
|
33
33
|
className: cx(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration-noData"), "".concat(blockClass, "__illustration--").concat(size)]),
|
34
34
|
role: "img"
|
35
|
-
}), /*#__PURE__*/React.createElement("title", null,
|
35
|
+
}), /*#__PURE__*/React.createElement("title", null, alt), theme === 'dark' ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
36
36
|
id: "prefix__a_dark_".concat(svgId),
|
37
37
|
x1: 11.12,
|
38
38
|
y1: 43.34,
|
@@ -172,7 +172,7 @@ export var NoDataIllustration = function NoDataIllustration(_ref) {
|
|
172
172
|
})));
|
173
173
|
};
|
174
174
|
NoDataIllustration.propTypes = {
|
175
|
+
alt: PropTypes.string.isRequired,
|
175
176
|
size: PropTypes.oneOf(['lg', 'sm']),
|
176
|
-
theme: PropTypes.oneOf(['light', 'dark'])
|
177
|
-
title: PropTypes.string
|
177
|
+
theme: PropTypes.oneOf(['light', 'dark'])
|
178
178
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
|
-
var _excluded = ["theme", "
|
3
|
+
var _excluded = ["theme", "size", "alt"];
|
4
4
|
/**
|
5
5
|
* Copyright IBM Corp. 2020, 2021
|
6
6
|
*
|
@@ -21,8 +21,8 @@ import uuidv4 from '../../../global/js/utils/uuidv4';
|
|
21
21
|
var blockClass = "".concat(pkg.prefix, "--empty-state");
|
22
22
|
export var NoTagsIllustration = function NoTagsIllustration(_ref) {
|
23
23
|
var theme = _ref.theme,
|
24
|
-
title = _ref.title,
|
25
24
|
size = _ref.size,
|
25
|
+
alt = _ref.alt,
|
26
26
|
rest = _objectWithoutProperties(_ref, _excluded);
|
27
27
|
var svgId = uuidv4();
|
28
28
|
return /*#__PURE__*/React.createElement("svg", _extends({}, rest, {
|
@@ -33,7 +33,7 @@ export var NoTagsIllustration = function NoTagsIllustration(_ref) {
|
|
33
33
|
viewBox: "0 0 80 80",
|
34
34
|
className: cx(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration-noTags"), "".concat(blockClass, "__illustration--").concat(size)]),
|
35
35
|
role: "img"
|
36
|
-
}), /*#__PURE__*/React.createElement("title", null,
|
36
|
+
}), /*#__PURE__*/React.createElement("title", null, alt), theme === 'dark' ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
37
37
|
id: "prefix__c_dark_".concat(svgId),
|
38
38
|
x1: 34.96,
|
39
39
|
y1: 5.37,
|
@@ -479,7 +479,7 @@ export var NoTagsIllustration = function NoTagsIllustration(_ref) {
|
|
479
479
|
})));
|
480
480
|
};
|
481
481
|
NoTagsIllustration.propTypes = {
|
482
|
+
alt: PropTypes.string.isRequired,
|
482
483
|
size: PropTypes.oneOf(['lg', 'sm']),
|
483
|
-
theme: PropTypes.oneOf(['light', 'dark'])
|
484
|
-
title: PropTypes.string
|
484
|
+
theme: PropTypes.oneOf(['light', 'dark'])
|
485
485
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
|
-
var _excluded = ["theme", "
|
3
|
+
var _excluded = ["theme", "size", "alt"];
|
4
4
|
/**
|
5
5
|
* Copyright IBM Corp. 2020, 2021
|
6
6
|
*
|
@@ -21,8 +21,8 @@ import uuidv4 from '../../../global/js/utils/uuidv4';
|
|
21
21
|
var blockClass = "".concat(pkg.prefix, "--empty-state");
|
22
22
|
export var NotFoundIllustration = function NotFoundIllustration(_ref) {
|
23
23
|
var theme = _ref.theme,
|
24
|
-
title = _ref.title,
|
25
24
|
size = _ref.size,
|
25
|
+
alt = _ref.alt,
|
26
26
|
rest = _objectWithoutProperties(_ref, _excluded);
|
27
27
|
var svgId = uuidv4();
|
28
28
|
return /*#__PURE__*/React.createElement("svg", _extends({}, rest, {
|
@@ -32,7 +32,7 @@ export var NotFoundIllustration = function NotFoundIllustration(_ref) {
|
|
32
32
|
viewBox: "0 0 80 80",
|
33
33
|
className: cx(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration-notFound"), "".concat(blockClass, "__illustration--").concat(size)]),
|
34
34
|
role: "img"
|
35
|
-
}), /*#__PURE__*/React.createElement("title", null,
|
35
|
+
}), /*#__PURE__*/React.createElement("title", null, alt), theme === 'dark' ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
36
36
|
id: "prefix__a_dark_".concat(svgId),
|
37
37
|
x1: 2.6,
|
38
38
|
y1: -12.81,
|
@@ -356,7 +356,7 @@ export var NotFoundIllustration = function NotFoundIllustration(_ref) {
|
|
356
356
|
})));
|
357
357
|
};
|
358
358
|
NotFoundIllustration.propTypes = {
|
359
|
+
alt: PropTypes.string.isRequired,
|
359
360
|
size: PropTypes.oneOf(['lg', 'sm']),
|
360
|
-
theme: PropTypes.oneOf(['light', 'dark'])
|
361
|
-
title: PropTypes.string
|
361
|
+
theme: PropTypes.oneOf(['light', 'dark'])
|
362
362
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
|
-
var _excluded = ["theme", "
|
3
|
+
var _excluded = ["theme", "size", "alt"];
|
4
4
|
/**
|
5
5
|
* Copyright IBM Corp. 2020, 2021
|
6
6
|
*
|
@@ -21,8 +21,8 @@ import uuidv4 from '../../../global/js/utils/uuidv4';
|
|
21
21
|
var blockClass = "".concat(pkg.prefix, "--empty-state");
|
22
22
|
export var NotificationsIllustration = function NotificationsIllustration(_ref) {
|
23
23
|
var theme = _ref.theme,
|
24
|
-
title = _ref.title,
|
25
24
|
size = _ref.size,
|
25
|
+
alt = _ref.alt,
|
26
26
|
rest = _objectWithoutProperties(_ref, _excluded);
|
27
27
|
var svgId = uuidv4();
|
28
28
|
return /*#__PURE__*/React.createElement("svg", _extends({}, rest, {
|
@@ -32,7 +32,7 @@ export var NotificationsIllustration = function NotificationsIllustration(_ref)
|
|
32
32
|
viewBox: "0 0 80 80",
|
33
33
|
className: cx(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration-notification"), "".concat(blockClass, "__illustration--").concat(size)]),
|
34
34
|
role: "img"
|
35
|
-
}), /*#__PURE__*/React.createElement("title", null,
|
35
|
+
}), /*#__PURE__*/React.createElement("title", null, alt), theme === 'dark' ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
36
36
|
id: "prefix__a_dark_".concat(svgId),
|
37
37
|
x1: 30.05,
|
38
38
|
y1: 54.31,
|
@@ -327,7 +327,7 @@ export var NotificationsIllustration = function NotificationsIllustration(_ref)
|
|
327
327
|
})));
|
328
328
|
};
|
329
329
|
NotificationsIllustration.propTypes = {
|
330
|
+
alt: PropTypes.string.isRequired,
|
330
331
|
size: PropTypes.oneOf(['lg', 'sm']),
|
331
|
-
theme: PropTypes.oneOf(['light', 'dark'])
|
332
|
-
title: PropTypes.string
|
332
|
+
theme: PropTypes.oneOf(['light', 'dark'])
|
333
333
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3
|
-
var _excluded = ["theme", "
|
3
|
+
var _excluded = ["theme", "size", "alt"];
|
4
4
|
/**
|
5
5
|
* Copyright IBM Corp. 2020, 2021
|
6
6
|
*
|
@@ -21,8 +21,8 @@ import uuidv4 from '../../../global/js/utils/uuidv4';
|
|
21
21
|
var blockClass = "".concat(pkg.prefix, "--empty-state");
|
22
22
|
export var UnauthorizedIllustration = function UnauthorizedIllustration(_ref) {
|
23
23
|
var theme = _ref.theme,
|
24
|
-
title = _ref.title,
|
25
24
|
size = _ref.size,
|
25
|
+
alt = _ref.alt,
|
26
26
|
rest = _objectWithoutProperties(_ref, _excluded);
|
27
27
|
var svgId = uuidv4();
|
28
28
|
return /*#__PURE__*/React.createElement("svg", _extends({}, rest, {
|
@@ -33,7 +33,7 @@ export var UnauthorizedIllustration = function UnauthorizedIllustration(_ref) {
|
|
33
33
|
viewBox: "0 0 80 80",
|
34
34
|
className: cx(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration-unauthorized"), "".concat(blockClass, "__illustration--").concat(size)]),
|
35
35
|
role: "img"
|
36
|
-
}), /*#__PURE__*/React.createElement("title", null,
|
36
|
+
}), /*#__PURE__*/React.createElement("title", null, alt), theme === 'dark' ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
37
37
|
id: "prefix__b_dark_".concat(svgId),
|
38
38
|
x1: 17.33,
|
39
39
|
y1: 40.68,
|
@@ -300,7 +300,7 @@ export var UnauthorizedIllustration = function UnauthorizedIllustration(_ref) {
|
|
300
300
|
})));
|
301
301
|
};
|
302
302
|
UnauthorizedIllustration.propTypes = {
|
303
|
+
alt: PropTypes.string.isRequired,
|
303
304
|
size: PropTypes.oneOf(['lg', 'sm']),
|
304
|
-
theme: PropTypes.oneOf(['light', 'dark'])
|
305
|
-
title: PropTypes.string
|
305
|
+
theme: PropTypes.oneOf(['light', 'dark'])
|
306
306
|
};
|