@wix/form-elements 1.94.0 → 1.95.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 (109) hide show
  1. package/dist/component/{appointment-rac-CNIizm60.js → appointment-rac-mhQIjy3A.js} +309 -310
  2. package/dist/component/{bookings-address-rac-C7ukrF1D.js → bookings-address-rac-pcZeAN2d.js} +1 -1
  3. package/dist/component/{bookings-email-rac-DnzbLEmf.js → bookings-email-rac-BHdvWhcv.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-8Krm-3QK.js → bookings-first-name-rac-mPNuMBGo.js} +1 -1
  5. package/dist/component/{bookings-header-rac-WRILbKeE.js → bookings-header-rac-CUzR91gM.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-C0-yWBLa.js → bookings-last-name-rac-q2bsOPke.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-Bc9u_rn_.js → bookings-login-bar-rac-BpwVjQwz.js} +4 -4
  8. package/dist/component/{bookings-phone-rac-BaBlg7f7.js → bookings-phone-rac-DWdDpi-n.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-DR-Ngu_b.js → bookings-rich-text-rac-CZnGLPwv.js} +1 -1
  10. package/dist/component/{get-first-day-of-the-week-DvnsxYhQ.js → calendar.module-DnhTT4QT.js} +23 -18
  11. package/dist/component/{checkbox-field-rac-Cqr57TgJ.js → checkbox-field-rac-DRVjITJ_.js} +5 -5
  12. package/dist/component/{checkbox-group-field-headless-Bgcvavr3.js → checkbox-group-field-headless-CKXgbUdv.js} +3 -3
  13. package/dist/component/{checkbox-group-field-rac-Bcsowjwp.js → checkbox-group-field-rac-Dt3yWmua.js} +12 -12
  14. package/dist/component/{checkbox-group-rac-38j0b8_U.js → checkbox-group-rac-BTFoDjxn.js} +1 -1
  15. package/dist/component/{checkbox-rac-Bb5ZxZo7.js → checkbox-rac-Crn5HP7E.js} +1 -1
  16. package/dist/component/{contacts-address-rac-gaOhfztb.js → contacts-address-rac-c1zfBJgx.js} +1 -1
  17. package/dist/component/{contacts-birthdate-rac-DAIPR64p.js → contacts-birthdate-rac-BaaSPZgO.js} +1 -1
  18. package/dist/component/{contacts-company-rac-DVPQrcfN.js → contacts-company-rac-CzuRjr1D.js} +1 -1
  19. package/dist/component/{contacts-email-rac-qMyFjz_2.js → contacts-email-rac-hL98o3x4.js} +1 -1
  20. package/dist/component/{contacts-first-name-rac-OVPtHcde.js → contacts-first-name-rac-BXTnd1aU.js} +1 -1
  21. package/dist/component/{contacts-last-name-rac-BmLQrJ2D.js → contacts-last-name-rac-DYjmWO4_.js} +1 -1
  22. package/dist/component/{contacts-phone-rac-D7waZc1q.js → contacts-phone-rac-KMnorQhu.js} +1 -1
  23. package/dist/component/{contacts-position-rac-DnI3o3Am.js → contacts-position-rac-ylzvuGhD.js} +1 -1
  24. package/dist/component/{contacts-subscribe-rac-P8zn8_GS.js → contacts-subscribe-rac-Bi3ZazuW.js} +2 -2
  25. package/dist/component/{contacts-tax-id-rac-9CBr2KkR.js → contacts-tax-id-rac-C01LkO1D.js} +1 -1
  26. package/dist/component/{date-availability--ntpBDiI.js → date-availability-BXwnYCBt.js} +1 -1
  27. package/dist/component/{date-input-field-rac-Don2tz5U.js → date-input-field-rac-BMdPQoFk.js} +57 -56
  28. package/dist/component/{date-input-rac-Du3e8Hcu.js → date-input-rac-D2mDdJ_4.js} +1 -1
  29. package/dist/component/date-picker-field-rac-7gyRMkPp.js +317 -0
  30. package/dist/component/{date-picker-rac-BsCMkfHV.js → date-picker-rac-FyNcNbTc.js} +1 -1
  31. package/dist/component/{date-time-input-field-rac-LLF1UdUD.js → date-time-input-field-rac-BTjqn_g-.js} +53 -52
  32. package/dist/component/{date-time-input-rac-KYqrNgbb.js → date-time-input-rac-C81cN7rJ.js} +1 -1
  33. package/dist/component/{dext-checkbox-group-rac-DaOY9Cb6.js → dext-checkbox-group-rac-DAjQPdi_.js} +2 -2
  34. package/dist/component/{dext-checkbox-rac-Ceu5q9xf.js → dext-checkbox-rac-DVt9mAXM.js} +1 -1
  35. package/dist/component/{dext-date-picker-rac-iop0XEpQ.js → dext-date-picker-rac-BnaExh1i.js} +1 -1
  36. package/dist/component/{dext-date-time-input-rac-DJB_fMiN.js → dext-date-time-input-rac-DPAW4eBA.js} +1 -1
  37. package/dist/component/{dext-dropdown-rac-Dhp4CUZ5.js → dext-dropdown-rac-P9T1vh24.js} +1 -1
  38. package/dist/component/{dext-email-rac-BIr9RxhQ.js → dext-email-rac-BfEuFGaV.js} +1 -1
  39. package/dist/component/{dext-number-input-rac-Q8p3NeKN.js → dext-number-input-rac-B5eN2rLP.js} +1 -1
  40. package/dist/component/{dext-phone-rac-DRdRLIvr.js → dext-phone-rac-DA-h_tpZ.js} +1 -1
  41. package/dist/component/{dext-radio-group-rac-D1N_wBhO.js → dext-radio-group-rac-BjpkApRr.js} +2 -2
  42. package/dist/component/{dext-rating-input-rac-BQIMl7oQ.js → dext-rating-input-rac-DUMRW9uI.js} +1 -1
  43. package/dist/component/{dext-tags-rac-C52jiu1I.js → dext-tags-rac-s0WchM4X.js} +2 -2
  44. package/dist/component/{dext-text-area-rac-BWmSs4mb.js → dext-text-area-rac-BRMsiGEH.js} +1 -1
  45. package/dist/component/{dext-text-input-rac-BnAJ-7Hs.js → dext-text-input-rac-BBZi3D8V.js} +1 -1
  46. package/dist/component/{dext-url-input-rac-CvGn3KHo.js → dext-url-input-rac-jKMWbCGB.js} +1 -1
  47. package/dist/component/{donation-rac-DsFRs16V.js → donation-rac-DyeKbodo.js} +30 -30
  48. package/dist/component/{dropdown-field-headless-K0AM4AAs.js → dropdown-field-headless-BK8BN3u4.js} +4 -4
  49. package/dist/component/{dropdown-field-rac-CMEB8ZQN.js → dropdown-field-rac-B6yzL_R0.js} +5 -5
  50. package/dist/component/{dropdown-rac-BakYShkm.js → dropdown-rac-CQaMpex2.js} +1 -1
  51. package/dist/component/{ecom-address-rac-A_Aj5CX0.js → ecom-address-rac-DQr3-QeV.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-Ddol0N03.js → ecom-subscription-checkbox-rac-CZ-pj21A.js} +3 -3
  53. package/dist/component/{email-input-field-rac-B7yOMDWB.js → email-input-field-rac-Vp0YfQOe.js} +41 -41
  54. package/dist/component/{events-repeater-rac-bp8gFHXQ.js → events-repeater-rac-BPE4Hn_G.js} +4 -4
  55. package/dist/component/{events-rsvp-rac-DfjqTM7C.js → events-rsvp-rac-u_BDmDJ2.js} +20 -20
  56. package/dist/component/{field-error-headless-CONyKitA.js → field-error-headless-BOlFtckJ.js} +1 -1
  57. package/dist/component/{field-label-headless-tf9QXhMi.js → field-label-headless-Dx3VrM-U.js} +1 -1
  58. package/dist/component/{file-upload-rac-Bng5Yew9.js → file-upload-rac-DaFuvO-g.js} +43 -43
  59. package/dist/component/{fixed-payment-rac-CXIv7_Oj.js → fixed-payment-rac-DpBwOtOf.js} +10 -10
  60. package/dist/component/{form-Lv-a47BN.js → form-Wsx4lguO.js} +69 -69
  61. package/dist/component/{form-element-classes-CLZXu-91.js → form-element-classes-BtKlobUX.js} +60 -59
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +1 -1
  64. package/dist/component/{header-field-rac-BZdYszfP.js → header-field-rac-C8FlksmH.js} +3 -3
  65. package/dist/component/{header-rac-BNeqoDyT.js → header-rac-C2J-pLq-.js} +1 -1
  66. package/dist/component/{image-choice-rac-aSKDRo51.js → image-choice-rac-i4C_OXyb.js} +15 -15
  67. package/dist/component/{index-CWZfskEy.js → index-C34urqyX.js} +4 -4
  68. package/dist/component/{index-DnNA6zNR.js → index-CRI82pG6.js} +2 -2
  69. package/dist/component/{isObjectLike-C9ogbjhq.js → isObjectLike-D-9JnXmU.js} +1 -1
  70. package/dist/component/{multiline-address-field-rac-CHE1mE_b.js → multiline-address-field-rac-Dkfso46f.js} +86 -85
  71. package/dist/component/{multiline-address-rac-wxJunvdU.js → multiline-address-rac-BjrwDwOk.js} +1 -1
  72. package/dist/component/{number-input-field-rac-ore1oi9q.js → number-input-field-rac-CgHi83Q1.js} +18 -18
  73. package/dist/component/{number-input-rac-DU-rCrjJ.js → number-input-rac-BinBxOCS.js} +1 -1
  74. package/dist/component/{password-rac-Dkqv0AIm.js → password-rac-CDGqIRW5.js} +37 -37
  75. package/dist/component/{payment-input-rac-CsTcFhQ5.js → payment-input-rac-f4uuGeJF.js} +22 -22
  76. package/dist/component/{phone-input-field-rac-lIVKt7ge.js → phone-input-field-rac-IdBqjM9Q.js} +32 -31
  77. package/dist/component/{phone-rac-CZlsXHRM.js → phone-rac-VHPMrSpw.js} +1 -1
  78. package/dist/component/{product-list-rac-UebyHfhC.js → product-list-rac-Bk8q5y5L.js} +15 -15
  79. package/dist/component/{quiz-radio-group-rac-ORLTYxdR.js → quiz-radio-group-rac-kTWqvAoW.js} +2 -2
  80. package/dist/component/{radio-button-module-classes-CEQr0hKB.js → radio-button-module-classes-D77Nc48M.js} +3 -3
  81. package/dist/component/{radio-group-field-rac-t_Dj1_4p.js → radio-group-field-rac-DC-AYSOH.js} +4 -4
  82. package/dist/component/{radio-group-rac-CC_35nq4.js → radio-group-rac-BkswH1Py.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-BU66cRhy.js → rating-input-field-rac-Cqgw6PjV.js} +31 -31
  84. package/dist/component/{rating-input-rac-KgNbgchh.js → rating-input-rac-CbZhlK3h.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-oGcFL-hl.js → rich-content-rac.module-j_9YbXMI.js} +1 -1
  86. package/dist/component/{rich-text-field-rac-CiwMiMv7.js → rich-text-field-rac-Da1EIb3b.js} +3 -3
  87. package/dist/component/{rich-text-rac-Dmp0xxpi.js → rich-text-rac-BarNBtgP.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-_QBi8_AO.js → service-dropdown-rac-DLIC_csj.js} +35 -35
  89. package/dist/component/{services-multi-choice-rac-C2e3xL9O.js → services-multi-choice-rac-vyxtwSM2.js} +12 -12
  90. package/dist/component/{signature-rac-Dj3aYMvJ.js → signature-rac-DIM2Uwsg.js} +102 -102
  91. package/dist/component/{submit-button-rac-C-BVXga7.js → submit-button-rac-DgxjomCu.js} +2 -2
  92. package/dist/component/{tags-field-rac-CcOUcsCd.js → tags-field-rac-BFlkxifd.js} +66 -66
  93. package/dist/component/{tags-rac-p68DA4Mq.js → tags-rac-D4TwrAWc.js} +1 -1
  94. package/dist/component/{text-area-field-rac-DubIcKTn.js → text-area-field-rac-Dcz7VUQ5.js} +27 -27
  95. package/dist/component/{text-area-rac-CygfUB6z.js → text-area-rac-DhloXdO2.js} +1 -1
  96. package/dist/component/{text-input-field-rac-C7JZRcCX.js → text-input-field-rac-C8e3TMxI.js} +7 -7
  97. package/dist/component/{text-input-headless-D1xcxxNE.js → text-input-headless-fl7qoZzR.js} +3 -3
  98. package/dist/component/{text-input-rac-C5lfqJCN.js → text-input-rac-CBn6bHtP.js} +1 -1
  99. package/dist/component/{time-input-rac-BNxceC-R.js → time-input-rac-Dsm7_vrf.js} +25 -25
  100. package/dist/component/{url-input-field-rac-DH_STwmd.js → url-input-field-rac-9Hfx1xzO.js} +19 -19
  101. package/dist/component/{url-input-rac-C2VOzCis.js → url-input-rac-CVlE4pcg.js} +1 -1
  102. package/dist/component/use-dropdown-option-class-name-Dsxto42_.js +21 -0
  103. package/dist/component/{use-element-state-class-name-CITSBXT8.js → use-element-state-class-name-BIqDbVvI.js} +1 -1
  104. package/dist/component/use-is-forced-open-dropdown-BMPqRDVW.js +41 -0
  105. package/dist/component/{use-service-options-base-DVBmOiRh.js → use-service-options-base-07_rqXcG.js} +1 -1
  106. package/dist/component/{use-text-input-class-name-COw61iUf.js → use-text-input-class-name-DqFt59gd.js} +3 -3
  107. package/package.json +2 -2
  108. package/dist/component/date-picker-field-rac-Wxmz-O7r.js +0 -304
  109. package/dist/component/use-dropdown-option-class-name-CKRu4ERM.js +0 -57
