@wix/form-elements 1.134.0 → 1.135.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-CZHb5jGz.js → appointment-rac-CYCddSl9.js} +4 -4
- package/dist/component/{bookings-address-rac-F39MfGmX.js → bookings-address-rac-BK-sU26E.js} +1 -1
- package/dist/component/{bookings-email-rac-D4CurQjr.js → bookings-email-rac-DZ3HVkyn.js} +1 -1
- package/dist/component/{bookings-first-name-rac-Bz9o1eLl.js → bookings-first-name-rac-Ci4PHqOr.js} +1 -1
- package/dist/component/{bookings-header-rac-6mfX0WGf.js → bookings-header-rac-C_MYNrDA.js} +1 -1
- package/dist/component/{bookings-last-name-rac-CD1-B7Ao.js → bookings-last-name-rac-CdNlwyjm.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-2eQkfhBb.js → bookings-login-bar-rac-CP2JcaVr.js} +1 -1
- package/dist/component/{bookings-phone-rac-X6sSnHiH.js → bookings-phone-rac-BV8sqxil.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-f2artJnn.js → bookings-rich-text-rac-DQtcYRsh.js} +1 -1
- package/dist/component/{checkbox-field-rac-DoZ9bcw3.js → checkbox-field-rac-DPNqHTNc.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-B-d37T4z.js → checkbox-group-field-headless-DhhynlgN.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-0qYHz3g1.js → checkbox-group-field-rac-B3zOW7qr.js} +4 -4
- package/dist/component/{checkbox-group-rac-BqUJdAju.js → checkbox-group-rac-Qy03hO31.js} +1 -1
- package/dist/component/{checkbox-rac-BN-qNzpH.js → checkbox-rac-DYr3RaHj.js} +1 -1
- package/dist/component/{contacts-address-rac-B7vWOTFf.js → contacts-address-rac-Bi-etpfX.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-Dl0OatzW.js → contacts-birthdate-rac-D2LLjX9P.js} +1 -1
- package/dist/component/{contacts-company-rac-DIeGU0Bf.js → contacts-company-rac-C9ImoG_i.js} +1 -1
- package/dist/component/{contacts-email-rac-BCH6ogWv.js → contacts-email-rac-DeGblC9V.js} +1 -1
- package/dist/component/{contacts-first-name-rac-Cx-USWmx.js → contacts-first-name-rac-Xk3m57jK.js} +1 -1
- package/dist/component/{contacts-last-name-rac-CUZdJI9J.js → contacts-last-name-rac-BKE-1IYB.js} +1 -1
- package/dist/component/{contacts-phone-rac-hNCW_2UC.js → contacts-phone-rac-CHmtTutD.js} +1 -1
- package/dist/component/{contacts-position-rac-CJfOgxZc.js → contacts-position-rac-BS3TySLG.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-69721_c9.js → contacts-subscribe-rac--fpczJiB.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-CXXBqWIm.js → contacts-tax-id-rac-CHkn8vkL.js} +1 -1
- package/dist/component/{date-availability-NQGPIrdZ.js → date-availability-70Vb-dlb.js} +1 -1
- package/dist/component/{date-input-field-rac-C-we-suG.js → date-input-field-rac-BlkYEYM_.js} +6 -6
- package/dist/component/{date-input-rac-Cif7Bqxc.js → date-input-rac-JdNFk07Q.js} +1 -1
- package/dist/component/{date-picker-field-rac-CHDkTXVH.js → date-picker-field-rac-DHu11mY1.js} +5 -5
- package/dist/component/{date-picker-rac-DdhgbY6W.js → date-picker-rac-CZtWhFzM.js} +1 -1
- package/dist/component/{date-time-input-field-rac-BjtDbiqE.js → date-time-input-field-rac-cHAALqS5.js} +6 -6
- package/dist/component/{date-time-input-rac-BDP5SN-i.js → date-time-input-rac-Dz7GfoJO.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-CkF41kIR.js → dext-checkbox-group-rac-ZNKzyWda.js} +2 -2
- package/dist/component/{dext-checkbox-rac-DjYpsxmq.js → dext-checkbox-rac-DfPFXrKu.js} +1 -1
- package/dist/component/{dext-date-picker-rac-BxXZLogr.js → dext-date-picker-rac-BPbl65qK.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-e4y_JjEx.js → dext-date-time-input-rac-D5ywbLtW.js} +1 -1
- package/dist/component/{dext-dropdown-rac-DsjB3ZX7.js → dext-dropdown-rac-BuVsPZOU.js} +1 -1
- package/dist/component/{dext-email-rac-ClPp1g4D.js → dext-email-rac-DRjt3lqT.js} +1 -1
- package/dist/component/{dext-number-input-rac-D2nZNzyN.js → dext-number-input-rac-Bzrl87fo.js} +1 -1
- package/dist/component/{dext-phone-rac-PNiQZ-Lr.js → dext-phone-rac-LibvQb8h.js} +1 -1
- package/dist/component/{dext-radio-group-rac-DUltmMHM.js → dext-radio-group-rac-BTWnIvwW.js} +2 -2
- package/dist/component/{dext-rating-input-rac-C_apsfGT.js → dext-rating-input-rac-DTlnOcC8.js} +1 -1
- package/dist/component/{dext-tags-rac-DkB_CmOD.js → dext-tags-rac-YdeijviH.js} +2 -2
- package/dist/component/{dext-text-area-rac-CfoIK0S7.js → dext-text-area-rac-CdCzQYey.js} +1 -1
- package/dist/component/{dext-text-input-rac-CIOXlk6U.js → dext-text-input-rac-B28RTezm.js} +1 -1
- package/dist/component/{dext-url-input-rac-UHJAs3ck.js → dext-url-input-rac-B0ZBPbAb.js} +1 -1
- package/dist/component/{donation-rac-BJfvVi_d.js → donation-rac-_0cwsIAq.js} +5 -5
- package/dist/component/{dropdown-field-headless-0DB-T-3t.js → dropdown-field-headless-DVZnbZAM.js} +5 -5
- package/dist/component/{dropdown-field-rac-DB-pd2a8.js → dropdown-field-rac-DWCj_Grt.js} +4 -4
- package/dist/component/{dropdown-rac-4T4zRBVy.js → dropdown-rac-Bpo-F5sc.js} +1 -1
- package/dist/component/{ecom-address-rac-BjWD1sRX.js → ecom-address-rac-vJ0ku_Ld.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-CYCufut6.js → ecom-subscription-checkbox-rac-DgVReM6c.js} +2 -2
- package/dist/component/{email-input-field-rac-DlLoY9jB.js → email-input-field-rac-BXJGOBg-.js} +3 -3
- package/dist/component/{events-repeater-rac-CPHJbWcZ.js → events-repeater-rac-CrXE_ppd.js} +4 -4
- package/dist/component/{events-rsvp-rac-NXf8Fv3A.js → events-rsvp-rac-BGg3P1CQ.js} +3 -3
- package/dist/component/{field-error-headless-C-wyL0uw.js → field-error-headless-C3eOy1_l.js} +1 -1
- package/dist/component/{field-label-headless-32mvEUId.js → field-label-headless-BMmR_IeF.js} +1 -1
- package/dist/component/{file-upload-rac-BicD_Bhj.js → file-upload-rac-Umix6wXx.js} +4 -4
- package/dist/component/{fixed-payment-rac-DxHalHUv.js → fixed-payment-rac-CfIJCBjb.js} +3 -3
- package/dist/component/{form-B2wZnWX9.js → form-CYPNOMwk.js} +1685 -1641
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-C47Te_oW.js → header-field-rac-oxHUTKYV.js} +2 -2
- package/dist/component/{header-rac-ChDYKTx5.js → header-rac-DTGV923r.js} +1 -1
- package/dist/component/{image-choice-rac-CqTBWpcY.js → image-choice-rac-B9JGl_h7.js} +4 -4
- package/dist/component/{index-BF_Aifc-.js → index-BOKSOnDK.js} +4 -4
- package/dist/component/{index-Br8x_xx8.js → index-C_ktc-yO.js} +2 -2
- package/dist/component/{isObjectLike-D4VXbd0T.js → isObjectLike-Di8V7txC.js} +1 -1
- package/dist/component/{multiline-address-field-rac-DYcfzGJb.js → multiline-address-field-rac-zgmTbXlg.js} +7 -7
- package/dist/component/{multiline-address-rac-DcGDGyL-.js → multiline-address-rac-Cyb3dvBf.js} +1 -1
- package/dist/component/{number-input-field-rac-C_Fh8oeD.js → number-input-field-rac-DquqqRy_.js} +4 -4
- package/dist/component/{number-input-rac-J2tCaAYx.js → number-input-rac-G2DdTbk2.js} +1 -1
- package/dist/component/{password-rac-wlfBhft8.js → password-rac-DJCU0F38.js} +4 -4
- package/dist/component/{payment-input-rac-DKxy3uE0.js → payment-input-rac-DlIYza6N.js} +4 -4
- package/dist/component/{phone-input-field-rac-ClXUOLpB.js → phone-input-field-rac-B10TInMa.js} +6 -6
- package/dist/component/{phone-rac-D0-Poz1e.js → phone-rac-BuyttJpM.js} +1 -1
- package/dist/component/{product-list-rac-TF5fgLyc.js → product-list-rac-WrSJwQ_g.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-BX4V_6wg.js → quiz-radio-group-rac-CHxZ_pK_.js} +1 -1
- package/dist/component/{radio-button-module-classes-D8UpzVUK.js → radio-button-module-classes-DjJU-8ZB.js} +3 -3
- package/dist/component/{radio-group-field-rac-C0zCVtjj.js → radio-group-field-rac-BImiqcKa.js} +4 -4
- package/dist/component/{radio-group-rac-DrKqgPRT.js → radio-group-rac-CDkJeGpN.js} +1 -1
- package/dist/component/{rating-input-field-rac-DjxfTgv5.js → rating-input-field-rac-Dsr_S5qN.js} +4 -4
- package/dist/component/{rating-input-rac-DO4Bpdj3.js → rating-input-rac-BJUW8U93.js} +1 -1
- package/dist/component/{rich-content-rac.module-DUNKiTkT.js → rich-content-rac.module-BfQJqA-x.js} +1 -1
- package/dist/component/{rich-text-field-rac-DIOTzVwj.js → rich-text-field-rac-DIuZbu_u.js} +2 -2
- package/dist/component/{rich-text-rac-C_E_vEGz.js → rich-text-rac-C39fpEiP.js} +1 -1
- package/dist/component/{service-dropdown-rac-B3gQT9Tj.js → service-dropdown-rac-Bc9hEpx3.js} +5 -5
- package/dist/component/{services-multi-choice-rac-D40hZhBB.js → services-multi-choice-rac-GVb4qA7g.js} +5 -5
- package/dist/component/{signature-rac-CKXpb2WN.js → signature-rac-nC5pr6nB.js} +4 -4
- package/dist/component/{submit-button-rac-CDS-vtXq.js → submit-button-rac-eUjgrx9Q.js} +2 -2
- package/dist/component/{tags-field-rac-CdQWq8k5.js → tags-field-rac-zv30chSd.js} +5 -5
- package/dist/component/{tags-rac-BwChqdGx.js → tags-rac-PnS2SxVP.js} +1 -1
- package/dist/component/{text-area-field-rac-VCFJuHx4.js → text-area-field-rac-DLeOMD4g.js} +4 -4
- package/dist/component/{text-area-rac-BICVNsdn.js → text-area-rac-jZ_mh45C.js} +1 -1
- package/dist/component/{text-input-field-rac-C9gyRhcK.js → text-input-field-rac-DifV7Erd.js} +3 -3
- package/dist/component/{text-input-headless-BdkaD-re.js → text-input-headless-DhVEjorY.js} +3 -3
- package/dist/component/{text-input-rac-B7buOGbq.js → text-input-rac-Ce4qKN9M.js} +1 -1
- package/dist/component/{time-input-rac-CSFhEYi0.js → time-input-rac-1kW3aDIo.js} +4 -4
- package/dist/component/{url-input-field-rac-BIXokgHy.js → url-input-field-rac-D9xXAQCq.js} +4 -4
- package/dist/component/{url-input-rac-tTN0GaTH.js → url-input-rac-SaAybDdN.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-C6zB6TNA.js → use-dropdown-option-class-name-C_MO_0JS.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-CEq68SuK.js → use-dropdown-trigger-class-name-D7EMiD-M.js} +2 -2
- package/dist/component/{use-element-state-class-name-BFZzVwqe.js → use-element-state-class-name-DZFi3Z42.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-CzZmczhf.js → use-hoverable-input-class-name-JAZ1mif0.js} +2 -2
- package/dist/component/{use-service-options-base-DOCVW9ax.js → use-service-options-base-ZX4iaxzr.js} +1 -1
- package/dist/component/use-text-input-class-name-XFjQX8q1.js +6 -0
- package/package.json +2 -2
- package/dist/component/use-text-input-class-name-BNX3qkmh.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 { bh as u, aV as i, aU as C, aX as R, au as T, ac as d } from "./form-
|
|
4
|
-
import { u as g, R as p, s as h, T as S } from "./rich-content-rac.module-
|
|
3
|
+
import { bh as u, aV as i, aU as C, aX as R, au as T, ac as d } from "./form-CYPNOMwk.js";
|
|
4
|
+
import { u as g, R as p, s as h, T as S } from "./rich-content-rac.module-BfQJqA-x.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 H, useCallback as T, useRef as G } from "react";
|
|
2
2
|
import { RicosViewer as k } from "@wix/ricos/viewer";
|
|
3
3
|
import u from "classnames";
|
|
4
|
-
import { bh as b, be as x, bj as P, ba as B, I as q, U, w, y as V, v as j, p as z, x as K, f } from "./form-
|
|
4
|
+
import { bh as b, be as x, bj as P, ba as B, I as q, U, w, y as V, v as j, p as z, x as K, f } from "./form-CYPNOMwk.js";
|
|
5
5
|
import { CheckboxGroup as Q, CheckboxField as Y, CheckboxButton as $ } from "react-aria-components";
|
|
6
6
|
import { f as m, a as F } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { L as J, g as W } from "./field-label-headless-
|
|
8
|
-
import { D as X, E as Z } from "./field-error-headless-
|
|
7
|
+
import { L as J, g as W } from "./field-label-headless-BMmR_IeF.js";
|
|
8
|
+
import { D as X, E as Z } from "./field-error-headless-C3eOy1_l.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-DfEb7pBp.js";
|
|
12
|
-
import { u as oe } from "./use-element-state-class-name-
|
|
12
|
+
import { u as oe } from "./use-element-state-class-name-DZFi3Z42.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: I, onFocus: p, hasError: C, FieldLayout: L } = b(), { inputId: g, 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,13 +1,13 @@
|
|
|
1
|
-
import { e as R, aC as _, aR as de, aD as O, ai as Ge, B as Be, aw as qe, ap as He, ao as I, ax as Ee, aG as re, aA as Fe, c as B, aq as M, b1 as Te, as as je, ar as he, at as q } from "./form-
|
|
2
|
-
import { aY as Mn } from "./form-
|
|
1
|
+
import { e as R, aC as _, aR as de, aD as O, ai as Ge, B as Be, aw as qe, ap as He, ao as I, ax as Ee, aG as re, aA as Fe, c as B, aq as M, b1 as Te, as as je, ar as he, at as q } from "./form-CYPNOMwk.js";
|
|
2
|
+
import { aY as Mn } from "./form-CYPNOMwk.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-70Vb-dlb.js";
|
|
10
|
+
import { a as Sn } from "./date-availability-70Vb-dlb.js";
|
|
11
11
|
import { C as tt } from "./calling-country-codes-PyWuOTmF.js";
|
|
12
12
|
function rt(e) {
|
|
13
13
|
var t, r;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b0 as n } from "./form-
|
|
2
|
-
import { A as N, a as S, C as p, av as g, aM as q, aN as D, b2 as L } from "./form-
|
|
1
|
+
import { b0 as n } from "./form-CYPNOMwk.js";
|
|
2
|
+
import { A as N, a as S, C as p, av as g, aM as q, aN as D, b2 as L } from "./form-CYPNOMwk.js";
|
|
3
3
|
const l = (e = !1) => ({
|
|
4
4
|
country: {
|
|
5
5
|
required: e
|
|
@@ -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 { bc as ft, d as yt, b7 as Pt, b9 as Ct, aM as Tt, aN as wt, aF as Mt, aL as W, F as K, br as Pe, b0 as lt, bh as P, be as T, bj as ae, bd as It, aR as qt, C as Oe, a_ as xt, b2 as Bt, bo as kt, bi as $t, bn as Ut, b5 as Vt, aW as Wt, b4 as Kt, bk as Yt, al as Ht, I as z, U as Q, K as ge, v as Z, p as ee } from "./form-
|
|
5
|
+
import { bc as ft, d as yt, b7 as Pt, b9 as Ct, aM as Tt, aN as wt, aF as Mt, aL as W, F as K, br as Pe, b0 as lt, bh as P, be as T, bj as ae, bd as It, aR as qt, C as Oe, a_ as xt, b2 as Bt, bo as kt, bi as $t, bn as Ut, b5 as Vt, aW as Wt, b4 as Kt, bk as Yt, al as Ht, I as z, U as Q, K as ge, v as Z, p as ee } from "./form-CYPNOMwk.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-D7EMiD-M.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-C3eOy1_l.js";
|
|
11
|
+
import { L as de } from "./field-label-headless-BMmR_IeF.js";
|
|
12
|
+
import { e as zt, c as Qt, a as Zt, r as gt } from "./isObjectLike-Di8V7txC.js";
|
|
13
|
+
import { V as en, u as tn } from "./use-dropdown-option-class-name-C_MO_0JS.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-DfEb7pBp.js";
|
|
19
|
-
import { u as rn } from "./use-text-input-class-name-
|
|
19
|
+
import { u as rn } from "./use-text-input-class-name-XFjQX8q1.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-C_Fh8oeD.js → number-input-field-rac-DquqqRy_.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 { bh as _, be as S, br as H, bj as J, I as K, U as W, v as X, p as Y } from "./form-
|
|
5
|
+
import { bh as _, be as S, br as H, bj as J, I as K, U as W, v as X, p as Y } from "./form-CYPNOMwk.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-C3eOy1_l.js";
|
|
8
|
+
import { L as ee } from "./field-label-headless-BMmR_IeF.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-DfEb7pBp.js";
|
|
13
|
-
import { u as se } from "./use-text-input-class-name-
|
|
13
|
+
import { u as se } from "./use-text-input-class-name-XFjQX8q1.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, h = O(s), [x, I] = U(h), T = ne(E), V = 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 { bh as E, be as I, bj as O, br as A, I as B, U as v, v as V, p as P } from "./form-
|
|
4
|
+
import { bh as E, be as I, bj as O, br as A, I as B, U as v, v as V, p as P } from "./form-CYPNOMwk.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-C3eOy1_l.js";
|
|
8
|
+
import { L as W } from "./field-label-headless-BMmR_IeF.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-DfEb7pBp.js";
|
|
12
|
-
import { u as Q } from "./use-text-input-class-name-
|
|
12
|
+
import { u as Q } from "./use-text-input-class-name-XFjQX8q1.js";
|
|
13
13
|
const t = ({ children: r, className: o }) => {
|
|
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(r, t.Label), L = u(r, t.Control), T = u(r, t.Description), h = u(r, 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 { bh as R, be as D, b9 as T, br as W, bj as X, I as Y, U as Z, v as ee, p as re } from "./form-
|
|
5
|
+
import { bh as R, be as D, b9 as T, br as W, bj as X, I as Y, U as Z, v as ee, p as re } from "./form-CYPNOMwk.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-C3eOy1_l.js";
|
|
8
|
+
import { L as ae } from "./field-label-headless-BMmR_IeF.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-DfEb7pBp.js";
|
|
14
|
-
import { u as ie } from "./use-text-input-class-name-
|
|
14
|
+
import { u as ie } from "./use-text-input-class-name-XFjQX8q1.js";
|
|
15
15
|
function ue(e, t) {
|
|
16
16
|
return {
|
|
17
17
|
productId: e.id,
|
package/dist/component/{phone-input-field-rac-ClXUOLpB.js → phone-input-field-rac-B10TInMa.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { RicosViewer as Ce } from "@wix/ricos/viewer";
|
|
2
2
|
import g from "classnames";
|
|
3
3
|
import t, { useMemo as j, useState as $, useRef as F, useEffect as k, useCallback as Z, createContext as ee, useContext as H, useId as de } from "react";
|
|
4
|
-
import { b0 as ye, br as w, b9 as te, bq as Ee, bh as D, be as ne, bj as fe, I as he, U as ge, H as be, K as Oe, v as _e, p as Ne } from "./form-
|
|
4
|
+
import { b0 as ye, br as w, b9 as te, bq as Ee, bh as D, be as ne, bj as fe, I as he, U as ge, H as be, K as Oe, v as _e, p as Ne } from "./form-CYPNOMwk.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 we, Select as De, Input as re, Autocomplete as Be } from "react-aria-components";
|
|
7
7
|
import { f as h, 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-C3eOy1_l.js";
|
|
9
|
+
import { L as Me } from "./field-label-headless-BMmR_IeF.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, u as ke } from "./use-dropdown-trigger-class-name-
|
|
13
|
-
import { V as Ue, u as Ve } from "./use-dropdown-option-class-name-
|
|
12
|
+
import { a as Ae, u as ke } from "./use-dropdown-trigger-class-name-D7EMiD-M.js";
|
|
13
|
+
import { V as Ue, u as Ve } from "./use-dropdown-option-class-name-C_MO_0JS.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 Q } from "./calling-country-codes-PyWuOTmF.js";
|
|
@@ -18,7 +18,7 @@ import { C as Ke } from "./chevron-down-icon-CcpVm6B-.js";
|
|
|
18
18
|
import { E as Ye } 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-DfEb7pBp.js";
|
|
21
|
-
import { u as ze } from "./use-text-input-class-name-
|
|
21
|
+
import { u as ze } from "./use-text-input-class-name-XFjQX8q1.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 x } from "react";
|
|
|
2
2
|
import { RicosViewer as z } from "@wix/ricos/viewer";
|
|
3
3
|
import b from "classnames";
|
|
4
4
|
import { CheckboxField as G, CheckboxButton as j, NumberField as X, Group as J, Button as Q, Input as W } from "react-aria-components";
|
|
5
|
-
import { bh as U, be as Y, b9 as V, br as Z, bj as ee, I as te, U as ne, L as ae, O as oe, N as re, H as se, v as le, p as ie, M as ce } from "./form-
|
|
5
|
+
import { bh as U, be as Y, b9 as V, br as Z, bj as ee, I as te, U as ne, L as ae, O as oe, N as re, H as se, v as le, p as ie, M as ce } from "./form-CYPNOMwk.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-BMmR_IeF.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-C3eOy1_l.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-6173wvuW.js";
|
|
15
15
|
import { s as q } from "./field-rac.module-DfEb7pBp.js";
|
|
16
16
|
import { o as w } 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-DZFi3Z42.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 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 { bh as g, be as $, br as D, bj as x } from "./form-
|
|
3
|
+
import { bh as g, be as $, br as D, bj as x } from "./form-CYPNOMwk.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-C3eOy1_l.js";
|
|
6
|
+
import { L as M } from "./field-label-headless-BMmR_IeF.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), 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-C0zCVtjj.js → radio-group-field-rac-BImiqcKa.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-DjJU-8ZB.js";
|
|
5
5
|
import { E as c } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as r } from "./field-rac.module-DfEb7pBp.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-CYPNOMwk.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-DZFi3Z42.js";
|
|
10
|
+
import { u } from "./use-text-input-class-name-XFjQX8q1.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-DjxfTgv5.js → rating-input-field-rac-Dsr_S5qN.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RicosViewer as y } 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 { bh as I, be as v, br as T, I as H, U as M, S as w, v as B, p as P, T as q } from "./form-
|
|
4
|
+
import { bh as I, be as v, br as T, I as H, U as M, S as w, v as B, p as P, T as q } from "./form-CYPNOMwk.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-C3eOy1_l.js";
|
|
8
|
+
import { L as Z } from "./field-label-headless-BMmR_IeF.js";
|
|
9
9
|
import { E as j } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as g } from "./field-rac.module-DfEb7pBp.js";
|
|
11
|
-
import { u as J } from "./use-element-state-class-name-
|
|
11
|
+
import { u as J } from "./use-element-state-class-name-DZFi3Z42.js";
|
|
12
12
|
const t = ({ children: a }) => {
|
|
13
13
|
const { id: n, value: r, onChange: i, disabled: l, readOnly: m, required: d, hasError: c, onBlur: o, onFocus: C, FieldLayout: R } = I(), { labelId: _ } = v(), L = N((D) => i(Number(D)), [
|
|
14
14
|
i
|
package/dist/component/{rich-content-rac.module-DUNKiTkT.js → rich-content-rac.module-BfQJqA-x.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import { bh as a, b9 as i, br as T } from "./form-
|
|
2
|
+
import { bh as a, b9 as i, br as T } from "./form-CYPNOMwk.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 { bh as m, au as u, ac as i, aU as R, aX as T } from "./form-
|
|
4
|
-
import { u as C, R as d, s as g, T as h } from "./rich-content-rac.module-
|
|
3
|
+
import { bh as m, au as u, ac as i, aU as R, aX as T } from "./form-CYPNOMwk.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as h } from "./rich-content-rac.module-BfQJqA-x.js";
|
|
5
5
|
const p = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-B3gQT9Tj.js → service-dropdown-rac-Bc9hEpx3.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import t, { useRef as T, useMemo as _, useCallback as h, useEffect as b } from "react";
|
|
2
2
|
import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
3
3
|
import E from "classnames";
|
|
4
|
-
import { bd as P, br as A, F as M, bh as y, b9 as U, aj 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 { bd as P, br as A, F as M, bh as y, b9 as U, aj as V, I as x, U as H, K as k, v as q, p as B } from "./form-CYPNOMwk.js";
|
|
5
|
+
import { u as W } from "./use-service-options-base-ZX4iaxzr.js";
|
|
6
|
+
import { D as u } from "./dropdown-field-headless-DVZnbZAM.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-DfEb7pBp.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-C_MO_0JS.js";
|
|
12
|
+
import { u as z } from "./use-dropdown-trigger-class-name-D7EMiD-M.js";
|
|
13
13
|
const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
|
|
14
14
|
const { actions: o } = P(), { t: C } = A(), { addOther: n, addOtherLabel: p } = e, c = p || C("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, bh as d, aj 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, bh as d, aj 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-CYPNOMwk.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-ZX4iaxzr.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-DhhynlgN.js";
|
|
7
7
|
import { E as x } from "./error-icon-hZxQ6DEy.js";
|
|
8
8
|
import { C as P } from "./checkbox-indicator-module-classes-6173wvuW.js";
|
|
9
9
|
import { s as n } from "./field-rac.module-DfEb7pBp.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-DZFi3Z42.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-XFjQX8q1.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 s, { useRef as $, useContext as Ae, 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 { aL as Ue, bb as Te, an as Be, F as Oe, bd as Pe, b9 as Me, bp as ye, E as me, ad as oe, bh as x, be as W, bj as Ce, br as He, ba as We, I as Ye, U as Ze, X as ke, p as pe, b as Ve, a0 as Ge, a1 as fe, v as $e, W as ze, _ as Xe, Y as qe, $ as je, f as ne, Z as Je } from "./form-
|
|
5
|
+
import { aL as Ue, bb as Te, an as Be, F as Oe, bd as Pe, b9 as Me, bp as ye, E as me, ad as oe, bh as x, be as W, bj as Ce, br as He, ba as We, I as Ye, U as Ze, X as ke, p as pe, b as Ve, a0 as Ge, a1 as fe, v as $e, W as ze, _ as Xe, Y as qe, $ as je, f as ne, Z as Je } from "./form-CYPNOMwk.js";
|
|
6
6
|
import { useHover as Ke, useFocusRing as Qe, mergeProps as et } from "react-aria";
|
|
7
7
|
import { RadioGroup as tt, Button as Ie, TextField as nt, DropZone as at, Input as ot, FileTrigger as rt, RadioField as st, RadioButton as lt } from "react-aria-components";
|
|
8
8
|
import _e from "signature_pad";
|
|
9
9
|
import { f as C, a as A } 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-C3eOy1_l.js";
|
|
11
|
+
import { L as ut } from "./field-label-headless-BMmR_IeF.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-DfEb7pBp.js";
|
|
15
|
-
import { u as X } from "./use-element-state-class-name-
|
|
15
|
+
import { u as X } from "./use-element-state-class-name-DZFi3Z42.js";
|
|
16
16
|
const pt = typeof s.useId == "function" ? s.useId : () => $(Ue()).current, ft = ({ properties: e }) => e.uploadEnabled === !0, Et = (e, t) => e.fieldType === Oe.SIGNATURE && !e.properties.hidden && !e.properties.disabled && !e.properties.readOnly && (t !== "upload" || ft(e)), ht = (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().signatureContainer) == null ? void 0 : o.signatureMode, a = Ae(Be);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import t, { useRef as F, useCallback as P } from "react";
|
|
2
2
|
import j from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import g from "classnames";
|
|
4
|
-
import { bh as b, bb as q, ag as A, b as R, af as k, ab as y, aa as M, ae as U } from "./form-
|
|
4
|
+
import { bh as b, bb as q, ag as A, b as R, af as k, ab as y, aa as M, ae as U } from "./form-CYPNOMwk.js";
|
|
5
5
|
import { ProgressBar as D, Button as N } from "react-aria-components";
|
|
6
6
|
import { f as m } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { u as f } from "./use-element-state-class-name-
|
|
7
|
+
import { u as f } from "./use-element-state-class-name-DZFi3Z42.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 w } from "@wix/ricos/viewer";
|
|
|
2
2
|
import F from "classnames";
|
|
3
3
|
import t, { useMemo as I, useState as z, useRef as N, useLayoutEffect as B, useCallback as k } 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 { bh as D, be as M, br as S, bj as U, I as ee, U as te, a3 as ne, v as oe, p as ae, a4 as re } from "./form-
|
|
5
|
+
import { bh as D, be as M, br as S, bj as U, I as ee, U as te, a3 as ne, v as oe, p as ae, a4 as re } from "./form-CYPNOMwk.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-C3eOy1_l.js";
|
|
8
|
+
import { L as $ } from "./field-label-headless-BMmR_IeF.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-DfEb7pBp.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-DZFi3Z42.js";
|
|
13
|
+
import { u as ce } from "./use-text-input-class-name-XFjQX8q1.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 { bh as p, be as d, bj as x, I as h, U as g, v, p as M } from "./form-
|
|
5
|
+
import { bh as p, be as d, bj as x, I as h, U as g, v, p as M } from "./form-CYPNOMwk.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-C3eOy1_l.js";
|
|
8
|
+
import { L as k } from "./field-label-headless-BMmR_IeF.js";
|
|
9
9
|
import { E as P } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as c } from "./field-rac.module-DfEb7pBp.js";
|
|
11
|
-
import { u as U } from "./use-text-input-class-name-
|
|
11
|
+
import { u as U } from "./use-text-input-class-name-XFjQX8q1.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: I, FieldLayout: b, hasError: f } = p(), { labelId: F } = d(), L = T((A) => {
|
|
14
14
|
s(A);
|
package/dist/component/{text-input-field-rac-C9gyRhcK.js → text-input-field-rac-DifV7Erd.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-DhVEjorY.js";
|
|
5
5
|
import { E as o } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as a } from "./field-rac.module-DfEb7pBp.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-CYPNOMwk.js";
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-XFjQX8q1.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 h } from "react-aria-components";
|
|
3
|
-
import { bh as d, be as c, bj as v } from "./form-
|
|
3
|
+
import { bh as d, be as c, bj as v } from "./form-CYPNOMwk.js";
|
|
4
4
|
import { f as s } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as T, E as g } from "./field-error-headless-
|
|
6
|
-
import { L as x } from "./field-label-headless-
|
|
5
|
+
import { D as T, E as g } from "./field-error-headless-C3eOy1_l.js";
|
|
6
|
+
import { L as x } from "./field-label-headless-BMmR_IeF.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 v } from "@wix/ricos/viewer";
|
|
|
3
3
|
import m from "classnames";
|
|
4
4
|
import { parseTime as x } from "@internationalized/date";
|
|
5
5
|
import { TimeField as q, DateInput as z, DateSegment as _, TimeFieldStateContext as B } from "react-aria-components";
|
|
6
|
-
import { bh as p, be as U, br as S, bj as w, I as Q, U as G, v as J, p as K } from "./form-
|
|
6
|
+
import { bh as p, be as U, br as S, bj as w, I as Q, U as G, v as J, p as K } from "./form-CYPNOMwk.js";
|
|
7
7
|
import { f as u, 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-C3eOy1_l.js";
|
|
9
|
+
import { L as Y } from "./field-label-headless-BMmR_IeF.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-DfEb7pBp.js";
|
|
13
|
-
import { u as $ } from "./use-text-input-class-name-
|
|
13
|
+
import { u as $ } from "./use-text-input-class-name-XFjQX8q1.js";
|
|
14
14
|
const r = ({ children: t }) => {
|
|
15
15
|
const { id: n, value: l, onChange: a, disabled: i, readOnly: o, required: c, onBlur: s, onFocus: E, use24HourFormat: b, FieldLayout: C, hasError: I } = p(), { inputId: g, ariaDescribedBy: D, labelId: L } = U(), R = H((M) => {
|
|
16
16
|
const k = 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 S, useRef as O } from "react";
|
|
4
4
|
import { TextField as y, Input as A } from "react-aria-components";
|
|
5
|
-
import { bh as d, be as E, bj as v, I as B, U as T, v as g, p as k } from "./form-
|
|
5
|
+
import { bh as d, be as E, bj as v, I as B, U as T, v as g, p as k } from "./form-CYPNOMwk.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-C3eOy1_l.js";
|
|
8
|
+
import { L as U } from "./field-label-headless-BMmR_IeF.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-DfEb7pBp.js";
|
|
12
|
-
import { u as w } from "./use-text-input-class-name-
|
|
12
|
+
import { u as w } from "./use-text-input-class-name-XFjQX8q1.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), h = S(() => {
|
|
15
15
|
n(V(s)), p();
|