@wix/form-elements 1.241.0 → 1.243.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/component/{appointment-rac-CHG0WqmP.js → appointment-rac-D-dMrhRb.js} +43 -43
  2. package/dist/component/{bookings-address-rac-0gam8j7s.js → bookings-address-rac-B6aQ4P5I.js} +1 -1
  3. package/dist/component/{bookings-email-rac-DZlulUCa.js → bookings-email-rac-Bh849hrc.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-U4MHsWd1.js → bookings-first-name-rac-C69Ind1o.js} +1 -1
  5. package/dist/component/{bookings-header-rac-CDJfljEO.js → bookings-header-rac-DGUzMGRj.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-DLInE8pT.js → bookings-last-name-rac-Ch9Bm-sr.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-K3m0pn4a.js → bookings-login-bar-rac-CUhHuZm-.js} +1 -1
  8. package/dist/component/{bookings-phone-rac-CI8wi6GY.js → bookings-phone-rac-BI4PoSu3.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-Bwta9py6.js → bookings-rich-text-rac-B4D2ZCJs.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-Bs_vJ_oq.js → checkbox-field-rac-zE0dzJYu.js} +81 -81
  11. package/dist/component/{checkbox-group-field-headless-CwyrCRLc.js → checkbox-group-field-headless-C2x-la-e.js} +44 -44
  12. package/dist/component/{checkbox-group-field-rac-31RRmAz_.js → checkbox-group-field-rac-iJkQGTiJ.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-Bz98tGbx.js → checkbox-group-rac-DoK5e4c8.js} +1 -1
  14. package/dist/component/{checkbox-rac-DFdDAv50.js → checkbox-rac-8i-6GMze.js} +1 -1
  15. package/dist/component/{contacts-address-rac-Ct5QNUdV.js → contacts-address-rac-CHcRQBjy.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-BUHd4cCk.js → contacts-birthdate-rac-CkSsvQ6R.js} +1 -1
  17. package/dist/component/{contacts-company-rac-CI_d3IHw.js → contacts-company-rac-CIsmil8s.js} +1 -1
  18. package/dist/component/{contacts-email-rac-CCbpBKs9.js → contacts-email-rac-AEvRJfWd.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-FBUDLP8v.js → contacts-first-name-rac-CLSJ2cna.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-BSNrn4eb.js → contacts-last-name-rac-o59dmvVn.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-CsrFVsq6.js → contacts-phone-rac-jh-YSD-N.js} +1 -1
  22. package/dist/component/{contacts-position-rac-2gwTiIIo.js → contacts-position-rac-Ak4X2gV_.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-DucA9CDH.js → contacts-subscribe-rac-By9Bk1YL.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-LcMf98te.js → contacts-tax-id-rac-B1enZgKk.js} +1 -1
  25. package/dist/component/{date-availability-Bt56LTk9.js → date-availability--3J2b6Ur.js} +1 -1
  26. package/dist/component/{date-input-field-rac-DhJqiwKI.js → date-input-field-rac-BFt0DKA9.js} +66 -66
  27. package/dist/component/{date-input-rac-BISvPvDp.js → date-input-rac-D8BA8S1A.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-C4I7QrcQ.js → date-picker-field-rac-cwYdVf60.js} +40 -40
  29. package/dist/component/{date-picker-rac-C3nny4Tu.js → date-picker-rac-B7uR5ZnA.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-njri5kye.js → date-time-input-field-rac-PaKyrMb9.js} +98 -98
  31. package/dist/component/{date-time-input-rac-D9kJRPD-.js → date-time-input-rac-Ck8Edatx.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-D8cqL9dJ.js → dext-checkbox-group-rac-Cru3Lq4c.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-Dd1SbiE4.js → dext-checkbox-rac-wtMsRxly.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-C2r-njE7.js → dext-date-picker-rac-B34DtxLN.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-CAqXDbbj.js → dext-date-time-input-rac-BsdfLty5.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-B2VPep8Y.js → dext-dropdown-rac-DeZYnwo7.js} +1 -1
  37. package/dist/component/{dext-email-rac-24Jk1Mrj.js → dext-email-rac-B4GTK5H8.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-y4ohRhoE.js → dext-number-input-rac-BIyJJ9h0.js} +1 -1
  39. package/dist/component/{dext-phone-rac-CIKnuUWR.js → dext-phone-rac-lf64Ywlp.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-BVcTXiaB.js → dext-radio-group-rac-CGt1_jue.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-CZVnCJ70.js → dext-rating-input-rac-CbaW1lxS.js} +1 -1
  42. package/dist/component/{dext-tags-rac-CnlzoLOp.js → dext-tags-rac-DnHDnzD_.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-Bx5soEnf.js → dext-text-area-rac-C8DVKWKo.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-jm659H89.js → dext-text-input-rac-DVl-1SDY.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-DvdPiREA.js → dext-url-input-rac-CkpAMLF9.js} +1 -1
  46. package/dist/component/{dismiss-icon-CBZq_OBa.js → dismiss-icon-CwZIlL7w.js} +6 -6
  47. package/dist/component/{donation-rac-CE4WS0Lx.js → donation-rac-DCNG5ByO.js} +44 -44
  48. package/dist/component/{dropdown-field-rac-Bhp-OH4C.js → dropdown-field-rac-CVbM-0KX.js} +3 -3
  49. package/dist/component/{dropdown-rac-s7sa3er0.js → dropdown-rac-CE9IjTvE.js} +1 -1
  50. package/dist/component/{ecom-address-rac-CSrBFi_H.js → ecom-address-rac-BD_okFDt.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-BAbbwlHW.js → ecom-subscription-checkbox-rac-C7zdxqra.js} +2 -2
  52. package/dist/component/{email-input-field-rac-3G3Ozglm.js → email-input-field-rac-CY4wE0eP.js} +35 -35
  53. package/dist/component/{events-repeater-rac-BUy91Kxs.js → events-repeater-rac-Bh-TBEQG.js} +26 -26
  54. package/dist/component/{events-rsvp-rac-Gisnded3.js → events-rsvp-rac-BPhzKqUb.js} +3 -3
  55. package/dist/component/{field-error-headless-piKY_H3-.js → field-error-headless-D3lVhOaC.js} +1 -1
  56. package/dist/component/{field-label-headless-BueDpCx1.js → field-label-headless-CrZoTwxs.js} +5 -5
  57. package/dist/component/{file-upload-rac-CSsl-aS9.js → file-upload-rac-DYP83swC.js} +187 -186
  58. package/dist/component/{fixed-payment-rac-ChzdCJU5.js → fixed-payment-rac-DY7hXK7g.js} +11 -11
  59. package/dist/component/{form-DcxKWiG2.js → form-DpFQ9uO1.js} +3059 -2934
  60. package/dist/component/form.css +1 -1
  61. package/dist/component/form.js +1 -1
  62. package/dist/component/{header-field-rac-Cs75yckQ.js → header-field-rac-9wOBV_rW.js} +2 -2
  63. package/dist/component/{header-rac-CtYKxrpl.js → header-rac-gzKNBkq_.js} +1 -1
  64. package/dist/component/{image-choice-rac-Dmgx9mHc.js → image-choice-rac-B6dvv6Jc.js} +25 -25
  65. package/dist/component/{index-B6EvjVlP.js → index-CbCZUvYt.js} +2 -2
  66. package/dist/component/{index-BflhPqlx.js → index-DCl2274b.js} +4 -4
  67. package/dist/component/{isObjectLike-CgoQvRJK.js → isObjectLike-DDBjMXgH.js} +1 -1
  68. package/dist/component/{multiline-address-field-rac-Dp0Zf4Kf.js → multiline-address-field-rac-CPkSpMMb.js} +210 -210
  69. package/dist/component/{multiline-address-rac-C_mO6tFy.js → multiline-address-rac-DCnk-LvE.js} +1 -1
  70. package/dist/component/{number-input-field-rac-BqtaqBSU.js → number-input-field-rac-Dt0hM2jA.js} +19 -19
  71. package/dist/component/{number-input-rac-Cuwz2ZQV.js → number-input-rac-pjmjC2-7.js} +1 -1
  72. package/dist/component/{password-rac-_1CzsKwh.js → password-rac-D9Gmp1yw.js} +32 -32
  73. package/dist/component/{payment-input-rac-Im0lWoko.js → payment-input-rac-CI78trIl.js} +33 -33
  74. package/dist/component/{phone-input-field-rac-DWgYXcrE.js → phone-input-field-rac-BCPj6vEP.js} +39 -39
  75. package/dist/component/{phone-rac-B5Qf61W1.js → phone-rac-FAGNDAR-.js} +1 -1
  76. package/dist/component/{product-list-rac-C5EK2laJ.js → product-list-rac-D7n9P2wQ.js} +14 -14
  77. package/dist/component/{quiz-radio-group-rac-CP9zzyH6.js → quiz-radio-group-rac-BO55azn2.js} +1 -1
  78. package/dist/component/{radio-button-module-classes-CkGrAGkr.js → radio-button-module-classes-BIraDyOu.js} +35 -35
  79. package/dist/component/{radio-group-field-rac-C_42Fcne.js → radio-group-field-rac-BvUZ-DmS.js} +4 -4
  80. package/dist/component/{radio-group-rac-CXdbk24Q.js → radio-group-rac-qc0JijX9.js} +1 -1
  81. package/dist/component/{rating-input-field-rac-DCkEh6Aj.js → rating-input-field-rac-D3u_T_la.js} +18 -18
  82. package/dist/component/{rating-input-rac-B9A843l0.js → rating-input-rac-CqlPfSQQ.js} +1 -1
  83. package/dist/component/{rich-content-rac.module-CNC4XD5d.js → rich-content-rac.module-B4TapWZL.js} +9 -9
  84. package/dist/component/{rich-text-field-rac-5rrd72dQ.js → rich-text-field-rac-LgoEQuKS.js} +4 -4
  85. package/dist/component/{rich-text-rac-YrwQXZNA.js → rich-text-rac-1IcHKfEb.js} +1 -1
  86. package/dist/component/{service-dropdown-rac-CQCQPJXB.js → service-dropdown-rac-CMkRaLmg.js} +22 -22
  87. package/dist/component/{services-multi-choice-rac-CUzXOutN.js → services-multi-choice-rac-DzwHkD-j.js} +7 -7
  88. package/dist/component/{signature-rac-CCaJeBKX.js → signature-rac-D3X5-ScB.js} +71 -71
  89. package/dist/component/{submit-button-rac-DGWGdzRU.js → submit-button-rac-BWL76gny.js} +15 -15
  90. package/dist/component/{tags-field-rac-B_YaA_EP.js → tags-field-rac-BwGeFDfH.js} +24 -24
  91. package/dist/component/{tags-rac-CF-h7_KF.js → tags-rac-DU7-Kl1T.js} +1 -1
  92. package/dist/component/{text-area-field-rac-BQ5WJhWG.js → text-area-field-rac-BO_9zG3x.js} +19 -19
  93. package/dist/component/{text-area-rac-BFWz2X0C.js → text-area-rac-CG7vi5-F.js} +1 -1
  94. package/dist/component/{text-input-field-rac-Bxv2pGmX.js → text-input-field-rac-FWkVzsiY.js} +3 -3
  95. package/dist/component/{text-input-headless-B4aiikZS.js → text-input-headless-COFlfx6N.js} +9 -9
  96. package/dist/component/{text-input-rac-DeQ9w2CC.js → text-input-rac-D_7yUDzw.js} +1 -1
  97. package/dist/component/{time-input-rac-tu0cnsa5.js → time-input-rac-0Ggsm6qE.js} +24 -24
  98. package/dist/component/{url-input-field-rac-Cc6cm4so.js → url-input-field-rac-CH7kG_Qf.js} +25 -25
  99. package/dist/component/{url-input-rac-DeKtkN8j.js → url-input-rac-CjBn6ZWh.js} +1 -1
  100. package/dist/component/{use-dropdown-option-class-name-CkOKrSdx.js → use-dropdown-option-class-name-Cy_iJyiA.js} +2 -2
  101. package/dist/component/{use-dropdown-trigger-class-name-BPkfvqu4.js → use-dropdown-trigger-class-name-Ddu4_w_z.js} +26 -26
  102. package/dist/component/{use-element-state-class-name-Cvpi3dBc.js → use-element-state-class-name-DNjpnp27.js} +2 -2
  103. package/dist/component/{use-hoverable-input-class-name-rCSXDYsL.js → use-hoverable-input-class-name-Wy3Ujp2_.js} +2 -2
  104. package/dist/component/{use-is-forced-open-dropdown-CX5XR5lo.js → use-is-forced-open-dropdown-Vu0JjNY7.js} +4 -4
  105. package/dist/component/{use-native-mobile-input-CVBv_Asv.js → use-native-mobile-input-l8hf9N2p.js} +3 -3
  106. package/dist/component/{use-service-options-base-BnjbDbkj.js → use-service-options-base-Di4c__b_.js} +3 -3
  107. package/dist/component/use-text-input-class-name-BBZXre-_.js +6 -0
  108. package/package.json +2 -2
  109. package/dist/component/use-text-input-class-name-wxGkp-sq.js +0 -6
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-Bxv2pGmX.js";
2
+ import { T as e } from "./text-input-field-rac-FWkVzsiY.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  n as ContactsAddressRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { D as e } from "./date-input-field-rac-DhJqiwKI.js";
2
+ import { D as e } from "./date-input-field-rac-BFt0DKA9.js";
3
3
  const a = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  a as ContactsBirthdateRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-Bxv2pGmX.js";
