@wix/form-elements 1.75.0 → 1.76.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-BQsFMmBg.js +1016 -0
  2. package/dist/component/{bookings-address-rac-VXnUSx8U.js → bookings-address-rac-AJNyTdok.js} +1 -1
  3. package/dist/component/{bookings-email-rac-B2_ad7Y2.js → bookings-email-rac-BHZ0MFgI.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-9BAY5vLx.js → bookings-first-name-rac-Bw5FuWNX.js} +1 -1
  5. package/dist/component/{bookings-header-rac-B6IgiMOA.js → bookings-header-rac-C1M2Pg1f.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-DoXEDO8K.js → bookings-last-name-rac-DKkPY0CO.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DprQIFyj.js → bookings-login-bar-rac-P6pziSl1.js} +2 -2
  8. package/dist/component/{bookings-phone-rac-VMoXtejZ.js → bookings-phone-rac-CiOZWKHz.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-DSzD2jBy.js → bookings-rich-text-rac-D9ZComtY.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-BLihwz3C.js → checkbox-field-rac-4zG3Sf1c.js} +18 -17
  11. package/dist/component/{checkbox-group-field-headless-BItyo_iD.js → checkbox-group-field-headless-DN2aNw9g.js} +4 -4
  12. package/dist/component/{checkbox-group-field-rac-Bov3yFC6.js → checkbox-group-field-rac-B1qhet83.js} +12 -11
  13. package/dist/component/{checkbox-group-rac-Fit-qssk.js → checkbox-group-rac-DGsE7xGu.js} +1 -1
  14. package/dist/component/checkbox-indicator-module-classes-BcScu147.js +17 -0
  15. package/dist/component/{checkbox-rac-CSsY83Nx.js → checkbox-rac-CFWQW9_K.js} +1 -1
  16. package/dist/component/{contacts-address-rac-iJuzUQe4.js → contacts-address-rac-G5ZH3Odo.js} +1 -1
  17. package/dist/component/{contacts-birthdate-rac-0g2e8cQP.js → contacts-birthdate-rac-C7TDUfT0.js} +1 -1
  18. package/dist/component/{contacts-company-rac-BC0tK4WQ.js → contacts-company-rac-8queUhWT.js} +1 -1
  19. package/dist/component/{contacts-email-rac-dkuclkiH.js → contacts-email-rac-CYOs5N_I.js} +1 -1
  20. package/dist/component/{contacts-first-name-rac-BSUkCuht.js → contacts-first-name-rac-D8Goc_Ym.js} +1 -1
  21. package/dist/component/{contacts-last-name-rac-08bjVdN2.js → contacts-last-name-rac-lBmtuEnr.js} +1 -1
  22. package/dist/component/{contacts-phone-rac-DVb0Z_0M.js → contacts-phone-rac-DSUWUNBX.js} +1 -1
  23. package/dist/component/{contacts-position-rac-AGUDkv7U.js → contacts-position-rac-wA-aw5Id.js} +1 -1
  24. package/dist/component/contacts-subscribe-rac-CAbBbFxZ.js +13 -0
  25. package/dist/component/{contacts-tax-id-rac-C7moEz5b.js → contacts-tax-id-rac-BpjVM1Ye.js} +1 -1
  26. package/dist/component/{date-availability-DagbE0C8.js → date-availability-CeiMjrtD.js} +1 -1
  27. package/dist/component/{date-input-field-rac-BWHKsJGy.js → date-input-field-rac-CVaajAFM.js} +4 -4
  28. package/dist/component/{date-input-rac-BlZlmf-s.js → date-input-rac-DhEzawuM.js} +1 -1
  29. package/dist/component/{date-picker-field-rac-BSNbYirD.js → date-picker-field-rac-1Q6yyNmK.js} +8 -8
  30. package/dist/component/{date-picker-rac-D3IWMst5.js → date-picker-rac-BCGtmXMJ.js} +1 -1
  31. package/dist/component/{date-time-input-field-rac-YKTwuIUs.js → date-time-input-field-rac-Dd-HNgKP.js} +16 -16
  32. package/dist/component/{date-time-input-rac-CZRsKm1P.js → date-time-input-rac-CsCWEsH5.js} +1 -1
  33. package/dist/component/{dext-checkbox-group-rac-BE7ILz-f.js → dext-checkbox-group-rac-CauN5uuV.js} +2 -2
  34. package/dist/component/{dext-checkbox-rac-B6-94A1N.js → dext-checkbox-rac-q-g9gDnw.js} +1 -1
  35. package/dist/component/{dext-date-picker-rac-Bx2hUFNm.js → dext-date-picker-rac-CZT3dTLv.js} +1 -1
  36. package/dist/component/{dext-date-time-input-rac-DPKD6quz.js → dext-date-time-input-rac-DVUoZZbX.js} +1 -1
  37. package/dist/component/{dext-dropdown-rac-WrSfNRa5.js → dext-dropdown-rac-GRltutt5.js} +1 -1
  38. package/dist/component/{dext-email-rac-8PSMKNYG.js → dext-email-rac-74Y8S9GA.js} +1 -1
  39. package/dist/component/{dext-number-input-rac-b9YSzEkN.js → dext-number-input-rac-CF9d_GTl.js} +1 -1
  40. package/dist/component/{dext-phone-rac-CkapN3c1.js → dext-phone-rac-DObx_gOd.js} +1 -1
  41. package/dist/component/{dext-radio-group-rac-CfNMkwUa.js → dext-radio-group-rac-CzU9KX5_.js} +2 -2
  42. package/dist/component/{dext-rating-input-rac-Cun_t7HQ.js → dext-rating-input-rac-BjRwwgXr.js} +1 -1
  43. package/dist/component/{dext-tags-rac-DLZ91c3w.js → dext-tags-rac-Vif4x1yF.js} +2 -2
  44. package/dist/component/{dext-text-area-rac-N9A7QfYw.js → dext-text-area-rac-DmZwl_ax.js} +1 -1
  45. package/dist/component/{dext-text-input-rac-XbVzAPHH.js → dext-text-input-rac-B6FVbjUM.js} +1 -1
  46. package/dist/component/{dext-url-input-rac-BiaWZ49r.js → dext-url-input-rac-17Dj3ICM.js} +1 -1
  47. package/dist/component/{donation-rac-BEIBjLHK.js → donation-rac-bgHep0Xi.js} +119 -119
  48. package/dist/component/{dropdown-field-headless-CQfZ3zPD.js → dropdown-field-headless-BGfJ1FyZ.js} +3 -3
  49. package/dist/component/{dropdown-field-rac-ubZN_Abg.js → dropdown-field-rac-DGiysJQY.js} +2 -2
  50. package/dist/component/{dropdown-rac-CHYFrEjY.js → dropdown-rac-FHjz8fKp.js} +1 -1
  51. package/dist/component/{ecom-address-rac-C7qJlrsv.js → ecom-address-rac-DSbpf4z8.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-CONIZsTy.js → ecom-subscription-checkbox-rac-DiZWNwnt.js} +3 -3
  53. package/dist/component/{email-input-field-rac-Dg0p6WZe.js → email-input-field-rac-BQKK2O7L.js} +48 -48
  54. package/dist/component/{events-repeater-rac-BoxNl7gn.js → events-repeater-rac-Dudnyhal.js} +21 -20
  55. package/dist/component/{events-rsvp-rac-BU5d2n4k.js → events-rsvp-rac-008H5Ska.js} +2 -2
  56. package/dist/component/{field-error-headless-uQOcm2Ak.js → field-error-headless-C5ZsFUKv.js} +1 -1
  57. package/dist/component/{field-label-headless-Bzh7f2Ji.js → field-label-headless-CS5OYsiI.js} +1 -1
  58. package/dist/component/{file-upload-rac-BTt-rJE5.js → file-upload-rac-bQ2QOO8Q.js} +36 -36
  59. package/dist/component/{fixed-payment-rac-1NOx3D-U.js → fixed-payment-rac-B6FvXoCU.js} +6 -6
  60. package/dist/component/{form-DCmjj8mZ.js → form-BpHElSwH.js} +69 -69
  61. package/dist/component/{form-element-classes-Dn33C01k.js → form-element-classes-BXNs5k3q.js} +59 -51
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +1 -1
  64. package/dist/component/{header-field-rac-lyvjy6h2.js → header-field-rac-D4UYcmok.js} +3 -3
  65. package/dist/component/{header-rac-B4iPEbNj.js → header-rac-KavPiBdn.js} +1 -1
  66. package/dist/component/{image-choice-rac-CmEG-waj.js → image-choice-rac-BJQqBhBD.js} +19 -19
  67. package/dist/component/{index-UZsDOe8e.js → index-RSEYrQef.js} +2 -2
  68. package/dist/component/{index-D-CKLZBh.js → index-Y8iTxLat.js} +4 -4
  69. package/dist/component/{isObjectLike-BSGOU4jF.js → isObjectLike-jwHec4Ap.js} +1 -1
  70. package/dist/component/{multiline-address-field-rac-Dz0NEjSO.js → multiline-address-field-rac-D4Ibno80.js} +67 -67
  71. package/dist/component/{multiline-address-rac-D_MAanxb.js → multiline-address-rac-CrTSjzBN.js} +1 -1
  72. package/dist/component/{number-input-field-rac-CvjeAm-W.js → number-input-field-rac-DW1SjB-Z.js} +16 -16
  73. package/dist/component/{number-input-rac-oKo2Wx_c.js → number-input-rac-CdE_hRbA.js} +1 -1
  74. package/dist/component/{password-rac-CrnkKtfp.js → password-rac-BCxl5mMQ.js} +9 -9
  75. package/dist/component/{payment-input-rac-BoVdGyvV.js → payment-input-rac-DmO4s4ue.js} +15 -15
  76. package/dist/component/{phone-input-field-rac-DksXoAnr.js → phone-input-field-rac-BYAnwk5h.js} +36 -36
  77. package/dist/component/{phone-rac-BR0iX5TL.js → phone-rac-gS4k9Yn8.js} +1 -1
  78. package/dist/component/{product-list-rac-C4rvv5k-.js → product-list-rac-CO0o3yOg.js} +50 -49
  79. package/dist/component/{quiz-radio-group-rac-BxKmUUf8.js → quiz-radio-group-rac-Dhk7nkzb.js} +2 -2
  80. package/dist/component/{radio-group-field-rac-Dj4rkkKF.js → radio-group-field-rac-DdlyQ3m6.js} +2 -2
  81. package/dist/component/{radio-group-field-rac.module-CeBLm9QF.js → radio-group-field-rac.module-emin6sSc.js} +3 -3
  82. package/dist/component/{radio-group-rac-BpnfptSZ.js → radio-group-rac-B-9q91fJ.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-BP0928qI.js → rating-input-field-rac-VDaJKq-n.js} +17 -17
  84. package/dist/component/{rating-input-rac-DaEgvjIS.js → rating-input-rac-BVO62LmE.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-zvvH-tWq.js → rich-content-rac.module-CdiaAjxG.js} +1 -1
  86. package/dist/component/{rich-text-field-rac-CFCRiMl_.js → rich-text-field-rac-C4RrbyEX.js} +3 -3
  87. package/dist/component/{rich-text-rac-BRuLnyN4.js → rich-text-rac-BG376ww9.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-C82l5y0C.js → service-dropdown-rac-Dy6-OpVR.js} +10 -10
  89. package/dist/component/{services-multi-choice-rac-BAHBSgAT.js → services-multi-choice-rac-BKW9MP_b.js} +21 -20
  90. package/dist/component/{signature-rac-CIkm3SCW.js → signature-rac-Cxgixp4o.js} +4 -4
  91. package/dist/component/{submit-button-rac-Bz-X9Tbo.js → submit-button-rac-BqPJ7WPI.js} +2 -2
  92. package/dist/component/{tags-field-rac-Dn8VyPzT.js → tags-field-rac-wwqpztG7.js} +23 -23
  93. package/dist/component/{tags-rac-BJpVdunR.js → tags-rac-DUxITYxU.js} +1 -1
  94. package/dist/component/{text-area-field-rac-Pp9HnCS5.js → text-area-field-rac-Cen6O33S.js} +6 -6
  95. package/dist/component/{text-area-rac-DbwAFdel.js → text-area-rac-CRlO56GA.js} +1 -1
  96. package/dist/component/{text-input-field-rac-x4ByKmBv.js → text-input-field-rac-CbnKn03g.js} +2 -2
  97. package/dist/component/{text-input-headless-fbiKci5q.js → text-input-headless-C_NTJmLe.js} +3 -3
  98. package/dist/component/{text-input-rac-jyCKxyCt.js → text-input-rac-DvwV7Igm.js} +1 -1
  99. package/dist/component/{time-input-rac-C5Cvmxtt.js → time-input-rac-TSEXiODs.js} +12 -12
  100. package/dist/component/{url-input-field-rac-CGpCEn2A.js → url-input-field-rac-Cxgh9T8s.js} +4 -4
  101. package/dist/component/{url-input-rac-DhFL8fGq.js → url-input-rac-DNw-Jg1U.js} +1 -1
  102. package/dist/component/use-element-state-class-name-CC65g9mT.js +15 -0
  103. package/dist/component/{use-service-options-base-CgT1IKB3.js → use-service-options-base-EFrxTpGm.js} +1 -1
  104. package/package.json +2 -2
  105. package/dist/component/appointment-rac-7xVKSm2N.js +0 -1005
  106. package/dist/component/contacts-subscribe-rac-6jAQHibT.js +0 -13
  107. package/dist/component/use-element-state-class-name-Bnw7sY9P.js +0 -29
