@wix/form-elements 1.242.0 → 1.243.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-Bab9tSUj.js → appointment-rac-D-dMrhRb.js} +43 -43
- package/dist/component/{bookings-address-rac-DcpXlUvQ.js → bookings-address-rac-B6aQ4P5I.js} +1 -1
- package/dist/component/{bookings-email-rac-Bp0i-XuQ.js → bookings-email-rac-Bh849hrc.js} +1 -1
- package/dist/component/{bookings-first-name-rac-BWSlc38n.js → bookings-first-name-rac-C69Ind1o.js} +1 -1
- package/dist/component/{bookings-header-rac-C2jB1zfG.js → bookings-header-rac-DGUzMGRj.js} +1 -1
- package/dist/component/{bookings-last-name-rac-BkwCVLE2.js → bookings-last-name-rac-Ch9Bm-sr.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-DpGFo3D_.js → bookings-login-bar-rac-CUhHuZm-.js} +1 -1
- package/dist/component/{bookings-phone-rac-BtgTVsj2.js → bookings-phone-rac-BI4PoSu3.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-DsOs6O8q.js → bookings-rich-text-rac-B4D2ZCJs.js} +1 -1
- package/dist/component/{checkbox-field-rac-DysYJ41o.js → checkbox-field-rac-zE0dzJYu.js} +81 -81
- package/dist/component/{checkbox-group-field-headless-Df-A3KXl.js → checkbox-group-field-headless-C2x-la-e.js} +44 -44
- package/dist/component/{checkbox-group-field-rac-DFnJDZWN.js → checkbox-group-field-rac-iJkQGTiJ.js} +4 -4
- package/dist/component/{checkbox-group-rac-B7TaGbZy.js → checkbox-group-rac-DoK5e4c8.js} +1 -1
- package/dist/component/{checkbox-rac-Di0BHQqP.js → checkbox-rac-8i-6GMze.js} +1 -1
- package/dist/component/{contacts-address-rac-DhSjIORz.js → contacts-address-rac-CHcRQBjy.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-B3nWdWka.js → contacts-birthdate-rac-CkSsvQ6R.js} +1 -1
- package/dist/component/{contacts-company-rac-DFYyTkvq.js → contacts-company-rac-CIsmil8s.js} +1 -1
- package/dist/component/{contacts-email-rac-DGzgN38U.js → contacts-email-rac-AEvRJfWd.js} +1 -1
- package/dist/component/{contacts-first-name-rac-CZ3e4Pxp.js → contacts-first-name-rac-CLSJ2cna.js} +1 -1
- package/dist/component/{contacts-last-name-rac-Dvu7FY_c.js → contacts-last-name-rac-o59dmvVn.js} +1 -1
- package/dist/component/{contacts-phone-rac-DeLq3Efe.js → contacts-phone-rac-jh-YSD-N.js} +1 -1
- package/dist/component/{contacts-position-rac-YhEGkgEL.js → contacts-position-rac-Ak4X2gV_.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-DzVP-ujl.js → contacts-subscribe-rac-By9Bk1YL.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-CU4sTn5G.js → contacts-tax-id-rac-B1enZgKk.js} +1 -1
- package/dist/component/{date-availability-1nR4MMNM.js → date-availability--3J2b6Ur.js} +1 -1
- package/dist/component/{date-input-field-rac-CM_aSFwq.js → date-input-field-rac-BFt0DKA9.js} +66 -66
- package/dist/component/{date-input-rac-BKDGvMhS.js → date-input-rac-D8BA8S1A.js} +1 -1
- package/dist/component/{date-picker-field-rac-Cy3E6oIi.js → date-picker-field-rac-cwYdVf60.js} +40 -40
- package/dist/component/{date-picker-rac-P7Rt52yN.js → date-picker-rac-B7uR5ZnA.js} +1 -1
- package/dist/component/{date-time-input-field-rac-Dy0yHP_r.js → date-time-input-field-rac-PaKyrMb9.js} +98 -98
- package/dist/component/{date-time-input-rac-Bte2ExkW.js → date-time-input-rac-Ck8Edatx.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-aDNIkDPY.js → dext-checkbox-group-rac-Cru3Lq4c.js} +2 -2
- package/dist/component/{dext-checkbox-rac-7cCDU8rx.js → dext-checkbox-rac-wtMsRxly.js} +1 -1
- package/dist/component/{dext-date-picker-rac-CiKlP583.js → dext-date-picker-rac-B34DtxLN.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-Cg0rG4Qg.js → dext-date-time-input-rac-BsdfLty5.js} +1 -1
- package/dist/component/{dext-dropdown-rac-BqQfNIBY.js → dext-dropdown-rac-DeZYnwo7.js} +1 -1
- package/dist/component/{dext-email-rac-BfeJHd-1.js → dext-email-rac-B4GTK5H8.js} +1 -1
- package/dist/component/{dext-number-input-rac-Co2-0GIg.js → dext-number-input-rac-BIyJJ9h0.js} +1 -1
- package/dist/component/{dext-phone-rac-nruJqfOS.js → dext-phone-rac-lf64Ywlp.js} +1 -1
- package/dist/component/{dext-radio-group-rac-D4dpTCbP.js → dext-radio-group-rac-CGt1_jue.js} +2 -2
- package/dist/component/{dext-rating-input-rac-DZdFsFwX.js → dext-rating-input-rac-CbaW1lxS.js} +1 -1
- package/dist/component/{dext-tags-rac-Bo06MMsK.js → dext-tags-rac-DnHDnzD_.js} +2 -2
- package/dist/component/{dext-text-area-rac-DFilJP7d.js → dext-text-area-rac-C8DVKWKo.js} +1 -1
- package/dist/component/{dext-text-input-rac-Btnz_-2P.js → dext-text-input-rac-DVl-1SDY.js} +1 -1
- package/dist/component/{dext-url-input-rac-YpJVis2h.js → dext-url-input-rac-CkpAMLF9.js} +1 -1
- package/dist/component/{dismiss-icon-DNnhVj3P.js → dismiss-icon-CwZIlL7w.js} +6 -6
- package/dist/component/{donation-rac-CgrtVdQ9.js → donation-rac-DCNG5ByO.js} +44 -44
- package/dist/component/{dropdown-field-rac-CWdttDy1.js → dropdown-field-rac-CVbM-0KX.js} +3 -3
- package/dist/component/{dropdown-rac-Bn29r6Vt.js → dropdown-rac-CE9IjTvE.js} +1 -1
- package/dist/component/{ecom-address-rac-DPSadNy1.js → ecom-address-rac-BD_okFDt.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-C5RN2TfZ.js → ecom-subscription-checkbox-rac-C7zdxqra.js} +2 -2
- package/dist/component/{email-input-field-rac-Bl_i7BQ3.js → email-input-field-rac-CY4wE0eP.js} +35 -35
- package/dist/component/{events-repeater-rac-8MaxRBKl.js → events-repeater-rac-Bh-TBEQG.js} +26 -26
- package/dist/component/{events-rsvp-rac-DgduOqZJ.js → events-rsvp-rac-BPhzKqUb.js} +3 -3
- package/dist/component/{field-error-headless-CBz8B75M.js → field-error-headless-D3lVhOaC.js} +1 -1
- package/dist/component/{field-label-headless-5GuAGL0Y.js → field-label-headless-CrZoTwxs.js} +5 -5
- package/dist/component/{file-upload-rac-BQbXxpk9.js → file-upload-rac-DYP83swC.js} +187 -186
- package/dist/component/{fixed-payment-rac-zRYih9qW.js → fixed-payment-rac-DY7hXK7g.js} +11 -11
- package/dist/component/{form-Bc8sA308.js → form-DpFQ9uO1.js} +3059 -2934
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-C6f6tpfn.js → header-field-rac-9wOBV_rW.js} +2 -2
- package/dist/component/{header-rac-Dv-9gQlw.js → header-rac-gzKNBkq_.js} +1 -1
- package/dist/component/{image-choice-rac-DgmQKZLT.js → image-choice-rac-B6dvv6Jc.js} +25 -25
- package/dist/component/{index-Btc2rtde.js → index-CbCZUvYt.js} +2 -2
- package/dist/component/{index-BH3c1lm6.js → index-DCl2274b.js} +4 -4
- package/dist/component/{isObjectLike-DUAmJpnS.js → isObjectLike-DDBjMXgH.js} +1 -1
- package/dist/component/{multiline-address-field-rac-CD692gBt.js → multiline-address-field-rac-CPkSpMMb.js} +210 -210
- package/dist/component/{multiline-address-rac-DRInxa21.js → multiline-address-rac-DCnk-LvE.js} +1 -1
- package/dist/component/{number-input-field-rac-D7Uf9yNQ.js → number-input-field-rac-Dt0hM2jA.js} +19 -19
- package/dist/component/{number-input-rac-C600LCBk.js → number-input-rac-pjmjC2-7.js} +1 -1
- package/dist/component/{password-rac-BLi1E4nU.js → password-rac-D9Gmp1yw.js} +32 -32
- package/dist/component/{payment-input-rac-DhtjMf3j.js → payment-input-rac-CI78trIl.js} +33 -33
- package/dist/component/{phone-input-field-rac-DcmI5WGt.js → phone-input-field-rac-BCPj6vEP.js} +39 -39
- package/dist/component/{phone-rac-KcmTZZ9n.js → phone-rac-FAGNDAR-.js} +1 -1
- package/dist/component/{product-list-rac-DqcTH4Uz.js → product-list-rac-D7n9P2wQ.js} +14 -14
- package/dist/component/{quiz-radio-group-rac-BhE36x3f.js → quiz-radio-group-rac-BO55azn2.js} +1 -1
- package/dist/component/{radio-button-module-classes-Bb8FJ98H.js → radio-button-module-classes-BIraDyOu.js} +35 -35
- package/dist/component/{radio-group-field-rac-ZRFBSw-k.js → radio-group-field-rac-BvUZ-DmS.js} +4 -4
- package/dist/component/{radio-group-rac-DJzh_9Rz.js → radio-group-rac-qc0JijX9.js} +1 -1
- package/dist/component/{rating-input-field-rac-O761Lr7O.js → rating-input-field-rac-D3u_T_la.js} +18 -18
- package/dist/component/{rating-input-rac-N5UUwsk9.js → rating-input-rac-CqlPfSQQ.js} +1 -1
- package/dist/component/{rich-content-rac.module-CyyY4g0Y.js → rich-content-rac.module-B4TapWZL.js} +7 -7
- package/dist/component/{rich-text-field-rac-G1dCddAG.js → rich-text-field-rac-LgoEQuKS.js} +4 -4
- package/dist/component/{rich-text-rac-DRls3PAt.js → rich-text-rac-1IcHKfEb.js} +1 -1
- package/dist/component/{service-dropdown-rac-CQtdLY6W.js → service-dropdown-rac-CMkRaLmg.js} +22 -22
- package/dist/component/{services-multi-choice-rac-GXHhjMdj.js → services-multi-choice-rac-DzwHkD-j.js} +7 -7
- package/dist/component/{signature-rac-Bthr2qFV.js → signature-rac-D3X5-ScB.js} +71 -71
- package/dist/component/{submit-button-rac-CZpKTkAI.js → submit-button-rac-BWL76gny.js} +15 -15
- package/dist/component/{tags-field-rac-C7tkzxNX.js → tags-field-rac-BwGeFDfH.js} +24 -24
- package/dist/component/{tags-rac-CWgu9IXx.js → tags-rac-DU7-Kl1T.js} +1 -1
- package/dist/component/{text-area-field-rac-BFRW0mfT.js → text-area-field-rac-BO_9zG3x.js} +19 -19
- package/dist/component/{text-area-rac-DaJColM3.js → text-area-rac-CG7vi5-F.js} +1 -1
- package/dist/component/{text-input-field-rac-D4QPznxH.js → text-input-field-rac-FWkVzsiY.js} +3 -3
- package/dist/component/{text-input-headless-B3LeZbMa.js → text-input-headless-COFlfx6N.js} +9 -9
- package/dist/component/{text-input-rac-D6t913v4.js → text-input-rac-D_7yUDzw.js} +1 -1
- package/dist/component/{time-input-rac-BRXeAxLy.js → time-input-rac-0Ggsm6qE.js} +24 -24
- package/dist/component/{url-input-field-rac-C7AeMSCu.js → url-input-field-rac-CH7kG_Qf.js} +25 -25
- package/dist/component/{url-input-rac-Crya6SOE.js → url-input-rac-CjBn6ZWh.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-CF6Nkoi8.js → use-dropdown-option-class-name-Cy_iJyiA.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-CPKkbYSD.js → use-dropdown-trigger-class-name-Ddu4_w_z.js} +26 -26
- package/dist/component/{use-element-state-class-name-c_YzmI-w.js → use-element-state-class-name-DNjpnp27.js} +2 -2
- package/dist/component/{use-hoverable-input-class-name-DPft9EoC.js → use-hoverable-input-class-name-Wy3Ujp2_.js} +2 -2
- package/dist/component/{use-is-forced-open-dropdown-DTCIHm6F.js → use-is-forced-open-dropdown-Vu0JjNY7.js} +4 -4
- package/dist/component/{use-native-mobile-input-CuS4DTkh.js → use-native-mobile-input-l8hf9N2p.js} +3 -3
- package/dist/component/{use-service-options-base-D_sHL_KM.js → use-service-options-base-Di4c__b_.js} +3 -3
- package/dist/component/use-text-input-class-name-BBZXre-_.js +6 -0
- package/package.json +2 -2
- package/dist/component/use-text-input-class-name-BCtZ8l6Q.js +0 -6
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import t, { useMemo as _ } from "react";
|
|
2
2
|
import { RicosViewer as A } from "@wix/ricos/viewer";
|
|
3
3
|
import u from "classnames";
|
|
4
|
-
import {
|
|
5
|
-
import { f as c, a as
|
|
6
|
-
import { f as
|
|
7
|
-
import { D as v, E as M } from "./field-error-headless-
|
|
8
|
-
import { L as g } from "./field-label-headless-
|
|
4
|
+
import { bO as C, bG as I, bL as P, X as S, S as x, I as N } from "./form-DpFQ9uO1.js";
|
|
5
|
+
import { f as c, a as O } from "./find-child-C60k4CxG.js";
|
|
6
|
+
import { f as R } from "./format-currency-BwShJ9vM.js";
|
|
7
|
+
import { D as v, E as M } from "./field-error-headless-D3lVhOaC.js";
|
|
8
|
+
import { L as g } from "./field-label-headless-CrZoTwxs.js";
|
|
9
9
|
import { s as F } from "./field-rac.module-D0QzJXUv.js";
|
|
10
10
|
const e = ({ children: r }) => {
|
|
11
11
|
var p;
|
|
@@ -14,11 +14,11 @@ const e = ({ children: r }) => {
|
|
|
14
14
|
return (f = (E = (d = n == null ? void 0 : n.predefined) == null ? void 0 : d.paymentOptions) == null ? void 0 : E.products) == null ? void 0 : f[0];
|
|
15
15
|
}, [
|
|
16
16
|
n
|
|
17
|
-
]), i = (p = s == null ? void 0 : s.fixedPriceOptions) == null ? void 0 : p.price,
|
|
17
|
+
]), i = (p = s == null ? void 0 : s.fixedPriceOptions) == null ? void 0 : p.price, L = c(r, e.Label), y = c(r, e.Amount), b = c(r, e.Description), D = c(r, e.Error);
|
|
18
18
|
return /* @__PURE__ */ t.createElement(l, {
|
|
19
19
|
fieldId: a,
|
|
20
|
-
renderLabel: () =>
|
|
21
|
-
renderInput: () =>
|
|
20
|
+
renderLabel: () => L,
|
|
21
|
+
renderInput: () => O(y, {
|
|
22
22
|
price: i,
|
|
23
23
|
currencyCode: o == null ? void 0 : o.code,
|
|
24
24
|
locale: m
|
|
@@ -26,7 +26,7 @@ const e = ({ children: r }) => {
|
|
|
26
26
|
renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, D, b)
|
|
27
27
|
});
|
|
28
28
|
}, T = ({ className: r, ...a }) => {
|
|
29
|
-
const { price: n, currencyCode: l, locale: o } = a, { inputId: m, ariaDescribedBy: s } = P(), i =
|
|
29
|
+
const { price: n, currencyCode: l, locale: o } = a, { inputId: m, ariaDescribedBy: s } = P(), i = R({
|
|
30
30
|
amount: n,
|
|
31
31
|
currency: l,
|
|
32
32
|
locale: o
|
|
@@ -52,9 +52,9 @@ const B = "_value_c7203_1", X = {
|
|
|
52
52
|
}), w = () => /* @__PURE__ */ t.createElement(e, null, /* @__PURE__ */ t.createElement(e.Label, {
|
|
53
53
|
className: u(S, F.label)
|
|
54
54
|
}), /* @__PURE__ */ t.createElement(e.Amount, {
|
|
55
|
-
className: u(
|
|
55
|
+
className: u(x, X.value)
|
|
56
56
|
}), /* @__PURE__ */ t.createElement(e.Description, {
|
|
57
|
-
className: u(
|
|
57
|
+
className: u(N, F.description)
|
|
58
58
|
}, k)), Q = () => /* @__PURE__ */ t.createElement(w, null);
|
|
59
59
|
export {
|
|
60
60
|
Q as FixedPaymentRAC
|