@midas-ds/components 12.1.0 → 12.1.1

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 (183) hide show
  1. package/{AccordionItem-SOfjXh3V.cjs → AccordionItem-CV9Hrare.cjs} +1 -1
  2. package/{AccordionItem-C9dBt-tQ.js → AccordionItem-Dd9VLdsb.js} +1 -1
  3. package/{Breadcrumbs-DUcHHI_2.cjs → Breadcrumbs-BQLxFZVm.cjs} +1 -1
  4. package/{Breadcrumbs-BAHJMPsu.js → Breadcrumbs-C6B4fyk3.js} +1 -1
  5. package/{Button-DYcmg49Z.js → Button-CUMHt7MG.js} +1 -1
  6. package/{Button-DrL5Jv-s.cjs → Button-D_tRdPW9.cjs} +1 -1
  7. package/Button.module-BT9wZenr.cjs +1 -0
  8. package/Button.module-CGIVvzVm.js +14 -0
  9. package/{ButtonGroup-WZZDPu9Z.js → ButtonGroup-DC8925jD.js} +1 -1
  10. package/{ButtonGroup-ClYTgaRc.cjs → ButtonGroup-zx-9mxbJ.cjs} +1 -1
  11. package/CHANGELOG.md +17 -0
  12. package/Card-D2UbrhDW.js +131 -0
  13. package/Card-UolcSL5O.cjs +1 -0
  14. package/{Checkbox-BtM2rFh9.js → Checkbox-DTuryJdM.js} +14 -14
  15. package/{Checkbox-CvdIG43J.cjs → Checkbox-dtZfsSfx.cjs} +1 -1
  16. package/{CheckboxGroup-CjcDYBRk.js → CheckboxGroup-BmCK0XG9.js} +2 -2
  17. package/{CheckboxGroup-C94as9Xt.cjs → CheckboxGroup-DbmYdQEv.cjs} +1 -1
  18. package/{ColorSchemeSwitch-C4PMYeD5.js → ColorSchemeSwitch-CgZfgCG4.js} +1 -1
  19. package/{ColorSchemeSwitch-CKcoGZM1.cjs → ColorSchemeSwitch-D5juAHPc.cjs} +1 -1
  20. package/{ComboBox-BWXJZyOR.js → ComboBox-Cl6jBB-8.js} +85 -85
  21. package/{ComboBox-B2EmfOyr.cjs → ComboBox-CvD0t2T2.cjs} +1 -1
  22. package/{DateField-CcQJYDLD.js → DateField-D2IqGDL5.js} +2 -2
  23. package/{DateField-IpCiF81R.cjs → DateField-DJAQH95Q.cjs} +1 -1
  24. package/{DateInputDivider-Cf5GZHlM.cjs → DateInputDivider-BnSo_Aox.cjs} +1 -1
  25. package/{DateInputDivider-CXkUdlzc.js → DateInputDivider-LxS0Kw1H.js} +2 -2
  26. package/{DateRangePicker-B2BJO1KC.js → DateRangePicker-CNPXbRqx.js} +4 -4
  27. package/{DateRangePicker-Dfwe9RhJ.cjs → DateRangePicker-CljQy8oD.cjs} +2 -2
  28. package/{Dialog-P3frHOdq.js → Dialog-COpVrq8B.js} +21 -21
  29. package/{Dialog-DgJobm71.cjs → Dialog-doGnVsJJ.cjs} +1 -1
  30. package/{Dropdown-DJ2vWAqk.cjs → Dropdown-C_W6Sizy.cjs} +1 -1
  31. package/{Dropdown-CIvWpN3v.js → Dropdown-DbeUiGYo.js} +1 -1
  32. package/{Grid-s8ovKDi8.js → Grid-BmX6arAO.js} +1 -1
  33. package/{Grid-WbEkSCGh.cjs → Grid-Bn1bCTH8.cjs} +1 -1
  34. package/GridItem-BtO9kCX9.js +237 -0
  35. package/GridItem-luVsL9lu.cjs +1 -0
  36. package/{InfoBanner-CrA8MS3v.js → InfoBanner-CgmPdsH8.js} +1 -1
  37. package/{InfoBanner-CqjnTYaa.cjs → InfoBanner-Y-f3hKVR.cjs} +1 -1
  38. package/{Label-BG7G0iyG.js → Label-C5TNJ0Ku.js} +1 -1
  39. package/{Label-C00qz3kQ.cjs → Label-Dp85Vue3.cjs} +1 -1
  40. package/{Layout-Bta_Cpq_.cjs → Layout-Bxd0-ao3.cjs} +2 -2
  41. package/{Layout-CG-Qxr_1.js → Layout-CcXu63hP.js} +133 -133
  42. package/Link-ePZ3nrAW.cjs +6 -0
  43. package/{Link-BtxKZ0h3.js → Link-lO-Ke97K.js} +20 -20
  44. package/{LinkButton-D3EnZ65v.js → LinkButton-CJyZh3BS.js} +26 -26
  45. package/LinkButton-Cw73pOM2.cjs +6 -0
  46. package/{ListBoxLoadMoreItem-Ceo73a2q.cjs → ListBoxLoadMoreItem-3jGpi90m.cjs} +1 -1
  47. package/{ListBoxLoadMoreItem-W11V-Lef.js → ListBoxLoadMoreItem-CIFJ3liN.js} +2 -2
  48. package/{ListBoxSection-BCPv9H50.js → ListBoxSection-BBY8-t3_.js} +11 -11
  49. package/{ListBoxSection-Dx75ZinL.cjs → ListBoxSection-BeDwnVZx.cjs} +1 -1
  50. package/{ProgressBar-CdXHEJh6.js → ProgressBar-BYb9d2kC.js} +1 -1
  51. package/{ProgressBar-CjuHokVZ.cjs → ProgressBar-CgbE08QT.cjs} +1 -1
  52. package/{Radio-Bll-7H8O.cjs → Radio-BagVPvJX.cjs} +1 -1
  53. package/{Radio-DoWx2AE1.js → Radio-C98ly9yx.js} +14 -14
  54. package/{RangeCalendar-D7eFVAPP.js → RangeCalendar-Bi9jc61A.js} +61 -61
  55. package/{RangeCalendar-A4WQIG7P.cjs → RangeCalendar-KcJooXYf.cjs} +2 -2
  56. package/{SearchField-BbrUZpQm.cjs → SearchField-BA-X9dzb.cjs} +2 -2
  57. package/{SearchField-F2FKgYds.js → SearchField-BevjTbcW.js} +46 -46
  58. package/{Select-Dpi3LhbI.js → Select-BECa8IyZ.js} +112 -112
  59. package/Select-xBp51JSl.cjs +1 -0
  60. package/Skeleton-Iovq135_.js +35 -0
  61. package/Skeleton-MaBUPqhT.cjs +1 -0
  62. package/{Spinner-DTKb_LAA.js → Spinner-BZ7i01Kt.js} +13 -13
  63. package/Spinner-DxWDMW6e.cjs +6 -0
  64. package/{TabList-D4WwgQY3.cjs → TabList-BMyKYLlY.cjs} +1 -1
  65. package/{TabList-D9tl2s85.js → TabList-C0mZgIzV.js} +45 -45
  66. package/{Table-C6k3PiiC.cjs → Table-BHY1uCZ0.cjs} +1 -1
  67. package/{Table-CkN3y69S.js → Table-DzbfeVO7.js} +1 -1
  68. package/{Tag-BUJ20HHw.js → Tag-BYUPXbhG.js} +1 -1
  69. package/{Tag-7dHEMQum.cjs → Tag-BweDKw1v.cjs} +1 -1
  70. package/{TextArea-h5_oBQH1.js → TextArea-CDoLq124.js} +3 -3
  71. package/{TextArea-BCikUXaD.cjs → TextArea-DJCtwrqV.cjs} +1 -1
  72. package/TextField.module-CH39P8ZE.js +13 -0
  73. package/TextField.module-gJ-ruFra.cjs +1 -0
  74. package/{Toast-DclaxvZM.cjs → Toast-BN3vRCsH.cjs} +1 -1
  75. package/{Toast-BBkWczCk.js → Toast-DZnQTLDr.js} +172 -174
  76. package/{ToggleButtonGroup-BGG64PK1.js → ToggleButtonGroup-CwHPu7w5.js} +1 -1
  77. package/{ToggleButtonGroup-Da330GRT.cjs → ToggleButtonGroup-DY9S3USc.cjs} +1 -1
  78. package/accordion/index.cjs +1 -1
  79. package/accordion/index.js +1 -1
  80. package/assets/Button.css +1 -1
  81. package/assets/ButtonGroup.css +1 -1
  82. package/assets/Card.css +1 -1
  83. package/assets/Checkbox.css +1 -1
  84. package/assets/ComboBox.css +1 -1
  85. package/assets/DateInputDivider.css +1 -1
  86. package/assets/DateRangePicker.css +1 -1
  87. package/assets/Dialog.css +1 -1
  88. package/assets/GridItem.css +1 -1
  89. package/assets/Layout.css +1 -1
  90. package/assets/Link.css +1 -1
  91. package/assets/LinkButton.css +1 -1
  92. package/assets/ListBoxSection.css +1 -1
  93. package/assets/Radio.css +1 -1
  94. package/assets/RangeCalendar.css +1 -1
  95. package/assets/SearchField.css +1 -1
  96. package/assets/Select.css +1 -1
  97. package/assets/Skeleton.css +1 -1
  98. package/assets/Spinner.css +1 -1
  99. package/assets/TabList.css +1 -1
  100. package/assets/TextField.css +1 -1
  101. package/assets/Toast.css +1 -1
  102. package/assets/variables.css +1 -1
  103. package/breadcrumbs/index.cjs +1 -1
  104. package/breadcrumbs/index.js +1 -1
  105. package/button/index.cjs +1 -1
  106. package/button/index.js +2 -2
  107. package/calendar/index.cjs +1 -1
  108. package/calendar/index.js +1 -1
  109. package/card/index.cjs +1 -1
  110. package/card/index.js +1 -1
  111. package/checkbox/index.cjs +1 -1
  112. package/checkbox/index.js +2 -2
  113. package/color-scheme-switch/index.cjs +1 -1
  114. package/color-scheme-switch/index.js +1 -1
  115. package/combobox/index.cjs +1 -1
  116. package/combobox/index.js +1 -1
  117. package/date-field/index.cjs +1 -1
  118. package/date-field/index.js +2 -2
  119. package/date-picker/index.cjs +1 -1
  120. package/date-picker/index.js +1 -1
  121. package/dropdown/index.cjs +1 -1
  122. package/dropdown/index.js +1 -1
  123. package/grid/index.cjs +1 -1
  124. package/grid/index.js +2 -2
  125. package/index.cjs +1 -1
  126. package/index.js +36 -36
  127. package/info-banner/index.cjs +1 -1
  128. package/info-banner/index.js +1 -1
  129. package/label/index.cjs +1 -1
  130. package/label/index.js +1 -1
  131. package/layout/index.cjs +1 -1
  132. package/layout/index.js +1 -1
  133. package/link/index.cjs +1 -1
  134. package/link/index.js +1 -1
  135. package/link-button/index.cjs +1 -1
  136. package/link-button/index.js +1 -1
  137. package/list-box/index.cjs +1 -1
  138. package/list-box/index.js +2 -2
  139. package/modal/index.cjs +1 -1
  140. package/modal/index.js +1 -1
  141. package/package.json +1 -1
  142. package/progress-bar/index.cjs +1 -1
  143. package/progress-bar/index.js +1 -1
  144. package/radio/index.cjs +1 -1
  145. package/radio/index.js +1 -1
  146. package/search-field/index.cjs +1 -1
  147. package/search-field/index.js +1 -1
  148. package/select/index.cjs +1 -1
  149. package/select/index.js +1 -1
  150. package/skeleton/index.cjs +1 -1
  151. package/skeleton/index.js +1 -1
  152. package/spinner/index.cjs +1 -1
  153. package/spinner/index.js +1 -1
  154. package/table/index.cjs +1 -1
  155. package/table/index.js +1 -1
  156. package/tabs/index.cjs +1 -1
  157. package/tabs/index.js +1 -1
  158. package/tag/index.cjs +1 -1
  159. package/tag/index.js +1 -1
  160. package/textfield/index.cjs +1 -1
  161. package/textfield/index.js +1 -1
  162. package/theme/generated-object.d.ts +0 -3
  163. package/theme/generated-tokens.d.ts +0 -3
  164. package/theme/index.cjs +1 -1
  165. package/theme/index.js +249 -297
  166. package/toast/index.cjs +1 -1
  167. package/toast/index.js +1 -1
  168. package/toggle-button/index.cjs +1 -1
  169. package/toggle-button/index.js +1 -1
  170. package/Button.module-BNLcvARn.cjs +0 -1
  171. package/Button.module-Bax2YU6N.js +0 -14
  172. package/Card-BDDyGAMA.js +0 -131
  173. package/Card-mj5lCIR4.cjs +0 -1
  174. package/GridItem-CIVF1fRW.cjs +0 -1
  175. package/GridItem-D3FZyyO-.js +0 -243
  176. package/Link-Bx6avHVl.cjs +0 -6
  177. package/LinkButton-BvXu6vAH.cjs +0 -6
  178. package/Select-BnbDXwgD.cjs +0 -1
  179. package/Skeleton-BpYj25p8.js +0 -37
  180. package/Skeleton-DMOxEwnd.cjs +0 -1
  181. package/Spinner-D1UBuLy4.cjs +0 -6
  182. package/TextField.module-C9Zm9unF.js +0 -13
  183. package/TextField.module-GTQtNO0r.cjs +0 -1
