@redhat-cloud-services/frontend-components 4.0.4 → 4.0.6

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.
Files changed (66) hide show
  1. package/Battery/Battery.d.ts +1 -9
  2. package/Battery/Battery.js +2 -76
  3. package/Battery/Battery.js.map +1 -1
  4. package/Battery/CriticalBattery.js +2 -2
  5. package/Battery/CriticalBattery.js.map +1 -1
  6. package/Battery/HighBattery.js +2 -2
  7. package/Battery/HighBattery.js.map +1 -1
  8. package/Battery/LowBattery.js +2 -2
  9. package/Battery/LowBattery.js.map +1 -1
  10. package/Battery/MediumBattery.js +2 -2
  11. package/Battery/MediumBattery.js.map +1 -1
  12. package/Battery/NullBattery.js +2 -2
  13. package/Battery/NullBattery.js.map +1 -1
  14. package/ErrorBoundary/ErrorBoundary.d.ts +3 -21
  15. package/ErrorBoundary/ErrorBoundary.js +13 -84
  16. package/ErrorBoundary/ErrorBoundary.js.map +1 -1
  17. package/ErrorState/ErrorState.d.ts +1 -7
  18. package/ErrorState/ErrorState.js +2 -18
  19. package/ErrorState/ErrorState.js.map +1 -1
  20. package/NotAuthorized/NotAuthorized.d.ts +1 -13
  21. package/NotAuthorized/NotAuthorized.js +2 -24
  22. package/NotAuthorized/NotAuthorized.js.map +1 -1
  23. package/NotConnected/NotConnected.js +1 -1
  24. package/NotConnected/NotConnected.js.map +1 -1
  25. package/esm/Battery/Battery.js +2 -73
  26. package/esm/Battery/Battery.js.map +1 -1
  27. package/esm/Battery/CriticalBattery.js +2 -2
  28. package/esm/Battery/CriticalBattery.js.map +1 -1
  29. package/esm/Battery/HighBattery.js +2 -2
  30. package/esm/Battery/HighBattery.js.map +1 -1
  31. package/esm/Battery/LowBattery.js +2 -2
  32. package/esm/Battery/LowBattery.js.map +1 -1
  33. package/esm/Battery/MediumBattery.js +2 -2
  34. package/esm/Battery/MediumBattery.js.map +1 -1
  35. package/esm/Battery/NullBattery.js +2 -2
  36. package/esm/Battery/NullBattery.js.map +1 -1
  37. package/esm/ErrorBoundary/ErrorBoundary.js +14 -59
  38. package/esm/ErrorBoundary/ErrorBoundary.js.map +1 -1
  39. package/esm/ErrorState/ErrorState.js +3 -21
  40. package/esm/ErrorState/ErrorState.js.map +1 -1
  41. package/esm/NotAuthorized/NotAuthorized.js +3 -23
  42. package/esm/NotAuthorized/NotAuthorized.js.map +1 -1
  43. package/esm/NotConnected/NotConnected.js +1 -1
  44. package/esm/NotConnected/NotConnected.js.map +1 -1
  45. package/esm/index.css +0 -50
  46. package/esm/index.scss +0 -2
  47. package/index.css +0 -50
  48. package/index.scss +0 -2
  49. package/package.json +2 -1
  50. package/Battery/battery.css +0 -35
  51. package/Battery/battery.scss +0 -47
  52. package/ErrorBoundary/ErrorBoundary.css +0 -13
  53. package/ErrorBoundary/ErrorBoundary.scss +0 -11
  54. package/ErrorBoundary/ErrorStack.d.ts +0 -6
  55. package/ErrorBoundary/ErrorStack.js +0 -17
  56. package/ErrorBoundary/ErrorStack.js.map +0 -1
  57. package/ErrorState/error-state.css +0 -3
  58. package/ErrorState/error-state.scss +0 -5
  59. package/esm/Battery/battery.css +0 -35
  60. package/esm/Battery/battery.scss +0 -47
  61. package/esm/ErrorBoundary/ErrorBoundary.css +0 -13
  62. package/esm/ErrorBoundary/ErrorBoundary.scss +0 -11
  63. package/esm/ErrorBoundary/ErrorStack.js +0 -15
  64. package/esm/ErrorBoundary/ErrorStack.js.map +0 -1
  65. package/esm/ErrorState/error-state.css +0 -3
  66. package/esm/ErrorState/error-state.scss +0 -5
