@wix/form-elements 1.104.0 → 1.106.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 (114) hide show
  1. package/dist/component/appointment-rac-D2F4vgf1.js +1011 -0
  2. package/dist/component/{bookings-address-rac-bOPrbrFn.js → bookings-address-rac-_5S8J8_i.js} +1 -1
  3. package/dist/component/{bookings-email-rac-DSpy4yfX.js → bookings-email-rac-6vmDR9nS.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-Dw0U4kHG.js → bookings-first-name-rac-DtTJ4T2K.js} +1 -1
  5. package/dist/component/{bookings-header-rac-Czrqn8yy.js → bookings-header-rac-B3dsEwzR.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-CVxRqG5b.js → bookings-last-name-rac-B3idkbi8.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-s_2BlBcX.js → bookings-login-bar-rac-CrRBcQwT.js} +4 -4
  8. package/dist/component/{bookings-phone-rac-B2SgZsIb.js → bookings-phone-rac-BE0yWNnj.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-b3K__6c9.js → bookings-rich-text-rac-CYo1l0-6.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-Gt2JioDC.js → checkbox-field-rac-boTtXVEt.js} +18 -22
  11. package/dist/component/{checkbox-group-field-headless-cKefepGi.js → checkbox-group-field-headless-DnkUvDm8.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-B14obB-6.js → checkbox-group-field-rac-DrDTgHMg.js} +13 -13
  13. package/dist/component/{checkbox-group-rac-B6cixM2X.js → checkbox-group-rac-v3ozUBpo.js} +1 -1
  14. package/dist/component/{checkbox-indicator-module-classes-DhbNznSB.js → checkbox-indicator-module-classes-BpeSpGsW.js} +1 -1
  15. package/dist/component/{checkbox-rac-COwblKlm.js → checkbox-rac-YSLE-RnG.js} +1 -1
  16. package/dist/component/{contacts-address-rac-BJrwGPo4.js → contacts-address-rac-C653yaHZ.js} +1 -1
  17. package/dist/component/{contacts-birthdate-rac-BaotTtEN.js → contacts-birthdate-rac-BeAQ6shx.js} +1 -1
  18. package/dist/component/{contacts-company-rac-BjTc-e_S.js → contacts-company-rac-BglKOoTG.js} +1 -1
  19. package/dist/component/{contacts-email-rac-DVFF485m.js → contacts-email-rac-D6m7ynfc.js} +1 -1
  20. package/dist/component/{contacts-first-name-rac-C4Fht3FS.js → contacts-first-name-rac-Dgxn0tUJ.js} +1 -1
  21. package/dist/component/{contacts-last-name-rac-BTbOJedX.js → contacts-last-name-rac-1UyIuRKH.js} +1 -1
  22. package/dist/component/{contacts-phone-rac-GePv5BT7.js → contacts-phone-rac-BQ77BlW4.js} +1 -1
  23. package/dist/component/{contacts-position-rac-BZ1ASqF_.js → contacts-position-rac-BUDUv7lv.js} +1 -1
  24. package/dist/component/contacts-subscribe-rac-DdtA0qKW.js +6 -0
  25. package/dist/component/{contacts-tax-id-rac-A2tdbIvB.js → contacts-tax-id-rac-WUaKcNl0.js} +1 -1
  26. package/dist/component/{date-availability-b1h4CrSQ.js → date-availability-XjBFq8jt.js} +1 -1
  27. package/dist/component/{date-input-field-rac-moOjGzUv.js → date-input-field-rac-aY2zuuKs.js} +14 -14
  28. package/dist/component/{date-input-rac-DTqZCOqB.js → date-input-rac-DRiP2_97.js} +1 -1
  29. package/dist/component/{date-picker-field-rac-flB4Hw18.js → date-picker-field-rac-Bzl-d3Uj.js} +70 -70
  30. package/dist/component/{date-picker-rac-B2fqOP6H.js → date-picker-rac-DHHUh8vn.js} +1 -1
  31. package/dist/component/{date-time-input-field-rac-BtLGRGf5.js → date-time-input-field-rac-DP_StuLr.js} +27 -27
  32. package/dist/component/{date-time-input-rac-CRfUmOim.js → date-time-input-rac-B11KIxsf.js} +1 -1
  33. package/dist/component/{dext-checkbox-group-rac-Ds4t475J.js → dext-checkbox-group-rac-BHZBqyWv.js} +2 -2
  34. package/dist/component/{dext-checkbox-rac-BC6EGH5R.js → dext-checkbox-rac-BIlAqEvV.js} +1 -1
  35. package/dist/component/{dext-date-picker-rac-DyydPJyC.js → dext-date-picker-rac-CHBXNrZi.js} +1 -1
  36. package/dist/component/{dext-date-time-input-rac-DhssYv6t.js → dext-date-time-input-rac-BYtliKry.js} +1 -1
  37. package/dist/component/{dext-dropdown-rac-Bn0C1Ry8.js → dext-dropdown-rac-C2VPSFV5.js} +1 -1
  38. package/dist/component/{dext-email-rac-DKhk_v_w.js → dext-email-rac-Fnb0Ggcs.js} +1 -1
  39. package/dist/component/{dext-number-input-rac-u92WD8VD.js → dext-number-input-rac-DopfSyFi.js} +1 -1
  40. package/dist/component/{dext-phone-rac-DTzdQAe9.js → dext-phone-rac-Rn4i_2rc.js} +1 -1
  41. package/dist/component/{dext-radio-group-rac-CoOYhInI.js → dext-radio-group-rac-bNaskJpK.js} +2 -2
  42. package/dist/component/{dext-rating-input-rac-DPdyJsCZ.js → dext-rating-input-rac-DL6ZZd7d.js} +1 -1
  43. package/dist/component/{dext-tags-rac-Bh3pQ-Ck.js → dext-tags-rac-TsUPoImO.js} +2 -2
  44. package/dist/component/{dext-text-area-rac-Cefsz8ct.js → dext-text-area-rac-BIuY7LTd.js} +1 -1
  45. package/dist/component/{dext-text-input-rac-Bj_pAChP.js → dext-text-input-rac-CSYPW0Qi.js} +1 -1
  46. package/dist/component/{dext-url-input-rac-Bk_kwZzM.js → dext-url-input-rac-_g0lqGfW.js} +1 -1
  47. package/dist/component/{donation-rac-wRWkCjYg.js → donation-rac-BYKFtsyR.js} +55 -55
  48. package/dist/component/{dropdown-field-headless-CedOXKAH.js → dropdown-field-headless-CBaqlNZi.js} +4 -4
  49. package/dist/component/{dropdown-field-rac-CENh9Khw.js → dropdown-field-rac-CCAGSMm3.js} +6 -6
  50. package/dist/component/{dropdown-rac-CeCNULzS.js → dropdown-rac-C_EqUsZ1.js} +1 -1
  51. package/dist/component/{ecom-address-rac-BLJ0UHrV.js → ecom-address-rac-Bw9eH0iF.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-xJDzCasS.js → ecom-subscription-checkbox-rac-B5PVOO2a.js} +10 -17
  53. package/dist/component/{email-input-field-rac-CeTVUWeX.js → email-input-field-rac-B2kqQ6yo.js} +14 -14
  54. package/dist/component/{events-repeater-rac-CT9LAF22.js → events-repeater-rac--4OnUxWE.js} +55 -55
  55. package/dist/component/{events-rsvp-rac-Bu8tqcVi.js → events-rsvp-rac-CczCoo3T.js} +13 -13
  56. package/dist/component/{field-error-headless-gLZVlnQV.js → field-error-headless-D3-1L5sf.js} +1 -1
  57. package/dist/component/{field-label-headless-yc46NPmu.js → field-label-headless-Du4ckIVy.js} +1 -1
  58. package/dist/component/field-rac.module-B4l_0KRU.js +26 -0
  59. package/dist/component/{file-upload-rac-LkVTFtZb.js → file-upload-rac-DbdkUbWM.js} +80 -80
  60. package/dist/component/{fixed-payment-rac-DEbV0w-8.js → fixed-payment-rac-f9-01iDN.js} +8 -8
  61. package/dist/component/{form-DV231fmJ.js → form-DQauhsho.js} +69 -69
  62. package/dist/component/form-element-classes-bLFmhsKw.js +137 -0
  63. package/dist/component/form.css +1 -1
  64. package/dist/component/form.js +1 -1
  65. package/dist/component/{header-field-rac-BzB5dm6C.js → header-field-rac-DamDk5BR.js} +3 -3
  66. package/dist/component/{header-rac-BzS5HfUt.js → header-rac-CR9T3Pnu.js} +1 -1
  67. package/dist/component/{image-choice-rac-8YqUqetS.js → image-choice-rac-DJ_8v467.js} +13 -13
  68. package/dist/component/{index-CMtf-So7.js → index-BB7d_9Dv.js} +4 -4
  69. package/dist/component/{index-BzRG28bH.js → index-CcUTIUWM.js} +2 -2
  70. package/dist/component/{isObjectLike--gPCPyGa.js → isObjectLike-xvPa_08X.js} +1 -1
  71. package/dist/component/{multiline-address-field-rac-CJWdu5LV.js → multiline-address-field-rac-CyaFOloE.js} +80 -80
  72. package/dist/component/{multiline-address-rac-Cw5VweB0.js → multiline-address-rac-CaHGUN_f.js} +1 -1
  73. package/dist/component/{number-input-field-rac-D8NRpCCM.js → number-input-field-rac-BuYUzDWV.js} +15 -15
  74. package/dist/component/{number-input-rac-CM_CQHE_.js → number-input-rac-DMKX6nhk.js} +1 -1
  75. package/dist/component/{password-rac-I6vynKG4.js → password-rac-0RUXPAn6.js} +38 -38
  76. package/dist/component/{payment-input-rac-B4rXCs7V.js → payment-input-rac-CHSZ3-Lt.js} +17 -17
  77. package/dist/component/{phone-input-field-rac-B-k2e0Np.js → phone-input-field-rac-JmIFcP1e.js} +29 -29
  78. package/dist/component/{phone-rac-D443psAx.js → phone-rac-BLRnAPXP.js} +1 -1
  79. package/dist/component/{product-list-rac-B6qUWxkz.js → product-list-rac-BkF5tDwt.js} +11 -11
  80. package/dist/component/quiz-radio-group-rac-32cCMTUS.js +6 -0
  81. package/dist/component/{radio-button-module-classes--on7xGzb.js → radio-button-module-classes-IOulhuSH.js} +28 -28
  82. package/dist/component/radio-group-field-rac-CJwku6e0.js +46 -0
  83. package/dist/component/{radio-group-rac-CjbSQydw.js → radio-group-rac-BiW-9Abj.js} +1 -1
  84. package/dist/component/{rating-input-field-rac-yVgqxBKi.js → rating-input-field-rac-B9cwaROK.js} +30 -30
  85. package/dist/component/{rating-input-rac-D6BKC4oS.js → rating-input-rac-BpwlNvzQ.js} +1 -1
  86. package/dist/component/{rich-content-rac.module-Ca4LYv7k.js → rich-content-rac.module-B1uyPmtK.js} +1 -1
  87. package/dist/component/{rich-text-field-rac-DIeBS-ux.js → rich-text-field-rac-C_qE7Ykg.js} +3 -3
  88. package/dist/component/{rich-text-rac-BgjP0ngh.js → rich-text-rac-VfeZxS27.js} +1 -1
  89. package/dist/component/{service-dropdown-rac-DjOMT7dx.js → service-dropdown-rac-BCfs8IhW.js} +18 -18
  90. package/dist/component/{services-multi-choice-rac-C0Rp9Sng.js → services-multi-choice-rac-CCqdF_7P.js} +8 -8
  91. package/dist/component/{signature-rac-CFT-Fni_.js → signature-rac-DOyMo3u0.js} +73 -73
  92. package/dist/component/{submit-button-rac-BOluGZI0.js → submit-button-rac-C2uA5DeE.js} +11 -11
  93. package/dist/component/{tags-field-rac-CP0RS4SG.js → tags-field-rac-C_uIw2by.js} +36 -36
  94. package/dist/component/{tags-rac-Dtp3VCKk.js → tags-rac-1pQ-fpe_.js} +1 -1
  95. package/dist/component/{text-area-field-rac-DUKg8kgN.js → text-area-field-rac-DqlOkm7e.js} +23 -23
  96. package/dist/component/{text-area-rac-Clh7zMTL.js → text-area-rac-DPdkrFcH.js} +1 -1
  97. package/dist/component/{text-input-field-rac-DY60Q6da.js → text-input-field-rac-CmXm6r1w.js} +6 -6
  98. package/dist/component/{text-input-headless-BBv0nukI.js → text-input-headless-DD__2DFf.js} +3 -3
  99. package/dist/component/{text-input-rac-FVD6iJ1i.js → text-input-rac-DRHyQEH7.js} +1 -1
  100. package/dist/component/{time-input-rac-DsctZB28.js → time-input-rac-BJPIymQY.js} +22 -22
  101. package/dist/component/{url-input-field-rac-Du4HlhH3.js → url-input-field-rac-CFDYkZ6I.js} +15 -15
  102. package/dist/component/{url-input-rac-3QPdK0xz.js → url-input-rac-C0ChQUzq.js} +1 -1
  103. package/dist/component/{use-dropdown-option-class-name-Bze6ghRl.js → use-dropdown-option-class-name-3L5ZmNLK.js} +3 -3
  104. package/dist/component/{use-element-state-class-name-4CDAF1S-.js → use-element-state-class-name-BatTc2bw.js} +1 -1
  105. package/dist/component/{use-is-forced-open-dropdown--w4f5dWP.js → use-is-forced-open-dropdown-B0jiPTmS.js} +1 -1
  106. package/dist/component/{use-service-options-base-9vUuIThY.js → use-service-options-base-oeE7xszw.js} +1 -1
  107. package/dist/component/{use-text-input-class-name-Ch91llI_.js → use-text-input-class-name-LQ5S-NLh.js} +4 -4
  108. package/package.json +5 -5
  109. package/dist/component/appointment-rac-CCciYQ_h.js +0 -1012
  110. package/dist/component/contacts-subscribe-rac-CmyBcsLP.js +0 -13
  111. package/dist/component/field-rac.module-DobpyqOd.js +0 -26
  112. package/dist/component/form-element-classes-BtKlobUX.js +0 -192
  113. package/dist/component/quiz-radio-group-rac-DdPJQmV5.js +0 -13
  114. package/dist/component/radio-group-field-rac-CjiGr1rO.js +0 -50
