@wix/form-elements 1.141.0 → 1.142.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 (107) hide show
  1. package/dist/component/{appointment-rac-CBgveDfU.js → appointment-rac-BAwonF75.js} +85 -85
  2. package/dist/component/{bookings-address-rac-BJqKQGM7.js → bookings-address-rac-xhj2n7jK.js} +1 -1
  3. package/dist/component/{bookings-email-rac-BEBnQQtI.js → bookings-email-rac-BGjeAwgm.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-CcLe5bPh.js → bookings-first-name-rac-l392yYAU.js} +1 -1
  5. package/dist/component/{bookings-header-rac-C2CRP5vX.js → bookings-header-rac-JwIo7hsJ.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-D9EPB2o-.js → bookings-last-name-rac-CJp81BPl.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DaDoExJQ.js → bookings-login-bar-rac-BiPklGE_.js} +4 -4
  8. package/dist/component/{bookings-phone-rac-C4rfNh9m.js → bookings-phone-rac-mQfDJGkK.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CHupwGUy.js → bookings-rich-text-rac-BOfHn2EU.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-JA4-Un3S.js → checkbox-field-rac-CA6SeM0c.js} +4 -4
  11. package/dist/component/{checkbox-group-field-headless-ikYtTUSV.js → checkbox-group-field-headless-ChLT0zKA.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-CkkSPle4.js → checkbox-group-field-rac-_Fkre79S.js} +7 -7
  13. package/dist/component/{checkbox-group-rac-BYXab1TV.js → checkbox-group-rac-esBLJZ6Y.js} +1 -1
  14. package/dist/component/{checkbox-rac-MsaKpbsM.js → checkbox-rac-C3vXtbJh.js} +1 -1
  15. package/dist/component/{contacts-address-rac-BG5KM6Mu.js → contacts-address-rac-BuBBBt19.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-CIJtY0ml.js → contacts-birthdate-rac-BMBJeVOK.js} +1 -1
  17. package/dist/component/{contacts-company-rac-qQxsdn-g.js → contacts-company-rac-CZl168-E.js} +1 -1
  18. package/dist/component/{contacts-email-rac-Cb_zFMQd.js → contacts-email-rac-CJgVzCns.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-L0IsiQmM.js → contacts-first-name-rac-9ZNYKQeb.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-BNgF4RBx.js → contacts-last-name-rac-KgylQwHW.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-BhOsgxwZ.js → contacts-phone-rac-DYr30FLP.js} +1 -1
  22. package/dist/component/{contacts-position-rac-B2JM9fSY.js → contacts-position-rac-B9BZZ3K9.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-CVSWNhBY.js → contacts-subscribe-rac-DOQb2GLm.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-BtdNdxYS.js → contacts-tax-id-rac-cYE1ehXN.js} +1 -1
  25. package/dist/component/{date-availability-BVSO1Gbz.js → date-availability-BOKvA8w-.js} +1 -1
  26. package/dist/component/{date-input-field-rac-DFCPKpI2.js → date-input-field-rac-BwY53gNr.js} +47 -47
  27. package/dist/component/{date-input-rac-CcC5JdTU.js → date-input-rac-Cgg4QJbB.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-CAr7r5k3.js → date-picker-field-rac-0Ue6uiCM.js} +5 -5
  29. package/dist/component/{date-picker-rac-0WEGa3ZQ.js → date-picker-rac-CgICj33f.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-DPlFlkrF.js → date-time-input-field-rac-ChRCMk7_.js} +60 -60
  31. package/dist/component/{date-time-input-rac-c0dm0pdf.js → date-time-input-rac-B8tRZrri.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-B1db5jv3.js → dext-checkbox-group-rac-B_qjx1QD.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-C03w68Ta.js → dext-checkbox-rac-Bw9SyhHA.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-DTjysj_k.js → dext-date-picker-rac-Bzn28zNq.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-CnL2o6YR.js → dext-date-time-input-rac-7Cuk3PoA.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-CJxC-Wr0.js → dext-dropdown-rac-Md1VI5pc.js} +1 -1
  37. package/dist/component/{dext-email-rac-CewA7bXc.js → dext-email-rac-DbHwHGKz.js} +1 -1
  38. package/dist/component/{dext-number-input-rac--_aUE6C8.js → dext-number-input-rac-DIVk3zXL.js} +1 -1
  39. package/dist/component/{dext-phone-rac-_ObccrwR.js → dext-phone-rac-ZIya63UJ.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-DXBCI2mT.js → dext-radio-group-rac-DV1xHkOD.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-CS3VY3B3.js → dext-rating-input-rac-YRIYgeT4.js} +1 -1
  42. package/dist/component/{dext-tags-rac-CyTea3vl.js → dext-tags-rac-DTJ6Pz_x.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-C_qN16CX.js → dext-text-area-rac-V-d9i95A.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-DhqfiI_U.js → dext-text-input-rac-ccrundX-.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-CxI4MbMH.js → dext-url-input-rac-Bd5SZ2U4.js} +1 -1
  46. package/dist/component/{donation-rac-BZmT89_j.js → donation-rac-BFmpW-3b.js} +23 -23
  47. package/dist/component/{dropdown-field-headless-CO82AsyC.js → dropdown-field-headless-C2qgeReH.js} +5 -5
  48. package/dist/component/{dropdown-field-rac-BqPHSq7k.js → dropdown-field-rac-Bj1YSgpT.js} +9 -9
  49. package/dist/component/{dropdown-rac-pOLj9tRE.js → dropdown-rac-DfdvX5I5.js} +1 -1
  50. package/dist/component/{ecom-address-rac-DBQ0rVmy.js → ecom-address-rac-DOWNQhhX.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-BJoMvht8.js → ecom-subscription-checkbox-rac-2ELdC1ql.js} +2 -2
  52. package/dist/component/{email-input-field-rac-DTqYXW-m.js → email-input-field-rac-CY0U6vEM.js} +34 -34
  53. package/dist/component/{events-repeater-rac-3gkcVOh6.js → events-repeater-rac-C2oo_RZt.js} +4 -4
  54. package/dist/component/{events-rsvp-rac-DYMvnjuz.js → events-rsvp-rac-BrimIo0r.js} +8 -8
  55. package/dist/component/{field-error-headless-CQ8PHjtA.js → field-error-headless-r0fX50xw.js} +1 -1
  56. package/dist/component/{field-label-headless-BgAx-Enb.js → field-label-headless-D-kCfg8j.js} +1 -1
  57. package/dist/component/{file-upload-rac-B8TgLoCU.js → file-upload-rac-Beb2BcFK.js} +160 -160
  58. package/dist/component/{fixed-payment-rac-CRupF7Fu.js → fixed-payment-rac-DGFWYMZG.js} +9 -9
  59. package/dist/component/{form-BzzldBcB.js → form-DtzwuBIo.js} +296 -293
  60. package/dist/component/form.js +1 -1
  61. package/dist/component/{header-field-rac-iFuM4bGC.js → header-field-rac-CVmGSa0E.js} +2 -2
  62. package/dist/component/{header-rac-CLOeCzLk.js → header-rac-C3AEJmYN.js} +1 -1
  63. package/dist/component/{image-choice-rac-C6UBnrn3.js → image-choice-rac-Ch-mxLgP.js} +16 -16
  64. package/dist/component/{index-BHGQWZ7f.js → index-CTn6AQ3A.js} +2 -2
  65. package/dist/component/{index-CtMQ3oqe.js → index-CmqLlW8X.js} +4 -4
  66. package/dist/component/{isObjectLike-BVz2g6jF.js → isObjectLike-iyypwAQL.js} +1 -1
  67. package/dist/component/{multiline-address-field-rac-CKBpkEET.js → multiline-address-field-rac-DJXcb6NG.js} +41 -41
  68. package/dist/component/{multiline-address-rac-DcGF1aWF.js → multiline-address-rac-DcZgTx1c.js} +1 -1
  69. package/dist/component/{number-input-field-rac-CODTSfX-.js → number-input-field-rac-W3TqQGhC.js} +20 -20
  70. package/dist/component/{number-input-rac-ByT6DN8A.js → number-input-rac-CdXigsba.js} +1 -1
  71. package/dist/component/{password-rac-Bwnpd70V.js → password-rac-Dph6984u.js} +19 -19
  72. package/dist/component/{payment-input-rac-DmfJZmgO.js → payment-input-rac-D5ARk1lF.js} +23 -23
  73. package/dist/component/{phone-input-field-rac-B2exX67y.js → phone-input-field-rac-BUfe-B2i.js} +55 -55
  74. package/dist/component/{phone-rac-9HksdhZY.js → phone-rac-DTiWT1uy.js} +1 -1
  75. package/dist/component/{product-list-rac-DnhtTpJC.js → product-list-rac-1_Q2JYwH.js} +32 -32
  76. package/dist/component/{quiz-radio-group-rac-BNVLQ2YS.js → quiz-radio-group-rac-iyBhi0wJ.js} +1 -1
  77. package/dist/component/{radio-button-module-classes-D2nPj405.js → radio-button-module-classes-DwfobXBe.js} +3 -3
  78. package/dist/component/{radio-group-field-rac-BT657aHX.js → radio-group-field-rac-BkKNVwMi.js} +8 -8
  79. package/dist/component/{radio-group-rac-yjr7rBFf.js → radio-group-rac-CH0nkJ8V.js} +1 -1
  80. package/dist/component/{rating-input-field-rac-DJzVLTkF.js → rating-input-field-rac-CUUUlgZi.js} +27 -27
  81. package/dist/component/{rating-input-rac-Cpzm_Rbk.js → rating-input-rac-8yEiqBR5.js} +1 -1
  82. package/dist/component/{rich-content-rac.module-B8WTFbve.js → rich-content-rac.module-DeKU0pwh.js} +1 -1
  83. package/dist/component/{rich-text-field-rac-DCiBRkow.js → rich-text-field-rac-Cwd-RWTi.js} +2 -2
  84. package/dist/component/{rich-text-rac-DiP1GwaU.js → rich-text-rac-C5-jPNYP.js} +1 -1
  85. package/dist/component/{service-dropdown-rac-D5YlC7mU.js → service-dropdown-rac-DBGAnsut.js} +37 -37
  86. package/dist/component/{services-multi-choice-rac-D5uwtGzk.js → services-multi-choice-rac-CqEoGsuw.js} +12 -12
  87. package/dist/component/{signature-rac-g7pBfp7A.js → signature-rac-Cq3y66Cr.js} +36 -36
  88. package/dist/component/{submit-button-rac-WVz4yWjl.js → submit-button-rac-CKM7yUL4.js} +2 -2
  89. package/dist/component/{tags-field-rac-BS7qlHyA.js → tags-field-rac-CpJ0O9f_.js} +15 -15
  90. package/dist/component/{tags-rac-CQGlk8GO.js → tags-rac-BPjw67Po.js} +1 -1
  91. package/dist/component/{text-area-field-rac-B2rsUGoZ.js → text-area-field-rac-BG6MJuIW.js} +16 -16
  92. package/dist/component/{text-area-rac-CwJXAFKH.js → text-area-rac-BAS4F4VC.js} +1 -1
  93. package/dist/component/{text-input-field-rac-CiZ83ULN.js → text-input-field-rac-BhMktcEd.js} +5 -5
  94. package/dist/component/{text-input-headless-C56J6s10.js → text-input-headless-Bpjd70nh.js} +3 -3
  95. package/dist/component/{text-input-rac-BMSWPbrZ.js → text-input-rac-Bj21XKGA.js} +1 -1
  96. package/dist/component/{time-input-rac-DrKC1wiN.js → time-input-rac-DBpRHdnX.js} +12 -12
  97. package/dist/component/{url-input-field-rac-HPvjYmsV.js → url-input-field-rac-B_EMXVWh.js} +11 -11
  98. package/dist/component/{url-input-rac-gQIszvK3.js → url-input-rac-D0Ck-9KV.js} +1 -1
  99. package/dist/component/{use-dropdown-option-class-name-nZCgStzg.js → use-dropdown-option-class-name-CkpHwC6t.js} +21 -21
  100. package/dist/component/{use-dropdown-trigger-class-name-Ba9Ej9xC.js → use-dropdown-trigger-class-name-DmDwpAVn.js} +2 -2
  101. package/dist/component/{use-element-state-class-name-CEMjabjh.js → use-element-state-class-name-BrgdwHYP.js} +1 -1
  102. package/dist/component/{use-hoverable-input-class-name-BSiPBu4i.js → use-hoverable-input-class-name-qVo45l-t.js} +2 -2
  103. package/dist/component/{use-service-options-base-DSkh5Ayp.js → use-service-options-base-Dlqs4p0Z.js} +1 -1
  104. package/dist/component/use-text-input-class-name-CP2VJOso.js +6 -0
  105. package/dist/form.d.ts +12 -2
  106. package/package.json +2 -2
  107. package/dist/component/use-text-input-class-name-B2pSCrTD.js +0 -6
