@wix/form-elements 1.74.0 → 1.75.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.
Files changed (113) hide show
  1. package/dist/component/{appointment-rac-Bze1s2XD.js → appointment-rac-7xVKSm2N.js} +27 -27
  2. package/dist/component/{bookings-address-rac-BcrkXf63.js → bookings-address-rac-VXnUSx8U.js} +1 -1
  3. package/dist/component/{bookings-email-rac-DYq5RxOP.js → bookings-email-rac-B2_ad7Y2.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-ZJ_sQ-01.js → bookings-first-name-rac-9BAY5vLx.js} +1 -1
  5. package/dist/component/{bookings-header-rac-Cv8kl01f.js → bookings-header-rac-B6IgiMOA.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-BmnulSZ6.js → bookings-last-name-rac-DoXEDO8K.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-Bdi4xs9y.js → bookings-login-bar-rac-DprQIFyj.js} +2 -2
  8. package/dist/component/{bookings-phone-rac-C8DjSzUY.js → bookings-phone-rac-VMoXtejZ.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-DYu011oy.js → bookings-rich-text-rac-DSzD2jBy.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-BH3yEE5j.js → checkbox-field-rac-BLihwz3C.js} +327 -320
  11. package/dist/component/checkbox-group-field-headless-BItyo_iD.js +205 -0
  12. package/dist/component/checkbox-group-field-rac-Bov3yFC6.js +40 -0
  13. package/dist/component/{checkbox-group-rac-CgW0DnhX.js → checkbox-group-rac-Fit-qssk.js} +1 -1
  14. package/dist/component/{checkbox-rac-DOAYMMsi.js → checkbox-rac-CSsY83Nx.js} +1 -1
  15. package/dist/component/{contacts-address-rac-DXJa4J_k.js → contacts-address-rac-iJuzUQe4.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-CVsuRq3B.js → contacts-birthdate-rac-0g2e8cQP.js} +1 -1
  17. package/dist/component/{contacts-company-rac-b2bwHSNC.js → contacts-company-rac-BC0tK4WQ.js} +1 -1
  18. package/dist/component/{contacts-email-rac-DMPcpQ1c.js → contacts-email-rac-dkuclkiH.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-CL2BsHuJ.js → contacts-first-name-rac-BSUkCuht.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-hdBsWaqb.js → contacts-last-name-rac-08bjVdN2.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-DQF6aV9B.js → contacts-phone-rac-DVb0Z_0M.js} +1 -1
  22. package/dist/component/{contacts-position-rac-CVX-WCfx.js → contacts-position-rac-AGUDkv7U.js} +1 -1
  23. package/dist/component/contacts-subscribe-rac-6jAQHibT.js +13 -0
  24. package/dist/component/{contacts-tax-id-rac-0KTXvF81.js → contacts-tax-id-rac-C7moEz5b.js} +1 -1
  25. package/dist/component/{date-availability-DBljhBgO.js → date-availability-DagbE0C8.js} +1 -1
  26. package/dist/component/{date-input-field-rac-CfflD2Ar.js → date-input-field-rac-BWHKsJGy.js} +30 -30
  27. package/dist/component/{date-input-rac-fQclCKoa.js → date-input-rac-BlZlmf-s.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-BSmFOaH-.js → date-picker-field-rac-BSNbYirD.js} +36 -36
  29. package/dist/component/{date-picker-rac-D7I3ramu.js → date-picker-rac-D3IWMst5.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-vjZDQ_Fp.js → date-time-input-field-rac-YKTwuIUs.js} +25 -25
  31. package/dist/component/{date-time-input-rac-CDbS0VZR.js → date-time-input-rac-CZRsKm1P.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-BBiPt6_a.js → dext-checkbox-group-rac-BE7ILz-f.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-Cqp--0SO.js → dext-checkbox-rac-B6-94A1N.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-5Wft0w9m.js → dext-date-picker-rac-Bx2hUFNm.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-Bbs7bgtn.js → dext-date-time-input-rac-DPKD6quz.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-CSvhtqbc.js → dext-dropdown-rac-WrSfNRa5.js} +1 -1
  37. package/dist/component/{dext-email-rac-BoLeXqyI.js → dext-email-rac-8PSMKNYG.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-DzaJYTSz.js → dext-number-input-rac-b9YSzEkN.js} +1 -1
  39. package/dist/component/{dext-phone-rac-BagPg_CT.js → dext-phone-rac-CkapN3c1.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-B5HSQt7a.js → dext-radio-group-rac-CfNMkwUa.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-DrtaAf-E.js → dext-rating-input-rac-Cun_t7HQ.js} +1 -1
  42. package/dist/component/{dext-tags-rac-Cg4jJ4jr.js → dext-tags-rac-DLZ91c3w.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-C_t-W7lk.js → dext-text-area-rac-N9A7QfYw.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-ChvV21Jf.js → dext-text-input-rac-XbVzAPHH.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-DclbSYTr.js → dext-url-input-rac-BiaWZ49r.js} +1 -1
  46. package/dist/component/{donation-rac-FYQIMm5m.js → donation-rac-BEIBjLHK.js} +46 -47
  47. package/dist/component/{dropdown-field-headless-CTZ-zGqZ.js → dropdown-field-headless-CQfZ3zPD.js} +3 -3
  48. package/dist/component/{dropdown-field-rac-C1KVtxwv.js → dropdown-field-rac-ubZN_Abg.js} +7 -7
  49. package/dist/component/{dropdown-rac-CkkDEDje.js → dropdown-rac-CHYFrEjY.js} +1 -1
  50. package/dist/component/{ecom-address-rac-BOuugSxX.js → ecom-address-rac-C7qJlrsv.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-IZeMlljb.js → ecom-subscription-checkbox-rac-CONIZsTy.js} +6 -6
  52. package/dist/component/{email-input-field-rac-CNzmm1j7.js → email-input-field-rac-Dg0p6WZe.js} +63 -63
  53. package/dist/component/events-repeater-rac-BoxNl7gn.js +254 -0
  54. package/dist/component/{events-rsvp-rac-BmjboAco.js → events-rsvp-rac-BU5d2n4k.js} +3 -3
  55. package/dist/component/{field-error-headless-DQZ5XAdn.js → field-error-headless-uQOcm2Ak.js} +1 -1
  56. package/dist/component/{field-label-headless-DoxfHHaj.js → field-label-headless-Bzh7f2Ji.js} +1 -1
  57. package/dist/component/field-rac.module-DjmaTYkc.js +23 -0
  58. package/dist/component/{file-upload-rac-YEQ7uXhm.js → file-upload-rac-BTt-rJE5.js} +74 -74
  59. package/dist/component/{fixed-payment-rac-DDufIQBT.js → fixed-payment-rac-1NOx3D-U.js} +17 -17
  60. package/dist/component/{form-C6WwBcGP.js → form-DCmjj8mZ.js} +69 -69
  61. package/dist/component/form-element-classes-Dn33C01k.js +111 -0
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +1 -1
  64. package/dist/component/{header-field-rac-DGfjrjQC.js → header-field-rac-lyvjy6h2.js} +3 -3
  65. package/dist/component/{header-rac-C_JE2cTg.js → header-rac-B4iPEbNj.js} +1 -1
  66. package/dist/component/{image-choice-rac-LDLPQwrN.js → image-choice-rac-CmEG-waj.js} +29 -30
  67. package/dist/component/{index-C2srcuHD.js → index-D-CKLZBh.js} +4 -4
  68. package/dist/component/{index-CIOoaQ8Z.js → index-UZsDOe8e.js} +2 -2
  69. package/dist/component/{isObjectLike-E5QfEa1u.js → isObjectLike-BSGOU4jF.js} +1 -1
  70. package/dist/component/{multiline-address-field-rac-Biyj2tIN.js → multiline-address-field-rac-Dz0NEjSO.js} +125 -125
  71. package/dist/component/{multiline-address-rac-BCqCvG7a.js → multiline-address-rac-D_MAanxb.js} +1 -1
  72. package/dist/component/{number-input-field-rac-CwUoIbM8.js → number-input-field-rac-CvjeAm-W.js} +13 -13
  73. package/dist/component/{number-input-rac-CdYdTDem.js → number-input-rac-oKo2Wx_c.js} +1 -1
  74. package/dist/component/{password-rac-D62npVHY.js → password-rac-CrnkKtfp.js} +21 -21
  75. package/dist/component/{payment-input-rac-D4u-3vcW.js → payment-input-rac-BoVdGyvV.js} +18 -18
  76. package/dist/component/{phone-input-field-rac-uHxR3ozd.js → phone-input-field-rac-DksXoAnr.js} +54 -54
  77. package/dist/component/{phone-rac-Bf99_BGi.js → phone-rac-BR0iX5TL.js} +1 -1
  78. package/dist/component/product-list-rac-C4rvv5k-.js +270 -0
  79. package/dist/component/{quiz-radio-group-rac-CPGS0LEb.js → quiz-radio-group-rac-BxKmUUf8.js} +2 -2
  80. package/dist/component/{radio-group-field-rac-BWpTNAbO.js → radio-group-field-rac-Dj4rkkKF.js} +3 -3
  81. package/dist/component/{radio-group-field-rac.module-WxU5zxvM.js → radio-group-field-rac.module-CeBLm9QF.js} +3 -3
  82. package/dist/component/{radio-group-rac-dA4WZ1Vj.js → radio-group-rac-BpnfptSZ.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-CJnFsBvH.js → rating-input-field-rac-BP0928qI.js} +30 -31
  84. package/dist/component/{rating-input-rac-DXVYozFV.js → rating-input-rac-DaEgvjIS.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-DkKwzJS7.js → rich-content-rac.module-zvvH-tWq.js} +1 -1
  86. package/dist/component/{rich-text-field-rac-8FWCRrpb.js → rich-text-field-rac-CFCRiMl_.js} +3 -3
  87. package/dist/component/{rich-text-rac-OeM_mPRy.js → rich-text-rac-BRuLnyN4.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-mvUMpcS_.js → service-dropdown-rac-C82l5y0C.js} +21 -21
  89. package/dist/component/services-multi-choice-rac-BAHBSgAT.js +83 -0
  90. package/dist/component/{signature-rac-D44U9Uyp.js → signature-rac-CIkm3SCW.js} +56 -56
  91. package/dist/component/{submit-button-rac-BqtcgVAn.js → submit-button-rac-Bz-X9Tbo.js} +2 -2
  92. package/dist/component/{tags-field-rac-CemsTKWz.js → tags-field-rac-Dn8VyPzT.js} +29 -30
  93. package/dist/component/{tags-rac-fVjCf6qo.js → tags-rac-BJpVdunR.js} +1 -1
  94. package/dist/component/{text-area-field-rac-BPciZlZb.js → text-area-field-rac-Pp9HnCS5.js} +18 -18
  95. package/dist/component/{text-area-rac-CRTORdZM.js → text-area-rac-DbwAFdel.js} +1 -1
  96. package/dist/component/{text-input-field-rac-CvFoWlRN.js → text-input-field-rac-x4ByKmBv.js} +6 -6
  97. package/dist/component/{text-input-headless-BQ3TWU9G.js → text-input-headless-fbiKci5q.js} +3 -3
  98. package/dist/component/{text-input-rac-DSFkEmob.js → text-input-rac-jyCKxyCt.js} +1 -1
  99. package/dist/component/{time-input-rac-CGgs7ncp.js → time-input-rac-C5Cvmxtt.js} +17 -17
  100. package/dist/component/{url-input-field-rac-CqvgTc-F.js → url-input-field-rac-CGpCEn2A.js} +20 -20
  101. package/dist/component/{url-input-rac-C45KOwnr.js → url-input-rac-DhFL8fGq.js} +1 -1
  102. package/dist/component/use-element-state-class-name-Bnw7sY9P.js +29 -0
  103. package/dist/component/{use-service-options-base-D4Zl-iGW.js → use-service-options-base-CgT1IKB3.js} +1 -1
  104. package/package.json +2 -2
  105. package/dist/component/checkbox-group-field-headless-D_GG5LHM.js +0 -210
  106. package/dist/component/checkbox-group-field-rac-Cj7Erubs.js +0 -41
  107. package/dist/component/contacts-subscribe-rac-Dl1ot9qw.js +0 -13
  108. package/dist/component/events-repeater-rac-CMV0Lmwz.js +0 -247
  109. package/dist/component/field-rac.module-Cac83bU5.js +0 -21
  110. package/dist/component/form-element-classes-DDKCTFQj.js +0 -65
  111. package/dist/component/form-element-keys-D0sEdpFo.js +0 -8
  112. package/dist/component/product-list-rac-iRf6Ra7i.js +0 -263
  113. package/dist/component/services-multi-choice-rac-DrgUrn_N.js +0 -76
