@wix/form-elements 1.217.0 → 1.219.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-BwV-BiuM.js → appointment-rac-BHOy_R7-.js} +4 -4
  2. package/dist/component/{bookings-address-rac-60s8mINA.js → bookings-address-rac-BCrQv66p.js} +1 -1
  3. package/dist/component/{bookings-email-rac-CD180ofz.js → bookings-email-rac-DmRfdxfb.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-DPj9TLDZ.js → bookings-first-name-rac-BXO3f2gd.js} +1 -1
  5. package/dist/component/{bookings-header-rac-DWAqHAC3.js → bookings-header-rac-CO6AOevd.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-C-0GchtO.js → bookings-last-name-rac-BJBEASFi.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DpVUsgYV.js → bookings-login-bar-rac-BIAIfq4E.js} +5 -5
  8. package/dist/component/{bookings-phone-rac-DSw3Wpi6.js → bookings-phone-rac-Ccj4N7sU.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-BcfuuhqF.js → bookings-rich-text-rac-B3HZ904h.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-CxN4DXcm.js → checkbox-field-rac-CMLQboNZ.js} +43 -43
  11. package/dist/component/{checkbox-group-field-headless-Cxytn3cY.js → checkbox-group-field-headless-BoPu_anP.js} +41 -41
  12. package/dist/component/{checkbox-group-field-rac-COySLANT.js → checkbox-group-field-rac-DDkB4mAS.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-C36q50g-.js → checkbox-group-rac-CYRjp2pd.js} +1 -1
  14. package/dist/component/{checkbox-rac-CPRna7wo.js → checkbox-rac-CZtOcpN3.js} +1 -1
  15. package/dist/component/{contacts-address-rac-C9WfyF_C.js → contacts-address-rac-CTcU_s2X.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DI_n6KW2.js → contacts-birthdate-rac-CfoYd88-.js} +1 -1
  17. package/dist/component/{contacts-company-rac-C2L3jLDV.js → contacts-company-rac-BFa1_U3K.js} +1 -1
  18. package/dist/component/{contacts-email-rac-BXxC1EQz.js → contacts-email-rac-DnAo-YRv.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-DDNYc6DW.js → contacts-first-name-rac-CXaZzVt1.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-C8kg5uC1.js → contacts-last-name-rac-DfpXadTk.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-GBwlIMQi.js → contacts-phone-rac-CCwC37Ud.js} +1 -1
  22. package/dist/component/{contacts-position-rac-sI-eyBLH.js → contacts-position-rac-CvMNYTKL.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-DI3nlzX4.js → contacts-subscribe-rac-vL2jR6hR.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-CRq4rhb6.js → contacts-tax-id-rac-CrFhrlkk.js} +1 -1
  25. package/dist/component/{date-availability-17HTB6Bn.js → date-availability-5zvsa_GI.js} +1 -1
  26. package/dist/component/{date-input-field-rac-BLO1qQSi.js → date-input-field-rac-BQuCwFBz.js} +43 -43
  27. package/dist/component/{date-input-rac-Zryc6o9F.js → date-input-rac-DKzwySbG.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-COGESH_j.js → date-picker-field-rac-D-B3bNeU.js} +35 -35
  29. package/dist/component/{date-picker-rac-BR5X3Gg4.js → date-picker-rac-DjYsBhgo.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-CKbGhDKq.js → date-time-input-field-rac-BECpkgB2.js} +30 -30
  31. package/dist/component/{date-time-input-rac-DnP-sVbv.js → date-time-input-rac-FbqGdzfB.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-O9bQHdjz.js → dext-checkbox-group-rac-BtSRkEFa.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-3Eqa1NNz.js → dext-checkbox-rac-BnC_NNyy.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-BYjvDil-.js → dext-date-picker-rac-okrwxNz9.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-BLX3xG9x.js → dext-date-time-input-rac-DHKRYBUe.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-BwpbF2-Z.js → dext-dropdown-rac-1T_Ufw_J.js} +1 -1
  37. package/dist/component/{dext-email-rac-DUNmxVKy.js → dext-email-rac-BY3bKE0q.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-D2rZrzXe.js → dext-number-input-rac-CFnKXD1l.js} +1 -1
  39. package/dist/component/{dext-phone-rac-C9dvhFCl.js → dext-phone-rac-LT9InJXw.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-D8mUfv1Y.js → dext-radio-group-rac-BUebk1mz.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-BY8MRBDl.js → dext-rating-input-rac-Drk4nKuW.js} +1 -1
  42. package/dist/component/{dext-tags-rac-DBKnRkUI.js → dext-tags-rac-BcW2-hht.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-BYVMZ7HH.js → dext-text-area-rac-ew2HEDVz.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-B6Ga232R.js → dext-text-input-rac-BhhGEp-y.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-Cgu1URth.js → dext-url-input-rac-DKPl-POV.js} +1 -1
  46. package/dist/component/{donation-rac-DL1TnDAO.js → donation-rac-B9w7zHLs.js} +50 -50
  47. package/dist/component/{dropdown-field-rac-KYozl4DF.js → dropdown-field-rac-CyIgQ8Wg.js} +3 -3
  48. package/dist/component/{dropdown-rac-DiqI7QHS.js → dropdown-rac-D4zhCab8.js} +1 -1
  49. package/dist/component/{ecom-address-rac-Cmb0daDG.js → ecom-address-rac-Cgc5vi9N.js} +1 -1
  50. package/dist/component/{ecom-subscription-checkbox-rac-B7AuYQA2.js → ecom-subscription-checkbox-rac-Ci19HUzq.js} +2 -2
  51. package/dist/component/{email-input-field-rac-DocV1aB9.js → email-input-field-rac-DX-z3AgN.js} +29 -29
  52. package/dist/component/{events-repeater-rac-B0Qqfo8D.js → events-repeater-rac-XGxIXTW0.js} +29 -29
  53. package/dist/component/{events-rsvp-rac-fv3hIzAL.js → events-rsvp-rac-CMEcer8W.js} +3 -3
  54. package/dist/component/{field-error-headless-Dfvu9FuO.js → field-error-headless-fX6PeZaI.js} +1 -1
  55. package/dist/component/{field-label-headless-Cxyl3wGC.js → field-label-headless-CoLjciGG.js} +5 -5
  56. package/dist/component/{file-upload-rac-Je_--JfX.js → file-upload-rac-N6_i0ky0.js} +88 -88
  57. package/dist/component/{fixed-payment-rac-BnXYEIDe.js → fixed-payment-rac-DB6BtjkX.js} +7 -7
  58. package/dist/component/{form-a7SUDn8q.js → form-cgY_BDTU.js} +1444 -1426
  59. package/dist/component/form.js +1 -1
  60. package/dist/component/{header-field-rac-D6gL7ZE_.js → header-field-rac-CwNoeHks.js} +2 -2
  61. package/dist/component/{header-rac-DEkEGPwy.js → header-rac-DefKb4Vd.js} +1 -1
  62. package/dist/component/{image-choice-rac-Br7ZpUIc.js → image-choice-rac-CZFYVSzP.js} +25 -25
  63. package/dist/component/{index-nfuicG4V.js → index-D1ybDmS5.js} +2 -2
  64. package/dist/component/{index-CCtGcc8K.js → index-DUVXPUGc.js} +4 -4
  65. package/dist/component/{isObjectLike-zLoHjg3a.js → isObjectLike-93vxyYs1.js} +1 -1
  66. package/dist/component/multiline-address-field-rac-BN_Tnrno.js +1738 -0
  67. package/dist/component/{multiline-address-rac-CyM0O2ZV.js → multiline-address-rac-CoF0BwJI.js} +1 -1
  68. package/dist/component/{number-input-field-rac-orHx_sCp.js → number-input-field-rac-BVdfzTwW.js} +21 -21
  69. package/dist/component/{number-input-rac-CF5v19rL.js → number-input-rac-D-A2ybtN.js} +1 -1
  70. package/dist/component/{password-rac-BSWihZvF.js → password-rac-CbUBNreW.js} +26 -26
  71. package/dist/component/{payment-input-rac-CeAz10YA.js → payment-input-rac-BXdDXgXp.js} +46 -46
  72. package/dist/component/{phone-input-field-rac-BefHQnSh.js → phone-input-field-rac-CjmpG7p9.js} +57 -57
  73. package/dist/component/{phone-rac-C5jSEw_g.js → phone-rac-D3g5Pi2p.js} +1 -1
  74. package/dist/component/{product-list-rac-C0UIu3qw.js → product-list-rac-gJvJaUnQ.js} +35 -35
  75. package/dist/component/{quiz-radio-group-rac-Bya6uEoi.js → quiz-radio-group-rac-YCKwAv5G.js} +1 -1
  76. package/dist/component/{radio-button-module-classes-YEfiQQtW.js → radio-button-module-classes-2nfcqSJp.js} +15 -15
  77. package/dist/component/{radio-group-field-rac-DZWxn-QY.js → radio-group-field-rac-BBYaCpeZ.js} +4 -4
  78. package/dist/component/{radio-group-rac-DsL2Ttyk.js → radio-group-rac-fYuYtO48.js} +1 -1
  79. package/dist/component/{rating-input-field-rac-BioYAy-_.js → rating-input-field-rac-sPYk1nWc.js} +20 -20
  80. package/dist/component/{rating-input-rac-DahZMbKa.js → rating-input-rac-CiWqxkPO.js} +1 -1
  81. package/dist/component/{rich-content-rac.module-pvsjrr7Y.js → rich-content-rac.module-BjcbV5CK.js} +5 -5
  82. package/dist/component/{rich-text-field-rac-H-mxitKA.js → rich-text-field-rac-DY0vRG7M.js} +4 -4
  83. package/dist/component/{rich-text-rac-CPfXGilA.js → rich-text-rac-BngE_MAC.js} +1 -1
  84. package/dist/component/{service-dropdown-rac-C2qfLOFr.js → service-dropdown-rac-Db53P8Fm.js} +13 -13
  85. package/dist/component/{services-multi-choice-rac-D7-sJi_t.js → services-multi-choice-rac-Cr791rTd.js} +9 -9
  86. package/dist/component/{signature-rac-DuQuR2U3.js → signature-rac-BCNYIwad.js} +41 -41
  87. package/dist/component/{submit-button-rac-DrUDtzCX.js → submit-button-rac-CyyEQGsz.js} +10 -10
  88. package/dist/component/{tags-field-rac-D8gyv5Kk.js → tags-field-rac-k3HHiR5C.js} +24 -24
  89. package/dist/component/{tags-rac-Be588VqA.js → tags-rac-nOXYrsHv.js} +1 -1
  90. package/dist/component/{text-area-field-rac-hezqhMgQ.js → text-area-field-rac-CwpxShM0.js} +22 -22
  91. package/dist/component/{text-area-rac-B_KUlOes.js → text-area-rac-CkKcWyW5.js} +1 -1
  92. package/dist/component/{text-input-field-rac-BWRz4111.js → text-input-field-rac-DvIwNwn3.js} +3 -3
  93. package/dist/component/{text-input-headless-BUNQFfZw.js → text-input-headless-vfGxjFpa.js} +9 -9
  94. package/dist/component/{text-input-rac-DdfHXZ8B.js → text-input-rac-DoVI2HNp.js} +1 -1
  95. package/dist/component/{time-input-rac-CUTavG2g.js → time-input-rac-DPbbdnl3.js} +16 -16
  96. package/dist/component/{url-input-field-rac-CG5yrtux.js → url-input-field-rac-CiZi4oVe.js} +20 -20
  97. package/dist/component/{url-input-rac-DMw4tPKk.js → url-input-rac-C-IvLpA8.js} +1 -1
  98. package/dist/component/{use-dropdown-option-class-name-CHW3T4PQ.js → use-dropdown-option-class-name-CMgoymWE.js} +2 -2
  99. package/dist/component/{use-dropdown-trigger-class-name-6UsjW0rS.js → use-dropdown-trigger-class-name-BH0PyTH_.js} +24 -24
  100. package/dist/component/{use-element-state-class-name-YRDhi6Zr.js → use-element-state-class-name-DiZjY9WE.js} +1 -1
  101. package/dist/component/{use-hoverable-input-class-name-arCOozPK.js → use-hoverable-input-class-name-QpNEvrdn.js} +2 -2
  102. package/dist/component/{use-is-forced-open-dropdown-NJIAuz_W.js → use-is-forced-open-dropdown-CHh9nGJz.js} +4 -4
  103. package/dist/component/{use-service-options-base-nhf-7Ope.js → use-service-options-base-BGB82e2d.js} +4 -4
  104. package/dist/component/use-text-input-class-name-_CjB7lhB.js +6 -0
  105. package/package.json +2 -2
  106. package/dist/component/multiline-address-field-rac-Bgfked1m.js +0 -1664
  107. package/dist/component/use-text-input-class-name-C9496S5f.js +0 -6