@@ -2,17 +2,17 @@ import s, { useRef as $, useContext as Ae, useMemo as be, useCallback as _, useS
2
2
  import we from "@wix/editor-react-components/AnimatedIcon";
3
3
  import { RicosViewer as xe } from "@wix/ricos/viewer";
4
4
  import F from "classnames";
5
- import { aN as Ue, bd as Te, ap as Be, F as Oe, bf as Pe, bb as Me, br as ye, E as me, af as oe, bj as x, bg as W, bl as Ce, bt as He, bc as We, N as Ye, Y as Ze, _ as ke, u as pe, b as Ge, a3 as Ve, a4 as fe, G as $e, Z as ze, a1 as Xe, $ as qe, a2 as je, f as ne, a0 as Je } from "./form-BzzldBcB.js";
5
+ import { aN as Ue, bd as Te, ap as Be, F as Oe, bf as Pe, bb as Me, br as ye, E as me, af as oe, bj as x, bg as W, bl as Ce, bt as He, bc as We, R as Ye, $ as Ze, a1 as ke, u as pe, b as Ge, a6 as Ve, a7 as fe, G as $e, a0 as ze, a4 as Xe, a2 as qe, a5 as je, f as ne, a3 as Je } from "./form-DtzwuBIo.js";
6
6
  import { useHover as Ke, useFocusRing as Qe, mergeProps as et } from "react-aria";
7
7
  import { RadioGroup as tt, Button as Ie, TextField as nt, DropZone as at, Input as ot, FileTrigger as rt, RadioField as st, RadioButton as lt } from "react-aria-components";
8
8
  import _e from "signature_pad";
9
9
  import { f as C, a as A } from "./find-child-C60k4CxG.js";
10
- import { D as it, E as ct } from "./field-error-headless-CQ8PHjtA.js";
11
- import { L as ut } from "./field-label-headless-BgAx-Enb.js";
10
+ import { D as it, E as ct } from "./field-error-headless-r0fX50xw.js";
11
+ import { L as ut } from "./field-label-headless-D-kCfg8j.js";
12
12
  import { D as dt } from "./data-hooks-Dkw1pbRj.js";
13
13
  import { E as mt } from "./error-icon-hZxQ6DEy.js";
14
14
  import { s as ae } from "./field-rac.module-DfEb7pBp.js";
15
- import { u as X } from "./use-element-state-class-name-CEMjabjh.js";
15
+ import { u as X } from "./use-element-state-class-name-BrgdwHYP.js";
16
16
  const pt = typeof s.useId == "function" ? s.useId : () => $(Ue()).current, ft = ({ properties: e }) => e.uploadEnabled === !0, Et = (e, t) => e.fieldType === Oe.SIGNATURE && !e.properties.hidden && !e.properties.disabled && !e.properties.readOnly && (t !== "upload" || ft(e)), gt = (e, t) => e.layout.row - t.layout.row || e.layout.column - t.layout.column, ht = (e) => {
17
17
  var o;
18
18
  const t = (o = Te().signatureContainer) == null ? void 0 : o.signatureMode, a = Ae(Be);
@@ -28,7 +28,7 @@ var N = /* @__PURE__ */ (function(e) {
28
28
  return e.TEXT = "text/plain", e.POINTS = "points/json", e;
29
29
  })({}), y = /* @__PURE__ */ (function(e) {
30
30
  return e.DRAW = "draw", e.TYPE = "type", e.UPLOAD = "upload", e;
31
- })({}), S = /* @__PURE__ */ (function(e) {
31
+ })({}), R = /* @__PURE__ */ (function(e) {
32
32
  return e.DRAW = "draw", e.TYPE = "type", e.IMAGE = "image", e.UPLOAD = "upload", e;
33
33
  })({});
34
34
  const bt = (e) => {
@@ -112,7 +112,7 @@ function ge(e, t) {
112
112
  const a = e.getContext("2d"), n = e.offsetWidth, o = e.offsetHeight, r = Math.max(window.devicePixelRatio || 1, 1), l = n * r, i = o * r;
113
113
  return (e.width !== l || e.height !== i) && a ? (e.width = l, e.height = i, a.scale(r, r), t == null || t.redraw(), !0) : !1;
114
114
  }
115
- const V = 480, It = (e) => Re({
115
+ const V = 480, It = (e) => Se({
116
116
  data: JSON.stringify(e),
117
117
  mimeType: N.POINTS
118
118
  }), ve = (e) => {
@@ -147,14 +147,14 @@ function vt(e, t, a = "black", n = !1, o) {
147
147
  const m = (i - u) / 2;
148
148
  r.fillText(t, n ? i - m : m, (c - d) / 2 + f);
149
149
  }
150
- const Se = /^data:([^;,]+)(?:;([^,]+))?,(.+)$/;
150
+ const Re = /^data:([^;,]+)(?:;([^,]+))?,(.+)$/;
151
151
  function Dt(e) {
152
- return Se.test(e);
152
+ return Re.test(e);
153
153
  }
154
154
  function Y(e) {
155
155
  if (!e)
156
156
  return;
157
- const t = e.match(Se);
157
+ const t = e.match(Re);
158
158
  if (!t)
159
159
  return;
160
160
  const [, a, n, o] = t;
@@ -164,7 +164,7 @@ function Y(e) {
164
164
  encoding: n
165
165
  };
166
166
  }
167
- function Re({ data: e, mimeType: t, encoding: a = "text" }) {
167
+ function Se({ data: e, mimeType: t, encoding: a = "text" }) {
168
168
  const n = a === "base64" ? btoa(e) : encodeURI(e);
169
169
  return `data:${a === "base64" ? `${t};base64` : t},${n}`;
170
170
  }
@@ -192,7 +192,7 @@ function ie(e, t = "temp") {
192
192
  fileType: (a == null ? void 0 : a.mimeType) ?? ""
193
193
  };
194
194
  }
195
- async function St(e, t) {
195
+ async function Rt(e, t) {
196
196
  const a = Y(e);
197
197
  if (!a)
198
198
  return e;
@@ -221,8 +221,8 @@ async function St(e, t) {
221
221
  }
222
222
  return e;
223
223
  }
224
- async function Rt(e, t) {
225
- const a = await St(e, t);
224
+ async function St(e, t) {
225
+ const a = await Rt(e, t);
226
226
  if (a)
227
227
  return Nt(a, "signature");
228
228
  }
@@ -239,7 +239,7 @@ const At = ({ value: e, onChange: t, target: a }) => {
239
239
  try {
240
240
  const p = (h == null ? void 0 : h.url) ?? "";
241
241
  if (Dt(p)) {
242
- const g = await Rt(p, r);
242
+ const g = await St(p, r);
243
243
  if (g) {
244
244
  const E = await l(g);
245
245
  t([
@@ -309,13 +309,13 @@ const At = ({ value: e, onChange: t, target: a }) => {
309
309
  ]), m = r != null, L = xt(i, r, l), h = (() => {
310
310
  switch (i) {
311
311
  case y.DRAW:
312
- return S.DRAW;
312
+ return R.DRAW;
313
313
  case y.TYPE:
314
- return S.TYPE;
314
+ return R.TYPE;
315
315
  case y.UPLOAD:
316
- return L != null ? S.IMAGE : S.UPLOAD;
316
+ return L != null ? R.IMAGE : R.UPLOAD;
317
317
  default:
318
- return S.DRAW;
318
+ return R.DRAW;
319
319
  }
320
320
  })();
321
321
  return {
@@ -360,15 +360,15 @@ const Ut = (e) => {
360
360
  renderDescription: () => /* @__PURE__ */ s.createElement(s.Fragment, null, l, r)
361
361
  });
362
362
  }, Bt = {
363
- [y.DRAW]: S.DRAW,
364
- [y.TYPE]: S.TYPE,
365
- [y.UPLOAD]: S.UPLOAD
363
+ [y.DRAW]: R.DRAW,
364
+ [y.TYPE]: R.TYPE,
365
+ [y.UPLOAD]: R.UPLOAD
366
366
  }, J = ({ children: e, className: t }) => {
367
367
  const { id: a, value: n, onChange: o, target: r, readOnly: l } = x(), i = ht(a), { signatureMode: c, setSignatureMode: u, handleClear: d, clearable: f, signatureView: m, signatureValueForView: L, handleChange: h, handleBeforeChange: p } = Ft({
368
368
  target: r,
369
369
  value: n,
370
370
  onChange: o
371
- }), g = C(e, J.Header), E = C(e, J.Value), R = {
371
+ }), g = C(e, J.Header), E = C(e, J.Value), S = {
372
372
  signatureMode: i ?? c,
373
373
  setSignatureMode: u,
374
374
  handleClear: d,
@@ -381,7 +381,7 @@ const Ut = (e) => {
381
381
  return /* @__PURE__ */ s.createElement("div", {
382
382
  className: t,
383
383
  "data-hook": "signature-container"
384
- }, !l && A(g, R), A(E, R));
384
+ }, !l && A(g, S), A(E, S));
385
385
  }, K = ({ children: e, className: t, ...a }) => {
386
386
  const { signatureMode: n, setSignatureMode: o, clearable: r, handleClear: l } = a, { uploadEnabled: i } = x(), c = C(e, K.Tabs), u = C(e, K.Clear);
387
387
  return /* @__PURE__ */ s.createElement("div", {
@@ -455,7 +455,7 @@ const Ut = (e) => {
455
455
  "data-invalid": f,
456
456
  "data-disabled": i,
457
457
  "data-readonly": c
458
- }, n === S.DRAW && A(m, {
458
+ }, n === R.DRAW && A(m, {
459
459
  value: o,
460
460
  onChange: r,
461
461
  onBeforeChange: l,
@@ -463,7 +463,7 @@ const Ut = (e) => {
463
463
  readOnly: c,
464
464
  onBlur: u,
465
465
  onFocus: d
466
- }), n === S.TYPE && A(L, {
466
+ }), n === R.TYPE && A(L, {
467
467
  value: o,
468
468
  onChange: r,
469
469
  onBeforeChange: l,
@@ -471,7 +471,7 @@ const Ut = (e) => {
471
471
  readOnly: c,
472
472
  onBlur: u,
473
473
  onFocus: d
474
- }), (n === S.UPLOAD || n === S.IMAGE) && A(h, {
474
+ }), (n === R.UPLOAD || n === R.IMAGE) && A(h, {
475
475
  value: o,
476
476
  onChange: r,
477
477
  onBeforeChange: l,
@@ -481,7 +481,7 @@ const Ut = (e) => {
481
481
  onFocus: d
482
482
  }));
483
483
  }, Yt = ({ className: e, emptyLabel: t, signedLabel: a, ...n }) => {
484
- const { value: o, onChange: r, onBeforeChange: l, disabled: i, readOnly: c, onBlur: u, onFocus: d } = n, { id: f } = x(), { inputId: m, ariaDescribedBy: L } = W(), h = ce(), p = $(), g = $(), E = $(null), R = o == null ? void 0 : o.url, [Z, P] = q(!1);
484
+ const { value: o, onChange: r, onBeforeChange: l, disabled: i, readOnly: c, onBlur: u, onFocus: d } = n, { id: f } = x(), { inputId: m, ariaDescribedBy: L } = W(), h = ce(), p = $(), g = $(), E = $(null), S = o == null ? void 0 : o.url, [Z, P] = q(!1);
485
485
  Ce(() => {
486
486
  var I;
487
487
  (I = g.current) == null || I.focus();
@@ -515,8 +515,8 @@ const Ut = (e) => {
515
515
  if (g.current = I, p.current = new _e(I, {
516
516
  ...v,
517
517
  penColor: getComputedStyle(I).color || void 0
518
- }), ge(g.current, p.current), R) {
519
- const G = ve(R);
518
+ }), ge(g.current, p.current), S) {
519
+ const G = ve(S);
520
520
  G && (p.current.fromData(G), P(!0));
521
521
  } else
522
522
  p.current.clear(), P(!1);
@@ -527,7 +527,7 @@ const Ut = (e) => {
527
527
  (B = E.current) == null || B.disconnect(), (D = p.current) == null || D.removeEventListener("endStroke", z), (O = p.current) == null || O.removeEventListener("beginStroke", k);
528
528
  }, [
529
529
  v,
530
- R,
530
+ S,
531
531
  k,
532
532
  z
533
533
  ]);
@@ -544,7 +544,7 @@ const Ut = (e) => {
544
544
  id: m,
545
545
  "data-hook": "signature-canvas",
546
546
  "data-input-id": m,
547
- "data-has-value": !!R,
547
+ "data-has-value": !!S,
548
548
  onFocus: d,
549
549
  onBlur: u,
550
550
  role: "img",
@@ -552,7 +552,7 @@ const Ut = (e) => {
552
552
  "aria-describedby": L
553
553
  }));
554
554
  }, de = ({ children: e, className: t, ...a }) => {
555
- const { value: n, onChange: o, onBeforeChange: r, disabled: l, readOnly: i, onBlur: c, onFocus: u } = a, { id: d, required: f, hasError: m } = x(), { inputId: L, ariaDescribedBy: h, labelId: p } = W(), g = ce(), E = n != null && n.url ? Y(n.url) : void 0, { data: R = "" } = E ?? {
555
+ const { value: n, onChange: o, onBeforeChange: r, disabled: l, readOnly: i, onBlur: c, onFocus: u } = a, { id: d, required: f, hasError: m } = x(), { inputId: L, ariaDescribedBy: h, labelId: p } = W(), g = ce(), E = n != null && n.url ? Y(n.url) : void 0, { data: S = "" } = E ?? {
556
556
  data: ""
557
557
  };
558
558
  Ce(() => {
@@ -570,7 +570,7 @@ const Ut = (e) => {
570
570
  L
571
571
  ]);
572
572
  const Z = _((v) => {
573
- r == null || r(), v.trim() ? o(ie(Re({
573
+ r == null || r(), v.trim() ? o(ie(Se({
574
574
  data: v,
575
575
  mimeType: N.TEXT
576
576
  }))) : o(null);
@@ -580,7 +580,7 @@ const Ut = (e) => {
580
580
  ]), P = C(e, de.Value);
581
581
  return /* @__PURE__ */ s.createElement(nt, {
582
582
  "aria-labelledby": p,
583
- value: R,
583
+ value: S,
584
584
  onChange: Z,
585
585
  onBlur: c,
586
586
  onFocus: u,
@@ -836,7 +836,7 @@ const Vt = () => {
836
836
  base: T.uploadButton,
837
837
  hover: T.uploadButtonHover
838
838
  }
839
- }), m = (B = (U = (w = (I = (te = (k = Te().signatureContainer) == null ? void 0 : k.elementProps) == null ? void 0 : te.signatureDropZone) == null ? void 0 : I.elementProps) == null ? void 0 : w.signatureUploadButton) == null ? void 0 : U.elementProps) == null ? void 0 : B.icon, { wix: L, className: h, ...p } = m ?? {}, g = We(ne.SIGNATURE_CONTAINER, ne.SIGNATURE_DROP_ZONE, ne.SIGNATURE_UPLOAD_BUTTON, ne.UPLOAD_BUTTON_LABEL), E = $(null), [R, Z] = q(!1), [P, v] = q(!1), ee = _(() => {
839
+ }), m = (B = (U = (w = (I = (te = (k = Te().signatureContainer) == null ? void 0 : k.elementProps) == null ? void 0 : te.signatureDropZone) == null ? void 0 : I.elementProps) == null ? void 0 : w.signatureUploadButton) == null ? void 0 : U.elementProps) == null ? void 0 : B.icon, { wix: L, className: h, ...p } = m ?? {}, g = We(ne.SIGNATURE_CONTAINER, ne.SIGNATURE_DROP_ZONE, ne.SIGNATURE_UPLOAD_BUTTON, ne.UPLOAD_BUTTON_LABEL), E = $(null), [S, Z] = q(!1), [P, v] = q(!1), ee = _(() => {
840
840
  var D;
841
841
  Z(!0), (D = E.current) == null || D.runAnimationForward();
842
842
  }, []), z = _(() => {
@@ -911,7 +911,7 @@ const Vt = () => {
911
911
  className: F(Ge, Ve, h)
912
912
  }) : null, /* @__PURE__ */ s.createElement(b.Input.Value.Upload.Button.Text, {
913
913
  className: F(fe.base, T.uploadButtonLabel, g, {
914
- [fe.hover]: n && (R || P)
914
+ [fe.hover]: n && (S || P)
915
915
  })
916
916
  }, e.uploadLabel))))), /* @__PURE__ */ s.createElement(b.Error, {
917
917
  className: F($e, ae.error)
@@ -1,10 +1,10 @@
1
1
  import t, { useRef as F, useCallback as P } from "react";
2
2
  import q from "@wix/editor-react-components/AnimatedIcon";
3
3
  import v from "classnames";
4
- import { bj as B, bd as A, ai as R, b as k, ah as y, ad as M, ac as U, ag as D } from "./form-BzzldBcB.js";
4
+ import { bj as B, bd as A, ai as R, b as k, ah as y, ad as M, ac as U, ag as D } from "./form-DtzwuBIo.js";
5
5
  import { ProgressBar as W, Button as C } from "react-aria-components";
6
6
  import { f as m } from "./find-child-C60k4CxG.js";
7
- import { u as N } from "./use-element-state-class-name-CEMjabjh.js";
7
+ import { u as N } from "./use-element-state-class-name-BrgdwHYP.js";
8
8
  function V(e) {
9
9
  const s = "calc(50% - 2px)";
10
10
  return /* @__PURE__ */ t.createElement(W, {
@@ -1,16 +1,16 @@
1
- import { RicosViewer as Y } from "@wix/ricos/viewer";
1
+ import { RicosViewer as w } from "@wix/ricos/viewer";
2
2
  import F from "classnames";
3
- import t, { useMemo as I, useState as w, useRef as N, useLayoutEffect as z, useCallback as k } from "react";
4
- import { CheckboxGroup as B, TextField as J, Input as K, CheckboxField as X, CheckboxButton as Z } from "react-aria-components";
5
- import { bj as D, bg as M, bt as S, bl as U, N as ee, Y as te, a6 as ne, G as oe, u as ae, a7 as re } from "./form-BzzldBcB.js";
3
+ import t, { useMemo as I, useState as z, useRef as N, useLayoutEffect as B, useCallback as k } from "react";
4
+ import { CheckboxGroup as J, TextField as K, Input as X, CheckboxField as Y, CheckboxButton as Z } from "react-aria-components";
5
+ import { bj as D, bg as M, bt as S, bl as U, R as ee, $ as te, a9 as ne, G as oe, u as ae, aa as re } from "./form-DtzwuBIo.js";
6
6
  import { f as O, a as x } from "./find-child-C60k4CxG.js";
7
- import { E as W, D as H } from "./field-error-headless-CQ8PHjtA.js";
8
- import { L as $ } from "./field-label-headless-BgAx-Enb.js";
7
+ import { E as W, D as H } from "./field-error-headless-r0fX50xw.js";
8
+ import { L as $ } from "./field-label-headless-D-kCfg8j.js";
9
9
  import { F as se } from "./fieldset-headless-CD3fds9J.js";
10
10
  import { E as le } from "./error-icon-hZxQ6DEy.js";
11
11
  import { s as y } from "./field-rac.module-DfEb7pBp.js";
12
- import { u as ie } from "./use-element-state-class-name-CEMjabjh.js";
13
- import { u as ce } from "./use-text-input-class-name-B2pSCrTD.js";
12
+ import { u as ie } from "./use-element-state-class-name-BrgdwHYP.js";
13
+ import { u as ce } from "./use-text-input-class-name-CP2VJOso.js";
14
14
  var ue = /* @__PURE__ */ (function(e) {
15
15
  return e[e.FREE_FLOW = 0] = "FREE_FLOW", e[e.ONE = 1] = "ONE", e[e.TWO = 2] = "TWO", e[e.THREE = 3] = "THREE", e;
16
16
  })({});
@@ -26,8 +26,8 @@ const v = "Other", de = (e, n) => {
26
26
  const { value: n, onChange: r, addOtherLabel: i, addOtherPlaceholder: s, otherInputCharacterLimit: l, disabled: u, readOnly: m, hasError: d } = D(), { t: p } = S(), o = i || p("add-other.default-other-option-label") || v, b = I(() => de(n || [], o), [
27
27
  n,
28
28
  o
29
- ]), [c, L] = w(b), f = N(r);
30
- z(() => {
29
+ ]), [c, L] = z(b), f = N(r);
30
+ B(() => {
31
31
  f.current = r;
32
32
  });
33
33
  const g = k((h) => {
@@ -41,14 +41,14 @@ const v = "Other", de = (e, n) => {
41
41
  n,
42
42
  o
43
43
  ]);
44
- return /* @__PURE__ */ t.createElement(J, {
44
+ return /* @__PURE__ */ t.createElement(K, {
45
45
  value: c,
46
46
  onChange: g,
47
47
  isDisabled: u,
48
48
  isReadOnly: m,
49
49
  isInvalid: d,
50
50
  "aria-label": o
51
- }, /* @__PURE__ */ t.createElement(K, {
51
+ }, /* @__PURE__ */ t.createElement(X, {
52
52
  "data-hook": "tags-other-input",
53
53
  "data-filled": c ? !0 : void 0,
54
54
  placeholder: s,
@@ -82,7 +82,7 @@ const v = "Other", de = (e, n) => {
82
82
  o,
83
83
  h
84
84
  ]);
85
- return /* @__PURE__ */ t.createElement(X, {
85
+ return /* @__PURE__ */ t.createElement(Y, {
86
86
  inputRef: f,
87
87
  value: C,
88
88
  onChange: l ? _ : void 0,
@@ -152,7 +152,7 @@ const v = "Other", de = (e, n) => {
152
152
  required: l,
153
153
  onBlur: p,
154
154
  onFocus: o
155
- }, /* @__PURE__ */ t.createElement(B, {
155
+ }, /* @__PURE__ */ t.createElement(J, {
156
156
  "aria-labelledby": c,
157
157
  value: f,
158
158
  onChange: i,
@@ -178,7 +178,7 @@ const pe = "_control_t6hu2_1", he = "_options_t6hu2_7", Ee = "_option_t6hu2_7",
178
178
  option: Ee,
179
179
  optionHover: be,
180
180
  optionSelected: Oe
181
- }, fe = ({ content: e, locale: n }) => /* @__PURE__ */ t.createElement(Y, {
181
+ }, fe = ({ content: e, locale: n }) => /* @__PURE__ */ t.createElement(w, {
182
182
  content: e,
183
183
  locale: n
184
184
  }), Ie = {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as r } from "./tags-field-rac-BS7qlHyA.js";
2
+ import { T as r } from "./tags-field-rac-CpJ0O9f_.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as TagsRAC
@@ -2,26 +2,26 @@ import { RicosViewer as N } from "@wix/ricos/viewer";
2
2
  import o from "classnames";
3
3
  import r, { useCallback as T, useRef as O } from "react";
4
4
  import { TextField as S, TextArea as y } from "react-aria-components";
5
- import { bj as p, bg as d, bl as x, N as g, Y as h, G as v, u as M } from "./form-BzzldBcB.js";
5
+ import { bj as p, bg as d, bl as x, R as g, $ as h, G as v, u as M } from "./form-DtzwuBIo.js";
6
6
  import { f as i } from "./find-child-C60k4CxG.js";
7
- import { D as q, E as B } from "./field-error-headless-CQ8PHjtA.js";
8
- import { L as k } from "./field-label-headless-BgAx-Enb.js";
7
+ import { D as q, E as B } from "./field-error-headless-r0fX50xw.js";
8
+ import { L as k } from "./field-label-headless-D-kCfg8j.js";
9
9
  import { E as P } from "./error-icon-hZxQ6DEy.js";
10
10
  import { s as c } from "./field-rac.module-DfEb7pBp.js";
11
- import { u as V } from "./use-text-input-class-name-B2pSCrTD.js";
11
+ import { u as V } from "./use-text-input-class-name-CP2VJOso.js";
12
12
  const e = ({ children: t }) => {
13
- const { id: a, value: m, onChange: s, disabled: u, required: n, readOnly: l, onBlur: E, onFocus: b, FieldLayout: I, hasError: f } = p(), { labelId: F } = d(), L = T((A) => {
13
+ const { id: a, value: m, onChange: s, disabled: u, required: n, readOnly: l, onBlur: E, onFocus: b, FieldLayout: I, hasError: f } = p(), { labelId: R } = d(), F = T((A) => {
14
14
  s(A);
15
15
  }, [
16
16
  s
17
- ]), R = i(t, e.Label), D = i(t, e.Input), _ = i(t, e.Description), C = i(t, e.Error);
17
+ ]), L = i(t, e.Label), D = i(t, e.Input), _ = i(t, e.Description), C = i(t, e.Error);
18
18
  return /* @__PURE__ */ r.createElement(I, {
19
19
  fieldId: a,
20
- renderLabel: () => R,
20
+ renderLabel: () => L,
21
21
  renderInput: () => /* @__PURE__ */ r.createElement(S, {
22
- "aria-labelledby": F,
22
+ "aria-labelledby": R,
23
23
  value: m ?? "",
24
- onChange: L,
24
+ onChange: F,
25
25
  isDisabled: u,
26
26
  isReadOnly: l,
27
27
  isRequired: n,
@@ -31,7 +31,7 @@ const e = ({ children: t }) => {
31
31
  }, D),
32
32
  renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, C, _)
33
33
  });
34
- }, j = ({ className: t }) => {
34
+ }, $ = ({ className: t }) => {
35
35
  const { inputId: a, ariaDescribedBy: m } = d(), { id: s, placeholder: u } = p(), n = O(null);
36
36
  return x(() => {
37
37
  var l;
@@ -45,16 +45,16 @@ const e = ({ children: t }) => {
45
45
  });
46
46
  };
47
47
  e.Label = k;
48
- e.Input = j;
48
+ e.Input = $;
49
49
  e.Description = q;
50
50
  e.Error = B;
51
- const w = "_input_ug5v8_1", G = {
52
- input: w
53
- }, Q = ({ content: t, locale: a }) => /* @__PURE__ */ r.createElement(N, {
51
+ const j = "_input_ug5v8_1", w = {
52
+ input: j
53
+ }, G = ({ content: t, locale: a }) => /* @__PURE__ */ r.createElement(N, {
54
54
  content: t,
55
55
  locale: a
56
56
  }), re = () => {
57
- const t = V(G.input);
57
+ const t = V(w.input);
58
58
  return /* @__PURE__ */ r.createElement(e, null, /* @__PURE__ */ r.createElement(e.Label, {
59
59
  className: o(g, c.label)
60
60
  }, /* @__PURE__ */ r.createElement(e.Label.Required, {
@@ -65,7 +65,7 @@ const w = "_input_ug5v8_1", G = {
65
65
  className: o(v, c.error)
66
66
  }, /* @__PURE__ */ r.createElement(P, null), /* @__PURE__ */ r.createElement(e.Error.Text, null)), /* @__PURE__ */ r.createElement(e.Description, {
67
67
  className: o(M, c.description)
68
- }, Q));
68
+ }, G));
69
69
  };
70
70
  export {
71
71
  re as T
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as r } from "./text-area-field-rac-B2rsUGoZ.js";
2
+ import { T as r } from "./text-area-field-rac-BG6MJuIW.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as TextAreaRAC
@@ -1,12 +1,12 @@
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-C56J6s10.js";
4
+ import { T as r } from "./text-input-headless-Bpjd70nh.js";
5
5
  import { E as o } from "./error-icon-hZxQ6DEy.js";
6
6
  import { s as a } from "./field-rac.module-DfEb7pBp.js";
7
- import { N as n, Y as c, G as E, u as i } from "./form-BzzldBcB.js";
8
- import { u as p } from "./use-text-input-class-name-B2pSCrTD.js";
9
- const u = ({ content: s, locale: m }) => /* @__PURE__ */ e.createElement(l, {
7
+ import { R as n, $ as c, G as E, u as i } from "./form-DtzwuBIo.js";
8
+ import { u as p } from "./use-text-input-class-name-CP2VJOso.js";
9
+ const R = ({ content: s, locale: m }) => /* @__PURE__ */ e.createElement(l, {
10
10
  content: s,
11
11
  locale: m
12
12
  }), C = () => {
@@ -21,7 +21,7 @@ const u = ({ content: s, locale: m }) => /* @__PURE__ */ e.createElement(l, {
21
21
  className: t(E, a.error)
22
22
  }, /* @__PURE__ */ e.createElement(o, null), /* @__PURE__ */ e.createElement(r.Error.Text, null)), /* @__PURE__ */ e.createElement(r.Description, {
23
23
  className: t(i, a.description)
24
- }, u));
24
+ }, R));
25
25
  };
26
26
  export {
27
27
  C as T
@@ -1,9 +1,9 @@
1
1
  import t, { useRef as L } from "react";
2
2
  import { TextField as R, Input as g } from "react-aria-components";
3
- import { bj as d, bg as c, bl as v } from "./form-BzzldBcB.js";
3
+ import { bj as d, bg as c, bl as v } from "./form-DtzwuBIo.js";
4
4
  import { f as s } from "./find-child-C60k4CxG.js";
5
- import { D as T, E as h } from "./field-error-headless-CQ8PHjtA.js";
6
- import { L as x } from "./field-label-headless-BgAx-Enb.js";
5
+ import { D as T, E as h } from "./field-error-headless-r0fX50xw.js";
6
+ import { L as x } from "./field-label-headless-D-kCfg8j.js";
7
7
  const e = ({ children: r }) => {
8
8
  const { id: a, value: i, onChange: l, disabled: u, readOnly: n, required: o, hasError: p, onBlur: m, onFocus: b, FieldLayout: f } = d(), { labelId: E } = c(), I = s(r, e.Label), F = s(r, e.Input), y = s(r, e.Description), D = s(r, e.Error);
9
9
  return /* @__PURE__ */ t.createElement(f, {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-CiZ83ULN.js";
2
+ import { T as e } from "./text-input-field-rac-BhMktcEd.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as TextInputRAC
@@ -3,16 +3,16 @@ import { RicosViewer as x } from "@wix/ricos/viewer";
3
3
  import m from "classnames";
4
4
  import { parseTime as q } from "@internationalized/date";
5
5
  import { TimeField as v, DateInput as z, DateSegment as _, TimeFieldStateContext as B } from "react-aria-components";
6
- import { bj as p, bg as U, bt as S, bl as w, N as G, Y as Q, G as Y, u as J } from "./form-BzzldBcB.js";
6
+ import { bj as p, bg as U, bt as S, bl as w, R as G, $ as Q, G as $, u as J } from "./form-DtzwuBIo.js";
7
7
  import { f as u, a as F } from "./find-child-C60k4CxG.js";
8
- import { D as K, E as W } from "./field-error-headless-CQ8PHjtA.js";
9
- import { L as X } from "./field-label-headless-BgAx-Enb.js";
10
- import { E as Z } from "./error-icon-hZxQ6DEy.js";
8
+ import { D as K, E as W } from "./field-error-headless-r0fX50xw.js";
9
+ import { L as X } from "./field-label-headless-D-kCfg8j.js";
10
+ import { E as Y } from "./error-icon-hZxQ6DEy.js";
11
11
  import { H as T } from "./custom-focus-class-_483Pkwp.js";
12
12
  import { s as f } from "./field-rac.module-DfEb7pBp.js";
13
- import { u as $ } from "./use-text-input-class-name-B2pSCrTD.js";
13
+ import { u as Z } from "./use-text-input-class-name-CP2VJOso.js";
14
14
  const r = ({ children: t }) => {
15
- const { id: n, value: s, onChange: a, disabled: i, readOnly: o, required: c, onBlur: l, onFocus: E, use24HourFormat: b, FieldLayout: g, hasError: C } = p(), { inputId: I, ariaDescribedBy: D, labelId: L } = U(), R = H((M) => {
15
+ const { id: n, value: s, onChange: a, disabled: i, readOnly: o, required: c, onBlur: l, onFocus: E, use24HourFormat: b, FieldLayout: g, hasError: C } = p(), { inputId: I, ariaDescribedBy: R, labelId: D } = U(), L = H((M) => {
16
16
  const k = ae(M);
17
17
  a(k);
18
18
  }, [
@@ -22,11 +22,11 @@ const r = ({ children: t }) => {
22
22
  fieldId: n,
23
23
  renderLabel: () => N,
24
24
  renderInput: () => /* @__PURE__ */ e.createElement(v, {
25
- "aria-labelledby": L,
25
+ "aria-labelledby": D,
26
26
  id: I,
27
- "aria-describedby": D,
27
+ "aria-describedby": R,
28
28
  value: O,
29
- onChange: R,
29
+ onChange: L,
30
30
  isDisabled: i,
31
31
  isReadOnly: o,
32
32
  isInvalid: C,
@@ -135,7 +135,7 @@ const oe = "_time_rzj2k_1", le = "_hour_rzj2k_14", se = "_minute_rzj2k_15", ie =
135
135
  content: t,
136
136
  locale: n
137
137
  }), me = () => {
138
- const t = $(h.time);
138
+ const t = Z(h.time);
139
139
  return /* @__PURE__ */ e.createElement(r, null, /* @__PURE__ */ e.createElement(r.Label, {
140
140
  className: m(G, f.label)
141
141
  }, /* @__PURE__ */ e.createElement(r.Label.Required, {
@@ -149,8 +149,8 @@ const oe = "_time_rzj2k_1", le = "_hour_rzj2k_14", se = "_minute_rzj2k_15", ie =
149
149
  }), /* @__PURE__ */ e.createElement(r.Time.Period, {
150
150
  className: m(h.period, T)
151
151
  })), /* @__PURE__ */ e.createElement(r.Error, {
152
- className: m(Y, f.error)
153
- }, /* @__PURE__ */ e.createElement(Z, null), /* @__PURE__ */ e.createElement(r.Error.Text, null)), /* @__PURE__ */ e.createElement(r.Description, {
152
+ className: m($, f.error)
153
+ }, /* @__PURE__ */ e.createElement(Y, null), /* @__PURE__ */ e.createElement(r.Error.Text, null)), /* @__PURE__ */ e.createElement(r.Description, {
154
154
  className: m(J, f.description)
155
155
  }, ce));
156
156
  }, Ie = () => /* @__PURE__ */ e.createElement(me, null);
@@ -2,17 +2,17 @@ import { RicosViewer as S } from "@wix/ricos/viewer";
2
2
  import i from "classnames";
3
3
  import r, { useCallback as h, useRef as O } from "react";
4
4
  import { TextField as y, Input as A } from "react-aria-components";
5
- import { bj as d, bg as E, bl as g, N as B, Y as T, G as k, u as v } from "./form-BzzldBcB.js";
5
+ import { bj as d, bg as E, bl as g, R as B, $ as T, G as k, u as v } from "./form-DtzwuBIo.js";
6
6
  import { f as c } from "./find-child-C60k4CxG.js";
7
- import { D as M, E as P } from "./field-error-headless-CQ8PHjtA.js";
8
- import { L as q } from "./field-label-headless-BgAx-Enb.js";
7
+ import { D as M, E as P } from "./field-error-headless-r0fX50xw.js";
8
+ import { L as q } from "./field-label-headless-D-kCfg8j.js";
9
9
  import { u as x } from "./use-invoke-callback-UH73A_J3.js";
10
10
  import { E as U } from "./error-icon-hZxQ6DEy.js";
11
11
  import { s as u } from "./field-rac.module-DfEb7pBp.js";
12
- import { u as w } from "./use-text-input-class-name-B2pSCrTD.js";
13
- const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
12
+ import { u as $ } from "./use-text-input-class-name-CP2VJOso.js";
13
+ const w = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e = ({ children: t }) => {
14
14
  const { id: o, value: s, onChange: n, disabled: m, readOnly: l, required: a, hasError: I, onBlur: b, onFocus: f, FieldLayout: R } = d(), { labelId: F } = E(), p = x(b), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), N = h(() => {
15
- n(V(s)), p();
15
+ n(w(s)), p();
16
16
  }, [
17
17
  p,
18
18
  n,
@@ -34,7 +34,7 @@ const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e
34
34
  }, D),
35
35
  renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, _, C)
36
36
  });
37
- }, W = ({ className: t }) => {
37
+ }, V = ({ className: t }) => {
38
38
  const { id: o, placeholder: s } = d(), { inputId: n, ariaDescribedBy: m } = E(), l = O(null);
39
39
  return g(() => {
40
40
  var a;
@@ -49,14 +49,14 @@ const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e
49
49
  });
50
50
  };
51
51
  e.Label = q;
52
- e.Input = W;
52
+ e.Input = V;
53
53
  e.Description = M;
54
54
  e.Error = P;
55
- const $ = ({ content: t, locale: o }) => /* @__PURE__ */ r.createElement(S, {
55
+ const W = ({ content: t, locale: o }) => /* @__PURE__ */ r.createElement(S, {
56
56
  content: t,
57
57
  locale: o
58
58
  }), te = () => {
59
- const t = w();
59
+ const t = $();
60
60
  return /* @__PURE__ */ r.createElement(e, null, /* @__PURE__ */ r.createElement(e.Label, {
61
61
  className: i(B, u.label)
62
62
  }, /* @__PURE__ */ r.createElement(e.Label.Required, {
@@ -67,7 +67,7 @@ const $ = ({ content: t, locale: o }) => /* @__PURE__ */ r.createElement(S, {
67
67
  className: i(k, u.error)
68
68
  }, /* @__PURE__ */ r.createElement(U, null), /* @__PURE__ */ r.createElement(e.Error.Text, null)), /* @__PURE__ */ r.createElement(e.Description, {
69
69
  className: i(v, u.description)
70
- }, $));
70
+ }, W));
71
71
  };
72
72
  export {
73
73
  te as U
@@ -1,5 +1,5 @@
1
1
  import r from "react";
2
- import { U as t } from "./url-input-field-rac-HPvjYmsV.js";
2
+ import { U as t } from "./url-input-field-rac-B_EMXVWh.js";
3
3
  const n = () => /* @__PURE__ */ r.createElement(t, null);
4
4
  export {
5
5
  n as UrlInputRAC