@ansible/ansible-ui-framework 0.0.460 → 0.0.461

Sign up to get free protection for your applications and to get access to all the features.
package/cjs/PageBody.d.ts CHANGED
@@ -1,5 +1,6 @@
1
- import { ReactNode } from 'react';
1
+ import { CSSProperties, ReactNode } from 'react';
2
2
  export declare function PageBody(props: {
3
3
  children?: ReactNode;
4
4
  disablePadding?: boolean;
5
+ style?: CSSProperties;
5
6
  }): JSX.Element;
package/cjs/PageBody.js CHANGED
@@ -40,14 +40,7 @@ function PageBody(props) {
40
40
  var usePadding = (0, useBreakPoint_1.useBreakpoint)('xxl') && props.disablePadding !== true;
41
41
  var settings = (0, Settings_1.useSettings)();
42
42
  var _a = __read((0, useFrameworkTranslations_1.useFrameworkTranslations)(), 1), translations = _a[0];
43
- return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.default, __assign({ message: translations.errorText }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ style: {
44
- display: 'flex',
45
- flexDirection: 'column',
46
- height: '100%',
47
- maxHeight: '100%',
48
- overflow: 'hidden',
49
- backgroundColor: 'var(--pf-c-page__main-section--BackgroundColor)',
50
- } }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ style: {
43
+ return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.default, __assign({ message: translations.errorText }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ style: __assign({ display: 'flex', flexDirection: 'column', height: '100%', maxHeight: '100%', overflow: 'hidden', backgroundColor: 'var(--pf-c-page__main-section--BackgroundColor)' }, props.style) }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ style: {
51
44
  display: 'flex',
52
45
  flexDirection: 'column',
53
46
  height: '100%',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ansible/ansible-ui-framework",
3
3
  "description": "A framework for building applications using PatternFly.",
4
- "version": "0.0.460",
4
+ "version": "0.0.461",
5
5
  "author": "Red Hat",
6
6
  "license": "MIT",
7
7
  "repository": {