@wix/form-elements 1.105.0 → 1.106.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/component/{appointment-rac-DaBg4fM3.js → appointment-rac-D2F4vgf1.js} +5 -5
  2. package/dist/component/{bookings-address-rac-CkCIr0yY.js → bookings-address-rac-_5S8J8_i.js} +1 -1
  3. package/dist/component/{bookings-email-rac--o2G6bDi.js → bookings-email-rac-6vmDR9nS.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-KilnnzGd.js → bookings-first-name-rac-DtTJ4T2K.js} +1 -1
  5. package/dist/component/{bookings-header-rac-D9PwyQVM.js → bookings-header-rac-B3dsEwzR.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-qWHHoFsL.js → bookings-last-name-rac-B3idkbi8.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-CA9lwDip.js → bookings-login-bar-rac-CrRBcQwT.js} +4 -4
  8. package/dist/component/{bookings-phone-rac-CJwbY3yf.js → bookings-phone-rac-BE0yWNnj.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-B-7cedEB.js → bookings-rich-text-rac-CYo1l0-6.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-D5YjimAI.js → checkbox-field-rac-boTtXVEt.js} +16 -20
  11. package/dist/component/{checkbox-group-field-headless-BJl8C2Lz.js → checkbox-group-field-headless-DnkUvDm8.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-CLDKYOsh.js → checkbox-group-field-rac-DrDTgHMg.js} +11 -11
  13. package/dist/component/{checkbox-group-rac-DfOsQWr7.js → checkbox-group-rac-v3ozUBpo.js} +1 -1
  14. package/dist/component/{checkbox-rac-DMDIZxxN.js → checkbox-rac-YSLE-RnG.js} +1 -1
  15. package/dist/component/{contacts-address-rac-CrpSPX3x.js → contacts-address-rac-C653yaHZ.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-B3vrz3B5.js → contacts-birthdate-rac-BeAQ6shx.js} +1 -1
  17. package/dist/component/{contacts-company-rac-Nd4-07pv.js → contacts-company-rac-BglKOoTG.js} +1 -1
  18. package/dist/component/{contacts-email-rac-DlKJXGue.js → contacts-email-rac-D6m7ynfc.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-CgfaCG0O.js → contacts-first-name-rac-Dgxn0tUJ.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-DmSqTPzC.js → contacts-last-name-rac-1UyIuRKH.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-C9X_5axq.js → contacts-phone-rac-BQ77BlW4.js} +1 -1
  22. package/dist/component/{contacts-position-rac-DeJrqxtm.js → contacts-position-rac-BUDUv7lv.js} +1 -1
  23. package/dist/component/contacts-subscribe-rac-DdtA0qKW.js +6 -0
  24. package/dist/component/{contacts-tax-id-rac-6pMwtJyC.js → contacts-tax-id-rac-WUaKcNl0.js} +1 -1
  25. package/dist/component/{date-availability-DfL_xDci.js → date-availability-XjBFq8jt.js} +1 -1
  26. package/dist/component/{date-input-field-rac-DvlY0Ffu.js → date-input-field-rac-aY2zuuKs.js} +13 -13
  27. package/dist/component/{date-input-rac-Dr_MtbFO.js → date-input-rac-DRiP2_97.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-D42hJF0j.js → date-picker-field-rac-Bzl-d3Uj.js} +27 -27
  29. package/dist/component/{date-picker-rac-CtoqWMPa.js → date-picker-rac-DHHUh8vn.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-C1rf0_aD.js → date-time-input-field-rac-DP_StuLr.js} +26 -26
  31. package/dist/component/{date-time-input-rac-gFwBZVcJ.js → date-time-input-rac-B11KIxsf.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-B0dh55yz.js → dext-checkbox-group-rac-BHZBqyWv.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-RQ7hpkFn.js → dext-checkbox-rac-BIlAqEvV.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-sJEfD5E6.js → dext-date-picker-rac-CHBXNrZi.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-BxPE1oVN.js → dext-date-time-input-rac-BYtliKry.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-BimIan_Z.js → dext-dropdown-rac-C2VPSFV5.js} +1 -1
  37. package/dist/component/{dext-email-rac-CjrC85Va.js → dext-email-rac-Fnb0Ggcs.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-CkMRmcJQ.js → dext-number-input-rac-DopfSyFi.js} +1 -1
  39. package/dist/component/{dext-phone-rac-DO3qV3WL.js → dext-phone-rac-Rn4i_2rc.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-CUaqRQSf.js → dext-radio-group-rac-bNaskJpK.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-CIRU2af7.js → dext-rating-input-rac-DL6ZZd7d.js} +1 -1
  42. package/dist/component/{dext-tags-rac-DHqXtqOo.js → dext-tags-rac-TsUPoImO.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-yBONPzSt.js → dext-text-area-rac-BIuY7LTd.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-CdhAUC2i.js → dext-text-input-rac-CSYPW0Qi.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-B4IQEsp2.js → dext-url-input-rac-_g0lqGfW.js} +1 -1
  46. package/dist/component/{donation-rac-D-rWK7OY.js → donation-rac-BYKFtsyR.js} +55 -55
  47. package/dist/component/{dropdown-field-headless-CeDAK-PU.js → dropdown-field-headless-CBaqlNZi.js} +4 -4
  48. package/dist/component/{dropdown-field-rac-BzqUmKJ1.js → dropdown-field-rac-CCAGSMm3.js} +5 -5
  49. package/dist/component/{dropdown-rac-CHO-8WoH.js → dropdown-rac-C_EqUsZ1.js} +1 -1
  50. package/dist/component/{ecom-address-rac-BZVqOncl.js → ecom-address-rac-Bw9eH0iF.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-BpILYYtb.js → ecom-subscription-checkbox-rac-B5PVOO2a.js} +10 -17
  52. package/dist/component/{email-input-field-rac-Cb6ECUnT.js → email-input-field-rac-B2kqQ6yo.js} +12 -12
  53. package/dist/component/{events-repeater-rac-BaYgjHjJ.js → events-repeater-rac--4OnUxWE.js} +53 -53
  54. package/dist/component/{events-rsvp-rac-CK0hpQKD.js → events-rsvp-rac-CczCoo3T.js} +12 -12
  55. package/dist/component/{field-error-headless-CN2-F78X.js → field-error-headless-D3-1L5sf.js} +1 -1
  56. package/dist/component/{field-label-headless-Ca6NcX2l.js → field-label-headless-Du4ckIVy.js} +1 -1
  57. package/dist/component/{file-upload-rac-C0DqDLp2.js → file-upload-rac-DbdkUbWM.js} +79 -79
  58. package/dist/component/{fixed-payment-rac-C5qNAT_7.js → fixed-payment-rac-f9-01iDN.js} +7 -7
  59. package/dist/component/{form-D1xJH87b.js → form-DQauhsho.js} +69 -69
  60. package/dist/component/form-element-classes-bLFmhsKw.js +137 -0
  61. package/dist/component/form.js +1 -1
  62. package/dist/component/{header-field-rac-BN-Ib7VY.js → header-field-rac-DamDk5BR.js} +3 -3
  63. package/dist/component/{header-rac-CE0NjfoF.js → header-rac-CR9T3Pnu.js} +1 -1
  64. package/dist/component/{image-choice-rac-D6dIXR_x.js → image-choice-rac-DJ_8v467.js} +12 -12
  65. package/dist/component/{index-CcsZgBFf.js → index-BB7d_9Dv.js} +4 -4
  66. package/dist/component/{index-DOd4eW8z.js → index-CcUTIUWM.js} +2 -2
  67. package/dist/component/{isObjectLike-DfUDKPeo.js → isObjectLike-xvPa_08X.js} +1 -1
  68. package/dist/component/{multiline-address-field-rac-jJ5HMakk.js → multiline-address-field-rac-CyaFOloE.js} +79 -79
  69. package/dist/component/{multiline-address-rac-GQF9HaNq.js → multiline-address-rac-CaHGUN_f.js} +1 -1
  70. package/dist/component/{number-input-field-rac-DRgq3Ll0.js → number-input-field-rac-BuYUzDWV.js} +14 -14
  71. package/dist/component/{number-input-rac-C2VoBZeq.js → number-input-rac-DMKX6nhk.js} +1 -1
  72. package/dist/component/{password-rac-DP8d_92z.js → password-rac-0RUXPAn6.js} +37 -37
  73. package/dist/component/{payment-input-rac-BycHF-zC.js → payment-input-rac-CHSZ3-Lt.js} +16 -16
  74. package/dist/component/{phone-input-field-rac-C3_-Dc35.js → phone-input-field-rac-JmIFcP1e.js} +28 -28
  75. package/dist/component/{phone-rac-DAxScWRl.js → phone-rac-BLRnAPXP.js} +1 -1
  76. package/dist/component/{product-list-rac-Bxdu4NFP.js → product-list-rac-BkF5tDwt.js} +9 -9
  77. package/dist/component/quiz-radio-group-rac-32cCMTUS.js +6 -0
  78. package/dist/component/{radio-button-module-classes-D71u96Y9.js → radio-button-module-classes-IOulhuSH.js} +3 -3
  79. package/dist/component/radio-group-field-rac-CJwku6e0.js +46 -0
  80. package/dist/component/{radio-group-rac-DqdjCYmd.js → radio-group-rac-BiW-9Abj.js} +1 -1
  81. package/dist/component/{rating-input-field-rac-C4Ztlh1u.js → rating-input-field-rac-B9cwaROK.js} +29 -29
  82. package/dist/component/{rating-input-rac-B4lF_LX7.js → rating-input-rac-BpwlNvzQ.js} +1 -1
  83. package/dist/component/{rich-content-rac.module-CmW7FwmQ.js → rich-content-rac.module-B1uyPmtK.js} +1 -1
  84. package/dist/component/{rich-text-field-rac-MwKpKbvj.js → rich-text-field-rac-C_qE7Ykg.js} +3 -3
  85. package/dist/component/{rich-text-rac-DcMBqEFb.js → rich-text-rac-VfeZxS27.js} +1 -1
  86. package/dist/component/{service-dropdown-rac-CZWVFnR8.js → service-dropdown-rac-BCfs8IhW.js} +17 -17
  87. package/dist/component/{services-multi-choice-rac-DvHcWQHS.js → services-multi-choice-rac-CCqdF_7P.js} +6 -6
  88. package/dist/component/{signature-rac-CMTAWkaY.js → signature-rac-DOyMo3u0.js} +72 -72
  89. package/dist/component/{submit-button-rac-HnfWQ8wg.js → submit-button-rac-C2uA5DeE.js} +11 -11
  90. package/dist/component/{tags-field-rac-BuqOeG7-.js → tags-field-rac-C_uIw2by.js} +35 -35
  91. package/dist/component/{tags-rac-FbHwPPKs.js → tags-rac-1pQ-fpe_.js} +1 -1
  92. package/dist/component/{text-area-field-rac-Bq224M1o.js → text-area-field-rac-DqlOkm7e.js} +22 -22
  93. package/dist/component/{text-area-rac-COcGlAYk.js → text-area-rac-DPdkrFcH.js} +1 -1
  94. package/dist/component/{text-input-field-rac-CTS4jFhC.js → text-input-field-rac-CmXm6r1w.js} +5 -5
  95. package/dist/component/{text-input-headless-QVLKSgJE.js → text-input-headless-DD__2DFf.js} +3 -3
  96. package/dist/component/{text-input-rac-BCCkVVG9.js → text-input-rac-DRHyQEH7.js} +1 -1
  97. package/dist/component/{time-input-rac-7n8d5ppJ.js → time-input-rac-BJPIymQY.js} +21 -21
  98. package/dist/component/{url-input-field-rac-ChPfhq6I.js → url-input-field-rac-CFDYkZ6I.js} +14 -14
  99. package/dist/component/{url-input-rac-cFZ8HC3U.js → url-input-rac-C0ChQUzq.js} +1 -1
  100. package/dist/component/{use-dropdown-option-class-name-Cf2B9xAE.js → use-dropdown-option-class-name-3L5ZmNLK.js} +2 -2
  101. package/dist/component/{use-element-state-class-name-DF2VZawA.js → use-element-state-class-name-BatTc2bw.js} +1 -1
  102. package/dist/component/{use-is-forced-open-dropdown-B_knxuKJ.js → use-is-forced-open-dropdown-B0jiPTmS.js} +1 -1
  103. package/dist/component/{use-service-options-base-Clx3S0du.js → use-service-options-base-oeE7xszw.js} +1 -1
  104. package/dist/component/{use-text-input-class-name-MbmOF6tH.js → use-text-input-class-name-LQ5S-NLh.js} +3 -3
  105. package/package.json +2 -2
  106. package/dist/component/contacts-subscribe-rac-Dv-QNZZc.js +0 -13
  107. package/dist/component/form-element-classes-BtKlobUX.js +0 -192
  108. package/dist/component/quiz-radio-group-rac-mAn0MuPW.js +0 -13
  109. package/dist/component/radio-group-field-rac-eij4o0_R.js +0 -50
