@solostylist/ui-kit 1.0.201 → 1.0.202

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,10 +1,10 @@
1
1
  import { j as c } from "../jsx-runtime-tc70JA_2.js";
2
2
  import { useTheme as I, TextField as z } from "@mui/material";
3
3
  import { SForm as L } from "../s-form/s-form.js";
4
- import { _ as P, a as s } from "../objectWithoutPropertiesLoose-DiWPeE4c.js";
4
+ import { _ as D, a as s } from "../objectWithoutPropertiesLoose-DiWPeE4c.js";
5
5
  import * as f from "react";
6
6
  import { P as e } from "../createTheme-DgoJyWM-.js";
7
- import { g as U, a as Y, u as O, b as q, c as Q, d as B, r as T, e as H, P as $, f as K, h as Z, i as G, j as J, k as X, l as ee, m as oe, C as te, n as m, o as p, p as M, q as F, s as se, v as R, t as N, w as ae, D as ne, x as re } from "../useMobilePicker-B-bNHHXB.js";
7
+ import { g as U, a as Y, u as O, b as q, c as B, d as Q, r as T, e as H, P as $, f as K, h as Z, i as G, j as J, k as X, l as ee, m as oe, C as te, n as m, o as p, p as M, q as F, s as se, v as R, t as N, w as ae, D as ne, x as re } from "../useMobilePicker-B-bNHHXB.js";
8
8
  import { u as y } from "../warning-Ba-7BBAN.js";
9
9
  import { c as le } from "../clsx-OuTLNxxd.js";
10
10
  import { s as C } from "../styled-8Y5KoVix.js";
@@ -40,19 +40,19 @@ const de = ["toolbarFormat", "toolbarPlaceholder", "className", "classes"], ue =
40
40
  toolbarPlaceholder: r = "––",
41
41
  className: i,
42
42
  classes: d
