@wix/form-elements 1.63.0 → 1.65.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 (112) hide show
  1. package/dist/component/{appointment-rac-B1VVk_Ui.js → appointment-rac-0kUk8XQJ.js} +5 -5
  2. package/dist/component/{bookings-address-rac-IQeHFdHT.js → bookings-address-rac-BUM0wpw0.js} +1 -1
  3. package/dist/component/{bookings-email-rac-z26A790r.js → bookings-email-rac-BHlvupVS.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-Djf0GPP4.js → bookings-first-name-rac-Bwn6xv1U.js} +1 -1
  5. package/dist/component/{bookings-header-rac-CXOzAOpz.js → bookings-header-rac-BkRvQMi4.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-CbB8alM9.js → bookings-last-name-rac-DRTj4VdX.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CXrLx7Pn.js → bookings-login-bar-rac-D-2Bt7Kx.js} +5 -5
  8. package/dist/component/{bookings-phone-rac-DGYx7h5g.js → bookings-phone-rac-CTcHHpDr.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-viJG57XF.js → bookings-rich-text-rac-n-w9iWII.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-e-RAmupX.js → checkbox-field-rac-BamOJv3P.js} +43 -43
  11. package/dist/component/checkbox-group-field-headless-BmKJbEi0.js +210 -0
  12. package/dist/component/checkbox-group-field-rac-CC8qfj0Y.js +40 -0
  13. package/dist/component/{checkbox-group-rac-CDfDTWqz.js → checkbox-group-rac-CsrP7zD5.js} +1 -1
  14. package/dist/component/{checkbox-rac-BRBKYD_5.js → checkbox-rac-X6E-fJ8k.js} +1 -1
  15. package/dist/component/{contacts-address-rac-BtWWQi77.js → contacts-address-rac-oYnkIZ6m.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DaEUXJTf.js → contacts-birthdate-rac-B7p8LgYA.js} +1 -1
  17. package/dist/component/{contacts-company-rac-IgRyjtcM.js → contacts-company-rac-cjLRO5J-.js} +1 -1
  18. package/dist/component/{contacts-email-rac-BS1MDrMk.js → contacts-email-rac-BlJJSkGK.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-BAvXypDF.js → contacts-first-name-rac-Nl-MDndn.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-C289RYPl.js → contacts-last-name-rac-DhxAobRI.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-DIpyskam.js → contacts-phone-rac-CZLWlH0T.js} +1 -1
  22. package/dist/component/{contacts-position-rac-nPeh3lKU.js → contacts-position-rac-DlKC0lCU.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-Ci5OLk68.js → contacts-subscribe-rac-POSKh1Ta.js} +2 -2
  24. package/dist/component/{contacts-tax-id-rac-C4WB-SR0.js → contacts-tax-id-rac-uyBKxOJn.js} +1 -1
  25. package/dist/component/{date-availability-HHjPx4Uv.js → date-availability-DnFJD1aS.js} +1 -1
  26. package/dist/component/{date-input-field-rac-GFgFcpX2.js → date-input-field-rac-DojzGm-i.js} +22 -22
  27. package/dist/component/{date-input-rac-B9BUEIA-.js → date-input-rac-BaPKcAuU.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-BfjYIIuY.js → date-picker-field-rac-C1rzJMV8.js} +24 -24
  29. package/dist/component/{date-picker-rac-Bd2UN0ZF.js → date-picker-rac-BHsOfkYn.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-CAXnxLQP.js → date-time-input-field-rac-B4jAAxU8.js} +32 -32
  31. package/dist/component/{date-time-input-rac-BuJ3Awlh.js → date-time-input-rac-XyL5z_ma.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-DKp4cBVa.js → dext-checkbox-group-rac-DzpdOP3i.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-BMu_k06A.js → dext-checkbox-rac-BUWkvW5s.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-L3sdldhT.js → dext-date-picker-rac-CR0PUoOn.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-UmabFzDN.js → dext-date-time-input-rac-D3WhLSKK.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-DbjgYaG-.js → dext-dropdown-rac-BJ1UfAIM.js} +1 -1
  37. package/dist/component/{dext-email-rac-rNudrOOK.js → dext-email-rac-xk_5C79-.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-hw1FTrJL.js → dext-number-input-rac-Cu1Sqoac.js} +1 -1
  39. package/dist/component/{dext-phone-rac-DrZ_Vwv2.js → dext-phone-rac-S34qxXwg.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-DAt2ax-I.js → dext-radio-group-rac-DXnAk_eU.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-BW2Ike11.js → dext-rating-input-rac-ewGpgB63.js} +1 -1
  42. package/dist/component/{dext-tags-rac-DDzwlKrR.js → dext-tags-rac-BApZKGqP.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-D0xf4z3z.js → dext-text-area-rac-DBtuaiwM.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-Da04OLmq.js → dext-text-input-rac-qI8VECmA.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-B-g4xTqh.js → dext-url-input-rac-C6vzqNjn.js} +1 -1
  46. package/dist/component/donation-rac-BDVKvG4j.js +302 -0
  47. package/dist/component/{dropdown-field-headless-Js5TxdU4.js → dropdown-field-headless-DBl8vGed.js} +16 -16
  48. package/dist/component/{dropdown-field-rac-BDxcvX00.js → dropdown-field-rac-O6G7_kSn.js} +9 -9
  49. package/dist/component/{dropdown-rac-B5UHNzV-.js → dropdown-rac-BImZ5Jwe.js} +1 -1
  50. package/dist/component/{ecom-address-rac-0zm4bX37.js → ecom-address-rac-BU4XZ_Do.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-DCXoI33l.js → ecom-subscription-checkbox-rac-DLzpoNYm.js} +3 -3
  52. package/dist/component/{email-input-field-rac-svf6hUHF.js → email-input-field-rac-Ui0p35z5.js} +45 -45
  53. package/dist/component/{events-repeater-rac-DMIqzuVK.js → events-repeater-rac-bPKOOOit.js} +49 -49
  54. package/dist/component/{events-rsvp-rac-B_YD4ckO.js → events-rsvp-rac-lsRBBfPQ.js} +3 -3
  55. package/dist/component/{field-error-headless-DTKnr5Zx.js → field-error-headless-D6iejMQP.js} +3 -3
  56. package/dist/component/{field-label-headless-DV4aNd5Y.js → field-label-headless-BWLfU3YB.js} +4 -4
  57. package/dist/component/field-rac.module-DnUIb9Oh.js +21 -0
  58. package/dist/component/{file-upload-rac-lGKJjG3m.js → file-upload-rac-DqKL8QQZ.js} +116 -116
  59. package/dist/component/{fixed-payment-rac-BVS6glii.js → fixed-payment-rac-BDtRB8w2.js} +14 -14
  60. package/dist/component/{form-DzjdnO7t.js → form-CtWkUmxc.js} +1563 -1556
  61. package/dist/component/form-element-classes-BSMjWijd.js +63 -0
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +1 -1
  64. package/dist/component/{header-field-rac-tzBH-8Yh.js → header-field-rac-BLM8RCDY.js} +7 -7
  65. package/dist/component/{header-rac-6thQAvVF.js → header-rac-DViRwafg.js} +1 -1
  66. package/dist/component/image-choice-rac-D76t2y-b.js +141 -0
  67. package/dist/component/{index-Lnx0829a.js → index--iRBHLXJ.js} +4 -4
  68. package/dist/component/{index-DIP7KB8P.js → index-pEItT2oo.js} +2 -2
  69. package/dist/component/{isObjectLike-B_1KizZV.js → isObjectLike-968AHV2b.js} +1 -1
  70. package/dist/component/{multiline-address-field-rac-BY2SUp2d.js → multiline-address-field-rac-CObOc8KE.js} +82 -82
  71. package/dist/component/{multiline-address-rac-BL8Yp4F0.js → multiline-address-rac-1qVZkN41.js} +1 -1
  72. package/dist/component/{number-input-field-rac-x0yFmXbe.js → number-input-field-rac-CPQ3u0N7.js} +19 -19
  73. package/dist/component/{number-input-rac-pJXc2YsD.js → number-input-rac-Bq1UyUPZ.js} +1 -1
  74. package/dist/component/{password-rac-B4XCP64b.js → password-rac-BZPK1VkN.js} +15 -15
  75. package/dist/component/{payment-input-rac-CZdOAjK4.js → payment-input-rac-CQrV0WmN.js} +28 -28
  76. package/dist/component/{phone-input-field-rac-DO_V5Z_T.js → phone-input-field-rac-DzUE1-RF.js} +39 -39
  77. package/dist/component/{phone-rac-D16nLDjP.js → phone-rac-BovOZ7V5.js} +1 -1
  78. package/dist/component/{product-list-rac-DER8gVqy.js → product-list-rac-CeGm1_WN.js} +71 -71
  79. package/dist/component/quiz-radio-group-rac-Lw2thQqC.js +13 -0
  80. package/dist/component/{radio-group-field-rac-Dt2pU0VV.js → radio-group-field-rac-BSVmjEgZ.js} +8 -8
  81. package/dist/component/{radio-group-field-rac.module--sO0VqCA.js → radio-group-field-rac.module-Cb3mm0f2.js} +7 -7
  82. package/dist/component/{radio-group-rac-CqCmtkNQ.js → radio-group-rac-BHhOCSQ2.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-xDrHHcL2.js → rating-input-field-rac-BvbBZZDO.js} +31 -31
  84. package/dist/component/{rating-input-rac-Bo5E9N87.js → rating-input-rac-DDe1EBpt.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-CJXbNca9.js → rich-content-rac.module-BacYkzEv.js} +1 -1
  86. package/dist/component/{rich-text-field-rac-CkV0Z9F-.js → rich-text-field-rac-D1W0mUjr.js} +3 -3
  87. package/dist/component/{rich-text-rac-59DbKpXz.js → rich-text-rac-B-cOn0RU.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-BLnflnUr.js → service-dropdown-rac-CebfMkGP.js} +41 -41
  89. package/dist/component/services-multi-choice-rac-C4bF1xhB.js +76 -0
  90. package/dist/component/{signature-rac-Bb5IaS28.js → signature-rac-DWWT65Ez.js} +48 -48
  91. package/dist/component/{submit-button-rac-Bjyi8sUA.js → submit-button-rac-_mgn4ChE.js} +6 -6
  92. package/dist/component/{tags-field-rac-C_VO3_69.js → tags-field-rac-7coCWj0y.js} +39 -39
  93. package/dist/component/{tags-rac-CKiutCWe.js → tags-rac-rgsn8Os0.js} +1 -1
  94. package/dist/component/{text-area-field-rac-Cg-vIhFe.js → text-area-field-rac-5lUQxnNM.js} +15 -15
  95. package/dist/component/{text-area-rac-tMFx38UD.js → text-area-rac-DpGOBzN3.js} +1 -1
  96. package/dist/component/{text-input-field-rac-CgN_2hOD.js → text-input-field-rac-CgWadDfM.js} +6 -6
  97. package/dist/component/{text-input-headless-CkhvKrFp.js → text-input-headless-fhxuPytc.js} +11 -11
  98. package/dist/component/{text-input-rac-BsyBgd3b.js → text-input-rac-kgWS3UUV.js} +1 -1
  99. package/dist/component/{time-input-rac-BxRVJtHE.js → time-input-rac-CuLUJcBH.js} +34 -34
  100. package/dist/component/{url-input-field-rac-B_1yVniS.js → url-input-field-rac-CAGHb2na.js} +22 -22
  101. package/dist/component/{url-input-rac-D8VrKYVe.js → url-input-rac-s5_SVi0h.js} +1 -1
  102. package/dist/component/{use-service-options-base-Ci9gIluo.js → use-service-options-base-CYAEJ75H.js} +6 -6
  103. package/dist/form.d.ts +3 -1
  104. package/package.json +2 -2
  105. package/dist/component/checkbox-group-field-headless-Cvia4lL6.js +0 -204
  106. package/dist/component/checkbox-group-field-rac-BXxk90dk.js +0 -33
  107. package/dist/component/donation-rac-gKeq72jg.js +0 -305
  108. package/dist/component/field-rac.module-DtugsLiL.js +0 -21
  109. package/dist/component/form-element-classes-Bi-nNM8q.js +0 -55
  110. package/dist/component/image-choice-rac-Dx1b-saW.js +0 -141
  111. package/dist/component/quiz-radio-group-rac-BgTmHHi4.js +0 -13
  112. package/dist/component/services-multi-choice-rac-C-bFjwx8.js +0 -76
