@rh-support/components 2.5.12 → 2.5.14

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.
@@ -50,5 +50,6 @@ export function CustomContentLoader(props) {
50
50
  const children = (props.rectangles &&
51
51
  props.rectangles.map((obj) => (React.createElement(Skeleton, { height: obj.height, width: obj.width, style: { top: obj.y, left: obj.x } })))) ||
52
52
  props.children || (React.createElement(Skeleton, { height: "100px", width: "400px", style: { position: 'relative', marginBottom: '50px' } }));
53
+ // @ts-ignore
53
54
  return React.createElement(React.Fragment, null, children);
54
55
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorBoundary.d.ts","sourceRoot":"","sources":["../../../src/ErrorBoundary/ErrorBoundary.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAkC,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEjG,UAAU,MAAM;IACZ,QAAQ,EAAE,KAAK,CAAC,iBAAiB,GAAG,KAAK,CAAC,SAAS,CAAC;IACpD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iBAAiB,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACtC,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5D;AAED,UAAU,MAAM;IACZ,QAAQ,EAAE,OAAO,CAAC;CACrB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,MAAM;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,SAAS,EAAE,GAAG,CAAC;QACf,kBAAkB,EAAE;YAChB,cAAc,EAAE,MAAM,CAAC;YACvB,OAAO,EAAE,MAAM,CAAC;SACnB,CAAC;QACF,aAAa,EAAE;YACX,cAAc,EAAE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AC5C,KAAK,KAAA;IAKjB,MAAM,CAAC,wBAAwB;;;IAK/B,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,KAAA;IAiBzC,MAAM;CAeT"}
@@ -34,6 +34,7 @@ export class ErrorBoundary extends Component {
34
34
  if (this.state.hasError) {
35
35
  return this.props.FallbackComponent ? (React.createElement(FallbackComponent, null)) : (React.createElement(ErrorBoundaryFallbackComponent, Object.assign({ isPageLevelError: this.props.isPageLevelError }, this.props.errorMsgInfo)));
36
36
  }
37
+ // @ts-ignore
37
38
  return React.createElement(React.Fragment, null, children || null);
38
39
  }
39
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/components",
3
- "version": "2.5.12",
3
+ "version": "2.5.14",
4
4
  "description": "Contains all reusabel components for support app",
5
5
  "author": "Vikas Rathee <vrathee@redhat.com>",
6
6
  "license": "ISC",
@@ -44,7 +44,7 @@
44
44
  "prepublishOnly": "npm run build"
45
45
  },
46
46
  "peerDependencies": {
47
- "@cee-eng/hydrajs": "4.18.33",
47
+ "@cee-eng/hydrajs": "4.18.38",
48
48
  "@cee-eng/ui-toolkit": "1.1.8",
49
49
  "@patternfly/patternfly": "5.4.2",
50
50
  "@patternfly/react-core": "5.4.2",
@@ -60,7 +60,7 @@
60
60
  "use-deep-compare-effect": "^1.6.1"
61
61
  },
62
62
  "dependencies": {
63
- "@cee-eng/hydrajs": "4.18.33",
63
+ "@cee-eng/hydrajs": "4.18.38",
64
64
  "@cee-eng/ui-toolkit": "1.1.8",
65
65
  "@patternfly/patternfly": "5.4.2",
66
66
  "@patternfly/react-core": "5.4.2",
@@ -68,8 +68,8 @@
68
68
  "@patternfly/react-table": "5.4.2",
69
69
  "@patternfly/react-tokens": "^5.4.0",
70
70
  "@rh-support/types": "2.0.5",
71
- "@rh-support/user-permissions": "2.5.6",
72
- "@rh-support/utils": "2.5.6",
71
+ "@rh-support/user-permissions": "2.5.8",
72
+ "@rh-support/utils": "2.5.7",
73
73
  "dompurify": "^2.2.6",
74
74
  "js-worker-search": "^1.4.1",
75
75
  "lazysizes": "^5.3.2",
@@ -106,5 +106,5 @@
106
106
  "defaults and supports es6-module",
107
107
  "maintained node versions"
108
108
  ],
109
- "gitHead": "546b242324a0f5c12db8e448ed7ce8f374e48105"
109
+ "gitHead": "8e7091500c7b11e7f1b54a4e281199c0e91a8113"
110
110
  }