@@ -1 +1 @@
1
- {"version":3,"file":"MediumBattery.js","sourceRoot":"","sources":["../../src/Battery/MediumBattery.tsx"],"names":[],"mappings":";AAKA,IAAM,aAAa,GAA4B,cAAM,OAAA,CACnD,eAAM,CAAC,EAAC,ucAAuc,GAAG,CACnd,EAFoD,CAEpD,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"MediumBattery.js","sourceRoot":"","sources":["../../src/Battery/MediumBattery.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,IAAI,eAAe,EAAE,MAAM,yDAAyD,CAAC;AAM3G,IAAM,aAAa,GAA4B,eAAe,CAAC;AAE/D,eAAe,aAAa,CAAC"}
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- var NullBattery = function () { return (_jsx("path", { d: "M 99.168858,143.38516 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698858,11.2 z M 99.168857,235.25069 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698857,11.2 z M 99.168857,327.14542 H 351.33914 c 5.33437,0 9.69886,-5.04 9.69886,-11.19999 v -28 c 0,-6.16001 -4.36449,-11.2 -9.69886,-11.2 H 99.168857 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.19999 9.698857,11.19999 z M 99.168993,419.0375 H 351.33927 c 5.33437,0 9.69886,-5.04 9.69886,-11.2 v -28 c 0,-6.16 -4.36449,-11.2 -9.69886,-11.2 H 99.168993 c -5.334371,0 -9.698857,5.04 -9.698857,11.2 v 28 c 0,6.16 4.364486,11.2 9.698857,11.2 z" })); };
1
+ import { NullBattery as NullBatteryPF } from '@patternfly/react-component-groups/dist/dynamic/Battery';
2
+ var NullBattery = NullBatteryPF;
3
3
  export default NullBattery;
4
4
  //# sourceMappingURL=NullBattery.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NullBattery.js","sourceRoot":"","sources":["../../src/Battery/NullBattery.tsx"],"names":[],"mappings":";AAKA,IAAM,WAAW,GAA4B,cAAM,OAAA,CACjD,eAAM,CAAC,EAAC,+3BAA+3B,GAAG,CAC34B,EAFkD,CAElD,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"NullBattery.js","sourceRoot":"","sources":["../../src/Battery/NullBattery.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,IAAI,aAAa,EAAE,MAAM,yDAAyD,CAAC;AAMvG,IAAM,WAAW,GAA4B,aAAa,CAAC;AAE3D,eAAe,WAAW,CAAC"}
@@ -1,62 +1,17 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- if (typeof b !== "function" && b !== null)
10
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
11
- extendStatics(d, b);
12
- function __() { this.constructor = d; }
13
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
14
- };
15
- })();
16
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
17
- import * as React from 'react';
18
- import PageHeader, { PageHeaderTitle } from '../PageHeader';
19
- import ErrorState from '../ErrorState';
20
- import { ExpandableSection } from "@patternfly/react-core/dist/dynamic/components/ExpandableSection";
21
- import ErrorStack from './ErrorStack';
22
- import Section from '../Section';
23
- var ErrorBoundaryPage = (function (_super) {
24
- __extends(ErrorBoundaryPage, _super);
25
- function ErrorBoundaryPage(props) {
26
- var _this = _super.call(this, props) || this;
27
- _this.updateState = function () {
28
- if (_this.state.historyState !== history.state) {
29
- _this.setState({
30
- hasError: false,
31
- historyState: history.state,
32
- });
33
- }
34
- };
35
- _this.state = {
36
- hasError: false,
37
- historyState: history.state,
38
- };
39
- return _this;
40
- }
41
- ErrorBoundaryPage.getDerivedStateFromError = function (error) {
42
- return { hasError: true, error: error, historyState: history.state };
43
- };
44
- ErrorBoundaryPage.prototype.componentDidUpdate = function () {
45
- this.updateState();
46
- };
47
- ErrorBoundaryPage.prototype.componentDidMount = function () {
48
- this.updateState();
49
- };
50
- ErrorBoundaryPage.prototype.render = function () {
51
- if (this.state.hasError) {
52
- if (this.props.silent) {
53
- return null;
54
- }
55
- return (_jsxs("div", { children: [_jsx(PageHeader, { children: _jsx(PageHeaderTitle, { title: this.props.headerTitle }) }), _jsx(Section, { children: _jsx(ErrorState, { errorTitle: this.props.errorTitle, errorDescription: _jsxs(_Fragment, { children: [_jsx("span", { children: this.props.errorDescription }), this.state.error && (_jsx(ExpandableSection, { toggleText: "Show details", children: _jsx(ErrorStack, { error: this.state.error }) }))] }) }) })] }));
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
56
7
  }
57
- return this.props.children;
8
+ return t;
58
9
  };
59
- return ErrorBoundaryPage;
60
- }(React.Component));
61
- export default ErrorBoundaryPage;
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { ErrorBoundary as ErrorBoundaryPF } from '@patternfly/react-component-groups/dist/dynamic/ErrorBoundary';
14
+ import { DefaultErrorMessage } from '../ErrorState';
15
+ var ErrorBoundary = function (props) { return _jsx(ErrorBoundaryPF, __assign({ defaultErrorDescription: DefaultErrorMessage }, props)); };
16
+ export default ErrorBoundary;
62
17
  //# sourceMappingURL=ErrorBoundary.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorBoundary.js","sourceRoot":"","sources":["../../src/ErrorBoundary/ErrorBoundary.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OA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ACd,8BACE,yBAAO,IAAI,CAAC,KAAK,CAAC,gBAAgB,GAAQ,EACzC,IAAI,CAAC,KAAK,CAAC,KAAK,IAAI,CACnB,KAAC,iBAAiB,IAAC,UAAU,EAAC,cAAc,YAC1C,KAAC,UAAU,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,GAAI,GACrB,CACrB,IACA,GAEL,GACM,IACN,CACP,CAAC;SACH;QAED,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;IAC7B,CAAC;IACH,wBAAC;AAAD,CAAC,AA7DD,CAAgC,KAAK,CAAC,SAAS,GA6D9C;AAED,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"ErrorBoundary.js","sourceRoot":"","sources":["../../src/ErrorBoundary/ErrorBoundary.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,aAAa,IAAI,eAAe,EAAE,MAAM,+DAA+D,CAAC;AACjH,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAMpD,IAAM,aAAa,GAAiC,UAAC,KAAK,IAAK,OAAA,KAAC,eAAe,aAAC,uBAAuB,EAAE,mBAAmB,IAAM,KAAK,EAAI,EAA5E,CAA4E,CAAC;AAE5I,eAAe,aAAa,CAAC"}
