@wix/form-elements 1.186.0 → 1.188.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 (109) hide show
  1. package/dist/component/{appointment-rac-B_kU3lTx.js → appointment-rac-Biwj0bKe.js} +78 -78
  2. package/dist/component/{bookings-address-rac-BZR-Loac.js → bookings-address-rac-B_o25LOI.js} +1 -1
  3. package/dist/component/{bookings-email-rac-CCvIRZYM.js → bookings-email-rac-BBcusxbS.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-B5AEOOre.js → bookings-first-name-rac-CNTGannm.js} +1 -1
  5. package/dist/component/{bookings-header-rac-BcvixPiY.js → bookings-header-rac-BTvG2vnk.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-JiEUxaqi.js → bookings-last-name-rac-BQumGsz9.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-zPJ3u2Kn.js → bookings-login-bar-rac-Cl_rwWhO.js} +8 -8
  8. package/dist/component/{bookings-phone-rac-CNNlCp66.js → bookings-phone-rac-B_gXe9Fa.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-Rl9b7r3g.js → bookings-rich-text-rac-CbMuPVCB.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-DP6HkB2N.js → checkbox-field-rac-QwFSqEgs.js} +43 -43
  11. package/dist/component/{checkbox-group-field-headless-DOFTwxeh.js → checkbox-group-field-headless-CTDMO0TM.js} +38 -38
  12. package/dist/component/{checkbox-group-field-rac-DhcC_N8m.js → checkbox-group-field-rac-DFUST9Th.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-Gec8xcgN.js → checkbox-group-rac-CBAE-o1Q.js} +1 -1
  14. package/dist/component/{checkbox-rac-CAuZNb4B.js → checkbox-rac-DkYPhGTU.js} +1 -1
  15. package/dist/component/{contacts-address-rac-2WX8POCZ.js → contacts-address-rac-DKf42iJk.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-36zloipl.js → contacts-birthdate-rac-ffPSb2YW.js} +1 -1
  17. package/dist/component/{contacts-company-rac-skt6F4i0.js → contacts-company-rac-DLVdNbYz.js} +1 -1
  18. package/dist/component/{contacts-email-rac-BAftc4kl.js → contacts-email-rac-CW8SdcYX.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-u6Wiuwxe.js → contacts-first-name-rac-CGdzgpkw.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-DCh0xW6C.js → contacts-last-name-rac-DNQj7UcW.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-lhdYji46.js → contacts-phone-rac-zAMIceti.js} +1 -1
  22. package/dist/component/{contacts-position-rac-jOQ8Zayq.js → contacts-position-rac-DLwn9B2T.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-q4sRxs2n.js → contacts-subscribe-rac-Cy5rxTkC.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-DpzneATH.js → contacts-tax-id-rac-CEfU6N6C.js} +1 -1
  25. package/dist/component/{date-availability-CKFxphlT.js → date-availability-C9EOQUiy.js} +1 -1
  26. package/dist/component/{date-input-field-rac-DgwRr6tR.js → date-input-field-rac-F4QQeEtO.js} +57 -57
  27. package/dist/component/{date-input-rac-CONL_9I5.js → date-input-rac-CJeOgyF5.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-C1ckFkSh.js → date-picker-field-rac-33ARKAxQ.js} +35 -35
  29. package/dist/component/{date-picker-rac-CTms7Rxx.js → date-picker-rac-Beaqh84V.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-BkjASrCJ.js → date-time-input-field-rac-CB8FfYUM.js} +44 -44
  31. package/dist/component/{date-time-input-rac-Bc3gu8--.js → date-time-input-rac-DQ9P6IVp.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-BYEHlsBv.js → dext-checkbox-group-rac-Cho-hueW.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-C6nce0nR.js → dext-checkbox-rac-BIwIwy-y.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-COIoyTuy.js → dext-date-picker-rac-C03HJdvX.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-DFuslGXT.js → dext-date-time-input-rac-Bo4XfnRA.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-GecDU_NU.js → dext-dropdown-rac-CadT1tMH.js} +1 -1
  37. package/dist/component/{dext-email-rac-C9qXogI5.js → dext-email-rac-DbiEws8H.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-BO_MqKpQ.js → dext-number-input-rac-XoW8CLvX.js} +1 -1
  39. package/dist/component/{dext-phone-rac-CZZBLRSj.js → dext-phone-rac-9rFyUD8e.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-baaOfskN.js → dext-radio-group-rac-U6BNL7IT.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-Cyz7F31J.js → dext-rating-input-rac-BDGUv8jU.js} +1 -1
  42. package/dist/component/{dext-tags-rac-DiWEHPna.js → dext-tags-rac-CAFGVcIi.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-BpZnhr2z.js → dext-text-area-rac-DXyzm9oe.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-CZWOoFkx.js → dext-text-input-rac-C27gdfyG.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-l98Wixh2.js → dext-url-input-rac-DovYH3_G.js} +1 -1
  46. package/dist/component/{donation-rac-BcdtetWT.js → donation-rac-DV2aRsDt.js} +60 -60
  47. package/dist/component/{dropdown-field-rac-Bgjtp3L4.js → dropdown-field-rac-D58C7YZG.js} +3 -3
  48. package/dist/component/{dropdown-rac-D3x_39ML.js → dropdown-rac-57yZf_yZ.js} +1 -1
  49. package/dist/component/{ecom-address-rac-Bdk-Q07X.js → ecom-address-rac-Co3WhA7m.js} +1 -1
  50. package/dist/component/{ecom-subscription-checkbox-rac-BoAls9a3.js → ecom-subscription-checkbox-rac-CYjsuRA9.js} +2 -2
  51. package/dist/component/{email-input-field-rac-77Oc4dDD.js → email-input-field-rac-C5G3pVkR.js} +14 -14
  52. package/dist/component/{events-repeater-rac-GfDVt3z5.js → events-repeater-rac-D5PXSDIH.js} +72 -70
  53. package/dist/component/{events-rsvp-rac-CsCMAtdq.js → events-rsvp-rac-BfyQNZh6.js} +3 -3
  54. package/dist/component/{field-error-headless-GKAj6Pxj.js → field-error-headless-RTyrenpC.js} +8 -8
  55. package/dist/component/{field-label-headless-PD3fGcax.js → field-label-headless-Bd00Hl2z.js} +4 -4
  56. package/dist/component/{file-upload-rac-CUxGzs3a.js → file-upload-rac-D5pTnsHO.js} +61 -61
  57. package/dist/component/{fixed-payment-rac-o5xHi-ra.js → fixed-payment-rac-ByxSjPu5.js} +9 -9
  58. package/dist/component/{form-RdPwfrvb.js → form-BG5UjjLA.js} +3547 -3403
  59. package/dist/component/form.js +1 -1
  60. package/dist/component/{header-field-rac-C9xA5iqV.js → header-field-rac-Bql6VoAi.js} +2 -2
  61. package/dist/component/{header-rac-CF1VP6hb.js → header-rac-DWAIn4eY.js} +1 -1
  62. package/dist/component/{image-choice-rac-BEYEQpY1.js → image-choice-rac-D5dSQ4Xd.js} +11 -11
  63. package/dist/component/{index-S0Acbl6c.js → index-37eV-JEp.js} +5 -5
  64. package/dist/component/{index-RuCFDOGc.js → index-DlcCtz4h.js} +4 -4
  65. package/dist/component/{isObjectLike-Ber_X_Dh.js → isObjectLike-ClPDcTiq.js} +1 -1
  66. package/dist/component/{multiline-address-field-rac-B2TgOTXA.js → multiline-address-field-rac-CpvwzmpC.js} +345 -345
  67. package/dist/component/{multiline-address-rac-CmWUcCpu.js → multiline-address-rac-ENim2Bn6.js} +1 -1
  68. package/dist/component/{number-input-field-rac-Objw_lY1.js → number-input-field-rac-DTRnmRDk.js} +21 -21
  69. package/dist/component/{number-input-rac-DZSYFSGa.js → number-input-rac-QROlEpkx.js} +1 -1
  70. package/dist/component/{password-rac-CHJ-pfD8.js → password-rac-jMoyzIP2.js} +47 -47
  71. package/dist/component/{payment-input-rac-Z_KAjeub.js → payment-input-rac-DOOV4P4b.js} +31 -31
  72. package/dist/component/{phone-input-field-rac-CyEuc3c9.js → phone-input-field-rac-BA_mTcND.js} +47 -47
  73. package/dist/component/{phone-rac-DLvx-8X_.js → phone-rac-DXcbIqHK.js} +1 -1
  74. package/dist/component/{product-list-rac-D17el6c9.js → product-list-rac-CsxR7Ut6.js} +63 -63
  75. package/dist/component/{quiz-radio-group-rac-Ci8TptOw.js → quiz-radio-group-rac-IQgqvqjs.js} +1 -1
  76. package/dist/component/{radio-button-module-classes-FofhK-mq.js → radio-button-module-classes-DIFYfYiH.js} +36 -36
  77. package/dist/component/{radio-group-field-rac-BkSMEX4O.js → radio-group-field-rac-Ca2RlxOl.js} +4 -4
  78. package/dist/component/{radio-group-rac-BTn-Cxxa.js → radio-group-rac-DDervEEb.js} +1 -1
  79. package/dist/component/{rating-input-field-rac-CocnyJZF.js → rating-input-field-rac-0kyPo9cU.js} +12 -12
  80. package/dist/component/{rating-input-rac-BvBiBfeB.js → rating-input-rac-DqPsqUKR.js} +1 -1
  81. package/dist/component/{rich-content-rac.module-QspdFAOQ.js → rich-content-rac.module-2T_-7jvb.js} +5 -5
  82. package/dist/component/{rich-text-field-rac-Bhx9hioT.js → rich-text-field-rac-W-eKzhuC.js} +4 -4
  83. package/dist/component/{rich-text-rac-BQh8FwwS.js → rich-text-rac-CzJfbAyx.js} +1 -1
  84. package/dist/component/{service-dropdown-rac-BIXPgFFy.js → service-dropdown-rac-BMJy2pZ5.js} +25 -25
  85. package/dist/component/{services-multi-choice-rac-COQ1PA73.js → services-multi-choice-rac-BBAWlI7U.js} +7 -7
  86. package/dist/component/{signature-rac-Dg-moI_C.js → signature-rac-Y1GLswrp.js} +22 -22
  87. package/dist/component/{submit-button-rac-DeDYBkOM.js → submit-button-rac-CSKbrgQ3.js} +17 -17
  88. package/dist/component/{tags-field-rac-Ddd5j-Rm.js → tags-field-rac-D3zOYcC5.js} +19 -19
  89. package/dist/component/{tags-rac-CSN4Qj7H.js → tags-rac-Cs77Abgs.js} +1 -1
  90. package/dist/component/text-area-field-rac-DZZW7rAX.js +74 -0
  91. package/dist/component/{text-area-rac-CqdvWp7s.js → text-area-rac-BRPp0HnX.js} +1 -1
  92. package/dist/component/{text-input-field-rac-3fkKXrfo.js → text-input-field-rac-tPDZmLdU.js} +3 -3
  93. package/dist/component/text-input-headless-tkwEZWs7.js +47 -0
  94. package/dist/component/{text-input-rac-DAMMZiaZ.js → text-input-rac-DnHt4vkM.js} +1 -1
  95. package/dist/component/{time-input-rac-CsF1NYzf.js → time-input-rac-Dbg4Nqb5.js} +18 -18
  96. package/dist/component/url-input-field-rac-3ODFXFRP.js +77 -0
  97. package/dist/component/{url-input-rac-xe-Fv62_.js → url-input-rac-CPb5o8Of.js} +1 -1
  98. package/dist/component/{use-dropdown-option-class-name-D2bfB7mX.js → use-dropdown-option-class-name-Dd4ncVaY.js} +2 -2
  99. package/dist/component/{use-dropdown-trigger-class-name-C70Rbjnj.js → use-dropdown-trigger-class-name-zVniRqM7.js} +29 -29
  100. package/dist/component/{use-element-state-class-name-BxTnecG_.js → use-element-state-class-name-C8jFeDrq.js} +3 -3
  101. package/dist/component/{use-hoverable-input-class-name-CjyA3fHd.js → use-hoverable-input-class-name-B9diy0Mr.js} +2 -2
  102. package/dist/component/{use-is-forced-open-dropdown-CzLh9VIQ.js → use-is-forced-open-dropdown-BR1U1l5w.js} +6 -6
  103. package/dist/component/{use-service-options-base-DcTiL5qj.js → use-service-options-base-yM4rJlq1.js} +3 -3
  104. package/dist/component/use-text-input-class-name-D6AnBbJx.js +6 -0
  105. package/package.json +4 -2
  106. package/dist/component/text-area-field-rac-VYumrKBq.js +0 -74
  107. package/dist/component/text-input-headless-DMWwlrhh.js +0 -47
  108. package/dist/component/url-input-field-rac-Cs2W0Y3s.js +0 -77
  109. package/dist/component/use-text-input-class-name-B-OzR1SQ.js +0 -6