@@ -1,19 +1,19 @@
1
1
  import { jsx as A, jsxs as re } from "react/jsx-runtime";
2
2
  import { c as Fe } from "./clsx-OuTLNxxd.js";
3
- import { F as Ma } from "./FieldError-DdvFyIf4.js";
3
+ import { F as Oa } from "./FieldError-DdvFyIf4.js";
4
4
  import { f as Ne, e as Te } from "./Button-DD5_S-tD.js";
5
- import { $ as Ue, a as ke, f as He, c as je } from "./utils-Cpcjg55U.js";
5
+ import { $ as Ue, a as ke, f as He, c as Me } from "./utils-Cpcjg55U.js";
6
6
  import { $ as Ze } from "./RSPContexts-BW2SEIqe.js";
7
7
  import { $ as Le } from "./Text-Be7WIOwv.js";
8
- import { c as ee, d as y, e as Ae, f as oe, g as se, h as We, i as Oa, j as _a, k as he, l as we, m as Ie, b as M, n as ze, o as Ka, $ as Ta, p as W, q as Ua, r as Ha, s as Za, t as Ge, u as qe, v as La, w as Wa } from "./useDateFormatter-BJ1ZyaH1.js";
9
- import { b as Ga, a as U } from "./mergeProps-BSsN7Bgk.js";
8
+ import { c as ee, d as y, e as Ae, f as oe, g as se, h as We, i as ja, j as _a, k as he, l as we, m as Ie, b as O, n as ze, o as Ka, $ as Ta, p as W, q as Ua, r as Ha, s as Za, t as qe, u as Ge, v as La, w as Wa } from "./useDateFormatter-BJ1ZyaH1.js";
9
+ import { b as qa, a as U } from "./mergeProps-BSsN7Bgk.js";
10
10
  import { $ as H } from "./filterDOMProps-wsa9OcNI.js";
