@wix/form-elements 1.108.0 → 1.109.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/dist/component/{appointment-rac-ZAp8oWbK.js → appointment-rac-C9-XwsPI.js} +60 -60
  2. package/dist/component/{bookings-address-rac-x-Az7vHf.js → bookings-address-rac-jrrCPWjw.js} +1 -1
  3. package/dist/component/{bookings-email-rac-MoF_CaqB.js → bookings-email-rac-J9-RMEbf.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-CWh3Rb0M.js → bookings-first-name-rac-CH7-6JmA.js} +1 -1
  5. package/dist/component/{bookings-header-rac-BVTiXUWk.js → bookings-header-rac-C2JV-ciN.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-kXRRlyHl.js → bookings-last-name-rac-0a9CwiaV.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-C4Zr6kXE.js → bookings-login-bar-rac-4Mb7MQYe.js} +3 -3
  8. package/dist/component/{bookings-phone-rac-2rz1m_xi.js → bookings-phone-rac-vYx5r5jn.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-BEjGypQw.js → bookings-rich-text-rac-CWg1FgUp.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-DwEQLIaz.js → checkbox-field-rac-Dwx1leKA.js} +43 -43
  11. package/dist/component/{checkbox-group-field-headless-BsOww_QB.js → checkbox-group-field-headless-AFWgXzx_.js} +8 -8
  12. package/dist/component/{checkbox-group-field-rac-DTcZcVS6.js → checkbox-group-field-rac-CO8kmWJp.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-DQsML-pW.js → checkbox-group-rac-_79HsFF4.js} +1 -1
  14. package/dist/component/{checkbox-rac-irEBBOxP.js → checkbox-rac-B_tbMfjo.js} +1 -1
  15. package/dist/component/{contacts-address-rac-B5bSAYrm.js → contacts-address-rac-SJ5Tvzd0.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DyScj8f4.js → contacts-birthdate-rac-BU1L3sbW.js} +1 -1
  17. package/dist/component/{contacts-company-rac-C5X9-jXa.js → contacts-company-rac-Y4B8KhDa.js} +1 -1
  18. package/dist/component/{contacts-email-rac-B0vkfmrS.js → contacts-email-rac-CQW84o7C.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-Cfil3U_e.js → contacts-first-name-rac-Dtai-wtH.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-CtPLE-7-.js → contacts-last-name-rac--ixuu3ri.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-YkzsAoBZ.js → contacts-phone-rac-HOHfSvT-.js} +1 -1
  22. package/dist/component/{contacts-position-rac-BS4j8QC-.js → contacts-position-rac-BPMkh6yf.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-z_9VsEZL.js → contacts-subscribe-rac-D0_RMwJb.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-WFkmKyZv.js → contacts-tax-id-rac-CZJmMiVf.js} +1 -1
  25. package/dist/component/{date-availability-NN3rxosk.js → date-availability-C4dDHvuc.js} +1 -1
  26. package/dist/component/{date-input-field-rac-mdhEC3oq.js → date-input-field-rac-8oERZcqh.js} +64 -64
  27. package/dist/component/{date-input-rac-CGciuoTx.js → date-input-rac-CYRojmW6.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-CRZVODfF.js → date-picker-field-rac-CIspU7No.js} +31 -31
  29. package/dist/component/{date-picker-rac-Bfbvjy8W.js → date-picker-rac-D0Y0zf2J.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-TDWBXZ44.js → date-time-input-field-rac-0daWK65I.js} +70 -70
  31. package/dist/component/{date-time-input-rac-DY0qdSix.js → date-time-input-rac-BemKPk1j.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-BFGM7SOt.js → dext-checkbox-group-rac-BpFNn56W.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-DPZvTeUZ.js → dext-checkbox-rac-DOISgubJ.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-Xd5kojsQ.js → dext-date-picker-rac-CNGhFg_g.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-C0RIdxJW.js → dext-date-time-input-rac-BuUIvJRr.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-D1m8vJvm.js → dext-dropdown-rac-DtND-Dbo.js} +1 -1
  37. package/dist/component/{dext-email-rac-BC81RFYY.js → dext-email-rac-CmjLFOi8.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-Z_ih9FfX.js → dext-number-input-rac-DHTNg1dh.js} +1 -1
  39. package/dist/component/{dext-phone-rac-s3BOnXuI.js → dext-phone-rac-BrrU5qH_.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-CL3jcezs.js → dext-radio-group-rac-CD3MGfAM.js} +4 -4
  41. package/dist/component/{dext-rating-input-rac-wz1EyP5b.js → dext-rating-input-rac-BETGJZmt.js} +1 -1
  42. package/dist/component/{dext-tags-rac-BY4Rf2BP.js → dext-tags-rac-Coo9jN-T.js} +4 -4
  43. package/dist/component/{dext-text-area-rac-DRJzlsq8.js → dext-text-area-rac-CNWjqhUT.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-BGcRNNAi.js → dext-text-input-rac-CCWyDexv.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-CRAIm8yp.js → dext-url-input-rac-Dtakkgmk.js} +1 -1
  46. package/dist/component/{donation-rac-BlTfOIlE.js → donation-rac-BboGm_k_.js} +74 -74
  47. package/dist/component/{dropdown-field-headless-DhzRAMcM.js → dropdown-field-headless-BTMJGUwY.js} +10 -10
  48. package/dist/component/{dropdown-field-rac-DXyY5we-.js → dropdown-field-rac-CDRV8ckB.js} +3 -3
  49. package/dist/component/{dropdown-rac-C6YM6qxm.js → dropdown-rac-kEuU2pXW.js} +1 -1
  50. package/dist/component/{ecom-address-rac-CAdr7wya.js → ecom-address-rac-BgKL9ElH.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-Z2VMuCbt.js → ecom-subscription-checkbox-rac-CDhJsNPD.js} +2 -2
  52. package/dist/component/{email-input-field-rac-DpkfunVK.js → email-input-field-rac-DdOd86NX.js} +47 -47
  53. package/dist/component/{events-repeater-rac-CuJkdrPo.js → events-repeater-rac-_VJ30dpB.js} +8 -8
  54. package/dist/component/{events-rsvp-rac-BKWlSeQ9.js → events-rsvp-rac-DA-261bq.js} +10 -10
  55. package/dist/component/{field-error-headless-tsg9FQ-_.js → field-error-headless-CovyN0GI.js} +11 -11
  56. package/dist/component/{field-label-headless-CB8dEat8.js → field-label-headless-DVvX2QaH.js} +4 -4
  57. package/dist/component/file-upload-rac-bhEPUJPs.js +561 -0
  58. package/dist/component/{fixed-payment-rac-CuIQEeHh.js → fixed-payment-rac-DmI6MeKc.js} +15 -15
  59. package/dist/component/{form-0jt4L5xo.js → form-BTDgyr54.js} +950 -913
  60. package/dist/component/form.css +1 -1
  61. package/dist/component/form.js +3 -3
  62. package/dist/component/{header-field-rac-CWVGzxKb.js → header-field-rac-C0rUjmo0.js} +4 -4
  63. package/dist/component/{header-rac-D6KsV-ko.js → header-rac-DRMO22PV.js} +1 -1
  64. package/dist/component/{image-choice-rac-CUCyVS8c.js → image-choice-rac-CQDQ7AlD.js} +9 -9
  65. package/dist/component/{index-iOqQidgV.js → index-B9QlosT1.js} +2 -2
  66. package/dist/component/{index-TJSnVtCO.js → index-CNWT9t6j.js} +43 -43
  67. package/dist/component/{isObjectLike-DQbx8r1c.js → isObjectLike-c0td2WCR.js} +1 -1
  68. package/dist/component/{multiline-address-field-rac-DtZ1NTfD.js → multiline-address-field-rac-D8bVxRsD.js} +78 -78
  69. package/dist/component/{multiline-address-rac-ub-_XzHU.js → multiline-address-rac-g-6RB7o8.js} +1 -1
  70. package/dist/component/{number-input-field-rac-DLItn4DK.js → number-input-field-rac-BaOwQ5Ya.js} +13 -13
  71. package/dist/component/{number-input-rac-UuxJzqEx.js → number-input-rac-BXv8-Pnj.js} +1 -1
  72. package/dist/component/{password-rac-Di6q96Rn.js → password-rac-BB9XeSSZ.js} +15 -15
  73. package/dist/component/{payment-input-rac-CG6c4-Ge.js → payment-input-rac-DwnSV9rM.js} +44 -44
  74. package/dist/component/{phone-input-field-rac-D4JphCuT.js → phone-input-field-rac-CC3C4ToW.js} +50 -50
  75. package/dist/component/{phone-rac-_vDw2usa.js → phone-rac-DpNhSaE0.js} +1 -1
  76. package/dist/component/{product-list-rac-CgxRlj1f.js → product-list-rac-BAESk3B6.js} +50 -50
  77. package/dist/component/{quiz-radio-group-rac-bi26aGxN.js → quiz-radio-group-rac-PS6AZr63.js} +1 -1
  78. package/dist/component/{radio-button-module-classes-DDJq2ESf.js → radio-button-module-classes-CXcn5unY.js} +14 -14
  79. package/dist/component/{radio-group-field-rac-D1aMVO6l.js → radio-group-field-rac-pt8xbDfS.js} +6 -6
  80. package/dist/component/{radio-group-rac-HKC85M6t.js → radio-group-rac-DkzkM6N_.js} +1 -1
  81. package/dist/component/{rating-input-field-rac-CpRehxFB.js → rating-input-field-rac-DDHBkR4x.js} +20 -20
  82. package/dist/component/{rating-input-rac-BMuCZ3oj.js → rating-input-rac-CcsDmLus.js} +1 -1
  83. package/dist/component/{rich-content-rac.module-mZ6xoAOd.js → rich-content-rac.module-B2vsO6fj.js} +1 -1
  84. package/dist/component/{rich-text-field-rac-CUK8V8Kf.js → rich-text-field-rac-CvKht2eC.js} +4 -4
  85. package/dist/component/{rich-text-rac-B-7sR2FJ.js → rich-text-rac-CRpSffQB.js} +1 -1
  86. package/dist/component/{service-dropdown-rac-1DDNT5bn.js → service-dropdown-rac-BOpdXNjG.js} +33 -33
  87. package/dist/component/{services-multi-choice-rac-CB-6dwxz.js → services-multi-choice-rac-t0wdSt_T.js} +13 -13
  88. package/dist/component/{signature-rac-7XBci6P2.js → signature-rac-2LsIYYIX.js} +133 -133
  89. package/dist/component/{submit-button-rac-B1-Mk8Gg.js → submit-button-rac-BbE8dS35.js} +17 -17
  90. package/dist/component/{tags-field-rac-CQ9Y7mq-.js → tags-field-rac-BnsBxReU.js} +32 -32
  91. package/dist/component/{tags-rac-Visic-Ml.js → tags-rac-BFH4RINA.js} +1 -1
  92. package/dist/component/{text-area-field-rac-C8fP1g-w.js → text-area-field-rac-Ag7_gniM.js} +14 -14
  93. package/dist/component/{text-area-rac-B6yZxzxm.js → text-area-rac-ByUX0p2O.js} +1 -1
  94. package/dist/component/{text-input-field-rac-CNjbOxD1.js → text-input-field-rac-D3MZ8teu.js} +5 -5
  95. package/dist/component/{text-input-headless-Bm8PJGep.js → text-input-headless-CwONErsY.js} +3 -3
  96. package/dist/component/{text-input-rac-BEPC1Z-4.js → text-input-rac-DLXdAhkK.js} +1 -1
  97. package/dist/component/{time-input-rac-3m6C_Jp5.js → time-input-rac-Bs55lTON.js} +27 -27
  98. package/dist/component/{url-input-field-rac-CIk_6Lf6.js → url-input-field-rac-FG-bCh-E.js} +19 -19
  99. package/dist/component/{url-input-rac-DyVoygXH.js → url-input-rac-BOKuCMTe.js} +1 -1
  100. package/dist/component/{use-dropdown-option-class-name-McG3ayOT.js → use-dropdown-option-class-name-DjV7FW5y.js} +2 -2
  101. package/dist/component/{use-element-state-class-name-B9MBWX44.js → use-element-state-class-name-DB1AzkvF.js} +1 -1
  102. package/dist/component/{use-is-forced-open-dropdown-r5G_sZsO.js → use-is-forced-open-dropdown-ifUIpuwL.js} +8 -8
  103. package/dist/component/{use-service-options-base-hcbkvhpw.js → use-service-options-base-B11cq0HH.js} +1 -1
  104. package/dist/component/{use-text-input-class-name-SnurFqAr.js → use-text-input-class-name-va1PzWFg.js} +2 -2
  105. package/dist/form.d.ts +18 -0
  106. package/package.json +2 -2
  107. package/dist/component/file-upload-rac-ZdgYt646.js +0 -483