@@ -2,36 +2,36 @@ import { RicosViewer as ne } from "@wix/ricos/viewer";
2
2
  import _ from "classnames";
3
3
  import t, { useMemo as N, useState as $, useCallback as x, useRef as H } from "react";
4
4
  import { UNSAFE_PortalProvider as re } from "react-aria";
5
- import { ListBoxItem as se, Select as oe, TextField as z, SelectValue as le, Input as X } from "react-aria-components";
6
- import { b4 as s, bM as D, bJ as J, bE as U, bh as K, bu as Q, bX as M, bb as ce, bi as ie, bB as me, bO as B, u as de, X as ue, am as pe, w as Y, x as Ee, M as be, I as fe, v as _e, y as Ie, z as q } from "./form-a7SUDn8q.js";
7
- import { f as p, a as V } from "./find-child-C60k4CxG.js";
5
+ import { ListBoxItem as se, Select as oe, TextField as z, SelectValue as le, Input as K } from "react-aria-components";
6
+ import { b4 as s, bN as D, bK as X, bF as U, bh as Q, bu as W, bY as P, bb as ce, bi as ie, bC as me, bP as V, u as de, X as ue, am as pe, w as Y, x as Ee, M as be, I as fe, v as _e, y as Ie, z as q } from "./form-cgY_BDTU.js";
7
+ import { f as p, a as B } from "./find-child-C60k4CxG.js";
8
8
  import { g as De } from "./helpers-HmkkXrh2.js";