@@ -1,20 +1,20 @@
1
1
  import { RicosViewer as P } from "@wix/ricos/viewer";
2
2
  import i from "classnames";
3
- import r, { useState as j, useCallback as Q, useEffect as U, useRef as $ } from "react";
4
- import { NumberField as z, Input as G } from "react-aria-components";
5
- import { ak as _, ah as S, au as H, am as J } from "./form-DV231fmJ.js";
3
+ import r, { useState as j, useCallback as J, useEffect as Q, useRef as U } from "react";
4
+ import { NumberField as $, Input as z } from "react-aria-components";
5
+ import { ak as _, ah as S, au as G, am as H } from "./form-DQauhsho.js";
6
6
  import { f as c } from "./find-child-C60k4CxG.js";
7
- import { D as K, E as W } from "./field-error-headless-gLZVlnQV.js";
8
- import { L as X } from "./field-label-headless-yc46NPmu.js";
7
+ import { D as K, E as W } from "./field-error-headless-D3-1L5sf.js";
8
+ import { L as X } from "./field-label-headless-Du4ckIVy.js";
9
9
  import { g as Y, c as Z } from "./numeric-input-utils-CuBMi4-a.js";
10
10
  import { u as w } from "./use-invoke-callback-UH73A_J3.js";
11
11
  import { E as ee } from "./error-icon-hZxQ6DEy.js";
