@redhat-cloud-services/frontend-components 4.0.7 → 4.0.8

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.
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
- declare const NotAuthorized: React.FunctionComponent;
2
+ interface NotAuthorizedProps {
3
+ description?: React.ReactNode;
4
+ }
5
+ declare const NotAuthorized: React.FunctionComponent<NotAuthorizedProps>;
3
6
  export default NotAuthorized;
@@ -10,9 +10,23 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
+ var __rest = (this && this.__rest) || function (s, e) {
14
+ var t = {};
15
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
+ t[p] = s[p];
17
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
+ t[p[i]] = s[p[i]];
21
+ }
22
+ return t;
23
+ };
13
24
  Object.defineProperty(exports, "__esModule", { value: true });
14
25
  var jsx_runtime_1 = require("react/jsx-runtime");
15
26
  var NotAuthorized_1 = require("@patternfly/react-component-groups/dist/dynamic/NotAuthorized");
16
- var NotAuthorized = function (props) { return ((0, jsx_runtime_1.jsx)(NotAuthorized_1.NotAuthorized, __assign({ description: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Contact your organization administrator(s) for more information or visit\u00A0", (0, jsx_runtime_1.jsx)("a", { href: "./iam/my-user-access", children: "My User Access" }), "\u00A0to learn more about your permissions."] }) }, props))); };
27
+ var NotAuthorized = function (_a) {
28
+ var _b = _a.description, description = _b === void 0 ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Contact your organization administrator(s) for more information or visit\u00A0", (0, jsx_runtime_1.jsx)("a", { href: "./iam/my-user-access", children: "My User Access" }), "\u00A0to learn more about your permissions."] })) : _b, props = __rest(_a, ["description"]);
29
+ return (0, jsx_runtime_1.jsx)(NotAuthorized_1.NotAuthorized, __assign({}, props, { description: description }));
30
+ };
17
31
  exports.default = NotAuthorized;
18
32
  //# sourceMappingURL=NotAuthorized.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotAuthorized.js","sourceRoot":"","sources":["../src/NotAuthorized/NotAuthorized.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,+FAAiH;AAKjH,IAAM,aAAa,GAA4B,UAAC,KAAK,IAAK,OAAA,CACxD,uBAAC,6BAAe,aACd,WAAW,EACT,+IACgF,8BAAG,IAAI,EAAE,sBAAsB,+BAAoB,mDAEhI,IAED,KAAK,EACT,CACH,EAVyD,CAUzD,CAAC;AAEF,kBAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"NotAuthorized.js","sourceRoot":"","sources":["../src/NotAuthorized/NotAuthorized.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,+FAAiH;AAUjH,IAAM,aAAa,GAAgD,UAAC,EAQnE;IAPC,IAAA,mBAKC,EALD,WAAW,mBAAG,CACZ,+IACgF,8BAAG,IAAI,EAAE,sBAAsB,+BAAoB,mDAEhI,CACJ,KAAA,EACE,KAAK,cAP0D,eAQnE,CADS;IACJ,OAAA,uBAAC,6BAAe,eAAK,KAAK,IAAE,WAAW,EAAE,WAAW,IAAI,CAAA;CAAA,CAAC;AAE/D,kBAAe,aAAa,CAAC"}
@@ -9,8 +9,22 @@ 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
+ };
12
23
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
13
24
  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))); };
25
+ var NotAuthorized = function (_a) {
26
+ var _b = _a.description, description = _b === void 0 ? (_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."] })) : _b, props = __rest(_a, ["description"]);
27
+ return _jsx(NotAuthorizedPF, __assign({}, props, { description: description }));
28
+ };
15
29
  export default NotAuthorized;
16
30
  //# sourceMappingURL=NotAuthorized.js.map
@@ -1 +1 @@
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"}
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;AAUjH,IAAM,aAAa,GAAgD,UAAC,EAQnE;IAPC,IAAA,mBAKC,EALD,WAAW,mBAAG,CACZ,gHACgF,YAAG,IAAI,EAAE,sBAAsB,+BAAoB,mDAEhI,CACJ,KAAA,EACE,KAAK,cAP0D,eAQnE,CADS;IACJ,OAAA,KAAC,eAAe,eAAK,KAAK,IAAE,WAAW,EAAE,WAAW,IAAI,CAAA;CAAA,CAAC;AAE/D,eAAe,aAAa,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redhat-cloud-services/frontend-components",
3
- "version": "4.0.7",
3
+ "version": "4.0.8",
4
4
  "description": "Common components for RedHat Cloud Services project.",
5
5
  "main": "index.js",
6
6
  "module": "esm/index.js",