@wix/form-elements 1.73.0 → 1.75.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 (113) hide show
  1. package/dist/component/{appointment-rac-Bze1s2XD.js → appointment-rac-7xVKSm2N.js} +27 -27
  2. package/dist/component/{bookings-address-rac-BcrkXf63.js → bookings-address-rac-VXnUSx8U.js} +1 -1
  3. package/dist/component/{bookings-email-rac-DYq5RxOP.js → bookings-email-rac-B2_ad7Y2.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-ZJ_sQ-01.js → bookings-first-name-rac-9BAY5vLx.js} +1 -1
  5. package/dist/component/{bookings-header-rac-Cv8kl01f.js → bookings-header-rac-B6IgiMOA.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-BmnulSZ6.js → bookings-last-name-rac-DoXEDO8K.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-Bdi4xs9y.js → bookings-login-bar-rac-DprQIFyj.js} +2 -2
  8. package/dist/component/{bookings-phone-rac-C8DjSzUY.js → bookings-phone-rac-VMoXtejZ.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-DYu011oy.js → bookings-rich-text-rac-DSzD2jBy.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-BH3yEE5j.js → checkbox-field-rac-BLihwz3C.js} +327 -320
  11. package/dist/component/checkbox-group-field-headless-BItyo_iD.js +205 -0
  12. package/dist/component/checkbox-group-field-rac-Bov3yFC6.js +40 -0
  13. package/dist/component/{checkbox-group-rac-CgW0DnhX.js → checkbox-group-rac-Fit-qssk.js} +1 -1
  14. package/dist/component/{checkbox-rac-DOAYMMsi.js → checkbox-rac-CSsY83Nx.js} +1 -1
  15. package/dist/component/{contacts-address-rac-DXJa4J_k.js → contacts-address-rac-iJuzUQe4.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-CVsuRq3B.js → contacts-birthdate-rac-0g2e8cQP.js} +1 -1
  17. package/dist/component/{contacts-company-rac-b2bwHSNC.js → contacts-company-rac-BC0tK4WQ.js} +1 -1
  18. package/dist/component/{contacts-email-rac-DMPcpQ1c.js → contacts-email-rac-dkuclkiH.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-CL2BsHuJ.js → contacts-first-name-rac-BSUkCuht.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-hdBsWaqb.js → contacts-last-name-rac-08bjVdN2.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-DQF6aV9B.js → contacts-phone-rac-DVb0Z_0M.js} +1 -1
  22. package/dist/component/{contacts-position-rac-CVX-WCfx.js → contacts-position-rac-AGUDkv7U.js} +1 -1
  23. package/dist/component/contacts-subscribe-rac-6jAQHibT.js +13 -0
  24. package/dist/component/{contacts-tax-id-rac-0KTXvF81.js → contacts-tax-id-rac-C7moEz5b.js} +1 -1
  25. package/dist/component/{date-availability-DBljhBgO.js → date-availability-DagbE0C8.js} +1 -1
  26. package/dist/component/{date-input-field-rac-CfflD2Ar.js → date-input-field-rac-BWHKsJGy.js} +30 -30
  27. package/dist/component/{date-input-rac-fQclCKoa.js → date-input-rac-BlZlmf-s.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-BSmFOaH-.js → date-picker-field-rac-BSNbYirD.js} +36 -36
  29. package/dist/component/{date-picker-rac-D7I3ramu.js → date-picker-rac-D3IWMst5.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-vjZDQ_Fp.js → date-time-input-field-rac-YKTwuIUs.js} +25 -25
  31. package/dist/component/{date-time-input-rac-CDbS0VZR.js → date-time-input-rac-CZRsKm1P.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-BBiPt6_a.js → dext-checkbox-group-rac-BE7ILz-f.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-Cqp--0SO.js → dext-checkbox-rac-B6-94A1N.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-5Wft0w9m.js → dext-date-picker-rac-Bx2hUFNm.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-Bbs7bgtn.js → dext-date-time-input-rac-DPKD6quz.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-CSvhtqbc.js → dext-dropdown-rac-WrSfNRa5.js} +1 -1
  37. package/dist/component/{dext-email-rac-BoLeXqyI.js → dext-email-rac-8PSMKNYG.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-DzaJYTSz.js → dext-number-input-rac-b9YSzEkN.js} +1 -1
  39. package/dist/component/{dext-phone-rac-BagPg_CT.js → dext-phone-rac-CkapN3c1.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-B5HSQt7a.js → dext-radio-group-rac-CfNMkwUa.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-DrtaAf-E.js → dext-rating-input-rac-Cun_t7HQ.js} +1 -1
  42. package/dist/component/{dext-tags-rac-Cg4jJ4jr.js → dext-tags-rac-DLZ91c3w.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-C_t-W7lk.js → dext-text-area-rac-N9A7QfYw.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-ChvV21Jf.js → dext-text-input-rac-XbVzAPHH.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-DclbSYTr.js → dext-url-input-rac-BiaWZ49r.js} +1 -1
  46. package/dist/component/{donation-rac-FYQIMm5m.js → donation-rac-BEIBjLHK.js} +46 -47
  47. package/dist/component/{dropdown-field-headless-CTZ-zGqZ.js → dropdown-field-headless-CQfZ3zPD.js} +3 -3
  48. package/dist/component/{dropdown-field-rac-C1KVtxwv.js → dropdown-field-rac-ubZN_Abg.js} +7 -7
  49. package/dist/component/{dropdown-rac-CkkDEDje.js → dropdown-rac-CHYFrEjY.js} +1 -1
  50. package/dist/component/{ecom-address-rac-BOuugSxX.js → ecom-address-rac-C7qJlrsv.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-IZeMlljb.js → ecom-subscription-checkbox-rac-CONIZsTy.js} +6 -6
  52. package/dist/component/{email-input-field-rac-CNzmm1j7.js → email-input-field-rac-Dg0p6WZe.js} +63 -63
  53. package/dist/component/events-repeater-rac-BoxNl7gn.js +254 -0
  54. package/dist/component/{events-rsvp-rac-BmjboAco.js → events-rsvp-rac-BU5d2n4k.js} +3 -3
  55. package/dist/component/{field-error-headless-DQZ5XAdn.js → field-error-headless-uQOcm2Ak.js} +1 -1
  56. package/dist/component/{field-label-headless-DoxfHHaj.js → field-label-headless-Bzh7f2Ji.js} +1 -1
  57. package/dist/component/field-rac.module-DjmaTYkc.js +23 -0
  58. package/dist/component/{file-upload-rac-YEQ7uXhm.js → file-upload-rac-BTt-rJE5.js} +74 -74
  59. package/dist/component/{fixed-payment-rac-DDufIQBT.js → fixed-payment-rac-1NOx3D-U.js} +17 -17
  60. package/dist/component/{form-C6WwBcGP.js → form-DCmjj8mZ.js} +69 -69
  61. package/dist/component/form-element-classes-Dn33C01k.js +111 -0
  62. package/dist/component/form.css +1 -1
  63. package/dist/component/form.js +1 -1
  64. package/dist/component/{header-field-rac-DGfjrjQC.js → header-field-rac-lyvjy6h2.js} +3 -3
  65. package/dist/component/{header-rac-C_JE2cTg.js → header-rac-B4iPEbNj.js} +1 -1
  66. package/dist/component/{image-choice-rac-LDLPQwrN.js → image-choice-rac-CmEG-waj.js} +29 -30
  67. package/dist/component/{index-C2srcuHD.js → index-D-CKLZBh.js} +4 -4
  68. package/dist/component/{index-CIOoaQ8Z.js → index-UZsDOe8e.js} +2 -2
  69. package/dist/component/{isObjectLike-E5QfEa1u.js → isObjectLike-BSGOU4jF.js} +1 -1
  70. package/dist/component/{multiline-address-field-rac-Biyj2tIN.js → multiline-address-field-rac-Dz0NEjSO.js} +125 -125
  71. package/dist/component/{multiline-address-rac-BCqCvG7a.js → multiline-address-rac-D_MAanxb.js} +1 -1
  72. package/dist/component/{number-input-field-rac-CwUoIbM8.js → number-input-field-rac-CvjeAm-W.js} +13 -13
  73. package/dist/component/{number-input-rac-CdYdTDem.js → number-input-rac-oKo2Wx_c.js} +1 -1
  74. package/dist/component/{password-rac-D62npVHY.js → password-rac-CrnkKtfp.js} +21 -21
  75. package/dist/component/{payment-input-rac-D4u-3vcW.js → payment-input-rac-BoVdGyvV.js} +18 -18
  76. package/dist/component/{phone-input-field-rac-uHxR3ozd.js → phone-input-field-rac-DksXoAnr.js} +54 -54
  77. package/dist/component/{phone-rac-Bf99_BGi.js → phone-rac-BR0iX5TL.js} +1 -1
  78. package/dist/component/product-list-rac-C4rvv5k-.js +270 -0
  79. package/dist/component/{quiz-radio-group-rac-CPGS0LEb.js → quiz-radio-group-rac-BxKmUUf8.js} +2 -2
  80. package/dist/component/{radio-group-field-rac-BWpTNAbO.js → radio-group-field-rac-Dj4rkkKF.js} +3 -3
  81. package/dist/component/{radio-group-field-rac.module-WxU5zxvM.js → radio-group-field-rac.module-CeBLm9QF.js} +3 -3
  82. package/dist/component/{radio-group-rac-dA4WZ1Vj.js → radio-group-rac-BpnfptSZ.js} +1 -1
  83. package/dist/component/{rating-input-field-rac-CJnFsBvH.js → rating-input-field-rac-BP0928qI.js} +30 -31
  84. package/dist/component/{rating-input-rac-DXVYozFV.js → rating-input-rac-DaEgvjIS.js} +1 -1
  85. package/dist/component/{rich-content-rac.module-DkKwzJS7.js → rich-content-rac.module-zvvH-tWq.js} +1 -1
  86. package/dist/component/{rich-text-field-rac-8FWCRrpb.js → rich-text-field-rac-CFCRiMl_.js} +3 -3
  87. package/dist/component/{rich-text-rac-OeM_mPRy.js → rich-text-rac-BRuLnyN4.js} +1 -1
  88. package/dist/component/{service-dropdown-rac-mvUMpcS_.js → service-dropdown-rac-C82l5y0C.js} +21 -21
  89. package/dist/component/services-multi-choice-rac-BAHBSgAT.js +83 -0
  90. package/dist/component/{signature-rac-D44U9Uyp.js → signature-rac-CIkm3SCW.js} +56 -56
  91. package/dist/component/{submit-button-rac-BqtcgVAn.js → submit-button-rac-Bz-X9Tbo.js} +2 -2
  92. package/dist/component/{tags-field-rac-CemsTKWz.js → tags-field-rac-Dn8VyPzT.js} +29 -30
  93. package/dist/component/{tags-rac-fVjCf6qo.js → tags-rac-BJpVdunR.js} +1 -1
  94. package/dist/component/{text-area-field-rac-BPciZlZb.js → text-area-field-rac-Pp9HnCS5.js} +18 -18
  95. package/dist/component/{text-area-rac-CRTORdZM.js → text-area-rac-DbwAFdel.js} +1 -1
  96. package/dist/component/{text-input-field-rac-CvFoWlRN.js → text-input-field-rac-x4ByKmBv.js} +6 -6
  97. package/dist/component/{text-input-headless-BQ3TWU9G.js → text-input-headless-fbiKci5q.js} +3 -3
  98. package/dist/component/{text-input-rac-DSFkEmob.js → text-input-rac-jyCKxyCt.js} +1 -1
  99. package/dist/component/{time-input-rac-CGgs7ncp.js → time-input-rac-C5Cvmxtt.js} +17 -17
  100. package/dist/component/{url-input-field-rac-CqvgTc-F.js → url-input-field-rac-CGpCEn2A.js} +20 -20
  101. package/dist/component/{url-input-rac-C45KOwnr.js → url-input-rac-DhFL8fGq.js} +1 -1
  102. package/dist/component/use-element-state-class-name-Bnw7sY9P.js +29 -0
  103. package/dist/component/{use-service-options-base-D4Zl-iGW.js → use-service-options-base-CgT1IKB3.js} +1 -1
  104. package/package.json +3 -3
  105. package/dist/component/checkbox-group-field-headless-D_GG5LHM.js +0 -210
  106. package/dist/component/checkbox-group-field-rac-Cj7Erubs.js +0 -41
  107. package/dist/component/contacts-subscribe-rac-Dl1ot9qw.js +0 -13
  108. package/dist/component/events-repeater-rac-CMV0Lmwz.js +0 -247
  109. package/dist/component/field-rac.module-Cac83bU5.js +0 -21
  110. package/dist/component/form-element-classes-DDKCTFQj.js +0 -65
  111. package/dist/component/form-element-keys-D0sEdpFo.js +0 -8
  112. package/dist/component/product-list-rac-iRf6Ra7i.js +0 -263
  113. package/dist/component/services-multi-choice-rac-DrgUrn_N.js +0 -76
