@arquimedes.co/eureka-forms 2.0.46 → 2.0.48

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.
package/dist/Form/Form.js CHANGED
@@ -107,7 +107,7 @@ function FormComponent(_a) {
107
107
  switch (_c.label) {
108
108
  case 0:
109
109
  token = null;
110
- if (!(form.hasCaptcha && !internal && !customSubmit)) return [3 /*break*/, 2];
110
+ if (!(form.hasCaptcha && !customSubmit)) return [3 /*break*/, 2];
111
111
  token = recaptchaRef.current.getValue();
112
112
  if (!!token) return [3 /*break*/, 2];
113
113
  return [4 /*yield*/, (recaptchaRef === null || recaptchaRef === void 0 ? void 0 : recaptchaRef.current.executeAsync())];
@@ -115,7 +115,7 @@ function FormComponent(_a) {
115
115
  token = _c.sent();
116
116
  _c.label = 2;
117
117
  case 2:
118
- if (!apiKey && !internal && !customSubmit)
118
+ if (!apiKey && !customSubmit && !customSubmitBtns)
119
119
  return [2 /*return*/];
120
120
  _c.label = 3;
121
121
  case 3:
@@ -47,6 +47,7 @@ function CheckBoxStep(_a) {
47
47
  };
48
48
  return (_jsxs(StepFillerContainer, __assign({ step: step }, { children: [_jsx(MaterialInputContainer, __assign({ step: step, editable: editable, maxHeight: step.size < 4 }, { children: _jsxs("div", __assign({ className: styles.container }, { children: [_jsxs("div", __assign({ className: styles.labelCheckBoxContainer, style: {
49
49
  height: step.size < 4 ? 31 : undefined,
50
+ minHeight: 31,
50
51
  alignItems: step.isList ? 'start' : 'center',
51
52
  } }, { children: [step.label && !step.isList && renderLabel(true), _jsx(RoundedCheckBox, __assign({}, field, { inputRef: ref, onChange: onChange, "data-testid": step.id, padding: "0px", size: "1.6rem", error: !!error, cantEdit: !editable || postview, checkedColor: formStyle.primaryColor, uncheckedColor: formStyle.outlineColor, checked: value })), step.label && step.isList && renderLabel()] })), (step.description || !!error) && (_jsx("div", __assign({ className: styles.descriptionPar, style: {
52
53
  color: error
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": "2.0.46",
4
+ "version": "2.0.48",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
7
7
  "build": "react-scripts build",