@wix/form-elements 1.233.0 → 1.234.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-D-3m58lp.js → appointment-rac-DaJz8fBt.js} +4 -4
- package/dist/component/{bookings-address-rac-B-LoE2Qn.js → bookings-address-rac-lkvT2jFg.js} +1 -1
- package/dist/component/{bookings-email-rac-DPZwdIFG.js → bookings-email-rac-B6yDIr7X.js} +1 -1
- package/dist/component/{bookings-first-name-rac-CsVsVcvr.js → bookings-first-name-rac-BdwaASKa.js} +1 -1
- package/dist/component/{bookings-header-rac-qNe2KRzE.js → bookings-header-rac-K_4D2edM.js} +1 -1
- package/dist/component/{bookings-last-name-rac-DQL_KMg2.js → bookings-last-name-rac-z1DsE6Te.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-COt6CmZt.js → bookings-login-bar-rac-DuDc27Sg.js} +1 -1
- package/dist/component/{bookings-phone-rac-L07Dr5yv.js → bookings-phone-rac-D3I57XfO.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-DJaGIswi.js → bookings-rich-text-rac-Dva_0eJC.js} +1 -1
- package/dist/component/{checkbox-field-rac-hshAPjuN.js → checkbox-field-rac-CcVXm9fo.js} +4 -4
- package/dist/component/{checkbox-group-field-headless-Dz8ifQ1q.js → checkbox-group-field-headless-DIwGr5_m.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-BcmVG9V9.js → checkbox-group-field-rac-Di8eepGG.js} +4 -4
- package/dist/component/{checkbox-group-rac-Dxd3xSxY.js → checkbox-group-rac-uA3X1M2J.js} +1 -1
- package/dist/component/{checkbox-rac-BWtTYFl2.js → checkbox-rac-BSYp2Yim.js} +1 -1
- package/dist/component/{contacts-address-rac-Cgi9ARvL.js → contacts-address-rac-BmITc1pA.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-C5LiljQS.js → contacts-birthdate-rac-BbiTr6cp.js} +1 -1
- package/dist/component/{contacts-company-rac-DjVt6krD.js → contacts-company-rac-DUQ7fNTn.js} +1 -1
- package/dist/component/{contacts-email-rac-UUsDS-Hj.js → contacts-email-rac-CVqqMJbq.js} +1 -1
- package/dist/component/{contacts-first-name-rac-D0I06Uqj.js → contacts-first-name-rac-uv3ldXXw.js} +1 -1
- package/dist/component/{contacts-last-name-rac-DEg25NCh.js → contacts-last-name-rac-CimDHNgO.js} +1 -1
- package/dist/component/{contacts-phone-rac-CGs7LCRx.js → contacts-phone-rac-BShfAZ5U.js} +1 -1
- package/dist/component/{contacts-position-rac-6uf20AOO.js → contacts-position-rac-BENXoFz5.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-OR1Tl4HS.js → contacts-subscribe-rac-CBBgFf9U.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-BogsWGs4.js → contacts-tax-id-rac-B4fcviNx.js} +1 -1
- package/dist/component/{date-availability-Dc4t2XCp.js → date-availability-BrxRBFHK.js} +1 -1
- package/dist/component/date-input-field-rac-BFDOSod0.js +382 -0
- package/dist/component/{date-input-rac-D9uou8Mx.js → date-input-rac-Cd6SHUjO.js} +1 -1
- package/dist/component/{date-picker-field-rac-BKiq-iMW.js → date-picker-field-rac-BN2EjYXP.js} +8 -8
- package/dist/component/{date-picker-rac-CMroLRTz.js → date-picker-rac-BQWpqtZJ.js} +1 -1
- package/dist/component/date-time-input-field-rac-BO_3H4NG.js +526 -0
- package/dist/component/{date-time-input-rac-DBqQrjE_.js → date-time-input-rac-wgKGtEcj.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-CyReMYPe.js → dext-checkbox-group-rac-DM20MEtm.js} +2 -2
- package/dist/component/{dext-checkbox-rac-C-Ax0coQ.js → dext-checkbox-rac-DvzEyVhG.js} +1 -1
- package/dist/component/{dext-date-picker-rac-BEjVuSbf.js → dext-date-picker-rac-cof0w9i_.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-xWnKBcPO.js → dext-date-time-input-rac-BiJqwZ-5.js} +1 -1
- package/dist/component/{dext-dropdown-rac-BupA5fTu.js → dext-dropdown-rac-DEq1gj7M.js} +1 -1
- package/dist/component/{dext-email-rac-D-PgibOQ.js → dext-email-rac-BDg2wBuO.js} +1 -1
- package/dist/component/{dext-number-input-rac-YGeVY6EG.js → dext-number-input-rac-BBouksMP.js} +1 -1
- package/dist/component/{dext-phone-rac-LFs2NS4p.js → dext-phone-rac-DZASm4Ft.js} +1 -1
- package/dist/component/{dext-radio-group-rac-C9GUzkeB.js → dext-radio-group-rac-DqAZs7cq.js} +2 -2
- package/dist/component/{dext-rating-input-rac-Cl0HkVM2.js → dext-rating-input-rac-BUB6w2g3.js} +1 -1
- package/dist/component/{dext-tags-rac-BYkY96bj.js → dext-tags-rac-BH6azQiT.js} +2 -2
- package/dist/component/{dext-text-area-rac-fz7UNRqD.js → dext-text-area-rac-Bm1Oi7pi.js} +1 -1
- package/dist/component/{dext-text-input-rac-Dv9HTbCt.js → dext-text-input-rac-DBSxcYp8.js} +1 -1
- package/dist/component/{dext-url-input-rac-FxdnSlVl.js → dext-url-input-rac-gJ_-qrzY.js} +1 -1
- package/dist/component/{dismiss-icon-DJmsu1VC.js → dismiss-icon-sdQDwRev.js} +1 -1
- package/dist/component/{donation-rac-Bu74Oogy.js → donation-rac-CJHcIOnk.js} +5 -5
- package/dist/component/{dropdown-field-rac-CzWkvn7h.js → dropdown-field-rac-D94vF6Um.js} +3 -3
- package/dist/component/{dropdown-rac-V6_Z9Wpm.js → dropdown-rac-EN7KMhtd.js} +1 -1
- package/dist/component/{ecom-address-rac-jXrbgGcR.js → ecom-address-rac-CYk1wXq3.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-eHaOfQ88.js → ecom-subscription-checkbox-rac--cLVBIUD.js} +2 -2
- package/dist/component/{email-input-field-rac-CWVKPe92.js → email-input-field-rac-DWTQUl88.js} +3 -3
- package/dist/component/{events-repeater-rac-DYOdULgb.js → events-repeater-rac-B-CAZJsO.js} +4 -4
- package/dist/component/{events-rsvp-rac-QVCrDFMy.js → events-rsvp-rac-CkLzjZe0.js} +3 -3
- package/dist/component/{field-error-headless-NewCzOB9.js → field-error-headless-Hpn7Cjyz.js} +1 -1
- package/dist/component/{field-label-headless-Deo9dGbv.js → field-label-headless-CZaQ-q22.js} +1 -1
- package/dist/component/{file-upload-rac-aXHlyxHi.js → file-upload-rac-DelhbRzX.js} +153 -150
- package/dist/component/{fixed-payment-rac-BSZpuGK5.js → fixed-payment-rac-CGee8oWb.js} +3 -3
- package/dist/component/{form-D6g5Lhie.js → form-CKPfFL3D.js} +2347 -2341
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-PG_d2DLi.js → header-field-rac-B6vzJnaW.js} +2 -2
- package/dist/component/{header-rac-DSdtCA23.js → header-rac-Bc4WxzR1.js} +1 -1
- package/dist/component/hidden-part-label-Dc5eP4S0.js +18 -0
- package/dist/component/{image-choice-rac-Dfcq_DDp.js → image-choice-rac-BuArZj5n.js} +4 -4
- package/dist/component/{index-D4MrV_sk.js → index-CmopQE1P.js} +2 -2
- package/dist/component/{index-zP5mfEf8.js → index-yqi4FTyq.js} +4 -4
- package/dist/component/{isObjectLike-DFFmMGos.js → isObjectLike-DO4jXs__.js} +1 -1
- package/dist/component/{multiline-address-field-rac-C_Xy1nWk.js → multiline-address-field-rac-CijPzBxU.js} +8 -8
- package/dist/component/{multiline-address-rac-BqpeM7C_.js → multiline-address-rac-CchEjTwl.js} +1 -1
- package/dist/component/{number-input-field-rac-BQyjLISj.js → number-input-field-rac-CdJstTE-.js} +4 -4
- package/dist/component/{number-input-rac-DrDlS1RB.js → number-input-rac-B0V7Xy0I.js} +1 -1
- package/dist/component/{password-rac-BT58ATdC.js → password-rac-BipcyWPk.js} +4 -4
- package/dist/component/{payment-input-rac-CWalYCZA.js → payment-input-rac-ClhUNxdL.js} +4 -4
- package/dist/component/{phone-input-field-rac-D_ayc1RA.js → phone-input-field-rac-CPNMdr70.js} +7 -7
- package/dist/component/{phone-rac-p5F-E8Qq.js → phone-rac-DL5pW-cK.js} +1 -1
- package/dist/component/{product-list-rac-CPr9bYu0.js → product-list-rac-Ii0qlyiq.js} +4 -4
- package/dist/component/{quiz-radio-group-rac-OW0sqesm.js → quiz-radio-group-rac-DtO0om99.js} +1 -1
- package/dist/component/radio-button-module-classes-CY-zH0im.js +152 -0
- package/dist/component/{radio-group-field-rac-BLCsoI-r.js → radio-group-field-rac-ViY8g4gL.js} +4 -4
- package/dist/component/{radio-group-rac-BgUpj2G5.js → radio-group-rac-CjCoPD-w.js} +1 -1
- package/dist/component/rating-input-field-rac-BMFXLqfg.js +145 -0
- package/dist/component/{rating-input-rac-DSpFTPOv.js → rating-input-rac-CWGGV3Fx.js} +1 -1
- package/dist/component/{rich-content-rac.module-CLu7GcMK.js → rich-content-rac.module-CTlkS2_O.js} +1 -1
- package/dist/component/{rich-text-field-rac-ZiI_nRWE.js → rich-text-field-rac-2SQn_URM.js} +2 -2
- package/dist/component/{rich-text-rac-BsgiN5d-.js → rich-text-rac-L3m09cVp.js} +1 -1
- package/dist/component/{service-dropdown-rac-DWyhRr97.js → service-dropdown-rac-uKz9PkBj.js} +4 -4
- package/dist/component/{services-multi-choice-rac-TPWCJXw4.js → services-multi-choice-rac-sOJlp6_l.js} +5 -5
- package/dist/component/{signature-rac-D67GGPog.js → signature-rac-B1O7Ivtg.js} +4 -4
- package/dist/component/{submit-button-rac-DnVE0X13.js → submit-button-rac-iYdJFSXy.js} +60 -60
- package/dist/component/{tags-field-rac-Cr1g3IQA.js → tags-field-rac-CFSrsxw9.js} +5 -5
- package/dist/component/{tags-rac-CVMs-yMu.js → tags-rac-KW_c8m3p.js} +1 -1
- package/dist/component/{text-area-field-rac-gTMH-0ED.js → text-area-field-rac-BJEAvqCy.js} +4 -4
- package/dist/component/{text-area-rac-_s4ZWY1w.js → text-area-rac-Bk9j2e4k.js} +1 -1
- package/dist/component/{text-input-field-rac-BkHvsCqC.js → text-input-field-rac-KlrY_3qp.js} +3 -3
- package/dist/component/{text-input-headless-9zV5V5ku.js → text-input-headless-B6gzsedE.js} +3 -3
- package/dist/component/{text-input-rac-DiKyTmgL.js → text-input-rac-CSO1g0rD.js} +1 -1
- package/dist/component/{time-input-rac-DI40cFEX.js → time-input-rac-jaYI3_XV.js} +6 -6
- package/dist/component/{url-input-field-rac-BksPlayI.js → url-input-field-rac-1t5d4VjM.js} +4 -4
- package/dist/component/{url-input-rac-D7JSf8Qb.js → url-input-rac-BTQOpun9.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-DSehgOmn.js → use-dropdown-option-class-name-DEBN31l5.js} +2 -2
- package/dist/component/{use-dropdown-trigger-class-name-Bn5-sN_y.js → use-dropdown-trigger-class-name-BpcEWMWj.js} +7 -7
- package/dist/component/{use-element-state-class-name-CPvOOc0S.js → use-element-state-class-name-B0muHOx4.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-CdTBtnwn.js → use-hoverable-input-class-name-CL0sOlNu.js} +2 -2
- package/dist/component/{use-is-forced-open-dropdown-BowzktO1.js → use-is-forced-open-dropdown-BhQKJWNc.js} +1 -1
- package/dist/component/{use-native-mobile-input-FJXRhGOj.js → use-native-mobile-input-W9CS9U3u.js} +1 -1
- package/dist/component/{use-service-options-base-BIAtzpWn.js → use-service-options-base-DUgTjbHR.js} +1 -1
- package/dist/component/use-text-input-class-name-Mm_0ULVk.js +6 -0
- package/dist/form.d.ts +81 -0
- package/package.json +2 -2
- package/dist/component/date-input-field-rac-D4OlWmZn.js +0 -365
- package/dist/component/date-time-input-field-rac-Bv2fVYpg.js +0 -507
- package/dist/component/helpers-HmkkXrh2.js +0 -12
- package/dist/component/radio-button-module-classes-BZ_Hel4e.js +0 -137
- package/dist/component/rating-input-field-rac-B_HyeaML.js +0 -139
- package/dist/component/use-text-input-class-name-ChjVNdVG.js +0 -6
|
@@ -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-CKPfFL3D.js";
|
|
4
|
+
import { u as C, R as d, s as g, T as p } from "./rich-content-rac.module-CTlkS2_O.js";
|
|
5
5
|
const h = {
|
|
6
6
|
colorPalette: T(),
|
|
7
7
|
customStyles: R()
|
package/dist/component/{service-dropdown-rac-DWyhRr97.js → service-dropdown-rac-uKz9PkBj.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-CKPfFL3D.js";
|
|
5
|
+
import { u as Y } from "./use-service-options-base-DUgTjbHR.js";
|
|
6
|
+
import { D as m, u as v } from "./use-dropdown-trigger-class-name-BpcEWMWj.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-DEBN31l5.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-CKPfFL3D.js";
|
|
5
|
+
import { u as v } from "./use-service-options-base-DUgTjbHR.js";
|
|
6
|
+
import { C as i } from "./checkbox-group-field-headless-DIwGr5_m.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-B0muHOx4.js";
|
|
12
|
+
import { u as k } from "./use-text-input-class-name-Mm_0ULVk.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-CKPfFL3D.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-Hpn7Cjyz.js";
|
|
11
|
+
import { L as dt } from "./field-label-headless-CZaQ-q22.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-B0muHOx4.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
|
-
import t, { useRef as
|
|
2
|
-
import
|
|
1
|
+
import t, { useRef as X, useCallback as y } from "react";
|
|
2
|
+
import J from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import p from "classnames";
|
|
4
|
-
import { bN as
|
|
5
|
-
import { ProgressBar as nt, Button as
|
|
6
|
-
import { f as
|
|
7
|
-
import { u as x } from "./use-element-state-class-name-
|
|
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-CKPfFL3D.js";
|
|
5
|
+
import { ProgressBar as nt, Button as R } from "react-aria-components";
|
|
6
|
+
import { f as l } from "./find-child-C60k4CxG.js";
|
|
7
|
+
import { u as x } from "./use-element-state-class-name-B0muHOx4.js";
|
|
8
8
|
function ot(e) {
|
|
9
9
|
const s = "calc(50% - 2px)";
|
|
10
10
|
return /* @__PURE__ */ t.createElement(nt, {
|
|
@@ -38,7 +38,7 @@ function ot(e) {
|
|
|
38
38
|
})))));
|
|
39
39
|
}
|
|
40
40
|
const r = ({ children: e }) => {
|
|
41
|
-
const { id: o, FieldLayout: s } =
|
|
41
|
+
const { id: o, FieldLayout: s } = B(), n = l(e, r.SubmitButton);
|
|
42
42
|
return /* @__PURE__ */ t.createElement(s, {
|
|
43
43
|
fieldId: o,
|
|
44
44
|
renderLabel: () => null,
|
|
@@ -46,95 +46,95 @@ const r = ({ children: e }) => {
|
|
|
46
46
|
renderDescription: () => null
|
|
47
47
|
});
|
|
48
48
|
}, g = ({ className: e, children: o }) => {
|
|
49
|
-
const s =
|
|
49
|
+
const s = l(o, S), n = l(o, E), a = l(o, v);
|
|
50
50
|
return /* @__PURE__ */ t.createElement("div", {
|
|
51
51
|
className: e
|
|
52
52
|
}, s, n, a);
|
|
53
53
|
}, S = ({ className: e, onHoverStart: o, onHoverEnd: s, children: n }) => {
|
|
54
|
-
const { showPreviousButton: a, onPreviousClick:
|
|
54
|
+
const { showPreviousButton: a, onPreviousClick: c, previousText: b } = B();
|
|
55
55
|
if (!a)
|
|
56
56
|
return null;
|
|
57
|
-
const i =
|
|
58
|
-
return /* @__PURE__ */ t.createElement(
|
|
57
|
+
const i = l(n, S.Label), m = l(n, S.Icon);
|
|
58
|
+
return /* @__PURE__ */ t.createElement(R, {
|
|
59
59
|
className: e,
|
|
60
|
-
"aria-label":
|
|
61
|
-
onPress:
|
|
60
|
+
"aria-label": b,
|
|
61
|
+
onPress: c,
|
|
62
62
|
onHoverStart: o,
|
|
63
63
|
onHoverEnd: s
|
|
64
|
-
}, m, i ?? /* @__PURE__ */ t.createElement(
|
|
64
|
+
}, m, i ?? /* @__PURE__ */ t.createElement(W, null));
|
|
65
65
|
}, E = ({ className: e, onHoverStart: o, onHoverEnd: s, children: n }) => {
|
|
66
|
-
const { showNextButton: a, onNextClick:
|
|
66
|
+
const { showNextButton: a, onNextClick: c, nextText: b } = B();
|
|
67
67
|
if (!a)
|
|
68
68
|
return null;
|
|
69
|
-
const i =
|
|
70
|
-
return /* @__PURE__ */ t.createElement(
|
|
69
|
+
const i = l(n, E.Label), m = l(n, E.Icon);
|
|
70
|
+
return /* @__PURE__ */ t.createElement(R, {
|
|
71
71
|
className: e,
|
|
72
|
-
"aria-label":
|
|
73
|
-
onPress:
|
|
72
|
+
"aria-label": b,
|
|
73
|
+
onPress: c,
|
|
74
74
|
onHoverStart: o,
|
|
75
75
|
onHoverEnd: s
|
|
76
|
-
}, i ?? /* @__PURE__ */ t.createElement(
|
|
77
|
-
},
|
|
78
|
-
const { showSubmitButton: a, onSubmitClick:
|
|
76
|
+
}, i ?? /* @__PURE__ */ t.createElement(V, null), m);
|
|
77
|
+
}, v = ({ className: e, onHoverStart: o, onHoverEnd: s, children: n }) => {
|
|
78
|
+
const { showSubmitButton: a, onSubmitClick: c, submitText: b, isDisabled: i, isInProgress: m, isSubmitting: C } = B();
|
|
79
79
|
if (!a)
|
|
80
80
|
return null;
|
|
81
|
-
const f =
|
|
82
|
-
return /* @__PURE__ */ t.createElement(
|
|
81
|
+
const f = l(n, v.Label), I = l(n, v.Icon), d = l(n, v.Loader), _ = C || m;
|
|
82
|
+
return /* @__PURE__ */ t.createElement(R, {
|
|
83
83
|
className: e,
|
|
84
|
-
"aria-label":
|
|
85
|
-
onPress: _ ? void 0 :
|
|
84
|
+
"aria-label": b,
|
|
85
|
+
onPress: _ ? void 0 : c,
|
|
86
86
|
onHoverStart: o,
|
|
87
87
|
onHoverEnd: s,
|
|
88
88
|
isDisabled: i && !_,
|
|
89
89
|
"aria-disabled": _ || void 0,
|
|
90
90
|
"data-in-progress": m
|
|
91
|
-
}, m && d ? d : /* @__PURE__ */ t.createElement(t.Fragment, null, f ?? /* @__PURE__ */ t.createElement(
|
|
92
|
-
},
|
|
93
|
-
const { submitText: o } =
|
|
91
|
+
}, m && d ? d : /* @__PURE__ */ t.createElement(t.Fragment, null, f ?? /* @__PURE__ */ t.createElement(D, null), I));
|
|
92
|
+
}, D = ({ className: e }) => {
|
|
93
|
+
const { submitText: o } = B();
|
|
94
94
|
return /* @__PURE__ */ t.createElement("span", {
|
|
95
95
|
className: e
|
|
96
96
|
}, o);
|
|
97
|
-
},
|
|
98
|
-
const { previousText: o } =
|
|
97
|
+
}, W = ({ className: e }) => {
|
|
98
|
+
const { previousText: o } = B();
|
|
99
99
|
return /* @__PURE__ */ t.createElement("span", {
|
|
100
100
|
className: e
|
|
101
101
|
}, o);
|
|
102
|
-
},
|
|
103
|
-
const { nextText: o } =
|
|
102
|
+
}, V = ({ className: e }) => {
|
|
103
|
+
const { nextText: o } = B();
|
|
104
104
|
return /* @__PURE__ */ t.createElement("span", {
|
|
105
105
|
className: e
|
|
106
106
|
}, o);
|
|
107
|
-
},
|
|
107
|
+
}, A = ({ children: e }) => /* @__PURE__ */ t.createElement(t.Fragment, null, e), st = ({ className: e }) => /* @__PURE__ */ t.createElement("span", {
|
|
108
108
|
className: e
|
|
109
109
|
}, /* @__PURE__ */ t.createElement(ot, null));
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
S.Label =
|
|
114
|
-
S.Icon =
|
|
115
|
-
E.Label =
|
|
116
|
-
E.Icon =
|
|
110
|
+
v.Label = D;
|
|
111
|
+
v.Icon = A;
|
|
112
|
+
v.Loader = st;
|
|
113
|
+
S.Label = W;
|
|
114
|
+
S.Icon = A;
|
|
115
|
+
E.Label = V;
|
|
116
|
+
E.Icon = A;
|
|
117
117
|
g.PreviousButton = S;
|
|
118
118
|
g.NextButton = E;
|
|
119
|
-
g.SubmitButton =
|
|
119
|
+
g.SubmitButton = v;
|
|
120
120
|
r.SubmitButton = g;
|
|
121
|
-
const at = "
|
|
121
|
+
const at = "_navigationContainer_189lv_1", rt = "_rowSpacing_189lv_6", ut = "_navigationButton_189lv_10", lt = "_nextButton_189lv_33", ct = "_previousButton_189lv_59", it = "_navigationButtonHover_189lv_97", mt = "_button_189lv_135", vt = "_buttonNoSteps_189lv_181", Bt = "_buttonWithSteps_189lv_185", bt = "_buttonHover_189lv_189", St = "_progress_189lv_255", u = {
|
|
122
122
|
navigationContainer: at,
|
|
123
123
|
rowSpacing: rt,
|
|
124
124
|
navigationButton: ut,
|
|
125
|
-
nextButton:
|
|
126
|
-
previousButton:
|
|
125
|
+
nextButton: lt,
|
|
126
|
+
previousButton: ct,
|
|
127
127
|
navigationButtonHover: it,
|
|
128
128
|
button: mt,
|
|
129
|
-
buttonNoSteps:
|
|
130
|
-
buttonWithSteps:
|
|
131
|
-
buttonHover:
|
|
129
|
+
buttonNoSteps: vt,
|
|
130
|
+
buttonWithSteps: Bt,
|
|
131
|
+
buttonHover: bt,
|
|
132
132
|
progress: St
|
|
133
133
|
}, P = () => {
|
|
134
|
-
const e =
|
|
134
|
+
const e = X(null), o = y(() => {
|
|
135
135
|
var n;
|
|
136
136
|
return (n = e.current) == null ? void 0 : n.runAnimationForward();
|
|
137
|
-
}, []), s =
|
|
137
|
+
}, []), s = y(() => {
|
|
138
138
|
var n;
|
|
139
139
|
return (n = e.current) == null ? void 0 : n.runAnimationBackward();
|
|
140
140
|
}, []);
|
|
@@ -144,15 +144,15 @@ const at = "_navigationContainer_zmwct_1", rt = "_rowSpacing_zmwct_6", ut = "_na
|
|
|
144
144
|
onHoverEnd: s
|
|
145
145
|
};
|
|
146
146
|
}, O = ({ icon: e, iconRef: o, iconClassName: s }) => {
|
|
147
|
-
const { wix: n, className: a, ...
|
|
148
|
-
return
|
|
149
|
-
...
|
|
147
|
+
const { wix: n, className: a, ...c } = e ?? {};
|
|
148
|
+
return c.svg ? /* @__PURE__ */ t.createElement(J, {
|
|
149
|
+
...c,
|
|
150
150
|
ref: o,
|
|
151
151
|
className: p(Z, s, a)
|
|
152
152
|
}) : null;
|
|
153
153
|
}, Et = () => {
|
|
154
|
-
var
|
|
155
|
-
const { hasSteps: e, showPreviousButton: o, isDisabled: s, isInProgress: n, isSubmitting: a } =
|
|
154
|
+
var F, h, U, w, M, k;
|
|
155
|
+
const { hasSteps: e, showPreviousButton: o, isDisabled: s, isInProgress: n, isSubmitting: a } = B(), b = !s && !(a || n), i = K(), m = (h = (F = i.submitButton) == null ? void 0 : F.elementProps) == null ? void 0 : h.icon, C = (w = (U = i.nextButton) == null ? void 0 : U.elementProps) == null ? void 0 : w.icon, f = (k = (M = i.previousButton) == null ? void 0 : M.elementProps) == null ? void 0 : k.icon, I = x({
|
|
156
156
|
globalClasses: Y,
|
|
157
157
|
moduleClasses: {
|
|
158
158
|
base: p(u.navigationButton, u.previousButton),
|
|
@@ -187,11 +187,11 @@ const at = "_navigationContainer_zmwct_1", rt = "_rowSpacing_zmwct_6", ut = "_na
|
|
|
187
187
|
onHoverStart: T.onHoverStart,
|
|
188
188
|
onHoverEnd: T.onHoverEnd
|
|
189
189
|
}, /* @__PURE__ */ t.createElement(r.SubmitButton.PreviousButton.Label, {
|
|
190
|
-
className:
|
|
190
|
+
className: $
|
|
191
191
|
}), /* @__PURE__ */ t.createElement(r.SubmitButton.PreviousButton.Icon, null, /* @__PURE__ */ t.createElement(O, {
|
|
192
192
|
icon: f,
|
|
193
193
|
iconRef: T.iconRef,
|
|
194
|
-
iconClassName:
|
|
194
|
+
iconClassName: j
|
|
195
195
|
}))), /* @__PURE__ */ t.createElement(r.SubmitButton.NextButton, {
|
|
196
196
|
className: ({ isHovered: N }) => d({
|
|
197
197
|
isSelected: !1,
|
|
@@ -200,16 +200,16 @@ const at = "_navigationContainer_zmwct_1", rt = "_rowSpacing_zmwct_6", ut = "_na
|
|
|
200
200
|
onHoverStart: L.onHoverStart,
|
|
201
201
|
onHoverEnd: L.onHoverEnd
|
|
202
202
|
}, /* @__PURE__ */ t.createElement(r.SubmitButton.NextButton.Label, {
|
|
203
|
-
className:
|
|
203
|
+
className: q
|
|
204
204
|
}), /* @__PURE__ */ t.createElement(r.SubmitButton.NextButton.Icon, null, /* @__PURE__ */ t.createElement(O, {
|
|
205
205
|
icon: C,
|
|
206
206
|
iconRef: L.iconRef,
|
|
207
|
-
iconClassName:
|
|
207
|
+
iconClassName: z
|
|
208
208
|
}))), /* @__PURE__ */ t.createElement(r.SubmitButton.SubmitButton, {
|
|
209
209
|
className: ({ isHovered: N }) => _({
|
|
210
210
|
isSelected: !1,
|
|
211
211
|
isHovered: N,
|
|
212
|
-
isInteractive:
|
|
212
|
+
isInteractive: b
|
|
213
213
|
}),
|
|
214
214
|
onHoverStart: H.onHoverStart,
|
|
215
215
|
onHoverEnd: H.onHoverEnd
|
|
@@ -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-CKPfFL3D.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-Hpn7Cjyz.js";
|
|
8
|
+
import { L as P } from "./field-label-headless-CZaQ-q22.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-B0muHOx4.js";
|
|
13
|
+
import { u as ue } from "./use-text-input-class-name-Mm_0ULVk.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-CKPfFL3D.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-Hpn7Cjyz.js";
|
|
8
|
+
import { L as V } from "./field-label-headless-CZaQ-q22.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-Mm_0ULVk.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-BkHvsCqC.js → text-input-field-rac-KlrY_3qp.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-B6gzsedE.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-CKPfFL3D.js";
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-Mm_0ULVk.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-CKPfFL3D.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-Hpn7Cjyz.js";
|
|
6
|
+
import { L as B } from "./field-label-headless-CZaQ-q22.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-CKPfFL3D.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-Hpn7Cjyz.js";
|
|
10
|
+
import { L as oe } from "./field-label-headless-CZaQ-q22.js";
|
|
11
|
+
import { u as le, a as se, N as ie, D as ce } from "./dismiss-icon-sdQDwRev.js";
|
|
12
|
+
import { u as me, N as ue } from "./use-native-mobile-input-W9CS9U3u.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-Mm_0ULVk.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-CKPfFL3D.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-Hpn7Cjyz.js";
|
|
8
|
+
import { L as x } from "./field-label-headless-CZaQ-q22.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-Mm_0ULVk.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-CKPfFL3D.js";
|
|
6
|
+
import { u as H } from "./use-element-state-class-name-B0muHOx4.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-CKPfFL3D.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-Hpn7Cjyz.js";
|
|
7
|
+
import { L as ae } from "./field-label-headless-CZaQ-q22.js";
|
|
8
|
+
import { u as re, N as ne } from "./use-native-mobile-input-W9CS9U3u.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-BhQKJWNc.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-DEBN31l5.js";
|
|
14
|
+
import { u as me } from "./use-hoverable-input-class-name-CL0sOlNu.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);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import i from "classnames";
|
|
2
|
-
import { bG as s, bc as v } from "./form-
|
|
2
|
+
import { bG as s, bc as v } from "./form-CKPfFL3D.js";
|
|
3
3
|
const x = ({ globalClasses: e, moduleClasses: r }) => {
|
|
4
4
|
var d;
|
|
5
5
|
const c = ((d = s(...v(e))) == null ? void 0 : d.split(/\s+/)) ?? [], o = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { bN as n } from "./form-
|
|
1
|
+
import { bN as n } from "./form-CKPfFL3D.js";
|
|
2
2
|
import { s as e } from "./field-rac.module-D0QzJXUv.js";
|
|
3
|
-
import { u } from "./use-element-state-class-name-
|
|
3
|
+
import { u } from "./use-element-state-class-name-B0muHOx4.js";
|
|
4
4
|
const b = (s, a) => {
|
|
5
5
|
const { disabled: t, readOnly: o } = n(), r = u({
|
|
6
6
|
globalClasses: s,
|
package/dist/component/{use-native-mobile-input-FJXRhGOj.js → use-native-mobile-input-W9CS9U3u.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import o, { forwardRef as r, useSyncExternalStore as a } from "react";
|
|
2
2
|
import { VisuallyHidden as c } from "react-aria-components";
|
|
3
|
-
import { bI as d, d as l } from "./form-
|
|
3
|
+
import { bI as d, d as l } from "./form-CKPfFL3D.js";
|
|
4
4
|
const E = {
|
|
5
5
|
position: "relative"
|
|
6
6
|
}, p = /* @__PURE__ */ r(({ groupLabelId: t, announcement: e, children: s }, i) => /* @__PURE__ */ o.createElement("div", {
|
package/dist/component/{use-service-options-base-BIAtzpWn.js → use-service-options-base-DUgTjbHR.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState as o, useCallback as y, useEffect as m, useMemo as D } from "react";
|
|
2
|
-
import { bM as v } from "./form-
|
|
2
|
+
import { bM as v } from "./form-CKPfFL3D.js";
|
|
3
3
|
const S = (I) => {
|
|
4
4
|
const { fieldType: L, isEditor: t = !1, postProcessOptions: i, customFetchLogic: a, onInitialDataLoaded: n } = I, [O, h] = o(!1), [g, p] = o([]), [E, u] = o(!1), [c, f] = o(!1), s = v(L), r = y((e) => {
|
|
5
5
|
let d = e.map((l) => ({
|