@@ -1,26 +1,26 @@
1
- import s, { useRef as W, useCallback as I, useState as K, useEffect as Q, useMemo as De, isValidElement as Re } from "react";
2
- import { RicosViewer as we } from "@wix/ricos/viewer";
1
+ import s, { useRef as W, useCallback as I, useState as Q, useEffect as K, useMemo as De, isValidElement as we } from "react";
2
+ import { RicosViewer as Re } from "@wix/ricos/viewer";
3
3
  import v from "classnames";
4
4
  import { useHover as ve, useFocusRing as xe, mergeProps as Se } from "react-aria";
5
5
  import { RadioGroup as Fe, Button as fe, TextField as Ae, Input as _e, RadioField as Pe, RadioButton as Ne } from "react-aria-components";
6
6
  import he from "signature_pad";
7
- import { z as Ue, ae as Oe, ab as Be, aq as ge, E as ce, e as q, ai as A, af as H, ak as Ee, as as Me } from "./form-C6WwBcGP.js";
7
+ import { z as Ue, ae as Oe, ab as Be, aq as ge, E as ce, e as G, ai as A, af as H, ak as Ee, as as Me } from "./form-DCmjj8mZ.js";
8
8
  import { f as T, a as F } from "./find-child-C60k4CxG.js";
9
- import { D as We, E as He } from "./field-error-headless-DQZ5XAdn.js";
10
- import { L as Ye } from "./field-label-headless-DoxfHHaj.js";
9
+ import { D as We, E as He } from "./field-error-headless-uQOcm2Ak.js";
10
+ import { L as Ye } from "./field-label-headless-Bzh7f2Ji.js";
11
11
  import { D as ke } from "./data-hooks-Dkw1pbRj.js";
