@wix/form-elements 1.70.0 → 1.72.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-CrzIERuK.js → appointment-rac-CvecMhTP.js} +4 -4
- package/dist/component/{bookings-address-rac-Dfkpd7m-.js → bookings-address-rac-Bzh6N9eV.js} +1 -1
- package/dist/component/{bookings-email-rac-qQ7bgngn.js → bookings-email-rac-kh4HZ9zW.js} +1 -1
- package/dist/component/{bookings-first-name-rac-plgTTOzk.js → bookings-first-name-rac-DIe5Nxtm.js} +1 -1
- package/dist/component/{bookings-header-rac-B3LjHXJs.js → bookings-header-rac-CcZrhPWt.js} +1 -1
- package/dist/component/{bookings-last-name-rac-DwDrEmTT.js → bookings-last-name-rac-DynAXyOh.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-EGRy_-2H.js → bookings-login-bar-rac-CiAreT-B.js} +1 -1
- package/dist/component/{bookings-phone-rac-BgViVOU-.js → bookings-phone-rac-Be7XP3CC.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-CDwCdPHa.js → bookings-rich-text-rac-CsOSjxCm.js} +1 -1
- package/dist/component/{checkbox-field-rac-wF2nX9PW.js → checkbox-field-rac-YmbfJMcm.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-jNzvn7tN.js → checkbox-group-field-headless-DnI-niUS.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-6PaMjzeg.js → checkbox-group-field-rac-Cbv9r_IR.js} +20 -19
- package/dist/component/{checkbox-group-rac-BV9-hfo0.js → checkbox-group-rac-6W04r6Nz.js} +1 -1
- package/dist/component/{checkbox-rac-BbKD6UEX.js → checkbox-rac-Dv96xsq2.js} +1 -1
- package/dist/component/{contacts-address-rac-pDLwXVYR.js → contacts-address-rac-BQSEdyVn.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-BJx3BjlB.js → contacts-birthdate-rac-CNZp5aiS.js} +1 -1
- package/dist/component/{contacts-company-rac-DyKNlrhE.js → contacts-company-rac-BwY-2pG_.js} +1 -1
- package/dist/component/{contacts-email-rac-DmYj37_A.js → contacts-email-rac-CX9LDVtk.js} +1 -1
- package/dist/component/{contacts-first-name-rac-DeyEyMG0.js → contacts-first-name-rac-CXzh7vHC.js} +1 -1
- package/dist/component/{contacts-last-name-rac-SwBI_L_7.js → contacts-last-name-rac-y93LJlBv.js} +1 -1
- package/dist/component/{contacts-phone-rac-BRDIz_ya.js → contacts-phone-rac-zO2Y3fGa.js} +1 -1
- package/dist/component/{contacts-position-rac-DDfta8r4.js → contacts-position-rac-y7Nd4s6j.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-Bx6b16b3.js → contacts-subscribe-rac-D5usboPe.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-DICtcCkJ.js → contacts-tax-id-rac-DT42qK_C.js} +1 -1
- package/dist/component/{date-availability-DM6KcDU2.js → date-availability-BUg7fwNs.js} +1 -1
- package/dist/component/{date-input-field-rac-F_DfMOXT.js → date-input-field-rac-97DJQbSL.js} +4 -4
- package/dist/component/{date-input-rac-Ho7shG41.js → date-input-rac-BTetYZVn.js} +1 -1
- package/dist/component/{date-picker-field-rac-BEXQ7hyT.js → date-picker-field-rac-BOzUTQ53.js} +5 -5
- package/dist/component/{date-picker-rac-C32DD1bT.js → date-picker-rac-Cz8QZr18.js} +1 -1
- package/dist/component/{date-time-input-field-rac-BVbgkFtL.js → date-time-input-field-rac-Cx4a-dzv.js} +4 -4
- package/dist/component/{date-time-input-rac-DB4xpq5h.js → date-time-input-rac-BlSvC4v4.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-C2s4IBgt.js → dext-checkbox-group-rac-ijVB8NX2.js} +2 -2
- package/dist/component/{dext-checkbox-rac-NyBGiLzP.js → dext-checkbox-rac-0F6rTc_y.js} +1 -1
- package/dist/component/{dext-date-picker-rac-JKcEE1fQ.js → dext-date-picker-rac-vjt7d8gT.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-DtamPz-x.js → dext-date-time-input-rac-CpJz0KtU.js} +1 -1
- package/dist/component/{dext-dropdown-rac-194Qq0or.js → dext-dropdown-rac-yUJT-sKU.js} +1 -1
- package/dist/component/{dext-email-rac-Chwg6ePI.js → dext-email-rac-D1K34PtX.js} +1 -1
- package/dist/component/{dext-number-input-rac-DORye-Si.js → dext-number-input-rac-D-7zudVq.js} +1 -1
- package/dist/component/{dext-phone-rac-jykmsttk.js → dext-phone-rac-B4HebC40.js} +1 -1
- package/dist/component/{dext-radio-group-rac-MvkExS4d.js → dext-radio-group-rac-DWL6wrD6.js} +2 -2
- package/dist/component/{dext-rating-input-rac-DUsqZg7A.js → dext-rating-input-rac-p_FwVz4F.js} +1 -1
- package/dist/component/{dext-tags-rac-DnMlv2wO.js → dext-tags-rac-DNZ06TfG.js} +2 -2
- package/dist/component/{dext-text-area-rac-DGMWNaah.js → dext-text-area-rac-D9Ra_RXC.js} +1 -1
- package/dist/component/{dext-text-input-rac-Cv0NkJrp.js → dext-text-input-rac-gms4VXn_.js} +1 -1
- package/dist/component/{dext-url-input-rac-DpMC8935.js → dext-url-input-rac-CDZnjVL0.js} +1 -1
- package/dist/component/donation-rac-BPy2Dkj_.js +308 -0
- package/dist/component/{dropdown-field-headless-C_-tm9VD.js → dropdown-field-headless-CiK1C6eu.js} +3 -3
- package/dist/component/{dropdown-field-rac-DRKVFHE1.js → dropdown-field-rac-ByUgK0Dh.js} +2 -2
- package/dist/component/{dropdown-rac-BLqlMGTK.js → dropdown-rac-BZQe_0qb.js} +1 -1
- package/dist/component/{ecom-address-rac-BdlTO9SW.js → ecom-address-rac-Du8bSZKs.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-CcF5V54K.js → ecom-subscription-checkbox-rac-ZgT_Mx5b.js} +2 -2
- package/dist/component/{email-input-field-rac-C-lfW9Ua.js → email-input-field-rac-DWXEywOx.js} +3 -3
- package/dist/component/{events-repeater-rac-sHbYZ-WY.js → events-repeater-rac-DBofzCIJ.js} +3 -3
- package/dist/component/{events-rsvp-rac-Bx_xn-K0.js → events-rsvp-rac-CYwLg3Mp.js} +2 -2
- package/dist/component/{field-error-headless-DWbRjy6q.js → field-error-headless-BAVGL8JO.js} +1 -1
- package/dist/component/{field-label-headless-DUWK0CI-.js → field-label-headless-CwSCKtI1.js} +1 -1
- package/dist/component/field-rac.module-Cac83bU5.js +21 -0
- package/dist/component/{file-upload-rac-D9NdbrRq.js → file-upload-rac-BI_SxUFD.js} +4 -4
- package/dist/component/{fixed-payment-rac-i_hkRpLX.js → fixed-payment-rac-m2iFI5v_.js} +4 -4
- package/dist/component/{form-Pr0rklwH.js → form-VD2Og15y.js} +69 -69
- package/dist/component/form-element-keys-P3mtjfCv.js +7 -0
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-C22TlZYz.js → header-field-rac-C7EKGD8f.js} +2 -2
- package/dist/component/{header-rac-CRBMp0xN.js → header-rac-CE4fzveg.js} +1 -1
- package/dist/component/image-choice-rac-CXABLqND.js +147 -0
- package/dist/component/{index-BJ-kFqI7.js → index-CHqhveZ1.js} +2 -2
- package/dist/component/{index-FZEaJpsD.js → index-DI0IAMNV.js} +4 -4
- package/dist/component/{isObjectLike-DnLDLZFA.js → isObjectLike-D_6b_ESv.js} +1 -1
- package/dist/component/{multiline-address-field-rac-c1vN8M4W.js → multiline-address-field-rac-3wB7fWdZ.js} +5 -5
- package/dist/component/{multiline-address-rac-BVd_JUMw.js → multiline-address-rac-RnXiGQRs.js} +1 -1
- package/dist/component/{number-input-field-rac-DXfWTZkC.js → number-input-field-rac-BiC2NsZQ.js} +4 -4
- package/dist/component/{number-input-rac-uUl9e8AI.js → number-input-rac-BphPpAvr.js} +1 -1
- package/dist/component/{password-rac-BDJ6HPYo.js → password-rac-DBk3CNX3.js} +4 -4
- package/dist/component/{payment-input-rac-XRcefuRt.js → payment-input-rac-DNYLuIV-.js} +4 -4
- package/dist/component/{phone-input-field-rac-DHgA6BeE.js → phone-input-field-rac-C30S0p_Y.js} +4 -4
- package/dist/component/{phone-rac-CMtVXoft.js → phone-rac-vzh9GsbA.js} +1 -1
- package/dist/component/{product-list-rac-CBLHOwHX.js → product-list-rac-DMdxtFZ1.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-CAmXql2m.js → quiz-radio-group-rac-CX9W6rGY.js} +1 -1
- package/dist/component/{radio-group-field-rac-DBjgd4cD.js → radio-group-field-rac-D7MwZqH6.js} +2 -2
- package/dist/component/{radio-group-field-rac.module-CqOyiO2g.js → radio-group-field-rac.module-DxEUzWwB.js} +3 -3
- package/dist/component/{radio-group-rac-CrEtErkv.js → radio-group-rac-BK7qn-h2.js} +1 -1
- package/dist/component/{rating-input-field-rac-BWn0usVp.js → rating-input-field-rac-CUTqEPPd.js} +4 -4
- package/dist/component/{rating-input-rac-CtidC0z2.js → rating-input-rac-Dy335I62.js} +1 -1
- package/dist/component/{rich-content-rac.module-DX2Jd5w6.js → rich-content-rac.module-DrHi1MSI.js} +1 -1
- package/dist/component/{rich-text-field-rac-CusODU1H.js → rich-text-field-rac-CMnH_2lB.js} +2 -2
- package/dist/component/{rich-text-rac-wq_vA-qU.js → rich-text-rac-Cebhj1Mq.js} +1 -1
- package/dist/component/{service-dropdown-rac--YcOnGmq.js → service-dropdown-rac-BKsuPUHs.js} +4 -4
- package/dist/component/{services-multi-choice-rac-D_kSdluR.js → services-multi-choice-rac-BCzzyhJY.js} +4 -4
- package/dist/component/{signature-rac-DBAg8bEo.js → signature-rac-TuOQR74M.js} +4 -4
- package/dist/component/{submit-button-rac-BW3P99jM.js → submit-button-rac-Ct4NVia5.js} +1 -1
- package/dist/component/tags-field-rac-DYdaPvQc.js +207 -0
- package/dist/component/{tags-rac-Bqo0dqEU.js → tags-rac-BvyXZ_95.js} +1 -1
- package/dist/component/{text-area-field-rac-DaWfCdVq.js → text-area-field-rac-YmesRjRH.js} +4 -4
- package/dist/component/{text-area-rac-BVnA5cPV.js → text-area-rac-Bk0bbyrK.js} +1 -1
- package/dist/component/{text-input-field-rac-Dm6a4jOn.js → text-input-field-rac-CW0ZR1y2.js} +2 -2
- package/dist/component/{text-input-headless-fTooOIqx.js → text-input-headless-C1m6gpFi.js} +3 -3
- package/dist/component/{text-input-rac-DA0we6AY.js → text-input-rac-5S5KE2Qr.js} +1 -1
- package/dist/component/{time-input-rac-DQ9raFL_.js → time-input-rac-CfoKMXeX.js} +4 -4
- package/dist/component/{url-input-field-rac-BEpbWAVe.js → url-input-field-rac-aQiV0Sti.js} +4 -4
- package/dist/component/{url-input-rac-Du6EqRQX.js → url-input-rac-Ko5uylZw.js} +1 -1
- package/dist/component/{use-service-options-base-OMXZXAVb.js → use-service-options-base-BagPjcuW.js} +1 -1
- package/package.json +2 -2
- package/dist/component/donation-rac-DeBx8D9a.js +0 -302
- package/dist/component/field-rac.module-DnUIb9Oh.js +0 -21
- package/dist/component/image-choice-rac-cjylrvfO.js +0 -141
- package/dist/component/tags-field-rac-DSdwley7.js +0 -201
|
@@ -2,18 +2,18 @@ import { RicosViewer as G } from "@wix/ricos/viewer";
|
|
|
2
2
|
import C from "classnames";
|
|
3
3
|
import n, { useMemo as w, createContext as We, useContext as De, useState as ye, useRef as B, useCallback as D, useEffect as Ve } from "react";
|
|
4
4
|
import { UNSAFE_PortalProvider as _t } from "react-aria";
|
|
5
|
-
import { ad as bt, c as ft, a9 as Pt, ab as yt, G as Tt, H as qt, u as Mt, z as V, F as K, as as qe, a2 as at, ai as P, af as T, ak as le, ae as Ct, Q as wt, C as he, a0 as xt, a4 as Bt, ap as kt, aj as $t, ao as Ut, a7 as Wt, Y as Vt, a6 as Kt, al as Yt, j as jt } from "./form-
|
|
5
|
+
import { ad as bt, c as ft, a9 as Pt, ab as yt, G as Tt, H as qt, u as Mt, z as V, F as K, as as qe, a2 as at, ai as P, af as T, ak as le, ae as Ct, Q as wt, C as he, a0 as xt, a4 as Bt, ap as kt, aj as $t, ao as Ut, a7 as Wt, Y as Vt, a6 as Kt, al as Yt, j as jt } from "./form-VD2Og15y.js";
|
|
6
6
|
import { f as E, a as h } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import { F as Ht, V as Jt } from "./headless-styles-CmcyA_pi.js";
|
|
8
8
|
import { TextField as Ce, Input as ie, ComboBoxStateContext as It, ComboBox as Re, Popover as Ae, ListBox as _e, ListBoxItem as Pe, Group as Lt, Button as Nt } from "react-aria-components";
|
|
9
|
-
import { D as ce, E as de } from "./field-error-headless-
|
|
10
|
-
import { L as ue } from "./field-label-headless-
|
|
11
|
-
import { e as zt, c as Gt, a as Xt, r as Ot } from "./isObjectLike-
|
|
9
|
+
import { D as ce, E as de } from "./field-error-headless-BAVGL8JO.js";
|
|
10
|
+
import { L as ue } from "./field-label-headless-CwSCKtI1.js";
|
|
11
|
+
import { e as zt, c as Gt, a as Xt, r as Ot } from "./isObjectLike-D_6b_ESv.js";
|
|
12
12
|
import { u as Qt } from "./use-invoke-callback-UH73A_J3.js";
|
|
13
13
|
import { C as lt } from "./chevron-down-icon-CcpVm6B-.js";
|
|
14
14
|
import { E as X } from "./error-icon-hZxQ6DEy.js";
|
|
15
15
|
import { H as fe } from "./custom-focus-class-_483Pkwp.js";
|
|
16
|
-
import { s as f } from "./field-rac.module-
|
|
16
|
+
import { s as f } from "./field-rac.module-Cac83bU5.js";
|
|
17
17
|
import { z as Q, P as Z, y as ee, C as ge, q as te, j as ne } from "./form-element-classes-BSMjWijd.js";
|
|
18
18
|
const Zt = (e, t, o) => {
|
|
19
19
|
var a, l, i, s;
|
package/dist/component/{number-input-field-rac-DXfWTZkC.js → number-input-field-rac-BiC2NsZQ.js}
RENAMED
|
@@ -2,14 +2,14 @@ import { RicosViewer as v } from "@wix/ricos/viewer";
|
|
|
2
2
|
import m from "classnames";
|
|
3
3
|
import r, { useState as U, useCallback as j, useEffect as z, useRef as Q } from "react";
|
|
4
4
|
import { NumberField as $, Input as G } from "react-aria-components";
|
|
5
|
-
import { ai as C, af as S, as as H, ak as J } from "./form-
|
|
5
|
+
import { ai as C, af as S, as as H, ak as J } from "./form-VD2Og15y.js";
|
|
6
6
|
import { f as d } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as K, E as W } from "./field-error-headless-
|
|
8
|
-
import { L as X } from "./field-label-headless-
|
|
7
|
+
import { D as K, E as W } from "./field-error-headless-BAVGL8JO.js";
|
|
8
|
+
import { L as X } from "./field-label-headless-CwSCKtI1.js";
|
|
9
9
|
import { g as Y, c as Z } from "./numeric-input-utils-CuBMi4-a.js";
|
|
10
10
|
import { u as w } from "./use-invoke-callback-UH73A_J3.js";
|
|
11
11
|
import { E as ee } from "./error-icon-hZxQ6DEy.js";
|
|
12
|
-
import { s as i } from "./field-rac.module-
|
|
12
|
+
import { s as i } from "./field-rac.module-Cac83bU5.js";
|
|
13
13
|
import { z as re, P as te, y as ne, q as ae, j as se } from "./form-element-classes-BSMjWijd.js";
|
|
14
14
|
const e = ({ children: n }) => {
|
|
15
15
|
var D, L, R;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import e, { useState as h, useRef as N } from "react";
|
|
2
2
|
import { RicosViewer as O } from "@wix/ricos/viewer";
|
|
3
3
|
import d from "classnames";
|
|
4
|
-
import { ai as p, af as I, ak as x, as as A } from "./form-
|
|
4
|
+
import { ai as p, af as I, ak as x, as as A } from "./form-VD2Og15y.js";
|
|
5
5
|
import { TextField as B, Group as P, Input as V, Button as v } from "react-aria-components";
|
|
6
6
|
import { f as E, a as g } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as M, E as k } from "./field-error-headless-
|
|
8
|
-
import { L as q } from "./field-label-headless-
|
|
7
|
+
import { D as M, E as k } from "./field-error-headless-BAVGL8JO.js";
|
|
8
|
+
import { L as q } from "./field-label-headless-CwSCKtI1.js";
|
|
9
9
|
import { E as U } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { H as j } from "./custom-focus-class-_483Pkwp.js";
|
|
11
|
-
import { s as u } from "./field-rac.module-
|
|
11
|
+
import { s as u } from "./field-rac.module-Cac83bU5.js";
|
|
12
12
|
import { z as H, P as W, y as Z, q as z, j as G } from "./form-element-classes-BSMjWijd.js";
|
|
13
13
|
const t = ({ children: r, className: o }) => {
|
|
14
14
|
const { id: i, value: s, onChange: c, disabled: l, readOnly: m, required: n, hasError: a, onBlur: f, onFocus: _, FieldLayout: y } = p(), { labelId: C } = I(), [F, L] = h(!1), R = E(r, t.Label), D = E(r, t.Control), T = E(r, t.Description), S = E(r, t.Error);
|
|
@@ -2,15 +2,15 @@ import r, { useCallback as V, useRef as z } from "react";
|
|
|
2
2
|
import { RicosViewer as Q } from "@wix/ricos/viewer";
|
|
3
3
|
import i from "classnames";
|
|
4
4
|
import { TextField as w, Group as J, Input as K } from "react-aria-components";
|
|
5
|
-
import { ai as D, af as S, ab as x, as as W, ak as X } from "./form-
|
|
5
|
+
import { ai as D, af as S, ab as x, as as W, ak as X } from "./form-VD2Og15y.js";
|
|
6
6
|
import { f as m } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as Y, E as Z } from "./field-error-headless-
|
|
8
|
-
import { L as ee } from "./field-label-headless-
|
|
7
|
+
import { D as Y, E as Z } from "./field-error-headless-BAVGL8JO.js";
|
|
8
|
+
import { L as ee } from "./field-label-headless-CwSCKtI1.js";
|
|
9
9
|
import { f as R, g as re } from "./payment-field-utils-DobiK5Xh.js";
|
|
10
10
|
import { u as te } from "./use-synced-display-value-DcAxdn3M.js";
|
|
11
11
|
import { E as ne } from "./error-icon-hZxQ6DEy.js";
|
|
12
12
|
import { H as ae } from "./custom-focus-class-_483Pkwp.js";
|
|
13
|
-
import { s as u } from "./field-rac.module-
|
|
13
|
+
import { s as u } from "./field-rac.module-Cac83bU5.js";
|
|
14
14
|
import { z as se, P as oe, y as le, q as ce, j as ie } from "./form-element-classes-BSMjWijd.js";
|
|
15
15
|
function ue(e, t) {
|
|
16
16
|
return {
|
package/dist/component/{phone-input-field-rac-DHgA6BeE.js → phone-input-field-rac-C30S0p_Y.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { RicosViewer as ye } from "@wix/ricos/viewer";
|
|
2
2
|
import b from "classnames";
|
|
3
3
|
import t, { useMemo as B, useState as q, useRef as P, useEffect as w, useCallback as Z, createContext as te, useContext as V } from "react";
|
|
4
|
-
import { a2 as Ee, as as v, ab as ne, ar as fe, ai as M, af as oe, ak as he } from "./form-
|
|
4
|
+
import { a2 as Ee, as as v, ab as ne, ar as fe, ai as M, af as oe, ak as he } from "./form-VD2Og15y.js";
|
|
5
5
|
import { UNSAFE_PortalProvider as ge } from "react-aria";
|
|
6
6
|
import { Dialog as re, OverlayTriggerStateContext as be, ModalOverlay as _e, Modal as Ne, SearchField as Oe, ListBoxItem as Se, Group as Q, DialogTrigger as Le, Select as Ie, Input as ae, ListBox as Pe, Autocomplete as ve } from "react-aria-components";
|
|
7
7
|
import { f as h, a as ce } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as Fe, E as De } from "./field-error-headless-
|
|
9
|
-
import { L as Re } from "./field-label-headless-
|
|
8
|
+
import { D as Fe, E as De } from "./field-error-headless-BAVGL8JO.js";
|
|
9
|
+
import { L as Re } from "./field-label-headless-CwSCKtI1.js";
|
|
10
10
|
import { N as xe, S as Be } from "./non-modal-popover-DtIMXHbe.js";
|
|
11
11
|
import { u as Me } from "./use-invoke-callback-UH73A_J3.js";
|
|
12
12
|
import se, { AsYouType as $e, isValidPhoneNumber as Ae, isSupportedCountry as Te } from "libphonenumber-js";
|
|
@@ -15,7 +15,7 @@ import { C as W } from "./calling-country-codes-PyWuOTmF.js";
|
|
|
15
15
|
import { C as we } from "./chevron-down-icon-CcpVm6B-.js";
|
|
16
16
|
import { E as Ue } from "./error-icon-hZxQ6DEy.js";
|
|
17
17
|
import { H as J } from "./custom-focus-class-_483Pkwp.js";
|
|
18
|
-
import { s as _ } from "./field-rac.module-
|
|
18
|
+
import { s as _ } from "./field-rac.module-Cac83bU5.js";
|
|
19
19
|
import { z as ke, P as qe, y as Ve, C as ze, q as Ge, j as He } from "./form-element-classes-BSMjWijd.js";
|
|
20
20
|
function X(e) {
|
|
21
21
|
const n = e ? se(e) : void 0, r = n == null ? void 0 : n.country;
|
|
@@ -2,15 +2,15 @@ import t, { useMemo as H, useCallback as x, useRef as B } from "react";
|
|
|
2
2
|
import { RicosViewer as $ } from "@wix/ricos/viewer";
|
|
3
3
|
import _ from "classnames";
|
|
4
4
|
import { CheckboxField as K, CheckboxButton as j, NumberField as J, Group as W, Button as U, Input as X } from "react-aria-components";
|
|
5
|
-
import { ai as M, af as Y, ab as w, as as Z, ak as ee } from "./form-
|
|
5
|
+
import { ai as M, af as Y, ab as w, as as Z, ak as ee } from "./form-VD2Og15y.js";
|
|
6
6
|
import { f as b, a as L } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { L as te, g as ne } from "./field-label-headless-
|
|
7
|
+
import { L as te, g as ne } from "./field-label-headless-CwSCKtI1.js";
|
|
8
8
|
import { f as ae } from "./format-currency-BwShJ9vM.js";
|
|
9
|
-
import { D as oe, E as re } from "./field-error-headless-
|
|
9
|
+
import { D as oe, E as re } from "./field-error-headless-BAVGL8JO.js";
|
|
10
10
|
import { F as ie } from "./fieldset-headless-CD3fds9J.js";
|
|
11
11
|
import { g as le } from "./payment-field-utils-DobiK5Xh.js";
|
|
12
12
|
import { E as se } from "./error-icon-hZxQ6DEy.js";
|
|
13
|
-
import { s as S } from "./field-rac.module-
|
|
13
|
+
import { s as S } from "./field-rac.module-Cac83bU5.js";
|
|
14
14
|
import { z as ce, P as ue, D as me, H as pe, G as de, E as Ee, y as ye, q as fe, j as _e } from "./form-element-classes-BSMjWijd.js";
|
|
15
15
|
import { o as Q } from "./options-rac.module-KM-VT_KY.js";
|
|
16
16
|
var be = /* @__PURE__ */ (function(e) {
|
package/dist/component/{quiz-radio-group-rac-CAmXql2m.js → quiz-radio-group-rac-CX9W6rGY.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _ from "react";
|
|
2
|
-
import { R } from "./radio-group-field-rac-
|
|
2
|
+
import { R } from "./radio-group-field-rac-D7MwZqH6.js";
|
|
3
3
|
import { K as o, J as r, I as O } from "./form-element-classes-BSMjWijd.js";
|
|
4
4
|
const t = () => /* @__PURE__ */ _.createElement(R, {
|
|
5
5
|
classes: {
|
package/dist/component/{radio-group-field-rac-DBjgd4cD.js → radio-group-field-rac-D7MwZqH6.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { RicosViewer as s } from "@wix/ricos/viewer";
|
|
2
2
|
import a from "classnames";
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { R as t, s as r } from "./radio-group-field-rac.module-
|
|
4
|
+
import { R as t, s as r } from "./radio-group-field-rac.module-DxEUzWwB.js";
|
|
5
5
|
import { E as m } from "./error-icon-hZxQ6DEy.js";
|
|
6
|
-
import { s as l } from "./field-rac.module-
|
|
6
|
+
import { s as l } from "./field-rac.module-Cac83bU5.js";
|
|
7
7
|
import { z as c, P as i, N as E, M as _, L as R, y as p, q as O, j as L } from "./form-element-classes-BSMjWijd.js";
|
|
8
8
|
const I = ({ content: o, locale: n }) => /* @__PURE__ */ e.createElement(s, {
|
|
9
9
|
content: o,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import s, { useRef as y, useState as V, useEffect as S, useCallback as B } from "react";
|
|
2
2
|
import { RadioGroup as T, RadioField as k, RadioButton as G, TextField as M, Input as P } from "react-aria-components";
|
|
3
|
-
import { ai as C, af as $, as as F, ab as q, ak as x } from "./form-
|
|
3
|
+
import { ai as C, af as $, as as F, ab as q, ak as x } from "./form-VD2Og15y.js";
|
|
4
4
|
import { f as d, a as g } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as U, E as A } from "./field-error-headless-
|
|
6
|
-
import { L as H } from "./field-label-headless-
|
|
5
|
+
import { D as U, E as A } from "./field-error-headless-BAVGL8JO.js";
|
|
6
|
+
import { L as H } from "./field-label-headless-CwSCKtI1.js";
|
|
7
7
|
import { N as j } from "./options-layout-constants-DEfIEJWD.js";
|
|
8
8
|
const L = "Other", w = (e, t) => e == null ? void 0 : e.find((o) => (o.value ?? o.label) === t), R = (e, t) => !!t && !w(e, t), z = (e, t) => {
|
|
9
9
|
const a = t ? t.length + 2 : 0;
|
package/dist/component/{rating-input-field-rac-BWn0usVp.js → rating-input-field-rac-CUTqEPPd.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { RicosViewer as D } from "@wix/ricos/viewer";
|
|
2
2
|
import d from "classnames";
|
|
3
3
|
import e, { useCallback as N, useState as y, useRef as O } from "react";
|
|
4
|
-
import { ai as v, af as I, as as A } from "./form-
|
|
4
|
+
import { ai as v, af as I, as as A } from "./form-VD2Og15y.js";
|
|
5
5
|
import { RadioGroup as w, RadioField as M, RadioButton as B } from "react-aria-components";
|
|
6
6
|
import { f as m, a as T } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as P, E as q } from "./field-error-headless-
|
|
8
|
-
import { L as H } from "./field-label-headless-
|
|
7
|
+
import { D as P, E as q } from "./field-error-headless-BAVGL8JO.js";
|
|
8
|
+
import { L as H } from "./field-label-headless-CwSCKtI1.js";
|
|
9
9
|
import { E as x } from "./error-icon-hZxQ6DEy.js";
|
|
10
|
-
import { s as u } from "./field-rac.module-
|
|
10
|
+
import { s as u } from "./field-rac.module-Cac83bU5.js";
|
|
11
11
|
import { z, P as k, O as G, q as j, j as Q } from "./form-element-classes-BSMjWijd.js";
|
|
12
12
|
const t = ({ children: r }) => {
|
|
13
13
|
const { id: n, value: s, onChange: o, disabled: l, required: c, hasError: i, onBlur: C, onFocus: L, FieldLayout: E } = v(), { labelId: p } = I(), R = N((F) => o(Number(F)), [
|
package/dist/component/{rich-content-rac.module-DX2Jd5w6.js → rich-content-rac.module-DrHi1MSI.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import { ai as a, ab as i, as as T } from "./form-
|
|
2
|
+
import { ai as a, ab as i, as as T } from "./form-VD2Og15y.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 { ai as m, L as i, W as u, Z as R } from "./form-
|
|
4
|
-
import { u as T, R as C, s as d, T as p } from "./rich-content-rac.module-
|
|
3
|
+
import { ai as m, L as i, W as u, Z as R } from "./form-VD2Og15y.js";
|
|
4
|
+
import { u as T, R as C, s as d, T as p } from "./rich-content-rac.module-DrHi1MSI.js";
|
|
5
5
|
import { a4 as g } from "./form-element-classes-BSMjWijd.js";
|
|
6
6
|
const h = {
|
|
7
7
|
colorPalette: R(),
|
package/dist/component/{service-dropdown-rac--YcOnGmq.js → service-dropdown-rac-BKsuPUHs.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import t, { useRef as N, useMemo as g, useCallback as h, useEffect as T } from "react";
|
|
2
2
|
import { RicosViewer as A } from "@wix/ricos/viewer";
|
|
3
3
|
import m from "classnames";
|
|
4
|
-
import { ae as w, as as b, F as M, ai as y, ab as U, h as V } from "./form-
|
|
5
|
-
import { u as q } from "./use-service-options-base-
|
|
6
|
-
import { D as d } from "./dropdown-field-headless-
|
|
4
|
+
import { ae as w, as as b, F as M, ai as y, ab as U, h as V } from "./form-VD2Og15y.js";
|
|
5
|
+
import { u as q } from "./use-service-options-base-BagPjcuW.js";
|
|
6
|
+
import { D as d } from "./dropdown-field-headless-CiK1C6eu.js";
|
|
7
7
|
import { C as x } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as H } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as k } from "./custom-focus-class-_483Pkwp.js";
|
|
10
|
-
import { s as n } from "./field-rac.module-
|
|
10
|
+
import { s as n } from "./field-rac.module-Cac83bU5.js";
|
|
11
11
|
import { z as B, P as W, y as j, C as z, q as Q, j as Y } from "./form-element-classes-BSMjWijd.js";
|
|
12
12
|
const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
|
|
13
13
|
const { actions: r } = w(), { t: C } = b(), { addOther: i, addOtherLabel: p } = e, c = p || C("add-other.default-other-option-label"), a = N(!0), E = g(() => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import e, { useEffect as C, useMemo as I } from "react";
|
|
2
2
|
import { RicosViewer as L } from "@wix/ricos/viewer";
|
|
3
3
|
import s from "classnames";
|
|
4
|
-
import { F as R, ai as F, h as d } from "./form-
|
|
5
|
-
import { u as D } from "./use-service-options-base-
|
|
6
|
-
import { C as n } from "./checkbox-group-field-headless-
|
|
4
|
+
import { F as R, ai as F, h as d } from "./form-VD2Og15y.js";
|
|
5
|
+
import { u as D } from "./use-service-options-base-BagPjcuW.js";
|
|
6
|
+
import { C as n } from "./checkbox-group-field-headless-DnI-niUS.js";
|
|
7
7
|
import { E as h } from "./error-icon-hZxQ6DEy.js";
|
|
8
|
-
import { s as i } from "./field-rac.module-
|
|
8
|
+
import { s as i } from "./field-rac.module-Cac83bU5.js";
|
|
9
9
|
import { z as f, P as b, T as M, U as N, V as A, y as v, q as x, j as T } from "./form-element-classes-BSMjWijd.js";
|
|
10
10
|
import { o as _ } from "./options-rac.module-KM-VT_KY.js";
|
|
11
11
|
const P = (o) => {
|
|
@@ -4,13 +4,13 @@ import v from "classnames";
|
|
|
4
4
|
import { useHover as ve, useFocusRing as xe, mergeProps as Se } from "react-aria";
|
|
5
5
|
import { RadioGroup as Fe, Button as fe, TextField as Ae, Input as Pe, RadioField as _e, RadioButton as Ne } from "react-aria-components";
|
|
6
6
|
import he from "signature_pad";
|
|
7
|
-
import { z as Ue, ae as Oe, ab as Be, aq as ge, E as ce, e as q, ai as A, af as H, ak as Ee, as as Me } from "./form-
|
|
7
|
+
import { z as Ue, ae as Oe, ab as Be, aq as ge, E as ce, e as q, ai as A, af as H, ak as Ee, as as Me } from "./form-VD2Og15y.js";
|
|
8
8
|
import { f as T, a as F } from "./find-child-C60k4CxG.js";
|
|
9
|
-
import { D as We, E as He } from "./field-error-headless-
|
|
10
|
-
import { L as Ye } from "./field-label-headless-
|
|
9
|
+
import { D as We, E as He } from "./field-error-headless-BAVGL8JO.js";
|
|
10
|
+
import { L as Ye } from "./field-label-headless-CwSCKtI1.js";
|
|
11
11
|
import { D as ke } from "./data-hooks-Dkw1pbRj.js";
|
|
12
12
|
import { E as $e } from "./error-icon-hZxQ6DEy.js";
|
|
13
|
-
import { s as z } from "./field-rac.module-
|
|
13
|
+
import { s as z } from "./field-rac.module-Cac83bU5.js";
|
|
14
14
|
import { z as ue, P as ze, y as B, a1 as Ve, q as Ze, j as Xe } from "./form-element-classes-BSMjWijd.js";
|
|
15
15
|
const qe = typeof s.useId == "function" ? s.useId : () => W(Ue()).current;
|
|
16
16
|
var w = /* @__PURE__ */ (function(e) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "react";
|
|
2
2
|
import l from "classnames";
|
|
3
|
-
import { ai as c } from "./form-
|
|
3
|
+
import { ai as c } from "./form-VD2Og15y.js";
|
|
4
4
|
import { ProgressBar as g, Button as b } from "react-aria-components";
|
|
5
5
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
6
6
|
import { a3 as v, a2 as N, a5 as f } from "./form-element-classes-BSMjWijd.js";
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { RicosViewer as H } from "@wix/ricos/viewer";
|
|
2
|
+
import _ from "classnames";
|
|
3
|
+
import e, { useMemo as I, useState as j, useRef as V, useLayoutEffect as z, useCallback as k } from "react";
|
|
4
|
+
import { ai as g, af as K, as as T, ab as Q, ak as Y, ac as J } from "./form-VD2Og15y.js";
|
|
5
|
+
import { CheckboxGroup as X, TextField as Z, Input as ee, CheckboxField as te, CheckboxButton as ae } from "react-aria-components";
|
|
6
|
+
import { f, a as P } from "./find-child-C60k4CxG.js";
|
|
7
|
+
import { E as x, D as B } from "./field-error-headless-BAVGL8JO.js";
|
|
8
|
+
import { L as $ } from "./field-label-headless-CwSCKtI1.js";
|
|
9
|
+
import { F as ne } from "./fieldset-headless-CD3fds9J.js";
|
|
10
|
+
import { N as D } from "./options-layout-constants-DEfIEJWD.js";
|
|
11
|
+
import { E as se } from "./error-icon-hZxQ6DEy.js";
|
|
12
|
+
import { s as S } from "./field-rac.module-Cac83bU5.js";
|
|
13
|
+
import { z as oe, P as re, _ as le, $ as ie, a0 as ce, y as ue, q as de, j as me } from "./form-element-classes-BSMjWijd.js";
|
|
14
|
+
import { T as pe } from "./form-element-keys-P3mtjfCv.js";
|
|
15
|
+
import { o as Ee } from "./options-rac.module-KM-VT_KY.js";
|
|
16
|
+
const N = "Other", he = (a, t) => {
|
|
17
|
+
const c = t.length + 2;
|
|
18
|
+
return (a.find((s) => s.startsWith(`${t}: `)) || "").slice(c);
|
|
19
|
+
}, Oe = (a) => a.map((t) => t.value ?? t.label), q = ({ className: a, ...t }) => {
|
|
20
|
+
const { label: l } = t;
|
|
21
|
+
return /* @__PURE__ */ e.createElement("span", {
|
|
22
|
+
className: a
|
|
23
|
+
}, l);
|
|
24
|
+
}, W = ({ className: a }) => {
|
|
25
|
+
const { value: t, onChange: l, addOtherLabel: c, addOtherPlaceholder: i, otherInputCharacterLimit: s, disabled: u, readOnly: b, hasError: d } = g(), { t: m } = T(), o = c || m("add-other.default-other-option-label") || N, p = I(() => he(t || [], o), [
|
|
26
|
+
t,
|
|
27
|
+
o
|
|
28
|
+
]), [n, L] = j(p), E = V(l);
|
|
29
|
+
z(() => {
|
|
30
|
+
E.current = l;
|
|
31
|
+
});
|
|
32
|
+
const F = k((h) => {
|
|
33
|
+
L(h);
|
|
34
|
+
const C = (t || []).filter((O) => !O.startsWith(`${o}:`) && O !== o), R = h ? `${o}: ${h}` : o;
|
|
35
|
+
E.current([
|
|
36
|
+
...C,
|
|
37
|
+
R
|
|
38
|
+
]);
|
|
39
|
+
}, [
|
|
40
|
+
t,
|
|
41
|
+
o
|
|
42
|
+
]);
|
|
43
|
+
return /* @__PURE__ */ e.createElement(Z, {
|
|
44
|
+
value: n,
|
|
45
|
+
onChange: F,
|
|
46
|
+
isDisabled: u,
|
|
47
|
+
isReadOnly: b,
|
|
48
|
+
isInvalid: d,
|
|
49
|
+
"aria-label": o
|
|
50
|
+
}, /* @__PURE__ */ e.createElement(ee, {
|
|
51
|
+
"data-hook": "tags-other-input",
|
|
52
|
+
"data-filled": n ? !0 : void 0,
|
|
53
|
+
placeholder: i,
|
|
54
|
+
maxLength: s,
|
|
55
|
+
className: a
|
|
56
|
+
}));
|
|
57
|
+
}, v = ({ children: a, className: t, ...l }) => {
|
|
58
|
+
const { value: c, label: i, isOther: s, isFirstOption: u } = l, { id: b, value: d, onChange: m, options: o, disabled: p, readOnly: n, hasError: L } = g(), E = V(null);
|
|
59
|
+
Y(() => {
|
|
60
|
+
var O;
|
|
61
|
+
u && ((O = E.current) == null || O.focus({
|
|
62
|
+
preventScroll: !0
|
|
63
|
+
}));
|
|
64
|
+
}, b);
|
|
65
|
+
const F = f(a, q), h = I(() => d || [], [
|
|
66
|
+
d
|
|
67
|
+
]), C = I(() => s ? h.find((O) => O === i || O.startsWith(`${i}: `)) || i : c, [
|
|
68
|
+
s,
|
|
69
|
+
h,
|
|
70
|
+
i,
|
|
71
|
+
c
|
|
72
|
+
]), R = k((O) => {
|
|
73
|
+
const U = Oe(o || []), M = h.filter((w) => U.includes(w));
|
|
74
|
+
m(O ? [
|
|
75
|
+
...M,
|
|
76
|
+
i
|
|
77
|
+
] : M);
|
|
78
|
+
}, [
|
|
79
|
+
i,
|
|
80
|
+
m,
|
|
81
|
+
o,
|
|
82
|
+
h
|
|
83
|
+
]);
|
|
84
|
+
return /* @__PURE__ */ e.createElement(te, {
|
|
85
|
+
inputRef: E,
|
|
86
|
+
value: C,
|
|
87
|
+
onChange: s ? R : void 0,
|
|
88
|
+
isDisabled: p,
|
|
89
|
+
isReadOnly: n,
|
|
90
|
+
isInvalid: L
|
|
91
|
+
}, /* @__PURE__ */ e.createElement(ae, {
|
|
92
|
+
className: t,
|
|
93
|
+
"data-hook": `tags-${s ? N : c}`
|
|
94
|
+
}, P(F, {
|
|
95
|
+
value: c,
|
|
96
|
+
label: i,
|
|
97
|
+
isOther: s,
|
|
98
|
+
isFirstOption: u
|
|
99
|
+
})));
|
|
100
|
+
}, A = ({ children: a, className: t }) => {
|
|
101
|
+
const { options: l, addOther: c, addOtherLabel: i, numberOfColumns: s = D.FREE_FLOW } = g(), { isMobile: u } = Q(), { t: b } = T(), d = u && s !== D.FREE_FLOW ? D.ONE : s, m = i || b("add-other.default-other-option-label") || N, o = f(a, v), p = I(() => {
|
|
102
|
+
const n = l || [];
|
|
103
|
+
return c ? [
|
|
104
|
+
...n,
|
|
105
|
+
{
|
|
106
|
+
label: m,
|
|
107
|
+
value: m,
|
|
108
|
+
isOther: !0
|
|
109
|
+
}
|
|
110
|
+
] : n;
|
|
111
|
+
}, [
|
|
112
|
+
l,
|
|
113
|
+
c,
|
|
114
|
+
m
|
|
115
|
+
]);
|
|
116
|
+
return p.length === 0 ? null : /* @__PURE__ */ e.createElement("div", {
|
|
117
|
+
className: t,
|
|
118
|
+
"data-columns": d
|
|
119
|
+
}, p.map((n, L) => {
|
|
120
|
+
const E = n.value ?? n.label;
|
|
121
|
+
return P(o, {
|
|
122
|
+
key: n.isOther ? N : E,
|
|
123
|
+
value: E,
|
|
124
|
+
label: n.label,
|
|
125
|
+
isOther: n.isOther,
|
|
126
|
+
isFirstOption: L === 0
|
|
127
|
+
});
|
|
128
|
+
}));
|
|
129
|
+
}, G = ({ children: a, className: t }) => {
|
|
130
|
+
const { addOther: l, addOtherLabel: c, hasError: i, readOnly: s, value: u } = g(), { t: b } = T(), d = c || b("add-other.default-other-option-label") || N, m = f(a, A), o = f(a, W), p = I(() => !l || !u ? !1 : u.some((n) => n === d || n.startsWith(`${d}:`)), [
|
|
131
|
+
l,
|
|
132
|
+
u,
|
|
133
|
+
d
|
|
134
|
+
]);
|
|
135
|
+
return /* @__PURE__ */ e.createElement("div", {
|
|
136
|
+
className: t,
|
|
137
|
+
"data-invalid": i,
|
|
138
|
+
"data-readonly": s
|
|
139
|
+
}, m, p && o);
|
|
140
|
+
}, r = ({ children: a }) => {
|
|
141
|
+
const { id: t, value: l, onChange: c, FieldLayout: i, required: s, disabled: u, readOnly: b, hasError: d, onBlur: m, onFocus: o } = g(), { inputId: p, labelId: n, ariaDescribedBy: L } = K(), E = I(() => l || [], [
|
|
142
|
+
l
|
|
143
|
+
]), F = f(a, $), h = f(a, G), C = f(a, B), R = f(a, x);
|
|
144
|
+
return /* @__PURE__ */ e.createElement(i, {
|
|
145
|
+
fieldId: t,
|
|
146
|
+
renderLabel: () => F,
|
|
147
|
+
renderInput: () => /* @__PURE__ */ e.createElement(ne, {
|
|
148
|
+
id: p,
|
|
149
|
+
ariaLabelledBy: n,
|
|
150
|
+
ariaDescribedBy: L,
|
|
151
|
+
required: s,
|
|
152
|
+
onBlur: m,
|
|
153
|
+
onFocus: o
|
|
154
|
+
}, /* @__PURE__ */ e.createElement(X, {
|
|
155
|
+
"aria-labelledby": n,
|
|
156
|
+
value: E,
|
|
157
|
+
onChange: c,
|
|
158
|
+
isDisabled: u,
|
|
159
|
+
isReadOnly: b,
|
|
160
|
+
isRequired: s,
|
|
161
|
+
isInvalid: d
|
|
162
|
+
}, h)),
|
|
163
|
+
renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, R, C)
|
|
164
|
+
});
|
|
165
|
+
};
|
|
166
|
+
A.Option = v;
|
|
167
|
+
v.Label = q;
|
|
168
|
+
r.Label = $;
|
|
169
|
+
r.Control = G;
|
|
170
|
+
r.Options = A;
|
|
171
|
+
r.OtherInput = W;
|
|
172
|
+
r.Description = B;
|
|
173
|
+
r.Error = x;
|
|
174
|
+
const be = "_control_1kvnw_1", fe = "_options_1kvnw_7", Le = "_option_1kvnw_7", y = {
|
|
175
|
+
control: be,
|
|
176
|
+
options: fe,
|
|
177
|
+
option: Le
|
|
178
|
+
}, _e = ({ content: a, locale: t }) => /* @__PURE__ */ e.createElement(H, {
|
|
179
|
+
content: a,
|
|
180
|
+
locale: t
|
|
181
|
+
}), Pe = () => {
|
|
182
|
+
const a = J(pe);
|
|
183
|
+
return /* @__PURE__ */ e.createElement(r, null, /* @__PURE__ */ e.createElement(r.Label, {
|
|
184
|
+
className: _(oe, S.label)
|
|
185
|
+
}, /* @__PURE__ */ e.createElement(r.Label.Required, {
|
|
186
|
+
className: _(re, S.requiredMark)
|
|
187
|
+
})), /* @__PURE__ */ e.createElement(r.Control, {
|
|
188
|
+
className: y.control
|
|
189
|
+
}, /* @__PURE__ */ e.createElement(r.Options, {
|
|
190
|
+
className: _(le, y.options)
|
|
191
|
+
}, /* @__PURE__ */ e.createElement(r.Options.Option, {
|
|
192
|
+
className: ({ isSelected: t }) => _(ie, y.option, a, {
|
|
193
|
+
[ce]: t
|
|
194
|
+
})
|
|
195
|
+
}, /* @__PURE__ */ e.createElement(r.Options.Option.Label, {
|
|
196
|
+
className: Ee.optionLabel
|
|
197
|
+
}))), /* @__PURE__ */ e.createElement(r.OtherInput, {
|
|
198
|
+
className: _(ue, S.input)
|
|
199
|
+
})), /* @__PURE__ */ e.createElement(r.Error, {
|
|
200
|
+
className: _(de, S.error)
|
|
201
|
+
}, /* @__PURE__ */ e.createElement(se, null), /* @__PURE__ */ e.createElement(r.Error.Text, null)), /* @__PURE__ */ e.createElement(r.Description, {
|
|
202
|
+
className: _(me, S.description)
|
|
203
|
+
}, _e));
|
|
204
|
+
};
|
|
205
|
+
export {
|
|
206
|
+
Pe as T
|
|
207
|
+
};
|
|
@@ -2,12 +2,12 @@ import { RicosViewer as S } from "@wix/ricos/viewer";
|
|
|
2
2
|
import n from "classnames";
|
|
3
3
|
import r, { useCallback as O, useRef as T } from "react";
|
|
4
4
|
import { TextField as y, TextArea as N } from "react-aria-components";
|
|
5
|
-
import { ai as E, af as d, ak as x } from "./form-
|
|
5
|
+
import { ai as E, af as d, ak as x } from "./form-VD2Og15y.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as h, E as M } from "./field-error-headless-
|
|
8
|
-
import { L as g } from "./field-label-headless-
|
|
7
|
+
import { D as h, E as M } from "./field-error-headless-BAVGL8JO.js";
|
|
8
|
+
import { L as g } from "./field-label-headless-CwSCKtI1.js";
|
|
9
9
|
import { E as q } from "./error-icon-hZxQ6DEy.js";
|
|
10
|
-
import { s } from "./field-rac.module-
|
|
10
|
+
import { s } from "./field-rac.module-Cac83bU5.js";
|
|
11
11
|
import { z as v, P as B, y as P, q as k, j as U } from "./form-element-classes-BSMjWijd.js";
|
|
12
12
|
const e = ({ children: t }) => {
|
|
13
13
|
const { id: a, value: m, onChange: l, disabled: u, required: o, readOnly: i, onBlur: p, onFocus: f, FieldLayout: I, hasError: F } = E(), { labelId: L } = d(), R = O((C) => {
|
package/dist/component/{text-input-field-rac-Dm6a4jOn.js → text-input-field-rac-CW0ZR1y2.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { RicosViewer as m } 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-C1m6gpFi.js";
|
|
5
5
|
import { E as o } from "./error-icon-hZxQ6DEy.js";
|
|
6
|
-
import { s as a } from "./field-rac.module-
|
|
6
|
+
import { s as a } from "./field-rac.module-Cac83bU5.js";
|
|
7
7
|
import { z as n, P as c, y as E, q as i, j as R } from "./form-element-classes-BSMjWijd.js";
|
|
8
8
|
const _ = ({ content: s, locale: l }) => /* @__PURE__ */ e.createElement(m, {
|
|
9
9
|
content: s,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import t, { useRef as L } from "react";
|
|
2
2
|
import { TextField as R, Input as v } from "react-aria-components";
|
|
3
|
-
import { ai as d, af as c, ak as T } from "./form-
|
|
3
|
+
import { ai as d, af as c, ak as T } from "./form-VD2Og15y.js";
|
|
4
4
|
import { f as a } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as g, E as h } from "./field-error-headless-
|
|
6
|
-
import { L as x } from "./field-label-headless-
|
|
5
|
+
import { D as g, E as h } from "./field-error-headless-BAVGL8JO.js";
|
|
6
|
+
import { L as x } from "./field-label-headless-CwSCKtI1.js";
|
|
7
7
|
const e = ({ children: r }) => {
|
|
8
8
|
const { id: s, value: i, onChange: l, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus: f, FieldLayout: b } = d(), { labelId: E } = c(), I = a(r, e.Label), F = a(r, e.Input), y = a(r, e.Description), D = a(r, e.Error);
|
|
9
9
|
return /* @__PURE__ */ t.createElement(b, {
|
|
@@ -3,13 +3,13 @@ import { RicosViewer as k } from "@wix/ricos/viewer";
|
|
|
3
3
|
import c from "classnames";
|
|
4
4
|
import { parseTime as v } from "@internationalized/date";
|
|
5
5
|
import { TimeField as x, DateInput as B, DateSegment as h, TimeFieldStateContext as U } from "react-aria-components";
|
|
6
|
-
import { ai as p, af as j, as as T, ak as z } from "./form-
|
|
6
|
+
import { ai as p, af as j, as as T, ak as z } from "./form-VD2Og15y.js";
|
|
7
7
|
import { f as m, a as F } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as Q, E as G } from "./field-error-headless-
|
|
9
|
-
import { L as J } from "./field-label-headless-
|
|
8
|
+
import { D as Q, E as G } from "./field-error-headless-BAVGL8JO.js";
|
|
9
|
+
import { L as J } from "./field-label-headless-CwSCKtI1.js";
|
|
10
10
|
import { E as K } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { H as S } from "./custom-focus-class-_483Pkwp.js";
|
|
12
|
-
import { s as E } from "./field-rac.module-
|
|
12
|
+
import { s as E } from "./field-rac.module-Cac83bU5.js";
|
|
13
13
|
import { z as W, P as X, y as Y, q as Z, j as $ } from "./form-element-classes-BSMjWijd.js";
|
|
14
14
|
const r = ({ children: t }) => {
|
|
15
15
|
const { id: n, value: l, onChange: o, disabled: i, readOnly: s, required: a, onBlur: d, onFocus: f, use24HourFormat: b, FieldLayout: I, hasError: C } = p(), { inputId: L, ariaDescribedBy: g, labelId: D } = j(), R = H((M) => {
|