@wix/form-elements 1.162.0 → 1.163.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-3Z1wiBX6.js → appointment-rac-Cskf9hxi.js} +4 -4
- package/dist/component/{bookings-address-rac-2zV-a8SW.js → bookings-address-rac-C18tuPai.js} +1 -1
- package/dist/component/{bookings-email-rac-C1WakVnh.js → bookings-email-rac-C2GL3cJg.js} +1 -1
- package/dist/component/{bookings-first-name-rac-6f18uXA0.js → bookings-first-name-rac-IEklnchg.js} +1 -1
- package/dist/component/{bookings-header-rac-BeaxlPQl.js → bookings-header-rac-iwcrj5Kj.js} +1 -1
- package/dist/component/{bookings-last-name-rac-CsLZaKfO.js → bookings-last-name-rac-CXZfq3Rw.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-B3TRivWU.js → bookings-login-bar-rac-DP0MBFTm.js} +1 -1
- package/dist/component/{bookings-phone-rac-BnFEknvv.js → bookings-phone-rac-uJGk_tzr.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-CFPqDZay.js → bookings-rich-text-rac-BerRAnFy.js} +1 -1
- package/dist/component/{checkbox-field-rac-DqGbxAd0.js → checkbox-field-rac-BBftIi_U.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-CiobdaVa.js → checkbox-group-field-headless-BiQ4coe6.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-Dxrc2F4x.js → checkbox-group-field-rac-moHc5Cyu.js} +4 -4
- package/dist/component/{checkbox-group-rac-C3tL4YSr.js → checkbox-group-rac-iuPzxN7i.js} +1 -1
- package/dist/component/{checkbox-rac-DhZsIMuk.js → checkbox-rac-BwfHAeFo.js} +1 -1
- package/dist/component/{contacts-address-rac--GiWpa6C.js → contacts-address-rac-DuyEL5YR.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-CmI2nPpr.js → contacts-birthdate-rac-Mkoplu3x.js} +1 -1
- package/dist/component/{contacts-company-rac-DcSLvPnR.js → contacts-company-rac-B-3QghQg.js} +1 -1
- package/dist/component/{contacts-email-rac-BLOIHGP9.js → contacts-email-rac-CqooKQl8.js} +1 -1
- package/dist/component/{contacts-first-name-rac-DgMCKLeE.js → contacts-first-name-rac-CAOu0GIH.js} +1 -1
- package/dist/component/{contacts-last-name-rac-tcEQP1Db.js → contacts-last-name-rac-Cd-wCTC3.js} +1 -1
- package/dist/component/{contacts-phone-rac-CK664cfW.js → contacts-phone-rac-OGE6eaJc.js} +1 -1
- package/dist/component/{contacts-position-rac-B8skwXy6.js → contacts-position-rac-eSsV63RC.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-DQZYJjMo.js → contacts-subscribe-rac-19d4uPR-.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-Ci24ixLu.js → contacts-tax-id-rac-TtyrAftZ.js} +1 -1
- package/dist/component/{date-availability-Va6_2NAZ.js → date-availability-CudIaav_.js} +1 -1
- package/dist/component/{date-input-field-rac-lAKyuHOI.js → date-input-field-rac-DzMiQLxS.js} +6 -6
- package/dist/component/{date-input-rac-ClEesupR.js → date-input-rac-BWfmwcmK.js} +1 -1
- package/dist/component/{date-picker-field-rac-h45jfoso.js → date-picker-field-rac-w4Wf-m0I.js} +6 -6
- package/dist/component/{date-picker-rac-B-pvqBn0.js → date-picker-rac-Bejo7tOm.js} +1 -1
- package/dist/component/{date-time-input-field-rac-41QpurJp.js → date-time-input-field-rac-D6JPrbGb.js} +6 -6
- package/dist/component/{date-time-input-rac-BQOUl7It.js → date-time-input-rac-CAK5NgC4.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-C4Q6tfBD.js → dext-checkbox-group-rac-BqoHMQwI.js} +2 -2
- package/dist/component/{dext-checkbox-rac-Yo2PHNDA.js → dext-checkbox-rac-BEis8bxo.js} +1 -1
- package/dist/component/{dext-date-picker-rac-jM9x8W6a.js → dext-date-picker-rac-DDQTy3BG.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-BgW_4WIg.js → dext-date-time-input-rac-Dp3UEXEu.js} +1 -1
- package/dist/component/{dext-dropdown-rac-DCL7D6-G.js → dext-dropdown-rac-DisXIXNb.js} +1 -1
- package/dist/component/{dext-email-rac-Dz7yBqkd.js → dext-email-rac-CBv4umUC.js} +1 -1
- package/dist/component/{dext-number-input-rac-BdMjBpH9.js → dext-number-input-rac-0UNC_1Ac.js} +1 -1
- package/dist/component/{dext-phone-rac-D2i9fXL3.js → dext-phone-rac-CQVzz499.js} +1 -1
- package/dist/component/{dext-radio-group-rac-Br2f1Ahx.js → dext-radio-group-rac-3lhx-xxX.js} +2 -2
- package/dist/component/{dext-rating-input-rac-OkfJ7Eb0.js → dext-rating-input-rac-2fwxV3iY.js} +1 -1
- package/dist/component/{dext-tags-rac-43vDoDdM.js → dext-tags-rac-DCL78ClS.js} +2 -2
- package/dist/component/{dext-text-area-rac-C072pWO9.js → dext-text-area-rac-WTCWYySB.js} +1 -1
- package/dist/component/{dext-text-input-rac-BiHJpJCt.js → dext-text-input-rac-DMCzSYAI.js} +1 -1
- package/dist/component/{dext-url-input-rac-YOGYMj5C.js → dext-url-input-rac-Bzvt5zTa.js} +1 -1
- package/dist/component/{donation-rac-fCt3mddA.js → donation-rac-B3YHu0bl.js} +5 -5
- package/dist/component/{dropdown-field-rac-EQrQJ2-C.js → dropdown-field-rac-y4GPpf0W.js} +3 -3
- package/dist/component/{dropdown-rac-MPCcjrFd.js → dropdown-rac-Dj7OnxJL.js} +1 -1
- package/dist/component/{ecom-address-rac-DSgpHqzV.js → ecom-address-rac-Bnc60jDw.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-Dw6Ke0Fb.js → ecom-subscription-checkbox-rac-CesTpjav.js} +2 -2
- package/dist/component/{email-input-field-rac-DVmvH4u4.js → email-input-field-rac-BT2FrAEM.js} +3 -3
- package/dist/component/{events-repeater-rac-Uwpo7XF4.js → events-repeater-rac-CA2yjEEk.js} +4 -4
- package/dist/component/{events-rsvp-rac-D2DJAkep.js → events-rsvp-rac-wVpVt7-p.js} +3 -3
- package/dist/component/{field-error-headless-DAc8FpKI.js → field-error-headless-CX95bMbk.js} +1 -1
- package/dist/component/{field-label-headless-DxxwJtjh.js → field-label-headless-niuFY6Mw.js} +1 -1
- package/dist/component/{file-upload-rac-CBKIeaxX.js → file-upload-rac-ByO8l8lE.js} +187 -187
- package/dist/component/{fixed-payment-rac-BsCDoc1p.js → fixed-payment-rac-BNDAdNeQ.js} +3 -3
- package/dist/component/{form-GAuLAdjq.js → form-CCQN_rPn.js} +69 -69
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-DtZCjzLJ.js → header-field-rac-C1RySfYy.js} +2 -2
- package/dist/component/{header-rac-B1hlVDf8.js → header-rac-BaFPV0vy.js} +1 -1
- package/dist/component/{image-choice-rac-DQaCg_Xk.js → image-choice-rac-BShUj92P.js} +4 -4
- package/dist/component/{index-BaVjVNYj.js → index-0_YjLphg.js} +2 -2
- package/dist/component/{index-C1EXd9jU.js → index-DHLfweXD.js} +4 -4
- package/dist/component/{isObjectLike-m2dqIREj.js → isObjectLike-D7tbAd6O.js} +1 -1
- package/dist/component/{multiline-address-field-rac-CMMdLb-J.js → multiline-address-field-rac-CFJKE5vA.js} +7 -7
- package/dist/component/{multiline-address-rac-VUQNp-Tz.js → multiline-address-rac-BlzCkwEH.js} +1 -1
- package/dist/component/{number-input-field-rac-B5bsGDKm.js → number-input-field-rac-XqxdqTRV.js} +4 -4
- package/dist/component/{number-input-rac-BzzW0p9R.js → number-input-rac-CQTg0QSm.js} +1 -1
- package/dist/component/{password-rac-2Rr7lvNO.js → password-rac-DPE-U2xs.js} +4 -4
- package/dist/component/{payment-input-rac-CEUzIrJA.js → payment-input-rac-oOh04431.js} +4 -4
- package/dist/component/{phone-input-field-rac-BDBaqAzE.js → phone-input-field-rac-DW2vQhjC.js} +6 -6
- package/dist/component/{phone-rac-BTK8-tkq.js → phone-rac-BB9B-Hpl.js} +1 -1
- package/dist/component/{product-list-rac-1QbeT5RH.js → product-list-rac-K53VvPJV.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-tn2CzdCu.js → quiz-radio-group-rac-gikcMV2I.js} +1 -1
- package/dist/component/{radio-button-module-classes-aK1SQcLG.js → radio-button-module-classes-CY883yGO.js} +3 -3
- package/dist/component/{radio-group-field-rac-DlMXhW_S.js → radio-group-field-rac-BOEWcfT9.js} +4 -4
- package/dist/component/{radio-group-rac-BmU_5tBK.js → radio-group-rac-gKhmLMm3.js} +1 -1
- package/dist/component/{rating-input-field-rac-DUPJUAX2.js → rating-input-field-rac-83FXIVpy.js} +4 -4
- package/dist/component/{rating-input-rac-BLhkZdj8.js → rating-input-rac-XDwakrtR.js} +1 -1
- package/dist/component/{rich-content-rac.module-C9bGXB69.js → rich-content-rac.module-Bdx8hK3J.js} +1 -1
- package/dist/component/{rich-text-field-rac-CVqmsZzZ.js → rich-text-field-rac-ksEKBaYG.js} +2 -2
- package/dist/component/{rich-text-rac-D8K6445F.js → rich-text-rac-XEFBeQrz.js} +1 -1
- package/dist/component/{service-dropdown-rac-PR_iLdmo.js → service-dropdown-rac-CjFiqV1n.js} +4 -4
- package/dist/component/{services-multi-choice-rac-BvMadJCf.js → services-multi-choice-rac-DNut4K3I.js} +5 -5
- package/dist/component/{signature-rac-Cpjv6kcl.js → signature-rac-BhWPZpwu.js} +185 -185
- package/dist/component/{submit-button-rac-DpDk7cMb.js → submit-button-rac-CWmz_JCl.js} +2 -2
- package/dist/component/{tags-field-rac-DnyWNHXT.js → tags-field-rac-D9P1jVrz.js} +5 -5
- package/dist/component/{tags-rac-D5Do7BNm.js → tags-rac-0zEd-xYa.js} +1 -1
- package/dist/component/{text-area-field-rac-DLBgla0L.js → text-area-field-rac-D_55oi2b.js} +4 -4
- package/dist/component/{text-area-rac-Bfsl2gSn.js → text-area-rac-CpkFyXCH.js} +1 -1
- package/dist/component/{text-input-field-rac-hLsUcQNw.js → text-input-field-rac-b7RXb4Ob.js} +3 -3
- package/dist/component/{text-input-headless-Otd7Uy7V.js → text-input-headless-b1TEpdit.js} +3 -3
- package/dist/component/{text-input-rac-jpnc-v91.js → text-input-rac-CoVcg1S0.js} +1 -1
- package/dist/component/{time-input-rac-DnjrmZZw.js → time-input-rac-DE7OyzgQ.js} +4 -4
- package/dist/component/{url-input-field-rac-C90NYHb8.js → url-input-field-rac-_yxWlb3a.js} +4 -4
- package/dist/component/{url-input-rac-C3wfEnqs.js → url-input-rac-wguMUqug.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-CYkLlKBs.js → use-dropdown-option-class-name-DdQ0sFRF.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-CTt4Z67m.js → use-dropdown-trigger-class-name-hB8KYv-I.js} +6 -6
- package/dist/component/{use-element-state-class-name-ByDw6j7c.js → use-element-state-class-name-C2tQgxUX.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-Duhgtn2I.js → use-hoverable-input-class-name-C8iuzofb.js} +2 -2
- package/dist/component/{use-is-forced-open-dropdown-B5gNY4Zm.js → use-is-forced-open-dropdown-DkIrJPsK.js} +1 -1
- package/dist/component/{use-service-options-base-DE-QaNDw.js → use-service-options-base-B-xAR-tx.js} +1 -1
- package/dist/component/use-text-input-class-name-CK4rZeSM.js +6 -0
- package/package.json +2 -2
- package/dist/component/use-text-input-class-name-CmxSw6bY.js +0 -6
package/dist/component/form.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import m from "classnames";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { by as u, ba as i, b9 as C, bc as R, aL as T, at as d } from "./form-
|
|
4
|
-
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-
|
|
3
|
+
import { by as u, ba as i, b9 as C, bc as R, aL as T, at as d } from "./form-CCQN_rPn.js";
|
|
4
|
+
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-Bdx8hK3J.js";
|
|
5
5
|
const b = ({ truncate: t = !0 } = {}) => {
|
|
6
6
|
const { content: a, maxShownParagraphs: s } = u(), n = e.useMemo(() => ({
|
|
7
7
|
colorPalette: R(),
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useMemo as H, useCallback as T, useRef as G } from "react";
|
|
2
2
|
import { RicosViewer as k } from "@wix/ricos/viewer";
|
|
3
3
|
import I from "classnames";
|
|
4
|
-
import { by as b, bv as x, bA as P, br as j, U as B, aa as q, Q as U, S as w, K, G as Q, R as V, f } from "./form-
|
|
4
|
+
import { by as b, bv as x, bA as P, br as j, U as B, aa as q, Q as U, S as w, K, G as Q, R as V, f } from "./form-CCQN_rPn.js";
|
|
5
5
|
import { CheckboxGroup as z, CheckboxField as Y, CheckboxButton as $ } from "react-aria-components";
|
|
6
6
|
import { f as m, a as F } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { L as J, g as W } from "./field-label-headless-
|
|
8
|
-
import { D as X, E as Z } from "./field-error-headless-
|
|
7
|
+
import { L as J, g as W } from "./field-label-headless-niuFY6Mw.js";
|
|
8
|
+
import { D as X, E as Z } from "./field-error-headless-CX95bMbk.js";
|
|
9
9
|
import { F as ee } from "./fieldset-headless-CD3fds9J.js";
|
|
10
10
|
import { E as te } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as O } from "./field-rac.module-ts2t4WUO.js";
|
|
12
|
-
import { u as ae } from "./use-element-state-class-name-
|
|
12
|
+
import { u as ae } from "./use-element-state-class-name-C2tQgxUX.js";
|
|
13
13
|
const a = ({ children: t, className: n }) => {
|
|
14
14
|
const { id: s, value: o, onChange: i, disabled: l, readOnly: r, required: c, onBlur: u, onFocus: p, hasError: g, FieldLayout: C } = b(), { inputId: L, labelId: _, ariaDescribedBy: N } = x(), S = m(t, a.Label), A = m(t, a.Options), D = m(t, a.Description), h = m(t, a.Error), M = H(() => o || [], [
|
|
15
15
|
o
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bh as n } from "./form-
|
|
2
|
-
import { A as S, a as p, C as N, aM as g, b1 as q, b2 as D, bj as L } from "./form-
|
|
1
|
+
import { bh as n } from "./form-CCQN_rPn.js";
|
|
2
|
+
import { A as S, a as p, C as N, aM as g, b1 as q, b2 as D, bj as L } from "./form-CCQN_rPn.js";
|
|
3
3
|
const l = (e = !1) => ({
|
|
4
4
|
country: {
|
|
5
5
|
required: e
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { e as R, aT as _, b6 as de, aU as g, az as Ge, B as Be, aN as qe, aG as He, aF as A, aO as Ee, aX as re, aR as Fe, c as B, aH as M, bi as Te, aJ as je, aI as he, aK as q } from "./form-
|
|
2
|
-
import { bd as Mn } from "./form-
|
|
1
|
+
import { e as R, aT as _, b6 as de, aU as g, az as Ge, B as Be, aN as qe, aG as He, aF as A, aO as Ee, aX as re, aR as Fe, c as B, aH as M, bi as Te, aJ as je, aI as he, aK as q } from "./form-CCQN_rPn.js";
|
|
2
|
+
import { bd as Mn } from "./form-CCQN_rPn.js";
|
|
3
3
|
import Xe from "ajv";
|
|
4
4
|
import ke from "ajv-errors";
|
|
5
5
|
import We from "ajv-formats";
|
|
6
6
|
import Ke from "fast-deep-equal";
|
|
7
7
|
import { parsePhoneNumber as ze, parsePhoneNumberWithError as Ve, ParseError as Ze } from "libphonenumber-js/max";
|
|
8
8
|
import Je from "libphonenumber-js/metadata.max.json";
|
|
9
|
-
import { p as Qe, i as et } from "./date-availability-
|
|
10
|
-
import { a as Sn } from "./date-availability-
|
|
9
|
+
import { p as Qe, i as et } from "./date-availability-CudIaav_.js";
|
|
10
|
+
import { a as Sn } from "./date-availability-CudIaav_.js";
|
|
11
11
|
import { C as tt } from "./calling-country-codes-PyWuOTmF.js";
|
|
12
12
|
function rt(e) {
|
|
13
13
|
var t, r;
|
|
@@ -2,21 +2,21 @@ import { RicosViewer as G } from "@wix/ricos/viewer";
|
|
|
2
2
|
import L from "classnames";
|
|
3
3
|
import n, { useMemo as q, createContext as Ve, useContext as Ce, useState as Ee, useRef as x, useCallback as R, useEffect as Ae } from "react";
|
|
4
4
|
import { UNSAFE_PortalProvider as Tt } from "react-aria";
|
|
5
|
-
import { bt as Ct, d as It, bo as Mt, bq as Lt, b1 as wt, b2 as qt, aW as xt, b0 as $, F as K, bI as Pe, bh as it, by as P, bv as M, bA as ae, bu as Nt, b6 as Bt, C as Oe, bf as kt, bj as Ut, bF as Wt, bz as Vt, bE as $t, bm as Kt, bb as Yt, bl as Ht, bB as jt, aC as Jt, V as Xt, U as z, aa as Q, H as Ne, K as Z, G as ee, W as Gt, X as zt } from "./form-
|
|
5
|
+
import { bt as Ct, d as It, bo as Mt, bq as Lt, b1 as wt, b2 as qt, aW as xt, b0 as $, F as K, bI as Pe, bh as it, by as P, bv as M, bA as ae, bu as Nt, b6 as Bt, C as Oe, bf as kt, bj as Ut, bF as Wt, bz as Vt, bE as $t, bm as Kt, bb as Yt, bl as Ht, bB as jt, aC as Jt, V as Xt, U as z, aa as Q, H as Ne, K as Z, G as ee, W as Gt, X as zt } from "./form-CCQN_rPn.js";
|
|
6
6
|
import { f as b, a as v } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import { F as Qt, V as Zt } from "./headless-styles-CmcyA_pi.js";
|
|
8
|
-
import { a as en } from "./use-is-forced-open-dropdown-
|
|
8
|
+
import { a as en } from "./use-is-forced-open-dropdown-DkIrJPsK.js";
|
|
9
9
|
import { TextField as be, Input as le, ComboBoxStateContext as $e, ComboBox as Fe, Popover as Se, ListBox as Te, ListBoxItem as he, Group as Ot, Button as gt } from "react-aria-components";
|
|
10
|
-
import { D as ie, E as ce } from "./field-error-headless-
|
|
11
|
-
import { L as de } from "./field-label-headless-
|
|
12
|
-
import { e as tn, c as nn, a as rn, r as vt } from "./isObjectLike-
|
|
13
|
-
import { V as on, u as sn } from "./use-dropdown-option-class-name-
|
|
10
|
+
import { D as ie, E as ce } from "./field-error-headless-CX95bMbk.js";
|
|
11
|
+
import { L as de } from "./field-label-headless-niuFY6Mw.js";
|
|
12
|
+
import { e as tn, c as nn, a as rn, r as vt } from "./isObjectLike-D7tbAd6O.js";
|
|
13
|
+
import { V as on, u as sn } from "./use-dropdown-option-class-name-DdQ0sFRF.js";
|
|
14
14
|
import { u as an } from "./use-invoke-callback-UH73A_J3.js";
|
|
15
15
|
import { C as ct } from "./chevron-down-icon-CcpVm6B-.js";
|
|
16
16
|
import { E as te } from "./error-icon-hZxQ6DEy.js";
|
|
17
17
|
import { H as Me } from "./custom-focus-class-_483Pkwp.js";
|
|
18
18
|
import { s as C } from "./field-rac.module-ts2t4WUO.js";
|
|
19
|
-
import { u as dt } from "./use-hoverable-input-class-name-
|
|
19
|
+
import { u as dt } from "./use-hoverable-input-class-name-C8iuzofb.js";
|
|
20
20
|
const ln = (e, t, o) => {
|
|
21
21
|
var s, l, i, a;
|
|
22
22
|
const r = (s = e.steps) == null ? void 0 : s.map((d) => {
|
package/dist/component/{number-input-field-rac-B5bsGDKm.js → number-input-field-rac-XqxdqTRV.js}
RENAMED
|
@@ -2,15 +2,15 @@ import { RicosViewer as P } from "@wix/ricos/viewer";
|
|
|
2
2
|
import i from "classnames";
|
|
3
3
|
import r, { useState as U, useCallback as G, useEffect as K, useRef as Q } from "react";
|
|
4
4
|
import { NumberField as $, Input as j } from "react-aria-components";
|
|
5
|
-
import { by as _, bv as S, bI as z, bA as H, U as J, aa as W, K as X, G as Y } from "./form-
|
|
5
|
+
import { by as _, bv as S, bI as z, bA as H, U as J, aa as W, K as X, G as Y } from "./form-CCQN_rPn.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as Z, E as w } from "./field-error-headless-
|
|
8
|
-
import { L as ee } from "./field-label-headless-
|
|
7
|
+
import { D as Z, E as w } from "./field-error-headless-CX95bMbk.js";
|
|
8
|
+
import { L as ee } from "./field-label-headless-niuFY6Mw.js";
|
|
9
9
|
import { g as re, c as te } from "./numeric-input-utils-CuBMi4-a.js";
|
|
10
10
|
import { u as ne } from "./use-invoke-callback-UH73A_J3.js";
|
|
11
11
|
import { E as ae } from "./error-icon-hZxQ6DEy.js";
|
|
12
12
|
import { s as p } from "./field-rac.module-ts2t4WUO.js";
|
|
13
|
-
import { u as se } from "./use-text-input-class-name-
|
|
13
|
+
import { u as se } from "./use-text-input-class-name-CK4rZeSM.js";
|
|
14
14
|
const e = ({ children: t }) => {
|
|
15
15
|
var F, L, R;
|
|
16
16
|
const { id: a, value: s, onChange: l, disabled: d, required: b, readOnly: o, onBlur: E, onFocus: f, FieldLayout: m, hasError: u, validation: n } = _(), { labelId: y } = S(), D = ((F = n == null ? void 0 : n.number) == null ? void 0 : F.multipleOf) || 1, A = (L = n == null ? void 0 : n.number) == null ? void 0 : L.maximum, g = (R = n == null ? void 0 : n.number) == null ? void 0 : R.minimum, x = O(s), [T, I] = U(x), V = ne(E), h = c(t, e.Label), q = c(t, e.Input), M = c(t, e.Description), k = c(t, e.Error), B = G((N) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useState as N, useRef as x } from "react";
|
|
2
2
|
import { RicosViewer as O } from "@wix/ricos/viewer";
|
|
3
3
|
import d from "classnames";
|
|
4
|
-
import { by as E, bv as I, bA as A, bI as v, U as B, aa as V, K as P, G as M } from "./form-
|
|
4
|
+
import { by as E, bv as I, bA as A, bI as v, U as B, aa as V, K as P, G as M } from "./form-CCQN_rPn.js";
|
|
5
5
|
import { TextField as k, Group as q, Input as U, Button as j } from "react-aria-components";
|
|
6
6
|
import { f as u, a as b } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as G, E as H } from "./field-error-headless-
|
|
8
|
-
import { L as W } from "./field-label-headless-
|
|
7
|
+
import { D as G, E as H } from "./field-error-headless-CX95bMbk.js";
|
|
8
|
+
import { L as W } from "./field-label-headless-niuFY6Mw.js";
|
|
9
9
|
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { H as K } from "./custom-focus-class-_483Pkwp.js";
|
|
11
11
|
import { s as p } from "./field-rac.module-ts2t4WUO.js";
|
|
12
|
-
import { u as Q } from "./use-text-input-class-name-
|
|
12
|
+
import { u as Q } from "./use-text-input-class-name-CK4rZeSM.js";
|
|
13
13
|
const t = ({ children: o, className: r }) => {
|
|
14
14
|
const { id: l, value: s, onChange: c, disabled: n, readOnly: m, required: a, hasError: i, onBlur: f, onFocus: C, autoComplete: y, FieldLayout: _ } = E(), { labelId: R } = I(), [D, F] = N(!1), L = u(o, t.Label), T = u(o, t.Control), w = u(o, t.Description), S = u(o, t.Error);
|
|
15
15
|
return /* @__PURE__ */ e.createElement(_, {
|
|
@@ -2,16 +2,16 @@ import r, { useCallback as P, useRef as Q } from "react";
|
|
|
2
2
|
import { RicosViewer as j } from "@wix/ricos/viewer";
|
|
3
3
|
import p from "classnames";
|
|
4
4
|
import { TextField as w, Group as z, Input as J } from "react-aria-components";
|
|
5
|
-
import { by as R, bv as D, bq as T, bI as W, bA as X, U as Y, aa as Z, K as ee, G as re } from "./form-
|
|
5
|
+
import { by as R, bv as D, bq as T, bI as W, bA as X, U as Y, aa as Z, K as ee, G as re } from "./form-CCQN_rPn.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as te, E as ne } from "./field-error-headless-
|
|
8
|
-
import { L as ae } from "./field-label-headless-
|
|
7
|
+
import { D as te, E as ne } from "./field-error-headless-CX95bMbk.js";
|
|
8
|
+
import { L as ae } from "./field-label-headless-niuFY6Mw.js";
|
|
9
9
|
import { f as N, g as se } from "./payment-field-utils-DobiK5Xh.js";
|
|
10
10
|
import { u as oe } from "./use-synced-display-value-DcAxdn3M.js";
|
|
11
11
|
import { E as le } from "./error-icon-hZxQ6DEy.js";
|
|
12
12
|
import { H as ce } from "./custom-focus-class-_483Pkwp.js";
|
|
13
13
|
import { s as d } from "./field-rac.module-ts2t4WUO.js";
|
|
14
|
-
import { u as ie } from "./use-text-input-class-name-
|
|
14
|
+
import { u as ie } from "./use-text-input-class-name-CK4rZeSM.js";
|
|
15
15
|
function ue(e, t) {
|
|
16
16
|
return {
|
|
17
17
|
productId: e.id,
|
package/dist/component/{phone-input-field-rac-BDBaqAzE.js → phone-input-field-rac-DW2vQhjC.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { RicosViewer as de } from "@wix/ricos/viewer";
|
|
2
2
|
import b from "classnames";
|
|
3
3
|
import t, { useMemo as j, useState as A, useRef as F, useEffect as k, useCallback as z, createContext as te, useContext as q, useId as ye } from "react";
|
|
4
|
-
import { bh as Ee, bI as D, bq as ne, bH as fe, by as w, bv as oe, bA as he, U as ge, aa as be, Z as Oe, K as _e, G as Ne, $ as Le, _ as Se, Y as Ie } from "./form-
|
|
4
|
+
import { bh as Ee, bI as D, bq as ne, bH as fe, by as w, bv as oe, bA as he, U as ge, aa as be, Z as Oe, K as _e, G as Ne, $ as Le, _ as Se, Y as Ie } from "./form-CCQN_rPn.js";
|
|
5
5
|
import { UNSAFE_PortalProvider as Pe } from "react-aria";
|
|
6
6
|
import { Dialog as re, OverlayTriggerStateContext as ve, ModalOverlay as Fe, Modal as De, SearchField as we, Group as U, ListBoxItem as Be, DialogTrigger as Re, Select as xe, Input as ae, Autocomplete as Me } from "react-aria-components";
|
|
7
7
|
import { f as h, a as I } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as $e, E as je } from "./field-error-headless-
|
|
9
|
-
import { L as Ae } from "./field-label-headless-
|
|
8
|
+
import { D as $e, E as je } from "./field-error-headless-CX95bMbk.js";
|
|
9
|
+
import { L as Ae } from "./field-label-headless-niuFY6Mw.js";
|
|
10
10
|
import { N as Te, S as ke } from "./non-modal-popover-D-u13tmp.js";
|
|
11
11
|
import { u as Ve } from "./use-invoke-callback-UH73A_J3.js";
|
|
12
|
-
import { b as He } from "./use-is-forced-open-dropdown-
|
|
13
|
-
import { V as Ue, a as qe } from "./use-dropdown-option-class-name-
|
|
12
|
+
import { b as He } from "./use-is-forced-open-dropdown-DkIrJPsK.js";
|
|
13
|
+
import { V as Ue, a as qe } from "./use-dropdown-option-class-name-DdQ0sFRF.js";
|
|
14
14
|
import se, { AsYouType as Ge, isValidPhoneNumber as Ye, isSupportedCountry as Ke } from "libphonenumber-js";
|
|
15
15
|
import "libphonenumber-js/metadata.min.json";
|
|
16
16
|
import { C as Q } from "./calling-country-codes-PyWuOTmF.js";
|
|
@@ -18,7 +18,7 @@ import { C as Ze } from "./chevron-down-icon-CcpVm6B-.js";
|
|
|
18
18
|
import { E as ze } from "./error-icon-hZxQ6DEy.js";
|
|
19
19
|
import { H as W } from "./custom-focus-class-_483Pkwp.js";
|
|
20
20
|
import { s as O } from "./field-rac.module-ts2t4WUO.js";
|
|
21
|
-
import { u as J } from "./use-hoverable-input-class-name-
|
|
21
|
+
import { u as J } from "./use-hoverable-input-class-name-C8iuzofb.js";
|
|
22
22
|
function X(e) {
|
|
23
23
|
const n = e ? se(e) : void 0, r = n == null ? void 0 : n.country;
|
|
24
24
|
if (r)
|
|
@@ -2,11 +2,11 @@ import t, { useMemo as G, useCallback as M, useRef as x } from "react";
|
|
|
2
2
|
import { RicosViewer as H } from "@wix/ricos/viewer";
|
|
3
3
|
import b from "classnames";
|
|
4
4
|
import { CheckboxField as $, CheckboxButton as z, NumberField as X, Group as Y, Button as Q, Input as J } from "react-aria-components";
|
|
5
|
-
import { by as U, bv as W, bq as w, bI as Z, bA as ee, U as te, aa as ne, a0 as ae, a3 as oe, a2 as re, a4 as le, K as se, G as ie, a1 as ce } from "./form-
|
|
5
|
+
import { by as U, bv as W, bq as w, bI as Z, bA as ee, U as te, aa as ne, a0 as ae, a3 as oe, a2 as re, a4 as le, K as se, G as ie, a1 as ce } from "./form-CCQN_rPn.js";
|
|
6
6
|
import { f as I, a as f } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { L as ue, g as me } from "./field-label-headless-
|
|
7
|
+
import { L as ue, g as me } from "./field-label-headless-niuFY6Mw.js";
|
|
8
8
|
import { f as pe } from "./format-currency-BwShJ9vM.js";
|
|
9
|
-
import { D as de, E as Ee } from "./field-error-headless-
|
|
9
|
+
import { D as de, E as Ee } from "./field-error-headless-CX95bMbk.js";
|
|
10
10
|
import { F as ye } from "./fieldset-headless-CD3fds9J.js";
|
|
11
11
|
import { g as _e } from "./payment-field-utils-DobiK5Xh.js";
|
|
12
12
|
import { S as be } from "./selection-indicator-XQ8MYHUQ.js";
|
|
@@ -14,7 +14,7 @@ import { E as fe } from "./error-icon-hZxQ6DEy.js";
|
|
|
14
14
|
import { C as Ie } from "./checkbox-indicator-module-classes-DUTR4mcg.js";
|
|
15
15
|
import { s as q } from "./field-rac.module-ts2t4WUO.js";
|
|
16
16
|
import { o as j } from "./options-rac.module-_THNq6Qq.js";
|
|
17
|
-
import { u as Oe } from "./use-element-state-class-name-
|
|
17
|
+
import { u as Oe } from "./use-element-state-class-name-C2tQgxUX.js";
|
|
18
18
|
var Le = /* @__PURE__ */ (function(e) {
|
|
19
19
|
return e.crop = "CROP", e.fit = "FIT", e;
|
|
20
20
|
})({}), k = /* @__PURE__ */ (function(e) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import a, { useRef as F, useState as T, useEffect as B, useCallback as H } from "react";
|
|
2
2
|
import { RadioGroup as A, RadioField as k, RadioButton as G, TextField as P, Input as $ } from "react-aria-components";
|
|
3
|
-
import { by as g, bv as q, bI as D, bA as x } from "./form-
|
|
3
|
+
import { by as g, bv as q, bI as D, bA as x } from "./form-CCQN_rPn.js";
|
|
4
4
|
import { f as u, a as L } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as U, E as M } from "./field-error-headless-
|
|
6
|
-
import { L as j } from "./field-label-headless-
|
|
5
|
+
import { D as U, E as M } from "./field-error-headless-CX95bMbk.js";
|
|
6
|
+
import { L as j } from "./field-label-headless-niuFY6Mw.js";
|
|
7
7
|
import { S as w } from "./selection-indicator-XQ8MYHUQ.js";
|
|
8
8
|
const v = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ?? n.label) === t), S = (e, t) => !!t && !z(e, t), J = (e, t) => {
|
|
9
9
|
const l = t ? t.length + 2 : 0;
|
package/dist/component/{radio-group-field-rac-DlMXhW_S.js → radio-group-field-rac-BOEWcfT9.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { RicosViewer as m } from "@wix/ricos/viewer";
|
|
2
2
|
import t from "classnames";
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { a, s, R as n } from "./radio-button-module-classes-
|
|
4
|
+
import { a, s, R as n } from "./radio-button-module-classes-CY883yGO.js";
|
|
5
5
|
import { E as c } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as r } from "./field-rac.module-ts2t4WUO.js";
|
|
7
|
-
import { U as i, aa as E, a5 as p, a6 as O, K as R, G as _, a7 as I } from "./form-
|
|
7
|
+
import { U as i, aa as E, a5 as p, a6 as O, K as R, G as _, a7 as I } from "./form-CCQN_rPn.js";
|
|
8
8
|
import { o as L } from "./options-rac.module-_THNq6Qq.js";
|
|
9
|
-
import { u as N } from "./use-element-state-class-name-
|
|
10
|
-
import { u } from "./use-text-input-class-name-
|
|
9
|
+
import { u as N } from "./use-element-state-class-name-C2tQgxUX.js";
|
|
10
|
+
import { u } from "./use-text-input-class-name-CK4rZeSM.js";
|
|
11
11
|
const D = ({ content: o, locale: l }) => /* @__PURE__ */ e.createElement(m, {
|
|
12
12
|
content: o,
|
|
13
13
|
locale: l
|
package/dist/component/{rating-input-field-rac-DUPJUAX2.js → rating-input-field-rac-83FXIVpy.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RicosViewer as D } from "@wix/ricos/viewer";
|
|
2
2
|
import u from "classnames";
|
|
3
3
|
import e, { useCallback as N, useState as O, useRef as A } from "react";
|
|
4
|
-
import { by as I, bv as v, bI as T, U as H, aa as M, a8 as w, K as B, G as P, a9 as G } from "./form-
|
|
4
|
+
import { by as I, bv as v, bI as T, U as H, aa as M, a8 as w, K as B, G as P, a9 as G } from "./form-CCQN_rPn.js";
|
|
5
5
|
import { RadioGroup as q, RadioField as k, RadioButton as x } from "react-aria-components";
|
|
6
6
|
import { f as E, a as U } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as z, E as K } from "./field-error-headless-
|
|
8
|
-
import { L as Q } from "./field-label-headless-
|
|
7
|
+
import { D as z, E as K } from "./field-error-headless-CX95bMbk.js";
|
|
8
|
+
import { L as Q } from "./field-label-headless-niuFY6Mw.js";
|
|
9
9
|
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as g } from "./field-rac.module-ts2t4WUO.js";
|
|
11
|
-
import { u as j } from "./use-element-state-class-name-
|
|
11
|
+
import { u as j } from "./use-element-state-class-name-C2tQgxUX.js";
|
|
12
12
|
const t = ({ children: a }) => {
|
|
13
13
|
const { id: n, value: r, onChange: i, disabled: l, readOnly: m, required: d, hasError: c, onBlur: o, onFocus: C, FieldLayout: R } = I(), { labelId: _ } = v(), L = N((y) => i(Number(y)), [
|
|
14
14
|
i
|
package/dist/component/{rich-content-rac.module-C9bGXB69.js → rich-content-rac.module-Bdx8hK3J.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import { by as a, bq as i, bI as T } from "./form-
|
|
2
|
+
import { by as a, bq as i, bI as T } from "./form-CCQN_rPn.js";
|
|
3
3
|
import { Button as d } from "react-aria-components";
|
|
4
4
|
import { D as r } from "./data-hooks-Dkw1pbRj.js";
|
|
5
5
|
import { truncateRichContent as _ } from "@wix/ricos/content";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import l from "classnames";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { by as m, aL as i, at as u, b9 as R, bc as T } from "./form-
|
|
4
|
-
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-
|
|
3
|
+
import { by as m, aL as i, at as u, b9 as R, bc as T } from "./form-CCQN_rPn.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-Bdx8hK3J.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-PR_iLdmo.js → service-dropdown-rac-CjFiqV1n.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import o, { useRef as T, useMemo as _, useCallback as C, useEffect as b } from "react";
|
|
2
2
|
import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
3
3
|
import E from "classnames";
|
|
4
|
-
import { bu as P, bI as A, F as y, by as M, bq as H, aA as U, U as V, aa as q, H as x, K as W, G as k } from "./form-
|
|
5
|
-
import { u as B } from "./use-service-options-base-
|
|
6
|
-
import { D as u, u as G } from "./use-dropdown-trigger-class-name-
|
|
4
|
+
import { bu as P, bI as A, F as y, by as M, bq as H, aA as U, U as V, aa as q, H as x, K as W, G as k } from "./form-CCQN_rPn.js";
|
|
5
|
+
import { u as B } from "./use-service-options-base-B-xAR-tx.js";
|
|
6
|
+
import { D as u, u as G } from "./use-dropdown-trigger-class-name-hB8KYv-I.js";
|
|
7
7
|
import { C as K } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as Q } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as Y } from "./custom-focus-class-_483Pkwp.js";
|
|
10
10
|
import { s as i } from "./field-rac.module-ts2t4WUO.js";
|
|
11
|
-
import { u as j } from "./use-dropdown-option-class-name-
|
|
11
|
+
import { u as j } from "./use-dropdown-option-class-name-DdQ0sFRF.js";
|
|
12
12
|
const z = "00000000-0000-0000-0000-000000000000", J = (e) => {
|
|
13
13
|
const { actions: t } = P(), { t: D } = A(), { addOther: n, addOtherLabel: p } = e, c = p || D("add-other.default-other-option-label"), a = T(!0), d = _(() => {
|
|
14
14
|
var s;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useEffect as I, useMemo as L } from "react";
|
|
2
2
|
import { RicosViewer as S } from "@wix/ricos/viewer";
|
|
3
3
|
import a from "classnames";
|
|
4
|
-
import { F as R, by as d, aA as D, U as F, aa as N, p as f, r as h, K as b, G as A, q as M } from "./form-
|
|
5
|
-
import { u as v } from "./use-service-options-base-
|
|
6
|
-
import { C as i } from "./checkbox-group-field-headless-
|
|
4
|
+
import { F as R, by as d, aA as D, U as F, aa as N, p as f, r as h, K as b, G as A, q as M } from "./form-CCQN_rPn.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-B-xAR-tx.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-BiQ4coe6.js";
|
|
7
7
|
import { E as x } from "./error-icon-hZxQ6DEy.js";
|
|
8
8
|
import { C as P } from "./checkbox-indicator-module-classes-DUTR4mcg.js";
|
|
9
9
|
import { s as n } from "./field-rac.module-ts2t4WUO.js";
|
|
10
10
|
import { o as _ } from "./options-rac.module-_THNq6Qq.js";
|
|
11
|
-
import { u as T } from "./use-element-state-class-name-
|
|
12
|
-
import { u as y } from "./use-text-input-class-name-
|
|
11
|
+
import { u as T } from "./use-element-state-class-name-C2tQgxUX.js";
|
|
12
|
+
import { u as y } from "./use-text-input-class-name-CK4rZeSM.js";
|
|
13
13
|
const k = (s) => {
|
|
14
14
|
var C;
|
|
15
15
|
const { isLoading: o, options: r, isEmpty: l, shouldRender: E, setOptions: c, setIsEmpty: m, setHasInitialDataLoaded: p } = v({
|