@@ -3,24 +3,24 @@ import E from "classnames";
3
3
  import t, { useMemo as T, useState as q, useCallback as w, useRef as z, useContext as se } from "react";
4
4
  import { parseTime as le } from "@internationalized/date";
5
5
  import { UNSAFE_PortalProvider as ie } from "react-aria";
6
- import { ListBoxItem as ce, ListBox as me, Select as de, TextField as Q, TimeField as ue, SelectValue as pe, Input as W, DateInput as Ee, DateSegment as B, TimeFieldStateContext as he } from "react-aria-components";
7
- import { ak as b, ah as J, ac as G, K as X, a2 as Z, s as d, au as L, a6 as j, Q as fe, y as be, a9 as ge, z as K, am as U } from "./form-D1xJH87b.js";
6
+ import { ListBoxItem as ce, ListBox as me, Select as de, TextField as Q, TimeField as ue, SelectValue as pe, Input as J, DateInput as Ee, DateSegment as B, TimeFieldStateContext as he } from "react-aria-components";
7
+ import { ak as b, ah as W, ac as G, K as X, a2 as Z, s as d, au as L, a6 as j, Q as fe, y as be, a9 as ge, z as K, am as U } from "./form-DQauhsho.js";
8
8
  import { f as u, a as P } from "./find-child-C60k4CxG.js";
