@wix/form-elements 1.161.0 → 1.163.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-BubC8I9X.js → appointment-rac-Cskf9hxi.js} +123 -123
  2. package/dist/component/{bookings-address-rac-BbwvVs86.js → bookings-address-rac-C18tuPai.js} +1 -1
  3. package/dist/component/{bookings-email-rac-C2HCkcfa.js → bookings-email-rac-C2GL3cJg.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-Uy7c5EBs.js → bookings-first-name-rac-IEklnchg.js} +1 -1
  5. package/dist/component/{bookings-header-rac-nmwsWRjS.js → bookings-header-rac-iwcrj5Kj.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-BAioQLCg.js → bookings-last-name-rac-CXZfq3Rw.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CO6vOBjG.js → bookings-login-bar-rac-DP0MBFTm.js} +6 -6
  8. package/dist/component/{bookings-phone-rac-Cr16h-_R.js → bookings-phone-rac-uJGk_tzr.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CHLH3jd7.js → bookings-rich-text-rac-BerRAnFy.js} +1 -1
  10. package/dist/component/{calendar.module-CKCBG_Pg.js → calendar.module-BMUyMVja.js} +19 -19
  11. package/dist/component/{checkbox-field-rac-CMwmwFMD.js → checkbox-field-rac-BBftIi_U.js} +6 -6
  12. package/dist/component/{checkbox-group-field-headless-BNs_S-nT.js → checkbox-group-field-headless-BiQ4coe6.js} +27 -27
  13. package/dist/component/{checkbox-group-field-rac-BA60EPAN.js → checkbox-group-field-rac-moHc5Cyu.js} +6 -6
  14. package/dist/component/{checkbox-group-rac-BJZ4Oer9.js → checkbox-group-rac-iuPzxN7i.js} +1 -1
  15. package/dist/component/{checkbox-indicator-module-classes-akWZsZNn.js → checkbox-indicator-module-classes-DUTR4mcg.js} +1 -1
  16. package/dist/component/{checkbox-rac-KsVlI6_V.js → checkbox-rac-BwfHAeFo.js} +1 -1
  17. package/dist/component/{contacts-address-rac-CRYkz87z.js → contacts-address-rac-DuyEL5YR.js} +1 -1
  18. package/dist/component/{contacts-birthdate-rac-BIz-1-ZX.js → contacts-birthdate-rac-Mkoplu3x.js} +1 -1
  19. package/dist/component/{contacts-company-rac-B8G__j6I.js → contacts-company-rac-B-3QghQg.js} +1 -1
  20. package/dist/component/{contacts-email-rac-Dztkvp5i.js → contacts-email-rac-CqooKQl8.js} +1 -1
  21. package/dist/component/{contacts-first-name-rac-CVSEWpLU.js → contacts-first-name-rac-CAOu0GIH.js} +1 -1
  22. package/dist/component/{contacts-last-name-rac-Blz4M5bk.js → contacts-last-name-rac-Cd-wCTC3.js} +1 -1
  23. package/dist/component/{contacts-phone-rac-CPCE5soY.js → contacts-phone-rac-OGE6eaJc.js} +1 -1
  24. package/dist/component/{contacts-position-rac-Dd_kBjqG.js → contacts-position-rac-eSsV63RC.js} +1 -1
  25. package/dist/component/{contacts-subscribe-rac-C6AlsP10.js → contacts-subscribe-rac-19d4uPR-.js} +1 -1
  26. package/dist/component/{contacts-tax-id-rac-CQ1n29zI.js → contacts-tax-id-rac-TtyrAftZ.js} +1 -1
  27. package/dist/component/{date-availability-DDj1j0z5.js → date-availability-CudIaav_.js} +1 -1
  28. package/dist/component/{date-input-field-rac-D5r1n_ah.js → date-input-field-rac-DzMiQLxS.js} +89 -89
  29. package/dist/component/{date-input-rac-Cyi5mU_P.js → date-input-rac-BWfmwcmK.js} +1 -1
  30. package/dist/component/{date-picker-field-rac-CeG391Zo.js → date-picker-field-rac-w4Wf-m0I.js} +54 -54
  31. package/dist/component/{date-picker-rac-Ci9aHgav.js → date-picker-rac-Bejo7tOm.js} +1 -1
  32. package/dist/component/{date-time-input-field-rac-CrbYEbJJ.js → date-time-input-field-rac-D6JPrbGb.js} +80 -80
  33. package/dist/component/{date-time-input-rac-DDJLkqs0.js → date-time-input-rac-CAK5NgC4.js} +1 -1
  34. package/dist/component/{dext-checkbox-group-rac-C3ftVHBA.js → dext-checkbox-group-rac-BqoHMQwI.js} +4 -4
  35. package/dist/component/{dext-checkbox-rac-BGLYWn68.js → dext-checkbox-rac-BEis8bxo.js} +1 -1
  36. package/dist/component/{dext-date-picker-rac-Cy9RlDlt.js → dext-date-picker-rac-DDQTy3BG.js} +1 -1
  37. package/dist/component/{dext-date-time-input-rac-88ZoTd5e.js → dext-date-time-input-rac-Dp3UEXEu.js} +1 -1
  38. package/dist/component/{dext-dropdown-rac-CPxDUuk9.js → dext-dropdown-rac-DisXIXNb.js} +1 -1
  39. package/dist/component/{dext-email-rac-BAvQwDPA.js → dext-email-rac-CBv4umUC.js} +1 -1
  40. package/dist/component/{dext-number-input-rac-D7HYQVKq.js → dext-number-input-rac-0UNC_1Ac.js} +1 -1
  41. package/dist/component/{dext-phone-rac--FhcplSI.js → dext-phone-rac-CQVzz499.js} +1 -1
  42. package/dist/component/{dext-radio-group-rac-DBz8iCKW.js → dext-radio-group-rac-3lhx-xxX.js} +2 -2
  43. package/dist/component/{dext-rating-input-rac-Cv7nThfe.js → dext-rating-input-rac-2fwxV3iY.js} +1 -1
  44. package/dist/component/{dext-tags-rac-CRUUc5dr.js → dext-tags-rac-DCL78ClS.js} +2 -2
  45. package/dist/component/{dext-text-area-rac-DQBQXV1L.js → dext-text-area-rac-WTCWYySB.js} +1 -1
  46. package/dist/component/{dext-text-input-rac-4CpM581y.js → dext-text-input-rac-DMCzSYAI.js} +1 -1
  47. package/dist/component/{dext-url-input-rac-0C1jTEr9.js → dext-url-input-rac-Bzvt5zTa.js} +1 -1
  48. package/dist/component/{donation-rac-Cgt0ZE50.js → donation-rac-B3YHu0bl.js} +98 -98
  49. package/dist/component/{dropdown-field-rac-DlGKR7pZ.js → dropdown-field-rac-y4GPpf0W.js} +4 -4
  50. package/dist/component/{dropdown-rac-CYFW_3x_.js → dropdown-rac-Dj7OnxJL.js} +1 -1
  51. package/dist/component/{ecom-address-rac-CQfQHpXC.js → ecom-address-rac-Bnc60jDw.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-D2v2Upvz.js → ecom-subscription-checkbox-rac-CesTpjav.js} +2 -2
  53. package/dist/component/{email-input-field-rac-CVw25yRo.js → email-input-field-rac-BT2FrAEM.js} +48 -48
  54. package/dist/component/{events-repeater-rac-BCVUcmFj.js → events-repeater-rac-CA2yjEEk.js} +24 -24
  55. package/dist/component/{events-rsvp-rac-DwbqEr8z.js → events-rsvp-rac-wVpVt7-p.js} +4 -4
  56. package/dist/component/{field-error-headless-XnVcMmsL.js → field-error-headless-CX95bMbk.js} +8 -8
  57. package/dist/component/{field-label-headless-BRTLT2Yt.js → field-label-headless-niuFY6Mw.js} +17 -17
  58. package/dist/component/field-rac.module-ts2t4WUO.js +25 -0
  59. package/dist/component/{file-upload-rac-Dkwg9Jk4.js → file-upload-rac-ByO8l8lE.js} +142 -142
  60. package/dist/component/{fixed-payment-rac-ST98xAa2.js → fixed-payment-rac-BNDAdNeQ.js} +18 -18
  61. package/dist/component/{form-BUqSKOvc.js → form-CCQN_rPn.js} +326 -336
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +1 -1
  64. package/dist/component/{header-field-rac-CzNTGYWq.js → header-field-rac-C1RySfYy.js} +6 -6
  65. package/dist/component/{header-rac-DUt6AIAE.js → header-rac-BaFPV0vy.js} +1 -1
  66. package/dist/component/image-choice-rac-BShUj92P.js +155 -0
  67. package/dist/component/{index-cZZeAuuu.js → index-0_YjLphg.js} +2 -2
  68. package/dist/component/{index-CDO22hht.js → index-DHLfweXD.js} +69 -69
  69. package/dist/component/{isObjectLike-cs4bARpC.js → isObjectLike-D7tbAd6O.js} +3 -3
  70. package/dist/component/{multiline-address-field-rac-vcEWhUCV.js → multiline-address-field-rac-CFJKE5vA.js} +41 -41
  71. package/dist/component/{multiline-address-rac-WQaI2eUX.js → multiline-address-rac-BlzCkwEH.js} +1 -1
  72. package/dist/component/{number-input-field-rac-CBUMqATk.js → number-input-field-rac-XqxdqTRV.js} +24 -24
  73. package/dist/component/{number-input-rac-B4j5hyzS.js → number-input-rac-CQTg0QSm.js} +1 -1
  74. package/dist/component/{password-rac-DwLyf45N.js → password-rac-DPE-U2xs.js} +17 -17
  75. package/dist/component/{payment-input-rac-D0Od---y.js → payment-input-rac-oOh04431.js} +32 -32
  76. package/dist/component/{phone-input-field-rac-COlu9IeC.js → phone-input-field-rac-DW2vQhjC.js} +48 -48
  77. package/dist/component/{phone-rac-Dh4RacOF.js → phone-rac-BB9B-Hpl.js} +1 -1
  78. package/dist/component/{product-list-rac-D7zHDE2D.js → product-list-rac-K53VvPJV.js} +26 -26
  79. package/dist/component/{quiz-radio-group-rac-1AaKphJt.js → quiz-radio-group-rac-gikcMV2I.js} +1 -1
  80. package/dist/component/{radio-button-module-classes-VqaP6vpA.js → radio-button-module-classes-CY883yGO.js} +34 -34
  81. package/dist/component/{radio-group-field-rac-Cp3LRN3C.js → radio-group-field-rac-BOEWcfT9.js} +5 -5
  82. package/dist/component/{radio-group-rac-KhmhzYGf.js → radio-group-rac-gKhmLMm3.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-10n6ciCr.js → rating-input-field-rac-83FXIVpy.js} +30 -30
  84. package/dist/component/{rating-input-rac-XZjjY2Gp.js → rating-input-rac-XDwakrtR.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-kMwDoLBa.js → rich-content-rac.module-Bdx8hK3J.js} +5 -5
  86. package/dist/component/{rich-text-field-rac-H5bd8fAt.js → rich-text-field-rac-ksEKBaYG.js} +4 -4
  87. package/dist/component/{rich-text-rac-88GSQR62.js → rich-text-rac-XEFBeQrz.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-B1_Xr_X3.js → service-dropdown-rac-CjFiqV1n.js} +26 -26
  89. package/dist/component/{services-multi-choice-rac-DWp_Llbi.js → services-multi-choice-rac-DNut4K3I.js} +15 -15
  90. package/dist/component/{signature-rac-zN_6KRDp.js → signature-rac-BhWPZpwu.js} +108 -108
  91. package/dist/component/{submit-button-rac-Dv6UarYX.js → submit-button-rac-CWmz_JCl.js} +7 -7
  92. package/dist/component/{tags-field-rac-sVN6MHfJ.js → tags-field-rac-D9P1jVrz.js} +75 -75
  93. package/dist/component/{tags-rac-DhTHs_XN.js → tags-rac-0zEd-xYa.js} +1 -1
  94. package/dist/component/{text-area-field-rac-DrWkww7W.js → text-area-field-rac-D_55oi2b.js} +19 -19
  95. package/dist/component/{text-area-rac-CXXh-ZdY.js → text-area-rac-CpkFyXCH.js} +1 -1
  96. package/dist/component/{text-input-field-rac-C2YiMr-g.js → text-input-field-rac-b7RXb4Ob.js} +4 -4
  97. package/dist/component/{text-input-headless-BJMNbsMY.js → text-input-headless-b1TEpdit.js} +11 -11
  98. package/dist/component/{text-input-rac-CpsPh7FH.js → text-input-rac-CoVcg1S0.js} +1 -1
  99. package/dist/component/{time-input-rac-DG_1KxS4.js → time-input-rac-DE7OyzgQ.js} +20 -20
  100. package/dist/component/url-input-field-rac-_yxWlb3a.js +77 -0
  101. package/dist/component/{url-input-rac-BTStO0NP.js → url-input-rac-wguMUqug.js} +1 -1
  102. package/dist/component/{use-dropdown-option-class-name-DbMMg1ws.js → use-dropdown-option-class-name-DdQ0sFRF.js} +12 -12
  103. package/dist/component/{use-dropdown-trigger-class-name-Yes4kC_0.js → use-dropdown-trigger-class-name-hB8KYv-I.js} +19 -19
  104. package/dist/component/{use-element-state-class-name-DlncY4hk.js → use-element-state-class-name-C2tQgxUX.js} +1 -1
  105. package/dist/component/{use-hoverable-input-class-name-C__zqP5j.js → use-hoverable-input-class-name-C8iuzofb.js} +3 -3
  106. package/dist/component/{use-is-forced-open-dropdown-DnK_MQRO.js → use-is-forced-open-dropdown-DkIrJPsK.js} +4 -4
  107. package/dist/component/{use-service-options-base-DKJe52Vk.js → use-service-options-base-B-xAR-tx.js} +3 -3
  108. package/dist/component/use-text-input-class-name-CK4rZeSM.js +6 -0
  109. package/package.json +2 -2
  110. package/dist/component/field-rac.module-DP0lkkEv.js +0 -25
  111. package/dist/component/image-choice-rac-DuBgrSt2.js +0 -155
  112. package/dist/component/url-input-field-rac-twxRREnl.js +0 -77
  113. package/dist/component/use-text-input-class-name-D9tJTR-b.js +0 -6