43
- } = n, u = P(n, de), b = O(), {
44
- value: D,
43
+ } = n, u = D(n, de), b = O(), {
44
+ value: P,
45
45
  views: v,
46
46
  orientation: E
47
- } = q(), V = Q(), _ = B(), w = ue(d), A = f.useMemo(() => {
48
- if (!b.isValid(D))
47
+ } = q(), V = B(), _ = Q(), w = ue(d), A = f.useMemo(() => {
48
+ if (!b.isValid(P))
49
49
  return r;
50
50
  const W = T(b, {
51
51
  format: o,
52
52
  views: v
53
53
  }, !0);
54
- return b.formatByString(D, W);
55
- }, [D, o, r, b, v]);
54
+ return b.formatByString(P, W);
55
+ }, [P, o, r, b, v]);
56
56
  return /* @__PURE__ */ c.jsx(fe, s({
57
57
  ref: t,
58
58
  toolbarTitle: V.datePickerToolbarTitle,
@@ -131,7 +131,7 @@ const be = (l) => {
131
131
  }), {
132
132
  slots: o,
133
133
  slotProps: r
134
- } = n, i = P(n, me), d = X({
134
+ } = n, i = D(n, me), d = X({
135
135
  slotProps: r,
136
136
  ref: t,
137
137
  externalForwardedProps: i
@@ -1136,7 +1136,7 @@ const ye = ["desktopModeMediaQuery"], x = /* @__PURE__ */ f.forwardRef(function(
1136
1136
  name: "MuiDatePicker"
1137
1137
  }), {
1138
1138
  desktopModeMediaQuery: o = ne
1139
- } = n, r = P(n, ye);
1139
+ } = n, r = D(n, ye);
1140
1140
  return re(o, {
1141
1141
  defaultMatches: !0
1142
1142
  }) ? /* @__PURE__ */ c.jsx(k, s({
@@ -1492,6 +1492,10 @@ const he = ({
1492
1492
  // Allow user to override slots if needed
1493
1493
  },
1494
1494
  slotProps: {
1495
+ openPickerButton: {
1496
+ edge: "end",
1497
+ sx: { my: -1 }
1498
+ },
1495
1499
  popper: {
1496
1500
  sx: {
1497
1501
  "& .MuiPaper-root": {
@@ -18,8 +18,8 @@ import { g as it } from "../generateUtilityClasses-E9gROIFd.js";
18
18
  import { g as lt } from "../generateUtilityClass-BhfUaMgk.js";
19
19
  import { c as ct } from "../createSvgIcon-BkbeLOhM.js";
20
20
  import { T as ws } from "../Typography-PcmlIqm1.js";
21
- import { a as Ss, M as ut } from "../MenuItem-2wG8I2HO.js";
22
- const xs = (o) => {
21
+ import { a as xs, M as ut } from "../MenuItem-2wG8I2HO.js";
22
+ const Ss = (o) => {
23
23
  const {
24
24
  absolute: t,
25
25
  children: n,
@@ -33,7 +33,7 @@ const xs = (o) => {
33
33
  return no({
34
34
  root: ["root", t && "absolute", u, a && "light", i === "vertical" && "vertical", r && "flexItem", n && "withChildren", n && i === "vertical" && "withChildrenVertical", l === "right" && i !== "vertical" && "textAlignRight", l === "left" && i !== "vertical" && "textAlignLeft"],
35
35
  wrapper: ["wrapper", i === "vertical" && "wrapperVertical"]
36
- }, Ss, s);
36
+ }, xs, s);
37
37
  }, Cs = A("div", {
38
38
  name: "MuiDivider",
39
39
  slot: "Root",
@@ -216,7 +216,7 @@ const xs = (o) => {
216
216
  textAlign: f = "center",
217
217
  variant: v = "fullWidth",
218
218
  ...P
219
- } = s, S = {
219
+ } = s, x = {
220
220
  ...s,
221
221
  absolute: r,
222
222
  component: u,
@@ -226,18 +226,18 @@ const xs = (o) => {
226
226
  role: g,
227
227
  textAlign: f,
228
228
  variant: v
229
- }, M = xs(S);
229
+ }, M = Ss(x);
230
230
  return /* @__PURE__ */ d.jsx(Cs, {
231
231
  as: u,
232
232
  className: q(M.root, i),
233
233
  role: g,
234
234
  ref: n,
235
- ownerState: S,
235
+ ownerState: x,
236
236
  "aria-orientation": g === "separator" && (u !== "hr" || l === "vertical") ? l : void 0,
237
237
  ...P,
238
238
  children: a ? /* @__PURE__ */ d.jsx(ks, {
239
239
  className: M.wrapper,
240
- ownerState: S,
240
+ ownerState: x,
241
241
  children: a
242
242
  }) : null
243
243
  });
@@ -489,7 +489,7 @@ const Ps = (o) => {
489
489
  onClick: v,
490
490
  onFocus: P,
491
491
  // eslint-disable-next-line react/prop-types
492
- selected: S,
492
+ selected: x,
493
493
  // eslint-disable-next-line react/prop-types
494
494
  selectionFollowsFocus: M,
495
495
  // eslint-disable-next-line react/prop-types
@@ -501,7 +501,7 @@ const Ps = (o) => {
501
501
  ...s,
502
502
  disabled: a,
503
503
  disableFocusRipple: i,
504
- selected: S,
504
+ selected: x,
505
505
  icon: !!u,
506
506
  iconPosition: p,
507
507
  label: !!g,
@@ -511,21 +511,21 @@ const Ps = (o) => {
511
511
  }, E = Ps(N), I = u && g && /* @__PURE__ */ c.isValidElement(u) ? /* @__PURE__ */ c.cloneElement(u, {
512
512
  className: q(E.icon, u.props.className)
513
513
  }) : u, $ = (C) => {
514
- !S && f && f(C, j), v && v(C);
514
+ !x && f && f(C, j), v && v(C);
515
515
  }, w = (C) => {
516
- M && !S && f && f(C, j), P && P(C);
516
+ M && !x && f && f(C, j), P && P(C);
517
517
  };
518
518
  return /* @__PURE__ */ d.jsxs(Os, {
519
519
  focusRipple: !i,
520
520
  className: q(E.root, r),
521
521
  ref: n,
522
522
  role: "tab",
523
- "aria-selected": S,
523
+ "aria-selected": x,
524
524
  disabled: a,
525
525
  onClick: $,
526
526
  onFocus: w,
527
527
  ownerState: N,
528
- tabIndex: S ? 0 : -1,
528
+ tabIndex: x ? 0 : -1,
529
529
  ...k,
530
530
  children: [p === "top" || p === "start" ? /* @__PURE__ */ d.jsxs(c.Fragment, {
531
531
  children: [I, g]
@@ -1186,7 +1186,7 @@ const $s = it("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
1186
1186
  } = s, g = yo(), f = {
1187
1187
  isRtl: g,
1188
1188
  ...s
1189
- }, v = _s(f), P = a.StartScrollButtonIcon ?? Bs, S = a.EndScrollButtonIcon ?? Ls, M = Je({
1189
+ }, v = _s(f), P = a.StartScrollButtonIcon ?? Bs, x = a.EndScrollButtonIcon ?? Ls, M = Je({
1190
1190
  elementType: P,
1191
1191
  externalSlotProps: i.startScrollButtonIcon,
1192
1192
  additionalProps: {
@@ -1194,7 +1194,7 @@ const $s = it("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
1194
1194
  },
1195
1195
  ownerState: f
1196
1196
  }), K = Je({
1197
- elementType: S,
1197
+ elementType: x,
1198
1198
  externalSlotProps: i.endScrollButtonIcon,
1199
1199
  additionalProps: {
1200
1200
  fontSize: "small"
@@ -1217,7 +1217,7 @@ const $s = it("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
1217
1217
  },
1218
1218
  children: l === "left" ? /* @__PURE__ */ d.jsx(P, {
1219
1219
  ...M
1220
- }) : /* @__PURE__ */ d.jsx(S, {
1220
+ }) : /* @__PURE__ */ d.jsx(x, {
1221
1221
  ...K
1222
1222
  })
1223
1223
  });
@@ -1496,7 +1496,7 @@ const bt = /* @__PURE__ */ c.forwardRef(function(t, n) {
1496
1496
  component: f = "div",
1497
1497
  allowScrollButtonsMobile: v = !1,
1498
1498
  indicatorColor: P = "primary",
1499
- onChange: S,
1499
+ onChange: x,
1500
1500
  orientation: M = "horizontal",
1501
1501
  ScrollButtonComponent: K,
1502
1502
  // TODO: remove in v7 (deprecated in v6)
@@ -1543,7 +1543,7 @@ const bt = /* @__PURE__ */ c.forwardRef(function(t, n) {
1543
1543
  const [ie, W] = c.useState(!1), [le, Z] = c.useState(Wo), [ye, de] = c.useState(!1), [Oe, De] = c.useState(!1), [te, Me] = c.useState(!1), [he, Ie] = c.useState({
1544
1544
  overflow: "hidden",
1545
1545
  scrollbarWidth: 0
1546
- }), ge = /* @__PURE__ */ new Map(), J = c.useRef(null), ce = c.useRef(null), x = {
1546
+ }), ge = /* @__PURE__ */ new Map(), J = c.useRef(null), ce = c.useRef(null), S = {
1547
1547
  slots: k,
1548
1548
  slotProps: {
1549
1549
  indicator: E,
@@ -1608,7 +1608,7 @@ const bt = /* @__PURE__ */ c.forwardRef(function(t, n) {
1608
1608
  }, oe = (m) => {
1609
1609
  let h = J.current[_];
1610
1610
  B ? h += m : h += m * (a ? -1 : 1), L(h);
1611
- }, Se = () => {
1611
+ }, xe = () => {
1612
1612
  const m = J.current[be];
1613
1613
  let h = 0;
1614
1614
  const O = Array.from(ce.current.children);
@@ -1621,10 +1621,10 @@ const bt = /* @__PURE__ */ c.forwardRef(function(t, n) {
1621
1621
  h += z[be];
1622
1622
  }
1623
1623
  return h;
1624
- }, xe = () => {
1625
- oe(-1 * Se());
1624
+ }, Se = () => {
1625
+ oe(-1 * xe());
1626
1626
  }, Y = () => {
1627
- oe(Se());
1627
+ oe(xe());
1628
1628
  }, [se, {
1629
1629
  onChange: Ce,
1630
1630
  ...io
@@ -1632,9 +1632,9 @@ const bt = /* @__PURE__ */ c.forwardRef(function(t, n) {
1632
1632
  className: q(Q.scrollableX, Q.hideScrollbar),
1633
1633
  elementType: Xs,
1634
1634
  shouldForwardComponentProp: !0,
1635
- externalForwardedProps: x,
1635
+ externalForwardedProps: S,
1636
1636
  ownerState: G
1637
- }), St = c.useCallback((m) => {
1637
+ }), xt = c.useCallback((m) => {
1638
1638
  Ce?.(m), Ie({
1639
1639
  overflow: null,
1640
1640
  scrollbarWidth: m
@@ -1642,7 +1642,7 @@ const bt = /* @__PURE__ */ c.forwardRef(function(t, n) {
1642
1642
  }, [Ce]), [Io, Vo] = Ve("scrollButtons", {
1643
1643
  className: q(Q.scrollButtons, I.className),
1644
1644
  elementType: ft,
1645
- externalForwardedProps: x,
1645
+ externalForwardedProps: S,
1646
1646
  ownerState: G,
1647
1647
  additionalProps: {
1648
1648
  orientation: M,
@@ -1655,16 +1655,16 @@ const bt = /* @__PURE__ */ c.forwardRef(function(t, n) {
1655
1655
  endScrollButtonIcon: ne
1656
1656
  }
1657
1657
  }
1658
- }), xt = () => {
1658
+ }), St = () => {
1659
1659
  const m = {};
1660
1660
  m.scrollbarSizeListener = R ? /* @__PURE__ */ d.jsx(se, {
1661
1661
  ...io,
1662
- onChange: St
1662
+ onChange: xt
1663
1663
  }) : null;
1664
1664
  const O = R && (j === "auto" && (ye || Oe) || j === !0);
1665
1665
  return m.scrollButtonStart = O ? /* @__PURE__ */ d.jsx(Io, {
1666
1666
  direction: a ? "right" : "left",
1667
- onClick: xe,
1667
+ onClick: Se,
1668
1668
  disabled: !ye,
1669
1669
  ...Vo
1670
1670
  }) : null, m.scrollButtonEnd = O ? /* @__PURE__ */ d.jsx(Io, {
@@ -1747,7 +1747,7 @@ const bt = /* @__PURE__ */ c.forwardRef(function(t, n) {
1747
1747
  const [Ct, kt] = Ve("indicator", {
1748
1748
  className: q(Q.indicator, E.className),
1749
1749
  elementType: qs,
1750
- externalForwardedProps: x,
1750
+ externalForwardedProps: S,
1751
1751
  ownerState: G,
1752
1752
  additionalProps: {
1753
1753
  style: le
@@ -1769,7 +1769,7 @@ const bt = /* @__PURE__ */ c.forwardRef(function(t, n) {
1769
1769
  indicator: O && !ie && Ro,
1770
1770
  selected: O,
1771
1771
  selectionFollowsFocus: X,
1772
- onChange: S,
1772
+ onChange: x,
1773
1773
  textColor: $,
1774
1774
  value: h,
1775
1775
  ...ze === 1 && w === !1 && !m.props.tabIndex ? {
@@ -1797,12 +1797,12 @@ const bt = /* @__PURE__ */ c.forwardRef(function(t, n) {
1797
1797
  m.preventDefault(), Ye(h, null, _o);
1798
1798
  break;
1799
1799
  }
1800
- }, lo = xt(), [Mt, It] = Ve("root", {
1800
+ }, lo = St(), [Mt, It] = Ve("root", {
1801
1801
  ref: n,
1802
1802
  className: q(Q.root, g),
1803
1803
  elementType: Us,
1804
1804
  externalForwardedProps: {
1805
- ...x,
1805
+ ...S,
1806
1806
  ...H,
1807
1807
  component: f
1808
1808
  },
@@ -1811,7 +1811,7 @@ const bt = /* @__PURE__ */ c.forwardRef(function(t, n) {
1811
1811
  ref: J,
1812
1812
  className: Q.scroller,
1813
1813
  elementType: Ys,
1814
- externalForwardedProps: x,
1814
+ externalForwardedProps: S,
1815
1815
  ownerState: G,
1816
1816
  additionalProps: {
1817
1817
  style: {
@@ -1823,7 +1823,7 @@ const bt = /* @__PURE__ */ c.forwardRef(function(t, n) {
1823
1823
  ref: ce,
1824
1824
  className: q(Q.list, Q.flexContainer),
1825
1825
  elementType: Ks,
1826
- externalForwardedProps: x,
1826
+ externalForwardedProps: S,
1827
1827
  ownerState: G,
1828
1828
  getSlotProps: (m) => ({
1829
1829
  ...m,
@@ -2048,7 +2048,7 @@ const Qs = (o) => Xe(o) ? "date" : "time", Zs = (o) => o === "date" ? "day" : "h
2048
2048
  } = oo(), {
2049
2049
  view: g,
2050
2050
  setView: f
2051
- } = vo(), v = Js(l), P = (S, M) => {
2051
+ } = vo(), v = Js(l), P = (x, M) => {
2052
2052
  f(Zs(M));
2053
2053
  };
2054
2054
  return a ? null : /* @__PURE__ */ d.jsxs(en, {
@@ -2374,7 +2374,7 @@ function gt(o) {
2374
2374
  disabled: f,
2375
2375
  readOnly: v,
2376
2376
  variant: P,
2377
- orientation: S,
2377
+ orientation: x,
2378
2378
  view: M,
2379
2379
  setView: K,
2380
2380
  views: j
@@ -2418,7 +2418,7 @@ function gt(o) {
2418
2418
  children: [j.includes("hours") && /* @__PURE__ */ d.jsxs(c.Fragment, {
2419
2419
  children: [/* @__PURE__ */ d.jsx(Te, {
2420
2420
  variant: _ ? "h5" : "h3",
2421
- width: _ && S === "portrait" ? Be : void 0,
2421
+ width: _ && x === "portrait" ? Be : void 0,
2422
2422
  onClick: () => F("hours"),
2423
2423
  selected: C === "hours",
2424
2424
  value: U(n ? "hours12h" : "hours24h", "--")
@@ -2430,7 +2430,7 @@ function gt(o) {
2430
2430
  toolbarVariant: B
2431
2431
  }), /* @__PURE__ */ d.jsx(Te, {
2432
2432
  variant: _ ? "h5" : "h3",
2433
- width: _ && S === "portrait" ? Be : void 0,
2433
+ width: _ && x === "portrait" ? Be : void 0,
2434
2434
  onClick: () => F("minutes"),
2435
2435
  selected: C === "minutes" || !j.includes("minutes") && C === "hours",
2436
2436
  value: U("minutes", "--"),
@@ -2445,7 +2445,7 @@ function gt(o) {
2445
2445
  toolbarVariant: B
2446
2446
  }), /* @__PURE__ */ d.jsx(Te, {
2447
2447
  variant: _ ? "h5" : "h3",
2448
- width: _ && S === "portrait" ? Be : void 0,
2448
+ width: _ && x === "portrait" ? Be : void 0,
2449
2449
  onClick: () => F("seconds"),
2450
2450
  selected: C === "seconds",
2451
2451
  value: U("seconds", "--")
@@ -2630,7 +2630,7 @@ const yt = ({
2630
2630
  function wn(o) {
2631
2631
  return Ne("MuiDigitalClock", o);
2632
2632
  }
2633
- const bo = Fe("MuiDigitalClock", ["root", "list", "item"]), Sn = ["ampm", "timeStep", "autoFocus", "slots", "slotProps", "value", "defaultValue", "referenceDate", "disableIgnoringDatePartForTimeValidation", "maxTime", "minTime", "disableFuture", "disablePast", "minutesStep", "shouldDisableTime", "onChange", "view", "openTo", "onViewChange", "focusedView", "onFocusedViewChange", "className", "classes", "disabled", "readOnly", "views", "skipDisabled", "timezone"], xn = (o) => Pe({
2633
+ const bo = Fe("MuiDigitalClock", ["root", "list", "item"]), xn = ["ampm", "timeStep", "autoFocus", "slots", "slotProps", "value", "defaultValue", "referenceDate", "disableIgnoringDatePartForTimeValidation", "maxTime", "minTime", "disableFuture", "disablePast", "minutesStep", "shouldDisableTime", "onChange", "view", "openTo", "onViewChange", "focusedView", "onFocusedViewChange", "className", "classes", "disabled", "readOnly", "views", "skipDisabled", "timezone"], Sn = (o) => Pe({
2634
2634
  root: ["root"],
2635
2635
  list: ["list"],
2636
2636
  item: ["item"]
@@ -2685,7 +2685,7 @@ const bo = Fe("MuiDigitalClock", ["root", "list", "item"]), Sn = ["ampm", "timeS
2685
2685
  "&.Mui-focusVisible": {
2686
2686
  backgroundColor: o.vars ? `rgba(${o.vars.palette.primary.mainChannel} / ${o.vars.palette.action.focusOpacity})` : qe(o.palette.primary.main, o.palette.action.focusOpacity)
2687
2687
  }
2688
- })), So = /* @__PURE__ */ c.forwardRef(function(t, n) {
2688
+ })), xo = /* @__PURE__ */ c.forwardRef(function(t, n) {
2689
2689
  const s = ve(), r = c.useRef(null), a = qo(n, r), i = c.useRef(null), l = fe({
2690
2690
  props: t,
2691
2691
  name: "MuiDigitalClock"
@@ -2697,7 +2697,7 @@ const bo = Fe("MuiDigitalClock", ["root", "list", "item"]), Sn = ["ampm", "timeS
2697
2697
  slotProps: f,
2698
2698
  value: v,
2699
2699
  defaultValue: P,
2700
- referenceDate: S,
2700
+ referenceDate: x,
2701
2701
  disableIgnoringDatePartForTimeValidation: M = !1,
2702
2702
  maxTime: K,
2703
2703
  minTime: j,
@@ -2718,7 +2718,7 @@ const bo = Fe("MuiDigitalClock", ["root", "list", "item"]), Sn = ["ampm", "timeS
2718
2718
  views: ue = ["hours"],
2719
2719
  skipDisabled: be = !1,
2720
2720
  timezone: U
2721
- } = l, G = pe(l, Sn), {
2721
+ } = l, G = pe(l, xn), {
2722
2722
  value: Q,
2723
2723
  handleValueChange: ae,
2724
2724
  timezone: ne
@@ -2727,25 +2727,25 @@ const bo = Fe("MuiDigitalClock", ["root", "list", "item"]), Sn = ["ampm", "timeS
2727
2727
  timezone: U,
2728
2728
  value: v,
2729
2729
  defaultValue: P,
2730
- referenceDate: S,
2730
+ referenceDate: x,
2731
2731
  onChange: I,
2732
2732
  valueManager: we
2733
2733
  }), ie = _e(), W = Go(ne), {
2734
2734
  ownerState: le
2735
2735
  } = oo(), Z = y({}, le, {
2736
2736
  hasDigitalClockAlreadyBeenRendered: !!r.current
2737
- }), ye = xn(B), de = g?.digitalClockItem ?? Pn, Oe = ns({
2737
+ }), ye = Sn(B), de = g?.digitalClockItem ?? Pn, Oe = ns({
2738
2738
  elementType: de,
2739
2739
  externalSlotProps: f?.digitalClockItem,
2740
2740
  ownerState: Z,
2741
2741
  className: ye.item
2742
2742
  }), De = yt({
2743
2743
  value: Q,
2744
- referenceDate: S,
2744
+ referenceDate: x,
2745
2745
  adapter: s,
2746
2746
  props: l,
2747
2747
  timezone: ne
2748
- }), te = Qe((x) => ae(x, "finish", "hours")), {
2748
+ }), te = Qe((S) => ae(S, "finish", "hours")), {
2749
2749
  setValueAndGoToNextView: Me
2750
2750
  } = Qo({
2751
2751
  view: $,
@@ -2755,37 +2755,37 @@ const bo = Fe("MuiDigitalClock", ["root", "list", "item"]), Sn = ["ampm", "timeS
2755
2755
  onChange: te,
2756
2756
  focusedView: F,
2757
2757
  onFocusedViewChange: H
2758
- }), he = Qe((x) => {
2759
- Me(x, "finish");
2758
+ }), he = Qe((S) => {
2759
+ Me(S, "finish");
2760
2760
  });
2761
2761
  Zo(() => {
2762
2762
  if (r.current === null)
2763
2763
  return;
2764
- const x = r.current.querySelector('[role="listbox"] [role="option"][tabindex="0"], [role="listbox"] [role="option"][aria-selected="true"]');
2765
- if (!x)
2764
+ const S = r.current.querySelector('[role="listbox"] [role="option"][tabindex="0"], [role="listbox"] [role="option"][aria-selected="true"]');
2765
+ if (!S)
2766
2766
  return;
2767
- const D = x.offsetTop;
2768
- (b || F) && x.focus(), r.current.scrollTop = D - 4;
2767
+ const D = S.offsetTop;
2768
+ (b || F) && S.focus(), r.current.scrollTop = D - 4;
2769
2769
  });
2770
- const Ie = c.useCallback((x) => {
2771
- const D = To(M, s), T = () => !(j && D(j, x) || K && D(x, K) || X && D(x, W) || k && D(W, x)), L = () => s.getMinutes(x) % N !== 0 ? !1 : E ? !E(x, "hours") : !0;
2770
+ const Ie = c.useCallback((S) => {
2771
+ const D = To(M, s), T = () => !(j && D(j, S) || K && D(S, K) || X && D(S, W) || k && D(W, S)), L = () => s.getMinutes(S) % N !== 0 ? !1 : E ? !E(S, "hours") : !0;
2772
2772
  return !T() || !L();
2773
2773
  }, [M, s, j, K, X, W, k, N, E]), ge = c.useMemo(() => {
2774
- const x = [];
2774
+ const S = [];
2775
2775
  let T = s.startOfDay(De);
2776
2776
  for (; s.isSameDay(De, T); )
2777
- x.push(T), T = s.addMinutes(T, p);
2778
- return x;
2779
- }, [De, p, s]), J = ge.findIndex((x) => s.isEqual(x, De)), ce = (x) => {
2780
- switch (x.key) {
2777
+ S.push(T), T = s.addMinutes(T, p);
2778
+ return S;
2779
+ }, [De, p, s]), J = ge.findIndex((S) => s.isEqual(S, De)), ce = (S) => {
2780
+ switch (S.key) {
2781
2781
  case "PageUp": {
2782
2782
  const D = Ze(i.current) - 5, T = i.current.children, L = Math.max(0, D), oe = T[L];
2783
- oe && oe.focus(), x.preventDefault();
2783
+ oe && oe.focus(), S.preventDefault();
2784
2784
  break;
2785
2785
  }
2786
2786
  case "PageDown": {
2787
2787
  const D = Ze(i.current) + 5, T = i.current.children, L = Math.min(T.length - 1, D), oe = T[L];
2788
- oe && oe.focus(), x.preventDefault();
2788
+ oe && oe.focus(), S.preventDefault();
2789
2789
  break;
2790
2790
  }
2791
2791
  }
@@ -2801,31 +2801,31 @@ const bo = Fe("MuiDigitalClock", ["root", "list", "item"]), Sn = ["ampm", "timeS
2801
2801
  "aria-label": ie.timePickerToolbarTitle,
2802
2802
  className: ye.list,
2803
2803
  onKeyDown: ce,
2804
- children: ge.map((x, D) => {
2805
- const T = Ie(x);
2804
+ children: ge.map((S, D) => {
2805
+ const T = Ie(S);
2806
2806
  if (be && T)
2807
2807
  return null;
2808
- const L = s.isEqual(x, Q), oe = s.format(x, u ? "fullTime12h" : "fullTime24h"), xe = J === D || J === -1 && D === 0 ? 0 : -1;
2808
+ const L = s.isEqual(S, Q), oe = s.format(S, u ? "fullTime12h" : "fullTime24h"), Se = J === D || J === -1 && D === 0 ? 0 : -1;
2809
2809
  return /* @__PURE__ */ d.jsx(de, y({
2810
- onClick: () => !ee && he(x),
2810
+ onClick: () => !ee && he(S),
2811
2811
  selected: L,
2812
2812
  disabled: _ || T,
2813
2813
  disableRipple: ee,
2814
2814
  role: "option",
2815
2815
  "aria-disabled": ee,
2816
2816
  "aria-selected": L,
2817
- tabIndex: xe,
2818
- itemValue: x,
2817
+ tabIndex: Se,
2818
+ itemValue: S,
2819
2819
  formattedValue: oe
2820
2820
  }, Oe, {
2821
2821
  children: oe
2822
- }), `${x.valueOf()}-${oe}`);
2822
+ }), `${S.valueOf()}-${oe}`);
2823
2823
  })
2824
2824
  })
2825
2825
  }));
2826
2826
  });
2827
- process.env.NODE_ENV !== "production" && (So.displayName = "DigitalClock");
2828
- process.env.NODE_ENV !== "production" && (So.propTypes = {
2827
+ process.env.NODE_ENV !== "production" && (xo.displayName = "DigitalClock");
2828
+ process.env.NODE_ENV !== "production" && (xo.propTypes = {
2829
2829
  // ----------------------------- Warning --------------------------------
2830
2830
  // | These PropTypes are generated from the TypeScript type definitions |
2831
2831
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -3072,14 +3072,14 @@ const go = Fe("MuiMultiSectionDigitalClockSection", ["root", "item"]), In = ["au
3072
3072
  readOnly: f,
3073
3073
  items: v,
3074
3074
  active: P,
3075
- slots: S,
3075
+ slots: x,
3076
3076
  slotProps: M,
3077
3077
  skipDisabled: K
3078
3078
  } = i, j = pe(i, In), {
3079
3079
  ownerState: X
3080
3080
  } = oo(), k = y({}, X, {
3081
3081
  hasDigitalClockAlreadyBeenRendered: !!s.current
3082
- }), N = Vn(b), E = S?.digitalClockSectionItem ?? Rn;
3082
+ }), N = Vn(b), E = x?.digitalClockSectionItem ?? Rn;
3083
3083
  Zo(() => {
3084
3084
  if (s.current === null)
3085
3085
  return;
@@ -3146,19 +3146,19 @@ const Nn = ({
3146
3146
  valueOrReferenceDate: l
3147
3147
  }) => {
3148
3148
  const u = t ? n.getHours(t) : null, p = [], b = (v, P) => {
3149
- const S = P ?? u;
3150
- return S === null ? !1 : s ? v === 12 ? S === 12 || S === 0 : S === v || S - 12 === v : S === v;
3149
+ const x = P ?? u;
3150
+ return x === null ? !1 : s ? v === 12 ? x === 12 || x === 0 : x === v || x - 12 === v : x === v;
3151
3151
  }, g = (v) => b(v, n.getHours(l)), f = s ? 11 : 23;
3152
3152
  for (let v = 0; v <= f; v += i) {
3153
3153
  let P = n.format(n.setHours(o, v), s ? "hours12h" : "hours24h");
3154
- const S = a(parseInt(P, 10).toString());
3154
+ const x = a(parseInt(P, 10).toString());
3155
3155
  P = n.formatNumber(P), p.push({
3156
3156
  value: v,
3157
3157
  label: P,
3158
3158
  isSelected: b,
3159
3159
  isDisabled: r,
3160
3160
  isFocused: g,
3161
- ariaLabel: S
3161
+ ariaLabel: x
3162
3162
  });
3163
3163
  }
3164
3164
  return p;
@@ -3196,7 +3196,7 @@ const Nn = ({
3196
3196
  flexDirection: "row",
3197
3197
  width: "100%",
3198
3198
  borderBottom: `1px solid ${(o.vars || o).palette.divider}`
3199
- })), xo = /* @__PURE__ */ c.forwardRef(function(t, n) {
3199
+ })), So = /* @__PURE__ */ c.forwardRef(function(t, n) {
3200
3200
  const s = ve(), r = yo(), a = fe({
3201
3201
  props: t,
3202
3202
  name: "MuiMultiSectionDigitalClock"
@@ -3210,7 +3210,7 @@ const Nn = ({
3210
3210
  defaultValue: f,
3211
3211
  referenceDate: v,
3212
3212
  disableIgnoringDatePartForTimeValidation: P = !1,
3213
- maxTime: S,
3213
+ maxTime: x,
3214
3214
  minTime: M,
3215
3215
  disableFuture: K,
3216
3216
  disablePast: j,
@@ -3269,10 +3269,10 @@ const Nn = ({
3269
3269
  meridiemMode: te,
3270
3270
  handleMeridiemChange: Me
3271
3271
  } = Ko(W, i, De, "finish"), he = c.useCallback((D, T) => {
3272
- const L = To(P, s), oe = T === "hours" || T === "minutes" && Z.includes("seconds"), Se = ({
3272
+ const L = To(P, s), oe = T === "hours" || T === "minutes" && Z.includes("seconds"), xe = ({
3273
3273
  start: Y,
3274
3274
  end: se
3275
- }) => !(M && L(M, se) || S && L(Y, S) || K && L(Y, ne) || j && L(ne, oe ? se : Y)), xe = (Y, se = 1) => {
3275
+ }) => !(M && L(M, se) || x && L(Y, x) || K && L(Y, ne) || j && L(ne, oe ? se : Y)), Se = (Y, se = 1) => {
3276
3276
  if (Y % se !== 0)
3277
3277
  return !1;
3278
3278
  if (k)
@@ -3294,29 +3294,29 @@ const Nn = ({
3294
3294
  if (s.getHours(se) !== Y)
3295
3295
  return !0;
3296
3296
  const Ce = s.setSeconds(s.setMinutes(se, 0), 0), io = s.setSeconds(s.setMinutes(se, 59), 59);
3297
- return !Se({
3297
+ return !xe({
3298
3298
  start: Ce,
3299
3299
  end: io
3300
- }) || !xe(Y);
3300
+ }) || !Se(Y);
3301
3301
  }
3302
3302
  case "minutes": {
3303
3303
  const Y = s.setMinutes(W, D), se = s.setSeconds(Y, 0), Ce = s.setSeconds(Y, 59);
3304
- return !Se({
3304
+ return !xe({
3305
3305
  start: se,
3306
3306
  end: Ce
3307
- }) || !xe(D, X);
3307
+ }) || !Se(D, X);
3308
3308
  }
3309
3309
  case "seconds": {
3310
3310
  const Y = s.setSeconds(W, D);
3311
- return !Se({
3311
+ return !xe({
3312
3312
  start: Y,
3313
3313
  end: Y
3314
- }) || !xe(D);
3314
+ }) || !Se(D);
3315
3315
  }
3316
3316
  default:
3317
3317
  throw new Error("not supported");
3318
3318
  }
3319
- }, [i, W, P, S, te, M, X, k, s, K, j, ne, Z]), Ie = c.useCallback((D) => {
3319
+ }, [i, W, P, x, te, M, X, k, s, K, j, ne, Z]), Ie = c.useCallback((D) => {
3320
3320
  switch (D) {
3321
3321
  case "hours":
3322
3322
  return {
@@ -3396,10 +3396,10 @@ const Nn = ({
3396
3396
  [T]: Ie(T)
3397
3397
  }), {}), [Z, Ie]), {
3398
3398
  ownerState: ce
3399
- } = oo(), x = En(R);
3399
+ } = oo(), S = En(R);
3400
3400
  return /* @__PURE__ */ d.jsx(Bn, y({
3401
3401
  ref: n,
3402
- className: q(x.root, H),
3402
+ className: q(S.root, H),
3403
3403
  ownerState: ce,
3404
3404
  role: "group"
3405
3405
  }, be, {
@@ -3417,8 +3417,8 @@ const Nn = ({
3417
3417
  }, D))
3418
3418
  }));
3419
3419
  });
3420
- process.env.NODE_ENV !== "production" && (xo.displayName = "MultiSectionDigitalClock");
3421
- process.env.NODE_ENV !== "production" && (xo.propTypes = {
3420
+ process.env.NODE_ENV !== "production" && (So.displayName = "MultiSectionDigitalClock");
3421
+ process.env.NODE_ENV !== "production" && (So.propTypes = {
3422
3422
  // ----------------------------- Warning --------------------------------
3423
3423
  // | These PropTypes are generated from the TypeScript type definitions |
3424
3424
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -3602,7 +3602,7 @@ const Co = ({
3602
3602
  disablePast: f,
3603
3603
  minTime: v,
3604
3604
  maxTime: P,
3605
- shouldDisableTime: S,
3605
+ shouldDisableTime: x,
3606
3606
  minutesStep: M,
3607
3607
  ampm: K,
3608
3608
  slots: j,
@@ -3615,7 +3615,7 @@ const Co = ({
3615
3615
  timeSteps: w,
3616
3616
  skipDisabled: C,
3617
3617
  timezone: F
3618
- }) => /* @__PURE__ */ d.jsx(So, {
3618
+ }) => /* @__PURE__ */ d.jsx(xo, {
3619
3619
  view: o,
3620
3620
  onViewChange: t,
3621
3621
  focusedView: n && Ge(n) ? n : null,
@@ -3631,7 +3631,7 @@ const Co = ({
3631
3631
  disablePast: f,
3632
3632
  minTime: v,
3633
3633
  maxTime: P,
3634
- shouldDisableTime: S,
3634
+ shouldDisableTime: x,
3635
3635
  minutesStep: M,
3636
3636
  ampm: K,
3637
3637
  slots: j,
@@ -3662,7 +3662,7 @@ const $e = ({
3662
3662
  disablePast: f,
3663
3663
  minTime: v,
3664
3664
  maxTime: P,
3665
- shouldDisableTime: S,
3665
+ shouldDisableTime: x,
3666
3666
  minutesStep: M,
3667
3667
  ampm: K,
3668
3668
  slots: j,
@@ -3675,7 +3675,7 @@ const $e = ({
3675
3675
  timeSteps: w,
3676
3676
  skipDisabled: C,
3677
3677
  timezone: F
3678
- }) => /* @__PURE__ */ d.jsx(xo, {
3678
+ }) => /* @__PURE__ */ d.jsx(So, {
3679
3679
  view: o,
3680
3680
  onViewChange: t,
3681
3681
  focusedView: n && je(n) ? n : null,
@@ -3691,7 +3691,7 @@ const $e = ({
3691
3691
  disablePast: f,
3692
3692
  minTime: v,
3693
3693
  maxTime: P,
3694
- shouldDisableTime: S,
3694
+ shouldDisableTime: x,
3695
3695
  minutesStep: M,
3696
3696
  ampm: K,
3697
3697
  slots: j,
@@ -5151,6 +5151,10 @@ const _n = ({
5151
5151
  // Allow user to override slots if needed
5152
5152
  },
5153
5153
  slotProps: {
5154
+ openPickerButton: {
5155
+ edge: "end",
5156
+ sx: { my: -1 }
5157
+ },
5154
5158
  popper: {
5155
5159
  sx: {
5156
5160
  "& .MuiPaper-root": {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.201",
6
+ "version": "1.0.202",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "type": "module",
9
9
  "main": "dist/main.js",