@wix/form-elements 1.124.0 → 1.126.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/component/{appointment-rac-CDI1Uxdc.js → appointment-rac-CYB_k6uF.js} +5 -5
- package/dist/component/{bookings-address-rac-nVBEkg-l.js → bookings-address-rac-yJjV3u5m.js} +1 -1
- package/dist/component/{bookings-email-rac-NusPqaqf.js → bookings-email-rac-WkFgaEv5.js} +1 -1
- package/dist/component/{bookings-first-name-rac-CYmrpEzR.js → bookings-first-name-rac-CJ1cBR5Z.js} +1 -1
- package/dist/component/{bookings-header-rac-TyM4Aoem.js → bookings-header-rac-DiC19ttR.js} +1 -1
- package/dist/component/{bookings-last-name-rac-D70Nn82q.js → bookings-last-name-rac-Dx0Nt5Z_.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-BW-5tCEV.js → bookings-login-bar-rac-CcW2nUYQ.js} +1 -1
- package/dist/component/{bookings-phone-rac-CgMUDGs7.js → bookings-phone-rac-BMLrrTf6.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-CWXyJPhn.js → bookings-rich-text-rac-DIbRjzxZ.js} +1 -1
- package/dist/component/{checkbox-field-rac-CsHe-LVL.js → checkbox-field-rac-3a6NYcNf.js} +93 -93
- package/dist/component/{checkbox-group-field-headless-B-mHaxSW.js → checkbox-group-field-headless-CM-2wLJv.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-BqZu8wit.js → checkbox-group-field-rac-CNWwJ_No.js} +6 -6
- package/dist/component/{checkbox-group-rac-Blm4fyuE.js → checkbox-group-rac-F08XYJSA.js} +1 -1
- package/dist/component/{checkbox-indicator-module-classes-BpeSpGsW.js → checkbox-indicator-module-classes-DOAYUQ_Q.js} +1 -1
- package/dist/component/{checkbox-rac-tbwv1SXx.js → checkbox-rac-z98USBLu.js} +1 -1
- package/dist/component/{contacts-address-rac-RHSnDiBQ.js → contacts-address-rac-DuodyS7l.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-DKrGrNiq.js → contacts-birthdate-rac-BY7L9nWm.js} +1 -1
- package/dist/component/{contacts-company-rac-DvOfTEo2.js → contacts-company-rac-iPNPKhx2.js} +1 -1
- package/dist/component/{contacts-email-rac-a8JC9eRP.js → contacts-email-rac-C7kBUzQH.js} +1 -1
- package/dist/component/{contacts-first-name-rac-_AfphZiB.js → contacts-first-name-rac-DvDNRs2q.js} +1 -1
- package/dist/component/{contacts-last-name-rac-BCmo1Jgg.js → contacts-last-name-rac-Cls5_7W0.js} +1 -1
- package/dist/component/{contacts-phone-rac-BXz4vG8P.js → contacts-phone-rac-DMy2lBJl.js} +1 -1
- package/dist/component/{contacts-position-rac-DRaQJZaG.js → contacts-position-rac-Bn21lF_i.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-7U0svfJD.js → contacts-subscribe-rac-QSC_n_T_.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-CJqjUhmU.js → contacts-tax-id-rac-BvqoePCN.js} +1 -1
- package/dist/component/{date-availability-CpS7yhir.js → date-availability-SErYnVtm.js} +1 -1
- package/dist/component/{date-input-field-rac-Dg2688SW.js → date-input-field-rac-H81WktJT.js} +7 -7
- package/dist/component/{date-input-rac-DzAp7gfu.js → date-input-rac-C6ZeK0zQ.js} +1 -1
- package/dist/component/{date-picker-field-rac-FmAi7HRw.js → date-picker-field-rac-BwSKny80.js} +6 -6
- package/dist/component/{date-picker-rac-BaI3r-CN.js → date-picker-rac-BB5zswk4.js} +1 -1
- package/dist/component/{date-time-input-field-rac-DeeDxW2B.js → date-time-input-field-rac-C4srGo4X.js} +7 -7
- package/dist/component/{date-time-input-rac-DZ7QstRD.js → date-time-input-rac-6PXunNeR.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-BnAYHF94.js → dext-checkbox-group-rac-B1GOhxW8.js} +2 -2
- package/dist/component/{dext-checkbox-rac-BeZMCOBD.js → dext-checkbox-rac-DVels76t.js} +1 -1
- package/dist/component/{dext-date-picker-rac-BXUNloHW.js → dext-date-picker-rac-kKH7Nu_c.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-BKEQsTle.js → dext-date-time-input-rac-C2xk0pv1.js} +1 -1
- package/dist/component/{dext-dropdown-rac-BSXZriDs.js → dext-dropdown-rac-bd3XpA-l.js} +1 -1
- package/dist/component/{dext-email-rac-BGEEhLlh.js → dext-email-rac-BtEeJsrT.js} +1 -1
- package/dist/component/{dext-number-input-rac-D1S-fmne.js → dext-number-input-rac-BLPAbm2q.js} +1 -1
- package/dist/component/{dext-phone-rac-DkPzLZJS.js → dext-phone-rac-ByEP8XRg.js} +1 -1
- package/dist/component/{dext-radio-group-rac-dje-ikGm.js → dext-radio-group-rac-AY271KFi.js} +2 -2
- package/dist/component/{dext-rating-input-rac-TMQudQVi.js → dext-rating-input-rac-Dp9N8OWT.js} +1 -1
- package/dist/component/{dext-tags-rac-DxAn9OIc.js → dext-tags-rac-PgZGGDwj.js} +2 -2
- package/dist/component/{dext-text-area-rac-CqSmgEkA.js → dext-text-area-rac-BN99TM9O.js} +1 -1
- package/dist/component/{dext-text-input-rac-Dufa7pEk.js → dext-text-input-rac-C5TaQVi8.js} +1 -1
- package/dist/component/{dext-url-input-rac-B-bq2rjx.js → dext-url-input-rac-BvMh_jc6.js} +1 -1
- package/dist/component/{donation-rac-RthojtHs.js → donation-rac-BSCyAZPx.js} +6 -6
- package/dist/component/{dropdown-field-headless-BjYVzoSD.js → dropdown-field-headless-DzDE-6ha.js} +5 -5
- package/dist/component/{dropdown-field-rac-BaVviXFZ.js → dropdown-field-rac-mbYavQtS.js} +5 -5
- package/dist/component/{dropdown-rac-BG3WbzTb.js → dropdown-rac-BUJag5ow.js} +1 -1
- package/dist/component/{ecom-address-rac-DfmNtkCV.js → ecom-address-rac-B7_RYjoj.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-CD8Dr0ne.js → ecom-subscription-checkbox-rac-BCDyH7x-.js} +2 -2
- package/dist/component/{email-input-field-rac-Cdu5shB9.js → email-input-field-rac-CUi08-gD.js} +4 -4
- package/dist/component/{events-repeater-rac-DAYVyB5v.js → events-repeater-rac-CkHq7ADr.js} +6 -6
- package/dist/component/{events-rsvp-rac-CahpGVaB.js → events-rsvp-rac-DBwLvDeR.js} +4 -4
- package/dist/component/{field-error-headless-CiAAbUUq.js → field-error-headless-Ct41F8cQ.js} +1 -1
- package/dist/component/{field-label-headless-__gDv8-J.js → field-label-headless-DUqBV42_.js} +1 -1
- package/dist/component/field-rac.module-DQxyEwK7.js +26 -0
- package/dist/component/{file-upload-rac-D6CQpR7g.js → file-upload-rac-CkbjhtAl.js} +5 -5
- package/dist/component/{fixed-payment-rac-DG3yDYoQ.js → fixed-payment-rac-Dgnhsx3e.js} +4 -4
- package/dist/component/{form-DShmmziF.js → form-Dx1bK3Fi.js} +2174 -2171
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-hajh0rs_.js → header-field-rac-BuUxOZO1.js} +2 -2
- package/dist/component/{header-rac-BQ1xsvMj.js → header-rac-CIvWVvYs.js} +1 -1
- package/dist/component/{image-choice-rac-CsfFQpHZ.js → image-choice-rac-BBo0PiW4.js} +5 -5
- package/dist/component/{index-Cg67JISR.js → index-BDSs3l4d.js} +2 -2
- package/dist/component/{index-BVG02INQ.js → index-BmMiwDw9.js} +4 -4
- package/dist/component/{isObjectLike-GeiErIiA.js → isObjectLike-xZCFQW_t.js} +1 -1
- package/dist/component/{multiline-address-field-rac-ClphN9RJ.js → multiline-address-field-rac-C6mRorOw.js} +8 -8
- package/dist/component/{multiline-address-rac-DuOAo8Sh.js → multiline-address-rac-BOjsVo4R.js} +1 -1
- package/dist/component/{number-input-field-rac-DFZLQFdZ.js → number-input-field-rac-C89M-zOh.js} +5 -5
- package/dist/component/{number-input-rac-BVQNQLNa.js → number-input-rac-DttY0Ll3.js} +1 -1
- package/dist/component/{password-rac-rIV1Uzdk.js → password-rac-C2KTrH40.js} +5 -5
- package/dist/component/{payment-input-rac-wi5HH2BY.js → payment-input-rac-BhyBxeu1.js} +5 -5
- package/dist/component/{phone-input-field-rac-DDiS4Bgs.js → phone-input-field-rac-BT-Fe6WZ.js} +7 -7
- package/dist/component/{phone-rac-B-uILQ30.js → phone-rac-B26qwlDN.js} +1 -1
- package/dist/component/{product-list-rac-DCb9VDEs.js → product-list-rac-CF4gkfTK.js} +6 -6
- package/dist/component/{quiz-radio-group-rac-kUUCW0-a.js → quiz-radio-group-rac-Bf2HeDDw.js} +1 -1
- package/dist/component/{radio-button-module-classes-BXUuhtnh.js → radio-button-module-classes-DtmmP89u.js} +3 -3
- package/dist/component/{radio-group-field-rac-UWL7EPPy.js → radio-group-field-rac-BY2OIFFr.js} +5 -5
- package/dist/component/{radio-group-rac-BFasnyaK.js → radio-group-rac-BuxVel2l.js} +1 -1
- package/dist/component/{rating-input-field-rac-B4UUIk8Y.js → rating-input-field-rac-CbLzvwyk.js} +5 -5
- package/dist/component/{rating-input-rac-wFswd01m.js → rating-input-rac-B8QxNYHU.js} +1 -1
- package/dist/component/{rich-content-rac.module-BiksdLX3.js → rich-content-rac.module-wu4JPlkg.js} +1 -1
- package/dist/component/{rich-text-field-rac-Bfgj9VSa.js → rich-text-field-rac-CTrEe0SQ.js} +2 -2
- package/dist/component/{rich-text-rac-DZLzNoGE.js → rich-text-rac-kmzPTMKb.js} +1 -1
- package/dist/component/{service-dropdown-rac-NouncKkn.js → service-dropdown-rac-C8nTy49F.js} +6 -6
- package/dist/component/{services-multi-choice-rac-CokpcneC.js → services-multi-choice-rac-rDkpN2fs.js} +7 -7
- package/dist/component/{signature-rac-BfnTVTGo.js → signature-rac-6r_gWBD2.js} +4 -4
- package/dist/component/{submit-button-rac-DzL9deH3.js → submit-button-rac-BFywt2Fn.js} +2 -2
- package/dist/component/{tags-field-rac-_nQTfOdL.js → tags-field-rac-rpzvIn_0.js} +6 -6
- package/dist/component/{tags-rac-DBSE9BHd.js → tags-rac-DVLGSSvh.js} +1 -1
- package/dist/component/{text-area-field-rac-qlOrVhaN.js → text-area-field-rac-BfVrtvl8.js} +5 -5
- package/dist/component/{text-area-rac-WJklNHfd.js → text-area-rac-VP-yXdJ6.js} +1 -1
- package/dist/component/{text-input-field-rac-DdeVJ8WD.js → text-input-field-rac-BlaXiXoF.js} +4 -4
- package/dist/component/{text-input-headless-BJk7hB4Y.js → text-input-headless-ChCTtqUX.js} +3 -3
- package/dist/component/{text-input-rac-DfK9CdZa.js → text-input-rac-CG-Oo3nZ.js} +1 -1
- package/dist/component/{time-input-rac-DmeLSDWa.js → time-input-rac-CzUGIr2X.js} +5 -5
- package/dist/component/{url-input-field-rac-CxBzFUZ6.js → url-input-field-rac-BHF6gZlT.js} +5 -5
- package/dist/component/{url-input-rac-Cn8ZUtiC.js → url-input-rac-DouQt3DF.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-BbVXUebo.js → use-dropdown-option-class-name-AklIMCCI.js} +3 -3
- package/dist/component/{use-dropdown-trigger-class-name-CZrmTGE3.js → use-dropdown-trigger-class-name-COJhxT4T.js} +2 -2
- package/dist/component/{use-element-state-class-name-B21H07XJ.js → use-element-state-class-name-CCe7Cvsu.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-D_sATUQv.js → use-hoverable-input-class-name-CtHJHqiV.js} +3 -3
- package/dist/component/{use-service-options-base-DD6-_eVN.js → use-service-options-base-2u1I6l-t.js} +1 -1
- package/dist/component/use-text-input-class-name-Bnfv7ZsJ.js +6 -0
- package/dist/form.d.ts +1 -1
- package/package.json +23 -23
- package/dist/component/field-rac.module-B4l_0KRU.js +0 -26
- package/dist/component/use-text-input-class-name-DNA3i28w.js +0 -6
package/dist/component/form.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import m from "classnames";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { b9 as u, aN as i, aM as C, aP as R, an as T, a5 as d } from "./form-
|
|
4
|
-
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-
|
|
3
|
+
import { b9 as u, aN as i, aM as C, aP as R, an as T, a5 as d } from "./form-Dx1bK3Fi.js";
|
|
4
|
+
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-wu4JPlkg.js";
|
|
5
5
|
const f = ({ truncate: t = !0 } = {}) => {
|
|
6
6
|
const { content: a, maxShownParagraphs: s } = u(), n = e.useMemo(() => ({
|
|
7
7
|
colorPalette: R(),
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useMemo as H, useCallback as T, useRef as G } from "react";
|
|
2
2
|
import { RicosViewer as k } from "@wix/ricos/viewer";
|
|
3
3
|
import I from "classnames";
|
|
4
|
-
import { b9 as b, b6 as x, bb as P, b2 as B, I as q, U, w, y as V, v as z, p as K, x as Q, f as g } from "./form-
|
|
4
|
+
import { b9 as b, b6 as x, bb as P, b2 as B, I as q, U, w, y as V, v as z, p as K, x as Q, f as g } from "./form-Dx1bK3Fi.js";
|
|
5
5
|
import { CheckboxGroup as Y, CheckboxField as $, CheckboxButton as j } from "react-aria-components";
|
|
6
6
|
import { f as m, a as F } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { L as J, g as W } from "./field-label-headless-
|
|
8
|
-
import { D as X, E as Z } from "./field-error-headless-
|
|
7
|
+
import { L as J, g as W } from "./field-label-headless-DUqBV42_.js";
|
|
8
|
+
import { D as X, E as Z } from "./field-error-headless-Ct41F8cQ.js";
|
|
9
9
|
import { F as ee } from "./fieldset-headless-CD3fds9J.js";
|
|
10
10
|
import { E as te } from "./error-icon-hZxQ6DEy.js";
|
|
11
|
-
import { s as O } from "./field-rac.module-
|
|
12
|
-
import { u as oe } from "./use-element-state-class-name-
|
|
11
|
+
import { s as O } from "./field-rac.module-DQxyEwK7.js";
|
|
12
|
+
import { u as oe } from "./use-element-state-class-name-CCe7Cvsu.js";
|
|
13
13
|
const o = ({ children: t, className: s }) => {
|
|
14
14
|
const { id: n, value: a, onChange: i, disabled: l, readOnly: r, required: c, onBlur: u, onFocus: p, hasError: C, FieldLayout: L } = b(), { inputId: f, labelId: _, ariaDescribedBy: R } = x(), S = m(t, o.Label), A = m(t, o.Options), D = m(t, o.Description), h = m(t, o.Error), M = H(() => a || [], [
|
|
15
15
|
a
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aU as n } from "./form-
|
|
2
|
-
import { A as S, a as p, C as N, ao as g, aE as q, aF as D, aW as L } from "./form-
|
|
1
|
+
import { aU as n } from "./form-Dx1bK3Fi.js";
|
|
2
|
+
import { A as S, a as p, C as N, ao as g, aE as q, aF as D, aW as L } from "./form-Dx1bK3Fi.js";
|
|
3
3
|
const l = (e = !1) => ({
|
|
4
4
|
country: {
|
|
5
5
|
required: e
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { e as R, av as _, aJ as de, aw as O, ab as Ge, B as Be, ap as qe, ai as He, ah as I, aq as Ee, az as re, at as Fe, c as B, aj as M, aV as Te, al as je, ak as he, am as q } from "./form-
|
|
2
|
-
import { aQ as Mn } from "./form-
|
|
1
|
+
import { e as R, av as _, aJ as de, aw as O, ab as Ge, B as Be, ap as qe, ai as He, ah as I, aq as Ee, az as re, at as Fe, c as B, aj as M, aV as Te, al as je, ak as he, am as q } from "./form-Dx1bK3Fi.js";
|
|
2
|
+
import { aQ as Mn } from "./form-Dx1bK3Fi.js";
|
|
3
3
|
import ke from "ajv";
|
|
4
4
|
import Xe from "ajv-errors";
|
|
5
5
|
import We from "ajv-formats";
|
|
6
6
|
import Ke from "fast-deep-equal";
|
|
7
7
|
import { parsePhoneNumber as ze, parsePhoneNumberWithError as Ve, ParseError as Ze } from "libphonenumber-js/max";
|
|
8
8
|
import Je from "libphonenumber-js/metadata.max.json";
|
|
9
|
-
import { p as Qe, i as et } from "./date-availability-
|
|
10
|
-
import { a as Sn } from "./date-availability-
|
|
9
|
+
import { p as Qe, i as et } from "./date-availability-SErYnVtm.js";
|
|
10
|
+
import { a as Sn } from "./date-availability-SErYnVtm.js";
|
|
11
11
|
import { C as tt } from "./calling-country-codes-PyWuOTmF.js";
|
|
12
12
|
function rt(e) {
|
|
13
13
|
var t, r;
|
|
@@ -2,21 +2,21 @@ import { RicosViewer as G } from "@wix/ricos/viewer";
|
|
|
2
2
|
import L from "classnames";
|
|
3
3
|
import r, { useMemo as q, createContext as Ve, useContext as Ce, useState as be, useRef as x, useCallback as R, useEffect as _e } from "react";
|
|
4
4
|
import { UNSAFE_PortalProvider as _t } from "react-aria";
|
|
5
|
-
import { b4 as ft, d as yt, a$ as Pt, b1 as Ct, aE as Tt, aF as wt, ay as Mt, aD as W, F as K, bj as Pe, aU as lt, b9 as P, b6 as T, bb as ae, b5 as It, aJ as qt, C as Oe, aS as xt, aW as Bt, bg as kt, ba as $t, bf as Ut, aZ as Vt, aO as Wt, aY as Kt, bc as Yt, ae as Ht, I as z, U as Q, K as ge, v as Z, p as ee } from "./form-
|
|
5
|
+
import { b4 as ft, d as yt, a$ as Pt, b1 as Ct, aE as Tt, aF as wt, ay as Mt, aD as W, F as K, bj as Pe, aU as lt, b9 as P, b6 as T, bb as ae, b5 as It, aJ as qt, C as Oe, aS as xt, aW as Bt, bg as kt, ba as $t, bf as Ut, aZ as Vt, aO as Wt, aY as Kt, bc as Yt, ae as Ht, I as z, U as Q, K as ge, v as Z, p as ee } from "./form-Dx1bK3Fi.js";
|
|
6
6
|
import { f as E, a as F } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import { F as jt, V as Jt } from "./headless-styles-CmcyA_pi.js";
|
|
8
|
-
import { a as Xt, u as Gt } from "./use-dropdown-trigger-class-name-
|
|
8
|
+
import { a as Xt, u as Gt } from "./use-dropdown-trigger-class-name-COJhxT4T.js";
|
|
9
9
|
import { TextField as fe, Input as le, ComboBoxStateContext as We, ComboBox as he, Popover as De, ListBox as Te, ListBoxItem as Se, Group as Lt, Button as Nt } from "react-aria-components";
|
|
10
|
-
import { D as ie, E as ce } from "./field-error-headless-
|
|
11
|
-
import { L as de } from "./field-label-headless-
|
|
12
|
-
import { e as zt, c as Qt, a as Zt, r as gt } from "./isObjectLike-
|
|
13
|
-
import { V as en, u as tn } from "./use-dropdown-option-class-name-
|
|
10
|
+
import { D as ie, E as ce } from "./field-error-headless-Ct41F8cQ.js";
|
|
11
|
+
import { L as de } from "./field-label-headless-DUqBV42_.js";
|
|
12
|
+
import { e as zt, c as Qt, a as Zt, r as gt } from "./isObjectLike-xZCFQW_t.js";
|
|
13
|
+
import { V as en, u as tn } from "./use-dropdown-option-class-name-AklIMCCI.js";
|
|
14
14
|
import { u as nn } from "./use-invoke-callback-UH73A_J3.js";
|
|
15
15
|
import { C as it } from "./chevron-down-icon-CcpVm6B-.js";
|
|
16
16
|
import { E as te } from "./error-icon-hZxQ6DEy.js";
|
|
17
17
|
import { H as we } from "./custom-focus-class-_483Pkwp.js";
|
|
18
|
-
import { s as I } from "./field-rac.module-
|
|
19
|
-
import { u as rn } from "./use-text-input-class-name-
|
|
18
|
+
import { s as I } from "./field-rac.module-DQxyEwK7.js";
|
|
19
|
+
import { u as rn } from "./use-text-input-class-name-Bnfv7ZsJ.js";
|
|
20
20
|
const on = (e, t, o) => {
|
|
21
21
|
var a, l, i, s;
|
|
22
22
|
const n = (a = e.steps) == null ? void 0 : a.map((d) => {
|
package/dist/component/{number-input-field-rac-DFZLQFdZ.js → number-input-field-rac-C89M-zOh.js}
RENAMED
|
@@ -2,15 +2,15 @@ import { RicosViewer as P } from "@wix/ricos/viewer";
|
|
|
2
2
|
import i from "classnames";
|
|
3
3
|
import r, { useState as U, useCallback as j, useEffect as Q, useRef as $ } from "react";
|
|
4
4
|
import { NumberField as z, Input as G } from "react-aria-components";
|
|
5
|
-
import { b9 as _, b6 as S, bj as H, bb as J, I as K, U as W, v as X, p as Y } from "./form-
|
|
5
|
+
import { b9 as _, b6 as S, bj as H, bb as J, I as K, U as W, v as X, p as Y } from "./form-Dx1bK3Fi.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as Z, E as w } from "./field-error-headless-
|
|
8
|
-
import { L as ee } from "./field-label-headless-
|
|
7
|
+
import { D as Z, E as w } from "./field-error-headless-Ct41F8cQ.js";
|
|
8
|
+
import { L as ee } from "./field-label-headless-DUqBV42_.js";
|
|
9
9
|
import { g as re, c as te } from "./numeric-input-utils-CuBMi4-a.js";
|
|
10
10
|
import { u as ne } from "./use-invoke-callback-UH73A_J3.js";
|
|
11
11
|
import { E as ae } from "./error-icon-hZxQ6DEy.js";
|
|
12
|
-
import { s as p } from "./field-rac.module-
|
|
13
|
-
import { u as se } from "./use-text-input-class-name-
|
|
12
|
+
import { s as p } from "./field-rac.module-DQxyEwK7.js";
|
|
13
|
+
import { u as se } from "./use-text-input-class-name-Bnfv7ZsJ.js";
|
|
14
14
|
const e = ({ children: t }) => {
|
|
15
15
|
var F, L, R;
|
|
16
16
|
const { id: a, value: s, onChange: l, disabled: d, required: b, readOnly: o, onBlur: E, onFocus: f, FieldLayout: m, hasError: u, validation: n } = _(), { labelId: y } = S(), D = ((F = n == null ? void 0 : n.number) == null ? void 0 : F.multipleOf) || 1, A = (L = n == null ? void 0 : n.number) == null ? void 0 : L.maximum, g = (R = n == null ? void 0 : n.number) == null ? void 0 : R.minimum, x = O(s), [T, I] = U(x), V = ne(E), h = c(t, e.Label), q = c(t, e.Input), M = c(t, e.Description), k = c(t, e.Error), B = j((N) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useState as N, useRef as S } from "react";
|
|
2
2
|
import { RicosViewer as x } from "@wix/ricos/viewer";
|
|
3
3
|
import d from "classnames";
|
|
4
|
-
import { b9 as E, b6 as I, bb as O, bj as A, I as B, U as v, v as V, p as P } from "./form-
|
|
4
|
+
import { b9 as E, b6 as I, bb as O, bj as A, I as B, U as v, v as V, p as P } from "./form-Dx1bK3Fi.js";
|
|
5
5
|
import { TextField as M, Group as k, Input as q, Button as U } from "react-aria-components";
|
|
6
6
|
import { f as u, a as b } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as j, E as H } from "./field-error-headless-
|
|
8
|
-
import { L as W } from "./field-label-headless-
|
|
7
|
+
import { D as j, E as H } from "./field-error-headless-Ct41F8cQ.js";
|
|
8
|
+
import { L as W } from "./field-label-headless-DUqBV42_.js";
|
|
9
9
|
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { H as G } from "./custom-focus-class-_483Pkwp.js";
|
|
11
|
-
import { s as p } from "./field-rac.module-
|
|
12
|
-
import { u as Q } from "./use-text-input-class-name-
|
|
11
|
+
import { s as p } from "./field-rac.module-DQxyEwK7.js";
|
|
12
|
+
import { u as Q } from "./use-text-input-class-name-Bnfv7ZsJ.js";
|
|
13
13
|
const t = ({ children: o, className: r }) => {
|
|
14
14
|
const { id: l, value: s, onChange: c, disabled: n, readOnly: m, required: a, hasError: i, onBlur: f, onFocus: C, FieldLayout: _ } = E(), { labelId: y } = I(), [R, D] = N(!1), F = u(o, t.Label), L = u(o, t.Control), T = u(o, t.Description), w = u(o, t.Error);
|
|
15
15
|
return /* @__PURE__ */ e.createElement(_, {
|
|
@@ -2,16 +2,16 @@ import r, { useCallback as P, useRef as Q } from "react";
|
|
|
2
2
|
import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
3
3
|
import p from "classnames";
|
|
4
4
|
import { TextField as z, Group as J, Input as K } from "react-aria-components";
|
|
5
|
-
import { b9 as R, b6 as D, b1 as T, bj as W, bb as X, I as Y, U as Z, v as ee, p as re } from "./form-
|
|
5
|
+
import { b9 as R, b6 as D, b1 as T, bj as W, bb as X, I as Y, U as Z, v as ee, p as re } from "./form-Dx1bK3Fi.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as te, E as ne } from "./field-error-headless-
|
|
8
|
-
import { L as ae } from "./field-label-headless-
|
|
7
|
+
import { D as te, E as ne } from "./field-error-headless-Ct41F8cQ.js";
|
|
8
|
+
import { L as ae } from "./field-label-headless-DUqBV42_.js";
|
|
9
9
|
import { f as N, g as se } from "./payment-field-utils-DobiK5Xh.js";
|
|
10
10
|
import { u as oe } from "./use-synced-display-value-DcAxdn3M.js";
|
|
11
11
|
import { E as le } from "./error-icon-hZxQ6DEy.js";
|
|
12
12
|
import { H as ce } from "./custom-focus-class-_483Pkwp.js";
|
|
13
|
-
import { s as d } from "./field-rac.module-
|
|
14
|
-
import { u as ie } from "./use-text-input-class-name-
|
|
13
|
+
import { s as d } from "./field-rac.module-DQxyEwK7.js";
|
|
14
|
+
import { u as ie } from "./use-text-input-class-name-Bnfv7ZsJ.js";
|
|
15
15
|
function ue(e, t) {
|
|
16
16
|
return {
|
|
17
17
|
productId: e.id,
|
package/dist/component/{phone-input-field-rac-DDiS4Bgs.js → phone-input-field-rac-BT-Fe6WZ.js}
RENAMED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { RicosViewer as Ce } from "@wix/ricos/viewer";
|
|
2
2
|
import h from "classnames";
|
|
3
3
|
import t, { useMemo as A, useState as $, useRef as F, useEffect as k, useCallback as Z, createContext as ee, useContext as G, useId as de } from "react";
|
|
4
|
-
import { aU as ye, bj as D, b1 as te, bi as Ee, b9 as B, b6 as ne, bb as fe, I as ge, U as he, H as be, K as Oe, v as _e, p as Ne } from "./form-
|
|
4
|
+
import { aU as ye, bj as D, b1 as te, bi as Ee, b9 as B, b6 as ne, bb as fe, I as ge, U as he, H as be, K as Oe, v as _e, p as Ne } from "./form-Dx1bK3Fi.js";
|
|
5
5
|
import { UNSAFE_PortalProvider as Se } from "react-aria";
|
|
6
6
|
import { Dialog as oe, OverlayTriggerStateContext as Le, ModalOverlay as Ie, Modal as ve, SearchField as Pe, Group as H, ListBoxItem as Fe, DialogTrigger as De, Select as Be, Input as re, Autocomplete as Re } from "react-aria-components";
|
|
7
7
|
import { f as g, a as L } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as xe, E as we } from "./field-error-headless-
|
|
9
|
-
import { L as Me } from "./field-label-headless-
|
|
8
|
+
import { D as xe, E as we } from "./field-error-headless-Ct41F8cQ.js";
|
|
9
|
+
import { L as Me } from "./field-label-headless-DUqBV42_.js";
|
|
10
10
|
import { N as Te, S as Ae } from "./non-modal-popover-DtIMXHbe.js";
|
|
11
11
|
import { u as $e } from "./use-invoke-callback-UH73A_J3.js";
|
|
12
|
-
import { a as Ue, u as ke } from "./use-dropdown-trigger-class-name-
|
|
13
|
-
import { V as Ve, u as qe } from "./use-dropdown-option-class-name-
|
|
12
|
+
import { a as Ue, u as ke } from "./use-dropdown-trigger-class-name-COJhxT4T.js";
|
|
13
|
+
import { V as Ve, u as qe } from "./use-dropdown-option-class-name-AklIMCCI.js";
|
|
14
14
|
import ae, { AsYouType as He, isValidPhoneNumber as Ge, isSupportedCountry as Ke } from "libphonenumber-js";
|
|
15
15
|
import "libphonenumber-js/metadata.min.json";
|
|
16
16
|
import { C as Q } from "./calling-country-codes-PyWuOTmF.js";
|
|
17
17
|
import { C as Ye } from "./chevron-down-icon-CcpVm6B-.js";
|
|
18
18
|
import { E as je } from "./error-icon-hZxQ6DEy.js";
|
|
19
19
|
import { H as W } from "./custom-focus-class-_483Pkwp.js";
|
|
20
|
-
import { s as O } from "./field-rac.module-
|
|
21
|
-
import { u as ze } from "./use-text-input-class-name-
|
|
20
|
+
import { s as O } from "./field-rac.module-DQxyEwK7.js";
|
|
21
|
+
import { u as ze } from "./use-text-input-class-name-Bnfv7ZsJ.js";
|
|
22
22
|
function J(e) {
|
|
23
23
|
const n = e ? ae(e) : void 0, r = n == null ? void 0 : n.country;
|
|
24
24
|
if (r)
|
|
@@ -2,19 +2,19 @@ import t, { useMemo as $, useCallback as M, useRef as B } from "react";
|
|
|
2
2
|
import { RicosViewer as z } from "@wix/ricos/viewer";
|
|
3
3
|
import _ from "classnames";
|
|
4
4
|
import { CheckboxField as G, CheckboxButton as j, NumberField as X, Group as J, Button as U, Input as W } from "react-aria-components";
|
|
5
|
-
import { b9 as k, b6 as Y, b1 as w, bj as Z, bb as ee, I as te, U as ne, L as ae, O as oe, N as re, H as le, v as se, p as ie, M as ce } from "./form-
|
|
5
|
+
import { b9 as k, b6 as Y, b1 as w, bj as Z, bb as ee, I as te, U as ne, L as ae, O as oe, N as re, H as le, v as se, p as ie, M as ce } from "./form-Dx1bK3Fi.js";
|
|
6
6
|
import { f as I, a as f } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { L as ue, g as me } from "./field-label-headless-
|
|
7
|
+
import { L as ue, g as me } from "./field-label-headless-DUqBV42_.js";
|
|
8
8
|
import { f as pe } from "./format-currency-BwShJ9vM.js";
|
|
9
|
-
import { D as de, E as Ee } from "./field-error-headless-
|
|
9
|
+
import { D as de, E as Ee } from "./field-error-headless-Ct41F8cQ.js";
|
|
10
10
|
import { F as ye } from "./fieldset-headless-CD3fds9J.js";
|
|
11
11
|
import { g as be } from "./payment-field-utils-DobiK5Xh.js";
|
|
12
12
|
import { S as _e } from "./selection-indicator-XQ8MYHUQ.js";
|
|
13
13
|
import { E as fe } from "./error-icon-hZxQ6DEy.js";
|
|
14
|
-
import { C as Ie } from "./checkbox-indicator-module-classes-
|
|
15
|
-
import { s as T } from "./field-rac.module-
|
|
14
|
+
import { C as Ie } from "./checkbox-indicator-module-classes-DOAYUQ_Q.js";
|
|
15
|
+
import { s as T } from "./field-rac.module-DQxyEwK7.js";
|
|
16
16
|
import { o as Q } from "./options-rac.module-_THNq6Qq.js";
|
|
17
|
-
import { u as Oe } from "./use-element-state-class-name-
|
|
17
|
+
import { u as Oe } from "./use-element-state-class-name-CCe7Cvsu.js";
|
|
18
18
|
var Le = /* @__PURE__ */ (function(e) {
|
|
19
19
|
return e.crop = "CROP", e.fit = "FIT", e;
|
|
20
20
|
})({}), x = /* @__PURE__ */ (function(e) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import a, { useRef as S, useState as V, useEffect as T, useCallback as B } from "react";
|
|
2
2
|
import { RadioGroup as H, RadioField as k, RadioButton as A, TextField as G, Input as P } from "react-aria-components";
|
|
3
|
-
import { b9 as g, b6 as $, bj as F, bb as x } from "./form-
|
|
3
|
+
import { b9 as g, b6 as $, bj as F, bb as x } from "./form-Dx1bK3Fi.js";
|
|
4
4
|
import { f as d, a as v } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as U, E as j } from "./field-error-headless-
|
|
6
|
-
import { L as M } from "./field-label-headless-
|
|
5
|
+
import { D as U, E as j } from "./field-error-headless-Ct41F8cQ.js";
|
|
6
|
+
import { L as M } from "./field-label-headless-DUqBV42_.js";
|
|
7
7
|
import { S as w } from "./selection-indicator-XQ8MYHUQ.js";
|
|
8
8
|
const L = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ?? n.label) === t), y = (e, t) => !!t && !z(e, t), J = (e, t) => {
|
|
9
9
|
const l = t ? t.length + 2 : 0;
|
package/dist/component/{radio-group-field-rac-UWL7EPPy.js → radio-group-field-rac-BY2OIFFr.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { RicosViewer as m } from "@wix/ricos/viewer";
|
|
2
2
|
import t from "classnames";
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { a, s, R as n } from "./radio-button-module-classes-
|
|
4
|
+
import { a, s, R as n } from "./radio-button-module-classes-DtmmP89u.js";
|
|
5
5
|
import { E as c } from "./error-icon-hZxQ6DEy.js";
|
|
6
|
-
import { s as r } from "./field-rac.module-
|
|
7
|
-
import { I as i, U as E, P as p, Q as R, v as O, p as _, R as I } from "./form-
|
|
6
|
+
import { s as r } from "./field-rac.module-DQxyEwK7.js";
|
|
7
|
+
import { I as i, U as E, P as p, Q as R, v as O, p as _, R as I } from "./form-Dx1bK3Fi.js";
|
|
8
8
|
import { o as L } from "./options-rac.module-_THNq6Qq.js";
|
|
9
|
-
import { u as N } from "./use-element-state-class-name-
|
|
10
|
-
import { u } from "./use-text-input-class-name-
|
|
9
|
+
import { u as N } from "./use-element-state-class-name-CCe7Cvsu.js";
|
|
10
|
+
import { u } from "./use-text-input-class-name-Bnfv7ZsJ.js";
|
|
11
11
|
const D = ({ content: o, locale: l }) => /* @__PURE__ */ e.createElement(m, {
|
|
12
12
|
content: o,
|
|
13
13
|
locale: l
|
package/dist/component/{rating-input-field-rac-B4UUIk8Y.js → rating-input-field-rac-CbLzvwyk.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RicosViewer as y } from "@wix/ricos/viewer";
|
|
2
2
|
import m from "classnames";
|
|
3
3
|
import e, { useCallback as N, useState as O, useRef as A } from "react";
|
|
4
|
-
import { b9 as I, b6 as v, bj as T, I as H, U as M, S as w, v as B, p as P, T as q } from "./form-
|
|
4
|
+
import { b9 as I, b6 as v, bj as T, I as H, U as M, S as w, v as B, p as P, T as q } from "./form-Dx1bK3Fi.js";
|
|
5
5
|
import { RadioGroup as G, RadioField as k, RadioButton as x } from "react-aria-components";
|
|
6
6
|
import { f as u, a as U } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as j, E as z } from "./field-error-headless-
|
|
8
|
-
import { L as Q } from "./field-label-headless-
|
|
7
|
+
import { D as j, E as z } from "./field-error-headless-Ct41F8cQ.js";
|
|
8
|
+
import { L as Q } from "./field-label-headless-DUqBV42_.js";
|
|
9
9
|
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
10
|
-
import { s as g } from "./field-rac.module-
|
|
11
|
-
import { u as J } from "./use-element-state-class-name-
|
|
10
|
+
import { s as g } from "./field-rac.module-DQxyEwK7.js";
|
|
11
|
+
import { u as J } from "./use-element-state-class-name-CCe7Cvsu.js";
|
|
12
12
|
const t = ({ children: a }) => {
|
|
13
13
|
const { id: n, value: r, onChange: o, disabled: l, readOnly: d, required: c, hasError: i, onBlur: E, onFocus: C, FieldLayout: R } = I(), { labelId: _ } = v(), L = N((D) => o(Number(D)), [
|
|
14
14
|
o
|
package/dist/component/{rich-content-rac.module-BiksdLX3.js → rich-content-rac.module-wu4JPlkg.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import { b9 as a, b1 as i, bj as T } from "./form-
|
|
2
|
+
import { b9 as a, b1 as i, bj as T } from "./form-Dx1bK3Fi.js";
|
|
3
3
|
import { Button as d } from "react-aria-components";
|
|
4
4
|
import { D as r } from "./data-hooks-Dkw1pbRj.js";
|
|
5
5
|
import { truncateRichContent as _ } from "@wix/ricos/content";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import l from "classnames";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { b9 as m, an as i, a5 as u, aM as R, aP as T } from "./form-
|
|
4
|
-
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-
|
|
3
|
+
import { b9 as m, an as i, a5 as u, aM as R, aP as T } from "./form-Dx1bK3Fi.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-wu4JPlkg.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-NouncKkn.js → service-dropdown-rac-C8nTy49F.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import t, { useRef as T, useMemo as _, useCallback as C, useEffect as b } from "react";
|
|
2
2
|
import { RicosViewer as w } from "@wix/ricos/viewer";
|
|
3
3
|
import E from "classnames";
|
|
4
|
-
import { b5 as P, bj as A, F as M, b9 as y, b1 as U, ac as V, I as x, U as H, K as k, v as q, p as B } from "./form-
|
|
5
|
-
import { u as W } from "./use-service-options-base-
|
|
6
|
-
import { D as u } from "./dropdown-field-headless-
|
|
4
|
+
import { b5 as P, bj as A, F as M, b9 as y, b1 as U, ac as V, I as x, U as H, K as k, v as q, p as B } from "./form-Dx1bK3Fi.js";
|
|
5
|
+
import { u as W } from "./use-service-options-base-2u1I6l-t.js";
|
|
6
|
+
import { D as u } from "./dropdown-field-headless-DzDE-6ha.js";
|
|
7
7
|
import { C as j } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as K } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as Q } from "./custom-focus-class-_483Pkwp.js";
|
|
10
|
-
import { s as a } from "./field-rac.module-
|
|
11
|
-
import { u as Y } from "./use-dropdown-option-class-name-
|
|
12
|
-
import { u as z } from "./use-dropdown-trigger-class-name-
|
|
10
|
+
import { s as a } from "./field-rac.module-DQxyEwK7.js";
|
|
11
|
+
import { u as Y } from "./use-dropdown-option-class-name-AklIMCCI.js";
|
|
12
|
+
import { u as z } from "./use-dropdown-trigger-class-name-COJhxT4T.js";
|
|
13
13
|
const G = "00000000-0000-0000-0000-000000000000", J = (e) => {
|
|
14
14
|
const { actions: o } = P(), { t: h } = A(), { addOther: n, addOtherLabel: p } = e, c = p || h("add-other.default-other-option-label"), i = T(!0), d = _(() => {
|
|
15
15
|
var s;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useEffect as I, useMemo as L } from "react";
|
|
2
2
|
import { RicosViewer as S } from "@wix/ricos/viewer";
|
|
3
3
|
import a from "classnames";
|
|
4
|
-
import { F as R, b9 as d, ac as D, I as F, U as N, i as f, k as h, v as b, p as M, j as A } from "./form-
|
|
5
|
-
import { u as v } from "./use-service-options-base-
|
|
6
|
-
import { C as i } from "./checkbox-group-field-headless-
|
|
4
|
+
import { F as R, b9 as d, ac as D, I as F, U as N, i as f, k as h, v as b, p as M, j as A } from "./form-Dx1bK3Fi.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-2u1I6l-t.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-CM-2wLJv.js";
|
|
7
7
|
import { E as x } from "./error-icon-hZxQ6DEy.js";
|
|
8
|
-
import { C as P } from "./checkbox-indicator-module-classes-
|
|
9
|
-
import { s as n } from "./field-rac.module-
|
|
8
|
+
import { C as P } from "./checkbox-indicator-module-classes-DOAYUQ_Q.js";
|
|
9
|
+
import { s as n } from "./field-rac.module-DQxyEwK7.js";
|
|
10
10
|
import { o as _ } from "./options-rac.module-_THNq6Qq.js";
|
|
11
|
-
import { u as T } from "./use-element-state-class-name-
|
|
12
|
-
import { u as k } from "./use-text-input-class-name-
|
|
11
|
+
import { u as T } from "./use-element-state-class-name-CCe7Cvsu.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-Bnfv7ZsJ.js";
|
|
13
13
|
const y = (s) => {
|
|
14
14
|
var C;
|
|
15
15
|
const { isLoading: o, options: r, isEmpty: l, shouldRender: E, setOptions: c, setIsEmpty: m, setHasInitialDataLoaded: p } = v({
|
|
@@ -4,13 +4,13 @@ import v from "classnames";
|
|
|
4
4
|
import { useHover as ve, useFocusRing as Se, mergeProps as xe } from "react-aria";
|
|
5
5
|
import { RadioGroup as Fe, Button as fe, TextField as Ae, Input as _e, RadioField as Ne, RadioButton as Pe } from "react-aria-components";
|
|
6
6
|
import he from "signature_pad";
|
|
7
|
-
import { aD as Ue, b5 as Oe, b1 as Be, bh as ge, E as ce, a6 as G, b9 as A, b6 as H, bb as Ee, bj as Me, I as ue, U as We, H as B, W as He, v as Ye, p as ke } from "./form-
|
|
7
|
+
import { aD as Ue, b5 as Oe, b1 as Be, bh as ge, E as ce, a6 as G, b9 as A, b6 as H, bb as Ee, bj as Me, I as ue, U as We, H as B, W as He, v as Ye, p as ke } from "./form-Dx1bK3Fi.js";
|
|
8
8
|
import { f as I, a as F } from "./find-child-C60k4CxG.js";
|
|
9
|
-
import { D as $e, E as Ve } from "./field-error-headless-
|
|
10
|
-
import { L as ze } from "./field-label-headless-
|
|
9
|
+
import { D as $e, E as Ve } from "./field-error-headless-Ct41F8cQ.js";
|
|
10
|
+
import { L as ze } from "./field-label-headless-DUqBV42_.js";
|
|
11
11
|
import { D as Ze } from "./data-hooks-Dkw1pbRj.js";
|
|
12
12
|
import { E as Xe } from "./error-icon-hZxQ6DEy.js";
|
|
13
|
-
import { s as V } from "./field-rac.module-
|
|
13
|
+
import { s as V } from "./field-rac.module-DQxyEwK7.js";
|
|
14
14
|
const Ge = typeof s.useId == "function" ? s.useId : () => W(Ue()).current;
|
|
15
15
|
var R = /* @__PURE__ */ (function(e) {
|
|
16
16
|
return e.TEXT = "text/plain", e.POINTS = "points/json", e;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import t, { useRef as w, useCallback as h } from "react";
|
|
2
2
|
import F from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import p from "classnames";
|
|
4
|
-
import { b9 as B, b3 as j, a9 as A, b as R, a8 as k, a4 as y, a3 as M, a7 as U } from "./form-
|
|
4
|
+
import { b9 as B, b3 as j, a9 as A, b as R, a8 as k, a4 as y, a3 as M, a7 as U } from "./form-Dx1bK3Fi.js";
|
|
5
5
|
import { ProgressBar as D, Button as C } from "react-aria-components";
|
|
6
6
|
import { f as m } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { u as N } from "./use-element-state-class-name-
|
|
7
|
+
import { u as N } from "./use-element-state-class-name-CCe7Cvsu.js";
|
|
8
8
|
function W(e) {
|
|
9
9
|
const s = "calc(50% - 2px)";
|
|
10
10
|
return /* @__PURE__ */ t.createElement(D, {
|
|
@@ -2,15 +2,15 @@ import { RicosViewer as Y } from "@wix/ricos/viewer";
|
|
|
2
2
|
import y from "classnames";
|
|
3
3
|
import t, { useMemo as I, useState as Z, useRef as N, useLayoutEffect as w, useCallback as k } from "react";
|
|
4
4
|
import { CheckboxGroup as z, TextField as B, Input as J, CheckboxField as K, CheckboxButton as X } from "react-aria-components";
|
|
5
|
-
import { b9 as R, b6 as M, bj as S, bb as U, I as ee, U as te, Y as ne, v as oe, p as ae, Z as re } from "./form-
|
|
5
|
+
import { b9 as R, b6 as M, bj as S, bb as U, I as ee, U as te, Y as ne, v as oe, p as ae, Z as re } from "./form-Dx1bK3Fi.js";
|
|
6
6
|
import { f as O, a as x } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { E as W, D as H } from "./field-error-headless-
|
|
8
|
-
import { L as $ } from "./field-label-headless-
|
|
7
|
+
import { E as W, D as H } from "./field-error-headless-Ct41F8cQ.js";
|
|
8
|
+
import { L as $ } from "./field-label-headless-DUqBV42_.js";
|
|
9
9
|
import { F as se } from "./fieldset-headless-CD3fds9J.js";
|
|
10
10
|
import { E as le } from "./error-icon-hZxQ6DEy.js";
|
|
11
|
-
import { s as D } from "./field-rac.module-
|
|
12
|
-
import { u as ie } from "./use-element-state-class-name-
|
|
13
|
-
import { u as ce } from "./use-text-input-class-name-
|
|
11
|
+
import { s as D } from "./field-rac.module-DQxyEwK7.js";
|
|
12
|
+
import { u as ie } from "./use-element-state-class-name-CCe7Cvsu.js";
|
|
13
|
+
import { u as ce } from "./use-text-input-class-name-Bnfv7ZsJ.js";
|
|
14
14
|
var ue = /* @__PURE__ */ (function(e) {
|
|
15
15
|
return e[e.FREE_FLOW = 0] = "FREE_FLOW", e[e.ONE = 1] = "ONE", e[e.TWO = 2] = "TWO", e[e.THREE = 3] = "THREE", e;
|
|
16
16
|
})({});
|
|
@@ -2,13 +2,13 @@ import { RicosViewer as N } from "@wix/ricos/viewer";
|
|
|
2
2
|
import o from "classnames";
|
|
3
3
|
import r, { useCallback as T, useRef as O } from "react";
|
|
4
4
|
import { TextField as S, TextArea as y } from "react-aria-components";
|
|
5
|
-
import { b9 as p, b6 as d, bb as x, I as g, U as h, v, p as M } from "./form-
|
|
5
|
+
import { b9 as p, b6 as d, bb as x, I as g, U as h, v, p as M } from "./form-Dx1bK3Fi.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as q, E as B } from "./field-error-headless-
|
|
8
|
-
import { L as k } from "./field-label-headless-
|
|
7
|
+
import { D as q, E as B } from "./field-error-headless-Ct41F8cQ.js";
|
|
8
|
+
import { L as k } from "./field-label-headless-DUqBV42_.js";
|
|
9
9
|
import { E as P } from "./error-icon-hZxQ6DEy.js";
|
|
10
|
-
import { s as c } from "./field-rac.module-
|
|
11
|
-
import { u as U } from "./use-text-input-class-name-
|
|
10
|
+
import { s as c } from "./field-rac.module-DQxyEwK7.js";
|
|
11
|
+
import { u as U } from "./use-text-input-class-name-Bnfv7ZsJ.js";
|
|
12
12
|
const e = ({ children: t }) => {
|
|
13
13
|
const { id: a, value: m, onChange: s, disabled: u, required: n, readOnly: l, onBlur: E, onFocus: b, FieldLayout: I, hasError: f } = p(), { labelId: F } = d(), L = T((A) => {
|
|
14
14
|
s(A);
|
package/dist/component/{text-input-field-rac-DdeVJ8WD.js → text-input-field-rac-BlaXiXoF.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { RicosViewer as l } from "@wix/ricos/viewer";
|
|
2
2
|
import t from "classnames";
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { T as r } from "./text-input-headless-
|
|
4
|
+
import { T as r } from "./text-input-headless-ChCTtqUX.js";
|
|
5
5
|
import { E as o } from "./error-icon-hZxQ6DEy.js";
|
|
6
|
-
import { s as a } from "./field-rac.module-
|
|
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-
|
|
6
|
+
import { s as a } from "./field-rac.module-DQxyEwK7.js";
|
|
7
|
+
import { I as n, U as c, v as E, p as i } from "./form-Dx1bK3Fi.js";
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-Bnfv7ZsJ.js";
|
|
9
9
|
const I = ({ content: s, locale: m }) => /* @__PURE__ */ e.createElement(l, {
|
|
10
10
|
content: s,
|
|
11
11
|
locale: m
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import t, { useRef as L } from "react";
|
|
2
2
|
import { TextField as R, Input as v } from "react-aria-components";
|
|
3
|
-
import { b9 as d, b6 as c, bb as T } from "./form-
|
|
3
|
+
import { b9 as d, b6 as c, bb as T } from "./form-Dx1bK3Fi.js";
|
|
4
4
|
import { f as s } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as g, E as h } from "./field-error-headless-
|
|
6
|
-
import { L as x } from "./field-label-headless-
|
|
5
|
+
import { D as g, E as h } from "./field-error-headless-Ct41F8cQ.js";
|
|
6
|
+
import { L as x } from "./field-label-headless-DUqBV42_.js";
|
|
7
7
|
const e = ({ children: r }) => {
|
|
8
8
|
const { id: a, value: i, onChange: l, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus: b, FieldLayout: f } = d(), { labelId: E } = c(), I = s(r, e.Label), F = s(r, e.Input), y = s(r, e.Description), D = s(r, e.Error);
|
|
9
9
|
return /* @__PURE__ */ t.createElement(f, {
|
|
@@ -3,14 +3,14 @@ import { RicosViewer as q } from "@wix/ricos/viewer";
|
|
|
3
3
|
import c from "classnames";
|
|
4
4
|
import { parseTime as B } from "@internationalized/date";
|
|
5
5
|
import { TimeField as U, DateInput as k, DateSegment as _, TimeFieldStateContext as j } from "react-aria-components";
|
|
6
|
-
import { b9 as p, b6 as w, bj as b, bb as Q, I as z, U as G, v as J, p as K } from "./form-
|
|
6
|
+
import { b9 as p, b6 as w, bj as b, bb as Q, I as z, U as G, v as J, p as K } from "./form-Dx1bK3Fi.js";
|
|
7
7
|
import { f as m, a as F } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as W, E as X } from "./field-error-headless-
|
|
9
|
-
import { L as Y } from "./field-label-headless-
|
|
8
|
+
import { D as W, E as X } from "./field-error-headless-Ct41F8cQ.js";
|
|
9
|
+
import { L as Y } from "./field-label-headless-DUqBV42_.js";
|
|
10
10
|
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { H as T } from "./custom-focus-class-_483Pkwp.js";
|
|
12
|
-
import { s as f } from "./field-rac.module-
|
|
13
|
-
import { u as $ } from "./use-text-input-class-name-
|
|
12
|
+
import { s as f } from "./field-rac.module-DQxyEwK7.js";
|
|
13
|
+
import { u as $ } from "./use-text-input-class-name-Bnfv7ZsJ.js";
|
|
14
14
|
const r = ({ children: t }) => {
|
|
15
15
|
const { id: n, value: l, onChange: o, disabled: i, readOnly: s, required: a, onBlur: d, onFocus: E, use24HourFormat: S, FieldLayout: C, hasError: I } = p(), { inputId: g, ariaDescribedBy: D, labelId: L } = w(), R = V((M) => {
|
|
16
16
|
const H = ae(M);
|