@@ -1,24 +1,24 @@
1
1
  import { RicosViewer as de } from "@wix/ricos/viewer";
2
2
  import b from "classnames";
3
- import t, { useMemo as $, useState as A, useRef as F, useEffect as k, useCallback as W, createContext as te, useContext as q, useId as ye } from "react";
4
- import { bj as Ee, bK as D, bs as ne, bJ as fe, bA as w, bx as oe, bC as he, W as ge, ac as be, $ as Oe, M as _e, G as Ne, a1 as Le, a0 as Se, _ as Ie } from "./form-BUqSKOvc.js";
3
+ import t, { useMemo as j, useState as A, useRef as F, useEffect as k, useCallback as z, createContext as te, useContext as q, useId as ye } from "react";
4
+ import { bh as Ee, bI as D, bq as ne, bH as fe, by as w, bv as oe, bA as he, U as ge, aa as be, Z as Oe, K as _e, G as Ne, $ as Le, _ as Se, Y as Ie } from "./form-CCQN_rPn.js";
5
5
  import { UNSAFE_PortalProvider as Pe } from "react-aria";
6
6
  import { Dialog as re, OverlayTriggerStateContext as ve, ModalOverlay as Fe, Modal as De, SearchField as we, Group as U, ListBoxItem as Be, DialogTrigger as Re, Select as xe, Input as ae, Autocomplete as Me } from "react-aria-components";