9
- import { D as Oe, E as ge } from "./field-error-headless-Dfvu9FuO.js";
10
- import { L as he } from "./field-label-headless-Cxyl3wGC.js";
9
+ import { D as Oe, E as ge } from "./field-error-headless-fX6PeZaI.js";
10
+ import { L as he } from "./field-label-headless-CoLjciGG.js";
11
11
  import { F as Ne } from "./fieldset-headless-CD3fds9J.js";
12
12
  import { N as Le, E as ye, S as Fe } from "./non-modal-popover-D-u13tmp.js";
13
- import { u as Ce } from "./use-is-forced-open-dropdown-NJIAuz_W.js";
14
- import { V as Te, a as Ae } from "./use-dropdown-option-class-name-CHW3T4PQ.js";
15
- import { C as Me } from "./chevron-down-icon-CcpVm6B-.js";
13
+ import { u as Ce } from "./use-is-forced-open-dropdown-CHh9nGJz.js";
14
+ import { V as Te, a as Ae } from "./use-dropdown-option-class-name-CMgoymWE.js";
15
+ import { C as Pe } from "./chevron-down-icon-CcpVm6B-.js";
16
16
  import { E as Re } from "./error-icon-hZxQ6DEy.js";
17
- import { H as Pe } from "./custom-focus-class-_483Pkwp.js";
17
+ import { H as Me } from "./custom-focus-class-_483Pkwp.js";
18
18
  import { s as b } from "./field-rac.module-DcyJyi2B.js";
