@wix/form-elements 1.141.0 → 1.142.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-CBgveDfU.js → appointment-rac-BAwonF75.js} +85 -85
  2. package/dist/component/{bookings-address-rac-BJqKQGM7.js → bookings-address-rac-xhj2n7jK.js} +1 -1
  3. package/dist/component/{bookings-email-rac-BEBnQQtI.js → bookings-email-rac-BGjeAwgm.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-CcLe5bPh.js → bookings-first-name-rac-l392yYAU.js} +1 -1
  5. package/dist/component/{bookings-header-rac-C2CRP5vX.js → bookings-header-rac-JwIo7hsJ.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-D9EPB2o-.js → bookings-last-name-rac-CJp81BPl.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DaDoExJQ.js → bookings-login-bar-rac-BiPklGE_.js} +4 -4
  8. package/dist/component/{bookings-phone-rac-C4rfNh9m.js → bookings-phone-rac-mQfDJGkK.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-CHupwGUy.js → bookings-rich-text-rac-BOfHn2EU.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-JA4-Un3S.js → checkbox-field-rac-CA6SeM0c.js} +4 -4
  11. package/dist/component/{checkbox-group-field-headless-ikYtTUSV.js → checkbox-group-field-headless-ChLT0zKA.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-CkkSPle4.js → checkbox-group-field-rac-_Fkre79S.js} +7 -7
  13. package/dist/component/{checkbox-group-rac-BYXab1TV.js → checkbox-group-rac-esBLJZ6Y.js} +1 -1
  14. package/dist/component/{checkbox-rac-MsaKpbsM.js → checkbox-rac-C3vXtbJh.js} +1 -1
  15. package/dist/component/{contacts-address-rac-BG5KM6Mu.js → contacts-address-rac-BuBBBt19.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-CIJtY0ml.js → contacts-birthdate-rac-BMBJeVOK.js} +1 -1
  17. package/dist/component/{contacts-company-rac-qQxsdn-g.js → contacts-company-rac-CZl168-E.js} +1 -1
  18. package/dist/component/{contacts-email-rac-Cb_zFMQd.js → contacts-email-rac-CJgVzCns.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-L0IsiQmM.js → contacts-first-name-rac-9ZNYKQeb.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-BNgF4RBx.js → contacts-last-name-rac-KgylQwHW.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-BhOsgxwZ.js → contacts-phone-rac-DYr30FLP.js} +1 -1
  22. package/dist/component/{contacts-position-rac-B2JM9fSY.js → contacts-position-rac-B9BZZ3K9.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-CVSWNhBY.js → contacts-subscribe-rac-DOQb2GLm.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-BtdNdxYS.js → contacts-tax-id-rac-cYE1ehXN.js} +1 -1
  25. package/dist/component/{date-availability-BVSO1Gbz.js → date-availability-BOKvA8w-.js} +1 -1
  26. package/dist/component/{date-input-field-rac-DFCPKpI2.js → date-input-field-rac-BwY53gNr.js} +47 -47
  27. package/dist/component/{date-input-rac-CcC5JdTU.js → date-input-rac-Cgg4QJbB.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-CAr7r5k3.js → date-picker-field-rac-0Ue6uiCM.js} +5 -5
  29. package/dist/component/{date-picker-rac-0WEGa3ZQ.js → date-picker-rac-CgICj33f.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-DPlFlkrF.js → date-time-input-field-rac-ChRCMk7_.js} +60 -60
  31. package/dist/component/{date-time-input-rac-c0dm0pdf.js → date-time-input-rac-B8tRZrri.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-B1db5jv3.js → dext-checkbox-group-rac-B_qjx1QD.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-C03w68Ta.js → dext-checkbox-rac-Bw9SyhHA.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-DTjysj_k.js → dext-date-picker-rac-Bzn28zNq.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-CnL2o6YR.js → dext-date-time-input-rac-7Cuk3PoA.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-CJxC-Wr0.js → dext-dropdown-rac-Md1VI5pc.js} +1 -1
  37. package/dist/component/{dext-email-rac-CewA7bXc.js → dext-email-rac-DbHwHGKz.js} +1 -1
  38. package/dist/component/{dext-number-input-rac--_aUE6C8.js → dext-number-input-rac-DIVk3zXL.js} +1 -1
  39. package/dist/component/{dext-phone-rac-_ObccrwR.js → dext-phone-rac-ZIya63UJ.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-DXBCI2mT.js → dext-radio-group-rac-DV1xHkOD.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-CS3VY3B3.js → dext-rating-input-rac-YRIYgeT4.js} +1 -1
  42. package/dist/component/{dext-tags-rac-CyTea3vl.js → dext-tags-rac-DTJ6Pz_x.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-C_qN16CX.js → dext-text-area-rac-V-d9i95A.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-DhqfiI_U.js → dext-text-input-rac-ccrundX-.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-CxI4MbMH.js → dext-url-input-rac-Bd5SZ2U4.js} +1 -1
  46. package/dist/component/{donation-rac-BZmT89_j.js → donation-rac-BFmpW-3b.js} +23 -23
  47. package/dist/component/{dropdown-field-headless-CO82AsyC.js → dropdown-field-headless-C2qgeReH.js} +5 -5
  48. package/dist/component/{dropdown-field-rac-BqPHSq7k.js → dropdown-field-rac-Bj1YSgpT.js} +9 -9
  49. package/dist/component/{dropdown-rac-pOLj9tRE.js → dropdown-rac-DfdvX5I5.js} +1 -1
  50. package/dist/component/{ecom-address-rac-DBQ0rVmy.js → ecom-address-rac-DOWNQhhX.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-BJoMvht8.js → ecom-subscription-checkbox-rac-2ELdC1ql.js} +2 -2
  52. package/dist/component/{email-input-field-rac-DTqYXW-m.js → email-input-field-rac-CY0U6vEM.js} +34 -34
  53. package/dist/component/{events-repeater-rac-3gkcVOh6.js → events-repeater-rac-C2oo_RZt.js} +4 -4
  54. package/dist/component/{events-rsvp-rac-DYMvnjuz.js → events-rsvp-rac-BrimIo0r.js} +8 -8
  55. package/dist/component/{field-error-headless-CQ8PHjtA.js → field-error-headless-r0fX50xw.js} +1 -1
  56. package/dist/component/{field-label-headless-BgAx-Enb.js → field-label-headless-D-kCfg8j.js} +1 -1
  57. package/dist/component/{file-upload-rac-B8TgLoCU.js → file-upload-rac-Beb2BcFK.js} +160 -160
  58. package/dist/component/{fixed-payment-rac-CRupF7Fu.js → fixed-payment-rac-DGFWYMZG.js} +9 -9
  59. package/dist/component/{form-BzzldBcB.js → form-DtzwuBIo.js} +296 -293
  60. package/dist/component/form.js +1 -1
  61. package/dist/component/{header-field-rac-iFuM4bGC.js → header-field-rac-CVmGSa0E.js} +2 -2
  62. package/dist/component/{header-rac-CLOeCzLk.js → header-rac-C3AEJmYN.js} +1 -1
  63. package/dist/component/{image-choice-rac-C6UBnrn3.js → image-choice-rac-Ch-mxLgP.js} +16 -16
  64. package/dist/component/{index-BHGQWZ7f.js → index-CTn6AQ3A.js} +2 -2
  65. package/dist/component/{index-CtMQ3oqe.js → index-CmqLlW8X.js} +4 -4
  66. package/dist/component/{isObjectLike-BVz2g6jF.js → isObjectLike-iyypwAQL.js} +1 -1
  67. package/dist/component/{multiline-address-field-rac-CKBpkEET.js → multiline-address-field-rac-DJXcb6NG.js} +41 -41
  68. package/dist/component/{multiline-address-rac-DcGF1aWF.js → multiline-address-rac-DcZgTx1c.js} +1 -1
  69. package/dist/component/{number-input-field-rac-CODTSfX-.js → number-input-field-rac-W3TqQGhC.js} +20 -20
  70. package/dist/component/{number-input-rac-ByT6DN8A.js → number-input-rac-CdXigsba.js} +1 -1
  71. package/dist/component/{password-rac-Bwnpd70V.js → password-rac-Dph6984u.js} +19 -19
  72. package/dist/component/{payment-input-rac-DmfJZmgO.js → payment-input-rac-D5ARk1lF.js} +23 -23
  73. package/dist/component/{phone-input-field-rac-B2exX67y.js → phone-input-field-rac-BUfe-B2i.js} +55 -55
  74. package/dist/component/{phone-rac-9HksdhZY.js → phone-rac-DTiWT1uy.js} +1 -1
  75. package/dist/component/{product-list-rac-DnhtTpJC.js → product-list-rac-1_Q2JYwH.js} +32 -32
  76. package/dist/component/{quiz-radio-group-rac-BNVLQ2YS.js → quiz-radio-group-rac-iyBhi0wJ.js} +1 -1
  77. package/dist/component/{radio-button-module-classes-D2nPj405.js → radio-button-module-classes-DwfobXBe.js} +3 -3
  78. package/dist/component/{radio-group-field-rac-BT657aHX.js → radio-group-field-rac-BkKNVwMi.js} +8 -8
  79. package/dist/component/{radio-group-rac-yjr7rBFf.js → radio-group-rac-CH0nkJ8V.js} +1 -1
  80. package/dist/component/{rating-input-field-rac-DJzVLTkF.js → rating-input-field-rac-CUUUlgZi.js} +27 -27
  81. package/dist/component/{rating-input-rac-Cpzm_Rbk.js → rating-input-rac-8yEiqBR5.js} +1 -1
  82. package/dist/component/{rich-content-rac.module-B8WTFbve.js → rich-content-rac.module-DeKU0pwh.js} +1 -1
  83. package/dist/component/{rich-text-field-rac-DCiBRkow.js → rich-text-field-rac-Cwd-RWTi.js} +2 -2
  84. package/dist/component/{rich-text-rac-DiP1GwaU.js → rich-text-rac-C5-jPNYP.js} +1 -1
  85. package/dist/component/{service-dropdown-rac-D5YlC7mU.js → service-dropdown-rac-DBGAnsut.js} +37 -37
  86. package/dist/component/{services-multi-choice-rac-D5uwtGzk.js → services-multi-choice-rac-CqEoGsuw.js} +12 -12
  87. package/dist/component/{signature-rac-g7pBfp7A.js → signature-rac-Cq3y66Cr.js} +36 -36
  88. package/dist/component/{submit-button-rac-WVz4yWjl.js → submit-button-rac-CKM7yUL4.js} +2 -2
  89. package/dist/component/{tags-field-rac-BS7qlHyA.js → tags-field-rac-CpJ0O9f_.js} +15 -15
  90. package/dist/component/{tags-rac-CQGlk8GO.js → tags-rac-BPjw67Po.js} +1 -1
  91. package/dist/component/{text-area-field-rac-B2rsUGoZ.js → text-area-field-rac-BG6MJuIW.js} +16 -16
  92. package/dist/component/{text-area-rac-CwJXAFKH.js → text-area-rac-BAS4F4VC.js} +1 -1
  93. package/dist/component/{text-input-field-rac-CiZ83ULN.js → text-input-field-rac-BhMktcEd.js} +5 -5
  94. package/dist/component/{text-input-headless-C56J6s10.js → text-input-headless-Bpjd70nh.js} +3 -3
  95. package/dist/component/{text-input-rac-BMSWPbrZ.js → text-input-rac-Bj21XKGA.js} +1 -1
  96. package/dist/component/{time-input-rac-DrKC1wiN.js → time-input-rac-DBpRHdnX.js} +12 -12
  97. package/dist/component/{url-input-field-rac-HPvjYmsV.js → url-input-field-rac-B_EMXVWh.js} +11 -11
  98. package/dist/component/{url-input-rac-gQIszvK3.js → url-input-rac-D0Ck-9KV.js} +1 -1
  99. package/dist/component/{use-dropdown-option-class-name-nZCgStzg.js → use-dropdown-option-class-name-CkpHwC6t.js} +21 -21
  100. package/dist/component/{use-dropdown-trigger-class-name-Ba9Ej9xC.js → use-dropdown-trigger-class-name-DmDwpAVn.js} +2 -2
  101. package/dist/component/{use-element-state-class-name-CEMjabjh.js → use-element-state-class-name-BrgdwHYP.js} +1 -1
  102. package/dist/component/{use-hoverable-input-class-name-BSiPBu4i.js → use-hoverable-input-class-name-qVo45l-t.js} +2 -2
  103. package/dist/component/{use-service-options-base-DSkh5Ayp.js → use-service-options-base-Dlqs4p0Z.js} +1 -1
  104. package/dist/component/use-text-input-class-name-CP2VJOso.js +6 -0
  105. package/dist/form.d.ts +12 -2
  106. package/package.json +2 -2
  107. package/dist/component/use-text-input-class-name-B2pSCrTD.js +0 -6