9
9
  import { g as Ie } from "./helpers-HmkkXrh2.js";
10
- import { D as De, E as Ne } from "./field-error-headless-CN2-F78X.js";
11
- import { L as _e } from "./field-label-headless-Ca6NcX2l.js";
10
+ import { D as De, E as Ne } from "./field-error-headless-D3-1L5sf.js";
11
+ import { L as _e } from "./field-label-headless-Du4ckIVy.js";
12
12
  import { F as ye } from "./fieldset-headless-CD3fds9J.js";
13
13
  import { N as Oe, S as Te } from "./non-modal-popover-DtIMXHbe.js";
14
- import { u as Le } from "./use-is-forced-open-dropdown-B_knxuKJ.js";
14
+ import { u as Le } from "./use-is-forced-open-dropdown-B0jiPTmS.js";
15
15
  import { C as Fe } from "./chevron-down-icon-CcpVm6B-.js";
16
16
  import { E as Ce } from "./error-icon-hZxQ6DEy.js";
17
17
  import { H } from "./custom-focus-class-_483Pkwp.js";
18
18
  import { s as f } from "./field-rac.module-B4l_0KRU.js";
19
- import { C as v, S as Pe, n as Me, E as Se, r as ve, j as Re } from "./form-element-classes-BtKlobUX.js";
20
- import { u as Ae } from "./use-dropdown-option-class-name-Cf2B9xAE.js";
21
- import { u as k } from "./use-text-input-class-name-MbmOF6tH.js";
19
+ import { v as S, J as Pe, n as Me, x as ve, o as Se, j as Re } from "./form-element-classes-bLFmhsKw.js";
20
+ import { u as Ae } from "./use-dropdown-option-class-name-3L5ZmNLK.js";
21
+ import { u as k } from "./use-text-input-class-name-LQ5S-NLh.js";
22
22
  const l = ({ children: e, className: a }) => {
23
- const { id: n, required: o, onBlur: s, onFocus: r, FieldLayout: i } = b(), { inputId: m, labelId: c, ariaDescribedBy: g } = J(), { regionalFormat: p } = G(), _ = T(() => X(p).filter(Z).map((S) => S.toUpperCase()), [
23
+ const { id: n, required: o, onBlur: s, onFocus: r, FieldLayout: i } = b(), { inputId: m, labelId: c, ariaDescribedBy: g } = W(), { regionalFormat: p } = G(), _ = T(() => X(p).filter(Z).map((v) => v.toUpperCase()), [
24
24
  p
25
25
  ]), M = u(e, l.Label), V = u(e, l.Description), D = u(e, l.Error), N = {
26
26
  [d.MONTH]: u(e, l.Month),
@@ -44,7 +44,7 @@ const l = ({ children: e, className: a }) => {
44
44
  renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, D, V)
45
45
  });
46
46
  }, F = ({ children: e, className: a }) => {
47
- const { id: n, disabled: o, readOnly: s, showDateLabels: r, hidePlaceholder: i } = b(), { labelId: m } = O(d.MONTH), { partValue: c, partError: g, onPartChange: p } = C(d.MONTH), { t: _ } = L(), [M, V] = q(!1), D = Le(n), [N, y] = q(null), S = i ? void 0 : _("field.date.placeholder.month"), ee = w((Y) => {
47
+ const { id: n, disabled: o, readOnly: s, showDateLabels: r, hidePlaceholder: i } = b(), { labelId: m } = O(d.MONTH), { partValue: c, partError: g, onPartChange: p } = C(d.MONTH), { t: _ } = L(), [M, V] = q(!1), D = Le(n), [N, y] = q(null), v = i ? void 0 : _("field.date.placeholder.month"), ee = w((Y) => {
48
48
  s || p(typeof Y == "string" ? Y : "");
49
49
  }, [
50
50
  p,
@@ -70,7 +70,7 @@ const l = ({ children: e, className: a }) => {
70
70
  onChange: ee,
71
71
  isDisabled: o,
72
72
  isInvalid: g,
73
- placeholder: S,
73
+ placeholder: v,
74
74
  isOpen: D || M,
75
75
  onOpenChange: D ? void 0 : te
76
76
  }, ne, P(re, {
@@ -140,7 +140,7 @@ const R = ({ children: e, className: a }) => {
140
140
  return U(() => {
141
141
  var c;
142
142
  s && ((c = i.current) == null || c.focus());
143
- }, a), /* @__PURE__ */ t.createElement(W, {
143
+ }, a), /* @__PURE__ */ t.createElement(J, {
144
144
  ref: i,
145
145
  id: o,
146
146
  className: e,
@@ -173,7 +173,7 @@ const A = ({ children: e, className: a }) => {
173
173
  return U(() => {
174
174
  var c;
175
175
  s && ((c = i.current) == null || c.focus());
176
- }, a), /* @__PURE__ */ t.createElement(W, {
176
+ }, a), /* @__PURE__ */ t.createElement(J, {
177
177
  ref: i,
178
178
  id: o,
179
179
  className: e,
@@ -275,7 +275,7 @@ l.Time = I;
275
275
  l.Description = De;
276
276
  l.Error = Ne;
277
277
  function O(e) {
278
- const { inputId: a } = J();
278
+ const { inputId: a } = W();
279
279
  return T(() => {
280
280
  const n = e.toLowerCase();
281
281
  return {
@@ -304,8 +304,8 @@ function C(e) {
304
304
  n,
305
305
  r
306
306
  ]), _ = w((D) => {
307
- const [, N] = j(a ?? ""), y = ge(D, e, c), S = K(y, N);
308
- n(S);
307
+ const [, N] = j(a ?? ""), y = ge(D, e, c), v = K(y, N);
308
+ n(v);
309
309
  }, [
310
310
  n,
311
311
  a,
@@ -354,10 +354,10 @@ function Ke(e) {
354
354
  o
355
355
  ].join(":");
356
356
  }
357
- const Qe = "_fields_9mv0h_1", We = "_month_9mv0h_11", Je = "_day_9mv0h_12", Xe = "_year_9mv0h_13", Ze = "_timeGroup_9mv0h_14", et = "_dayInput_9mv0h_42", tt = "_yearInput_9mv0h_43", at = "_monthTrigger_9mv0h_47", nt = "_monthOption_9mv0h_67", rt = "_time_9mv0h_14", ot = "_hour_9mv0h_86", st = "_minute_9mv0h_87", lt = "_period_9mv0h_88", h = {
357
+ const Qe = "_fields_9mv0h_1", Je = "_month_9mv0h_11", We = "_day_9mv0h_12", Xe = "_year_9mv0h_13", Ze = "_timeGroup_9mv0h_14", et = "_dayInput_9mv0h_42", tt = "_yearInput_9mv0h_43", at = "_monthTrigger_9mv0h_47", nt = "_monthOption_9mv0h_67", rt = "_time_9mv0h_14", ot = "_hour_9mv0h_86", st = "_minute_9mv0h_87", lt = "_period_9mv0h_88", h = {
358
358
  fields: Qe,
359
- month: We,
360
- day: Je,
359
+ month: Je,
360
+ day: We,
361
361
  year: Xe,
362
362
  timeGroup: Ze,
363
363
  dayInput: et,
@@ -376,37 +376,37 @@ const Qe = "_fields_9mv0h_1", We = "_month_9mv0h_11", Je = "_day_9mv0h_12", Xe =
376
376
  return /* @__PURE__ */ t.createElement(l, {
377
377
  className: h.fields
378
378
  }, /* @__PURE__ */ t.createElement(l.Label, {
379
- className: E(v, f.label)
379
+ className: E(S, f.label)
380
380
  }, /* @__PURE__ */ t.createElement(l.Label.Required, {
381
381
  className: E(Pe, f.requiredMark)
382
382
  })), /* @__PURE__ */ t.createElement(l.Month, {
383
383
  className: h.month
384
384
  }, /* @__PURE__ */ t.createElement(l.Month.Label, {
385
- className: E(v, f.label)
385
+ className: E(S, f.label)
386
386
  }), /* @__PURE__ */ t.createElement(l.Month.Trigger, {
387
387
  className: E(Me, f.input, h.monthTrigger)
388
388
  }, /* @__PURE__ */ t.createElement(Fe, {
389
389
  className: f.dropdownIcon
390
390
  })), /* @__PURE__ */ t.createElement(l.Month.Options, {
391
- className: E(Se, f.selectPopover, f.dropdownPopover)
391
+ className: E(ve, f.selectPopover, f.dropdownPopover)
392
392
  }, /* @__PURE__ */ t.createElement(l.Month.Options.Option, {
393
393
  className: e
394
394
  }))), /* @__PURE__ */ t.createElement(l.Day, {
395
395
  className: h.day
396
396
  }, /* @__PURE__ */ t.createElement(l.Day.Label, {
397
- className: E(v, f.label)
397
+ className: E(S, f.label)
398
398
  }), /* @__PURE__ */ t.createElement(l.Day.Input, {
399
399
  className: a
400
400
  })), /* @__PURE__ */ t.createElement(l.Year, {
401
401
  className: h.year
402
402
  }, /* @__PURE__ */ t.createElement(l.Year.Label, {
403
- className: E(v, f.label)
403
+ className: E(S, f.label)
404
404
  }), /* @__PURE__ */ t.createElement(l.Year.Input, {
405
405
  className: n
406
406
  })), /* @__PURE__ */ t.createElement(l.Time, {
407
407
  className: h.timeGroup
408
408
  }, /* @__PURE__ */ t.createElement(l.Time.Label, {
409
- className: E(v, f.label)
409
+ className: E(S, f.label)
410
410
  }), /* @__PURE__ */ t.createElement(l.Time.Input, {
411
411
  className: o
412
412
  }, /* @__PURE__ */ t.createElement(l.Time.Hour, {
@@ -416,7 +416,7 @@ const Qe = "_fields_9mv0h_1", We = "_month_9mv0h_11", Je = "_day_9mv0h_12", Xe =
416
416
  }), /* @__PURE__ */ t.createElement(l.Time.Period, {
417
417
  className: E(h.period, H)
418
418
  }))), /* @__PURE__ */ t.createElement(l.Error, {
419
- className: E(ve, f.error)
419
+ className: E(Se, f.error)
420
420
  }, /* @__PURE__ */ t.createElement(Ce, null), /* @__PURE__ */ t.createElement(l.Error.Text, null)), /* @__PURE__ */ t.createElement(l.Description, {
421
421
  className: E(Re, f.description)
422
422
  }, it));
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-time-input-field-rac-C1rf0_aD.js";
2
+ import { D as t } from "./date-time-input-field-rac-DP_StuLr.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  n as DateTimeInputRAC
@@ -1,6 +1,6 @@
1
1
  import o from "react";
2
- import { ak as e, h as t } from "./form-D1xJH87b.js";
3
- import { C as p } from "./checkbox-group-field-rac-CLDKYOsh.js";
2
+ import { ak as e, h as t } from "./form-DQauhsho.js";
3
+ import { C as p } from "./checkbox-group-field-rac-DrDTgHMg.js";
4
4
  import { D as s } from "./default-limits-D7qVv_Hv.js";
5
5
  const C = () => {
6
6
  const r = {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { C as t } from "./checkbox-field-rac-D5YjimAI.js";
2
+ import { C as t } from "./checkbox-field-rac-boTtXVEt.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  c as DextCheckboxRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-picker-field-rac-D42hJF0j.js";
2
+ import { D as t } from "./date-picker-field-rac-Bzl-d3Uj.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  a as DextDatePickerRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-time-input-field-rac-C1rf0_aD.js";
2
+ import { D as t } from "./date-time-input-field-rac-DP_StuLr.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  n as DextDateTimeInputRAC
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { D as r } from "./dropdown-field-rac-BzqUmKJ1.js";
2
+ import { D as r } from "./dropdown-field-rac-CCAGSMm3.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-Cb6ECUnT.js";
2
+ import { E as e } from "./email-input-field-rac-B2kqQ6yo.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-DRgq3Ll0.js";
2
+ import { N as t } from "./number-input-field-rac-BuYUzDWV.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-C3_-Dc35.js";
2
+ import { P as t } from "./phone-input-field-rac-JmIFcP1e.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-D1xJH87b.js";
3
- import { R as p } from "./radio-group-field-rac-eij4o0_R.js";
2
+ import { ak as e, h as t } from "./form-DQauhsho.js";
3
+ import { R as p } from "./radio-group-field-rac-CJwku6e0.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-C4Ztlh1u.js";
2
+ import { R as e } from "./rating-input-field-rac-B9cwaROK.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-D1xJH87b.js";
3
- import { T as s } from "./tags-field-rac-BuqOeG7-.js";
2
+ import { ak as e, h as o } from "./form-DQauhsho.js";
3
+ import { T as s } from "./tags-field-rac-C_uIw2by.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-Bq224M1o.js";
2
+ import { T as t } from "./text-area-field-rac-DqlOkm7e.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-CTS4jFhC.js";
2
+ import { T as e } from "./text-input-field-rac-CmXm6r1w.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-ChPfhq6I.js";
2
+ import { U as r } from "./url-input-field-rac-CFDYkZ6I.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(r, null);
4
4
  export {
5
5
  n as DextUrlInputRAC
@@ -1,22 +1,22 @@
1
1
  import n, { useMemo as M, useCallback as D, useRef as re } from "react";
2
2
  import { RicosViewer as se } from "@wix/ricos/viewer";
3
3
  import F from "classnames";
4
- import { RadioGroup as ae, RadioField as Y, RadioButton as Q, TextField as le, Group as ie, Input as ce } from "react-aria-components";
4
+ import { RadioGroup as ae, RadioField as Y, RadioButton as J, TextField as le, Group as ie, Input as ce } from "react-aria-components";
5
5
  import { debounce as ue } from "ts-debounce";
6
- import { P as W, ak as L, ah as B, au as me, ac as j, am as pe } from "./form-D1xJH87b.js";
6
+ import { P as Q, ak as L, ah as B, au as me, ac as j, am as pe } from "./form-DQauhsho.js";
7
7
  import { f as E, a as b } from "./find-child-C60k4CxG.js";
8
- import { a as z } from "./format-currency-BwShJ9vM.js";
9
- import { D as de, E as fe } from "./field-error-headless-CN2-F78X.js";
10
- import { L as Ce } from "./field-label-headless-Ca6NcX2l.js";
11
- import { a as Ie, b as Ee } from "./numeric-input-utils-CuBMi4-a.js";
8
+ import { a as W } from "./format-currency-BwShJ9vM.js";
9
+ import { D as de, E as fe } from "./field-error-headless-D3-1L5sf.js";
10
+ import { L as Ie } from "./field-label-headless-Du4ckIVy.js";
11
+ import { a as Ce, b as Ee } from "./numeric-input-utils-CuBMi4-a.js";
12
12
  import { g as he } from "./payment-field-utils-DobiK5Xh.js";
13
13
  import { u as Oe } from "./use-synced-display-value-DcAxdn3M.js";
14
14
  import { E as _e } from "./error-icon-hZxQ6DEy.js";
15
- import { s as S } from "./field-rac.module-B4l_0KRU.js";
16
- import { C as ye, S as be, k as ge, r as Ne, j as Fe, l as De } from "./form-element-classes-BtKlobUX.js";
15
+ import { s as v } from "./field-rac.module-B4l_0KRU.js";
16
+ import { v as ye, J as be, k as ge, o as Ne, j as Fe, l as De } from "./form-element-classes-bLFmhsKw.js";
17
17
  import { o as G } from "./options-rac.module-CTDdATiz.js";
18
- import { u as Se } from "./use-element-state-class-name-DF2VZawA.js";
19
- import { u as ve } from "./use-text-input-class-name-MbmOF6tH.js";
18
+ import { u as ve } from "./use-element-state-class-name-BatTc2bw.js";
19
+ import { u as Se } from "./use-text-input-class-name-LQ5S-NLh.js";
20
20
  function Re(e, t) {
21
21
  return e.reduce((o, r) => (o[r[t]] = r, o), {});
22
22
  }
@@ -28,16 +28,16 @@ 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 J(e, t) {
31
+ function z(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 === Q.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 === Q.DYNAMIC_PRICE);
41
41
  }
42
42
  function xe(e, t) {
43
43
  return (e == null ? void 0 : e.productId) === (t == null ? void 0 : t.id) ? String((e == null ? void 0 : e.price) ?? "") : "";
@@ -45,13 +45,13 @@ function xe(e, t) {
45
45
  function Me(e, t, o) {
46
46
  const r = (t == null ? void 0 : t.productId) === e ? void 0 : e, a = r ? o[r] : void 0;
47
47
  return a ? [
48
- J(a, Te(a))
48
+ z(a, Te(a))
49
49
  ] : [];
50
50
  }
51
51
  const s = ({ children: e }) => {
52
- const { id: t, value: o, onChange: r, disabled: a, required: u, onBlur: m, onFocus: f, validation: i, addOther: p, addOtherPlaceholder: c, FieldLayout: h, hasError: y } = L(), { labelId: O } = B(), { t: C } = me(), { currency: A, regionalFormat: g } = j(), d = o == null ? void 0 : o[0], N = M(() => {
53
- var I, x;
54
- return ((x = (I = i == null ? void 0 : i.predefined) == null ? void 0 : I.paymentOptions) == null ? void 0 : x.products) || [];
52
+ const { id: t, value: o, onChange: r, disabled: a, required: u, onBlur: m, onFocus: f, validation: i, addOther: p, addOtherPlaceholder: c, FieldLayout: h, hasError: y } = L(), { labelId: O } = B(), { t: I } = me(), { currency: A, regionalFormat: g } = j(), d = o == null ? void 0 : o[0], N = M(() => {
53
+ var C, x;
54
+ return ((x = (C = i == null ? void 0 : i.predefined) == null ? void 0 : C.paymentOptions) == null ? void 0 : x.products) || [];
55
55
  }, [
56
56
  i
57
57
  ]), T = M(() => Le(N), [
@@ -61,27 +61,27 @@ const s = ({ children: e }) => {
61
61
  p
62
62
  ]), K = xe(d, l), [k, P] = Oe({
63
63
  sourceValue: K,
64
- format: (I) => Ee(String(I ?? ""), g),
64
+ format: (C) => Ee(String(C ?? ""), g),
65
65
  regionalFormat: g
66
- }), q = D((I) => {
67
- r(Me(I, d, T)), P("");
66
+ }), q = D((C) => {
67
+ r(Me(C, d, T)), P("");
68
68
  }, [
69
69
  r,
70
70
  T,
71
71
  d,
72
72
  P
73
- ]), U = D((I) => {
74
- l && r(typeof I == "number" ? [
75
- J(l, String(I))
73
+ ]), U = D((C) => {
74
+ l && r(typeof C == "number" ? [
75
+ z(l, String(C))
76
76
  ] : []);
77
77
  }, [
78
78
  r,
79
79
  l
80
80
  ]), $ = M(() => ue(U, 500), [
81
81
  U
82
- ]), X = D((I) => {
82
+ ]), X = D((C) => {
83
83
  (d == null ? void 0 : d.productId) !== (l == null ? void 0 : l.id) && r(void 0);
84
- const { validInput: x, validNumber: oe } = Ie(I.target.value, Ae, k, g);
84
+ const { validInput: x, validNumber: oe } = Ce(C.target.value, Ae, k, g);
85
85
  P(x), $(oe);
86
86
  }, [
87
87
  g,
@@ -116,15 +116,15 @@ const s = ({ children: e }) => {
116
116
  customAmount: k,
117
117
  onCustomAmountInputChange: X,
118
118
  currency: A,
119
- t: C,
120
- placeholder: c === void 0 ? C("donation.other-option.placeholder") : c,
119
+ t: I,
120
+ placeholder: c === void 0 ? I("donation.other-option.placeholder") : c,
121
121
  customAmountProductId: l == null ? void 0 : l.id,
122
122
  onFocusCustomInput: Z
123
123
  }) : null),
124
124
  renderDescription: () => /* @__PURE__ */ n.createElement(n.Fragment, null, ne, te)
125
125
  });
126
126
  }, Be = ({ children: e, className: t, ...o }) => {
127
- const { productsById: r, addOther: a, customAmount: u, onCustomAmountInputChange: m, currency: f, t: i, placeholder: p, customAmountProductId: c, onFocusCustomInput: h } = o, { hasError: y } = L(), O = E(e, s.Options), C = E(e, s.OtherInput);
127
+ const { productsById: r, addOther: a, customAmount: u, onCustomAmountInputChange: m, currency: f, t: i, placeholder: p, customAmountProductId: c, onFocusCustomInput: h } = o, { hasError: y } = L(), O = E(e, s.Options), I = E(e, s.OtherInput);
128
128
  return /* @__PURE__ */ n.createElement("div", {
129
129
  className: t,
130
130
  "data-invalid": y
@@ -143,9 +143,9 @@ const s = ({ children: e }) => {
143
143
  whiteSpace: "nowrap",
144
144
  border: "0"
145
145
  }
146
- }, /* @__PURE__ */ n.createElement(Q, {
146
+ }, /* @__PURE__ */ n.createElement(J, {
147
147
  "aria-label": i("donation.other-option.label", "Custom amount")
148
- }, i("donation.other-option.label", "Custom amount"))), C && a ? b(C, {
148
+ }, i("donation.other-option.label", "Custom amount"))), I && a ? b(I, {
149
149
  customAmount: u,
150
150
  onCustomAmountInputChange: m,
151
151
  currency: f,
@@ -168,27 +168,27 @@ const s = ({ children: e }) => {
168
168
  price: p || "0"
169
169
  });
170
170
  }));
171
- }, v = ({ children: e, className: t, ...o }) => {
172
- 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({
171
+ }, S = ({ children: e, className: t, ...o }) => {
172
+ const { value: r, price: a } = o, { id: u } = L(), { currency: m, regionalFormat: f } = j(), i = E(e, S.Value), p = E(e, S.Currency), { isCurrencyPrefixed: c } = W({
173
173
  amount: a,
174
174
  currency: m == null ? void 0 : m.code,
175
175
  locale: f
176
176
  }), h = re(null);
177
177
  pe(() => {
178
- var O, C;
179
- (C = (O = h.current) == null ? void 0 : O.querySelector("input")) == null || C.focus();
178
+ var O, I;
179
+ (I = (O = h.current) == null ? void 0 : O.querySelector("input")) == null || I.focus();
180
180
  }, u);
181
181
  const y = i ? b(i, {
182
182
  price: a
183
183
  }) : null;
184
184
  return /* @__PURE__ */ n.createElement(Y, {
185
185
  value: r
186
- }, /* @__PURE__ */ n.createElement(Q, {
186
+ }, /* @__PURE__ */ n.createElement(J, {
187
187
  className: t,
188
188
  ref: h
189
189
  }, /* @__PURE__ */ n.createElement(n.Fragment, null, c && p, y, !c && p)));
190
190
  }, je = ({ className: e, ...t }) => {
191
- const { price: o } = t, { currency: r, regionalFormat: a } = j(), { value: u } = z({
191
+ const { price: o } = t, { currency: r, regionalFormat: a } = j(), { value: u } = W({
192
192
  amount: o,
193
193
  currency: r == null ? void 0 : r.code,
194
194
  locale: a
@@ -202,10 +202,10 @@ const s = ({ children: e }) => {
202
202
  className: e
203
203
  }, (t == null ? void 0 : t.sign) || (t == null ? void 0 : t.code) || "");
204
204
  };
205
- v.Value = je;
206
- v.Currency = ke;
205
+ S.Value = je;
206
+ S.Currency = ke;
207
207
  const R = ({ children: e, className: t, ...o }) => {
208
- const { customAmount: r, onCustomAmountInputChange: a, currency: u, t: m, placeholder: f, customAmountProductId: i, onFocusCustomInput: p } = o, { disabled: c, hasError: h } = L(), { labelId: y, prefixId: O } = B(), C = E(e, R.Currency), A = E(e, R.Value), g = D((N) => {
208
+ const { customAmount: r, onCustomAmountInputChange: a, currency: u, t: m, placeholder: f, customAmountProductId: i, onFocusCustomInput: p } = o, { disabled: c, hasError: h } = L(), { labelId: y, prefixId: O } = B(), I = E(e, R.Currency), A = E(e, R.Value), g = D((N) => {
209
209
  a({
210
210
  target: {
211
211
  value: N
@@ -229,7 +229,7 @@ const R = ({ children: e, className: t, ...o }) => {
229
229
  className: t,
230
230
  isDisabled: c,
231
231
  isInvalid: h
232
- }, r && u && C ? b(C, {
232
+ }, r && u && I ? b(I, {
233
233
  currency: u,
234
234
  t: m
235
235
  }) : null, A ? b(A, {
@@ -258,38 +258,38 @@ const R = ({ children: e, className: t, ...o }) => {
258
258
  };
259
259
  R.Currency = qe;
260
260
  R.Value = we;
261
- H.Option = v;
262
- s.Label = Ce;
261
+ H.Option = S;
262
+ s.Label = Ie;
263
263
  s.Control = Be;
264
264
  s.Options = H;
265
265
  s.OtherInput = R;
266
266
  s.Description = de;
267
267
  s.Error = fe;
268
- const He = "_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
+ const He = "_control_1fjsf_1", Ue = "_options_1fjsf_7", $e = "_option_1fjsf_7", Ve = "_optionHover_1fjsf_44", Ge = "_optionSelected_1fjsf_44", Ye = "_optionCurrency_1fjsf_94", Je = "_otherInput_1fjsf_98", Qe = "_otherInputCurrency_1fjsf_117", _ = {
269
269
  control: He,
270
270
  options: Ue,
271
271
  option: $e,
272
272
  optionHover: Ve,
273
273
  optionSelected: Ge,
274
274
  optionCurrency: Ye,
275
- otherInput: Qe,
276
- otherInputCurrency: We
277
- }, ze = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(se, {
275
+ otherInput: Je,
276
+ otherInputCurrency: Qe
277
+ }, We = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(se, {
278
278
  content: e,
279
279
  locale: t
280
- }), Je = {
280
+ }), ze = {
281
281
  base: _.option,
282
282
  selected: _.optionSelected,
283
283
  hover: _.optionHover
284
284
  }, Ke = () => {
285
- const e = ve(_.otherInput), t = Se({
285
+ const e = Se(_.otherInput), t = ve({
286
286
  globalClasses: De,
287
- moduleClasses: Je
287
+ moduleClasses: ze
288
288
  });
289
289
  return /* @__PURE__ */ n.createElement(s, null, /* @__PURE__ */ n.createElement(s.Label, {
290
- className: F(ye, S.label)
290
+ className: F(ye, v.label)
291
291
  }, /* @__PURE__ */ n.createElement(s.Label.Required, {
292
- className: F(be, S.requiredMark)
292
+ className: F(be, v.requiredMark)
293
293
  })), /* @__PURE__ */ n.createElement(s.Control, {
294
294
  className: F(_.control, G.group)
295
295
  }, /* @__PURE__ */ n.createElement(s.Options, {
@@ -306,12 +306,12 @@ const He = "_control_1fjsf_1", Ue = "_options_1fjsf_7", $e = "_option_1fjsf_7",
306
306
  }, /* @__PURE__ */ n.createElement(s.OtherInput.Currency, {
307
307
  className: _.otherInputCurrency
308
308
  }), /* @__PURE__ */ n.createElement(s.OtherInput.Value, {
309
- className: S.innerInput
309
+ className: v.innerInput
310
310
  }))), /* @__PURE__ */ n.createElement(s.Error, {
311
- className: F(Ne, S.error)
311
+ className: F(Ne, v.error)
312
312
  }, /* @__PURE__ */ n.createElement(_e, null), /* @__PURE__ */ n.createElement(s.Error.Text, null)), /* @__PURE__ */ n.createElement(s.Description, {
313
- className: F(Fe, S.description)
314
- }, ze));
313
+ className: F(Fe, v.description)
314
+ }, We));
315
315
  }, Et = () => /* @__PURE__ */ n.createElement(Ke, null);
316
316
  export {
317
317
  Et as DonationRAC
@@ -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-D1xJH87b.js";
4
+ import { ak as f, ah as O, am as G } from "./form-DQauhsho.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-CN2-F78X.js";
7
- import { L as K } from "./field-label-headless-Ca6NcX2l.js";
6
+ import { D as H, E as J } from "./field-error-headless-D3-1L5sf.js";
7
+ import { L as K } from "./field-label-headless-Du4ckIVy.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-B_knxuKJ.js";
9
+ import { u as X } from "./use-is-forced-open-dropdown-B0jiPTmS.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-CeDAK-PU.js";
4
+ import { D as r } from "./dropdown-field-headless-CBaqlNZi.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 { 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-Cf2B9xAE.js";
9
+ import { v as i, J as E, n as p, x as _, o as R, j as D } from "./form-element-classes-bLFmhsKw.js";
10
+ import { u as O } from "./use-dropdown-option-class-name-3L5ZmNLK.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(E, o.label)
17
+ className: t(i, o.label)
18
18
  }, /* @__PURE__ */ e.createElement(r.Label.Required, {
19
- className: t(i, o.requiredMark)
19
+ className: t(E, 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-BzqUmKJ1.js";
2
+ import { D as r } from "./dropdown-field-rac-CCAGSMm3.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-jJ5HMakk.js";
2
+ import { M as r } from "./multiline-address-field-rac-CyaFOloE.js";
3
3
  const l = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  l as EcomAddressRAC