7
7
  import { f as h, a as I } from "./find-child-C60k4CxG.js";
8
- import { D as je, E as $e } from "./field-error-headless-XnVcMmsL.js";
9
- import { L as Ae } from "./field-label-headless-BRTLT2Yt.js";
8
+ import { D as $e, E as je } from "./field-error-headless-CX95bMbk.js";
9
+ import { L as Ae } from "./field-label-headless-niuFY6Mw.js";
10
10
  import { N as Te, S as ke } from "./non-modal-popover-D-u13tmp.js";
11
11
  import { u as Ve } from "./use-invoke-callback-UH73A_J3.js";
12
- import { b as He } from "./use-is-forced-open-dropdown-DnK_MQRO.js";
13
- import { V as Ue, a as qe } from "./use-dropdown-option-class-name-DbMMg1ws.js";
14
- import se, { AsYouType as Ge, isValidPhoneNumber as Ke, isSupportedCountry as Ye } from "libphonenumber-js";
12
+ import { b as He } from "./use-is-forced-open-dropdown-DkIrJPsK.js";
13
+ import { V as Ue, a as qe } from "./use-dropdown-option-class-name-DdQ0sFRF.js";
14
+ import se, { AsYouType as Ge, isValidPhoneNumber as Ye, isSupportedCountry as Ke } from "libphonenumber-js";
15
15
  import "libphonenumber-js/metadata.min.json";