@@ -1,27 +1,27 @@
1
1
  import { RicosViewer as se } from "@wix/ricos/viewer";
2
2
  import h from "classnames";
3
- import t, { useMemo as O, useState as q, useCallback as H, useRef as U, useContext as oe } from "react";
3
+ import t, { useMemo as T, useState as q, useCallback as H, useRef as U, useContext as oe } 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, Select as me, TextField as Q, TimeField as de, SelectValue as ue, Input as J, DateInput as pe, DateSegment as x, TimeFieldStateContext as Ee } from "react-aria-components";
7
- import { bj as f, bg as W, bb as z, aQ as X, b1 as Z, aD as d, bt as L, b5 as j, aS as fe, aK as he, b8 as be, aM as K, bl as G, N as R, Y as ge, O as Ie, G as Ne, u as De } from "./form-BzzldBcB.js";
6
+ import { ListBoxItem as ce, Select as me, TextField as Q, TimeField as de, SelectValue as ue, Input as W, DateInput as pe, DateSegment as x, TimeFieldStateContext as Ee } from "react-aria-components";
7
+ import { bj as f, bg as J, bb as $, aQ as X, b1 as Z, aD as d, bt as L, b5 as j, aS as fe, aK as he, b8 as be, aM as K, bl as z, R, $ as ge, x as Ie, G as De, u as Ne } from "./form-DtzwuBIo.js";
8
8
  import { f as u, a as P } from "./find-child-C60k4CxG.js";
