@wix/form-elements 1.94.0 → 1.96.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 (110) hide show
  1. package/dist/component/{appointment-rac-CNIizm60.js → appointment-rac-BKgRKq3j.js} +309 -310
  2. package/dist/component/{bookings-address-rac-C7ukrF1D.js → bookings-address-rac-C87x19gw.js} +1 -1
  3. package/dist/component/{bookings-email-rac-DnzbLEmf.js → bookings-email-rac-f4nuC_pb.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-8Krm-3QK.js → bookings-first-name-rac-BGmuAmbu.js} +1 -1
  5. package/dist/component/{bookings-header-rac-WRILbKeE.js → bookings-header-rac-CoyxHljp.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-C0-yWBLa.js → bookings-last-name-rac-D2mBYwcR.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-Bc9u_rn_.js → bookings-login-bar-rac-BH2Mi6TR.js} +4 -4
  8. package/dist/component/{bookings-phone-rac-BaBlg7f7.js → bookings-phone-rac-Dz78ybFV.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-DR-Ngu_b.js → bookings-rich-text-rac-8_h0cOoy.js} +1 -1
  10. package/dist/component/{get-first-day-of-the-week-DvnsxYhQ.js → calendar.module-DnhTT4QT.js} +23 -18
  11. package/dist/component/{checkbox-field-rac-Cqr57TgJ.js → checkbox-field-rac-CJnegjvL.js} +5 -5
  12. package/dist/component/{checkbox-group-field-headless-Bgcvavr3.js → checkbox-group-field-headless-CrA7Gx2Y.js} +3 -3
  13. package/dist/component/{checkbox-group-field-rac-Bcsowjwp.js → checkbox-group-field-rac-DMg75l5Q.js} +12 -12
  14. package/dist/component/{checkbox-group-rac-38j0b8_U.js → checkbox-group-rac-C9XWlO5D.js} +1 -1
  15. package/dist/component/{checkbox-rac-Bb5ZxZo7.js → checkbox-rac-CrqhH4z9.js} +1 -1
  16. package/dist/component/{contacts-address-rac-gaOhfztb.js → contacts-address-rac-C2mqTiPg.js} +1 -1
  17. package/dist/component/{contacts-birthdate-rac-DAIPR64p.js → contacts-birthdate-rac-i7_RMona.js} +1 -1
  18. package/dist/component/{contacts-company-rac-DVPQrcfN.js → contacts-company-rac-7sdIosaG.js} +1 -1
  19. package/dist/component/{contacts-email-rac-qMyFjz_2.js → contacts-email-rac-CrsksJ9G.js} +1 -1
  20. package/dist/component/{contacts-first-name-rac-OVPtHcde.js → contacts-first-name-rac-I5xIYxgD.js} +1 -1
  21. package/dist/component/{contacts-last-name-rac-BmLQrJ2D.js → contacts-last-name-rac-DnzJYJh7.js} +1 -1
  22. package/dist/component/{contacts-phone-rac-D7waZc1q.js → contacts-phone-rac-Cx1jpYmv.js} +1 -1
  23. package/dist/component/{contacts-position-rac-DnI3o3Am.js → contacts-position-rac-CxddG_cE.js} +1 -1
  24. package/dist/component/{contacts-subscribe-rac-P8zn8_GS.js → contacts-subscribe-rac-C1nTAhnd.js} +2 -2
  25. package/dist/component/{contacts-tax-id-rac-9CBr2KkR.js → contacts-tax-id-rac-B1lzfrj_.js} +1 -1
  26. package/dist/component/{date-availability--ntpBDiI.js → date-availability-LN33GU7O.js} +1 -1
  27. package/dist/component/{date-input-field-rac-Don2tz5U.js → date-input-field-rac-zTcw6Mxx.js} +57 -56
  28. package/dist/component/{date-input-rac-Du3e8Hcu.js → date-input-rac-NfVbrcoO.js} +1 -1
  29. package/dist/component/date-picker-field-rac-Cc9hJloJ.js +317 -0
  30. package/dist/component/{date-picker-rac-BsCMkfHV.js → date-picker-rac-C5iXyKdf.js} +1 -1
  31. package/dist/component/{date-time-input-field-rac-LLF1UdUD.js → date-time-input-field-rac-Cp34u7cC.js} +53 -52
  32. package/dist/component/{date-time-input-rac-KYqrNgbb.js → date-time-input-rac-CfFd56Xf.js} +1 -1
  33. package/dist/component/{dext-checkbox-group-rac-DaOY9Cb6.js → dext-checkbox-group-rac-BVx7XXwR.js} +2 -2
  34. package/dist/component/{dext-checkbox-rac-Ceu5q9xf.js → dext-checkbox-rac-CmUOLx_w.js} +1 -1
  35. package/dist/component/{dext-date-picker-rac-iop0XEpQ.js → dext-date-picker-rac-XDrLGVTQ.js} +1 -1
  36. package/dist/component/{dext-date-time-input-rac-DJB_fMiN.js → dext-date-time-input-rac-ZLCq_taK.js} +1 -1
  37. package/dist/component/{dext-dropdown-rac-Dhp4CUZ5.js → dext-dropdown-rac-C74zBq3M.js} +1 -1
  38. package/dist/component/{dext-email-rac-BIr9RxhQ.js → dext-email-rac-CqS9HcdY.js} +1 -1
  39. package/dist/component/{dext-number-input-rac-Q8p3NeKN.js → dext-number-input-rac-DszjJDT-.js} +1 -1
  40. package/dist/component/{dext-phone-rac-DRdRLIvr.js → dext-phone-rac-wt7T8hpM.js} +1 -1
  41. package/dist/component/{dext-radio-group-rac-D1N_wBhO.js → dext-radio-group-rac-BvRnaWP0.js} +2 -2
  42. package/dist/component/{dext-rating-input-rac-BQIMl7oQ.js → dext-rating-input-rac-D1Lt9M3c.js} +1 -1
  43. package/dist/component/{dext-tags-rac-C52jiu1I.js → dext-tags-rac-70YO5CJH.js} +2 -2
  44. package/dist/component/{dext-text-area-rac-BWmSs4mb.js → dext-text-area-rac-CC5RCvWh.js} +1 -1
  45. package/dist/component/{dext-text-input-rac-BnAJ-7Hs.js → dext-text-input-rac-s487DzPW.js} +1 -1
  46. package/dist/component/{dext-url-input-rac-CvGn3KHo.js → dext-url-input-rac-DEKwUh2a.js} +1 -1
  47. package/dist/component/{donation-rac-DsFRs16V.js → donation-rac-C2bCFVHP.js} +30 -30
  48. package/dist/component/{dropdown-field-headless-K0AM4AAs.js → dropdown-field-headless-BMWwkydq.js} +4 -4
  49. package/dist/component/{dropdown-field-rac-CMEB8ZQN.js → dropdown-field-rac-Cw5Cbpg0.js} +5 -5
  50. package/dist/component/{dropdown-rac-BakYShkm.js → dropdown-rac-CEmlDY3w.js} +1 -1
  51. package/dist/component/{ecom-address-rac-A_Aj5CX0.js → ecom-address-rac-Dv6asnf_.js} +1 -1
  52. package/dist/component/{ecom-subscription-checkbox-rac-Ddol0N03.js → ecom-subscription-checkbox-rac-DOwH-Ebd.js} +3 -3
  53. package/dist/component/{email-input-field-rac-B7yOMDWB.js → email-input-field-rac-CeFXPibq.js} +41 -41
  54. package/dist/component/events-repeater-rac-BUk5Qc8n.js +267 -0
  55. package/dist/component/{events-rsvp-rac-DfjqTM7C.js → events-rsvp-rac-CtFkVzUy.js} +20 -20
  56. package/dist/component/{field-error-headless-CONyKitA.js → field-error-headless-B6x_cVEi.js} +1 -1
  57. package/dist/component/{field-label-headless-tf9QXhMi.js → field-label-headless-BibCD8xx.js} +1 -1
  58. package/dist/component/{file-upload-rac-Bng5Yew9.js → file-upload-rac-BUcktluW.js} +43 -43
  59. package/dist/component/{fixed-payment-rac-CXIv7_Oj.js → fixed-payment-rac-BMSBSo5c.js} +10 -10
  60. package/dist/component/{form-Lv-a47BN.js → form-9WmwgGNc.js} +1120 -1108
  61. package/dist/component/{form-element-classes-CLZXu-91.js → form-element-classes-BtKlobUX.js} +60 -59
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +1 -1
  64. package/dist/component/{header-field-rac-BZdYszfP.js → header-field-rac-CxUuHOic.js} +3 -3
  65. package/dist/component/{header-rac-BNeqoDyT.js → header-rac-DejI69X7.js} +1 -1
  66. package/dist/component/{image-choice-rac-aSKDRo51.js → image-choice-rac-BjI5a_co.js} +15 -15
  67. package/dist/component/{index-DnNA6zNR.js → index-Csso-2QH.js} +2 -2
  68. package/dist/component/{index-CWZfskEy.js → index-Dz2hV2_S.js} +4 -4
  69. package/dist/component/{isObjectLike-C9ogbjhq.js → isObjectLike-BN_BZMhy.js} +1 -1
  70. package/dist/component/{multiline-address-field-rac-CHE1mE_b.js → multiline-address-field-rac-CYfphmfr.js} +86 -85
  71. package/dist/component/{multiline-address-rac-wxJunvdU.js → multiline-address-rac-Ccujt2bd.js} +1 -1
  72. package/dist/component/{number-input-field-rac-ore1oi9q.js → number-input-field-rac-CfnRCRar.js} +18 -18
  73. package/dist/component/{number-input-rac-DU-rCrjJ.js → number-input-rac-DnTO9d8P.js} +1 -1
  74. package/dist/component/{password-rac-Dkqv0AIm.js → password-rac-Be_YSb-Q.js} +37 -37
  75. package/dist/component/{payment-input-rac-CsTcFhQ5.js → payment-input-rac-DXUf5iYb.js} +22 -22
  76. package/dist/component/{phone-input-field-rac-lIVKt7ge.js → phone-input-field-rac-DYAwLuvJ.js} +32 -31
  77. package/dist/component/{phone-rac-CZlsXHRM.js → phone-rac-BlsvDmER.js} +1 -1
  78. package/dist/component/{product-list-rac-UebyHfhC.js → product-list-rac-DdXwRSc2.js} +15 -15
  79. package/dist/component/{quiz-radio-group-rac-ORLTYxdR.js → quiz-radio-group-rac-B0yiKdbu.js} +2 -2
  80. package/dist/component/{radio-button-module-classes-CEQr0hKB.js → radio-button-module-classes-t1jsWYpT.js} +3 -3
  81. package/dist/component/{radio-group-field-rac-t_Dj1_4p.js → radio-group-field-rac-Cug1TtSq.js} +4 -4
  82. package/dist/component/{radio-group-rac-CC_35nq4.js → radio-group-rac-_O5T0Pt8.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-BU66cRhy.js → rating-input-field-rac-BSKzQ3fq.js} +31 -31
  84. package/dist/component/{rating-input-rac-KgNbgchh.js → rating-input-rac-B71q44YO.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-oGcFL-hl.js → rich-content-rac.module-BJuoKIOt.js} +1 -1
  86. package/dist/component/{rich-text-field-rac-CiwMiMv7.js → rich-text-field-rac-CiSR82Fw.js} +3 -3
  87. package/dist/component/{rich-text-rac-Dmp0xxpi.js → rich-text-rac-Bo6UBwOg.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-_QBi8_AO.js → service-dropdown-rac-BJ7V-g8M.js} +35 -35
  89. package/dist/component/{services-multi-choice-rac-C2e3xL9O.js → services-multi-choice-rac-CtBcc9WH.js} +12 -12
  90. package/dist/component/{signature-rac-Dj3aYMvJ.js → signature-rac-yvrHr1he.js} +102 -102
  91. package/dist/component/{submit-button-rac-C-BVXga7.js → submit-button-rac-s-JdZgq7.js} +2 -2
  92. package/dist/component/{tags-field-rac-CcOUcsCd.js → tags-field-rac-g_W0RMod.js} +66 -66
  93. package/dist/component/{tags-rac-p68DA4Mq.js → tags-rac-DmvIH6HU.js} +1 -1
  94. package/dist/component/{text-area-field-rac-DubIcKTn.js → text-area-field-rac-Duja5xOA.js} +27 -27
  95. package/dist/component/{text-area-rac-CygfUB6z.js → text-area-rac-DzRxgG6u.js} +1 -1
  96. package/dist/component/{text-input-field-rac-C7JZRcCX.js → text-input-field-rac-C2eXeoBC.js} +7 -7
  97. package/dist/component/{text-input-headless-D1xcxxNE.js → text-input-headless-d1WK0nqR.js} +3 -3
  98. package/dist/component/{text-input-rac-C5lfqJCN.js → text-input-rac-DM9MnoQs.js} +1 -1
  99. package/dist/component/{time-input-rac-BNxceC-R.js → time-input-rac-CxVZ3USX.js} +25 -25
  100. package/dist/component/{url-input-field-rac-DH_STwmd.js → url-input-field-rac-4oVJMr1a.js} +19 -19
  101. package/dist/component/{url-input-rac-C2VOzCis.js → url-input-rac--T-FnskQ.js} +1 -1
  102. package/dist/component/use-dropdown-option-class-name-BFHRYpVL.js +21 -0
  103. package/dist/component/{use-element-state-class-name-CITSBXT8.js → use-element-state-class-name-De5YnxMK.js} +1 -1
  104. package/dist/component/use-is-forced-open-dropdown-CWvcd9Ex.js +41 -0
  105. package/dist/component/{use-service-options-base-DVBmOiRh.js → use-service-options-base-CD1EVWRE.js} +1 -1
  106. package/dist/component/{use-text-input-class-name-COw61iUf.js → use-text-input-class-name-BYwXccvO.js} +3 -3
  107. package/package.json +4 -3
  108. package/dist/component/date-picker-field-rac-Wxmz-O7r.js +0 -304
  109. package/dist/component/events-repeater-rac-bp8gFHXQ.js +0 -256
  110. package/dist/component/use-dropdown-option-class-name-CKRu4ERM.js +0 -57
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { D as r } from "./dropdown-field-rac-CMEB8ZQN.js";
2
+ import { D as r } from "./dropdown-field-rac-Cw5Cbpg0.js";
3
3
  const n = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  n as DextDropdownRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { E as e } from "./email-input-field-rac-B7yOMDWB.js";