12
- import { s as p } from "./field-rac.module-DobpyqOd.js";
13
- import { C as re, S as te, r as ae, j as ne } from "./form-element-classes-BtKlobUX.js";
14
- import { u as se } from "./use-text-input-class-name-Ch91llI_.js";
12
+ import { s as p } from "./field-rac.module-B4l_0KRU.js";
13
+ import { v as re, J as te, o as ae, j as ne } from "./form-element-classes-bLFmhsKw.js";
14
+ import { u as se } from "./use-text-input-class-name-LQ5S-NLh.js";
15
15
  const e = ({ children: t }) => {
16
16
  var F, L, R;
17
- const { id: n, value: s, onChange: l, disabled: d, required: E, readOnly: o, onBlur: b, onFocus: f, FieldLayout: m, hasError: u, validation: a } = _(), { labelId: y } = S(), D = ((F = a == null ? void 0 : a.number) == null ? void 0 : F.multipleOf) || 1, A = (L = a == null ? void 0 : a.number) == null ? void 0 : L.maximum, g = (R = a == null ? void 0 : a.number) == null ? void 0 : R.minimum, h = O(s), [x, I] = j(h), T = w(b), V = c(t, e.Label), k = c(t, e.Input), q = c(t, e.Description), M = c(t, e.Error), B = Q((N) => {
17
+ const { id: n, value: s, onChange: l, disabled: d, required: E, readOnly: o, onBlur: b, onFocus: f, FieldLayout: m, hasError: u, validation: a } = _(), { labelId: y } = S(), D = ((F = a == null ? void 0 : a.number) == null ? void 0 : F.multipleOf) || 1, A = (L = a == null ? void 0 : a.number) == null ? void 0 : L.maximum, g = (R = a == null ? void 0 : a.number) == null ? void 0 : R.minimum, h = O(s), [x, I] = j(h), T = w(b), V = c(t, e.Label), k = c(t, e.Input), q = c(t, e.Description), M = c(t, e.Error), B = J((N) => {
18
18
  if (N === void 0 || Number.isNaN(N)) {
19
19
  l(""), I(NaN);
20
20
  return;
@@ -25,14 +25,14 @@ const e = ({ children: t }) => {
25
25
  D,
26
26
  l
27
27
  ]);
28
- return U(() => {
28
+ return Q(() => {
29
29
  I(O(s));
30
30
  }, [
31
31
  s
32
32
  ]), /* @__PURE__ */ r.createElement(m, {
33
33
  fieldId: n,
34
34
  renderLabel: () => V,
35
- renderInput: () => /* @__PURE__ */ r.createElement(z, {
35
+ renderInput: () => /* @__PURE__ */ r.createElement($, {
36
36
  "aria-labelledby": y,
37
37
  value: x,
38
38
  onChange: B,
@@ -49,13 +49,13 @@ const e = ({ children: t }) => {
49
49
  });
50
50
  }, le = ({ className: t }) => {
51
51
  var u;
52
- const { t: n } = H(), { inputId: s, ariaDescribedBy: l } = S(), { id: d, placeholder: E, validation: o, label: b, required: f } = _();
52
+ const { t: n } = G(), { inputId: s, ariaDescribedBy: l } = S(), { id: d, placeholder: E, validation: o, label: b, required: f } = _();
53
53
  (u = o == null ? void 0 : o.number) != null && u.multipleOf;
54
- const m = $(null);
55
- return J(() => {
54
+ const m = U(null);
55
+ return H(() => {
56
56
  var a;
57
57
  (a = m.current) == null || a.focus();
58
- }, d), /* @__PURE__ */ r.createElement(G, {
58
+ }, d), /* @__PURE__ */ r.createElement(z, {
59
59
  ref: m,
60
60
  id: s,
61
61
  "aria-describedby": l,
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { N as r } from "./number-input-field-rac-D8NRpCCM.js";
2
+ import { N as r } from "./number-input-field-rac-BuYUzDWV.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  n as NumberInputRAC
@@ -1,18 +1,18 @@
1
- import e, { useState as S, useRef as N } from "react";
1
+ import e, { useState as N, useRef as S } from "react";
2
2
  import { RicosViewer as x } from "@wix/ricos/viewer";
3
3
  import d from "classnames";
4
- import { ak as E, ah as I, am as O, au as A } from "./form-DV231fmJ.js";
5
- import { TextField as B, Group as V, Input as v, Button as P } from "react-aria-components";
4
+ import { ak as E, ah as I, am as O, au as A } from "./form-DQauhsho.js";
5
+ import { TextField as B, Group as v, Input as V, Button as P } from "react-aria-components";
6
6
  import { f as u, a as g } from "./find-child-C60k4CxG.js";
7
- import { D as M, E as k } from "./field-error-headless-gLZVlnQV.js";
8
- import { L as q } from "./field-label-headless-yc46NPmu.js";
7
+ import { D as M, E as k } from "./field-error-headless-D3-1L5sf.js";
8
+ import { L as q } from "./field-label-headless-Du4ckIVy.js";
9
9
  import { E as j } from "./error-icon-hZxQ6DEy.js";
10
10
  import { H as U } from "./custom-focus-class-_483Pkwp.js";
11
- import { s as p } from "./field-rac.module-DobpyqOd.js";
12
- import { C as H, S as W, r as Z, j as G } from "./form-element-classes-BtKlobUX.js";
13
- import { u as Q } from "./use-text-input-class-name-Ch91llI_.js";
14
- const t = ({ children: r, className: o }) => {
15
- const { id: l, value: s, onChange: c, disabled: n, readOnly: m, required: a, hasError: i, onBlur: f, onFocus: C, FieldLayout: _ } = E(), { labelId: y } = I(), [R, D] = S(!1), F = u(r, t.Label), L = u(r, t.Control), T = u(r, t.Description), h = u(r, t.Error);
11
+ import { s as p } from "./field-rac.module-B4l_0KRU.js";
12
+ import { v as H, J as W, o as Z, j as G } from "./form-element-classes-bLFmhsKw.js";
13
+ import { u as J } from "./use-text-input-class-name-LQ5S-NLh.js";
14
+ const t = ({ children: o, className: r }) => {
15
+ const { id: l, value: s, onChange: c, disabled: n, readOnly: m, required: a, hasError: i, onBlur: f, onFocus: C, FieldLayout: _ } = E(), { labelId: y } = I(), [R, D] = N(!1), F = u(o, t.Label), L = u(o, t.Control), T = u(o, t.Description), h = u(o, t.Error);
16
16
  return /* @__PURE__ */ e.createElement(_, {
17
17
  fieldId: l,
18
18
  renderLabel: () => F,
@@ -26,17 +26,17 @@ const t = ({ children: r, className: o }) => {
26
26
  isInvalid: i,
27
27
  onBlur: f,
28
28
  onFocus: C,
29
- className: o
29
+ className: r
30
30
  }, g(L, {
31
31
  isVisible: R,
32
32
  onToggleVisibility: () => D((w) => !w)
33
33
  })),
34
34
  renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, T, h)
35
35
  });
36
- }, $ = ({ children: r, className: o, ...l }) => {
37
- const { isVisible: s, onToggleVisibility: c } = l, { disabled: n, hasError: m } = E(), a = u(r, t.Input), i = u(r, t.Toggle);
38
- return /* @__PURE__ */ e.createElement(V, {
39
- className: o,
36
+ }, Q = ({ children: o, className: r, ...l }) => {
37
+ const { isVisible: s, onToggleVisibility: c } = l, { disabled: n, hasError: m } = E(), a = u(o, t.Input), i = u(o, t.Toggle);
38
+ return /* @__PURE__ */ e.createElement(v, {
39
+ className: r,
40
40
  isDisabled: n,
41
41
  isInvalid: m
42
42
  }, g(a, {
@@ -45,39 +45,39 @@ const t = ({ children: r, className: o }) => {
45
45
  isVisible: s,
46
46
  onToggleVisibility: c
47
47
  }));
48
- }, z = ({ className: r, ...o }) => {
49
- const { isVisible: l } = o, { id: s, placeholder: c } = E(), { inputId: n, ariaDescribedBy: m } = I(), a = N(null);
48
+ }, $ = ({ className: o, ...r }) => {
49
+ const { isVisible: l } = r, { id: s, placeholder: c } = E(), { inputId: n, ariaDescribedBy: m } = I(), a = S(null);
50
50
  return O(() => {
51
51
  var i;
52
52
  (i = a.current) == null || i.focus();
53
- }, s), /* @__PURE__ */ e.createElement(v, {
53
+ }, s), /* @__PURE__ */ e.createElement(V, {
54
54
  ref: a,
55
55
  id: n,
56
56
  type: l ? "text" : "password",
57
57
  "aria-describedby": m,
58
- className: r,
58
+ className: o,
59
59
  placeholder: c
60
60
  });
61
- }, J = ({ className: r, showPasswordTooltipText: o, hidePasswordTooltipText: l, children: s, ...c }) => {
62
- const { isVisible: n, onToggleVisibility: m } = c, { disabled: a } = E(), i = n ? l : o;
61
+ }, z = ({ className: o, showPasswordTooltipText: r, hidePasswordTooltipText: l, children: s, ...c }) => {
62
+ const { isVisible: n, onToggleVisibility: m } = c, { disabled: a } = E(), i = n ? l : r;
63
63
  return /* @__PURE__ */ e.createElement(P, {
64
64
  type: "button",
65
65
  isDisabled: a,
66
66
  onPress: m,
67
67
  "aria-label": i,
68
68
  "aria-pressed": n,
69
- className: r
69
+ className: o
70
70
  }, s == null ? void 0 : s({
71
71
  isVisible: n
72
72
  }));
73
73
  };
74
74
  t.Label = q;
75
- t.Control = $;
76
- t.Input = z;
77
- t.Toggle = J;
75
+ t.Control = Q;
76
+ t.Input = $;
77
+ t.Toggle = z;
78
78
  t.Description = M;
79
79
  t.Error = k;
80
- const K = (r) => /* @__PURE__ */ e.createElement("svg", {
80
+ const K = (o) => /* @__PURE__ */ e.createElement("svg", {
81
81
  viewBox: "0 0 24 24",
82
82
  width: "20",
83
83
  height: "20",
@@ -85,14 +85,14 @@ const K = (r) => /* @__PURE__ */ e.createElement("svg", {
85
85
  stroke: "currentColor",
86
86
  strokeWidth: "1.5",
87
87
  "aria-hidden": "true",
88
- ...r
88
+ ...o
89
89
  }, /* @__PURE__ */ e.createElement("path", {
90
90
  d: "M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z"
91
91
  }), /* @__PURE__ */ e.createElement("circle", {
92
92
  cx: "12",
93
93
  cy: "12",
94
94
  r: "3"
95
- })), X = (r) => /* @__PURE__ */ e.createElement("svg", {
95
+ })), X = (o) => /* @__PURE__ */ e.createElement("svg", {
96
96
  viewBox: "0 0 24 24",
97
97
  width: "20",
98
98
  height: "20",
@@ -100,7 +100,7 @@ const K = (r) => /* @__PURE__ */ e.createElement("svg", {
100
100
  stroke: "currentColor",
101
101
  strokeWidth: "1.5",
102
102
  "aria-hidden": "true",
103
- ...r
103
+ ...o
104
104
  }, /* @__PURE__ */ e.createElement("path", {
105
105
  d: "M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z"
106
106
  }), /* @__PURE__ */ e.createElement("circle", {
@@ -115,29 +115,29 @@ const K = (r) => /* @__PURE__ */ e.createElement("svg", {
115
115
  })), Y = "_control_1malj_1", ee = "_toggleButton_1malj_15", b = {
116
116
  control: Y,
117
117
  toggleButton: ee
118
- }, te = ({ content: r, locale: o }) => /* @__PURE__ */ e.createElement(x, {
119
- content: r,
120
- locale: o
121
- }), re = () => {
122
- const { t: r } = A(), o = Q(b.control);
118
+ }, te = ({ content: o, locale: r }) => /* @__PURE__ */ e.createElement(x, {
119
+ content: o,
120
+ locale: r
121
+ }), oe = () => {
122
+ const { t: o } = A(), r = J(b.control);
123
123
  return /* @__PURE__ */ e.createElement(t, null, /* @__PURE__ */ e.createElement(t.Label, {
124
124
  className: d(H, p.label)
125
125
  }, /* @__PURE__ */ e.createElement(t.Label.Required, {
126
126
  className: d(W, p.requiredMark)
127
127
  })), /* @__PURE__ */ e.createElement(t.Control, {
128
- className: o
128
+ className: r
129
129
  }, /* @__PURE__ */ e.createElement(t.Input, {
130
130
  className: d(p.innerInput, U)
131
131
  }), /* @__PURE__ */ e.createElement(t.Toggle, {
132
132
  className: b.toggleButton,
133
- showPasswordTooltipText: r("forms.widget.modals.show-password-tooltip"),
134
- hidePasswordTooltipText: r("forms.widget.modals.hide-password-tooltip")
133
+ showPasswordTooltipText: o("forms.widget.modals.show-password-tooltip"),
134
+ hidePasswordTooltipText: o("forms.widget.modals.hide-password-tooltip")
135
135
  }, ({ isVisible: l }) => l ? /* @__PURE__ */ e.createElement(X, null) : /* @__PURE__ */ e.createElement(K, null))), /* @__PURE__ */ e.createElement(t.Error, {
136
136
  className: d(Z, p.error)
137
137
  }, /* @__PURE__ */ e.createElement(j, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
138
138
  className: d(G, p.description)
139
139
  }, te));
140
- }, be = () => /* @__PURE__ */ e.createElement(re, null);
140
+ }, be = () => /* @__PURE__ */ e.createElement(oe, null);
141
141
  export {
142
142
  be as PasswordRAC
143
143
  };
@@ -1,18 +1,18 @@
1
- import r, { useCallback as P, useRef as Q } from "react";
2
- import { RicosViewer as w } from "@wix/ricos/viewer";
1
+ import r, { useCallback as P, useRef as J } from "react";
2
+ import { RicosViewer as Q } from "@wix/ricos/viewer";
3
3
  import p from "classnames";
4
- import { TextField as z, Group as J, Input as K } from "react-aria-components";
5
- import { ak as R, ah as D, ac as T, au as W, am as X } from "./form-DV231fmJ.js";
4
+ import { TextField as w, Group as z, Input as K } from "react-aria-components";
5
+ import { ak as R, ah as D, ac as T, au as W, am as X } from "./form-DQauhsho.js";
6
6
  import { f as i } from "./find-child-C60k4CxG.js";
7
- import { D as Y, E as Z } from "./field-error-headless-gLZVlnQV.js";
8
- import { L as ee } from "./field-label-headless-yc46NPmu.js";
7
+ import { D as Y, E as Z } from "./field-error-headless-D3-1L5sf.js";
8
+ import { L as ee } from "./field-label-headless-Du4ckIVy.js";
9
9
  import { f as N, g as re } from "./payment-field-utils-DobiK5Xh.js";
10
10
  import { u as te } from "./use-synced-display-value-DcAxdn3M.js";
11
11
  import { E as ne } from "./error-icon-hZxQ6DEy.js";
12
12
  import { H as ae } from "./custom-focus-class-_483Pkwp.js";
13
- import { s as d } from "./field-rac.module-DobpyqOd.js";
14
- import { C as se, S as oe, r as le, j as ce } from "./form-element-classes-BtKlobUX.js";
15
- import { u as ie } from "./use-text-input-class-name-Ch91llI_.js";
13
+ import { s as d } from "./field-rac.module-B4l_0KRU.js";
14
+ import { v as se, J as oe, o as le, j as ce } from "./form-element-classes-bLFmhsKw.js";
15
+ import { u as ie } from "./use-text-input-class-name-LQ5S-NLh.js";
16
16
  function ue(e, t) {
17
17
  return {
18
18
  productId: e.id,
@@ -58,11 +58,11 @@ const n = ({ children: e }) => {
58
58
  c,
59
59
  _,
60
60
  I
61
- ]), B = i(e, n.Label), U = i(e, n.Input), v = i(e, n.Description), H = i(e, n.Error);
61
+ ]), v = i(e, n.Label), B = i(e, n.Input), U = i(e, n.Description), H = i(e, n.Error);
62
62
  return /* @__PURE__ */ r.createElement(M, {
63
63
  fieldId: t,
64
- renderLabel: () => B,
65
- renderInput: () => /* @__PURE__ */ r.createElement(z, {
64
+ renderLabel: () => v,
65
+ renderInput: () => /* @__PURE__ */ r.createElement(w, {
66
66
  "aria-labelledby": `${q} ${G}`,
67
67
  value: a ? F : "",
68
68
  onChange: k,
@@ -72,12 +72,12 @@ const n = ({ children: e }) => {
72
72
  isInvalid: b,
73
73
  onBlur: $,
74
74
  onFocus: E
75
- }, U),
76
- renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, H, v)
75
+ }, B),
76
+ renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, H, U)
77
77
  });
78
78
  }, f = ({ children: e, className: t }) => {
79
79
  const { disabled: a, hasError: s } = R(), u = i(e, f.Currency), m = i(e, f.Value);
80
- return /* @__PURE__ */ r.createElement(J, {
80
+ return /* @__PURE__ */ r.createElement(z, {
81
81
  className: t,
82
82
  isDisabled: a,
83
83
  isInvalid: s
@@ -91,7 +91,7 @@ const n = ({ children: e }) => {
91
91
  className: e
92
92
  }, t.sign || t.code) : null;
93
93
  }, pe = ({ className: e }) => {
94
- const { id: t, placeholder: a, label: s } = R(), { inputId: u, labelId: m, prefixId: y, ariaDescribedBy: b } = D(), o = Q(null);
94
+ const { id: t, placeholder: a, label: s } = R(), { inputId: u, labelId: m, prefixId: y, ariaDescribedBy: b } = D(), o = J(null);
95
95
  return X(() => {
96
96
  var E;
97
97
  (E = o.current) == null || E.focus();
@@ -115,7 +115,7 @@ n.Error = Z;
115
115
  const de = "_inputGroup_vuy4u_1", fe = "_currency_vuy4u_14", x = {
116
116
  inputGroup: de,
117
117
  currency: fe
118
- }, Ee = ({ content: e, locale: t }) => /* @__PURE__ */ r.createElement(w, {
118
+ }, Ee = ({ content: e, locale: t }) => /* @__PURE__ */ r.createElement(Q, {
119
119
  content: e,
120
120
  locale: t
121
121
  }), Ie = () => {
@@ -1,25 +1,25 @@
1
1
  import { RicosViewer as Oe } from "@wix/ricos/viewer";
2
2
  import O from "classnames";
3
- import t, { useMemo as x, useState as B, useRef as P, useEffect as U, useCallback as oe, createContext as le, useContext as Y } from "react";
4
- import { a3 as _e, au as v, ac as ue, at as Ne, ak as M, ah as ie, am as Se } from "./form-DV231fmJ.js";
3
+ import t, { useMemo as x, useState as B, useRef as v, useEffect as U, useCallback as oe, createContext as le, useContext as Y } from "react";
4
+ import { a3 as _e, au as P, ac as ue, at as Ne, ak as M, ah as ie, am as Se } from "./form-DQauhsho.js";
5
5
  import { UNSAFE_PortalProvider as Le } from "react-aria";
6
- import { Dialog as me, OverlayTriggerStateContext as Ie, ModalOverlay as Fe, Modal as Pe, SearchField as ve, Group as G, ListBoxItem as De, DialogTrigger as Re, Select as xe, Input as Ce, ListBox as Be, Autocomplete as Me } from "react-aria-components";
6
+ import { Dialog as me, OverlayTriggerStateContext as Ie, ModalOverlay as Fe, Modal as ve, SearchField as Pe, Group as G, ListBoxItem as De, DialogTrigger as Re, Select as xe, Input as Ce, ListBox as Be, Autocomplete as Me } from "react-aria-components";
7
7
  import { f as h, a as H } from "./find-child-C60k4CxG.js";
8
- import { D as qe, E as Ae } from "./field-error-headless-gLZVlnQV.js";
9
- import { L as Te } from "./field-label-headless-yc46NPmu.js";
8
+ import { D as qe, E as Ae } from "./field-error-headless-D3-1L5sf.js";
9
+ import { L as Te } from "./field-label-headless-Du4ckIVy.js";
10
10
  import { N as $e, S as je } from "./non-modal-popover-DtIMXHbe.js";
11
11
  import { u as we } from "./use-invoke-callback-UH73A_J3.js";
12
- import { u as Ue } from "./use-is-forced-open-dropdown--w4f5dWP.js";
12
+ import { u as Ue } from "./use-is-forced-open-dropdown-B0jiPTmS.js";
13
13
  import de, { AsYouType as ke, isValidPhoneNumber as Ve, isSupportedCountry as Ge } from "libphonenumber-js";
14
14
  import "libphonenumber-js/metadata.min.json";
15
15
  import { C as re } from "./calling-country-codes-PyWuOTmF.js";
16
16
  import { C as He } from "./chevron-down-icon-CcpVm6B-.js";
17
17
  import { E as Ye } from "./error-icon-hZxQ6DEy.js";
18
18
  import { H as ae } from "./custom-focus-class-_483Pkwp.js";
19
- import { s as b } from "./field-rac.module-DobpyqOd.js";
20
- import { C as ze, S as Ke, n as We, B as Ze, E as Qe, r as Je, j as Xe } from "./form-element-classes-BtKlobUX.js";
21
- import { u as et } from "./use-dropdown-option-class-name-Bze6ghRl.js";
22
- import { u as tt } from "./use-text-input-class-name-Ch91llI_.js";
19
+ import { s as b } from "./field-rac.module-B4l_0KRU.js";
20
+ import { v as ze, J as Ke, n as We, u as Ze, x as Je, o as Qe, j as Xe } from "./form-element-classes-bLFmhsKw.js";
21
+ import { u as et } from "./use-dropdown-option-class-name-3L5ZmNLK.js";
22
+ import { u as tt } from "./use-text-input-class-name-LQ5S-NLh.js";
23
23
  function se(e) {
24
24
  const n = e ? de(e) : void 0, r = n == null ? void 0 : n.country;
25
25
  if (r)
@@ -45,7 +45,7 @@ function ce(e, n) {
45
45
  return e;
46
46
  }
47
47
  function nt() {
48
- const { t: e } = v(), { language: n } = ue();
48
+ const { t: e } = P(), { language: n } = ue();
49
49
  return x(() => Object.keys(re).reduce((o, a) => {
50
50
  const l = re[a], s = z(l), i = e(`locale-dataset.countries.${l.toUpperCase()}`);
51
51
  return s && Ge(a) && o.push({
@@ -70,7 +70,7 @@ function V(e, n) {
70
70
  return e.toLowerCase().includes(n.toLowerCase());
71
71
  }
72
72
  function at({ value: e, defaultCountryCode: n, allowedCountryCodes: r, onChange: o }) {
73
- const [a, l] = B(e || ""), s = P(k(e ?? null) ?? ""), [i, u] = B(n);
73
+ const [a, l] = B(e || ""), s = v(k(e ?? null) ?? ""), [i, u] = B(n);
74
74
  Ne(() => {
75
75
  l(""), s.current = "", u(n), o("");
76
76
  });
@@ -180,7 +180,7 @@ const pe = /* @__PURE__ */ le(null), _ = () => {
180
180
  renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, $, L)
181
181
  }));
182
182
  }, Z = ({ children: e, className: n }) => {
183
- const { inputId: r, labelId: o } = ie(), { hasError: a, disabled: l, readOnly: s } = M(), { t: i } = v(), { selectedCountryCode: u, countries: m } = _(), p = `${r}-country`, C = u ? m.find((N) => N.shortCountryCode === u) : void 0, d = C && z(C.longCountryCode) || "", E = i("field.phone.country-code.aria-label"), y = C ? `${E}, ${C.countryName}, ${d}` : E;
183
+ const { inputId: r, labelId: o } = ie(), { hasError: a, disabled: l, readOnly: s } = M(), { t: i } = P(), { selectedCountryCode: u, countries: m } = _(), p = `${r}-country`, C = u ? m.find((N) => N.shortCountryCode === u) : void 0, d = C && z(C.longCountryCode) || "", E = i("field.phone.country-code.aria-label"), y = C ? `${E}, ${C.countryName}, ${d}` : E;
184
184
  return /* @__PURE__ */ t.createElement(je, {
185
185
  isDisabled: l || s,
186
186
  id: p,
@@ -224,7 +224,7 @@ const g = ({ children: e, className: n, "aria-label": r, placement: o, offset: a
224
224
  return /* @__PURE__ */ t.createElement(Fe, {
225
225
  className: r,
226
226
  isDismissable: !0
227
- }, /* @__PURE__ */ t.createElement(a, null, /* @__PURE__ */ t.createElement(Pe, {
227
+ }, /* @__PURE__ */ t.createElement(a, null, /* @__PURE__ */ t.createElement(ve, {
228
228
  ref: s,
229
229
  className: n
230
230
  }, /* @__PURE__ */ t.createElement(me, {
@@ -268,7 +268,7 @@ g.Popover = g;
268
268
  g.Modal = lt;
269
269
  const fe = ({ className: e, children: n, "aria-label": r, ...o }) => {
270
270
  const { autoFocus: a = !0 } = o;
271
- return /* @__PURE__ */ t.createElement(ve, {
271
+ return /* @__PURE__ */ t.createElement(Pe, {
272
272
  "aria-label": r,
273
273
  autoFocus: a
274
274
  }, /* @__PURE__ */ t.createElement(G, {
@@ -320,7 +320,7 @@ q.Name = ge;
320
320
  q.Code = be;
321
321
  g.Option = q;
322
322
  const mt = ({ className: e }) => {
323
- const { t: n } = v(), { inputId: r, ariaDescribedBy: o } = ie(), { id: a, placeholder: l, disabled: s, readOnly: i, required: u, label: m, hasError: p } = M(), { currentValue: C, handlePhoneChange: d } = _(), E = P(null);
323
+ const { t: n } = P(), { inputId: r, ariaDescribedBy: o } = ie(), { id: a, placeholder: l, disabled: s, readOnly: i, required: u, label: m, hasError: p } = M(), { currentValue: C, handlePhoneChange: d } = _(), E = v(null);
324
324
  return Se(() => {
325
325
  var y;
326
326
  (y = E.current) == null || y.focus({
@@ -342,9 +342,9 @@ const mt = ({ className: e }) => {
342
342
  className: e
343
343
  });
344
344
  }, Ct = ({ children: e, className: n }) => {
345
- const r = P(null), o = P(null), a = P(!1), { id: l, disabled: s, readOnly: i, required: u, hasError: m, showFlag: p, onFocus: C, onBlur: d } = M(), [E, y] = B(!1), N = we(d), { t: S } = v(), { selectedCountryCode: A, handleCountryCodeChange: T, countries: L } = _(), $ = h(e, c.CountryButton), I = h(e, c.CountryOptions.Modal), D = I ?? h(e, c.CountryOptions.Popover), F = h(e, c.PhoneNumber), R = L.length > 1, j = Ue(l) && !I && R, Q = typeof n == "function" ? n({
345
+ const r = v(null), o = v(null), a = v(!1), { id: l, disabled: s, readOnly: i, required: u, hasError: m, showFlag: p, onFocus: C, onBlur: d } = M(), [E, y] = B(!1), N = we(d), { t: S } = P(), { selectedCountryCode: A, handleCountryCodeChange: T, countries: L } = _(), $ = h(e, c.CountryButton), I = h(e, c.CountryOptions.Modal), D = I ?? h(e, c.CountryOptions.Popover), F = h(e, c.PhoneNumber), R = L.length > 1, j = Ue(l) && !I && R, J = typeof n == "function" ? n({
346
346
  hasCountryOptions: R
347
- }) : n, J = {
347
+ }) : n, Q = {
348
348
  onFocus: () => {
349
349
  a.current || (a.current = !0, C == null || C());
350
350
  },
@@ -357,10 +357,10 @@ const mt = ({ className: e }) => {
357
357
  if (L.length === 1)
358
358
  return /* @__PURE__ */ t.createElement(G, {
359
359
  ref: r,
360
- className: Q,
360
+ className: J,
361
361
  isDisabled: s,
362
362
  isInvalid: m,
363
- ...J
363
+ ...Q
364
364
  }, p && /* @__PURE__ */ t.createElement(W, {
365
365
  longCountryCode: L[0].longCountryCode
366
366
  }), F);
@@ -371,10 +371,10 @@ const mt = ({ className: e }) => {
371
371
  }));
372
372
  return /* @__PURE__ */ t.createElement(G, {
373
373
  ref: r,
374
- className: Q,
374
+ className: J,
375
375
  isDisabled: s,
376
376
  isInvalid: m,
377
- ...J
377
+ ...Q
378
378
  }, I ? /* @__PURE__ */ t.createElement(Re, null, X) : /* @__PURE__ */ t.createElement(xe, {
379
379
  "aria-label": S("field.phone.country-code.aria-label"),
380
380
  value: A ?? null,
@@ -414,7 +414,7 @@ const dt = (e) => /* @__PURE__ */ t.createElement("svg", {
414
414
  }, /* @__PURE__ */ t.createElement("path", {
415
415
  fillRule: "evenodd",
416
416
  d: "M6.6108,14.3887 C5.5718,13.3497 4.9998,11.9687 4.9998,10.4997 C4.9998,9.0317 5.5718,7.6507 6.6108,6.6117 C7.6498,5.5727 9.0308,4.9997 10.4998,4.9997 C11.9688,4.9997 13.3498,5.5727 14.3888,6.6117 C15.4278,7.6507 15.9998,9.0317 15.9998,10.4997 C15.9998,11.9687 15.4278,13.3497 14.3888,14.3887 C13.3498,15.4277 11.9688,15.9997 10.4998,15.9997 C9.0308,15.9997 7.6498,15.4277 6.6108,14.3887 L6.6108,14.3887 Z M20.0028,19.2957 L15.4328,14.7247 C16.4438,13.5477 16.9998,12.0687 16.9998,10.4997 C16.9998,8.7637 16.3238,7.1317 15.0958,5.9047 C13.8688,4.6767 12.2358,3.9997 10.4998,3.9997 C8.7638,3.9997 7.1318,4.6767 5.9038,5.9047 C4.6758,7.1317 3.9998,8.7637 3.9998,10.4997 C3.9998,12.2367 4.6758,13.8677 5.9038,15.0957 C7.1318,16.3237 8.7638,16.9997 10.4998,16.9997 C12.0688,16.9997 13.5478,16.4437 14.7258,15.4317 L19.2958,20.0027 L20.0028,19.2957 Z"
417
- })), yt = "_control_124jq_1", Et = "_countryButton_124jq_9", ft = "_chevron_124jq_25", ht = "_globeIcon_124jq_34", gt = "_searchIcon_124jq_35", bt = "_flag_124jq_44", Ot = "_phoneNumber_124jq_59", _t = "_countryOptions_124jq_85", Nt = "_option_124jq_93", St = "_countrySearch_124jq_102", Lt = "_mobileDrawer_124jq_110", It = "_name_124jq_119", Ft = "_code_124jq_123", Pt = "_mobileOverlay_124jq_140", f = {
417
+ })), yt = "_control_124jq_1", Et = "_countryButton_124jq_9", ft = "_chevron_124jq_25", ht = "_globeIcon_124jq_34", gt = "_searchIcon_124jq_35", bt = "_flag_124jq_44", Ot = "_phoneNumber_124jq_59", _t = "_countryOptions_124jq_85", Nt = "_option_124jq_93", St = "_countrySearch_124jq_102", Lt = "_mobileDrawer_124jq_110", It = "_name_124jq_119", Ft = "_code_124jq_123", vt = "_mobileOverlay_124jq_140", f = {
418
418
  control: yt,
419
419
  countryButton: Et,
420
420
  chevron: ft,
@@ -428,15 +428,15 @@ const dt = (e) => /* @__PURE__ */ t.createElement("svg", {
428
428
  mobileDrawer: Lt,
429
429
  name: It,
430
430
  code: Ft,
431
- mobileOverlay: Pt
432
- }, vt = ({ content: e, locale: n }) => /* @__PURE__ */ t.createElement(Oe, {
431
+ mobileOverlay: vt
432
+ }, Pt = ({ content: e, locale: n }) => /* @__PURE__ */ t.createElement(Oe, {
433
433
  content: e,
434
434
  locale: n
435
435
  }), Dt = () => /* @__PURE__ */ t.createElement("span", {
436
436
  className: f.chevron,
437
437
  "aria-hidden": "true"
438
438
  }, /* @__PURE__ */ t.createElement(He, null)), Xt = () => {
439
- const e = et(b.selectOptionWithoutFocusRing, f.option, ae), n = tt(f.countrySearch), { t: r } = v(), { isMobile: o, PortalContainer: a } = ue(), l = /* @__PURE__ */ t.createElement(c.CountryOptions.Search, {
439
+ const e = et(b.selectOptionWithoutFocusRing, f.option, ae), n = tt(f.countrySearch), { t: r } = P(), { isMobile: o, PortalContainer: a } = ue(), l = /* @__PURE__ */ t.createElement(c.CountryOptions.Search, {
440
440
  className: n,
441
441
  "aria-label": r("field.phone.country-search-input.aria-label")
442
442
  }, /* @__PURE__ */ t.createElement(pt, {
@@ -473,15 +473,15 @@ const dt = (e) => /* @__PURE__ */ t.createElement("svg", {
473
473
  portalContainer: a,
474
474
  "aria-label": r("field.phone.country-code.aria-label")
475
475
  }, l, s, i) : /* @__PURE__ */ t.createElement(c.CountryOptions.Popover, {
476
- className: O(Qe, b.selectPopover, f.countryOptions),
476
+ className: O(Je, b.selectPopover, f.countryOptions),
477
477
  placement: "bottom start",
478
478
  offset: 0,
479
479
  "aria-label": r("field.phone.country-code.aria-label")
480
480
  }, l, s, i)), /* @__PURE__ */ t.createElement(c.Error, {
481
- className: O(Je, b.error)
481
+ className: O(Qe, b.error)
482
482
  }, /* @__PURE__ */ t.createElement(Ye, null), /* @__PURE__ */ t.createElement(c.Error.Text, null)), /* @__PURE__ */ t.createElement(c.Description, {
483
483
  className: O(Xe, b.description)
484
- }, vt));
484
+ }, Pt));
485
485
  };
486
486
  export {
487
487
  Xt as P
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { P as o } from "./phone-input-field-rac-B-k2e0Np.js";
2
+ import { P as o } from "./phone-input-field-rac-JmIFcP1e.js";
3
3
  const r = () => /* @__PURE__ */ e.createElement(o, null);
4
4
  export {
5
5
  r as PhoneRAC
@@ -1,21 +1,21 @@
1
1
  import t, { useMemo as K, useCallback as x, useRef as B } from "react";
2
2
  import { RicosViewer as $ } from "@wix/ricos/viewer";
3
3
  import _ from "classnames";
4
- import { CheckboxField as z, CheckboxButton as j, NumberField as J, Group as X, Button as U, Input as W } from "react-aria-components";
5
- import { ak as k, ah as Y, ac as w, au as Z, am as ee } from "./form-DV231fmJ.js";
4
+ import { CheckboxField as G, CheckboxButton as j, NumberField as J, Group as X, Button as U, Input as W } from "react-aria-components";
5
+ import { ak as k, ah as Y, ac as w, au as Z, am as ee } from "./form-DQauhsho.js";
6
6
  import { f as O, a as I } from "./find-child-C60k4CxG.js";
7
- import { L as te, g as ne } from "./field-label-headless-yc46NPmu.js";
7
+ import { L as te, g as ne } from "./field-label-headless-Du4ckIVy.js";
8
8
  import { f as ae } from "./format-currency-BwShJ9vM.js";
9
- import { D as oe, E as re } from "./field-error-headless-gLZVlnQV.js";
9
+ import { D as oe, E as re } from "./field-error-headless-D3-1L5sf.js";
10
10
  import { F as le } from "./fieldset-headless-CD3fds9J.js";
11
11
  import { g as se } from "./payment-field-utils-DobiK5Xh.js";
12
12
  import { S as ie } from "./selection-indicator-XQ8MYHUQ.js";
13
13
  import { E as ce } from "./error-icon-hZxQ6DEy.js";
14
- import { C as ue } from "./checkbox-indicator-module-classes-DhbNznSB.js";
15
- import { s as T } from "./field-rac.module-DobpyqOd.js";
16
- import { C as me, S as pe, G as de, J as Ee, I as ye, B as fe, r as _e, j as Ie, H as Oe } from "./form-element-classes-BtKlobUX.js";
14
+ import { C as ue } from "./checkbox-indicator-module-classes-BpeSpGsW.js";
15
+ import { s as T } from "./field-rac.module-B4l_0KRU.js";
16
+ import { v as me, J as pe, y as de, C as Ee, B as ye, u as fe, o as _e, j as Ie, z as Oe } from "./form-element-classes-bLFmhsKw.js";
17
17
  import { o as Q } from "./options-rac.module-CTDdATiz.js";
18
- import { u as be } from "./use-element-state-class-name-4CDAF1S-.js";
18
+ import { u as be } from "./use-element-state-class-name-BatTc2bw.js";
19
19
  var Le = /* @__PURE__ */ (function(e) {
20
20
  return e.crop = "CROP", e.fit = "FIT", e;
21
21
  })({}), M = /* @__PURE__ */ (function(e) {
@@ -32,11 +32,11 @@ const o = ({ children: e }) => {
32
32
  const { id: a, value: l, onChange: n, disabled: r, readOnly: c, required: y, onBlur: b, onFocus: s, hasError: u, validation: m, FieldLayout: p } = k(), { inputId: q, labelId: N, ariaDescribedBy: h } = Y(), f = O(e, o.Label), g = O(e, o.Options), v = O(e, o.Description), L = O(e, o.Error), i = K(() => l || [], [
33
33
  l
34
34
  ]), A = Ce((D = m == null ? void 0 : m.predefined) == null ? void 0 : D.paymentOptions) === M.many, F = x((S, R) => {
35
- const d = i.filter((G) => G.productId !== S.productId), H = R ? [
35
+ const d = i.filter((H) => H.productId !== S.productId), z = R ? [
36
36
  ...d,
37
37
  S
38
38
  ] : d;
39
- n == null || n(H);
39
+ n == null || n(z);
40
40
  }, [
41
41
  i,
42
42
  n
@@ -131,7 +131,7 @@ const o = ({ children: e }) => {
131
131
  hasError: p,
132
132
  ariaLabel: R,
133
133
  inputRef: h ? v : void 0
134
- }) : null) : /* @__PURE__ */ t.createElement(z, {
134
+ }) : null) : /* @__PURE__ */ t.createElement(G, {
135
135
  isSelected: y,
136
136
  onChange: D,
137
137
  isDisabled: u,
@@ -0,0 +1,6 @@
1
+ import o from "react";
2
+ import { R as r } from "./radio-group-field-rac-CJwku6e0.js";
3
+ const i = () => /* @__PURE__ */ o.createElement(r, null);
4
+ export {
5
+ i as QuizRadioGroupRAC
6
+ };