@@ -9,27 +9,9 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
- var __rest = (this && this.__rest) || function (s, e) {
13
- var t = {};
14
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
- t[p] = s[p];
16
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
- t[p[i]] = s[p[i]];
20
- }
21
- return t;
22
- };
23
- import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
- import ExclamationCircleIcon from "@patternfly/react-icons/dist/dynamic/icons/exclamation-circle-icon";
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { ErrorState as ErrorStatePF } from '@patternfly/react-component-groups/dist/dynamic/ErrorState';
25
14
  import DefaultErrorMessage from './DefaultErrorMessage';
26
- import { Button } from "@patternfly/react-core/dist/dynamic/components/Button";
27
- import { EmptyState, EmptyStateBody, EmptyStateFooter, EmptyStateHeader, EmptyStateIcon, EmptyStateProps, EmptyStateVariant } from "@patternfly/react-core/dist/dynamic/components/EmptyState";
28
- import { Stack, StackItem } from "@patternfly/react-core/dist/dynamic/layouts/Stack";
29
- import '../ErrorState/error-state.css';
30
- var ErrorState = function (_a) {
31
- var _b = _a.errorTitle, errorTitle = _b === void 0 ? 'Something went wrong' : _b, errorDescription = _a.errorDescription, props = __rest(_a, ["errorTitle", "errorDescription"]);
32
- return (_jsxs(EmptyState, __assign({ variant: EmptyStateVariant.lg }, props, { className: "ins-c-error-state", children: [_jsx(EmptyStateHeader, { titleText: _jsx(_Fragment, { children: errorTitle }), icon: _jsx(EmptyStateIcon, { icon: ExclamationCircleIcon }), headingLevel: "h4" }), _jsx(EmptyStateBody, { children: _jsxs(Stack, { children: [!errorDescription && _jsx(StackItem, { children: "There was a problem processing the request. Please try again." }), _jsx(StackItem, { children: errorDescription || _jsx(DefaultErrorMessage, {}) })] }) }), _jsx(EmptyStateFooter, { children: document.referrer ? (_jsx(Button, { variant: "primary", onClick: function () { return history.back(); }, children: "Return to last page" })) : (_jsx(Button, { variant: "primary", component: "a", href: ".", target: "_blank", rel: "noopener noreferrer", children: "Go to home page" })) })] })));
33
- };
15
+ var ErrorState = function (props) { return _jsx(ErrorStatePF, __assign({ defaultErrorDescription: _jsx(DefaultErrorMessage, {}) }, props)); };
34
16
  export default ErrorState;
35
17
  //# sourceMappingURL=ErrorState.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorState.js","sourceRoot":"","sources":["../../src/Er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E,UAAU,IAAI,YAAY,EAAE,MAAM,4DAA4D,CAAC;AACxG,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAKxD,IAAM,UAAU,GAA4B,UAAC,KAAK,IAAK,OAAA,KAAC,YAAY,aAAC,uBAAuB,EAAE,KAAC,mBAAmB,KAAG,IAAM,KAAK,EAAI,EAA7E,CAA6E,CAAC;AAErI,eAAe,UAAU,CAAC"}