16
- import { C as Z } from "./calling-country-codes-PyWuOTmF.js";
17
- import { C as ze } from "./chevron-down-icon-CcpVm6B-.js";
18
- import { E as We } from "./error-icon-hZxQ6DEy.js";
19
- import { H as J } from "./custom-focus-class-_483Pkwp.js";
20
- import { s as O } from "./field-rac.module-DP0lkkEv.js";
21
- import { u as Q } from "./use-hoverable-input-class-name-C__zqP5j.js";
16
+ import { C as Q } from "./calling-country-codes-PyWuOTmF.js";
17
+ import { C as Ze } from "./chevron-down-icon-CcpVm6B-.js";
18
+ import { E as ze } from "./error-icon-hZxQ6DEy.js";
19
+ import { H as W } from "./custom-focus-class-_483Pkwp.js";
20
+ import { s as O } from "./field-rac.module-ts2t4WUO.js";
21
+ import { u as J } from "./use-hoverable-input-class-name-C8iuzofb.js";
22
22
  function X(e) {
23
23
  const n = e ? se(e) : void 0, r = n == null ? void 0 : n.country;
24
24
  if (r)
@@ -37,17 +37,17 @@ function ee(e, n) {
37
37
  if (e && n)
38
38
  try {
39
39
  const r = se(e, n), o = r == null ? void 0 : r.formatInternational();
40
- if (o && Ke(o))
40
+ if (o && Ye(o))
41
41
  return o.replace(/\s+/g, "");
42
42
  } catch {
43
43
  }
44
44
  return e;
45
45
  }
46
- function Ze() {
46
+ function Qe() {
47
47
  const { t: e } = D(), { language: n } = ne();
48
- return $(() => Object.keys(Z).reduce((o, a) => {
49
- const c = Z[a], l = G(c), i = e(`locale-dataset.countries.${c.toUpperCase()}`);
50
- return l && Ye(a) && o.push({
48
+ return j(() => Object.keys(Q).reduce((o, a) => {
49
+ const c = Q[a], l = G(c), i = e(`locale-dataset.countries.${c.toUpperCase()}`);
50
+ return l && Ke(a) && o.push({
51
51
  countryName: i,
52
52
  longCountryCode: c,
53
53
  shortCountryCode: a,
@@ -58,10 +58,10 @@ function Ze() {
58
58
  n
59
59
  ]);
60
60
  }
61
- function Je(e, n) {
61
+ function We(e, n) {
62
62
  return e.filter((r) => n && n.length > 0 ? n.includes(r.shortCountryCode) : !0);
63
63
  }
64
- function Qe(e, n) {
64
+ function Je(e, n) {
65
65
  const { countryName: r, callingCode: o, shortCountryCode: a } = e;
66
66
  return !!(H(r, n) || H(o, n) || H(a, n));
67
67
  }
@@ -73,7 +73,7 @@ function Xe({ value: e, defaultCountryCode: n, allowedCountryCodes: r, onChange:
73
73
  fe(() => {
74
74
  c(""), l.current = "", u(n), o("");
75
75
  });
76
- const p = $(() => X(a), [
76
+ const p = j(() => X(a), [
77
77
  a
78
78
  ]);
79
79
  k(() => {
@@ -92,7 +92,7 @@ function Xe({ value: e, defaultCountryCode: n, allowedCountryCodes: r, onChange:
92
92
  p,
93
93
  n
94
94
  ]);
95
- const C = W((m) => {
95
+ const C = z((m) => {
96
96
  if (c(m), !m) {
97
97
  l.current = "", o(null);
98
98
  return;
@@ -105,7 +105,7 @@ function Xe({ value: e, defaultCountryCode: n, allowedCountryCodes: r, onChange:
105
105
  }, [
106
106
  r,
107
107
  o
108
- ]), d = W((m) => {
108
+ ]), d = z((m) => {
109
109
  u(m), c((f) => {
110
110
  const y = V(ee(f, m));
111
111
  return l.current = y ?? "", o(y), f;
@@ -125,12 +125,12 @@ const ce = /* @__PURE__ */ te(null), _ = () => {
125
125
  if (!e)
126
126
  throw new Error("Phone input components must be used within PhoneInput component");
127
127
  return e;
128
- }, le = /* @__PURE__ */ te(null), K = () => {
128
+ }, le = /* @__PURE__ */ te(null), Y = () => {
129
129
  const e = q(le);
130
130
  if (!e)
131
131
  throw new Error("Option sub-components must be used within Option component");
132
132
  return e;
133
- }, Y = ({ longCountryCode: e, className: n }) => {
133
+ }, K = ({ longCountryCode: e, className: n }) => {
134
134
  function r(c, l) {
135
135
  const i = "https://static.parastorage.com/services/linguist-flags/1.1005.0/assets/flags/square/", p = `${c}${l === "2x" ? "_2x" : ""}.png`;
136
136
  return `${i}${p}`;
@@ -146,10 +146,10 @@ const ce = /* @__PURE__ */ te(null), _ = () => {
146
146
  });
147
147
  }, s = ({ children: e }) => {
148
148
  var L, v;
149
- const { id: n, value: r, onChange: o, FieldLayout: a, defaultCountry: c, validation: l } = w(), [i, u] = A(null), p = (v = (L = l == null ? void 0 : l.string) == null ? void 0 : L.phoneOptions) == null ? void 0 : v.allowedCountryCodes, C = Ze(), d = $(() => Je(C, p), [
149
+ const { id: n, value: r, onChange: o, FieldLayout: a, defaultCountry: c, validation: l } = w(), [i, u] = A(null), p = (v = (L = l == null ? void 0 : l.string) == null ? void 0 : L.phoneOptions) == null ? void 0 : v.allowedCountryCodes, C = Qe(), d = j(() => We(C, p), [
150
150
  C,
151
151
  p
152
- ]), m = $(() => d.map((j) => j.shortCountryCode), [
152
+ ]), m = j(() => d.map(($) => $.shortCountryCode), [
153
153
  d
154
154
  ]), { currentValue: f, selectedCountryCode: y, handlePhoneChange: S, handleCountryCodeChange: N } = Xe({
155
155
  value: r,
@@ -178,7 +178,7 @@ const ce = /* @__PURE__ */ te(null), _ = () => {
178
178
  }), R),
179
179
  renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, M, x)
180
180
  }));
181
- }, z = ({ children: e, className: n }) => {
181
+ }, Z = ({ children: e, className: n }) => {
182
182
  const { labelId: r } = oe(), { hasError: o, disabled: a, readOnly: c } = w(), { t: l } = D(), { selectedCountryCode: i, countries: u } = _(), p = ye(), C = i ? u.find((y) => y.shortCountryCode === i) : void 0, d = C && G(C.longCountryCode) || "", m = l("field.phone.country-code.aria-label"), f = C ? `${m}, ${C.countryName}, ${d}` : m;
183
183
  return /* @__PURE__ */ t.createElement(ke, {
184
184
  isDisabled: a || c,
@@ -190,7 +190,7 @@ const ce = /* @__PURE__ */ te(null), _ = () => {
190
190
  }, e);
191
191
  }, et = ({ className: e }) => {
192
192
  const { selectedCountryCode: n, countries: r } = _(), o = r.find((a) => a.shortCountryCode === n);
193
- return o ? /* @__PURE__ */ t.createElement(Y, {
193
+ return o ? /* @__PURE__ */ t.createElement(K, {
194
194
  className: e,
195
195
  longCountryCode: o.longCountryCode
196
196
  }) : null;
@@ -200,8 +200,8 @@ const ce = /* @__PURE__ */ te(null), _ = () => {
200
200
  className: n
201
201
  }, e);
202
202
  };
203
- z.Flag = et;
204
- z.EmptyState = tt;
203
+ Z.Flag = et;
204
+ Z.EmptyState = tt;
205
205
  const g = ({ children: e, className: n, "aria-label": r, placement: o, offset: a, ...c }) => {
206
206
  const { triggerRef: l, optionsRef: i, isForcedOpen: u, isOpen: p } = c, { popoverContainer: C } = _(), d = h(e, g.Search);
207
207
  if (!p)
@@ -262,7 +262,7 @@ const g = ({ children: e, className: n, "aria-label": r, placement: o, offset: a
262
262
  return c ? /* @__PURE__ */ t.createElement(Me, {
263
263
  filter: (u, p, C) => {
264
264
  const d = o.find((m) => m.shortCountryCode === C.key);
265
- return !!d && Qe(d, p);
265
+ return !!d && Je(d, p);
266
266
  }
267
267
  }, r ? I(c, {
268
268
  autoFocus: !1
@@ -303,18 +303,18 @@ const T = ({ children: e, className: n, ...r }) => {
303
303
  value: i
304
304
  }, u));
305
305
  }, me = ({ className: e }) => {
306
- const { longCountryCode: n } = K();
307
- return /* @__PURE__ */ t.createElement(Y, {
306
+ const { longCountryCode: n } = Y();
307
+ return /* @__PURE__ */ t.createElement(K, {
308
308
  className: e,
309
309
  longCountryCode: n
310
310
  });
311
311
  }, pe = ({ className: e }) => {
312
- const { countryName: n } = K();
312
+ const { countryName: n } = Y();
313
313
  return /* @__PURE__ */ t.createElement("span", {
314
314
  className: e
315
315
  }, n);
316
316
  }, Ce = ({ className: e }) => {
317
- const { dialingCode: n } = K();
317
+ const { dialingCode: n } = Y();
318
318
  return /* @__PURE__ */ t.createElement("span", {
319
319
  className: e
320
320
  }, n);
@@ -380,9 +380,9 @@ const at = ({ className: e }) => {
380
380
  a.current || (a.current = !0, p == null || p());
381
381
  },
382
382
  onBlur: (P) => {
383
- var v, j;
383
+ var v, $;
384
384
  const L = P.relatedTarget;
385
- !((v = r.current) != null && v.contains(L)) && !((j = o.current) != null && j.contains(L)) && (a.current = !1, d());
385
+ !((v = r.current) != null && v.contains(L)) && !(($ = o.current) != null && $.contains(L)) && (a.current = !1, d());
386
386
  }
387
387
  };
388
388
  return m.length === 1 ? /* @__PURE__ */ t.createElement(U, {
@@ -391,7 +391,7 @@ const at = ({ className: e }) => {
391
391
  isDisabled: l,
392
392
  isInvalid: i,
393
393
  ...M
394
- }, u && /* @__PURE__ */ t.createElement(Y, {
394
+ }, u && /* @__PURE__ */ t.createElement(K, {
395
395
  longCountryCode: m[0].longCountryCode
396
396
  }), S) : /* @__PURE__ */ t.createElement(U, {
397
397
  ref: r,
@@ -403,13 +403,13 @@ const at = ({ className: e }) => {
403
403
  };
404
404
  s.Label = Ae;
405
405
  s.Control = lt;
406
- s.CountryButton = z;
406
+ s.CountryButton = Z;
407
407
  s.CountryDrawer = ct;
408
408
  s.CountryPopover = st;
409
409
  s.CountryOptions = g;
410
410
  s.PhoneNumber = at;
411
- s.Description = je;
412
- s.Error = $e;
411
+ s.Description = $e;
412
+ s.Error = je;
413
413
  const ut = (e) => /* @__PURE__ */ t.createElement("svg", {
414
414
  width: 24,
415
415
  height: 24,
@@ -453,10 +453,10 @@ const ut = (e) => /* @__PURE__ */ t.createElement("svg", {
453
453
  }), vt = () => /* @__PURE__ */ t.createElement("span", {
454
454
  className: E.chevron,
455
455
  "aria-hidden": "true"
456
- }, /* @__PURE__ */ t.createElement(ze, null)), Zt = () => {
457
- const e = qe(Se, O.selectOptionWithoutFocusRing, E.option, J), n = Q(Ie, [
456
+ }, /* @__PURE__ */ t.createElement(Ze, null)), Qt = () => {
457
+ const e = qe(Se, O.selectOptionWithoutFocusRing, E.option, W), n = J(Ie, [
458
458
  E.control
459
- ]), r = Q(Le, [
459
+ ]), r = J(Le, [
460
460
  E.countrySearch
461
461
  ]), { t: o } = D(), { PortalContainer: a } = ne(), c = /* @__PURE__ */ t.createElement(s.CountryOptions.Search, {
462
462
  className: r,
@@ -464,7 +464,7 @@ const ut = (e) => /* @__PURE__ */ t.createElement("svg", {
464
464
  }, /* @__PURE__ */ t.createElement(it, {
465
465
  className: E.searchIcon
466
466
  }), /* @__PURE__ */ t.createElement(s.CountryOptions.Search.Input, {
467
- className: b(O.innerInput, J),
467
+ className: b(O.innerInput, W),
468
468
  placeholder: o("field.phone.country-search-input.placeholder")
469
469
  })), l = /* @__PURE__ */ t.createElement(s.CountryOptions.EmptyState, null, o("field.phone.country-selector-dropdown.no-result")), i = /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(s.CountryButton.Flag, {
470
470
  className: E.flag
@@ -503,10 +503,10 @@ const ut = (e) => /* @__PURE__ */ t.createElement("svg", {
503
503
  className: b(O.innerInput, E.phoneNumber)
504
504
  })), /* @__PURE__ */ t.createElement(s.Error, {
505
505
  className: b(_e, O.error)
506
- }, /* @__PURE__ */ t.createElement(We, null), /* @__PURE__ */ t.createElement(s.Error.Text, null)), /* @__PURE__ */ t.createElement(s.Description, {
506
+ }, /* @__PURE__ */ t.createElement(ze, null), /* @__PURE__ */ t.createElement(s.Error.Text, null)), /* @__PURE__ */ t.createElement(s.Description, {
507
507
  className: b(Ne, O.description)
508
508
  }, Pt));
509
509
  };
510
510
  export {
511
- Zt as P
511
+ Qt as P
512
512
  };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { P as o } from "./phone-input-field-rac-COlu9IeC.js";
2
+ import { P as o } from "./phone-input-field-rac-DW2vQhjC.js";
3
3
  const r = () => /* @__PURE__ */ e.createElement(o, null);
4
4
  export {
5
5
  r as PhoneRAC
@@ -1,20 +1,20 @@
1
- import t, { useMemo as G, useCallback as v, useRef as U } from "react";
1
+ import t, { useMemo as G, useCallback as M, useRef as x } from "react";
2
2
  import { RicosViewer as H } from "@wix/ricos/viewer";
3
3
  import b from "classnames";
4
- import { CheckboxField as $, CheckboxButton as z, NumberField as W, Group as X, Button as Q, Input as Y } from "react-aria-components";
5
- import { bA as x, bx as J, bs as w, bK as Z, bC as ee, W as te, ac as ne, a2 as ae, a5 as oe, a4 as re, a6 as le, M as se, G as ie, a3 as ce } from "./form-BUqSKOvc.js";
4
+ import { CheckboxField as $, CheckboxButton as z, NumberField as X, Group as Y, Button as Q, Input as J } from "react-aria-components";
5
+ import { by as U, bv as W, bq as w, bI as Z, bA as ee, U as te, aa as ne, a0 as ae, a3 as oe, a2 as re, a4 as le, K as se, G as ie, a1 as ce } from "./form-CCQN_rPn.js";
6
6
  import { f as I, a as f } from "./find-child-C60k4CxG.js";
7
- import { L as ue, g as me } from "./field-label-headless-BRTLT2Yt.js";
7
+ import { L as ue, g as me } from "./field-label-headless-niuFY6Mw.js";
8
8
  import { f as pe } from "./format-currency-BwShJ9vM.js";
9
- import { D as de, E as Ee } from "./field-error-headless-XnVcMmsL.js";
9
+ import { D as de, E as Ee } from "./field-error-headless-CX95bMbk.js";
10
10
  import { F as ye } from "./fieldset-headless-CD3fds9J.js";
11
11
  import { g as _e } from "./payment-field-utils-DobiK5Xh.js";
12
12
  import { S as be } from "./selection-indicator-XQ8MYHUQ.js";
13
13
  import { E as fe } from "./error-icon-hZxQ6DEy.js";
14
- import { C as Ie } from "./checkbox-indicator-module-classes-akWZsZNn.js";
15
- import { s as q } from "./field-rac.module-DP0lkkEv.js";
14
+ import { C as Ie } from "./checkbox-indicator-module-classes-DUTR4mcg.js";
15
+ import { s as q } from "./field-rac.module-ts2t4WUO.js";
16
16
  import { o as j } from "./options-rac.module-_THNq6Qq.js";
17
- import { u as Oe } from "./use-element-state-class-name-DlncY4hk.js";
17
+ import { u as Oe } from "./use-element-state-class-name-C2tQgxUX.js";
18
18
  var Le = /* @__PURE__ */ (function(e) {
19
19
  return e.crop = "CROP", e.fit = "FIT", e;
20
20
  })({}), k = /* @__PURE__ */ (function(e) {
@@ -28,9 +28,9 @@ function Ce({ maxItems: e, products: a } = {}) {
28
28
  }
29
29
  const o = ({ children: e }) => {
30
30
  var D;
31
- const { id: a, value: l, onChange: n, disabled: r, readOnly: c, required: y, onBlur: O, onFocus: s, hasError: u, validation: m, FieldLayout: p } = x(), { inputId: M, labelId: N, ariaDescribedBy: h } = J(), _ = I(e, o.Label), g = I(e, o.Options), A = I(e, o.Description), L = I(e, o.Error), i = G(() => l || [], [
31
+ const { id: a, value: l, onChange: n, disabled: r, readOnly: c, required: y, onBlur: O, onFocus: s, hasError: u, validation: m, FieldLayout: p } = U(), { inputId: v, labelId: N, ariaDescribedBy: h } = W(), _ = I(e, o.Label), g = I(e, o.Options), A = I(e, o.Description), L = I(e, o.Error), i = G(() => l || [], [
32
32
  l
33
- ]), T = Ce((D = m == null ? void 0 : m.predefined) == null ? void 0 : D.paymentOptions) === k.many, F = v((S, R) => {
33
+ ]), T = Ce((D = m == null ? void 0 : m.predefined) == null ? void 0 : D.paymentOptions) === k.many, F = M((S, R) => {
34
34
  const d = i.filter((K) => K.productId !== S.productId), B = R ? [
35
35
  ...d,
36
36
  S
@@ -44,7 +44,7 @@ const o = ({ children: e }) => {
44
44
  fieldId: a,
45
45
  renderLabel: () => _,
46
46
  renderInput: () => /* @__PURE__ */ t.createElement(ye, {
47
- id: M,
47
+ id: v,
48
48
  ariaLabelledBy: N,
49
49
  ariaDescribedBy: h,
50
50
  required: y,
@@ -61,12 +61,12 @@ const o = ({ children: e }) => {
61
61
  renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, L, A)
62
62
  });
63
63
  }, V = ({ children: e, className: a, ...l }) => {
64
- const { allowMany: n, productValues: r, onProductChange: c, disabled: y, readOnly: O, hasError: s } = l, { options: u, validation: m, imageResize: p } = x(), { currency: M } = w(), { t: N } = Z(), h = I(e, o.Option);
64
+ const { allowMany: n, productValues: r, onProductChange: c, disabled: y, readOnly: O, hasError: s } = l, { options: u, validation: m, imageResize: p } = U(), { currency: v } = w(), { t: N } = Z(), h = I(e, o.Option);
65
65
  return /* @__PURE__ */ t.createElement("div", {
66
66
  className: a
67
67
  }, u == null ? void 0 : u.map((_, g) => {
68
68
  var C, T, F, D, S;
69
- const A = ((S = (D = (F = (T = (C = m == null ? void 0 : m.predefined) == null ? void 0 : C.paymentOptions) == null ? void 0 : T.products) == null ? void 0 : F.find((R) => R.id === _.value)) == null ? void 0 : D.fixedPriceOptions) == null ? void 0 : S.price) || "0", L = _e(N, M), i = r.find((R) => R.productId === _.value);
69
+ const A = ((S = (D = (F = (T = (C = m == null ? void 0 : m.predefined) == null ? void 0 : C.paymentOptions) == null ? void 0 : T.products) == null ? void 0 : F.find((R) => R.id === _.value)) == null ? void 0 : D.fixedPriceOptions) == null ? void 0 : S.price) || "0", L = _e(N, v), i = r.find((R) => R.productId === _.value);
70
70
  return f(h, {
71
71
  key: _.id || _.value || _.label,
72
72
  option: _,
@@ -84,14 +84,14 @@ const o = ({ children: e }) => {
84
84
  });
85
85
  }));
86
86
  }, E = ({ children: e, className: a, ...l }) => {
87
- const { option: n, price: r, quantity: c = 0, isSelected: y, allowMany: O, onProductChange: s, disabled: u, readOnly: m, hasError: p, currencyAriaLabel: M, imageResize: N, isFirst: h } = l, { id: _ } = x(), g = U(null), A = U(null), L = I(e, E.Image), i = I(e, E.Label), C = I(e, E.Price), T = I(e, E.Input), F = I(e, E.Quantity);
87
+ const { option: n, price: r, quantity: c = 0, isSelected: y, allowMany: O, onProductChange: s, disabled: u, readOnly: m, hasError: p, currencyAriaLabel: v, imageResize: N, isFirst: h } = l, { id: _ } = U(), g = x(null), A = x(null), L = I(e, E.Image), i = I(e, E.Label), C = I(e, E.Price), T = I(e, E.Input), F = I(e, E.Quantity);
88
88
  ee(() => {
89
89
  var d;
90
90
  h && ((d = g.current ?? A.current) == null || d.focus({
91
91
  preventScroll: !0
92
92
  }));
93
93
  }, _);
94
- const D = v((d) => {
94
+ const D = M((d) => {
95
95
  s({
96
96
  productId: n.value,
97
97
  price: r,
@@ -101,7 +101,7 @@ const o = ({ children: e }) => {
101
101
  s,
102
102
  n.value,
103
103
  r
104
- ]), S = v((d) => {
104
+ ]), S = M((d) => {
105
105
  s({
106
106
  productId: n.value,
107
107
  price: r,
@@ -111,7 +111,7 @@ const o = ({ children: e }) => {
111
111
  s,
112
112
  n.value,
113
113
  r
114
- ]), R = `${n.label} ${M} ${r}`;
114
+ ]), R = `${n.label} ${v} ${r}`;
115
115
  return O ? /* @__PURE__ */ t.createElement("div", {
116
116
  className: a,
117
117
  "data-hook": "product"
@@ -186,16 +186,16 @@ const o = ({ children: e }) => {
186
186
  "data-hook": "product-price"
187
187
  }, c);
188
188
  }, De = ({ className: e, ...a }) => {
189
- const { quantity: l, onQuantityChange: n, disabled: r, readOnly: c, hasError: y, ariaLabel: O, inputRef: s } = a, u = v((p) => {
189
+ const { quantity: l, onQuantityChange: n, disabled: r, readOnly: c, hasError: y, ariaLabel: O, inputRef: s } = a, u = M((p) => {
190
190
  n(p < 0 ? 0 : p);
191
191
  }, [
192
192
  n
193
- ]), m = v((p) => {
193
+ ]), m = M((p) => {
194
194
  p.key === "Home" && (p.preventDefault(), u(0));
195
195
  }, [
196
196
  u
197
197
  ]);
198
- return /* @__PURE__ */ t.createElement(W, {
198
+ return /* @__PURE__ */ t.createElement(X, {
199
199
  value: l,
200
200
  onChange: u,
201
201
  minValue: 0,
@@ -206,11 +206,11 @@ const o = ({ children: e }) => {
206
206
  "aria-label": O,
207
207
  className: e,
208
208
  "data-hook": "product-quantity"
209
- }, /* @__PURE__ */ t.createElement(X, {
209
+ }, /* @__PURE__ */ t.createElement(Y, {
210
210
  onKeyDown: m
211
211
  }, /* @__PURE__ */ t.createElement(Q, {
212
212
  slot: "decrement"
213
- }, "-"), /* @__PURE__ */ t.createElement(Y, {
213
+ }, "-"), /* @__PURE__ */ t.createElement(J, {
214
214
  ref: s
215
215
  }), /* @__PURE__ */ t.createElement(Q, {
216
216
  slot: "increment"
@@ -235,10 +235,10 @@ const Se = "_options_1jnru_1", Pe = "_option_1jnru_1", Ne = "_optionInput_1jnru_
235
235
  optionLabel: Ae,
236
236
  optionPrice: Te,
237
237
  quantity: qe
238
- }, Me = ({ content: e, locale: a }) => /* @__PURE__ */ t.createElement(H, {
238
+ }, ve = ({ content: e, locale: a }) => /* @__PURE__ */ t.createElement(H, {
239
239
  content: e,
240
240
  locale: a
241
- }), ve = () => {
241
+ }), Me = () => {
242
242
  const e = Oe({
243
243
  globalClasses: ce,
244
244
  moduleClasses: Ie
@@ -265,8 +265,8 @@ const Se = "_options_1jnru_1", Pe = "_option_1jnru_1", Ne = "_optionInput_1jnru_
265
265
  className: b(se, q.error)
266
266
  }, /* @__PURE__ */ t.createElement(fe, null), /* @__PURE__ */ t.createElement(o.Error.Text, null)), /* @__PURE__ */ t.createElement(o.Description, {
267
267
  className: b(ie, q.description)
268
- }, Me));
269
- }, Ze = () => /* @__PURE__ */ t.createElement(ve, null);
268
+ }, ve));
269
+ }, Ze = () => /* @__PURE__ */ t.createElement(Me, null);
270
270
  export {
271
271
  Ze as ProductListRAC
272
272
  };
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { R as r } from "./radio-group-field-rac-Cp3LRN3C.js";
2
+ import { R as r } from "./radio-group-field-rac-BOEWcfT9.js";
3
3
  const i = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  i as QuizRadioGroupRAC
@@ -1,15 +1,15 @@
1
1
  import a, { useRef as F, useState as T, useEffect as B, useCallback as H } from "react";
2
- import { RadioGroup as A, RadioField as k, RadioButton as x, TextField as G, Input as P } from "react-aria-components";
3
- import { bA as g, bx as $, bK as D, bC as q } from "./form-BUqSKOvc.js";
2
+ import { RadioGroup as A, RadioField as k, RadioButton as G, TextField as P, Input as $ } from "react-aria-components";
3
+ import { by as g, bv as q, bI as D, bA as x } from "./form-CCQN_rPn.js";
4
4
  import { f as u, a as L } from "./find-child-C60k4CxG.js";
5
- import { D as U, E as K } from "./field-error-headless-XnVcMmsL.js";
6
- import { L as M } from "./field-label-headless-BRTLT2Yt.js";
7
- import { S as j } from "./selection-indicator-XQ8MYHUQ.js";
8
- const v = "Other", w = (e, t) => e == null ? void 0 : e.find((n) => (n.value ?? n.label) === t), y = (e, t) => !!t && !w(e, t), z = (e, t) => {
5
+ import { D as U, E as M } from "./field-error-headless-CX95bMbk.js";
6
+ import { L as j } from "./field-label-headless-niuFY6Mw.js";
7
+ import { S as w } from "./selection-indicator-XQ8MYHUQ.js";
8
+ const v = "Other", z = (e, t) => e == null ? void 0 : e.find((n) => (n.value ?? n.label) === t), S = (e, t) => !!t && !z(e, t), J = (e, t) => {
9
9
  const l = t ? t.length + 2 : 0;
10
10
  return e.slice(l);
11
11
  }, i = ({ children: e, className: t }) => {
12
- const { id: n, value: l, onChange: h, disabled: p, readOnly: O, required: m, onBlur: E, onFocus: b, hasError: r, FieldLayout: c, options: o } = g(), { inputId: f, labelId: I, ariaDescribedBy: C } = $(), s = u(e, i.Label), _ = u(e, i.Options), R = u(e, i.Description), N = u(e, i.Error), V = y(o, l) ? v : l || null;
12
+ const { id: n, value: l, onChange: h, disabled: p, readOnly: O, required: m, onBlur: E, onFocus: b, hasError: r, FieldLayout: c, options: o } = g(), { inputId: f, labelId: C, ariaDescribedBy: _ } = q(), s = u(e, i.Label), I = u(e, i.Options), R = u(e, i.Description), N = u(e, i.Error), V = S(o, l) ? v : l || null;
13
13
  return /* @__PURE__ */ a.createElement(c, {
14
14
  fieldId: n,
15
15
  renderLabel: () => L(s, {
@@ -18,8 +18,8 @@ const v = "Other", w = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
18
18
  renderInput: () => /* @__PURE__ */ a.createElement(A, {
19
19
  id: f,
20
20
  className: t,
21
- "aria-labelledby": I,
22
- "aria-describedby": C,
21
+ "aria-labelledby": C,
22
+ "aria-describedby": _,
23
23
  value: V,
24
24
  onChange: h,
25
25
  isDisabled: p,
@@ -28,12 +28,12 @@ const v = "Other", w = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
28
28
  isInvalid: r,
29
29
  onBlur: E,
30
30
  onFocus: b
31
- }, _),
31
+ }, I),
32
32
  renderDescription: () => /* @__PURE__ */ a.createElement(a.Fragment, null, N, R)
33
33
  });
34
- }, J = ({ children: e, className: t }) => {
34
+ }, K = ({ children: e, className: t }) => {
35
35
  const { options: n, addOther: l, addOtherLabel: h, id: p, numberOfColumns: O, hasError: m } = g(), { t: E } = D(), b = u(e, i.Option), r = F(null), c = h || E("add-other.default-other-option-label") || v;
36
- return q(() => {
36
+ return x(() => {
37
37
  var o;
38
38
  (o = r.current) == null || o.focus({
39
39
  preventScroll: !0
@@ -55,18 +55,18 @@ const v = "Other", w = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
55
55
  isOther: !0
56
56
  }));
57
57
  }, d = ({ children: e, className: t, ...n }) => {
58
- var C;
59
- const { value: l, label: h, isOther: p = !1, radioRef: O } = n, { value: m, options: E } = g(), b = u(e, d.Label), r = u(e, d.Input), c = u(e, d.Control), o = u(e, d.OtherInput), f = p ? y(E, m) : m === l, I = (C = r == null ? void 0 : r.props) == null ? void 0 : C.className;
58
+ var _;
59
+ const { value: l, label: h, isOther: p = !1, radioRef: O } = n, { value: m, options: E } = g(), b = u(e, d.Label), r = u(e, d.Input), c = u(e, d.Control), o = u(e, d.OtherInput), f = p ? S(E, m) : m === l, C = (_ = r == null ? void 0 : r.props) == null ? void 0 : _.className;
60
60
  return /* @__PURE__ */ a.createElement("div", {
61
61
  className: t
62
62
  }, /* @__PURE__ */ a.createElement(k, {
63
63
  value: l
64
- }, /* @__PURE__ */ a.createElement(x, {
64
+ }, /* @__PURE__ */ a.createElement(G, {
65
65
  ref: O,
66
- className: I
67
- }, ({ isSelected: s, isHovered: _, isFocused: R }) => /* @__PURE__ */ a.createElement(a.Fragment, null, L(c, {
66
+ className: C
67
+ }, ({ isSelected: s, isHovered: I, isFocused: R }) => /* @__PURE__ */ a.createElement(a.Fragment, null, L(c, {
68
68
  isSelected: s,
69
- isHovered: _,
69
+ isHovered: I,
70
70
  isFocused: R
71
71
  }), L(b, {
72
72
  label: h
@@ -77,28 +77,28 @@ const v = "Other", w = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
77
77
  className: e
78
78
  }, n);
79
79
  }, W = (e) => null, X = ({ className: e }) => {
80
- const { value: t, onChange: n, addOtherLabel: l, addOtherPlaceholder: h, otherInputCharacterLimit: p, disabled: O, readOnly: m, options: E } = g(), { t: b } = D(), r = F(null), c = y(E, t), o = l || b("add-other.default-other-option-label") || v, [f, I] = T(c && t ? z(t, l) : "");
80
+ const { value: t, onChange: n, addOtherLabel: l, addOtherPlaceholder: h, otherInputCharacterLimit: p, disabled: O, readOnly: m, options: E } = g(), { t: b } = D(), r = F(null), c = S(E, t), o = l || b("add-other.default-other-option-label") || v, [f, C] = T(c && t ? J(t, l) : "");
81
81
  B(() => {
82
82
  var s;
83
83
  c && r.current && ((s = r.current) == null || s.focus());
84
84
  }, [
85
85
  c
86
86
  ]);
87
- const C = H((s) => {
88
- let _;
89
- s ? _ = `${l}: ${s}` : _ = o, n(_), I(s);
87
+ const _ = H((s) => {
88
+ let I;
89
+ s ? I = `${l}: ${s}` : I = o, n(I), C(s);
90
90
  }, [
91
91
  n,
92
92
  l,
93
93
  o
94
94
  ]);
95
- return /* @__PURE__ */ a.createElement(G, {
95
+ return /* @__PURE__ */ a.createElement(P, {
96
96
  "aria-label": o,
97
97
  value: f,
98
- onChange: C,
98
+ onChange: _,
99
99
  isDisabled: O,
100
100
  isReadOnly: m
101
- }, /* @__PURE__ */ a.createElement(P, {
101
+ }, /* @__PURE__ */ a.createElement($, {
102
102
  ref: r,
103
103
  className: e,
104
104
  placeholder: h,
@@ -107,14 +107,14 @@ const v = "Other", w = (e, t) => e == null ? void 0 : e.find((n) => (n.value ??
107
107
  };
108
108
  d.Label = Q;
109
109
  d.Input = W;
110
- d.Control = j;
110
+ d.Control = w;
111
111
  d.OtherInput = X;
112
- i.Label = M;
113
- i.Options = J;
112
+ i.Label = j;
113
+ i.Options = K;
114
114
  i.Option = d;
115
115
  i.Description = U;
116
- i.Error = K;
117
- const Y = "_labelImage_1u9f2_1", Z = "_option_1u9f2_26", ee = "_optionInput_1u9f2_32", te = "_optionControl_1u9f2_50", oe = "_optionControlHover_1u9f2_72", ne = "_optionControlSelected_1u9f2_90", le = "_optionLabel_1u9f2_137", S = {
116
+ i.Error = M;
117
+ const Y = "_labelImage_1u9f2_1", Z = "_option_1u9f2_26", ee = "_optionInput_1u9f2_32", te = "_optionControl_1u9f2_50", oe = "_optionControlHover_1u9f2_72", ne = "_optionControlSelected_1u9f2_90", le = "_optionLabel_1u9f2_137", y = {
118
118
  labelImage: Y,
119
119
  option: Z,
120
120
  optionInput: ee,
@@ -123,12 +123,12 @@ const Y = "_labelImage_1u9f2_1", Z = "_option_1u9f2_26", ee = "_optionInput_1u9f
123
123
  optionControlSelected: ne,
124
124
  optionLabel: le
125
125
  }, pe = {
126
- base: S.optionControl,
127
- selected: S.optionControlSelected,
128
- hover: S.optionControlHover
126
+ base: y.optionControl,
127
+ selected: y.optionControlSelected,
128
+ hover: y.optionControlHover
129
129
  };
130
130
  export {
131
131
  pe as R,
132
132
  i as a,
133
- S as s
133
+ y as s
134
134
  };
@@ -1,13 +1,13 @@
1
1
  import { RicosViewer as m } from "@wix/ricos/viewer";
2
2
  import t from "classnames";
3
3
  import e from "react";
4
- import { a, s, R as n } from "./radio-button-module-classes-VqaP6vpA.js";
4
+ import { a, s, R as n } from "./radio-button-module-classes-CY883yGO.js";
5
5
  import { E as c } from "./error-icon-hZxQ6DEy.js";
6
- import { s as r } from "./field-rac.module-DP0lkkEv.js";
7
- import { W as i, ac as E, a7 as p, a8 as O, M as R, G as _, a9 as I } from "./form-BUqSKOvc.js";
6
+ import { s as r } from "./field-rac.module-ts2t4WUO.js";
7
+ import { U as i, aa as E, a5 as p, a6 as O, K as R, G as _, a7 as I } from "./form-CCQN_rPn.js";
8
8
  import { o as L } from "./options-rac.module-_THNq6Qq.js";
9
- import { u as N } from "./use-element-state-class-name-DlncY4hk.js";
10
- import { u } from "./use-text-input-class-name-D9tJTR-b.js";
9
+ import { u as N } from "./use-element-state-class-name-C2tQgxUX.js";
10
+ import { u } from "./use-text-input-class-name-CK4rZeSM.js";
11
11
  const D = ({ content: o, locale: l }) => /* @__PURE__ */ e.createElement(m, {
12
12
  content: o,
13
13
  locale: l
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { R as r } from "./radio-group-field-rac-Cp3LRN3C.js";
2
+ import { R as r } from "./radio-group-field-rac-BOEWcfT9.js";
3
3
  const R = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  R as RadioGroupRAC