19
- import { u as v } from "./use-hoverable-input-class-name-arCOozPK.js";
19
+ import { u as v } from "./use-hoverable-input-class-name-QpNEvrdn.js";
20
20
  const Se = {
21
21
  [s.MONTH]: "bday-month",
22
22
  [s.DAY]: "bday-day",
23
23
  [s.YEAR]: "bday-year"
24
24
  }, w = (e, a) => e === "bday" ? Se[a] : void 0, n = ({ children: e, className: a }) => {
25
- const { id: r, required: o, onBlur: l, onFocus: c, FieldLayout: m } = D(), { inputId: i, labelId: d, ariaDescribedBy: u } = J(), { regionalFormat: E } = U(), f = N(() => K(E).filter(Q).map((S) => S.toUpperCase()), [
25
+ const { id: r, required: o, onBlur: l, onFocus: c, FieldLayout: m } = D(), { inputId: i, labelId: d, ariaDescribedBy: u } = X(), { regionalFormat: E } = U(), f = N(() => Q(E).filter(W).map((S) => S.toUpperCase()), [
26
26
  E
27
- ]), y = p(e, n.Label), R = p(e, n.Description), P = p(e, n.Error), O = {
27
+ ]), y = p(e, n.Label), R = p(e, n.Description), M = p(e, n.Error), O = {
28
28
  [s.MONTH]: p(e, n.Month),
29
29
  [s.DAY]: p(e, n.Day),
30
30
  [s.YEAR]: p(e, n.Year)
31
31
  };
32
32
  return /* @__PURE__ */ t.createElement(m, {
33
33
  fieldId: r,
34
- renderLabel: () => V(y, {
34
+ renderLabel: () => B(y, {
35
35
  as: "div"
36
36
  }),
37
37
  renderInput: () => /* @__PURE__ */ t.createElement(Ne, {
@@ -43,16 +43,16 @@ const Se = {
43
43
  onFocus: c,
44
44
  className: a
45
45
  }, O[f[0]], O[f[1]], O[f[2]]),
46
- renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, P, R)
46
+ renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, M, R)
47
47
  });
48
48
  }, g = ({ children: e, className: a }) => {
49
- const { id: r, disabled: o, readOnly: l, showDateLabels: c, hidePlaceholder: m, autoComplete: i } = D(), { labelId: d } = h(s.MONTH), { partValue: u, partError: E, onPartChange: f } = L(s.MONTH), { t: y } = M(), [R, P] = $(!1), O = Ce(r), [S, W] = $(null), j = m ? ye : y("field.date.placeholder.month"), G = x((T) => {
49
+ const { id: r, disabled: o, readOnly: l, showDateLabels: c, hidePlaceholder: m, autoComplete: i } = D(), { labelId: d } = h(s.MONTH), { partValue: u, partError: E, onPartChange: f } = L(s.MONTH), { t: y } = P(), [R, M] = $(!1), O = Ce(r), [S, j] = $(null), G = m ? ye : y("field.date.placeholder.month"), J = x((T) => {
50
50
  l || f(typeof T == "string" ? T : "");
51
51
  }, [
52
52
  f,
53
53
  l
54
54
  ]), Z = x((T) => {
55
- P(T && !l);
55
+ M(T && !l);
56
56
  }, [
57
57
  l
58
58
  ]), ee = p(e, g.Label), te = p(e, g.Trigger), ae = p(e, g.Options);
@@ -60,7 +60,7 @@ const Se = {
60
60
  className: a,
61
61
  "data-date-field": !0
62
62
  }, c ? ee : null, /* @__PURE__ */ t.createElement("div", {
63
- ref: W,
63
+ ref: j,
64
64
  style: {
65
65
  display: "contents"
66
66
  }
@@ -70,13 +70,13 @@ const Se = {
70
70
  autoComplete: w(i, s.MONTH),
71
71
  "aria-labelledby": c ? d : void 0,
72
72
  value: u || null,
73
- onChange: G,
73
+ onChange: J,
74
74
  isDisabled: o,
75
75
  isInvalid: E,
76
- placeholder: j,
76
+ placeholder: G,
77
77
  isOpen: O || R,
78
78
  onOpenChange: O ? void 0 : Z
79
- }, te, V(ae, {
79
+ }, te, B(ae, {
80
80
  isForcedOpen: O
81
81
  }))));
82
82
  }, Ye = ({ className: e }) => /* @__PURE__ */ t.createElement(k, {
@@ -84,7 +84,7 @@ const Se = {
84
84
  className: e
85
85
  }), ve = ({ children: e, className: a }) => {
86
86
  const { id: r, readOnly: o } = D(), { inputId: l } = h(s.MONTH), { partError: c, isFirstPart: m } = L(s.MONTH), i = H(null);
87
- return B(() => {
87
+ return V(() => {
88
88
  var d;
89
89
  m && ((d = i.current) == null || d.focus({
90
90
  preventScroll: !0
@@ -108,7 +108,7 @@ const Se = {
108
108
  }, /* @__PURE__ */ t.createElement(Te, {
109
109
  isForcedOpen: o,
110
110
  autoFocus: o ? !1 : void 0
111
- }, c.map((i, d) => V(m, {
111
+ }, c.map((i, d) => B(m, {
112
112
  key: String(d + 1),
113
113
  value: String(d + 1),
114
114
  label: i
@@ -142,13 +142,13 @@ const F = ({ children: e, className: a }) => {
142
142
  datePart: s.DAY,
143
143
  className: e
144
144
  }), Ue = ({ className: e }) => {
145
- const { id: a, hidePlaceholder: r, autoComplete: o } = D(), { inputId: l } = h(s.DAY), { isFirstPart: c } = L(s.DAY), { t: m } = M(), i = H(null), d = r ? void 0 : m("field.date.placeholder.day");
146
- return B(() => {
145
+ const { id: a, hidePlaceholder: r, autoComplete: o } = D(), { inputId: l } = h(s.DAY), { isFirstPart: c } = L(s.DAY), { t: m } = P(), i = H(null), d = r ? void 0 : m("field.date.placeholder.day");
146
+ return V(() => {
147
147
  var u;
148
148
  c && ((u = i.current) == null || u.focus({
149
149
  preventScroll: !0
150
150
  }));
151
- }, a), /* @__PURE__ */ t.createElement(X, {
151
+ }, a), /* @__PURE__ */ t.createElement(K, {
152
152
  ref: i,
153
153
  id: l,
154
154
  className: e,
@@ -174,17 +174,17 @@ const C = ({ children: e, className: a }) => {
174
174
  isReadOnly: o,
175
175
  isInvalid: i
176
176
  }, E));
177
- }, Be = ({ className: e }) => /* @__PURE__ */ t.createElement(k, {
177
+ }, Ve = ({ className: e }) => /* @__PURE__ */ t.createElement(k, {
178
178
  datePart: s.YEAR,
179
179
  className: e
180
- }), Ve = ({ className: e }) => {
181
- const { id: a, hidePlaceholder: r, autoComplete: o } = D(), { inputId: l } = h(s.YEAR), { isFirstPart: c } = L(s.YEAR), { t: m } = M(), i = H(null), d = r ? void 0 : m("field.date.placeholder.year");
182
- return B(() => {
180
+ }), Be = ({ className: e }) => {
181
+ const { id: a, hidePlaceholder: r, autoComplete: o } = D(), { inputId: l } = h(s.YEAR), { isFirstPart: c } = L(s.YEAR), { t: m } = P(), i = H(null), d = r ? void 0 : m("field.date.placeholder.year");
182
+ return V(() => {
183
183
  var u;
184
184
  c && ((u = i.current) == null || u.focus({
185
185
  preventScroll: !0
186
186
  }));
187
- }, a), /* @__PURE__ */ t.createElement(X, {
187
+ }, a), /* @__PURE__ */ t.createElement(K, {
188
188
  ref: i,
189
189
  id: l,
190
190
  className: e,
@@ -195,8 +195,8 @@ const C = ({ children: e, className: a }) => {
195
195
  "data-hook": s.YEAR
196
196
  });
197
197
  };
198
- C.Label = Be;
199
- C.Input = Ve;
198
+ C.Label = Ve;
199
+ C.Input = Be;
200
200
  n.Label = he;
201
201
  n.Month = g;
202
202
  n.Day = F;
@@ -204,7 +204,7 @@ n.Year = C;
204
204
  n.Description = Oe;
205
205
  n.Error = ge;
206
206
  function h(e) {
207
- const { inputId: a } = J();
207
+ const { inputId: a } = X();
208
208
  return N(() => {
209
209
  const r = e.toLowerCase();
210
210
  return {
@@ -229,7 +229,7 @@ function L(e) {
229
229
  r,
230
230
  c,
231
231
  e
232
- ]), u = N(() => K(l).filter(Q).map((y) => y.toUpperCase())[0] === e, [
232
+ ]), u = N(() => Q(l).filter(W).map((y) => y.toUpperCase())[0] === e, [
233
233
  l,
234
234
  e
235
235
  ]);
@@ -241,29 +241,29 @@ function L(e) {
241
241
  };
242
242
  }
243
243
  function k({ datePart: e, className: a }) {
244
- const { inputId: r, labelId: o } = h(e), { t: l } = M(), c = `field.date.label.${e.toLowerCase()}`, m = l(c);
244
+ const { inputId: r, labelId: o } = h(e), { t: l } = P(), c = `field.date.label.${e.toLowerCase()}`, m = l(c);
245
245
  return /* @__PURE__ */ t.createElement("label", {
246
246
  id: o,
247
247
  htmlFor: r,
248
248
  className: a
249
249
  }, m);
250
250
  }
251
- const we = "_fields_b2cgx_1", ke = "_month_b2cgx_10", $e = "_day_b2cgx_11", qe = "_year_b2cgx_12", ze = "_dayInput_b2cgx_28", Xe = "_yearInput_b2cgx_29", Je = "_monthTrigger_b2cgx_33", Ke = "_monthOption_b2cgx_53", I = {
251
+ const we = "_fields_b2cgx_1", ke = "_month_b2cgx_10", $e = "_day_b2cgx_11", qe = "_year_b2cgx_12", ze = "_dayInput_b2cgx_28", Ke = "_yearInput_b2cgx_29", Xe = "_monthTrigger_b2cgx_33", Qe = "_monthOption_b2cgx_53", I = {
252
252
  fields: we,
253
253
  month: ke,
254
254
  day: $e,
255
255
  year: qe,
256
256
  dayInput: ze,
257
- yearInput: Xe,
258
- monthTrigger: Je,
259
- monthOption: Ke
260
- }, Qe = ({ content: e, locale: a }) => /* @__PURE__ */ t.createElement(ne, {
257
+ yearInput: Ke,
258
+ monthTrigger: Xe,
259
+ monthOption: Qe
260
+ }, We = ({ content: e, locale: a }) => /* @__PURE__ */ t.createElement(ne, {
261
261
  content: e,
262
262
  locale: a
263
263
  }), bt = () => {
264
264
  const e = v(_e, [
265
265
  I.monthTrigger
266
- ]), a = Ae(Ie, I.monthOption, Pe), r = v(q, [
266
+ ]), a = Ae(Ie, I.monthOption, Me), r = v(q, [
267
267
  I.dayInput
268
268
  ]), o = v(q, [
269
269
  I.yearInput
@@ -280,7 +280,7 @@ const we = "_fields_b2cgx_1", ke = "_month_b2cgx_10", $e = "_day_b2cgx_11", qe =
280
280
  className: _(Y, b.label)
281
281
  }), /* @__PURE__ */ t.createElement(n.Month.Trigger, {
282
282
  className: e
283
- }, /* @__PURE__ */ t.createElement(Me, {
283
+ }, /* @__PURE__ */ t.createElement(Pe, {
284
284
  className: b.dropdownIcon
285
285
  })), /* @__PURE__ */ t.createElement(n.Month.Options, {
286
286
  className: _(Ee, b.selectPopover, b.dropdownPopover)
@@ -302,7 +302,7 @@ const we = "_fields_b2cgx_1", ke = "_month_b2cgx_10", $e = "_day_b2cgx_11", qe =
302
302
  className: _(be, b.error)
303
303
  }, /* @__PURE__ */ t.createElement(Re, null), /* @__PURE__ */ t.createElement(n.Error.Text, null)), /* @__PURE__ */ t.createElement(n.Description, {
304
304
  className: _(fe, b.description)
305
- }, Qe));
305
+ }, We));
306
306
  };
307
307
  export {
308
308
  bt as D
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { D as e } from "./date-input-field-rac-BLO1qQSi.js";
2
+ import { D as e } from "./date-input-field-rac-BQuCwFBz.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as DateInputRAC
@@ -1,22 +1,22 @@
1
- import { RicosViewer as z } from "@wix/ricos/viewer";
1
+ import { RicosViewer as J } from "@wix/ricos/viewer";
2
2
  import p from "classnames";
3
3
  import e, { useState as L, useCallback as k, useContext as ee, useRef as P, useMemo as v } from "react";
4
4
  import { parseDate as te } from "@internationalized/date";
5
5
  import { UNSAFE_PortalProvider as re } from "react-aria";
6
6
  import { I18nProvider as ae, DatePicker as ne, DatePickerStateContext as le, Group as oe, DateInput as se, DateSegment as ce, Calendar as ie, CalendarMonthPicker as me, CalendarYearPicker as de, CalendarGrid as ue, Dialog as ge, CalendarCell as Ee, Button as M, Select as x, SelectValue as Y, ListBox as w, ListBoxItem as B } from "react-aria-components";
7
- import { D as f, bM as h, bJ as U, bE as O, bO as pe, X as fe, am as De, H as Ce, M as ye, I as Se, G as _e } from "./form-a7SUDn8q.js";
8
- import { g as he, c as A } from "./calendar.module-BMUyMVja.js";
7
+ import { D as f, bN as N, bK as U, bF as F, bP as pe, X as fe, am as De, H as Ce, M as ye, I as Se, G as _e } from "./form-cgY_BDTU.js";
8
+ import { g as Ne, c as A } from "./calendar.module-BMUyMVja.js";
9
9
  import { f as E, a as _ } from "./find-child-C60k4CxG.js";
10
- import { D as Ne, E as Te } from "./field-error-headless-Dfvu9FuO.js";
11
- import { L as be } from "./field-label-headless-Cxyl3wGC.js";
12
- import { D as ve, N as F, S as V } from "./non-modal-popover-D-u13tmp.js";
13
- import { a as Ie } from "./use-is-forced-open-dropdown-NJIAuz_W.js";
14
- import { i as Oe } from "./date-availability-17HTB6Bn.js";
10
+ import { D as he, E as Te } from "./field-error-headless-fX6PeZaI.js";
11
+ import { L as be } from "./field-label-headless-CoLjciGG.js";
12
+ import { D as ve, N as O, S as V } from "./non-modal-popover-D-u13tmp.js";
13
+ import { a as Ie } from "./use-is-forced-open-dropdown-CHh9nGJz.js";
14
+ import { i as Fe } from "./date-availability-5zvsa_GI.js";
15
15
  import { C as I } from "./chevron-down-icon-CcpVm6B-.js";
16
- import { E as Fe } from "./error-icon-hZxQ6DEy.js";
16
+ import { E as Oe } from "./error-icon-hZxQ6DEy.js";
17
17
  import { H as Le } from "./custom-focus-class-_483Pkwp.js";
18
18
  import { s as D } from "./field-rac.module-DcyJyi2B.js";
19
- import { u as Pe } from "./use-hoverable-input-class-name-arCOozPK.js";
19
+ import { u as Pe } from "./use-hoverable-input-class-name-QpNEvrdn.js";
20
20
  const Ae = [
21
21
  f.SUNDAY,
22
22
  f.MONDAY,
@@ -28,17 +28,17 @@ const Ae = [
28
28
  ], Re = {
29
29
  availableDays: Ae
30
30
  }, a = ({ children: t }) => {
31
- const { id: r, value: l, onChange: n, disabled: i, required: c, onBlur: u, onFocus: o, FieldLayout: m, hasError: d, readOnly: C } = h(), { labelId: y } = U(), { regionalFormat: N } = O(), [s, T] = L(null), [K, H] = L(!1), b = Ie(r), W = k((X) => {
32
- const Z = We(X);
33
- n(Z);
31
+ const { id: r, value: l, onChange: n, disabled: i, required: c, onBlur: u, onFocus: o, FieldLayout: m, hasError: d, readOnly: C } = N(), { labelId: y } = U(), { regionalFormat: h } = F(), [s, T] = L(null), [K, H] = L(!1), b = Ie(r), W = k((Z) => {
32
+ const z = We(Z);
33
+ n(z);
34
34
  }, [
35
35
  n
36
- ]), $ = E(t, a.Label), q = E(t, a.Control), G = E(t, a.Calendar), j = E(t, a.Description), J = E(t, a.Error), Q = He(l);
36
+ ]), $ = E(t, a.Label), q = E(t, a.Control), G = E(t, a.Calendar), j = E(t, a.Description), Q = E(t, a.Error), X = He(l);
37
37
  return /* @__PURE__ */ e.createElement(m, {
38
38
  fieldId: r,
39
39
  renderLabel: () => $,
40
40
  renderInput: () => /* @__PURE__ */ e.createElement(ae, {
41
- locale: N
41
+ locale: h
42
42
  }, /* @__PURE__ */ e.createElement("div", {
43
43
  ref: T,
44
44
  style: {
@@ -48,7 +48,7 @@ const Ae = [
48
48
  getContainer: () => s
49
49
  }, /* @__PURE__ */ e.createElement(ne, {
50
50
  "aria-labelledby": y,
51
- value: Q,
51
+ value: X,
52
52
  onChange: W,
53
53
  isDisabled: i,
54
54
  isInvalid: d,
@@ -61,10 +61,10 @@ const Ae = [
61
61
  }, q, _(G, {
62
62
  isForcedOpen: b
63
63
  })))),
64
- renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, J, j)
64
+ renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, Q, j)
65
65
  });
66
66
  }, ke = ({ children: t, className: r }) => {
67
- const { inputId: l, ariaDescribedBy: n } = U(), { hasError: i, disabled: c, readOnly: u } = h(), o = ee(le), m = k((d) => {
67
+ const { inputId: l, ariaDescribedBy: n } = U(), { hasError: i, disabled: c, readOnly: u } = N(), o = ee(le), m = k((d) => {
68
68
  if (!o || o.isOpen || c || u)
69
69
  return;
70
70
  const C = d.target;
@@ -85,7 +85,7 @@ const Ae = [
85
85
  onClick: m
86
86
  }, t);
87
87
  }, Me = ({ className: t }) => {
88
- const { id: r, placeholder: l } = h(), { regionalFormat: n } = O(), i = P(null), c = P(!1);
88
+ const { id: r, placeholder: l } = N(), { regionalFormat: n } = F(), i = P(null), c = P(!1);
89
89
  pe(() => {
90
90
  var o;
91
91
  (o = i.current) == null || o.focus({
@@ -118,15 +118,15 @@ const Ae = [
118
118
  }, xe = ({ children: t, className: r }) => /* @__PURE__ */ e.createElement(ve, {
119
119
  className: r
120
120
  }, t), g = ({ children: t, className: r, ...l }) => {
121
- const { isForcedOpen: n } = l, { regionalFormat: i } = O(), { availability: c } = h(), u = v(() => he(i), [
121
+ const { isForcedOpen: n } = l, { regionalFormat: i } = F(), { availability: c } = N(), u = v(() => Ne(i), [
122
122
  i
123
123
  ]), o = v(() => (s) => {
124
124
  const T = new Date(s.year, s.month - 1, s.day);
125
- return !Oe(T, c || Re);
125
+ return !Fe(T, c || Re);
126
126
  }, [
127
127
  c
128
- ]), m = E(t, g.Day) ?? /* @__PURE__ */ e.createElement(g.Day, null), d = E(t, g.PreviousTrigger), C = E(t, g.NextTrigger), y = E(t, g.MonthTrigger), N = E(t, g.YearTrigger);
129
- return /* @__PURE__ */ e.createElement(F, {
128
+ ]), m = E(t, g.Day) ?? /* @__PURE__ */ e.createElement(g.Day, null), d = E(t, g.PreviousTrigger), C = E(t, g.NextTrigger), y = E(t, g.MonthTrigger), h = E(t, g.YearTrigger);
129
+ return /* @__PURE__ */ e.createElement(O, {
130
130
  className: r,
131
131
  containerPadding: 0
132
132
  }, /* @__PURE__ */ e.createElement(Ye, {
@@ -143,7 +143,7 @@ const Ae = [
143
143
  popoverClassName: r
144
144
  })), /* @__PURE__ */ e.createElement(de, {
145
145
  visibleYears: 100
146
- }, (s) => _(N, {
146
+ }, (s) => _(h, {
147
147
  ariaLabel: s["aria-label"],
148
148
  selectedKey: s.value,
149
149
  onSelectionChange: s.onChange,
@@ -176,7 +176,7 @@ const Ae = [
176
176
  onSelectionChange: c
177
177
  }, /* @__PURE__ */ e.createElement(V, {
178
178
  className: r
179
- }, /* @__PURE__ */ e.createElement(Y, null), t), /* @__PURE__ */ e.createElement(F, {
179
+ }, /* @__PURE__ */ e.createElement(Y, null), t), /* @__PURE__ */ e.createElement(O, {
180
180
  className: o,
181
181
  containerPadding: 0
182
182
  }, /* @__PURE__ */ e.createElement(w, {
@@ -192,7 +192,7 @@ const Ae = [
192
192
  onSelectionChange: c
193
193
  }, /* @__PURE__ */ e.createElement(V, {
194
194
  className: r
195
- }, /* @__PURE__ */ e.createElement(Y, null), t), /* @__PURE__ */ e.createElement(F, {
195
+ }, /* @__PURE__ */ e.createElement(Y, null), t), /* @__PURE__ */ e.createElement(O, {
196
196
  className: o,
197
197
  containerPadding: 0
198
198
  }, /* @__PURE__ */ e.createElement(w, {
@@ -211,7 +211,7 @@ a.Control = ke;
211
211
  a.Input = Me;
212
212
  a.Trigger = xe;
213
213
  a.Calendar = g;
214
- a.Description = Ne;
214
+ a.Description = he;
215
215
  a.Error = Te;
216
216
  function He(t) {
217
217
  if (!t)
@@ -264,14 +264,14 @@ const Ge = (t) => /* @__PURE__ */ e.createElement("svg", {
264
264
  strokeWidth: "1.5",
265
265
  strokeLinecap: "round",
266
266
  strokeLinejoin: "round"
267
- })), je = "_control_1le52_1", Je = "_segments_1le52_14", Qe = "_trigger_1le52_72", Xe = "_calendarPopover_1le52_103 _textOnFillOptions_vf5u1_8", Ze = "_calendarDay_1le52_246", ze = "_dayNumber_1le52_253", S = {
267
+ })), je = "_control_1le52_1", Qe = "_segments_1le52_14", Xe = "_trigger_1le52_72", Ze = "_calendarPopover_1le52_103 _textOnFillOptions_vf5u1_8", ze = "_calendarDay_1le52_246", Je = "_dayNumber_1le52_253", S = {
268
268
  control: je,
269
- segments: Je,
270
- trigger: Qe,
271
- calendarPopover: Xe,
272
- calendarDay: Ze,
273
- dayNumber: ze
274
- }, et = ({ content: t, locale: r }) => /* @__PURE__ */ e.createElement(z, {
269
+ segments: Qe,
270
+ trigger: Xe,
271
+ calendarPopover: Ze,
272
+ calendarDay: ze,
273
+ dayNumber: Je
274
+ }, et = ({ content: t, locale: r }) => /* @__PURE__ */ e.createElement(J, {
275
275
  content: t,
276
276
  locale: r
277
277
  }), tt = {
@@ -311,7 +311,7 @@ const Ge = (t) => /* @__PURE__ */ e.createElement("svg", {
311
311
  className: p(A.dayNumber, S.dayNumber)
312
312
  }, r))), /* @__PURE__ */ e.createElement(a.Error, {
313
313
  className: p(ye, D.error)
314
- }, /* @__PURE__ */ e.createElement(Fe, null), /* @__PURE__ */ e.createElement(a.Error.Text, null)), /* @__PURE__ */ e.createElement(a.Description, {
314
+ }, /* @__PURE__ */ e.createElement(Oe, null), /* @__PURE__ */ e.createElement(a.Error.Text, null)), /* @__PURE__ */ e.createElement(a.Description, {
315
315
  className: p(Se, D.description)
316
316
  }, et));
317
317
  };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as r } from "./date-picker-field-rac-COGESH_j.js";
2
+ import { D as r } from "./date-picker-field-rac-D-B3bNeU.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as DatePickerRAC
@@ -1,25 +1,25 @@
1
1
  import { RicosViewer as se } from "@wix/ricos/viewer";
2
2
  import E from "classnames";
3
- import t, { useMemo as L, useState as X, useCallback as U, useRef as z, useContext as le } from "react";
3
+ import t, { useMemo as L, useState as j, useCallback as U, useRef as z, useContext as le } from "react";
4
4
  import { parseTime as ie } from "@internationalized/date";
5
5
  import { UNSAFE_PortalProvider as ce } from "react-aria";
6
- import { ListBoxItem as me, Select as de, TextField as K, TimeField as ue, SelectValue as pe, Input as Q, DateInput as Ee, DateSegment as x, TimeFieldStateContext as fe } from "react-aria-components";
7
- import { bM as b, bJ as W, bE as $, bh as Z, bu as ee, b4 as d, bX as y, by as j, bj as be, bb as he, bB as _e, bd as J, bO as q, u as Ie, X as ge, am as De, w as V, x as Ne, M as Te, I as Oe, v as Le, y as ye, z as k } from "./form-a7SUDn8q.js";
6
+ import { ListBoxItem as me, Select as de, TextField as Q, TimeField as ue, SelectValue as pe, Input as W, DateInput as Ee, DateSegment as x, TimeFieldStateContext as fe } from "react-aria-components";
7
+ import { bN as b, bK as J, bF as $, bh as Z, bu as ee, b4 as d, bY as y, by as K, bj as be, bb as he, bC as _e, bd as X, bP as q, u as Ie, X as ge, am as De, w as V, x as Ne, M as Te, I as Oe, v as Le, y as ye, z as k } from "./form-cgY_BDTU.js";
8
8
  import { f as u, a as C } from "./find-child-C60k4CxG.js";
9
9
  import { g as Fe } from "./helpers-HmkkXrh2.js";
10
- import { D as Pe, E as Ce } from "./field-error-headless-Dfvu9FuO.js";
11
- import { L as Me } from "./field-label-headless-Cxyl3wGC.js";
10
+ import { D as Pe, E as Ce } from "./field-error-headless-fX6PeZaI.js";
11
+ import { L as Me } from "./field-label-headless-CoLjciGG.js";
12
12
  import { F as Se } from "./fieldset-headless-CD3fds9J.js";
13
13
  import { N as Re, E as Ae, S as ve } from "./non-modal-popover-D-u13tmp.js";
14
- import { u as we } from "./use-is-forced-open-dropdown-NJIAuz_W.js";
15
- import { V as Ve, a as Ye } from "./use-dropdown-option-class-name-CHW3T4PQ.js";
14
+ import { u as we } from "./use-is-forced-open-dropdown-CHh9nGJz.js";
15
+ import { V as Ve, a as Ye } from "./use-dropdown-option-class-name-CMgoymWE.js";
16
16
  import { C as He } from "./chevron-down-icon-CcpVm6B-.js";
17
17
  import { E as Ue } from "./error-icon-hZxQ6DEy.js";
18
18
  import { H as Y } from "./custom-focus-class-_483Pkwp.js";
19
19
  import { s as _ } from "./field-rac.module-DcyJyi2B.js";
20
- import { u as H } from "./use-hoverable-input-class-name-arCOozPK.js";
20
+ import { u as H } from "./use-hoverable-input-class-name-QpNEvrdn.js";
21
21
  const l = ({ children: e, className: a }) => {
22
- const { id: n, required: r, onBlur: o, onFocus: s, FieldLayout: i } = b(), { inputId: m, labelId: c, ariaDescribedBy: h } = W(), { regionalFormat: p } = $(), N = L(() => Z(p).filter(ee).map((S) => S.toUpperCase()), [
22
+ const { id: n, required: r, onBlur: o, onFocus: s, FieldLayout: i } = b(), { inputId: m, labelId: c, ariaDescribedBy: h } = J(), { regionalFormat: p } = $(), N = L(() => Z(p).filter(ee).map((S) => S.toUpperCase()), [
23
23
  p
24
24
  ]), M = u(e, l.Label), v = u(e, l.Description), g = u(e, l.Error), D = {
25
25
  [d.MONTH]: u(e, l.Month),
@@ -43,7 +43,7 @@ const l = ({ children: e, className: a }) => {
43
43
  renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, g, v)
44
44
  });
45
45
  }, F = ({ children: e, className: a }) => {
46
- const { id: n, disabled: r, readOnly: o, showDateLabels: s, hidePlaceholder: i } = b(), { labelId: m } = O(d.MONTH), { partValue: c, partError: h, onPartChange: p } = P(d.MONTH), { t: N } = y(), [M, v] = X(!1), g = we(n), [D, T] = X(null), S = i ? Ae : N("field.date.placeholder.month"), te = U((w) => {
46
+ const { id: n, disabled: r, readOnly: o, showDateLabels: s, hidePlaceholder: i } = b(), { labelId: m } = O(d.MONTH), { partValue: c, partError: h, onPartChange: p } = P(d.MONTH), { t: N } = y(), [M, v] = j(!1), g = we(n), [D, T] = j(null), S = i ? Ae : N("field.date.placeholder.month"), te = U((w) => {
47
47
  o || p(typeof w == "string" ? w : "");
48
48
  }, [
49
49
  p,
@@ -126,7 +126,7 @@ const R = ({ children: e, className: a }) => {
126
126
  return /* @__PURE__ */ t.createElement("div", {
127
127
  className: a,
128
128
  "data-date-field": !0
129
- }, o && h, /* @__PURE__ */ t.createElement(K, {
129
+ }, o && h, /* @__PURE__ */ t.createElement(Q, {
130
130
  "aria-labelledby": o ? s : void 0,
131
131
  value: i,
132
132
  onChange: c,
@@ -144,7 +144,7 @@ const R = ({ children: e, className: a }) => {
144
144
  o && ((c = i.current) == null || c.focus({
145
145
  preventScroll: !0
146
146
  }));
147
- }, a), /* @__PURE__ */ t.createElement(Q, {
147
+ }, a), /* @__PURE__ */ t.createElement(W, {
148
148
  ref: i,
149
149
  id: r,
150
150
  className: e,
@@ -161,7 +161,7 @@ const A = ({ children: e, className: a }) => {
161
161
  return /* @__PURE__ */ t.createElement("div", {
162
162
  className: a,
163
163
  "data-date-field": !0
164
- }, o && h, /* @__PURE__ */ t.createElement(K, {
164
+ }, o && h, /* @__PURE__ */ t.createElement(Q, {
165
165
  "aria-labelledby": o ? s : void 0,
166
166
  value: i,
167
167
  onChange: c,
@@ -179,7 +179,7 @@ const A = ({ children: e, className: a }) => {
179
179
  o && ((c = i.current) == null || c.focus({
180
180
  preventScroll: !0
181
181
  }));
182
- }, a), /* @__PURE__ */ t.createElement(Q, {
182
+ }, a), /* @__PURE__ */ t.createElement(W, {
183
183
  ref: i,
184
184
  id: r,
185
185
  className: e,
@@ -205,14 +205,14 @@ const I = ({ children: e, className: a }) => {
205
205
  isInvalid: c,
206
206
  hourCycle: o ? 24 : 12
207
207
  }, N));
208
- }, Xe = ({ className: e }) => {
208
+ }, je = ({ className: e }) => {
209
209
  const { inputId: a, labelId: n } = O("time"), { t: r } = y(), o = r("field.date.label.time");
210
210
  return /* @__PURE__ */ t.createElement("label", {
211
211
  id: n,
212
212
  htmlFor: a,
213
213
  className: e
214
214
  }, o);
215
- }, je = ({ children: e, className: a }) => {
215
+ }, Ke = ({ children: e, className: a }) => {
216
216
  const { hidePlaceholder: n } = b(), r = u(e, I.Hour), o = u(e, I.Minute), s = u(e, I.Period);
217
217
  return /* @__PURE__ */ t.createElement(Ee, {
218
218
  className: a,
@@ -240,7 +240,7 @@ const I = ({ children: e, className: a }) => {
240
240
  return /* @__PURE__ */ t.createElement(t.Fragment, null);
241
241
  }
242
242
  });
243
- }, Je = ({ className: e, ...a }) => {
243
+ }, Xe = ({ className: e, ...a }) => {
244
244
  const { hidePlaceholder: n } = b(), { segment: r } = a, { t: o } = y(), s = n ? void 0 : o("field.date.placeholder.hour");
245
245
  return /* @__PURE__ */ t.createElement(x, {
246
246
  segment: r,
@@ -249,7 +249,7 @@ const I = ({ children: e, className: a }) => {
249
249
  placeholder: s
250
250
  }
251
251
  });
252
- }, Ke = ({ className: e, ...a }) => {
252
+ }, Qe = ({ className: e, ...a }) => {
253
253
  const { hidePlaceholder: n } = b(), { segment: r } = a, { t: o } = y(), s = n ? void 0 : o("field.date.placeholder.minute");
254
254
  return /* @__PURE__ */ t.createElement(x, {
255
255
  segment: r,
@@ -258,7 +258,7 @@ const I = ({ children: e, className: a }) => {
258
258
  placeholder: s
259
259
  }
260
260
  });
261
- }, Qe = ({ className: e, ...a }) => {
261
+ }, We = ({ className: e, ...a }) => {
262
262
  const { hidePlaceholder: n } = b(), { segment: r } = a, { t: o } = y(), s = le(fe), i = n ? void 0 : o("field.date.placeholder.period"), m = () => s == null ? void 0 : s.increment("dayPeriod");
263
263
  return /* @__PURE__ */ t.createElement(x, {
264
264
  segment: r,
@@ -269,11 +269,11 @@ const I = ({ children: e, className: a }) => {
269
269
  }
270
270
  });
271
271
  };
272
- I.Label = Xe;
273
- I.Input = je;
274
- I.Hour = Je;
275
- I.Minute = Ke;
276
- I.Period = Qe;
272
+ I.Label = je;
273
+ I.Input = Ke;
274
+ I.Hour = Xe;
275
+ I.Minute = Qe;
276
+ I.Period = We;
277
277
  l.Label = Me;
278
278
  l.Month = F;
279
279
  l.Day = R;
@@ -282,7 +282,7 @@ l.Time = I;
282
282
  l.Description = Pe;
283
283
  l.Error = Ce;
284
284
  function O(e) {
285
- const { inputId: a } = W();
285
+ const { inputId: a } = J();
286
286
  return L(() => {
287
287
  const n = e.toLowerCase();
288
288
  return {
@@ -295,23 +295,23 @@ function O(e) {
295
295
  ]);
296
296
  }
297
297
  function P(e) {
298
- const { value: a, onChange: n, hasError: r = !1 } = b(), { regionalFormat: o } = $(), [s, i] = L(() => j(a ?? ""), [
298
+ const { value: a, onChange: n, hasError: r = !1 } = b(), { regionalFormat: o } = $(), [s, i] = L(() => K(a ?? ""), [
299
299
  a
300
300
  ]), m = L(() => be(r, a ?? ""), [
301
301
  a,
302
302
  r
303
303
  ]), c = L(() => he(s), [
304
304
  s
305
- ]), h = L(() => We(i), [
305
+ ]), h = L(() => Je(i), [
306
306
  i
307
307
  ]), p = U((g) => {
308
- const D = Ze(g), T = J(s, D);
308
+ const D = Ze(g), T = X(s, D);
309
309
  n(T);
310
310
  }, [
311
311
  n,
312
312
  s
313
313
  ]), N = U((g) => {
314
- const [, D] = j(a ?? ""), T = _e(g, e, c), S = J(T, D);
314
+ const [, D] = K(a ?? ""), T = _e(g, e, c), S = X(T, D);
315
315
  n(S);
316
316
  }, [
317
317
  n,
@@ -342,7 +342,7 @@ function G({ datePart: e, className: a }) {
342
342
  className: a
343
343
  }, i);
344
344
  }
345
- function We(e) {
345
+ function Je(e) {
346
346
  if (!e)
347
347
  return null;
348
348
  try {
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as t } from "./date-time-input-field-rac-CKbGhDKq.js";
2
+ import { D as t } from "./date-time-input-field-rac-BECpkgB2.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 { bM as e, aN as t } from "./form-a7SUDn8q.js";
3
- import { C as p } from "./checkbox-group-field-rac-COySLANT.js";
2
+ import { bN as e, aN as t } from "./form-cgY_BDTU.js";
3
+ import { C as p } from "./checkbox-group-field-rac-DDkB4mAS.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-CxN4DXcm.js";
2
+ import { C as t } from "./checkbox-field-rac-CMLQboNZ.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-COGESH_j.js";
2
+ import { D as t } from "./date-picker-field-rac-D-B3bNeU.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-CKbGhDKq.js";
2
+ import { D as t } from "./date-time-input-field-rac-BECpkgB2.js";
3
3
  const n = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  n as DextDateTimeInputRAC