11
- import x, { useMemo as R, useState as _, useRef as q, useEffect as qa, forwardRef as Q, createContext as ne, useContext as K } from "react";
11
+ import x, { useMemo as R, useState as _, useRef as G, useEffect as Ga, forwardRef as Q, createContext as ne, useContext as K } from "react";
12
12
  import { $ as ce } from "./context-CGNJ3grH.js";
13
13
  import { $ as Be } from "./useControlledState-u436Wbp1.js";
14
14
  import { $ as fe } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
15
15
  import { $ as Je } from "./useLabels-Kmq5JCp_.js";
16
- import { $ as Me } from "./useUpdateEffect-CCDx8D4X.js";
16
+ import { $ as Oe } from "./useUpdateEffect-CCDx8D4X.js";
17
17
  import { $ as xe } from "./useEvent-DpBHTuHJ.js";
18
18
  import { m as Ja } from "./utils-DFIwp4PB.js";
19
19
  import { $ as Qa } from "./getScrollParent-Ru2U2LlM.js";
@@ -23,7 +23,7 @@ import { f as et, $ as at } from "./useHover-D6bNIkU0.js";
23
23
  import { b as tt } from "./usePress-DMUpU0GU.js";
24
24
  import { $ as De } from "./VisuallyHidden-CGEtjAP7.js";
