@pdg/react-form 1.0.146 → 1.0.147

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.
@@ -2,5 +2,6 @@ import { CSSProperties, ReactNode } from 'react';
2
2
  export interface FormBodyProps {
3
3
  children?: ReactNode;
4
4
  hidden?: boolean;
5
+ fullHeight?: boolean;
5
6
  style?: CSSProperties;
6
7
  }
package/dist/index.esm.js CHANGED
@@ -998,7 +998,7 @@ var templateObject_1$e, templateObject_2$7;var FormBody = function (_a) {
998
998
  /********************************************************************************************************************
999
999
  * State
1000
1000
  * ******************************************************************************************************************/
1001
- var children = _a.children, hidden = _a.hidden, initStyle = _a.style;
1001
+ var children = _a.children, hidden = _a.hidden, initFullHeight = _a.fullHeight, initStyle = _a.style;
1002
1002
  var _b = useFormState(), spacing = _b.spacing, fullHeight = _b.fullHeight;
1003
1003
  /********************************************************************************************************************
1004
1004
  * ResizeDetector
@@ -1032,7 +1032,7 @@ var templateObject_1$e, templateObject_2$7;var FormBody = function (_a) {
1032
1032
  }
1033
1033
  : undefined, className: 'FormBody', style: style },
1034
1034
  React.createElement(StyledContentDiv, { style: contentStyle },
1035
- React.createElement(Grid, { container: true, spacing: spacing, direction: 'column', style: fullHeight ? { height: '100%' } : undefined }, children))));
1035
+ React.createElement(Grid, { container: true, spacing: spacing, direction: 'column', style: initFullHeight ? { height: '100%' } : undefined }, children))));
1036
1036
  };var FormFooter = function (_a) {
1037
1037
  var children = _a.children, noLine = _a.noLine, hidden = _a.hidden;
1038
1038
  var spacing = useFormState().spacing;
package/dist/index.js CHANGED
@@ -998,7 +998,7 @@ var templateObject_1$e, templateObject_2$7;var FormBody = function (_a) {
998
998
  /********************************************************************************************************************
999
999
  * State
1000
1000
  * ******************************************************************************************************************/
1001
- var children = _a.children, hidden = _a.hidden, initStyle = _a.style;
1001
+ var children = _a.children, hidden = _a.hidden, initFullHeight = _a.fullHeight, initStyle = _a.style;
1002
1002
  var _b = useFormState(), spacing = _b.spacing, fullHeight = _b.fullHeight;
1003
1003
  /********************************************************************************************************************
1004
1004
  * ResizeDetector
@@ -1032,7 +1032,7 @@ var templateObject_1$e, templateObject_2$7;var FormBody = function (_a) {
1032
1032
  }
1033
1033
  : undefined, className: 'FormBody', style: style },
1034
1034
  React.createElement(StyledContentDiv, { style: contentStyle },
1035
- React.createElement(material.Grid, { container: true, spacing: spacing, direction: 'column', style: fullHeight ? { height: '100%' } : undefined }, children))));
1035
+ React.createElement(material.Grid, { container: true, spacing: spacing, direction: 'column', style: initFullHeight ? { height: '100%' } : undefined }, children))));
1036
1036
  };var FormFooter = function (_a) {
1037
1037
  var children = _a.children, noLine = _a.noLine, hidden = _a.hidden;
1038
1038
  var spacing = useFormState().spacing;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pdg/react-form",
3
3
  "title": "React Form",
4
- "version": "1.0.146",
4
+ "version": "1.0.147",
5
5
  "description": "React Form",
6
6
  "type": "module",
7
7
  "types": "dist/index.d.ts",