@wix/form-elements 1.125.0 → 1.126.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-Z-zuUkSk.js → appointment-rac-CYB_k6uF.js} +4 -4
- package/dist/component/{bookings-address-rac-CKDBaGLn.js → bookings-address-rac-yJjV3u5m.js} +1 -1
- package/dist/component/{bookings-email-rac-D4aI_Jzq.js → bookings-email-rac-WkFgaEv5.js} +1 -1
- package/dist/component/{bookings-first-name-rac-zzQHBi06.js → bookings-first-name-rac-CJ1cBR5Z.js} +1 -1
- package/dist/component/{bookings-header-rac-Ck8ODZZj.js → bookings-header-rac-DiC19ttR.js} +1 -1
- package/dist/component/{bookings-last-name-rac-Bf6GZjrX.js → bookings-last-name-rac-Dx0Nt5Z_.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-DFDj9-BP.js → bookings-login-bar-rac-CcW2nUYQ.js} +1 -1
- package/dist/component/{bookings-phone-rac-Bv1-qlMw.js → bookings-phone-rac-BMLrrTf6.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-D7B-s_XR.js → bookings-rich-text-rac-DIbRjzxZ.js} +1 -1
- package/dist/component/{checkbox-field-rac-CiKYZvTz.js → checkbox-field-rac-3a6NYcNf.js} +46 -46
- package/dist/component/{checkbox-group-field-headless-CV6U8eSj.js → checkbox-group-field-headless-CM-2wLJv.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-BQlPsFkN.js → checkbox-group-field-rac-CNWwJ_No.js} +4 -4
- package/dist/component/{checkbox-group-rac-DS3C_O04.js → checkbox-group-rac-F08XYJSA.js} +1 -1
- package/dist/component/{checkbox-rac-dUEfjEya.js → checkbox-rac-z98USBLu.js} +1 -1
- package/dist/component/{contacts-address-rac-CpszOK8V.js → contacts-address-rac-DuodyS7l.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-8VQHFq-M.js → contacts-birthdate-rac-BY7L9nWm.js} +1 -1
- package/dist/component/{contacts-company-rac-BOBr0Kk7.js → contacts-company-rac-iPNPKhx2.js} +1 -1
- package/dist/component/{contacts-email-rac-CTLHE5HL.js → contacts-email-rac-C7kBUzQH.js} +1 -1
- package/dist/component/{contacts-first-name-rac-nYNH569s.js → contacts-first-name-rac-DvDNRs2q.js} +1 -1
- package/dist/component/{contacts-last-name-rac-BX1D0mI7.js → contacts-last-name-rac-Cls5_7W0.js} +1 -1
- package/dist/component/{contacts-phone-rac-DKbEfOsH.js → contacts-phone-rac-DMy2lBJl.js} +1 -1
- package/dist/component/{contacts-position-rac-B0y-O-4j.js → contacts-position-rac-Bn21lF_i.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-5yYJn7F0.js → contacts-subscribe-rac-QSC_n_T_.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-BB5ngpkv.js → contacts-tax-id-rac-BvqoePCN.js} +1 -1
- package/dist/component/{date-availability-C87SaTKG.js → date-availability-SErYnVtm.js} +1 -1
- package/dist/component/{date-input-field-rac-CS8QQO3m.js → date-input-field-rac-H81WktJT.js} +6 -6
- package/dist/component/{date-input-rac-VHB7v5UL.js → date-input-rac-C6ZeK0zQ.js} +1 -1
- package/dist/component/{date-picker-field-rac-Cri5p6Ms.js → date-picker-field-rac-BwSKny80.js} +5 -5
- package/dist/component/{date-picker-rac-B57G3x5E.js → date-picker-rac-BB5zswk4.js} +1 -1
- package/dist/component/{date-time-input-field-rac-4Qka-NnP.js → date-time-input-field-rac-C4srGo4X.js} +6 -6
- package/dist/component/{date-time-input-rac-DGCjjMFb.js → date-time-input-rac-6PXunNeR.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-DWvCwPTc.js → dext-checkbox-group-rac-B1GOhxW8.js} +2 -2
- package/dist/component/{dext-checkbox-rac-33LSTC36.js → dext-checkbox-rac-DVels76t.js} +1 -1
- package/dist/component/{dext-date-picker-rac-Bf7NykP3.js → dext-date-picker-rac-kKH7Nu_c.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-Bao0DdBz.js → dext-date-time-input-rac-C2xk0pv1.js} +1 -1
- package/dist/component/{dext-dropdown-rac-DmcOs3JV.js → dext-dropdown-rac-bd3XpA-l.js} +1 -1
- package/dist/component/{dext-email-rac-BQZuGJyR.js → dext-email-rac-BtEeJsrT.js} +1 -1
- package/dist/component/{dext-number-input-rac-BkRW3syI.js → dext-number-input-rac-BLPAbm2q.js} +1 -1
- package/dist/component/{dext-phone-rac-BQTtIO3M.js → dext-phone-rac-ByEP8XRg.js} +1 -1
- package/dist/component/{dext-radio-group-rac-8OX3bK1R.js → dext-radio-group-rac-AY271KFi.js} +2 -2
- package/dist/component/{dext-rating-input-rac-DzsAbe6_.js → dext-rating-input-rac-Dp9N8OWT.js} +1 -1
- package/dist/component/{dext-tags-rac-vBL9kqB4.js → dext-tags-rac-PgZGGDwj.js} +2 -2
- package/dist/component/{dext-text-area-rac-DnaX_wQ4.js → dext-text-area-rac-BN99TM9O.js} +1 -1
- package/dist/component/{dext-text-input-rac-D94mFw2C.js → dext-text-input-rac-C5TaQVi8.js} +1 -1
- package/dist/component/{dext-url-input-rac-BbGsxHGa.js → dext-url-input-rac-BvMh_jc6.js} +1 -1
- package/dist/component/{donation-rac-BMSQOEKY.js → donation-rac-BSCyAZPx.js} +5 -5
- package/dist/component/{dropdown-field-headless-DfV7Hu_x.js → dropdown-field-headless-DzDE-6ha.js} +5 -5
- package/dist/component/{dropdown-field-rac-DV8KVcfL.js → dropdown-field-rac-mbYavQtS.js} +4 -4
- package/dist/component/{dropdown-rac-CWxp-u5t.js → dropdown-rac-BUJag5ow.js} +1 -1
- package/dist/component/{ecom-address-rac-DDUa9lKf.js → ecom-address-rac-B7_RYjoj.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-C6Bl1HwZ.js → ecom-subscription-checkbox-rac-BCDyH7x-.js} +2 -2
- package/dist/component/{email-input-field-rac-DssxRa6A.js → email-input-field-rac-CUi08-gD.js} +3 -3
- package/dist/component/{events-repeater-rac-C-Y70-hO.js → events-repeater-rac-CkHq7ADr.js} +4 -4
- package/dist/component/{events-rsvp-rac-CH8cmC73.js → events-rsvp-rac-DBwLvDeR.js} +3 -3
- package/dist/component/{field-error-headless-B-dJmWQP.js → field-error-headless-Ct41F8cQ.js} +1 -1
- package/dist/component/{field-label-headless-BMozN-s1.js → field-label-headless-DUqBV42_.js} +1 -1
- package/dist/component/{file-upload-rac-q-JbJbUf.js → file-upload-rac-CkbjhtAl.js} +4 -4
- package/dist/component/{fixed-payment-rac-BUeec_59.js → fixed-payment-rac-Dgnhsx3e.js} +3 -3
- package/dist/component/{form-D_BE2Fzt.js → form-Dx1bK3Fi.js} +2174 -2171
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-DWDGXZ-1.js → header-field-rac-BuUxOZO1.js} +2 -2
- package/dist/component/{header-rac-DSJRq-aS.js → header-rac-CIvWVvYs.js} +1 -1
- package/dist/component/{image-choice-rac-CZhE0M_b.js → image-choice-rac-BBo0PiW4.js} +4 -4
- package/dist/component/{index-COa1NdN9.js → index-BDSs3l4d.js} +2 -2
- package/dist/component/{index-CbQKmL2D.js → index-BmMiwDw9.js} +4 -4
- package/dist/component/{isObjectLike-OXbnWiQZ.js → isObjectLike-xZCFQW_t.js} +1 -1
- package/dist/component/{multiline-address-field-rac-uwvOu2s8.js → multiline-address-field-rac-C6mRorOw.js} +7 -7
- package/dist/component/{multiline-address-rac-dechT7TO.js → multiline-address-rac-BOjsVo4R.js} +1 -1
- package/dist/component/{number-input-field-rac-Dzd1zIZ3.js → number-input-field-rac-C89M-zOh.js} +4 -4
- package/dist/component/{number-input-rac-CEkIm28k.js → number-input-rac-DttY0Ll3.js} +1 -1
- package/dist/component/{password-rac-CWitmbZm.js → password-rac-C2KTrH40.js} +4 -4
- package/dist/component/{payment-input-rac-CM0uC5on.js → payment-input-rac-BhyBxeu1.js} +4 -4
- package/dist/component/{phone-input-field-rac-fWGQuICi.js → phone-input-field-rac-BT-Fe6WZ.js} +6 -6
- package/dist/component/{phone-rac-Yz8_o8zI.js → phone-rac-B26qwlDN.js} +1 -1
- package/dist/component/{product-list-rac-CEWFFKC_.js → product-list-rac-CF4gkfTK.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-D0x2dT8O.js → quiz-radio-group-rac-Bf2HeDDw.js} +1 -1
- package/dist/component/{radio-button-module-classes-ByzyRWGZ.js → radio-button-module-classes-DtmmP89u.js} +3 -3
- package/dist/component/{radio-group-field-rac-Bp-gAa8G.js → radio-group-field-rac-BY2OIFFr.js} +4 -4
- package/dist/component/{radio-group-rac-v2iHQ7Do.js → radio-group-rac-BuxVel2l.js} +1 -1
- package/dist/component/{rating-input-field-rac-Cy2FMWGM.js → rating-input-field-rac-CbLzvwyk.js} +4 -4
- package/dist/component/{rating-input-rac-BbVp3WB3.js → rating-input-rac-B8QxNYHU.js} +1 -1
- package/dist/component/{rich-content-rac.module-CD6SVCbh.js → rich-content-rac.module-wu4JPlkg.js} +1 -1
- package/dist/component/{rich-text-field-rac-BpNrx6yp.js → rich-text-field-rac-CTrEe0SQ.js} +2 -2
- package/dist/component/{rich-text-rac-Dhy7uiP1.js → rich-text-rac-kmzPTMKb.js} +1 -1
- package/dist/component/{service-dropdown-rac-CAneRKHw.js → service-dropdown-rac-C8nTy49F.js} +5 -5
- package/dist/component/{services-multi-choice-rac-D6sXFbh-.js → services-multi-choice-rac-rDkpN2fs.js} +5 -5
- package/dist/component/{signature-rac-D_mfewhJ.js → signature-rac-6r_gWBD2.js} +3 -3
- package/dist/component/{submit-button-rac-BXXTjOsT.js → submit-button-rac-BFywt2Fn.js} +2 -2
- package/dist/component/{tags-field-rac-C5UfRny_.js → tags-field-rac-rpzvIn_0.js} +5 -5
- package/dist/component/{tags-rac-B9CeCJ7N.js → tags-rac-DVLGSSvh.js} +1 -1
- package/dist/component/{text-area-field-rac-CPRcMTLB.js → text-area-field-rac-BfVrtvl8.js} +4 -4
- package/dist/component/{text-area-rac-DTP1F7-n.js → text-area-rac-VP-yXdJ6.js} +1 -1
- package/dist/component/{text-input-field-rac-BNWvKfLB.js → text-input-field-rac-BlaXiXoF.js} +3 -3
- package/dist/component/{text-input-headless-CLQsDBPq.js → text-input-headless-ChCTtqUX.js} +3 -3
- package/dist/component/{text-input-rac-D-x0vJ11.js → text-input-rac-CG-Oo3nZ.js} +1 -1
- package/dist/component/{time-input-rac-CDyfV8is.js → time-input-rac-CzUGIr2X.js} +4 -4
- package/dist/component/{url-input-field-rac-DS-y2pYu.js → url-input-field-rac-BHF6gZlT.js} +4 -4
- package/dist/component/{url-input-rac-mPuawQc5.js → url-input-rac-DouQt3DF.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-C8fUy9a7.js → use-dropdown-option-class-name-AklIMCCI.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-TB7azWxx.js → use-dropdown-trigger-class-name-COJhxT4T.js} +2 -2
- package/dist/component/{use-element-state-class-name-BUWRj3G2.js → use-element-state-class-name-CCe7Cvsu.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-Dd0kMkOT.js → use-hoverable-input-class-name-CtHJHqiV.js} +2 -2
- package/dist/component/{use-service-options-base-CZXMLBQ0.js → use-service-options-base-2u1I6l-t.js} +1 -1
- package/dist/component/use-text-input-class-name-Bnfv7ZsJ.js +6 -0
- package/dist/form.d.ts +1 -1
- package/package.json +23 -23
- package/dist/component/use-text-input-class-name-BJ6Qm1bq.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 { b9 as u, aN as i, aM as C, aP as R, an as T, a5 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 { b9 as u, aN as i, aM as C, aP as R, an as T, a5 as d } from "./form-Dx1bK3Fi.js";
|
|
4
|
+
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-wu4JPlkg.js";
|
|
5
5
|
const f = ({ 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 { b9 as b, b6 as x, bb as P, b2 as B, I as q, U, w, y as V, v as z, p as K, x as Q, f as g } from "./form-
|
|
4
|
+
import { b9 as b, b6 as x, bb as P, b2 as B, I as q, U, w, y as V, v as z, p as K, x as Q, f as g } from "./form-Dx1bK3Fi.js";
|
|
5
5
|
import { CheckboxGroup as Y, CheckboxField as $, CheckboxButton as j } 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-DUqBV42_.js";
|
|
8
|
+
import { D as X, E as Z } from "./field-error-headless-Ct41F8cQ.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-DQxyEwK7.js";
|
|
12
|
-
import { u as oe } from "./use-element-state-class-name-
|
|
12
|
+
import { u as oe } from "./use-element-state-class-name-CCe7Cvsu.js";
|
|
13
13
|
const o = ({ children: t, className: s }) => {
|
|
14
14
|
const { id: n, value: a, onChange: i, disabled: l, readOnly: r, required: c, onBlur: u, onFocus: p, hasError: C, FieldLayout: L } = b(), { inputId: f, labelId: _, ariaDescribedBy: R } = x(), S = m(t, o.Label), A = m(t, o.Options), D = m(t, o.Description), h = m(t, o.Error), M = H(() => a || [], [
|
|
15
15
|
a
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aU as n } from "./form-
|
|
2
|
-
import { A as S, a as p, C as N, ao as g, aE as q, aF as D, aW as L } from "./form-
|
|
1
|
+
import { aU as n } from "./form-Dx1bK3Fi.js";
|
|
2
|
+
import { A as S, a as p, C as N, ao as g, aE as q, aF as D, aW as L } from "./form-Dx1bK3Fi.js";
|
|
3
3
|
const l = (e = !1) => ({
|
|
4
4
|
country: {
|
|
5
5
|
required: e
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { e as R, av as _, aJ as de, aw as O, ab as Ge, B as Be, ap as qe, ai as He, ah as I, aq as Ee, az as re, at as Fe, c as B, aj as M, aV as Te, al as je, ak as he, am as q } from "./form-
|
|
2
|
-
import { aQ as Mn } from "./form-
|
|
1
|
+
import { e as R, av as _, aJ as de, aw as O, ab as Ge, B as Be, ap as qe, ai as He, ah as I, aq as Ee, az as re, at as Fe, c as B, aj as M, aV as Te, al as je, ak as he, am as q } from "./form-Dx1bK3Fi.js";
|
|
2
|
+
import { aQ as Mn } from "./form-Dx1bK3Fi.js";
|
|
3
3
|
import ke from "ajv";
|
|
4
4
|
import Xe 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-SErYnVtm.js";
|
|
10
|
+
import { a as Sn } from "./date-availability-SErYnVtm.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 r, { useMemo as q, createContext as Ve, useContext as Ce, useState as be, useRef as x, useCallback as R, useEffect as _e } from "react";
|
|
4
4
|
import { UNSAFE_PortalProvider as _t } from "react-aria";
|
|
5
|
-
import { b4 as ft, d as yt, a$ as Pt, b1 as Ct, aE as Tt, aF as wt, ay as Mt, aD as W, F as K, bj as Pe, aU as lt, b9 as P, b6 as T, bb as ae, b5 as It, aJ as qt, C as Oe, aS as xt, aW as Bt, bg as kt, ba as $t, bf as Ut, aZ as Vt, aO as Wt, aY as Kt, bc as Yt, ae as Ht, I as z, U as Q, K as ge, v as Z, p as ee } from "./form-
|
|
5
|
+
import { b4 as ft, d as yt, a$ as Pt, b1 as Ct, aE as Tt, aF as wt, ay as Mt, aD as W, F as K, bj as Pe, aU as lt, b9 as P, b6 as T, bb as ae, b5 as It, aJ as qt, C as Oe, aS as xt, aW as Bt, bg as kt, ba as $t, bf as Ut, aZ as Vt, aO as Wt, aY as Kt, bc as Yt, ae as Ht, I as z, U as Q, K as ge, v as Z, p as ee } from "./form-Dx1bK3Fi.js";
|
|
6
6
|
import { f as E, a as F } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import { F as jt, V as Jt } from "./headless-styles-CmcyA_pi.js";
|
|
8
|
-
import { a as Xt, u as Gt } from "./use-dropdown-trigger-class-name-
|
|
8
|
+
import { a as Xt, u as Gt } from "./use-dropdown-trigger-class-name-COJhxT4T.js";
|
|
9
9
|
import { TextField as fe, Input as le, ComboBoxStateContext as We, ComboBox as he, Popover as De, ListBox as Te, ListBoxItem as Se, Group as Lt, Button as Nt } 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 zt, c as Qt, a as Zt, r as gt } from "./isObjectLike-
|
|
13
|
-
import { V as en, u as tn } from "./use-dropdown-option-class-name-
|
|
10
|
+
import { D as ie, E as ce } from "./field-error-headless-Ct41F8cQ.js";
|
|
11
|
+
import { L as de } from "./field-label-headless-DUqBV42_.js";
|
|
12
|
+
import { e as zt, c as Qt, a as Zt, r as gt } from "./isObjectLike-xZCFQW_t.js";
|
|
13
|
+
import { V as en, u as tn } from "./use-dropdown-option-class-name-AklIMCCI.js";
|
|
14
14
|
import { u as nn } from "./use-invoke-callback-UH73A_J3.js";
|
|
15
15
|
import { C as it } from "./chevron-down-icon-CcpVm6B-.js";
|
|
16
16
|
import { E as te } from "./error-icon-hZxQ6DEy.js";
|
|
17
17
|
import { H as we } from "./custom-focus-class-_483Pkwp.js";
|
|
18
18
|
import { s as I } from "./field-rac.module-DQxyEwK7.js";
|
|
19
|
-
import { u as rn } from "./use-text-input-class-name-
|
|
19
|
+
import { u as rn } from "./use-text-input-class-name-Bnfv7ZsJ.js";
|
|
20
20
|
const on = (e, t, o) => {
|
|
21
21
|
var a, l, i, s;
|
|
22
22
|
const n = (a = e.steps) == null ? void 0 : a.map((d) => {
|
package/dist/component/{number-input-field-rac-Dzd1zIZ3.js → number-input-field-rac-C89M-zOh.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 j, useEffect as Q, useRef as $ } from "react";
|
|
4
4
|
import { NumberField as z, Input as G } from "react-aria-components";
|
|
5
|
-
import { b9 as _, b6 as S, bj as H, bb as J, I as K, U as W, v as X, p as Y } from "./form-
|
|
5
|
+
import { b9 as _, b6 as S, bj as H, bb as J, I as K, U as W, v as X, p as Y } from "./form-Dx1bK3Fi.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-Ct41F8cQ.js";
|
|
8
|
+
import { L as ee } from "./field-label-headless-DUqBV42_.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-DQxyEwK7.js";
|
|
13
|
-
import { u as se } from "./use-text-input-class-name-
|
|
13
|
+
import { u as se } from "./use-text-input-class-name-Bnfv7ZsJ.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 = j((N) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useState as N, useRef as S } from "react";
|
|
2
2
|
import { RicosViewer as x } from "@wix/ricos/viewer";
|
|
3
3
|
import d from "classnames";
|
|
4
|
-
import { b9 as E, b6 as I, bb as O, bj as A, I as B, U as v, v as V, p as P } from "./form-
|
|
4
|
+
import { b9 as E, b6 as I, bb as O, bj as A, I as B, U as v, v as V, p as P } from "./form-Dx1bK3Fi.js";
|
|
5
5
|
import { TextField as M, Group as k, Input as q, Button as U } from "react-aria-components";
|
|
6
6
|
import { f as u, a as b } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as j, E as H } from "./field-error-headless-
|
|
8
|
-
import { L as W } from "./field-label-headless-
|
|
7
|
+
import { D as j, E as H } from "./field-error-headless-Ct41F8cQ.js";
|
|
8
|
+
import { L as W } from "./field-label-headless-DUqBV42_.js";
|
|
9
9
|
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { H as G } from "./custom-focus-class-_483Pkwp.js";
|
|
11
11
|
import { s as p } from "./field-rac.module-DQxyEwK7.js";
|
|
12
|
-
import { u as Q } from "./use-text-input-class-name-
|
|
12
|
+
import { u as Q } from "./use-text-input-class-name-Bnfv7ZsJ.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, FieldLayout: _ } = E(), { labelId: y } = I(), [R, D] = N(!1), F = u(o, t.Label), L = u(o, t.Control), T = u(o, t.Description), w = 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 w } from "@wix/ricos/viewer";
|
|
3
3
|
import p from "classnames";
|
|
4
4
|
import { TextField as z, Group as J, Input as K } from "react-aria-components";
|
|
5
|
-
import { b9 as R, b6 as D, b1 as T, bj as W, bb as X, I as Y, U as Z, v as ee, p as re } from "./form-
|
|
5
|
+
import { b9 as R, b6 as D, b1 as T, bj as W, bb as X, I as Y, U as Z, v as ee, p as re } from "./form-Dx1bK3Fi.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-Ct41F8cQ.js";
|
|
8
|
+
import { L as ae } from "./field-label-headless-DUqBV42_.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-DQxyEwK7.js";
|
|
14
|
-
import { u as ie } from "./use-text-input-class-name-
|
|
14
|
+
import { u as ie } from "./use-text-input-class-name-Bnfv7ZsJ.js";
|
|
15
15
|
function ue(e, t) {
|
|
16
16
|
return {
|
|
17
17
|
productId: e.id,
|
package/dist/component/{phone-input-field-rac-fWGQuICi.js → phone-input-field-rac-BT-Fe6WZ.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { RicosViewer as Ce } from "@wix/ricos/viewer";
|
|
2
2
|
import h from "classnames";
|
|
3
3
|
import t, { useMemo as A, useState as $, useRef as F, useEffect as k, useCallback as Z, createContext as ee, useContext as G, useId as de } from "react";
|
|
4
|
-
import { aU as ye, bj as D, b1 as te, bi as Ee, b9 as B, b6 as ne, bb as fe, I as ge, U as he, H as be, K as Oe, v as _e, p as Ne } from "./form-
|
|
4
|
+
import { aU as ye, bj as D, b1 as te, bi as Ee, b9 as B, b6 as ne, bb as fe, I as ge, U as he, H as be, K as Oe, v as _e, p as Ne } from "./form-Dx1bK3Fi.js";
|
|
5
5
|
import { UNSAFE_PortalProvider as Se } from "react-aria";
|
|
6
6
|
import { Dialog as oe, OverlayTriggerStateContext as Le, ModalOverlay as Ie, Modal as ve, SearchField as Pe, Group as H, ListBoxItem as Fe, DialogTrigger as De, Select as Be, Input as re, Autocomplete as Re } from "react-aria-components";
|
|
7
7
|
import { f as g, a as L } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as xe, E as we } from "./field-error-headless-
|
|
9
|
-
import { L as Me } from "./field-label-headless-
|
|
8
|
+
import { D as xe, E as we } from "./field-error-headless-Ct41F8cQ.js";
|
|
9
|
+
import { L as Me } from "./field-label-headless-DUqBV42_.js";
|
|
10
10
|
import { N as Te, S as Ae } from "./non-modal-popover-DtIMXHbe.js";
|
|
11
11
|
import { u as $e } from "./use-invoke-callback-UH73A_J3.js";
|
|
12
|
-
import { a as Ue, u as ke } from "./use-dropdown-trigger-class-name-
|
|
13
|
-
import { V as Ve, u as qe } from "./use-dropdown-option-class-name-
|
|
12
|
+
import { a as Ue, u as ke } from "./use-dropdown-trigger-class-name-COJhxT4T.js";
|
|
13
|
+
import { V as Ve, u as qe } from "./use-dropdown-option-class-name-AklIMCCI.js";
|
|
14
14
|
import ae, { AsYouType as He, isValidPhoneNumber as Ge, 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 Ye } from "./chevron-down-icon-CcpVm6B-.js";
|
|
|
18
18
|
import { E as je } 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-DQxyEwK7.js";
|
|
21
|
-
import { u as ze } from "./use-text-input-class-name-
|
|
21
|
+
import { u as ze } from "./use-text-input-class-name-Bnfv7ZsJ.js";
|
|
22
22
|
function J(e) {
|
|
23
23
|
const n = e ? ae(e) : void 0, r = n == null ? void 0 : n.country;
|
|
24
24
|
if (r)
|
|
@@ -2,11 +2,11 @@ import t, { useMemo as $, useCallback as M, useRef as B } from "react";
|
|
|
2
2
|
import { RicosViewer as z } from "@wix/ricos/viewer";
|
|
3
3
|
import _ from "classnames";
|
|
4
4
|
import { CheckboxField as G, CheckboxButton as j, NumberField as X, Group as J, Button as U, Input as W } from "react-aria-components";
|
|
5
|
-
import { b9 as k, b6 as Y, b1 as w, bj as Z, bb as ee, I as te, U as ne, L as ae, O as oe, N as re, H as le, v as se, p as ie, M as ce } from "./form-
|
|
5
|
+
import { b9 as k, b6 as Y, b1 as w, bj as Z, bb as ee, I as te, U as ne, L as ae, O as oe, N as re, H as le, v as se, p as ie, M as ce } from "./form-Dx1bK3Fi.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-DUqBV42_.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-Ct41F8cQ.js";
|
|
10
10
|
import { F as ye } from "./fieldset-headless-CD3fds9J.js";
|
|
11
11
|
import { g as be } from "./payment-field-utils-DobiK5Xh.js";
|
|
12
12
|
import { S as _e } 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-DOAYUQ_Q.js";
|
|
15
15
|
import { s as T } from "./field-rac.module-DQxyEwK7.js";
|
|
16
16
|
import { o as Q } 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-CCe7Cvsu.js";
|
|
18
18
|
var Le = /* @__PURE__ */ (function(e) {
|
|
19
19
|
return e.crop = "CROP", e.fit = "FIT", e;
|
|
20
20
|
})({}), x = /* @__PURE__ */ (function(e) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import a, { useRef as S, useState as V, useEffect as T, useCallback as B } from "react";
|
|
2
2
|
import { RadioGroup as H, RadioField as k, RadioButton as A, TextField as G, Input as P } from "react-aria-components";
|
|
3
|
-
import { b9 as g, b6 as $, bj as F, bb as x } from "./form-
|
|
3
|
+
import { b9 as g, b6 as $, bj as F, bb as x } from "./form-Dx1bK3Fi.js";
|
|
4
4
|
import { f as d, a as v } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as U, E as j } from "./field-error-headless-
|
|
6
|
-
import { L as M } from "./field-label-headless-
|
|
5
|
+
import { D as U, E as j } from "./field-error-headless-Ct41F8cQ.js";
|
|
6
|
+
import { L as M } from "./field-label-headless-DUqBV42_.js";
|
|
7
7
|
import { S as w } from "./selection-indicator-XQ8MYHUQ.js";
|
|
8
8
|
const L = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ?? n.label) === t), y = (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-Bp-gAa8G.js → radio-group-field-rac-BY2OIFFr.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-DtmmP89u.js";
|
|
5
5
|
import { E as c } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as r } from "./field-rac.module-DQxyEwK7.js";
|
|
7
|
-
import { I as i, U as E, P as p, Q as R, v as O, p as _, R as I } from "./form-
|
|
7
|
+
import { I as i, U as E, P as p, Q as R, v as O, p as _, R as I } from "./form-Dx1bK3Fi.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-CCe7Cvsu.js";
|
|
10
|
+
import { u } from "./use-text-input-class-name-Bnfv7ZsJ.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-Cy2FMWGM.js → rating-input-field-rac-CbLzvwyk.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RicosViewer as y } from "@wix/ricos/viewer";
|
|
2
2
|
import m from "classnames";
|
|
3
3
|
import e, { useCallback as N, useState as O, useRef as A } from "react";
|
|
4
|
-
import { b9 as I, b6 as v, bj as T, I as H, U as M, S as w, v as B, p as P, T as q } from "./form-
|
|
4
|
+
import { b9 as I, b6 as v, bj as T, I as H, U as M, S as w, v as B, p as P, T as q } from "./form-Dx1bK3Fi.js";
|
|
5
5
|
import { RadioGroup as G, RadioField as k, RadioButton as x } from "react-aria-components";
|
|
6
6
|
import { f as u, a as U } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as j, E as z } from "./field-error-headless-
|
|
8
|
-
import { L as Q } from "./field-label-headless-
|
|
7
|
+
import { D as j, E as z } from "./field-error-headless-Ct41F8cQ.js";
|
|
8
|
+
import { L as Q } from "./field-label-headless-DUqBV42_.js";
|
|
9
9
|
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as g } from "./field-rac.module-DQxyEwK7.js";
|
|
11
|
-
import { u as J } from "./use-element-state-class-name-
|
|
11
|
+
import { u as J } from "./use-element-state-class-name-CCe7Cvsu.js";
|
|
12
12
|
const t = ({ children: a }) => {
|
|
13
13
|
const { id: n, value: r, onChange: o, disabled: l, readOnly: d, required: c, hasError: i, onBlur: E, onFocus: C, FieldLayout: R } = I(), { labelId: _ } = v(), L = N((D) => o(Number(D)), [
|
|
14
14
|
o
|
package/dist/component/{rich-content-rac.module-CD6SVCbh.js → rich-content-rac.module-wu4JPlkg.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import { b9 as a, b1 as i, bj as T } from "./form-
|
|
2
|
+
import { b9 as a, b1 as i, bj as T } from "./form-Dx1bK3Fi.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 { b9 as m, an as i, a5 as u, aM as R, aP 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 { b9 as m, an as i, a5 as u, aM as R, aP as T } from "./form-Dx1bK3Fi.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-wu4JPlkg.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-CAneRKHw.js → service-dropdown-rac-C8nTy49F.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import t, { 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 { b5 as P, bj as A, F as M, b9 as y, b1 as U, ac as V, I as x, U as H, K as k, v as q, p as B } from "./form-
|
|
5
|
-
import { u as W } from "./use-service-options-base-
|
|
6
|
-
import { D as u } from "./dropdown-field-headless-
|
|
4
|
+
import { b5 as P, bj as A, F as M, b9 as y, b1 as U, ac as V, I as x, U as H, K as k, v as q, p as B } from "./form-Dx1bK3Fi.js";
|
|
5
|
+
import { u as W } from "./use-service-options-base-2u1I6l-t.js";
|
|
6
|
+
import { D as u } from "./dropdown-field-headless-DzDE-6ha.js";
|
|
7
7
|
import { C as j } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as K } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as Q } from "./custom-focus-class-_483Pkwp.js";
|
|
10
10
|
import { s as a } from "./field-rac.module-DQxyEwK7.js";
|
|
11
|
-
import { u as Y } from "./use-dropdown-option-class-name-
|
|
12
|
-
import { u as z } from "./use-dropdown-trigger-class-name-
|
|
11
|
+
import { u as Y } from "./use-dropdown-option-class-name-AklIMCCI.js";
|
|
12
|
+
import { u as z } from "./use-dropdown-trigger-class-name-COJhxT4T.js";
|
|
13
13
|
const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
|
|
14
14
|
const { actions: o } = P(), { t: h } = A(), { addOther: n, addOtherLabel: p } = e, c = p || h("add-other.default-other-option-label"), i = T(!0), d = _(() => {
|
|
15
15
|
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, b9 as d, ac as D, I as F, U as N, i as f, k as h, v as b, p as M, j as A } 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, b9 as d, ac as D, I as F, U as N, i as f, k as h, v as b, p as M, j as A } from "./form-Dx1bK3Fi.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-2u1I6l-t.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-CM-2wLJv.js";
|
|
7
7
|
import { E as x } from "./error-icon-hZxQ6DEy.js";
|
|
8
8
|
import { C as P } from "./checkbox-indicator-module-classes-DOAYUQ_Q.js";
|
|
9
9
|
import { s as n } from "./field-rac.module-DQxyEwK7.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 k } from "./use-text-input-class-name-
|
|
11
|
+
import { u as T } from "./use-element-state-class-name-CCe7Cvsu.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-Bnfv7ZsJ.js";
|
|
13
13
|
const y = (s) => {
|
|
14
14
|
var C;
|
|
15
15
|
const { isLoading: o, options: r, isEmpty: l, shouldRender: E, setOptions: c, setIsEmpty: m, setHasInitialDataLoaded: p } = v({
|
|
@@ -4,10 +4,10 @@ import v from "classnames";
|
|
|
4
4
|
import { useHover as ve, useFocusRing as Se, mergeProps as xe } from "react-aria";
|
|
5
5
|
import { RadioGroup as Fe, Button as fe, TextField as Ae, Input as _e, RadioField as Ne, RadioButton as Pe } from "react-aria-components";
|
|
6
6
|
import he from "signature_pad";
|
|
7
|
-
import { aD as Ue, b5 as Oe, b1 as Be, bh as ge, E as ce, a6 as G, b9 as A, b6 as H, bb as Ee, bj as Me, I as ue, U as We, H as B, W as He, v as Ye, p as ke } from "./form-
|
|
7
|
+
import { aD as Ue, b5 as Oe, b1 as Be, bh as ge, E as ce, a6 as G, b9 as A, b6 as H, bb as Ee, bj as Me, I as ue, U as We, H as B, W as He, v as Ye, p as ke } from "./form-Dx1bK3Fi.js";
|
|
8
8
|
import { f as I, a as F } from "./find-child-C60k4CxG.js";
|
|
9
|
-
import { D as $e, E as Ve } from "./field-error-headless-
|
|
10
|
-
import { L as ze } from "./field-label-headless-
|
|
9
|
+
import { D as $e, E as Ve } from "./field-error-headless-Ct41F8cQ.js";
|
|
10
|
+
import { L as ze } from "./field-label-headless-DUqBV42_.js";
|
|
11
11
|
import { D as Ze } from "./data-hooks-Dkw1pbRj.js";
|
|
12
12
|
import { E as Xe } from "./error-icon-hZxQ6DEy.js";
|
|
13
13
|
import { s as V } from "./field-rac.module-DQxyEwK7.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import t, { useRef as w, useCallback as h } from "react";
|
|
2
2
|
import F from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import p from "classnames";
|
|
4
|
-
import { b9 as B, b3 as j, a9 as A, b as R, a8 as k, a4 as y, a3 as M, a7 as U } from "./form-
|
|
4
|
+
import { b9 as B, b3 as j, a9 as A, b as R, a8 as k, a4 as y, a3 as M, a7 as U } from "./form-Dx1bK3Fi.js";
|
|
5
5
|
import { ProgressBar as D, Button as C } from "react-aria-components";
|
|
6
6
|
import { f as m } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { u as N } from "./use-element-state-class-name-
|
|
7
|
+
import { u as N } from "./use-element-state-class-name-CCe7Cvsu.js";
|
|
8
8
|
function W(e) {
|
|
9
9
|
const s = "calc(50% - 2px)";
|
|
10
10
|
return /* @__PURE__ */ t.createElement(D, {
|
|
@@ -2,15 +2,15 @@ import { RicosViewer as Y } from "@wix/ricos/viewer";
|
|
|
2
2
|
import y from "classnames";
|
|
3
3
|
import t, { useMemo as I, useState as Z, useRef as N, useLayoutEffect as w, useCallback as k } from "react";
|
|
4
4
|
import { CheckboxGroup as z, TextField as B, Input as J, CheckboxField as K, CheckboxButton as X } from "react-aria-components";
|
|
5
|
-
import { b9 as R, b6 as M, bj as S, bb as U, I as ee, U as te, Y as ne, v as oe, p as ae, Z as re } from "./form-
|
|
5
|
+
import { b9 as R, b6 as M, bj as S, bb as U, I as ee, U as te, Y as ne, v as oe, p as ae, Z as re } from "./form-Dx1bK3Fi.js";
|
|
6
6
|
import { f as O, a as x } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { E as W, D as H } from "./field-error-headless-
|
|
8
|
-
import { L as $ } from "./field-label-headless-
|
|
7
|
+
import { E as W, D as H } from "./field-error-headless-Ct41F8cQ.js";
|
|
8
|
+
import { L as $ } from "./field-label-headless-DUqBV42_.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 D } from "./field-rac.module-DQxyEwK7.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-CCe7Cvsu.js";
|
|
13
|
+
import { u as ce } from "./use-text-input-class-name-Bnfv7ZsJ.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 T, useRef as O } from "react";
|
|
4
4
|
import { TextField as S, TextArea as y } from "react-aria-components";
|
|
5
|
-
import { b9 as p, b6 as d, bb as x, I as g, U as h, v, p as M } from "./form-
|
|
5
|
+
import { b9 as p, b6 as d, bb as x, I as g, U as h, v, p as M } from "./form-Dx1bK3Fi.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as q, E as B } from "./field-error-headless-
|
|
8
|
-
import { L as k } from "./field-label-headless-
|
|
7
|
+
import { D as q, E as B } from "./field-error-headless-Ct41F8cQ.js";
|
|
8
|
+
import { L as k } from "./field-label-headless-DUqBV42_.js";
|
|
9
9
|
import { E as P } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as c } from "./field-rac.module-DQxyEwK7.js";
|
|
11
|
-
import { u as U } from "./use-text-input-class-name-
|
|
11
|
+
import { u as U } from "./use-text-input-class-name-Bnfv7ZsJ.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: F } = d(), L = T((A) => {
|
|
14
14
|
s(A);
|
package/dist/component/{text-input-field-rac-BNWvKfLB.js → text-input-field-rac-BlaXiXoF.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-ChCTtqUX.js";
|
|
5
5
|
import { E as o } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as a } from "./field-rac.module-DQxyEwK7.js";
|
|
7
|
-
import { I as n, U as c, v as E, p as i } from "./form-
|
|
8
|
-
import { u as p } from "./use-text-input-class-name-
|
|
7
|
+
import { I as n, U as c, v as E, p as i } from "./form-Dx1bK3Fi.js";
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-Bnfv7ZsJ.js";
|
|
9
9
|
const I = ({ 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 L } from "react";
|
|
2
2
|
import { TextField as R, Input as v } from "react-aria-components";
|
|
3
|
-
import { b9 as d, b6 as c, bb as T } from "./form-
|
|
3
|
+
import { b9 as d, b6 as c, bb as T } from "./form-Dx1bK3Fi.js";
|
|
4
4
|
import { f as s } 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-Ct41F8cQ.js";
|
|
6
|
+
import { L as x } from "./field-label-headless-DUqBV42_.js";
|
|
7
7
|
const e = ({ children: r }) => {
|
|
8
8
|
const { id: a, value: i, onChange: l, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus: b, FieldLayout: f } = d(), { labelId: E } = c(), I = s(r, e.Label), F = s(r, e.Input), y = s(r, e.Description), D = s(r, e.Error);
|
|
9
9
|
return /* @__PURE__ */ t.createElement(f, {
|
|
@@ -3,14 +3,14 @@ import { RicosViewer as q } from "@wix/ricos/viewer";
|
|
|
3
3
|
import c from "classnames";
|
|
4
4
|
import { parseTime as B } from "@internationalized/date";
|
|
5
5
|
import { TimeField as U, DateInput as k, DateSegment as _, TimeFieldStateContext as j } from "react-aria-components";
|
|
6
|
-
import { b9 as p, b6 as w, bj as b, bb as Q, I as z, U as G, v as J, p as K } from "./form-
|
|
6
|
+
import { b9 as p, b6 as w, bj as b, bb as Q, I as z, U as G, v as J, p as K } from "./form-Dx1bK3Fi.js";
|
|
7
7
|
import { f as m, 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-Ct41F8cQ.js";
|
|
9
|
+
import { L as Y } from "./field-label-headless-DUqBV42_.js";
|
|
10
10
|
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { H as T } from "./custom-focus-class-_483Pkwp.js";
|
|
12
12
|
import { s as f } from "./field-rac.module-DQxyEwK7.js";
|
|
13
|
-
import { u as $ } from "./use-text-input-class-name-
|
|
13
|
+
import { u as $ } from "./use-text-input-class-name-Bnfv7ZsJ.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: E, use24HourFormat: S, FieldLayout: C, hasError: I } = p(), { inputId: g, ariaDescribedBy: D, labelId: L } = w(), R = V((M) => {
|
|
16
16
|
const H = ae(M);
|
|
@@ -2,14 +2,14 @@ import { RicosViewer as S } 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 { b9 as d, b6 as E, bb as v, I as B, U as T, v as g, p as k } from "./form-
|
|
5
|
+
import { b9 as d, b6 as E, bb as v, I as B, U as T, v as g, p as k } from "./form-Dx1bK3Fi.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as M, E as P } from "./field-error-headless-
|
|
8
|
-
import { L as U } from "./field-label-headless-
|
|
7
|
+
import { D as M, E as P } from "./field-error-headless-Ct41F8cQ.js";
|
|
8
|
+
import { L as U } from "./field-label-headless-DUqBV42_.js";
|
|
9
9
|
import { u as q } from "./use-invoke-callback-UH73A_J3.js";
|
|
10
10
|
import { E as x } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as u } from "./field-rac.module-DQxyEwK7.js";
|
|
12
|
-
import { u as w } from "./use-text-input-class-name-
|
|
12
|
+
import { u as w } from "./use-text-input-class-name-Bnfv7ZsJ.js";
|
|
13
13
|
const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
|
|
14
14
|
const { id: o, value: s, onChange: n, disabled: m, readOnly: a, required: l, hasError: I, onBlur: b, onFocus: f, FieldLayout: R } = d(), { labelId: F } = E(), p = q(b), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), N = h(() => {
|
|
15
15
|
n(V(s)), p();
|