@@ -9,28 +9,8 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
- var __rest = (this && this.__rest) || function (s, e) {
13
- var t = {};
14
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
- t[p] = s[p];
16
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
- t[p[i]] = s[p[i]];
20
- }
21
- return t;
22
- };
23
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
- import React from 'react';
25
- import { Button } from "@patternfly/react-core/dist/dynamic/components/Button";
26
- import { EmptyState, EmptyStateActions, EmptyStateBody, EmptyStateFooter, EmptyStateHeader, EmptyStateIcon, EmptyStateProps, EmptyStateVariant } from "@patternfly/react-core/dist/dynamic/components/EmptyState";
27
- import LockIcon from "@patternfly/react-icons/dist/dynamic/icons/lock-icon";
28
- var ContactBody = function () { return (_jsxs(React.Fragment, { children: ["Contact your organization administrator(s) for more information or visit\u00A0", _jsx("a", { href: "./settings/my-user-access", children: "My User Access" }), "\u00A0 to learn more about your permissions."] })); };
29
- var NotAuthorized = function (_a) {
30
- var _b = _a.prevPageButtonText, prevPageButtonText = _b === void 0 ? 'Return to previous page' : _b, _c = _a.toLandingPageText, toLandingPageText = _c === void 0 ? 'Go to landing page' : _c, title = _a.title, _d = _a.actions, actions = _d === void 0 ? null : _d, serviceName = _a.serviceName, _e = _a.icon, Icon = _e === void 0 ? LockIcon : _e, _f = _a.description, description = _f === void 0 ? _jsx(ContactBody, {}) : _f, _g = _a.showReturnButton, showReturnButton = _g === void 0 ? true : _g, className = _a.className, props = __rest(_a, ["prevPageButtonText", "toLandingPageText", "title", "actions", "serviceName", "icon", "description", "showReturnButton", "className"]);
31
- var heading = title || "You do not have access to ".concat(serviceName);
32
- return (_jsxs(EmptyState, __assign({ variant: EmptyStateVariant.full, className: "ins-c-not-authorized ".concat(className || '') }, props, { children: [_jsx(EmptyStateHeader, { titleText: heading, icon: _jsx(EmptyStateIcon, { icon: Icon }), headingLevel: "h5" }), _jsx(EmptyStateBody, { children: description }), _jsxs(EmptyStateFooter, { children: [actions && _jsx(EmptyStateActions, { children: actions }), _jsx(EmptyStateActions, { children: showReturnButton &&
33
- (document.referrer ? (_jsx(Button, { variant: "primary", onClick: function () { return history.back(); }, children: prevPageButtonText })) : (_jsx(Button, { variant: "primary", component: "a", href: ".", children: toLandingPageText }))) })] })] })));
34
- };
12
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { NotAuthorized as NotAuthorizedPF } from '@patternfly/react-component-groups/dist/dynamic/NotAuthorized';
14
+ var NotAuthorized = function (props) { return (_jsx(NotAuthorizedPF, __assign({ description: _jsxs(_Fragment, { children: ["Contact your organization administrator(s) for more information or visit\u00A0", _jsx("a", { href: "./iam/my-user-access", children: "My User Access" }), "\u00A0to learn more about your permissions."] }) }, props))); };
35
15
  export default NotAuthorized;
36
16
  //# sourceMappingURL=NotAuthorized.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotAuthorized.js","sourceRoot":"","sources":["../../src/NotAuthorized/NotAuthorized.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;AA4B1B,IAAM,WAAW,GAAG,cAAM,OAAA,CACxB,MAAC,KAAK,CAAC,QAAQ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S,EAAC,GAAG,EAAC,IAAI,EAAC,GAAG,YAC7C,iBAAiB,GACX,CACV,CAAC,GACc,IACH,KACR,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"NotAuthorized.js","sourceRoot":"","sources":["../../src/NotAuthorized/NotAuthorized.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,aAAa,IAAI,eAAe,EAAE,MAAM,+DAA+D,CAAC;AAKjH,IAAM,aAAa,GAA4B,UAAC,KAAK,IAAK,OAAA,CACxD,KAAC,eAAe,aACd,WAAW,EACT,gHACgF,YAAG,IAAI,EAAE,sBAAsB,+BAAoB,mDAEhI,IAED,KAAK,EACT,CACH,EAVyD,CAUzD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -4,7 +4,7 @@ import { EmptyState, EmptyStateBody, EmptyStateFooter, EmptyStateHeader, EmptySt
4
4
  import DisconnectedIcon from "@patternfly/react-icons/dist/dynamic/icons/disconnected-icon";
5
5
  var NotConnected = function (_a) {
6
6
  var _b = _a.titleText, titleText = _b === void 0 ? 'This system isn’t connected to Insights yet' : _b, _c = _a.bodyText, bodyText = _c === void 0 ? 'To get started, activate the Insights client for this system.' : _c, _d = _a.buttonText, buttonText = _d === void 0 ? 'Learn how to activate the Insights client' : _d;
7
- return (_jsxs(EmptyState, { children: [_jsx(EmptyStateHeader, { titleText: titleText, icon: _jsx(EmptyStateIcon, { icon: DisconnectedIcon }), headingLevel: "h5" }), _jsx(EmptyStateBody, { children: bodyText }), _jsx(EmptyStateFooter, { children: _jsx(Button, { variant: "primary", component: "a", href: "http://access.redhat.com/products/cloud_management_services_for_rhel#getstarted", target: "_blank", rel: "noopener noreferrer", className: "pf-v5-u-mt-lg", children: buttonText }) })] }));
7
+ return (_jsxs(EmptyState, { children: [_jsx(EmptyStateHeader, { titleText: titleText, icon: _jsx(EmptyStateIcon, { icon: DisconnectedIcon }), headingLevel: "h5" }), _jsx(EmptyStateBody, { children: bodyText }), _jsx(EmptyStateFooter, { children: _jsx(Button, { variant: "primary", component: "a", href: "https://access.redhat.com/products/red-hat-insights/", target: "_blank", rel: "noopener noreferrer", className: "pf-v5-u-mt-lg", children: buttonText }) })] }));
8
8
  };
9
9
  export default NotConnected;