@@ -1,13 +1,13 @@
1
1
  import { RicosViewer as ye } from "@wix/ricos/viewer";
2
2
  import b from "classnames";
3
3
  import t, { useMemo as B, useState as V, useRef as v, useEffect as w, useCallback as Z, createContext as te, useContext as q } from "react";
4
- import { a2 as Ee, as as P, ab as ne, ar as fe, ai as M, af as oe, ak as he } from "./form-DCmjj8mZ.js";
4
+ import { a2 as Ee, as as P, ab as ne, ar as fe, ai as M, af as oe, ak as he } from "./form-BpHElSwH.js";
5
5
  import { UNSAFE_PortalProvider as ge } from "react-aria";
6
6
  import { Dialog as re, OverlayTriggerStateContext as be, ModalOverlay as _e, Modal as Ne, SearchField as Oe, ListBoxItem as Se, Group as j, DialogTrigger as Le, Select as Ie, Input as ae, ListBox as ve, Autocomplete as Pe } from "react-aria-components";
7
7
  import { f as h, a as ce } from "./find-child-C60k4CxG.js";
8
- import { D as Fe, E as De } from "./field-error-headless-uQOcm2Ak.js";
9
- import { L as xe } from "./field-label-headless-Bzh7f2Ji.js";
10
- import { N as Re, S as Be } from "./non-modal-popover-DtIMXHbe.js";
8
+ import { D as Fe, E as De } from "./field-error-headless-C5ZsFUKv.js";
9
+ import { L as Re } from "./field-label-headless-CS5OYsiI.js";
10
+ import { N as xe, S as Be } from "./non-modal-popover-DtIMXHbe.js";
11
11
  import { u as Me } from "./use-invoke-callback-UH73A_J3.js";
