@wix/form-app-builder 1.332.0 → 1.334.0

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.
@@ -1,2 +1,2 @@
1
1
  @import "@wix/form-elements/Form/css";
2
- ._siteWidget_ww0lh_1{box-sizing:border-box;width:100%;height:100%;background:transparent;border-style:solid;border-width:0px;border-color:var(--wst-box-primary-border-top-color, #000000);border-radius:0;box-shadow:none;padding:24px;pointer-events:auto;--wix-forms-formRowSpacing: var(--rowSpacing, 24px);--wix-forms-formColumnSpacing: var(--columnSpacing, 24px)}._fallbackDirection_ww0lh_17:not([dir]){direction:var(--wix-opt-in-direction)}
2
+ ._siteWidget_iiy4r_1{box-sizing:border-box;width:100%;height:100%;background:transparent;border-style:solid;border-width:0px;border-color:var(--wst-box-primary-border-top-color, #000000);border-radius:0;box-shadow:none;padding:24px;pointer-events:auto;--wix-forms-formRowSpacing: var(--rowSpacing, 24px);--wix-forms-formColumnSpacing: var(--columnSpacing, 24px);--wix-forms-formErrorBorderColor: var( --errorBorderColor, var(--wst-system-error-color, #df3131) )}._fallbackDirection_iiy4r_21:not([dir]){direction:var(--wix-opt-in-direction)}
@@ -73,7 +73,7 @@ const D = (s, e, t) => {
73
73
  );
74
74
  }, is = os(
75
75
  "@wix/form-app-builder:form"
76
- ), T = (s, e) => s.some((t) => t.id === e), ms = (s) => (s.steps ?? []).reduce((e, { id: t, name: o }) => (t && e.push({ id: t, name: o ?? void 0 }), e), []), cs = "forms-platform-form", ls = "_siteWidget_ww0lh_1", gs = "_fallbackDirection_ww0lh_17", k = {
76
+ ), T = (s, e) => s.some((t) => t.id === e), ms = (s) => (s.steps ?? []).reduce((e, { id: t, name: o }) => (t && e.push({ id: t, name: o ?? void 0 }), e), []), cs = "forms-platform-form", ls = "_siteWidget_iiy4r_1", gs = "_fallbackDirection_iiy4r_21", k = {
77
77
  siteWidget: ls,
78
78
  fallbackDirection: gs
79
79
  }, ps = "wix:image://", fs = (s) => {
@@ -126,7 +126,7 @@ const D = (s, e, t) => {
126
126
  r,
127
127
  j
128
128
  ]
129
- ), g = C(() => ms(i), [i]), d = i.revision ?? void 0, [w, v] = _({}), [b, y] = _([]), [u, L] = _();
129
+ ), g = C(() => ms(i), [i]), d = i.revision ?? void 0, [v, w] = _({}), [b, y] = _([]), [u, L] = _();
130
130
  return F(() => {
131
131
  var c;
132
132
  u && !T(g, u) && L((c = g[0]) == null ? void 0 : c.id);
@@ -153,8 +153,8 @@ const D = (s, e, t) => {
153
153
  wix: t,
154
154
  elementProps: o,
155
155
  state: n,
156
- values: w,
157
- onChange: v,
156
+ values: v,
157
+ onChange: w,
158
158
  errors: b,
159
159
  onValidate: y,
160
160
  stepId: u,
@@ -180,14 +180,14 @@ const U = O(
180
180
  closedMessagePlaceholder: i,
181
181
  errorBoundary: f
182
182
  }, R) => {
183
- var v, b, y;
184
- const h = ts({ useSuspense: !0 }), [S, g] = _(), d = C(() => t ? ds(t) : l, [t, S, l]), w = /* @__PURE__ */ m(q, { fallback: r, children: s && d ? /* @__PURE__ */ m(
183
+ var w, b, y;
184
+ const h = ts({ useSuspense: !0 }), [S, g] = _(), d = C(() => t ? ds(t) : l, [t, S, l]), v = /* @__PURE__ */ m(q, { fallback: r, children: s && d ? /* @__PURE__ */ m(
185
185
  M,
186
186
  {
187
187
  ref: R,
188
188
  form: d,
189
189
  compId: s,
190
- wix: (v = a == null ? void 0 : a.form) == null ? void 0 : v.wix,
190
+ wix: (w = a == null ? void 0 : a.form) == null ? void 0 : w.wix,
191
191
  elementProps: (b = a == null ? void 0 : a.form) == null ? void 0 : b.elementProps,
192
192
  state: (y = a == null ? void 0 : a.form) == null ? void 0 : y.state,
193
193
  closedFormNotice: j,
@@ -207,7 +207,7 @@ const U = O(
207
207
  e
208
208
  ),
209
209
  ...n && X(n),
210
- children: /* @__PURE__ */ m(z, { i18n: h, children: f ? /* @__PURE__ */ m(f, { resetKey: d, children: w }) : w })
210
+ children: /* @__PURE__ */ m(z, { i18n: h, children: f ? /* @__PURE__ */ m(f, { resetKey: d, children: v }) : v })
211
211
  }
212
212
  );
213
213
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/form-app-builder",
3
- "version": "1.332.0",
3
+ "version": "1.334.0",
4
4
  "description": "The Wix Forms Form for Builder apps: loads a form by id and renders it with @wix/form-elements/Form",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -46,7 +46,7 @@
46
46
  "dependencies": {
47
47
  "@wix/essentials": "^1.0.15",
48
48
  "@wix/fed-cli-i18next": "^1.7.4",
49
- "@wix/form-elements": "1.146.0",
49
+ "@wix/form-elements": "1.148.0",
50
50
  "@wix/forms": "^1.0.537",
51
51
  "@wix/react-component-utils": "^1.15.0",
52
52
  "@wix/react-use-promise-polyfill": "^1.2.0",
@@ -134,5 +134,5 @@
134
134
  ]
135
135
  }
136
136
  },
137
- "falconPackageHash": "aa76e7615e21bc0ce303a1324013a87473c476895e85057c317a45f9"
137
+ "falconPackageHash": "cdfe44ff6e4ab51edd3fe6f8f60d737431636b1c0d0fde8824f44f58"
138
138
  }