@carbon/ibm-products 2.54.0-canary.41 → 2.54.0-canary.43
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/es/components/EmptyStates/assets/ErrorIllustration.js +2 -3
- package/es/components/EmptyStates/assets/NoDataIllustration.js +2 -3
- package/es/components/EmptyStates/assets/NoTagsIllustration.js +2 -3
- package/es/components/EmptyStates/assets/NotFoundIllustration.js +2 -3
- package/es/components/EmptyStates/assets/NotificationsIllustration.js +2 -3
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +2 -3
- package/es/components/FullPageError/FullPageError.js +7 -7
- package/es/components/FullPageError/assets/Error403SVG.d.ts +1 -3
- package/es/components/FullPageError/assets/Error403SVG.js +4 -6
- package/es/components/FullPageError/assets/Error404SVG.d.ts +1 -3
- package/es/components/FullPageError/assets/Error404SVG.js +4 -6
- package/es/components/FullPageError/assets/ErrorGenericSVG.d.ts +1 -3
- package/es/components/FullPageError/assets/ErrorGenericSVG.js +4 -6
- package/lib/components/EmptyStates/assets/ErrorIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/NoTagsIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/NotFoundIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -2
- package/lib/components/FullPageError/FullPageError.js +7 -7
- package/lib/components/FullPageError/assets/Error403SVG.d.ts +1 -3
- package/lib/components/FullPageError/assets/Error403SVG.js +4 -6
- package/lib/components/FullPageError/assets/Error404SVG.d.ts +1 -3
- package/lib/components/FullPageError/assets/Error404SVG.js +4 -6
- package/lib/components/FullPageError/assets/ErrorGenericSVG.d.ts +1 -3
- package/lib/components/FullPageError/assets/ErrorGenericSVG.js +4 -6
- package/package.json +2 -2
@@ -6,11 +6,10 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import React__default from 'react';
|
9
|
+
import React__default, { useId } from 'react';
|
10
10
|
import PropTypes from '../../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import { pkg } from '../../../settings.js';
|
13
|
-
import uuidv4 from '../../../global/js/utils/uuidv4.js';
|
14
13
|
|
15
14
|
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _stop7, _stop8, _path, _path2, _path3, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _stop15, _stop16, _stop17, _stop18, _stop19, _stop20, _stop21, _stop22, _stop23, _stop24, _stop25, _stop26, _path4;
|
16
15
|
var _excluded = ["theme", "size", "alt"];
|
@@ -22,7 +21,7 @@ var ErrorIllustration = function ErrorIllustration(_ref) {
|
|
22
21
|
size = _ref.size,
|
23
22
|
alt = _ref.alt,
|
24
23
|
rest = _objectWithoutProperties(_ref, _excluded);
|
25
|
-
var svgId =
|
24
|
+
var svgId = useId();
|
26
25
|
return /*#__PURE__*/React__default.createElement("svg", _extends({}, rest, {
|
27
26
|
xmlns: "http://www.w3.org/2000/svg",
|
28
27
|
width: 80,
|
@@ -6,11 +6,10 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import React__default from 'react';
|
9
|
+
import React__default, { useId } from 'react';
|
10
10
|
import PropTypes from '../../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import { pkg } from '../../../settings.js';
|
13
|
-
import uuidv4 from '../../../global/js/utils/uuidv4.js';
|
14
13
|
|
15
14
|
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _path, _path2, _path3, _path4, _path5, _stop7, _stop8, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _path6, _path7, _path8;
|
16
15
|
var _excluded = ["theme", "size", "alt"];
|
@@ -22,7 +21,7 @@ var NoDataIllustration = function NoDataIllustration(_ref) {
|
|
22
21
|
size = _ref.size,
|
23
22
|
alt = _ref.alt,
|
24
23
|
rest = _objectWithoutProperties(_ref, _excluded);
|
25
|
-
var svgId =
|
24
|
+
var svgId = useId();
|
26
25
|
return /*#__PURE__*/React__default.createElement("svg", _extends({}, rest, {
|
27
26
|
xmlns: "http://www.w3.org/2000/svg",
|
28
27
|
width: 80,
|
@@ -6,11 +6,10 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import React__default from 'react';
|
9
|
+
import React__default, { useId } from 'react';
|
10
10
|
import PropTypes from '../../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import { pkg } from '../../../settings.js';
|
13
|
-
import uuidv4 from '../../../global/js/utils/uuidv4.js';
|
14
13
|
|
15
14
|
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _stop7, _stop8, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _stop15, _stop16, _stop17, _stop18, _stop19, _stop20, _stop21, _stop22, _stop23, _stop24, _stop25, _stop26, _stop27, _stop28, _path, _path2, _stop29, _stop30, _stop31, _stop32, _stop33, _stop34, _stop35, _stop36, _stop37, _stop38, _stop39, _stop40, _stop41, _stop42, _stop43, _stop44, _stop45, _stop46, _stop47, _stop48, _stop49, _stop50, _stop51, _stop52, _stop53, _stop54, _stop55, _stop56, _stop57, _stop58, _stop59, _stop60, _stop61, _stop62, _stop63, _stop64, _stop65, _stop66, _path3;
|
16
15
|
var _excluded = ["theme", "size", "alt"];
|
@@ -22,7 +21,7 @@ var NoTagsIllustration = function NoTagsIllustration(_ref) {
|
|
22
21
|
size = _ref.size,
|
23
22
|
alt = _ref.alt,
|
24
23
|
rest = _objectWithoutProperties(_ref, _excluded);
|
25
|
-
var svgId =
|
24
|
+
var svgId = useId();
|
26
25
|
return /*#__PURE__*/React__default.createElement("svg", _extends({}, rest, {
|
27
26
|
xmlns: "http://www.w3.org/2000/svg",
|
28
27
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
@@ -6,11 +6,10 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import React__default from 'react';
|
9
|
+
import React__default, { useId } from 'react';
|
10
10
|
import PropTypes from '../../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import { pkg } from '../../../settings.js';
|
13
|
-
import uuidv4 from '../../../global/js/utils/uuidv4.js';
|
14
13
|
|
15
14
|
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _stop7, _stop8, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _stop15, _stop16, _stop17, _stop18, _stop19, _stop20, _stop21, _stop22, _stop23, _path, _path2, _stop24, _stop25, _stop26, _stop27, _stop28, _stop29, _stop30, _stop31, _stop32, _stop33, _stop34, _stop35, _stop36, _stop37, _stop38, _stop39, _stop40, _stop41, _stop42, _stop43, _stop44, _stop45, _stop46, _stop47, _stop48, _path3;
|
16
15
|
var _excluded = ["theme", "size", "alt"];
|
@@ -22,7 +21,7 @@ var NotFoundIllustration = function NotFoundIllustration(_ref) {
|
|
22
21
|
size = _ref.size,
|
23
22
|
alt = _ref.alt,
|
24
23
|
rest = _objectWithoutProperties(_ref, _excluded);
|
25
|
-
var svgId =
|
24
|
+
var svgId = useId();
|
26
25
|
return /*#__PURE__*/React__default.createElement("svg", _extends({}, rest, {
|
27
26
|
xmlns: "http://www.w3.org/2000/svg",
|
28
27
|
width: 80,
|
@@ -6,11 +6,10 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import React__default from 'react';
|
9
|
+
import React__default, { useId } from 'react';
|
10
10
|
import PropTypes from '../../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import { pkg } from '../../../settings.js';
|
13
|
-
import uuidv4 from '../../../global/js/utils/uuidv4.js';
|
14
13
|
|
15
14
|
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _stop7, _stop8, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _path, _path2, _path3, _stop15, _stop16, _stop17, _stop18, _stop19, _stop20, _stop21, _stop22, _stop23, _stop24, _stop25, _stop26, _stop27, _stop28, _stop29, _stop30, _stop31, _stop32, _stop33, _stop34, _stop35, _stop36, _stop37, _stop38, _stop39, _stop40, _stop41, _path4;
|
16
15
|
var _excluded = ["theme", "size", "alt"];
|
@@ -22,7 +21,7 @@ var NotificationsIllustration = function NotificationsIllustration(_ref) {
|
|
22
21
|
size = _ref.size,
|
23
22
|
alt = _ref.alt,
|
24
23
|
rest = _objectWithoutProperties(_ref, _excluded);
|
25
|
-
var svgId =
|
24
|
+
var svgId = useId();
|
26
25
|
return /*#__PURE__*/React__default.createElement("svg", _extends({}, rest, {
|
27
26
|
xmlns: "http://www.w3.org/2000/svg",
|
28
27
|
width: 80,
|
@@ -6,11 +6,10 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import React__default from 'react';
|
9
|
+
import React__default, { useId } from 'react';
|
10
10
|
import PropTypes from '../../../_virtual/index.js';
|
11
11
|
import cx from 'classnames';
|
12
12
|
import { pkg } from '../../../settings.js';
|
13
|
-
import uuidv4 from '../../../global/js/utils/uuidv4.js';
|
14
13
|
|
15
14
|
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _stop7, _stop8, _path, _path2, _path3, _linearGradient, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _stop15, _stop16, _stop17, _stop18, _stop19, _stop20, _stop21, _stop22, _stop23, _stop24, _stop25, _stop26, _stop27, _stop28, _stop29, _stop30, _stop31, _stop32, _stop33, _stop34, _stop35, _path4;
|
16
15
|
var _excluded = ["theme", "size", "alt"];
|
@@ -22,7 +21,7 @@ var UnauthorizedIllustration = function UnauthorizedIllustration(_ref) {
|
|
22
21
|
size = _ref.size,
|
23
22
|
alt = _ref.alt,
|
24
23
|
rest = _objectWithoutProperties(_ref, _excluded);
|
25
|
-
var svgId =
|
24
|
+
var svgId = useId();
|
26
25
|
return /*#__PURE__*/React__default.createElement("svg", _extends({}, rest, {
|
27
26
|
xmlns: "http://www.w3.org/2000/svg",
|
28
27
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
@@ -16,6 +16,7 @@ import cx from 'classnames';
|
|
16
16
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
17
17
|
import { pkg } from '../../settings.js';
|
18
18
|
|
19
|
+
var _span;
|
19
20
|
var _excluded = ["children", "className", "description", "label", "kind", "title"];
|
20
21
|
|
21
22
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
@@ -42,20 +43,17 @@ var FullPageError = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
42
43
|
var errorData = {
|
43
44
|
403: {
|
44
45
|
svg: /*#__PURE__*/React__default.createElement(Error403SVG, {
|
45
|
-
className: "".concat(blockClass, "__svg ").concat(blockClass, "__403")
|
46
|
-
title: title
|
46
|
+
className: "".concat(blockClass, "__svg ").concat(blockClass, "__403")
|
47
47
|
})
|
48
48
|
},
|
49
49
|
404: {
|
50
50
|
svg: /*#__PURE__*/React__default.createElement(Error404SVG, {
|
51
|
-
className: "".concat(blockClass, "__svg ").concat(blockClass, "__404")
|
52
|
-
title: title
|
51
|
+
className: "".concat(blockClass, "__svg ").concat(blockClass, "__404")
|
53
52
|
})
|
54
53
|
},
|
55
54
|
custom: {
|
56
55
|
svg: /*#__PURE__*/React__default.createElement(ErrorGenericSVG, {
|
57
|
-
className: "".concat(blockClass, "__svg ").concat(blockClass, "__custom")
|
58
|
-
title: title
|
56
|
+
className: "".concat(blockClass, "__svg ").concat(blockClass, "__custom")
|
59
57
|
})
|
60
58
|
}
|
61
59
|
};
|
@@ -76,7 +74,9 @@ var FullPageError = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
76
74
|
className: "".concat(blockClass, "__title")
|
77
75
|
}, /*#__PURE__*/React__default.createElement("span", {
|
78
76
|
className: "".concat(blockClass, "__label")
|
79
|
-
},
|
77
|
+
}, _span || (_span = /*#__PURE__*/React__default.createElement("span", {
|
78
|
+
"aria-hidden": "true"
|
79
|
+
}, "\u21B3 ")), label), /*#__PURE__*/React__default.createElement("span", null, title)), /*#__PURE__*/React__default.createElement("p", {
|
80
80
|
className: "".concat(blockClass, "__description")
|
81
81
|
}, description), /*#__PURE__*/React__default.createElement("div", {
|
82
82
|
className: "".concat(blockClass, "__body")
|
@@ -1,11 +1,9 @@
|
|
1
|
-
export function Error403SVG({ className
|
1
|
+
export function Error403SVG({ className }: {
|
2
2
|
className: any;
|
3
|
-
title: any;
|
4
3
|
}): React.JSX.Element;
|
5
4
|
export namespace Error403SVG {
|
6
5
|
namespace propTypes {
|
7
6
|
export { string as className };
|
8
|
-
export { string as title };
|
9
7
|
}
|
10
8
|
}
|
11
9
|
import React from 'react';
|
@@ -10,14 +10,13 @@ import { p as propTypesExports } from '../../../_virtual/index.js';
|
|
10
10
|
|
11
11
|
var _g, _defs;
|
12
12
|
var Error403SVG = function Error403SVG(_ref) {
|
13
|
-
var className = _ref.className
|
14
|
-
title = _ref.title;
|
13
|
+
var className = _ref.className;
|
15
14
|
return /*#__PURE__*/React__default.createElement("svg", {
|
16
15
|
viewBox: "0 0 750 570",
|
17
16
|
fill: "none",
|
18
17
|
className: className,
|
19
|
-
|
20
|
-
"
|
18
|
+
"aria-hidden": "true",
|
19
|
+
xmlns: "http://www.w3.org/2000/svg"
|
21
20
|
}, _g || (_g = /*#__PURE__*/React__default.createElement("g", {
|
22
21
|
clipPath: "url(#clip0_0_2401)"
|
23
22
|
}, /*#__PURE__*/React__default.createElement("path", {
|
@@ -710,8 +709,7 @@ var Error403SVG = function Error403SVG(_ref) {
|
|
710
709
|
// in alphabetical order (for consistency).
|
711
710
|
// See https://www.npmjs.com/package/prop-types#usage.
|
712
711
|
Error403SVG.propTypes = {
|
713
|
-
className: propTypesExports.string
|
714
|
-
title: propTypesExports.string
|
712
|
+
className: propTypesExports.string
|
715
713
|
};
|
716
714
|
|
717
715
|
export { Error403SVG };
|
@@ -1,11 +1,9 @@
|
|
1
|
-
export function Error404SVG({ className
|
1
|
+
export function Error404SVG({ className }: {
|
2
2
|
className: any;
|
3
|
-
title: any;
|
4
3
|
}): React.JSX.Element;
|
5
4
|
export namespace Error404SVG {
|
6
5
|
namespace propTypes {
|
7
6
|
export { string as className };
|
8
|
-
export { string as title };
|
9
7
|
}
|
10
8
|
}
|
11
9
|
import React from 'react';
|
@@ -10,14 +10,13 @@ import { p as propTypesExports } from '../../../_virtual/index.js';
|
|
10
10
|
|
11
11
|
var _g, _defs;
|
12
12
|
var Error404SVG = function Error404SVG(_ref) {
|
13
|
-
var className = _ref.className
|
14
|
-
title = _ref.title;
|
13
|
+
var className = _ref.className;
|
15
14
|
return /*#__PURE__*/React__default.createElement("svg", {
|
16
15
|
viewBox: "0 0 751 549",
|
17
16
|
fill: "none",
|
18
17
|
className: className,
|
19
|
-
|
20
|
-
"
|
18
|
+
"aria-hidden": "true",
|
19
|
+
xmlns: "http://www.w3.org/2000/svg"
|
21
20
|
}, _g || (_g = /*#__PURE__*/React__default.createElement("g", {
|
22
21
|
clipPath: "url(#clip0_0_2285)"
|
23
22
|
}, /*#__PURE__*/React__default.createElement("path", {
|
@@ -619,8 +618,7 @@ var Error404SVG = function Error404SVG(_ref) {
|
|
619
618
|
// in alphabetical order (for consistency).
|
620
619
|
// See https://www.npmjs.com/package/prop-types#usage.
|
621
620
|
Error404SVG.propTypes = {
|
622
|
-
className: propTypesExports.string
|
623
|
-
title: propTypesExports.string
|
621
|
+
className: propTypesExports.string
|
624
622
|
};
|
625
623
|
|
626
624
|
export { Error404SVG };
|
@@ -1,11 +1,9 @@
|
|
1
|
-
export function ErrorGenericSVG({ className
|
1
|
+
export function ErrorGenericSVG({ className }: {
|
2
2
|
className: any;
|
3
|
-
title: any;
|
4
3
|
}): React.JSX.Element;
|
5
4
|
export namespace ErrorGenericSVG {
|
6
5
|
namespace propTypes {
|
7
6
|
export { string as className };
|
8
|
-
export { string as title };
|
9
7
|
}
|
10
8
|
}
|
11
9
|
import React from 'react';
|
@@ -10,14 +10,13 @@ import { p as propTypesExports } from '../../../_virtual/index.js';
|
|
10
10
|
|
11
11
|
var _g, _defs;
|
12
12
|
var ErrorGenericSVG = function ErrorGenericSVG(_ref) {
|
13
|
-
var className = _ref.className
|
14
|
-
title = _ref.title;
|
13
|
+
var className = _ref.className;
|
15
14
|
return /*#__PURE__*/React__default.createElement("svg", {
|
16
15
|
viewBox: "0 0 750 506",
|
17
16
|
fill: "none",
|
18
17
|
className: className,
|
19
|
-
|
20
|
-
"
|
18
|
+
"aria-hidden": "true",
|
19
|
+
xmlns: "http://www.w3.org/2000/svg"
|
21
20
|
}, _g || (_g = /*#__PURE__*/React__default.createElement("g", {
|
22
21
|
clipPath: "url(#clip0_203_144)"
|
23
22
|
}, /*#__PURE__*/React__default.createElement("path", {
|
@@ -710,8 +709,7 @@ var ErrorGenericSVG = function ErrorGenericSVG(_ref) {
|
|
710
709
|
// in alphabetical order (for consistency).
|
711
710
|
// See https://www.npmjs.com/package/prop-types#usage.
|
712
711
|
ErrorGenericSVG.propTypes = {
|
713
|
-
className: propTypesExports.string
|
714
|
-
title: propTypesExports.string
|
712
|
+
className: propTypesExports.string
|
715
713
|
};
|
716
714
|
|
717
715
|
export { ErrorGenericSVG };
|
@@ -14,7 +14,6 @@ var React = require('react');
|
|
14
14
|
var index = require('../../../_virtual/index.js');
|
15
15
|
var cx = require('classnames');
|
16
16
|
var settings = require('../../../settings.js');
|
17
|
-
var uuidv4 = require('../../../global/js/utils/uuidv4.js');
|
18
17
|
|
19
18
|
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _stop7, _stop8, _path, _path2, _path3, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _stop15, _stop16, _stop17, _stop18, _stop19, _stop20, _stop21, _stop22, _stop23, _stop24, _stop25, _stop26, _path4;
|
20
19
|
var _excluded = ["theme", "size", "alt"];
|
@@ -26,7 +25,7 @@ var ErrorIllustration = function ErrorIllustration(_ref) {
|
|
26
25
|
size = _ref.size,
|
27
26
|
alt = _ref.alt,
|
28
27
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
29
|
-
var svgId =
|
28
|
+
var svgId = React.useId();
|
30
29
|
return /*#__PURE__*/React.createElement("svg", _rollupPluginBabelHelpers.extends({}, rest, {
|
31
30
|
xmlns: "http://www.w3.org/2000/svg",
|
32
31
|
width: 80,
|
@@ -14,7 +14,6 @@ var React = require('react');
|
|
14
14
|
var index = require('../../../_virtual/index.js');
|
15
15
|
var cx = require('classnames');
|
16
16
|
var settings = require('../../../settings.js');
|
17
|
-
var uuidv4 = require('../../../global/js/utils/uuidv4.js');
|
18
17
|
|
19
18
|
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _path, _path2, _path3, _path4, _path5, _stop7, _stop8, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _path6, _path7, _path8;
|
20
19
|
var _excluded = ["theme", "size", "alt"];
|
@@ -26,7 +25,7 @@ var NoDataIllustration = function NoDataIllustration(_ref) {
|
|
26
25
|
size = _ref.size,
|
27
26
|
alt = _ref.alt,
|
28
27
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
29
|
-
var svgId =
|
28
|
+
var svgId = React.useId();
|
30
29
|
return /*#__PURE__*/React.createElement("svg", _rollupPluginBabelHelpers.extends({}, rest, {
|
31
30
|
xmlns: "http://www.w3.org/2000/svg",
|
32
31
|
width: 80,
|
@@ -14,7 +14,6 @@ var React = require('react');
|
|
14
14
|
var index = require('../../../_virtual/index.js');
|
15
15
|
var cx = require('classnames');
|
16
16
|
var settings = require('../../../settings.js');
|
17
|
-
var uuidv4 = require('../../../global/js/utils/uuidv4.js');
|
18
17
|
|
19
18
|
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _stop7, _stop8, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _stop15, _stop16, _stop17, _stop18, _stop19, _stop20, _stop21, _stop22, _stop23, _stop24, _stop25, _stop26, _stop27, _stop28, _path, _path2, _stop29, _stop30, _stop31, _stop32, _stop33, _stop34, _stop35, _stop36, _stop37, _stop38, _stop39, _stop40, _stop41, _stop42, _stop43, _stop44, _stop45, _stop46, _stop47, _stop48, _stop49, _stop50, _stop51, _stop52, _stop53, _stop54, _stop55, _stop56, _stop57, _stop58, _stop59, _stop60, _stop61, _stop62, _stop63, _stop64, _stop65, _stop66, _path3;
|
20
19
|
var _excluded = ["theme", "size", "alt"];
|
@@ -26,7 +25,7 @@ var NoTagsIllustration = function NoTagsIllustration(_ref) {
|
|
26
25
|
size = _ref.size,
|
27
26
|
alt = _ref.alt,
|
28
27
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
29
|
-
var svgId =
|
28
|
+
var svgId = React.useId();
|
30
29
|
return /*#__PURE__*/React.createElement("svg", _rollupPluginBabelHelpers.extends({}, rest, {
|
31
30
|
xmlns: "http://www.w3.org/2000/svg",
|
32
31
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
@@ -14,7 +14,6 @@ var React = require('react');
|
|
14
14
|
var index = require('../../../_virtual/index.js');
|
15
15
|
var cx = require('classnames');
|
16
16
|
var settings = require('../../../settings.js');
|
17
|
-
var uuidv4 = require('../../../global/js/utils/uuidv4.js');
|
18
17
|
|
19
18
|
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _stop7, _stop8, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _stop15, _stop16, _stop17, _stop18, _stop19, _stop20, _stop21, _stop22, _stop23, _path, _path2, _stop24, _stop25, _stop26, _stop27, _stop28, _stop29, _stop30, _stop31, _stop32, _stop33, _stop34, _stop35, _stop36, _stop37, _stop38, _stop39, _stop40, _stop41, _stop42, _stop43, _stop44, _stop45, _stop46, _stop47, _stop48, _path3;
|
20
19
|
var _excluded = ["theme", "size", "alt"];
|
@@ -26,7 +25,7 @@ var NotFoundIllustration = function NotFoundIllustration(_ref) {
|
|
26
25
|
size = _ref.size,
|
27
26
|
alt = _ref.alt,
|
28
27
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
29
|
-
var svgId =
|
28
|
+
var svgId = React.useId();
|
30
29
|
return /*#__PURE__*/React.createElement("svg", _rollupPluginBabelHelpers.extends({}, rest, {
|
31
30
|
xmlns: "http://www.w3.org/2000/svg",
|
32
31
|
width: 80,
|
@@ -14,7 +14,6 @@ var React = require('react');
|
|
14
14
|
var index = require('../../../_virtual/index.js');
|
15
15
|
var cx = require('classnames');
|
16
16
|
var settings = require('../../../settings.js');
|
17
|
-
var uuidv4 = require('../../../global/js/utils/uuidv4.js');
|
18
17
|
|
19
18
|
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _stop7, _stop8, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _path, _path2, _path3, _stop15, _stop16, _stop17, _stop18, _stop19, _stop20, _stop21, _stop22, _stop23, _stop24, _stop25, _stop26, _stop27, _stop28, _stop29, _stop30, _stop31, _stop32, _stop33, _stop34, _stop35, _stop36, _stop37, _stop38, _stop39, _stop40, _stop41, _path4;
|
20
19
|
var _excluded = ["theme", "size", "alt"];
|
@@ -26,7 +25,7 @@ var NotificationsIllustration = function NotificationsIllustration(_ref) {
|
|
26
25
|
size = _ref.size,
|
27
26
|
alt = _ref.alt,
|
28
27
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
29
|
-
var svgId =
|
28
|
+
var svgId = React.useId();
|
30
29
|
return /*#__PURE__*/React.createElement("svg", _rollupPluginBabelHelpers.extends({}, rest, {
|
31
30
|
xmlns: "http://www.w3.org/2000/svg",
|
32
31
|
width: 80,
|
@@ -14,7 +14,6 @@ var React = require('react');
|
|
14
14
|
var index = require('../../../_virtual/index.js');
|
15
15
|
var cx = require('classnames');
|
16
16
|
var settings = require('../../../settings.js');
|
17
|
-
var uuidv4 = require('../../../global/js/utils/uuidv4.js');
|
18
17
|
|
19
18
|
var _stop, _stop2, _stop3, _stop4, _stop5, _stop6, _stop7, _stop8, _path, _path2, _path3, _linearGradient, _stop9, _stop10, _stop11, _stop12, _stop13, _stop14, _stop15, _stop16, _stop17, _stop18, _stop19, _stop20, _stop21, _stop22, _stop23, _stop24, _stop25, _stop26, _stop27, _stop28, _stop29, _stop30, _stop31, _stop32, _stop33, _stop34, _stop35, _path4;
|
20
19
|
var _excluded = ["theme", "size", "alt"];
|
@@ -26,7 +25,7 @@ var UnauthorizedIllustration = function UnauthorizedIllustration(_ref) {
|
|
26
25
|
size = _ref.size,
|
27
26
|
alt = _ref.alt,
|
28
27
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
29
|
-
var svgId =
|
28
|
+
var svgId = React.useId();
|
30
29
|
return /*#__PURE__*/React.createElement("svg", _rollupPluginBabelHelpers.extends({}, rest, {
|
31
30
|
xmlns: "http://www.w3.org/2000/svg",
|
32
31
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
@@ -18,6 +18,7 @@ var cx = require('classnames');
|
|
18
18
|
var devtools = require('../../global/js/utils/devtools.js');
|
19
19
|
var settings = require('../../settings.js');
|
20
20
|
|
21
|
+
var _span;
|
21
22
|
var _excluded = ["children", "className", "description", "label", "kind", "title"];
|
22
23
|
|
23
24
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
@@ -44,20 +45,17 @@ exports.FullPageError = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
44
45
|
var errorData = {
|
45
46
|
403: {
|
46
47
|
svg: /*#__PURE__*/React.createElement(Error403SVG.Error403SVG, {
|
47
|
-
className: "".concat(blockClass, "__svg ").concat(blockClass, "__403")
|
48
|
-
title: title
|
48
|
+
className: "".concat(blockClass, "__svg ").concat(blockClass, "__403")
|
49
49
|
})
|
50
50
|
},
|
51
51
|
404: {
|
52
52
|
svg: /*#__PURE__*/React.createElement(Error404SVG.Error404SVG, {
|
53
|
-
className: "".concat(blockClass, "__svg ").concat(blockClass, "__404")
|
54
|
-
title: title
|
53
|
+
className: "".concat(blockClass, "__svg ").concat(blockClass, "__404")
|
55
54
|
})
|
56
55
|
},
|
57
56
|
custom: {
|
58
57
|
svg: /*#__PURE__*/React.createElement(ErrorGenericSVG.ErrorGenericSVG, {
|
59
|
-
className: "".concat(blockClass, "__svg ").concat(blockClass, "__custom")
|
60
|
-
title: title
|
58
|
+
className: "".concat(blockClass, "__svg ").concat(blockClass, "__custom")
|
61
59
|
})
|
62
60
|
}
|
63
61
|
};
|
@@ -78,7 +76,9 @@ exports.FullPageError = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
78
76
|
className: "".concat(blockClass, "__title")
|
79
77
|
}, /*#__PURE__*/React.createElement("span", {
|
80
78
|
className: "".concat(blockClass, "__label")
|
81
|
-
},
|
79
|
+
}, _span || (_span = /*#__PURE__*/React.createElement("span", {
|
80
|
+
"aria-hidden": "true"
|
81
|
+
}, "\u21B3 ")), label), /*#__PURE__*/React.createElement("span", null, title)), /*#__PURE__*/React.createElement("p", {
|
82
82
|
className: "".concat(blockClass, "__description")
|
83
83
|
}, description), /*#__PURE__*/React.createElement("div", {
|
84
84
|
className: "".concat(blockClass, "__body")
|
@@ -1,11 +1,9 @@
|
|
1
|
-
export function Error403SVG({ className
|
1
|
+
export function Error403SVG({ className }: {
|
2
2
|
className: any;
|
3
|
-
title: any;
|
4
3
|
}): React.JSX.Element;
|
5
4
|
export namespace Error403SVG {
|
6
5
|
namespace propTypes {
|
7
6
|
export { string as className };
|
8
|
-
export { string as title };
|
9
7
|
}
|
10
8
|
}
|
11
9
|
import React from 'react';
|
@@ -12,14 +12,13 @@ var index = require('../../../_virtual/index.js');
|
|
12
12
|
|
13
13
|
var _g, _defs;
|
14
14
|
var Error403SVG = function Error403SVG(_ref) {
|
15
|
-
var className = _ref.className
|
16
|
-
title = _ref.title;
|
15
|
+
var className = _ref.className;
|
17
16
|
return /*#__PURE__*/React.createElement("svg", {
|
18
17
|
viewBox: "0 0 750 570",
|
19
18
|
fill: "none",
|
20
19
|
className: className,
|
21
|
-
|
22
|
-
"
|
20
|
+
"aria-hidden": "true",
|
21
|
+
xmlns: "http://www.w3.org/2000/svg"
|
23
22
|
}, _g || (_g = /*#__PURE__*/React.createElement("g", {
|
24
23
|
clipPath: "url(#clip0_0_2401)"
|
25
24
|
}, /*#__PURE__*/React.createElement("path", {
|
@@ -712,8 +711,7 @@ var Error403SVG = function Error403SVG(_ref) {
|
|
712
711
|
// in alphabetical order (for consistency).
|
713
712
|
// See https://www.npmjs.com/package/prop-types#usage.
|
714
713
|
Error403SVG.propTypes = {
|
715
|
-
className: index.propTypesExports.string
|
716
|
-
title: index.propTypesExports.string
|
714
|
+
className: index.propTypesExports.string
|
717
715
|
};
|
718
716
|
|
719
717
|
exports.Error403SVG = Error403SVG;
|
@@ -1,11 +1,9 @@
|
|
1
|
-
export function Error404SVG({ className
|
1
|
+
export function Error404SVG({ className }: {
|
2
2
|
className: any;
|
3
|
-
title: any;
|
4
3
|
}): React.JSX.Element;
|
5
4
|
export namespace Error404SVG {
|
6
5
|
namespace propTypes {
|
7
6
|
export { string as className };
|
8
|
-
export { string as title };
|
9
7
|
}
|
10
8
|
}
|
11
9
|
import React from 'react';
|
@@ -12,14 +12,13 @@ var index = require('../../../_virtual/index.js');
|
|
12
12
|
|
13
13
|
var _g, _defs;
|
14
14
|
var Error404SVG = function Error404SVG(_ref) {
|
15
|
-
var className = _ref.className
|
16
|
-
title = _ref.title;
|
15
|
+
var className = _ref.className;
|
17
16
|
return /*#__PURE__*/React.createElement("svg", {
|
18
17
|
viewBox: "0 0 751 549",
|
19
18
|
fill: "none",
|
20
19
|
className: className,
|
21
|
-
|
22
|
-
"
|
20
|
+
"aria-hidden": "true",
|
21
|
+
xmlns: "http://www.w3.org/2000/svg"
|
23
22
|
}, _g || (_g = /*#__PURE__*/React.createElement("g", {
|
24
23
|
clipPath: "url(#clip0_0_2285)"
|
25
24
|
}, /*#__PURE__*/React.createElement("path", {
|
@@ -621,8 +620,7 @@ var Error404SVG = function Error404SVG(_ref) {
|
|
621
620
|
// in alphabetical order (for consistency).
|
622
621
|
// See https://www.npmjs.com/package/prop-types#usage.
|
623
622
|
Error404SVG.propTypes = {
|
624
|
-
className: index.propTypesExports.string
|
625
|
-
title: index.propTypesExports.string
|
623
|
+
className: index.propTypesExports.string
|
626
624
|
};
|
627
625
|
|
628
626
|
exports.Error404SVG = Error404SVG;
|
@@ -1,11 +1,9 @@
|
|
1
|
-
export function ErrorGenericSVG({ className
|
1
|
+
export function ErrorGenericSVG({ className }: {
|
2
2
|
className: any;
|
3
|
-
title: any;
|
4
3
|
}): React.JSX.Element;
|
5
4
|
export namespace ErrorGenericSVG {
|
6
5
|
namespace propTypes {
|
7
6
|
export { string as className };
|
8
|
-
export { string as title };
|
9
7
|
}
|
10
8
|
}
|
11
9
|
import React from 'react';
|
@@ -12,14 +12,13 @@ var index = require('../../../_virtual/index.js');
|
|
12
12
|
|
13
13
|
var _g, _defs;
|
14
14
|
var ErrorGenericSVG = function ErrorGenericSVG(_ref) {
|
15
|
-
var className = _ref.className
|
16
|
-
title = _ref.title;
|
15
|
+
var className = _ref.className;
|
17
16
|
return /*#__PURE__*/React.createElement("svg", {
|
18
17
|
viewBox: "0 0 750 506",
|
19
18
|
fill: "none",
|
20
19
|
className: className,
|
21
|
-
|
22
|
-
"
|
20
|
+
"aria-hidden": "true",
|
21
|
+
xmlns: "http://www.w3.org/2000/svg"
|
23
22
|
}, _g || (_g = /*#__PURE__*/React.createElement("g", {
|
24
23
|
clipPath: "url(#clip0_203_144)"
|
25
24
|
}, /*#__PURE__*/React.createElement("path", {
|
@@ -712,8 +711,7 @@ var ErrorGenericSVG = function ErrorGenericSVG(_ref) {
|
|
712
711
|
// in alphabetical order (for consistency).
|
713
712
|
// See https://www.npmjs.com/package/prop-types#usage.
|
714
713
|
ErrorGenericSVG.propTypes = {
|
715
|
-
className: index.propTypesExports.string
|
716
|
-
title: index.propTypesExports.string
|
714
|
+
className: index.propTypesExports.string
|
717
715
|
};
|
718
716
|
|
719
717
|
exports.ErrorGenericSVG = ErrorGenericSVG;
|
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": "2.54.0-canary.
|
4
|
+
"version": "2.54.0-canary.43+3f45528cd",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "lib/index.js",
|
7
7
|
"module": "es/index.js",
|
@@ -120,5 +120,5 @@
|
|
120
120
|
"react": "^16.8.6 || ^17.0.1 || ^18.2.0",
|
121
121
|
"react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0"
|
122
122
|
},
|
123
|
-
"gitHead": "
|
123
|
+
"gitHead": "3f45528cd037c0232c2699c18d8bf63a5da8891b"
|
124
124
|
}
|