12
12
  import se, { AsYouType as $e, isValidPhoneNumber as Ae, isSupportedCountry as Te } from "libphonenumber-js";
13
13
  import "libphonenumber-js/metadata.min.json";
@@ -16,7 +16,7 @@ import { C as we } from "./chevron-down-icon-CcpVm6B-.js";
16
16
  import { E as Ue } from "./error-icon-hZxQ6DEy.js";
17
17
  import { H as J } from "./custom-focus-class-_483Pkwp.js";
18
18
  import { s as _ } from "./field-rac.module-DjmaTYkc.js";
19
- import { y as ke, Q as Ve, x as qe, B as Ge, p as He, i as Ye } from "./form-element-classes-Dn33C01k.js";
19
+ import { z as ke, Q as Ve, y as qe, B as ze, p as Ge, i as He } from "./form-element-classes-BXNs5k3q.js";
20
20
  function X(e) {
21
21
  const n = e ? se(e) : void 0, r = n == null ? void 0 : n.country;
22
22
  if (r)
@@ -24,7 +24,7 @@ function X(e) {
24
24
  const o = new $e();
25
25
  return e && o.input(e), o.getCountry();
26
26
  }
27
- function G(e) {
27
+ function z(e) {
28
28
  var n;
29
29
  return e && ((n = Ee.getCountryByKey(e)) == null ? void 0 : n.dialCode);
30
30
  }
@@ -41,10 +41,10 @@ function ee(e, n) {
41
41
  }
42
42
  return e;
43
43
  }
44
- function ze() {
44
+ function Ye() {
45
45
  const { t: e } = P(), { language: n } = ne();
46
46
  return B(() => Object.keys(W).reduce((o, a) => {
47
- const c = W[a], l = G(c), u = e(`locale-dataset.countries.${c.toUpperCase()}`);
47
+ const c = W[a], l = z(c), u = e(`locale-dataset.countries.${c.toUpperCase()}`);
48
48
  return l && Te(a) && o.push({
49
49
  countryName: u,
50
50
  longCountryCode: c,
@@ -123,12 +123,12 @@ const le = /* @__PURE__ */ te(null), N = () => {
123
123
  if (!e)
124
124
  throw new Error("Phone input components must be used within PhoneInput component");
125
125
  return e;
126
- }, ue = /* @__PURE__ */ te(null), H = () => {
126
+ }, ue = /* @__PURE__ */ te(null), G = () => {
127
127
  const e = q(ue);
128
128
  if (!e)
129
129
  throw new Error("Option sub-components must be used within Option component");
130
130
  return e;
131
- }, Y = ({ longCountryCode: e, className: n }) => {
131
+ }, H = ({ longCountryCode: e, className: n }) => {
132
132
  function r(c, l) {
133
133
  const u = "https://static.parastorage.com/services/linguist-flags/1.1005.0/assets/flags/square/", m = `${c}${l === "2x" ? "_2x" : ""}.png`;
134
134
  return `${u}${m}`;
@@ -144,17 +144,17 @@ const le = /* @__PURE__ */ te(null), N = () => {
144
144
  });
145
145
  }, s = ({ children: e }) => {
146
146
  var I, L;
147
- const { id: n, value: r, onChange: o, FieldLayout: a, defaultCountry: c, validation: l } = M(), [u, i] = V(null), m = (L = (I = l == null ? void 0 : l.string) == null ? void 0 : I.phoneOptions) == null ? void 0 : L.allowedCountryCodes, C = ze(), p = B(() => Ke(C, m), [
147
+ const { id: n, value: r, onChange: o, FieldLayout: a, defaultCountry: c, validation: l } = M(), [u, i] = V(null), m = (L = (I = l == null ? void 0 : l.string) == null ? void 0 : I.phoneOptions) == null ? void 0 : L.allowedCountryCodes, C = Ye(), p = B(() => Ke(C, m), [
148
148
  C,
149
149
  m
150
- ]), d = B(() => p.map((R) => R.shortCountryCode), [
150
+ ]), d = B(() => p.map((x) => x.shortCountryCode), [
151
151
  p
152
152
  ]), { currentValue: f, selectedCountryCode: y, handlePhoneChange: O, handleCountryCodeChange: S } = Ze({
153
153
  value: r,
154
154
  defaultCountryCode: c,
155
155
  allowedCountryCodes: d,
156
156
  onChange: o
157
- }), A = h(e, s.Label), F = h(e, s.Control), T = h(e, s.Description), D = h(e, s.Error), x = {
157
+ }), A = h(e, s.Label), F = h(e, s.Control), T = h(e, s.Description), D = h(e, s.Error), R = {
158
158
  currentValue: f,
159
159
  selectedCountryCode: y,
160
160
  handlePhoneChange: O,
@@ -164,7 +164,7 @@ const le = /* @__PURE__ */ te(null), N = () => {
164
164
  popoverContainer: u
165
165
  };
166
166
  return /* @__PURE__ */ t.createElement(le.Provider, {
167
- value: x
167
+ value: R
168
168
  }, /* @__PURE__ */ t.createElement(a, {
169
169
  fieldId: n,
170
170
  renderLabel: () => A,
@@ -176,8 +176,8 @@ const le = /* @__PURE__ */ te(null), N = () => {
176
176
  }), F),
177
177
  renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, D, T)
178
178
  }));
179
- }, z = ({ children: e, className: n }) => {
180
- const { inputId: r, labelId: o } = oe(), { hasError: a, disabled: c, readOnly: l } = M(), { t: u } = P(), { selectedCountryCode: i, countries: m } = N(), C = `${r}-country`, p = i ? m.find((O) => O.shortCountryCode === i) : void 0, d = p && G(p.longCountryCode) || "", f = u("field.phone.country-code.aria-label"), y = p ? `${f}, ${p.countryName}, ${d}` : f;
179
+ }, Y = ({ children: e, className: n }) => {
180
+ const { inputId: r, labelId: o } = oe(), { hasError: a, disabled: c, readOnly: l } = M(), { t: u } = P(), { selectedCountryCode: i, countries: m } = N(), C = `${r}-country`, p = i ? m.find((O) => O.shortCountryCode === i) : void 0, d = p && z(p.longCountryCode) || "", f = u("field.phone.country-code.aria-label"), y = p ? `${f}, ${p.countryName}, ${d}` : f;
181
181
  return /* @__PURE__ */ t.createElement(Be, {
182
182
  isDisabled: c || l,
183
183
  id: C,
@@ -188,7 +188,7 @@ const le = /* @__PURE__ */ te(null), N = () => {
188
188
  }, e);
189
189
  }, je = ({ className: e }) => {
190
190
  const { selectedCountryCode: n, countries: r } = N(), o = r.find((a) => a.shortCountryCode === n);
191
- return o ? /* @__PURE__ */ t.createElement(Y, {
191
+ return o ? /* @__PURE__ */ t.createElement(H, {
192
192
  className: e,
193
193
  longCountryCode: o.longCountryCode
194
194
  }) : null;
@@ -198,13 +198,13 @@ const le = /* @__PURE__ */ te(null), N = () => {
198
198
  className: n
199
199
  }, e);
200
200
  };
201
- z.Flag = je;
202
- z.EmptyState = We;
201
+ Y.Flag = je;
202
+ Y.EmptyState = We;
203
203
  const g = ({ children: e, className: n, "aria-label": r, placement: o, offset: a, ...c }) => {
204
204
  const { triggerRef: l, optionsRef: u } = c, { popoverContainer: i } = N(), m = h(e, g.Search), C = /* @__PURE__ */ t.createElement(ie, null, e);
205
205
  return /* @__PURE__ */ t.createElement(ge, {
206
206
  getContainer: () => i
207
- }, /* @__PURE__ */ t.createElement(Re, {
207
+ }, /* @__PURE__ */ t.createElement(xe, {
208
208
  ref: u,
209
209
  triggerRef: l,
210
210
  className: n,
@@ -241,7 +241,7 @@ const g = ({ children: e, className: n, "aria-label": r, placement: o, offset: a
241
241
  ...n,
242
242
  renderEmptyState: c ? () => c : void 0
243
243
  }, r.map((u) => {
244
- const i = G(u.longCountryCode) || "";
244
+ const i = z(u.longCountryCode) || "";
245
245
  return ce(o, {
246
246
  key: u.shortCountryCode,
247
247
  countryCode: u.shortCountryCode,
@@ -288,18 +288,18 @@ const $ = ({ children: e, className: n, ...r }) => {
288
288
  value: u
289
289
  }, i));
290
290
  }, Ce = ({ className: e }) => {
291
- const { longCountryCode: n } = H();
292
- return /* @__PURE__ */ t.createElement(Y, {
291
+ const { longCountryCode: n } = G();
292
+ return /* @__PURE__ */ t.createElement(H, {
293
293
  className: e,
294
294
  longCountryCode: n
295
295
  });
296
296
  }, de = ({ className: e }) => {
297
- const { countryName: n } = H();
297
+ const { countryName: n } = G();
298
298
  return /* @__PURE__ */ t.createElement("span", {
299
299
  className: e
300
300
  }, n);
301
301
  }, pe = ({ className: e }) => {
302
- const { dialingCode: n } = H();
302
+ const { dialingCode: n } = G();
303
303
  return /* @__PURE__ */ t.createElement("span", {
304
304
  className: e
305
305
  }, n);
@@ -331,14 +331,14 @@ const tt = ({ className: e }) => {
331
331
  className: e
332
332
  });
333
333
  }, nt = ({ children: e, className: n }) => {
334
- const r = v(null), o = v(null), a = v(!1), { disabled: c, readOnly: l, required: u, hasError: i, showFlag: m, onFocus: C, onBlur: p } = M(), d = Me(p), { t: f } = P(), { selectedCountryCode: y, handleCountryCodeChange: O, countries: S } = N(), A = h(e, s.CountryButton), F = h(e, s.CountryOptions.Modal), T = F ?? h(e, s.CountryOptions.Popover), D = h(e, s.PhoneNumber), x = {
334
+ const r = v(null), o = v(null), a = v(!1), { disabled: c, readOnly: l, required: u, hasError: i, showFlag: m, onFocus: C, onBlur: p } = M(), d = Me(p), { t: f } = P(), { selectedCountryCode: y, handleCountryCodeChange: O, countries: S } = N(), A = h(e, s.CountryButton), F = h(e, s.CountryOptions.Modal), T = F ?? h(e, s.CountryOptions.Popover), D = h(e, s.PhoneNumber), R = {
335
335
  onFocus: () => {
336
336
  a.current || (a.current = !0, C == null || C());
337
337
  },
338
338
  onBlur: (L) => {
339
339
  var K, Q;
340
- const R = L.relatedTarget;
341
- !((K = r.current) != null && K.contains(R)) && !((Q = o.current) != null && Q.contains(R)) && (a.current = !1, d());
340
+ const x = L.relatedTarget;
341
+ !((K = r.current) != null && K.contains(x)) && !((Q = o.current) != null && Q.contains(x)) && (a.current = !1, d());
342
342
  }
343
343
  };
344
344
  if (S.length === 1)
@@ -347,8 +347,8 @@ const tt = ({ className: e }) => {
347
347
  className: n,
348
348
  isDisabled: c,
349
349
  isInvalid: i,
350
- ...x
351
- }, m && /* @__PURE__ */ t.createElement(Y, {
350
+ ...R
351
+ }, m && /* @__PURE__ */ t.createElement(H, {
352
352
  longCountryCode: S[0].longCountryCode
353
353
  }), D);
354
354
  const I = /* @__PURE__ */ t.createElement(t.Fragment, null, A, ce(T, {
@@ -360,7 +360,7 @@ const tt = ({ className: e }) => {
360
360
  className: n,
361
361
  isDisabled: c,
362
362
  isInvalid: i,
363
- ...x
363
+ ...R
364
364
  }, F ? /* @__PURE__ */ t.createElement(Le, null, I) : /* @__PURE__ */ t.createElement(Ie, {
365
365
  "aria-label": f("field.phone.country-code.aria-label"),
366
366
  value: y ?? null,
@@ -371,9 +371,9 @@ const tt = ({ className: e }) => {
371
371
  placeholder: ""
372
372
  }, I), D);
373
373
  };
374
- s.Label = xe;
374
+ s.Label = Re;
375
375
  s.Control = nt;
376
- s.CountryButton = z;
376
+ s.CountryButton = Y;
377
377
  s.CountryOptions = g;
378
378
  s.PhoneNumber = tt;
379
379
  s.Description = Fe;
@@ -458,14 +458,14 @@ const ot = (e) => /* @__PURE__ */ t.createElement("svg", {
458
458
  portalContainer: r,
459
459
  "aria-label": e("field.phone.country-code.aria-label")
460
460
  }, o, a, c) : /* @__PURE__ */ t.createElement(s.CountryOptions.Popover, {
461
- className: b(Ge, _.selectPopover, E.countryOptions),
461
+ className: b(ze, _.selectPopover, E.countryOptions),
462
462
  placement: "bottom start",
463
463
  offset: 0,
464
464
  "aria-label": e("field.phone.country-code.aria-label")
465
465
  }, o, a, c)), /* @__PURE__ */ t.createElement(s.Error, {
466
- className: b(He, _.error)
466
+ className: b(Ge, _.error)
467
467
  }, /* @__PURE__ */ t.createElement(Ue, null), /* @__PURE__ */ t.createElement(s.Error.Text, null)), /* @__PURE__ */ t.createElement(s.Description, {
468
- className: b(Ye, _.description)
468
+ className: b(He, _.description)
469
469
  }, bt));
470
470
  };
471
471
  export {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { P as o } from "./phone-input-field-rac-DksXoAnr.js";
2
+ import { P as o } from "./phone-input-field-rac-BYAnwk5h.js";
3
3
  const r = () => /* @__PURE__ */ e.createElement(o, null);
4
4
  export {
5
5
  r as PhoneRAC
@@ -1,19 +1,20 @@
1
- import t, { useMemo as K, useCallback as q, useRef as B } from "react";
2
- import { RicosViewer as $ } from "@wix/ricos/viewer";
3
- import f from "classnames";
4
- import { CheckboxField as z, CheckboxButton as X, NumberField as j, Group as J, Button as U, Input as W } from "react-aria-components";
5
- import { ai as M, af as Y, ab as w, as as Z, ak as ee } from "./form-DCmjj8mZ.js";
1
+ import t, { useMemo as H, useCallback as x, useRef as B } from "react";
2
+ import { RicosViewer as K } from "@wix/ricos/viewer";
3
+ import _ from "classnames";
4
+ import { CheckboxField as $, CheckboxButton as X, NumberField as j, Group as J, Button as U, Input as W } from "react-aria-components";
5
+ import { ai as M, af as Y, ab as w, as as Z, ak as ee } from "./form-BpHElSwH.js";
6
6
  import { f as b, a as I } from "./find-child-C60k4CxG.js";
7
- import { L as te, g as ne } from "./field-label-headless-Bzh7f2Ji.js";
7
+ import { L as te, g as ne } from "./field-label-headless-CS5OYsiI.js";
8
8
  import { f as ae } from "./format-currency-BwShJ9vM.js";
9
- import { D as oe, E as re } from "./field-error-headless-uQOcm2Ak.js";
9
+ import { D as oe, E as re } from "./field-error-headless-C5ZsFUKv.js";
10
10
  import { F as le } from "./fieldset-headless-CD3fds9J.js";
11
- import { a as se, u as ie, C as ce } from "./use-element-state-class-name-Bnw7sY9P.js";
12
- import { g as ue } from "./payment-field-utils-DobiK5Xh.js";
13
- import { E as me } from "./error-icon-hZxQ6DEy.js";
11
+ import { a as se, C as ie } from "./checkbox-indicator-module-classes-BcScu147.js";
12
+ import { g as ce } from "./payment-field-utils-DobiK5Xh.js";
13
+ import { E as ue } from "./error-icon-hZxQ6DEy.js";
14
14
  import { s as T } from "./field-rac.module-DjmaTYkc.js";
15
- import { y as pe, Q as de, C as Ee, G as ye, E as _e, x as fe, p as Ie, i as be, D as Oe } from "./form-element-classes-Dn33C01k.js";
15
+ import { z as me, Q as pe, C as de, G as Ee, E as ye, y as fe, p as _e, i as Ie, D as be } from "./form-element-classes-BXNs5k3q.js";
16
16
  import { o as Q } from "./options-rac.module-KM-VT_KY.js";
17
+ import { u as Oe } from "./use-element-state-class-name-CC65g9mT.js";
17
18
  var Le = /* @__PURE__ */ (function(e) {
18
19
  return e.crop = "CROP", e.fit = "FIT", e;
19
20
  })({}), k = /* @__PURE__ */ (function(e) {
@@ -27,23 +28,23 @@ function Ce({ maxItems: e, products: a } = {}) {
27
28
  }
28
29
  const o = ({ children: e }) => {
29
30
  var D;
30
- const { id: a, value: l, onChange: n, disabled: r, readOnly: c, required: y, onBlur: O, onFocus: s, hasError: u, validation: m, FieldLayout: p } = M(), { inputId: x, labelId: N, ariaDescribedBy: h } = Y(), _ = b(e, o.Label), g = b(e, o.Options), v = b(e, o.Description), L = b(e, o.Error), i = K(() => 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 } = M(), { inputId: q, labelId: N, ariaDescribedBy: h } = Y(), f = b(e, o.Label), g = b(e, o.Options), v = b(e, o.Description), L = b(e, o.Error), i = H(() => l || [], [
31
32
  l
32
- ]), A = Ce((D = m == null ? void 0 : m.predefined) == null ? void 0 : D.paymentOptions) === k.many, F = q((S, R) => {
33
- const d = i.filter((H) => H.productId !== S.productId), G = R ? [
33
+ ]), A = Ce((D = m == null ? void 0 : m.predefined) == null ? void 0 : D.paymentOptions) === k.many, F = x((S, R) => {
34
+ const d = i.filter((G) => G.productId !== S.productId), z = R ? [
34
35
  ...d,
35
36
  S
36
37
  ] : d;
37
- n == null || n(G);
38
+ n == null || n(z);
38
39
  }, [
39
40
  i,
40
41
  n
41
42
  ]);
42
43
  return /* @__PURE__ */ t.createElement(p, {
43
44
  fieldId: a,
44
- renderLabel: () => _,
45
+ renderLabel: () => f,
45
46
  renderInput: () => /* @__PURE__ */ t.createElement(le, {
46
- id: x,
47
+ id: q,
47
48
  ariaLabelledBy: N,
48
49
  ariaDescribedBy: h,
49
50
  required: y,
@@ -60,15 +61,15 @@ const o = ({ children: e }) => {
60
61
  renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, L, v)
61
62
  });
62
63
  }, V = ({ children: e, className: a, ...l }) => {
63
- const { allowMany: n, productValues: r, onProductChange: c, disabled: y, readOnly: O, hasError: s } = l, { options: u, validation: m, imageResize: p } = M(), { currency: x } = w(), { t: N } = Z(), h = b(e, o.Option);
64
+ const { allowMany: n, productValues: r, onProductChange: c, disabled: y, readOnly: O, hasError: s } = l, { options: u, validation: m, imageResize: p } = M(), { currency: q } = w(), { t: N } = Z(), h = b(e, o.Option);
64
65
  return /* @__PURE__ */ t.createElement("div", {
65
66
  className: a
66
- }, u == null ? void 0 : u.map((_, g) => {
67
+ }, u == null ? void 0 : u.map((f, g) => {
67
68
  var C, A, F, D, S;
68
- const v = ((S = (D = (F = (A = (C = m == null ? void 0 : m.predefined) == null ? void 0 : C.paymentOptions) == null ? void 0 : A.products) == null ? void 0 : F.find((R) => R.id === _.value)) == null ? void 0 : D.fixedPriceOptions) == null ? void 0 : S.price) || "0", L = ue(N, x), i = r.find((R) => R.productId === _.value);
69
+ const v = ((S = (D = (F = (A = (C = m == null ? void 0 : m.predefined) == null ? void 0 : C.paymentOptions) == null ? void 0 : A.products) == null ? void 0 : F.find((R) => R.id === f.value)) == null ? void 0 : D.fixedPriceOptions) == null ? void 0 : S.price) || "0", L = ce(N, q), i = r.find((R) => R.productId === f.value);
69
70
  return I(h, {
70
- key: _.id || _.value || _.label,
71
- option: _,
71
+ key: f.id || f.value || f.label,
72
+ option: f,
72
73
  price: v,
73
74
  quantity: i == null ? void 0 : i.quantity,
74
75
  isSelected: !!i,
@@ -83,14 +84,14 @@ const o = ({ children: e }) => {
83
84
  });
84
85
  }));
85
86
  }, E = ({ children: e, className: a, ...l }) => {
86
- const { option: n, price: r, quantity: c = 0, isSelected: y, allowMany: O, onProductChange: s, disabled: u, readOnly: m, hasError: p, currencyAriaLabel: x, imageResize: N, isFirst: h } = l, { id: _ } = M(), g = B(null), v = B(null), L = b(e, E.Image), i = b(e, E.Label), C = b(e, E.Price), A = b(e, E.Input), F = b(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: q, imageResize: N, isFirst: h } = l, { id: f } = M(), g = B(null), v = B(null), L = b(e, E.Image), i = b(e, E.Label), C = b(e, E.Price), A = b(e, E.Input), F = b(e, E.Quantity);
87
88
  ee(() => {
88
89
  var d;
89
90
  h && ((d = g.current ?? v.current) == null || d.focus({
90
91
  preventScroll: !0
91
92
  }));
92
- }, _);
93
- const D = q((d) => {
93
+ }, f);
94
+ const D = x((d) => {
94
95
  s({
95
96
  productId: n.value,
96
97
  price: r,
@@ -100,7 +101,7 @@ const o = ({ children: e }) => {
100
101
  s,
101
102
  n.value,
102
103
  r
103
- ]), S = q((d) => {
104
+ ]), S = x((d) => {
104
105
  s({
105
106
  productId: n.value,
106
107
  price: r,
@@ -110,7 +111,7 @@ const o = ({ children: e }) => {
110
111
  s,
111
112
  n.value,
112
113
  r
113
- ]), R = `${n.label} ${x} ${r}`;
114
+ ]), R = `${n.label} ${q} ${r}`;
114
115
  return O ? /* @__PURE__ */ t.createElement("div", {
115
116
  className: a,
116
117
  "data-hook": "product"
@@ -129,7 +130,7 @@ const o = ({ children: e }) => {
129
130
  hasError: p,
130
131
  ariaLabel: R,
131
132
  inputRef: h ? v : void 0
132
- }) : null) : /* @__PURE__ */ t.createElement(z, {
133
+ }) : null) : /* @__PURE__ */ t.createElement($, {
133
134
  isSelected: y,
134
135
  onChange: D,
135
136
  isDisabled: u,
@@ -184,11 +185,11 @@ const o = ({ children: e }) => {
184
185
  "data-hook": "product-price"
185
186
  }, c);
186
187
  }, De = ({ className: e, ...a }) => {
187
- const { quantity: l, onQuantityChange: n, disabled: r, readOnly: c, hasError: y, ariaLabel: O, inputRef: s } = a, u = q((p) => {
188
+ const { quantity: l, onQuantityChange: n, disabled: r, readOnly: c, hasError: y, ariaLabel: O, inputRef: s } = a, u = x((p) => {
188
189
  n(p < 0 ? 0 : p);
189
190
  }, [
190
191
  n
191
- ]), m = q((p) => {
192
+ ]), m = x((p) => {
192
193
  p.key === "Home" && (p.preventDefault(), u(0));
193
194
  }, [
194
195
  u
@@ -233,38 +234,38 @@ const Se = "_options_11x4v_1", Pe = "_option_11x4v_1", Ne = "_optionInput_11x4v_
233
234
  optionLabel: ve,
234
235
  optionPrice: Ae,
235
236
  quantity: Te
236
- }, xe = ({ content: e, locale: a }) => /* @__PURE__ */ t.createElement($, {
237
+ }, qe = ({ content: e, locale: a }) => /* @__PURE__ */ t.createElement(K, {
237
238
  content: e,
238
239
  locale: a
239
- }), qe = () => {
240
- const e = ie({
241
- globalClasses: Oe,
242
- moduleClasses: ce
240
+ }), xe = () => {
241
+ const e = Oe({
242
+ globalClasses: be,
243
+ moduleClasses: ie
243
244
  });
244
245
  return /* @__PURE__ */ t.createElement(o, null, /* @__PURE__ */ t.createElement(o.Label, {
245
- className: f(pe, T.label)
246
+ className: _(me, T.label)
246
247
  }, /* @__PURE__ */ t.createElement(o.Label.Required, {
247
- className: f(de, T.requiredMark)
248
+ className: _(pe, T.requiredMark)
248
249
  })), /* @__PURE__ */ t.createElement(o.Options, {
249
- className: f(Ee, Q.options, P.options)
250
+ className: _(de, Q.options, P.options)
250
251
  }, /* @__PURE__ */ t.createElement(o.Option, {
251
- className: f(T.checkbox, P.option)
252
+ className: _(T.checkbox, P.option)
252
253
  }, /* @__PURE__ */ t.createElement(o.Option.Image, {
253
254
  className: P.optionImage
254
255
  }), /* @__PURE__ */ t.createElement(o.Option.Label, {
255
- className: f(ye, Q.optionLabel, P.optionLabel)
256
+ className: _(Ee, Q.optionLabel, P.optionLabel)
256
257
  }), /* @__PURE__ */ t.createElement(o.Option.Price, {
257
- className: f(_e, P.optionPrice)
258
+ className: _(ye, P.optionPrice)
258
259
  }), /* @__PURE__ */ t.createElement(o.Option.Input, {
259
- className: (a) => f(e(a), P.optionInput)
260
+ className: (a) => _(e(a), P.optionInput)
260
261
  }), /* @__PURE__ */ t.createElement(o.Option.Quantity, {
261
- className: f(fe, T.inputGroup, P.quantity)
262
+ className: _(fe, T.inputGroup, P.quantity)
262
263
  }))), /* @__PURE__ */ t.createElement(o.Error, {
263
- className: f(Ie, T.error)
264
- }, /* @__PURE__ */ t.createElement(me, null), /* @__PURE__ */ t.createElement(o.Error.Text, null)), /* @__PURE__ */ t.createElement(o.Description, {
265
- className: f(be, T.description)
266
- }, xe));
267
- }, Ye = () => /* @__PURE__ */ t.createElement(qe, null);
264
+ className: _(_e, T.error)
265
+ }, /* @__PURE__ */ t.createElement(ue, null), /* @__PURE__ */ t.createElement(o.Error.Text, null)), /* @__PURE__ */ t.createElement(o.Description, {
266
+ className: _(Ie, T.description)
267
+ }, qe));
268
+ }, Ze = () => /* @__PURE__ */ t.createElement(xe, null);
268
269
  export {
269
- Ye as ProductListRAC
270
+ Ze as ProductListRAC
270
271
  };
@@ -1,6 +1,6 @@
1
1
  import _ from "react";
2
- import { R } from "./radio-group-field-rac-Dj4rkkKF.js";
3
- import { J as o, I as r, H as O } from "./form-element-classes-Dn33C01k.js";
2
+ import { R } from "./radio-group-field-rac-DdlyQ3m6.js";
3
+ import { J as o, I as r, H as O } from "./form-element-classes-BXNs5k3q.js";
4
4
  const t = () => /* @__PURE__ */ _.createElement(R, {
5
5
  classes: {
6
6
  container: O,
@@ -1,10 +1,10 @@
1
1
  import { RicosViewer as s } from "@wix/ricos/viewer";
2
2
  import a from "classnames";
3
3
  import e from "react";
4
- import { R as t, s as r } from "./radio-group-field-rac.module-CeBLm9QF.js";
4
+ import { R as t, s as r } from "./radio-group-field-rac.module-emin6sSc.js";
5
5
  import { E as m } from "./error-icon-hZxQ6DEy.js";
6
6
  import { s as l } from "./field-rac.module-DjmaTYkc.js";
7
- import { y as c, Q as i, M as E, L as _, K as R, x as p, p as O, i as L } from "./form-element-classes-Dn33C01k.js";
7
+ import { z as c, Q as i, M as E, L as _, K as R, y as p, p as O, i as L } from "./form-element-classes-BXNs5k3q.js";
8
8
  const I = ({ content: o, locale: n }) => /* @__PURE__ */ e.createElement(s, {
9
9
  content: o,
10
10
  locale: n
@@ -1,9 +1,9 @@
1
1
  import s, { useRef as y, useState as V, useEffect as S, useCallback as B } from "react";
2
2
  import { RadioGroup as T, RadioField as k, RadioButton as G, TextField as M, Input as P } from "react-aria-components";
3
- import { ai as C, af as $, as as F, ab as q, ak as x } from "./form-DCmjj8mZ.js";
3
+ import { ai as C, af as $, as as F, ab as q, ak as x } from "./form-BpHElSwH.js";
4
4
  import { f as d, a as g } from "./find-child-C60k4CxG.js";
5
- import { D as U, E as A } from "./field-error-headless-uQOcm2Ak.js";
6
- import { L as H } from "./field-label-headless-Bzh7f2Ji.js";
5
+ import { D as U, E as A } from "./field-error-headless-C5ZsFUKv.js";
6
+ import { L as H } from "./field-label-headless-CS5OYsiI.js";
7
7
  import { N as j } from "./options-layout-constants-DEfIEJWD.js";
8
8
  const L = "Other", w = (e, t) => e == null ? void 0 : e.find((o) => (o.value ?? o.label) === t), R = (e, t) => !!t && !w(e, t), z = (e, t) => {
9
9
  const a = t ? t.length + 2 : 0;
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { R as r } from "./radio-group-field-rac-Dj4rkkKF.js";
2
+ import { R as r } from "./radio-group-field-rac-DdlyQ3m6.js";
3
3
  const R = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  R as RadioGroupRAC
@@ -1,18 +1,18 @@
1
1
  import { RicosViewer as D } from "@wix/ricos/viewer";
2
2
  import c from "classnames";
3
- import e, { useCallback as y, useState as h, useRef as A } from "react";
4
- import { ai as F, af as N, as as T, ac as M } from "./form-DCmjj8mZ.js";
3
+ import e, { useCallback as h, useState as y, useRef as A } from "react";
4
+ import { ai as F, af as N, as as T, ac as M } from "./form-BpHElSwH.js";
5
5
  import { RadioGroup as P, RadioField as w, RadioButton as B } from "react-aria-components";
6
- import { f as E, a as x } from "./find-child-C60k4CxG.js";
7
- import { D as G, E as H } from "./field-error-headless-uQOcm2Ak.js";
8
- import { L as q } from "./field-label-headless-Bzh7f2Ji.js";
6
+ import { f as E, a as G } from "./find-child-C60k4CxG.js";
7
+ import { D as H, E as q } from "./field-error-headless-C5ZsFUKv.js";
8
+ import { L as z } from "./field-label-headless-CS5OYsiI.js";
9
9
  import { E as k } from "./error-icon-hZxQ6DEy.js";
10
10
  import { s as p } from "./field-rac.module-DjmaTYkc.js";
11
- import { y as Q, Q as z, N as K, O as U, P as Y, p as Z, i as j, F as J } from "./form-element-classes-Dn33C01k.js";
11
+ import { z as x, Q, N as K, O as U, P as Y, p as Z, i as j, F as J } from "./form-element-classes-BXNs5k3q.js";
12
12
  const t = ({ children: a }) => {
13
- const { id: r, value: n, onChange: i, disabled: o, readOnly: d, required: l, hasError: m, onBlur: u, onFocus: R, FieldLayout: C } = F(), { labelId: L } = N(), _ = y((v) => i(Number(v)), [
13
+ const { id: r, value: n, onChange: i, disabled: o, readOnly: d, required: l, hasError: m, onBlur: u, onFocus: R, FieldLayout: C } = F(), { labelId: L } = N(), _ = h((O) => i(Number(O)), [
14
14
  i
15
- ]), f = E(a, t.Label), s = E(a, t.Ratings), g = E(a, t.Description), O = E(a, t.Error);
15
+ ]), f = E(a, t.Label), s = E(a, t.Ratings), g = E(a, t.Description), v = E(a, t.Error);
16
16
  return /* @__PURE__ */ e.createElement(C, {
17
17
  fieldId: r,
18
18
  renderLabel: () => f,
@@ -28,10 +28,10 @@ const t = ({ children: a }) => {
28
28
  onFocus: R,
29
29
  orientation: "horizontal"
30
30
  }, s),
31
- renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, O, g)
31
+ renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, v, g)
32
32
  });
33
33
  }, I = ({ children: a, className: r, getReactionLabel: n }) => {
34
- const { value: i, readOnly: o, hasError: d } = F(), { inputId: l, ariaDescribedBy: m } = N(), [u, R] = h(), C = A(null), L = E(a, I.Rating), _ = [
34
+ const { value: i, readOnly: o, hasError: d } = F(), { inputId: l, ariaDescribedBy: m } = N(), [u, R] = y(), C = A(null), L = E(a, I.Rating), _ = [
35
35
  "1",
36
36
  "2",
37
37
  "3",
@@ -45,7 +45,7 @@ const t = ({ children: a }) => {
45
45
  className: r,
46
46
  "data-invalid": d,
47
47
  "data-readonly": o
48
- }, _.map((s) => x(L, {
48
+ }, _.map((s) => G(L, {
49
49
  key: s,
50
50
  value: s,
51
51
  isSelected: f(s),
@@ -79,11 +79,11 @@ const t = ({ children: a }) => {
79
79
  }, l) : null));
80
80
  };
81
81
  I.Rating = b;
82
- t.Label = q;
82
+ t.Label = z;
83
83
  t.Ratings = I;
84
84
  t.Rating = b;
85
- t.Description = G;
86
- t.Error = H;
85
+ t.Description = H;
86
+ t.Error = q;
87
87
  const X = (a) => /* @__PURE__ */ e.createElement("svg", {
88
88
  viewBox: "0 0 32 32",
89
89
  width: 32,
@@ -94,7 +94,7 @@ const X = (a) => /* @__PURE__ */ e.createElement("svg", {
94
94
  }, /* @__PURE__ */ e.createElement("path", {
95
95
  fillRule: "evenodd",
96
96
  d: "M28.6265,13.6325 C28.9655,13.3015 29.0845,12.8175 28.9385,12.3665 C28.7925,11.9165 28.4105,11.5945 27.9415,11.5265 L20.5785,10.4565 C20.5015,10.4445 20.4345,10.3965 20.4005,10.3275 L17.1075,3.6545 L17.1075,3.6535 C16.8975,3.2295 16.4735,2.9655 16.0005,2.9655 L15.9995,2.9655 C15.5255,2.9655 15.1025,3.2295 14.8925,3.6545 L11.5985,10.3275 C11.5645,10.3965 11.4985,10.4445 11.4225,10.4565 L4.0575,11.5265 C3.5895,11.5945 3.2075,11.9165 3.0615,12.3665 C2.9155,12.8175 3.0345,13.3015 3.3735,13.6325 L8.7025,18.8265 C8.7575,18.8805 8.7835,18.9585 8.7705,19.0345 L7.5125,26.3695 C7.4325,26.8355 7.6205,27.2985 8.0035,27.5765 C8.2195,27.7345 8.4735,27.8145 8.7285,27.8145 C8.9245,27.8145 9.1215,27.7665 9.3045,27.6705 L15.8895,24.2085 C15.9595,24.1725 16.0415,24.1725 16.1085,24.2075 L22.6955,27.6705 C23.1155,27.8915 23.6135,27.8555 23.9965,27.5765 C24.3795,27.2985 24.5675,26.8355 24.4875,26.3695 L23.2305,19.0355 C23.2165,18.9585 23.2425,18.8805 23.2975,18.8265 L28.6265,13.6325 Z"
97
- })), $ = "_ratings_1n24x_1", V = "_rating_1n24x_1", S = {
97
+ })), $ = "_ratings_1mvz3_1", V = "_rating_1mvz3_1", S = {
98
98
  ratings: $,
99
99
  rating: V
100
100
  }, ee = ({ content: a, locale: r }) => /* @__PURE__ */ e.createElement(D, {
@@ -103,9 +103,9 @@ const X = (a) => /* @__PURE__ */ e.createElement("svg", {
103
103
  }), Ee = () => {
104
104
  const { t: a } = T(), r = M(J.RATING_OPTION);
105
105
  return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
106
- className: c(Q, p.label)
106
+ className: c(x, p.label)
107
107
  }, /* @__PURE__ */ e.createElement(t.Label.Required, {
108
- className: c(z, p.requiredMark)
108
+ className: c(Q, p.requiredMark)
109
109
  })), /* @__PURE__ */ e.createElement(t.Ratings, {
110
110
  className: c(K, S.ratings),
111
111
  getReactionLabel: (n) => a("rating-input.a11y.reaction-label", {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-BP0928qI.js";
2
+ import { R as e } from "./rating-input-field-rac-VDaJKq-n.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as RatingInputRAC
@@ -1,5 +1,5 @@
1
1
  import c, { useState as u } from "react";
2
- import { ai as a, ab as i, as as T } from "./form-DCmjj8mZ.js";
2
+ import { ai as a, ab as i, as as T } from "./form-BpHElSwH.js";
3
3
  import { Button as d } from "react-aria-components";
4
4
  import { D as r } from "./data-hooks-Dkw1pbRj.js";
5
5
  import { truncateRichContent as _ } from "@wix/ricos/content";
@@ -1,8 +1,8 @@
1
1
  import l from "classnames";
2
2
  import e from "react";
3
- import { ai as m, L as i, W as u, Z as R } from "./form-DCmjj8mZ.js";
4
- import { u as T, R as C, s as d, T as p } from "./rich-content-rac.module-zvvH-tWq.js";
5
- import { a5 as g } from "./form-element-classes-Dn33C01k.js";
3
+ import { ai as m, L as i, W as u, Z as R } from "./form-BpHElSwH.js";
4
+ import { u as T, R as C, s as d, T as p } from "./rich-content-rac.module-CdiaAjxG.js";
5
+ import { a7 as g } from "./form-element-classes-BXNs5k3q.js";
6
6
  const h = {
7
7
  colorPalette: R(),
8
8
  customStyles: u()
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { R as t } from "./rich-text-field-rac-CFCRiMl_.js";
2
+ import { R as t } from "./rich-text-field-rac-C4RrbyEX.js";
3
3
  const R = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  R as RichTextRAC