9
9
  import { g as _e } from "./helpers-HmkkXrh2.js";
10
- import { D as ye, E as Te } from "./field-error-headless-CQ8PHjtA.js";
11
- import { L as Oe } from "./field-label-headless-BgAx-Enb.js";
10
+ import { D as ye, E as Oe } from "./field-error-headless-r0fX50xw.js";
11
+ import { L as Te } from "./field-label-headless-D-kCfg8j.js";
12
12
  import { F as Le } from "./fieldset-headless-CD3fds9J.js";
13
13
  import { N as Ce, E as Fe, S as Pe } from "./non-modal-popover-D-u13tmp.js";
14
- import { a as Me, u as Se } from "./use-dropdown-trigger-class-name-Ba9Ej9xC.js";
15
- import { V as Re, u as Ae } from "./use-dropdown-option-class-name-nZCgStzg.js";
14
+ import { a as Me, u as Se } from "./use-dropdown-trigger-class-name-DmDwpAVn.js";
15
+ import { V as Re, u as Ae } from "./use-dropdown-option-class-name-CkpHwC6t.js";
16
16
  import { C as Ve } from "./chevron-down-icon-CcpVm6B-.js";
17
17
  import { E as Ye } from "./error-icon-hZxQ6DEy.js";
18
18
  import { H as k } from "./custom-focus-class-_483Pkwp.js";
19
19
  import { s as g } from "./field-rac.module-DfEb7pBp.js";
20
- import { u as B } from "./use-text-input-class-name-B2pSCrTD.js";
20
+ import { u as B } from "./use-text-input-class-name-CP2VJOso.js";
21
21
  const l = ({ children: e, className: a }) => {
22
- const { id: n, required: r, onBlur: s, onFocus: o, FieldLayout: i } = f(), { inputId: m, labelId: c, ariaDescribedBy: b } = W(), { regionalFormat: p } = z(), _ = O(() => X(p).filter(Z).map((S) => S.toUpperCase()), [
22
+ const { id: n, required: r, onBlur: s, onFocus: o, FieldLayout: i } = f(), { inputId: m, labelId: c, ariaDescribedBy: b } = J(), { regionalFormat: p } = $(), _ = T(() => X(p).filter(Z).map((S) => S.toUpperCase()), [
23
23
  p
24
- ]), M = u(e, l.Label), Y = u(e, l.Description), N = u(e, l.Error), D = {
24
+ ]), M = u(e, l.Label), Y = u(e, l.Description), D = u(e, l.Error), N = {
25
25
  [d.MONTH]: u(e, l.Month),
26
26
  [d.DAY]: u(e, l.Day),
27
27
  [d.YEAR]: u(e, l.Year)
@@ -39,11 +39,11 @@ const l = ({ children: e, className: a }) => {
39
39
  onBlur: s,
40
40
  onFocus: o,
41
41
  className: a
42
- }, D[_[0]], D[_[1]], D[_[2]], y),
43
- renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, N, Y)
42
+ }, N[_[0]], N[_[1]], N[_[2]], y),
43
+ renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, D, Y)
44
44
  });
