@wix/form-elements 1.138.0 → 1.139.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-DvzMuumV.js → appointment-rac-DuePBZgo.js} +4 -4
- package/dist/component/{bookings-address-rac-DoTKdj4W.js → bookings-address-rac-CAn2qFUw.js} +1 -1
- package/dist/component/{bookings-email-rac-CHvxtHcu.js → bookings-email-rac-CoLqyLjz.js} +1 -1
- package/dist/component/{bookings-first-name-rac-VAAhC_fg.js → bookings-first-name-rac-Cq6PU-R9.js} +1 -1
- package/dist/component/{bookings-header-rac-YWB4879A.js → bookings-header-rac-BD4UKDvX.js} +1 -1
- package/dist/component/{bookings-last-name-rac-B-aGMcD_.js → bookings-last-name-rac-CW58kF1V.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-3wYAN_xh.js → bookings-login-bar-rac-BIIQO2-8.js} +1 -1
- package/dist/component/{bookings-phone-rac-CzQVxpNK.js → bookings-phone-rac-BBW_3MB5.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-C5z9Gvts.js → bookings-rich-text-rac-DqOdJVKp.js} +1 -1
- package/dist/component/{checkbox-field-rac-CradfjbE.js → checkbox-field-rac-DFze3E2t.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-DdVXFUPC.js → checkbox-group-field-headless-CDtZ_-0W.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-KqKHh6Uj.js → checkbox-group-field-rac-DzEcQbPe.js} +4 -4
- package/dist/component/{checkbox-group-rac-C34O1zlM.js → checkbox-group-rac-DI3AkgV3.js} +1 -1
- package/dist/component/{checkbox-rac-BnXI1EcE.js → checkbox-rac-_p3FcSft.js} +1 -1
- package/dist/component/{contacts-address-rac-Ba57mGCo.js → contacts-address-rac-Cd4261XE.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-lOtU_kNL.js → contacts-birthdate-rac-BhxK_mbX.js} +1 -1
- package/dist/component/{contacts-company-rac-fzSYypTz.js → contacts-company-rac-CHTJD7i2.js} +1 -1
- package/dist/component/{contacts-email-rac-kOu3zzAk.js → contacts-email-rac-SI0iGK76.js} +1 -1
- package/dist/component/{contacts-first-name-rac-CwUDxtmS.js → contacts-first-name-rac-BxVPha6t.js} +1 -1
- package/dist/component/{contacts-last-name-rac-DstG7QIk.js → contacts-last-name-rac-D87q7e3T.js} +1 -1
- package/dist/component/{contacts-phone-rac-DbDYtB90.js → contacts-phone-rac-8tRoTrbD.js} +1 -1
- package/dist/component/{contacts-position-rac-G-5pxT4U.js → contacts-position-rac-B6mEnhoG.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-hfjDjoZw.js → contacts-subscribe-rac-CJLIRb2W.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-CUwJltYa.js → contacts-tax-id-rac-CsZOGTdP.js} +1 -1
- package/dist/component/{date-availability-CwlAp1DX.js → date-availability-OUSMC6ZJ.js} +1 -1
- package/dist/component/{date-input-field-rac-C47Y-z4d.js → date-input-field-rac-owOqsl-X.js} +6 -6
- package/dist/component/{date-input-rac-BSKV4JJO.js → date-input-rac-Tw6adIZA.js} +1 -1
- package/dist/component/{date-picker-field-rac-NSAnfLRk.js → date-picker-field-rac-CicYutrB.js} +5 -5
- package/dist/component/{date-picker-rac-DlEVDz1X.js → date-picker-rac-BeQHs3VF.js} +1 -1
- package/dist/component/{date-time-input-field-rac-Bs2xjob_.js → date-time-input-field-rac-DliY_8-g.js} +6 -6
- package/dist/component/{date-time-input-rac-Dvy_vn5y.js → date-time-input-rac-Dv4_Q0NX.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-ydiyI0Ax.js → dext-checkbox-group-rac-DQE9ZD9R.js} +2 -2
- package/dist/component/{dext-checkbox-rac-D3FH0uIS.js → dext-checkbox-rac-DVM1OTE6.js} +1 -1
- package/dist/component/{dext-date-picker-rac-C4Xa4Mkn.js → dext-date-picker-rac-C58i2ohz.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-DBUVJbqB.js → dext-date-time-input-rac-DfuOVj7h.js} +1 -1
- package/dist/component/{dext-dropdown-rac-Ku5SxJci.js → dext-dropdown-rac-ClkT-JZS.js} +1 -1
- package/dist/component/{dext-email-rac-CdfesgKH.js → dext-email-rac-5kXpIx4T.js} +1 -1
- package/dist/component/{dext-number-input-rac-AmiEoijD.js → dext-number-input-rac-ZRSlts_C.js} +1 -1
- package/dist/component/{dext-phone-rac-BqiNW-E2.js → dext-phone-rac-nWQzy-Gq.js} +1 -1
- package/dist/component/{dext-radio-group-rac-Bku-LoOz.js → dext-radio-group-rac-CiayGIL_.js} +2 -2
- package/dist/component/{dext-rating-input-rac-TxRgyMyp.js → dext-rating-input-rac-CL4JR2hi.js} +1 -1
- package/dist/component/{dext-tags-rac-C6iBGwg4.js → dext-tags-rac-BS5gmpIc.js} +2 -2
- package/dist/component/{dext-text-area-rac-BU0eyjM4.js → dext-text-area-rac-ZQ0u3sgJ.js} +1 -1
- package/dist/component/{dext-text-input-rac-BEls3cms.js → dext-text-input-rac-CBN-B60v.js} +1 -1
- package/dist/component/{dext-url-input-rac-CMAK9Qo6.js → dext-url-input-rac-CL7yBfpu.js} +1 -1
- package/dist/component/{donation-rac-aGSBtE2T.js → donation-rac-BCxI8DUn.js} +5 -5
- package/dist/component/{dropdown-field-headless-B6i33cBH.js → dropdown-field-headless-Cfnoh3TT.js} +5 -5
- package/dist/component/{dropdown-field-rac-COluC25e.js → dropdown-field-rac-C5kP9Maj.js} +4 -4
- package/dist/component/{dropdown-rac-BGQx3saK.js → dropdown-rac-Q6QwHrpQ.js} +1 -1
- package/dist/component/{ecom-address-rac-BgkdVaiI.js → ecom-address-rac-Bcpnkrsz.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-C9jnWaZl.js → ecom-subscription-checkbox-rac-BaiPwmST.js} +2 -2
- package/dist/component/{email-input-field-rac-DHCUGLjQ.js → email-input-field-rac-CTb93XO1.js} +3 -3
- package/dist/component/{events-repeater-rac-BHz0azrh.js → events-repeater-rac-SUxGn4_x.js} +4 -4
- package/dist/component/{events-rsvp-rac-BgtEivuD.js → events-rsvp-rac-DlPaip2O.js} +3 -3
- package/dist/component/{field-error-headless-BCrv3sBa.js → field-error-headless-CxjXRFrW.js} +1 -1
- package/dist/component/{field-label-headless-B54yFVkr.js → field-label-headless-DCEOZ-YZ.js} +1 -1
- package/dist/component/{file-upload-rac-Cg8Z8lhS.js → file-upload-rac-BXQ0aFc0.js} +4 -4
- package/dist/component/{fixed-payment-rac-B3uuRmES.js → fixed-payment-rac-ByeJsO05.js} +3 -3
- package/dist/component/{form-D7mq5tD5.js → form-maUFPJM6.js} +1684 -1680
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-DbeAaOaE.js → header-field-rac-N9L0MPac.js} +2 -2
- package/dist/component/{header-rac-CRghbywI.js → header-rac-C2hqJW8B.js} +1 -1
- package/dist/component/{image-choice-rac-nCRaXrH5.js → image-choice-rac-EnNAFefv.js} +4 -4
- package/dist/component/{index-C6cdxkPM.js → index-CoJjnTGV.js} +2 -2
- package/dist/component/{index-DNonwKkE.js → index-D29khrM1.js} +4 -4
- package/dist/component/{isObjectLike-PXbsarQL.js → isObjectLike-CThwpoQB.js} +1 -1
- package/dist/component/{multiline-address-field-rac-DeMafI8g.js → multiline-address-field-rac-C-zlqFCi.js} +7 -7
- package/dist/component/{multiline-address-rac-g1IrapIk.js → multiline-address-rac-CY468N1Y.js} +1 -1
- package/dist/component/{number-input-field-rac-BSGFZQh_.js → number-input-field-rac-CV63nd7z.js} +4 -4
- package/dist/component/{number-input-rac-C5yMyFyv.js → number-input-rac-q6pBGhwp.js} +1 -1
- package/dist/component/{password-rac-jHDFxH5W.js → password-rac-D4v01lEX.js} +4 -4
- package/dist/component/{payment-input-rac-Cpw8VM0u.js → payment-input-rac-BOUE_ySy.js} +4 -4
- package/dist/component/{phone-input-field-rac-DLZysv_w.js → phone-input-field-rac-CTihyY5b.js} +6 -6
- package/dist/component/{phone-rac-DK5Toq-q.js → phone-rac-DAis236h.js} +1 -1
- package/dist/component/{product-list-rac-DR2bHVkk.js → product-list-rac-F8_l5GI1.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-mWuYJqRQ.js → quiz-radio-group-rac-DE9GqBot.js} +1 -1
- package/dist/component/{radio-button-module-classes-CokNolqR.js → radio-button-module-classes-BEFH9dYx.js} +3 -3
- package/dist/component/{radio-group-field-rac-DiaR7RdY.js → radio-group-field-rac-D306MV8M.js} +4 -4
- package/dist/component/{radio-group-rac-FdQp_E1O.js → radio-group-rac-BBXf4sUC.js} +1 -1
- package/dist/component/{rating-input-field-rac-DbyB_Esi.js → rating-input-field-rac-CmdfvIwe.js} +4 -4
- package/dist/component/{rating-input-rac-D4C1bB-A.js → rating-input-rac-qEzE8Cfn.js} +1 -1
- package/dist/component/{rich-content-rac.module-CDtZ3pmh.js → rich-content-rac.module-DQehNlZs.js} +1 -1
- package/dist/component/{rich-text-field-rac-CYqdqamx.js → rich-text-field-rac-DdrwnOCw.js} +2 -2
- package/dist/component/{rich-text-rac-CDzSg_7O.js → rich-text-rac-Borne4AS.js} +1 -1
- package/dist/component/{service-dropdown-rac-rdwYVwGB.js → service-dropdown-rac-X8o6CdQN.js} +5 -5
- package/dist/component/{services-multi-choice-rac-DOO6HYgT.js → services-multi-choice-rac-CSSpMeF6.js} +5 -5
- package/dist/component/{signature-rac-CBh4_hf-.js → signature-rac-CQjh5yhj.js} +4 -4
- package/dist/component/{submit-button-rac-B8ZNvJjY.js → submit-button-rac-Cqr19tEe.js} +2 -2
- package/dist/component/{tags-field-rac-D5THw-TO.js → tags-field-rac-CZk0JVp2.js} +5 -5
- package/dist/component/{tags-rac-C8wN2xTn.js → tags-rac-81GiW9Gk.js} +1 -1
- package/dist/component/{text-area-field-rac-D3GB6Wrq.js → text-area-field-rac-dAU0uni_.js} +4 -4
- package/dist/component/{text-area-rac-CCTd5x7u.js → text-area-rac-bI1leJhM.js} +1 -1
- package/dist/component/{text-input-field-rac-emy5LgNs.js → text-input-field-rac-fghTXZQD.js} +3 -3
- package/dist/component/{text-input-headless-BIgsm4yN.js → text-input-headless-Cj6oVNcr.js} +3 -3
- package/dist/component/{text-input-rac-BFRe44DM.js → text-input-rac-CyYiyp8N.js} +1 -1
- package/dist/component/{time-input-rac-D6FsrMxb.js → time-input-rac-Dub-iiot.js} +4 -4
- package/dist/component/{url-input-field-rac-Dk9F61BD.js → url-input-field-rac-C7Nn--xk.js} +4 -4
- package/dist/component/{url-input-rac-C1pAmfj-.js → url-input-rac-Dp6j47Uq.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-DNvaYrmm.js → use-dropdown-option-class-name-C3lcgxqr.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-_gAS-eDg.js → use-dropdown-trigger-class-name-DWusXXCi.js} +2 -2
- package/dist/component/{use-element-state-class-name-CT3HIbmC.js → use-element-state-class-name-1oBaNXtu.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-DMVtzjju.js → use-hoverable-input-class-name-C3mtdo6O.js} +2 -2
- package/dist/component/{use-service-options-base-DMgeKnCC.js → use-service-options-base-DHpjXrGd.js} +1 -1
- package/dist/component/use-text-input-class-name-BXn7PNlp.js +6 -0
- package/dist/form.d.ts +1 -1
- package/package.json +2 -2
- package/dist/component/use-text-input-class-name-CO5G1Jx0.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-maUFPJM6.js";
|
|
4
|
+
import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-DQehNlZs.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 I from "classnames";
|
|
4
|
-
import { bj as b, bg as x, bl as P, bc as B, N as q, Y as U, I as w, K, G as V, u as Y, J as j, f } from "./form-
|
|
4
|
+
import { bj as b, bg as x, bl as P, bc as B, N as q, Y as U, I as w, K, G as V, u as Y, J as j, f } from "./form-maUFPJM6.js";
|
|
5
5
|
import { CheckboxGroup as z, CheckboxField as J, 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-DCEOZ-YZ.js";
|
|
8
|
+
import { D as X, E as Z } from "./field-error-headless-CxjXRFrW.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-1oBaNXtu.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), h = m(t, o.Error), M = H(() => 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-maUFPJM6.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-maUFPJM6.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-maUFPJM6.js";
|
|
2
|
+
import { a_ as Mn } from "./form-maUFPJM6.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-OUSMC6ZJ.js";
|
|
10
|
+
import { a as Sn } from "./date-availability-OUSMC6ZJ.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, N 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, N as z, Y as Q, O as ge, G as Z, u as ee } from "./form-maUFPJM6.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-DWusXXCi.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-CxjXRFrW.js";
|
|
11
|
+
import { L as de } from "./field-label-headless-DCEOZ-YZ.js";
|
|
12
|
+
import { e as zt, c as Qt, a as Zt, r as gt } from "./isObjectLike-CThwpoQB.js";
|
|
13
|
+
import { V as en, u as tn } from "./use-dropdown-option-class-name-C3lcgxqr.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-BXn7PNlp.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-BSGFZQh_.js → number-input-field-rac-CV63nd7z.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, N 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, N as J, Y as K, G as W, u as X } from "./form-maUFPJM6.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-CxjXRFrW.js";
|
|
8
|
+
import { L as ee } from "./field-label-headless-DCEOZ-YZ.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-BXn7PNlp.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), [T, I] = j(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 = G((N) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useState as h, 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, N as B, Y as V, G as v, u as P } from "./form-
|
|
4
|
+
import { bj as E, bg as I, bl as O, bt as A, N as B, Y as V, G as v, u as P } from "./form-maUFPJM6.js";
|
|
5
5
|
import { TextField as M, 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-CxjXRFrW.js";
|
|
8
|
+
import { L as H } from "./field-label-headless-DCEOZ-YZ.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-BXn7PNlp.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] = h(!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, N 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, N as X, Y as Z, G as ee, u as re } from "./form-maUFPJM6.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-CxjXRFrW.js";
|
|
8
|
+
import { L as ae } from "./field-label-headless-DCEOZ-YZ.js";
|
|
9
9
|
import { f as L, 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-BXn7PNlp.js";
|
|
15
15
|
function ie(e, t) {
|
|
16
16
|
return {
|
|
17
17
|
productId: e.id,
|
package/dist/component/{phone-input-field-rac-DLZysv_w.js → phone-input-field-rac-CTihyY5b.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, N as ge, Y as he, M as be, O as Oe, G as Ne, u as _e } 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, N as ge, Y as he, M as be, O as Oe, G as Ne, u as _e } from "./form-maUFPJM6.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-CxjXRFrW.js";
|
|
9
|
+
import { L as Me } from "./field-label-headless-DCEOZ-YZ.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-DWusXXCi.js";
|
|
13
|
+
import { V as Ue, u as Ve } from "./use-dropdown-option-class-name-C3lcgxqr.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-BXn7PNlp.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, N as te, Y as ne, P as ae, S as oe, R as re, M 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, N as te, Y as ne, P as ae, S as oe, R as re, M as se, G as le, u as ie, Q as ce } from "./form-maUFPJM6.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-DCEOZ-YZ.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-CxjXRFrW.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 Oe } from "./use-element-state-class-name-
|
|
17
|
+
import { u as Oe } from "./use-element-state-class-name-1oBaNXtu.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 { 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-maUFPJM6.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-CxjXRFrW.js";
|
|
6
|
+
import { L as M } from "./field-label-headless-DCEOZ-YZ.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-DiaR7RdY.js → radio-group-field-rac-D306MV8M.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-BEFH9dYx.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 { N as i, Y as E, T as p, U as O, G as R, u as _, V as I } from "./form-
|
|
7
|
+
import { N as i, Y as E, T as p, U as O, G as R, u as _, V as I } from "./form-maUFPJM6.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-1oBaNXtu.js";
|
|
10
|
+
import { u } from "./use-text-input-class-name-BXn7PNlp.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-DbyB_Esi.js → rating-input-field-rac-CmdfvIwe.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RicosViewer as N } from "@wix/ricos/viewer";
|
|
2
2
|
import u from "classnames";
|
|
3
3
|
import e, { useCallback as y, useState as O, useRef as A } from "react";
|
|
4
|
-
import { bj as I, bg as v, bt as T, N as H, Y as M, W as w, G as B, u as P, X as G } from "./form-
|
|
4
|
+
import { bj as I, bg as v, bt as T, N as H, Y as M, W as w, G as B, u as P, X as G } from "./form-maUFPJM6.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-CxjXRFrW.js";
|
|
8
|
+
import { L as Q } from "./field-label-headless-DCEOZ-YZ.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-1oBaNXtu.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 = y((D) => i(Number(D)), [
|
|
14
14
|
i
|
package/dist/component/{rich-content-rac.module-CDtZ3pmh.js → rich-content-rac.module-DQehNlZs.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-maUFPJM6.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-maUFPJM6.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-DQehNlZs.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-rdwYVwGB.js → service-dropdown-rac-X8o6CdQN.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, N 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, N as H, Y as U, O as k, G as q, u as B } from "./form-maUFPJM6.js";
|
|
5
|
+
import { u as W } from "./use-service-options-base-DHpjXrGd.js";
|
|
6
|
+
import { D as u } from "./dropdown-field-headless-Cfnoh3TT.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-C3lcgxqr.js";
|
|
12
|
+
import { u as z } from "./use-dropdown-trigger-class-name-DWusXXCi.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, N, Y as F, 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, N, Y as F, o as f, q as h, G as b, u as M, p as A } from "./form-maUFPJM6.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-DHpjXrGd.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-CDtZ_-0W.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-1oBaNXtu.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-BXn7PNlp.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, N 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, N 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-maUFPJM6.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-CxjXRFrW.js";
|
|
11
|
+
import { L as ut } from "./field-label-headless-DCEOZ-YZ.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-1oBaNXtu.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-maUFPJM6.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-1oBaNXtu.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, N 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, N as ee, Y as te, a6 as ne, G as oe, u as ae, a7 as re } from "./form-maUFPJM6.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-CxjXRFrW.js";
|
|
8
|
+
import { L as $ } from "./field-label-headless-DCEOZ-YZ.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-1oBaNXtu.js";
|
|
13
|
+
import { u as ce } from "./use-text-input-class-name-BXn7PNlp.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, N as g, Y as h, G as v, u as M } from "./form-
|
|
5
|
+
import { bj as p, bg as d, bl as x, N as g, Y as h, G as v, u as M } from "./form-maUFPJM6.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-CxjXRFrW.js";
|
|
8
|
+
import { L as k } from "./field-label-headless-DCEOZ-YZ.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-BXn7PNlp.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-emy5LgNs.js → text-input-field-rac-fghTXZQD.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-Cj6oVNcr.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 { N 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 { N as n, Y as c, G as E, u as i } from "./form-maUFPJM6.js";
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-BXn7PNlp.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-maUFPJM6.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-CxjXRFrW.js";
|
|
6
|
+
import { L as x } from "./field-label-headless-DCEOZ-YZ.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, N 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, N as G, Y as Q, G as Y, u as J } from "./form-maUFPJM6.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-CxjXRFrW.js";
|
|
9
|
+
import { L as X } from "./field-label-headless-DCEOZ-YZ.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-BXn7PNlp.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, N as B, Y as T, G as k, u as v } from "./form-
|
|
5
|
+
import { bj as d, bg as E, bl as g, N as B, Y as T, G as k, u as v } from "./form-maUFPJM6.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 q } from "./field-label-headless-
|
|
7
|
+
import { D as M, E as P } from "./field-error-headless-CxjXRFrW.js";
|
|
8
|
+
import { L as q } from "./field-label-headless-DCEOZ-YZ.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-BXn7PNlp.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();
|