@wix/form-elements 1.224.0 → 1.225.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-UcRjJTHp.js → appointment-rac-DfglpMHC.js} +5 -5
- package/dist/component/{bookings-address-rac-DDjZGEhk.js → bookings-address-rac-BsAUAgUH.js} +1 -1
- package/dist/component/{bookings-email-rac-Dy2vh3dy.js → bookings-email-rac-DL0Q3omz.js} +1 -1
- package/dist/component/{bookings-first-name-rac-fDHMNznn.js → bookings-first-name-rac-C3eHsd6U.js} +1 -1
- package/dist/component/{bookings-header-rac-DLOeNNQf.js → bookings-header-rac-YVCqWtfu.js} +1 -1
- package/dist/component/{bookings-last-name-rac-Bx19ROVT.js → bookings-last-name-rac-BzBQBIMy.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-8FbvPiv1.js → bookings-login-bar-rac-MJvhVfsH.js} +1 -1
- package/dist/component/{bookings-phone-rac-CvPQgtvq.js → bookings-phone-rac-BTEB2Mzf.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-CO8bHRpD.js → bookings-rich-text-rac-BopQG6gV.js} +1 -1
- package/dist/component/calendar-icon-DOeHn3jt.js +19 -0
- package/dist/component/{checkbox-field-rac-tzsGw10P.js → checkbox-field-rac-NvQt_qcN.js} +6 -6
- package/dist/component/{checkbox-group-field-headless-CL18dpkq.js → checkbox-group-field-headless-CwLaBukh.js} +3 -3
- package/dist/component/{checkbox-group-field-rac-BmbxaprJ.js → checkbox-group-field-rac-BKQhos1K.js} +6 -6
- package/dist/component/{checkbox-group-rac-shsbUvRc.js → checkbox-group-rac-DMeC2rsZ.js} +1 -1
- package/dist/component/{checkbox-indicator-module-classes-DOxE4UQg.js → checkbox-indicator-module-classes-Cozvs_kk.js} +1 -1
- package/dist/component/{checkbox-rac-CobYYayd.js → checkbox-rac-Dea1HbEL.js} +1 -1
- package/dist/component/{contacts-address-rac-BoDqJCi1.js → contacts-address-rac-B64jiofc.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-GAujbm-z.js → contacts-birthdate-rac-CM4GjTBV.js} +1 -1
- package/dist/component/{contacts-company-rac-CLcEz04V.js → contacts-company-rac-DTf9dwuR.js} +1 -1
- package/dist/component/{contacts-email-rac-D9q7TJwy.js → contacts-email-rac-B2vhNF_y.js} +1 -1
- package/dist/component/{contacts-first-name-rac-BAecbeNQ.js → contacts-first-name-rac-C5ywHnnX.js} +1 -1
- package/dist/component/{contacts-last-name-rac-Ccrw8BDa.js → contacts-last-name-rac-C2JbeG_J.js} +1 -1
- package/dist/component/{contacts-phone-rac-DA2N033V.js → contacts-phone-rac-Dm0PS175.js} +1 -1
- package/dist/component/{contacts-position-rac-0lAd-nCW.js → contacts-position-rac-t6bWP1Yh.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-DB2ssF-E.js → contacts-subscribe-rac-D5EWQfGj.js} +1 -1
- package/dist/component/{contacts-tax-id-rac-B-Sn92Ho.js → contacts-tax-id-rac-CXqezyXg.js} +1 -1
- package/dist/component/{date-availability-CtfWLvii.js → date-availability-CtrbZvl3.js} +1 -1
- package/dist/component/date-input-field-rac-CPLAqaMS.js +365 -0
- package/dist/component/{date-input-rac-BnWwBe2i.js → date-input-rac-DjQc-F8G.js} +1 -1
- package/dist/component/date-picker-field-rac-pA2HwauY.js +386 -0
- package/dist/component/{date-picker-rac-BhI6jOQE.js → date-picker-rac-B6M3C8dN.js} +1 -1
- package/dist/component/date-time-input-field-rac-Qz6g31Eu.js +507 -0
- package/dist/component/{date-time-input-rac-DAbopLQt.js → date-time-input-rac-D7bS3bUX.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-D_HLv0tP.js → dext-checkbox-group-rac-caVwDBtB.js} +2 -2
- package/dist/component/{dext-checkbox-rac-BnBTlqEI.js → dext-checkbox-rac-CMxPnPT3.js} +1 -1
- package/dist/component/{dext-date-picker-rac-Co_yfhuz.js → dext-date-picker-rac-5WBCluMk.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-BSpUehb2.js → dext-date-time-input-rac-C5d1PKMu.js} +1 -1
- package/dist/component/{dext-dropdown-rac-DPApx74L.js → dext-dropdown-rac-BPeVs1gI.js} +1 -1
- package/dist/component/{dext-email-rac-Dns6jFl4.js → dext-email-rac-BTXfUaaY.js} +1 -1
- package/dist/component/{dext-number-input-rac-DfN-xRID.js → dext-number-input-rac-DJt_dDVj.js} +1 -1
- package/dist/component/{dext-phone-rac-b5Ix3aTQ.js → dext-phone-rac-DDtneNPi.js} +1 -1
- package/dist/component/{dext-radio-group-rac-BAwIkDsJ.js → dext-radio-group-rac-DzLW_As4.js} +2 -2
- package/dist/component/{dext-rating-input-rac-mwQpCQUI.js → dext-rating-input-rac-0wwq1TR3.js} +1 -1
- package/dist/component/{dext-tags-rac-BGmElgw8.js → dext-tags-rac-Cj7nIZWu.js} +2 -2
- package/dist/component/{dext-text-area-rac-DN5HPqdg.js → dext-text-area-rac-D4Ej9MYY.js} +1 -1
- package/dist/component/{dext-text-input-rac-DEyDRhQ2.js → dext-text-input-rac-DgqBl2cb.js} +1 -1
- package/dist/component/{dext-url-input-rac-B1o3BAZE.js → dext-url-input-rac-CH-5gGxA.js} +1 -1
- package/dist/component/dismiss-icon-ejA47noY.js +69 -0
- package/dist/component/{donation-rac-Dp6PmATz.js → donation-rac-BwpE1YTR.js} +6 -6
- package/dist/component/dropdown-field-rac-CeywMN1E.js +40 -0
- package/dist/component/{dropdown-rac-eqQW-Z9k.js → dropdown-rac-DiXJLvXK.js} +1 -1
- package/dist/component/{ecom-address-rac-Q02N1v6i.js → ecom-address-rac-MD0hbW1w.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-CmqVje9n.js → ecom-subscription-checkbox-rac-BssVeeXB.js} +2 -2
- package/dist/component/{email-input-field-rac-HmrdF3g7.js → email-input-field-rac-BXoueQNf.js} +4 -4
- package/dist/component/{events-repeater-rac-BSML2My0.js → events-repeater-rac-fm6lHaJ2.js} +6 -6
- package/dist/component/{events-rsvp-rac-0pI3cb2e.js → events-rsvp-rac-QV9f5chX.js} +4 -4
- package/dist/component/{field-error-headless-B3U_Gymg.js → field-error-headless-BIzDViIC.js} +1 -1
- package/dist/component/{field-label-headless-Cyy9_5qJ.js → field-label-headless-D_ubs4wp.js} +1 -1
- package/dist/component/field-rac.module-D0QzJXUv.js +32 -0
- package/dist/component/{file-upload-rac-hR9TZqk2.js → file-upload-rac-Csmt20hK.js} +5 -5
- package/dist/component/{fixed-payment-rac-CghZp6bR.js → fixed-payment-rac-BXr53Q8H.js} +4 -4
- package/dist/component/{form-BmSV4tOz.js → form-Dnq7LxSl.js} +1701 -1688
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-C7LDm89o.js → header-field-rac-9750XSxD.js} +2 -2
- package/dist/component/{header-rac-BNNzF5wQ.js → header-rac-DGSENeOk.js} +1 -1
- package/dist/component/{image-choice-rac-DLgxkKIZ.js → image-choice-rac-HX8H18Z3.js} +5 -5
- package/dist/component/{index-Dg8Fefid.js → index-pgW3uSoZ.js} +2 -2
- package/dist/component/{index-B8ObIJtL.js → index-vs-qkVQt.js} +4 -4
- package/dist/component/{isObjectLike-oBQcCfqW.js → isObjectLike-DoUrU0Hj.js} +1 -1
- package/dist/component/multiline-address-field-rac-B3gKz3u_.js +1818 -0
- package/dist/component/{multiline-address-rac-8MZkKfqY.js → multiline-address-rac-BBign7ot.js} +1 -1
- package/dist/component/native-select-BbxBpe3S.js +32 -0
- package/dist/component/{number-input-field-rac-Dmp8pNIq.js → number-input-field-rac-CO6DG443.js} +5 -5
- package/dist/component/{number-input-rac-2cN_bN_s.js → number-input-rac-C_Ndaqs4.js} +1 -1
- package/dist/component/{password-rac-CFdC1hoi.js → password-rac-pq-CaSkt.js} +5 -5
- package/dist/component/{payment-input-rac-BWElGzuv.js → payment-input-rac-Dco8O86k.js} +5 -5
- package/dist/component/phone-input-field-rac-BmcADPkC.js +558 -0
- package/dist/component/{phone-rac-CE9-90C3.js → phone-rac-B3aFMUMq.js} +1 -1
- package/dist/component/{product-list-rac-QU7Ocwvy.js → product-list-rac-Cw21coVk.js} +6 -6
- package/dist/component/{quiz-radio-group-rac-Hm7B7RlU.js → quiz-radio-group-rac-ChkNtxix.js} +1 -1
- package/dist/component/{radio-button-module-classes-CcGF7N_Y.js → radio-button-module-classes-BtiG6yqb.js} +3 -3
- package/dist/component/{radio-group-field-rac-Bk1JBBts.js → radio-group-field-rac-6SefZCE6.js} +5 -5
- package/dist/component/{radio-group-rac-D_YZnpID.js → radio-group-rac-BRhOFR2j.js} +1 -1
- package/dist/component/{rating-input-field-rac-zvA6QBGo.js → rating-input-field-rac-DaVnkb6k.js} +5 -5
- package/dist/component/{rating-input-rac-CXVQUoi-.js → rating-input-rac-B-2pZ61H.js} +1 -1
- package/dist/component/{rich-content-rac.module-CnZ4lMBG.js → rich-content-rac.module-C6LD--Ql.js} +1 -1
- package/dist/component/{rich-text-field-rac-DYQgVXdV.js → rich-text-field-rac-C-rfA6pQ.js} +2 -2
- package/dist/component/{rich-text-rac-Dk8396e-.js → rich-text-rac-1s5CGO8u.js} +1 -1
- package/dist/component/service-dropdown-rac-Bcr83doj.js +150 -0
- package/dist/component/{services-multi-choice-rac-D1RiVaLW.js → services-multi-choice-rac-C9nSuz9x.js} +7 -7
- package/dist/component/{signature-rac-DcGKMX84.js → signature-rac-pgob6vV_.js} +5 -5
- package/dist/component/{submit-button-rac-DbMxQlNH.js → submit-button-rac-CzcFB8hM.js} +2 -2
- package/dist/component/{tags-field-rac-Bi4lKutL.js → tags-field-rac-BBFxSNch.js} +6 -6
- package/dist/component/{tags-rac-DDCPnT8M.js → tags-rac-DkwugVvK.js} +1 -1
- package/dist/component/{text-area-field-rac-cre_K0MD.js → text-area-field-rac-DHT-fc0i.js} +5 -5
- package/dist/component/{text-area-rac-61wsMj-j.js → text-area-rac-cTq-i-bf.js} +1 -1
- package/dist/component/{text-input-field-rac-CV5_ba0x.js → text-input-field-rac-D3v-e_5R.js} +4 -4
- package/dist/component/{text-input-headless-kRv3KpSL.js → text-input-headless-B-DwvpWg.js} +3 -3
- package/dist/component/{text-input-rac-CwqZ6NXO.js → text-input-rac-CpG9qt33.js} +1 -1
- package/dist/component/time-input-rac-iL1G8Uwo.js +212 -0
- package/dist/component/to-native-time-Co_gOLkc.js +9 -0
- package/dist/component/{url-input-field-rac-C1JL_m6D.js → url-input-field-rac-1P81rK_4.js} +5 -5
- package/dist/component/{url-input-rac-C1CiGrCn.js → url-input-rac-D9c0BJKG.js} +1 -1
- package/dist/component/{use-dropdown-option-class-name-COGEk5d6.js → use-dropdown-option-class-name-CyC7rDCE.js} +3 -3
- package/dist/component/use-dropdown-trigger-class-name-BvRCjLXG.js +137 -0
- package/dist/component/{use-element-state-class-name-pSOX0Y0p.js → use-element-state-class-name-Cpdx_lRm.js} +1 -1
- package/dist/component/{use-hoverable-input-class-name-DGEpOAdi.js → use-hoverable-input-class-name-zEk2Vnct.js} +3 -3
- package/dist/component/{use-is-forced-open-dropdown-DPG1e5E9.js → use-is-forced-open-dropdown-_YI6RNG3.js} +1 -1
- package/dist/component/use-native-mobile-input-Czyhb-0V.js +31 -0
- package/dist/component/use-native-state-class-name-B0m2ghbS.js +18 -0
- package/dist/component/{use-service-options-base-BgIZ94V9.js → use-service-options-base-CbFG_r1u.js} +1 -1
- package/dist/component/use-text-input-class-name-CL-b4_Ph.js +6 -0
- package/package.json +3 -2
- package/dist/component/date-input-field-rac-CiAaOiYY.js +0 -309
- package/dist/component/date-picker-field-rac-Dg-chlTL.js +0 -320
- package/dist/component/date-time-input-field-rac-CbDvEPIp.js +0 -441
- package/dist/component/dropdown-field-rac-DY3GGJgP.js +0 -36
- package/dist/component/field-rac.module-DcyJyi2B.js +0 -25
- package/dist/component/multiline-address-field-rac-CgH7lDce.js +0 -1738
- package/dist/component/phone-input-field-rac-CsJGw_OE.js +0 -520
- package/dist/component/service-dropdown-rac-BSXYuBPJ.js +0 -145
- package/dist/component/time-input-rac-DuQar6zW.js +0 -161
- package/dist/component/use-dropdown-trigger-class-name-D6c-3Lyw.js +0 -98
- package/dist/component/use-text-input-class-name-BcbHdFV-.js +0 -6
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import o, { useId as m, forwardRef as b, useState as L, useEffect as p, useCallback as y } from "react";
|
|
2
|
+
import { bN as h, bY as C } from "./form-Dnq7LxSl.js";
|
|
3
|
+
const I = ({ className: e, "aria-label": n, children: t, ...s }) => {
|
|
4
|
+
const { input: r, control: a, labelId: c, onClear: d } = s, i = m();
|
|
5
|
+
return /* @__PURE__ */ o.createElement("button", {
|
|
6
|
+
type: "button",
|
|
7
|
+
id: i,
|
|
8
|
+
className: e,
|
|
9
|
+
"aria-label": n,
|
|
10
|
+
"aria-labelledby": c ? `${i} ${c}` : void 0,
|
|
11
|
+
onClick: (f) => {
|
|
12
|
+
var l, u;
|
|
13
|
+
d(), f.detail === 0 ? (l = r.current) == null || l.focus() : (u = a.current) == null || u.focus();
|
|
14
|
+
}
|
|
15
|
+
}, t);
|
|
16
|
+
}, N = (e) => {
|
|
17
|
+
if (!(e.disabled || e.readOnly || !("showPicker" in e)))
|
|
18
|
+
try {
|
|
19
|
+
e.showPicker();
|
|
20
|
+
} catch {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
}, v = /* @__PURE__ */ b(({ value: e, onChange: n, onClick: t, ...s }, r) => /* @__PURE__ */ o.createElement("input", {
|
|
24
|
+
...s,
|
|
25
|
+
ref: r,
|
|
26
|
+
"data-native-input": "",
|
|
27
|
+
"data-empty": !e || void 0,
|
|
28
|
+
value: e,
|
|
29
|
+
onChange: (a) => n(a.target.value),
|
|
30
|
+
onClick: (a) => {
|
|
31
|
+
N(a.currentTarget), t == null || t(a);
|
|
32
|
+
}
|
|
33
|
+
}));
|
|
34
|
+
v.displayName = "NativeInput";
|
|
35
|
+
const k = (e) => {
|
|
36
|
+
const { label: n } = h(), { t } = C(), [s, r] = L("");
|
|
37
|
+
p(() => {
|
|
38
|
+
e && r("");
|
|
39
|
+
}, [
|
|
40
|
+
e
|
|
41
|
+
]);
|
|
42
|
+
const a = y(() => {
|
|
43
|
+
r(t("field.a11y.cleared-announcement", {
|
|
44
|
+
fieldLabel: n ?? ""
|
|
45
|
+
}));
|
|
46
|
+
}, [
|
|
47
|
+
n,
|
|
48
|
+
t
|
|
49
|
+
]);
|
|
50
|
+
return {
|
|
51
|
+
announcement: s,
|
|
52
|
+
announceCleared: a
|
|
53
|
+
};
|
|
54
|
+
}, P = (e) => /* @__PURE__ */ o.createElement("svg", {
|
|
55
|
+
viewBox: "0 0 24 24",
|
|
56
|
+
width: 24,
|
|
57
|
+
height: 24,
|
|
58
|
+
fill: "currentColor",
|
|
59
|
+
"aria-hidden": "true",
|
|
60
|
+
...e
|
|
61
|
+
}, /* @__PURE__ */ o.createElement("path", {
|
|
62
|
+
d: "M7.7,7 L12,11.3 L16.3,7 L17,7.7 L12.7,12 L17,16.3 L16.3,17 L12,12.7 L7.7,17 L7,16.3 L11.3,12 L7,7.7 Z"
|
|
63
|
+
}));
|
|
64
|
+
export {
|
|
65
|
+
P as D,
|
|
66
|
+
I as N,
|
|
67
|
+
v as a,
|
|
68
|
+
k as u
|
|
69
|
+
};
|
|
@@ -3,20 +3,20 @@ import { RicosViewer as ne } from "@wix/ricos/viewer";
|
|
|
3
3
|
import L from "classnames";
|
|
4
4
|
import { ToggleButtonGroup as oe, TextField as re, Group as se, ToggleButton as ae, Input as le } from "react-aria-components";
|
|
5
5
|
import { debounce as ce } from "ts-debounce";
|
|
6
|
-
import { b0 as K, bN as P, bK as T, bY as ie, bF as q, bP as ue, X as me, am as pe, ax as de, M as Ie, I as Ce, ay as Ee } from "./form-
|
|
6
|
+
import { b0 as K, bN as P, bK as T, bY as ie, bF as q, bP as ue, X as me, am as pe, ax as de, M as Ie, I as Ce, ay as Ee } from "./form-Dnq7LxSl.js";
|
|
7
7
|
import { f as O, a as N } from "./find-child-C60k4CxG.js";
|
|
8
8
|
import { a as w } from "./format-currency-BwShJ9vM.js";
|
|
9
|
-
import { D as fe, E as Oe } from "./field-error-headless-
|
|
10
|
-
import { L as be } from "./field-label-headless-
|
|
9
|
+
import { D as fe, E as Oe } from "./field-error-headless-BIzDViIC.js";
|
|
10
|
+
import { L as be } from "./field-label-headless-D_ubs4wp.js";
|
|
11
11
|
import { F as ye } from "./fieldset-headless-CD3fds9J.js";
|
|
12
12
|
import { a as _e, b as he } from "./numeric-input-utils-CuBMi4-a.js";
|
|
13
13
|
import { g as Fe } from "./payment-field-utils-DobiK5Xh.js";
|
|
14
14
|
import { u as ge } from "./use-synced-display-value-DcAxdn3M.js";
|
|
15
15
|
import { E as Ne } from "./error-icon-hZxQ6DEy.js";
|
|
16
|
-
import { s as v } from "./field-rac.module-
|
|
16
|
+
import { s as v } from "./field-rac.module-D0QzJXUv.js";
|
|
17
17
|
import { o as De } from "./options-rac.module-_THNq6Qq.js";
|
|
18
|
-
import { u as Se } from "./use-element-state-class-name-
|
|
19
|
-
import { u as Le } from "./use-text-input-class-name-
|
|
18
|
+
import { u as Se } from "./use-element-state-class-name-Cpdx_lRm.js";
|
|
19
|
+
import { u as Le } from "./use-text-input-class-name-CL-b4_Ph.js";
|
|
20
20
|
function ve(e, t) {
|
|
21
21
|
return e.reduce((o, r) => (o[r[t]] = r, o), {});
|
|
22
22
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { RicosViewer as c } from "@wix/ricos/viewer";
|
|
2
|
+
import t from "classnames";
|
|
3
|
+
import e from "react";
|
|
4
|
+
import { u as n, D as a } from "./use-dropdown-trigger-class-name-BvRCjLXG.js";
|
|
5
|
+
import { C as m } from "./chevron-down-icon-CcpVm6B-.js";
|
|
6
|
+
import { E as i } from "./error-icon-hZxQ6DEy.js";
|
|
7
|
+
import { H as p } from "./custom-focus-class-_483Pkwp.js";
|
|
8
|
+
import { s as r } from "./field-rac.module-D0QzJXUv.js";
|
|
9
|
+
import { X as E, am as D, J as N, M as S, I as _ } from "./form-Dnq7LxSl.js";
|
|
10
|
+
import { u as O } from "./use-dropdown-option-class-name-CyC7rDCE.js";
|
|
11
|
+
const d = ({ content: o, locale: s }) => /* @__PURE__ */ e.createElement(c, {
|
|
12
|
+
content: o,
|
|
13
|
+
locale: s
|
|
14
|
+
}), v = () => {
|
|
15
|
+
const o = n(r.dropdownTrigger), s = n(r.nativeInput, r.nativeSelect), l = O(p);
|
|
16
|
+
return /* @__PURE__ */ e.createElement(a, null, /* @__PURE__ */ e.createElement(a.Label, {
|
|
17
|
+
className: t(E, r.label)
|
|
18
|
+
}, /* @__PURE__ */ e.createElement(a.Label.Required, {
|
|
19
|
+
className: t(D, r.requiredMark)
|
|
20
|
+
})), /* @__PURE__ */ e.createElement(a.Trigger, {
|
|
21
|
+
className: o
|
|
22
|
+
}, /* @__PURE__ */ e.createElement(m, {
|
|
23
|
+
className: r.dropdownIcon
|
|
24
|
+
})), /* @__PURE__ */ e.createElement(a.NativeSelect, {
|
|
25
|
+
className: s
|
|
26
|
+
}, /* @__PURE__ */ e.createElement(m, {
|
|
27
|
+
className: t(r.dropdownIcon, r.nativeDecoration)
|
|
28
|
+
})), /* @__PURE__ */ e.createElement(a.Options, {
|
|
29
|
+
className: t(N, r.selectPopover, r.dropdownPopover)
|
|
30
|
+
}, /* @__PURE__ */ e.createElement(a.Options.Option, {
|
|
31
|
+
className: l
|
|
32
|
+
})), /* @__PURE__ */ e.createElement(a.Error, {
|
|
33
|
+
className: t(S, r.error)
|
|
34
|
+
}, /* @__PURE__ */ e.createElement(i, null), /* @__PURE__ */ e.createElement(a.Error.Text, null)), /* @__PURE__ */ e.createElement(a.Description, {
|
|
35
|
+
className: t(_, r.description)
|
|
36
|
+
}, d));
|
|
37
|
+
};
|
|
38
|
+
export {
|
|
39
|
+
v as D
|
|
40
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import o, { useMemo as n } from "react";
|
|
2
|
-
import { bN as a, bY as c, aN as i } from "./form-
|
|
3
|
-
import { C as l } from "./checkbox-field-rac-
|
|
2
|
+
import { bN as a, bY as c, aN as i } from "./form-Dnq7LxSl.js";
|
|
3
|
+
import { C as l } from "./checkbox-field-rac-NvQt_qcN.js";
|
|
4
4
|
const p = (e) => ({
|
|
5
5
|
nodes: [
|
|
6
6
|
{
|
package/dist/component/{email-input-field-rac-HmrdF3g7.js → email-input-field-rac-BXoueQNf.js}
RENAMED
|
@@ -2,7 +2,7 @@ import { RicosViewer as ie } from "@wix/ricos/viewer";
|
|
|
2
2
|
import j from "classnames";
|
|
3
3
|
import u, { createContext as z, useContext as Z, createElement as H, isValidElement as B, cloneElement as w, useState as le, useCallback as me, useEffect as ue } from "react";
|
|
4
4
|
import { TextField as pe } from "react-aria-components";
|
|
5
|
-
import { bK as fe, bY as ge, bI as ve, d as ye, bN as Ee, bR as de, bL as be, aL as Se, X as Oe, am as he, M as Ie, I as Ne, aw as Ae } from "./form-
|
|
5
|
+
import { bK as fe, bY as ge, bI as ve, d as ye, bN as Ee, bR as de, bL as be, aL as Se, X as Oe, am as he, M as Ie, I as Ne, aw as Ae } from "./form-Dnq7LxSl.js";
|
|
6
6
|
import { f as C } from "./find-child-C60k4CxG.js";
|
|
7
7
|
import ee from "@babel/runtime/helpers/objectWithoutProperties";
|
|
8
8
|
import L from "@babel/runtime/helpers/typeof";
|
|
@@ -10,10 +10,10 @@ import Fe from "@babel/runtime/helpers/defineProperty";
|
|
|
10
10
|
import ke from "html-parse-stringify";
|
|
11
11
|
import Te from "@babel/runtime/helpers/classCallCheck";
|
|
12
12
|
import xe from "@babel/runtime/helpers/createClass";
|
|
13
|
-
import { T as U } from "./text-input-headless-
|
|
13
|
+
import { T as U } from "./text-input-headless-B-DwvpWg.js";
|
|
14
14
|
import { E as De } from "./error-icon-hZxQ6DEy.js";
|
|
15
|
-
import { s as R } from "./field-rac.module-
|
|
16
|
-
import { u as je } from "./use-text-input-class-name-
|
|
15
|
+
import { s as R } from "./field-rac.module-D0QzJXUv.js";
|
|
16
|
+
import { u as je } from "./use-text-input-class-name-CL-b4_Ph.js";
|
|
17
17
|
var Ce = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Le = {
|
|
18
18
|
"&": "&",
|
|
19
19
|
"&": "&",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import t, { useState as q, useMemo as T, useCallback as B, useRef as M } from "react";
|
|
2
2
|
import D from "classnames";
|
|
3
3
|
import { NumberField as z, CheckboxField as Q, CheckboxButton as W, Group as Y, Input as Z, Button as k } from "react-aria-components";
|
|
4
|
-
import { bT as j, bU as w, bJ as U, bO as $, b8 as ee, bN as O, bK as H, bP as K, a$ as te, aP as se, ah as ne, aj as oe, al as re, ai as ae, ak as le } from "./form-
|
|
4
|
+
import { bT as j, bU as w, bJ as U, bO as $, b8 as ee, bN as O, bK as H, bP as K, a$ as te, aP as se, ah as ne, aj as oe, al as re, ai as ae, ak as le } from "./form-Dnq7LxSl.js";
|
|
5
5
|
import { f as C, a as R } from "./find-child-C60k4CxG.js";
|
|
6
|
-
import { L as ce } from "./field-label-headless-
|
|
6
|
+
import { L as ce } from "./field-label-headless-D_ubs4wp.js";
|
|
7
7
|
import { S as ue } from "./selection-indicator-XQ8MYHUQ.js";
|
|
8
8
|
import { u as me } from "./use-invoke-callback-UH73A_J3.js";
|
|
9
9
|
import { C as P } from "./chevron-down-icon-CcpVm6B-.js";
|
|
10
|
-
import { C as ie } from "./checkbox-indicator-module-classes-
|
|
11
|
-
import { s as x } from "./field-rac.module-
|
|
12
|
-
import { u as de } from "./use-element-state-class-name-
|
|
13
|
-
import { u as Ee } from "./use-hoverable-input-class-name-
|
|
10
|
+
import { C as ie } from "./checkbox-indicator-module-classes-Cozvs_kk.js";
|
|
11
|
+
import { s as x } from "./field-rac.module-D0QzJXUv.js";
|
|
12
|
+
import { u as de } from "./use-element-state-class-name-Cpdx_lRm.js";
|
|
13
|
+
import { u as Ee } from "./use-hoverable-input-class-name-zEk2Vnct.js";
|
|
14
14
|
const pe = [], be = ({ id: e, fields: s, layout: a, value: o, onChange: n, errors: l = pe, validation: c }) => {
|
|
15
15
|
const [i, E] = q((o == null ? void 0 : o.length) || 0), u = T(() => o ?? [], [
|
|
16
16
|
o
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import t from "react";
|
|
2
2
|
import { RicosViewer as m } from "@wix/ricos/viewer";
|
|
3
3
|
import a from "classnames";
|
|
4
|
-
import { a as s, s as n, R as c } from "./radio-button-module-classes-
|
|
4
|
+
import { a as s, s as n, R as c } from "./radio-button-module-classes-BtiG6yqb.js";
|
|
5
5
|
import { E as i } from "./error-icon-hZxQ6DEy.js";
|
|
6
|
-
import { s as o } from "./field-rac.module-
|
|
7
|
-
import { X as E, am as p, ac as R, ad as O, M as _, I as L, ae as I } from "./form-
|
|
6
|
+
import { s as o } from "./field-rac.module-D0QzJXUv.js";
|
|
7
|
+
import { X as E, am as p, ac as R, ad as O, M as _, I as L, ae as I } from "./form-Dnq7LxSl.js";
|
|
8
8
|
import { o as D } from "./options-rac.module-_THNq6Qq.js";
|
|
9
|
-
import { u as S } from "./use-element-state-class-name-
|
|
9
|
+
import { u as S } from "./use-element-state-class-name-Cpdx_lRm.js";
|
|
10
10
|
const e = ({ children: r, className: l }) => /* @__PURE__ */ t.createElement(s, {
|
|
11
11
|
className: l
|
|
12
12
|
}, r);
|
package/dist/component/{field-error-headless-B3U_Gymg.js → field-error-headless-BIzDViIC.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import t, { createContext as m, useContext as M } from "react";
|
|
2
|
-
import { bN as c, bK as i, bF as b, bl as f, bm as x } from "./form-
|
|
2
|
+
import { bN as c, bK as i, bF as b, bl as f, bm as x } from "./form-Dnq7LxSl.js";
|
|
3
3
|
const H = ({ className: r, children: e }) => {
|
|
4
4
|
const { description: s, target: o } = c(), { descriptionId: a } = i(), { language: n } = b();
|
|
5
5
|
return s ? /* @__PURE__ */ t.createElement("div", {
|
package/dist/component/{field-label-headless-Cyy9_5qJ.js → field-label-headless-D_ubs4wp.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bN as m, b1 as d, b2 as p, bK as D, bY as N } from "./form-
|
|
1
|
+
import { bN as m, b1 as d, b2 as p, bK as D, bY as N } from "./form-Dnq7LxSl.js";
|
|
2
2
|
import l from "react";
|
|
3
3
|
import { f as L } from "./find-child-C60k4CxG.js";
|
|
4
4
|
import { sdk as g } from "@wix/image-kit";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const e = "_label_1vzyb_1", t = "_requiredMark_1vzyb_11", o = "_input_1vzyb_16", n = "_inputGroup_1vzyb_17", c = "_inputHover_1vzyb_70", _ = "_nativeInput_1vzyb_71", i = "_innerInput_1vzyb_149", r = "_dropdownTrigger_1vzyb_200", v = "_dropdownIcon_1vzyb_210", p = "_dropdownPopover_1vzyb_229", s = "_selectPopover_1vzyb_235", a = "_selectOption_1vzyb_262", b = "_selectOptionHover_1vzyb_285", d = "_selectOptionSelected_1vzyb_289", l = "_selectOptionWithoutFocusRing_1vzyb_293", u = "_description_1vzyb_299", y = "_error_1vzyb_320", z = "_checkbox_1vzyb_339", I = "_checkboxInput_1vzyb_362", h = "_checkboxInputSelected_1vzyb_401", g = "_checkboxInputHover_1vzyb_405", k = "_nativePlaceholder_1vzyb_492", x = "_nativeDecoration_1vzyb_498", O = "_nativeClearButton_1vzyb_504", S = "_nativeSelect_1vzyb_633", w = "_nativeWithLeadingIcon_1vzyb_677", H = "_nativeLeadingIcon_1vzyb_681", P = {
|
|
2
|
+
label: e,
|
|
3
|
+
requiredMark: t,
|
|
4
|
+
input: o,
|
|
5
|
+
inputGroup: n,
|
|
6
|
+
inputHover: c,
|
|
7
|
+
nativeInput: _,
|
|
8
|
+
innerInput: i,
|
|
9
|
+
dropdownTrigger: r,
|
|
10
|
+
dropdownIcon: v,
|
|
11
|
+
dropdownPopover: p,
|
|
12
|
+
selectPopover: s,
|
|
13
|
+
selectOption: a,
|
|
14
|
+
selectOptionHover: b,
|
|
15
|
+
selectOptionSelected: d,
|
|
16
|
+
selectOptionWithoutFocusRing: l,
|
|
17
|
+
description: u,
|
|
18
|
+
error: y,
|
|
19
|
+
checkbox: z,
|
|
20
|
+
checkboxInput: I,
|
|
21
|
+
checkboxInputSelected: h,
|
|
22
|
+
checkboxInputHover: g,
|
|
23
|
+
nativePlaceholder: k,
|
|
24
|
+
nativeDecoration: x,
|
|
25
|
+
nativeClearButton: O,
|
|
26
|
+
nativeSelect: S,
|
|
27
|
+
nativeWithLeadingIcon: w,
|
|
28
|
+
nativeLeadingIcon: H
|
|
29
|
+
};
|
|
30
|
+
export {
|
|
31
|
+
P as s
|
|
32
|
+
};
|
|
@@ -2,14 +2,14 @@ import t, { useState as $, useRef as H, useMemo as pe, useEffect as ne, useCallb
|
|
|
2
2
|
import Le from "@wix/editor-react-components/AnimatedIcon";
|
|
3
3
|
import { RicosViewer as he } from "@wix/ricos/viewer";
|
|
4
4
|
import A from "classnames";
|
|
5
|
-
import { bJ as Ce, bY as re, bS as xe, aO as Ne, bV as ve, aH as ie, bX as De, bK as fe, bN as V, bP as ye, bH as Se, bG as Te, X as Be, am as Ie, b as we, P as Ae, Q as ce, R as Re, N as ue, M as de, I as Ze, O as Me, f as te } from "./form-
|
|
5
|
+
import { bJ as Ce, bY as re, bS as xe, aO as Ne, bV as ve, aH as ie, bX as De, bK as fe, bN as V, bP as ye, bH as Se, bG as Te, X as Be, am as Ie, b as we, P as Ae, Q as ce, R as Re, N as ue, M as de, I as Ze, O as Me, f as te } from "./form-Dnq7LxSl.js";
|
|
6
6
|
import { E as Oe } from "./error-icon-hZxQ6DEy.js";
|
|
7
|
-
import { s as Y } from "./field-rac.module-
|
|
8
|
-
import { u as me } from "./use-element-state-class-name-
|
|
7
|
+
import { s as Y } from "./field-rac.module-D0QzJXUv.js";
|
|
8
|
+
import { u as me } from "./use-element-state-class-name-Cpdx_lRm.js";
|
|
9
9
|
import { DropZone as Ue, Text as ke, FileTrigger as Pe, Button as Ee, ProgressBar as He, VisuallyHidden as ze } from "react-aria-components";
|
|
10
10
|
import { f as h, a as Q } from "./find-child-C60k4CxG.js";
|
|
11
|
-
import { b as Ve, a as Ke, D as je, E as qe } from "./field-error-headless-
|
|
12
|
-
import { L as Ye } from "./field-label-headless-
|
|
11
|
+
import { b as Ve, a as Ke, D as je, E as qe } from "./field-error-headless-BIzDViIC.js";
|
|
12
|
+
import { L as Ye } from "./field-label-headless-D_ubs4wp.js";
|
|
13
13
|
const $e = {
|
|
14
14
|
Video: "video/*",
|
|
15
15
|
Image: "image/*",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import t, { useMemo as _ } from "react";
|
|
2
2
|
import { RicosViewer as A } from "@wix/ricos/viewer";
|
|
3
3
|
import u from "classnames";
|
|
4
|
-
import { bN as C, bF as I, bK as P, X as S, S as N, I as x } from "./form-
|
|
4
|
+
import { bN as C, bF as I, bK as P, X as S, S as N, I as x } from "./form-Dnq7LxSl.js";
|
|
5
5
|
import { f as c, a as R } from "./find-child-C60k4CxG.js";
|
|
6
6
|
import { f as O } from "./format-currency-BwShJ9vM.js";
|
|
7
|
-
import { D as v, E as M } from "./field-error-headless-
|
|
8
|
-
import { L as g } from "./field-label-headless-
|
|
9
|
-
import { s as F } from "./field-rac.module-
|
|
7
|
+
import { D as v, E as M } from "./field-error-headless-BIzDViIC.js";
|
|
8
|
+
import { L as g } from "./field-label-headless-D_ubs4wp.js";
|
|
9
|
+
import { s as F } from "./field-rac.module-D0QzJXUv.js";
|
|
10
10
|
const e = ({ children: r }) => {
|
|
11
11
|
var p;
|
|
12
12
|
const { id: a, validation: n, FieldLayout: l } = C(), { currency: o, regionalFormat: m } = I(), s = _(() => {
|