@@ -1,19 +1,19 @@
1
1
  import { RicosViewer as v } from "@wix/ricos/viewer";
2
2
  import m from "classnames";
3
- import r, { useState as U, useCallback as j, useEffect as H, useRef as Q } from "react";
4
- import { NumberField as $, Input as z } from "react-aria-components";
5
- import { ah as C, ae as S, ar as G, aj as J } from "./form-DzjdnO7t.js";
3
+ import r, { useState as U, useCallback as j, useEffect as z, useRef as Q } from "react";
4
+ import { NumberField as $, Input as G } from "react-aria-components";
5
+ import { ai as C, af as S, as as H, ak as J } from "./form-CtWkUmxc.js";
6
6
  import { f as d } from "./find-child-C60k4CxG.js";
7
- import { D as K, E as W } from "./field-error-headless-DTKnr5Zx.js";
8
- import { L as X } from "./field-label-headless-DV4aNd5Y.js";
7
+ import { D as K, E as W } from "./field-error-headless-D6iejMQP.js";
8
+ import { L as X } from "./field-label-headless-BWLfU3YB.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 i } from "./field-rac.module-DtugsLiL.js";
13
- import { r as re, H as te, q as ne, l as ae, h as se } from "./form-element-classes-Bi-nNM8q.js";
12
+ import { s as i } from "./field-rac.module-DnUIb9Oh.js";
13
+ import { z as re, P as te, y as ne, q as ae, j as se } from "./form-element-classes-BSMjWijd.js";
14
14
  const e = ({ children: n }) => {
15
15
  var D, L, R;
16
- const { id: a, value: s, onChange: l, disabled: p, required: E, readOnly: o, onBlur: b, onFocus: f, FieldLayout: u, hasError: c, validation: t } = C(), { labelId: A } = S(), F = ((D = t == null ? void 0 : t.number) == null ? void 0 : D.multipleOf) || 1, h = (L = t == null ? void 0 : t.number) == null ? void 0 : L.maximum, y = (R = t == null ? void 0 : t.number) == null ? void 0 : R.minimum, q = _(s), [M, I] = U(q), T = w(b), V = d(n, e.Label), g = d(n, e.Input), x = d(n, e.Description), k = d(n, e.Error), B = j((N) => {
16
+ const { id: a, value: s, onChange: l, disabled: p, required: E, readOnly: o, onBlur: b, onFocus: f, FieldLayout: u, hasError: c, validation: t } = C(), { labelId: y } = S(), F = ((D = t == null ? void 0 : t.number) == null ? void 0 : D.multipleOf) || 1, A = (L = t == null ? void 0 : t.number) == null ? void 0 : L.maximum, q = (R = t == null ? void 0 : t.number) == null ? void 0 : R.minimum, M = _(s), [T, I] = U(M), V = w(b), g = d(n, e.Label), h = d(n, e.Input), k = d(n, e.Description), x = d(n, e.Error), B = j((N) => {
17
17
  if (N === void 0 || Number.isNaN(N)) {
18
18
  l(""), I(NaN);
19
19
  return;
@@ -24,37 +24,37 @@ const e = ({ children: n }) => {
24
24
  F,
25
25
  l
26
26
  ]);
27
- return H(() => {
27
+ return z(() => {
28
28
  I(_(s));
29
29
  }, [
30
30
  s
31
31
  ]), /* @__PURE__ */ r.createElement(u, {
32
32
  fieldId: a,
33
- renderLabel: () => V,
33
+ renderLabel: () => g,
34
34
  renderInput: () => /* @__PURE__ */ r.createElement($, {
35
- "aria-labelledby": A,
36
- value: M,
35
+ "aria-labelledby": y,
36
+ value: T,
37
37
  onChange: B,
38
38
  isDisabled: p,
39
39
  isRequired: E,
40
40
  isReadOnly: o,
41
41
  isInvalid: c,
42
- onBlur: T,
42
+ onBlur: V,
43
43
  onFocus: f,
44
- minValue: y ?? void 0,
45
- maxValue: h ?? void 0
46
- }, g),
47
- renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, k, x)
44
+ minValue: q ?? void 0,
45
+ maxValue: A ?? void 0
46
+ }, h),
47
+ renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, x, k)
48
48
  });
49
49
  }, le = ({ className: n }) => {
50
50
  var c;
51
- const { t: a } = G(), { inputId: s, ariaDescribedBy: l } = S(), { id: p, placeholder: E, validation: o, label: b, required: f } = C();
51
+ const { t: a } = H(), { inputId: s, ariaDescribedBy: l } = S(), { id: p, placeholder: E, validation: o, label: b, required: f } = C();
52
52
  (c = o == null ? void 0 : o.number) != null && c.multipleOf;
53
53
  const u = Q(null);
54
54
  return J(() => {
55
55
  var t;
56
56
  (t = u.current) == null || t.focus();
57
- }, p), /* @__PURE__ */ r.createElement(z, {
57
+ }, p), /* @__PURE__ */ r.createElement(G, {
58
58
  ref: u,
59
59
  id: s,
60
60
  "aria-describedby": l,
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { N as r } from "./number-input-field-rac-x0yFmXbe.js";
2
+ import { N as r } from "./number-input-field-rac-CPQ3u0N7.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  n as NumberInputRAC
@@ -1,17 +1,17 @@
1
- import e, { useState as w, useRef as N } from "react";
1
+ import e, { useState as h, useRef as N } from "react";
2
2
  import { RicosViewer as O } from "@wix/ricos/viewer";
3
3
  import d from "classnames";
4
- import { ah as p, ae as I, aj as x, ar as A } from "./form-DzjdnO7t.js";
4
+ import { ai as p, af as I, ak as x, as as A } from "./form-CtWkUmxc.js";
5
5
  import { TextField as B, Group as P, Input as V, Button as v } from "react-aria-components";
6
6
  import { f as E, a as g } from "./find-child-C60k4CxG.js";
7
- import { D as M, E as k } from "./field-error-headless-DTKnr5Zx.js";
8
- import { L as q } from "./field-label-headless-DV4aNd5Y.js";
7
+ import { D as M, E as k } from "./field-error-headless-D6iejMQP.js";
8
+ import { L as q } from "./field-label-headless-BWLfU3YB.js";
9
9
  import { E as U } from "./error-icon-hZxQ6DEy.js";
10
10
  import { H as j } from "./custom-focus-class-_483Pkwp.js";
11
- import { s as u } from "./field-rac.module-DtugsLiL.js";
12
- import { r as H, H as W, q as Z, l as G, h as Q } from "./form-element-classes-Bi-nNM8q.js";
11
+ import { s as u } from "./field-rac.module-DnUIb9Oh.js";
12
+ import { z as H, P as W, y as Z, q as z, j as G } from "./form-element-classes-BSMjWijd.js";
13
13
  const t = ({ children: r, className: o }) => {
14
- const { id: i, value: s, onChange: c, disabled: l, readOnly: m, required: n, hasError: a, onBlur: f, onFocus: _, FieldLayout: y } = p(), { labelId: C } = I(), [F, L] = w(!1), R = E(r, t.Label), D = E(r, t.Control), T = E(r, t.Description), h = E(r, t.Error);
14
+ const { id: i, value: s, onChange: c, disabled: l, readOnly: m, required: n, hasError: a, onBlur: f, onFocus: _, FieldLayout: y } = p(), { labelId: C } = I(), [F, L] = h(!1), R = E(r, t.Label), D = E(r, t.Control), T = E(r, t.Description), S = E(r, t.Error);
15
15
  return /* @__PURE__ */ e.createElement(y, {
16
16
  fieldId: i,
17
17
  renderLabel: () => R,
@@ -28,11 +28,11 @@ const t = ({ children: r, className: o }) => {
28
28
  className: o
29
29
  }, g(D, {
30
30
  isVisible: F,
31
- onToggleVisibility: () => L((S) => !S)
31
+ onToggleVisibility: () => L((w) => !w)
32
32
  })),
33
- renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, T, h)
33
+ renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, T, S)
34
34
  });
35
- }, $ = ({ children: r, className: o, ...i }) => {
35
+ }, Q = ({ children: r, className: o, ...i }) => {
36
36
  const { isVisible: s, onToggleVisibility: c } = i, { disabled: l, hasError: m } = p(), n = E(r, t.Input), a = E(r, t.Toggle);
37
37
  return /* @__PURE__ */ e.createElement(P, {
38
38
  className: o,
@@ -44,7 +44,7 @@ const t = ({ children: r, className: o }) => {
44
44
  isVisible: s,
45
45
  onToggleVisibility: c
46
46
  }));
47
- }, z = ({ className: r, ...o }) => {
47
+ }, $ = ({ className: r, ...o }) => {
48
48
  const { isVisible: i } = o, { id: s, placeholder: c } = p(), { inputId: l, ariaDescribedBy: m } = I(), n = N(null);
49
49
  return x(() => {
50
50
  var a;
@@ -71,8 +71,8 @@ const t = ({ children: r, className: o }) => {
71
71
  }));
72
72
  };
73
73
  t.Label = q;
74
- t.Control = $;
75
- t.Input = z;
74
+ t.Control = Q;
75
+ t.Input = $;
76
76
  t.Toggle = J;
77
77
  t.Description = M;
78
78
  t.Error = k;
@@ -132,9 +132,9 @@ const K = (r) => /* @__PURE__ */ e.createElement("svg", {
132
132
  showPasswordTooltipText: r("forms.widget.modals.show-password-tooltip"),
133
133
  hidePasswordTooltipText: r("forms.widget.modals.hide-password-tooltip")
134
134
  }, ({ isVisible: o }) => o ? /* @__PURE__ */ e.createElement(X, null) : /* @__PURE__ */ e.createElement(K, null))), /* @__PURE__ */ e.createElement(t.Error, {
135
- className: d(G, u.error)
135
+ className: d(z, u.error)
136
136
  }, /* @__PURE__ */ e.createElement(U, null), /* @__PURE__ */ e.createElement(t.Error.Text, null)), /* @__PURE__ */ e.createElement(t.Description, {
137
- className: d(Q, u.description)
137
+ className: d(G, u.description)
138
138
  }, te));