@@ -1,37 +1,37 @@
1
- import { RicosViewer as Q } from "@wix/ricos/viewer";
2
- import R from "classnames";
3
- import e, { useMemo as L, useState as j, useRef as M, useLayoutEffect as w, useCallback as k } from "react";
1
+ import { RicosViewer as j } from "@wix/ricos/viewer";
2
+ import S from "classnames";
3
+ import e, { useMemo as _, useState as Q, useRef as M, useLayoutEffect as w, useCallback as k } from "react";
4
4
  import { CheckboxGroup as z, TextField as J, Input as K, CheckboxField as X, CheckboxButton as Y } from "react-aria-components";
5
- import { ak as N, ah as Z, au as y, ac as ee, am as te } from "./form-Lv-a47BN.js";
5
+ import { ak as N, ah as Z, au as y, ac as ee, am as te } from "./form-Wsx4lguO.js";
6
6
  import { f, a as x } from "./find-child-C60k4CxG.js";
7
- import { E as B, D as $ } from "./field-error-headless-CONyKitA.js";
8
- import { L as q } from "./field-label-headless-tf9QXhMi.js";
7
+ import { E as B, D as $ } from "./field-error-headless-BOlFtckJ.js";
8
+ import { L as H } from "./field-label-headless-Dx3VrM-U.js";
9
9
  import { F as oe } from "./fieldset-headless-CD3fds9J.js";
