@clearstory/drywall-react 5.1.1 → 5.2.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.
@@ -1,6 +1,6 @@
1
1
  import { _ as gt } from "./index-BJi91Is8.js";
2
2
  import { g as Q } from "./index-B5q5ym9h.js";
3
- import { w as Dt } from "./Datepicker-ixcQBj5A.js";
3
+ import { w as Dt } from "./Datepicker-CE6vashk.js";
4
4
  var tt = { exports: {} }, $t = tt.exports, ht;
5
5
  function Tt() {
6
6
  return ht || (ht = 1, (function(W, t) {
@@ -584,7 +584,7 @@ const es = {
584
584
  maxRows: v,
585
585
  minRows: A,
586
586
  multiline: T = !1,
587
- name: $,
587
+ name: B,
588
588
  onBlur: R,
589
589
  onChange: F,
590
590
  onFocus: O,
@@ -595,7 +595,7 @@ const es = {
595
595
  SelectProps: L,
596
596
  slots: M = {},
597
597
  slotProps: Q = {},
598
- type: j,
598
+ type: $,
599
599
  value: re,
600
600
  variant: W = "outlined",
601
601
  ...X
@@ -647,7 +647,7 @@ const es = {
647
647
  externalForwardedProps: ee,
648
648
  additionalProps: U,
649
649
  ownerState: ie
650
- }), [B, E] = ct("inputLabel", {
650
+ }), [j, E] = ct("inputLabel", {
651
651
  elementType: cn,
652
652
  externalForwardedProps: ee,
653
653
  ownerState: ie
@@ -670,11 +670,11 @@ const es = {
670
670
  defaultValue: u,
671
671
  fullWidth: b,
672
672
  multiline: T,
673
- name: $,
673
+ name: B,
674
674
  rows: V,
675
675
  maxRows: v,
676
676
  minRows: A,
677
- type: j,
677
+ type: $,
678
678
  value: re,
679
679
  id: ue,
680
680
  inputRef: x,
@@ -690,7 +690,7 @@ const es = {
690
690
  });
691
691
  return /* @__PURE__ */ ge(Y, {
692
692
  ...ne,
693
- children: [k != null && k !== "" && /* @__PURE__ */ C(B, {
693
+ children: [k != null && k !== "" && /* @__PURE__ */ C(j, {
694
694
  htmlFor: ue,
695
695
  id: de,
696
696
  ...E,
@@ -2249,7 +2249,7 @@ function ca(e) {
2249
2249
  m === "tooltip" ? ta(() => {
2250
2250
  h.current?.contains(Ne(h.current)) || l.current?.contains(Ne(l.current)) || g();
2251
2251
  }) : g();
2252
- }), [k, v, A] = la(c, x), T = f.useRef(null), $ = Ve(T, l), R = Ve($, k), F = (M) => {
2252
+ }), [k, v, A] = la(c, x), T = f.useRef(null), B = Ve(T, l), R = Ve(B, k), F = (M) => {
2253
2253
  M.key === "Escape" && (M.stopPropagation(), g());
2254
2254
  }, O = s?.desktopTransition ?? u ? Lt : Nr, w = s?.desktopTrapFocus ?? Ar, I = s?.desktopPaper ?? aa, V = s?.popper ?? sa, N = me({
2255
2255
  elementType: V,
@@ -2372,7 +2372,7 @@ function Bo({
2372
2372
  v(R, !0), R !== g && (b(R), n && n(R));
2373
2373
  }), T = H(() => {
2374
2374
  k && A(k);
2375
- }), $ = H((R, F, O) => {
2375
+ }), B = H((R, F, O) => {
2376
2376
  const w = F === "finish", I = O ? (
2377
2377
  // handles case like `DateTimePicker`, where a view might return a `finish` selection state
2378
2378
  // but when it's not the final view given all `views` -> overall selection state should be `partial`.
@@ -2395,7 +2395,7 @@ function Bo({
2395
2395
  // Always return up-to-date default view instead of the initial one (i.e. defaultView.current)
2396
2396
  defaultView: s.includes(o) ? o : s[0],
2397
2397
  goToNextView: T,
2398
- setValueAndGoToNextView: $
2398
+ setValueAndGoToNextView: B
2399
2399
  });
2400
2400
  }
2401
2401
  function to() {
@@ -2492,7 +2492,7 @@ function ma(e) {
2492
2492
  timezone: S,
2493
2493
  value: x,
2494
2494
  onError: n.onError
2495
- }), $ = H((w) => {
2495
+ }), B = H((w) => {
2496
2496
  const I = typeof w == "function" ? w(v.open) : w;
2497
2497
  m || A((V) => p({}, V, {
2498
2498
  open: I
@@ -2504,7 +2504,7 @@ function ma(e) {
2504
2504
  validationError: L,
2505
2505
  shortcut: M,
2506
2506
  source: Q,
2507
- shouldClose: j = V === "accept"
2507
+ shouldClose: $ = V === "accept"
2508
2508
  } = I ?? {};
2509
2509
  let re, W;
2510
2510
  !N && !D && !v.hasBeenModifiedSinceMount ? (re = !0, W = V === "accept") : (re = !o.areValuesEqual(P, w, x), W = V === "accept" && !o.areValuesEqual(P, w, v.lastCommittedValue)), A((te) => p({}, te, {
@@ -2524,7 +2524,7 @@ function ma(e) {
2524
2524
  }
2525
2525
  return X;
2526
2526
  };
2527
- re && k(w, ie()), W && u && u(w, ie()), j && $(!1);
2527
+ re && k(w, ie()), W && u && u(w, ie()), $ && B(!1);
2528
2528
  });
2529
2529
  x !== v.lastExternalValue && A((w) => p({}, w, {
2530
2530
  lastExternalValue: x,
@@ -2559,7 +2559,7 @@ function ma(e) {
2559
2559
  state: v,
2560
2560
  setValue: R,
2561
2561
  setValueFromView: F,
2562
- setOpen: $,
2562
+ setOpen: B,
2563
2563
  value: x,
2564
2564
  viewValue: O
2565
2565
  };
@@ -2594,7 +2594,7 @@ const ha = ["className", "sx"], $o = ({
2594
2594
  readOnly: A,
2595
2595
  // Field props
2596
2596
  formatDensity: T,
2597
- enableAccessibleFieldDOMStructure: $,
2597
+ enableAccessibleFieldDOMStructure: B,
2598
2598
  selectedSections: R,
2599
2599
  onSelectedSectionsChange: F,
2600
2600
  format: O,
@@ -2605,7 +2605,7 @@ const ha = ["className", "sx"], $o = ({
2605
2605
  } = n, {
2606
2606
  className: N,
2607
2607
  sx: L
2608
- } = n, M = J(n, ha), Q = Bt(), j = be(), re = Ao(P), W = fa(g, S), {
2608
+ } = n, M = J(n, ha), Q = Bt(), $ = be(), re = Ao(P), W = fa(g, S), {
2609
2609
  current: X
2610
2610
  } = f.useRef(y ?? null), [ie, te] = f.useState(null), ue = f.useRef(null), oe = f.useRef(null), de = f.useRef(null), he = Ve(e, de), {
2611
2611
  timezone: ee,
@@ -2620,7 +2620,7 @@ const ha = ["className", "sx"], $o = ({
2620
2620
  valueManager: o,
2621
2621
  validator: a
2622
2622
  }), {
2623
- view: B,
2623
+ view: j,
2624
2624
  setView: E,
2625
2625
  defaultView: G,
2626
2626
  focusedView: pe,
@@ -2639,7 +2639,7 @@ const ha = ["className", "sx"], $o = ({
2639
2639
  getStepNavigation: h
2640
2640
  }), Le = H(() => Y(o.emptyValue, {
2641
2641
  source: "view"
2642
- })), Ke = H(() => Y(o.getTodayValue(j, ee, r), {
2642
+ })), Ke = H(() => Y(o.getTodayValue($, ee, r), {
2643
2643
  source: "view"
2644
2644
  })), it = H(() => Y(z, {
2645
2645
  source: "view"
@@ -2662,25 +2662,25 @@ const ha = ["className", "sx"], $o = ({
2662
2662
  hasUIView: !1,
2663
2663
  viewModeLookup: {},
2664
2664
  timeViewsCount: 0
2665
- }), [m, g]), Oe = fe[B], Ie = H(() => Oe), [ve, je] = f.useState(Oe === "UI" ? B : null);
2666
- ve !== B && fe[B] === "UI" && je(B), Ue(() => {
2665
+ }), [m, g]), Oe = fe[j], Ie = H(() => Oe), [ve, je] = f.useState(Oe === "UI" ? j : null);
2666
+ ve !== j && fe[j] === "UI" && je(j), Ue(() => {
2667
2667
  Oe === "field" && U.open && (_(!1), setTimeout(() => {
2668
- oe?.current?.setSelectedSections(B), oe?.current?.focusField(B);
2668
+ oe?.current?.setSelectedSections(j), oe?.current?.focusField(j);
2669
2669
  }));
2670
- }, [B]), Ue(() => {
2670
+ }, [j]), Ue(() => {
2671
2671
  if (!U.open)
2672
2672
  return;
2673
- let Te = B;
2674
- Oe === "field" && ve != null && (Te = ve), Te !== G && fe[Te] === "UI" && fe[G] === "UI" && (Te = G), Te !== B && E(Te), K(Te, !0);
2673
+ let Te = j;
2674
+ Oe === "field" && ve != null && (Te = ve), Te !== G && fe[Te] === "UI" && fe[G] === "UI" && (Te = G), Te !== j && E(Te), K(Te, !0);
2675
2675
  }, [U.open]);
2676
2676
  const ce = f.useMemo(() => ({
2677
- isPickerValueEmpty: o.areValuesEqual(j, z, o.emptyValue),
2677
+ isPickerValueEmpty: o.areValuesEqual($, z, o.emptyValue),
2678
2678
  isPickerOpen: U.open,
2679
2679
  isPickerDisabled: n.disabled ?? !1,
2680
2680
  isPickerReadOnly: n.readOnly ?? !1,
2681
2681
  pickerOrientation: W,
2682
2682
  pickerVariant: s
2683
- }), [j, o, z, U.open, W, s, n.disabled, n.readOnly]), Re = f.useMemo(() => x || !le ? "hidden" : v || A ? "disabled" : "enabled", [x, le, v, A]), Ee = H(Se), Be = f.useMemo(() => k && !Me ? [] : ["cancel", "nextOrAccept"], [k, Me]), St = f.useMemo(() => ({
2683
+ }), [$, o, z, U.open, W, s, n.disabled, n.readOnly]), Re = f.useMemo(() => x || !le ? "hidden" : v || A ? "disabled" : "enabled", [x, le, v, A]), Ee = H(Se), Be = f.useMemo(() => k && !Me ? [] : ["cancel", "nextOrAccept"], [k, Me]), St = f.useMemo(() => ({
2684
2684
  setValue: Y,
2685
2685
  setOpen: _,
2686
2686
  clearValue: Le,
@@ -2725,11 +2725,11 @@ const ha = ["className", "sx"], $o = ({
2725
2725
  onPopperExited: i
2726
2726
  }), [ae, ce, le, Ie, Q, ie, d, Be, i]), gr = f.useMemo(() => ({
2727
2727
  formatDensity: T,
2728
- enableAccessibleFieldDOMStructure: $,
2728
+ enableAccessibleFieldDOMStructure: B,
2729
2729
  selectedSections: R,
2730
2730
  onSelectedSectionsChange: F,
2731
2731
  fieldRef: oe
2732
- }), [T, $, R, F, oe]);
2732
+ }), [T, B, R, F, oe]);
2733
2733
  return {
2734
2734
  providerProps: {
2735
2735
  localeText: u,
@@ -2739,7 +2739,7 @@ const ha = ["className", "sx"], $o = ({
2739
2739
  fieldPrivateContextValue: gr,
2740
2740
  isValidContextValue: (Te) => {
2741
2741
  const Ge = a({
2742
- adapter: j,
2742
+ adapter: $,
2743
2743
  value: Te,
2744
2744
  timezone: ee,
2745
2745
  props: n
@@ -3009,13 +3009,13 @@ const xa = (e, n) => {
3009
3009
  externalSlotProps: c?.shortcuts,
3010
3010
  className: d.shortcuts,
3011
3011
  ownerState: u
3012
- }), T = Array.isArray(A?.items) && A.items.length > 0, $ = r && v ? /* @__PURE__ */ C(v, p({}, A)) : null;
3012
+ }), T = Array.isArray(A?.items) && A.items.length > 0, B = r && v ? /* @__PURE__ */ C(v, p({}, A)) : null;
3013
3013
  return {
3014
3014
  toolbar: P,
3015
3015
  content: S,
3016
3016
  tabs: k,
3017
3017
  actionBar: y,
3018
- shortcuts: $,
3018
+ shortcuts: B,
3019
3019
  ownerState: p({}, u, {
3020
3020
  hasShortcuts: T
3021
3021
  })
@@ -3436,9 +3436,9 @@ const Ia = ["props", "steps"], Ra = ["ownerState"], Ta = (e) => {
3436
3436
  referenceDate: h,
3437
3437
  onChange: g,
3438
3438
  valueManager: i
3439
- }), $ = f.useRef(v);
3439
+ }), B = f.useRef(v);
3440
3440
  f.useEffect(() => {
3441
- $.current = v;
3441
+ B.current = v;
3442
3442
  }, [v]);
3443
3443
  const {
3444
3444
  hasValidationError: R
@@ -3489,12 +3489,12 @@ const Ia = ["props", "steps"], Ra = ["ownerState"], Ta = (e) => {
3489
3489
  state: "selectedSections"
3490
3490
  }), M = (E) => {
3491
3491
  L(E), m?.(E);
3492
- }, Q = f.useMemo(() => on(N, I.sections), [N, I.sections]), j = Q === "all" ? 0 : Q, re = f.useMemo(() => xs(I.sections, r && !x), [I.sections, r, x]), W = f.useMemo(() => I.sections.every((E) => E.value === ""), [I.sections]), X = f.useMemo(() => {
3493
- if (j != null)
3492
+ }, Q = f.useMemo(() => on(N, I.sections), [N, I.sections]), $ = Q === "all" ? 0 : Q, re = f.useMemo(() => xs(I.sections, r && !x), [I.sections, r, x]), W = f.useMemo(() => I.sections.every((E) => E.value === ""), [I.sections]), X = f.useMemo(() => {
3493
+ if ($ != null)
3494
3494
  return !1;
3495
3495
  const E = I.sections.filter((G) => G.value !== "");
3496
3496
  return E.length > 0 && I.sections.length - E.length > 0;
3497
- }, [I.sections, j]), ie = f.useMemo(() => k !== void 0 ? k : R || X, [R, X, k]), te = (E) => {
3497
+ }, [I.sections, $]), ie = f.useMemo(() => k !== void 0 ? k : R || X, [R, X, k]), te = (E) => {
3498
3498
  const G = {
3499
3499
  validationError: s({
3500
3500
  adapter: n,
@@ -3511,8 +3511,8 @@ const Ia = ["props", "steps"], Ra = ["ownerState"], Ta = (e) => {
3511
3511
  modified: !0
3512
3512
  }), pe;
3513
3513
  }, oe = f.useRef(null), de = ft(), he = (E) => {
3514
- j != null && (oe.current = {
3515
- sectionIndex: j,
3514
+ $ != null && (oe.current = {
3515
+ sectionIndex: $,
3516
3516
  value: E
3517
3517
  }, de.start(0, () => {
3518
3518
  oe.current = null;
@@ -3528,11 +3528,11 @@ const Ia = ["props", "steps"], Ra = ["ownerState"], Ta = (e) => {
3528
3528
  characterQuery: null
3529
3529
  })), te(i.emptyValue));
3530
3530
  }, U = () => {
3531
- if (j == null)
3531
+ if ($ == null)
3532
3532
  return;
3533
- const E = I.sections[j];
3533
+ const E = I.sections[$];
3534
3534
  E.value !== "" && (he(""), c.getDateFromSection(v, E) === null ? V((G) => p({}, G, {
3535
- sections: ue(j, ""),
3535
+ sections: ue($, ""),
3536
3536
  tempValueStrAndroid: null,
3537
3537
  characterQuery: null
3538
3538
  })) : (V((G) => p({}, G, {
@@ -3564,12 +3564,12 @@ const Ia = ["props", "steps"], Ra = ["ownerState"], Ta = (e) => {
3564
3564
  }) => {
3565
3565
  de.clear(), Y.clear();
3566
3566
  const K = c.getDateFromSection(v, E);
3567
- pe && j < I.sections.length - 1 && M(j + 1);
3568
- const se = ue(j, G), Se = c.getDateSectionsFromValue(se, E), Ce = ys(n, Se, F);
3567
+ pe && $ < I.sections.length - 1 && M($ + 1);
3568
+ const se = ue($, G), Se = c.getDateSectionsFromValue(se, E), Ce = ys(n, Se, F);
3569
3569
  if (n.isValid(Ce)) {
3570
3570
  const Me = Xn(n, Ce, Se, c.getDateFromSection(I.referenceValue, E), !0);
3571
3571
  return K == null && Y.start(0, () => {
3572
- $.current === v && V((Le) => p({}, Le, {
3572
+ B.current === v && V((Le) => p({}, Le, {
3573
3573
  sections: c.clearDateSections(I.sections, E),
3574
3574
  tempValueStrAndroid: null
3575
3575
  }));
@@ -3614,16 +3614,16 @@ const Ia = ["props", "steps"], Ra = ["ownerState"], Ta = (e) => {
3614
3614
  characterQuery: null
3615
3615
  }));
3616
3616
  }
3617
- I.characterQuery != null && !ie && j == null && Z(null), I.characterQuery != null && I.sections[I.characterQuery.sectionIndex]?.type !== I.characterQuery.sectionType && Z(null), f.useEffect(() => {
3617
+ I.characterQuery != null && !ie && $ == null && Z(null), I.characterQuery != null && I.sections[I.characterQuery.sectionIndex]?.type !== I.characterQuery.sectionType && Z(null), f.useEffect(() => {
3618
3618
  oe.current != null && (oe.current = null);
3619
3619
  });
3620
- const B = ft();
3621
- return f.useEffect(() => (I.characterQuery != null && B.start(Fa, () => Z(null)), () => {
3622
- }), [I.characterQuery, Z, B]), f.useEffect(() => {
3623
- I.tempValueStrAndroid != null && j != null && U();
3620
+ const j = ft();
3621
+ return f.useEffect(() => (I.characterQuery != null && j.start(Fa, () => Z(null)), () => {
3622
+ }), [I.characterQuery, Z, j]), f.useEffect(() => {
3623
+ I.tempValueStrAndroid != null && $ != null && U();
3624
3624
  }, [I.sections]), {
3625
3625
  // States and derived states
3626
- activeSectionIndex: j,
3626
+ activeSectionIndex: $,
3627
3627
  areAllSectionsEmpty: W,
3628
3628
  error: ie,
3629
3629
  localizedDigits: F,
@@ -3850,7 +3850,7 @@ function Na(e) {
3850
3850
  manager: n,
3851
3851
  internalPropsWithDefaults: c,
3852
3852
  stateResponse: a
3853
- }), S = ft(), x = H(($) => {
3853
+ }), S = ft(), x = H((B) => {
3854
3854
  D || !s.isReady() || (r(!0), l === "all" ? S.start(0, () => {
3855
3855
  const R = document.getSelection().getRangeAt(0).startOffset;
3856
3856
  if (R === 0) {
@@ -3863,11 +3863,11 @@ function Na(e) {
3863
3863
  F += 1, O += `${w.startSeparator}${w.value || w.placeholder}${w.endSeparator}`.length;
3864
3864
  }
3865
3865
  b(F - 1);
3866
- }) : o ? s.getRoot().contains($.target) || b(u.startIndex) : (r(!0), b(u.startIndex)));
3867
- }), k = H(($) => {
3866
+ }) : o ? s.getRoot().contains(B.target) || b(u.startIndex) : (r(!0), b(u.startIndex)));
3867
+ }), k = H((B) => {
3868
3868
  if (!s.isReady() || l !== "all")
3869
3869
  return;
3870
- const F = $.target.textContent ?? "";
3870
+ const F = B.target.textContent ?? "";
3871
3871
  s.getRoot().innerHTML = d.sections.map((O) => `${O.startSeparator}${O.value || O.placeholder}${O.endSeparator}`).join(""), vn({
3872
3872
  focused: o,
3873
3873
  domGetters: s,
@@ -3876,24 +3876,24 @@ function Na(e) {
3876
3876
  keyPressed: F,
3877
3877
  sectionIndex: 0
3878
3878
  }));
3879
- }), v = H(($) => {
3879
+ }), v = H((B) => {
3880
3880
  if (m || l !== "all") {
3881
- $.preventDefault();
3881
+ B.preventDefault();
3882
3882
  return;
3883
3883
  }
3884
- const R = $.clipboardData.getData("text");
3885
- $.preventDefault(), g(null), y(R);
3884
+ const R = B.clipboardData.getData("text");
3885
+ B.preventDefault(), g(null), y(R);
3886
3886
  }), A = H(() => {
3887
3887
  if (o || D || !s.isReady())
3888
3888
  return;
3889
- const $ = Ne(s.getRoot());
3890
- r(!0), s.getSectionIndexFromDOMElement($) != null || b(u.startIndex);
3889
+ const B = Ne(s.getRoot());
3890
+ r(!0), s.getSectionIndexFromDOMElement(B) != null || b(u.startIndex);
3891
3891
  }), T = H(() => {
3892
3892
  setTimeout(() => {
3893
3893
  if (!s.isReady())
3894
3894
  return;
3895
- const $ = Ne(s.getRoot());
3896
- !s.getRoot().contains($) && (r(!1), b(null));
3895
+ const B = Ne(s.getRoot());
3896
+ !s.getRoot().contains(B) && (r(!1), b(null));
3897
3897
  });
3898
3898
  });
3899
3899
  return {
@@ -4009,7 +4009,7 @@ function Ba(e) {
4009
4009
  }), v(V);
4010
4010
  }), T = H((O) => {
4011
4011
  O.preventDefault();
4012
- }), $ = H((O) => {
4012
+ }), B = H((O) => {
4013
4013
  if (O.preventDefault(), S || P || typeof l != "number")
4014
4014
  return;
4015
4015
  const w = d.sections[l], I = O.clipboardData.getData("text"), V = /^[a-zA-Z]+$/.test(I), N = /^[0-9]+$/.test(I), L = /^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(I);
@@ -4032,7 +4032,7 @@ function Ba(e) {
4032
4032
  return {
4033
4033
  // Event handlers
4034
4034
  onInput: A,
4035
- onPaste: $,
4035
+ onPaste: B,
4036
4036
  onMouseUp: T,
4037
4037
  onDragOver: R,
4038
4038
  onFocus: F(w),
@@ -4057,7 +4057,7 @@ function Ba(e) {
4057
4057
  children: O.value || O.placeholder,
4058
4058
  inputMode: O.contentType === "letter" ? "text" : "numeric"
4059
4059
  };
4060
- }, [u, x, P, S, k, o, n, A, $, T, R, F, c, h]);
4060
+ }, [u, x, P, S, k, o, n, A, B, T, R, F, c, h]);
4061
4061
  }
4062
4062
  function $a(e, n) {
4063
4063
  if (e.value)
@@ -4135,12 +4135,12 @@ const _a = (e) => {
4135
4135
  autoFocus: k = !1,
4136
4136
  focused: v,
4137
4137
  unstableFieldRef: A
4138
- } = l, T = f.useRef(null), $ = Ve(u, T), R = f.useMemo(() => ({
4138
+ } = l, T = f.useRef(null), B = Ve(u, T), R = f.useMemo(() => ({
4139
4139
  isReady: () => T.current != null,
4140
4140
  getRoot: () => T.current.getRoot(),
4141
- getSectionContainer: (B) => T.current.getSectionContainer(B),
4142
- getSectionContent: (B) => T.current.getSectionContent(B),
4143
- getSectionIndexFromDOMElement: (B) => T.current.getSectionIndexFromDOMElement(B)
4141
+ getSectionContainer: (j) => T.current.getSectionContainer(j),
4142
+ getSectionContent: (j) => T.current.getSectionContent(j),
4143
+ getSectionIndexFromDOMElement: (j) => T.current.getSectionIndexFromDOMElement(j)
4144
4144
  }), [T]), F = Uo({
4145
4145
  manager: o,
4146
4146
  internalPropsWithDefaults: l,
@@ -4156,21 +4156,21 @@ const _a = (e) => {
4156
4156
  // Methods to update the states
4157
4157
  clearValue: M,
4158
4158
  setSelectedSections: Q
4159
- } = F, j = zo({
4159
+ } = F, $ = zo({
4160
4160
  stateResponse: F
4161
4161
  }), re = a(L), [W, X] = f.useState(!1);
4162
- function ie(B = 0) {
4162
+ function ie(j = 0) {
4163
4163
  if (S || !T.current || // if the field is already focused, we don't need to focus it again
4164
4164
  no(T) != null)
4165
4165
  return;
4166
- const E = on(B, N.sections);
4166
+ const E = on(j, N.sections);
4167
4167
  X(!0), T.current.getSectionContent(E).focus();
4168
4168
  }
4169
4169
  const te = Na({
4170
4170
  manager: o,
4171
4171
  internalPropsWithDefaults: l,
4172
4172
  stateResponse: F,
4173
- applyCharacterEditing: j,
4173
+ applyCharacterEditing: $,
4174
4174
  focused: W,
4175
4175
  setFocused: X,
4176
4176
  domGetters: R
@@ -4183,35 +4183,35 @@ const _a = (e) => {
4183
4183
  }), de = Ba({
4184
4184
  manager: o,
4185
4185
  stateResponse: F,
4186
- applyCharacterEditing: j,
4186
+ applyCharacterEditing: $,
4187
4187
  internalPropsWithDefaults: l,
4188
4188
  domGetters: R,
4189
4189
  focused: W
4190
- }), he = H((B) => {
4191
- D?.(B), te.onKeyDown(B);
4192
- }), ee = H((B) => {
4193
- d?.(B), te.onBlur(B);
4194
- }), U = H((B) => {
4195
- g?.(B), te.onFocus(B);
4196
- }), _ = H((B) => {
4197
- B.isDefaultPrevented() || (h?.(B), te.onClick(B));
4198
- }), Y = H((B) => {
4199
- y?.(B), te.onPaste(B);
4200
- }), ne = H((B) => {
4201
- b?.(B), te.onInput(B);
4202
- }), z = H((B, ...E) => {
4203
- B.preventDefault(), m?.(B, ...E), M(), oo(T) ? Q(V.startIndex) : ie(0);
4204
- }), Z = f.useMemo(() => N.sections.map((B, E) => {
4205
- const G = de(B, E);
4190
+ }), he = H((j) => {
4191
+ D?.(j), te.onKeyDown(j);
4192
+ }), ee = H((j) => {
4193
+ d?.(j), te.onBlur(j);
4194
+ }), U = H((j) => {
4195
+ g?.(j), te.onFocus(j);
4196
+ }), _ = H((j) => {
4197
+ j.isDefaultPrevented() || (h?.(j), te.onClick(j));
4198
+ }), Y = H((j) => {
4199
+ y?.(j), te.onPaste(j);
4200
+ }), ne = H((j) => {
4201
+ b?.(j), te.onInput(j);
4202
+ }), z = H((j, ...E) => {
4203
+ j.preventDefault(), m?.(j, ...E), M(), oo(T) ? Q(V.startIndex) : ie(0);
4204
+ }), Z = f.useMemo(() => N.sections.map((j, E) => {
4205
+ const G = de(j, E);
4206
4206
  return {
4207
4207
  container: oe(E),
4208
- content: de(B, E),
4208
+ content: de(j, E),
4209
4209
  before: {
4210
- children: B.startSeparator
4210
+ children: j.startSeparator
4211
4211
  },
4212
4212
  after: {
4213
- children: B.endSeparator,
4214
- "data-range-position": B.isEndFormatSeparator ? G["data-range-position"] : void 0
4213
+ children: j.endSeparator,
4214
+ "data-range-position": j.isEndFormatSeparator ? G["data-range-position"] : void 0
4215
4215
  }
4216
4216
  };
4217
4217
  }), [N.sections, oe, de]);
@@ -4225,8 +4225,8 @@ const _a = (e) => {
4225
4225
  if (I === "all")
4226
4226
  T.current.getRoot().focus();
4227
4227
  else if (typeof I == "number") {
4228
- const B = T.current.getSectionContent(I);
4229
- B && B.focus();
4228
+ const j = T.current.getSectionContent(I);
4229
+ j && j.focus();
4230
4230
  }
4231
4231
  }
4232
4232
  }, [I, W]), Ue(() => {
@@ -4238,11 +4238,11 @@ const _a = (e) => {
4238
4238
  }), f.useImperativeHandle(A, () => ({
4239
4239
  getSections: () => N.sections,
4240
4240
  getActiveSectionIndex: () => no(T),
4241
- setSelectedSections: (B) => {
4241
+ setSelectedSections: (j) => {
4242
4242
  if (S || !T.current)
4243
4243
  return;
4244
- const E = on(B, N.sections);
4245
- X((E === "all" ? 0 : E) !== null), Q(B);
4244
+ const E = on(j, N.sections);
4245
+ X((E === "all" ? 0 : E) !== null), Q(j);
4246
4246
  },
4247
4247
  focusField: ie,
4248
4248
  isFieldFocused: () => oo(T)
@@ -4258,7 +4258,7 @@ const _a = (e) => {
4258
4258
  error: w,
4259
4259
  clearable: !!(P && !O && !x && !S),
4260
4260
  focused: v ?? W,
4261
- sectionListRef: $,
4261
+ sectionListRef: B,
4262
4262
  // Additional
4263
4263
  enableAccessibleFieldDOMStructure: !0,
4264
4264
  elements: Z,
@@ -4320,7 +4320,7 @@ const pt = (e) => e.replace(/[\u2066\u2067\u2068\u2069]/g, ""), Wa = (e, n, o) =
4320
4320
  placeholder: A
4321
4321
  } = g, {
4322
4322
  readOnly: T = !1,
4323
- disabled: $ = !1,
4323
+ disabled: B = !1,
4324
4324
  autoFocus: R = !1,
4325
4325
  focused: F,
4326
4326
  unstableFieldRef: O
@@ -4334,7 +4334,7 @@ const pt = (e) => e.replace(/[\u2066\u2067\u2068\u2069]/g, ""), Wa = (e, n, o) =
4334
4334
  areAllSectionsEmpty: L,
4335
4335
  error: M,
4336
4336
  localizedDigits: Q,
4337
- parsedSelectedSections: j,
4337
+ parsedSelectedSections: $,
4338
4338
  sectionOrder: re,
4339
4339
  state: W,
4340
4340
  value: X,
@@ -4361,7 +4361,7 @@ const pt = (e) => e.replace(/[\u2066\u2067\u2068\u2069]/g, ""), Wa = (e, n, o) =
4361
4361
  function Z(ae = 0) {
4362
4362
  Ne(w.current) !== w.current && (w.current?.focus(), oe(ae));
4363
4363
  }
4364
- const B = H((ae) => {
4364
+ const j = H((ae) => {
4365
4365
  y?.(ae);
4366
4366
  const le = w.current;
4367
4367
  o.start(0, () => {
@@ -4371,11 +4371,11 @@ const pt = (e) => e.replace(/[\u2066\u2067\u2068\u2069]/g, ""), Wa = (e, n, o) =
4371
4371
  }), E = H((ae, ...le) => {
4372
4372
  ae.isDefaultPrevented() || (D?.(ae, ...le), z());
4373
4373
  }), G = H((ae) => {
4374
- if (m?.(ae), ae.preventDefault(), T || $)
4374
+ if (m?.(ae), ae.preventDefault(), T || B)
4375
4375
  return;
4376
4376
  const le = ae.clipboardData.getData("text");
4377
- if (typeof j == "number") {
4378
- const fe = W.sections[j], we = /^[a-zA-Z]+$/.test(le), Oe = /^[0-9]+$/.test(le), Ie = /^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(le);
4377
+ if (typeof $ == "number") {
4378
+ const fe = W.sections[$], we = /^[a-zA-Z]+$/.test(le), Oe = /^[0-9]+$/.test(le), Ie = /^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(le);
4379
4379
  if (fe.contentType === "letter" && we || fe.contentType === "digit" && Oe || fe.contentType === "digit-with-letter" && Ie) {
4380
4380
  ue(null), he({
4381
4381
  section: fe,
@@ -4399,12 +4399,12 @@ const pt = (e) => e.replace(/[\u2066\u2067\u2068\u2069]/g, ""), Wa = (e, n, o) =
4399
4399
  return;
4400
4400
  }
4401
4401
  const fe = ae.nativeEvent.data, we = fe && fe.length > 1, Oe = we ? fe : le, Ie = pt(Oe);
4402
- if (j === "all" && oe(N), N == null || we) {
4402
+ if ($ === "all" && oe(N), N == null || we) {
4403
4403
  ee(we ? fe : Ie);
4404
4404
  return;
4405
4405
  }
4406
4406
  let ve;
4407
- if (j === "all" && Ie.length === 1)
4407
+ if ($ === "all" && Ie.length === 1)
4408
4408
  ve = Ie;
4409
4409
  else {
4410
4410
  const je = pt(u.getV6InputValueFromSections(ne, Q, n));
@@ -4440,17 +4440,17 @@ const pt = (e) => e.replace(/[\u2066\u2067\u2068\u2069]/g, ""), Wa = (e, n, o) =
4440
4440
  function ae() {
4441
4441
  if (!w.current)
4442
4442
  return;
4443
- if (j == null) {
4443
+ if ($ == null) {
4444
4444
  w.current.scrollLeft && (w.current.scrollLeft = 0);
4445
4445
  return;
4446
4446
  }
4447
4447
  if (w.current !== Ne(w.current))
4448
4448
  return;
4449
4449
  const le = w.current.scrollTop;
4450
- if (j === "all")
4450
+ if ($ === "all")
4451
4451
  w.current.select();
4452
4452
  else {
4453
- const fe = ne[j], we = fe.type === "empty" ? fe.startInInput - fe.startSeparator.length : fe.startInInput, Oe = fe.type === "empty" ? fe.endInInput + fe.endSeparator.length : fe.endInInput;
4453
+ const fe = ne[$], we = fe.type === "empty" ? fe.startInInput - fe.startSeparator.length : fe.startInInput, Oe = fe.type === "empty" ? fe.endInInput + fe.endSeparator.length : fe.endInInput;
4454
4454
  (we !== w.current.selectionStart || Oe !== w.current.selectionEnd) && w.current === Ne(w.current) && w.current.setSelectionRange(we, Oe), r.start(0, () => {
4455
4455
  w.current && w.current === Ne(w.current) && // The section might loose all selection, where `selectionStart === selectionEnd`
4456
4456
  // https://github.com/mui/mui-x/pull/13652
@@ -4477,10 +4477,10 @@ const pt = (e) => e.replace(/[\u2066\u2067\u2068\u2069]/g, ""), Wa = (e, n, o) =
4477
4477
  })), p({}, g, {
4478
4478
  error: M,
4479
4479
  "aria-invalid": M,
4480
- clearable: !!(k && !L && !T && !$),
4480
+ clearable: !!(k && !L && !T && !B),
4481
4481
  onBlur: pe,
4482
4482
  onClick: E,
4483
- onFocus: B,
4483
+ onFocus: j,
4484
4484
  onPaste: G,
4485
4485
  onKeyDown: Ce,
4486
4486
  onClear: se,
@@ -4493,7 +4493,7 @@ const pt = (e) => e.replace(/[\u2066\u2067\u2068\u2069]/g, ""), Wa = (e, n, o) =
4493
4493
  value: lt ? "" : Le,
4494
4494
  onChange: K,
4495
4495
  focused: F,
4496
- disabled: $,
4496
+ disabled: B,
4497
4497
  readOnly: T,
4498
4498
  autoFocus: R,
4499
4499
  openPickerAriaLabel: Y
@@ -4996,15 +4996,15 @@ const Vt = /* @__PURE__ */ f.forwardRef(function(n, o) {
4996
4996
  inputProps: v,
4997
4997
  inputRef: A,
4998
4998
  sectionListRef: T,
4999
- onFocus: $,
4999
+ onFocus: B,
5000
5000
  onBlur: R,
5001
5001
  classes: F,
5002
5002
  ownerState: O
5003
- } = r, w = J(r, Ja), I = Ut(), V = f.useRef(null), N = f.useRef(null), L = f.useRef([]), M = Ve(o, V), Q = Ve(v?.ref, A), j = an();
5004
- if (!j)
5003
+ } = r, w = J(r, Ja), I = Ut(), V = f.useRef(null), N = f.useRef(null), L = f.useRef([]), M = Ve(o, V), Q = Ve(v?.ref, A), $ = an();
5004
+ if (!$)
5005
5005
  throw new Error("MUI X: PickersInputBase should always be used inside a PickersTextField component");
5006
5006
  const re = O ?? I, W = (U) => {
5007
- j.onFocus?.(U), $?.(U);
5007
+ $.onFocus?.(U), B?.(U);
5008
5008
  }, X = (U) => {
5009
5009
  W(U);
5010
5010
  }, ie = (U) => {
@@ -5017,19 +5017,19 @@ const Vt = /* @__PURE__ */ f.forwardRef(function(n, o) {
5017
5017
  U.preventDefault(), _.requestSubmit(Y);
5018
5018
  }
5019
5019
  }, te = (U) => {
5020
- j.onBlur?.(U), R?.(U);
5020
+ $.onBlur?.(U), R?.(U);
5021
5021
  };
5022
5022
  f.useEffect(() => {
5023
- j && j.setAdornedStart(!!d);
5024
- }, [j, d]), f.useEffect(() => {
5025
- j && (a ? j.onEmpty() : j.onFilled());
5026
- }, [j, a]);
5023
+ $ && $.setAdornedStart(!!d);
5024
+ }, [$, d]), f.useEffect(() => {
5025
+ $ && (a ? $.onEmpty() : $.onFilled());
5026
+ }, [$, a]);
5027
5027
  const ue = ai(F, re), oe = g?.root || Yt, de = me({
5028
5028
  elementType: oe,
5029
5029
  externalSlotProps: b?.root,
5030
5030
  externalForwardedProps: w,
5031
5031
  additionalProps: {
5032
- "aria-invalid": j.error,
5032
+ "aria-invalid": $.error,
5033
5033
  ref: M
5034
5034
  },
5035
5035
  className: ue.root,
@@ -5074,7 +5074,7 @@ const Vt = /* @__PURE__ */ f.forwardRef(function(n, o) {
5074
5074
  className: U === "before" ? ht.sectionBefore : ht.sectionAfter
5075
5075
  })
5076
5076
  }
5077
- }), u, h ? h(p({}, j)) : null, /* @__PURE__ */ C(ri, p({
5077
+ }), u, h ? h(p({}, $)) : null, /* @__PURE__ */ C(ri, p({
5078
5078
  name: x,
5079
5079
  className: ue.input,
5080
5080
  value: i,
@@ -5083,8 +5083,8 @@ const Vt = /* @__PURE__ */ f.forwardRef(function(n, o) {
5083
5083
  "aria-hidden": "true",
5084
5084
  tabIndex: -1,
5085
5085
  readOnly: k,
5086
- required: j.required,
5087
- disabled: j.disabled,
5086
+ required: $.required,
5087
+ disabled: $.disabled,
5088
5088
  onFocus: X
5089
5089
  }, v, {
5090
5090
  ref: Q
@@ -5976,7 +5976,7 @@ const ki = ["onFocus", "onBlur", "className", "classes", "color", "disabled", "e
5976
5976
  onKeyDown: v,
5977
5977
  onKeyUp: A,
5978
5978
  onPaste: T,
5979
- onInput: $,
5979
+ onInput: B,
5980
5980
  endAdornment: R,
5981
5981
  startAdornment: F,
5982
5982
  tabIndex: O,
@@ -5988,14 +5988,14 @@ const ki = ["onFocus", "onBlur", "className", "classes", "color", "disabled", "e
5988
5988
  id: M,
5989
5989
  name: Q,
5990
5990
  // Props used by FormHelperText
5991
- helperText: j,
5991
+ helperText: $,
5992
5992
  FormHelperTextProps: re,
5993
5993
  // Props used by InputLabel
5994
5994
  label: W,
5995
5995
  InputLabelProps: X,
5996
5996
  // @ts-ignore
5997
5997
  "data-active-range-position": ie
5998
- } = r, te = J(r, ki), ue = f.useRef(null), oe = Ve(o, ue), de = Bt(M), he = j && de ? `${de}-helper-text` : void 0, ee = W && de ? `${de}-label` : void 0, U = kn({
5998
+ } = r, te = J(r, ki), ue = f.useRef(null), oe = Ve(o, ue), de = Bt(M), he = $ && de ? `${de}-helper-text` : void 0, ee = W && de ? `${de}-label` : void 0, U = kn({
5999
5999
  disabled: r.disabled,
6000
6000
  required: r.required,
6001
6001
  readOnly: y?.readOnly
@@ -6036,7 +6036,7 @@ const ki = ["onFocus", "onBlur", "className", "classes", "color", "disabled", "e
6036
6036
  onClick: k,
6037
6037
  onKeyDown: v,
6038
6038
  onKeyUp: A,
6039
- onInput: $,
6039
+ onInput: B,
6040
6040
  onPaste: T,
6041
6041
  onFocus: s,
6042
6042
  onBlur: a,
@@ -6058,10 +6058,10 @@ const ki = ["onFocus", "onBlur", "className", "classes", "color", "disabled", "e
6058
6058
  "aria-describedby": he,
6059
6059
  "aria-live": he ? "polite" : void 0,
6060
6060
  "data-active-range-position": ie
6061
- }, z, y)), j && /* @__PURE__ */ C(go, p({
6061
+ }, z, y)), $ && /* @__PURE__ */ C(go, p({
6062
6062
  id: he
6063
6063
  }, re, {
6064
- children: j
6064
+ children: $
6065
6065
  }))]
6066
6066
  }))
6067
6067
  });
@@ -6192,14 +6192,14 @@ const Ri = ["enableAccessibleFieldDOMStructure"], Ti = ["InputProps", "readOnly"
6192
6192
  clearable: v,
6193
6193
  clearButtonPosition: A,
6194
6194
  openPickerButtonPosition: T,
6195
- openPickerAriaLabel: $
6195
+ openPickerAriaLabel: B
6196
6196
  } = o, R = J(o, Ti), F = Qe >= 6 && R?.slotProps?.input ? kt(R?.slotProps?.input, S) : nn;
6197
6197
  return {
6198
6198
  clearable: v,
6199
6199
  onClear: k,
6200
6200
  clearButtonPosition: A,
6201
6201
  openPickerButtonPosition: T,
6202
- openPickerAriaLabel: $,
6202
+ openPickerAriaLabel: B,
6203
6203
  textFieldProps: p({}, R, Qe >= 6 && R?.slotProps?.input ? {
6204
6204
  slotProps: p({}, R?.slotProps, {
6205
6205
  input: (O) => p({}, He(F, O), {
@@ -6294,7 +6294,7 @@ function $i(e) {
6294
6294
  ownerState: p({}, g, {
6295
6295
  position: "end"
6296
6296
  })
6297
- }), A = J(v, Ei), T = a.slots.openPickerButton ?? gt, $ = me({
6297
+ }), A = J(v, Ei), T = a.slots.openPickerButton ?? gt, B = me({
6298
6298
  elementType: T,
6299
6299
  externalSlotProps: a.slotProps.openPickerButton,
6300
6300
  additionalProps: {
@@ -6307,7 +6307,7 @@ function $i(e) {
6307
6307
  )
6308
6308
  },
6309
6309
  ownerState: g
6310
- }), R = J($, Ni), F = a.slots.openPickerIcon ?? o, O = me({
6310
+ }), R = J(B, Ni), F = a.slots.openPickerIcon ?? o, O = me({
6311
6311
  elementType: F,
6312
6312
  externalSlotProps: a.slotProps.openPickerIcon,
6313
6313
  ownerState: g
@@ -6363,9 +6363,9 @@ function $i(e) {
6363
6363
  }
6364
6364
  }
6365
6365
  }, ...Array.isArray(i.sx) ? i.sx : [i.sx]]);
6366
- const j = Qe >= 6 && i?.slotProps?.input ? He(kt(Q, M), g) : p({}, Q, M);
6366
+ const $ = Qe >= 6 && i?.slotProps?.input ? He(kt(Q, M), g) : p({}, Q, M);
6367
6367
  return i.inputProps = Qe >= 6 && i?.slotProps?.htmlInput ? He(i.slotProps.htmlInput, g) : i.inputProps, delete i?.slotProps?.input, n.enableAccessibleFieldDOMStructure && delete i?.slotProps, /* @__PURE__ */ C(P, p({}, i, {
6368
- InputProps: j
6368
+ InputProps: $
6369
6369
  }));
6370
6370
  }
6371
6371
  function kt(e, n) {
@@ -6808,7 +6808,11 @@ const or = ({
6808
6808
  ), [m, P] = f.useReducer(y, {
6809
6809
  isMonthSwitchingAnimating: !1,
6810
6810
  focusedDay: D,
6811
- currentMonth: b.startOfMonth(D),
6811
+ // Keep the time from the reference date when computing the current month anchor.
6812
+ // Using startOfMonth would reset the time to 00:00 which breaks expectations
6813
+ // that month selections preserve the referenceDate time when no value is provided.
6814
+ // See tests: "should use `referenceDate` when no value defined".
6815
+ currentMonth: b.setDate(D, 1),
6812
6816
  slideDirection: "left"
6813
6817
  }), S = or({
6814
6818
  shouldDisableDate: d,
@@ -6831,10 +6835,10 @@ const or = ({
6831
6835
  if (A === "cell-interaction" && m.focusedDay != null && b.isSameDay(v, m.focusedDay))
6832
6836
  return;
6833
6837
  const T = A === "cell-interaction";
6834
- let $, R;
6838
+ let B, R;
6835
6839
  if (A === "cell-interaction")
6836
- $ = g(v, m.currentMonth), R = v;
6837
- else if ($ = b.isSameMonth(v, m.currentMonth) ? m.currentMonth : b.startOfMonth(v), R = v, S(R)) {
6840
+ B = g(v, m.currentMonth), R = v;
6841
+ else if (B = b.isSameMonth(v, m.currentMonth) ? m.currentMonth : b.startOfMonth(v), R = v, S(R)) {
6838
6842
  const w = b.startOfMonth(v), I = b.endOfMonth(v);
6839
6843
  R = Mt({
6840
6844
  adapter: b,
@@ -6847,11 +6851,11 @@ const or = ({
6847
6851
  timezone: h
6848
6852
  });
6849
6853
  }
6850
- const F = !b.isSameMonth(m.currentMonth, $), O = !b.isSameYear(m.currentMonth, $);
6851
- F && c?.($), O && l?.(b.startOfYear($)), P({
6854
+ const F = !b.isSameMonth(m.currentMonth, B), O = !b.isSameYear(m.currentMonth, B);
6855
+ F && c?.(B), O && l?.(b.startOfYear(B)), P({
6852
6856
  type: "setVisibleDate",
6853
- month: $,
6854
- direction: b.isAfterDay($, m.currentMonth) ? "left" : "right",
6857
+ month: B,
6858
+ direction: b.isAfterDay(B, m.currentMonth) ? "left" : "right",
6855
6859
  focusedDay: m.focusedDay != null && R != null && b.isSameDay(R, m.focusedDay) ? m.focusedDay : R,
6856
6860
  skipAnimation: T
6857
6861
  });
@@ -7061,7 +7065,7 @@ const Qi = ["autoFocus", "className", "classes", "hidden", "isAnimating", "onCli
7061
7065
  disableMargin: v,
7062
7066
  disableHighlightToday: A,
7063
7067
  showDaysOutsideCurrentMonth: T
7064
- } = r, $ = J(r, Qi), R = sr({
7068
+ } = r, B = J(r, Qi), R = sr({
7065
7069
  day: m,
7066
7070
  selected: P,
7067
7071
  disabled: S,
@@ -7082,7 +7086,7 @@ const Qi = ["autoFocus", "className", "classes", "hidden", "isAnimating", "onCli
7082
7086
  return k && !T ? /* @__PURE__ */ C(Ji, {
7083
7087
  className: ke(F.root, F.hiddenDaySpacingFiller, a),
7084
7088
  ownerState: R,
7085
- role: $.role
7089
+ role: B.role
7086
7090
  }) : /* @__PURE__ */ C(Zi, p({
7087
7091
  className: ke(F.root, a),
7088
7092
  ref: I,
@@ -7095,7 +7099,7 @@ const Qi = ["autoFocus", "className", "classes", "hidden", "isAnimating", "onCli
7095
7099
  onMouseEnter: (L) => y(L, m),
7096
7100
  onClick: N,
7097
7101
  onMouseDown: V
7098
- }, $, {
7102
+ }, B, {
7099
7103
  ownerState: R,
7100
7104
  children: D ?? O.format(m, "dayOfMonth")
7101
7105
  }));
@@ -7471,7 +7475,7 @@ function yl(e) {
7471
7475
  slots: b,
7472
7476
  slotProps: y,
7473
7477
  timezone: D
7474
- } = n, m = be(), P = _t(D), S = r != null && m.isSameDay(o, r), x = c && S, k = s.some((V) => m.isSameDay(V, o)), v = m.isSameDay(o, P), A = f.useMemo(() => u || a(o), [u, a, o]), T = f.useMemo(() => m.getMonth(o) !== i, [m, o, i]), $ = sr({
7478
+ } = n, m = be(), P = _t(D), S = r != null && m.isSameDay(o, r), x = c && S, k = s.some((V) => m.isSameDay(V, o)), v = m.isSameDay(o, P), A = f.useMemo(() => u || a(o), [u, a, o]), T = f.useMemo(() => m.getMonth(o) !== i, [m, o, i]), B = sr({
7475
7479
  day: o,
7476
7480
  selected: k,
7477
7481
  disabled: A,
@@ -7492,7 +7496,7 @@ function yl(e) {
7492
7496
  // it is used in date range dragging logic by accessing `dataset.timestamp`
7493
7497
  "data-timestamp": m.toJsDate(o).valueOf()
7494
7498
  }, l),
7495
- ownerState: p({}, $, {
7499
+ ownerState: p({}, B, {
7496
7500
  day: o,
7497
7501
  isDayDisabled: A,
7498
7502
  isDaySelected: k
@@ -7546,7 +7550,7 @@ function Pl(e) {
7546
7550
  shouldDisableDate: v,
7547
7551
  shouldDisableMonth: A,
7548
7552
  shouldDisableYear: T,
7549
- dayOfWeekFormatter: $ = (_) => o.format(_, "weekdayShort").charAt(0).toUpperCase(),
7553
+ dayOfWeekFormatter: B = (_) => o.format(_, "weekdayShort").charAt(0).toUpperCase(),
7550
7554
  hasFocus: R,
7551
7555
  onFocusedViewChange: F,
7552
7556
  gridLabelId: O,
@@ -7562,7 +7566,7 @@ function Pl(e) {
7562
7566
  disablePast: P,
7563
7567
  disableFuture: S,
7564
7568
  timezone: V
7565
- }), j = Ze(), re = H((_) => {
7569
+ }), $ = Ze(), re = H((_) => {
7566
7570
  g || d(_);
7567
7571
  }), W = (_) => {
7568
7572
  Q(_) || (r(_), F?.(!0));
@@ -7634,15 +7638,15 @@ function Pl(e) {
7634
7638
  children: [w && /* @__PURE__ */ C(pl, {
7635
7639
  variant: "caption",
7636
7640
  role: "columnheader",
7637
- "aria-label": j.calendarWeekNumberHeaderLabel,
7641
+ "aria-label": $.calendarWeekNumberHeaderLabel,
7638
7642
  className: L.weekNumberLabel,
7639
- children: j.calendarWeekNumberHeaderText
7643
+ children: $.calendarWeekNumberHeaderText
7640
7644
  }), cs(o, N).map((_, Y) => /* @__PURE__ */ C(dl, {
7641
7645
  variant: "caption",
7642
7646
  role: "columnheader",
7643
7647
  "aria-label": o.format(_, "weekday"),
7644
7648
  className: L.weekDayLabel,
7645
- children: $(_)
7649
+ children: B(_)
7646
7650
  }, Y.toString()))]
7647
7651
  }), u ? /* @__PURE__ */ C(ml, {
7648
7652
  className: L.loadingContainer,
@@ -7666,8 +7670,8 @@ function Pl(e) {
7666
7670
  children: [w && /* @__PURE__ */ C(fl, {
7667
7671
  className: L.weekNumber,
7668
7672
  role: "rowheader",
7669
- "aria-label": j.calendarWeekNumberAriaLabelText(o.getWeekNumber(_[0])),
7670
- children: j.calendarWeekNumberText(o.getWeekNumber(_[0]))
7673
+ "aria-label": $.calendarWeekNumberAriaLabelText(o.getWeekNumber(_[0])),
7674
+ children: $.calendarWeekNumberText(o.getWeekNumber(_[0]))
7671
7675
  }), _.map((ne, z) => /* @__PURE__ */ C(yl, {
7672
7676
  parentProps: n,
7673
7677
  day: ne,
@@ -7840,7 +7844,7 @@ const io = (e, n, o, r, s) => !!(e === n && r && s.isSameYear(o, r)), kl = q("di
7840
7844
  onFocusedViewChange: v,
7841
7845
  monthsPerRow: A,
7842
7846
  timezone: T,
7843
- gridLabelId: $,
7847
+ gridLabelId: B,
7844
7848
  slots: R,
7845
7849
  slotProps: F
7846
7850
  } = r, O = J(r, Cl), {
@@ -7857,7 +7861,7 @@ const io = (e, n, o, r, s) => !!(e === n && r && s.isSameYear(o, r)), kl = q("di
7857
7861
  valueManager: qe
7858
7862
  }), N = _t(V), L = Ye(), M = be(), {
7859
7863
  ownerState: Q
7860
- } = Fe(), j = f.useMemo(
7864
+ } = Fe(), $ = f.useMemo(
7861
7865
  () => qe.getInitialReferenceValue({
7862
7866
  value: w,
7863
7867
  adapter: M,
@@ -7868,7 +7872,7 @@ const io = (e, n, o, r, s) => !!(e === n && r && s.isSameYear(o, r)), kl = q("di
7868
7872
  }),
7869
7873
  []
7870
7874
  // eslint-disable-line react-hooks/exhaustive-deps
7871
- ), re = xl(c), W = f.useMemo(() => M.getMonth(N), [M, N]), X = f.useMemo(() => w != null ? M.getMonth(w) : null, [w, M]), [ie, te] = f.useState(() => X || M.getMonth(j)), [ue, oe] = bt({
7875
+ ), re = xl(c), W = f.useMemo(() => M.getMonth(N), [M, N]), X = f.useMemo(() => w != null ? M.getMonth(w) : null, [w, M]), [ie, te] = f.useState(() => X || M.getMonth($)), [ue, oe] = bt({
7872
7876
  name: "MonthCalendar",
7873
7877
  state: "hasFocus",
7874
7878
  controlled: k,
@@ -7876,15 +7880,15 @@ const io = (e, n, o, r, s) => !!(e === n && r && s.isSameYear(o, r)), kl = q("di
7876
7880
  }), de = H((z) => {
7877
7881
  oe(z), v && v(z);
7878
7882
  }), he = f.useCallback((z) => {
7879
- const Z = M.startOfMonth(b && M.isAfter(N, D) ? N : D), B = M.startOfMonth(g && M.isBefore(N, y) ? N : y), E = M.startOfMonth(z);
7880
- return M.isBefore(E, Z) || M.isAfter(E, B) ? !0 : P ? P(E) : !1;
7883
+ const Z = M.startOfMonth(b && M.isAfter(N, D) ? N : D), j = M.startOfMonth(g && M.isBefore(N, y) ? N : y), E = M.startOfMonth(z);
7884
+ return M.isBefore(E, Z) || M.isAfter(E, j) ? !0 : P ? P(E) : !1;
7881
7885
  }, [g, b, y, D, N, P, M]), ee = H((z, Z) => {
7882
7886
  if (S)
7883
7887
  return;
7884
- const B = w && i && !M.isSameYear(w, i) ? M.setYear(w, M.getYear(i)) : w, E = M.setMonth(B ?? j, Z);
7885
- I(E);
7888
+ const E = (w && i && !M.isSameYear(w, i) ? M.setYear(w, M.getYear(i)) : w) ?? i ?? $, G = M.setMonth(E, Z);
7889
+ I(G);
7886
7890
  }), U = H((z) => {
7887
- he(M.setMonth(w ?? i ?? j, z)) || (te(z), de(!0), x && x(z));
7891
+ he(M.setMonth(w ?? i ?? $, z)) || (te(z), de(!0), x && x(z));
7888
7892
  });
7889
7893
  f.useEffect(() => {
7890
7894
  te((z) => X !== null && z !== X ? X : z);
@@ -7914,11 +7918,11 @@ const io = (e, n, o, r, s) => !!(e === n && r && s.isSameYear(o, r)), kl = q("di
7914
7918
  className: ke(re.root, a),
7915
7919
  ownerState: Q,
7916
7920
  role: "radiogroup",
7917
- "aria-labelledby": $,
7921
+ "aria-labelledby": B,
7918
7922
  monthsPerRow: A
7919
7923
  }, O, {
7920
- children: dn(M, i ?? w ?? j).map((z) => {
7921
- const Z = M.getMonth(z), B = M.format(z, "monthShort"), E = M.format(z, "month"), G = io(Z, X, z, w, M), pe = h || he(z);
7924
+ children: dn(M, i ?? w ?? $).map((z) => {
7925
+ const Z = M.getMonth(z), j = M.format(z, "monthShort"), E = M.format(z, "month"), G = io(Z, X, z, w, M), pe = h || he(z);
7922
7926
  return /* @__PURE__ */ C(dr, {
7923
7927
  selected: G,
7924
7928
  value: Z,
@@ -7934,8 +7938,8 @@ const io = (e, n, o, r, s) => !!(e === n && r && s.isSameYear(o, r)), kl = q("di
7934
7938
  slots: R,
7935
7939
  slotProps: F,
7936
7940
  classes: c,
7937
- children: B
7938
- }, B);
7941
+ children: j
7942
+ }, j);
7939
7943
  })
7940
7944
  }));
7941
7945
  });
@@ -8212,7 +8216,7 @@ const Vl = q("div", {
8212
8216
  yearsOrder: v,
8213
8217
  yearsPerRow: A,
8214
8218
  timezone: T,
8215
- gridLabelId: $,
8219
+ gridLabelId: B,
8216
8220
  slots: R,
8217
8221
  slotProps: F
8218
8222
  } = r, O = J(r, Rl), {
@@ -8229,7 +8233,7 @@ const Vl = q("div", {
8229
8233
  valueManager: qe
8230
8234
  }), N = _t(V), L = Ye(), M = be(), {
8231
8235
  ownerState: Q
8232
- } = Fe(), j = f.useMemo(
8236
+ } = Fe(), $ = f.useMemo(
8233
8237
  () => qe.getInitialReferenceValue({
8234
8238
  value: w,
8235
8239
  adapter: M,
@@ -8240,7 +8244,7 @@ const Vl = q("div", {
8240
8244
  }),
8241
8245
  []
8242
8246
  // eslint-disable-line react-hooks/exhaustive-deps
8243
- ), re = Tl(i), W = f.useMemo(() => M.getYear(N), [M, N]), X = f.useMemo(() => w != null ? M.getYear(w) : null, [w, M]), [ie, te] = f.useState(() => X || M.getYear(j)), [ue, oe] = bt({
8247
+ ), re = Tl(i), W = f.useMemo(() => M.getYear(N), [M, N]), X = f.useMemo(() => w != null ? M.getYear(w) : null, [w, M]), [ie, te] = f.useState(() => X || M.getYear($)), [ue, oe] = bt({
8244
8248
  name: "YearCalendar",
8245
8249
  state: "hasFocus",
8246
8250
  controlled: x,
@@ -8257,10 +8261,10 @@ const Vl = q("div", {
8257
8261
  }, [h, g, b, y, N, P, M]), ee = H((K, se) => {
8258
8262
  if (m)
8259
8263
  return;
8260
- const Se = M.setYear(w ?? j, se);
8264
+ const Se = M.setYear(w ?? $, se);
8261
8265
  I(Se);
8262
8266
  }), U = H((K) => {
8263
- he(M.setYear(w ?? j, K)) || (te(K), de(!0), S?.(K));
8267
+ he(M.setYear(w ?? $, K)) || (te(K), de(!0), S?.(K));
8264
8268
  });
8265
8269
  f.useEffect(() => {
8266
8270
  te((K) => X !== null && K !== X ? X : K);
@@ -8284,15 +8288,15 @@ const Vl = q("div", {
8284
8288
  U(se);
8285
8289
  }), Z = H((K, se) => {
8286
8290
  ie === se && de(!1);
8287
- }), B = f.useRef(null), E = Ve(o, B);
8291
+ }), j = f.useRef(null), E = Ve(o, j);
8288
8292
  f.useEffect(() => {
8289
- if (s || B.current === null)
8293
+ if (s || j.current === null)
8290
8294
  return;
8291
- const K = B.current.querySelector('[tabindex="0"]');
8295
+ const K = j.current.querySelector('[tabindex="0"]');
8292
8296
  if (!K)
8293
8297
  return;
8294
- const se = K.offsetHeight, Se = K.offsetTop, Ce = B.current.clientHeight, Me = B.current.scrollTop, Le = Se + se;
8295
- se > Ce || Se < Me || (B.current.scrollTop = Le - Ce / 2 - se / 2);
8298
+ const se = K.offsetHeight, Se = K.offsetTop, Ce = j.current.clientHeight, Me = j.current.scrollTop, Le = Se + se;
8299
+ se > Ce || Se < Me || (j.current.scrollTop = Le - Ce / 2 - se / 2);
8296
8300
  }, [s]);
8297
8301
  const G = M.getYearRange([y, b]);
8298
8302
  v === "desc" && G.reverse();
@@ -8302,7 +8306,7 @@ const Vl = q("div", {
8302
8306
  className: ke(re.root, a),
8303
8307
  ownerState: Q,
8304
8308
  role: "radiogroup",
8305
- "aria-labelledby": $,
8309
+ "aria-labelledby": B,
8306
8310
  yearsPerRow: A
8307
8311
  }, O, {
8308
8312
  children: [G.map((K) => {
@@ -8509,8 +8513,8 @@ const Bl = ["children", "className", "slots", "slotProps", "isNextDisabled", "is
8509
8513
  isHidden: y,
8510
8514
  goTo: D,
8511
8515
  label: m
8512
- }, $ = c?.previousIconButton ?? lo, R = me({
8513
- elementType: $,
8516
+ }, B = c?.previousIconButton ?? lo, R = me({
8517
+ elementType: B,
8514
8518
  externalSlotProps: l?.previousIconButton,
8515
8519
  additionalProps: {
8516
8520
  size: "medium",
@@ -8561,7 +8565,7 @@ const Bl = ["children", "className", "slots", "slotProps", "isNextDisabled", "is
8561
8565
  className: ke(v.root, i),
8562
8566
  ownerState: k
8563
8567
  }, x, {
8564
- children: [/* @__PURE__ */ C($, p({}, R, {
8568
+ children: [/* @__PURE__ */ C(B, p({}, R, {
8565
8569
  children: r ? /* @__PURE__ */ C(N, p({}, M)) : /* @__PURE__ */ C(w, p({}, V))
8566
8570
  })), a ? /* @__PURE__ */ C(Pt, {
8567
8571
  variant: "subtitle1",
@@ -8683,7 +8687,7 @@ const Ul = ["slots", "slotProps", "currentMonth", "disabled", "disableFuture", "
8683
8687
  classes: v,
8684
8688
  timezone: A,
8685
8689
  format: T = `${s.formats.month} ${s.formats.year}`
8686
- } = a, $ = J(a, Ul), {
8690
+ } = a, B = J(a, Ul), {
8687
8691
  ownerState: R
8688
8692
  } = Fe(), F = Kl(v), O = i?.switchViewButton ?? Zl, w = me({
8689
8693
  elementType: O,
@@ -8705,7 +8709,7 @@ const Ul = ["slots", "slotProps", "currentMonth", "disabled", "disableFuture", "
8705
8709
  disableFuture: d,
8706
8710
  maxDate: g,
8707
8711
  timezone: A
8708
- }), j = zl(l, {
8712
+ }), $ = zl(l, {
8709
8713
  disablePast: h,
8710
8714
  minDate: b,
8711
8715
  timezone: A
@@ -8721,7 +8725,7 @@ const Ul = ["slots", "slotProps", "currentMonth", "disabled", "disableFuture", "
8721
8725
  if (S.length === 1 && S[0] === "year")
8722
8726
  return null;
8723
8727
  const W = s.formatByString(l, T);
8724
- return /* @__PURE__ */ ge(Gl, p({}, $, {
8728
+ return /* @__PURE__ */ ge(Gl, p({}, B, {
8725
8729
  ownerState: R,
8726
8730
  className: ke(F.root, k),
8727
8731
  ref: o,
@@ -8751,7 +8755,7 @@ const Ul = ["slots", "slotProps", "currentMonth", "disabled", "disableFuture", "
8751
8755
  slots: i,
8752
8756
  slotProps: c,
8753
8757
  onGoToPrevious: M,
8754
- isPreviousDisabled: j,
8758
+ isPreviousDisabled: $,
8755
8759
  previousLabel: r.previousMonth,
8756
8760
  onGoToNext: L,
8757
8761
  isNextDisabled: Q,
@@ -8865,7 +8869,7 @@ const sc = q(ec, {
8865
8869
  views: v,
8866
8870
  openTo: A,
8867
8871
  className: T,
8868
- classes: $,
8872
+ classes: B,
8869
8873
  disabled: R,
8870
8874
  readOnly: F,
8871
8875
  minDate: O,
@@ -8876,7 +8880,7 @@ const sc = q(ec, {
8876
8880
  showDaysOutsideCurrentMonth: L,
8877
8881
  fixedWeekNumber: M,
8878
8882
  dayOfWeekFormatter: Q,
8879
- slots: j,
8883
+ slots: $,
8880
8884
  slotProps: re,
8881
8885
  loading: W,
8882
8886
  renderLoading: X,
@@ -8902,7 +8906,7 @@ const sc = q(ec, {
8902
8906
  setView: ne,
8903
8907
  focusedView: z,
8904
8908
  setFocusedView: Z,
8905
- goToNextView: B,
8909
+ goToNextView: j,
8906
8910
  setValueAndGoToNextView: E
8907
8911
  } = Bo({
8908
8912
  view: k,
@@ -8931,7 +8935,7 @@ const sc = q(ec, {
8931
8935
  disableFuture: g,
8932
8936
  timezone: _,
8933
8937
  getCurrentMonthFromVisibleDate: (ce, Re) => r.isSameMonth(ce, Re) ? Re : r.startOfMonth(ce)
8934
- }), Ce = R && ee || O, Me = R && ee || w, Le = `${a}-grid-label`, Ke = z !== null, it = j?.calendarHeader ?? Fn, lt = me({
8938
+ }), Ce = R && ee || O, Me = R && ee || w, Le = `${a}-grid-label`, Ke = z !== null, it = $?.calendarHeader ?? Fn, lt = me({
8935
8939
  elementType: it,
8936
8940
  externalSlotProps: re?.calendarHeader,
8937
8941
  additionalProps: {
@@ -8967,7 +8971,7 @@ const sc = q(ec, {
8967
8971
  Be ? (E(Be, "finish"), K({
8968
8972
  target: Be,
8969
8973
  reason: "cell-interaction"
8970
- })) : (B(), K({
8974
+ })) : (j(), K({
8971
8975
  target: Re,
8972
8976
  reason: "cell-interaction"
8973
8977
  }));
@@ -8985,7 +8989,7 @@ const sc = q(ec, {
8985
8989
  Be ? (E(Be, "finish"), K({
8986
8990
  target: Be,
8987
8991
  reason: "cell-interaction"
8988
- })) : (B(), K({
8992
+ })) : (j(), K({
8989
8993
  target: Re,
8990
8994
  reason: "cell-interaction"
8991
8995
  }));
@@ -8996,7 +9000,7 @@ const sc = q(ec, {
8996
9000
  reason: "controlled-value-change"
8997
9001
  });
8998
9002
  }, [ee]);
8999
- const we = oc($), Oe = {
9003
+ const we = oc(B), Oe = {
9000
9004
  disablePast: b,
9001
9005
  disableFuture: g,
9002
9006
  maxDate: w,
@@ -9007,7 +9011,7 @@ const sc = q(ec, {
9007
9011
  disabled: R,
9008
9012
  timezone: _,
9009
9013
  gridLabelId: Le,
9010
- slots: j,
9014
+ slots: $,
9011
9015
  slotProps: re
9012
9016
  }, ve = f.useRef(Y);
9013
9017
  f.useEffect(() => {
@@ -9020,7 +9024,7 @@ const sc = q(ec, {
9020
9024
  ownerState: s
9021
9025
  }, he, {
9022
9026
  children: [/* @__PURE__ */ C(it, p({}, lt, {
9023
- slots: j,
9027
+ slots: $,
9024
9028
  slotProps: re
9025
9029
  })), /* @__PURE__ */ C(ac, {
9026
9030
  reduceAnimations: m,
@@ -9323,7 +9327,7 @@ const ot = ({
9323
9327
  onYearChange: v,
9324
9328
  yearsOrder: A,
9325
9329
  yearsPerRow: T,
9326
- slots: $,
9330
+ slots: B,
9327
9331
  slotProps: R,
9328
9332
  loading: F,
9329
9333
  renderLoading: O,
@@ -9334,7 +9338,7 @@ const ot = ({
9334
9338
  dayOfWeekFormatter: L,
9335
9339
  sx: M,
9336
9340
  autoFocus: Q,
9337
- fixedWeekNumber: j,
9341
+ fixedWeekNumber: $,
9338
9342
  displayWeekNumber: re,
9339
9343
  timezone: W
9340
9344
  }) => /* @__PURE__ */ C(Vn, {
@@ -9362,7 +9366,7 @@ const ot = ({
9362
9366
  onYearChange: v,
9363
9367
  yearsOrder: A,
9364
9368
  yearsPerRow: T,
9365
- slots: $,
9369
+ slots: B,
9366
9370
  slotProps: R,
9367
9371
  loading: F,
9368
9372
  renderLoading: O,
@@ -9373,7 +9377,7 @@ const ot = ({
9373
9377
  dayOfWeekFormatter: L,
9374
9378
  sx: M,
9375
9379
  autoFocus: Q,
9376
- fixedWeekNumber: j,
9380
+ fixedWeekNumber: $,
9377
9381
  displayWeekNumber: re,
9378
9382
  timezone: W
9379
9383
  });
@@ -10605,7 +10609,7 @@ const mc = {
10605
10609
  error: A,
10606
10610
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
10607
10611
  focused: T,
10608
- ...$
10612
+ ...B
10609
10613
  } = o, R = at(), F = Ve(
10610
10614
  n,
10611
10615
  Ve(R.triggerRef, R.rootRef)
@@ -10613,7 +10617,7 @@ const mc = {
10613
10617
  return /* @__PURE__ */ ge(
10614
10618
  hc,
10615
10619
  {
10616
- ...$,
10620
+ ...B,
10617
10621
  ref: F,
10618
10622
  error: A,
10619
10623
  color: S,
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { D, D as f } from "../../Datepicker-ixcQBj5A.js";
3
+ import { D, D as f } from "../../Datepicker-CE6vashk.js";
4
4
  import "../../generateUtilityClass-BhfUaMgk.js";
5
5
  import "../../styled-BKpRY52y.js";
6
6
  import "../../useForkRef-9kN4DArm.js";
@@ -1,5 +1,5 @@
1
- import { c as e, a as r, b as i, D as t, L as l, M as o, P as d, e as C, d as c, f as D, D as k, g as n, j as p, i as P, p as y, h as f } from "../../Datepicker-ixcQBj5A.js";
2
- import { A as b } from "../../AdapterDayjs-BKhf_aHy.js";
1
+ import { c as e, a as r, b as i, D as t, L as l, M as o, P as d, e as C, d as c, f as D, D as k, g as n, j as p, i as P, p as y, h as f } from "../../Datepicker-CE6vashk.js";
2
+ import { A as b } from "../../AdapterDayjs-BkUCTS9t.js";
3
3
  export {
4
4
  b as AdapterDayjs,
5
5
  e as DateCalendar,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as c, jsx as r } from "react/jsx-runtime";
2
2
  import { forwardRef as y } from "react";
3
- import { D } from "../../Datepicker-ixcQBj5A.js";
3
+ import { D } from "../../Datepicker-CE6vashk.js";
4
4
  import { FormSublabel as b } from "../FormSublabel/FormSublabel.js";
5
5
  import { useId as w } from "../../hooks/useId.js";
6
6
  import "../../icons/ClearstoryIcon.js";
package/dist/main.js CHANGED
@@ -11,7 +11,7 @@ import { I as ha } from "./Info-BIwRC_L9.js";
11
11
  import { StyledEngineProvider as Pa } from "./theme/index.js";
12
12
  import { A as Fa, a as va, c as Oa, g as Ma } from "./Autocomplete-BG3jpE2X.js";
13
13
  import { AutocompleteControl as Ga } from "./components/AutocompleteControl/AutocompleteControl.js";
14
- import { c as Ea, a as Na, b as Va, D as Ka, L as za, M as Wa, P as Za, e as ja, d as Qa, f as qa, g as Ja, j as Xa, i as Ya, p as _a, h as $a } from "./Datepicker-ixcQBj5A.js";
14
+ import { c as Ea, a as Na, b as Va, D as Ka, L as za, M as Wa, P as Za, e as ja, d as Qa, f as qa, g as Ja, j as Xa, i as Ya, p as _a, h as $a } from "./Datepicker-CE6vashk.js";
15
15
  import { DescriptionDetails as at } from "./components/DescriptionDetails/DescriptionDetails.js";
16
16
  import { DescriptionList as ot } from "./components/DescriptionList/DescriptionList.js";
17
17
  import { useDescriptionListContext as rt } from "./components/DescriptionList/DescriptionListContext.js";
@@ -137,7 +137,7 @@ import { Z as RC } from "./Zoom-Ia0xnNsL.js";
137
137
  import { a as HC, d as EC, e as NC, g as VC, b as KC, l as zC } from "./createTheme-Cr8frjQ0.js";
138
138
  import { u as ZC } from "./ThemeProviderWithVars-hLmfDgWo.js";
139
139
  import { C as QC } from "./ClickAwayListener-DwFm5IeK.js";
140
- import { A as JC } from "./AdapterDayjs-BKhf_aHy.js";
140
+ import { A as JC } from "./AdapterDayjs-BkUCTS9t.js";
141
141
  export {
142
142
  g as AccessTimeIcon,
143
143
  Zt as Accordion,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clearstory/drywall-react",
3
- "version": "5.1.1",
3
+ "version": "5.2.0",
4
4
  "license": "UNLICENSED",
5
5
  "description": "a Clearstory software design system",
6
6
  "type": "module",
@@ -37,7 +37,7 @@
37
37
  "@mui/material": "7.3.6",
38
38
  "@mui/system": "7.3.6",
39
39
  "@mui/utils": "7.3.6",
40
- "@mui/x-date-pickers": "8.22.0",
40
+ "@mui/x-date-pickers": "8.23.0",
41
41
  "react-hot-toast": "2.6.0",
42
42
  "react-number-format": "^5.4.4"
43
43
  },