@@ -3,20 +3,20 @@ import { RicosViewer as ne } from "@wix/ricos/viewer";
3
3
  import L from "classnames";
4
4
  import { ToggleButtonGroup as oe, TextField as re, Group as se, ToggleButton as ae, Input as le } from "react-aria-components";
5
5
  import { debounce as ce } from "ts-debounce";
6
- import { a$ as w, bL as T, bI as P, bV as ie, bD as q, bN as ue, X as me, am as pe, ax as de, M as Ie, I as Ce, ay as Ee } from "./form-RdPwfrvb.js";
6
+ import { b0 as Y, bM as T, bJ as P, bX as ie, bE as q, bO as ue, X as me, am as pe, ax as de, M as Ie, I as Ce, ay as Ee } from "./form-BG5UjjLA.js";
7
7
  import { f as O, a as N } from "./find-child-C60k4CxG.js";
8
- import { a as K } from "./format-currency-BwShJ9vM.js";
9
- import { D as fe, E as Oe } from "./field-error-headless-GKAj6Pxj.js";
10
- import { L as ye } from "./field-label-headless-PD3fGcax.js";
11
- import { F as be } from "./fieldset-headless-CD3fds9J.js";
8
+ import { a as w } from "./format-currency-BwShJ9vM.js";
9
+ import { D as fe, E as Oe } from "./field-error-headless-RTyrenpC.js";
10
+ import { L as be } from "./field-label-headless-Bd00Hl2z.js";
11
+ import { F as ye } from "./fieldset-headless-CD3fds9J.js";
12
12
  import { a as _e, b as he } from "./numeric-input-utils-CuBMi4-a.js";