@@ -1,20 +1,20 @@
1
1
  import { RicosViewer as G } from "@wix/ricos/viewer";
2
- import y from "classnames";
3
- import e, { useState as z, useCallback as F, useContext as Q, useRef as L, useMemo as _ } from "react";
4
- import { D, ai as v, af as A, ab as S, ak as Z } from "./form-C6WwBcGP.js";
2
+ import C from "classnames";
3
+ import e, { useState as Q, useCallback as F, useContext as Z, useRef as L, useMemo as _ } from "react";
4
+ import { D, ai as v, af as A, ab as S, ak as z } from "./form-DCmjj8mZ.js";
5
5
  import { parseDate as J } from "@internationalized/date";
6
6
  import { UNSAFE_PortalProvider as X } from "react-aria";
7
7
  import { I18nProvider as ee, DatePicker as te, DatePickerStateContext as re, Group as ae, DateInput as ne, DateSegment as oe, Dialog as le, Calendar as se, CalendarMonthPicker as ce, CalendarYearPicker as ie, CalendarGrid as me, CalendarCell as ue, Button as R, Select as O, SelectValue as x, ListBox as k, ListBoxItem as M } from "react-aria-components";
8
8
  import { g as de } from "./get-first-day-of-the-week-DvnsxYhQ.js";