@@ -3,19 +3,19 @@ import { RicosViewer as se } from "@wix/ricos/viewer";
3
3
  import F from "classnames";
4
4
  import { RadioGroup as ae, RadioField as Y, RadioButton as Q, TextField as le, Group as ie, Input as ce } from "react-aria-components";
5
5
  import { debounce as ue } from "ts-debounce";
6
- import { am as W, b5 as L, b2 as B, bf as me, aZ as j, b7 as pe, H as de, T as fe, q as Ie, u as Ce, p as Ee, r as he } from "./form-0jt4L5xo.js";
6
+ import { aq as W, b9 as L, b6 as B, bj as me, b1 as j, bb as pe, I as de, U as Ie, q as fe, v as Ce, p as Ee, r as he } from "./form-BTDgyr54.js";
7
7
  import { f as E, a as y } from "./find-child-C60k4CxG.js";
8
- import { a as Z } from "./format-currency-BwShJ9vM.js";
9
- import { D as Oe, E as _e } from "./field-error-headless-tsg9FQ-_.js";
10
- import { L as be } from "./field-label-headless-CB8dEat8.js";
8
+ import { a as z } from "./format-currency-BwShJ9vM.js";
9
+ import { D as Oe, E as be } from "./field-error-headless-CovyN0GI.js";
10
+ import { L as _e } from "./field-label-headless-DVvX2QaH.js";
11
11
  import { a as ye, b as ge } from "./numeric-input-utils-CuBMi4-a.js";