10
10
  //# sourceMappingURL=NotConnected.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotConnected.js","sourceRoot":"","sources":["../../src/NotConnected/NotConnected.tsx"],"names":[],"mappings":";;;;AAUA,IAAM,YAAY,GAAgC,UAAC,EAIlD;QAHC,iBAAyD,EAAzD,SAAS,mBAAG,6CAA6C,KAAA,EACzD,gBAA0E,EAA1E,QAAQ,mBAAG,+DAA+D,KAAA,EAC1E,kBAAwD,EAAxD,UAAU,mBAAG,2CAA2C,KAAA;IACpD,OAAA,CACJ,MAAC,UAAU,eACT,KAAC,gBAAgB,IAAC,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,KAAC,cAAc,IAAC,IAAI,EAAE,gBAAgB,GAAI,EAAE,YAAY,EAAC,IAAI,GAAG,EAC9G,KAAC,cAAc,cAAE,QAAQ,GAAkB,EAC3C,KAAC,gBAAgB,cACf,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,SAAS,EAAC,GAAG,EACb,IAAI,EAAC,iFAAiF,EACtF,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,SAAS,EAAC,eAAe,YAExB,UAAU,GACJ,GACQ,IACR,CACd;AAjBK,CAiBL,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"NotConnected.js","sourceRoot":"","sources":["../../src/NotConnected/NotConnected.tsx"],"names":[],"mappings":";;;;AAUA,IAAM,YAAY,GAAgC,UAAC,EAIlD;QAHC,iBAAyD,EAAzD,SAAS,mBAAG,6CAA6C,KAAA,EACzD,gBAA0E,EAA1E,QAAQ,mBAAG,+DAA+D,KAAA,EAC1E,kBAAwD,EAAxD,UAAU,mBAAG,2CAA2C,KAAA;IACpD,OAAA,CACJ,MAAC,UAAU,eACT,KAAC,gBAAgB,IAAC,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,KAAC,cAAc,IAAC,IAAI,EAAE,gBAAgB,GAAI,EAAE,YAAY,EAAC,IAAI,GAAG,EAC9G,KAAC,cAAc,cAAE,QAAQ,GAAkB,EAC3C,KAAC,gBAAgB,cACf,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,SAAS,EAAC,GAAG,EACb,IAAI,EAAC,sDAAsD,EAC3D,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,SAAS,EAAC,eAAe,YAExB,UAAU,GACJ,GACQ,IACR,CACd;AAjBK,CAiBL,CAAC;AAEF,eAAe,YAAY,CAAC"}
package/esm/index.css CHANGED
@@ -18,42 +18,6 @@ i.Ansible svg {
18
18
  top: 0.25rem;
19
19
  }
20
20
 
21
- :root {
22
- --ins-color--orange: #ec7a08;
23
- }
24
-
25
- i.ins-battery {
26
- display: inline-block;
27
- line-height: 0;
28
- }
29
- i.ins-battery svg {
30
- position: relative;
31
- top: var(--pf-v5-global--spacer--sm);
32
- position: relative;
33
- height: 28px;
34
- height: 1.75rem;
35
- }
36
-
37
- .ins-battery-1 svg path, .ins-battery-low svg path, .ins-battery-info svg path {
38
- fill: var(--pf-v5-global--disabled-color--200);
39
- }
40
-
41
- .ins-battery-2 svg path, .ins-battery-medium svg path, .ins-battery-warn svg path {
42
- fill: var(--pf-v5-global--warning-color--100);
43
- }
44
-
45
- .ins-battery-3 svg path, .ins-battery-high svg path, .ins-battery-error svg path {
46
- fill: var(--ins-color--orange);
47
- }
48
-
49
- .ins-battery-4 svg path, .ins-battery-critical svg path {
50
- fill: var(--pf-v5-global--danger-color--100);
51
- }
52
-
53
- .ins-battery-0 svg path, .ins-battery-null svg path {
54
- fill: var(--pf-v5-global--disabled-color--200);
55
- }
56
-
57
21
  .ins-c-bulk-select .pf-v5-c-dropdown__toggle-check span.pf-v5-c-dropdown__toggle-text {
58
22
  display: initial;
59
23
  }
@@ -238,20 +202,6 @@ button.pf-v5-c-menu-toggle {
238
202
  justify-content: center;
239
203
  }
240
204
 