13
13
  import { g as ge } from "./payment-field-utils-DobiK5Xh.js";
14
14
  import { u as Fe } from "./use-synced-display-value-DcAxdn3M.js";
15
15
  import { E as Ne } from "./error-icon-hZxQ6DEy.js";
16
16
  import { s as v } from "./field-rac.module-DcyJyi2B.js";
17
17
  import { o as De } from "./options-rac.module-_THNq6Qq.js";
18
- import { u as Se } from "./use-element-state-class-name-BxTnecG_.js";
19
- import { u as Le } from "./use-text-input-class-name-B-OzR1SQ.js";
18
+ import { u as Se } from "./use-element-state-class-name-C8jFeDrq.js";
19
+ import { u as Le } from "./use-text-input-class-name-D6AnBbJx.js";
20
20
  function ve(e, t) {
21
21
  return e.reduce((o, r) => (o[r[t]] = r, o), {});
22
22
  }
@@ -28,22 +28,22 @@ function Te(e) {
28
28
  var t;
29
29
  return ((t = e == null ? void 0 : e.fixedPriceOptions) == null ? void 0 : t.price) || "0";
30
30
  }
31
- function Y(e, t) {
31
+ function X(e, t) {
32
32
  const o = Number(t || "0");
33
33
  return {
34
34
  productId: e.id,
35
- price: e.priceType === w.DYNAMIC_PRICE ? o : String(o),
35
+ price: e.priceType === Y.DYNAMIC_PRICE ? o : String(o),
36
36
  quantity: 1
37
37
  };
38
38
  }
39
39
  function Pe(e) {
40
- return e.find((t) => t.priceType === w.DYNAMIC_PRICE);
40
+ return e.find((t) => t.priceType === Y.DYNAMIC_PRICE);
41
41
  }
42
42
  function Me(e, t) {
43
43
  return (e == null ? void 0 : e.productId) === (t == null ? void 0 : t.id) ? String((e == null ? void 0 : e.price) ?? "") : "";
44
44
  }
45
45
  const s = ({ children: e }) => {
46
- const { id: t, value: o, onChange: r, required: l, onBlur: i, onFocus: C, validation: u, addOther: E, addOtherPlaceholder: p, FieldLayout: f } = T(), { inputId: c, labelId: d, ariaDescribedBy: b } = P(), { t: m } = ie(), { currency: F, regionalFormat: _ } = q(), y = o == null ? void 0 : o[0], D = B(() => {
46
+ const { id: t, value: o, onChange: r, required: l, onBlur: i, onFocus: C, validation: u, addOther: E, addOtherPlaceholder: p, FieldLayout: f } = T(), { inputId: c, labelId: d, ariaDescribedBy: y } = P(), { t: m } = ie(), { currency: F, regionalFormat: _ } = q(), b = o == null ? void 0 : o[0], D = B(() => {
47
47
  var I, h;
48
48
  return ((h = (I = u == null ? void 0 : u.predefined) == null ? void 0 : I.paymentOptions) == null ? void 0 : h.products) || [];
49
49
  }, [
@@ -53,54 +53,54 @@ const s = ({ children: e }) => {
53
53
  ]), a = B(() => E ? Pe(D) : void 0, [
54
54
  D,
55
55
  E
56
- ]), Q = Me(y, a), [x, z] = Fe({
57
- sourceValue: Q,
56
+ ]), J = Me(b, a), [x, z] = Fe({
57
+ sourceValue: J,
58
58
  format: (I) => he(String(I ?? ""), _),
59
59
  regionalFormat: _
60
60
  }), V = S((I) => {
61
61
  const h = I === void 0 ? void 0 : M[I];
62
62
  r(h ? [
63
- Y(h, Te(h))
63
+ X(h, Te(h))
64
64
  ] : []), z("");
65
65
  }, [
66
66
  r,
67
67
  M,
68
68
  z
69
- ]), G = S((I) => {
69
+ ]), U = S((I) => {
70
70
  a && r(typeof I == "number" ? [
71
- Y(a, String(I))
71
+ X(a, String(I))
72
72
  ] : []);
73
73
  }, [
74
74
  r,
75
75
  a
76
- ]), U = B(() => ce(G, 500), [
77
- G
78
- ]), W = S((I) => {
79
- (y == null ? void 0 : y.productId) !== (a == null ? void 0 : a.id) && r(void 0);
76
+ ]), $ = B(() => ce(U, 500), [
77
+ U
78
+ ]), K = S((I) => {
79
+ (b == null ? void 0 : b.productId) !== (a == null ? void 0 : a.id) && r(void 0);
80
80
  const { validInput: h, validNumber: ee } = _e(I.target.value, Ae, x, _);
81
- z(h), U(ee);
81
+ z(h), $(ee);
82
82
  }, [
83
83
  _,
84
84
  r,
85
- y,
85
+ b,
86
86
  a,
87
87
  x,
88
- U,
88
+ $,
89
89
  z
90
- ]), H = (y == null ? void 0 : y.productId) || null, X = S(() => {
90
+ ]), H = (b == null ? void 0 : b.productId) || null, Q = S(() => {
91
91
  a != null && a.id && H !== a.id && V(a.id);
92
92
  }, [
93
93
  a == null ? void 0 : a.id,
94
94
  H,
95
95
  V
96
- ]), j = O(e, s.Label), k = O(e, s.Control), J = O(e, s.Description), Z = O(e, s.Error);
96
+ ]), W = O(e, s.Label), k = O(e, s.Control), j = O(e, s.Description), Z = O(e, s.Error);
97
97
  return /* @__PURE__ */ n.createElement(f, {
98
98
  fieldId: t,
99
- renderLabel: () => j,
100
- renderInput: () => /* @__PURE__ */ n.createElement(be, {
99
+ renderLabel: () => W,
100
+ renderInput: () => /* @__PURE__ */ n.createElement(ye, {
101
101
  id: c,
102
102
  ariaLabelledBy: d,
103
- ariaDescribedBy: b,
103
+ ariaDescribedBy: y,
104
104
  required: l,
105
105
  onBlur: i,
106
106
  onFocus: C
@@ -110,17 +110,17 @@ const s = ({ children: e }) => {
110
110
  onSelectProduct: V,
111
111
  addOther: E,
112
112
  customAmount: x,
113
- onCustomAmountInputChange: W,
113
+ onCustomAmountInputChange: K,
114
114
  currency: F,
115
115
  t: m,
116
116
  placeholder: p === void 0 ? m("donation.other-option.placeholder") : p,
117
117
  customAmountProductId: a == null ? void 0 : a.id,
118
- onFocusCustomInput: X
118
+ onFocusCustomInput: Q
119
119
  }) : null),
120
- renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, Z, J)
120
+ renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, Z, j)
121
121
  });
122
122
  }, ze = ({ children: e, className: t, ...o }) => {
123
- const { productsById: r, selectedValue: l, onSelectProduct: i, addOther: C, customAmount: u, onCustomAmountInputChange: E, currency: p, t: f, placeholder: c, customAmountProductId: d, onFocusCustomInput: b } = o, { hasError: m } = T(), F = O(e, s.Options), _ = O(e, s.OtherInput);
123
+ const { productsById: r, selectedValue: l, onSelectProduct: i, addOther: C, customAmount: u, onCustomAmountInputChange: E, currency: p, t: f, placeholder: c, customAmountProductId: d, onFocusCustomInput: y } = o, { hasError: m } = T(), F = O(e, s.Options), _ = O(e, s.OtherInput);
124
124
  return /* @__PURE__ */ n.createElement("div", {
125
125
  className: t,
126
126
  "data-invalid": m
@@ -135,10 +135,10 @@ const s = ({ children: e }) => {
135
135
  t: f,
136
136
  placeholder: c,
137
137
  customAmountProductId: d,
138
- onFocusCustomInput: b
138
+ onFocusCustomInput: y
139
139
  }) : null);
140
- }, $ = ({ children: e, className: t, ...o }) => {
141
- const { productsById: r, selectedValue: l, onSelectProduct: i } = o, { options: C, numberOfColumns: u, disabled: E } = T(), { labelId: p } = P(), f = O(e, $.Option);
140
+ }, G = ({ children: e, className: t, ...o }) => {
141
+ const { productsById: r, selectedValue: l, onSelectProduct: i } = o, { options: C, numberOfColumns: u, disabled: E } = T(), { labelId: p } = P(), f = O(e, G.Option);
142
142
  return /* @__PURE__ */ n.createElement(oe, {
143
143
  className: t,
144
144
  "data-columns": u,
@@ -153,15 +153,15 @@ const s = ({ children: e }) => {
153
153
  isDisabled: E
154
154
  }, C.map((c) => {
155
155
  var m;
156
- const d = r[c.value], b = (m = d == null ? void 0 : d.fixedPriceOptions) == null ? void 0 : m.price;
156
+ const d = r[c.value], y = (m = d == null ? void 0 : d.fixedPriceOptions) == null ? void 0 : m.price;
157
157
  return N(f, {
158
158
  key: c.value,
159
159
  value: c.value,
160
- price: b || "0"
160
+ price: y || "0"
161
161
  });
162
162
  }));
163
163
  }, R = ({ children: e, className: t, ...o }) => {
164
- const { value: r, price: l } = o, { id: i, hasError: C } = T(), { currency: u, regionalFormat: E } = q(), p = O(e, R.Value), f = O(e, R.Currency), { isCurrencyPrefixed: c } = K({
164
+ const { value: r, price: l } = o, { id: i, hasError: C } = T(), { currency: u, regionalFormat: E } = q(), p = O(e, R.Value), f = O(e, R.Currency), { isCurrencyPrefixed: c } = w({
165
165
  amount: l,
166
166
  currency: u == null ? void 0 : u.code,
167
167
  locale: E
@@ -172,7 +172,7 @@ const s = ({ children: e }) => {
172
172
  preventScroll: !0
173
173
  });
174
174
  }, i);
175
- const b = p ? N(p, {
175
+ const y = p ? N(p, {
176
176
  price: l
177
177
  }) : null;
178
178
  return /* @__PURE__ */ n.createElement(ae, {
@@ -180,9 +180,9 @@ const s = ({ children: e }) => {
180
180
  className: t,
181
181
  ref: d,
182
182
  "data-invalid": C || void 0
183
- }, /* @__PURE__ */ n.createElement(n.Fragment, null, c && f, b, !c && f));
183
+ }, /* @__PURE__ */ n.createElement(n.Fragment, null, c && f, y, !c && f));
184
184
  }, Be = ({ className: e, ...t }) => {
185
- const { price: o } = t, { currency: r, regionalFormat: l } = q(), { value: i } = K({
185
+ const { price: o } = t, { currency: r, regionalFormat: l } = q(), { value: i } = w({
186
186
  amount: o,
187
187
  currency: r == null ? void 0 : r.code,
188
188
  locale: l
@@ -199,7 +199,7 @@ const s = ({ children: e }) => {
199
199
  R.Value = Be;
200
200
  R.Currency = qe;
201
201
  const A = ({ children: e, className: t, ...o }) => {
202
- const { customAmount: r, onCustomAmountInputChange: l, currency: i, t: C, placeholder: u, customAmountProductId: E, onFocusCustomInput: p } = o, { disabled: f, hasError: c } = T(), { labelId: d, prefixId: b } = P(), m = O(e, A.Currency), F = O(e, A.Value), _ = S((D) => {
202
+ const { customAmount: r, onCustomAmountInputChange: l, currency: i, t: C, placeholder: u, customAmountProductId: E, onFocusCustomInput: p } = o, { disabled: f, hasError: c } = T(), { labelId: d, prefixId: y } = P(), m = O(e, A.Currency), F = O(e, A.Value), _ = S((D) => {
203
203
  l({
204
204
  target: {
205
205
  value: D
@@ -207,16 +207,16 @@ const A = ({ children: e, className: t, ...o }) => {
207
207
  });
208
208
  }, [
209
209
  l
210
- ]), y = S(() => {
210
+ ]), b = S(() => {
211
211
  p();
212
212
  }, [
213
213
  p
214
214
  ]);
215
215
  return /* @__PURE__ */ n.createElement(re, {
216
- "aria-labelledby": `${d} ${b}`,
216
+ "aria-labelledby": `${d} ${y}`,
217
217
  value: r,
218
218
  onChange: _,
219
- onFocus: y,
219
+ onFocus: b,
220
220
  isDisabled: f,
221
221
  isInvalid: c
222
222
  }, /* @__PURE__ */ n.createElement(se, {
@@ -252,32 +252,32 @@ const A = ({ children: e, className: t, ...o }) => {
252
252
  };
253
253
  A.Currency = xe;
254
254
  A.Value = Ve;
255
- $.Option = R;
256
- s.Label = ye;
255
+ G.Option = R;
256
+ s.Label = be;
257
257
  s.Control = ze;
258
- s.Options = $;
258
+ s.Options = G;
259
259
  s.OtherInput = A;
260
260
  s.Description = fe;
261
261
  s.Error = Oe;
262
- const He = "_control_ztzql_1", $e = "_option_ztzql_7", Ge = "_optionHover_ztzql_36", Ue = "_optionSelected_ztzql_36", ke = "_optionCurrency_ztzql_89", Ye = "_otherInput_ztzql_93", we = "_otherInputCurrency_ztzql_115", g = {
262
+ const He = "_control_ztzql_1", Ge = "_option_ztzql_7", Ue = "_optionHover_ztzql_36", $e = "_optionSelected_ztzql_36", ke = "_optionCurrency_ztzql_89", Xe = "_otherInput_ztzql_93", Ye = "_otherInputCurrency_ztzql_115", g = {
263
263
  control: He,
264
- option: $e,
265
- optionHover: Ge,
266
- optionSelected: Ue,
264
+ option: Ge,
265
+ optionHover: Ue,
266
+ optionSelected: $e,
267
267
  optionCurrency: ke,
268
- otherInput: Ye,
269
- otherInputCurrency: we
270
- }, Ke = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(ne, {
268
+ otherInput: Xe,
269
+ otherInputCurrency: Ye
270
+ }, we = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(ne, {
271
271
  content: e,
272
272
  locale: t
273
- }), Qe = {
273
+ }), Je = {
274
274
  base: g.option,
275
275
  selected: g.optionSelected,
276
276
  hover: g.optionHover
277
- }, We = () => {
277
+ }, Ke = () => {
278
278
  const e = Le(g.otherInput), t = Se({
279
279
  globalClasses: Ee,
280
- moduleClasses: Qe
280
+ moduleClasses: Je
281
281
  });
282
282
  return /* @__PURE__ */ n.createElement(s, null, /* @__PURE__ */ n.createElement(s.Label, {
283
283
  className: L(me, v.label)
@@ -301,8 +301,8 @@ const He = "_control_ztzql_1", $e = "_option_ztzql_7", Ge = "_optionHover_ztzql_
301
301
  className: L(Ie, v.error)
302
302
  }, /* @__PURE__ */ n.createElement(Ne, null), /* @__PURE__ */ n.createElement(s.Error.Text, null)), /* @__PURE__ */ n.createElement(s.Description, {
303
303
  className: L(Ce, v.description)
304
- }, Ke));
305
- }, Ct = () => /* @__PURE__ */ n.createElement(We, null);
304
+ }, we));
305
+ }, Ct = () => /* @__PURE__ */ n.createElement(Ke, null);
306
306
  export {
307
307
  Ct as DonationRAC
308
308
  };
@@ -1,13 +1,13 @@
1
1
  import { RicosViewer as m } from "@wix/ricos/viewer";
2
2
  import a from "classnames";
3
3
  import e from "react";
4
- import { u as n, D as r } from "./use-dropdown-trigger-class-name-C70Rbjnj.js";
4
+ import { u as n, D as r } from "./use-dropdown-trigger-class-name-zVniRqM7.js";
5
5
  import { C as l } from "./chevron-down-icon-CcpVm6B-.js";
6
6
  import { E as c } from "./error-icon-hZxQ6DEy.js";
7
7
  import { H as i } from "./custom-focus-class-_483Pkwp.js";
8
8
  import { s as o } from "./field-rac.module-DcyJyi2B.js";
9
- import { X as p, am as E, J as D, M as _, I as O } from "./form-RdPwfrvb.js";
10
- import { u as R } from "./use-dropdown-option-class-name-D2bfB7mX.js";
9
+ import { X as p, am as E, J as D, M as _, I as O } from "./form-BG5UjjLA.js";
10
+ import { u as R } from "./use-dropdown-option-class-name-Dd4ncVaY.js";
11
11
  const C = ({ content: t, locale: s }) => /* @__PURE__ */ e.createElement(m, {
12
12
  content: t,
13
13
  locale: s
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { D as r } from "./dropdown-field-rac-Bgjtp3L4.js";
2
+ import { D as r } from "./dropdown-field-rac-D58C7YZG.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-B2TgOTXA.js";
2
+ import { M as r } from "./multiline-address-field-rac-CpvwzmpC.js";
3
3
  const l = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  l as EcomAddressRAC
@@ -1,6 +1,6 @@
1
1
  import o, { useMemo as n } from "react";
2
- import { bL as a, bV as c, aN as i } from "./form-RdPwfrvb.js";
3
- import { C as l } from "./checkbox-field-rac-DP6HkB2N.js";
2
+ import { bM as a, bX as c, aN as i } from "./form-BG5UjjLA.js";
3
+ import { C as l } from "./checkbox-field-rac-QwFSqEgs.js";
4
4
  const p = (e) => ({
5
5
  nodes: [
6
6
  {
@@ -2,7 +2,7 @@ import { RicosViewer as ie } from "@wix/ricos/viewer";
2
2
  import j from "classnames";
3
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 { bI as fe, bV as ge, bG as ve, d as ye, bL as Ee, bP as de, bJ as be, aL as Se, X as Oe, am as he, M as Ie, I as Ne, aw as Ae } from "./form-RdPwfrvb.js";
5
+ import { bJ as fe, bX as ge, bH as ve, d as ye, bM as Ee, bQ as de, bK as be, aL as Se, X as Oe, am as he, M as Ie, I as Ne, aw as Ae } from "./form-BG5UjjLA.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,10 +10,10 @@ import Fe from "@babel/runtime/helpers/defineProperty";
10
10
  import ke from "html-parse-stringify";
11
11
  import Te from "@babel/runtime/helpers/classCallCheck";
12
12
  import xe from "@babel/runtime/helpers/createClass";
13
- import { T as U } from "./text-input-headless-DMWwlrhh.js";
13
+ import { T as U } from "./text-input-headless-tkwEZWs7.js";
14
14
  import { E as De } from "./error-icon-hZxQ6DEy.js";
15
15
  import { s as H } from "./field-rac.module-DcyJyi2B.js";
16
- import { u as je } from "./use-text-input-class-name-B-OzR1SQ.js";
16
+ import { u as je } from "./use-text-input-class-name-D6AnBbJx.js";
17
17
  var Ce = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Le = {
18
18
  "&": "&",
19
19
  "&": "&",
@@ -109,12 +109,12 @@ function p(e) {
109
109
  }
110
110
  return e;
111
111
  }
112
- function G(e, t) {
112
+ function Y(e, t) {
113
113
  if (!e) return !1;
114
114
  var a = e.props ? e.props.children : e.children;
115
115
  return t ? a.length > 0 : !!a;
116
116
  }
117
- function Y(e) {
117
+ function G(e) {
118
118
  return e ? e.props ? e.props.children : e.children : [];
119
119
  }
120
120
  function qe(e) {
@@ -125,7 +125,7 @@ function qe(e) {
125
125
  function M(e) {
126
126
  return Array.isArray(e) ? e : [e];
127
127
  }
128
- function Ge(e, t) {
128
+ function Ye(e, t) {
129
129
  var a = p({}, t);
130
130
  return a.props = Object.assign(e.props, t.props), a;
131
131
  }
@@ -162,7 +162,7 @@ function te(e, t) {
162
162
  K("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.", r);
163
163
  }), a;
164
164
  }
165
- function Ye(e, t, a, o, c, r) {
165
+ function Ge(e, t, a, o, c, r) {
166
166
  if (t === "") return [];
167
167
  var g = o.transKeepBasicHtmlNodesFor || [], v = t && new RegExp(g.join("|")).test(t);
168
168
  if (!e && !v) return [t];
@@ -170,13 +170,13 @@ function Ye(e, t, a, o, c, r) {
170
170
  function b(y) {
171
171
  var h = M(y);
172
172
  h.forEach(function(s) {
173
- typeof s != "string" && (G(s) ? b(Y(s)) : L(s) === "object" && !B(s) && Object.assign(d, s));
173
+ typeof s != "string" && (Y(s) ? b(G(s)) : L(s) === "object" && !B(s) && Object.assign(d, s));
174
174
  });
175
175
  }
176
176
  b(e);
177
177
  var T = ke.parse("<0>".concat(t, "</0>")), O = p(p({}, d), c);
178
178
  function F(y, h, s) {
179
- var i = Y(y), I = S(i, h.children, s);
179
+ var i = G(y), I = S(i, h.children, s);
180
180
  return qe(i) && I.length === 0 ? i : I;
181
181
  }
182
182
  function A(y, h, s, i, I) {
@@ -191,13 +191,13 @@ function Ye(e, t, a, o, c, r) {
191
191
  if (n.type === "tag") {
192
192
  var N = i[parseInt(n.name, 10)];
193
193
  !N && s.length === 1 && s[0][n.name] && (N = s[0][n.name]), N || (N = {});
194
- var m = Object.keys(n.attrs).length !== 0 ? Ge({
194
+ var m = Object.keys(n.attrs).length !== 0 ? Ye({
195
195
  props: n.attrs
196
- }, N) : N, x = B(m), V = x && G(n, !0) && !n.voidElement, P = v && L(m) === "object" && m.dummy && !x, _ = L(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
196
+ }, 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);
197
197
  if (typeof m == "string") {
198
198
  var q = a.services.interpolator.interpolate(m, O, a.language);
199
199
  l.push(q);
200
- } else if (G(m) || V) {
200
+ } else if (Y(m) || V) {
201
201
  var ne = F(m, n, s);
202
202
  A(m, ne, l, E);
203
203
  } else if (P) {
@@ -247,7 +247,7 @@ function Ye(e, t, a, o, c, r) {
247
247
  dummy: !0,
248
248
  children: e || []
249
249
  }], T, M(e || []));
250
- return Y(D[0]);
250
+ return G(D[0]);
251
251
  }
252
252
  function $e(e) {
253
253
  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, F = e.i18n, A = e.t, S = e.shouldUnescape, D = ee(e, Ve), y = Z(He) || {}, h = y.i18n, s = y.defaultNS, i = F || h || Ke();
@@ -269,7 +269,7 @@ function $e(e) {
269
269
  }, d), m), {}, {
270
270
  defaultValue: E,
271
271
  ns: n
272
- }), V = N ? I(N, x) : E, P = Ye(T || t, V, i, l, x, S), _ = o !== void 0 ? o : l.defaultTransParent;
272
+ }), V = N ? I(N, x) : E, P = Ge(T || t, V, i, l, x, S), _ = o !== void 0 ? o : l.defaultTransParent;
273
273
  return _ ? R(_, D, P) : P;
274
274
  }
275
275
  const We = "email-mistype-suggestion", Xe = "email-mistype-suggestion-link", ae = /* @__PURE__ */ z(void 0);