@wix/form-elements 1.136.0 → 1.137.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-DsD7xLmb.js → appointment-rac-DETLNlLb.js} +4 -4
- package/dist/component/{bookings-address-rac-ByaFu51U.js → bookings-address-rac-ZLK-g-4b.js} +1 -1
- package/dist/component/{bookings-email-rac-CxuvkcYw.js → bookings-email-rac-C-406Pj1.js} +1 -1
- package/dist/component/{bookings-first-name-rac-JXLJa_7E.js → bookings-first-name-rac-ClxJPAU2.js} +1 -1
- package/dist/component/{bookings-header-rac-CIQTbf9d.js → bookings-header-rac-B_xKyowA.js} +1 -1
- package/dist/component/{bookings-last-name-rac-_2Xt4BPe.js → bookings-last-name-rac-DcExtGsO.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-BUjys5i9.js → bookings-login-bar-rac-B5Gpk-kG.js} +1 -1
- package/dist/component/{bookings-phone-rac-DlsdGmOt.js → bookings-phone-rac-DJSSDoRL.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-BvRdhL7M.js → bookings-rich-text-rac-D-v6z1Fs.js} +1 -1
- package/dist/component/{checkbox-field-rac-Be6wicaA.js → checkbox-field-rac-DJmjpsmU.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-BJ0pGvXi.js → checkbox-group-field-headless-C4A_Kv1U.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-D7xqqVf6.js → checkbox-group-field-rac-M1l5h3ii.js} +4 -4
- package/dist/component/{checkbox-group-rac-DtCS-gEH.js → checkbox-group-rac-DRdzHVfR.js} +1 -1
- package/dist/component/{checkbox-rac-ub7MFwY-.js → checkbox-rac-Cyhg2Wvd.js} +1 -1
- package/dist/component/{contacts-address-rac-Bwsdpg11.js → contacts-address-rac-BQvrTPCI.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-D54hibhb.js → contacts-birthdate-rac-DIMg-UlR.js} +1 -1
- package/dist/component/{contacts-company-rac-CKqzgKio.js → contacts-company-rac-OgWSVsmZ.js} +1 -1
- package/dist/component/{contacts-email-rac-Dxm31wuY.js → contacts-email-rac-39IQYxTe.js} +1 -1
- package/dist/component/{contacts-first-name-rac-CXHsx6Vy.js → contacts-first-name-rac-CjwVQGS7.js} +1 -1
- package/dist/component/{contacts-last-name-rac-B0S268f3.js → contacts-last-name-rac-C6ftvjMG.js} +1 -1
- package/dist/component/{contacts-phone-rac-DEbgIiEj.js → contacts-phone-rac-ldsxrFQH.js} +1 -1
- package/dist/component/{contacts-position-rac-D31uoOlR.js → contacts-position-rac-3RzQeh2P.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-DJ8NtoxZ.js → contacts-subscribe-rac-CfuH705u.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-DTQffHAo.js → contacts-tax-id-rac-D85Dm5Pa.js} +1 -1
- package/dist/component/{date-availability-DmhJ9apH.js → date-availability-DcYOAszO.js} +1 -1
- package/dist/component/{date-input-field-rac-BwM_q4FW.js → date-input-field-rac-D4cr7NGI.js} +6 -6
- package/dist/component/{date-input-rac-C93pgocp.js → date-input-rac-BwJwmoZr.js} +1 -1
- package/dist/component/{date-picker-field-rac-CtZL368W.js → date-picker-field-rac-C-IM7SHk.js} +5 -5
- package/dist/component/{date-picker-rac-4DNe6hOX.js → date-picker-rac-BkAp8Bgb.js} +1 -1
- package/dist/component/{date-time-input-field-rac-MlCVy3Oz.js → date-time-input-field-rac-DGCd-WUh.js} +6 -6
- package/dist/component/{date-time-input-rac-ByyBvFgo.js → date-time-input-rac-ClLzxACj.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-BP76Xwiq.js → dext-checkbox-group-rac-DI26D3eR.js} +2 -2
- package/dist/component/{dext-checkbox-rac-DGaKSh4Z.js → dext-checkbox-rac-CRJq1RxN.js} +1 -1
- package/dist/component/{dext-date-picker-rac-UEXbMSlL.js → dext-date-picker-rac-CvzQs_Te.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-CsJcGK4I.js → dext-date-time-input-rac-Dtysjtim.js} +1 -1
- package/dist/component/{dext-dropdown-rac-BzbRzloh.js → dext-dropdown-rac-DHGo26Az.js} +1 -1
- package/dist/component/{dext-email-rac-DufFAnTi.js → dext-email-rac-BpnNEdVF.js} +1 -1
- package/dist/component/{dext-number-input-rac-D6xXi7B2.js → dext-number-input-rac-C5iW_ei6.js} +1 -1
- package/dist/component/{dext-phone-rac-svy9CDHW.js → dext-phone-rac-KCTWlcaK.js} +1 -1
- package/dist/component/{dext-radio-group-rac-C4p9NuQS.js → dext-radio-group-rac-ad6j8I4s.js} +2 -2
- package/dist/component/{dext-rating-input-rac-wJ7-RFFN.js → dext-rating-input-rac-B4AvCMi0.js} +1 -1
- package/dist/component/{dext-tags-rac-D2myHrSZ.js → dext-tags-rac-BMathc_H.js} +2 -2
- package/dist/component/{dext-text-area-rac-B4Fw_9mF.js → dext-text-area-rac-Xb-pGhSZ.js} +1 -1
- package/dist/component/{dext-text-input-rac-DlZanFMT.js → dext-text-input-rac-CSE8qfGF.js} +1 -1
- package/dist/component/{dext-url-input-rac-DYjl3wuk.js → dext-url-input-rac-Bq4iz5z9.js} +1 -1
- package/dist/component/donation-rac-DRUbysCr.js +306 -0
- package/dist/component/{dropdown-field-headless-BAt2RoAH.js → dropdown-field-headless-DO592qOP.js} +5 -5
- package/dist/component/{dropdown-field-rac-DFjn3ecV.js → dropdown-field-rac-C2yjQI-C.js} +4 -4
- package/dist/component/{dropdown-rac-DQ6keNRI.js → dropdown-rac-DlrGt2kE.js} +1 -1
- package/dist/component/{ecom-address-rac-j1T2zp0k.js → ecom-address-rac-D_StW_li.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-viTaRZsk.js → ecom-subscription-checkbox-rac-CrdttyUU.js} +2 -2
- package/dist/component/{email-input-field-rac-5eb-1w7B.js → email-input-field-rac-DqXazwV3.js} +3 -3
- package/dist/component/{events-repeater-rac-BtcoN_Ra.js → events-repeater-rac-DDpRs7rY.js} +4 -4
- package/dist/component/{events-rsvp-rac-DSzFEmty.js → events-rsvp-rac-BN9axMYX.js} +3 -3
- package/dist/component/{field-error-headless-Bpe041x2.js → field-error-headless-JU1yiTVE.js} +1 -1
- package/dist/component/{field-label-headless-BUuK1Ftv.js → field-label-headless-CD4_8Ros.js} +1 -1
- package/dist/component/{file-upload-rac-CfU8Ygwq.js → file-upload-rac-CQTx6hEf.js} +4 -4
- package/dist/component/{fixed-payment-rac-CYp7zNq8.js → fixed-payment-rac-B5cRBcxY.js} +3 -3
- package/dist/component/{form-C6lnbh2O.js → form-Mla9_phC.js} +69 -69
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-B7YfrhId.js → header-field-rac-B_F66ChH.js} +2 -2
- package/dist/component/{header-rac-BtJKAKAz.js → header-rac-BX6Df8ej.js} +1 -1
- package/dist/component/{image-choice-rac-Bmq7Pyg6.js → image-choice-rac-Ce01EhFJ.js} +4 -4
- package/dist/component/{index-CQdUOkIN.js → index-Ch7II1GU.js} +2 -2
- package/dist/component/{index-BjPSeVyh.js → index-DoIW9Cb6.js} +4 -4
- package/dist/component/{isObjectLike-CxNqKfU5.js → isObjectLike-C1TnJWn6.js} +1 -1
- package/dist/component/{multiline-address-field-rac-BeiUJWKd.js → multiline-address-field-rac-DVDEcHtq.js} +7 -7
- package/dist/component/{multiline-address-rac-B2mocF6M.js → multiline-address-rac-BJ8ln_G5.js} +1 -1
- package/dist/component/{number-input-field-rac-CQX7_S2O.js → number-input-field-rac-DTfx9YgL.js} +4 -4
- package/dist/component/{number-input-rac-BZri-E8P.js → number-input-rac-pg7cmYpS.js} +1 -1
- package/dist/component/{password-rac-CdwrtDJU.js → password-rac-D8BKTB_H.js} +4 -4
- package/dist/component/{payment-input-rac-ClQiqmjm.js → payment-input-rac-HBquclKy.js} +4 -4
- package/dist/component/{phone-input-field-rac-BtG_Rado.js → phone-input-field-rac-Fgfg5HwA.js} +6 -6
- package/dist/component/{phone-rac-CdcAMa5E.js → phone-rac-pivMTIyc.js} +1 -1
- package/dist/component/{product-list-rac-Dp_YK6mo.js → product-list-rac-DauIxK2R.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-CorojxKD.js → quiz-radio-group-rac-B0OtjxKf.js} +1 -1
- package/dist/component/{radio-button-module-classes-ZX12Fyj4.js → radio-button-module-classes-Cu3KM625.js} +3 -3
- package/dist/component/{radio-group-field-rac-BifCDpE4.js → radio-group-field-rac-0dJHtf3G.js} +4 -4
- package/dist/component/{radio-group-rac-CJ2fzqnY.js → radio-group-rac-CqtO1JqM.js} +1 -1
- package/dist/component/{rating-input-field-rac-Dg1T0DZW.js → rating-input-field-rac-CMny6OSF.js} +4 -4
- package/dist/component/{rating-input-rac-Ba4YK13i.js → rating-input-rac-DA4iU_-m.js} +1 -1
- package/dist/component/{rich-content-rac.module-BehwBL3L.js → rich-content-rac.module-CZX0cZst.js} +1 -1
- package/dist/component/{rich-text-field-rac-DtIWdB-S.js → rich-text-field-rac-Dtm6xFcj.js} +2 -2
- package/dist/component/{rich-text-rac-BX4eDDFw.js → rich-text-rac-ClqIW5ds.js} +1 -1
- package/dist/component/{service-dropdown-rac-68WLBlsa.js → service-dropdown-rac-_4T1OZGq.js} +5 -5
- package/dist/component/{services-multi-choice-rac-8yNdAHfS.js → services-multi-choice-rac-BVim-jnM.js} +5 -5
- package/dist/component/{signature-rac-DeVOyl5O.js → signature-rac-D7w8WTLO.js} +4 -4
- package/dist/component/{submit-button-rac-IOr1g-G-.js → submit-button-rac-BkUDj1dU.js} +2 -2
- package/dist/component/{tags-field-rac-DaiMlAxt.js → tags-field-rac-Di1aK4E2.js} +5 -5
- package/dist/component/{tags-rac-BgrUkY0A.js → tags-rac-CJ5f4Doi.js} +1 -1
- package/dist/component/{text-area-field-rac-CLPZEY93.js → text-area-field-rac-DFjrT9fs.js} +4 -4
- package/dist/component/{text-area-rac-C8PdPSzX.js → text-area-rac-DBANidv_.js} +1 -1
- package/dist/component/{text-input-field-rac-Dm-xU8Rg.js → text-input-field-rac-DJDzqR6d.js} +3 -3
- package/dist/component/{text-input-headless-BEmRjL8Z.js → text-input-headless-CG4wbxMG.js} +3 -3
- package/dist/component/{text-input-rac-C-FnaOXT.js → text-input-rac-V0tK1Gj2.js} +1 -1
- package/dist/component/{time-input-rac-VmTURkiK.js → time-input-rac-LSoyg8Ao.js} +4 -4
- package/dist/component/{url-input-field-rac-CnnS0tVx.js → url-input-field-rac-DI0SdDI0.js} +4 -4
- package/dist/component/{url-input-rac-6nd_ccoP.js → url-input-rac-obx2Uf2F.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-CcZl1qrj.js → use-dropdown-option-class-name-BM-NiVtO.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-BNc0mkdK.js → use-dropdown-trigger-class-name-BHwQ-wZa.js} +2 -2
- package/dist/component/{use-element-state-class-name-BU6RXqBy.js → use-element-state-class-name-DAYz5X_i.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-CkXPkbiP.js → use-hoverable-input-class-name-DZ-4NGpv.js} +2 -2
- package/dist/component/{use-service-options-base-B5afDbnr.js → use-service-options-base-BOjt2sg9.js} +1 -1
- package/dist/component/use-text-input-class-name-Bqj4OoIw.js +6 -0
- package/package.json +2 -2
- package/dist/component/donation-rac-B6LwJxik.js +0 -314
- package/dist/component/use-text-input-class-name-BB3V6Q0b.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 { bj as u, aX as i, aW as C, aZ as R, aw as T, ae 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 { bj as u, aX as i, aW as C, aZ as R, aw as T, ae as d } from "./form-Mla9_phC.js";
|
|
4
|
+
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-CZX0cZst.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 { bj as b, bg as x, bl as P, bc as B, M as q, Y as U, H as w, J as V, G as Y, u as j, I as z, f } from "./form-
|
|
4
|
+
import { bj as b, bg as x, bl as P, bc as B, M as q, Y as U, H as w, J as V, G as Y, u as j, I as z, f } from "./form-Mla9_phC.js";
|
|
5
5
|
import { CheckboxGroup as J, CheckboxField as K, CheckboxButton as Q } from "react-aria-components";
|
|
6
6
|
import { f as m, a as F } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { L as $, g as W } from "./field-label-headless-
|
|
8
|
-
import { D as X, E as Z } from "./field-error-headless-
|
|
7
|
+
import { L as $, g as W } from "./field-label-headless-CD4_8Ros.js";
|
|
8
|
+
import { D as X, E as Z } from "./field-error-headless-JU1yiTVE.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-DAYz5X_i.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: 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), M = m(t, o.Error), h = y(() => a || [], [
|
|
15
15
|
a
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b2 as n } from "./form-
|
|
2
|
-
import { A as S, a as p, C as N, ax as g, aO as q, aP as D, b4 as L } from "./form-
|
|
1
|
+
import { b2 as n } from "./form-Mla9_phC.js";
|
|
2
|
+
import { A as S, a as p, C as N, ax as g, aO as q, aP as D, b4 as L } from "./form-Mla9_phC.js";
|
|
3
3
|
const l = (e = !1) => ({
|
|
4
4
|
country: {
|
|
5
5
|
required: e
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { e as R, aE as _, aT as de, aF as O, ak as Ge, B as Be, ay as qe, ar as He, aq as A, az as Ee, aI as re, aC as Fe, c as B, as as M, b3 as Te, au as je, at as he, av as q } from "./form-
|
|
2
|
-
import { a_ as Mn } from "./form-
|
|
1
|
+
import { e as R, aE as _, aT as de, aF as O, ak as Ge, B as Be, ay as qe, ar as He, aq as A, az as Ee, aI as re, aC as Fe, c as B, as as M, b3 as Te, au as je, at as he, av as q } from "./form-Mla9_phC.js";
|
|
2
|
+
import { a_ as Mn } from "./form-Mla9_phC.js";
|
|
3
3
|
import ke from "ajv";
|
|
4
4
|
import Xe from "ajv-errors";
|
|
5
5
|
import We from "ajv-formats";
|
|
6
6
|
import Ke from "fast-deep-equal";
|
|
7
7
|
import { parsePhoneNumber as ze, parsePhoneNumberWithError as Ve, ParseError as Ze } from "libphonenumber-js/max";
|
|
8
8
|
import Je from "libphonenumber-js/metadata.max.json";
|
|
9
|
-
import { p as Qe, i as et } from "./date-availability-
|
|
10
|
-
import { a as Sn } from "./date-availability-
|
|
9
|
+
import { p as Qe, i as et } from "./date-availability-DcYOAszO.js";
|
|
10
|
+
import { a as Sn } from "./date-availability-DcYOAszO.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 X } from "@wix/ricos/viewer";
|
|
|
2
2
|
import L from "classnames";
|
|
3
3
|
import r, { useMemo as q, createContext as Ue, useContext as Ce, useState as be, useRef as x, useCallback as R, useEffect as Pe } from "react";
|
|
4
4
|
import { UNSAFE_PortalProvider as Pt } from "react-aria";
|
|
5
|
-
import { be as ft, d as yt, b9 as _t, bb as Ct, aO as Tt, aP as wt, aH as Mt, aN as W, F as K, bt as _e, b2 as lt, bj as _, bg as T, bl as ae, bf as It, aT as qt, C as Oe, b0 as xt, b4 as Bt, bq as kt, bk as $t, bp as Vt, b7 as Ut, aY as Wt, b6 as Kt, bm as Yt, an as Ht, M as z, Y as Q, O as ge, G as Z, u as ee } from "./form-
|
|
5
|
+
import { be as ft, d as yt, b9 as _t, bb as Ct, aO as Tt, aP as wt, aH as Mt, aN as W, F as K, bt as _e, b2 as lt, bj as _, bg as T, bl as ae, bf as It, aT as qt, C as Oe, b0 as xt, b4 as Bt, bq as kt, bk as $t, bp as Vt, b7 as Ut, aY as Wt, b6 as Kt, bm as Yt, an as Ht, M as z, Y as Q, O as ge, G as Z, u as ee } from "./form-Mla9_phC.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 Gt, u as Xt } from "./use-dropdown-trigger-class-name-
|
|
8
|
+
import { a as Gt, u as Xt } from "./use-dropdown-trigger-class-name-BHwQ-wZa.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-JU1yiTVE.js";
|
|
11
|
+
import { L as de } from "./field-label-headless-CD4_8Ros.js";
|
|
12
|
+
import { e as zt, c as Qt, a as Zt, r as gt } from "./isObjectLike-C1TnJWn6.js";
|
|
13
|
+
import { V as en, u as tn } from "./use-dropdown-option-class-name-BM-NiVtO.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-Bqj4OoIw.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-CQX7_S2O.js → number-input-field-rac-DTfx9YgL.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 j, useCallback as G, useEffect as Q, useRef as U } from "react";
|
|
4
4
|
import { NumberField as Y, Input as $ } from "react-aria-components";
|
|
5
|
-
import { bj as _, bg as S, bt as z, bl as H, M as J, Y as K, G as W, u as X } from "./form-
|
|
5
|
+
import { bj as _, bg as S, bt as z, bl as H, M as J, Y as K, G as W, u as X } from "./form-Mla9_phC.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-JU1yiTVE.js";
|
|
8
|
+
import { L as ee } from "./field-label-headless-CD4_8Ros.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 d } 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-Bqj4OoIw.js";
|
|
14
14
|
const e = ({ children: t }) => {
|
|
15
15
|
var F, L, R;
|
|
16
16
|
const { id: a, value: s, onChange: l, disabled: p, required: b, readOnly: o, onBlur: E, onFocus: f, FieldLayout: m, hasError: u, validation: n } = _(), { labelId: g } = S(), D = ((F = n == null ? void 0 : n.number) == null ? void 0 : F.multipleOf) || 1, y = (L = n == null ? void 0 : n.number) == null ? void 0 : L.maximum, A = (R = n == null ? void 0 : n.number) == null ? void 0 : R.minimum, x = O(s), [M, I] = j(x), T = ne(E), V = c(t, e.Label), h = c(t, e.Input), q = c(t, e.Description), k = c(t, e.Error), B = G((N) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useState as N, useRef as S } from "react";
|
|
2
2
|
import { RicosViewer as x } from "@wix/ricos/viewer";
|
|
3
3
|
import d from "classnames";
|
|
4
|
-
import { bj as E, bg as I, bl as O, bt as A, M as B, Y as V, G as v, u as M } from "./form-
|
|
4
|
+
import { bj as E, bg as I, bl as O, bt as A, M as B, Y as V, G as v, u as M } from "./form-Mla9_phC.js";
|
|
5
5
|
import { TextField as P, Group as k, Input as q, Button as j } from "react-aria-components";
|
|
6
6
|
import { f as u, a as b } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as U, E as G } from "./field-error-headless-
|
|
8
|
-
import { L as H } from "./field-label-headless-
|
|
7
|
+
import { D as U, E as G } from "./field-error-headless-JU1yiTVE.js";
|
|
8
|
+
import { L as H } from "./field-label-headless-CD4_8Ros.js";
|
|
9
9
|
import { E as W } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { H as Z } 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-Bqj4OoIw.js";
|
|
13
13
|
const t = ({ children: o, className: r }) => {
|
|
14
14
|
const { id: l, value: s, onChange: c, disabled: n, readOnly: m, required: a, hasError: i, onBlur: f, onFocus: C, FieldLayout: _ } = E(), { labelId: y } = I(), [R, D] = N(!1), F = u(o, t.Label), L = u(o, t.Control), T = u(o, t.Description), w = u(o, t.Error);
|
|
15
15
|
return /* @__PURE__ */ e.createElement(_, {
|
|
@@ -2,16 +2,16 @@ import r, { useCallback as P, useRef as Q } from "react";
|
|
|
2
2
|
import { RicosViewer as Y } from "@wix/ricos/viewer";
|
|
3
3
|
import p from "classnames";
|
|
4
4
|
import { TextField as w, Group as z, Input as J } from "react-aria-components";
|
|
5
|
-
import { bj as R, bg as D, bb as T, bt as K, bl as W, M as X, Y as Z, G as ee, u as re } from "./form-
|
|
5
|
+
import { bj as R, bg as D, bb as T, bt as K, bl as W, M as X, Y as Z, G as ee, u as re } from "./form-Mla9_phC.js";
|
|
6
6
|
import { f as u } 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-JU1yiTVE.js";
|
|
8
|
+
import { L as ae } from "./field-label-headless-CD4_8Ros.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 ue } from "./use-text-input-class-name-
|
|
14
|
+
import { u as ue } from "./use-text-input-class-name-Bqj4OoIw.js";
|
|
15
15
|
function ie(e, t) {
|
|
16
16
|
return {
|
|
17
17
|
productId: e.id,
|
package/dist/component/{phone-input-field-rac-BtG_Rado.js → phone-input-field-rac-Fgfg5HwA.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 Z, createContext as ee, useContext as G, useId as de } from "react";
|
|
4
|
-
import { b2 as ye, bt as w, bb as te, bs as Ee, bj as D, bg as ne, bl as fe, M as ge, Y as he, L as be, O as Oe, G as _e, u as Ne } from "./form-
|
|
4
|
+
import { b2 as ye, bt as w, bb as te, bs as Ee, bj as D, bg as ne, bl as fe, M as ge, Y as he, L as be, O as Oe, G as _e, u as Ne } from "./form-Mla9_phC.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 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-JU1yiTVE.js";
|
|
9
|
+
import { L as Me } from "./field-label-headless-CD4_8Ros.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-BHwQ-wZa.js";
|
|
13
|
+
import { V as Ue, u as Ve } from "./use-dropdown-option-class-name-BM-NiVtO.js";
|
|
14
14
|
import ae, { AsYouType as qe, isValidPhoneNumber as Ge, isSupportedCountry as Ye } 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 He } from "./chevron-down-icon-CcpVm6B-.js";
|
|
|
18
18
|
import { E as ze } from "./error-icon-hZxQ6DEy.js";
|
|
19
19
|
import { H as W } from "./custom-focus-class-_483Pkwp.js";
|
|
20
20
|
import { s as O } from "./field-rac.module-DfEb7pBp.js";
|
|
21
|
-
import { u as Ke } from "./use-text-input-class-name-
|
|
21
|
+
import { u as Ke } from "./use-text-input-class-name-Bqj4OoIw.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 v, useRef as U } from "react";
|
|
|
2
2
|
import { RicosViewer as $ } from "@wix/ricos/viewer";
|
|
3
3
|
import _ from "classnames";
|
|
4
4
|
import { CheckboxField as z, CheckboxButton as j, NumberField as X, Group as Y, Button as Q, Input as J } from "react-aria-components";
|
|
5
|
-
import { bj as x, bg as W, bb as V, bt as Z, bl as ee, M as te, Y as ne, P as ae, S as oe, R as re, L as se, G as le, u as ie, Q as ce } from "./form-
|
|
5
|
+
import { bj as x, bg as W, bb as V, bt as Z, bl as ee, M as te, Y as ne, P as ae, S as oe, R as re, L as se, G as le, u as ie, Q as ce } from "./form-Mla9_phC.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-CD4_8Ros.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-JU1yiTVE.js";
|
|
10
10
|
import { F as ye } from "./fieldset-headless-CD3fds9J.js";
|
|
11
11
|
import { g as be } from "./payment-field-utils-DobiK5Xh.js";
|
|
12
12
|
import { S as _e } from "./selection-indicator-XQ8MYHUQ.js";
|
|
@@ -14,7 +14,7 @@ import { E as fe } from "./error-icon-hZxQ6DEy.js";
|
|
|
14
14
|
import { C as Ie } from "./checkbox-indicator-module-classes-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 Le } from "./use-element-state-class-name-
|
|
17
|
+
import { u as Le } from "./use-element-state-class-name-DAYz5X_i.js";
|
|
18
18
|
var Oe = /* @__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 { bj as g, bg as $, bt as D, bl as x } from "./form-
|
|
3
|
+
import { bj as g, bg as $, bt as D, bl as x } from "./form-Mla9_phC.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-JU1yiTVE.js";
|
|
6
|
+
import { L as M } from "./field-label-headless-CD4_8Ros.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-BifCDpE4.js → radio-group-field-rac-0dJHtf3G.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-Cu3KM625.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 { M as i, Y as E, T as p, U as O, G as R, u as _, V as I } from "./form-
|
|
7
|
+
import { M as i, Y as E, T as p, U as O, G as R, u as _, V as I } from "./form-Mla9_phC.js";
|
|
8
8
|
import { o as L } from "./options-rac.module-_THNq6Qq.js";
|
|
9
|
-
import { u } from "./use-element-state-class-name-
|
|
10
|
-
import { u as N } from "./use-text-input-class-name-
|
|
9
|
+
import { u } from "./use-element-state-class-name-DAYz5X_i.js";
|
|
10
|
+
import { u as N } from "./use-text-input-class-name-Bqj4OoIw.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-Dg1T0DZW.js → rating-input-field-rac-CMny6OSF.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 { bj as I, bg as v, bt as M, M as T, Y as H, W as w, G as B, u as P, X as G } from "./form-
|
|
4
|
+
import { bj as I, bg as v, bt as M, M as T, Y as H, W as w, G as B, u as P, X as G } from "./form-Mla9_phC.js";
|
|
5
5
|
import { RadioGroup as q, RadioField as k, RadioButton as x } from "react-aria-components";
|
|
6
6
|
import { f as E, a as U } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as j, E as z } from "./field-error-headless-
|
|
8
|
-
import { L as Q } from "./field-label-headless-
|
|
7
|
+
import { D as j, E as z } from "./field-error-headless-JU1yiTVE.js";
|
|
8
|
+
import { L as Q } from "./field-label-headless-CD4_8Ros.js";
|
|
9
9
|
import { E as W } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as g } from "./field-rac.module-DfEb7pBp.js";
|
|
11
|
-
import { u as X } from "./use-element-state-class-name-
|
|
11
|
+
import { u as X } from "./use-element-state-class-name-DAYz5X_i.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-BehwBL3L.js → rich-content-rac.module-CZX0cZst.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import { bj as a, bb as i, bt as T } from "./form-
|
|
2
|
+
import { bj as a, bb as i, bt as T } from "./form-Mla9_phC.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 { bj as m, aw as i, ae as u, aW as R, aZ 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 { bj as m, aw as i, ae as u, aW as R, aZ as T } from "./form-Mla9_phC.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-CZX0cZst.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-68WLBlsa.js → service-dropdown-rac-_4T1OZGq.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import o, { useRef as b, useMemo as _, useCallback as C, useEffect as T } from "react";
|
|
2
2
|
import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
3
3
|
import E from "classnames";
|
|
4
|
-
import { bf as P, bt as A, F as M, bj as y, bb as V, al as x, M as H, Y as U, O as k, G as q, u 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 { bf as P, bt as A, F as M, bj as y, bb as V, al as x, M as H, Y as U, O as k, G as q, u as B } from "./form-Mla9_phC.js";
|
|
5
|
+
import { u as W } from "./use-service-options-base-BOjt2sg9.js";
|
|
6
|
+
import { D as u } from "./dropdown-field-headless-DO592qOP.js";
|
|
7
7
|
import { C as Y } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as j } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as G } from "./custom-focus-class-_483Pkwp.js";
|
|
10
10
|
import { s as a } from "./field-rac.module-DfEb7pBp.js";
|
|
11
|
-
import { u as Q } from "./use-dropdown-option-class-name-
|
|
12
|
-
import { u as z } from "./use-dropdown-trigger-class-name-
|
|
11
|
+
import { u as Q } from "./use-dropdown-option-class-name-BM-NiVtO.js";
|
|
12
|
+
import { u as z } from "./use-dropdown-trigger-class-name-BHwQ-wZa.js";
|
|
13
13
|
const J = "00000000-0000-0000-0000-000000000000", K = (e) => {
|
|
14
14
|
const { actions: t } = P(), { t: h } = A(), { addOther: n, addOtherLabel: p } = e, c = p || h("add-other.default-other-option-label"), i = b(!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, bj as d, al as D, M as F, Y as N, o as f, q as h, G as b, u 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, bj as d, al as D, M as F, Y as N, o as f, q as h, G as b, u as M, p as A } from "./form-Mla9_phC.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-BOjt2sg9.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-C4A_Kv1U.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-DAYz5X_i.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-Bqj4OoIw.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 { aN as Ue, bd as Te, ap as Be, F as Oe, bf as Pe, bb as Me, br as ye, E as me, af as oe, bj as x, bg as W, bl as Ce, bt as He, bc as We, M as Ye, Y as Ze, _ as ke, u as pe, b as Ge, a3 as Ve, a4 as fe, G as $e, Z as ze, a1 as Xe, $ as qe, a2 as je, f as ne, a0 as Je } from "./form-
|
|
5
|
+
import { aN as Ue, bd as Te, ap as Be, F as Oe, bf as Pe, bb as Me, br as ye, E as me, af as oe, bj as x, bg as W, bl as Ce, bt as He, bc as We, M as Ye, Y as Ze, _ as ke, u as pe, b as Ge, a3 as Ve, a4 as fe, G as $e, Z as ze, a1 as Xe, $ as qe, a2 as je, f as ne, a0 as Je } from "./form-Mla9_phC.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-JU1yiTVE.js";
|
|
11
|
+
import { L as ut } from "./field-label-headless-CD4_8Ros.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-DAYz5X_i.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)), gt = (e, t) => e.layout.row - t.layout.row || e.layout.column - t.layout.column, ht = (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 { bj as B, bd as q, ai as A, b as R, ah as k, ad as y, ac as M, ag as U } from "./form-
|
|
4
|
+
import { bj as B, bd as q, ai as A, b as R, ah as k, ad as y, ac as M, ag as U } from "./form-Mla9_phC.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-DAYz5X_i.js";
|
|
8
8
|
function W(e) {
|
|
9
9
|
const s = "calc(50% - 2px)";
|
|
10
10
|
return /* @__PURE__ */ t.createElement(D, {
|
|
@@ -2,15 +2,15 @@ import { RicosViewer as Y } from "@wix/ricos/viewer";
|
|
|
2
2
|
import F from "classnames";
|
|
3
3
|
import t, { useMemo as I, useState as w, useRef as N, useLayoutEffect as z, useCallback as k } from "react";
|
|
4
4
|
import { CheckboxGroup as B, TextField as J, Input as K, CheckboxField as X, CheckboxButton as Z } from "react-aria-components";
|
|
5
|
-
import { bj as D, bg as M, bt as S, bl as U, M as ee, Y as te, a6 as ne, G as oe, u as ae, a7 as re } from "./form-
|
|
5
|
+
import { bj as D, bg as M, bt as S, bl as U, M as ee, Y as te, a6 as ne, G as oe, u as ae, a7 as re } from "./form-Mla9_phC.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-JU1yiTVE.js";
|
|
8
|
+
import { L as $ } from "./field-label-headless-CD4_8Ros.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-DAYz5X_i.js";
|
|
13
|
+
import { u as ce } from "./use-text-input-class-name-Bqj4OoIw.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 { bj as p, bg as d, bl as x, M as g, Y as h, G as M, u as v } from "./form-
|
|
5
|
+
import { bj as p, bg as d, bl as x, M as g, Y as h, G as M, u as v } from "./form-Mla9_phC.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-JU1yiTVE.js";
|
|
8
|
+
import { L as k } from "./field-label-headless-CD4_8Ros.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 V } from "./use-text-input-class-name-
|
|
11
|
+
import { u as V } from "./use-text-input-class-name-Bqj4OoIw.js";
|
|
12
12
|
const e = ({ children: t }) => {
|
|
13
13
|
const { id: a, value: m, onChange: s, disabled: u, required: n, readOnly: l, onBlur: E, onFocus: b, FieldLayout: I, hasError: f } = p(), { labelId: F } = d(), L = T((A) => {
|
|
14
14
|
s(A);
|
package/dist/component/{text-input-field-rac-Dm-xU8Rg.js → text-input-field-rac-DJDzqR6d.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-CG4wbxMG.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 { M as n, Y as c, G as E, u as i } from "./form-
|
|
8
|
-
import { u as p } from "./use-text-input-class-name-
|
|
7
|
+
import { M as n, Y as c, G as E, u as i } from "./form-Mla9_phC.js";
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-Bqj4OoIw.js";
|
|
9
9
|
const u = ({ 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 g } from "react-aria-components";
|
|
3
|
-
import { bj as d, bg as c, bl as v } from "./form-
|
|
3
|
+
import { bj as d, bg as c, bl as v } from "./form-Mla9_phC.js";
|
|
4
4
|
import { f as s } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as T, E as h } from "./field-error-headless-
|
|
6
|
-
import { L as x } from "./field-label-headless-
|
|
5
|
+
import { D as T, E as h } from "./field-error-headless-JU1yiTVE.js";
|
|
6
|
+
import { L as x } from "./field-label-headless-CD4_8Ros.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 x } from "@wix/ricos/viewer";
|
|
|
3
3
|
import m from "classnames";
|
|
4
4
|
import { parseTime as q } from "@internationalized/date";
|
|
5
5
|
import { TimeField as v, DateInput as z, DateSegment as _, TimeFieldStateContext as B } from "react-aria-components";
|
|
6
|
-
import { bj as p, bg as U, bt as S, bl as w, M as G, Y as Q, G as Y, u as J } from "./form-
|
|
6
|
+
import { bj as p, bg as U, bt as S, bl as w, M as G, Y as Q, G as Y, u as J } from "./form-Mla9_phC.js";
|
|
7
7
|
import { f as u, a as F } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as K, E as W } from "./field-error-headless-
|
|
9
|
-
import { L as X } from "./field-label-headless-
|
|
8
|
+
import { D as K, E as W } from "./field-error-headless-JU1yiTVE.js";
|
|
9
|
+
import { L as X } from "./field-label-headless-CD4_8Ros.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-Bqj4OoIw.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: g, hasError: C } = p(), { inputId: I, ariaDescribedBy: D, labelId: L } = U(), R = H((M) => {
|
|
16
16
|
const k = ae(M);
|
|
@@ -2,14 +2,14 @@ import { RicosViewer as S } from "@wix/ricos/viewer";
|
|
|
2
2
|
import i from "classnames";
|
|
3
3
|
import r, { useCallback as h, useRef as O } from "react";
|
|
4
4
|
import { TextField as y, Input as A } from "react-aria-components";
|
|
5
|
-
import { bj as d, bg as E, bl as g, M as B, Y as M, G as T, u as k } from "./form-
|
|
5
|
+
import { bj as d, bg as E, bl as g, M as B, Y as M, G as T, u as k } from "./form-Mla9_phC.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as v, E as P } from "./field-error-headless-
|
|
8
|
-
import { L as q } from "./field-label-headless-
|
|
7
|
+
import { D as v, E as P } from "./field-error-headless-JU1yiTVE.js";
|
|
8
|
+
import { L as q } from "./field-label-headless-CD4_8Ros.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-DfEb7pBp.js";
|
|
12
|
-
import { u as w } from "./use-text-input-class-name-
|
|
12
|
+
import { u as w } from "./use-text-input-class-name-Bqj4OoIw.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: l, 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), _ = c(t, e.Error), N = h(() => {
|
|
15
15
|
n(V(s)), p();
|