12
12
  import { g as Ne } from "./payment-field-utils-DobiK5Xh.js";
13
13
  import { u as Fe } from "./use-synced-display-value-DcAxdn3M.js";
14
14
  import { E as De } from "./error-icon-hZxQ6DEy.js";
15
- import { s as S } from "./field-rac.module-B4l_0KRU.js";
15
+ import { s as v } from "./field-rac.module-B4l_0KRU.js";
16
16
  import { o as G } from "./options-rac.module-CTDdATiz.js";
17
- import { u as Se } from "./use-element-state-class-name-B9MBWX44.js";
18
- import { u as ve } from "./use-text-input-class-name-SnurFqAr.js";
17
+ import { u as ve } from "./use-element-state-class-name-DB1AzkvF.js";
18
+ import { u as Se } from "./use-text-input-class-name-va1PzWFg.js";
19
19
  function Re(e, t) {
20
20
  return e.reduce((o, r) => (o[r[t]] = r, o), {});
21
21
  }
@@ -27,7 +27,7 @@ function Te(e) {
27
27
  var t;
28
28
  return ((t = e == null ? void 0 : e.fixedPriceOptions) == null ? void 0 : t.price) || "0";
29
29
  }
30
- function z(e, t) {
30
+ function J(e, t) {
31
31
  const o = Number(t || "0");
32
32
  return {
33
33
  productId: e.id,
@@ -44,11 +44,11 @@ function xe(e, t) {
44
44
  function Me(e, t, o) {
45
45
  const r = (t == null ? void 0 : t.productId) === e ? void 0 : e, a = r ? o[r] : void 0;
46
46
  return a ? [
47
- z(a, Te(a))
47
+ J(a, Te(a))
48
48
  ] : [];
49
49
  }
50
50
  const s = ({ children: e }) => {
51
- const { id: t, value: o, onChange: r, disabled: a, required: u, onBlur: m, onFocus: f, validation: i, addOther: p, addOtherPlaceholder: c, FieldLayout: h, hasError: b } = L(), { labelId: O } = B(), { t: I } = me(), { currency: A, regionalFormat: g } = j(), d = o == null ? void 0 : o[0], N = M(() => {
51
+ const { id: t, value: o, onChange: r, disabled: a, required: u, onBlur: m, onFocus: I, validation: i, addOther: p, addOtherPlaceholder: c, FieldLayout: h, hasError: _ } = L(), { labelId: O } = B(), { t: f } = me(), { currency: A, regionalFormat: g } = j(), d = o == null ? void 0 : o[0], N = M(() => {
52
52
  var C, x;
53
53
  return ((x = (C = i == null ? void 0 : i.predefined) == null ? void 0 : C.paymentOptions) == null ? void 0 : x.products) || [];
54
54
  }, [
@@ -58,8 +58,8 @@ const s = ({ children: e }) => {
58
58
  ]), l = M(() => p ? Pe(N) : void 0, [
59
59
  N,
60
60
  p
61
- ]), J = xe(d, l), [q, P] = Fe({
62
- sourceValue: J,
61
+ ]), K = xe(d, l), [q, P] = Fe({
62
+ sourceValue: K,
63
63
  format: (C) => ge(String(C ?? ""), g),
64
64
  regionalFormat: g
65
65
  }), w = D((C) => {
@@ -69,16 +69,16 @@ const s = ({ children: e }) => {
69
69
  T,
70
70
  d,
71
71
  P
72
- ]), U = D((C) => {
72
+ ]), k = D((C) => {
73
73
  l && r(typeof C == "number" ? [
74
- z(l, String(C))
74
+ J(l, String(C))
75
75
  ] : []);
76
76
  }, [
77
77
  r,
78
78
  l
79
- ]), $ = M(() => ue(U, 500), [
80
- U
81
- ]), K = D((C) => {
79
+ ]), $ = M(() => ue(k, 500), [
80
+ k
81
+ ]), X = D((C) => {
82
82
  (d == null ? void 0 : d.productId) !== (l == null ? void 0 : l.id) && r(void 0);
83
83
  const { validInput: x, validNumber: oe } = ye(C.target.value, Ae, q, g);
84
84
  P(x), $(oe);
@@ -90,7 +90,7 @@ const s = ({ children: e }) => {
90
90
  q,
91
91
  $,
92
92
  P
93
- ]), H = (d == null ? void 0 : d.productId) || null, X = D(() => {
93
+ ]), H = (d == null ? void 0 : d.productId) || null, Z = D(() => {
94
94
  l != null && l.id && H !== l.id && w(l.id);
95
95
  }, [
96
96
  l == null ? void 0 : l.id,
@@ -105,28 +105,28 @@ const s = ({ children: e }) => {
105
105
  value: H,
106
106
  onChange: w,
107
107
  isDisabled: a,
108
- isInvalid: b,
108
+ isInvalid: _,
109
109
  isRequired: u,
110
110
  onBlur: m,
111
- onFocus: f
111
+ onFocus: I
112
112
  }, V ? y(V, {
113
113
  productsById: T,
114
114
  addOther: p,
115
115
  customAmount: q,
116
- onCustomAmountInputChange: K,
116
+ onCustomAmountInputChange: X,
117
117
  currency: A,
118
- t: I,
119
- placeholder: c === void 0 ? I("donation.other-option.placeholder") : c,
118
+ t: f,
119
+ placeholder: c === void 0 ? f("donation.other-option.placeholder") : c,
120
120
  customAmountProductId: l == null ? void 0 : l.id,
121
- onFocusCustomInput: X
121
+ onFocusCustomInput: Z
122
122
  }) : null),
123
123
  renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, ne, te)
124
124
  });
125
125
  }, Be = ({ children: e, className: t, ...o }) => {
126
- const { productsById: r, addOther: a, customAmount: u, onCustomAmountInputChange: m, currency: f, t: i, placeholder: p, customAmountProductId: c, onFocusCustomInput: h } = o, { hasError: b } = L(), O = E(e, s.Options), I = E(e, s.OtherInput);
126
+ const { productsById: r, addOther: a, customAmount: u, onCustomAmountInputChange: m, currency: I, t: i, placeholder: p, customAmountProductId: c, onFocusCustomInput: h } = o, { hasError: _ } = L(), O = E(e, s.Options), f = E(e, s.OtherInput);
127
127
  return /* @__PURE__ */ n.createElement("div", {
128
128
  className: t,
129
- "data-invalid": b
129
+ "data-invalid": _
130
130
  }, O ? y(O, {
131
131
  productsById: r
132
132
  }) : null, a && c && /* @__PURE__ */ n.createElement(Y, {
@@ -144,40 +144,40 @@ const s = ({ children: e }) => {
144
144
  }
145
145
  }, /* @__PURE__ */ n.createElement(Q, {
146
146
  "aria-label": i("donation.other-option.label", "Custom amount")
147
- }, i("donation.other-option.label", "Custom amount"))), I && a ? y(I, {
147
+ }, i("donation.other-option.label", "Custom amount"))), f && a ? y(f, {
148
148
  customAmount: u,
149
149
  onCustomAmountInputChange: m,
150
- currency: f,
150
+ currency: I,
151
151
  t: i,
152
152
  placeholder: p,
153
153
  customAmountProductId: c,
154
154
  onFocusCustomInput: h
155
155
  }) : null);
156
- }, k = ({ children: e, className: t, ...o }) => {
157
- const { productsById: r } = o, { options: a, numberOfColumns: u } = L(), m = E(e, k.Option);
156
+ }, U = ({ children: e, className: t, ...o }) => {
157
+ const { productsById: r } = o, { options: a, numberOfColumns: u } = L(), m = E(e, U.Option);
158
158
  return /* @__PURE__ */ n.createElement("div", {
159
159
  className: t,
160
160
  "data-columns": u
161
- }, a.map((f) => {
161
+ }, a.map((I) => {
162
162
  var c;
163
- const i = r[f.value], p = (c = i == null ? void 0 : i.fixedPriceOptions) == null ? void 0 : c.price;
163
+ const i = r[I.value], p = (c = i == null ? void 0 : i.fixedPriceOptions) == null ? void 0 : c.price;
164
164
  return y(m, {
165
- key: f.value,
166
- value: f.value,
165
+ key: I.value,
166
+ value: I.value,
167
167
  price: p || "0"
168
168
  });
169
169
  }));
170
- }, v = ({ children: e, className: t, ...o }) => {
171
- const { value: r, price: a } = o, { id: u } = L(), { currency: m, regionalFormat: f } = j(), i = E(e, v.Value), p = E(e, v.Currency), { isCurrencyPrefixed: c } = Z({
170
+ }, S = ({ children: e, className: t, ...o }) => {
171
+ const { value: r, price: a } = o, { id: u } = L(), { currency: m, regionalFormat: I } = j(), i = E(e, S.Value), p = E(e, S.Currency), { isCurrencyPrefixed: c } = z({
172
172
  amount: a,
173
173
  currency: m == null ? void 0 : m.code,
174
- locale: f
174
+ locale: I
175
175
  }), h = re(null);
176
176
  pe(() => {
177
- var O, I;
178
- (I = (O = h.current) == null ? void 0 : O.querySelector("input")) == null || I.focus();
177
+ var O, f;
178
+ (f = (O = h.current) == null ? void 0 : O.querySelector("input")) == null || f.focus();
179
179
  }, u);
180
- const b = i ? y(i, {
180
+ const _ = i ? y(i, {
181
181
  price: a
182
182
  }) : null;
183
183
  return /* @__PURE__ */ n.createElement(Y, {
@@ -185,9 +185,9 @@ const s = ({ children: e }) => {
185
185
  }, /* @__PURE__ */ n.createElement(Q, {
186
186
  className: t,
187
187
  ref: h
188
- }, /* @__PURE__ */ n.createElement(n.Fragment, null, c && p, b, !c && p)));
188
+ }, /* @__PURE__ */ n.createElement(n.Fragment, null, c && p, _, !c && p)));
189
189
  }, je = ({ className: e, ...t }) => {
190
- const { price: o } = t, { currency: r, regionalFormat: a } = j(), { value: u } = Z({
190
+ const { price: o } = t, { currency: r, regionalFormat: a } = j(), { value: u } = z({
191
191
  amount: o,
192
192
  currency: r == null ? void 0 : r.code,
193
193
  locale: a
@@ -201,10 +201,10 @@ const s = ({ children: e }) => {
201
201
  className: e
202
202
  }, (t == null ? void 0 : t.sign) || (t == null ? void 0 : t.code) || "");
203
203
  };
204
- v.Value = je;
205
- v.Currency = qe;
204
+ S.Value = je;
205
+ S.Currency = qe;
206
206
  const R = ({ children: e, className: t, ...o }) => {
207
- const { customAmount: r, onCustomAmountInputChange: a, currency: u, t: m, placeholder: f, customAmountProductId: i, onFocusCustomInput: p } = o, { disabled: c, hasError: h } = L(), { labelId: b, prefixId: O } = B(), I = E(e, R.Currency), A = E(e, R.Value), g = D((N) => {
207
+ const { customAmount: r, onCustomAmountInputChange: a, currency: u, t: m, placeholder: I, customAmountProductId: i, onFocusCustomInput: p } = o, { disabled: c, hasError: h } = L(), { labelId: _, prefixId: O } = B(), f = E(e, R.Currency), A = E(e, R.Value), g = D((N) => {
208
208
  a({
209
209
  target: {
210
210
  value: N
@@ -218,7 +218,7 @@ const R = ({ children: e, className: t, ...o }) => {
218
218
  p
219
219
  ]);
220
220
  return /* @__PURE__ */ n.createElement(le, {
221
- "aria-labelledby": `${b} ${O}`,
221
+ "aria-labelledby": `${_} ${O}`,
222
222
  value: r,
223
223
  onChange: g,
224
224
  onFocus: d,
@@ -228,11 +228,11 @@ const R = ({ children: e, className: t, ...o }) => {
228
228
  className: t,
229
229
  isDisabled: c,
230
230
  isInvalid: h
231
- }, r && u && I ? y(I, {
231
+ }, r && u && f ? y(f, {
232
232
  currency: u,
233
233
  t: m
234
234
  }) : null, A ? y(A, {
235
- placeholder: f,
235
+ placeholder: I,
236
236
  customAmountProductId: i
237
237
  }) : null));
238
238
  }, we = ({ className: e, ...t }) => {
@@ -257,61 +257,61 @@ const R = ({ children: e, className: t, ...o }) => {
257
257
  };
258
258
  R.Currency = we;
259
259
  R.Value = He;
260
- k.Option = v;
261
- s.Label = be;
260
+ U.Option = S;
261
+ s.Label = _e;
262
262
  s.Control = Be;
263
- s.Options = k;
263
+ s.Options = U;
264
264
  s.OtherInput = R;
265
265
  s.Description = Oe;
266
- s.Error = _e;
267
- const ke = "_control_1fjsf_1", Ue = "_options_1fjsf_7", $e = "_option_1fjsf_7", Ve = "_optionHover_1fjsf_44", Ge = "_optionSelected_1fjsf_44", Ye = "_optionCurrency_1fjsf_94", Qe = "_otherInput_1fjsf_98", We = "_otherInputCurrency_1fjsf_117", _ = {
268
- control: ke,
269
- options: Ue,
266
+ s.Error = be;
267
+ const Ue = "_control_1fjsf_1", ke = "_options_1fjsf_7", $e = "_option_1fjsf_7", Ve = "_optionHover_1fjsf_44", Ge = "_optionSelected_1fjsf_44", Ye = "_optionCurrency_1fjsf_94", Qe = "_otherInput_1fjsf_98", We = "_otherInputCurrency_1fjsf_117", b = {
268
+ control: Ue,
269
+ options: ke,
270
270
  option: $e,
271
271
  optionHover: Ve,
272
272
  optionSelected: Ge,
273
273
  optionCurrency: Ye,
274
274
  otherInput: Qe,
275
275
  otherInputCurrency: We
276
- }, Ze = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(se, {
276
+ }, ze = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(se, {
277
277
  content: e,
278
278
  locale: t
279
- }), ze = {
280
- base: _.option,
281
- selected: _.optionSelected,
282
- hover: _.optionHover
283
- }, Je = () => {
284
- const e = ve(_.otherInput), t = Se({
279
+ }), Je = {
280
+ base: b.option,
281
+ selected: b.optionSelected,
282
+ hover: b.optionHover
283
+ }, Ke = () => {
284
+ const e = Se(b.otherInput), t = ve({
285
285
  globalClasses: he,
286
- moduleClasses: ze
286
+ moduleClasses: Je
287
287
  });
288
288
  return /* @__PURE__ */ n.createElement(s, null, /* @__PURE__ */ n.createElement(s.Label, {
289
- className: F(de, S.label)
289
+ className: F(de, v.label)
290
290
  }, /* @__PURE__ */ n.createElement(s.Label.Required, {
291
- className: F(fe, S.requiredMark)
291
+ className: F(Ie, v.requiredMark)
292
292
  })), /* @__PURE__ */ n.createElement(s.Control, {
293
- className: F(_.control, G.group)
293
+ className: F(b.control, G.group)
294
294
  }, /* @__PURE__ */ n.createElement(s.Options, {
295
- className: F(Ie, G.options, _.options)
295
+ className: F(fe, G.options, b.options)
296
296
  }, /* @__PURE__ */ n.createElement(s.Options.Option, {
297
297
  className: ({ isSelected: o, isHovered: r }) => t({
298
298
  isSelected: o,
299
299
  isHovered: r
300
300
  })
301
301
  }, /* @__PURE__ */ n.createElement(s.Options.Option.Value, null), /* @__PURE__ */ n.createElement(s.Options.Option.Currency, {
302
- className: _.optionCurrency
302
+ className: b.optionCurrency
303
303
  }))), /* @__PURE__ */ n.createElement(s.OtherInput, {
304
304
  className: e
305
305
  }, /* @__PURE__ */ n.createElement(s.OtherInput.Currency, {
306
- className: _.otherInputCurrency
306
+ className: b.otherInputCurrency
307
307
  }), /* @__PURE__ */ n.createElement(s.OtherInput.Value, {
308
- className: S.innerInput
308
+ className: v.innerInput
309
309
  }))), /* @__PURE__ */ n.createElement(s.Error, {
310
- className: F(Ce, S.error)
310
+ className: F(Ce, v.error)
311
311
  }, /* @__PURE__ */ n.createElement(De, null), /* @__PURE__ */ n.createElement(s.Error.Text, null)), /* @__PURE__ */ n.createElement(s.Description, {
312
- className: F(Ee, S.description)
313
- }, Ze));
314
- }, Ct = () => /* @__PURE__ */ n.createElement(Je, null);
312
+ className: F(Ee, v.description)
313
+ }, ze));
314
+ }, Ct = () => /* @__PURE__ */ n.createElement(Ke, null);
315
315
  export {
316
316
  Ct as DonationRAC
317
317
  };
@@ -1,14 +1,14 @@
1
- import e, { useState as b, useCallback as g, useRef as A } from "react";
1
+ import e, { useState as E, useCallback as g, 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 { b5 as f, b2 as O, b7 as G } from "./form-0jt4L5xo.js";
4
+ import { b9 as f, b6 as O, bb as G } from "./form-BTDgyr54.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-tsg9FQ-_.js";
7
- import { L as K } from "./field-label-headless-CB8dEat8.js";
6
+ import { D as H, E as J } from "./field-error-headless-CovyN0GI.js";
7
+ import { L as K } from "./field-label-headless-DVvX2QaH.js";
8
8
  import { S as Q, N as W } from "./non-modal-popover-DtIMXHbe.js";
9
- import { u as X } from "./use-is-forced-open-dropdown-r5G_sZsO.js";
9
+ import { u as X } from "./use-is-forced-open-dropdown-ifUIpuwL.js";
10
10
  const r = ({ children: n }) => {
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: C, hasError: I } = f(), [L, h] = b(!1), p = X(l), [B, N] = b(null), P = a && u.some((c) => (c.value ?? c.label) === a) ? a : s || null, { labelId: S } = O(), T = g((c) => {
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: C, hasError: I } = f(), [L, h] = E(!1), p = X(l), [B, N] = E(null), P = a && u.some((c) => (c.value ?? c.label) === a) ? a : s || null, { labelId: S } = O(), T = g((c) => {
12
12
  o || t(typeof c == "string" ? c : null);
13
13
  }, [
14
14
  t,
@@ -57,8 +57,8 @@ const r = ({ children: n }) => {
57
57
  "data-invalid": o || void 0,
58
58
  "data-loading": t || void 0
59
59
  }, /* @__PURE__ */ e.createElement(_, null), n);
60
- }, E = ({ children: n, className: l, ...a }) => {
61
- const { isForcedOpen: s } = a, { options: u = [] } = f(), o = d(n, E.Option);
60
+ }, b = ({ children: n, className: l, ...a }) => {
61
+ const { isForcedOpen: s } = a, { options: u = [] } = f(), o = d(n, b.Option);
62
62
  return /* @__PURE__ */ e.createElement(W, {
63
63
  className: l,
64
64
  containerPadding: 0,
@@ -78,10 +78,10 @@ const r = ({ children: n }) => {
78
78
  textValue: s
79
79
  }, s);
80
80
  };
81
- E.Option = Z;
81
+ b.Option = Z;
82
82
  r.Label = K;
83
83
  r.Trigger = Y;
84
- r.Options = E;
84
+ r.Options = b;
85
85
  r.Description = H;
86
86
  r.Error = J;
87
87
  export {
@@ -1,13 +1,13 @@
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-DhzRAMcM.js";
4
+ import { D as r } from "./dropdown-field-headless-BTMJGUwY.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-B4l_0KRU.js";
9
- import { H as i, T as p, t as E, J as _, u as R, p as D } from "./form-0jt4L5xo.js";
10
- import { u as O } from "./use-dropdown-option-class-name-McG3ayOT.js";
9
+ import { I as i, U as p, t as E, K as _, v as R, p as D } from "./form-BTDgyr54.js";
10
+ import { u as O } from "./use-dropdown-option-class-name-DjV7FW5y.js";
11
11
  const S = ({ content: a, locale: s }) => /* @__PURE__ */ e.createElement(m, {
12
12
  content: a,
13
13
  locale: s
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { D as r } from "./dropdown-field-rac-DXyY5we-.js";
2
+ import { D as r } from "./dropdown-field-rac-CDRV8ckB.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-DtZ1NTfD.js";
2
+ import { M as r } from "./multiline-address-field-rac-D8bVxRsD.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 { b5 as a, bf as c, a8 as i } from "./form-0jt4L5xo.js";
3
- import { C as l } from "./checkbox-field-rac-DwEQLIaz.js";
2
+ import { b9 as a, bj as c, ac as i } from "./form-BTDgyr54.js";
3
+ import { C as l } from "./checkbox-field-rac-Dwx1leKA.js";
4
4
  const p = (e) => ({
5
5
  nodes: [
6
6
  {
@@ -1,19 +1,19 @@
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 R, 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 U, 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 { b2 as fe, bf as ge, b0 as ve, d as ye, b5 as Ee, b9 as de, b3 as be, a6 as Se, H as Oe, T as he, u as Ie, p as Ne, V as Ae } from "./form-0jt4L5xo.js";
5
+ import { b6 as fe, bj as ge, b4 as ve, d as ye, b9 as Ee, bd as de, b7 as be, aa as Se, I as Oe, U as he, v as Ie, p as Ne, X as Ae } from "./form-BTDgyr54.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";
9
9
  import Fe from "@babel/runtime/helpers/defineProperty";
10
- import Te from "html-parse-stringify";
11
- import ke from "@babel/runtime/helpers/classCallCheck";
10
+ import ke from "html-parse-stringify";
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-Bm8PJGep.js";
14
- import { E as De } from "./error-icon-hZxQ6DEy.js";
13
+ import { T as B } from "./text-input-headless-CwONErsY.js";
14
+ import { E as je } from "./error-icon-hZxQ6DEy.js";
15
15
  import { s as H } from "./field-rac.module-B4l_0KRU.js";
16
- import { u as je } from "./use-text-input-class-name-SnurFqAr.js";
16
+ import { u as De } from "./use-text-input-class-name-va1PzWFg.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
  "&": "&",
@@ -54,7 +54,7 @@ function Re() {
54
54
  }
55
55
  (function() {
56
56
  function e() {
57
- ke(this, e), this.usedNamespaces = {};
57
+ Te(this, e), this.usedNamespaces = {};
58
58
  }
59
59
  return xe(e, [{
60
60
  key: "addUsedNamespaces",
@@ -82,12 +82,12 @@ function K() {
82
82
  }
83
83
  }
84
84
  var J = {};
85
- function Be() {
85
+ function Ue() {
86
86
  for (var e = arguments.length, t = new Array(e), a = 0; a < e; a++)
87
87
  t[a] = arguments[a];
88
88
  typeof t[0] == "string" && J[t[0]] || (typeof t[0] == "string" && (J[t[0]] = /* @__PURE__ */ new Date()), K.apply(void 0, t));
89
89
  }
90
- var Ue = ["format"], Ve = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
90
+ var Be = ["format"], Ve = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
91
91
  function Q(e, t) {
92
92
  var a = Object.keys(e);
93
93
  if (Object.getOwnPropertySymbols) {
@@ -119,7 +119,7 @@ function G(e) {
119
119
  }
120
120
  function qe(e) {
121
121
  return Object.prototype.toString.call(e) !== "[object Array]" ? !1 : e.every(function(t) {
122
- return B(t);
122
+ return U(t);
123
123
  });
124
124
  }
125
125
  function M(e) {
@@ -135,7 +135,7 @@ function te(e, t) {
135
135
  return o.forEach(function(r, g) {
136
136
  if (typeof r == "string")
137
137
  a += "".concat(r);
138
- else if (B(r)) {
138
+ else if (U(r)) {
139
139
  var v = Object.keys(r.props).length, d = c.indexOf(r.type) > -1, b = r.props.children;
140
140
  if (!b && d && v === 0)
141
141
  a += "<".concat(r.type, "/>");
@@ -146,13 +146,13 @@ function te(e, t) {
146
146
  else if (d && v === 1 && typeof b == "string")
147
147
  a += "<".concat(r.type, ">").concat(b, "</").concat(r.type, ">");
148
148
  else {
149
- var k = te(b, t);
150
- a += "<".concat(g, ">").concat(k, "</").concat(g, ">");
149
+ var T = te(b, t);
150
+ a += "<".concat(g, ">").concat(T, "</").concat(g, ">");
151
151
  }
152
152
  } else if (r === null)
153
153
  K("Trans: the passed in value is invalid - seems you passed in a null child.");
154
154
  else if (L(r) === "object") {
155
- var O = r.format, F = ee(r, Ue), A = Object.keys(F);
155
+ var O = r.format, F = ee(r, Be), A = Object.keys(F);
156
156
  if (A.length === 1) {
157
157
  var S = O ? "".concat(A[0], ", ").concat(O) : A[0];
158
158
  a += "{{".concat(S, "}}");
@@ -170,11 +170,11 @@ function Ge(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" && (Y(s) ? b(G(s)) : L(s) === "object" && !B(s) && Object.assign(d, s));
173
+ typeof s != "string" && (Y(s) ? b(G(s)) : L(s) === "object" && !U(s) && Object.assign(d, s));
174
174
  });
175
175
  }
176
176
  b(e);
177
- var k = Te.parse("<0>".concat(t, "</0>")), O = p(p({}, d), c);
177
+ var T = ke.parse("<0>".concat(t, "</0>")), O = p(p({}, d), c);
178
178
  function F(y, h, s) {
179
179
  var i = G(y), I = S(i, h.children, s);
180
180
  return qe(i) && I.length === 0 ? i : I;
@@ -187,13 +187,13 @@ function Ge(e, t, a, o, c, r) {
187
187
  function S(y, h, s) {
188
188
  var i = M(y), I = M(h);
189
189
  return I.reduce(function(l, n, E) {
190
- var T = n.children && n.children[0] && n.children[0].content && a.services.interpolator.interpolate(n.children[0].content, O, a.language);
190
+ var k = n.children && n.children[0] && n.children[0].content && a.services.interpolator.interpolate(n.children[0].content, O, a.language);
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
194
  var m = Object.keys(n.attrs).length !== 0 ? Ye({
195
195
  props: n.attrs
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);
196
+ }, N) : N, x = U(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);
@@ -227,11 +227,11 @@ function Ge(e, t, a, o, c, r) {
227
227
  l.push("<".concat(n.name, ">").concat(ce, "</").concat(n.name, ">"));
228
228
  }
229
229
  else if (L(m) === "object" && !x) {
230
- var $ = n.children[0] ? T : null;
230
+ var $ = n.children[0] ? k : null;
231
231
  $ && l.push($);
232
- } else n.children.length === 1 && T ? l.push(w(m, p(p({}, m.props), {}, {
232
+ } else n.children.length === 1 && k ? l.push(w(m, p(p({}, m.props), {}, {
233
233
  key: E
234
- }), T)) : l.push(w(m, p(p({}, m.props), {}, {
234
+ }), k)) : l.push(w(m, p(p({}, m.props), {}, {
235
235
  key: E
236
236
  })));
237
237
  } else if (n.type === "text") {
@@ -243,23 +243,23 @@ function Ge(e, t, a, o, c, r) {
243
243
  return l;
244
244
  }, []);
245
245
  }
246
- var D = S([{
246
+ var j = S([{
247
247
  dummy: !0,
248
248
  children: e || []
249
- }], k, M(e || []));
250
- return G(D[0]);
249
+ }], T, M(e || []));
250
+ return G(j[0]);
251
251
  }
252
252
  function $e(e) {
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, k = 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();
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, j = ee(e, Ve), y = Z(He) || {}, h = y.i18n, s = y.defaultNS, i = F || h || Ke();
254
254
  if (!i)
255
- return Be("You will need to pass in an i18next instance by using i18nextReactModule"), t;
255
+ return Ue("You will need to pass in an i18next instance by using i18nextReactModule"), t;
256
256
  var I = A || i.t.bind(i) || function(q) {
257
257
  return q;
258
258
  };
259
259
  r && (v.context = r);
260
260
  var l = p(p({}, Re()), i.options && i.options.react), n = O || I.ns || s || i.options && i.options.defaultNS;
261
261
  n = typeof n == "string" ? [n] : n || ["translation"];
262
- var E = b || te(t, l) || l.transEmptyNodeValue || c, T = l.hashTransKey, N = c || (T ? T(E) : E), m = d ? v.interpolation : {
262
+ var E = b || te(t, l) || l.transEmptyNodeValue || c, k = l.hashTransKey, N = c || (k ? k(E) : E), m = d ? v.interpolation : {
263
263
  interpolation: p(p({}, v.interpolation), {}, {
264
264
  prefix: "#$?",
265
265
  suffix: "?$#"
@@ -269,8 +269,8 @@ function $e(e) {
269
269
  }, d), m), {}, {
270
270
  defaultValue: E,
271
271
  ns: n
272
- }), V = N ? I(N, x) : E, P = Ge(k || t, V, i, l, x, S), _ = o !== void 0 ? o : l.defaultTransParent;
273
- return _ ? R(_, D, P) : P;
272
+ }), V = N ? I(N, x) : E, P = Ge(T || t, V, i, l, x, S), _ = o !== void 0 ? o : l.defaultTransParent;
273
+ return _ ? R(_, j, P) : P;
274
274
  }
275
275
  const We = "email-mistype-suggestion", Xe = "email-mistype-suggestion-link", ae = /* @__PURE__ */ z(void 0);
276
276
  function Je() {
@@ -449,14 +449,14 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
449
449
  validate: v
450
450
  };
451
451
  }, f = ({ children: e }) => {
452
- const { id: t, value: a, onChange: o, disabled: c, readOnly: r, required: g, hasError: v, onBlur: d, onFocus: b, error: k, description: O, FieldLayout: F } = Ee(), { isMistyped: A, suggestedEmail: S, validate: D } = at({
452
+ const { id: t, value: a, onChange: o, disabled: c, readOnly: r, required: g, hasError: v, onBlur: d, onFocus: b, error: T, description: O, FieldLayout: F } = Ee(), { isMistyped: A, suggestedEmail: S, validate: j } = at({
453
453
  email: a,
454
454
  hasError: v
455
- }), { setFocusedFieldId: y } = de(), s = A && (!r && !c) && S ? S : void 0, i = be(t, k, O, s), I = () => {
455
+ }), { setFocusedFieldId: y } = de(), s = A && (!r && !c) && S ? S : void 0, i = be(t, T, O, s), I = () => {
456
456
  o(s), y(t);
457
457
  }, l = () => {
458
- D(), d == null || d();
459
- }, n = C(e, f.Label), E = C(e, f.Input), T = C(e, f.Description), N = C(e, f.Error), m = C(e, f.Suggestion);
458
+ j(), d == null || d();
459
+ }, n = C(e, f.Label), E = C(e, f.Input), k = C(e, f.Description), N = C(e, f.Error), m = C(e, f.Suggestion);
460
460
  return /* @__PURE__ */ u.createElement(Se.Provider, {
461
461
  value: i
462
462
  }, /* @__PURE__ */ u.createElement(Qe, {
@@ -476,13 +476,13 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
476
476
  onBlur: l,
477
477
  onFocus: b
478
478
  }, E),
479
- renderDescription: () => /* @__PURE__ */ u.createElement(u.Fragment, null, N, m, T)
479
+ renderDescription: () => /* @__PURE__ */ u.createElement(u.Fragment, null, N, m, k)
480
480
  })));
481
481
  };
482
- f.Label = U.Label;
483
- f.Input = U.Input;
484
- f.Description = U.Description;
485
- f.Error = U.Error;
482
+ f.Label = B.Label;
483
+ f.Input = B.Input;
484
+ f.Description = B.Description;
485
+ f.Error = B.Error;
486
486
  f.Suggestion = ze;
487
487
  const nt = "_suggestion_lysve_1", ot = {
488
488
  suggestion: nt
@@ -490,19 +490,19 @@ const nt = "_suggestion_lysve_1", ot = {
490
490
  content: e,
491
491
  locale: t
492
492
  }), ht = () => {
493
- const e = je();
493
+ const e = De();
494
494
  return /* @__PURE__ */ u.createElement(f, null, /* @__PURE__ */ u.createElement(f.Label, {
495
- className: j(Oe, H.label)
495
+ className: D(Oe, H.label)
496
496
  }, /* @__PURE__ */ u.createElement(f.Label.Required, {
497
- className: j(he, H.requiredMark)
497
+ className: D(he, H.requiredMark)
498
498
  })), /* @__PURE__ */ u.createElement(f.Input, {
499
499
  className: e
500
500
  }), /* @__PURE__ */ u.createElement(f.Error, {
501
- className: j(Ie, H.error)
502
- }, /* @__PURE__ */ u.createElement(De, null), /* @__PURE__ */ u.createElement(f.Error.Text, null)), /* @__PURE__ */ u.createElement(f.Description, {
503
- className: j(Ne, H.description)
501
+ className: D(Ie, H.error)
502
+ }, /* @__PURE__ */ u.createElement(je, null), /* @__PURE__ */ u.createElement(f.Error.Text, null)), /* @__PURE__ */ u.createElement(f.Description, {
503
+ className: D(Ne, H.description)
504
504
  }, rt), /* @__PURE__ */ u.createElement(f.Suggestion, {
505
- className: j(Ae, ot.suggestion)
505
+ className: D(Ae, ot.suggestion)
506
506
  }));
507
507
  };
508
508
  export {