@wix/form-elements 1.149.0 → 1.151.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-CeJ6tmgt.js → appointment-rac-D5wp75zN.js} +4 -4
- package/dist/component/{bookings-address-rac-CEObYEbj.js → bookings-address-rac-CWtYXwpn.js} +1 -1
- package/dist/component/{bookings-email-rac-DmW99D5W.js → bookings-email-rac-BUpRXmbz.js} +1 -1
- package/dist/component/{bookings-first-name-rac-GmKet4hL.js → bookings-first-name-rac-CnHSxXFN.js} +1 -1
- package/dist/component/{bookings-header-rac-C_J1YzAq.js → bookings-header-rac-BcD45Kgs.js} +1 -1
- package/dist/component/{bookings-last-name-rac-Bj-gwK0F.js → bookings-last-name-rac-VaqfK3bu.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-ol4QLAP6.js → bookings-login-bar-rac-Dv2quJRw.js} +1 -1
- package/dist/component/{bookings-phone-rac-oaCG294y.js → bookings-phone-rac-DVOu-9yX.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-sMiikQgk.js → bookings-rich-text-rac-SfsoQKeI.js} +1 -1
- package/dist/component/{checkbox-field-rac-DxGaRbDj.js → checkbox-field-rac-BHGWuGcT.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-C3ZaCvQz.js → checkbox-group-field-headless-KVBLbjKE.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-CMj-kfFN.js → checkbox-group-field-rac-C-WNRuVW.js} +4 -4
- package/dist/component/{checkbox-group-rac-DpOT4H7g.js → checkbox-group-rac-BMeqtM9H.js} +1 -1
- package/dist/component/{checkbox-rac-CwdOkW8r.js → checkbox-rac-WDBiwyvs.js} +1 -1
- package/dist/component/{contacts-address-rac-CQvt1Epy.js → contacts-address-rac-CUjhR8Nq.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-VRGtjIMf.js → contacts-birthdate-rac-BurJLd1V.js} +1 -1
- package/dist/component/{contacts-company-rac-B_XDJTL9.js → contacts-company-rac-y94712hj.js} +1 -1
- package/dist/component/{contacts-email-rac-BJ0EdzZo.js → contacts-email-rac-BYzv5pJt.js} +1 -1
- package/dist/component/{contacts-first-name-rac-DzBzJXj7.js → contacts-first-name-rac-AabYYZTr.js} +1 -1
- package/dist/component/{contacts-last-name-rac-DAHlHpW7.js → contacts-last-name-rac-B6GTnMea.js} +1 -1
- package/dist/component/{contacts-phone-rac-C4D1TMqv.js → contacts-phone-rac-BhGEdh5D.js} +1 -1
- package/dist/component/{contacts-position-rac-g0CJQJLc.js → contacts-position-rac-BmbLuomW.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-C54jQIum.js → contacts-subscribe-rac-B7SELom1.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-D_JlmKJb.js → contacts-tax-id-rac-BewGatKM.js} +1 -1
- package/dist/component/{date-availability-CFp_AHpE.js → date-availability-Cpw7i5-L.js} +1 -1
- package/dist/component/{date-input-field-rac-CxOU5_P5.js → date-input-field-rac-JbWzxDzZ.js} +6 -6
- package/dist/component/{date-input-rac-CEuyvgIp.js → date-input-rac-v4pNWyuY.js} +1 -1
- package/dist/component/{date-picker-field-rac-DC8gw2Qe.js → date-picker-field-rac-0eLcya58.js} +6 -6
- package/dist/component/{date-picker-rac-B8prCy1F.js → date-picker-rac-BP4BRWn4.js} +1 -1
- package/dist/component/{date-time-input-field-rac-FwScqIVQ.js → date-time-input-field-rac-Cj0RSJF9.js} +6 -6
- package/dist/component/{date-time-input-rac-gdstXM2G.js → date-time-input-rac-DyD0SpMV.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-DdEAXUYC.js → dext-checkbox-group-rac-BE9fK7wx.js} +2 -2
- package/dist/component/{dext-checkbox-rac-DYgl82IR.js → dext-checkbox-rac-CpB-AVP1.js} +1 -1
- package/dist/component/{dext-date-picker-rac-SaO61461.js → dext-date-picker-rac-DkiWY5CE.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-CQ2klkyf.js → dext-date-time-input-rac-CyGIs4uD.js} +1 -1
- package/dist/component/{dext-dropdown-rac-CYINWMm2.js → dext-dropdown-rac-C0GiCpWI.js} +1 -1
- package/dist/component/{dext-email-rac-7e49-L1S.js → dext-email-rac-Clngd9Lm.js} +1 -1
- package/dist/component/{dext-number-input-rac-BxECUZaK.js → dext-number-input-rac-Boshfkc5.js} +1 -1
- package/dist/component/{dext-phone-rac-BCUCWcrF.js → dext-phone-rac-AX8R0fDx.js} +1 -1
- package/dist/component/{dext-radio-group-rac-Bs_64hFW.js → dext-radio-group-rac-VSwdnWPU.js} +2 -2
- package/dist/component/{dext-rating-input-rac-Bl-MBjGQ.js → dext-rating-input-rac-aspmLO_w.js} +1 -1
- package/dist/component/{dext-tags-rac-D98sEqwj.js → dext-tags-rac-D4r4j1KZ.js} +2 -2
- package/dist/component/{dext-text-area-rac-Dsbsk2z4.js → dext-text-area-rac-D8vG4QTK.js} +1 -1
- package/dist/component/{dext-text-input-rac-vYtTnV5G.js → dext-text-input-rac-D19SJhDG.js} +1 -1
- package/dist/component/{dext-url-input-rac-tJJZOvtn.js → dext-url-input-rac-BUAWZX7n.js} +1 -1
- package/dist/component/{donation-rac-CPPSHRbF.js → donation-rac-C4NdOTts.js} +5 -5
- package/dist/component/{dropdown-field-headless-BWbsB155.js → dropdown-field-headless-CtppkNv5.js} +5 -5
- package/dist/component/{dropdown-field-rac-BYyLHTVV.js → dropdown-field-rac-B6KCsR-j.js} +3 -3
- package/dist/component/{dropdown-rac-CyWVQHvW.js → dropdown-rac-CkFLrcRV.js} +1 -1
- package/dist/component/{ecom-address-rac-DLWEUZg7.js → ecom-address-rac-D6asF2b7.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-DY-Vzmr5.js → ecom-subscription-checkbox-rac-CFzMl_9G.js} +2 -2
- package/dist/component/{email-input-field-rac-00Q0cH3p.js → email-input-field-rac-gCsspvxb.js} +3 -3
- package/dist/component/{events-repeater-rac-C_TDB0VL.js → events-repeater-rac-DSrjafwK.js} +4 -4
- package/dist/component/{events-rsvp-rac-Cly4TgEv.js → events-rsvp-rac-CMQtNDqE.js} +3 -3
- package/dist/component/{field-error-headless-sUpR20_V.js → field-error-headless-Bt2dslWu.js} +1 -1
- package/dist/component/{field-label-headless-xEHyxl62.js → field-label-headless-ZBAhq8nF.js} +1 -1
- package/dist/component/{file-upload-rac-BLTYhgrR.js → file-upload-rac-MzPreLKz.js} +4 -4
- package/dist/component/{fixed-payment-rac-BBSzAU8U.js → fixed-payment-rac-CPWIOJSH.js} +3 -3
- package/dist/component/{form-DbRjIc40.js → form-BrXx-2qp.js} +329 -328
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-DdF0EtGw.js → header-field-rac-5dkUDBLN.js} +2 -2
- package/dist/component/{header-rac-CQzVj2se.js → header-rac-eXnz2eEI.js} +1 -1
- package/dist/component/{image-choice-rac-F4il5nrs.js → image-choice-rac-BxmirCog.js} +4 -4
- package/dist/component/{index-3lV2ezGk.js → index-Be6_W-02.js} +2 -2
- package/dist/component/{index-ClGqqyFk.js → index-CCz5mdOt.js} +4 -4
- package/dist/component/{isObjectLike-CbFuWC1b.js → isObjectLike-DhFZRIZ5.js} +1 -1
- package/dist/component/{multiline-address-field-rac-Bhkmy-UH.js → multiline-address-field-rac-C3Rz-qFR.js} +7 -7
- package/dist/component/{multiline-address-rac-CH6ZAJ_l.js → multiline-address-rac-BFvxiD8l.js} +1 -1
- package/dist/component/{number-input-field-rac-DEBHQQqw.js → number-input-field-rac-CAuoAgAm.js} +4 -4
- package/dist/component/{number-input-rac-DL3ReqMc.js → number-input-rac-ZCBaL_D4.js} +1 -1
- package/dist/component/{password-rac-Bo7Va46-.js → password-rac-oAAB5Yek.js} +4 -4
- package/dist/component/{payment-input-rac-CyT2kcLF.js → payment-input-rac-BkVImcPM.js} +4 -4
- package/dist/component/{phone-input-field-rac-CKCkS2mG.js → phone-input-field-rac-LReDQaEl.js} +6 -6
- package/dist/component/{phone-rac-BcW_3aA5.js → phone-rac-B4Rv_q9_.js} +1 -1
- package/dist/component/{product-list-rac-Cxu5KYQ1.js → product-list-rac-CVoJPZH6.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-Bam3nw3m.js → quiz-radio-group-rac-CHXOBaWQ.js} +1 -1
- package/dist/component/{radio-button-module-classes-D6cil49f.js → radio-button-module-classes-G3CPOqV_.js} +3 -3
- package/dist/component/{radio-group-field-rac-BgWnXO5Q.js → radio-group-field-rac-Di8f67l0.js} +4 -4
- package/dist/component/{radio-group-rac-BMepx9xD.js → radio-group-rac-BP4EdSWA.js} +1 -1
- package/dist/component/{rating-input-field-rac-BmdQzQ1t.js → rating-input-field-rac-D6nHfXat.js} +4 -4
- package/dist/component/{rating-input-rac-BuNTgro2.js → rating-input-rac-BpTVbrOY.js} +1 -1
- package/dist/component/{rich-content-rac.module-DIShgYK1.js → rich-content-rac.module-DfNKRJQl.js} +1 -1
- package/dist/component/{rich-text-field-rac-CfcWsMcr.js → rich-text-field-rac-BZx7O1ln.js} +2 -2
- package/dist/component/{rich-text-rac-CbpbC1i1.js → rich-text-rac-Bie0rehR.js} +1 -1
- package/dist/component/{service-dropdown-rac-_ph-8eMR.js → service-dropdown-rac-DZgYoLs3.js} +4 -4
- package/dist/component/{services-multi-choice-rac-VS-18f_N.js → services-multi-choice-rac-os7W4s1g.js} +5 -5
- package/dist/component/{signature-rac-CgCdt4im.js → signature-rac-BMRvU0qg.js} +4 -4
- package/dist/component/{submit-button-rac-CAnahSZG.js → submit-button-rac-BkXQF3FL.js} +2 -2
- package/dist/component/{tags-field-rac-TdxHJoT1.js → tags-field-rac-5GL81x5S.js} +5 -5
- package/dist/component/{tags-rac-ivZy_kqq.js → tags-rac-BG4eu5vf.js} +1 -1
- package/dist/component/{text-area-field-rac-C4dg7l8s.js → text-area-field-rac-CGtt6YXJ.js} +4 -4
- package/dist/component/{text-area-rac-Dqcg7ApJ.js → text-area-rac-D6aJxM-f.js} +1 -1
- package/dist/component/{text-input-field-rac-C6VjmvWa.js → text-input-field-rac-BUuVi4gl.js} +3 -3
- package/dist/component/{text-input-headless-CUsCjQmX.js → text-input-headless-DG-jyTVD.js} +3 -3
- package/dist/component/{text-input-rac-CMFWBJKG.js → text-input-rac-LVE42SOJ.js} +1 -1
- package/dist/component/{time-input-rac-cbG7WRTS.js → time-input-rac-jZ9v7Azv.js} +4 -4
- package/dist/component/{url-input-field-rac-7yh9eqH3.js → url-input-field-rac-DQ9JerAM.js} +4 -4
- package/dist/component/{url-input-rac-D_rkLxU0.js → url-input-rac-4k06IpF-.js} +1 -1
- package/dist/component/{use-dropdown-trigger-class-name-B53A0SXh.js → use-dropdown-trigger-class-name-CgNFe8Eg.js} +3 -3
- package/dist/component/{use-element-state-class-name-glM9I1ZZ.js → use-element-state-class-name-B4a4SKmP.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-DpOCZ2hg.js → use-hoverable-input-class-name-DZVkGZvs.js} +2 -2
- package/dist/component/{use-is-forced-open-dropdown-B0M0FaQ-.js → use-is-forced-open-dropdown-ClP9MSlU.js} +1 -1
- package/dist/component/{use-service-options-base-CqZd8Yl3.js → use-service-options-base-Ch2bF4mk.js} +1 -1
- package/dist/component/use-text-input-class-name-BQshbjqt.js +6 -0
- package/package.json +2 -2
- package/dist/component/use-text-input-class-name-DPUN9lls.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 { bo as u, b0 as i, a$ as C, b2 as R, aB as T, aj 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 { bo as u, b0 as i, a$ as C, b2 as R, aB as T, aj as d } from "./form-BrXx-2qp.js";
|
|
4
|
+
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-DfNKRJQl.js";
|
|
5
5
|
const y = ({ 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 y, 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 { bo as b, bl as w, bq as P, bh as x, S as B, a0 as q, N as U, P as V, H as z, v as K, O as Q, f } from "./form-
|
|
4
|
+
import { bo as b, bl as w, bq as P, bh as x, S as B, a0 as q, N as U, P as V, H as z, v as K, O as Q, f } from "./form-BrXx-2qp.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-ZBAhq8nF.js";
|
|
8
|
+
import { D as X, E as Z } from "./field-error-headless-Bt2dslWu.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-DP0lkkEv.js";
|
|
12
|
-
import { u as oe } from "./use-element-state-class-name-
|
|
12
|
+
import { u as oe } from "./use-element-state-class-name-B4a4SKmP.js";
|
|
13
13
|
const o = ({ children: t, className: n }) => {
|
|
14
14
|
const { id: s, value: a, onChange: i, disabled: l, readOnly: r, required: c, onBlur: u, onFocus: p, hasError: g, FieldLayout: C } = b(), { inputId: L, labelId: _, ariaDescribedBy: R } = w(), S = m(t, o.Label), A = m(t, o.Options), D = m(t, o.Description), h = m(t, o.Error), M = y(() => a || [], [
|
|
15
15
|
a
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b7 as n } from "./form-
|
|
2
|
-
import { A as S, a as p, C as N, aC as g, aT as q, aU as D, b9 as L } from "./form-
|
|
1
|
+
import { b7 as n } from "./form-BrXx-2qp.js";
|
|
2
|
+
import { A as S, a as p, C as N, aC as g, aT as q, aU as D, b9 as L } from "./form-BrXx-2qp.js";
|
|
3
3
|
const l = (e = !1) => ({
|
|
4
4
|
country: {
|
|
5
5
|
required: e
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { e as R, aJ as _, aY as de, aK as O, ap as Ge, B as Be, aD as qe, aw as He, av as I, aE as Ee, aN as re, aH as Fe, c as B, ax as M, b8 as Te, az as je, ay as he, aA as q } from "./form-
|
|
2
|
-
import { b3 as Mn } from "./form-
|
|
1
|
+
import { e as R, aJ as _, aY as de, aK as O, ap as Ge, B as Be, aD as qe, aw as He, av as I, aE as Ee, aN as re, aH as Fe, c as B, ax as M, b8 as Te, az as je, ay as he, aA as q } from "./form-BrXx-2qp.js";
|
|
2
|
+
import { b3 as Mn } from "./form-BrXx-2qp.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-Cpw7i5-L.js";
|
|
10
|
+
import { a as Sn } from "./date-availability-Cpw7i5-L.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 { bj as ft, d as yt, be as Pt, bg as Ct, aT as Tt, aU as wt, aM as Mt, aS as W, F as K, by as Pe, b7 as lt, bo as P, bl as T, bq as ae, bk as It, aY as qt, C as Oe, b5 as xt, b9 as Bt, bv as kt, bp as $t, bu as Ut, bc as Vt, b1 as Wt, bb as Kt, br as Yt, as as Ht, S as z, a0 as Q, y as ge, H as Z, v as ee } from "./form-
|
|
5
|
+
import { bj as ft, d as yt, be as Pt, bg as Ct, aT as Tt, aU as wt, aM as Mt, aS as W, F as K, by as Pe, b7 as lt, bo as P, bl as T, bq as ae, bk as It, aY as qt, C as Oe, b5 as xt, b9 as Bt, bv as kt, bp as $t, bu as Ut, bc as Vt, b1 as Wt, bb as Kt, br as Yt, as as Ht, S as z, a0 as Q, y as ge, H as Z, v as ee } from "./form-BrXx-2qp.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 } from "./use-is-forced-open-dropdown-
|
|
8
|
+
import { a as Xt } from "./use-is-forced-open-dropdown-ClP9MSlU.js";
|
|
9
9
|
import { TextField as fe, Input as le, ComboBoxStateContext as We, ComboBox as he, Popover as Se, ListBox as Te, ListBoxItem as De, 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 Gt, c as zt, a as Qt, r as gt } from "./isObjectLike-
|
|
13
|
-
import { V as Zt, a as en, u as tn } from "./use-dropdown-trigger-class-name-
|
|
10
|
+
import { D as ie, E as ce } from "./field-error-headless-Bt2dslWu.js";
|
|
11
|
+
import { L as de } from "./field-label-headless-ZBAhq8nF.js";
|
|
12
|
+
import { e as Gt, c as zt, a as Qt, r as gt } from "./isObjectLike-DhFZRIZ5.js";
|
|
13
|
+
import { V as Zt, a as en, u as tn } from "./use-dropdown-trigger-class-name-CgNFe8Eg.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-DP0lkkEv.js";
|
|
19
|
-
import { u as rn } from "./use-text-input-class-name-
|
|
19
|
+
import { u as rn } from "./use-text-input-class-name-BQshbjqt.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-DEBHQQqw.js → number-input-field-rac-CAuoAgAm.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 H, useCallback as Q, useEffect as U, useRef as $ } from "react";
|
|
4
4
|
import { NumberField as j, Input as z } from "react-aria-components";
|
|
5
|
-
import { bo as S, bl as _, by as G, bq as J, S as K, a0 as W, H as X, v as Y } from "./form-
|
|
5
|
+
import { bo as S, bl as _, by as G, bq as J, S as K, a0 as W, H as X, v as Y } from "./form-BrXx-2qp.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-Bt2dslWu.js";
|
|
8
|
+
import { L as ee } from "./field-label-headless-ZBAhq8nF.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-DP0lkkEv.js";
|
|
13
|
-
import { u as se } from "./use-text-input-class-name-
|
|
13
|
+
import { u as se } from "./use-text-input-class-name-BQshbjqt.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 } = S(), { labelId: y } = _(), 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, q = O(s), [x, I] = H(q), T = ne(E), V = c(t, e.Label), h = c(t, e.Input), M = c(t, e.Description), k = c(t, e.Error), B = Q((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 { bo as E, bl as I, bq as v, by as A, S as B, a0 as V, H as P, v as M } from "./form-
|
|
4
|
+
import { bo as E, bl as I, bq as v, by as A, S as B, a0 as V, H as P, v as M } from "./form-BrXx-2qp.js";
|
|
5
5
|
import { TextField as k, Group as q, Input as H, 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 W } from "./field-error-headless-
|
|
8
|
-
import { L as Z } from "./field-label-headless-
|
|
7
|
+
import { D as j, E as W } from "./field-error-headless-Bt2dslWu.js";
|
|
8
|
+
import { L as Z } from "./field-label-headless-ZBAhq8nF.js";
|
|
9
9
|
import { E as G } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { H as Q } from "./custom-focus-class-_483Pkwp.js";
|
|
11
11
|
import { s as p } from "./field-rac.module-DP0lkkEv.js";
|
|
12
|
-
import { u as $ } from "./use-text-input-class-name-
|
|
12
|
+
import { u as $ } from "./use-text-input-class-name-BQshbjqt.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), S = 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 j } 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 { bo as R, bl as S, bg as T, by as W, bq as X, S as Y, a0 as Z, H as ee, v as re } from "./form-
|
|
5
|
+
import { bo as R, bl as S, bg as T, by as W, bq as X, S as Y, a0 as Z, H as ee, v as re } from "./form-BrXx-2qp.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-Bt2dslWu.js";
|
|
8
|
+
import { L as ae } from "./field-label-headless-ZBAhq8nF.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-DP0lkkEv.js";
|
|
14
|
-
import { u as ie } from "./use-text-input-class-name-
|
|
14
|
+
import { u as ie } from "./use-text-input-class-name-BQshbjqt.js";
|
|
15
15
|
function ue(e, t) {
|
|
16
16
|
return {
|
|
17
17
|
productId: e.id,
|
package/dist/component/{phone-input-field-rac-CKCkS2mG.js → phone-input-field-rac-LReDQaEl.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 j, useState as $, useRef as F, useEffect as k, useCallback as W, createContext as ee, useContext as H, useId as de } from "react";
|
|
4
|
-
import { b7 as ye, by as D, bg as te, bx as Ee, bo as w, bl as ne, bq as fe, S as ge, a0 as he, R as be, y as Oe, H as _e, v as Ne } from "./form-
|
|
4
|
+
import { b7 as ye, by as D, bg as te, bx as Ee, bo as w, bl as ne, bq as fe, S as ge, a0 as he, R as be, y as Oe, H as _e, v as Ne } from "./form-BrXx-2qp.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 q, ListBoxItem as Fe, DialogTrigger as De, Select as we, Input as re, Autocomplete as Be } from "react-aria-components";
|
|
7
7
|
import { f as g, a as I } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as Re, E as xe } from "./field-error-headless-
|
|
9
|
-
import { L as Me } from "./field-label-headless-
|
|
8
|
+
import { D as Re, E as xe } from "./field-error-headless-Bt2dslWu.js";
|
|
9
|
+
import { L as Me } from "./field-label-headless-ZBAhq8nF.js";
|
|
10
10
|
import { N as Te, S as je } from "./non-modal-popover-D-u13tmp.js";
|
|
11
11
|
import { u as $e } from "./use-invoke-callback-UH73A_J3.js";
|
|
12
|
-
import { a as Ae } from "./use-is-forced-open-dropdown-
|
|
13
|
-
import { V as ke, u as Ue, a as Ve } from "./use-dropdown-trigger-class-name-
|
|
12
|
+
import { a as Ae } from "./use-is-forced-open-dropdown-ClP9MSlU.js";
|
|
13
|
+
import { V as ke, u as Ue, a as Ve } from "./use-dropdown-trigger-class-name-CgNFe8Eg.js";
|
|
14
14
|
import ae, { AsYouType as qe, isValidPhoneNumber as He, isSupportedCountry as Ge } from "libphonenumber-js";
|
|
15
15
|
import "libphonenumber-js/metadata.min.json";
|
|
16
16
|
import { C as Z } 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 ze } from "./error-icon-hZxQ6DEy.js";
|
|
19
19
|
import { H as Q } from "./custom-focus-class-_483Pkwp.js";
|
|
20
20
|
import { s as O } from "./field-rac.module-DP0lkkEv.js";
|
|
21
|
-
import { u as Ke } from "./use-text-input-class-name-
|
|
21
|
+
import { u as Ke } from "./use-text-input-class-name-BQshbjqt.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 K, useCallback as M, useRef as x } from "react";
|
|
|
2
2
|
import { RicosViewer as $ } from "@wix/ricos/viewer";
|
|
3
3
|
import b from "classnames";
|
|
4
4
|
import { CheckboxField as z, CheckboxButton as G, NumberField as W, Group as X, Button as j, Input as J } from "react-aria-components";
|
|
5
|
-
import { bo as U, bl as Y, bg as V, by as Z, bq as ee, S as te, a0 as ne, T as ae, W as oe, V as re, R as le, H as se, v as ie, U as ce } from "./form-
|
|
5
|
+
import { bo as U, bl as Y, bg as V, by as Z, bq as ee, S as te, a0 as ne, T as ae, W as oe, V as re, R as le, H as se, v as ie, U as ce } from "./form-BrXx-2qp.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-ZBAhq8nF.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-Bt2dslWu.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-akWZsZNn.js";
|
|
15
15
|
import { s as q } from "./field-rac.module-DP0lkkEv.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-B4a4SKmP.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 k, RadioField as q, RadioButton as A, TextField as G, Input as P } from "react-aria-components";
|
|
3
|
-
import { bo as g, bl as $, by as D, bq as x } from "./form-
|
|
3
|
+
import { bo as g, bl as $, by as D, bq as x } from "./form-BrXx-2qp.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-Bt2dslWu.js";
|
|
6
|
+
import { L as j } from "./field-label-headless-ZBAhq8nF.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-BgWnXO5Q.js → radio-group-field-rac-Di8f67l0.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-G3CPOqV_.js";
|
|
5
5
|
import { E as c } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as r } from "./field-rac.module-DP0lkkEv.js";
|
|
7
|
-
import { S as i, a0 as E, X as p, Y as O, H as R, v as _, Z as I } from "./form-
|
|
7
|
+
import { S as i, a0 as E, X as p, Y as O, H as R, v as _, Z as I } from "./form-BrXx-2qp.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-B4a4SKmP.js";
|
|
10
|
+
import { u } from "./use-text-input-class-name-BQshbjqt.js";
|
|
11
11
|
const S = ({ content: o, locale: l }) => /* @__PURE__ */ e.createElement(m, {
|
|
12
12
|
content: o,
|
|
13
13
|
locale: l
|
package/dist/component/{rating-input-field-rac-BmdQzQ1t.js → rating-input-field-rac-D6nHfXat.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 { bo as v, bl as I, by as H, S as T, a0 as M, _ as w, H as B, v as P, $ as q } from "./form-
|
|
4
|
+
import { bo as v, bl as I, by as H, S as T, a0 as M, _ as w, H as B, v as P, $ as q } from "./form-BrXx-2qp.js";
|
|
5
5
|
import { RadioGroup as G, 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 Q } from "./field-error-headless-
|
|
8
|
-
import { L as Z } from "./field-label-headless-
|
|
7
|
+
import { D as z, E as Q } from "./field-error-headless-Bt2dslWu.js";
|
|
8
|
+
import { L as Z } from "./field-label-headless-ZBAhq8nF.js";
|
|
9
9
|
import { E as $ } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as g } from "./field-rac.module-DP0lkkEv.js";
|
|
11
|
-
import { u as j } from "./use-element-state-class-name-
|
|
11
|
+
import { u as j } from "./use-element-state-class-name-B4a4SKmP.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 } = v(), { labelId: _ } = I(), L = N((y) => i(Number(y)), [
|
|
14
14
|
i
|
package/dist/component/{rich-content-rac.module-DIShgYK1.js → rich-content-rac.module-DfNKRJQl.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import { bo as a, bg as i, by as T } from "./form-
|
|
2
|
+
import { bo as a, bg as i, by as T } from "./form-BrXx-2qp.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 { bo as m, aB as i, aj as u, a$ as R, b2 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 { bo as m, aB as i, aj as u, a$ as R, b2 as T } from "./form-BrXx-2qp.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-DfNKRJQl.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-_ph-8eMR.js → service-dropdown-rac-DZgYoLs3.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
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 { bk as P, by as A, F as y, bo as M, bg as H, aq as V, S as k, a0 as q, y as x, H as U, v as W } from "./form-
|
|
5
|
-
import { u as B } from "./use-service-options-base-
|
|
6
|
-
import { D as u } from "./dropdown-field-headless-
|
|
4
|
+
import { bk as P, by as A, F as y, bo as M, bg as H, aq as V, S as k, a0 as q, y as x, H as U, v as W } from "./form-BrXx-2qp.js";
|
|
5
|
+
import { u as B } from "./use-service-options-base-Ch2bF4mk.js";
|
|
6
|
+
import { D as u } from "./dropdown-field-headless-CtppkNv5.js";
|
|
7
7
|
import { C as Q } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as Y } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as j } from "./custom-focus-class-_483Pkwp.js";
|
|
10
10
|
import { s as i } from "./field-rac.module-DP0lkkEv.js";
|
|
11
|
-
import { a as z, u as G } from "./use-dropdown-trigger-class-name-
|
|
11
|
+
import { a as z, u as G } from "./use-dropdown-trigger-class-name-CgNFe8Eg.js";
|
|
12
12
|
const J = "00000000-0000-0000-0000-000000000000", K = (e) => {
|
|
13
13
|
const { actions: o } = 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, bo as d, aq as D, S as F, a0 as N, o as f, q as h, H as b, v as M, p 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, bo as d, aq as D, S as F, a0 as N, o as f, q as h, H as b, v as M, p as A } from "./form-BrXx-2qp.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-Ch2bF4mk.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-KVBLbjKE.js";
|
|
7
7
|
import { E as x } from "./error-icon-hZxQ6DEy.js";
|
|
8
8
|
import { C as P } from "./checkbox-indicator-module-classes-akWZsZNn.js";
|
|
9
9
|
import { s as n } from "./field-rac.module-DP0lkkEv.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-B4a4SKmP.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-BQshbjqt.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({
|
|
@@ -2,17 +2,17 @@ import r, { useRef as V, useContext as Ne, useMemo as be, useCallback as _, useS
|
|
|
2
2
|
import we from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import { RicosViewer as xe } from "@wix/ricos/viewer";
|
|
4
4
|
import F from "classnames";
|
|
5
|
-
import { aS as Ue, bi as Te, au as Be, F as Oe, bk as Pe, bg as Me, bw as Ce, E as me, ak as oe, bo as x, bl as W, bq as Ie, by as He, bh as We, S as Ye, a0 as qe, a1 as ke, v as pe, b as Ze, a7 as Ge, a8 as fe, H as Ve, a2 as $e, a5 as ze, a3 as Xe, a6 as je, f as ne, a4 as Je } from "./form-
|
|
5
|
+
import { aS as Ue, bi as Te, au as Be, F as Oe, bk as Pe, bg as Me, bw as Ce, E as me, ak as oe, bo as x, bl as W, bq as Ie, by as He, bh as We, S as Ye, a0 as qe, a1 as ke, v as pe, b as Ze, a7 as Ge, a8 as fe, H as Ve, a2 as $e, a5 as ze, a3 as Xe, a6 as je, f as ne, a4 as Je } from "./form-BrXx-2qp.js";
|
|
6
6
|
import { useHover as Ke, useFocusRing as Qe, mergeProps as et } from "react-aria";
|
|
7
7
|
import { RadioGroup as tt, Button as ye, TextField as nt, DropZone as at, Input as ot, FileTrigger as st, RadioField as rt, RadioButton as lt } from "react-aria-components";
|
|
8
8
|
import _e from "signature_pad";
|
|
9
9
|
import { f as I, a as N } from "./find-child-C60k4CxG.js";
|
|
10
|
-
import { D as it, E as ct } from "./field-error-headless-
|
|
11
|
-
import { L as ut } from "./field-label-headless-
|
|
10
|
+
import { D as it, E as ct } from "./field-error-headless-Bt2dslWu.js";
|
|
11
|
+
import { L as ut } from "./field-label-headless-ZBAhq8nF.js";
|
|
12
12
|
import { D as dt } from "./data-hooks-Dkw1pbRj.js";
|
|
13
13
|
import { E as mt } from "./error-icon-hZxQ6DEy.js";
|
|
14
14
|
import { s as ae } from "./field-rac.module-DP0lkkEv.js";
|
|
15
|
-
import { u as z } from "./use-element-state-class-name-
|
|
15
|
+
import { u as z } from "./use-element-state-class-name-B4a4SKmP.js";
|
|
16
16
|
const pt = typeof r.useId == "function" ? r.useId : () => V(Ue()).current, ft = ({ properties: e }) => e.uploadEnabled === !0, ht = (e, t) => e.fieldType === Oe.SIGNATURE && !e.properties.hidden && !e.properties.disabled && !e.properties.readOnly && (t !== "upload" || ft(e)), Et = (e, t) => e.layout.row - t.layout.row || e.layout.column - t.layout.column, gt = (e) => {
|
|
17
17
|
var o;
|
|
18
18
|
const t = (o = Te().signature) == null ? void 0 : o.signatureMode, a = Ne(Be);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import t, { useRef as X, useCallback as y } from "react";
|
|
2
2
|
import $ from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import p from "classnames";
|
|
4
|
-
import { bo as b, bi as j, ai as q, ah as z, af as G, ae as J, an as K, am as Q, ag as Y, b as Z, ad as tt, al as et } from "./form-
|
|
4
|
+
import { bo as b, bi as j, ai as q, ah as z, af as G, ae as J, an as K, am as Q, ag as Y, b as Z, ad as tt, al as et } from "./form-BrXx-2qp.js";
|
|
5
5
|
import { ProgressBar as nt, Button as R } from "react-aria-components";
|
|
6
6
|
import { f as l } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { u as x } from "./use-element-state-class-name-
|
|
7
|
+
import { u as x } from "./use-element-state-class-name-B4a4SKmP.js";
|
|
8
8
|
function ot(e) {
|
|
9
9
|
const s = "calc(50% - 2px)";
|
|
10
10
|
return /* @__PURE__ */ t.createElement(nt, {
|
|
@@ -2,15 +2,15 @@ import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
|
2
2
|
import F from "classnames";
|
|
3
3
|
import t, { useMemo as I, useState as z, useRef as q, useLayoutEffect as B, useCallback as N } from "react";
|
|
4
4
|
import { CheckboxGroup as J, TextField as K, Input as X, CheckboxField as Y, CheckboxButton as Z } from "react-aria-components";
|
|
5
|
-
import { bo as D, bl as M, by as S, bq as U, S as ee, a0 as te, aa as ae, H as ne, v as oe, ab as re } from "./form-
|
|
5
|
+
import { bo as D, bl as M, by as S, bq as U, S as ee, a0 as te, aa as ae, H as ne, v as oe, ab as re } from "./form-BrXx-2qp.js";
|
|
6
6
|
import { f as O, a as k } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { E as x, D as H } from "./field-error-headless-
|
|
8
|
-
import { L as W } from "./field-label-headless-
|
|
7
|
+
import { E as x, D as H } from "./field-error-headless-Bt2dslWu.js";
|
|
8
|
+
import { L as W } from "./field-label-headless-ZBAhq8nF.js";
|
|
9
9
|
import { F as se } from "./fieldset-headless-CD3fds9J.js";
|
|
10
10
|
import { E as le } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as y } from "./field-rac.module-DP0lkkEv.js";
|
|
12
|
-
import { u as ie } from "./use-element-state-class-name-
|
|
13
|
-
import { u as ce } from "./use-text-input-class-name-
|
|
12
|
+
import { u as ie } from "./use-element-state-class-name-B4a4SKmP.js";
|
|
13
|
+
import { u as ce } from "./use-text-input-class-name-BQshbjqt.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 S } from "@wix/ricos/viewer";
|
|
|
2
2
|
import o from "classnames";
|
|
3
3
|
import r, { useCallback as N, useRef as T } from "react";
|
|
4
4
|
import { TextField as O, TextArea as y } from "react-aria-components";
|
|
5
|
-
import { bo as p, bl as d, bq as x, S as v, a0 as g, H as h, v as q } from "./form-
|
|
5
|
+
import { bo as p, bl as d, bq as x, S as v, a0 as g, H as h, v as q } from "./form-BrXx-2qp.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as M, E as B } from "./field-error-headless-
|
|
8
|
-
import { L as k } from "./field-label-headless-
|
|
7
|
+
import { D as M, E as B } from "./field-error-headless-Bt2dslWu.js";
|
|
8
|
+
import { L as k } from "./field-label-headless-ZBAhq8nF.js";
|
|
9
9
|
import { E as P } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as c } from "./field-rac.module-DP0lkkEv.js";
|
|
11
|
-
import { u as V } from "./use-text-input-class-name-
|
|
11
|
+
import { u as V } from "./use-text-input-class-name-BQshbjqt.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 = N((A) => {
|
|
14
14
|
s(A);
|
package/dist/component/{text-input-field-rac-C6VjmvWa.js → text-input-field-rac-BUuVi4gl.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-DG-jyTVD.js";
|
|
5
5
|
import { E as o } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as a } from "./field-rac.module-DP0lkkEv.js";
|
|
7
|
-
import { S as n, a0 as c, H as E, v as i } from "./form-
|
|
8
|
-
import { u as p } from "./use-text-input-class-name-
|
|
7
|
+
import { S as n, a0 as c, H as E, v as i } from "./form-BrXx-2qp.js";
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-BQshbjqt.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 v } from "react";
|
|
2
2
|
import { TextField as C, Input as R } from "react-aria-components";
|
|
3
|
-
import { bo as c, bl as d, bq as T } from "./form-
|
|
3
|
+
import { bo as c, bl as d, bq as T } from "./form-BrXx-2qp.js";
|
|
4
4
|
import { f as l } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as g, E as h } from "./field-error-headless-
|
|
6
|
-
import { L as q } from "./field-label-headless-
|
|
5
|
+
import { D as g, E as h } from "./field-error-headless-Bt2dslWu.js";
|
|
6
|
+
import { L as q } from "./field-label-headless-ZBAhq8nF.js";
|
|
7
7
|
const e = ({ children: r }) => {
|
|
8
8
|
const { id: s, value: a, onChange: i, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus: b, autoComplete: f, FieldLayout: E } = c(), { labelId: I } = d(), F = l(r, e.Label), y = l(r, e.Input), D = l(r, e.Description), L = l(r, e.Error);
|
|
9
9
|
return /* @__PURE__ */ t.createElement(E, {
|
|
@@ -3,14 +3,14 @@ import { RicosViewer as x } from "@wix/ricos/viewer";
|
|
|
3
3
|
import m from "classnames";
|
|
4
4
|
import { parseTime as B } from "@internationalized/date";
|
|
5
5
|
import { TimeField as k, DateInput as U, DateSegment as _, TimeFieldStateContext as w } from "react-aria-components";
|
|
6
|
-
import { bo as p, bl as j, by as T, bq as Q, S as z, a0 as G, H as J, v as K } from "./form-
|
|
6
|
+
import { bo as p, bl as j, by as T, bq as Q, S as z, a0 as G, H as J, v as K } from "./form-BrXx-2qp.js";
|
|
7
7
|
import { f as u, a as S } 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-Bt2dslWu.js";
|
|
9
|
+
import { L as Y } from "./field-label-headless-ZBAhq8nF.js";
|
|
10
10
|
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { H as F } from "./custom-focus-class-_483Pkwp.js";
|
|
12
12
|
import { s as f } from "./field-rac.module-DP0lkkEv.js";
|
|
13
|
-
import { u as $ } from "./use-text-input-class-name-
|
|
13
|
+
import { u as $ } from "./use-text-input-class-name-BQshbjqt.js";
|
|
14
14
|
const r = ({ children: t }) => {
|
|
15
15
|
const { id: n, value: s, onChange: a, disabled: i, readOnly: o, required: c, onBlur: l, onFocus: E, use24HourFormat: b, FieldLayout: C, hasError: g } = p(), { inputId: I, ariaDescribedBy: D, labelId: L } = j(), R = v((M) => {
|
|
16
16
|
const H = ae(M);
|
|
@@ -2,14 +2,14 @@ import { RicosViewer as N } from "@wix/ricos/viewer";
|
|
|
2
2
|
import i from "classnames";
|
|
3
3
|
import r, { useCallback as h, useRef as O } from "react";
|
|
4
4
|
import { TextField as y, Input as A } from "react-aria-components";
|
|
5
|
-
import { bo as d, bl as E, bq as v, S as B, a0 as T, H as g, v as k } from "./form-
|
|
5
|
+
import { bo as d, bl as E, bq as v, S as B, a0 as T, H as g, v as k } from "./form-BrXx-2qp.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as q, E as M } from "./field-error-headless-
|
|
8
|
-
import { L as P } from "./field-label-headless-
|
|
7
|
+
import { D as q, E as M } from "./field-error-headless-Bt2dslWu.js";
|
|
8
|
+
import { L as P } from "./field-label-headless-ZBAhq8nF.js";
|
|
9
9
|
import { u as x } from "./use-invoke-callback-UH73A_J3.js";
|
|
10
10
|
import { E as U } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as u } from "./field-rac.module-DP0lkkEv.js";
|
|
12
|
-
import { u as w } from "./use-text-input-class-name-
|
|
12
|
+
import { u as w } from "./use-text-input-class-name-BQshbjqt.js";
|
|
13
13
|
const H = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
|
|
14
14
|
const { id: o, value: l, onChange: n, disabled: m, readOnly: s, required: a, hasError: I, onBlur: b, onFocus: f, FieldLayout: R } = d(), { labelId: F } = E(), p = x(b), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), S = c(t, e.Error), _ = h(() => {
|
|
15
15
|
n(H(l)), p();
|