45
45
  }, C = ({ children: e, className: a }) => {
46
- const { id: n, disabled: r, readOnly: s, showDateLabels: o, hidePlaceholder: i } = f(), { labelId: m } = T(d.MONTH), { partValue: c, partError: b, onPartChange: p } = F(d.MONTH), { t: _ } = L(), [M, Y] = q(!1), N = Me(n), [D, y] = q(null), S = i ? Fe : _("field.date.placeholder.month"), ee = H((v) => {
46
+ const { id: n, disabled: r, readOnly: s, showDateLabels: o, hidePlaceholder: i } = f(), { labelId: m } = O(d.MONTH), { partValue: c, partError: b, onPartChange: p } = F(d.MONTH), { t: _ } = L(), [M, Y] = q(!1), D = Me(n), [N, y] = q(null), S = i ? Fe : _("field.date.placeholder.month"), ee = H((v) => {
47
47
  s || p(typeof v == "string" ? v : "");
48
48
  }, [
49
49
  p,
@@ -62,7 +62,7 @@ const l = ({ children: e, className: a }) => {
62
62
  display: "contents"
63
63
  }
64
64
  }), /* @__PURE__ */ t.createElement(ie, {
65
- getContainer: () => D
65
+ getContainer: () => N
66
66
  }, /* @__PURE__ */ t.createElement(me, {
67
67
  "aria-labelledby": o ? m : void 0,
68
68
  value: c || null,
@@ -70,17 +70,17 @@ const l = ({ children: e, className: a }) => {
70
70
  isDisabled: r,
71
71
  isInvalid: b,
72
72
  placeholder: S,
73
- isOpen: N || M,
74
- onOpenChange: N ? void 0 : te
73
+ isOpen: D || M,
74
+ onOpenChange: D ? void 0 : te
75
75
  }, ne, P(re, {
76
- isForcedOpen: N
76
+ isForcedOpen: D
77
77
  }))));
78
- }, ve = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
78
+ }, ve = ({ className: e }) => /* @__PURE__ */ t.createElement(G, {
79
79
  datePart: d.MONTH,
80
80
  className: e
81
81
  }), ke = ({ children: e, className: a }) => {
82
- const { id: n, readOnly: r } = f(), { inputId: s } = T(d.MONTH), { partError: o, isFirstPart: i } = F(d.MONTH), m = U(null);
83
- return G(() => {
82
+ const { id: n, readOnly: r } = f(), { inputId: s } = O(d.MONTH), { partError: o, isFirstPart: i } = F(d.MONTH), m = U(null);
83
+ return z(() => {
84
84
  var c;
85
85
  i && ((c = m.current) == null || c.focus());
86
86
  }, n), /* @__PURE__ */ t.createElement(Pe, {
@@ -92,7 +92,7 @@ const l = ({ children: e, className: a }) => {
92
92
  "data-readonly": r || void 0
93
93
  }, /* @__PURE__ */ t.createElement(ue, null), e);
94
94
  }, w = ({ children: e, className: a, ...n }) => {
95
- const { isForcedOpen: r } = n, { language: s } = z(), o = O(() => _e(s), [
95
+ const { isForcedOpen: r } = n, { language: s } = $(), o = T(() => _e(s), [
96
96
  s
97
97
  ]), i = u(e, w.Option) ?? /* @__PURE__ */ t.createElement(w.Option, null);
98
98
  return /* @__PURE__ */ t.createElement(Ce, {
@@ -120,7 +120,7 @@ C.Trigger = ke;
120
120
  C.Options = w;
121
121
  w.Option = He;
122
122
  const A = ({ children: e, className: a }) => {
123
- const { disabled: n, readOnly: r, showDateLabels: s } = f(), { labelId: o } = T(d.DAY), { partValue: i, partError: m, onPartChange: c } = F(d.DAY), b = u(e, A.Label), p = u(e, A.Input);
123
+ const { disabled: n, readOnly: r, showDateLabels: s } = f(), { labelId: o } = O(d.DAY), { partValue: i, partError: m, onPartChange: c } = F(d.DAY), b = u(e, A.Label), p = u(e, A.Input);
124
124
  return /* @__PURE__ */ t.createElement("div", {
125
125
  className: a,
126
126
  "data-date-field": !0
@@ -132,15 +132,15 @@ const A = ({ children: e, className: a }) => {
132
132
  isReadOnly: r,
133
133
  isInvalid: m
134
134
  }, p));
135
- }, we = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
135
+ }, we = ({ className: e }) => /* @__PURE__ */ t.createElement(G, {
136
136
  datePart: d.DAY,
137
137
  className: e
138
138
  }), xe = ({ className: e }) => {
139
- const { id: a, hidePlaceholder: n } = f(), { inputId: r } = T(d.DAY), { isFirstPart: s } = F(d.DAY), { t: o } = L(), i = U(null), m = n ? void 0 : o("field.date.placeholder.day");
140
- return G(() => {
139
+ const { id: a, hidePlaceholder: n } = f(), { inputId: r } = O(d.DAY), { isFirstPart: s } = F(d.DAY), { t: o } = L(), i = U(null), m = n ? void 0 : o("field.date.placeholder.day");
140
+ return z(() => {
141
141
  var c;
142
142
  s && ((c = i.current) == null || c.focus());
143
- }, a), /* @__PURE__ */ t.createElement(J, {
143
+ }, a), /* @__PURE__ */ t.createElement(W, {
144
144
  ref: i,
145
145
  id: r,
146
146
  className: e,
@@ -153,7 +153,7 @@ const A = ({ children: e, className: a }) => {
153
153
  A.Label = we;
154
154
  A.Input = xe;
155
155
  const V = ({ children: e, className: a }) => {
156
- const { disabled: n, readOnly: r, showDateLabels: s } = f(), { labelId: o } = T(d.YEAR), { partValue: i, partError: m, onPartChange: c } = F(d.YEAR), b = u(e, V.Label), p = u(e, V.Input);
156
+ const { disabled: n, readOnly: r, showDateLabels: s } = f(), { labelId: o } = O(d.YEAR), { partValue: i, partError: m, onPartChange: c } = F(d.YEAR), b = u(e, V.Label), p = u(e, V.Input);
157
157
  return /* @__PURE__ */ t.createElement("div", {
158
158
  className: a,
159
159
  "data-date-field": !0
@@ -165,15 +165,15 @@ const V = ({ children: e, className: a }) => {
165
165
  isReadOnly: r,
166
166
  isInvalid: m
167
167
  }, p));
168
- }, Be = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
168
+ }, Be = ({ className: e }) => /* @__PURE__ */ t.createElement(G, {
169
169
  datePart: d.YEAR,
170
170
  className: e
171
171
  }), Ue = ({ className: e }) => {
172
- const { id: a, hidePlaceholder: n } = f(), { inputId: r } = T(d.YEAR), { isFirstPart: s } = F(d.YEAR), { t: o } = L(), i = U(null), m = n ? void 0 : o("field.date.placeholder.year");
173
- return G(() => {
172
+ const { id: a, hidePlaceholder: n } = f(), { inputId: r } = O(d.YEAR), { isFirstPart: s } = F(d.YEAR), { t: o } = L(), i = U(null), m = n ? void 0 : o("field.date.placeholder.year");
173
+ return z(() => {
174
174
  var c;
175
175
  s && ((c = i.current) == null || c.focus());
176
- }, a), /* @__PURE__ */ t.createElement(J, {
176
+ }, a), /* @__PURE__ */ t.createElement(W, {
177
177
  ref: i,
178
178
  id: r,
179
179
  className: e,
@@ -186,7 +186,7 @@ const V = ({ children: e, className: a }) => {
186
186
  V.Label = Be;
187
187
  V.Input = Ue;
188
188
  const I = ({ children: e, className: a }) => {
189
- const { disabled: n, readOnly: r, use24HourFormat: s, showDateLabels: o } = f(), { labelId: i } = T("time"), { partValue: m, partError: c, onPartChange: b } = F("time"), p = u(e, I.Label), _ = u(e, I.Input);
189
+ const { disabled: n, readOnly: r, use24HourFormat: s, showDateLabels: o } = f(), { labelId: i } = O("time"), { partValue: m, partError: c, onPartChange: b } = F("time"), p = u(e, I.Label), _ = u(e, I.Input);
190
190
  return /* @__PURE__ */ t.createElement("div", {
191
191
  className: a,
192
192
  "data-date-field": !0
@@ -199,14 +199,14 @@ const I = ({ children: e, className: a }) => {
199
199
  isInvalid: c,
200
200
  hourCycle: s ? 24 : 12
201
201
  }, _));
202
- }, ze = ({ className: e }) => {
203
- const { inputId: a, labelId: n } = T("time"), { t: r } = L(), s = r("field.date.label.time");
202
+ }, $e = ({ className: e }) => {
203
+ const { inputId: a, labelId: n } = O("time"), { t: r } = L(), s = r("field.date.label.time");
204
204
  return /* @__PURE__ */ t.createElement("label", {
205
205
  id: n,
206
206
  htmlFor: a,
207
207
  className: e
208
208
  }, s);
209
- }, Ge = ({ children: e, className: a }) => {
209
+ }, ze = ({ children: e, className: a }) => {
210
210
  const { hidePlaceholder: n } = f(), r = u(e, I.Hour), s = u(e, I.Minute), o = u(e, I.Period);
211
211
  return /* @__PURE__ */ t.createElement(pe, {
212
212
  className: a,
@@ -234,7 +234,7 @@ const I = ({ children: e, className: a }) => {
234
234
  return /* @__PURE__ */ t.createElement(t.Fragment, null);
235
235
  }
236
236
  });
237
- }, $e = ({ className: e, ...a }) => {
237
+ }, Ge = ({ className: e, ...a }) => {
238
238
  const { hidePlaceholder: n } = f(), { segment: r } = a, { t: s } = L(), o = n ? void 0 : s("field.date.placeholder.hour");
239
239
  return /* @__PURE__ */ t.createElement(x, {
240
240
  segment: r,
@@ -263,21 +263,21 @@ const I = ({ children: e, className: a }) => {
263
263
  }
264
264
  });
265
265
  };
266
- I.Label = ze;
267
- I.Input = Ge;
268
- I.Hour = $e;
266
+ I.Label = $e;
267
+ I.Input = ze;
268
+ I.Hour = Ge;
269
269
  I.Minute = qe;
270
270
  I.Period = je;
271
- l.Label = Oe;
271
+ l.Label = Te;
272
272
  l.Month = C;
273
273
  l.Day = A;
274
274
  l.Year = V;
275
275
  l.Time = I;
276
276
  l.Description = ye;
277
- l.Error = Te;
278
- function T(e) {
279
- const { inputId: a } = W();
280
- return O(() => {
277
+ l.Error = Oe;
278
+ function O(e) {
279
+ const { inputId: a } = J();
280
+ return T(() => {
281
281
  const n = e.toLowerCase();
282
282
  return {
283
283
  inputId: `${a}-${n}-input`,
@@ -289,30 +289,30 @@ function T(e) {
289
289
  ]);
290
290
  }
291
291
  function F(e) {
292
- const { value: a, onChange: n, hasError: r = !1 } = f(), { regionalFormat: s } = z(), [o, i] = O(() => j(a ?? ""), [
292
+ const { value: a, onChange: n, hasError: r = !1 } = f(), { regionalFormat: s } = $(), [o, i] = T(() => j(a ?? ""), [
293
293
  a
294
- ]), m = O(() => fe(r, a ?? ""), [
294
+ ]), m = T(() => fe(r, a ?? ""), [
295
295
  a,
296
296
  r
297
- ]), c = O(() => he(o), [
297
+ ]), c = T(() => he(o), [
298
298
  o
299
- ]), b = O(() => Ke(i), [
299
+ ]), b = T(() => Ke(i), [
300
300
  i
301
- ]), p = H((N) => {
302
- const D = Qe(N), y = K(o, D);
301
+ ]), p = H((D) => {
302
+ const N = Qe(D), y = K(o, N);
303
303
  n(y);
304
304
  }, [
305
305
  n,
306
306
  o
307
- ]), _ = H((N) => {
308
- const [, D] = j(a ?? ""), y = be(N, e, c), S = K(y, D);
307
+ ]), _ = H((D) => {
308
+ const [, N] = j(a ?? ""), y = be(D, e, c), S = K(y, N);
309
309
  n(S);
310
310
  }, [
311
311
  n,
312
312
  a,
313
313
  c,
314
314
  e
315
- ]), M = O(() => e === "time" ? !1 : X(s).filter(Z).map((y) => y.toUpperCase())[0] === e, [
315
+ ]), M = T(() => e === "time" ? !1 : X(s).filter(Z).map((y) => y.toUpperCase())[0] === e, [
316
316
  s,
317
317
  e
318
318
  ]);
@@ -328,8 +328,8 @@ function F(e) {
328
328
  isFirstPart: M
329
329
  };
330
330
  }
331
- function $({ datePart: e, className: a }) {
332
- const { inputId: n, labelId: r } = T(e), { t: s } = L(), o = `field.date.label.${e.toLowerCase()}`, i = s(o);
331
+ function G({ datePart: e, className: a }) {
332
+ const { inputId: n, labelId: r } = O(e), { t: s } = L(), o = `field.date.label.${e.toLowerCase()}`, i = s(o);
333
333
  return /* @__PURE__ */ t.createElement("label", {
334
334
  id: r,
335
335
  htmlFor: n,
@@ -355,9 +355,9 @@ function Qe(e) {
355
355
  r
356
356
  ].join(":");
357
357
  }
358
- const Je = "_fields_1meki_1", We = "_month_1meki_10", Xe = "_day_1meki_11", Ze = "_year_1meki_12", et = "_timeGroup_1meki_13", tt = "_dayInput_1meki_34", at = "_yearInput_1meki_35", nt = "_monthTrigger_1meki_39", rt = "_monthOption_1meki_59", st = "_time_1meki_13", ot = "_hour_1meki_78", lt = "_minute_1meki_79", it = "_period_1meki_80", E = {
359
- fields: Je,
360
- month: We,
358
+ const We = "_fields_1meki_1", Je = "_month_1meki_10", Xe = "_day_1meki_11", Ze = "_year_1meki_12", et = "_timeGroup_1meki_13", tt = "_dayInput_1meki_34", at = "_yearInput_1meki_35", nt = "_monthTrigger_1meki_39", rt = "_monthOption_1meki_59", st = "_time_1meki_13", ot = "_hour_1meki_78", lt = "_minute_1meki_79", it = "_period_1meki_80", E = {
359
+ fields: We,
360
+ month: Je,
361
361
  day: Xe,
362
362
  year: Ze,
363
363
  timeGroup: et,
@@ -417,9 +417,9 @@ const Je = "_fields_1meki_1", We = "_month_1meki_10", Xe = "_day_1meki_11", Ze =
417
417
  }), /* @__PURE__ */ t.createElement(l.Time.Period, {
418
418
  className: h(E.period, k)
419
419
  }))), /* @__PURE__ */ t.createElement(l.Error, {
420
- className: h(Ne, g.error)
420
+ className: h(De, g.error)
421
421
  }, /* @__PURE__ */ t.createElement(Ye, null), /* @__PURE__ */ t.createElement(l.Error.Text, null)), /* @__PURE__ */ t.createElement(l.Description, {
422
- className: h(De, g.description)
422
+ className: h(Ne, g.description)
423
423
  }, ct));
424
424
  };
425
425
  export {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-time-input-field-rac-DPlFlkrF.js";
2
+ import { D as t } from "./date-time-input-field-rac-ChRCMk7_.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 { bj as e, al as t } from "./form-BzzldBcB.js";
3
- import { C as p } from "./checkbox-group-field-rac-CkkSPle4.js";
2
+ import { bj as e, al as t } from "./form-DtzwuBIo.js";
3
+ import { C as p } from "./checkbox-group-field-rac-_Fkre79S.js";
4
4
  import { D as s } from "./default-limits-D7qVv_Hv.js";
5
5
  const n = () => {
6
6
  const r = {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { C as t } from "./checkbox-field-rac-JA4-Un3S.js";
2
+ import { C as t } from "./checkbox-field-rac-CA6SeM0c.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-CAr7r5k3.js";
2
+ import { D as t } from "./date-picker-field-rac-0Ue6uiCM.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-DPlFlkrF.js";
2
+ import { D as t } from "./date-time-input-field-rac-ChRCMk7_.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-BqPHSq7k.js";
2
+ import { D as r } from "./dropdown-field-rac-Bj1YSgpT.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-DTqYXW-m.js";
2
+ import { E as e } from "./email-input-field-rac-CY0U6vEM.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-CODTSfX-.js";
2
+ import { N as t } from "./number-input-field-rac-W3TqQGhC.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-B2exX67y.js";
2
+ import { P as t } from "./phone-input-field-rac-BUfe-B2i.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 { bj as e, al as t } from "./form-BzzldBcB.js";
3
- import { R as p } from "./radio-group-field-rac-BT657aHX.js";
2
+ import { bj as e, al as t } from "./form-DtzwuBIo.js";
3
+ import { R as p } from "./radio-group-field-rac-BkKNVwMi.js";
4
4
  import { a } from "./default-limits-D7qVv_Hv.js";
5
5
  const R = () => {
6
6
  const o = {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { R as e } from "./rating-input-field-rac-DJzVLTkF.js";
2
+ import { R as e } from "./rating-input-field-rac-CUUUlgZi.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 { bj as e, al as o } from "./form-BzzldBcB.js";
3
- import { T as s } from "./tags-field-rac-BS7qlHyA.js";
2
+ import { bj as e, al as o } from "./form-DtzwuBIo.js";
3
+ import { T as s } from "./tags-field-rac-CpJ0O9f_.js";
4
4
  import { b as a } from "./default-limits-D7qVv_Hv.js";
5
5
  const T = () => {
6
6
  const t = {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { T as t } from "./text-area-field-rac-B2rsUGoZ.js";
2
+ import { T as t } from "./text-area-field-rac-BG6MJuIW.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-CiZ83ULN.js";
2
+ import { T as e } from "./text-input-field-rac-BhMktcEd.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-HPvjYmsV.js";
2
+ import { U as r } from "./url-input-field-rac-B_EMXVWh.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(r, null);
4
4
  export {
5
5
  n as DextUrlInputRAC
@@ -3,11 +3,11 @@ 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 { az as j, bj as T, bg as P, bt as ie, bb as x, bl as ue, N as me, Y as pe, v as de, G as Ie, u as Ce, w as Ee } from "./form-BzzldBcB.js";
6
+ import { az as j, bj as T, bg as P, bt as ie, bb as x, bl as ue, R as me, $ as pe, v as de, G as Ie, u as Ce, w as Ee } from "./form-DtzwuBIo.js";
7
7
  import { f as O, a as F } from "./find-child-C60k4CxG.js";
8
8
  import { a as z } from "./format-currency-BwShJ9vM.js";
9
- import { D as fe, E as Oe } from "./field-error-headless-CQ8PHjtA.js";
10
- import { L as be } from "./field-label-headless-BgAx-Enb.js";
9
+ import { D as fe, E as Oe } from "./field-error-headless-r0fX50xw.js";
10
+ import { L as be } from "./field-label-headless-D-kCfg8j.js";
11
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 Ne } from "./payment-field-utils-DobiK5Xh.js";
@@ -15,8 +15,8 @@ import { u as ge } from "./use-synced-display-value-DcAxdn3M.js";
15
15
  import { E as Fe } from "./error-icon-hZxQ6DEy.js";
16
16
  import { s as v } from "./field-rac.module-DfEb7pBp.js";
17
17
  import { o as De } from "./options-rac.module-_THNq6Qq.js";
18
- import { u as Se } from "./use-element-state-class-name-CEMjabjh.js";
19
- import { u as Le } from "./use-text-input-class-name-B2pSCrTD.js";
18
+ import { u as Se } from "./use-element-state-class-name-BrgdwHYP.js";
19
+ import { u as Le } from "./use-text-input-class-name-CP2VJOso.js";
20
20
  function ve(e, t) {
21
21
  return e.reduce((o, r) => (o[r[t]] = r, o), {});
22
22
  }
@@ -28,7 +28,7 @@ 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 w(e, t) {
31
+ function Y(e, t) {
32
32
  const o = Number(t || "0");
33
33
  return {
34
34
  productId: e.id,
@@ -60,7 +60,7 @@ const s = ({ children: e }) => {
60
60
  }), H = S((I) => {
61
61
  const h = I === void 0 ? void 0 : B[I];
62
62
  r(h ? [
63
- w(h, Te(h))
63
+ Y(h, Te(h))
64
64
  ] : []), M("");
65
65
  }, [
66
66
  r,
@@ -68,7 +68,7 @@ const s = ({ children: e }) => {
68
68
  M
69
69
  ]), k = S((I) => {
70
70
  a && r(typeof I == "number" ? [
71
- w(a, String(I))
71
+ Y(a, String(I))
72
72
  ] : []);
73
73
  }, [
74
74
  r,
@@ -87,13 +87,13 @@ const s = ({ children: e }) => {
87
87
  V,
88
88
  G,
89
89
  M
90
- ]), U = (b == null ? void 0 : b.productId) || null, W = S(() => {
91
- a != null && a.id && U !== a.id && H(a.id);
90
+ ]), $ = (b == null ? void 0 : b.productId) || null, W = S(() => {
91
+ a != null && a.id && $ !== a.id && H(a.id);
92
92
  }, [
93
93
  a == null ? void 0 : a.id,
94
- U,
94
+ $,
95
95
  H
96
- ]), J = O(e, s.Label), Y = O(e, s.Control), X = O(e, s.Description), Z = O(e, s.Error);
96
+ ]), J = O(e, s.Label), w = O(e, s.Control), X = O(e, s.Description), Z = O(e, s.Error);
97
97
  return /* @__PURE__ */ n.createElement(f, {
98
98
  fieldId: t,
99
99
  renderLabel: () => J,
@@ -104,9 +104,9 @@ const s = ({ children: e }) => {
104
104
  required: l,
105
105
  onBlur: i,
106
106
  onFocus: C
107
- }, Y ? F(Y, {
107
+ }, w ? F(w, {
108
108
  productsById: B,
109
- selectedValue: U,
109
+ selectedValue: $,
110
110
  onSelectProduct: H,
111
111
  addOther: E,
112
112
  customAmount: V,
@@ -137,8 +137,8 @@ const s = ({ children: e }) => {
137
137
  customAmountProductId: d,
138
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
+ }, U = ({ 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, U.Option);
142
142
  return /* @__PURE__ */ n.createElement(oe, {
143
143
  className: t,
144
144
  "data-columns": u,
@@ -250,20 +250,20 @@ const A = ({ children: e, className: t, ...o }) => {
250
250
  };
251
251
  A.Currency = Ve;
252
252
  A.Value = He;
253
- $.Option = R;
253
+ U.Option = R;
254
254
  s.Label = be;
255
255
  s.Control = Me;
256
- s.Options = $;
256
+ s.Options = U;
257
257
  s.OtherInput = A;
258
258
  s.Description = fe;
259
259
  s.Error = Oe;
260
- const Ue = "_control_n5tqu_1", $e = "_option_n5tqu_7", ke = "_optionHover_n5tqu_37", Ge = "_optionSelected_n5tqu_37", Ye = "_optionCurrency_n5tqu_87", we = "_otherInput_n5tqu_91", je = "_otherInputCurrency_n5tqu_110", N = {
261
- control: Ue,
262
- option: $e,
260
+ const $e = "_control_n5tqu_1", Ue = "_option_n5tqu_7", ke = "_optionHover_n5tqu_37", Ge = "_optionSelected_n5tqu_37", we = "_optionCurrency_n5tqu_87", Ye = "_otherInput_n5tqu_91", je = "_otherInputCurrency_n5tqu_110", N = {
261
+ control: $e,
262
+ option: Ue,
263
263
  optionHover: ke,
264
264
  optionSelected: Ge,
265
- optionCurrency: Ye,
266
- otherInput: we,
265
+ optionCurrency: we,
266
+ otherInput: Ye,
267
267
  otherInputCurrency: je
268
268
  }, ze = ({ content: e, locale: t }) => /* @__PURE__ */ n.createElement(ne, {
269
269
  content: e,
@@ -1,13 +1,13 @@
1
1
  import e, { useState as b, useCallback as g, useRef as k } from "react";
2
2
  import { UNSAFE_PortalProvider as q } from "react-aria";
3
3
  import { Select as M, SelectValue as j, ListBoxItem as H } from "react-aria-components";
4
- import { bj as E, bg as O, bl as U } from "./form-BzzldBcB.js";
4
+ import { bj as E, bg as O, bl as U } from "./form-DtzwuBIo.js";
5
5
  import { f as d, a as F } from "./find-child-C60k4CxG.js";
6
- import { D as Y, E as z } from "./field-error-headless-CQ8PHjtA.js";
7
- import { L as G } from "./field-label-headless-BgAx-Enb.js";
6
+ import { D as Y, E as z } from "./field-error-headless-r0fX50xw.js";
7
+ import { L as G } from "./field-label-headless-D-kCfg8j.js";
8
8
  import { E as J, S as K, N as Q } from "./non-modal-popover-D-u13tmp.js";
9
- import { a as W } from "./use-dropdown-trigger-class-name-Ba9Ej9xC.js";
10
- import { V as X } from "./use-dropdown-option-class-name-nZCgStzg.js";
9
+ import { a as W } from "./use-dropdown-trigger-class-name-DmDwpAVn.js";
10
+ import { V as X } from "./use-dropdown-option-class-name-CkpHwC6t.js";
11
11
  const r = ({ children: n }) => {
12
12
  const { id: l, value: a, defaultValue: o, options: u = [], readOnly: s, onChange: t, placeholder: m, disabled: i, required: v, onBlur: L, onFocus: y, FieldLayout: C, hasError: D } = E(), [I, h] = b(!1), p = W(l), [P, S] = b(null), T = a && u.some((c) => (c.value ?? c.label) === a) ? a : o || null, { labelId: B } = O(), N = g((c) => {
13
13
  s || t(typeof c == "string" ? c : null);
@@ -1,19 +1,19 @@
1
1
  import { RicosViewer as m } from "@wix/ricos/viewer";
2
2
  import a from "classnames";
3
3
  import e from "react";
4
- import { D as r } from "./dropdown-field-headless-CO82AsyC.js";
4
+ import { D as r } from "./dropdown-field-headless-C2qgeReH.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-DfEb7pBp.js";
9
- import { N as i, Y as p, O as E, G as _, u as D } from "./form-BzzldBcB.js";
10
- import { u as O } from "./use-dropdown-option-class-name-nZCgStzg.js";
11
- import { u as C } from "./use-dropdown-trigger-class-name-Ba9Ej9xC.js";
12
- const R = ({ content: t, locale: s }) => /* @__PURE__ */ e.createElement(m, {
9
+ import { R as i, $ as p, x as E, G as D, u as _ } from "./form-DtzwuBIo.js";
10
+ import { u as O } from "./use-dropdown-option-class-name-CkpHwC6t.js";
11
+ import { u as R } from "./use-dropdown-trigger-class-name-DmDwpAVn.js";
12
+ const C = ({ content: t, locale: s }) => /* @__PURE__ */ e.createElement(m, {
13
13
  content: t,
14
14
  locale: s
15
15
  }), T = () => {
16
- const t = C(o.dropdownTrigger), s = O(c);
16
+ const t = R(o.dropdownTrigger), s = O(c);
17
17
  return /* @__PURE__ */ e.createElement(r, null, /* @__PURE__ */ e.createElement(r.Label, {
18
18
  className: a(i, o.label)
19
19
  }, /* @__PURE__ */ e.createElement(r.Label.Required, {
@@ -27,10 +27,10 @@ const R = ({ content: t, locale: s }) => /* @__PURE__ */ e.createElement(m, {
27
27
  }, /* @__PURE__ */ e.createElement(r.Options.Option, {
28
28
  className: s
29
29
  })), /* @__PURE__ */ e.createElement(r.Error, {
30
- className: a(_, o.error)
30
+ className: a(D, o.error)
31
31
  }, /* @__PURE__ */ e.createElement(l, null), /* @__PURE__ */ e.createElement(r.Error.Text, null)), /* @__PURE__ */ e.createElement(r.Description, {
32
- className: a(D, o.description)
33
- }, R));
32
+ className: a(_, o.description)
33
+ }, C));
34
34
  };
35
35
  export {
36
36
  T as D
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { D as r } from "./dropdown-field-rac-BqPHSq7k.js";
2
+ import { D as r } from "./dropdown-field-rac-Bj1YSgpT.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-CKBpkEET.js";
2
+ import { M as r } from "./multiline-address-field-rac-DJXcb6NG.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 { bj as a, bt as c, al as i } from "./form-BzzldBcB.js";
3
- import { C as l } from "./checkbox-field-rac-JA4-Un3S.js";
2
+ import { bj as a, bt as c, al as i } from "./form-DtzwuBIo.js";
3
+ import { C as l } from "./checkbox-field-rac-CA6SeM0c.js";
4
4
  const p = (e) => ({
5
5
  nodes: [
6
6
  {