@arquimedes.co/eureka-forms 1.9.122 → 1.9.123

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.
@@ -98,9 +98,9 @@ function FormComponent(_a) {
98
98
  ? InternalFormStyle
99
99
  : __assign(__assign({}, InternalFormStyle), ((_e = form.style) !== null && _e !== void 0 ? _e : {})) })) })) })));
100
100
  }
101
- else if (organization && branding && widthStats !== undefined) {
101
+ else if (organization && widthStats !== undefined) {
102
102
  //Standalone cant have widget
103
- return (_jsxs(React.Fragment, { children: [_jsx(Navbar, { logo: branding.images.logoUrl, color: (_g = (_f = branding.colors) === null || _f === void 0 ? void 0 : _f.navbarColor) !== null && _g !== void 0 ? _g : (_h = branding.colors) === null || _h === void 0 ? void 0 : _h.primaryColor }), _jsx("div", __assign({ className: styles.standAloneFormContainer, ref: containerRef, style: {
103
+ return (_jsxs(React.Fragment, { children: [_jsx(Navbar, { logo: branding === null || branding === void 0 ? void 0 : branding.images.logoUrl, color: (_g = (_f = branding === null || branding === void 0 ? void 0 : branding.colors) === null || _f === void 0 ? void 0 : _f.navbarColor) !== null && _g !== void 0 ? _g : (_h = branding === null || branding === void 0 ? void 0 : branding.colors) === null || _h === void 0 ? void 0 : _h.primaryColor }), _jsx("div", __assign({ className: styles.standAloneFormContainer, ref: containerRef, style: {
104
104
  background: (_k = (_j = form.style) === null || _j === void 0 ? void 0 : _j.standAloneBackgroundColor) !== null && _k !== void 0 ? _k : '#ffffff',
105
105
  } }, { children: _jsx("div", __assign({ className: widthStats.isResponsive
106
106
  ? styles.fullScreenStandAloneForm
@@ -40,7 +40,7 @@ function DatePickerStep(_a) {
40
40
  : undefined,
41
41
  }, shouldUnregister: true, render: function (_a) {
42
42
  var _b = _a.field, ref = _b.ref, field = __rest(_b, ["ref"]);
43
- return (_jsx(RoundedDatePicker, __assign({}, field, { pickTime: step.pickTime, inputRef: ref, cantEdit: !editable || postview, "data-testid": step.id, secondaryColor: formStyle.secondaryColor, contrastColor: formStyle.secondaryContrastColor, accentColor: formStyle.textColor, focusColor: formStyle.primaryColor, outlineColor: formStyle.outlineColor, textColor: formStyle.textColor, errorColor: formStyle.errorColor, helperTextColor: formStyle.descriptionTextColor, fontWeight: 400, label: step.label, helperText: errors[step.id]
43
+ return (_jsx(RoundedDatePicker, __assign({}, field, { pickTime: step.pickTime, clearable: !step.required, clearLabel: "Borrar", inputRef: ref, cantEdit: !editable || postview, "data-testid": step.id, secondaryColor: formStyle.secondaryColor, contrastColor: formStyle.secondaryContrastColor, accentColor: formStyle.textColor, focusColor: formStyle.primaryColor, outlineColor: formStyle.outlineColor, textColor: formStyle.textColor, errorColor: formStyle.errorColor, helperTextColor: formStyle.descriptionTextColor, fontWeight: 400, label: step.label, helperText: errors[step.id]
44
44
  ? errors[step.id].message
45
45
  : step.description, error: !!errors[step.id], required: step.required })));
46
46
  } }) })));
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.122",
4
+ "version": "1.9.123",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
7
7
  "build": "react-scripts build",