25
25
  import { $ as ut } from "./useFocusRing-DMo8ctYV.js";
26
- import { B as Oe } from "./Button-DYcmg49Z.js";
26
+ import { B as je } from "./Button-CUMHt7MG.js";
27
27
  import { H as it } from "./Heading-BQlmb5Tm.js";
28
28
  import { c as nt } from "./createLucideIcon-XRdN60yz.js";
29
29
  import { C as dt } from "./chevron-right-BYYHEJjK.js";
@@ -669,18 +669,18 @@ function ot(e) {
669
669
  }
670
670
  function wa(e, a) {
671
671
  let i = fe(ot(de), "@react-aria/calendar"), t = H(e), l = Ce(a.visibleRange.start, a.visibleRange.end, a.timeZone, !1), u = Ce(a.visibleRange.start, a.visibleRange.end, a.timeZone, !0);
672
- Me(() => {
672
+ Oe(() => {
673
673
  a.isFocused || Ne(u);
674
674
  }, [
675
675
  u
676
676
  ]);
677
677
  let d = rt(a);
678
- Me(() => {
678
+ Oe(() => {
679
679
  d && Ne(d, "polite", 4e3);
680
680
  }, [
681
681
  d
682
682
  ]);
683
- let n = Ga([
683
+ let n = qa([
684
684
  !!e.errorMessage,
685
685
  e.isInvalid,
686
686
  e.validationState
@@ -731,7 +731,7 @@ function st(e, a) {
731
731
  return wa(e, a);
732
732
  }
733
733
  function ct(e, a, i) {
734
- let t = wa(e, a), l = q(!1), u = q(typeof window < "u" ? window : null);
734
+ let t = wa(e, a), l = G(!1), u = G(typeof window < "u" ? window : null);
735
735
  return xe(u, "pointerdown", (n) => {
736
736
  l.current = n.width === 0 && n.height === 0;
737
737
  }), xe(u, "pointerup", (n) => {
@@ -810,7 +810,7 @@ function Dt(e, a) {
810
810
  a.timeZone,
811
811
  b,
812
812
  l
813
- ]), $ = Oa(i, f, l);
813
+ ]), $ = ja(i, f, l);
814
814
  return {
815
815
  gridProps: U(o, {
816
816
  role: "grid",
@@ -866,7 +866,7 @@ function mt(e, a, i) {
866
866
  d
867
867
  ]), S = "";
868
868
  "anchorDate" in a && o && !a.isReadOnly && f && (a.anchorDate ? S = n.format("finishRangeSelectionPrompt") : S = n.format("startRangeSelectionPrompt"));
869
- let F = Xa(S), w = q(!1), r = q(!1), P = q(void 0), { pressProps: C, isPressed: z } = tt({
869
+ let F = Xa(S), w = G(!1), r = G(!1), P = G(void 0), { pressProps: C, isPressed: z } = tt({
870
870
  // When dragging to select a range, we don't want dragging over the original anchor
871
871
  // again to trigger onPressStart. Cancel presses immediately when the pointer exits.
872
872
  shouldCancelOnPointerExit: "anchorDate" in a && !!a.anchorDate,
@@ -915,8 +915,8 @@ function mt(e, a, i) {
915
915
  })), a.isInvalid(N) || a.setFocusedDate(N);
916
916
  } else g.pointerType === "virtual" && (a.selectDate(t), a.setFocusedDate(t));
917
917
  }
918
- }), O;
919
- l || (O = y(t, a.focusedDate) ? 0 : -1), qa(() => {
918
+ }), j;
919
+ l || (j = y(t, a.focusedDate) ? 0 : -1), Ga(() => {
920
920
  o && i.current && (Ja(i.current), et() !== "pointer" && document.activeElement === i.current && Ya(i.current, {
921
921
  containingElement: Qa(i.current)
922
922
  }));
@@ -924,12 +924,12 @@ function mt(e, a, i) {
924
924
  o,
925
925
  i
926
926
  ]);
927
- let j = ee({
927
+ let M = ee({
928
928
  day: "numeric",
929
929
  timeZone: a.timeZone,
930
930
  calendar: t.calendar.identifier
931
- }), V = R(() => j.formatToParts($).find((g) => g.type === "day").value, [
932
- j,
931
+ }), V = R(() => M.formatToParts($).find((g) => g.type === "day").value, [
932
+ M,
933
933
  $
934
934
  ]);
935
935
  return {
@@ -943,7 +943,7 @@ function mt(e, a, i) {
943
943
  onFocus() {
944
944
  l || a.setFocusedDate(t);
945
945
  },
946
- tabIndex: O,
946
+ tabIndex: j,
947
947
  role: "button",
948
948
  "aria-disabled": !f || void 0,
949
949
  "aria-label": p,
@@ -979,10 +979,10 @@ function ye(e, a, i, t, l) {
979
979
  let u = {};
980
980
  for (let n in a)
981
981
  u[n] = Math.floor(a[n] / 2), u[n] > 0 && a[n] % 2 === 0 && u[n]--;
982
- let d = G(e, a, i).subtract(u);
982
+ let d = q(e, a, i).subtract(u);
983
983
  return ie(e, d, a, i, t, l);
984
984
  }
985
- function G(e, a, i, t, l) {
985
+ function q(e, a, i, t, l) {
986
986
  let u = e;
987
987
  return a.years ? u = Ka(e) : a.months ? u = Ae(e) : a.weeks && (u = se(e, i)), ie(e, u, a, i, t, l);
988
988
  }
@@ -991,27 +991,27 @@ function Ee(e, a, i, t, l) {
991
991
  ...a
992
992
  };
993
993
  u.days ? u.days-- : u.weeks ? u.weeks-- : u.months ? u.months-- : u.years && u.years--;
994
- let d = G(e, a, i).subtract(u);
994
+ let d = q(e, a, i).subtract(u);
995
995
  return ie(e, d, a, i, t, l);
996
996
  }
997
997
  function ie(e, a, i, t, l, u) {
998
998
  if (l && e.compare(l) >= 0) {
999
- let d = Ie(a, G(M(l), i, t));
999
+ let d = Ie(a, q(O(l), i, t));
1000
1000
  d && (a = d);
1001
1001
  }
1002
1002
  if (u && e.compare(u) <= 0) {
1003
- let d = ze(a, Ee(M(u), i, t));
1003
+ let d = ze(a, Ee(O(u), i, t));
1004
1004
  d && (a = d);
1005
1005
  }
1006
1006
  return a;
1007
1007
  }
1008
1008
  function T(e, a, i) {
1009
1009
  if (a) {
1010
- let t = Ie(e, M(a));
1010
+ let t = Ie(e, O(a));
1011
1011
  t && (e = t);
1012
1012
  }
1013
1013
  if (i) {
1014
- let t = ze(e, M(i));
1014
+ let t = ze(e, O(i));
1015
1015
  t && (e = t);
1016
1016
  }
1017
1017
  return e;
@@ -1035,18 +1035,18 @@ function za(e) {
1035
1035
  i.calendar
1036
1036
  ]);
1037
1037
  var v;
1038
- let [$, m] = Be(e.value, (v = e.defaultValue) !== null && v !== void 0 ? v : null, e.onChange), p = R(() => $ ? W(M($), f) : null, [
1038
+ let [$, m] = Be(e.value, (v = e.defaultValue) !== null && v !== void 0 ? v : null, e.onChange), p = R(() => $ ? W(O($), f) : null, [
1039
1039
  $,
1040
1040
  f
1041
1041
  ]), S = R(() => $ && "timeZone" in $ ? $.timeZone : i.timeZone, [
1042
1042
  $,
1043
1043
  i.timeZone
1044
- ]), F = R(() => e.focusedValue ? T(W(M(e.focusedValue), f), d, n) : void 0, [
1044
+ ]), F = R(() => e.focusedValue ? T(W(O(e.focusedValue), f), d, n) : void 0, [
1045
1045
  e.focusedValue,
1046
1046
  f,
1047
1047
  d,
1048
1048
  n
1049
- ]), w = R(() => T(e.defaultFocusedValue ? W(M(e.defaultFocusedValue), f) : p || W(We(S), f), d, n), [
1049
+ ]), w = R(() => T(e.defaultFocusedValue ? W(O(e.defaultFocusedValue), f) : p || W(We(S), f), d, n), [
1050
1050
  e.defaultFocusedValue,
1051
1051
  p,
1052
1052
  S,
@@ -1056,14 +1056,14 @@ function za(e) {
1056
1056
  ]), [r, P] = Be(F, w, e.onFocusChange), [C, z] = _(() => {
1057
1057
  switch (D) {
1058
1058
  case "start":
1059
- return G(r, u, t, d, n);
1059
+ return q(r, u, t, d, n);
1060
1060
  case "end":
1061
1061
  return Ee(r, u, t, d, n);
1062
1062
  case "center":
1063
1063
  default:
1064
1064
  return ye(r, u, t, d, n);
1065
1065
  }
1066
- }), [O, j] = _(e.autoFocus || !1), V = R(() => {
1066
+ }), [j, M] = _(e.autoFocus || !1), V = R(() => {
1067
1067
  let c = {
1068
1068
  ...u
1069
1069
  };
@@ -1076,7 +1076,7 @@ function za(e) {
1076
1076
  let c = W(r, f);
1077
1077
  z(ye(c, u, t, d, n)), P(c), N(f);
1078
1078
  }
1079
- Y(r, d, n) ? P(T(r, d, n)) : r.compare(C) < 0 ? z(Ee(r, u, t, d, n)) : r.compare(V) > 0 && z(G(r, u, t, d, n));
1079
+ Y(r, d, n) ? P(T(r, d, n)) : r.compare(C) < 0 ? z(Ee(r, u, t, d, n)) : r.compare(V) > 0 && z(q(r, u, t, d, n));
1080
1080
  function h(c) {
1081
1081
  c = T(c, d, n), P(c);
1082
1082
  }
@@ -1088,7 +1088,7 @@ function za(e) {
1088
1088
  return;
1089
1089
  }
1090
1090
  if (I = T(I, d, n), I = Ia(I, C, s), !I) return;
1091
- I = W(I, ($ == null ? void 0 : $.calendar) || new Ge()), $ && "hour" in $ ? m($.set(I)) : m(I);
1091
+ I = W(I, ($ == null ? void 0 : $.calendar) || new qe()), $ && "hour" in $ ? m($.set(I)) : m(I);
1092
1092
  }
1093
1093
  }
1094
1094
  let le = R(() => p ? s && s(p) ? !0 : Y(p, d, n) : !1, [
@@ -1117,7 +1117,7 @@ function za(e) {
1117
1117
  validationState: B,
1118
1118
  isValueInvalid: pe,
1119
1119
  setFocusedDate(c) {
1120
- h(c), j(!0);
1120
+ h(c), M(!0);
1121
1121
  },
1122
1122
  focusNextDay() {
1123
1123
  h(r.add({
@@ -1141,11 +1141,11 @@ function za(e) {
1141
1141
  },
1142
1142
  focusNextPage() {
1143
1143
  let c = C.add(E);
1144
- P(T(r.add(E), d, n)), z(G(ie(r, c, E, t, d, n), E, t));
1144
+ P(T(r.add(E), d, n)), z(q(ie(r, c, E, t, d, n), E, t));
1145
1145
  },
1146
1146
  focusPreviousPage() {
1147
1147
  let c = C.subtract(E);
1148
- P(T(r.subtract(E), d, n)), z(G(ie(r, c, E, t, d, n), E, t));
1148
+ P(T(r.subtract(E), d, n)), z(q(ie(r, c, E, t, d, n), E, t));
1149
1149
  },
1150
1150
  focusSectionStart() {
1151
1151
  u.days ? h(C) : u.weeks ? h(se(r, t)) : (u.months || u.years) && h(Ae(r));
@@ -1181,8 +1181,8 @@ function za(e) {
1181
1181
  selectDate(c) {
1182
1182
  ae(c);
1183
1183
  },
1184
- isFocused: O,
1185
- setFocused: j,
1184
+ isFocused: j,
1185
+ setFocused: M,
1186
1186
  isInvalid(c) {
1187
1187
  return Y(c, d, n);
1188
1188
  },
@@ -1190,7 +1190,7 @@ function za(e) {
1190
1190
  return p != null && y(c, p) && !this.isCellDisabled(c) && !this.isCellUnavailable(c);
1191
1191
  },
1192
1192
  isCellFocused(c) {
1193
- return O && r && y(c, r);
1193
+ return j && r && y(c, r);
1194
1194
  },
1195
1195
  isCellDisabled(c) {
1196
1196
  return e.isDisabled || c.compare(C) < 0 || c.compare(V) > 0 || this.isInvalid(c);
@@ -1215,8 +1215,8 @@ function za(e) {
1215
1215
  weeks: c
1216
1216
  }), X = [];
1217
1217
  L = se(L, t, b);
1218
- let ja = Ha(L, t, b);
1219
- for (let te = 0; te < ja; te++) X.push(null);
1218
+ let Ma = Ha(L, t, b);
1219
+ for (let te = 0; te < Ma; te++) X.push(null);
1220
1220
  for (; X.length < 7; ) {
1221
1221
  X.push(L);
1222
1222
  let te = L.add({
@@ -1242,12 +1242,12 @@ function $t(e) {
1242
1242
  months: 1
1243
1243
  }, minValue: n, maxValue: D, ...s } = e, [o, b] = Be(a, i || null, t), [f, v] = _(null), $ = "center";
1244
1244
  if (o && o.start && o.end) {
1245
- let E = ye(M(o.start), d, u, n, D).add(d).subtract({
1245
+ let E = ye(O(o.start), d, u, n, D).add(d).subtract({
1246
1246
  days: 1
1247
1247
  });
1248
1248
  o.end.compare(E) > 0 && ($ = "start");
1249
1249
  }
1250
- let m = q(null), [p, S] = _(null), F = R(() => Ie(n, p == null ? void 0 : p.start), [
1250
+ let m = G(null), [p, S] = _(null), F = R(() => Ie(n, p == null ? void 0 : p.start), [
1251
1251
  n,
1252
1252
  p
1253
1253
  ]), w = R(() => ze(D, p == null ? void 0 : p.end), [
@@ -1273,19 +1273,19 @@ function $t(e) {
1273
1273
  m.current = null, S(null);
1274
1274
  }, [C, z] = _(r.visibleRange);
1275
1275
  (!he(r.visibleRange.start, C.start) || !he(r.visibleRange.end, C.end)) && (P(f), z(r.visibleRange));
1276
- let O = (B) => {
1276
+ let j = (B) => {
1277
1277
  B ? (v(B), P(B)) : (v(null), P(null));
1278
- }, j = f ? ve(f, r.focusedDate) : o && ve(o.start, o.end), V = (B) => {
1278
+ }, M = f ? ve(f, r.focusedDate) : o && ve(o.start, o.end), V = (B) => {
1279
1279
  if (e.isReadOnly) return;
1280
1280
  const E = T(B, F, w), k = Ia(E, r.visibleRange.start, e.isDateUnavailable);
1281
1281
  if (k)
1282
- if (!f) O(k);
1282
+ if (!f) j(k);
1283
1283
  else {
1284
1284
  let Z = ve(f, k);
1285
1285
  Z && b({
1286
1286
  start: _e(Z.start, o == null ? void 0 : o.start),
1287
1287
  end: _e(Z.end, o == null ? void 0 : o.end)
1288
- }), O(null);
1288
+ }), j(null);
1289
1289
  }
1290
1290
  }, [g, N] = _(!1), { isDateUnavailable: h } = e, ae = R(() => !o || f ? !1 : h && (h(o.start) || h(o.end)) ? !0 : Y(o.start, n, D) || Y(o.end, n, D), [
1291
1291
  h,
@@ -1299,8 +1299,8 @@ function $t(e) {
1299
1299
  value: o,
1300
1300
  setValue: b,
1301
1301
  anchorDate: f,
1302
- setAnchorDate: O,
1303
- highlightedRange: j,
1302
+ setAnchorDate: j,
1303
+ highlightedRange: M,
1304
1304
  validationState: le ? "invalid" : null,
1305
1305
  isValueInvalid: le,
1306
1306
  selectFocusedDate() {
@@ -1311,7 +1311,7 @@ function $t(e) {
1311
1311
  f && r.setFocusedDate(B);
1312
1312
  },
1313
1313
  isSelected(B) {
1314
- return !!(j && B.compare(j.start) >= 0 && B.compare(j.end) <= 0 && !r.isCellDisabled(B) && !r.isCellUnavailable(B));
1314
+ return !!(M && B.compare(M.start) >= 0 && B.compare(M.end) <= 0 && !r.isCellDisabled(B) && !r.isCellUnavailable(B));
1315
1315
  },
1316
1316
  isInvalid(B) {
1317
1317
  var E, k;
@@ -1326,12 +1326,12 @@ function ve(e, a) {
1326
1326
  a,
1327
1327
  e
1328
1328
  ]), {
1329
- start: M(e),
1330
- end: M(a)
1329
+ start: O(e),
1330
+ end: O(a)
1331
1331
  });
1332
1332
  }
1333
1333
  function _e(e, a) {
1334
- return e = W(e, (a == null ? void 0 : a.calendar) || new Ge()), a && "hour" in a ? a.set(e) : e;
1334
+ return e = W(e, (a == null ? void 0 : a.calendar) || new qe()), a && "hour" in a ? a.set(e) : e;
1335
1335
  }
1336
1336
  function Ke(e, a, i) {
1337
1337
  let t = e.add({
@@ -1349,7 +1349,7 @@ const Pe = /* @__PURE__ */ ne(null), Se = /* @__PURE__ */ ne(null), me = /* @__P
1349
1349
  let { locale: t } = ce(), l = za({
1350
1350
  ...a,
1351
1351
  locale: t,
1352
- createCalendar: a.createCalendar || qe
1352
+ createCalendar: a.createCalendar || Ge
1353
1353
  }), { calendarProps: u, prevButtonProps: d, nextButtonProps: n, errorMessageProps: D, title: s } = st(a, l), o = ke({
1354
1354
  ...a,
1355
1355
  values: {
@@ -1414,7 +1414,7 @@ const Pe = /* @__PURE__ */ ne(null), Se = /* @__PURE__ */ ne(null), me = /* @__P
1414
1414
  let { locale: t } = ce(), l = $t({
1415
1415
  ...a,
1416
1416
  locale: t,
1417
- createCalendar: a.createCalendar || qe
1417
+ createCalendar: a.createCalendar || Ge
1418
1418
  }), { calendarProps: u, prevButtonProps: d, nextButtonProps: n, errorMessageProps: D, title: s } = ct(a, l, i), o = ke({
1419
1419
  ...a,
1420
1420
  values: {
@@ -1475,7 +1475,7 @@ const Pe = /* @__PURE__ */ ne(null), Se = /* @__PURE__ */ ne(null), me = /* @__P
1475
1475
  tabIndex: -1
1476
1476
  }))));
1477
1477
  }), ge = /* @__PURE__ */ ne(null), xt = /* @__PURE__ */ Q(function(a, i) {
1478
- let t = K(me), l = K($e), u = je(Pe), d = je(Se), n = t ?? l, D = n.visibleRange.start;
1478
+ let t = K(me), l = K($e), u = Me(Pe), d = Me(Se), n = t ?? l, D = n.visibleRange.start;
1479
1479
  a.offset && (D = D.add(a.offset));
1480
1480
  var s;
1481
1481
  let o = (s = u == null ? void 0 : u.firstDayOfWeek) !== null && s !== void 0 ? s : d == null ? void 0 : d.firstDayOfWeek, { gridProps: b, headerProps: f, weekDays: v, weeksInMonth: $ } = Dt({
@@ -1552,7 +1552,7 @@ const Rt = /* @__PURE__ */ Q(Ct), yt = /* @__PURE__ */ Q(function({ date: a, ...
1552
1552
  var n;
1553
1553
  let { startDate: D } = (n = K(ge)) !== null && n !== void 0 ? n : {
1554
1554
  startDate: d.visibleRange.start
1555
- }, s = !La(D, a), o = we(a, d.timeZone), b = q(null), { cellProps: f, buttonProps: v, ...$ } = mt({
1555
+ }, s = !La(D, a), o = we(a, d.timeZone), b = G(null), { cellProps: f, buttonProps: v, ...$ } = mt({
1556
1556
  date: a,
1557
1557
  isOutsideMonth: s
1558
1558
  }, d, b), { hoverProps: m, isHovered: p } = at({
@@ -1607,7 +1607,7 @@ const Rt = /* @__PURE__ */ Q(Ct), yt = /* @__PURE__ */ Q(function({ date: a, ...
1607
1607
  * This source code is licensed under the ISC license.
1608
1608
  * See the LICENSE file in the root directory of this source tree.
1609
1609
  */
1610
- const Et = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], Pt = nt("chevron-left", Et), St = "_container_1mj5d_4", Ft = "_calendar_1mj5d_9", kt = "_day_1mj5d_30", At = "_header_1mj5d_83", wt = "_range_1mj5d_135", It = "_today_1mj5d_161", J = {
1610
+ const Et = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], Pt = nt("chevron-left", Et), St = "_container_1imtq_1", Ft = "_calendar_1imtq_6", kt = "_day_1imtq_27", At = "_header_1imtq_80", wt = "_range_1imtq_132", It = "_today_1imtq_158", J = {
1611
1611
  container: St,
1612
1612
  calendar: Ft,
1613
1613
  day: kt,
@@ -1629,7 +1629,7 @@ const Et = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], Pt = nt("chevron-
1629
1629
  }
1630
1630
  ) }), Na = ({ isDisabled: e }) => /* @__PURE__ */ re("header", { className: J.header, children: [
1631
1631
  /* @__PURE__ */ A(
1632
- Oe,
1632
+ je,
1633
1633
  {
1634
1634
  slot: "previous",
1635
1635
  size: "medium",
@@ -1645,7 +1645,7 @@ const Et = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], Pt = nt("chevron-
1645
1645
  }
1646
1646
  ),
1647
1647
  /* @__PURE__ */ A(
1648
- Oe,
1648
+ je,
1649
1649
  {
1650
1650
  slot: "next",
1651
1651
  size: "medium",
@@ -1668,7 +1668,7 @@ const Et = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], Pt = nt("chevron-
1668
1668
  ]
1669
1669
  }
1670
1670
  ),
1671
- /* @__PURE__ */ A(Ma, { isInvalid: i.isInvalid, children: a })
1671
+ /* @__PURE__ */ A(Oa, { isInvalid: i.isInvalid, children: a })
1672
1672
  ] }), cu = ({
1673
1673
  className: e,
1674
1674
  errorMessage: a,