139
139
  }, ge = () => /* @__PURE__ */ e.createElement(re, null);
140
140
  export {
@@ -1,17 +1,17 @@
1
- import r, { useCallback as V, useRef as Q } from "react";
2
- import { RicosViewer as w } from "@wix/ricos/viewer";
1
+ import r, { useCallback as V, useRef as z } from "react";
2
+ import { RicosViewer as Q } from "@wix/ricos/viewer";
3
3
  import i from "classnames";
4
- import { TextField as z, Group as J, Input as K } from "react-aria-components";
5
- import { ah as D, ae as S, ab as x, ar as W, aj as X } from "./form-DzjdnO7t.js";
4
+ import { TextField as w, Group as J, Input as K } from "react-aria-components";
5
+ import { ai as D, af as S, ab as x, as as W, ak as X } from "./form-CtWkUmxc.js";
6
6
  import { f as m } from "./find-child-C60k4CxG.js";
7
- import { D as Y, E as Z } from "./field-error-headless-DTKnr5Zx.js";
8
- import { L as ee } from "./field-label-headless-DV4aNd5Y.js";
7
+ import { D as Y, E as Z } from "./field-error-headless-D6iejMQP.js";
8
+ import { L as ee } from "./field-label-headless-BWLfU3YB.js";
9
9
  import { f as R, 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 u } from "./field-rac.module-DtugsLiL.js";
14
- import { r as se, H as oe, q as le, l as ce, h as ie } from "./form-element-classes-Bi-nNM8q.js";
13
+ import { s as u } from "./field-rac.module-DnUIb9Oh.js";
14
+ import { z as se, P as oe, y as le, q as ce, j as ie } from "./form-element-classes-BSMjWijd.js";
15
15
  function ue(e, t) {
16
16
  return {
17
17
  productId: e.id,
@@ -26,8 +26,8 @@ function h(e) {
26
26
  return Number.isNaN(t) ? void 0 : t;
27
27
  }
28
28
  const n = ({ children: e }) => {
29
- var O, A, g, P;
30
- const { id: t, value: a, onChange: s, disabled: p, readOnly: d, required: y, hasError: b, onBlur: o, onFocus: f, FieldLayout: M, validation: _ } = D(), { labelId: q, prefixId: G } = S(), { regionalFormat: c } = x(), N = (g = (A = (O = _ == null ? void 0 : _.predefined) == null ? void 0 : O.paymentOptions) == null ? void 0 : A.products) == null ? void 0 : g[0], C = (P = a == null ? void 0 : a.at(0)) == null ? void 0 : P.price, [F, I] = te({
29
+ var O, A, P, g;
30
+ const { id: t, value: a, onChange: s, disabled: p, readOnly: d, required: y, hasError: b, onBlur: o, onFocus: E, FieldLayout: M, validation: _ } = D(), { labelId: q, prefixId: G } = S(), { regionalFormat: c } = x(), N = (P = (A = (O = _ == null ? void 0 : _.predefined) == null ? void 0 : O.paymentOptions) == null ? void 0 : A.products) == null ? void 0 : P[0], C = (g = a == null ? void 0 : a.at(0)) == null ? void 0 : g.price, [F, I] = te({
31
31
  sourceValue: C,
32
32
  format: (l) => R(String(l ?? ""), c),
33
33
  regionalFormat: c
@@ -57,11 +57,11 @@ const n = ({ children: e }) => {
57
57
  c,
58
58
  C,
59
59
  I
60
- ]), B = m(e, n.Label), H = m(e, n.Input), k = m(e, n.Description), v = m(e, n.Error);
60
+ ]), k = m(e, n.Label), B = m(e, n.Input), v = m(e, n.Description), H = m(e, n.Error);
61
61
  return /* @__PURE__ */ r.createElement(M, {
62
62
  fieldId: t,
63
- renderLabel: () => B,
64
- renderInput: () => /* @__PURE__ */ r.createElement(z, {
63
+ renderLabel: () => k,
64
+ renderInput: () => /* @__PURE__ */ r.createElement(w, {
65
65
  "aria-labelledby": `${q} ${G}`,
66
66
  value: a ? F : "",
67
67
  onChange: U,
@@ -70,12 +70,12 @@ const n = ({ children: e }) => {
70
70
  isRequired: y,
71
71
  isInvalid: b,
72
72
  onBlur: $,
73
- onFocus: f
74
- }, H),
75
- renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, v, k)
73
+ onFocus: E
74
+ }, B),
75
+ renderDescription: () => /* @__PURE__ */ r.createElement(r.Fragment, null, H, v)
76
76
  });
77
- }, E = ({ children: e, className: t }) => {
78
- const { disabled: a, hasError: s } = D(), p = m(e, E.Currency), d = m(e, E.Value);
77
+ }, f = ({ children: e, className: t }) => {
78
+ const { disabled: a, hasError: s } = D(), p = m(e, f.Currency), d = m(e, f.Value);
79
79
  return /* @__PURE__ */ r.createElement(J, {
80
80
  className: t,
81
81
  isDisabled: a,
@@ -90,10 +90,10 @@ const n = ({ children: e }) => {
90
90
  className: e
91
91
  }, t.sign || t.code) : null;
92
92
  }, pe = ({ className: e }) => {
93
- const { id: t, placeholder: a, label: s } = D(), { inputId: p, labelId: d, prefixId: y, ariaDescribedBy: b } = S(), o = Q(null);
93
+ const { id: t, placeholder: a, label: s } = D(), { inputId: p, labelId: d, prefixId: y, ariaDescribedBy: b } = S(), o = z(null);
94
94
  return X(() => {
95
- var f;
96
- (f = o.current) == null || f.focus();
95
+ var E;
96
+ (E = o.current) == null || E.focus();
97
97
  }, t), /* @__PURE__ */ r.createElement(K, {
98
98
  ref: o,
99
99
  id: p,
@@ -105,16 +105,16 @@ const n = ({ children: e }) => {
105
105
  autoComplete: "off"
106
106
  });
107
107
  };
108
- E.Currency = me;
109
- E.Value = pe;
108
+ f.Currency = me;
109
+ f.Value = pe;
110
110
  n.Label = ee;
111
- n.Input = E;
111
+ n.Input = f;
112
112
  n.Description = Y;
113
113
  n.Error = Z;
114
- const de = "_inputGroup_vuy4u_1", Ee = "_currency_vuy4u_14", T = {
114
+ const de = "_inputGroup_vuy4u_1", fe = "_currency_vuy4u_14", T = {
115
115
  inputGroup: de,
116
- currency: Ee
117
- }, fe = ({ content: e, locale: t }) => /* @__PURE__ */ r.createElement(w, {
116
+ currency: fe
117
+ }, Ee = ({ content: e, locale: t }) => /* @__PURE__ */ r.createElement(Q, {
118
118
  content: e,
119
119
  locale: t
120
120
  }), Ie = () => /* @__PURE__ */ r.createElement(n, null, /* @__PURE__ */ r.createElement(n.Label, {
@@ -131,7 +131,7 @@ const de = "_inputGroup_vuy4u_1", Ee = "_currency_vuy4u_14", T = {
131
131
  className: i(ce, u.error)
132
132
  }, /* @__PURE__ */ r.createElement(ne, null), /* @__PURE__ */ r.createElement(n.Error.Text, null)), /* @__PURE__ */ r.createElement(n.Description, {
133
133
  className: i(ie, u.description)
134
- }, fe)), Ve = () => /* @__PURE__ */ r.createElement(Ie, null);
134
+ }, Ee)), Ve = () => /* @__PURE__ */ r.createElement(Ie, null);
135
135
  export {
136
136
  Ve as PaymentInputRAC
137
137
  };
@@ -1,12 +1,12 @@
1
1
  import { RicosViewer as ye } from "@wix/ricos/viewer";
2
2
  import b from "classnames";
3
- import t, { useMemo as B, useState as k, useRef as v, useEffect as w, useCallback as Z, createContext as te, useContext as V } from "react";
4
- import { a2 as Ee, ar as P, ab as ne, aq as fe, ah as M, ae as oe, aj as he } from "./form-DzjdnO7t.js";
3
+ import t, { useMemo as B, useState as q, useRef as P, useEffect as w, useCallback as Z, createContext as te, useContext as V } from "react";
4
+ import { a2 as Ee, as as v, ab as ne, ar as fe, ai as M, af as oe, ak as he } from "./form-CtWkUmxc.js";
5
5
  import { UNSAFE_PortalProvider as ge } from "react-aria";
6
- import { Dialog as re, OverlayTriggerStateContext as be, ModalOverlay as _e, Modal as Ne, SearchField as Oe, ListBoxItem as Se, Group as Q, DialogTrigger as Le, Select as Ie, Input as ae, ListBox as ve, Autocomplete as Pe } from "react-aria-components";
6
+ import { Dialog as re, OverlayTriggerStateContext as be, ModalOverlay as _e, Modal as Ne, SearchField as Oe, ListBoxItem as Se, Group as Q, DialogTrigger as Le, Select as Ie, Input as ae, ListBox as Pe, Autocomplete as ve } 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-DTKnr5Zx.js";
9
- import { L as Re } from "./field-label-headless-DV4aNd5Y.js";
8
+ import { D as Fe, E as De } from "./field-error-headless-D6iejMQP.js";
9
+ import { L as Re } from "./field-label-headless-BWLfU3YB.js";
10
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";
@@ -15,8 +15,8 @@ import { C as W } from "./calling-country-codes-PyWuOTmF.js";
15
15
  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
- import { s as _ } from "./field-rac.module-DtugsLiL.js";
19
- import { r as qe, H as ke, q as Ve, u as He, l as Ge, h as Ye } from "./form-element-classes-Bi-nNM8q.js";
18
+ import { s as _ } from "./field-rac.module-DnUIb9Oh.js";
19
+ import { z as ke, P as qe, y as Ve, C as ze, q as Ge, j as He } from "./form-element-classes-BSMjWijd.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 H(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 je() {
45
- const { t: e } = P(), { language: n } = ne();
44
+ function Ye() {
45
+ const { t: e } = v(), { language: n } = ne();
46
46
  return B(() => Object.keys(W).reduce((o, a) => {
47
- const c = W[a], l = H(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,
@@ -56,18 +56,18 @@ function je() {
56
56
  n
57
57
  ]);
58
58
  }
59
- function ze(e, n) {
59
+ function je(e, n) {
60
60
  return e.filter((r) => n && n.length > 0 ? n.includes(r.shortCountryCode) : !0);
61
61
  }
62
62
  function Ke(e, n) {
63
63
  const { countryName: r, callingCode: o, shortCountryCode: a } = e;
64
- return !!(q(r, n) || q(o, n) || q(a, n));
64
+ return !!(k(r, n) || k(o, n) || k(a, n));
65
65
  }
66
- function q(e, n) {
66
+ function k(e, n) {
67
67
  return e.toLowerCase().includes(n.toLowerCase());
68
68
  }
69
69
  function Ze({ value: e, defaultCountryCode: n, allowedCountryCodes: r, onChange: o }) {
70
- const [a, c] = k(e || ""), l = v(U(e ?? null) ?? ""), [u, i] = k(n);
70
+ const [a, c] = q(e || ""), l = P(U(e ?? null) ?? ""), [u, i] = q(n);
71
71
  fe(() => {
72
72
  c(""), l.current = "", i(n), o("");
73
73
  });
@@ -128,7 +128,7 @@ const le = /* @__PURE__ */ te(null), N = () => {
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,7 +144,7 @@ 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] = k(null), m = (L = (I = l == null ? void 0 : l.string) == null ? void 0 : I.phoneOptions) == null ? void 0 : L.allowedCountryCodes, C = je(), p = B(() => ze(C, m), [
147
+ const { id: n, value: r, onChange: o, FieldLayout: a, defaultCountry: c, validation: l } = M(), [u, i] = q(null), m = (L = (I = l == null ? void 0 : l.string) == null ? void 0 : I.phoneOptions) == null ? void 0 : L.allowedCountryCodes, C = Ye(), p = B(() => je(C, m), [
148
148
  C,
149
149
  m
150
150
  ]), d = B(() => p.map((x) => x.shortCountryCode), [
@@ -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
- }, j = ({ 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 && H(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 } = v(), { 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
  }, Qe = ({ 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,8 +198,8 @@ const le = /* @__PURE__ */ te(null), N = () => {
198
198
  className: n
199
199
  }, e);
200
200
  };
201
- j.Flag = Qe;
202
- j.EmptyState = We;
201
+ Y.Flag = Qe;
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, {
@@ -237,11 +237,11 @@ const g = ({ children: e, className: n, "aria-label": r, placement: o, offset: a
237
237
  }
238
238
  }, e)))));
239
239
  }, ie = ({ children: e, listBoxProps: n }) => {
240
- const { countries: r } = N(), o = h(e, g.Option), a = h(e, g.Search), c = h(e, g.EmptyState), l = /* @__PURE__ */ t.createElement(ve, {
240
+ const { countries: r } = N(), o = h(e, g.Option), a = h(e, g.Search), c = h(e, g.EmptyState), l = /* @__PURE__ */ t.createElement(Pe, {
241
241
  ...n,
242
242
  renderEmptyState: c ? () => c : void 0
243
243
  }, r.map((u) => {
244
- const i = H(u.longCountryCode) || "";
244
+ const i = z(u.longCountryCode) || "";
245
245
  return ce(o, {
246
246
  key: u.shortCountryCode,
247
247
  countryCode: u.shortCountryCode,
@@ -250,7 +250,7 @@ const g = ({ children: e, className: n, "aria-label": r, placement: o, offset: a
250
250
  longCountryCode: u.longCountryCode
251
251
  });
252
252
  }));
253
- return a ? /* @__PURE__ */ t.createElement(Pe, {
253
+ return a ? /* @__PURE__ */ t.createElement(ve, {
254
254
  filter: (u, i, m) => {
255
255
  const C = r.find((p) => p.shortCountryCode === m.key);
256
256
  return !!C && Ke(C, i);
@@ -289,7 +289,7 @@ const $ = ({ children: e, className: n, ...r }) => {
289
289
  }, i));
290
290
  }, Ce = ({ className: e }) => {
291
291
  const { longCountryCode: n } = G();
292
- return /* @__PURE__ */ t.createElement(Y, {
292
+ return /* @__PURE__ */ t.createElement(H, {
293
293
  className: e,
294
294
  longCountryCode: n
295
295
  });
@@ -309,7 +309,7 @@ $.Name = de;
309
309
  $.Code = pe;
310
310
  g.Option = $;
311
311
  const tt = ({ className: e }) => {
312
- const { t: n } = P(), { inputId: r, ariaDescribedBy: o } = oe(), { id: a, placeholder: c, disabled: l, readOnly: u, required: i, label: m, hasError: C } = M(), { currentValue: p, handlePhoneChange: d } = N(), f = v(null);
312
+ const { t: n } = v(), { inputId: r, ariaDescribedBy: o } = oe(), { id: a, placeholder: c, disabled: l, readOnly: u, required: i, label: m, hasError: C } = M(), { currentValue: p, handlePhoneChange: d } = N(), f = P(null);
313
313
  return he(() => {
314
314
  var y;
315
315
  (y = f.current) == null || y.focus({
@@ -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), R = {
334
+ const r = P(null), o = P(null), a = P(!1), { disabled: c, readOnly: l, required: u, hasError: i, showFlag: m, onFocus: C, onBlur: p } = M(), d = Me(p), { t: f } = v(), { 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
- var z, K;
339
+ var j, K;
340
340
  const x = L.relatedTarget;
341
- !((z = r.current) != null && z.contains(x)) && !((K = o.current) != null && K.contains(x)) && (a.current = !1, d());
341
+ !((j = r.current) != null && j.contains(x)) && !((K = o.current) != null && K.contains(x)) && (a.current = !1, d());
342
342
  }
343
343
  };
344
344
  if (S.length === 1)
@@ -348,7 +348,7 @@ const tt = ({ className: e }) => {
348
348
  isDisabled: c,
349
349
  isInvalid: i,
350
350
  ...R
351
- }, m && /* @__PURE__ */ t.createElement(Y, {
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, {
@@ -373,7 +373,7 @@ const tt = ({ className: e }) => {
373
373
  };
374
374
  s.Label = Re;
375
375
  s.Control = nt;
376
- s.CountryButton = j;
376
+ s.CountryButton = Y;
377
377
  s.CountryOptions = g;
378
378
  s.PhoneNumber = tt;
379
379
  s.Description = Fe;
@@ -420,8 +420,8 @@ const ot = (e) => /* @__PURE__ */ t.createElement("svg", {
420
420
  }), _t = () => /* @__PURE__ */ t.createElement("span", {
421
421
  className: E.chevron,
422
422
  "aria-hidden": "true"
423
- }, /* @__PURE__ */ t.createElement(we, null)), kt = () => {
424
- const { t: e } = P(), { isMobile: n, PortalContainer: r } = ne(), o = /* @__PURE__ */ t.createElement(s.CountryOptions.Search, {
423
+ }, /* @__PURE__ */ t.createElement(we, null)), qt = () => {
424
+ const { t: e } = v(), { isMobile: n, PortalContainer: r } = ne(), o = /* @__PURE__ */ t.createElement(s.CountryOptions.Search, {
425
425
  className: E.countrySearchContainer,
426
426
  "aria-label": e("field.phone.country-search-input.aria-label")
427
427
  }, /* @__PURE__ */ t.createElement(rt, {
@@ -439,9 +439,9 @@ const ot = (e) => /* @__PURE__ */ t.createElement("svg", {
439
439
  className: E.code
440
440
  }));
441
441
  return /* @__PURE__ */ t.createElement(s, null, /* @__PURE__ */ t.createElement(s.Label, {
442
- className: b(qe, _.label)
442
+ className: b(ke, _.label)
443
443
  }, /* @__PURE__ */ t.createElement(s.Label.Required, {
444
- className: b(ke, _.requiredMark)
444
+ className: b(qe, _.requiredMark)
445
445
  })), /* @__PURE__ */ t.createElement(s.Control, {
446
446
  className: b(Ve, _.input, E.control)
447
447
  }, /* @__PURE__ */ t.createElement(s.CountryButton, {
@@ -458,16 +458,16 @@ 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(He, _.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
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 {
472
- kt as P
472
+ qt as P
473
473
  };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { P as o } from "./phone-input-field-rac-DO_V5Z_T.js";
2
+ import { P as o } from "./phone-input-field-rac-DzUE1-RF.js";
3
3
  const r = () => /* @__PURE__ */ e.createElement(o, null);
4
4
  export {
5
5
  r as PhoneRAC