9
9
  import { f as E, a as b } from "./find-child-C60k4CxG.js";
10
- import { D as ge, E as Ee } from "./field-error-headless-DQZ5XAdn.js";
11
- import { L as pe } from "./field-label-headless-DoxfHHaj.js";
10
+ import { D as ge, E as Ee } from "./field-error-headless-uQOcm2Ak.js";
11
+ import { L as pe } from "./field-label-headless-Bzh7f2Ji.js";
12
12
  import { D as De, N as I, S as w } from "./non-modal-popover-DtIMXHbe.js";
13
- import { i as fe } from "./date-availability-DBljhBgO.js";
13
+ import { i as fe } from "./date-availability-DagbE0C8.js";
14
14
  import { C as N } from "./chevron-down-icon-CcpVm6B-.js";
15
- import { E as Ce } from "./error-icon-hZxQ6DEy.js";
16
- import { s as p } from "./field-rac.module-Cac83bU5.js";
17
- import { z as ye, R as he, y as ve, C as Se, q as Te, j as be } from "./form-element-classes-DDKCTFQj.js";
15
+ import { E as ye } from "./error-icon-hZxQ6DEy.js";
16
+ import { s as p } from "./field-rac.module-DjmaTYkc.js";
17
+ import { y as Ce, Q as he, x as ve, B as Se, p as Te, i as be } from "./form-element-classes-Dn33C01k.js";
18
18
  const _e = [
19
19
  D.SUNDAY,
20
20
  D.MONDAY,
@@ -26,15 +26,15 @@ const _e = [
26
26
  ], Ne = {
27
27
  availableDays: _e
28
28
  }, a = ({ children: t }) => {
29
- const { id: r, value: n, onChange: l, disabled: i, required: c, onBlur: d, onFocus: o, FieldLayout: m, hasError: u, readOnly: f } = v(), { labelId: C } = A(), { regionalFormat: s } = S(), [T, Y] = z(null), B = F((j) => {
30
- const H = Me(j);
31
- l(H);
29
+ const { id: r, value: n, onChange: l, disabled: i, required: c, onBlur: d, onFocus: o, FieldLayout: m, hasError: u, readOnly: f } = v(), { labelId: y } = A(), { regionalFormat: s } = S(), [T, Y] = Q(null), B = F((H) => {
30
+ const j = Me(H);
31
+ l(j);
32
32
  }, [
33
33
  l
34
- ]), q = E(t, a.Label), V = E(t, a.Control), U = E(t, a.Calendar), W = E(t, a.Description), K = E(t, a.Error), $ = ke(n);
34
+ ]), V = E(t, a.Label), q = E(t, a.Control), U = E(t, a.Calendar), W = E(t, a.Description), K = E(t, a.Error), $ = ke(n);
35
35
  return /* @__PURE__ */ e.createElement(m, {
36
36
  fieldId: r,
37
- renderLabel: () => q,
37
+ renderLabel: () => V,
38
38
  renderInput: () => /* @__PURE__ */ e.createElement(ee, {
39
39
  locale: s
40
40
  }, /* @__PURE__ */ e.createElement("div", {
@@ -45,7 +45,7 @@ const _e = [
45
45
  }), /* @__PURE__ */ e.createElement(X, {
46
46
  getContainer: () => T
47
47
  }, /* @__PURE__ */ e.createElement(te, {
48
- "aria-labelledby": C,
48
+ "aria-labelledby": y,
49
49
  value: $,
50
50
  onChange: B,
51
51
  isDisabled: i,
@@ -54,18 +54,18 @@ const _e = [
54
54
  isRequired: c,
55
55
  onBlur: d,
56
56
  onFocus: o
57
- }, V, U))),
57
+ }, q, U))),
58
58
  renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, K, W)
59
59
  });