2
+ import { T as e } from "./text-input-field-rac-FWkVzsiY.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  n as ContactsCompanyRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { E as e } from "./email-input-field-rac-3G3Ozglm.js";
2
+ import { E as e } from "./email-input-field-rac-CY4wE0eP.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as ContactsEmailRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-Bxv2pGmX.js";
2
+ import { T as e } from "./text-input-field-rac-FWkVzsiY.js";
3
3
  const m = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  m as ContactsFirstNameRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-Bxv2pGmX.js";
2
+ import { T as e } from "./text-input-field-rac-FWkVzsiY.js";
3
3
  const a = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  a as ContactsLastNameRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { P as e } from "./phone-input-field-rac-DWgYXcrE.js";
2
+ import { P as e } from "./phone-input-field-rac-BCPj6vEP.js";
3
3
  const r = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  r as ContactsPhoneRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-Bxv2pGmX.js";
2
+ import { T as e } from "./text-input-field-rac-FWkVzsiY.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  n as ContactsPositionRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { C as t } from "./checkbox-field-rac-Bs_vJ_oq.js";
2
+ import { C as t } from "./checkbox-field-rac-zE0dzJYu.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(t, null);
4
4
  export {
5
5
  c as ContactsSubscribeRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-Bxv2pGmX.js";
2
+ import { T as e } from "./text-input-field-rac-FWkVzsiY.js";
3
3
  const n = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  n as ContactsTaxIdRAC
@@ -1,4 +1,4 @@
1
- import { D as r } from "./form-DcxKWiG2.js";
1
+ import { D as r } from "./form-DpFQ9uO1.js";
2
2
  const o = {
3
3
  0: r.SUNDAY,
4
4
  1: r.MONDAY,
@@ -1,34 +1,34 @@
1
1
  import { RicosViewer as le } from "@wix/ricos/viewer";
2
2
  import y from "classnames";
3
- import t, { useMemo as T, useRef as Y, Children as ce, isValidElement as ie, useState as ae, useCallback as j } from "react";
4
- import { b4 as c, bN as C, bK as G, bF as J, bh as ne, bu as re, bP as k, bY as h, bb as de, bi as me, bC as ue, u as pe, X as Ee, am as be, w as X, x as De, M as fe, I as Ie, v as Ne, y as ye, z as Q } from "./form-DcxKWiG2.js";
5
- import { mergeProps as Ce, UNSAFE_PortalProvider as _e } from "react-aria";
6
- import { ListBoxItem as ge, Select as Oe, TextField as se, SelectValue as Le, Input as oe } from "react-aria-components";
3
+ import t, { useMemo as T, useRef as Y, Children as ce, isValidElement as ie, useState as ae, useCallback as G } from "react";
4
+ import { b5 as c, bO as _, bL as K, bG as Z, bi as ne, bv as re, bQ as k, bZ as h, bc as de, bj as me, bD as ue, u as pe, X as Ee, am as be, w as X, x as De, M as fe, I as Ie, v as Ne, y as ye, z as j } from "./form-DpFQ9uO1.js";
5
+ import { mergeProps as _e, UNSAFE_PortalProvider as Ce } from "react-aria";
6
+ import { ListBoxItem as Oe, Select as ge, TextField as se, SelectValue as Le, Input as oe } from "react-aria-components";
7
7
  import { f as p, a as $ } from "./find-child-C60k4CxG.js";
8
- import { g as he, H as Z } from "./hidden-part-label-Dc5eP4S0.js";
9
- import { D as Fe, E as ve } from "./field-error-headless-piKY_H3-.js";
10
- import { L as Ae } from "./field-label-headless-BueDpCx1.js";
8
+ import { g as he, H as J } from "./hidden-part-label-Dc5eP4S0.js";
9
+ import { D as Fe, E as ve } from "./field-error-headless-D3lVhOaC.js";
10
+ import { L as Ae } from "./field-label-headless-CrZoTwxs.js";
11
11
  import { F as Te } from "./fieldset-headless-CD3fds9J.js";
12
- import { u as Pe, a as Re, N as Me, D as Se } from "./dismiss-icon-CBZq_OBa.js";
13
- import { u as Ye, N as Be } from "./use-native-mobile-input-CVBv_Asv.js";
12
+ import { u as Pe, a as Re, N as Me, D as Se } from "./dismiss-icon-CwZIlL7w.js";
13
+ import { u as Ye, N as Be } from "./use-native-mobile-input-l8hf9N2p.js";
14
14
  import { N as He, E as xe, S as Ve } from "./non-modal-popover-D-u13tmp.js";
15
15
  import { t as Ue, C as we } from "./calendar-icon-DOeHn3jt.js";
16
- import { u as ke } from "./use-is-forced-open-dropdown-CX5XR5lo.js";
16
+ import { u as ke } from "./use-is-forced-open-dropdown-Vu0JjNY7.js";
17
17
  import { u as $e } from "./use-native-state-class-name-B0m2ghbS.js";
18
- import { V as qe, a as ze } from "./use-dropdown-option-class-name-CkOKrSdx.js";
19
- import { C as Ke } from "./chevron-down-icon-CcpVm6B-.js";
18
+ import { V as qe, a as ze } from "./use-dropdown-option-class-name-Cy_iJyiA.js";
19
+ import { C as Qe } from "./chevron-down-icon-CcpVm6B-.js";
20
20
  import { E as We } from "./error-icon-hZxQ6DEy.js";
21
21
  import { H as Xe } from "./custom-focus-class-_483Pkwp.js";
22
22
  import { s as E } from "./field-rac.module-D0QzJXUv.js";
23
- import { u as V } from "./use-hoverable-input-class-name-rCSXDYsL.js";
24
- const Qe = {
23
+ import { u as V } from "./use-hoverable-input-class-name-Wy3Ujp2_.js";
24
+ const je = {
25
25
  [c.MONTH]: "bday-month",
26
26
  [c.DAY]: "bday-day",
27
27
  [c.YEAR]: "bday-year"
28
- }, ee = (e, a) => e === "bday" ? Qe[a] : void 0, n = ({ children: e, className: a }) => {
29
- const { id: o, required: s, onBlur: r, onFocus: l, FieldLayout: d } = C(), { inputId: i, labelId: m, ariaDescribedBy: u } = G(), { regionalFormat: b } = J(), D = Ye(), f = T(() => ne(b).filter(re).map((S) => S.toUpperCase()), [
28
+ }, ee = (e, a) => e === "bday" ? je[a] : void 0, n = ({ children: e, className: a }) => {
29
+ const { id: o, required: s, onBlur: r, onFocus: l, FieldLayout: d } = _(), { inputId: i, labelId: m, ariaDescribedBy: u } = K(), { regionalFormat: b } = Z(), D = Ye(), f = T(() => ne(b).filter(re).map((S) => S.toUpperCase()), [
30
30
  b
31
- ]), I = p(e, n.Label), v = p(e, n.Description), O = p(e, n.Error), A = p(e, n.NativeDate), N = {
31
+ ]), I = p(e, n.Label), v = p(e, n.Description), g = p(e, n.Error), A = p(e, n.NativeDate), N = {
32
32
  [c.MONTH]: p(e, n.Month),
33
33
  [c.DAY]: p(e, n.Day),
34
34
  [c.YEAR]: p(e, n.Year)
@@ -47,32 +47,32 @@ const Qe = {
47
47
  fieldId: o,
48
48
  renderLabel: () => R,
49
49
  renderInput: () => M,
50
- renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, O, v)
50
+ renderDescription: () => /* @__PURE__ */ t.createElement(t.Fragment, null, g, v)
51
51
  });
52
52
  }, L = ({ children: e, className: a }) => {
53
- const { id: o, disabled: s, readOnly: r, showDateLabels: l, hidePlaceholder: d, autoComplete: i } = C(), { labelId: m, partAriaLabelledBy: u, ariaDescribedBy: b } = F(c.MONTH), { partValue: D, partError: f, onPartChange: I } = P(c.MONTH), { t: v } = h(), [O, A] = ae(!1), N = ke(o), [R, M] = ae(null), S = d ? xe : v("field.date.placeholder.month"), q = j((x) => {
53
+ const { id: o, disabled: s, readOnly: r, showDateLabels: l, hidePlaceholder: d, autoComplete: i } = _(), { labelId: m, partAriaLabelledBy: u, ariaDescribedBy: b } = F(c.MONTH), { partValue: D, partError: f, onPartChange: I } = P(c.MONTH), { t: v } = h(), [g, A] = ae(!1), N = ke(o), [R, M] = ae(null), S = d ? xe : v("field.date.placeholder.month"), q = G((x) => {
54
54
  r || I(typeof x == "string" ? x : "");
55
55
  }, [
56
56
  I,
57
57
  r
58
- ]), z = j((x) => {
58
+ ]), z = G((x) => {
59
59
  A(x && !r);
60
60
  }, [
61
61
  r
62
- ]), K = p(e, L.Label), W = p(e, L.Trigger), _ = p(e, L.Options);
62
+ ]), Q = p(e, L.Label), W = p(e, L.Trigger), C = p(e, L.Options);
63
63
  return /* @__PURE__ */ t.createElement("div", {
64
64
  className: a,
65
65
  "data-date-field": !0
66
- }, l ? K : /* @__PURE__ */ t.createElement(Z, {
66
+ }, l ? Q : /* @__PURE__ */ t.createElement(J, {
67
67
  id: m
68
68
  }, v("field.date.label.month")), /* @__PURE__ */ t.createElement("div", {
69
69
  ref: M,
70
70
  style: {
71
71
  display: "contents"
72
72
  }
73
- }), /* @__PURE__ */ t.createElement(_e, {
73
+ }), /* @__PURE__ */ t.createElement(Ce, {
74
74
  getContainer: () => R
75
- }, /* @__PURE__ */ t.createElement(Oe, {
75
+ }, /* @__PURE__ */ t.createElement(ge, {
76
76
  autoComplete: ee(i, c.MONTH),
77
77
  "aria-labelledby": u,
78
78
  "aria-describedby": b,
@@ -81,16 +81,16 @@ const Qe = {
81
81
  isDisabled: s,
82
82
  isInvalid: f,
83
83
  placeholder: S,
84
- isOpen: N || O,
84
+ isOpen: N || g,
85
85
  onOpenChange: N ? void 0 : z
86
- }, W, $(_, {
86
+ }, W, $(C, {
87
87
  isForcedOpen: N
88
88
  }))));
89
- }, je = ({ className: e }) => /* @__PURE__ */ t.createElement(te, {
89
+ }, Ge = ({ className: e }) => /* @__PURE__ */ t.createElement(te, {
90
90
  datePart: c.MONTH,
91
91
  className: e
92
- }), Ge = ({ children: e, className: a }) => {
93
- const { id: o, readOnly: s } = C(), { inputId: r } = F(c.MONTH), { partError: l, isFirstPart: d } = P(c.MONTH), i = Y(null);
92
+ }), Ke = ({ children: e, className: a }) => {
93
+ const { id: o, readOnly: s } = _(), { inputId: r } = F(c.MONTH), { partError: l, isFirstPart: d } = P(c.MONTH), i = Y(null);
94
94
  return k(() => {
95
95
  var m;
96
96
  d && ((m = i.current) == null || m.focus({
@@ -105,7 +105,7 @@ const Qe = {
105
105
  "data-readonly": s || void 0
106
106
  }, /* @__PURE__ */ t.createElement(Le, null), e);
107
107
  }, U = ({ children: e, className: a, ...o }) => {
108
- const { isForcedOpen: s } = o, { language: r } = J(), l = T(() => he(r), [
108
+ const { isForcedOpen: s } = o, { language: r } = Z(), l = T(() => he(r), [
109
109
  r
110
110
  ]), d = p(e, U.Option) ?? /* @__PURE__ */ t.createElement(U.Option, null);
111
111
  return /* @__PURE__ */ t.createElement(He, {
@@ -120,24 +120,24 @@ const Qe = {
120
120
  value: String(m + 1),
121
121
  label: i
122
122
  }))));
123
- }, Je = ({ className: e, ...a }) => {
123
+ }, Ze = ({ className: e, ...a }) => {
124
124
  const { value: o, label: s } = a;
125
- return /* @__PURE__ */ t.createElement(ge, {
125
+ return /* @__PURE__ */ t.createElement(Oe, {
126
126
  className: e,
127
127
  id: o,
128
128
  textValue: s
129
129
  }, s);
130
130
  };
131
- L.Label = je;
132
- L.Trigger = Ge;
131
+ L.Label = Ge;
132
+ L.Trigger = Ke;
133
133
  L.Options = U;
134
- U.Option = Je;
134
+ U.Option = Ze;
135
135
  const B = ({ children: e, className: a }) => {
136
- const { disabled: o, readOnly: s, showDateLabels: r } = C(), { labelId: l, partAriaLabelledBy: d, ariaDescribedBy: i } = F(c.DAY), { partValue: m, partError: u, onPartChange: b } = P(c.DAY), { t: D } = h(), f = p(e, B.Label), I = p(e, B.Input);
136
+ const { disabled: o, readOnly: s, showDateLabels: r } = _(), { labelId: l, partAriaLabelledBy: d, ariaDescribedBy: i } = F(c.DAY), { partValue: m, partError: u, onPartChange: b } = P(c.DAY), { t: D } = h(), f = p(e, B.Label), I = p(e, B.Input);
137
137
  return /* @__PURE__ */ t.createElement("div", {
138
138
  className: a,
139
139
  "data-date-field": !0
140
- }, r ? f : /* @__PURE__ */ t.createElement(Z, {
140
+ }, r ? f : /* @__PURE__ */ t.createElement(J, {
141
141
  id: l
142
142
  }, D("field.date.label.day")), /* @__PURE__ */ t.createElement(se, {
143
143
  "aria-labelledby": d,
@@ -148,11 +148,11 @@ const B = ({ children: e, className: a }) => {
148
148
  isReadOnly: s,
149
149
  isInvalid: u
150
150
  }, I));
151
- }, Ze = ({ className: e }) => /* @__PURE__ */ t.createElement(te, {
151
+ }, Je = ({ className: e }) => /* @__PURE__ */ t.createElement(te, {
152
152
  datePart: c.DAY,
153
153
  className: e
154
154
  }), et = ({ className: e }) => {
155
- const { id: a, hidePlaceholder: o, autoComplete: s } = C(), { inputId: r } = F(c.DAY), { isFirstPart: l } = P(c.DAY), { t: d } = h(), i = Y(null), m = o ? void 0 : d("field.date.placeholder.day");
155
+ const { id: a, hidePlaceholder: o, autoComplete: s } = _(), { inputId: r } = F(c.DAY), { isFirstPart: l } = P(c.DAY), { t: d } = h(), i = Y(null), m = o ? void 0 : d("field.date.placeholder.day");
156
156
  return k(() => {
157
157
  var u;
158
158
  l && ((u = i.current) == null || u.focus({
@@ -169,14 +169,14 @@ const B = ({ children: e, className: a }) => {
169
169
  "data-hook": c.DAY
170
170
  });
171
171
  };
172
- B.Label = Ze;
172
+ B.Label = Je;
173
173
  B.Input = et;
174
174
  const H = ({ children: e, className: a }) => {
175
- const { disabled: o, readOnly: s, showDateLabels: r } = C(), { labelId: l, partAriaLabelledBy: d, ariaDescribedBy: i } = F(c.YEAR), { partValue: m, partError: u, onPartChange: b } = P(c.YEAR), { t: D } = h(), f = p(e, H.Label), I = p(e, H.Input);
175
+ const { disabled: o, readOnly: s, showDateLabels: r } = _(), { labelId: l, partAriaLabelledBy: d, ariaDescribedBy: i } = F(c.YEAR), { partValue: m, partError: u, onPartChange: b } = P(c.YEAR), { t: D } = h(), f = p(e, H.Label), I = p(e, H.Input);
176
176
  return /* @__PURE__ */ t.createElement("div", {
177
177
  className: a,
178
178
  "data-date-field": !0
179
- }, r ? f : /* @__PURE__ */ t.createElement(Z, {
179
+ }, r ? f : /* @__PURE__ */ t.createElement(J, {
180
180
  id: l
181
181
  }, D("field.date.label.year")), /* @__PURE__ */ t.createElement(se, {
182
182
  "aria-labelledby": d,
@@ -191,7 +191,7 @@ const H = ({ children: e, className: a }) => {
191
191
  datePart: c.YEAR,
192
192
  className: e
193
193
  }), at = ({ className: e }) => {
194
- const { id: a, hidePlaceholder: o, autoComplete: s } = C(), { inputId: r } = F(c.YEAR), { isFirstPart: l } = P(c.YEAR), { t: d } = h(), i = Y(null), m = o ? void 0 : d("field.date.placeholder.year");
194
+ const { id: a, hidePlaceholder: o, autoComplete: s } = _(), { inputId: r } = F(c.YEAR), { isFirstPart: l } = P(c.YEAR), { t: d } = h(), i = Y(null), m = o ? void 0 : d("field.date.placeholder.year");
195
195
  return k(() => {
196
196
  var u;
197
197
  l && ((u = i.current) == null || u.focus({
@@ -211,24 +211,24 @@ const H = ({ children: e, className: a }) => {
211
211
  H.Label = tt;
212
212
  H.Input = at;
213
213
  const w = ({ className: e, children: a }) => {
214
- const { id: o, value: s, onChange: r, required: l, disabled: d, readOnly: i, hasError: m, autoComplete: u, onBlur: b, onFocus: D } = C(), { inputId: f, labelId: I, ariaDescribedBy: v } = G(), O = Y(null), A = Y(null);
214
+ const { id: o, value: s, onChange: r, required: l, disabled: d, readOnly: i, hasError: m, autoComplete: u, onBlur: b, onFocus: D } = _(), { inputId: f, labelId: I, ariaDescribedBy: v } = K(), g = Y(null), A = Y(null);
215
215
  k(() => {
216
- var _;
217
- (_ = O.current) == null || _.focus({
216
+ var C;
217
+ (C = g.current) == null || C.focus({
218
218
  preventScroll: !0
219
219
  });
220
220
  }, o);
221
- const N = Ue(s), { announcement: R, announceCleared: M } = Pe(!!N), S = !!N && !l && !d && !i, q = p(a, w.Clear), z = ce.map(a, (_) => /* @__PURE__ */ ie(_) && _.type === w.Clear ? null : _), { className: K, stateProps: W } = $e(e);
221
+ const N = Ue(s), { announcement: R, announceCleared: M } = Pe(!!N), S = !!N && !l && !d && !i, q = p(a, w.Clear), z = ce.map(a, (C) => /* @__PURE__ */ ie(C) && C.type === w.Clear ? null : C), { className: Q, stateProps: W } = $e(e);
222
222
  return /* @__PURE__ */ t.createElement(Be, {
223
223
  ref: A,
224
224
  groupLabelId: I,
225
225
  announcement: R
226
226
  }, /* @__PURE__ */ t.createElement(Re, {
227
- ref: O,
227
+ ref: g,
228
228
  type: "date",
229
229
  id: f,
230
- className: K,
231
- ...Ce(W, {
230
+ className: Q,
231
+ ..._e(W, {
232
232
  onFocus: D,
233
233
  onBlur: b
234
234
  }),
@@ -242,7 +242,7 @@ const w = ({ className: e, children: a }) => {
242
242
  readOnly: i,
243
243
  required: l
244
244
  }), z, S ? $(q, {
245
- input: O,
245
+ input: g,
246
246
  control: A,
247
247
  labelId: I,
248
248
  onClear: () => {
@@ -259,7 +259,7 @@ n.Year = H;
259
259
  n.Description = Fe;
260
260
  n.Error = ve;
261
261
  function F(e) {
262
- const { inputId: a, labelId: o, ariaDescribedBy: s } = G();
262
+ const { inputId: a, labelId: o, ariaDescribedBy: s } = K();
263
263
  return T(() => {
264
264
  const r = e.toLowerCase(), l = `${a}-${r}-label`;
265
265
  return {
@@ -280,12 +280,12 @@ function F(e) {
280
280
  ]);
281
281
  }
282
282
  function P(e) {
283
- const { value: a, onChange: o, hasError: s = !1 } = C(), { regionalFormat: r } = J(), l = T(() => de(a ?? ""), [
283
+ const { value: a, onChange: o, hasError: s = !1 } = _(), { regionalFormat: r } = Z(), l = T(() => de(a ?? ""), [
284
284
  a
285
285
  ]), d = T(() => me(s, a ?? ""), [
286
286
  a,
287
287
  s
288
- ]), i = l[e] || "", m = j((b) => {
288
+ ]), i = l[e] || "", m = G((b) => {
289
289
  const D = ue(b, e, l);
290
290
  o(D);
291
291
  }, [
@@ -311,7 +311,7 @@ function te({ datePart: e, className: a }) {
311
311
  className: a
312
312
  }, d);
313
313
  }
314
- const nt = "_fields_b2cgx_1", rt = "_month_b2cgx_10", st = "_day_b2cgx_11", ot = "_year_b2cgx_12", lt = "_dayInput_b2cgx_28", ct = "_yearInput_b2cgx_29", it = "_monthTrigger_b2cgx_33", dt = "_monthOption_b2cgx_53", g = {
314
+ const nt = "_fields_b2cgx_1", rt = "_month_b2cgx_10", st = "_day_b2cgx_11", ot = "_year_b2cgx_12", lt = "_dayInput_b2cgx_28", ct = "_yearInput_b2cgx_29", it = "_monthTrigger_b2cgx_33", dt = "_monthOption_b2cgx_53", O = {
315
315
  fields: nt,
316
316
  month: rt,
317
317
  day: st,
@@ -325,41 +325,41 @@ const nt = "_fields_b2cgx_1", rt = "_month_b2cgx_10", st = "_day_b2cgx_11", ot =
325
325
  locale: a
326
326
  }), Yt = () => {
327
327
  const { t: e } = h(), a = V(Ne, [
328
- g.monthTrigger
329
- ]), o = ze(ye, g.monthOption, Xe), s = V(Q, [
330
- g.dayInput
331
- ]), r = V(Q, [
332
- g.yearInput
333
- ]), l = V(Q, [
328
+ O.monthTrigger
329
+ ]), o = ze(ye, O.monthOption, Xe), s = V(j, [
330
+ O.dayInput
331
+ ]), r = V(j, [
332
+ O.yearInput
333
+ ]), l = V(j, [
334
334
  E.nativeInput,
335
335
  E.nativeWithLeadingIcon
336
336
  ]);
337
337
  return /* @__PURE__ */ t.createElement(n, {
338
- className: y(pe, g.fields)
338
+ className: y(pe, O.fields)
339
339
  }, /* @__PURE__ */ t.createElement(n.Label, {
340
340
  className: y(Ee, E.label)
341
341
  }, /* @__PURE__ */ t.createElement(n.Label.Required, {
342
342
  className: y(be, E.requiredMark)
343
343
  })), /* @__PURE__ */ t.createElement(n.Month, {
344
- className: g.month
344
+ className: O.month
345
345
  }, /* @__PURE__ */ t.createElement(n.Month.Label, {
346
346
  className: y(X, E.label)
347
347
  }), /* @__PURE__ */ t.createElement(n.Month.Trigger, {
348
348
  className: a
349
- }, /* @__PURE__ */ t.createElement(Ke, {
349
+ }, /* @__PURE__ */ t.createElement(Qe, {
350
350
  className: E.dropdownIcon
351
351
  })), /* @__PURE__ */ t.createElement(n.Month.Options, {
352
352
  className: y(De, E.selectPopover, E.dropdownPopover)
353
353
  }, /* @__PURE__ */ t.createElement(n.Month.Options.Option, {
354
354
  className: o
355
355
  }))), /* @__PURE__ */ t.createElement(n.Day, {
356
- className: g.day
356
+ className: O.day
357
357
  }, /* @__PURE__ */ t.createElement(n.Day.Label, {
358
358
  className: y(X, E.label)
359
359
  }), /* @__PURE__ */ t.createElement(n.Day.Input, {
360
360
  className: s
361
361
  })), /* @__PURE__ */ t.createElement(n.Year, {
362
- className: g.year
362
+ className: O.year
363
363
  }, /* @__PURE__ */ t.createElement(n.Year.Label, {
364
364
  className: y(X, E.label)
365
365
  }), /* @__PURE__ */ t.createElement(n.Year.Input, {
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { D as e } from "./date-input-field-rac-DhJqiwKI.js";
2
+ import { D as e } from "./date-input-field-rac-BFt0DKA9.js";
3
3
  const o = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  o as DateInputRAC
@@ -1,26 +1,26 @@
1
1
  import { RicosViewer as ce } from "@wix/ricos/viewer";
2
2
  import N from "classnames";
3
- import e, { useState as $, useCallback as J, useRef as A, useId as ie, Children as me, isValidElement as ue, useContext as de, useMemo as w } from "react";
4
- import { D as v, bN as S, bK as W, bF as q, bP as Z, bY as ge, X as Ee, am as pe, H as fe, M as Ce, I as De, G } from "./form-DcxKWiG2.js";
3
+ import e, { useState as $, useCallback as z, useRef as A, useId as ie, Children as me, isValidElement as ue, useContext as de, useMemo as w } from "react";
4
+ import { D as v, bO as S, bL as K, bG as q, bQ as J, bZ as ge, X as Ee, am as pe, H as fe, M as Ce, I as De, G } from "./form-DpFQ9uO1.js";
5
5
  import { parseDate as ye } from "@internationalized/date";
6
6
  import { UNSAFE_PortalProvider as Ne, mergeProps as ve } from "react-aria";
7
- import { I18nProvider as be, DatePicker as Ie, DatePickerStateContext as he, Group as Se, DateInput as _e, DateSegment as Te, Calendar as Pe, CalendarMonthPicker as Oe, CalendarYearPicker as Fe, CalendarGrid as Le, Dialog as Ae, CalendarCell as Re, Button as ee, Select as te, SelectValue as ae, ListBox as re, ListBoxItem as ne } from "react-aria-components";
7
+ import { I18nProvider as be, DatePicker as Ie, DatePickerStateContext as he, Group as Se, DateInput as _e, DateSegment as Te, Calendar as Oe, CalendarMonthPicker as Pe, CalendarYearPicker as Fe, CalendarGrid as Le, Dialog as Ae, CalendarCell as Re, Button as ee, Select as te, SelectValue as ae, ListBox as re, ListBoxItem as ne } from "react-aria-components";
8
8
  import { g as ke, c as j } from "./calendar.module-BMUyMVja.js";
9
9
  import { f as E, a as h } from "./find-child-C60k4CxG.js";
10
- import { D as Me, E as xe } from "./field-error-headless-piKY_H3-.js";
11
- import { L as Be } from "./field-label-headless-BueDpCx1.js";
12
- import { u as Ye, a as Ve, N as Ue, D as we } from "./dismiss-icon-CBZq_OBa.js";
13
- import { u as Ke, N as We } from "./use-native-mobile-input-CVBv_Asv.js";
10
+ import { D as Me, E as xe } from "./field-error-headless-D3lVhOaC.js";
11
+ import { L as Be } from "./field-label-headless-CrZoTwxs.js";
12
+ import { u as Ye, a as Ve, N as Ue, D as we } from "./dismiss-icon-CwZIlL7w.js";
13
+ import { u as We, N as Ke } from "./use-native-mobile-input-l8hf9N2p.js";
14
14
  import { D as qe, N as H, S as le } from "./non-modal-popover-D-u13tmp.js";
15
15
  import { t as He, C as Q } from "./calendar-icon-DOeHn3jt.js";
16
- import { a as $e } from "./use-is-forced-open-dropdown-CX5XR5lo.js";
16
+ import { a as $e } from "./use-is-forced-open-dropdown-Vu0JjNY7.js";
17
17
  import { u as Ge } from "./use-native-state-class-name-B0m2ghbS.js";
18
- import { i as je } from "./date-availability-Bt56LTk9.js";
19
- import { C as K } from "./chevron-down-icon-CcpVm6B-.js";
18
+ import { i as je } from "./date-availability--3J2b6Ur.js";
19
+ import { C as W } from "./chevron-down-icon-CcpVm6B-.js";
20
20
  import { E as Qe } from "./error-icon-hZxQ6DEy.js";
21
21
  import { H as Xe } from "./custom-focus-class-_483Pkwp.js";
22
22
  import { s as g } from "./field-rac.module-D0QzJXUv.js";
23
- import { u as X } from "./use-hoverable-input-class-name-rCSXDYsL.js";
23
+ import { u as X } from "./use-hoverable-input-class-name-Wy3Ujp2_.js";
24
24
  const oe = [
25
25
  v.SUNDAY,
26
26
  v.MONDAY,
@@ -29,14 +29,14 @@ const oe = [
29
29
  v.THURSDAY,
30
30
  v.FRIDAY,
31
31
  v.SATURDAY
32
- ], ze = {
32
+ ], Ze = {
33
33
  availableDays: oe
34
- }, Je = (t) => {
34
+ }, ze = (t) => {
35
35
  if (!t)
36
36
  return !1;
37
37
  const { availableDays: a, availableDates: l, unavailableDates: n } = t;
38
38
  return !!a && !oe.every((s) => a.includes(s)) || !!(l != null && l.length) || !!(n != null && n.length);
39
- }, Ze = ({ className: t, ...a }) => {
39
+ }, Je = ({ className: t, ...a }) => {
40
40
  const { id: l, text: n } = a;
41
41
  return /* @__PURE__ */ e.createElement("span", {
42
42
  id: l,
@@ -45,14 +45,14 @@ const oe = [
45
45
  }, n);
46
46
  }, et = () => {
47
47
  const { availability: t } = S();
48
- return Ke() && !Je(t);
48
+ return We() && !ze(t);
49
49
  }, r = ({ children: t }) => {
50
- const { id: a, value: l, onChange: n, disabled: i, required: s, onBlur: d, onFocus: o, FieldLayout: m, hasError: u, readOnly: C } = S(), { labelId: D } = W(), { regionalFormat: _ } = q(), [c, T] = $(null), [P, F] = $(!1), y = $e(a), R = et(), k = J((f) => {
50
+ const { id: a, value: l, onChange: n, disabled: i, required: s, onBlur: d, onFocus: o, FieldLayout: m, hasError: u, readOnly: C } = S(), { labelId: D } = K(), { regionalFormat: _ } = q(), [c, T] = $(null), [O, F] = $(!1), y = $e(a), R = et(), k = z((f) => {
51
51
  const se = ut(f);
52
52
  n(se);
53
53
  }, [
54
54
  n
55
- ]), M = E(t, r.Label), x = E(t, r.Control), B = E(t, r.Calendar), O = E(t, r.Description), L = E(t, r.Error), Y = E(t, r.NativeDate), V = mt(l), U = R ? Y : /* @__PURE__ */ e.createElement(be, {
55
+ ]), M = E(t, r.Label), x = E(t, r.Control), B = E(t, r.Calendar), P = E(t, r.Description), L = E(t, r.Error), Y = E(t, r.NativeDate), V = mt(l), U = R ? Y : /* @__PURE__ */ e.createElement(be, {
56
56
  locale: _
57
57
  }, /* @__PURE__ */ e.createElement("div", {
58
58
  ref: T,
@@ -71,7 +71,7 @@ const oe = [
71
71
  isRequired: s,
72
72
  onBlur: d,
73
73
  onFocus: o,
74
- isOpen: y || P,
74
+ isOpen: y || O,
75
75
  onOpenChange: y ? void 0 : F
76
76
  }, x, h(B, {
77
77
  isForcedOpen: y
@@ -80,10 +80,10 @@ const oe = [
80
80
  fieldId: a,
81
81
  renderLabel: () => M,
82
82
  renderInput: () => U,
83
- renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, L, O)
83
+ renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, L, P)
84
84
  });
85
85
  }, tt = ({ children: t, className: a }) => {
86
- const { inputId: l, ariaDescribedBy: n } = W(), { hasError: i, disabled: s, readOnly: d } = S(), o = de(he), m = J((u) => {
86
+ const { inputId: l, ariaDescribedBy: n } = K(), { hasError: i, disabled: s, readOnly: d } = S(), o = de(he), m = z((u) => {
87
87
  if (!o || o.isOpen || s || d)
88
88
  return;
89
89
  const C = u.target;
@@ -105,7 +105,7 @@ const oe = [
105
105
  }, t);
106
106
  }, at = ({ className: t }) => {
107
107
  const { id: a, placeholder: l } = S(), { regionalFormat: n } = q(), i = A(null), s = A(!1);
108
- Z(() => {
108
+ J(() => {
109
109
  var o;
110
110
  (o = i.current) == null || o.focus({
111
111
  preventScroll: !0
@@ -141,7 +141,7 @@ const oe = [
141
141
  i
142
142
  ]), o = w(() => (c) => {
143
143
  const T = new Date(c.year, c.month - 1, c.day);
144
- return !je(T, s || ze);
144
+ return !je(T, s || Ze);
145
145
  }, [
146
146
  s
147
147
  ]), m = E(t, p.Day) ?? /* @__PURE__ */ e.createElement(p.Day, null), u = E(t, p.PreviousTrigger), C = E(t, p.NextTrigger), D = E(t, p.MonthTrigger), _ = E(t, p.YearTrigger);
@@ -150,11 +150,11 @@ const oe = [
150
150
  containerPadding: 0
151
151
  }, /* @__PURE__ */ e.createElement(nt, {
152
152
  isForcedOpen: n
153
- }, /* @__PURE__ */ e.createElement(Pe, {
153
+ }, /* @__PURE__ */ e.createElement(Oe, {
154
154
  autoFocus: n ? !1 : void 0,
155
155
  firstDayOfWeek: gt(d),
156
156
  isDateUnavailable: o
157
- }, /* @__PURE__ */ e.createElement("header", null, u, /* @__PURE__ */ e.createElement(Oe, null, (c) => h(D, {
157
+ }, /* @__PURE__ */ e.createElement("header", null, u, /* @__PURE__ */ e.createElement(Pe, null, (c) => h(D, {
158
158
  ariaLabel: c["aria-label"],
159
159
  selectedKey: c.value,
160
160
  onSelectionChange: c.onChange,
@@ -226,20 +226,20 @@ p.NextTrigger = st;
226
226
  p.MonthTrigger = ct;
227
227
  p.YearTrigger = it;
228
228
  const b = ({ className: t, children: a }) => {
229
- const { id: l, value: n, onChange: i, required: s, disabled: d, readOnly: o, hasError: m, placeholder: u, onBlur: C, onFocus: D } = S(), { inputId: _, labelId: c, ariaDescribedBy: T } = W(), P = A(null), F = A(null);
230
- Z(() => {
229
+ const { id: l, value: n, onChange: i, required: s, disabled: d, readOnly: o, hasError: m, placeholder: u, onBlur: C, onFocus: D } = S(), { inputId: _, labelId: c, ariaDescribedBy: T } = K(), O = A(null), F = A(null);
230
+ J(() => {
231
231
  var f;
232
- (f = P.current) == null || f.focus({
232
+ (f = O.current) == null || f.focus({
233
233
  preventScroll: !0
234
234
  });
235
235
  }, l);
236
- const y = He(n), { announcement: R, announceCleared: k } = Ye(!!y), M = !!y && !s && !d && !o, x = E(a, b.Clear), B = E(a, b.Placeholder), O = y ? "" : u, L = ie(), Y = me.map(a, (f) => /* @__PURE__ */ ue(f) && (f.type === b.Clear || f.type === b.Placeholder) ? null : f), { className: V, stateProps: U } = Ge(t);
237
- return /* @__PURE__ */ e.createElement(We, {
236
+ const y = He(n), { announcement: R, announceCleared: k } = Ye(!!y), M = !!y && !s && !d && !o, x = E(a, b.Clear), B = E(a, b.Placeholder), P = y ? "" : u, L = ie(), Y = me.map(a, (f) => /* @__PURE__ */ ue(f) && (f.type === b.Clear || f.type === b.Placeholder) ? null : f), { className: V, stateProps: U } = Ge(t);
237
+ return /* @__PURE__ */ e.createElement(Ke, {
238
238
  ref: F,
239
239
  groupLabelId: c,
240
240
  announcement: R
241
241
  }, /* @__PURE__ */ e.createElement(Ve, {
242
- ref: P,
242
+ ref: O,
243
243
  type: "date",
244
244
  id: _,
245
245
  className: V,
@@ -250,7 +250,7 @@ const b = ({ className: t, children: a }) => {
250
250
  "aria-labelledby": c,
251
251
  "aria-describedby": [
252
252
  T,
253
- O && L
253
+ P && L
254
254
  ].filter(Boolean).join(" ") || void 0,
255
255
  "aria-invalid": m || void 0,
256
256
  value: y,
@@ -258,11 +258,11 @@ const b = ({ className: t, children: a }) => {
258
258
  disabled: d,
259
259
  readOnly: o,
260
260
  required: s
261
- }), Y, O ? h(B, {
261
+ }), Y, P ? h(B, {
262
262
  id: L,
263
- text: O
263
+ text: P
264
264
  }) : null, M ? h(x, {
265
- input: P,
265
+ input: O,
266
266
  control: F,
267
267
  labelId: c,
268
268
  onClear: () => {
@@ -271,7 +271,7 @@ const b = ({ className: t, children: a }) => {
271
271
  }) : null);
272
272
  };
273
273
  b.Clear = Ue;
274
- b.Placeholder = Ze;
274
+ b.Placeholder = Je;
275
275
  r.Label = Be;
276
276
  r.NativeDate = b;
277
277
  r.Control = tt;
@@ -331,7 +331,7 @@ const Et = "_control_1le52_1", pt = "_segments_1le52_14", ft = "_trigger_1le52_7
331
331
  }), vt = {
332
332
  left: 90,
333
333
  right: -90
334
- }, z = ({ direction: t }) => /* @__PURE__ */ e.createElement(K, {
334
+ }, Z = ({ direction: t }) => /* @__PURE__ */ e.createElement(W, {
335
335
  style: {
336
336
  transform: `rotate(${vt[t]}deg)`
337
337
  }
@@ -363,13 +363,13 @@ const Et = "_control_1le52_1", pt = "_segments_1le52_14", ft = "_trigger_1le52_7
363
363
  "aria-label": t("date-picker.a11y.clear-button")
364
364
  }, /* @__PURE__ */ e.createElement(we, null))), /* @__PURE__ */ e.createElement(r.Calendar, {
365
365
  className: N(fe, g.selectPopover, I.calendarPopover)
366
- }, /* @__PURE__ */ e.createElement(r.Calendar.PreviousTrigger, null, /* @__PURE__ */ e.createElement(z, {
366
+ }, /* @__PURE__ */ e.createElement(r.Calendar.PreviousTrigger, null, /* @__PURE__ */ e.createElement(Z, {
367
367
  direction: "left"
368
- })), /* @__PURE__ */ e.createElement(r.Calendar.MonthTrigger, null, /* @__PURE__ */ e.createElement(K, {
368
+ })), /* @__PURE__ */ e.createElement(r.Calendar.MonthTrigger, null, /* @__PURE__ */ e.createElement(W, {
369
369
  className: g.dropdownIcon
370
- })), /* @__PURE__ */ e.createElement(r.Calendar.YearTrigger, null, /* @__PURE__ */ e.createElement(K, {
370
+ })), /* @__PURE__ */ e.createElement(r.Calendar.YearTrigger, null, /* @__PURE__ */ e.createElement(W, {
371
371
  className: g.dropdownIcon
372
- })), /* @__PURE__ */ e.createElement(r.Calendar.NextTrigger, null, /* @__PURE__ */ e.createElement(z, {
372
+ })), /* @__PURE__ */ e.createElement(r.Calendar.NextTrigger, null, /* @__PURE__ */ e.createElement(Z, {
373
373
  direction: "right"
374
374
  })), /* @__PURE__ */ e.createElement(r.Calendar.Day, {
375
375
  className: N(Xe, j.day, I.calendarDay)
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { D as r } from "./date-picker-field-rac-C4I7QrcQ.js";
2
+ import { D as r } from "./date-picker-field-rac-cwYdVf60.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as DatePickerRAC