@wix/form-app-builder 1.324.0 → 1.326.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_1t4bv_1{box-sizing:border-box;width:100%;height:100%;background:var(--wst-accent-4-color, 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_1t4bv_17:not([dir]){direction:var(--wix-opt-in-direction)}
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)}
@@ -73,7 +73,7 @@ const x = (s, e, t) => {
73
73
  );
74
74
  }, rs = os(
75
75
  "@wix/form-app-builder:form"
76
- ), I = (s, e) => s.some((t) => t.id === e), is = (s) => (s.steps ?? []).reduce((e, { id: t, name: o }) => (t && e.push({ id: t, name: o ?? void 0 }), e), []), ms = "forms-platform-form", ls = "_siteWidget_1t4bv_1", cs = "_fallbackDirection_1t4bv_17", O = {
76
+ ), I = (s, e) => s.some((t) => t.id === e), is = (s) => (s.steps ?? []).reduce((e, { id: t, name: o }) => (t && e.push({ id: t, name: o ?? void 0 }), e), []), ms = "forms-platform-form", ls = "_siteWidget_ww0lh_1", cs = "_fallbackDirection_ww0lh_17", O = {
77
77
  siteWidget: ls,
78
78
  fallbackDirection: cs
79
79
  }, gs = (s) => Z.getForm(s).then((e) => P(e)), T = L(
@@ -105,7 +105,7 @@ const x = (s, e, t) => {
105
105
  r,
106
106
  j
107
107
  ]
108
- ), g = E(() => is(i), [i]), d = i.revision ?? void 0, [h, w] = f({}), [b, F] = f([]), [_, C] = f();
108
+ ), g = E(() => is(i), [i]), d = i.revision ?? void 0, [w, h] = f({}), [F, b] = f([]), [_, C] = f();
109
109
  return y(() => {
110
110
  var l;
111
111
  _ && !I(g, _) && C((l = g[0]) == null ? void 0 : l.id);
@@ -132,10 +132,10 @@ const x = (s, e, t) => {
132
132
  wix: t,
133
133
  elementProps: o,
134
134
  state: n,
135
- values: h,
136
- onChange: w,
137
- errors: b,
138
- onValidate: F,
135
+ values: w,
136
+ onChange: h,
137
+ errors: F,
138
+ onValidate: b,
139
139
  stepId: _,
140
140
  onStepIdChange: C
141
141
  }
@@ -159,16 +159,16 @@ const W = L(
159
159
  closedMessagePlaceholder: i,
160
160
  errorBoundary: u
161
161
  }, S) => {
162
- var w, b, F;
163
- const v = es({ useSuspense: !0 }), [R, g] = f(), d = E(() => t ? gs(t) : c, [t, R, c]), h = /* @__PURE__ */ m(H, { fallback: r, children: s && d ? /* @__PURE__ */ m(
162
+ var h, F, b;
163
+ const v = es({ useSuspense: !0 }), [R, g] = f(), d = E(() => t ? gs(t) : c, [t, R, c]), w = /* @__PURE__ */ m(H, { fallback: r, children: s && d ? /* @__PURE__ */ m(
164
164
  T,
165
165
  {
166
166
  ref: S,
167
167
  form: d,
168
168
  compId: s,
169
- wix: (w = a == null ? void 0 : a.form) == null ? void 0 : w.wix,
170
- elementProps: (b = a == null ? void 0 : a.form) == null ? void 0 : b.elementProps,
171
- state: (F = a == null ? void 0 : a.form) == null ? void 0 : F.state,
169
+ wix: (h = a == null ? void 0 : a.form) == null ? void 0 : h.wix,
170
+ elementProps: (F = a == null ? void 0 : a.form) == null ? void 0 : F.elementProps,
171
+ state: (b = a == null ? void 0 : a.form) == null ? void 0 : b.state,
172
172
  closedFormNotice: j,
173
173
  closedMessagePlaceholder: i,
174
174
  onRevisionChange: g
@@ -186,7 +186,7 @@ const W = L(
186
186
  e
187
187
  ),
188
188
  ...n && J(n),
189
- children: /* @__PURE__ */ m(U, { i18n: v, children: u ? /* @__PURE__ */ m(u, { resetKey: d, children: h }) : h })
189
+ children: /* @__PURE__ */ m(U, { i18n: v, children: u ? /* @__PURE__ */ m(u, { resetKey: d, children: w }) : w })
190
190
  }
191
191
  );
192
192
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/form-app-builder",
3
- "version": "1.324.0",
3
+ "version": "1.326.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.139.0",
49
+ "@wix/form-elements": "1.140.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": "cbeaaf29309e7b1bff463a683e0a6879db5666986dd7076a8b1ca8e8"
137
+ "falconPackageHash": "d4a927ad767de755969204912ce2b7abba9b78733c07243463e21f53"
138
138
  }