@arquimedes.co/eureka-forms 1.9.8 → 1.9.10-test

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.
@@ -58,7 +58,7 @@ function FormComponent(_a) {
58
58
  var currentWidth = (_a = containerRef === null || containerRef === void 0 ? void 0 : containerRef.current) === null || _a === void 0 ? void 0 : _a.offsetWidth;
59
59
  if (currentWidth !== undefined) {
60
60
  var currentBreakPoint = form.size.blockNum;
61
- var padding = form.isStandAlone ? 40 : 0;
61
+ var padding = form.isStandAlone ? 40 : 40;
62
62
  while (currentWidth <
63
63
  (form.size.blockSize + form.size.spacingSize) *
64
64
  currentBreakPoint +
@@ -91,7 +91,7 @@ function FormComponent(_a) {
91
91
  backgroundColor: internal
92
92
  ? InternalFormStyle.backgroundColor
93
93
  : form.style.backgroundColor,
94
- minHeight: isWidget ? '100%' : '100vh',
94
+ minHeight: isWidget || internal ? '100%' : '100vh',
95
95
  } }, { children: _jsx("div", __assign({ className: styles.widgetFormContainer, ref: containerRef }, { children: _jsx(FormTypeComponent, __assign({}, others, { handleLoaded: function () {
96
96
  setLoaded(true);
97
97
  }, widthStats: widthStats, form: form, internal: internal, postview: postview, organization: organization, formStyle: internal ? InternalFormStyle : form.style }), void 0) }), void 0) }), void 0));
@@ -27,6 +27,8 @@ import styles from './MaterialSection.module.css';
27
27
  function MaterialSection(_a) {
28
28
  var form = _a.form, section = _a.section, widthStats = _a.widthStats, others = __rest(_a, ["form", "section", "widthStats"]);
29
29
  var postview = others.postview, partial = others.partial, originalValues = others.originalValues;
30
+ console.log(widthStats);
31
+ console.log(form.size);
30
32
  return (_jsx("div", __assign({ className: styles.container, style: {
31
33
  width: (form.size.blockSize + form.size.spacingSize) *
32
34
  form.size.blockNum,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arquimedes.co/eureka-forms",
3
3
  "repository": "git://github.com/Arquimede5/Eureka-Forms.git",
4
- "version": "1.9.8",
4
+ "version":"1.9.10-test",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
7
7
  "build": "react-scripts build",