12
12
  import { E as $e } from "./error-icon-hZxQ6DEy.js";
13
- import { s as z } from "./field-rac.module-Cac83bU5.js";
14
- import { z as ue, R as ze, y as B, a3 as Ve, q as Ze, j as Xe } from "./form-element-classes-DDKCTFQj.js";
15
- const qe = typeof s.useId == "function" ? s.useId : () => W(Ue()).current;
16
- var R = /* @__PURE__ */ (function(e) {
13
+ import { s as z } from "./field-rac.module-DjmaTYkc.js";
14
+ import { y as ue, Q as ze, x as B, a2 as Ve, p as Ze, i as Xe } from "./form-element-classes-Dn33C01k.js";
15
+ const Ge = typeof s.useId == "function" ? s.useId : () => W(Ue()).current;
16
+ var w = /* @__PURE__ */ (function(e) {
17
17
  return e.TEXT = "text/plain", e.POINTS = "points/json", e;
18
18
  })({}), b = /* @__PURE__ */ (function(e) {
19
19
  return e.DRAW = "draw", e.TYPE = "type", e.UPLOAD = "upload", e;
20
20
  })({}), S = /* @__PURE__ */ (function(e) {
21
21
  return e.DRAW = "draw", e.TYPE = "type", e.IMAGE = "image", e.UPLOAD = "upload", e;
22
22
  })({});
23
- const Ge = (e) => {
23
+ const qe = (e) => {
24
24
  const { actions: t, formId: a } = Oe(), n = t == null ? void 0 : t.uploadFile;
25
25
  return I(async (r) => {
26
26
  if (!n)
@@ -54,14 +54,14 @@ const Je = (e, t) => {
54
54
  const o = (r * t.width + n) * 4;
55
55
  return t.data[o] * 65536 + t.data[o + 1] * 256 + t.data[o + 2] === a;
56
56
  };
57
- }, Ke = (e) => (t, a) => {
57
+ }, Qe = (e) => (t, a) => {
58
58
  const n = (a * e.width + t) * 4;
59
59
  return e.data[n + 3] === 0;
60
60
  };
61
61
  function J(e, t) {
62
62
  const a = e.getContext("2d", {
63
63
  willReadFrequently: !0
64
- }), n = e.width, r = e.height, o = a.getImageData(0, 0, n, r), i = t ? Je(t, o) : Ke(o);
64
+ }), n = e.width, r = e.height, o = a.getImageData(0, 0, n, r), i = t ? Je(t, o) : Qe(o);
65
65
  let l = n + 1, c = -1, d = r + 1, u = -1, f = 0, m = 0;
66
66
  for (m = 0; m < r; m++)
67
67
  for (f = 0; f < n; f++)
@@ -82,7 +82,7 @@ function V(e, t, a) {
82
82
  }
83
83
  return n;
84
84
  }
85
- function Qe(e, t) {
85
+ function Ke(e, t) {
86
86
  return new Promise((a, n) => {
87
87
  const r = new Image();
88
88
  r.onload = () => {
@@ -103,10 +103,10 @@ function me(e, t) {
103
103
  }
104
104
  const M = 480, et = (e) => Ce({
105
105
  data: JSON.stringify(e),
106
- mimeType: R.POINTS
106
+ mimeType: w.POINTS
107
107
  }), Le = (e) => {
108
108
  const t = N(e);
109
- if ((t == null ? void 0 : t.mimeType) === R.POINTS)
109
+ if ((t == null ? void 0 : t.mimeType) === w.POINTS)
110
110
  try {
111
111
  return JSON.parse(t.data);
112
112
  } catch {
@@ -186,13 +186,13 @@ async function ot(e, t) {
186
186
  if (!a)
187
187
  return e;
188
188
  const n = a.mimeType;
189
- if (n === R.TEXT) {
189
+ if (n === w.TEXT) {
190
190
  const r = V(M * 20, M, 1);
191
191
  nt(r, a.data, "black", t, "white");
192
192
  const o = J(r, "white");
193
193
  return (o == null ? void 0 : o.toDataURL("image/jpeg", 0.7)) ?? null;
194
194
  }
195
- if (n === R.POINTS) {
195
+ if (n === w.POINTS) {
196
196
  const r = Le(e);
197
197
  if (!r)
198
198
  return null;
@@ -205,7 +205,7 @@ async function ot(e, t) {
205
205
  return c ? de(c, void 0, M, "white").toDataURL("image/jpeg", 0.7) : null;
206
206
  }
207
207
  if (n != null && n.startsWith("image/")) {
208
- const r = await Qe(e), o = J(r);
208
+ const r = await Ke(e), o = J(r);
209
209
  return o ? de(o, void 0, M).toDataURL("image/jpeg", 0.7) : null;
210
210
  }
211
211
  return e;
@@ -216,8 +216,8 @@ async function st(e, t) {
216
216
  return rt(a, "signature");
217
217
  }
218
218
  const it = ({ value: e, onChange: t, target: a }) => {
219
- const [n, r] = K(e), { isRTL: o } = Be(), i = Ge(a), { setFormStatus: l } = ge(), c = W();
220
- Q(() => {
219
+ const [n, r] = Q(e), { isRTL: o } = Be(), i = qe(a), { setFormStatus: l } = ge(), c = W();
220
+ K(() => {
221
221
  e === ce && r(ce);
222
222
  }, [
223
223
  e
@@ -239,7 +239,7 @@ const it = ({ value: e, onChange: t, target: a }) => {
239
239
  }
240
240
  c.current = null;
241
241
  } finally {
242
- l(a, q.READY);
242
+ l(a, G.READY);
243
243
  }
244
244
  }, [
245
245
  l,
@@ -255,7 +255,7 @@ const it = ({ value: e, onChange: t, target: a }) => {
255
255
  };
256
256
  E ? (c.current && (clearTimeout(c.current), c.current = null), r([
257
257
  E
258
- ]), p(E)) : (t == null || t(null), r(void 0), l(a, q.READY));
258
+ ]), p(E)) : (t == null || t(null), r(void 0), l(a, G.READY));
259
259
  }, [
260
260
  m,
261
261
  t,
@@ -271,25 +271,25 @@ const it = ({ value: e, onChange: t, target: a }) => {
271
271
  value: t,
272
272
  onChange: a,
273
273
  target: e
274
- }), [l, c] = K(() => {
274
+ }), [l, c] = Q(() => {
275
275
  if (o == null)
276
276
  return b.DRAW;
277
277
  switch (i == null ? void 0 : i.mimeType) {
278
- case R.POINTS:
278
+ case w.POINTS:
279
279
  return b.DRAW;
280
- case R.TEXT:
280
+ case w.TEXT:
281
281
  return b.TYPE;
282
282
  default:
283
283
  return b.UPLOAD;
284
284
  }
285
285
  }), { setFormStatus: d } = ge(), u = I(() => {
286
- r(), d(e, q.BUSY);
286
+ r(), d(e, G.BUSY);
287
287
  }, [
288
288
  r,
289
289
  d,
290
290
  e
291
291
  ]), f = I(() => {
292
- r(), n(null), d(e, q.READY);
292
+ r(), n(null), d(e, G.READY);
293
293
  }, [
294
294
  r,
295
295
  n,
@@ -320,16 +320,16 @@ const it = ({ value: e, onChange: t, target: a }) => {
320
320
  handleClear: f
321
321
  };
322
322
  }, ct = {
323
- [b.DRAW]: (e) => (e == null ? void 0 : e.mimeType) === R.POINTS,
324
- [b.TYPE]: (e) => (e == null ? void 0 : e.mimeType) === R.TEXT,
325
- [b.UPLOAD]: (e) => (e == null ? void 0 : e.mimeType) !== R.POINTS && (e == null ? void 0 : e.mimeType) !== R.TEXT
323
+ [b.DRAW]: (e) => (e == null ? void 0 : e.mimeType) === w.POINTS,
324
+ [b.TYPE]: (e) => (e == null ? void 0 : e.mimeType) === w.TEXT,
325
+ [b.UPLOAD]: (e) => (e == null ? void 0 : e.mimeType) !== w.POINTS && (e == null ? void 0 : e.mimeType) !== w.TEXT
326
326
  };
327
327
  function ut(e, t, a) {
328
328
  return t && ct[e](a) ? t : void 0;
329
329
  }
330
330
  const dt = (e) => {
331
331
  const t = e.url ? N(e.url) : void 0;
332
- return t ? t.mimeType !== R.POINTS && t.mimeType !== R.TEXT : !0;
332
+ return t ? t.mimeType !== w.POINTS && t.mimeType !== w.TEXT : !0;
333
333
  }, te = () => {
334
334
  const { hoverProps: e, isHovered: t } = ve({}), { focusProps: a, isFocused: n, isFocusVisible: r } = xe({
335
335
  within: !0
@@ -404,7 +404,7 @@ const dt = (e) => {
404
404
  "data-hook": ke.SIGNATURE_FIELD_MODE_SELECT,
405
405
  className: t
406
406
  }, u[b.DRAW], u[b.TYPE], u[b.UPLOAD]));
407
- }, mt = (e) => /* @__PURE__ */ Re(e), ne = ({ mode: e, children: t, className: a, "aria-label": n }) => /* @__PURE__ */ s.createElement(Pe, {
407
+ }, mt = (e) => /* @__PURE__ */ we(e), ne = ({ mode: e, children: t, className: a, "aria-label": n }) => /* @__PURE__ */ s.createElement(Pe, {
408
408
  value: e,
409
409
  "aria-label": n
410
410
  }, /* @__PURE__ */ s.createElement(Ne, {
@@ -463,12 +463,12 @@ const dt = (e) => {
463
463
  onFocus: u
464
464
  }));
465
465
  }, Et = ({ className: e, emptyLabel: t, signedLabel: a, ...n }) => {
466
- const { value: r, onChange: o, onBeforeChange: i, disabled: l, readOnly: c, onBlur: d, onFocus: u } = n, { id: f } = A(), { inputId: m, ariaDescribedBy: h } = H(), E = te(), p = W(), L = W(), y = W(null), x = r == null ? void 0 : r.url, [U, Y] = K(!1);
466
+ const { value: r, onChange: o, onBeforeChange: i, disabled: l, readOnly: c, onBlur: d, onFocus: u } = n, { id: f } = A(), { inputId: m, ariaDescribedBy: h } = H(), E = te(), p = W(), L = W(), y = W(null), x = r == null ? void 0 : r.url, [U, Y] = Q(!1);
467
467
  Ee(() => {
468
468
  var D;
469
469
  (D = L.current) == null || D.focus();
470
470
  }, f);
471
- const w = De(() => ({
471
+ const R = De(() => ({
472
472
  throttle: 0,
473
473
  dotSize: 2,
474
474
  minWidth: 1,
@@ -480,7 +480,7 @@ const dt = (e) => {
480
480
  return "";
481
481
  const D = (k = p.current) == null ? void 0 : k.toData();
482
482
  return D ? et(D) : (($ = p.current) == null ? void 0 : $.toDataURL()) ?? "";
483
- }, []), G = I(() => {
483
+ }, []), q = I(() => {
484
484
  var O;
485
485
  const D = (O = p.current) == null ? void 0 : O.isEmpty();
486
486
  Y(!D), o(ee(oe()));
@@ -495,25 +495,25 @@ const dt = (e) => {
495
495
  var k, $, se, ie;
496
496
  if (D != null) {
497
497
  if (L.current = D, p.current = new he(D, {
498
- ...w,
498
+ ...R,
499
499
  penColor: getComputedStyle(D).color || void 0
500
500
  }), me(L.current, p.current), x) {
501
501
  const le = Le(x);
502
502
  le && (p.current.fromData(le), Y(!0));
503
503
  } else
504
504
  p.current.clear(), Y(!1);
505
- p.current.addEventListener("beginStroke", j), p.current.addEventListener("endStroke", G), typeof ResizeObserver < "u" && !y.current && (y.current = new ResizeObserver(() => {
505
+ p.current.addEventListener("beginStroke", j), p.current.addEventListener("endStroke", q), typeof ResizeObserver < "u" && !y.current && (y.current = new ResizeObserver(() => {
506
506
  L.current && me(L.current, p == null ? void 0 : p.current);
507
507
  })), (k = y.current) == null || k.observe(D);
508
508
  } else
509
- ($ = y.current) == null || $.disconnect(), (se = p.current) == null || se.removeEventListener("endStroke", G), (ie = p.current) == null || ie.removeEventListener("beginStroke", j);
509
+ ($ = y.current) == null || $.disconnect(), (se = p.current) == null || se.removeEventListener("endStroke", q), (ie = p.current) == null || ie.removeEventListener("beginStroke", j);
510
510
  }, [
511
- w,
511
+ R,
512
512
  x,
513
513
  j,
514
- G
514
+ q
515
515
  ]);
516
- return Q(() => {
516
+ return K(() => {
517
517
  p.current && (c || l ? p.current.off() : p.current.on());
518
518
  }, [
519
519
  l,
@@ -538,23 +538,23 @@ const dt = (e) => {
538
538
  data: ""
539
539
  };
540
540
  Ee(() => {
541
- const w = document.getElementById(h);
542
- w == null || w.focus({
541
+ const R = document.getElementById(h);
542
+ R == null || R.focus({
543
543
  preventScroll: !0
544
544
  });
545
- }, u), Q(() => {
545
+ }, u), K(() => {
546
546
  if (!n) {
547
- const w = document.getElementById(h);
548
- w && (w.value = "");
547
+ const R = document.getElementById(h);
548
+ R && (R.value = "");
549
549
  }
550
550
  }, [
551
551
  n,
552
552
  h
553
553
  ]);
554
- const U = I((w) => {
555
- o == null || o(), w.trim() ? r(ee(Ce({
556
- data: w,
557
- mimeType: R.TEXT
554
+ const U = I((R) => {
555
+ o == null || o(), R.trim() ? r(ee(Ce({
556
+ data: R,
557
+ mimeType: w.TEXT
558
558
  }))) : r(null);
559
559
  }, [
560
560
  o,
@@ -632,7 +632,7 @@ const dt = (e) => {
632
632
  "data-hook": "signature-image"
633
633
  }, r.displayName || a)));
634
634
  }, yt = ({ children: e, className: t, ...a }) => {
635
- const { fileInputRef: n, disabled: r, readOnly: o, onBlur: i, onFocus: l } = a, { inputId: c, ariaDescribedBy: d, labelId: u } = H(), f = qe(), m = I(() => {
635
+ const { fileInputRef: n, disabled: r, readOnly: o, onBlur: i, onFocus: l } = a, { inputId: c, ariaDescribedBy: d, labelId: u } = H(), f = Ge(), m = I(() => {
636
636
  var h;
637
637
  (h = n.current) == null || h.click();
638
638
  }, [
@@ -714,7 +714,7 @@ const Tt = () => {
714
714
  }, /* @__PURE__ */ s.createElement("path", {
715
715
  fillRule: "evenodd",
716
716
  d: "M18.8525,7.543 L17.7515,8.644 L15.3565,6.248 L16.4575,5.147 C16.5555,5.05 16.6835,5.001 16.8105,5.001 C16.9385,5.001 17.0665,5.05 17.1645,5.147 L18.8525,6.835 C19.0475,7.03 19.0475,7.348 18.8525,7.543 L18.8525,7.543 Z M8.1895,18.206 C8.1185,18.276 8.0275,18.324 7.9295,18.344 L5.1275,18.873 L5.6575,16.07 C5.6755,15.972 5.7225,15.882 5.7945,15.811 L14.6495,6.955 L17.0445,9.351 L8.1895,18.206 Z M19.5595,6.128 L17.8715,4.44 C17.2865,3.856 16.3355,3.856 15.7505,4.44 L5.0875,15.103 C4.8735,15.317 4.7295,15.588 4.6745,15.886 L4.0085,19.407 C3.9775,19.569 4.0295,19.736 4.1465,19.854 C4.2415,19.948 4.3685,20 4.4995,20 C4.5305,20 4.5615,19.997 4.5925,19.991 L8.1165,19.326 C8.4145,19.269 8.6855,19.125 8.8965,18.912 L19.5595,8.25 C20.1445,7.665 20.1445,6.713 19.5595,6.128 L19.5595,6.128 Z"
717
- })), Rt = (e) => /* @__PURE__ */ s.createElement("svg", {
717
+ })), wt = (e) => /* @__PURE__ */ s.createElement("svg", {
718
718
  viewBox: "0 0 20 20",
719
719
  width: 24,
720
720
  height: 24,
@@ -724,8 +724,8 @@ const Tt = () => {
724
724
  }, /* @__PURE__ */ s.createElement("path", {
725
725
  fillRule: "evenodd",
726
726
  d: "M12,4 L12,5 L8,5 L8,16 L7,16 L7,5 L3,5 L3,4 L12,4 Z M18,8 L18,9 L15,9 L15,16 L14,16 L14,9 L11,9 L11,8 L18,8 Z"
727
- })), wt = "_header_15ti0_1", vt = "_tabs_15ti0_8", xt = "_tab_15ti0_8", St = "_tabIcon_15ti0_74", Ft = "_clear_15ti0_81", At = "_value_15ti0_113", _t = "_box_15ti0_118", Pt = "_uploadBox_15ti0_119", Nt = "_typeInput_15ti0_230", C = {
728
- header: wt,
727
+ })), Rt = "_header_15ti0_1", vt = "_tabs_15ti0_8", xt = "_tab_15ti0_8", St = "_tabIcon_15ti0_74", Ft = "_clear_15ti0_81", At = "_value_15ti0_113", _t = "_box_15ti0_118", Pt = "_uploadBox_15ti0_119", Nt = "_typeInput_15ti0_230", C = {
728
+ header: Rt,
729
729
  tabs: vt,
730
730
  tab: xt,
731
731
  tabIcon: St,
@@ -734,7 +734,7 @@ const Tt = () => {
734
734
  box: _t,
735
735
  uploadBox: Pt,
736
736
  typeInput: Nt
737
- }, Ut = ({ content: e, locale: t }) => /* @__PURE__ */ s.createElement(we, {
737
+ }, Ut = ({ content: e, locale: t }) => /* @__PURE__ */ s.createElement(Re, {
738
738
  content: e,
739
739
  locale: t
740
740
  }), Ot = () => {
@@ -757,7 +757,7 @@ const Tt = () => {
757
757
  className: v(B, C.tab),
758
758
  "aria-label": e.typeLabel,
759
759
  description: e.typeDescription
760
- }, /* @__PURE__ */ s.createElement(Rt, {
760
+ }, /* @__PURE__ */ s.createElement(wt, {
761
761
  className: C.tabIcon
762
762
  })), /* @__PURE__ */ s.createElement(g.Input.Header.Tabs.Upload, {
763
763
  className: v(B, C.tab),
@@ -1,9 +1,9 @@
1
1
  import t from "react";
2
2
  import l from "classnames";
3
- import { ai as c } from "./form-C6WwBcGP.js";
3
+ import { ai as c } from "./form-DCmjj8mZ.js";
4
4
  import { ProgressBar as g, Button as b } from "react-aria-components";
5
5
  import { f as i } from "./find-child-C60k4CxG.js";
6
- import { a5 as v, a4 as N, a7 as f } from "./form-element-classes-DDKCTFQj.js";
6
+ import { a4 as v, a3 as N, a6 as f } from "./form-element-classes-Dn33C01k.js";
7
7
  function C(e) {
8
8
  const s = "calc(50% - 2px)";
9
9
  return /* @__PURE__ */ t.createElement(g, {
@@ -1,35 +1,34 @@
1
1
  import { RicosViewer as H } from "@wix/ricos/viewer";
2
2
  import _ from "classnames";
3
- import e, { useMemo as I, useState as j, useRef as V, useLayoutEffect as z, useCallback as k } from "react";
4
- import { ai as g, af as K, as as T, ab as Q, ak as Y, ac as J } from "./form-C6WwBcGP.js";
3
+ import e, { useMemo as F, useState as Q, useRef as V, useLayoutEffect as K, useCallback as k } from "react";
4
+ import { ai as g, af as Y, as as v, ab as j, ak as z, ac as J } from "./form-DCmjj8mZ.js";
5
5
  import { CheckboxGroup as X, TextField as Z, Input as ee, CheckboxField as te, CheckboxButton as ae } from "react-aria-components";
6
6
  import { f, a as x } from "./find-child-C60k4CxG.js";
7
- import { E as B, D as P } from "./field-error-headless-DQZ5XAdn.js";
8
- import { L as $ } from "./field-label-headless-DoxfHHaj.js";
7
+ import { E as B, D as P } from "./field-error-headless-uQOcm2Ak.js";
8
+ import { L as $ } from "./field-label-headless-Bzh7f2Ji.js";
9
9
  import { F as ne } from "./fieldset-headless-CD3fds9J.js";
10
10
  import { N as D } from "./options-layout-constants-DEfIEJWD.js";
11
11
  import { E as se } from "./error-icon-hZxQ6DEy.js";
12
- import { s as S } from "./field-rac.module-Cac83bU5.js";
13
- import { z as oe, R as re, a0 as le, a1 as ie, a2 as ce, y as ue, q as de, j as me } from "./form-element-classes-DDKCTFQj.js";
14
- import { T as pe } from "./form-element-keys-D0sEdpFo.js";
12
+ import { s as S } from "./field-rac.module-DjmaTYkc.js";
13
+ import { y as oe, Q as re, $ as le, a0 as ie, a1 as ce, x as ue, p as de, i as me, F as pe } from "./form-element-classes-Dn33C01k.js";
15
14
  import { o as Ee } from "./options-rac.module-KM-VT_KY.js";
16
15
  const N = "Other", he = (a, t) => {
17
16
  const c = t.length + 2;
18
17
  return (a.find((s) => s.startsWith(`${t}: `)) || "").slice(c);
19
- }, Oe = (a) => a.map((t) => t.value ?? t.label), q = ({ className: a, ...t }) => {
18
+ }, Oe = (a) => a.map((t) => t.value ?? t.label), W = ({ className: a, ...t }) => {
20
19
  const { label: l } = t;
21
20
  return /* @__PURE__ */ e.createElement("span", {
22
21
  className: a
23
22
  }, l);
24
- }, W = ({ className: a }) => {
25
- const { value: t, onChange: l, addOtherLabel: c, addOtherPlaceholder: i, otherInputCharacterLimit: s, disabled: u, readOnly: b, hasError: d } = g(), { t: m } = T(), o = c || m("add-other.default-other-option-label") || N, p = I(() => he(t || [], o), [
23
+ }, q = ({ className: a }) => {
24
+ const { value: t, onChange: l, addOtherLabel: c, addOtherPlaceholder: i, otherInputCharacterLimit: s, disabled: u, readOnly: b, hasError: d } = g(), { t: m } = v(), o = c || m("add-other.default-other-option-label") || N, p = F(() => he(t || [], o), [
26
25
  t,
27
26
  o
28
- ]), [n, L] = j(p), E = V(l);
29
- z(() => {
27
+ ]), [n, L] = Q(p), E = V(l);
28
+ K(() => {
30
29
  E.current = l;
31
30
  });
32
- const F = k((h) => {
31
+ const I = k((h) => {
33
32
  L(h);
34
33
  const C = (t || []).filter((O) => !O.startsWith(`${o}:`) && O !== o), R = h ? `${o}: ${h}` : o;
35
34
  E.current([
@@ -42,7 +41,7 @@ const N = "Other", he = (a, t) => {
42
41
  ]);
43
42
  return /* @__PURE__ */ e.createElement(Z, {
44
43
  value: n,
45
- onChange: F,
44
+ onChange: I,
46
45
  isDisabled: u,
47
46
  isReadOnly: b,
48
47
  isInvalid: d,
@@ -54,17 +53,17 @@ const N = "Other", he = (a, t) => {
54
53
  maxLength: s,
55
54
  className: a
56
55
  }));
57
- }, v = ({ children: a, className: t, ...l }) => {
56
+ }, T = ({ children: a, className: t, ...l }) => {
58
57
  const { value: c, label: i, isOther: s, isFirstOption: u } = l, { id: b, value: d, onChange: m, options: o, disabled: p, readOnly: n, hasError: L } = g(), E = V(null);
59
- Y(() => {
58
+ z(() => {
60
59
  var O;
61
60
  u && ((O = E.current) == null || O.focus({
62
61
  preventScroll: !0
63
62
  }));
64
63
  }, b);
65
- const F = f(a, q), h = I(() => d || [], [
64
+ const I = f(a, W), h = F(() => d || [], [
66
65
  d
67
- ]), C = I(() => s ? h.find((O) => O === i || O.startsWith(`${i}: `)) || i : c, [
66
+ ]), C = F(() => s ? h.find((O) => O === i || O.startsWith(`${i}: `)) || i : c, [
68
67
  s,
69
68
  h,
70
69
  i,
@@ -91,14 +90,14 @@ const N = "Other", he = (a, t) => {
91
90
  }, /* @__PURE__ */ e.createElement(ae, {
92
91
  className: t,
93
92
  "data-hook": `tags-${s ? N : c}`
94
- }, x(F, {
93
+ }, x(I, {
95
94
  value: c,
96
95
  label: i,
97
96
  isOther: s,
98
97
  isFirstOption: u
99
98
  })));
100
99
  }, A = ({ children: a, className: t }) => {
101
- const { options: l, addOther: c, addOtherLabel: i, numberOfColumns: s = D.FREE_FLOW } = g(), { isMobile: u } = Q(), { t: b } = T(), d = u && s !== D.FREE_FLOW ? D.ONE : s, m = i || b("add-other.default-other-option-label") || N, o = f(a, v), p = I(() => {
100
+ const { options: l, addOther: c, addOtherLabel: i, numberOfColumns: s = D.FREE_FLOW } = g(), { isMobile: u } = j(), { t: b } = v(), d = u && s !== D.FREE_FLOW ? D.ONE : s, m = i || b("add-other.default-other-option-label") || N, o = f(a, T), p = F(() => {
102
101
  const n = l || [];
103
102
  return c ? [
104
103
  ...n,
@@ -127,7 +126,7 @@ const N = "Other", he = (a, t) => {
127
126
  });
128
127
  }));
129
128
  }, G = ({ children: a, className: t }) => {
130
- const { addOther: l, addOtherLabel: c, hasError: i, readOnly: s, value: u } = g(), { t: b } = T(), d = c || b("add-other.default-other-option-label") || N, m = f(a, A), o = f(a, W), p = I(() => !l || !u ? !1 : u.some((n) => n === d || n.startsWith(`${d}:`)), [
129
+ const { addOther: l, addOtherLabel: c, hasError: i, readOnly: s, value: u } = g(), { t: b } = v(), d = c || b("add-other.default-other-option-label") || N, m = f(a, A), o = f(a, q), p = F(() => !l || !u ? !1 : u.some((n) => n === d || n.startsWith(`${d}:`)), [
131
130
  l,
132
131
  u,
133
132
  d
@@ -138,12 +137,12 @@ const N = "Other", he = (a, t) => {
138
137
  "data-readonly": s
139
138
  }, m, p && o);
140
139
  }, r = ({ children: a }) => {
141
- const { id: t, value: l, onChange: c, FieldLayout: i, required: s, disabled: u, readOnly: b, hasError: d, onBlur: m, onFocus: o } = g(), { inputId: p, labelId: n, ariaDescribedBy: L } = K(), E = I(() => l || [], [
140
+ const { id: t, value: l, onChange: c, FieldLayout: i, required: s, disabled: u, readOnly: b, hasError: d, onBlur: m, onFocus: o } = g(), { inputId: p, labelId: n, ariaDescribedBy: L } = Y(), E = F(() => l || [], [
142
141
  l
143
- ]), F = f(a, $), h = f(a, G), C = f(a, P), R = f(a, B);
142
+ ]), I = f(a, $), h = f(a, G), C = f(a, P), R = f(a, B);
144
143
  return /* @__PURE__ */ e.createElement(i, {
145
144
  fieldId: t,
146
- renderLabel: () => F,
145
+ renderLabel: () => I,
147
146
  renderInput: () => /* @__PURE__ */ e.createElement(ne, {
148
147
  id: p,
149
148
  ariaLabelledBy: n,
@@ -163,12 +162,12 @@ const N = "Other", he = (a, t) => {
163
162
  renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, R, C)
164
163
  });
165
164
  };
166
- A.Option = v;
167
- v.Label = q;
165
+ A.Option = T;
166
+ T.Label = W;
168
167
  r.Label = $;
169
168
  r.Control = G;
170
169
  r.Options = A;
171
- r.OtherInput = W;
170
+ r.OtherInput = q;
172
171
  r.Description = P;
173
172
  r.Error = B;
174
173
  const be = "_control_1kvnw_1", fe = "_options_1kvnw_7", Le = "_option_1kvnw_7", y = {
@@ -178,8 +177,8 @@ const be = "_control_1kvnw_1", fe = "_options_1kvnw_7", Le = "_option_1kvnw_7",
178
177
  }, _e = ({ content: a, locale: t }) => /* @__PURE__ */ e.createElement(H, {
179
178
  content: a,
180
179
  locale: t
181
- }), xe = () => {
182
- const a = J(pe);
180
+ }), ke = () => {
181
+ const a = J(pe.TAGS_OPTION);
183
182
  return /* @__PURE__ */ e.createElement(r, null, /* @__PURE__ */ e.createElement(r.Label, {
184
183
  className: _(oe, S.label)
185
184
  }, /* @__PURE__ */ e.createElement(r.Label.Required, {
@@ -203,5 +202,5 @@ const be = "_control_1kvnw_1", fe = "_options_1kvnw_7", Le = "_option_1kvnw_7",
203
202
  }, _e));
204
203
  };
205
204
  export {
206
- xe as T
205
+ ke as T
207
206
  };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as r } from "./tags-field-rac-CemsTKWz.js";
2
+ import { T as r } from "./tags-field-rac-Dn8VyPzT.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as TagsRAC
@@ -2,15 +2,15 @@ import { RicosViewer as S } from "@wix/ricos/viewer";
2
2
  import n from "classnames";
3
3
  import r, { useCallback as O, useRef as T } from "react";
4
4
  import { TextField as y, TextArea as N } from "react-aria-components";
5
- import { ai as E, af as d, ak as x } from "./form-C6WwBcGP.js";
5
+ import { ai as p, af as E, ak as x } from "./form-DCmjj8mZ.js";
6
6
  import { f as c } from "./find-child-C60k4CxG.js";
7
- import { D as h, E as M } from "./field-error-headless-DQZ5XAdn.js";
8
- import { L as g } from "./field-label-headless-DoxfHHaj.js";
9
- import { E as q } from "./error-icon-hZxQ6DEy.js";
10
- import { s } from "./field-rac.module-Cac83bU5.js";
11
- import { z as v, R as B, y as k, q as P, j as U } from "./form-element-classes-DDKCTFQj.js";
7
+ import { D as h, E as M } from "./field-error-headless-uQOcm2Ak.js";
8
+ import { L as g } from "./field-label-headless-Bzh7f2Ji.js";
9
+ import { E as v } from "./error-icon-hZxQ6DEy.js";
10
+ import { s } from "./field-rac.module-DjmaTYkc.js";
11
+ import { y as q, Q as B, x as k, p as P, i as Q } from "./form-element-classes-Dn33C01k.js";
12
12
  const e = ({ children: t }) => {
13
- const { id: a, value: m, onChange: l, disabled: u, required: o, readOnly: i, onBlur: p, onFocus: f, FieldLayout: I, hasError: F } = E(), { labelId: L } = d(), R = O((C) => {
13
+ const { id: a, value: m, onChange: l, disabled: u, required: o, readOnly: i, onBlur: d, onFocus: f, FieldLayout: I, hasError: F } = p(), { labelId: L } = E(), R = O((C) => {
14
14
  l(C);
15
15
  }, [
16
16
  l
@@ -26,13 +26,13 @@ const e = ({ children: t }) => {
26
26
  isReadOnly: i,
27
27
  isRequired: o,
28
28
  isInvalid: F,
29
- onBlur: p,
29
+ onBlur: d,
30
30
  onFocus: f
31
31
  }, b),
32
32
  renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, A, D)
33
33
  });
34
- }, V = ({ className: t }) => {
35
- const { inputId: a, ariaDescribedBy: m } = d(), { id: l, placeholder: u } = E(), o = T(null);
34
+ }, U = ({ className: t }) => {
35
+ const { inputId: a, ariaDescribedBy: m } = E(), { id: l, placeholder: u } = p(), o = T(null);
36
36
  return x(() => {
37
37
  var i;
38
38
  (i = o.current) == null || i.focus();
@@ -45,25 +45,25 @@ const e = ({ children: t }) => {
45
45
  });
46
46
  };
47
47
  e.Label = g;
48
- e.Input = V;
48
+ e.Input = U;
49
49
  e.Description = h;
50
50
  e.Error = M;
51
- const j = "_input_ug5v8_1", w = {
52
- input: j
53
- }, z = ({ content: t, locale: a }) => /* @__PURE__ */ r.createElement(S, {
51
+ const V = "_input_ug5v8_1", w = {
52
+ input: V
53
+ }, $ = ({ content: t, locale: a }) => /* @__PURE__ */ r.createElement(S, {
54
54
  content: t,
55
55
  locale: a
56
56
  }), re = () => /* @__PURE__ */ r.createElement(e, null, /* @__PURE__ */ r.createElement(e.Label, {
57
- className: n(v, s.label)
57
+ className: n(q, s.label)
58
58
  }, /* @__PURE__ */ r.createElement(e.Label.Required, {
59
59
  className: n(B, s.requiredMark)
60
60
  })), /* @__PURE__ */ r.createElement(e.Input, {
61
61
  className: n(k, s.input, w.input)
62
62
  }), /* @__PURE__ */ r.createElement(e.Error, {
63
63
  className: n(P, s.error)
64
- }, /* @__PURE__ */ r.createElement(q, null), /* @__PURE__ */ r.createElement(e.Error.Text, null)), /* @__PURE__ */ r.createElement(e.Description, {
65
- className: n(U, s.description)
66
- }, z));
64
+ }, /* @__PURE__ */ r.createElement(v, null), /* @__PURE__ */ r.createElement(e.Error.Text, null)), /* @__PURE__ */ r.createElement(e.Description, {
65
+ className: n(Q, s.description)
66
+ }, $));
67
67
  export {
68
68
  re as T
69
69
  };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as r } from "./text-area-field-rac-BPciZlZb.js";
2
+ import { T as r } from "./text-area-field-rac-Pp9HnCS5.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as TextAreaRAC
@@ -1,11 +1,11 @@
1
1
  import { RicosViewer as m } 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-BQ3TWU9G.js";
4
+ import { T as r } from "./text-input-headless-fbiKci5q.js";
5
5
  import { E as o } from "./error-icon-hZxQ6DEy.js";
6
- import { s as a } from "./field-rac.module-Cac83bU5.js";
7
- import { z as n, R as c, y as E, q as i, j as R } from "./form-element-classes-DDKCTFQj.js";
8
- const _ = ({ content: s, locale: l }) => /* @__PURE__ */ e.createElement(m, {
6
+ import { s as a } from "./field-rac.module-DjmaTYkc.js";
7
+ import { y as n, Q as c, x as E, p as i, i as p } from "./form-element-classes-Dn33C01k.js";
8
+ const R = ({ content: s, locale: l }) => /* @__PURE__ */ e.createElement(m, {
9
9
  content: s,
10
10
  locale: l
11
11
  }), N = () => /* @__PURE__ */ e.createElement(r, null, /* @__PURE__ */ e.createElement(r.Label, {
@@ -17,8 +17,8 @@ const _ = ({ content: s, locale: l }) => /* @__PURE__ */ e.createElement(m, {
17
17
  }), /* @__PURE__ */ e.createElement(r.Error, {
18
18
  className: t(i, a.error)
19
19
  }, /* @__PURE__ */ e.createElement(o, null), /* @__PURE__ */ e.createElement(r.Error.Text, null)), /* @__PURE__ */ e.createElement(r.Description, {
20
- className: t(R, a.description)
21
- }, _));
20
+ className: t(p, a.description)
21
+ }, R));
22
22
  export {
23
23
  N as T
24
24
  };
@@ -1,9 +1,9 @@
1
1
  import t, { useRef as L } from "react";
2
2
  import { TextField as R, Input as v } from "react-aria-components";
3
- import { ai as d, af as c, ak as T } from "./form-C6WwBcGP.js";
3
+ import { ai as d, af as c, ak as T } from "./form-DCmjj8mZ.js";
4
4
  import { f as a } from "./find-child-C60k4CxG.js";
5
- import { D as g, E as h } from "./field-error-headless-DQZ5XAdn.js";
6
- import { L as x } from "./field-label-headless-DoxfHHaj.js";
5
+ import { D as g, E as h } from "./field-error-headless-uQOcm2Ak.js";
6
+ import { L as x } from "./field-label-headless-Bzh7f2Ji.js";
7
7
  const e = ({ children: r }) => {
8
8
  const { id: s, value: i, onChange: l, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus: f, FieldLayout: b } = 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
9
  return /* @__PURE__ */ t.createElement(b, {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-CvFoWlRN.js";
2
+ import { T as e } from "./text-input-field-rac-x4ByKmBv.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as TextInputRAC