@wix/form-elements 1.83.0 → 1.85.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-ky2cE6hE.js → appointment-rac-CCaJ6P5r.js} +78 -78
- package/dist/component/{bookings-address-rac-Bxc6H9Pb.js → bookings-address-rac-DEt9SGPG.js} +1 -1
- package/dist/component/{bookings-email-rac-Dw1Xttdx.js → bookings-email-rac-BydOvOUZ.js} +1 -1
- package/dist/component/{bookings-first-name-rac-dgHOrJaJ.js → bookings-first-name-rac-BoQki0Pb.js} +1 -1
- package/dist/component/{bookings-header-rac-Bl9RYGWo.js → bookings-header-rac-DK-EcXrk.js} +1 -1
- package/dist/component/{bookings-last-name-rac-BeqYpbZq.js → bookings-last-name-rac-BuGIyd43.js} +1 -1
- package/dist/component/{bookings-login-bar-rac-C1k6o0A5.js → bookings-login-bar-rac-Cr500ehb.js} +6 -6
- package/dist/component/{bookings-phone-rac-ByhaJrwE.js → bookings-phone-rac-Bq2zdMxo.js} +1 -1
- package/dist/component/{bookings-rich-text-rac-Mw5-ZiIn.js → bookings-rich-text-rac-DRmfusX9.js} +1 -1
- package/dist/component/{checkbox-field-rac-CMEI5t4Y.js → checkbox-field-rac-b9mcZlMP.js} +5 -5
- package/dist/component/{checkbox-group-field-headless-CP21R7_s.js → checkbox-group-field-headless-BSNhdCfs.js} +30 -30
- package/dist/component/{checkbox-group-field-rac-DGOZjSIY.js → checkbox-group-field-rac-BObfui8r.js} +6 -6
- package/dist/component/{checkbox-group-rac-CEGtshrl.js → checkbox-group-rac-CBNMgBHU.js} +1 -1
- package/dist/component/{checkbox-rac-DCnRh1WF.js → checkbox-rac-DXh-i6Ot.js} +1 -1
- package/dist/component/{contacts-address-rac-CZb_5N5o.js → contacts-address-rac-BDQLFakc.js} +1 -1
- package/dist/component/{contacts-birthdate-rac-DZlwSyp5.js → contacts-birthdate-rac-BUMVVVfb.js} +1 -1
- package/dist/component/{contacts-company-rac-BNEF6LjB.js → contacts-company-rac-CidGcaA3.js} +1 -1
- package/dist/component/{contacts-email-rac-CAgk_zfN.js → contacts-email-rac-GePAhKDQ.js} +1 -1
- package/dist/component/{contacts-first-name-rac-DyTVcmrX.js → contacts-first-name-rac-kw5sIBEE.js} +1 -1
- package/dist/component/{contacts-last-name-rac-DrFcDcGr.js → contacts-last-name-rac-DzoZKs1n.js} +1 -1
- package/dist/component/{contacts-phone-rac-UAPALlFx.js → contacts-phone-rac-CxVW4Zp0.js} +1 -1
- package/dist/component/{contacts-position-rac-CJ1M4kJJ.js → contacts-position-rac-CXFxlSty.js} +1 -1
- package/dist/component/{contacts-subscribe-rac-1cEd5s1l.js → contacts-subscribe-rac-kpRGeELB.js} +2 -2
- package/dist/component/{contacts-tax-id-rac-CqnO__fd.js → contacts-tax-id-rac-B5qw-rtP.js} +1 -1
- package/dist/component/{date-availability-COM2EaRy.js → date-availability-BCDMem-_.js} +1 -1
- package/dist/component/{date-input-field-rac-CuuWbw42.js → date-input-field-rac-BLDZ4_Mw.js} +43 -43
- package/dist/component/{date-input-rac-DfVmj9Gc.js → date-input-rac-B1WGYKOp.js} +1 -1
- package/dist/component/{date-picker-field-rac-BFCZik9T.js → date-picker-field-rac-BNd8aZ0c.js} +20 -20
- package/dist/component/{date-picker-rac-C2vajJpb.js → date-picker-rac-ItWxSngw.js} +1 -1
- package/dist/component/date-time-input-field-rac-Ch8z0NRT.js +423 -0
- package/dist/component/{date-time-input-rac-D4FEieQz.js → date-time-input-rac-FebIovNN.js} +1 -1
- package/dist/component/{dext-checkbox-group-rac-BDBBTNNo.js → dext-checkbox-group-rac-BXYHMQ3R.js} +2 -2
- package/dist/component/{dext-checkbox-rac-DAAhNboR.js → dext-checkbox-rac-C78ScIGY.js} +1 -1
- package/dist/component/{dext-date-picker-rac-me7XbR5z.js → dext-date-picker-rac-BptT4fhe.js} +1 -1
- package/dist/component/{dext-date-time-input-rac-DLsUl2Eg.js → dext-date-time-input-rac-RWJ51IjA.js} +1 -1
- package/dist/component/{dext-dropdown-rac-C3vVIRir.js → dext-dropdown-rac-DZDOtSIG.js} +1 -1
- package/dist/component/{dext-email-rac-a8qXYTLP.js → dext-email-rac-CJceqZsw.js} +1 -1
- package/dist/component/{dext-number-input-rac-DdDnL_fX.js → dext-number-input-rac-buSXk49E.js} +1 -1
- package/dist/component/{dext-phone-rac-ByaxbHpO.js → dext-phone-rac-CeHUOWck.js} +1 -1
- package/dist/component/{dext-radio-group-rac-Bzubt7Uy.js → dext-radio-group-rac-CNyNSfeP.js} +2 -2
- package/dist/component/{dext-rating-input-rac-BZ1EvOkG.js → dext-rating-input-rac-mmdh9tYT.js} +1 -1
- package/dist/component/{dext-tags-rac-C_R89noV.js → dext-tags-rac-CqJ4iv-V.js} +2 -2
- package/dist/component/{dext-text-area-rac-DRpYeQ-K.js → dext-text-area-rac-P1EzLNDE.js} +1 -1
- package/dist/component/{dext-text-input-rac-D_RtbQQ-.js → dext-text-input-rac-Dtz4ZLj7.js} +1 -1
- package/dist/component/{dext-url-input-rac-BSSjSbIo.js → dext-url-input-rac-DUVbW2yl.js} +1 -1
- package/dist/component/{donation-rac-De0KyyGR.js → donation-rac-Nn7z8_to.js} +43 -43
- package/dist/component/{dropdown-field-headless-DNhnTDlD.js → dropdown-field-headless-CT4uSCPR.js} +11 -11
- package/dist/component/{dropdown-field-rac-Bq_FNv9a.js → dropdown-field-rac-CUiyFJi_.js} +5 -5
- package/dist/component/{dropdown-rac-0UIyqF15.js → dropdown-rac-Bs_PVy1q.js} +1 -1
- package/dist/component/{ecom-address-rac-7IVbvs3J.js → ecom-address-rac-BTXwDlMM.js} +1 -1
- package/dist/component/{ecom-subscription-checkbox-rac-DilgIpiG.js → ecom-subscription-checkbox-rac-CGI84A37.js} +3 -3
- package/dist/component/{email-input-field-rac-CHJ6RSGy.js → email-input-field-rac-DKD7FsQX.js} +54 -54
- package/dist/component/{events-repeater-rac-v18FFLC7.js → events-repeater-rac-B7yIRlyt.js} +30 -30
- package/dist/component/{events-rsvp-rac-BpGLrxsf.js → events-rsvp-rac-C7FOuFmH.js} +3 -3
- package/dist/component/{field-error-headless-DAy-1oAQ.js → field-error-headless-BHTkMu35.js} +1 -1
- package/dist/component/{field-label-headless-BWxHmO0c.js → field-label-headless-D3DwX65k.js} +7 -7
- package/dist/component/{file-upload-rac-BfWN27JT.js → file-upload-rac-B3n_LYYK.js} +85 -85
- package/dist/component/{fixed-payment-rac-Bha61SB4.js → fixed-payment-rac-C6jsiS4-.js} +12 -12
- package/dist/component/{form-D0eeH0lX.js → form-BkmOXzqo.js} +2510 -2487
- package/dist/component/{form-element-classes-Ct1UaxuQ.js → form-element-classes-BsXkFtp2.js} +90 -57
- package/dist/component/form.css +1 -1
- package/dist/component/form.js +1 -1
- package/dist/component/{header-field-rac-uNzfDMbv.js → header-field-rac-FG9EP9--.js} +5 -5
- package/dist/component/{header-rac-B91q4fHl.js → header-rac-DZZgqFjW.js} +1 -1
- package/dist/component/{image-choice-rac-BKcnNGPp.js → image-choice-rac-CXgE6z_f.js} +42 -42
- package/dist/component/{index-BWHymomM.js → index-CSwTHDCX.js} +2 -2
- package/dist/component/{index-BvzLLTKc.js → index-DKV2sNhD.js} +4 -4
- package/dist/component/{isObjectLike-D7Mkqoju.js → isObjectLike-DYfHbEQ3.js} +1 -1
- package/dist/component/{multiline-address-field-rac-Avd9Vlv1.js → multiline-address-field-rac-DnCOKW8F.js} +128 -128
- package/dist/component/{multiline-address-rac-BwQOoejw.js → multiline-address-rac-BZRlzLZq.js} +1 -1
- package/dist/component/{number-input-field-rac-CRqPXDl0.js → number-input-field-rac-BOJNJ50c.js} +30 -30
- package/dist/component/{number-input-rac-0Y8K4e6K.js → number-input-rac-D8ZcIPwq.js} +1 -1
- package/dist/component/{password-rac-C7F6sEB3.js → password-rac-T9PR5j2v.js} +19 -19
- package/dist/component/{payment-input-rac-CTJr4QTK.js → payment-input-rac-C9N3LZOZ.js} +17 -17
- package/dist/component/{phone-input-field-rac-jjSmYCI1.js → phone-input-field-rac-BxUiCV5Z.js} +40 -40
- package/dist/component/{phone-rac-BwSnmgYF.js → phone-rac-BjKFrr86.js} +1 -1
- package/dist/component/{product-list-rac-CTN2wvHE.js → product-list-rac-BG-VK_Hz.js} +41 -41
- package/dist/component/{quiz-radio-group-rac-CZHEDJxr.js → quiz-radio-group-rac-B1x7Yatu.js} +2 -2
- package/dist/component/{radio-button-module-classes-DCz6XS1X.js → radio-button-module-classes-BXWANbga.js} +7 -7
- package/dist/component/{radio-group-field-rac-60MF_9DO.js → radio-group-field-rac-DmEOydAr.js} +4 -4
- package/dist/component/{radio-group-rac-Dqo-Earp.js → radio-group-rac-DAcU_lkj.js} +1 -1
- package/dist/component/{rating-input-field-rac-CzWTwWT8.js → rating-input-field-rac-Cazqeqzw.js} +16 -16
- package/dist/component/{rating-input-rac-Nq4tll2Z.js → rating-input-rac-KJ8FnJTj.js} +1 -1
- package/dist/component/{rich-content-rac.module-sUUSbcSy.js → rich-content-rac.module-PZgMV2M7.js} +1 -1
- package/dist/component/{rich-text-field-rac-BvLfS4I5.js → rich-text-field-rac-DNEeY_m8.js} +3 -3
- package/dist/component/{rich-text-rac-BWkTbWk3.js → rich-text-rac-g9upYD25.js} +1 -1
- package/dist/component/{service-dropdown-rac-DZ3USe7_.js → service-dropdown-rac-CmmWetDa.js} +20 -20
- package/dist/component/{services-multi-choice-rac-D-og7fMo.js → services-multi-choice-rac-D0PJNlq2.js} +7 -7
- package/dist/component/{signature-rac-D3c4fnvN.js → signature-rac-Q4G3uEhw.js} +41 -41
- package/dist/component/submit-button-rac-DdLPGJ6v.js +141 -0
- package/dist/component/{tags-field-rac-DXmZBcpO.js → tags-field-rac-PZ8Vfmsn.js} +72 -72
- package/dist/component/{tags-rac-CoXWx42D.js → tags-rac-DLjeR5G1.js} +1 -1
- package/dist/component/{text-area-field-rac-Cy0Mr29Z.js → text-area-field-rac-BNVK0R0Z.js} +25 -25
- package/dist/component/{text-area-rac-C3Mjmgpa.js → text-area-rac-CNOLe3Vx.js} +1 -1
- package/dist/component/{text-input-field-rac-D1TB9B_M.js → text-input-field-rac-DjdW6TCf.js} +3 -3
- package/dist/component/{text-input-headless-BUa59Rgn.js → text-input-headless-DFWQwZAN.js} +10 -10
- package/dist/component/{text-input-rac-BQ3Z9ws4.js → text-input-rac-GXPtQEjT.js} +1 -1
- package/dist/component/time-input-rac-B_g-erqu.js +159 -0
- package/dist/component/{url-input-field-rac-DINXfZdf.js → url-input-field-rac-CXWYeQLf.js} +19 -19
- package/dist/component/{url-input-rac-Ch9eTIF_.js → url-input-rac-DX-vjyXj.js} +1 -1
- package/dist/component/use-element-state-class-name-lZnP6sE6.js +22 -0
- package/dist/component/{use-service-options-base-BJZhzDyO.js → use-service-options-base-BJE86Rzo.js} +5 -5
- package/dist/component/{use-text-input-class-name-8gMUWeCb.js → use-text-input-class-name-B-GYaltW.js} +5 -5
- package/dist/form.d.ts +58 -2
- package/package.json +5 -3
- package/dist/component/date-time-input-field-rac-B7ne2emo.js +0 -423
- package/dist/component/submit-button-rac-Dn_BGt1n.js +0 -116
- package/dist/component/time-input-rac-Wi0oD5YF.js +0 -155
- package/dist/component/use-element-state-class-name-j8W1zbdG.js +0 -20
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { RicosViewer as N } from "@wix/ricos/viewer";
|
|
2
|
-
import
|
|
3
|
-
import r, { useCallback as
|
|
4
|
-
import { TextField as
|
|
5
|
-
import {
|
|
2
|
+
import o from "classnames";
|
|
3
|
+
import r, { useCallback as T, useRef as y } from "react";
|
|
4
|
+
import { TextField as O, TextArea as S } from "react-aria-components";
|
|
5
|
+
import { aj as p, ag as d, al as x } from "./form-BkmOXzqo.js";
|
|
6
6
|
import { f as i } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as g, E as h } from "./field-error-headless-
|
|
8
|
-
import { L as v } from "./field-label-headless-
|
|
7
|
+
import { D as g, E as h } from "./field-error-headless-BHTkMu35.js";
|
|
8
|
+
import { L as v } from "./field-label-headless-D3DwX65k.js";
|
|
9
9
|
import { E as M } from "./error-icon-hZxQ6DEy.js";
|
|
10
10
|
import { s as c } from "./field-rac.module-D06m9T9x.js";
|
|
11
|
-
import { y as q,
|
|
12
|
-
import { u as V } from "./use-text-input-class-name-
|
|
11
|
+
import { y as q, P as B, o as P, i as k } from "./form-element-classes-BsXkFtp2.js";
|
|
12
|
+
import { u as V } from "./use-text-input-class-name-B-GYaltW.js";
|
|
13
13
|
const e = ({ children: t }) => {
|
|
14
|
-
const { id: a, value: m, onChange: s, disabled: u, required: n, readOnly:
|
|
14
|
+
const { id: a, value: m, onChange: s, disabled: u, required: n, readOnly: l, onBlur: E, onFocus: f, FieldLayout: I, hasError: b } = p(), { labelId: F } = d(), L = T((A) => {
|
|
15
15
|
s(A);
|
|
16
16
|
}, [
|
|
17
17
|
s
|
|
@@ -19,12 +19,12 @@ const e = ({ children: t }) => {
|
|
|
19
19
|
return /* @__PURE__ */ r.createElement(I, {
|
|
20
20
|
fieldId: a,
|
|
21
21
|
renderLabel: () => R,
|
|
22
|
-
renderInput: () => /* @__PURE__ */ r.createElement(
|
|
22
|
+
renderInput: () => /* @__PURE__ */ r.createElement(O, {
|
|
23
23
|
"aria-labelledby": F,
|
|
24
24
|
value: m ?? "",
|
|
25
25
|
onChange: L,
|
|
26
26
|
isDisabled: u,
|
|
27
|
-
isReadOnly:
|
|
27
|
+
isReadOnly: l,
|
|
28
28
|
isRequired: n,
|
|
29
29
|
isInvalid: b,
|
|
30
30
|
onBlur: E,
|
|
@@ -32,11 +32,11 @@ const e = ({ children: t }) => {
|
|
|
32
32
|
}, D),
|
|
33
33
|
renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, C, _)
|
|
34
34
|
});
|
|
35
|
-
},
|
|
36
|
-
const { inputId: a, ariaDescribedBy: m } = d(), { id: s, placeholder: u } = p(), n =
|
|
35
|
+
}, j = ({ className: t }) => {
|
|
36
|
+
const { inputId: a, ariaDescribedBy: m } = d(), { id: s, placeholder: u } = p(), n = y(null);
|
|
37
37
|
return x(() => {
|
|
38
|
-
var
|
|
39
|
-
(
|
|
38
|
+
var l;
|
|
39
|
+
(l = n.current) == null || l.focus();
|
|
40
40
|
}, s), /* @__PURE__ */ r.createElement(S, {
|
|
41
41
|
ref: n,
|
|
42
42
|
id: a,
|
|
@@ -46,27 +46,27 @@ const e = ({ children: t }) => {
|
|
|
46
46
|
});
|
|
47
47
|
};
|
|
48
48
|
e.Label = v;
|
|
49
|
-
e.Input =
|
|
49
|
+
e.Input = j;
|
|
50
50
|
e.Description = g;
|
|
51
51
|
e.Error = h;
|
|
52
|
-
const
|
|
53
|
-
input:
|
|
54
|
-
},
|
|
52
|
+
const w = "_input_ug5v8_1", Q = {
|
|
53
|
+
input: w
|
|
54
|
+
}, U = ({ content: t, locale: a }) => /* @__PURE__ */ r.createElement(N, {
|
|
55
55
|
content: t,
|
|
56
56
|
locale: a
|
|
57
57
|
}), te = () => {
|
|
58
|
-
const t = V(
|
|
58
|
+
const t = V(Q.input);
|
|
59
59
|
return /* @__PURE__ */ r.createElement(e, null, /* @__PURE__ */ r.createElement(e.Label, {
|
|
60
|
-
className:
|
|
60
|
+
className: o(q, c.label)
|
|
61
61
|
}, /* @__PURE__ */ r.createElement(e.Label.Required, {
|
|
62
|
-
className:
|
|
62
|
+
className: o(B, c.requiredMark)
|
|
63
63
|
})), /* @__PURE__ */ r.createElement(e.Input, {
|
|
64
64
|
className: t
|
|
65
65
|
}), /* @__PURE__ */ r.createElement(e.Error, {
|
|
66
|
-
className:
|
|
66
|
+
className: o(P, c.error)
|
|
67
67
|
}, /* @__PURE__ */ r.createElement(M, null), /* @__PURE__ */ r.createElement(e.Error.Text, null)), /* @__PURE__ */ r.createElement(e.Description, {
|
|
68
|
-
className:
|
|
69
|
-
},
|
|
68
|
+
className: o(k, c.description)
|
|
69
|
+
}, U));
|
|
70
70
|
};
|
|
71
71
|
export {
|
|
72
72
|
te as T
|
package/dist/component/{text-input-field-rac-D1TB9B_M.js → text-input-field-rac-DjdW6TCf.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-DFWQwZAN.js";
|
|
5
5
|
import { E as o } from "./error-icon-hZxQ6DEy.js";
|
|
6
6
|
import { s as a } from "./field-rac.module-D06m9T9x.js";
|
|
7
|
-
import { y as n,
|
|
8
|
-
import { u as p } from "./use-text-input-class-name-
|
|
7
|
+
import { y as n, P as c, o as E, i } from "./form-element-classes-BsXkFtp2.js";
|
|
8
|
+
import { u as p } from "./use-text-input-class-name-B-GYaltW.js";
|
|
9
9
|
const I = ({ content: s, locale: m }) => /* @__PURE__ */ e.createElement(l, {
|
|
10
10
|
content: s,
|
|
11
11
|
locale: m
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import t, { useRef as L } from "react";
|
|
2
|
-
import { TextField as R, Input as
|
|
3
|
-
import {
|
|
2
|
+
import { TextField as R, Input as g } from "react-aria-components";
|
|
3
|
+
import { aj as d, ag as c, al as v } from "./form-BkmOXzqo.js";
|
|
4
4
|
import { f as a } from "./find-child-C60k4CxG.js";
|
|
5
|
-
import { D as
|
|
6
|
-
import { L as x } from "./field-label-headless-
|
|
5
|
+
import { D as T, E as h } from "./field-error-headless-BHTkMu35.js";
|
|
6
|
+
import { L as x } from "./field-label-headless-D3DwX65k.js";
|
|
7
7
|
const e = ({ children: r }) => {
|
|
8
|
-
const { id: s, value: i, onChange: l, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus:
|
|
9
|
-
return /* @__PURE__ */ t.createElement(
|
|
8
|
+
const { id: s, value: i, onChange: l, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus: b, FieldLayout: f } = d(), { labelId: E } = c(), I = a(r, e.Label), F = a(r, e.Input), y = a(r, e.Description), D = a(r, e.Error);
|
|
9
|
+
return /* @__PURE__ */ t.createElement(f, {
|
|
10
10
|
fieldId: s,
|
|
11
11
|
renderLabel: () => I,
|
|
12
12
|
renderInput: () => /* @__PURE__ */ t.createElement(R, {
|
|
@@ -18,16 +18,16 @@ const e = ({ children: r }) => {
|
|
|
18
18
|
isRequired: o,
|
|
19
19
|
isInvalid: p,
|
|
20
20
|
onBlur: m,
|
|
21
|
-
onFocus:
|
|
21
|
+
onFocus: b
|
|
22
22
|
}, F),
|
|
23
23
|
renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, D, y)
|
|
24
24
|
});
|
|
25
25
|
}, B = ({ className: r }) => {
|
|
26
26
|
const { id: s, placeholder: i } = d(), { inputId: l, ariaDescribedBy: u } = c(), n = L(null);
|
|
27
|
-
return
|
|
27
|
+
return v(() => {
|
|
28
28
|
var o;
|
|
29
29
|
(o = n.current) == null || o.focus();
|
|
30
|
-
}, s), /* @__PURE__ */ t.createElement(
|
|
30
|
+
}, s), /* @__PURE__ */ t.createElement(g, {
|
|
31
31
|
ref: n,
|
|
32
32
|
id: l,
|
|
33
33
|
"aria-describedby": u,
|
|
@@ -37,7 +37,7 @@ const e = ({ children: r }) => {
|
|
|
37
37
|
};
|
|
38
38
|
e.Label = x;
|
|
39
39
|
e.Input = B;
|
|
40
|
-
e.Description =
|
|
40
|
+
e.Description = T;
|
|
41
41
|
e.Error = h;
|
|
42
42
|
export {
|
|
43
43
|
e as T
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import e, { useCallback as V, useRef as x, useContext as q } from "react";
|
|
2
|
+
import { RicosViewer as v } from "@wix/ricos/viewer";
|
|
3
|
+
import c from "classnames";
|
|
4
|
+
import { parseTime as B } from "@internationalized/date";
|
|
5
|
+
import { TimeField as k, DateInput as U, DateSegment as _, TimeFieldStateContext as j } from "react-aria-components";
|
|
6
|
+
import { aj as p, ag as w, at as S, al as Q } from "./form-BkmOXzqo.js";
|
|
7
|
+
import { f as m, a as F } from "./find-child-C60k4CxG.js";
|
|
8
|
+
import { D as z, E as G } from "./field-error-headless-BHTkMu35.js";
|
|
9
|
+
import { L as J } from "./field-label-headless-D3DwX65k.js";
|
|
10
|
+
import { E as K } from "./error-icon-hZxQ6DEy.js";
|
|
11
|
+
import { H as T } from "./custom-focus-class-_483Pkwp.js";
|
|
12
|
+
import { s as f } from "./field-rac.module-D06m9T9x.js";
|
|
13
|
+
import { y as W, P as X, o as Y, i as Z } from "./form-element-classes-BsXkFtp2.js";
|
|
14
|
+
import { u as $ } from "./use-text-input-class-name-B-GYaltW.js";
|
|
15
|
+
const r = ({ children: t }) => {
|
|
16
|
+
const { id: n, value: l, onChange: o, disabled: i, readOnly: s, required: a, onBlur: d, onFocus: E, use24HourFormat: g, FieldLayout: C, hasError: I } = p(), { inputId: D, ariaDescribedBy: L, labelId: R } = w(), b = V((M) => {
|
|
17
|
+
const H = ae(M);
|
|
18
|
+
o(H);
|
|
19
|
+
}, [
|
|
20
|
+
o
|
|
21
|
+
]), N = m(t, r.Label), y = m(t, r.Time), P = m(t, r.Description), A = m(t, r.Error), O = ne(l);
|
|
22
|
+
return /* @__PURE__ */ e.createElement(C, {
|
|
23
|
+
fieldId: n,
|
|
24
|
+
renderLabel: () => N,
|
|
25
|
+
renderInput: () => /* @__PURE__ */ e.createElement(k, {
|
|
26
|
+
"aria-labelledby": R,
|
|
27
|
+
id: D,
|
|
28
|
+
"aria-describedby": L,
|
|
29
|
+
value: O,
|
|
30
|
+
onChange: b,
|
|
31
|
+
isDisabled: i,
|
|
32
|
+
isReadOnly: s,
|
|
33
|
+
isInvalid: I,
|
|
34
|
+
isRequired: a,
|
|
35
|
+
onBlur: d,
|
|
36
|
+
onFocus: E,
|
|
37
|
+
hourCycle: g ? 24 : 12
|
|
38
|
+
}, y),
|
|
39
|
+
renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, A, P)
|
|
40
|
+
});
|
|
41
|
+
}, u = ({ children: t, className: n }) => {
|
|
42
|
+
const { hasError: l } = p(), o = m(t, u.Hour), i = m(t, u.Minute), s = m(t, u.Period);
|
|
43
|
+
return /* @__PURE__ */ e.createElement(U, {
|
|
44
|
+
className: n,
|
|
45
|
+
"data-invalid": l || void 0
|
|
46
|
+
}, (a) => {
|
|
47
|
+
switch (a.type) {
|
|
48
|
+
case "hour":
|
|
49
|
+
return F(o, {
|
|
50
|
+
segment: a
|
|
51
|
+
}) || /* @__PURE__ */ e.createElement(e.Fragment, null);
|
|
52
|
+
case "minute":
|
|
53
|
+
return F(i, {
|
|
54
|
+
segment: a
|
|
55
|
+
}) || /* @__PURE__ */ e.createElement(e.Fragment, null);
|
|
56
|
+
case "dayPeriod":
|
|
57
|
+
return F(s, {
|
|
58
|
+
segment: a
|
|
59
|
+
}) || /* @__PURE__ */ e.createElement(e.Fragment, null);
|
|
60
|
+
case "literal":
|
|
61
|
+
return /* @__PURE__ */ e.createElement(_, {
|
|
62
|
+
segment: a
|
|
63
|
+
});
|
|
64
|
+
default:
|
|
65
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}, ee = ({ className: t, ...n }) => {
|
|
69
|
+
const { id: l, hidePlaceholder: o } = p(), { segment: i } = n, { t: s } = S(), a = x(null);
|
|
70
|
+
Q(() => {
|
|
71
|
+
var E;
|
|
72
|
+
(E = a.current) == null || E.focus();
|
|
73
|
+
}, l);
|
|
74
|
+
const d = o ? void 0 : s("field.date.placeholder.hour");
|
|
75
|
+
return /* @__PURE__ */ e.createElement(_, {
|
|
76
|
+
ref: a,
|
|
77
|
+
segment: i,
|
|
78
|
+
className: t,
|
|
79
|
+
...d && {
|
|
80
|
+
placeholder: d
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
}, te = ({ className: t, ...n }) => {
|
|
84
|
+
const { hidePlaceholder: l } = p(), { segment: o } = n, { t: i } = S(), s = l ? void 0 : i("field.date.placeholder.minute");
|
|
85
|
+
return /* @__PURE__ */ e.createElement(_, {
|
|
86
|
+
segment: o,
|
|
87
|
+
className: t,
|
|
88
|
+
...s && {
|
|
89
|
+
placeholder: s
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}, re = ({ className: t, ...n }) => {
|
|
93
|
+
const { hidePlaceholder: l } = p(), { segment: o } = n, { t: i } = S(), s = q(j), a = l ? void 0 : i("field.date.placeholder.period"), d = () => s == null ? void 0 : s.increment("dayPeriod");
|
|
94
|
+
return /* @__PURE__ */ e.createElement(_, {
|
|
95
|
+
segment: o,
|
|
96
|
+
className: t,
|
|
97
|
+
onClick: d,
|
|
98
|
+
...a && {
|
|
99
|
+
placeholder: a
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
};
|
|
103
|
+
u.Hour = ee;
|
|
104
|
+
u.Minute = te;
|
|
105
|
+
u.Period = re;
|
|
106
|
+
r.Label = J;
|
|
107
|
+
r.Time = u;
|
|
108
|
+
r.Description = z;
|
|
109
|
+
r.Error = G;
|
|
110
|
+
function ne(t) {
|
|
111
|
+
if (!t)
|
|
112
|
+
return null;
|
|
113
|
+
try {
|
|
114
|
+
return B(t);
|
|
115
|
+
} catch {
|
|
116
|
+
return null;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
function ae(t) {
|
|
120
|
+
if (!t)
|
|
121
|
+
return null;
|
|
122
|
+
const n = String(t.hour).padStart(2, "0"), l = String(t.minute).padStart(2, "0"), o = String(t.second).padStart(2, "0");
|
|
123
|
+
return [
|
|
124
|
+
n,
|
|
125
|
+
l,
|
|
126
|
+
o
|
|
127
|
+
].join(":");
|
|
128
|
+
}
|
|
129
|
+
const oe = "_time_10p0h_1", se = "_hour_10p0h_14", le = "_minute_10p0h_15", ie = "_period_10p0h_16", h = {
|
|
130
|
+
time: oe,
|
|
131
|
+
hour: se,
|
|
132
|
+
minute: le,
|
|
133
|
+
period: ie
|
|
134
|
+
}, ce = ({ content: t, locale: n }) => /* @__PURE__ */ e.createElement(v, {
|
|
135
|
+
content: t,
|
|
136
|
+
locale: n
|
|
137
|
+
}), me = () => {
|
|
138
|
+
const t = $(h.time);
|
|
139
|
+
return /* @__PURE__ */ e.createElement(r, null, /* @__PURE__ */ e.createElement(r.Label, {
|
|
140
|
+
className: c(W, f.label)
|
|
141
|
+
}, /* @__PURE__ */ e.createElement(r.Label.Required, {
|
|
142
|
+
className: c(X, f.requiredMark)
|
|
143
|
+
})), /* @__PURE__ */ e.createElement(r.Time, {
|
|
144
|
+
className: t
|
|
145
|
+
}, /* @__PURE__ */ e.createElement(r.Time.Hour, {
|
|
146
|
+
className: c(h.hour, T)
|
|
147
|
+
}), /* @__PURE__ */ e.createElement(r.Time.Minute, {
|
|
148
|
+
className: c(h.minute, T)
|
|
149
|
+
}), /* @__PURE__ */ e.createElement(r.Time.Period, {
|
|
150
|
+
className: c(h.period, T)
|
|
151
|
+
})), /* @__PURE__ */ e.createElement(r.Error, {
|
|
152
|
+
className: c(Y, f.error)
|
|
153
|
+
}, /* @__PURE__ */ e.createElement(K, null), /* @__PURE__ */ e.createElement(r.Error.Text, null)), /* @__PURE__ */ e.createElement(r.Description, {
|
|
154
|
+
className: c(Z, f.description)
|
|
155
|
+
}, ce));
|
|
156
|
+
}, Le = () => /* @__PURE__ */ e.createElement(me, null);
|
|
157
|
+
export {
|
|
158
|
+
Le as TimeInputRAC
|
|
159
|
+
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { RicosViewer as
|
|
1
|
+
import { RicosViewer as S } from "@wix/ricos/viewer";
|
|
2
2
|
import i from "classnames";
|
|
3
|
-
import r, { useCallback as
|
|
4
|
-
import { TextField as
|
|
5
|
-
import {
|
|
3
|
+
import r, { useCallback as h, useRef as y } from "react";
|
|
4
|
+
import { TextField as O, Input as A } from "react-aria-components";
|
|
5
|
+
import { aj as d, ag as E, al as g } from "./form-BkmOXzqo.js";
|
|
6
6
|
import { f as c } from "./find-child-C60k4CxG.js";
|
|
7
|
-
import { D as B, E as
|
|
8
|
-
import { L as
|
|
9
|
-
import { u as
|
|
10
|
-
import { E as
|
|
7
|
+
import { D as B, E as P } from "./field-error-headless-BHTkMu35.js";
|
|
8
|
+
import { L as T } from "./field-label-headless-D3DwX65k.js";
|
|
9
|
+
import { u as k } from "./use-invoke-callback-UH73A_J3.js";
|
|
10
|
+
import { E as v } from "./error-icon-hZxQ6DEy.js";
|
|
11
11
|
import { s as u } from "./field-rac.module-D06m9T9x.js";
|
|
12
|
-
import { y as
|
|
13
|
-
import { u as w } from "./use-text-input-class-name-
|
|
12
|
+
import { y as M, P as q, o as x, i as U } from "./form-element-classes-BsXkFtp2.js";
|
|
13
|
+
import { u as w } from "./use-text-input-class-name-B-GYaltW.js";
|
|
14
14
|
const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
|
|
15
|
-
const { id: o, value: a, onChange: s, disabled: m, readOnly: n, required: l, hasError: I, onBlur: f, onFocus: b, FieldLayout: R } = d(), { labelId: F } = E(), p =
|
|
15
|
+
const { id: o, value: a, onChange: s, disabled: m, readOnly: n, required: l, hasError: I, onBlur: f, onFocus: b, FieldLayout: R } = d(), { labelId: F } = E(), p = k(f), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), N = h(() => {
|
|
16
16
|
s(V(a)), p();
|
|
17
17
|
}, [
|
|
18
18
|
p,
|
|
@@ -22,7 +22,7 @@ const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e
|
|
|
22
22
|
return /* @__PURE__ */ r.createElement(R, {
|
|
23
23
|
fieldId: o,
|
|
24
24
|
renderLabel: () => L,
|
|
25
|
-
renderInput: () => /* @__PURE__ */ r.createElement(
|
|
25
|
+
renderInput: () => /* @__PURE__ */ r.createElement(O, {
|
|
26
26
|
"aria-labelledby": F,
|
|
27
27
|
value: a ?? "",
|
|
28
28
|
onChange: s,
|
|
@@ -36,8 +36,8 @@ const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e
|
|
|
36
36
|
renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, _, C)
|
|
37
37
|
});
|
|
38
38
|
}, W = ({ className: t }) => {
|
|
39
|
-
const { id: o, placeholder: a } = d(), { inputId: s, ariaDescribedBy: m } = E(), n =
|
|
40
|
-
return
|
|
39
|
+
const { id: o, placeholder: a } = d(), { inputId: s, ariaDescribedBy: m } = E(), n = y(null);
|
|
40
|
+
return g(() => {
|
|
41
41
|
var l;
|
|
42
42
|
(l = n.current) == null || l.focus();
|
|
43
43
|
}, o), /* @__PURE__ */ r.createElement(A, {
|
|
@@ -49,24 +49,24 @@ const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e
|
|
|
49
49
|
placeholder: a
|
|
50
50
|
});
|
|
51
51
|
};
|
|
52
|
-
e.Label =
|
|
52
|
+
e.Label = T;
|
|
53
53
|
e.Input = W;
|
|
54
54
|
e.Description = B;
|
|
55
|
-
e.Error =
|
|
56
|
-
const $ = ({ content: t, locale: o }) => /* @__PURE__ */ r.createElement(
|
|
55
|
+
e.Error = P;
|
|
56
|
+
const $ = ({ content: t, locale: o }) => /* @__PURE__ */ r.createElement(S, {
|
|
57
57
|
content: t,
|
|
58
58
|
locale: o
|
|
59
59
|
}), oe = () => {
|
|
60
60
|
const t = w();
|
|
61
61
|
return /* @__PURE__ */ r.createElement(e, null, /* @__PURE__ */ r.createElement(e.Label, {
|
|
62
|
-
className: i(
|
|
62
|
+
className: i(M, u.label)
|
|
63
63
|
}, /* @__PURE__ */ r.createElement(e.Label.Required, {
|
|
64
64
|
className: i(q, u.requiredMark)
|
|
65
65
|
})), /* @__PURE__ */ r.createElement(e.Input, {
|
|
66
66
|
className: t
|
|
67
67
|
}), /* @__PURE__ */ r.createElement(e.Error, {
|
|
68
68
|
className: i(x, u.error)
|
|
69
|
-
}, /* @__PURE__ */ r.createElement(
|
|
69
|
+
}, /* @__PURE__ */ r.createElement(v, null), /* @__PURE__ */ r.createElement(e.Error.Text, null)), /* @__PURE__ */ r.createElement(e.Description, {
|
|
70
70
|
className: i(U, u.description)
|
|
71
71
|
}, $));
|
|
72
72
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import E from "classnames";
|
|
2
|
+
import { ac as f } from "./form-BkmOXzqo.js";
|
|
3
|
+
const k = ({ globalClasses: e, moduleClasses: r }) => {
|
|
4
|
+
var d;
|
|
5
|
+
const c = ((d = f(...e.parent ? [
|
|
6
|
+
e.parent
|
|
7
|
+
] : [], e.key)) == null ? void 0 : d.split(/\s+/)) ?? [], p = [
|
|
8
|
+
e.selected,
|
|
9
|
+
e.hover
|
|
10
|
+
], u = !!e.selected && c.includes(e.selected), N = c.includes(e.hover);
|
|
11
|
+
return ({ isSelected: n, isHovered: m, isInteractive: t = !0 }) => E(e.base, r.base, t ? c : c.filter((h) => !p.includes(h)), {
|
|
12
|
+
[e.hover]: t && m,
|
|
13
|
+
[r.hover]: t && (m || N)
|
|
14
|
+
}, e.selected && {
|
|
15
|
+
[e.selected]: t && n
|
|
16
|
+
}, r.selected && {
|
|
17
|
+
[r.selected]: t && (n || u)
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
k as u
|
|
22
|
+
};
|
package/dist/component/{use-service-options-base-BJZhzDyO.js → use-service-options-base-BJE86Rzo.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState as o, useCallback as D, useEffect as m, useMemo as b } from "react";
|
|
2
|
-
import {
|
|
3
|
-
const k = (
|
|
4
|
-
const { fieldType:
|
|
2
|
+
import { ai as v } from "./form-BkmOXzqo.js";
|
|
3
|
+
const k = (I) => {
|
|
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 = D((e) => {
|
|
5
5
|
let d = e.map((l) => ({
|
|
6
6
|
value: l.id ?? "",
|
|
7
7
|
label: l.name ?? "",
|
|
@@ -31,12 +31,12 @@ const k = (h) => {
|
|
|
31
31
|
c
|
|
32
32
|
]);
|
|
33
33
|
return {
|
|
34
|
-
isLoading:
|
|
34
|
+
isLoading: O,
|
|
35
35
|
options: g,
|
|
36
36
|
isEmpty: E,
|
|
37
37
|
hasInitialDataLoaded: c,
|
|
38
38
|
shouldRender: y,
|
|
39
|
-
setIsLoading:
|
|
39
|
+
setIsLoading: h,
|
|
40
40
|
setOptions: p,
|
|
41
41
|
setIsEmpty: u,
|
|
42
42
|
setHasInitialDataLoaded: f,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aj as l } from "./form-BkmOXzqo.js";
|
|
2
2
|
import { s } from "./field-rac.module-D06m9T9x.js";
|
|
3
|
-
import {
|
|
4
|
-
import { u as
|
|
3
|
+
import { a1 as m } from "./form-element-classes-BsXkFtp2.js";
|
|
4
|
+
import { u as i } from "./use-element-state-class-name-lZnP6sE6.js";
|
|
5
5
|
const c = (...e) => {
|
|
6
|
-
const { disabled: a, readOnly: t } = l(), o =
|
|
7
|
-
globalClasses:
|
|
6
|
+
const { disabled: a, readOnly: t } = l(), o = i({
|
|
7
|
+
globalClasses: m,
|
|
8
8
|
moduleClasses: {
|
|
9
9
|
base: [
|
|
10
10
|
s.input,
|
package/dist/form.d.ts
CHANGED
|
@@ -6586,6 +6586,41 @@ interface VideoData {
|
|
|
6586
6586
|
animation?: Animation;
|
|
6587
6587
|
}
|
|
6588
6588
|
|
|
6589
|
+
type REMOVED = 'REMOVED';
|
|
6590
|
+
/**
|
|
6591
|
+
* Wix framework props.
|
|
6592
|
+
*
|
|
6593
|
+
* @example
|
|
6594
|
+
* ```tsx
|
|
6595
|
+
* import type { Wix } from '@wix/editor-react-types';
|
|
6596
|
+
*
|
|
6597
|
+
* interface MyComponentProps {
|
|
6598
|
+
* className: string;
|
|
6599
|
+
* wix?: Wix;
|
|
6600
|
+
* }
|
|
6601
|
+
*
|
|
6602
|
+
* const MyComponent = ({ className, wix }: MyComponentProps) => (
|
|
6603
|
+
* <div {...wix?.presetsWrapperProps}>
|
|
6604
|
+
* <div className={className}>...</div>
|
|
6605
|
+
* </div>
|
|
6606
|
+
* );
|
|
6607
|
+
* ```
|
|
6608
|
+
*/
|
|
6609
|
+
interface Wix {
|
|
6610
|
+
/**
|
|
6611
|
+
* Tracks which removable elements have been removed by the Wix user.
|
|
6612
|
+
* Keys are element keys (as defined in the manifest), values are `'REMOVED'`.
|
|
6613
|
+
*/
|
|
6614
|
+
elementsRemovalState: Record<string, REMOVED>;
|
|
6615
|
+
/**
|
|
6616
|
+
* Props to spread onto the outermost wrapper element when using presets.
|
|
6617
|
+
* Required for the preset picker to work correctly in the editor.
|
|
6618
|
+
*/
|
|
6619
|
+
presetsWrapperProps?: {
|
|
6620
|
+
className: string;
|
|
6621
|
+
};
|
|
6622
|
+
}
|
|
6623
|
+
|
|
6589
6624
|
interface PublicTags {
|
|
6590
6625
|
/** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
|
|
6591
6626
|
tags?: TagList;
|
|
@@ -6907,12 +6942,19 @@ type FormHandle = {
|
|
|
6907
6942
|
validateStep?: (stepId: string) => Promise<boolean>;
|
|
6908
6943
|
getValues?: () => FormValues;
|
|
6909
6944
|
};
|
|
6910
|
-
type
|
|
6945
|
+
type ElementEntry = {
|
|
6946
|
+
[field: string]: unknown;
|
|
6947
|
+
wix?: Wix;
|
|
6948
|
+
className?: string;
|
|
6949
|
+
elementProps?: ElementProps;
|
|
6950
|
+
};
|
|
6951
|
+
type ElementProps<Element extends string = string> = Partial<Record<Element, ElementEntry>>;
|
|
6911
6952
|
type FormProps = {
|
|
6912
6953
|
id?: string;
|
|
6913
6954
|
className?: string;
|
|
6914
6955
|
compId?: string;
|
|
6915
6956
|
form?: FormSchema;
|
|
6957
|
+
wix?: Wix;
|
|
6916
6958
|
elementProps?: ElementProps;
|
|
6917
6959
|
values: FormValues;
|
|
6918
6960
|
onChange: (values: FormValues) => void;
|
|
@@ -6924,7 +6966,21 @@ type FormProps = {
|
|
|
6924
6966
|
onSubmitSuccess?: (submission: FormSubmission) => void;
|
|
6925
6967
|
onSubmitFailure?: (error: unknown) => void;
|
|
6926
6968
|
};
|
|
6927
|
-
declare const defaultProps: {
|
|
6969
|
+
declare const defaultProps: {
|
|
6970
|
+
readonly elementProps: {
|
|
6971
|
+
readonly submitButton: {
|
|
6972
|
+
readonly elementProps: {
|
|
6973
|
+
readonly icon: {
|
|
6974
|
+
readonly svg: {
|
|
6975
|
+
readonly type: 'shape';
|
|
6976
|
+
readonly uri: '11062b_d61f9ce4f6fb46a881e3f715059fe1ee.svg';
|
|
6977
|
+
readonly svgContent: '<svg data-bbox="20 51.5 160 97" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg" data-type="shape"><g><path d="m131.5 51.5-8.1 8.1L158.1 95H20v11h138.1l-34.7 34.4 8.1 8.1L180 100l-48.5-48.5z" fill-rule="evenodd" clip-rule="evenodd"/></g></svg>';
|
|
6978
|
+
};
|
|
6979
|
+
};
|
|
6980
|
+
};
|
|
6981
|
+
};
|
|
6982
|
+
};
|
|
6983
|
+
};
|
|
6928
6984
|
|
|
6929
6985
|
declare const Form: React.ForwardRefExoticComponent<FormProps & React.RefAttributes<FormHandle>>;
|
|
6930
6986
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/form-elements",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.85.0",
|
|
4
4
|
"description": "The Wix Forms rendering element for Builder apps, loaded at runtime as @wix/form-elements/Form",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -40,7 +40,8 @@
|
|
|
40
40
|
"builder-sandbox": "builder-sandbox",
|
|
41
41
|
"storybook": "storybook dev -p 6006",
|
|
42
42
|
"storybook:build": "storybook build",
|
|
43
|
-
"generate-translation-keys": "babel-cli"
|
|
43
|
+
"generate-translation-keys": "babel-cli",
|
|
44
|
+
"generate-preset-thumbnails": "node scripts/generate-preset-thumbnails.mjs"
|
|
44
45
|
},
|
|
45
46
|
"dependencies": {
|
|
46
47
|
"@babel/runtime": "^7.28.4",
|
|
@@ -100,6 +101,7 @@
|
|
|
100
101
|
"@wix/custom-extensions": "^0.2.22",
|
|
101
102
|
"@wix/dashboard": "^1.3.48",
|
|
102
103
|
"@wix/design-system": "^1.334.0",
|
|
104
|
+
"@wix/editor-react-types": "^1.0.106",
|
|
103
105
|
"@wix/fed-cli-oxlint": "^1.0.6",
|
|
104
106
|
"@wix/fed-cli-plugin": "^1.0.1",
|
|
105
107
|
"@wix/fed-cli-sled": "^1.0.39",
|
|
@@ -151,5 +153,5 @@
|
|
|
151
153
|
]
|
|
152
154
|
}
|
|
153
155
|
},
|
|
154
|
-
"falconPackageHash": "
|
|
156
|
+
"falconPackageHash": "4c58de9df602169fca19edb6ae08477a69551dd149111483bff68a73"
|
|
155
157
|
}
|