@wix/form-elements 1.156.0 → 1.158.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.
- package/dist/component/{appointment-rac-BejJuk4y.js → appointment-rac-m5-FH9kU.js} +146 -146
- package/dist/component/{bookings-address-rac-CCbsyfYB.js → bookings-address-rac-VtG7wH0l.js} +1 -1
- package/dist/component/{bookings-email-rac-DtkvYYB2.js → bookings-email-rac-C8T3aTQH.js} +1 -1
- package/dist/component/{bookings-first-name-rac-D3djY0vF.js → bookings-first-name-rac-BlhIWWNj.js} +1 -1
- package/dist/component/{bookings-header-rac-D5aTKL9h.js → bookings-header-rac-adwR7PKJ.js} +1 -1
- package/dist/component/{bookings-last-name-rac-ZTV1iaf5.js → bookings-last-name-rac-z5z1GJQL.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-D6DJrmMG.js → bookings-login-bar-rac-DMgVxy8J.js} +1 -1
- package/dist/component/{bookings-phone-rac-BdZJSFNp.js → bookings-phone-rac-DS7ffO6T.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-DcLCYKhH.js → bookings-rich-text-rac-BNWI0o60.js} +1 -1
- package/dist/component/{checkbox-field-rac-BlDS05Oq.js → checkbox-field-rac-CUKZ9NHF.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-DccvpYjL.js → checkbox-group-field-headless-Didam2ZD.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-CfZuZtis.js → checkbox-group-field-rac-C3WCeVA8.js} +4 -4
- package/dist/component/{checkbox-group-rac-BRYmgtrd.js → checkbox-group-rac-Bkq-wm7_.js} +1 -1
- package/dist/component/{checkbox-rac-BYGpZym_.js → checkbox-rac-66ga9Lph.js} +1 -1
- package/dist/component/{contacts-address-rac-CZuQtpY5.js → contacts-address-rac-DSOk97te.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-D7VSHZb5.js → contacts-birthdate-rac-1qguKm9O.js} +1 -1
- package/dist/component/{contacts-company-rac-CxY2Zmru.js → contacts-company-rac-Chefzmw3.js} +1 -1
- package/dist/component/{contacts-email-rac-BsRuOGKl.js → contacts-email-rac-DG6eAnz2.js} +1 -1
- package/dist/component/{contacts-first-name-rac-QzDB5OOu.js → contacts-first-name-rac-tSGE0w5w.js} +1 -1
- package/dist/component/{contacts-last-name-rac-Cgav6Wey.js → contacts-last-name-rac-BjZWfbM5.js} +1 -1
- package/dist/component/{contacts-phone-rac-B4CcLsPd.js → contacts-phone-rac-jfGNKLoZ.js} +1 -1
- package/dist/component/{contacts-position-rac-D3ngVdPm.js → contacts-position-rac-kv8I-m_Q.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-NyrcQ7FY.js → contacts-subscribe-rac-BkUG0AMs.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-DkcFjidK.js → contacts-tax-id-rac-BtFrK_Ci.js} +1 -1
- package/dist/component/{date-availability-Bvxd9UT1.js → date-availability-_A9DS6za.js} +1 -1
- package/dist/component/{date-input-field-rac-DJlB_y93.js → date-input-field-rac-QZUxFX5e.js} +6 -6
- package/dist/component/{date-input-rac-BD89YOj1.js → date-input-rac-CpseQkV4.js} +1 -1
- package/dist/component/{date-picker-field-rac-DBORRL0M.js → date-picker-field-rac-B4gjhxG6.js} +6 -6
- package/dist/component/{date-picker-rac-B4j1WE2E.js → date-picker-rac-DDJfUDCM.js} +1 -1
- package/dist/component/{date-time-input-field-rac-yZMz4NK5.js → date-time-input-field-rac-DcwKQKHf.js} +6 -6
- package/dist/component/{date-time-input-rac-BhAC7gU3.js → date-time-input-rac-BkvcyU3H.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-plfVJAX4.js → dext-checkbox-group-rac-UWDhIjU-.js} +2 -2
- package/dist/component/{dext-checkbox-rac-Do3tFCPC.js → dext-checkbox-rac-q9UJnqsC.js} +1 -1
- package/dist/component/{dext-date-picker-rac-CUEpqD10.js → dext-date-picker-rac-C164FDSF.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-CRAbNDbW.js → dext-date-time-input-rac-BvbnfRYU.js} +1 -1
- package/dist/component/{dext-dropdown-rac-BJx9TIRz.js → dext-dropdown-rac-z0xU1mRO.js} +1 -1
- package/dist/component/{dext-email-rac-DpvOHvck.js → dext-email-rac-BkiWpfNw.js} +1 -1
- package/dist/component/{dext-number-input-rac-CZgkXMF8.js → dext-number-input-rac-DeQWO-RK.js} +1 -1
- package/dist/component/{dext-phone-rac-kHiTA89w.js → dext-phone-rac-CGlVpadW.js} +1 -1
- package/dist/component/{dext-radio-group-rac-D7r1Smme.js → dext-radio-group-rac-D8hMWNIQ.js} +2 -2
- package/dist/component/{dext-rating-input-rac-C-ChMXNY.js → dext-rating-input-rac-ibIctxU_.js} +1 -1
- package/dist/component/{dext-tags-rac-DpdE7ixp.js → dext-tags-rac-snCgM6u0.js} +2 -2
- package/dist/component/{dext-text-area-rac-BJB2kqm4.js → dext-text-area-rac-BHVs8ixR.js} +1 -1
- package/dist/component/{dext-text-input-rac-BTvbfP3X.js → dext-text-input-rac-DGI747Od.js} +1 -1
- package/dist/component/{dext-url-input-rac-CZJD5r0_.js → dext-url-input-rac-CpO2VDPE.js} +1 -1
- package/dist/component/{donation-rac-o2Hj3jcn.js → donation-rac-Ck6HkRcW.js} +5 -5
- package/dist/component/{dropdown-field-headless-beEnm9T4.js → dropdown-field-headless-Bv6LrkeA.js} +5 -5
- package/dist/component/{dropdown-field-rac-DnZD2zj1.js → dropdown-field-rac-e5MjWn5B.js} +3 -3
- package/dist/component/{dropdown-rac-VfF262VC.js → dropdown-rac-B2jprC8G.js} +1 -1
- package/dist/component/{ecom-address-rac-eyNn03vu.js → ecom-address-rac-D0stOqRv.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-CCW-C1XZ.js → ecom-subscription-checkbox-rac-BRzaQKx3.js} +2 -2
- package/dist/component/{email-input-field-rac-BB9m8hQ8.js → email-input-field-rac-0UIjNipg.js} +3 -3
- package/dist/component/{events-repeater-rac-BZB2GkW6.js → events-repeater-rac-BBQZzP7U.js} +4 -4
- package/dist/component/{events-rsvp-rac-BgOCd-MP.js → events-rsvp-rac-Ck7BXGKy.js} +3 -3
- package/dist/component/{field-error-headless-YQxvHPll.js → field-error-headless-vApyo-y9.js} +1 -1
- package/dist/component/{field-label-headless-BZJwsuwz.js → field-label-headless-C8-ShLxy.js} +1 -1
- package/dist/component/{file-upload-rac-BaUamuvp.js → file-upload-rac-BzWJOM6C.js} +4 -4
- package/dist/component/{fixed-payment-rac-AzTuwpKe.js → fixed-payment-rac-C4_xI103.js} +3 -3
- package/dist/component/{form-DPK7-EZv.js → form-D7ulDPh1.js} +69 -69
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-uH-B7lbB.js → header-field-rac-BnBbhsOZ.js} +2 -2
- package/dist/component/{header-rac-0WJvnej2.js → header-rac-CEWayr6b.js} +1 -1
- package/dist/component/{image-choice-rac-wtcuA_K_.js → image-choice-rac-DTZrz6oP.js} +4 -4
- package/dist/component/{index-BuBR2585.js → index-CKtw7kvn.js} +4 -4
- package/dist/component/{index-VXS27zVa.js → index-DBbgIHYT.js} +2 -2
- package/dist/component/{isObjectLike-B7XrgMod.js → isObjectLike-BHfPE26c.js} +1 -1
- package/dist/component/{multiline-address-field-rac-Cqnw2Pnc.js → multiline-address-field-rac-jhcWn4wT.js} +7 -7
- package/dist/component/{multiline-address-rac-DMxbxFLJ.js → multiline-address-rac-YQj_QROS.js} +1 -1
- package/dist/component/{number-input-field-rac-DIVb4U_q.js → number-input-field-rac-A7xM2c6F.js} +4 -4
- package/dist/component/{number-input-rac-DA5xE_ML.js → number-input-rac-DeDatLY5.js} +1 -1
- package/dist/component/{password-rac-SQNL72BK.js → password-rac-7Si7JHee.js} +4 -4
- package/dist/component/{payment-input-rac-C8qOze0U.js → payment-input-rac-D4JKZl-5.js} +4 -4
- package/dist/component/{phone-input-field-rac-DDBceXj7.js → phone-input-field-rac-GxcQ_Pyl.js} +6 -6
- package/dist/component/{phone-rac-C6sPA99S.js → phone-rac-Y2mWnseb.js} +1 -1
- package/dist/component/{product-list-rac-BIGcteH9.js → product-list-rac-CYUcNqf3.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-CwmeJ1Bu.js → quiz-radio-group-rac-f3O7fksW.js} +1 -1
- package/dist/component/{radio-button-module-classes-B4wDjgg7.js → radio-button-module-classes-BgVUqcvD.js} +3 -3
- package/dist/component/{radio-group-field-rac-D4PS3V4K.js → radio-group-field-rac-DrOiyk5C.js} +4 -4
- package/dist/component/{radio-group-rac-CrxtI9ne.js → radio-group-rac-Btt_bz_K.js} +1 -1
- package/dist/component/{rating-input-field-rac-Bz-e4160.js → rating-input-field-rac-CwN7wyaw.js} +4 -4
- package/dist/component/{rating-input-rac-eyFPVocD.js → rating-input-rac-sTy0SV3L.js} +1 -1
- package/dist/component/{rich-content-rac.module-BDHxHfIN.js → rich-content-rac.module-C11w9mXa.js} +1 -1
- package/dist/component/{rich-text-field-rac-Cxr2SQrZ.js → rich-text-field-rac-kGwuDtNs.js} +2 -2
- package/dist/component/{rich-text-rac-ir_V0_nK.js → rich-text-rac-T4ic2hrA.js} +1 -1
- package/dist/component/{service-dropdown-rac-CitukGuQ.js → service-dropdown-rac-BfliE4hs.js} +4 -4
- package/dist/component/{services-multi-choice-rac-0X-JCrJf.js → services-multi-choice-rac-CLQ4dLxO.js} +5 -5
- package/dist/component/{signature-rac-BXfWWg0O.js → signature-rac-DLiFeCNL.js} +4 -4
- package/dist/component/{submit-button-rac-CdCpHReS.js → submit-button-rac-CccO80E1.js} +58 -58
- package/dist/component/{tags-field-rac-C_zQko1S.js → tags-field-rac-DaghCGJU.js} +5 -5
- package/dist/component/{tags-rac-CfLYiIFl.js → tags-rac-3ly5shW2.js} +1 -1
- package/dist/component/{text-area-field-rac-B4O1X3h5.js → text-area-field-rac-2-TYC5Lb.js} +4 -4
- package/dist/component/{text-area-rac-BPVUO12d.js → text-area-rac-Bx0pgw80.js} +1 -1
- package/dist/component/{text-input-field-rac-8uxeWGbw.js → text-input-field-rac-Dyur2Wby.js} +3 -3
- package/dist/component/{text-input-headless-Cu1WjpsX.js → text-input-headless-DZ-Pjpm4.js} +3 -3
- package/dist/component/{text-input-rac-DJuGfuwR.js → text-input-rac-BuBtJDX_.js} +1 -1
- package/dist/component/{time-input-rac-BLGw5D6U.js → time-input-rac-AlDEpfXZ.js} +4 -4
- package/dist/component/{url-input-field-rac-CSlsixl_.js → url-input-field-rac-BzP4-8yP.js} +4 -4
- package/dist/component/{url-input-rac-DDqQKgMU.js → url-input-rac-DaBXuedf.js} +1 -1
- package/dist/component/{use-dropdown-trigger-class-name-CVIxf5Io.js → use-dropdown-trigger-class-name-BKOFwNvc.js} +3 -3
- package/dist/component/{use-element-state-class-name-D824XkYk.js → use-element-state-class-name-DY0UyIQg.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-C7QeI5oY.js → use-hoverable-input-class-name-C_Wh4Qfc.js} +2 -2
- package/dist/component/{use-is-forced-open-dropdown-F53La73p.js → use-is-forced-open-dropdown-Bw_IFUKt.js} +1 -1
- package/dist/component/{use-service-options-base-CcKiB-fR.js → use-service-options-base-DgSaAuGy.js} +1 -1
- package/dist/component/use-text-input-class-name-DFMQAg_E.js +6 -0
- package/package.json +2 -2
- package/dist/component/use-text-input-class-name-yjYwDWHw.js +0 -6
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import t, { useRef as
|
|
2
|
-
import
|
|
1
|
+
import t, { useRef as V, useCallback as k } from "react";
|
|
2
|
+
import X from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import p from "classnames";
|
|
4
|
-
import { bo as
|
|
5
|
-
import { ProgressBar as nt, Button as
|
|
6
|
-
import { f as
|
|
7
|
-
import { u as x } from "./use-element-state-class-name-
|
|
4
|
+
import { bo as B, bi as $, ai as j, ah as q, af as G, ae as J, an as K, am as Q, ag as Y, b as Z, ad as tt, al as et } from "./form-D7ulDPh1.js";
|
|
5
|
+
import { ProgressBar as nt, Button as w } from "react-aria-components";
|
|
6
|
+
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
+
import { u as x } from "./use-element-state-class-name-DY0UyIQg.js";
|
|
8
8
|
function ot(e) {
|
|
9
9
|
const s = "calc(50% - 2px)";
|
|
10
10
|
return /* @__PURE__ */ t.createElement(nt, {
|
|
@@ -38,7 +38,7 @@ function ot(e) {
|
|
|
38
38
|
})))));
|
|
39
39
|
}
|
|
40
40
|
const r = ({ children: e }) => {
|
|
41
|
-
const { id: o, FieldLayout: s } =
|
|
41
|
+
const { id: o, FieldLayout: s } = B(), n = i(e, r.SubmitButton);
|
|
42
42
|
return /* @__PURE__ */ t.createElement(s, {
|
|
43
43
|
fieldId: o,
|
|
44
44
|
renderLabel: () => null,
|
|
@@ -46,95 +46,95 @@ const r = ({ children: e }) => {
|
|
|
46
46
|
renderDescription: () => null
|
|
47
47
|
});
|
|
48
48
|
}, g = ({ className: e, children: o }) => {
|
|
49
|
-
const s =
|
|
49
|
+
const s = i(o, S), n = i(o, E), a = i(o, b);
|
|
50
50
|
return /* @__PURE__ */ t.createElement("div", {
|
|
51
51
|
className: e
|
|
52
52
|
}, s, n, a);
|
|
53
53
|
}, S = ({ className: e, onHoverStart: o, onHoverEnd: s, children: n }) => {
|
|
54
|
-
const { showPreviousButton: a, onPreviousClick:
|
|
54
|
+
const { showPreviousButton: a, onPreviousClick: l, previousText: v } = B();
|
|
55
55
|
if (!a)
|
|
56
56
|
return null;
|
|
57
|
-
const c =
|
|
58
|
-
return /* @__PURE__ */ t.createElement(
|
|
57
|
+
const c = i(n, S.Label), m = i(n, S.Icon);
|
|
58
|
+
return /* @__PURE__ */ t.createElement(w, {
|
|
59
59
|
className: e,
|
|
60
|
-
"aria-label":
|
|
61
|
-
onPress:
|
|
60
|
+
"aria-label": v,
|
|
61
|
+
onPress: l,
|
|
62
62
|
onHoverStart: o,
|
|
63
63
|
onHoverEnd: s
|
|
64
|
-
}, m, c ?? /* @__PURE__ */ t.createElement(
|
|
64
|
+
}, m, c ?? /* @__PURE__ */ t.createElement(D, null));
|
|
65
65
|
}, E = ({ className: e, onHoverStart: o, onHoverEnd: s, children: n }) => {
|
|
66
|
-
const { showNextButton: a, onNextClick:
|
|
66
|
+
const { showNextButton: a, onNextClick: l, nextText: v } = B();
|
|
67
67
|
if (!a)
|
|
68
68
|
return null;
|
|
69
|
-
const c =
|
|
70
|
-
return /* @__PURE__ */ t.createElement(
|
|
69
|
+
const c = i(n, E.Label), m = i(n, E.Icon);
|
|
70
|
+
return /* @__PURE__ */ t.createElement(w, {
|
|
71
71
|
className: e,
|
|
72
|
-
"aria-label":
|
|
73
|
-
onPress:
|
|
72
|
+
"aria-label": v,
|
|
73
|
+
onPress: l,
|
|
74
74
|
onHoverStart: o,
|
|
75
75
|
onHoverEnd: s
|
|
76
|
-
}, c ?? /* @__PURE__ */ t.createElement(
|
|
77
|
-
},
|
|
78
|
-
const { showSubmitButton: a, onSubmitClick:
|
|
76
|
+
}, c ?? /* @__PURE__ */ t.createElement(W, null), m);
|
|
77
|
+
}, b = ({ className: e, onHoverStart: o, onHoverEnd: s, children: n }) => {
|
|
78
|
+
const { showSubmitButton: a, onSubmitClick: l, submitText: v, isDisabled: c, isInProgress: m, isSubmitting: C } = B();
|
|
79
79
|
if (!a)
|
|
80
80
|
return null;
|
|
81
|
-
const f =
|
|
82
|
-
return /* @__PURE__ */ t.createElement(
|
|
81
|
+
const f = i(n, b.Label), I = i(n, b.Icon), d = i(n, b.Loader), _ = C || m;
|
|
82
|
+
return /* @__PURE__ */ t.createElement(w, {
|
|
83
83
|
className: e,
|
|
84
|
-
"aria-label":
|
|
85
|
-
onPress: _ ? void 0 :
|
|
84
|
+
"aria-label": v,
|
|
85
|
+
onPress: _ ? void 0 : l,
|
|
86
86
|
onHoverStart: o,
|
|
87
87
|
onHoverEnd: s,
|
|
88
88
|
isDisabled: c && !_,
|
|
89
89
|
"aria-disabled": _ || void 0,
|
|
90
90
|
"data-in-progress": m
|
|
91
|
-
}, m && d ? d : /* @__PURE__ */ t.createElement(t.Fragment, null, f ?? /* @__PURE__ */ t.createElement(
|
|
92
|
-
},
|
|
93
|
-
const { submitText: o } =
|
|
91
|
+
}, m && d ? d : /* @__PURE__ */ t.createElement(t.Fragment, null, f ?? /* @__PURE__ */ t.createElement(y, null), I));
|
|
92
|
+
}, y = ({ className: e }) => {
|
|
93
|
+
const { submitText: o } = B();
|
|
94
94
|
return /* @__PURE__ */ t.createElement("span", {
|
|
95
95
|
className: e
|
|
96
96
|
}, o);
|
|
97
|
-
},
|
|
98
|
-
const { previousText: o } =
|
|
97
|
+
}, D = ({ className: e }) => {
|
|
98
|
+
const { previousText: o } = B();
|
|
99
99
|
return /* @__PURE__ */ t.createElement("span", {
|
|
100
100
|
className: e
|
|
101
101
|
}, o);
|
|
102
|
-
},
|
|
103
|
-
const { nextText: o } =
|
|
102
|
+
}, W = ({ className: e }) => {
|
|
103
|
+
const { nextText: o } = B();
|
|
104
104
|
return /* @__PURE__ */ t.createElement("span", {
|
|
105
105
|
className: e
|
|
106
106
|
}, o);
|
|
107
|
-
},
|
|
107
|
+
}, R = ({ children: e }) => /* @__PURE__ */ t.createElement(t.Fragment, null, e), st = ({ className: e }) => /* @__PURE__ */ t.createElement("span", {
|
|
108
108
|
className: e
|
|
109
109
|
}, /* @__PURE__ */ t.createElement(ot, null));
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
S.Label =
|
|
114
|
-
S.Icon =
|
|
115
|
-
E.Label =
|
|
116
|
-
E.Icon =
|
|
110
|
+
b.Label = y;
|
|
111
|
+
b.Icon = R;
|
|
112
|
+
b.Loader = st;
|
|
113
|
+
S.Label = D;
|
|
114
|
+
S.Icon = R;
|
|
115
|
+
E.Label = W;
|
|
116
|
+
E.Icon = R;
|
|
117
117
|
g.PreviousButton = S;
|
|
118
118
|
g.NextButton = E;
|
|
119
|
-
g.SubmitButton =
|
|
119
|
+
g.SubmitButton = b;
|
|
120
120
|
r.SubmitButton = g;
|
|
121
|
-
const at = "
|
|
121
|
+
const at = "_navigationContainer_i93zw_1", rt = "_rowSpacing_i93zw_6", ut = "_navigationButton_i93zw_10", it = "_nextButton_i93zw_33", lt = "_previousButton_i93zw_59", ct = "_navigationButtonHover_i93zw_100", mt = "_button_i93zw_138", bt = "_buttonNoSteps_i93zw_186", Bt = "_buttonWithSteps_i93zw_190", vt = "_buttonHover_i93zw_194", St = "_progress_i93zw_227", u = {
|
|
122
122
|
navigationContainer: at,
|
|
123
123
|
rowSpacing: rt,
|
|
124
124
|
navigationButton: ut,
|
|
125
|
-
nextButton:
|
|
126
|
-
previousButton:
|
|
125
|
+
nextButton: it,
|
|
126
|
+
previousButton: lt,
|
|
127
127
|
navigationButtonHover: ct,
|
|
128
128
|
button: mt,
|
|
129
|
-
buttonNoSteps:
|
|
130
|
-
buttonWithSteps:
|
|
131
|
-
buttonHover:
|
|
129
|
+
buttonNoSteps: bt,
|
|
130
|
+
buttonWithSteps: Bt,
|
|
131
|
+
buttonHover: vt,
|
|
132
132
|
progress: St
|
|
133
133
|
}, P = () => {
|
|
134
|
-
const e =
|
|
134
|
+
const e = V(null), o = k(() => {
|
|
135
135
|
var n;
|
|
136
136
|
return (n = e.current) == null ? void 0 : n.runAnimationForward();
|
|
137
|
-
}, []), s =
|
|
137
|
+
}, []), s = k(() => {
|
|
138
138
|
var n;
|
|
139
139
|
return (n = e.current) == null ? void 0 : n.runAnimationBackward();
|
|
140
140
|
}, []);
|
|
@@ -144,15 +144,15 @@ const at = "_navigationContainer_s99vs_1", rt = "_rowSpacing_s99vs_6", ut = "_na
|
|
|
144
144
|
onHoverEnd: s
|
|
145
145
|
};
|
|
146
146
|
}, O = ({ icon: e, iconRef: o, iconClassName: s }) => {
|
|
147
|
-
const { wix: n, className: a, ...
|
|
148
|
-
return
|
|
149
|
-
...
|
|
147
|
+
const { wix: n, className: a, ...l } = e ?? {};
|
|
148
|
+
return l.svg ? /* @__PURE__ */ t.createElement(X, {
|
|
149
|
+
...l,
|
|
150
150
|
ref: o,
|
|
151
151
|
className: p(Z, s, a)
|
|
152
152
|
}) : null;
|
|
153
153
|
}, Et = () => {
|
|
154
|
-
var h, F, U,
|
|
155
|
-
const { hasSteps: e, showPreviousButton: o, isDisabled: s, isInProgress: n, isSubmitting: a } =
|
|
154
|
+
var A, h, F, U, M, z;
|
|
155
|
+
const { hasSteps: e, showPreviousButton: o, isDisabled: s, isInProgress: n, isSubmitting: a } = B(), v = !s && !(a || n), c = $(), m = (h = (A = c.submitButton) == null ? void 0 : A.elementProps) == null ? void 0 : h.icon, C = (U = (F = c.nextButton) == null ? void 0 : F.elementProps) == null ? void 0 : U.icon, f = (z = (M = c.previousButton) == null ? void 0 : M.elementProps) == null ? void 0 : z.icon, I = x({
|
|
156
156
|
globalClasses: Y,
|
|
157
157
|
moduleClasses: {
|
|
158
158
|
base: p(u.navigationButton, u.previousButton),
|
|
@@ -187,11 +187,11 @@ const at = "_navigationContainer_s99vs_1", rt = "_rowSpacing_s99vs_6", ut = "_na
|
|
|
187
187
|
onHoverStart: T.onHoverStart,
|
|
188
188
|
onHoverEnd: T.onHoverEnd
|
|
189
189
|
}, /* @__PURE__ */ t.createElement(r.SubmitButton.PreviousButton.Label, {
|
|
190
|
-
className:
|
|
190
|
+
className: j
|
|
191
191
|
}), /* @__PURE__ */ t.createElement(r.SubmitButton.PreviousButton.Icon, null, /* @__PURE__ */ t.createElement(O, {
|
|
192
192
|
icon: f,
|
|
193
193
|
iconRef: T.iconRef,
|
|
194
|
-
iconClassName:
|
|
194
|
+
iconClassName: q
|
|
195
195
|
}))), /* @__PURE__ */ t.createElement(r.SubmitButton.NextButton, {
|
|
196
196
|
className: ({ isHovered: N }) => d({
|
|
197
197
|
isSelected: !1,
|
|
@@ -209,7 +209,7 @@ const at = "_navigationContainer_s99vs_1", rt = "_rowSpacing_s99vs_6", ut = "_na
|
|
|
209
209
|
className: ({ isHovered: N }) => _({
|
|
210
210
|
isSelected: !1,
|
|
211
211
|
isHovered: N,
|
|
212
|
-
isInteractive:
|
|
212
|
+
isInteractive: v
|
|
213
213
|
}),
|
|
214
214
|
onHoverStart: H.onHoverStart,
|
|
215
215
|
onHoverEnd: H.onHoverEnd
|
|
@@ -2,15 +2,15 @@ import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
|
2
2
|
import F from "classnames";
|
|
3
3
|
import t, { useMemo as I, useState as z, useRef as q, useLayoutEffect as B, useCallback as N } from "react";
|
|
4
4
|
import { CheckboxGroup as J, TextField as K, Input as X, CheckboxField as Y, CheckboxButton as Z } from "react-aria-components";
|
|
5
|
-
import { bo as D, bl as M, by as S, bq as U, R as ee, a0 as te, aa as ae, H as ne, v as oe, ab as re } from "./form-
|
|
5
|
+
import { bo as D, bl as M, by as S, bq as U, R as ee, a0 as te, aa as ae, H as ne, v as oe, ab as re } from "./form-D7ulDPh1.js";
|
|
6
6
|
import { f as O, a as k } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { E as x, D as H } from "./field-error-headless-
|
|
8
|
-
import { L as W } from "./field-label-headless-
|
|
7
|
+
import { E as x, D as H } from "./field-error-headless-vApyo-y9.js";
|
|
8
|
+
import { L as W } from "./field-label-headless-C8-ShLxy.js";
|
|
9
9
|
import { F as se } from "./fieldset-headless-CD3fds9J.js";
|
|
10
10
|
import { E as le } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as y } from "./field-rac.module-DP0lkkEv.js";
|
|
12
|
-
import { u as ie } from "./use-element-state-class-name-
|
|
13
|
-
import { u as ce } from "./use-text-input-class-name-
|
|
12
|
+
import { u as ie } from "./use-element-state-class-name-DY0UyIQg.js";
|
|
13
|
+
import { u as ce } from "./use-text-input-class-name-DFMQAg_E.js";
|
|
14
14
|
var ue = /* @__PURE__ */ (function(e) {
|
|
15
15
|
return e[e.FREE_FLOW = 0] = "FREE_FLOW", e[e.ONE = 1] = "ONE", e[e.TWO = 2] = "TWO", e[e.THREE = 3] = "THREE", e;
|
|
16
16
|
})({});
|
|
@@ -2,13 +2,13 @@ import { RicosViewer as N } from "@wix/ricos/viewer";
|
|
|
2
2
|
import o from "classnames";
|
|
3
3
|
import r, { useCallback as S, useRef as T } from "react";
|
|
4
4
|
import { TextField as O, TextArea as y } from "react-aria-components";
|
|
5
|
-
import { bo as p, bl as d, bq as x, R as v, a0 as g, H as h, v as q } from "./form-
|
|
5
|
+
import { bo as p, bl as d, bq as x, R as v, a0 as g, H as h, v as q } from "./form-D7ulDPh1.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as M, E as B } from "./field-error-headless-
|
|
8
|
-
import { L as k } from "./field-label-headless-
|
|
7
|
+
import { D as M, E as B } from "./field-error-headless-vApyo-y9.js";
|
|
8
|
+
import { L as k } from "./field-label-headless-C8-ShLxy.js";
|
|
9
9
|
import { E as P } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as c } from "./field-rac.module-DP0lkkEv.js";
|
|
11
|
-
import { u as V } from "./use-text-input-class-name-
|
|
11
|
+
import { u as V } from "./use-text-input-class-name-DFMQAg_E.js";
|
|
12
12
|
const e = ({ children: t }) => {
|
|
13
13
|
const { id: a, value: m, onChange: s, disabled: u, required: n, readOnly: l, onBlur: E, onFocus: b, FieldLayout: I, hasError: f } = p(), { labelId: R } = d(), F = S((A) => {
|
|
14
14
|
s(A);
|
package/dist/component/{text-input-field-rac-8uxeWGbw.js → text-input-field-rac-Dyur2Wby.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { RicosViewer as l } from "@wix/ricos/viewer";
|
|
2
2
|
import t from "classnames";
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { T as r } from "./text-input-headless-
|
|
4
|
+
import { T as r } from "./text-input-headless-DZ-Pjpm4.js";
|
|
5
5
|
import { E as o } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as a } from "./field-rac.module-DP0lkkEv.js";
|
|
7
|
-
import { R as n, a0 as c, H as E, v as i } from "./form-
|
|
8
|
-
import { u as p } from "./use-text-input-class-name-
|
|
7
|
+
import { R as n, a0 as c, H as E, v as i } from "./form-D7ulDPh1.js";
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-DFMQAg_E.js";
|
|
9
9
|
const R = ({ content: s, locale: m }) => /* @__PURE__ */ e.createElement(l, {
|
|
10
10
|
content: s,
|
|
11
11
|
locale: m
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import t, { useRef as v } from "react";
|
|
2
2
|
import { TextField as C, Input as R } from "react-aria-components";
|
|
3
|
-
import { bo as c, bl as d, bq as T } from "./form-
|
|
3
|
+
import { bo as c, bl as d, bq as T } from "./form-D7ulDPh1.js";
|
|
4
4
|
import { f as l } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as g, E as h } from "./field-error-headless-
|
|
6
|
-
import { L as q } from "./field-label-headless-
|
|
5
|
+
import { D as g, E as h } from "./field-error-headless-vApyo-y9.js";
|
|
6
|
+
import { L as q } from "./field-label-headless-C8-ShLxy.js";
|
|
7
7
|
const e = ({ children: r }) => {
|
|
8
8
|
const { id: s, value: a, onChange: i, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus: b, autoComplete: f, FieldLayout: E } = c(), { labelId: I } = d(), F = l(r, e.Label), y = l(r, e.Input), D = l(r, e.Description), L = l(r, e.Error);
|
|
9
9
|
return /* @__PURE__ */ t.createElement(E, {
|
|
@@ -3,14 +3,14 @@ import { RicosViewer as x } from "@wix/ricos/viewer";
|
|
|
3
3
|
import m from "classnames";
|
|
4
4
|
import { parseTime as B } from "@internationalized/date";
|
|
5
5
|
import { TimeField as k, DateInput as U, DateSegment as _, TimeFieldStateContext as w } from "react-aria-components";
|
|
6
|
-
import { bo as p, bl as j, by as T, bq as Q, R as z, a0 as G, H as J, v as K } from "./form-
|
|
6
|
+
import { bo as p, bl as j, by as T, bq as Q, R as z, a0 as G, H as J, v as K } from "./form-D7ulDPh1.js";
|
|
7
7
|
import { f as u, a as F } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as W, E as X } from "./field-error-headless-
|
|
9
|
-
import { L as Y } from "./field-label-headless-
|
|
8
|
+
import { D as W, E as X } from "./field-error-headless-vApyo-y9.js";
|
|
9
|
+
import { L as Y } from "./field-label-headless-C8-ShLxy.js";
|
|
10
10
|
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { H as S } from "./custom-focus-class-_483Pkwp.js";
|
|
12
12
|
import { s as f } from "./field-rac.module-DP0lkkEv.js";
|
|
13
|
-
import { u as $ } from "./use-text-input-class-name-
|
|
13
|
+
import { u as $ } from "./use-text-input-class-name-DFMQAg_E.js";
|
|
14
14
|
const r = ({ children: t }) => {
|
|
15
15
|
const { id: n, value: s, onChange: a, disabled: i, readOnly: o, required: c, onBlur: l, onFocus: E, use24HourFormat: b, FieldLayout: C, hasError: g } = p(), { inputId: I, ariaDescribedBy: R, labelId: D } = j(), L = v((M) => {
|
|
16
16
|
const H = ae(M);
|
|
@@ -2,14 +2,14 @@ import { RicosViewer as N } from "@wix/ricos/viewer";
|
|
|
2
2
|
import i from "classnames";
|
|
3
3
|
import r, { useCallback as h, useRef as O } from "react";
|
|
4
4
|
import { TextField as y, Input as A } from "react-aria-components";
|
|
5
|
-
import { bo as d, bl as E, bq as v, R as B, a0 as T, H as g, v as k } from "./form-
|
|
5
|
+
import { bo as d, bl as E, bq as v, R as B, a0 as T, H as g, v as k } from "./form-D7ulDPh1.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as q, E as M } from "./field-error-headless-
|
|
8
|
-
import { L as P } from "./field-label-headless-
|
|
7
|
+
import { D as q, E as M } from "./field-error-headless-vApyo-y9.js";
|
|
8
|
+
import { L as P } from "./field-label-headless-C8-ShLxy.js";
|
|
9
9
|
import { u as x } from "./use-invoke-callback-UH73A_J3.js";
|
|
10
10
|
import { E as U } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as u } from "./field-rac.module-DP0lkkEv.js";
|
|
12
|
-
import { u as w } from "./use-text-input-class-name-
|
|
12
|
+
import { u as w } from "./use-text-input-class-name-DFMQAg_E.js";
|
|
13
13
|
const H = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
|
|
14
14
|
const { id: o, value: l, onChange: n, disabled: m, readOnly: s, required: a, hasError: I, onBlur: b, onFocus: f, FieldLayout: R } = d(), { labelId: F } = E(), p = x(b), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), S = h(() => {
|
|
15
15
|
n(H(l)), p();
|
|
@@ -2,9 +2,9 @@ import d, { useContext as N, useRef as x, useState as f, Children as y, useLayou
|
|
|
2
2
|
import { CollectionRendererContext as g, DefaultCollectionRenderer as E, ListBox as L } from "react-aria-components";
|
|
3
3
|
import M from "classnames";
|
|
4
4
|
import { s as R } from "./field-rac.module-DP0lkkEv.js";
|
|
5
|
-
import { z as T, G as P } from "./form-
|
|
6
|
-
import { u as H } from "./use-element-state-class-name-
|
|
7
|
-
import { u as B } from "./use-hoverable-input-class-name-
|
|
5
|
+
import { z as T, G as P } from "./form-D7ulDPh1.js";
|
|
6
|
+
import { u as H } from "./use-element-state-class-name-DY0UyIQg.js";
|
|
7
|
+
import { u as B } from "./use-hoverable-input-class-name-C_Wh4Qfc.js";
|
|
8
8
|
const h = 1 / 0, A = {
|
|
9
9
|
position: "absolute",
|
|
10
10
|
width: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import i from "classnames";
|
|
2
|
-
import { bh as s, aQ as v } from "./form-
|
|
2
|
+
import { bh as s, aQ as v } from "./form-D7ulDPh1.js";
|
|
3
3
|
const x = ({ globalClasses: e, moduleClasses: r }) => {
|
|
4
4
|
var d;
|
|
5
5
|
const c = ((d = s(...v(e))) == null ? void 0 : d.split(/\s+/)) ?? [], o = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { bo as n } from "./form-
|
|
1
|
+
import { bo as n } from "./form-D7ulDPh1.js";
|
|
2
2
|
import { s as e } from "./field-rac.module-DP0lkkEv.js";
|
|
3
|
-
import { u } from "./use-element-state-class-name-
|
|
3
|
+
import { u } from "./use-element-state-class-name-DY0UyIQg.js";
|
|
4
4
|
const b = (s, a) => {
|
|
5
5
|
const { disabled: t, readOnly: o } = n(), r = u({
|
|
6
6
|
globalClasses: s,
|
package/dist/component/{use-service-options-base-CcKiB-fR.js → use-service-options-base-DgSaAuGy.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState as o, useCallback as y, useEffect as m, useMemo as D } from "react";
|
|
2
|
-
import { bn as v } from "./form-
|
|
2
|
+
import { bn as v } from "./form-D7ulDPh1.js";
|
|
3
3
|
const k = (I) => {
|
|
4
4
|
const { fieldType: L, isEditor: t = !1, postProcessOptions: i, customFetchLogic: n, onInitialDataLoaded: a } = I, [O, h] = o(!1), [g, p] = o([]), [E, u] = o(!1), [c, f] = o(!1), s = v(L), r = y((e) => {
|
|
5
5
|
let d = e.map((l) => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/form-elements",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.158.0",
|
|
4
4
|
"description": "The Wix Forms rendering element for Builder apps, loaded at runtime as @wix/form-elements/Form",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -156,5 +156,5 @@
|
|
|
156
156
|
]
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
|
-
"falconPackageHash": "
|
|
159
|
+
"falconPackageHash": "5dff21ac1548ee67d98865de3d5b7b1a4eeb632a3e8378fd78bd2bb7"
|
|
160
160
|
}
|