2
+ import { E as e } from "./email-input-field-rac-CeFXPibq.js";
3
3
  const l = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  l as DextEmailRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { N as t } from "./number-input-field-rac-ore1oi9q.js";
2
+ import { N as t } from "./number-input-field-rac-CfnRCRar.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  n as DextNumberInputRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { P as t } from "./phone-input-field-rac-lIVKt7ge.js";
2
+ import { P as t } from "./phone-input-field-rac-DYAwLuvJ.js";
3
3
  const r = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  r as DextPhoneRAC
@@ -1,6 +1,6 @@
1
1
  import r from "react";
2
- import { ak as e, h as t } from "./form-Lv-a47BN.js";
3
- import { R as p } from "./radio-group-field-rac-t_Dj1_4p.js";
2
+ import { ak as e, h as t } from "./form-9WmwgGNc.js";
3
+ import { R as p } from "./radio-group-field-rac-Cug1TtSq.js";
4
4
  import { a } from "./default-limits-D7qVv_Hv.js";
5
5
  const l = () => {
6
6
  const o = {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-BU66cRhy.js";
2
+ import { R as e } from "./rating-input-field-rac-BSKzQ3fq.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as DextRatingInputRAC
@@ -1,6 +1,6 @@
1
1
  import r from "react";
2
- import { ak as e, h as o } from "./form-Lv-a47BN.js";
3
- import { T as s } from "./tags-field-rac-CcOUcsCd.js";
2
+ import { ak as e, h as o } from "./form-9WmwgGNc.js";
3
+ import { T as s } from "./tags-field-rac-g_W0RMod.js";
4
4
  import { b as a } from "./default-limits-D7qVv_Hv.js";
5
5
  const l = () => {
6
6
  const t = {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as t } from "./text-area-field-rac-DubIcKTn.js";
2
+ import { T as t } from "./text-area-field-rac-Duja5xOA.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  a as DextTextAreaRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-C7JZRcCX.js";
2
+ import { T as e } from "./text-input-field-rac-C2eXeoBC.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as DextTextInputRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { U as r } from "./url-input-field-rac-DH_STwmd.js";
2
+ import { U as r } from "./url-input-field-rac-4oVJMr1a.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(r, null);
4
4
  export {
5
5
  n as DextUrlInputRAC
@@ -3,21 +3,21 @@ import { RicosViewer as re } from "@wix/ricos/viewer";
3
3
  import D from "classnames";
4
4
  import { RadioGroup as se, RadioField as G, RadioButton as Y, TextField as ae, Group as le, Input as ie } from "react-aria-components";
5
5
  import { debounce as ce } from "ts-debounce";
6
- import { P as Q, ak as L, ah as B, au as ue, ac as A, am as me } from "./form-Lv-a47BN.js";
6
+ import { P as Q, ak as L, ah as B, au as ue, ac as A, am as me } from "./form-9WmwgGNc.js";
7
7
  import { f, a as y } from "./find-child-C60k4CxG.js";
8
8
  import { a as W } from "./format-currency-BwShJ9vM.js";
9
- import { D as pe, E as de } from "./field-error-headless-CONyKitA.js";
10
- import { L as Ce } from "./field-label-headless-tf9QXhMi.js";
9
+ import { D as pe, E as de } from "./field-error-headless-B6x_cVEi.js";
10
+ import { L as Ce } from "./field-label-headless-BibCD8xx.js";
11
11
  import { N as Ie } from "./options-layout-constants-DEfIEJWD.js";
12
12
  import { a as Ee, b as fe } from "./numeric-input-utils-CuBMi4-a.js";
13
13
  import { g as Oe } from "./payment-field-utils-DobiK5Xh.js";
14
14
  import { u as he } from "./use-synced-display-value-DcAxdn3M.js";
15
15
  import { E as _e } from "./error-icon-hZxQ6DEy.js";
16
- import { s as R } from "./field-rac.module-DobpyqOd.js";
17
- import { B as be, R as ye, j as Ne, q as ge, i as Fe, k as De } from "./form-element-classes-CLZXu-91.js";
18
- import { o as Re } from "./options-rac.module-KM-VT_KY.js";
19
- import { u as Se } from "./use-element-state-class-name-CITSBXT8.js";
20
- import { u as ve } from "./use-text-input-class-name-COw61iUf.js";
16
+ import { s as S } from "./field-rac.module-DobpyqOd.js";
17
+ import { C as be, S as ye, k as Ne, r as ge, j as Fe, l as De } from "./form-element-classes-BtKlobUX.js";
18
+ import { o as Se } from "./options-rac.module-KM-VT_KY.js";
19
+ import { u as Re } from "./use-element-state-class-name-De5YnxMK.js";
20
+ import { u as ve } from "./use-text-input-class-name-BYwXccvO.js";
21
21
  function Le(e, t) {
22
22
  return e.reduce((o, r) => (o[r[t]] = r, o), {});
23
23
  }
@@ -60,11 +60,11 @@ const s = ({ children: e }) => {
60
60
  ]), l = x(() => u ? Me(g) : void 0, [
61
61
  g,
62
62
  u
63
- ]), J = Pe(d, l), [q, M] = he({
63
+ ]), J = Pe(d, l), [k, M] = he({
64
64
  sourceValue: J,
65
65
  format: (E) => fe(String(E ?? ""), N),
66
66
  regionalFormat: N
67
- }), k = F((E) => {
67
+ }), q = F((E) => {
68
68
  r(xe(E, d, T)), M("");
69
69
  }, [
70
70
  r,
@@ -82,22 +82,22 @@ const s = ({ children: e }) => {
82
82
  H
83
83
  ]), K = F((E) => {
84
84
  (d == null ? void 0 : d.productId) !== (l == null ? void 0 : l.id) && r(void 0);
85
- const { validInput: P, validNumber: ne } = Ee(E.target.value, je, q, N);
85
+ const { validInput: P, validNumber: ne } = Ee(E.target.value, je, k, N);
86
86
  M(P), $(ne);
87
87
  }, [
88
88
  N,
89
89
  r,
90
90
  d,
91
91
  l,
92
- q,
92
+ k,
93
93
  $,
94
94
  M
95
95
  ]), w = (d == null ? void 0 : d.productId) || null, X = F(() => {
96
- l != null && l.id && w !== l.id && k(l.id);
96
+ l != null && l.id && w !== l.id && q(l.id);
97
97
  }, [
98
98
  l == null ? void 0 : l.id,
99
99
  w,
100
- k
100
+ q
101
101
  ]), Z = f(e, s.Label), V = f(e, s.Control), ee = f(e, s.Description), te = f(e, s.Error);
102
102
  return /* @__PURE__ */ n.createElement(C, {
103
103
  fieldId: t,
@@ -105,7 +105,7 @@ const s = ({ children: e }) => {
105
105
  renderInput: () => /* @__PURE__ */ n.createElement(se, {
106
106
  "aria-labelledby": _,
107
107
  value: w,
108
- onChange: k,
108
+ onChange: q,
109
109
  isDisabled: a,
110
110
  isInvalid: O,
111
111
  isRequired: m,
@@ -114,7 +114,7 @@ const s = ({ children: e }) => {
114
114
  }, V ? y(V, {
115
115
  productsById: T,
116
116
  addOther: u,
117
- customAmount: q,
117
+ customAmount: k,
118
118
  onCustomAmountInputChange: K,
119
119
  currency: j,
120
120
  t: I,
@@ -169,8 +169,8 @@ const s = ({ children: e }) => {
169
169
  price: C || "0"
170
170
  });
171
171
  }));
172
- }, S = ({ children: e, className: t, ...o }) => {
173
- const { value: r, price: a } = o, { id: m } = L(), { currency: p, regionalFormat: h } = A(), c = f(e, S.Value), u = f(e, S.Currency), { isCurrencyPrefixed: i } = W({
172
+ }, R = ({ children: e, className: t, ...o }) => {
173
+ const { value: r, price: a } = o, { id: m } = L(), { currency: p, regionalFormat: h } = A(), c = f(e, R.Value), u = f(e, R.Currency), { isCurrencyPrefixed: i } = W({
174
174
  amount: a,
175
175
  currency: p == null ? void 0 : p.code,
176
176
  locale: h
@@ -188,7 +188,7 @@ const s = ({ children: e }) => {
188
188
  className: t,
189
189
  ref: C
190
190
  }, /* @__PURE__ */ n.createElement(n.Fragment, null, i && u, O, !i && u)));
191
- }, qe = ({ className: e, ...t }) => {
191
+ }, ke = ({ className: e, ...t }) => {
192
192
  const { price: o } = t, { currency: r, regionalFormat: a } = A(), { value: m } = W({
193
193
  amount: o,
194
194
  currency: r == null ? void 0 : r.code,
@@ -197,14 +197,14 @@ const s = ({ children: e }) => {
197
197
  return /* @__PURE__ */ n.createElement("span", {
198
198
  className: e
199
199
  }, m);
200
- }, ke = ({ className: e }) => {
200
+ }, qe = ({ className: e }) => {
201
201
  const { currency: t } = A();
202
202
  return /* @__PURE__ */ n.createElement("span", {
203
203
  className: e
204
204
  }, (t == null ? void 0 : t.sign) || (t == null ? void 0 : t.code) || "");
205
205
  };
206
- S.Value = qe;
207
- S.Currency = ke;
206
+ R.Value = ke;
207
+ R.Currency = qe;
208
208
  const v = ({ children: e, className: t, ...o }) => {
209
209
  const { customAmount: r, onCustomAmountInputChange: a, currency: m, t: p, placeholder: h, customAmountProductId: c, onFocusCustomInput: u } = o, { disabled: i, hasError: C } = L(), { labelId: O, prefixId: _ } = B(), I = f(e, v.Currency), j = f(e, v.Value), N = F((g) => {
210
210
  a({
@@ -259,7 +259,7 @@ const v = ({ children: e, className: t, ...o }) => {
259
259
  };
260
260
  v.Currency = we;
261
261
  v.Value = Ue;
262
- U.Option = S;
262
+ U.Option = R;
263
263
  s.Label = Ce;
264
264
  s.Control = Be;
265
265
  s.Options = U;
@@ -283,18 +283,18 @@ const He = "_control_1jl2j_1", $e = "_options_1jl2j_7", Ve = "_option_1jl2j_7",
283
283
  selected: b.optionSelected,
284
284
  hover: b.optionHover
285
285
  }, Xe = () => {
286
- const e = ve(b.otherInput), t = Se({
286
+ const e = ve(b.otherInput), t = Re({
287
287
  globalClasses: De,
288
288
  moduleClasses: Ke
289
289
  });
290
290
  return /* @__PURE__ */ n.createElement(s, null, /* @__PURE__ */ n.createElement(s.Label, {
291
- className: D(be, R.label)
291
+ className: D(be, S.label)
292
292
  }, /* @__PURE__ */ n.createElement(s.Label.Required, {
293
- className: D(ye, R.requiredMark)
293
+ className: D(ye, S.requiredMark)
294
294
  })), /* @__PURE__ */ n.createElement(s.Control, {
295
295
  className: b.control
296
296
  }, /* @__PURE__ */ n.createElement(s.Options, {
297
- className: D(Ne, Re.options, b.options)
297
+ className: D(Ne, Se.options, b.options)
298
298
  }, /* @__PURE__ */ n.createElement(s.Options.Option, {
299
299
  className: ({ isSelected: o, isHovered: r }) => t({
300
300
  isSelected: o,
@@ -307,11 +307,11 @@ const He = "_control_1jl2j_1", $e = "_options_1jl2j_7", Ve = "_option_1jl2j_7",
307
307
  }, /* @__PURE__ */ n.createElement(s.OtherInput.Currency, {
308
308
  className: b.otherInputCurrency
309
309
  }), /* @__PURE__ */ n.createElement(s.OtherInput.Value, {
310
- className: R.innerInput
310
+ className: S.innerInput
311
311
  }))), /* @__PURE__ */ n.createElement(s.Error, {
312
- className: D(ge, R.error)
312
+ className: D(ge, S.error)
313
313
  }, /* @__PURE__ */ n.createElement(_e, null), /* @__PURE__ */ n.createElement(s.Error.Text, null)), /* @__PURE__ */ n.createElement(s.Description, {
314
- className: D(Fe, R.description)
314
+ className: D(Fe, S.description)
315
315
  }, Je));
316
316
  }, ht = () => /* @__PURE__ */ n.createElement(Xe, null);
317
317
  export {
@@ -1,12 +1,12 @@
1
1
  import e, { useState as g, useCallback as b, useRef as A } from "react";
2
2
  import { UNSAFE_PortalProvider as M } from "react-aria";
3
3
  import { Select as U, SelectValue as _, ListBox as j, ListBoxItem as z } from "react-aria-components";
4
- import { ak as f, ah as O, am as G } from "./form-Lv-a47BN.js";
4
+ import { ak as f, ah as O, am as G } from "./form-9WmwgGNc.js";
5
5
  import { f as d, a as F } from "./find-child-C60k4CxG.js";
6
- import { D as H, E as J } from "./field-error-headless-CONyKitA.js";
7
- import { L as K } from "./field-label-headless-tf9QXhMi.js";
6
+ import { D as H, E as J } from "./field-error-headless-B6x_cVEi.js";
7
+ import { L as K } from "./field-label-headless-BibCD8xx.js";
8
8
  import { S as Q, N as W } from "./non-modal-popover-DtIMXHbe.js";
9
- import { a as X } from "./use-dropdown-option-class-name-CKRu4ERM.js";
9
+ import { u as X } from "./use-is-forced-open-dropdown-CWvcd9Ex.js";
10
10
  const r = ({ children: n }) => {
11
11
  const { id: l, value: a, defaultValue: s, options: u = [], readOnly: o, onChange: t, placeholder: m, disabled: i, required: v, onBlur: y, onFocus: D, FieldLayout: h, hasError: C } = f(), [I, L] = g(!1), p = X(l), [B, N] = g(null), P = a && u.some((c) => (c.value ?? c.label) === a) ? a : s || null, { labelId: S } = O(), T = b((c) => {
12
12
  o || t(typeof c == "string" ? c : null);
@@ -1,22 +1,22 @@
1
1
  import { RicosViewer as m } from "@wix/ricos/viewer";
2
2
  import t from "classnames";
3
3
  import e from "react";
4
- import { D as r } from "./dropdown-field-headless-K0AM4AAs.js";
4
+ import { D as r } from "./dropdown-field-headless-BMWwkydq.js";
5
5
  import { C as n } from "./chevron-down-icon-CcpVm6B-.js";
6
6
  import { E as l } from "./error-icon-hZxQ6DEy.js";
7
7
  import { H as c } from "./custom-focus-class-_483Pkwp.js";
8
8
  import { s as o } from "./field-rac.module-DobpyqOd.js";
9
- import { B as i, R as E, m as p, D as _, q as R, i as D } from "./form-element-classes-CLZXu-91.js";
10
- import { u as O } from "./use-dropdown-option-class-name-CKRu4ERM.js";
9
+ import { C as E, S as i, n as p, E as _, r as R, j as D } from "./form-element-classes-BtKlobUX.js";
10
+ import { u as O } from "./use-dropdown-option-class-name-BFHRYpVL.js";
11
11
  const S = ({ content: a, locale: s }) => /* @__PURE__ */ e.createElement(m, {
12
12
  content: a,
13
13
  locale: s
14
14
  }), M = () => {
15
15
  const a = O(c);
16
16
  return /* @__PURE__ */ e.createElement(r, null, /* @__PURE__ */ e.createElement(r.Label, {
17
- className: t(i, o.label)
17
+ className: t(E, o.label)
18
18
  }, /* @__PURE__ */ e.createElement(r.Label.Required, {
19
- className: t(E, o.requiredMark)
19
+ className: t(i, o.requiredMark)
20
20
  })), /* @__PURE__ */ e.createElement(r.Trigger, {
21
21
  className: t(p, o.input, o.dropdownTrigger)
22
22
  }, /* @__PURE__ */ e.createElement(n, {
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { D as r } from "./dropdown-field-rac-CMEB8ZQN.js";
2
+ import { D as r } from "./dropdown-field-rac-Cw5Cbpg0.js";
3
3
  const n = () => /* @__PURE__ */ o.createElement(r, null);
4
4
  export {
5
5
  n as DropdownRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { M as r } from "./multiline-address-field-rac-CHE1mE_b.js";
2
+ import { M as r } from "./multiline-address-field-rac-CYfphmfr.js";
3
3
  const l = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  l as EcomAddressRAC
@@ -1,7 +1,7 @@
1
1
  import o, { useMemo as a } from "react";
2
- import { ak as n, au as c, h as i } from "./form-Lv-a47BN.js";
3
- import { C } from "./checkbox-field-rac-Cqr57TgJ.js";
4
- import { o as p, p as l, n as m } from "./form-element-classes-CLZXu-91.js";
2
+ import { ak as n, au as c, h as i } from "./form-9WmwgGNc.js";
3
+ import { C } from "./checkbox-field-rac-CJnegjvL.js";
4
+ import { p, q as l, o as m } from "./form-element-classes-BtKlobUX.js";
5
5
  const _ = (e) => ({
6
6
  nodes: [
7
7
  {
@@ -1,8 +1,8 @@
1
1
  import { RicosViewer as ie } from "@wix/ricos/viewer";
2
- import j from "classnames";
3
- import u, { createContext as Z, useContext as z, createElement as H, isValidElement as B, cloneElement as w, useState as le, useCallback as me, useEffect as ue } from "react";
2
+ import D from "classnames";
3
+ import u, { createContext as z, useContext as Z, createElement as R, isValidElement as B, cloneElement as w, useState as le, useCallback as me, useEffect as ue } from "react";
4
4
  import { TextField as pe } from "react-aria-components";
5
- import { ah as fe, au as ge, af as ve, c as ye, ak as Ee, ao as de, ai as be, f as Se } from "./form-Lv-a47BN.js";
5
+ import { ah as fe, au as ge, af as ve, c as ye, ak as Ee, ao as de, ai as be, f as Se } from "./form-9WmwgGNc.js";
6
6
  import { f as C } from "./find-child-C60k4CxG.js";
7
7
  import ee from "@babel/runtime/helpers/objectWithoutProperties";
8
8
  import L from "@babel/runtime/helpers/typeof";
@@ -10,11 +10,11 @@ import Oe from "@babel/runtime/helpers/defineProperty";
10
10
  import he from "html-parse-stringify";
11
11
  import Ie from "@babel/runtime/helpers/classCallCheck";
12
12
  import Ne from "@babel/runtime/helpers/createClass";
13
- import { T as U } from "./text-input-headless-D1xcxxNE.js";
13
+ import { T as U } from "./text-input-headless-d1WK0nqR.js";
14
14
  import { E as Ae } from "./error-icon-hZxQ6DEy.js";
15
- import { s as R } from "./field-rac.module-DobpyqOd.js";
16
- import { B as ke, R as Fe, q as Te, i as xe, Z as De } from "./form-element-classes-CLZXu-91.js";
17
- import { u as je } from "./use-text-input-class-name-COw61iUf.js";
15
+ import { s as H } from "./field-rac.module-DobpyqOd.js";
16
+ import { C as ke, S as Fe, r as Te, j as xe, _ as je } from "./form-element-classes-BtKlobUX.js";
17
+ import { u as De } from "./use-text-input-class-name-BYwXccvO.js";
18
18
  var Ce = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Le = {
19
19
  "&": "&",
20
20
  "&": "&",
@@ -49,8 +49,8 @@ var Ce = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
49
49
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
50
50
  useSuspense: !0,
51
51
  unescape: Pe
52
- }, we, Re = Z();
53
- function He() {
52
+ }, we, He = z();
53
+ function Re() {
54
54
  return _e;
55
55
  }
56
56
  (function() {
@@ -88,7 +88,7 @@ function Be() {
88
88
  t[a] = arguments[a];
89
89
  typeof t[0] == "string" && J[t[0]] || (typeof t[0] == "string" && (J[t[0]] = /* @__PURE__ */ new Date()), K.apply(void 0, t));
90
90
  }
91
- var Ue = ["format"], qe = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
91
+ var Ue = ["format"], Ve = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
92
92
  function Q(e, t) {
93
93
  var a = Object.keys(e);
94
94
  if (Object.getOwnPropertySymbols) {
@@ -118,7 +118,7 @@ function Y(e, t) {
118
118
  function G(e) {
119
119
  return e ? e.props ? e.props.children : e.children : [];
120
120
  }
121
- function Ve(e) {
121
+ function qe(e) {
122
122
  return Object.prototype.toString.call(e) !== "[object Array]" ? !1 : e.every(function(t) {
123
123
  return B(t);
124
124
  });
@@ -178,7 +178,7 @@ function Ge(e, t, a, o, c, r) {
178
178
  var T = he.parse("<0>".concat(t, "</0>")), O = p(p({}, d), c);
179
179
  function k(y, h, s) {
180
180
  var i = G(y), I = S(i, h.children, s);
181
- return Ve(i) && I.length === 0 ? i : I;
181
+ return qe(i) && I.length === 0 ? i : I;
182
182
  }
183
183
  function A(y, h, s, i, I) {
184
184
  y.dummy && (y.children = h), s.push(w(y, p(p({}, y.props), {}, {
@@ -194,11 +194,11 @@ function Ge(e, t, a, o, c, r) {
194
194
  !N && s.length === 1 && s[0][n.name] && (N = s[0][n.name]), N || (N = {});
195
195
  var m = Object.keys(n.attrs).length !== 0 ? Ye({
196
196
  props: n.attrs
197
- }, N) : N, x = B(m), q = x && Y(n, !0) && !n.voidElement, P = v && L(m) === "object" && m.dummy && !x, _ = L(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
197
+ }, N) : N, x = B(m), V = x && Y(n, !0) && !n.voidElement, P = v && L(m) === "object" && m.dummy && !x, _ = L(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
198
198
  if (typeof m == "string") {
199
- var V = a.services.interpolator.interpolate(m, O, a.language);
200
- l.push(V);
201
- } else if (Y(m) || q) {
199
+ var q = a.services.interpolator.interpolate(m, O, a.language);
200
+ l.push(q);
201
+ } else if (Y(m) || V) {
202
202
  var ne = k(m, n, s);
203
203
  A(m, ne, l, E);
204
204
  } else if (P) {
@@ -212,12 +212,12 @@ function Ge(e, t, a, o, c, r) {
212
212
  A(m, re, l, E, n.voidElement);
213
213
  } else if (o.transSupportBasicHtmlNodes && g.indexOf(n.name) > -1)
214
214
  if (n.voidElement)
215
- l.push(H(n.name, {
215
+ l.push(R(n.name, {
216
216
  key: "".concat(n.name, "-").concat(E)
217
217
  }));
218
218
  else {
219
219
  var se = S(i, n.children, s);
220
- l.push(H(n.name, {
220
+ l.push(R(n.name, {
221
221
  key: "".concat(n.name, "-").concat(E)
222
222
  }, se));
223
223
  }
@@ -237,28 +237,28 @@ function Ge(e, t, a, o, c, r) {
237
237
  })));
238
238
  } else if (n.type === "text") {
239
239
  var W = o.transWrapTextNodes, X = r ? o.unescape(a.services.interpolator.interpolate(n.content, O, a.language)) : a.services.interpolator.interpolate(n.content, O, a.language);
240
- W ? l.push(H(W, {
240
+ W ? l.push(R(W, {
241
241
  key: "".concat(n.name, "-").concat(E)
242
242
  }, X)) : l.push(X);
243
243
  }
244
244
  return l;
245
245
  }, []);
246
246
  }
247
- var D = S([{
247
+ var j = S([{
248
248
  dummy: !0,
249
249
  children: e || []
250
250
  }], T, M(e || []));
251
- return G(D[0]);
251
+ return G(j[0]);
252
252
  }
253
253
  function $e(e) {
254
- var t = e.children, a = e.count, o = e.parent, c = e.i18nKey, r = e.context, g = e.tOptions, v = g === void 0 ? {} : g, d = e.values, b = e.defaults, T = e.components, O = e.ns, k = e.i18n, A = e.t, S = e.shouldUnescape, D = ee(e, qe), y = z(Re) || {}, h = y.i18n, s = y.defaultNS, i = k || h || Ke();
254
+ var t = e.children, a = e.count, o = e.parent, c = e.i18nKey, r = e.context, g = e.tOptions, v = g === void 0 ? {} : g, d = e.values, b = e.defaults, T = e.components, O = e.ns, k = e.i18n, A = e.t, S = e.shouldUnescape, j = ee(e, Ve), y = Z(He) || {}, h = y.i18n, s = y.defaultNS, i = k || h || Ke();
255
255
  if (!i)
256
256
  return Be("You will need to pass in an i18next instance by using i18nextReactModule"), t;
257
- var I = A || i.t.bind(i) || function(V) {
258
- return V;
257
+ var I = A || i.t.bind(i) || function(q) {
258
+ return q;
259
259
  };
260
260
  r && (v.context = r);
261
- var l = p(p({}, He()), i.options && i.options.react), n = O || I.ns || s || i.options && i.options.defaultNS;
261
+ var l = p(p({}, Re()), i.options && i.options.react), n = O || I.ns || s || i.options && i.options.defaultNS;
262
262
  n = typeof n == "string" ? [n] : n || ["translation"];
263
263
  var E = b || te(t, l) || l.transEmptyNodeValue || c, F = l.hashTransKey, N = c || (F ? F(E) : E), m = d ? v.interpolation : {
264
264
  interpolation: p(p({}, v.interpolation), {}, {
@@ -270,12 +270,12 @@ function $e(e) {
270
270
  }, d), m), {}, {
271
271
  defaultValue: E,
272
272
  ns: n
273
- }), q = N ? I(N, x) : E, P = Ge(T || t, q, i, l, x, S), _ = o !== void 0 ? o : l.defaultTransParent;
274
- return _ ? H(_, D, P) : P;
273
+ }), V = N ? I(N, x) : E, P = Ge(T || t, V, i, l, x, S), _ = o !== void 0 ? o : l.defaultTransParent;
274
+ return _ ? R(_, j, P) : P;
275
275
  }
276
- const We = "email-mistype-suggestion", Xe = "email-mistype-suggestion-link", ae = /* @__PURE__ */ Z(void 0);
276
+ const We = "email-mistype-suggestion", Xe = "email-mistype-suggestion-link", ae = /* @__PURE__ */ z(void 0);
277
277
  function Je() {
278
- const e = z(ae);
278
+ const e = Z(ae);
279
279
  if (e === void 0)
280
280
  throw new Error("useEmailSuggestion must be used inside <EmailInput>");
281
281
  return e;
@@ -285,7 +285,7 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
285
285
  activeSuggestion: e,
286
286
  applySuggestion: t
287
287
  }
288
- }, a), Ze = ({ className: e }) => {
288
+ }, a), ze = ({ className: e }) => {
289
289
  const { suggestionId: t } = fe(), { activeSuggestion: a, applySuggestion: o } = Je(), { t: c, i18n: r } = ge();
290
290
  return /* @__PURE__ */ u.createElement("div", {
291
291
  id: t,
@@ -311,7 +311,7 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
311
311
  })
312
312
  ]
313
313
  }) : null);
314
- }, ze = {
314
+ }, Ze = {
315
315
  "aol.com": [
316
316
  "aaol.com",
317
317
  "aol.con",
@@ -422,7 +422,7 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
422
422
  "comcast.nrt",
423
423
  "comcast.net.net"
424
424
  ]
425
- }, et = new Map(Object.entries(ze).flatMap(([e, t]) => t.map((a) => [
425
+ }, et = new Map(Object.entries(Ze).flatMap(([e, t]) => t.map((a) => [
426
426
  a,
427
427
  e
428
428
  ]))), tt = (e) => {
@@ -450,13 +450,13 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
450
450
  validate: v
451
451
  };
452
452
  }, f = ({ children: e }) => {
453
- const { id: t, value: a, onChange: o, disabled: c, readOnly: r, required: g, hasError: v, onBlur: d, onFocus: b, error: T, description: O, FieldLayout: k } = Ee(), { isMistyped: A, suggestedEmail: S, validate: D } = at({
453
+ const { id: t, value: a, onChange: o, disabled: c, readOnly: r, required: g, hasError: v, onBlur: d, onFocus: b, error: T, description: O, FieldLayout: k } = Ee(), { isMistyped: A, suggestedEmail: S, validate: j } = at({
454
454
  email: a,
455
455
  hasError: v
456
456
  }), { setFocusedFieldId: y } = de(), s = A && (!r && !c) && S ? S : void 0, i = be(t, T, O, s), I = () => {
457
457
  o(s), y(t);
458
458
  }, l = () => {
459
- D(), d == null || d();
459
+ j(), d == null || d();
460
460
  }, n = C(e, f.Label), E = C(e, f.Input), F = C(e, f.Description), N = C(e, f.Error), m = C(e, f.Suggestion);
461
461
  return /* @__PURE__ */ u.createElement(Se.Provider, {
462
462
  value: i
@@ -484,26 +484,26 @@ f.Label = U.Label;
484
484
  f.Input = U.Input;
485
485
  f.Description = U.Description;
486
486
  f.Error = U.Error;
487
- f.Suggestion = Ze;
487
+ f.Suggestion = ze;
488
488
  const nt = "_suggestion_di65n_1", ot = {
489
489
  suggestion: nt
490
490
  }, rt = ({ content: e, locale: t }) => /* @__PURE__ */ u.createElement(ie, {
491
491
  content: e,
492
492
  locale: t
493
493
  }), It = () => {
494
- const e = je();
494
+ const e = De();
495
495
  return /* @__PURE__ */ u.createElement(f, null, /* @__PURE__ */ u.createElement(f.Label, {
496
- className: j(ke, R.label)
496
+ className: D(ke, H.label)
497
497
  }, /* @__PURE__ */ u.createElement(f.Label.Required, {
498
- className: j(Fe, R.requiredMark)
498
+ className: D(Fe, H.requiredMark)
499
499
  })), /* @__PURE__ */ u.createElement(f.Input, {
500
500
  className: e
501
501
  }), /* @__PURE__ */ u.createElement(f.Error, {
502
- className: j(Te, R.error)
502
+ className: D(Te, H.error)
503
503
  }, /* @__PURE__ */ u.createElement(Ae, null), /* @__PURE__ */ u.createElement(f.Error.Text, null)), /* @__PURE__ */ u.createElement(f.Description, {
504
- className: j(xe, R.description)
504
+ className: D(xe, H.description)
505
505
  }, rt), /* @__PURE__ */ u.createElement(f.Suggestion, {
506
- className: j(De, ot.suggestion)
506
+ className: D(je, ot.suggestion)
507
507
  }));
508
508
  };
509
509
  export {