241
- :root {
242
- --ins-color--orange: #ec7a08;
243
- }
244
-
245
- .ins-error-boundary-stack {
246
- font-family: "monospace";
247
- font-size: var(--pf-v5-global--icon--FontSize--md);
248
- text-align: left;
249
- background-color: white;
250
- border-style: solid;
251
- border-color: var(--pf-v5-global--BackgroundColor--dark-300);
252
- padding: var(--pf-v5-global--spacer--sm);
253
- }
254
-
255
205
  .ins-c-chip-filters .ins-c-chip-group__plain.pf-m-toolbar > li:not(.pf-m-overflow) {
256
206
  background: none;
257
207
  padding: 0;
package/esm/index.scss CHANGED
@@ -1,11 +1,9 @@
1
1
  @import './Ansible/ansible.scss';
2
- @import './Battery/battery.scss';
3
2
  @import './BulkSelect/bulk-select.scss';
4
3
  @import './ConditionalFilter/conditional-filter.scss';
5
4
  @import './ConditionalFilter/group-filter.scss';
6
5
  @import './CullingInfo/CullingInformation.scss';
7
6
  @import './EmptyTable/EmptyTable.scss';
8
- @import './ErrorBoundary/ErrorBoundary.scss';
9
7
  @import './FilterChips/filter-chips.scss';
10
8
  @import './FilterHooks/tagFilterHook.scss';
11
9
  @import './Filters/filter-dropdown.scss';
package/index.css CHANGED
@@ -18,42 +18,6 @@ i.Ansible svg {
18
18
  top: 0.25rem;
19
19
  }
20
20
 
21
- :root {
22
- --ins-color--orange: #ec7a08;
23
- }
24
-
25
- i.ins-battery {
26
- display: inline-block;
27
- line-height: 0;
28
- }
29
- i.ins-battery svg {
30
- position: relative;
31
- top: var(--pf-v5-global--spacer--sm);
32
- position: relative;
33
- height: 28px;
34
- height: 1.75rem;
35
- }
36
-
37
- .ins-battery-1 svg path, .ins-battery-low svg path, .ins-battery-info svg path {
38
- fill: var(--pf-v5-global--disabled-color--200);
39
- }
40
-
41
- .ins-battery-2 svg path, .ins-battery-medium svg path, .ins-battery-warn svg path {
42
- fill: var(--pf-v5-global--warning-color--100);
43
- }
44
-
45
- .ins-battery-3 svg path, .ins-battery-high svg path, .ins-battery-error svg path {
46
- fill: var(--ins-color--orange);
47
- }
48
-
49
- .ins-battery-4 svg path, .ins-battery-critical svg path {
50
- fill: var(--pf-v5-global--danger-color--100);
51
- }
52
-
53
- .ins-battery-0 svg path, .ins-battery-null svg path {
54
- fill: var(--pf-v5-global--disabled-color--200);
55
- }
56
-
57
21
  .ins-c-bulk-select .pf-v5-c-dropdown__toggle-check span.pf-v5-c-dropdown__toggle-text {
58
22
  display: initial;
59
23
  }
@@ -238,20 +202,6 @@ button.pf-v5-c-menu-toggle {
238
202
  justify-content: center;
239
203
  }
240
204
 
241
- :root {
242
- --ins-color--orange: #ec7a08;
243
- }
244
-
245
- .ins-error-boundary-stack {
246
- font-family: "monospace";
247
- font-size: var(--pf-v5-global--icon--FontSize--md);
248
- text-align: left;
249
- background-color: white;
250
- border-style: solid;
251
- border-color: var(--pf-v5-global--BackgroundColor--dark-300);
252
- padding: var(--pf-v5-global--spacer--sm);
253
- }
254
-
255
205
  .ins-c-chip-filters .ins-c-chip-group__plain.pf-m-toolbar > li:not(.pf-m-overflow) {
256
206
  background: none;
257
207
  padding: 0;
package/index.scss CHANGED
@@ -1,11 +1,9 @@
1
1
  @import './Ansible/ansible.scss';
2
- @import './Battery/battery.scss';
3
2
  @import './BulkSelect/bulk-select.scss';
4
3
  @import './ConditionalFilter/conditional-filter.scss';
5
4
  @import './ConditionalFilter/group-filter.scss';
6
5
  @import './CullingInfo/CullingInformation.scss';
7
6
  @import './EmptyTable/EmptyTable.scss';
8
- @import './ErrorBoundary/ErrorBoundary.scss';
9
7
  @import './FilterChips/filter-chips.scss';
10
8
  @import './FilterHooks/tagFilterHook.scss';
11
9
  @import './Filters/filter-dropdown.scss';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redhat-cloud-services/frontend-components",
3
- "version": "4.0.4",
3
+ "version": "4.0.6",
4
4
  "description": "Common components for RedHat Cloud Services project.",
5
5
  "main": "index.js",
6
6
  "module": "esm/index.js",
@@ -49,6 +49,7 @@
49
49
  "dependencies": {
50
50
  "@redhat-cloud-services/frontend-components-utilities": "^4.0.0",
51
51
  "@redhat-cloud-services/types": "^0.0.24",
52
+ "@patternfly/react-component-groups": "^1.0.13",
52
53
  "@scalprum/core": "^0.5.1",
53
54
  "@scalprum/react-core": "^0.5.1",
54
55
  "sanitize-html": "^2.7.2"
@@ -1,35 +0,0 @@
1
- :root {
2
- --ins-color--orange: #ec7a08;
3
- }
4
-
5
- i.ins-battery {
6
- display: inline-block;
7
- line-height: 0;
8
- }
9
- i.ins-battery svg {
10
- position: relative;
11
- top: var(--pf-v5-global--spacer--sm);
12
- position: relative;
13
- height: 28px;
14
- height: 1.75rem;
15
- }
16
-
17
- .ins-battery-1 svg path, .ins-battery-low svg path, .ins-battery-info svg path {
18
- fill: var(--pf-v5-global--disabled-color--200);
19
- }
20
-
21
- .ins-battery-2 svg path, .ins-battery-medium svg path, .ins-battery-warn svg path {
22
- fill: var(--pf-v5-global--warning-color--100);
23
- }
24
-
25
- .ins-battery-3 svg path, .ins-battery-high svg path, .ins-battery-error svg path {
26
- fill: var(--ins-color--orange);
27
- }
28
-
29
- .ins-battery-4 svg path, .ins-battery-critical svg path {
30
- fill: var(--pf-v5-global--danger-color--100);
31
- }
32
-
33
- .ins-battery-0 svg path, .ins-battery-null svg path {
34
- fill: var(--pf-v5-global--disabled-color--200);
35
- }
@@ -1,47 +0,0 @@
1
- @import '~@redhat-cloud-services/frontend-components-utilities/styles/_all.scss';
2
-
3
- @mixin setBatteryFont() {
4
- position: relative;
5
- @include rem(height, 28px);
6
- }
7
-
8
- i.ins-battery {
9
- display: inline-block;
10
- line-height: 0;
11
- svg {
12
- position: relative;
13
- top: var(--pf-v5-global--spacer--sm);
14
- @include setBatteryFont;
15
- }
16
- }
17
-
18
- // Setting the icons
19
- .ins-battery-1, .ins-battery-low, .ins-battery-info {
20
- svg {
21
- path { fill: $ins-color--gray; }
22
- }
23
- }
24
-
25
- .ins-battery-2, .ins-battery-medium, .ins-battery-warn {
26
- svg {
27
- path { fill: $ins-color--medium; }
28
- }
29
- }
30
-
31
- .ins-battery-3, .ins-battery-high, .ins-battery-error{
32
- svg {
33
- path { fill: $ins-color--high; }
34
- }
35
- }
36
-
37
- .ins-battery-4, .ins-battery-critical {
38
- svg {
39
- path { fill: $ins-color--critical; }
40
- }
41
- }
42
-
43
- .ins-battery-0, .ins-battery-null {
44
- svg {
45
- path { fill: $ins-color--gray; }
46
- }
47
- }
@@ -1,13 +0,0 @@
1
- :root {
2
- --ins-color--orange: #ec7a08;
3
- }
4
-
5
- .ins-error-boundary-stack {
6
- font-family: "monospace";
7
- font-size: var(--pf-v5-global--icon--FontSize--md);
8
- text-align: left;
9
- background-color: white;
10
- border-style: solid;
11
- border-color: var(--pf-v5-global--BackgroundColor--dark-300);
12
- padding: var(--pf-v5-global--spacer--sm);
13
- }
@@ -1,11 +0,0 @@
1
- @import '~@redhat-cloud-services/frontend-components-utilities/styles/_all.scss';
2
-
3
- .ins-error-boundary-stack {
4
- font-family: 'monospace';
5
- font-size: var(--pf-v5-global--icon--FontSize--md);
6
- text-align: left;
7
- background-color: white;
8
- border-style: solid;
9
- border-color: var(--pf-v5-global--BackgroundColor--dark-300);
10
- padding: var(--pf-v5-global--spacer--sm);
11
- }
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- interface ErrorStackProps {
3
- error: Error;
4
- }
5
- declare const ErrorStack: React.FunctionComponent<ErrorStackProps>;
6
- export default ErrorStack;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var jsx_runtime_1 = require("react/jsx-runtime");
4
- var react_core_1 = require("@patternfly/react-core");
5
- var errorStackClass = 'ins-error-boundary-stack';
6
- var ErrorStack = function (_a) {
7
- var error = _a.error;
8
- if (error.stack) {
9
- return ((0, jsx_runtime_1.jsx)(react_core_1.Text, { className: errorStackClass, children: error.stack.split('\n').map(function (line) { return ((0, jsx_runtime_1.jsx)("div", { children: line }, line)); }) }));
10
- }
11
- if (error.name && error.message) {
12
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(react_core_1.Text, { component: "h6", children: error.name }), (0, jsx_runtime_1.jsx)(react_core_1.Text, { className: errorStackClass, component: "blockquote", children: error.message })] }));
13
- }
14
- return ((0, jsx_runtime_1.jsx)(react_core_1.Text, { className: errorStackClass, component: "blockquote", children: error.toString() }));
15
- };
16
- exports.default = ErrorStack;
17
- //# sourceMappingURL=ErrorStack.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ErrorStack.js","sourceRoot":"","sources":["../src/ErrorBoundary/ErrorStack.tsx"],"names":[],"mappings":";;;AACA,qDAA8C;AAM9C,IAAM,eAAe,GAAG,0BAA0B,CAAC;AAEnD,IAAM,UAAU,GAA6C,UAAC,EAAS;QAAP,KAAK,WAAA;IACnE,IAAI,KAAK,CAAC,KAAK,EAAE;QACf,OAAO,CACL,uBAAC,iBAAI,IAAC,SAAS,EAAE,eAAe,YAC7B,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,UAAC,IAAI,IAAK,OAAA,CACrC,0CAAiB,IAAI,IAAX,IAAI,CAAc,CAC7B,EAFsC,CAEtC,CAAC,GACG,CACR,CAAC;KACH;IAED,IAAI,KAAK,CAAC,IAAI,IAAI,KAAK,CAAC,OAAO,EAAE;QAC/B,OAAO,CACL,6DACE,uBAAC,iBAAI,IAAC,SAAS,EAAC,IAAI,YAAE,KAAK,CAAC,IAAI,GAAQ,EACxC,uBAAC,iBAAI,IAAC,SAAS,EAAE,eAAe,EAAE,SAAS,EAAC,YAAY,YACrD,KAAK,CAAC,OAAO,GACT,IACN,CACJ,CAAC;KACH;IAED,OAAO,CACL,uBAAC,iBAAI,IAAC,SAAS,EAAE,eAAe,EAAE,SAAS,EAAC,YAAY,YACrD,KAAK,CAAC,QAAQ,EAAE,GACZ,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,UAAU,CAAC"}
@@ -1,3 +0,0 @@
1
- .ins-c-error-state.pf-v5-c-empty-state .pf-v5-c-empty-state__icon svg {
2
- fill: var(--pf-v5-global--danger-color--100);
3
- }
@@ -1,5 +0,0 @@
1
- .ins-c-error-state.pf-v5-c-empty-state {
2
- .pf-v5-c-empty-state__icon svg {
3
- fill: var(--pf-v5-global--danger-color--100);
4
- }
5
- }
@@ -1,35 +0,0 @@
1
- :root {
2
- --ins-color--orange: #ec7a08;
3
- }
4
-
5
- i.ins-battery {
6
- display: inline-block;
7
- line-height: 0;
8
- }
9
- i.ins-battery svg {
10
- position: relative;
11
- top: var(--pf-v5-global--spacer--sm);
12
- position: relative;
13
- height: 28px;
14
- height: 1.75rem;
15
- }
16
-
17
- .ins-battery-1 svg path, .ins-battery-low svg path, .ins-battery-info svg path {
18
- fill: var(--pf-v5-global--disabled-color--200);
19
- }
20
-
21
- .ins-battery-2 svg path, .ins-battery-medium svg path, .ins-battery-warn svg path {
22
- fill: var(--pf-v5-global--warning-color--100);
23
- }
24
-
25
- .ins-battery-3 svg path, .ins-battery-high svg path, .ins-battery-error svg path {
26
- fill: var(--ins-color--orange);
27
- }
28
-
29
- .ins-battery-4 svg path, .ins-battery-critical svg path {
30
- fill: var(--pf-v5-global--danger-color--100);
31
- }
32
-
33
- .ins-battery-0 svg path, .ins-battery-null svg path {
34
- fill: var(--pf-v5-global--disabled-color--200);
35
- }
@@ -1,47 +0,0 @@
1
- @import '~@redhat-cloud-services/frontend-components-utilities/styles/_all.scss';
2
-
3
- @mixin setBatteryFont() {
4
- position: relative;
5
- @include rem(height, 28px);
6
- }
7
-
8
- i.ins-battery {
9
- display: inline-block;
10
- line-height: 0;
11
- svg {
12
- position: relative;
13
- top: var(--pf-v5-global--spacer--sm);
14
- @include setBatteryFont;
15
- }
16
- }
17
-
18
- // Setting the icons
19
- .ins-battery-1, .ins-battery-low, .ins-battery-info {
20
- svg {
21
- path { fill: $ins-color--gray; }
22
- }
23
- }
24
-
25
- .ins-battery-2, .ins-battery-medium, .ins-battery-warn {
26
- svg {
27
- path { fill: $ins-color--medium; }
28
- }
29
- }
30
-
31
- .ins-battery-3, .ins-battery-high, .ins-battery-error{
32
- svg {
33
- path { fill: $ins-color--high; }
34
- }
35
- }
36
-
37
- .ins-battery-4, .ins-battery-critical {
38
- svg {
39
- path { fill: $ins-color--critical; }
40
- }
41
- }
42
-
43
- .ins-battery-0, .ins-battery-null {
44
- svg {
45
- path { fill: $ins-color--gray; }
46
- }
47
- }
@@ -1,13 +0,0 @@
1
- :root {
2
- --ins-color--orange: #ec7a08;
3
- }
4
-
5
- .ins-error-boundary-stack {
6
- font-family: "monospace";
7
- font-size: var(--pf-v5-global--icon--FontSize--md);
8
- text-align: left;
9
- background-color: white;
10
- border-style: solid;
11
- border-color: var(--pf-v5-global--BackgroundColor--dark-300);
12
- padding: var(--pf-v5-global--spacer--sm);
13
- }
@@ -1,11 +0,0 @@
1
- @import '~@redhat-cloud-services/frontend-components-utilities/styles/_all.scss';
2
-
3
- .ins-error-boundary-stack {
4
- font-family: 'monospace';
5
- font-size: var(--pf-v5-global--icon--FontSize--md);
6
- text-align: left;
7
- background-color: white;
8
- border-style: solid;
9
- border-color: var(--pf-v5-global--BackgroundColor--dark-300);
10
- padding: var(--pf-v5-global--spacer--sm);
11
- }