10
10
  import { N as v } from "./options-layout-constants-DEfIEJWD.js";
11
- import { E as ne } from "./error-icon-hZxQ6DEy.js";
11
+ import { E as ae } from "./error-icon-hZxQ6DEy.js";
12
12
  import { s as D } from "./field-rac.module-DobpyqOd.js";
13
- import { B as ae, R as se, _ as re, q as le, i as ie, $ as ce } from "./form-element-classes-CLZXu-91.js";
13
+ import { C as ne, S as se, $ as re, r as le, j as ie, a0 as ce } from "./form-element-classes-BtKlobUX.js";
14
14
  import { o as ue } from "./options-rac.module-KM-VT_KY.js";
15
- import { u as de } from "./use-element-state-class-name-CITSBXT8.js";
16
- import { u as me } from "./use-text-input-class-name-COw61iUf.js";
15
+ import { u as de } from "./use-element-state-class-name-BIqDbVvI.js";
16
+ import { u as me } from "./use-text-input-class-name-DqFt59gd.js";
17
17
  const g = "Other", pe = (o, t) => {
18
18
  const s = t.length + 2;
19
19
  return (o.find((r) => r.startsWith(`${t}: `)) || "").slice(s);
20
- }, he = (o) => o.map((t) => t.value ?? t.label), H = ({ className: o, ...t }) => {
21
- const { label: a } = t;
20
+ }, he = (o) => o.map((t) => t.value ?? t.label), P = ({ className: o, ...t }) => {
21
+ const { label: n } = t;
22
22
  return /* @__PURE__ */ e.createElement("span", {
23
23
  className: o
24
- }, a);
25
- }, P = ({ className: o }) => {
26
- const { value: t, onChange: a, addOtherLabel: s, addOtherPlaceholder: c, otherInputCharacterLimit: r, disabled: u, readOnly: b, hasError: d } = N(), { t: m } = y(), l = s || m("add-other.default-other-option-label") || g, p = L(() => pe(t || [], l), [
24
+ }, n);
25
+ }, W = ({ className: o }) => {
26
+ const { value: t, onChange: n, addOtherLabel: s, addOtherPlaceholder: c, otherInputCharacterLimit: r, disabled: u, readOnly: b, hasError: d } = N(), { t: m } = y(), l = s || m("add-other.default-other-option-label") || g, p = _(() => pe(t || [], l), [
27
27
  t,
28
28
  l
29
- ]), [n, _] = j(p), h = M(a);
29
+ ]), [a, L] = Q(p), h = M(n);
30
30
  w(() => {
31
- h.current = a;
31
+ h.current = n;
32
32
  });