60
60
  }, Ie = ({ children: t, className: r }) => {
61
- const { inputId: n, ariaDescribedBy: l } = A(), { hasError: i, disabled: c, readOnly: d } = v(), o = Q(re), m = F((u) => {
61
+ const { inputId: n, ariaDescribedBy: l } = A(), { hasError: i, disabled: c, readOnly: d } = v(), o = Z(re), m = F((u) => {
62
62
  if (!o || o.isOpen || c || d)
63
63
  return;
64
64
  const f = u.target;
65
65
  if (f.closest("button"))
66
66
  return;
67
- const C = f.closest("[data-type]");
68
- C && C.getAttribute("data-type") !== "literal" || o.setOpen(!0);
67
+ const y = f.closest("[data-type]");
68
+ y && y.getAttribute("data-type") !== "literal" || o.setOpen(!0);
69
69
  }, [
70
70
  o,
71
71
  c,
@@ -80,7 +80,7 @@ const _e = [
80
80
  }, t);
81
81
  }, Le = ({ className: t }) => {
82
82
  const { id: r, placeholder: n } = v(), { regionalFormat: l } = S(), i = L(null), c = L(!1);
83
- Z(() => {
83
+ z(() => {
84
84
  var o;
85
85
  (o = i.current) == null || o.focus();
86
86
  }, r);
@@ -116,7 +116,7 @@ const _e = [
116
116
  return !fe(T, i || Ne);
117
117
  }, [
118
118
  i
119
- ]), o = E(t, g.Day) ?? /* @__PURE__ */ e.createElement(g.Day, null), m = E(t, g.PreviousTrigger), u = E(t, g.NextTrigger), f = E(t, g.MonthTrigger), C = E(t, g.YearTrigger);
119
+ ]), o = E(t, g.Day) ?? /* @__PURE__ */ e.createElement(g.Day, null), m = E(t, g.PreviousTrigger), u = E(t, g.NextTrigger), f = E(t, g.MonthTrigger), y = E(t, g.YearTrigger);
120
120
  return /* @__PURE__ */ e.createElement(I, {
121
121
  className: r,
122
122
  containerPadding: 0
@@ -131,7 +131,7 @@ const _e = [
131
131
  popoverClassName: r
132
132
  })), /* @__PURE__ */ e.createElement(ie, {
133
133
  visibleYears: 100
134
- }, (s) => b(C, {
134
+ }, (s) => b(y, {
135
135
  ariaLabel: s["aria-label"],
136
136
  selectedKey: s.value,
137
137
  onSelectionChange: s.onChange,
@@ -250,37 +250,37 @@ const Be = (t) => /* @__PURE__ */ e.createElement("svg", {
250
250
  strokeWidth: "1.5",
251
251
  strokeLinecap: "round",
252
252
  strokeLinejoin: "round"
253
- })), qe = "_control_1xqv5_1", Ve = "_segments_1xqv5_14", Ue = "_trigger_1xqv5_65", We = "_calendarPopover_1xqv5_96", Ke = "_calendarDay_1xqv5_219", $e = "_mobile_1xqv5_262", h = {
254
- control: qe,
255
- segments: Ve,
253
+ })), Ve = "_control_1xqv5_1", qe = "_segments_1xqv5_14", Ue = "_trigger_1xqv5_65", We = "_calendarPopover_1xqv5_96", Ke = "_calendarDay_1xqv5_219", $e = "_mobile_1xqv5_262", h = {
254
+ control: Ve,
255
+ segments: qe,
256
256
  trigger: Ue,
257
257
  calendarPopover: We,
258
258
  calendarDay: Ke,
259
259
  mobile: $e
260
- }, je = ({ content: t, locale: r }) => /* @__PURE__ */ e.createElement(G, {
260
+ }, He = ({ content: t, locale: r }) => /* @__PURE__ */ e.createElement(G, {
261
261
  content: t,
262
262
  locale: r
263
- }), He = {
263
+ }), je = {
264
264
  left: 90,
265
265
  right: -90
266
266
  }, P = ({ direction: t }) => /* @__PURE__ */ e.createElement(N, {
267
267
  style: {
268
- transform: `rotate(${He[t]}deg)`
268
+ transform: `rotate(${je[t]}deg)`
269
269
  }
270
270
  }), ut = () => {
271
271
  const { isMobile: t } = S();
272
272
  return /* @__PURE__ */ e.createElement(a, null, /* @__PURE__ */ e.createElement(a.Label, {
273
- className: y(ye, p.label)
273
+ className: C(Ce, p.label)
274
274
  }, /* @__PURE__ */ e.createElement(a.Label.Required, {
275
- className: y(he, p.requiredMark)
275
+ className: C(he, p.requiredMark)
276
276
  })), /* @__PURE__ */ e.createElement(a.Control, {
277
- className: y(ve, p.input, h.control)
277
+ className: C(ve, p.input, h.control)
278
278
  }, /* @__PURE__ */ e.createElement(a.Trigger, {
279
279
  className: h.trigger
280
280
  }, /* @__PURE__ */ e.createElement(Be, null)), /* @__PURE__ */ e.createElement(a.Input, {
281
281
  className: h.segments
282
282
  })), /* @__PURE__ */ e.createElement(a.Calendar, {
283
- className: y(Se, p.selectPopover, h.calendarPopover, {
283
+ className: C(Se, p.selectPopover, h.calendarPopover, {
284
284
  [h.mobile]: t
285
285
  })
286
286
  }, /* @__PURE__ */ e.createElement(a.Calendar.PreviousTrigger, null, /* @__PURE__ */ e.createElement(P, {
@@ -294,10 +294,10 @@ const Be = (t) => /* @__PURE__ */ e.createElement("svg", {
294
294
  })), /* @__PURE__ */ e.createElement(a.Calendar.Day, {
295
295
  className: h.calendarDay
296
296
  })), /* @__PURE__ */ e.createElement(a.Error, {
297
- className: y(Te, p.error)
298
- }, /* @__PURE__ */ e.createElement(Ce, null), /* @__PURE__ */ e.createElement(a.Error.Text, null)), /* @__PURE__ */ e.createElement(a.Description, {
299
- className: y(be, p.description)
300
- }, je));
297
+ className: C(Te, p.error)
298
+ }, /* @__PURE__ */ e.createElement(ye, null), /* @__PURE__ */ e.createElement(a.Error.Text, null)), /* @__PURE__ */ e.createElement(a.Description, {
299
+ className: C(be, p.description)
300
+ }, He));
301
301
  };
302
302
  export {
303
303
  ut as D
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as r } from "./date-picker-field-rac-BSmFOaH-.js";
2
+ import { D as r } from "./date-picker-field-rac-BSNbYirD.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as DatePickerRAC
@@ -1,23 +1,23 @@
1
1
  import { RicosViewer as ne } from "@wix/ricos/viewer";
2
2
  import p from "classnames";
3
3
  import t, { useMemo as T, useState as G, useCallback as w, useRef as z, useContext as re } from "react";
4
- import { ai as g, af as K, ab as B, J as Q, a1 as W, r as d, as as O, a5 as j, O as oe, x as le, a8 as se, y as J, ak as q } from "./form-C6WwBcGP.js";
4
+ import { ai as g, af as J, ab as B, J as K, a1 as W, r as d, as as O, a5 as Q, O as oe, x as le, a8 as se, y as j, ak as $ } from "./form-DCmjj8mZ.js";
5
5
  import { parseTime as ie } from "@internationalized/date";
6
6
  import { UNSAFE_PortalProvider as ce } from "react-aria";
7
7
  import { ListBoxItem as me, ListBox as de, Select as ue, TextField as X, TimeField as pe, SelectValue as Ee, Input as Z, DateInput as he, DateSegment as U, TimeFieldStateContext as fe } from "react-aria-components";
8
8
  import { f as u, a as R } from "./find-child-C60k4CxG.js";
9
9
  import { g as be } from "./helpers-HmkkXrh2.js";
10
- import { D as ge, E as Ie } from "./field-error-headless-DQZ5XAdn.js";
11
- import { L as _e } from "./field-label-headless-DoxfHHaj.js";
10
+ import { D as ge, E as Ie } from "./field-error-headless-uQOcm2Ak.js";
11
+ import { L as _e } from "./field-label-headless-Bzh7f2Ji.js";
12
12
  import { F as ye } from "./fieldset-headless-CD3fds9J.js";
13
13
  import { N as De, S as Ne } from "./non-modal-popover-DtIMXHbe.js";
14
14
  import { C as Le } from "./chevron-down-icon-CcpVm6B-.js";
15
15
  import { E as Te } from "./error-icon-hZxQ6DEy.js";
16
16
  import { H as Y } from "./custom-focus-class-_483Pkwp.js";
17
- import { s as E } from "./field-rac.module-Cac83bU5.js";
18
- import { z as S, R as Oe, y as H, C as Fe, q as Pe, j as Ce } from "./form-element-classes-DDKCTFQj.js";
17
+ import { s as E } from "./field-rac.module-DjmaTYkc.js";
18
+ import { y as S, Q as Oe, x as H, B as Fe, p as Pe, i as Ce } from "./form-element-classes-Dn33C01k.js";
19
19
  const l = ({ children: e, className: a }) => {
20
- const { id: n, required: o, onBlur: s, onFocus: r, FieldLayout: i } = g(), { inputId: m, labelId: c, ariaDescribedBy: f } = K(), { regionalFormat: b } = B(), y = T(() => Q(b).filter(W).map((M) => M.toUpperCase()), [
20
+ const { id: n, required: o, onBlur: s, onFocus: r, FieldLayout: i } = g(), { inputId: m, labelId: c, ariaDescribedBy: f } = J(), { regionalFormat: b } = B(), y = T(() => K(b).filter(W).map((M) => M.toUpperCase()), [
21
21
  b
22
22
  ]), C = u(e, l.Label), v = u(e, l.Description), L = u(e, l.Error), _ = {
23
23
  [d.MONTH]: u(e, l.Month),
@@ -71,12 +71,12 @@ const l = ({ children: e, className: a }) => {
71
71
  isOpen: y,
72
72
  onOpenChange: M
73
73
  }, te, ae)));
74
- }, Me = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
74
+ }, Me = ({ className: e }) => /* @__PURE__ */ t.createElement(q, {
75
75
  datePart: d.MONTH,
76
76
  className: e
77
77
  }), Se = ({ children: e, className: a }) => {
78
78
  const { id: n, readOnly: o } = g(), { inputId: s } = N(d.MONTH), { partError: r, isFirstPart: i } = P(d.MONTH), m = z(null);
79
- return q(() => {
79
+ return $(() => {
80
80
  var c;
81
81
  i && ((c = m.current) == null || c.focus());
82
82
  }, n), /* @__PURE__ */ t.createElement(Ne, {
@@ -125,12 +125,12 @@ const A = ({ children: e, className: a }) => {
125
125
  isReadOnly: o,
126
126
  isInvalid: m
127
127
  }, b));
128
- }, Ae = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
128
+ }, Ae = ({ className: e }) => /* @__PURE__ */ t.createElement(q, {
129
129
  datePart: d.DAY,
130
130
  className: e
131
131
  }), ke = ({ className: e }) => {
132
132
  const { id: a, hidePlaceholder: n } = g(), { inputId: o } = N(d.DAY), { isFirstPart: s } = P(d.DAY), { t: r } = O(), i = z(null), m = n ? void 0 : r("field.date.placeholder.day");
133
- return q(() => {
133
+ return $(() => {
134
134
  var c;
135
135
  s && ((c = i.current) == null || c.focus());
136
136
  }, a), /* @__PURE__ */ t.createElement(Z, {
@@ -158,12 +158,12 @@ const k = ({ children: e, className: a }) => {
158
158
  isReadOnly: o,
159
159
  isInvalid: m
160
160
  }, b));
161
- }, ve = ({ className: e }) => /* @__PURE__ */ t.createElement($, {
161
+ }, ve = ({ className: e }) => /* @__PURE__ */ t.createElement(q, {
162
162
  datePart: d.YEAR,
163
163
  className: e
164
164
  }), Ve = ({ className: e }) => {
165
165
  const { id: a, hidePlaceholder: n } = g(), { inputId: o } = N(d.YEAR), { isFirstPart: s } = P(d.YEAR), { t: r } = O(), i = z(null), m = n ? void 0 : r("field.date.placeholder.year");
166
- return q(() => {
166
+ return $(() => {
167
167
  var c;
168
168
  s && ((c = i.current) == null || c.focus());
169
169
  }, a), /* @__PURE__ */ t.createElement(Z, {
@@ -268,7 +268,7 @@ l.Time = I;
268
268
  l.Description = ge;
269
269
  l.Error = Ie;
270
270
  function N(e) {
271
- const { inputId: a } = K();
271
+ const { inputId: a } = J();
272
272
  return T(() => {
273
273
  const n = e.toLowerCase();
274
274
  return {
@@ -281,7 +281,7 @@ function N(e) {
281
281
  ]);
282
282
  }
283
283
  function P(e) {
284
- const { value: a, onChange: n, hasError: o = !1 } = g(), { regionalFormat: s } = B(), [r, i] = T(() => j(a ?? ""), [
284
+ const { value: a, onChange: n, hasError: o = !1 } = g(), { regionalFormat: s } = B(), [r, i] = T(() => Q(a ?? ""), [
285
285
  a
286
286
  ]), m = T(() => oe(o, a ?? ""), [
287
287
  a,
@@ -291,20 +291,20 @@ function P(e) {
291
291
  ]), f = T(() => Ue(i), [
292
292
  i
293
293
  ]), b = w((L) => {
294
- const _ = ze(L), D = J(r, _);
294
+ const _ = ze(L), D = j(r, _);
295
295
  n(D);
296
296
  }, [
297
297
  n,
298
298
  r
299
299
  ]), y = w((L) => {
300
- const [, _] = j(a ?? ""), D = se(L, e, c), M = J(D, _);
300
+ const [, _] = Q(a ?? ""), D = se(L, e, c), M = j(D, _);
301
301
  n(M);
302
302
  }, [
303
303
  n,
304
304
  a,
305
305
  c,
306
306
  e
307
- ]), C = T(() => e === "time" ? !1 : Q(s).filter(W).map((D) => D.toUpperCase())[0] === e, [
307
+ ]), C = T(() => e === "time" ? !1 : K(s).filter(W).map((D) => D.toUpperCase())[0] === e, [
308
308
  s,
309
309
  e
310
310
  ]);
@@ -320,7 +320,7 @@ function P(e) {
320
320
  isFirstPart: C
321
321
  };
322
322
  }
323
- function $({ datePart: e, className: a }) {
323
+ function q({ datePart: e, className: a }) {
324
324
  const { inputId: n, labelId: o } = N(e), { t: s } = O(), r = `field.date.label.${e.toLowerCase()}`, i = s(r);
325
325
  return /* @__PURE__ */ t.createElement("label", {
326
326
  id: o,
@@ -347,14 +347,14 @@ function ze(e) {
347
347
  o
348
348
  ].join(":");
349
349
  }
350
- const qe = "_fields_1khoa_1", $e = "_month_1khoa_10", Ge = "_day_1khoa_11", je = "_year_1khoa_12", Je = "_timeGroup_1khoa_13", Ke = "_mobile_1khoa_32", Qe = "_dayInput_1khoa_45", We = "_yearInput_1khoa_46", Xe = "_monthTrigger_1khoa_50", Ze = "_monthOption_1khoa_70", et = "_time_1khoa_13", tt = "_hour_1khoa_89", at = "_minute_1khoa_90", nt = "_period_1khoa_91", h = {
351
- fields: qe,
352
- month: $e,
350
+ const $e = "_fields_1khoa_1", qe = "_month_1khoa_10", Ge = "_day_1khoa_11", Qe = "_year_1khoa_12", je = "_timeGroup_1khoa_13", Je = "_mobile_1khoa_32", Ke = "_dayInput_1khoa_45", We = "_yearInput_1khoa_46", Xe = "_monthTrigger_1khoa_50", Ze = "_monthOption_1khoa_70", et = "_time_1khoa_13", tt = "_hour_1khoa_89", at = "_minute_1khoa_90", nt = "_period_1khoa_91", h = {
351
+ fields: $e,
352
+ month: qe,
353
353
  day: Ge,
354
- year: je,
355
- timeGroup: Je,
356
- mobile: Ke,
357
- dayInput: Qe,
354
+ year: Qe,
355
+ timeGroup: je,
356
+ mobile: Je,
357
+ dayInput: Ke,
358
358
  yearInput: We,
359
359
  monthTrigger: Xe,
360
360
  monthOption: Ze,
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-time-input-field-rac-vjZDQ_Fp.js";
2
+ import { D as t } from "./date-time-input-field-rac-YKTwuIUs.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 { ai as e, h as t } from "./form-C6WwBcGP.js";
3
- import { C as p } from "./checkbox-group-field-rac-Cj7Erubs.js";
2
+ import { ai as e, h as t } from "./form-DCmjj8mZ.js";
3
+ import { C as p } from "./checkbox-group-field-rac-Bov3yFC6.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-BH3yEE5j.js";
2
+ import { C as t } from "./checkbox-field-rac-BLihwz3C.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-BSmFOaH-.js";
2
+ import { D as t } from "./date-picker-field-rac-BSNbYirD.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-vjZDQ_Fp.js";
2
+ import { D as t } from "./date-time-input-field-rac-YKTwuIUs.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-C1KVtxwv.js";
2
+ import { D as r } from "./dropdown-field-rac-ubZN_Abg.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-CNzmm1j7.js";
2
+ import { E as e } from "./email-input-field-rac-Dg0p6WZe.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-CwUoIbM8.js";
2
+ import { N as t } from "./number-input-field-rac-CvjeAm-W.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-uHxR3ozd.js";
2
+ import { P as t } from "./phone-input-field-rac-DksXoAnr.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 { ai as e, h as t } from "./form-C6WwBcGP.js";
3
- import { R as p } from "./radio-group-field-rac-BWpTNAbO.js";
2
+ import { ai as e, h as t } from "./form-DCmjj8mZ.js";
3
+ import { R as p } from "./radio-group-field-rac-Dj4rkkKF.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-CJnFsBvH.js";
2
+ import { R as e } from "./rating-input-field-rac-BP0928qI.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 { ai as e, h as o } from "./form-C6WwBcGP.js";
3
- import { T as s } from "./tags-field-rac-CemsTKWz.js";
2
+ import { ai as e, h as o } from "./form-DCmjj8mZ.js";
3
+ import { T as s } from "./tags-field-rac-Dn8VyPzT.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-BPciZlZb.js";
2
+ import { T as t } from "./text-area-field-rac-Pp9HnCS5.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-CvFoWlRN.js";
2
+ import { T as e } from "./text-input-field-rac-x4ByKmBv.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-CqvgTc-F.js";
2
+ import { U as r } from "./url-input-field-rac-CGpCEn2A.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(r, null);
4
4
  export {
5
5
  n as DextUrlInputRAC