@wix/form-elements 1.238.0 → 1.239.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-BWJ6gdmv.js → appointment-rac-Bm8rDoTG.js} +4 -4
- package/dist/component/{bookings-address-rac-DC38wiIY.js → bookings-address-rac-DU8OkeK5.js} +1 -1
- package/dist/component/{bookings-email-rac-DCnKjCj4.js → bookings-email-rac-CknyRCva.js} +1 -1
- package/dist/component/{bookings-first-name-rac-D1t0yXGM.js → bookings-first-name-rac-DU59YdGL.js} +1 -1
- package/dist/component/{bookings-header-rac-Cn9VOR0b.js → bookings-header-rac-Cp9jofKf.js} +1 -1
- package/dist/component/{bookings-last-name-rac-2scrrXnl.js → bookings-last-name-rac-icNxzYrt.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-CksyLxaO.js → bookings-login-bar-rac-C7q9ivGr.js} +1 -1
- package/dist/component/{bookings-phone-rac-CSqpZ54Q.js → bookings-phone-rac-DO6xouOx.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-B4l5RQy4.js → bookings-rich-text-rac-BlchtuQW.js} +1 -1
- package/dist/component/{checkbox-field-rac-Cq9nbvqw.js → checkbox-field-rac-DykQE4ex.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-CHg8nkeT.js → checkbox-group-field-headless-DEEfGA8I.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-DvzRvyn7.js → checkbox-group-field-rac-Dhj9rm6Q.js} +4 -4
- package/dist/component/{checkbox-group-rac-BdeLMTth.js → checkbox-group-rac-CpfowXJ1.js} +1 -1
- package/dist/component/{checkbox-rac-uPqC7L7p.js → checkbox-rac-BR4S6ifx.js} +1 -1
- package/dist/component/{contacts-address-rac-BHYTbvbp.js → contacts-address-rac-VJta12Vu.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-Djxnh3q5.js → contacts-birthdate-rac-8M-73m41.js} +1 -1
- package/dist/component/{contacts-company-rac-BHmqq9be.js → contacts-company-rac-DL9YQzZH.js} +1 -1
- package/dist/component/{contacts-email-rac-FFX0bu4f.js → contacts-email-rac-Cc3REWGd.js} +1 -1
- package/dist/component/{contacts-first-name-rac-Ja_EzDVI.js → contacts-first-name-rac--JpJgbEk.js} +1 -1
- package/dist/component/{contacts-last-name-rac-DjAOU8iI.js → contacts-last-name-rac-CY5pia7A.js} +1 -1
- package/dist/component/{contacts-phone-rac-C112jdOa.js → contacts-phone-rac-CM3FGS_4.js} +1 -1
- package/dist/component/{contacts-position-rac-CSJRrip0.js → contacts-position-rac-D4Peii3n.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-DQYc3cJP.js → contacts-subscribe-rac-BJkc1FNK.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-BlTgDkRK.js → contacts-tax-id-rac-QhcqnnBB.js} +1 -1
- package/dist/component/{date-availability-BQe5STco.js → date-availability-BK0U1C5v.js} +1 -1
- package/dist/component/{date-input-field-rac-Cteayjhd.js → date-input-field-rac-Dz8j3H_P.js} +8 -8
- package/dist/component/{date-input-rac-ZHUi-QW_.js → date-input-rac-o0ootRXL.js} +1 -1
- package/dist/component/{date-picker-field-rac-P2JC8f2F.js → date-picker-field-rac-CWz0tsV1.js} +8 -8
- package/dist/component/{date-picker-rac-yojpzUxs.js → date-picker-rac-DNJWptj-.js} +1 -1
- package/dist/component/{date-time-input-field-rac-DM-P1SLU.js → date-time-input-field-rac-Bw32HIB2.js} +8 -8
- package/dist/component/{date-time-input-rac-CnreUYB_.js → date-time-input-rac-CAfM3cKC.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-C1gL5AP7.js → dext-checkbox-group-rac-DU61bMpN.js} +2 -2
- package/dist/component/{dext-checkbox-rac-Dr5qzz6B.js → dext-checkbox-rac-CMnEAlvV.js} +1 -1
- package/dist/component/{dext-date-picker-rac-CLm6fnhX.js → dext-date-picker-rac-CFZJvc4p.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-B5vVsJxL.js → dext-date-time-input-rac-D9uVYWdR.js} +1 -1
- package/dist/component/{dext-dropdown-rac-BC6cbUPi.js → dext-dropdown-rac-rnSAPrM7.js} +1 -1
- package/dist/component/{dext-email-rac-Cmn9mnNn.js → dext-email-rac-OjBTeg7J.js} +1 -1
- package/dist/component/{dext-number-input-rac-K6aBdPbg.js → dext-number-input-rac-BDHXmpsz.js} +1 -1
- package/dist/component/{dext-phone-rac-B_lOWd0H.js → dext-phone-rac-Dwqg2FSb.js} +1 -1
- package/dist/component/{dext-radio-group-rac-BFR1NWMK.js → dext-radio-group-rac-BdHFvP7g.js} +2 -2
- package/dist/component/{dext-rating-input-rac-B9XulkyI.js → dext-rating-input-rac-BxStM3Z6.js} +1 -1
- package/dist/component/{dext-tags-rac-8IoQgsRS.js → dext-tags-rac-By9ABifk.js} +2 -2
- package/dist/component/{dext-text-area-rac-CDl-wh1U.js → dext-text-area-rac-DUiklOQo.js} +1 -1
- package/dist/component/{dext-text-input-rac-DrbMluz8.js → dext-text-input-rac-CyxWpYGU.js} +1 -1
- package/dist/component/{dext-url-input-rac--66rXA62.js → dext-url-input-rac-w8R6U7u8.js} +1 -1
- package/dist/component/{dismiss-icon-DT5uzbJS.js → dismiss-icon-4SdtTtrF.js} +1 -1
- package/dist/component/{donation-rac-BphB1fQ4.js → donation-rac-mhC_41a7.js} +5 -5
- package/dist/component/{dropdown-field-rac-CerrHiwz.js → dropdown-field-rac-nCvgQtwV.js} +3 -3
- package/dist/component/{dropdown-rac-B4fNFVXT.js → dropdown-rac-BN3E1a2F.js} +1 -1
- package/dist/component/{ecom-address-rac-DCXoDvn5.js → ecom-address-rac-BvZ5fKwq.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-JUWTWTVJ.js → ecom-subscription-checkbox-rac-B21kn8WX.js} +2 -2
- package/dist/component/{email-input-field-rac-xpGkHKT5.js → email-input-field-rac-BAZfDhzT.js} +3 -3
- package/dist/component/{events-repeater-rac-B6jTQ6np.js → events-repeater-rac-MrnfHupV.js} +4 -4
- package/dist/component/{events-rsvp-rac-Dmo978qu.js → events-rsvp-rac-BSeWX1Lx.js} +3 -3
- package/dist/component/{field-error-headless-DehQ8zjT.js → field-error-headless-Ek4POGu5.js} +1 -1
- package/dist/component/{field-label-headless-DLfZL8On.js → field-label-headless-DrZeUGw3.js} +1 -1
- package/dist/component/{file-upload-rac-MHzqESqh.js → file-upload-rac-BgHsS7Ze.js} +4 -4
- package/dist/component/{fixed-payment-rac-ZRBSCwt8.js → fixed-payment-rac-DOYG4dHG.js} +3 -3
- package/dist/component/{form-CPouer_u.js → form-DnkQAGFK.js} +82 -82
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-B6t0qbpI.js → header-field-rac-BkCSVoMt.js} +2 -2
- package/dist/component/{header-rac-DnRgJAZy.js → header-rac-DrxFuzRm.js} +1 -1
- package/dist/component/{image-choice-rac-BwG-t7Nc.js → image-choice-rac-BW4I446V.js} +4 -4
- package/dist/component/{index-CjlW7Zjf.js → index-BoA1-4AG.js} +2 -2
- package/dist/component/{index-DUGFrsNd.js → index-CffZGLlY.js} +4 -4
- package/dist/component/{isObjectLike-Br24Ij_K.js → isObjectLike-Bz7iKiVE.js} +1 -1
- package/dist/component/{messages_de-BblI6nNP.js → messages_de-S0rBxAIU.js} +1 -1
- package/dist/component/{messages_el-Bn-N2ylb.js → messages_el-CMI_nPL7.js} +1 -1
- package/dist/component/{messages_fr-DwsdsKNJ.js → messages_fr-CheAamQq.js} +1 -1
- package/dist/component/{messages_hr-Cg6bfHop.js → messages_hr-E_aOZLMp.js} +1 -1
- package/dist/component/{messages_hu-DlaM-wMA.js → messages_hu-B2dkjZ1e.js} +1 -1
- package/dist/component/{messages_it-Cd9TDhM_.js → messages_it-BsPU-f6V.js} +1 -1
- package/dist/component/{messages_ko-CXsE6Y5X.js → messages_ko-BeTBMjB8.js} +2 -2
- package/dist/component/{messages_lt-D2_5jBX-.js → messages_lt-D5b93e1_.js} +1 -1
- package/dist/component/{messages_nl--wTlsfUh.js → messages_nl-7-vnYSr_.js} +1 -1
- package/dist/component/{messages_no-C0t05F50.js → messages_no-BgFqH2jP.js} +1 -1
- package/dist/component/{messages_pt-CfE28POg.js → messages_pt-DL0XLwt6.js} +1 -1
- package/dist/component/{messages_ru-Cjgw9gK2.js → messages_ru-NQEwxnBj.js} +1 -1
- package/dist/component/{messages_zh-Dy3Cx4WX.js → messages_zh-Cjp8A8Tu.js} +1 -1
- package/dist/component/{multiline-address-field-rac-DzLHfCem.js → multiline-address-field-rac-BqJCbVps.js} +8 -8
- package/dist/component/{multiline-address-rac-CPEFf05i.js → multiline-address-rac-BmH-FA_w.js} +1 -1
- package/dist/component/{number-input-field-rac-6ugZX_CH.js → number-input-field-rac-BZAEJpnZ.js} +4 -4
- package/dist/component/{number-input-rac-DcfhWxmg.js → number-input-rac-BNnuE4_U.js} +1 -1
- package/dist/component/{password-rac-CmiVjoow.js → password-rac-CdouGooI.js} +4 -4
- package/dist/component/{payment-input-rac-B9_og2dP.js → payment-input-rac-CJpi9gN5.js} +4 -4
- package/dist/component/{phone-input-field-rac-Bvv0itxo.js → phone-input-field-rac-CrlJJbEi.js} +7 -7
- package/dist/component/{phone-rac-D1UkVbok.js → phone-rac-DUhwmZCm.js} +1 -1
- package/dist/component/{product-list-rac-CuZCLh_z.js → product-list-rac-BOiMnJzz.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-BmtqZz7O.js → quiz-radio-group-rac-BhUdkWjK.js} +1 -1
- package/dist/component/{radio-button-module-classes-Bu23Xh_t.js → radio-button-module-classes-C3bv24a7.js} +3 -3
- package/dist/component/{radio-group-field-rac-CQaaCW--.js → radio-group-field-rac-DaBu-Y0t.js} +4 -4
- package/dist/component/{radio-group-rac-DAdpTRbK.js → radio-group-rac-BfogPsFM.js} +1 -1
- package/dist/component/{rating-input-field-rac-Ct4w0-Ke.js → rating-input-field-rac-DMb9Gx38.js} +4 -4
- package/dist/component/{rating-input-rac-R4RiHVZh.js → rating-input-rac-BSWe-su7.js} +1 -1
- package/dist/component/{rich-content-rac.module-CVaXRCd-.js → rich-content-rac.module-BTwxU9GT.js} +1 -1
- package/dist/component/{rich-text-field-rac-BGoAbpt6.js → rich-text-field-rac-ColJr0G-.js} +2 -2
- package/dist/component/{rich-text-rac-DlP9RozQ.js → rich-text-rac-Bl8NdFB3.js} +1 -1
- package/dist/component/{service-dropdown-rac-BPAetZSp.js → service-dropdown-rac-BRJGGTwv.js} +4 -4
- package/dist/component/{services-multi-choice-rac-3gYSKX3U.js → services-multi-choice-rac-ChQYyeIQ.js} +5 -5
- package/dist/component/{signature-rac-0uCGkGgI.js → signature-rac-C_u7kXY2.js} +4 -4
- package/dist/component/{submit-button-rac-QXngCws2.js → submit-button-rac-PiSBi7Db.js} +2 -2
- package/dist/component/{tags-field-rac-CSgmZEyD.js → tags-field-rac-DW_tFzve.js} +5 -5
- package/dist/component/{tags-rac-D5bgMDDd.js → tags-rac-ND1_w18c.js} +1 -1
- package/dist/component/{text-area-field-rac-oLKWW2nt.js → text-area-field-rac-BT5kn2_p.js} +4 -4
- package/dist/component/{text-area-rac-CW3XAEqf.js → text-area-rac-RTfL5OYW.js} +1 -1
- package/dist/component/{text-input-field-rac-DzJs91zt.js → text-input-field-rac-B6aqpQqL.js} +3 -3
- package/dist/component/{text-input-headless-C9T9VawC.js → text-input-headless-BiYydJnd.js} +3 -3
- package/dist/component/{text-input-rac-kglo-UFm.js → text-input-rac-B_ktWIA7.js} +1 -1
- package/dist/component/{time-input-rac-igAdJ5wF.js → time-input-rac-vNgNQgNN.js} +6 -6
- package/dist/component/{url-input-field-rac-BiaSV8JZ.js → url-input-field-rac-BYRoYHR6.js} +4 -4
- package/dist/component/{url-input-rac-D9PM0_dp.js → url-input-rac-9AVzPoc5.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-CZLyYyXs.js → use-dropdown-option-class-name-DAiT5uNc.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-B9PmZ4CP.js → use-dropdown-trigger-class-name-aUb_sgFq.js} +7 -7
- package/dist/component/{use-element-state-class-name-BWqYlb5U.js → use-element-state-class-name-4Q4mzmq7.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-C714sKdA.js → use-hoverable-input-class-name-B3TQVTv2.js} +2 -2
- package/dist/component/{use-is-forced-open-dropdown-urQN6TE-.js → use-is-forced-open-dropdown-BqAHpu-1.js} +1 -1
- package/dist/component/{use-native-mobile-input-DfF3XqUA.js → use-native-mobile-input-Bq_rDwKS.js} +1 -1
- package/dist/component/{use-service-options-base-DJsblz66.js → use-service-options-base-Dfmr-7Ha.js} +1 -1
- package/dist/component/use-text-input-class-name-D7autJGB.js +6 -0
- package/package.json +2 -2
- package/dist/component/use-text-input-class-name-CbywEFYw.js +0 -6
|
@@ -283,7 +283,7 @@ const e = {
|
|
|
283
283
|
"date-picker.a11y.arrow-right": "К следующему месяцу",
|
|
284
284
|
"input.error.message.incomplete-date-error.time": "Введите время.",
|
|
285
285
|
"field.signature.canvas.aria-label.signed": "Область прорисовки подписи (подписана)",
|
|
286
|
-
"field.a11y.cleared-announcement": "Поле {fieldLabel} очищено.",
|
|
286
|
+
"field.a11y.cleared-announcement": "Поле «{fieldLabel}» очищено.",
|
|
287
287
|
"settings.default-value-conflict.regex-error": "The regex must be viable for the entered default value. Update the regex or change the text.",
|
|
288
288
|
"contacts-phone.input.error.message.format-error": "Укажите действительный номер телефона.",
|
|
289
289
|
"tags.input.error.message.required-error": "Выберите вариант.",
|
|
@@ -283,7 +283,7 @@ const e = {
|
|
|
283
283
|
"date-picker.a11y.arrow-right": "前往下個月",
|
|
284
284
|
"input.error.message.incomplete-date-error.time": "請輸入時間。",
|
|
285
285
|
"field.signature.canvas.aria-label.signed": "簽名繪畫區域(已簽署)",
|
|
286
|
-
"field.a11y.cleared-announcement": "{fieldLabel}
|
|
286
|
+
"field.a11y.cleared-announcement": "{fieldLabel} 已清除內容。",
|
|
287
287
|
"settings.default-value-conflict.regex-error": "The regex must be viable for the entered default value. Update the regex or change the text.",
|
|
288
288
|
"contacts-phone.input.error.message.format-error": "請輸入有效電話號碼。",
|
|
289
289
|
"tags.input.error.message.required-error": "請選擇一個選項。",
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { RicosViewer as ee } from "@wix/ricos/viewer";
|
|
2
2
|
import L from "classnames";
|
|
3
3
|
import n, { useMemo as x, createContext as je, useContext as ye, useState as fe, useRef as B, useCallback as A, useEffect as we } from "react";
|
|
4
|
-
import { bI as Je, d as Xe, bD as Wt, bF as gt, bf as Yt, bg as Ht, b8 as jt, be as X, F as z, bY as Me, bv as Et, bN as _, bK as P, bP as G, bW as Ce, bJ as Dt, bk as Jt, C as Se, bt as Xt, bx as Qt, bU as zt, bO as Gt, bT as Zt, bB as en, bA as tn, bp as nn, bz as rn, bQ as on, aP as sn, Y as an, _ as te, am as ne, $ as Oe, M as re, I as oe, Z as bt, a0 as ln, a1 as cn } from "./form-
|
|
4
|
+
import { bI as Je, d as Xe, bD as Wt, bF as gt, bf as Yt, bg as Ht, b8 as jt, be as X, F as z, bY as Me, bv as Et, bN as _, bK as P, bP as G, bW as Ce, bJ as Dt, bk as Jt, C as Se, bt as Xt, bx as Qt, bU as zt, bO as Gt, bT as Zt, bB as en, bA as tn, bp as nn, bz as rn, bQ as on, aP as sn, Y as an, _ as te, am as ne, $ as Oe, M as re, I as oe, Z as bt, a0 as ln, a1 as cn } from "./form-DnkQAGFK.js";
|
|
5
5
|
import { mergeProps as ht, UNSAFE_PortalProvider as dn } from "react-aria";
|
|
6
6
|
import { f as b, a as h } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import { F as un, V as mn } from "./headless-styles-CmcyA_pi.js";
|
|
8
|
-
import { c as pn } from "./use-is-forced-open-dropdown-
|
|
8
|
+
import { c as pn } from "./use-is-forced-open-dropdown-BqAHpu-1.js";
|
|
9
9
|
import { TextField as Ie, Input as de, ComboBoxStateContext as Be, ComboBox as he, Popover as Fe, ListBox as qe, ListBoxItem as Ae, Group as Ft, Button as At } from "react-aria-components";
|
|
10
|
-
import { D as ue, E as me } from "./field-error-headless-
|
|
11
|
-
import { L as pe } from "./field-label-headless-
|
|
12
|
-
import { e as En, c as bn, a as fn, r as _t } from "./isObjectLike-
|
|
13
|
-
import { u as Rt, N as Pt } from "./use-native-mobile-input-
|
|
10
|
+
import { D as ue, E as me } from "./field-error-headless-Ek4POGu5.js";
|
|
11
|
+
import { L as pe } from "./field-label-headless-DrZeUGw3.js";
|
|
12
|
+
import { e as En, c as bn, a as fn, r as _t } from "./isObjectLike-Bz7iKiVE.js";
|
|
13
|
+
import { u as Rt, N as Pt } from "./use-native-mobile-input-Bq_rDwKS.js";
|
|
14
14
|
import { N as Tt } from "./native-select-BbxBpe3S.js";
|
|
15
15
|
import { u as wt } from "./use-native-state-class-name-B0m2ghbS.js";
|
|
16
|
-
import { V as yn, a as Cn } from "./use-dropdown-option-class-name-
|
|
16
|
+
import { V as yn, a as Cn } from "./use-dropdown-option-class-name-DAiT5uNc.js";
|
|
17
17
|
import { u as In } from "./use-invoke-callback-UH73A_J3.js";
|
|
18
18
|
import { C as Pe } from "./chevron-down-icon-CcpVm6B-.js";
|
|
19
19
|
import { E as se } from "./error-icon-hZxQ6DEy.js";
|
|
20
20
|
import { H as xe } from "./custom-focus-class-_483Pkwp.js";
|
|
21
21
|
import { s as I } from "./field-rac.module-D0QzJXUv.js";
|
|
22
|
-
import { u as ke } from "./use-hoverable-input-class-name-
|
|
22
|
+
import { u as ke } from "./use-hoverable-input-class-name-B3TQVTv2.js";
|
|
23
23
|
const Nn = (e, t, r) => {
|
|
24
24
|
var s, a, i, l;
|
|
25
25
|
const o = (s = e.steps) == null ? void 0 : s.map((u) => {
|
package/dist/component/{number-input-field-rac-6ugZX_CH.js → number-input-field-rac-BZAEJpnZ.js}
RENAMED
|
@@ -2,15 +2,15 @@ import { RicosViewer as U } from "@wix/ricos/viewer";
|
|
|
2
2
|
import d from "classnames";
|
|
3
3
|
import t, { useState as W, useCallback as X, useEffect as Y, useRef as $ } from "react";
|
|
4
4
|
import { NumberField as j, Input as v } from "react-aria-components";
|
|
5
|
-
import { bN as _, bK as S, bY as z, bP as G, bW as H, X as J, am as Z, M as w, I as ee } from "./form-
|
|
5
|
+
import { bN as _, bK as S, bY as z, bP as G, bW as H, X as J, am as Z, M as w, I as ee } from "./form-DnkQAGFK.js";
|
|
6
6
|
import { c as y, g as x } from "./numeric-input-utils-CuBMi4-a.js";
|
|
7
7
|
import { f as p } from "./find-child-C60k4CxG.js";
|
|
8
|
-
import { D as re, E as te } from "./field-error-headless-
|
|
9
|
-
import { L as ne } from "./field-label-headless-
|
|
8
|
+
import { D as re, E as te } from "./field-error-headless-Ek4POGu5.js";
|
|
9
|
+
import { L as ne } from "./field-label-headless-DrZeUGw3.js";
|
|
10
10
|
import { u as se } from "./use-invoke-callback-UH73A_J3.js";
|
|
11
11
|
import { E as ae } from "./error-icon-hZxQ6DEy.js";
|
|
12
12
|
import { s as b } from "./field-rac.module-D0QzJXUv.js";
|
|
13
|
-
import { u as me } from "./use-text-input-class-name-
|
|
13
|
+
import { u as me } from "./use-text-input-class-name-D7autJGB.js";
|
|
14
14
|
const le = (r, { validation: s }) => {
|
|
15
15
|
const a = y(r.value.trim());
|
|
16
16
|
if (a === void 0)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useState as S, useRef as x } from "react";
|
|
2
2
|
import { RicosViewer as O } from "@wix/ricos/viewer";
|
|
3
3
|
import d from "classnames";
|
|
4
|
-
import { bN as E, bK as I, bP as A, bW as B, bY as P, X as V, am as v, M, I as k } from "./form-
|
|
4
|
+
import { bN as E, bK as I, bP as A, bW as B, bY as P, X as V, am as v, M, I as k } from "./form-DnkQAGFK.js";
|
|
5
5
|
import { TextField as q, Group as U, Input as W, 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 H, E as K } from "./field-error-headless-
|
|
8
|
-
import { L as Z } from "./field-label-headless-
|
|
7
|
+
import { D as H, E as K } from "./field-error-headless-Ek4POGu5.js";
|
|
8
|
+
import { L as Z } from "./field-label-headless-DrZeUGw3.js";
|
|
9
9
|
import { E as G } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { H as Q } from "./custom-focus-class-_483Pkwp.js";
|
|
11
11
|
import { s as p } from "./field-rac.module-D0QzJXUv.js";
|
|
12
|
-
import { u as X } from "./use-text-input-class-name-
|
|
12
|
+
import { u as X } from "./use-text-input-class-name-D7autJGB.js";
|
|
13
13
|
const t = ({ children: o, className: r }) => {
|
|
14
14
|
const { id: l, value: s, onChange: c, disabled: n, readOnly: m, required: a, hasError: i, onBlur: f, onFocus: C, autoComplete: y, FieldLayout: _ } = E(), { labelId: R } = I(), [D, F] = S(!1), L = u(o, t.Label), T = u(o, t.Control), h = u(o, t.Description), w = u(o, t.Error);
|
|
15
15
|
return /* @__PURE__ */ e.createElement(_, {
|
|
@@ -2,16 +2,16 @@ import r, { useCallback as V, useRef as Q } from "react";
|
|
|
2
2
|
import { RicosViewer as X } from "@wix/ricos/viewer";
|
|
3
3
|
import p from "classnames";
|
|
4
4
|
import { TextField as Y, Group as j, Input as w } from "react-aria-components";
|
|
5
|
-
import { bN as R, bK as D, bF as M, bY as z, bP as J, X as W, am as Z, M as ee, I as re } from "./form-
|
|
5
|
+
import { bN as R, bK as D, bF as M, bY as z, bP as J, X as W, am as Z, M as ee, I as re } from "./form-DnkQAGFK.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-Ek4POGu5.js";
|
|
8
|
+
import { L as ae } from "./field-label-headless-DrZeUGw3.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-D0QzJXUv.js";
|
|
14
|
-
import { u as ie } from "./use-text-input-class-name-
|
|
14
|
+
import { u as ie } from "./use-text-input-class-name-D7autJGB.js";
|
|
15
15
|
function ue(e, t) {
|
|
16
16
|
return {
|
|
17
17
|
productId: e.id,
|
package/dist/component/{phone-input-field-rac-Bvv0itxo.js → phone-input-field-rac-CrlJJbEi.js}
RENAMED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { RicosViewer as ge } from "@wix/ricos/viewer";
|
|
2
2
|
import g from "classnames";
|
|
3
3
|
import n, { useMemo as M, useState as w, useRef as S, useEffect as k, useCallback as U, createContext as ae, useContext as j, useId as se } from "react";
|
|
4
|
-
import { bv as be, bY as L, bF as ce, bX as Ne, bN as F, bK as Q, bP as Oe, bW as _e, X as ve, am as Se, a3 as ne, M as Le, I as Ie, a5 as Pe, a4 as Fe, a2 as De } from "./form-
|
|
4
|
+
import { bv as be, bY as L, bF as ce, bX as Ne, bN as F, bK as Q, bP as Oe, bW as _e, X as ve, am as Se, a3 as ne, M as Le, I as Ie, a5 as Pe, a4 as Fe, a2 as De } from "./form-DnkQAGFK.js";
|
|
5
5
|
import { UNSAFE_PortalProvider as Be } from "react-aria";
|
|
6
6
|
import { VisuallyHidden as le, Dialog as ue, OverlayTriggerStateContext as Re, ModalOverlay as xe, Modal as Me, SearchField as we, Group as H, ListBoxItem as Te, DialogTrigger as $e, Select as Ae, Input as ie, Autocomplete as Ve } from "react-aria-components";
|
|
7
7
|
import de, { AsYouType as ke, isValidPhoneNumber as He, isSupportedCountry as qe } from "libphonenumber-js";
|
|
8
8
|
import "libphonenumber-js/metadata.min.json";
|
|
9
9
|
import { f as E, a as P } from "./find-child-C60k4CxG.js";
|
|
10
|
-
import { D as Ue, E as Ke } from "./field-error-headless-
|
|
11
|
-
import { L as Ye } from "./field-label-headless-
|
|
12
|
-
import { N as Ge, u as ze } from "./use-native-mobile-input-
|
|
10
|
+
import { D as Ue, E as Ke } from "./field-error-headless-Ek4POGu5.js";
|
|
11
|
+
import { L as Ye } from "./field-label-headless-DrZeUGw3.js";
|
|
12
|
+
import { N as Ge, u as ze } from "./use-native-mobile-input-Bq_rDwKS.js";
|
|
13
13
|
import { N as We } from "./native-select-BbxBpe3S.js";
|
|
14
14
|
import { N as Xe, S as Ze } from "./non-modal-popover-D-u13tmp.js";
|
|
15
15
|
import { u as je } from "./use-invoke-callback-UH73A_J3.js";
|
|
16
|
-
import { d as Qe } from "./use-is-forced-open-dropdown-
|
|
17
|
-
import { V as Je, a as et } from "./use-dropdown-option-class-name-
|
|
16
|
+
import { d as Qe } from "./use-is-forced-open-dropdown-BqAHpu-1.js";
|
|
17
|
+
import { V as Je, a as et } from "./use-dropdown-option-class-name-DAiT5uNc.js";
|
|
18
18
|
import { C as oe } from "./calling-country-codes-PyWuOTmF.js";
|
|
19
19
|
import { C as tt } from "./chevron-down-icon-CcpVm6B-.js";
|
|
20
20
|
import { E as nt } from "./error-icon-hZxQ6DEy.js";
|
|
21
21
|
import { H as z } from "./custom-focus-class-_483Pkwp.js";
|
|
22
22
|
import { s as O } from "./field-rac.module-D0QzJXUv.js";
|
|
23
|
-
import { u as re } from "./use-hoverable-input-class-name-
|
|
23
|
+
import { u as re } from "./use-hoverable-input-class-name-B3TQVTv2.js";
|
|
24
24
|
function X(e) {
|
|
25
25
|
const t = e ? de(e) : void 0, r = t == null ? void 0 : t.country;
|
|
26
26
|
if (r)
|
|
@@ -2,11 +2,11 @@ import t, { useMemo as H, useCallback as v, useRef as x } from "react";
|
|
|
2
2
|
import { RicosViewer as $ } from "@wix/ricos/viewer";
|
|
3
3
|
import y from "classnames";
|
|
4
4
|
import { CheckboxField as z, CheckboxButton as X, NumberField as Y, Group as j, Button as Q, Input as J } from "react-aria-components";
|
|
5
|
-
import { bN as U, bK as W, bF as V, bY as Z, bP as ee, X as te, am as ne, a6 as ae, a7 as oe, aa as re, a9 as le, ab as se, M as ie, I as ce, a8 as ue } from "./form-
|
|
5
|
+
import { bN as U, bK as W, bF as V, bY as Z, bP as ee, X as te, am as ne, a6 as ae, a7 as oe, aa as re, a9 as le, ab as se, M as ie, I as ce, a8 as ue } from "./form-DnkQAGFK.js";
|
|
6
6
|
import { f, a as b } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { L as me, g as pe } from "./field-label-headless-
|
|
7
|
+
import { L as me, g as pe } from "./field-label-headless-DrZeUGw3.js";
|
|
8
8
|
import { f as de } from "./format-currency-BwShJ9vM.js";
|
|
9
|
-
import { D as Ee, E as _e } from "./field-error-headless-
|
|
9
|
+
import { D as Ee, E as _e } from "./field-error-headless-Ek4POGu5.js";
|
|
10
10
|
import { F as ye } from "./fieldset-headless-CD3fds9J.js";
|
|
11
11
|
import { g as Ie } from "./payment-field-utils-DobiK5Xh.js";
|
|
12
12
|
import { S as be } from "./selection-indicator-XQ8MYHUQ.js";
|
|
@@ -14,7 +14,7 @@ import { E as fe } from "./error-icon-hZxQ6DEy.js";
|
|
|
14
14
|
import { C as Le } from "./checkbox-indicator-module-classes-Cozvs_kk.js";
|
|
15
15
|
import { s as A } from "./field-rac.module-D0QzJXUv.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-4Q4mzmq7.js";
|
|
18
18
|
var Ce = /* @__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 l, { useRef as D, useEffect as V, useState as A, useCallback as H } from "react";
|
|
2
2
|
import { RadioGroup as w, RadioField as q, RadioButton as G, TextField as $, Input as x } from "react-aria-components";
|
|
3
|
-
import { bN as R, bK as K, bW as U, bY as P, bP as M } from "./form-
|
|
3
|
+
import { bN as R, bK as K, bW as U, bY as P, bP as M } from "./form-DnkQAGFK.js";
|
|
4
4
|
import { f as d, a as L } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as W, E as Y } from "./field-error-headless-
|
|
6
|
-
import { L as j } from "./field-label-headless-
|
|
5
|
+
import { D as W, E as Y } from "./field-error-headless-Ek4POGu5.js";
|
|
6
|
+
import { L as j } from "./field-label-headless-DrZeUGw3.js";
|
|
7
7
|
import { S as z } from "./selection-indicator-XQ8MYHUQ.js";
|
|
8
8
|
const C = "Other", J = (e, t) => e == null ? void 0 : e.find((a) => (a.value ?? a.label) === t), T = (e, t) => !!t && !J(e, t), Q = (e, t) => {
|
|
9
9
|
const r = t ? t.length + 2 : 0;
|
package/dist/component/{radio-group-field-rac-CQaaCW--.js → radio-group-field-rac-DaBu-Y0t.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-C3bv24a7.js";
|
|
5
5
|
import { E as c } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as r } from "./field-rac.module-D0QzJXUv.js";
|
|
7
|
-
import { X as i, am as E, ac as p, ad as O, M as R, I as _, ae as I } from "./form-
|
|
7
|
+
import { X as i, am as E, ac as p, ad as O, M as R, I as _, ae as I } from "./form-DnkQAGFK.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-4Q4mzmq7.js";
|
|
10
|
+
import { u } from "./use-text-input-class-name-D7autJGB.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-Ct4w0-Ke.js → rating-input-field-rac-DMb9Gx38.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RicosViewer as N } from "@wix/ricos/viewer";
|
|
2
2
|
import p from "classnames";
|
|
3
3
|
import e, { useCallback as O, useState as A, useRef as M } from "react";
|
|
4
|
-
import { bN as F, bK as y, bW as T, bP as H, bY as P, X as w, am as B, af as q, M as k, I as G, ag as x } from "./form-
|
|
4
|
+
import { bN as F, bK as y, bW as T, bP as H, bY as P, X as w, am as B, af as q, M as k, I as G, ag as x } from "./form-DnkQAGFK.js";
|
|
5
5
|
import { RadioGroup as K, RadioField as U, RadioButton as z } from "react-aria-components";
|
|
6
6
|
import { f as g, a as Q } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as W, E as X } from "./field-error-headless-
|
|
8
|
-
import { L as Y } from "./field-label-headless-
|
|
7
|
+
import { D as W, E as X } from "./field-error-headless-Ek4POGu5.js";
|
|
8
|
+
import { L as Y } from "./field-label-headless-DrZeUGw3.js";
|
|
9
9
|
import { E as Z } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as R } from "./field-rac.module-D0QzJXUv.js";
|
|
11
|
-
import { u as j } from "./use-element-state-class-name-
|
|
11
|
+
import { u as j } from "./use-element-state-class-name-4Q4mzmq7.js";
|
|
12
12
|
const t = ({ children: a }) => {
|
|
13
13
|
const { id: n, value: s, onChange: d, disabled: l, readOnly: m, required: u, hasError: i, onBlur: o, onFocus: f, FieldLayout: E } = F(), { labelId: L, ariaDescribedBy: S } = y(), b = O((D) => d(Number(D)), [
|
|
14
14
|
d
|
package/dist/component/{rich-content-rac.module-CVaXRCd-.js → rich-content-rac.module-BTwxU9GT.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { useState as u } from "react";
|
|
2
|
-
import { bN as a, bF as i, bY as T } from "./form-
|
|
2
|
+
import { bN as a, bF as i, bY as T } from "./form-DnkQAGFK.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 { bN as m, aY as i, aG as u, bn as R, bq 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 { bN as m, aY as i, aG as u, bn as R, bq as T } from "./form-DnkQAGFK.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-BTwxU9GT.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-BPAetZSp.js → service-dropdown-rac-BRJGGTwv.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import t, { useRef as b, useMemo as _, useCallback as C, useEffect as P } from "react";
|
|
2
2
|
import { RicosViewer as A } from "@wix/ricos/viewer";
|
|
3
3
|
import d from "classnames";
|
|
4
|
-
import { bJ as M, bY as y, F as V, bN as x, bF as H, aN as U, X as W, am as k, J as q, M as B, I as J } from "./form-
|
|
5
|
-
import { u as Y } from "./use-service-options-base-
|
|
6
|
-
import { D as m, u as v } from "./use-dropdown-trigger-class-name-
|
|
4
|
+
import { bJ as M, bY as y, F as V, bN as x, bF as H, aN as U, X as W, am as k, J as q, M as B, I as J } from "./form-DnkQAGFK.js";
|
|
5
|
+
import { u as Y } from "./use-service-options-base-Dfmr-7Ha.js";
|
|
6
|
+
import { D as m, u as v } from "./use-dropdown-trigger-class-name-aUb_sgFq.js";
|
|
7
7
|
import { C as L } from "./chevron-down-icon-CcpVm6B-.js";
|
|
8
8
|
import { E as Q } from "./error-icon-hZxQ6DEy.js";
|
|
9
9
|
import { H as X } from "./custom-focus-class-_483Pkwp.js";
|
|
10
10
|
import { s as n } from "./field-rac.module-D0QzJXUv.js";
|
|
11
|
-
import { u as j } from "./use-dropdown-option-class-name-
|
|
11
|
+
import { u as j } from "./use-dropdown-option-class-name-DAiT5uNc.js";
|
|
12
12
|
const z = "00000000-0000-0000-0000-000000000000", G = (e) => {
|
|
13
13
|
const { actions: r } = M(), { t: E } = y(), { addOther: a, addOtherLabel: O } = e, c = O || E("add-other.default-other-option-label"), i = b(!0), p = _(() => {
|
|
14
14
|
var s;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import e, { useEffect as I, useMemo as L } from "react";
|
|
2
2
|
import { RicosViewer as S } from "@wix/ricos/viewer";
|
|
3
3
|
import a from "classnames";
|
|
4
|
-
import { F as R, bN as d, aN as N, X as D, am as F, p as f, r as h, M as b, I as M, q 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, bN as d, aN as N, X as D, am as F, p as f, r as h, M as b, I as M, q as A } from "./form-DnkQAGFK.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-Dfmr-7Ha.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-DEEfGA8I.js";
|
|
7
7
|
import { E as x } from "./error-icon-hZxQ6DEy.js";
|
|
8
8
|
import { C as P } from "./checkbox-indicator-module-classes-Cozvs_kk.js";
|
|
9
9
|
import { s as n } from "./field-rac.module-D0QzJXUv.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-4Q4mzmq7.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-D7autJGB.js";
|
|
13
13
|
const y = (s) => {
|
|
14
14
|
var C;
|
|
15
15
|
const { isLoading: o, options: r, isEmpty: l, shouldRender: E, setOptions: c, setIsEmpty: m, setHasInitialDataLoaded: p } = v({
|
|
@@ -2,17 +2,17 @@ import r, { useRef as $, useContext as Se, useMemo as he, useCallback as y, useS
|
|
|
2
2
|
import Fe from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import { RicosViewer as we } from "@wix/ricos/viewer";
|
|
4
4
|
import F from "classnames";
|
|
5
|
-
import { be as xe, bH as Le, aR as Ue, F as Be, bJ as Oe, bF as Pe, bV as Te, E as me, aH as oe, bN as x, bK as W, bP as Ce, bY as Me, bG as He, X as We, am as Ye, an as Ge, ao as Ze, b as ke, au as Ve, av as pe, M as $e, I as ze, ap as Xe, as as qe, aq as je, at as Je, f as ne, ar as Ke } from "./form-
|
|
5
|
+
import { be as xe, bH as Le, aR as Ue, F as Be, bJ as Oe, bF as Pe, bV as Te, E as me, aH as oe, bN as x, bK as W, bP as Ce, bY as Me, bG as He, X as We, am as Ye, an as Ge, ao as Ze, b as ke, au as Ve, av as pe, M as $e, I as ze, ap as Xe, as as qe, aq as je, at as Je, f as ne, ar as Ke } from "./form-DnkQAGFK.js";
|
|
6
6
|
import { useHover as Qe, useFocusRing as et, mergeProps as tt } from "react-aria";
|
|
7
7
|
import { RadioGroup as nt, Button as Ie, TextField as at, DropZone as ot, Input as st, FileTrigger as rt, RadioField as lt, RadioButton as it } from "react-aria-components";
|
|
8
8
|
import _e from "signature_pad";
|
|
9
9
|
import { f as I, a as N } from "./find-child-C60k4CxG.js";
|
|
10
|
-
import { D as ct, E as ut } from "./field-error-headless-
|
|
11
|
-
import { L as dt } from "./field-label-headless-
|
|
10
|
+
import { D as ct, E as ut } from "./field-error-headless-Ek4POGu5.js";
|
|
11
|
+
import { L as dt } from "./field-label-headless-DrZeUGw3.js";
|
|
12
12
|
import { D as mt } from "./data-hooks-Dkw1pbRj.js";
|
|
13
13
|
import { E as pt } from "./error-icon-hZxQ6DEy.js";
|
|
14
14
|
import { s as ae } from "./field-rac.module-D0QzJXUv.js";
|
|
15
|
-
import { u as X } from "./use-element-state-class-name-
|
|
15
|
+
import { u as X } from "./use-element-state-class-name-4Q4mzmq7.js";
|
|
16
16
|
const ft = typeof r.useId == "function" ? r.useId : () => $(xe()).current, Et = ({ properties: e }) => e.uploadEnabled === !0, gt = (e, t) => e.fieldType === Be.SIGNATURE && !e.properties.hidden && !e.properties.disabled && !e.properties.readOnly && (t !== "upload" || Et(e)), ht = (e, t) => e.layout.row - t.layout.row || e.layout.column - t.layout.column, bt = (e) => {
|
|
17
17
|
var o;
|
|
18
18
|
const t = (o = Le().signature) == null ? void 0 : o.signatureMode, a = Se(Ue);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import t, { useRef as X, useCallback as y } from "react";
|
|
2
2
|
import J from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import p from "classnames";
|
|
4
|
-
import { bN as B, bH as K, aF as $, aE as j, aC as q, aB as z, aK as G, aJ as Q, aD as Y, b as Z, aA as tt, aI as et } from "./form-
|
|
4
|
+
import { bN as B, bH as K, aF as $, aE as j, aC as q, aB as z, aK as G, aJ as Q, aD as Y, b as Z, aA as tt, aI as et } from "./form-DnkQAGFK.js";
|
|
5
5
|
import { ProgressBar as nt, Button as R } from "react-aria-components";
|
|
6
6
|
import { f as l } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { u as x } from "./use-element-state-class-name-
|
|
7
|
+
import { u as x } from "./use-element-state-class-name-4Q4mzmq7.js";
|
|
8
8
|
function ot(e) {
|
|
9
9
|
const s = "calc(50% - 2px)";
|
|
10
10
|
return /* @__PURE__ */ t.createElement(nt, {
|
|
@@ -2,15 +2,15 @@ import { RicosViewer as Q } from "@wix/ricos/viewer";
|
|
|
2
2
|
import F from "classnames";
|
|
3
3
|
import t, { useRef as S, useMemo as I, useState as X, useLayoutEffect as Y, useCallback as x } from "react";
|
|
4
4
|
import { CheckboxGroup as w, TextField as z, Input as B, CheckboxField as J, CheckboxButton as Z } from "react-aria-components";
|
|
5
|
-
import { bN as y, bK as M, bW as U, bY as T, bP as ee, X as te, am as oe, ax as ne, M as ae, I as se, ay as re } from "./form-
|
|
5
|
+
import { bN as y, bK as M, bW as U, bY as T, bP as ee, X as te, am as oe, ax as ne, M as ae, I as se, ay as re } from "./form-DnkQAGFK.js";
|
|
6
6
|
import { f, a as W } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { E as k, D as H } from "./field-error-headless-
|
|
8
|
-
import { L as P } from "./field-label-headless-
|
|
7
|
+
import { E as k, D as H } from "./field-error-headless-Ek4POGu5.js";
|
|
8
|
+
import { L as P } from "./field-label-headless-DrZeUGw3.js";
|
|
9
9
|
import { F as le } from "./fieldset-headless-CD3fds9J.js";
|
|
10
10
|
import { E as ie } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as D } from "./field-rac.module-D0QzJXUv.js";
|
|
12
|
-
import { u as ce } from "./use-element-state-class-name-
|
|
13
|
-
import { u as ue } from "./use-text-input-class-name-
|
|
12
|
+
import { u as ce } from "./use-element-state-class-name-4Q4mzmq7.js";
|
|
13
|
+
import { u as ue } from "./use-text-input-class-name-D7autJGB.js";
|
|
14
14
|
var de = /* @__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 S, useRef as T } from "react";
|
|
4
4
|
import { TextField as y, TextArea as O } from "react-aria-components";
|
|
5
|
-
import { bN as p, bK as d, bP as x, bW as h, X as g, am as v, M, I as q } from "./form-
|
|
5
|
+
import { bN as p, bK as d, bP as x, bW as h, X as g, am as v, M, I as q } from "./form-DnkQAGFK.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as B, E as P } from "./field-error-headless-
|
|
8
|
-
import { L as V } from "./field-label-headless-
|
|
7
|
+
import { D as B, E as P } from "./field-error-headless-Ek4POGu5.js";
|
|
8
|
+
import { L as V } from "./field-label-headless-DrZeUGw3.js";
|
|
9
9
|
import { E as k } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as c } from "./field-rac.module-D0QzJXUv.js";
|
|
11
|
-
import { u as K } from "./use-text-input-class-name-
|
|
11
|
+
import { u as K } from "./use-text-input-class-name-D7autJGB.js";
|
|
12
12
|
const e = ({ children: t }) => {
|
|
13
13
|
const { id: a, value: m, onChange: n, disabled: u, required: s, readOnly: l, onBlur: E, onFocus: b, FieldLayout: I, hasError: f } = p(), { labelId: F } = d(), L = S((A) => {
|
|
14
14
|
n(A);
|
package/dist/component/{text-input-field-rac-DzJs91zt.js → text-input-field-rac-B6aqpQqL.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-BiYydJnd.js";
|
|
5
5
|
import { E as o } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as a } from "./field-rac.module-D0QzJXUv.js";
|
|
7
|
-
import { X as n, am as c, M as E, I as i } from "./form-
|
|
8
|
-
import { u as p } from "./use-text-input-class-name-
|
|
7
|
+
import { X as n, am as c, M as E, I as i } from "./form-DnkQAGFK.js";
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-D7autJGB.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 n, { useRef as v } from "react";
|
|
2
2
|
import { TextField as C, Input as R } from "react-aria-components";
|
|
3
|
-
import { bN as d, bK as p, bP as h, bW as T } from "./form-
|
|
3
|
+
import { bN as d, bK as p, bP as h, bW as T } from "./form-DnkQAGFK.js";
|
|
4
4
|
import { f as a } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as g, E as x } from "./field-error-headless-
|
|
6
|
-
import { L as B } from "./field-label-headless-
|
|
5
|
+
import { D as g, E as x } from "./field-error-headless-Ek4POGu5.js";
|
|
6
|
+
import { L as B } from "./field-label-headless-DrZeUGw3.js";
|
|
7
7
|
const e = ({ children: r }) => {
|
|
8
8
|
const { id: s, value: l, onChange: i, disabled: u, readOnly: t, required: o, hasError: c, onBlur: m, onFocus: b, autoComplete: f, FieldLayout: E } = d(), { labelId: I } = p(), F = a(r, e.Label), y = a(r, e.Input), D = a(r, e.Description), L = a(r, e.Error);
|
|
9
9
|
return /* @__PURE__ */ n.createElement(E, {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import e, { useCallback as Q, useRef as H, useContext as X } from "react";
|
|
2
2
|
import { RicosViewer as Y } from "@wix/ricos/viewer";
|
|
3
3
|
import u from "classnames";
|
|
4
|
-
import { bN as N, bK as k, bP as U, bY as g, X as z, am as G, M as J, I as W } from "./form-
|
|
4
|
+
import { bN as N, bK as k, bP as U, bY as g, X as z, am as G, M as J, I as W } from "./form-DnkQAGFK.js";
|
|
5
5
|
import { parseTime as Z } from "@internationalized/date";
|
|
6
6
|
import { mergeProps as $ } from "react-aria";
|
|
7
7
|
import { TimeField as ee, DateInput as te, DateSegment as v, TimeFieldStateContext as ne } from "react-aria-components";
|
|
8
8
|
import { f as m, a as _ } from "./find-child-C60k4CxG.js";
|
|
9
|
-
import { D as re, E as ae } from "./field-error-headless-
|
|
10
|
-
import { L as oe } from "./field-label-headless-
|
|
11
|
-
import { u as le, a as se, N as ie, D as ce } from "./dismiss-icon-
|
|
12
|
-
import { u as me, N as ue } from "./use-native-mobile-input-
|
|
9
|
+
import { D as re, E as ae } from "./field-error-headless-Ek4POGu5.js";
|
|
10
|
+
import { L as oe } from "./field-label-headless-DrZeUGw3.js";
|
|
11
|
+
import { u as le, a as se, N as ie, D as ce } from "./dismiss-icon-4SdtTtrF.js";
|
|
12
|
+
import { u as me, N as ue } from "./use-native-mobile-input-Bq_rDwKS.js";
|
|
13
13
|
import { t as de } from "./to-native-time-Co_gOLkc.js";
|
|
14
14
|
import { u as pe } from "./use-native-state-class-name-B0m2ghbS.js";
|
|
15
15
|
import { E as Ee } from "./error-icon-hZxQ6DEy.js";
|
|
16
16
|
import { H as B } from "./custom-focus-class-_483Pkwp.js";
|
|
17
17
|
import { s as f } from "./field-rac.module-D0QzJXUv.js";
|
|
18
|
-
import { u as x } from "./use-text-input-class-name-
|
|
18
|
+
import { u as x } from "./use-text-input-class-name-D7autJGB.js";
|
|
19
19
|
const n = ({ children: t }) => {
|
|
20
20
|
const { id: r, value: a, onChange: s, disabled: i, readOnly: o, required: c, onBlur: l, onFocus: p, use24HourFormat: S, FieldLayout: F, hasError: y } = N(), { inputId: C, ariaDescribedBy: D, labelId: b } = k(), T = me(), h = Q((j) => {
|
|
21
21
|
const K = w(j);
|
|
@@ -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 y } from "react";
|
|
4
4
|
import { TextField as O, Input as A } from "react-aria-components";
|
|
5
|
-
import { bN as d, bK as E, bP as P, bW as v, X as B, am as M, M as T, I as g } from "./form-
|
|
5
|
+
import { bN as d, bK as E, bP as P, bW as v, X as B, am as M, M as T, I as g } from "./form-DnkQAGFK.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as k, E as q } from "./field-error-headless-
|
|
8
|
-
import { L as x } from "./field-label-headless-
|
|
7
|
+
import { D as k, E as q } from "./field-error-headless-Ek4POGu5.js";
|
|
8
|
+
import { L as x } from "./field-label-headless-DrZeUGw3.js";
|
|
9
9
|
import { u as U } from "./use-invoke-callback-UH73A_J3.js";
|
|
10
10
|
import { E as V } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as u } from "./field-rac.module-D0QzJXUv.js";
|
|
12
|
-
import { u as W } from "./use-text-input-class-name-
|
|
12
|
+
import { u as W } from "./use-text-input-class-name-D7autJGB.js";
|
|
13
13
|
const w = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
|
|
14
14
|
const { id: o, value: a, onChange: l, disabled: m, readOnly: s, required: n, hasError: I, onBlur: b, onFocus: f, FieldLayout: R } = d(), { labelId: F } = E(), p = U(b), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), N = h(() => {
|
|
15
15
|
l(w(a)), p();
|
|
@@ -2,8 +2,8 @@ import d, { useContext as _, useRef as L, useState as m, Children as N, useLayou
|
|
|
2
2
|
import { CollectionRendererContext as g, DefaultCollectionRenderer as E, ListBox as M } from "react-aria-components";
|
|
3
3
|
import P from "classnames";
|
|
4
4
|
import { s as h } from "./field-rac.module-D0QzJXUv.js";
|
|
5
|
-
import { K as T } from "./form-
|
|
6
|
-
import { u as H } from "./use-element-state-class-name-
|
|
5
|
+
import { K as T } from "./form-DnkQAGFK.js";
|
|
6
|
+
import { u as H } from "./use-element-state-class-name-4Q4mzmq7.js";
|
|
7
7
|
const R = 1 / 0, I = {
|
|
8
8
|
position: "absolute",
|
|
9
9
|
width: 0,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import t, { useState as T, useCallback as R, useRef as V } from "react";
|
|
2
2
|
import { UNSAFE_PortalProvider as U, mergeProps as W } from "react-aria";
|
|
3
3
|
import { VisuallyHidden as j, Select as z, SelectValue as J, ListBoxItem as Q } from "react-aria-components";
|
|
4
|
-
import { bN as g, bK as L, bY as X, bP as B, L as Z } from "./form-
|
|
4
|
+
import { bN as g, bK as L, bY as X, bP as B, L as Z } from "./form-DnkQAGFK.js";
|
|
5
5
|
import { f as u, a as q } from "./find-child-C60k4CxG.js";
|
|
6
|
-
import { D as ee, E as te } from "./field-error-headless-
|
|
7
|
-
import { L as ae } from "./field-label-headless-
|
|
8
|
-
import { u as re, N as ne } from "./use-native-mobile-input-
|
|
6
|
+
import { D as ee, E as te } from "./field-error-headless-Ek4POGu5.js";
|
|
7
|
+
import { L as ae } from "./field-label-headless-DrZeUGw3.js";
|
|
8
|
+
import { u as re, N as ne } from "./use-native-mobile-input-Bq_rDwKS.js";
|
|
9
9
|
import { N as le } from "./native-select-BbxBpe3S.js";
|
|
10
10
|
import { E as se, S as oe, N as ie } from "./non-modal-popover-D-u13tmp.js";
|
|
11
|
-
import { b as ce } from "./use-is-forced-open-dropdown-
|
|
11
|
+
import { b as ce } from "./use-is-forced-open-dropdown-BqAHpu-1.js";
|
|
12
12
|
import { u as de } from "./use-native-state-class-name-B0m2ghbS.js";
|
|
13
|
-
import { V as ue } from "./use-dropdown-option-class-name-
|
|
14
|
-
import { u as me } from "./use-hoverable-input-class-name-
|
|
13
|
+
import { V as ue } from "./use-dropdown-option-class-name-DAiT5uNc.js";
|
|
14
|
+
import { u as me } from "./use-hoverable-input-class-name-B3TQVTv2.js";
|
|
15
15
|
const s = ({ children: e }) => {
|
|
16
16
|
const { id: r, value: o, defaultValue: a, options: d = [], readOnly: n, onChange: l, placeholder: m, disabled: c, required: p, onBlur: v, onFocus: N, FieldLayout: O, hasError: C } = g(), [F, y] = T(!1), b = ce(r), [f, D] = T(null), I = re(), i = _(o, a, d), { labelId: S } = L(), { t: w } = X(), P = `${S}-required`, x = R((E) => {
|
|
17
17
|
n || l(typeof E == "string" ? E : null);
|