33
33
  const C = k((E) => {
34
- _(E);
34
+ L(E);
35
35
  const I = (t || []).filter((O) => !O.startsWith(`${l}:`) && O !== l), F = E ? `${l}: ${E}` : l;
36
36
  h.current([
37
37
  ...I,
@@ -42,7 +42,7 @@ const g = "Other", pe = (o, t) => {
42
42
  l
43
43
  ]);
44
44
  return /* @__PURE__ */ e.createElement(J, {
45
- value: n,
45
+ value: a,
46
46
  onChange: C,
47
47
  isDisabled: u,
48
48
  isReadOnly: b,
@@ -50,22 +50,22 @@ const g = "Other", pe = (o, t) => {
50
50
  "aria-label": l
51
51
  }, /* @__PURE__ */ e.createElement(K, {
52
52
  "data-hook": "tags-other-input",
53
- "data-filled": n ? !0 : void 0,
53
+ "data-filled": a ? !0 : void 0,
54
54
  placeholder: c,
55
55
  maxLength: r,
56
56
  className: o
57
57
  }));
58
- }, T = ({ children: o, className: t, ...a }) => {
59
- const { value: s, label: c, isOther: r, isFirstOption: u } = a, { id: b, value: d, onChange: m, options: l, disabled: p, readOnly: n, hasError: _ } = N(), h = M(null);
58
+ }, T = ({ children: o, className: t, ...n }) => {
59
+ const { value: s, label: c, isOther: r, isFirstOption: u } = n, { id: b, value: d, onChange: m, options: l, disabled: p, readOnly: a, hasError: L } = N(), h = M(null);
60
60
  te(() => {
61
61
  var O;
62
62
  u && ((O = h.current) == null || O.focus({
63
63
  preventScroll: !0
64
64
  }));
65
65
  }, b);
66
- const C = f(o, H), E = L(() => d || [], [
66
+ const C = f(o, P), E = _(() => d || [], [
67
67
  d
68
- ]), I = L(() => r ? E.find((O) => O === c || O.startsWith(`${c}: `)) || c : s, [
68
+ ]), I = _(() => r ? E.find((O) => O === c || O.startsWith(`${c}: `)) || c : s, [
69
69
  r,
70
70
  E,
71
71
  c,
@@ -87,8 +87,8 @@ const g = "Other", pe = (o, t) => {
87
87
  value: I,
88
88
  onChange: r ? F : void 0,
89
89
  isDisabled: p,
90
- isReadOnly: n,
91
- isInvalid: _
90
+ isReadOnly: a,
91
+ isInvalid: L
92
92
  }, /* @__PURE__ */ e.createElement(Y, {
93
93
  className: t,
94
94
  "data-hook": `tags-${r ? g : s}`
@@ -99,37 +99,37 @@ const g = "Other", pe = (o, t) => {
99
99
  isFirstOption: u
100
100
  })));
101
101
  }, V = ({ children: o, className: t }) => {
102
- const { options: a, addOther: s, addOtherLabel: c, numberOfColumns: r = v.FREE_FLOW } = N(), { isMobile: u } = ee(), { t: b } = y(), d = u && r !== v.FREE_FLOW ? v.ONE : r, m = c || b("add-other.default-other-option-label") || g, l = f(o, T), p = L(() => {
103
- const n = a || [];
102
+ const { options: n, addOther: s, addOtherLabel: c, numberOfColumns: r = v.FREE_FLOW } = N(), { isMobile: u } = ee(), { t: b } = y(), d = u && r !== v.FREE_FLOW ? v.ONE : r, m = c || b("add-other.default-other-option-label") || g, l = f(o, T), p = _(() => {
103
+ const a = n || [];
104
104
  return s ? [
105
- ...n,
105
+ ...a,
106
106
  {
107
107
  label: m,
108
108
  value: m,
109
109
  isOther: !0
110
110
  }
111
- ] : n;
111
+ ] : a;
112
112
  }, [
113
- a,
113
+ n,
114
114
  s,
115
115
  m
116
116
  ]);
117
117
  return p.length === 0 ? null : /* @__PURE__ */ e.createElement("div", {
118
118
  className: t,
119
119
  "data-columns": d
120
- }, p.map((n, _) => {
121
- const h = n.value ?? n.label;
120
+ }, p.map((a, L) => {
121
+ const h = a.value ?? a.label;
122
122
  return x(l, {
123
- key: n.isOther ? g : h,
123
+ key: a.isOther ? g : h,
124
124
  value: h,
125
- label: n.label,
126
- isOther: n.isOther,
127
- isFirstOption: _ === 0
125
+ label: a.label,
126
+ isOther: a.isOther,
127
+ isFirstOption: L === 0
128
128
  });
129
129
  }));
130
- }, W = ({ children: o, className: t }) => {
131
- const { addOther: a, addOtherLabel: s, hasError: c, readOnly: r, value: u } = N(), { t: b } = y(), d = s || b("add-other.default-other-option-label") || g, m = f(o, V), l = f(o, P), p = L(() => !a || !u ? !1 : u.some((n) => n === d || n.startsWith(`${d}:`)), [
132
- a,
130
+ }, q = ({ children: o, className: t }) => {
131
+ const { addOther: n, addOtherLabel: s, hasError: c, readOnly: r, value: u } = N(), { t: b } = y(), d = s || b("add-other.default-other-option-label") || g, m = f(o, V), l = f(o, W), p = _(() => !n || !u ? !1 : u.some((a) => a === d || a.startsWith(`${d}:`)), [
132
+ n,
133
133
  u,
134
134
  d
135
135
  ]);
@@ -139,21 +139,21 @@ const g = "Other", pe = (o, t) => {
139
139
  "data-readonly": r
140
140
  }, m, p && l);
141
141
  }, i = ({ children: o }) => {
142
- const { id: t, value: a, onChange: s, FieldLayout: c, required: r, disabled: u, readOnly: b, hasError: d, onBlur: m, onFocus: l } = N(), { inputId: p, labelId: n, ariaDescribedBy: _ } = Z(), h = L(() => a || [], [
143
- a
144
- ]), C = f(o, q), E = f(o, W), I = f(o, $), F = f(o, B);
142
+ const { id: t, value: n, onChange: s, FieldLayout: c, required: r, disabled: u, readOnly: b, hasError: d, onBlur: m, onFocus: l } = N(), { inputId: p, labelId: a, ariaDescribedBy: L } = Z(), h = _(() => n || [], [
143
+ n
144
+ ]), C = f(o, H), E = f(o, q), I = f(o, $), F = f(o, B);
145
145
  return /* @__PURE__ */ e.createElement(c, {
146
146
  fieldId: t,
147
147
  renderLabel: () => C,
148
148
  renderInput: () => /* @__PURE__ */ e.createElement(oe, {
149
149
  id: p,
150
- ariaLabelledBy: n,
151
- ariaDescribedBy: _,
150
+ ariaLabelledBy: a,
151
+ ariaDescribedBy: L,
152
152
  required: r,
153
153
  onBlur: m,
154
154
  onFocus: l
155
155
  }, /* @__PURE__ */ e.createElement(z, {
156
- "aria-labelledby": n,
156
+ "aria-labelledby": a,
157
157
  value: h,
158
158
  onChange: s,
159
159
  isDisabled: u,
@@ -165,42 +165,42 @@ const g = "Other", pe = (o, t) => {
165
165
  });
166
166
  };
167
167
  V.Option = T;
168
- T.Label = H;
169
- i.Label = q;
170
- i.Control = W;
168
+ T.Label = P;
169
+ i.Label = H;
170
+ i.Control = q;
171
171
  i.Options = V;
172
- i.OtherInput = P;
172
+ i.OtherInput = W;
173
173
  i.Description = $;
174
174
  i.Error = B;
175
- const Ee = "_control_7oh59_1", Oe = "_options_7oh59_7", be = "_option_7oh59_7", fe = "_optionHover_7oh59_72", _e = "_optionSelected_7oh59_72", S = {
175
+ const Ee = "_control_7oh59_1", Oe = "_options_7oh59_7", be = "_option_7oh59_7", fe = "_optionHover_7oh59_72", Le = "_optionSelected_7oh59_72", R = {
176
176
  control: Ee,
177
177
  options: Oe,
178
178
  option: be,
179
179
  optionHover: fe,
180
- optionSelected: _e
181
- }, Le = ({ content: o, locale: t }) => /* @__PURE__ */ e.createElement(Q, {
180
+ optionSelected: Le
181
+ }, _e = ({ content: o, locale: t }) => /* @__PURE__ */ e.createElement(j, {
182
182
  content: o,
183
183
  locale: t
184
184
  }), Ce = {
185
- base: S.option,
186
- selected: S.optionSelected,
187
- hover: S.optionHover
185
+ base: R.option,
186
+ selected: R.optionSelected,
187
+ hover: R.optionHover
188
188
  }, $e = () => {
189
189
  const o = de({
190
190
  globalClasses: ce,
191
191
  moduleClasses: Ce
192
192
  }), t = me();
193
193
  return /* @__PURE__ */ e.createElement(i, null, /* @__PURE__ */ e.createElement(i.Label, {
194
- className: R(ae, D.label)
194
+ className: S(ne, D.label)
195
195
  }, /* @__PURE__ */ e.createElement(i.Label.Required, {
196
- className: R(se, D.requiredMark)
196
+ className: S(se, D.requiredMark)
197
197
  })), /* @__PURE__ */ e.createElement(i.Control, {
198
- className: S.control
198
+ className: R.control
199
199
  }, /* @__PURE__ */ e.createElement(i.Options, {
200
- className: R(re, S.options)
200
+ className: S(re, R.options)
201
201
  }, /* @__PURE__ */ e.createElement(i.Options.Option, {
202
- className: ({ isSelected: a, isHovered: s }) => o({
203
- isSelected: a,
202
+ className: ({ isSelected: n, isHovered: s }) => o({
203
+ isSelected: n,
204
204
  isHovered: s
205
205
  })
206
206
  }, /* @__PURE__ */ e.createElement(i.Options.Option.Label, {
@@ -208,10 +208,10 @@ const Ee = "_control_7oh59_1", Oe = "_options_7oh59_7", be = "_option_7oh59_7",
208
208
  }))), /* @__PURE__ */ e.createElement(i.OtherInput, {
209
209
  className: t
210
210
  })), /* @__PURE__ */ e.createElement(i.Error, {
211
- className: R(le, D.error)
212
- }, /* @__PURE__ */ e.createElement(ne, null), /* @__PURE__ */ e.createElement(i.Error.Text, null)), /* @__PURE__ */ e.createElement(i.Description, {
213
- className: R(ie, D.description)
214
- }, Le));
211
+ className: S(le, D.error)
212
+ }, /* @__PURE__ */ e.createElement(ae, null), /* @__PURE__ */ e.createElement(i.Error.Text, null)), /* @__PURE__ */ e.createElement(i.Description, {
213
+ className: S(ie, D.description)
214
+ }, _e));
215
215
  };
216
216
  export {
217
217
  $e as T
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as r } from "./tags-field-rac-CcOUcsCd.js";
2
+ import { T as r } from "./tags-field-rac-BFlkxifd.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as TagsRAC
@@ -1,39 +1,39 @@
1
1
  import { RicosViewer as N } from "@wix/ricos/viewer";
2
2
  import o from "classnames";
3
- import r, { useCallback as T, useRef as O } from "react";
4
- import { TextField as S, TextArea as y } from "react-aria-components";
5
- import { ak as p, ah as d, am as x } from "./form-Lv-a47BN.js";
3
+ import r, { useCallback as S, useRef as T } from "react";
4
+ import { TextField as O, TextArea as y } from "react-aria-components";
5
+ import { ak as p, ah as d, am as x } from "./form-Wsx4lguO.js";
6
6
  import { f as i } from "./find-child-C60k4CxG.js";
7
- import { D as h, E as g } from "./field-error-headless-CONyKitA.js";
8
- import { L as q } from "./field-label-headless-tf9QXhMi.js";
9
- import { E as v } from "./error-icon-hZxQ6DEy.js";
7
+ import { D as h, E as g } from "./field-error-headless-BOlFtckJ.js";
8
+ import { L as v } from "./field-label-headless-Dx3VrM-U.js";
9
+ import { E as M } from "./error-icon-hZxQ6DEy.js";
10
10
  import { s as c } from "./field-rac.module-DobpyqOd.js";
11
- import { B, R as M, q as k, i as P } from "./form-element-classes-CLZXu-91.js";
12
- import { u as V } from "./use-text-input-class-name-COw61iUf.js";
11
+ import { C as q, S as B, r as k, j as P } from "./form-element-classes-BtKlobUX.js";
12
+ import { u as V } from "./use-text-input-class-name-DqFt59gd.js";
13
13
  const e = ({ children: t }) => {
14
- const { id: a, value: m, onChange: s, disabled: u, required: n, readOnly: l, onBlur: E, onFocus: f, FieldLayout: I, hasError: R } = p(), { labelId: b } = d(), F = T((A) => {
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 = S((A) => {
15
15
  s(A);
16
16
  }, [
17
17
  s
18
- ]), L = i(t, e.Label), D = i(t, e.Input), _ = i(t, e.Description), C = i(t, e.Error);
18
+ ]), R = i(t, e.Label), D = i(t, e.Input), _ = i(t, e.Description), C = i(t, e.Error);
19
19
  return /* @__PURE__ */ r.createElement(I, {
20
20
  fieldId: a,
21
- renderLabel: () => L,
22
- renderInput: () => /* @__PURE__ */ r.createElement(S, {
23
- "aria-labelledby": b,
21
+ renderLabel: () => R,
22
+ renderInput: () => /* @__PURE__ */ r.createElement(O, {
23
+ "aria-labelledby": F,
24
24
  value: m ?? "",
25
- onChange: F,
25
+ onChange: L,
26
26
  isDisabled: u,
27
27
  isReadOnly: l,
28
28
  isRequired: n,
29
- isInvalid: R,
29
+ isInvalid: b,
30
30
  onBlur: E,
31
31
  onFocus: f
32
32
  }, D),
33
33
  renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, C, _)
34
34
  });
35
- }, w = ({ className: t }) => {
36
- const { inputId: a, ariaDescribedBy: m } = d(), { id: s, placeholder: u } = p(), n = O(null);
35
+ }, j = ({ className: t }) => {
36
+ const { inputId: a, ariaDescribedBy: m } = d(), { id: s, placeholder: u } = p(), n = T(null);
37
37
  return x(() => {
38
38
  var l;
39
39
  (l = n.current) == null || l.focus();
@@ -45,28 +45,28 @@ const e = ({ children: t }) => {
45
45
  className: t
46
46
  });
47
47
  };
48
- e.Label = q;
49
- e.Input = w;
48
+ e.Label = v;
49
+ e.Input = j;
50
50
  e.Description = h;
51
51
  e.Error = g;
52
- const Q = "_input_ug5v8_1", U = {
53
- input: Q
54
- }, $ = ({ content: t, locale: a }) => /* @__PURE__ */ r.createElement(N, {
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(U.input);
58
+ const t = V(Q.input);
59
59
  return /* @__PURE__ */ r.createElement(e, null, /* @__PURE__ */ r.createElement(e.Label, {
60
- className: o(B, c.label)
60
+ className: o(q, c.label)
61
61
  }, /* @__PURE__ */ r.createElement(e.Label.Required, {
62
- className: o(M, c.requiredMark)
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
66
  className: o(k, c.error)
67
- }, /* @__PURE__ */ r.createElement(v, null), /* @__PURE__ */ r.createElement(e.Error.Text, null)), /* @__PURE__ */ r.createElement(e.Description, {
67
+ }, /* @__PURE__ */ r.createElement(M, null), /* @__PURE__ */ r.createElement(e.Error.Text, null)), /* @__PURE__ */ r.createElement(e.Description, {
68
68
  className: o(P, c.description)
69
- }, $));
69
+ }, U));
70
70
  };
71
71
  export {
72
72
  te as T
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as r } from "./text-area-field-rac-DubIcKTn.js";
2
+ import { T as r } from "./text-area-field-rac-Dcz7VUQ5.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as TextAreaRAC
@@ -1,15 +1,15 @@
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-D1xcxxNE.js";
4
+ import { T as r } from "./text-input-headless-fl7qoZzR.js";
5
5
  import { E as o } from "./error-icon-hZxQ6DEy.js";
6
6
  import { s as a } from "./field-rac.module-DobpyqOd.js";
7
- import { B as n, R as c, q as E, i } from "./form-element-classes-CLZXu-91.js";
8
- import { u as p } from "./use-text-input-class-name-COw61iUf.js";
9
- const R = ({ content: s, locale: m }) => /* @__PURE__ */ e.createElement(l, {
7
+ import { C as n, S as c, r as E, j as i } from "./form-element-classes-BtKlobUX.js";
8
+ import { u as p } from "./use-text-input-class-name-DqFt59gd.js";
9
+ const I = ({ content: s, locale: m }) => /* @__PURE__ */ e.createElement(l, {
10
10
  content: s,
11
11
  locale: m
12
- }), C = () => {
12
+ }), f = () => {
13
13
  const s = p();
14
14
  return /* @__PURE__ */ e.createElement(r, null, /* @__PURE__ */ e.createElement(r.Label, {
15
15
  className: t(n, a.label)
@@ -21,8 +21,8 @@ const R = ({ 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
- }, R));
24
+ }, I));
25
25
  };
26
26
  export {
27
- C as T
27
+ f as T
28
28
  };
@@ -1,9 +1,9 @@
1
1
  import t, { useRef as L } from "react";
2
2
  import { TextField as R, Input as h } from "react-aria-components";
3
- import { ak as d, ah as c, am as v } from "./form-Lv-a47BN.js";
3
+ import { ak as d, ah as c, am as v } from "./form-Wsx4lguO.js";
4
4
  import { f as a } from "./find-child-C60k4CxG.js";
5
- import { D as T, E as g } from "./field-error-headless-CONyKitA.js";
6
- import { L as x } from "./field-label-headless-tf9QXhMi.js";
5
+ import { D as T, E as g } from "./field-error-headless-BOlFtckJ.js";
6
+ import { L as x } from "./field-label-headless-Dx3VrM-U.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: 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
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-C7JZRcCX.js";
2
+ import { T as e } from "./text-input-field-rac-C8e3TMxI.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as TextInputRAC
@@ -1,19 +1,19 @@
1
- import e, { useCallback as V, useRef as q, useContext as x } from "react";
2
- import { RicosViewer as B } from "@wix/ricos/viewer";
1
+ import e, { useCallback as V, useRef as x, useContext as k } from "react";
2
+ import { RicosViewer as q } from "@wix/ricos/viewer";
3
3
  import c from "classnames";
4
- import { parseTime as k } from "@internationalized/date";
5
- import { TimeField as v, DateInput as U, DateSegment as _, TimeFieldStateContext as w } from "react-aria-components";
6
- import { ak as p, ah as j, au as S, am as Q } from "./form-Lv-a47BN.js";
4
+ import { parseTime as v } from "@internationalized/date";
5
+ import { TimeField as B, DateInput as U, DateSegment as _, TimeFieldStateContext as j } from "react-aria-components";
6
+ import { ak as p, ah as w, au as T, am as Q } from "./form-Wsx4lguO.js";
7
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-CONyKitA.js";
9
- import { L as J } from "./field-label-headless-tf9QXhMi.js";
8
+ import { D as z, E as G } from "./field-error-headless-BOlFtckJ.js";
9
+ import { L as J } from "./field-label-headless-Dx3VrM-U.js";
10
10
  import { E as K } from "./error-icon-hZxQ6DEy.js";
11
- import { H as T } from "./custom-focus-class-_483Pkwp.js";
11
+ import { H as S } from "./custom-focus-class-_483Pkwp.js";
12
12
  import { s as f } from "./field-rac.module-DobpyqOd.js";
13
- import { B as W, R as X, q as Y, i as Z } from "./form-element-classes-CLZXu-91.js";
14
- import { u as $ } from "./use-text-input-class-name-COw61iUf.js";
13
+ import { C as W, S as X, r as Y, j as Z } from "./form-element-classes-BtKlobUX.js";
14
+ import { u as $ } from "./use-text-input-class-name-DqFt59gd.js";
15
15
  const r = ({ children: t }) => {
16
- const { id: n, value: l, onChange: o, disabled: i, readOnly: s, required: a, onBlur: d, onFocus: E, use24HourFormat: C, FieldLayout: g, hasError: I } = p(), { inputId: R, ariaDescribedBy: D, labelId: L } = j(), b = V((M) => {
16
+ const { id: n, value: l, onChange: o, disabled: i, readOnly: s, required: a, onBlur: d, onFocus: E, use24HourFormat: C, FieldLayout: g, hasError: I } = p(), { inputId: D, ariaDescribedBy: L, labelId: R } = w(), b = V((M) => {
17
17
  const H = ae(M);
18
18
  o(H);
19
19
  }, [
@@ -22,10 +22,10 @@ const r = ({ children: t }) => {
22
22
  return /* @__PURE__ */ e.createElement(g, {
23
23
  fieldId: n,
24
24
  renderLabel: () => N,
25
- renderInput: () => /* @__PURE__ */ e.createElement(v, {
26
- "aria-labelledby": L,
27
- id: R,
28
- "aria-describedby": D,
25
+ renderInput: () => /* @__PURE__ */ e.createElement(B, {
26
+ "aria-labelledby": R,
27
+ id: D,
28
+ "aria-describedby": L,
29
29
  value: O,
30
30
  onChange: b,
31
31
  isDisabled: i,
@@ -66,7 +66,7 @@ const r = ({ children: t }) => {
66
66
  }
67
67
  });
68
68
  }, ee = ({ className: t, ...n }) => {
69
- const { id: l, hidePlaceholder: o } = p(), { segment: i } = n, { t: s } = S(), a = q(null);
69
+ const { id: l, hidePlaceholder: o } = p(), { segment: i } = n, { t: s } = T(), a = x(null);
70
70
  Q(() => {
71
71
  var E;
72
72
  (E = a.current) == null || E.focus();
@@ -81,7 +81,7 @@ const r = ({ children: t }) => {
81
81
  }
82
82
  });
83
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");
84
+ const { hidePlaceholder: l } = p(), { segment: o } = n, { t: i } = T(), s = l ? void 0 : i("field.date.placeholder.minute");
85
85
  return /* @__PURE__ */ e.createElement(_, {
86
86
  segment: o,
87
87
  className: t,
@@ -90,7 +90,7 @@ const r = ({ children: t }) => {
90
90
  }
91
91
  });
92
92
  }, re = ({ className: t, ...n }) => {
93
- const { hidePlaceholder: l } = p(), { segment: o } = n, { t: i } = S(), s = x(w), a = l ? void 0 : i("field.date.placeholder.period"), d = () => s == null ? void 0 : s.increment("dayPeriod");
93
+ const { hidePlaceholder: l } = p(), { segment: o } = n, { t: i } = T(), s = k(j), a = l ? void 0 : i("field.date.placeholder.period"), d = () => s == null ? void 0 : s.increment("dayPeriod");
94
94
  return /* @__PURE__ */ e.createElement(_, {
95
95
  segment: o,
96
96
  className: t,
@@ -111,7 +111,7 @@ function ne(t) {
111
111
  if (!t)
112
112
  return null;
113
113
  try {
114
- return k(t);
114
+ return v(t);
115
115
  } catch {
116
116
  return null;
117
117
  }
@@ -131,7 +131,7 @@ const oe = "_time_10p0h_1", se = "_hour_10p0h_14", le = "_minute_10p0h_15", ie =
131
131
  hour: se,
132
132
  minute: le,
133
133
  period: ie
134
- }, ce = ({ content: t, locale: n }) => /* @__PURE__ */ e.createElement(B, {
134
+ }, ce = ({ content: t, locale: n }) => /* @__PURE__ */ e.createElement(q, {
135
135
  content: t,
136
136
  locale: n
137
137
  }), me = () => {
@@ -143,17 +143,17 @@ const oe = "_time_10p0h_1", se = "_hour_10p0h_14", le = "_minute_10p0h_15", ie =
143
143
  })), /* @__PURE__ */ e.createElement(r.Time, {
144
144
  className: t
145
145
  }, /* @__PURE__ */ e.createElement(r.Time.Hour, {
146
- className: c(h.hour, T)
146
+ className: c(h.hour, S)
147
147
  }), /* @__PURE__ */ e.createElement(r.Time.Minute, {
148
- className: c(h.minute, T)
148
+ className: c(h.minute, S)
149
149
  }), /* @__PURE__ */ e.createElement(r.Time.Period, {
150
- className: c(h.period, T)
150
+ className: c(h.period, S)
151
151
  })), /* @__PURE__ */ e.createElement(r.Error, {
152
152
  className: c(Y, f.error)
153
153
  }, /* @__PURE__ */ e.createElement(K, null), /* @__PURE__ */ e.createElement(r.Error.Text, null)), /* @__PURE__ */ e.createElement(r.Description, {
154
154
  className: c(Z, f.description)
155
155
  }, ce));
156
- }, De = () => /* @__PURE__ */ e.createElement(me, null);
156
+ }, Le = () => /* @__PURE__ */ e.createElement(me, null);
157
157
  export {
158
- De as TimeInputRAC
158
+ Le as TimeInputRAC
159
159
  };
@@ -1,25 +1,25 @@
1
- import { RicosViewer as N } from "@wix/ricos/viewer";
1
+ import { RicosViewer as h } from "@wix/ricos/viewer";
2
2
  import i from "classnames";
3
- import r, { useCallback as S, useRef as O } from "react";
3
+ import r, { useCallback as N, useRef as O } from "react";
4
4
  import { TextField as y, Input as A } from "react-aria-components";
5
- import { ak as d, ah as E, am as B } from "./form-Lv-a47BN.js";
5
+ import { ak as d, ah as E, am as k } from "./form-Wsx4lguO.js";
6
6
  import { f as c } from "./find-child-C60k4CxG.js";
7
- import { D as k, E as T } from "./field-error-headless-CONyKitA.js";
8
- import { L as g } from "./field-label-headless-tf9QXhMi.js";
9
- import { u as q } from "./use-invoke-callback-UH73A_J3.js";
10
- import { E as v } from "./error-icon-hZxQ6DEy.js";
7
+ import { D as B, E as T } from "./field-error-headless-BOlFtckJ.js";
8
+ import { L as g } from "./field-label-headless-Dx3VrM-U.js";
9
+ import { u as v } from "./use-invoke-callback-UH73A_J3.js";
10
+ import { E as M } from "./error-icon-hZxQ6DEy.js";
11
11
  import { s as u } from "./field-rac.module-DobpyqOd.js";
12
- import { B as M, R as P, q as x, i as U } from "./form-element-classes-CLZXu-91.js";
13
- import { u as w } from "./use-text-input-class-name-COw61iUf.js";
12
+ import { C as P, S as q, r as x, j as U } from "./form-element-classes-BtKlobUX.js";
13
+ import { u as w } from "./use-text-input-class-name-DqFt59gd.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: R, FieldLayout: b } = d(), { labelId: F } = E(), p = q(f), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), h = S(() => {
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 = v(f), L = c(t, e.Label), D = c(t, e.Input), C = c(t, e.Description), _ = c(t, e.Error), S = N(() => {
16
16
  s(V(a)), p();
17
17
  }, [
18
18
  p,
19
19
  s,
20
20
  a
21
21
  ]);
22
- return /* @__PURE__ */ r.createElement(b, {
22
+ return /* @__PURE__ */ r.createElement(R, {
23
23
  fieldId: o,
24
24
  renderLabel: () => L,
25
25
  renderInput: () => /* @__PURE__ */ r.createElement(y, {
@@ -30,14 +30,14 @@ const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e
30
30
  isReadOnly: n,
31
31
  isRequired: l,
32
32
  isInvalid: I,
33
- onBlur: h,
34
- onFocus: R
33
+ onBlur: S,
34
+ onFocus: b
35
35
  }, D),
36
36
  renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, _, C)
37
37
  });
38
38
  }, W = ({ className: t }) => {
39
39
  const { id: o, placeholder: a } = d(), { inputId: s, ariaDescribedBy: m } = E(), n = O(null);
40
- return B(() => {
40
+ return k(() => {
41
41
  var l;
42
42
  (l = n.current) == null || l.focus();
43
43
  }, o), /* @__PURE__ */ r.createElement(A, {
@@ -51,22 +51,22 @@ const V = (t) => t ? `https://${String(t).replace(/^https?:\/\//, "")}` : "", e
51
51
  };
52
52
  e.Label = g;
53
53
  e.Input = W;
54
- e.Description = k;
54
+ e.Description = B;
55
55
  e.Error = T;
56
- const $ = ({ content: t, locale: o }) => /* @__PURE__ */ r.createElement(N, {
56
+ const $ = ({ content: t, locale: o }) => /* @__PURE__ */ r.createElement(h, {
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(M, u.label)
62
+ className: i(P, u.label)
63
63
  }, /* @__PURE__ */ r.createElement(e.Label.Required, {
64
- className: i(P, u.requiredMark)
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(v, null), /* @__PURE__ */ r.createElement(e.Error.Text, null)), /* @__PURE__ */ r.createElement(e.Description, {
69
+ }, /* @__PURE__ */ r.createElement(M, null), /* @__PURE__ */ r.createElement(e.Error.Text, null)), /* @__PURE__ */ r.createElement(e.Description, {
70
70
  className: i(U, u.description)
71
71
  }, $));
72
72
  };
@@ -1,5 +1,5 @@
1
1
  import r from "react";
2
- import { U as t } from "./url-input-field-rac-DH_STwmd.js";
2
+ import { U as t } from "./url-input-field-rac-9Hfx1xzO.js";
3
3
  const n = () => /* @__PURE__ */ r.createElement(t, null);
4
4
  export {
5
5
  n as UrlInputRAC