@solostylist/ui-kit 1.0.217 → 1.0.219

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 (184) hide show
  1. package/dist/{ArrowUpward-Di0RvTdn.js → ArrowUpward-BbQSKheQ.js} +1 -1
  2. package/dist/{Box-BK8kyPwb.js → Box-BlmynALm.js} +14 -14
  3. package/dist/{ButtonBase-Pxs48joz.js → ButtonBase-Bo6ysVGS.js} +6 -6
  4. package/dist/{ChevronLeft-Cq8Rj_mj.js → ChevronLeft-rgSvkrT_.js} +1 -1
  5. package/dist/{ChevronRight-DgJMX1PW.js → ChevronRight-DHulYS1l.js} +1 -1
  6. package/dist/{Close-BrK64qcq.js → Close-oXeOGTZb.js} +1 -1
  7. package/dist/{Collapse-BlDm9KX-.js → Collapse-CnXmaDqT.js} +51 -50
  8. package/dist/{ContentCopy-C3hTb2aA.js → ContentCopy-Bh_TA5Eo.js} +1 -1
  9. package/dist/{Download-BxH0i9Ni.js → Download-DMm8oiCF.js} +1 -1
  10. package/dist/{ExpandMore-C7Hl31nD.js → ExpandMore-DsZNN1Eh.js} +1 -1
  11. package/dist/{Favorite-DNaf3wqS.js → Favorite-DIml4fHR.js} +1 -1
  12. package/dist/{inputLabelClasses-CC5i2Dsg.js → FormControl-DYkaP-oD.js} +109 -109
  13. package/dist/InfoOutlined-CqXSSVWh.js +6 -0
  14. package/dist/{LocalizationProvider-DtVmtZ15.js → LocalizationProvider-BdaUKqz3.js} +4 -4
  15. package/dist/{Menu-DklEkm6T.js → Menu-C-0KEauj.js} +108 -108
  16. package/dist/{MenuItem-B9utw6PO.js → MenuItem-DWivWkNb.js} +52 -54
  17. package/dist/{MenuList-BbO85Qmd.js → MenuList-5HOyYdgq.js} +108 -109
  18. package/dist/{List-CtVrgES0.js → Modal-C1VRVWBZ.js} +302 -302
  19. package/dist/{Paper-B_hHPO5k.js → Paper-BY4X6-u_.js} +24 -26
  20. package/dist/{Stack-D5D_RRtN.js → Stack-BQkLmLFp.js} +6 -6
  21. package/dist/{Typography-Dy5dAg2u.js → Typography-EsraKPZO.js} +6 -6
  22. package/dist/UnfoldMoreRounded-pz7NMMy3.js +6 -0
  23. package/dist/assets/s-overlay-scrollbar.css +2 -2
  24. package/dist/autocomplete-qLj7AqcP.js +43 -0
  25. package/dist/{avatar-C1jUiSkJ.js → avatar-BQf6phmU.js} +1 -1
  26. package/dist/{checkbox-ByoYYQb_.js → checkbox-DMsuLF8N.js} +26 -9
  27. package/dist/checkboxClasses-DSyvUOsN.js +18 -0
  28. package/dist/{chunk-efA98nb6.js → chunk-C_CI6nMA.js} +1 -1
  29. package/dist/{clsx-69XFQeWf.js → clsx-Bv8WXdlr.js} +1 -1
  30. package/dist/{createSvgIcon-BmN7SAhg.js → createSvgIcon-BdNZIlKS.js} +5 -5
  31. package/dist/{createTheme-YGsrOe_4.js → createTheme-Bnw5w28O.js} +179 -179
  32. package/dist/{defaultTheme-DCktV_zC.js → defaultTheme-Bi3OTfLN.js} +1 -1
  33. package/dist/formLabelClasses-Cv7W0Roi.js +18 -0
  34. package/dist/inputAdornmentClasses-VKwluNTs.js +19 -0
  35. package/dist/{memoTheme-BmiT8U43.js → memoTheme-QMocAblm.js} +6 -6
  36. package/dist/{mergeSlotProps-BX66hWLa.js → mergeSlotProps-DBBJwoun.js} +2 -2
  37. package/dist/{resolveProps-CP_X7XKa.js → resolveProps-DrnBChYC.js} +1 -1
  38. package/dist/s-accordion/index.js +1 -1
  39. package/dist/s-accordion/s-accordion.js +1 -1
  40. package/dist/{s-accordion-CeJZz1Ln.js → s-accordion-DH_7P3Il.js} +105 -105
  41. package/dist/s-autocomplete/s-autocomplete.d.ts +2 -0
  42. package/dist/s-autocomplete/s-autocomplete.js +12 -9
  43. package/dist/s-blur-text/s-blur-text.js +1 -1
  44. package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
  45. package/dist/s-carousel/index.js +1 -1
  46. package/dist/s-carousel/s-carousel.js +1 -1
  47. package/dist/{s-carousel-DyaNkTeX.js → s-carousel-DhUo-3W-.js} +1 -1
  48. package/dist/s-chat-input/index.js +1 -1
  49. package/dist/s-chat-input/s-chat-input.js +1 -1
  50. package/dist/{s-chat-input-B_qRssy8.js → s-chat-input-DlEMhm6X.js} +4 -4
  51. package/dist/s-chat-message/index.js +1 -1
  52. package/dist/s-chat-message/s-chat-message.js +1 -1
  53. package/dist/{s-chat-message-gzoc72Ti.js → s-chat-message-DeP8O6TO.js} +3 -3
  54. package/dist/s-checkbox/s-checkbox.js +21 -14
  55. package/dist/s-chips/index.js +1 -1
  56. package/dist/s-chips/s-chips.js +1 -1
  57. package/dist/{s-chips-D8H_w9Xa.js → s-chips-BuAEBW1F.js} +2 -2
  58. package/dist/s-code-block/index.js +1 -1
  59. package/dist/s-code-block/s-code-block.js +1 -1
  60. package/dist/{s-code-block-B1mdb-IQ.js → s-code-block-DTzppazr.js} +1 -1
  61. package/dist/s-comment-message/index.js +1 -1
  62. package/dist/s-comment-message/s-comment-message.js +1 -1
  63. package/dist/{s-comment-message-CsQej8Et.js → s-comment-message-C-7IZOqA.js} +3 -3
  64. package/dist/s-copyable-text/s-copyable-text.js +1 -1
  65. package/dist/s-data-table/index.js +1 -1
  66. package/dist/s-data-table/s-data-table.js +1 -1
  67. package/dist/{s-data-table-DeFNG6GB.js → s-data-table-xIW-BAS9.js} +281 -294
  68. package/dist/s-date-picker/index.js +1 -1
  69. package/dist/s-date-picker/s-date-picker.js +1 -1
  70. package/dist/s-date-picker-CKSRNJ_A.js +634 -0
  71. package/dist/s-datetime-picker/index.js +1 -1
  72. package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
  73. package/dist/{s-datetime-picker-BcpyhYZf.js → s-datetime-picker-BlStwMie.js} +121 -120
  74. package/dist/s-dialog/s-dialog.js +1 -1
  75. package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
  76. package/dist/s-dialog-message/s-dialog-message.js +2 -2
  77. package/dist/s-file-dropzone/index.js +1 -1
  78. package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
  79. package/dist/{s-file-dropzone-yel7KInt.js → s-file-dropzone-COPp1HiT.js} +4 -4
  80. package/dist/s-file-icon/s-file-icon.js +16 -19
  81. package/dist/s-flex-box/s-flex-box.js +1 -1
  82. package/dist/s-glow-button/s-glow-button.js +1 -1
  83. package/dist/s-image-comparison/s-image-comparison.js +3 -3
  84. package/dist/s-image-modal/s-image-modal.js +3 -3
  85. package/dist/s-label/index.js +1 -1
  86. package/dist/s-label/s-label.js +26 -2
  87. package/dist/s-language-switcher/index.js +1 -1
  88. package/dist/s-language-switcher/s-language-switcher.js +1 -1
  89. package/dist/{s-language-switcher-BI0ARsS8.js → s-language-switcher-Cg3Gh8_i.js} +11 -11
  90. package/dist/s-localization-provider/index.js +1 -1
  91. package/dist/s-localization-provider/s-localization-provider.js +1 -1
  92. package/dist/{s-localization-provider-zUNjKqvJ.js → s-localization-provider-YCsec18c.js} +4 -4
  93. package/dist/s-nav-item/s-nav-item.js +2 -2
  94. package/dist/s-nav-item/s-nav-items.js +5 -5
  95. package/dist/s-pixel-reveal/s-pixel-reveal.js +1 -1
  96. package/dist/s-review/index.js +1 -1
  97. package/dist/s-review/s-review.js +1 -1
  98. package/dist/{s-review-BoTotzrP.js → s-review-D5_TicCf.js} +1 -1
  99. package/dist/s-scroll-to-top/s-scroll-to-top.js +4 -4
  100. package/dist/s-select/index.js +1 -1
  101. package/dist/s-select/s-select.js +1 -1
  102. package/dist/{s-select-BHnfqAGl.js → s-select-ClL8bygg.js} +1 -1
  103. package/dist/s-select-list/s-select-list.js +2 -2
  104. package/dist/s-stripe/s-stripe.js +1 -1
  105. package/dist/s-switch/s-switch.js +21 -13
  106. package/dist/s-text-editor/index.js +1 -1
  107. package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
  108. package/dist/s-text-editor/s-text-editor.js +2 -2
  109. package/dist/{s-text-editor-toolbar-ZxamcKpn.js → s-text-editor-toolbar-BnhPG9xv.js} +1271 -1288
  110. package/dist/s-text-field/index.js +1 -1
  111. package/dist/s-text-field/s-text-field.js +1 -1
  112. package/dist/{s-text-field-w4T9VXLw.js → s-text-field-qps0aDNS.js} +1 -1
  113. package/dist/s-text-shimmer/s-text-shimmer.js +1 -1
  114. package/dist/s-text-truncation/s-text-truncation.js +5 -7
  115. package/dist/s-theme-demo/index.js +1 -1
  116. package/dist/s-theme-demo/s-theme-demo.js +1 -1
  117. package/dist/{s-theme-demo-C0BGeh2P.js → s-theme-demo-BHyjzAU0.js} +4 -4
  118. package/dist/s-theme-provider/s-theme-provider.d.ts +3 -1
  119. package/dist/s-theme-provider/s-theme-provider.js +15 -15
  120. package/dist/s-theme-switch/index.js +1 -1
  121. package/dist/s-theme-switch/s-theme-switch.js +1 -1
  122. package/dist/{s-theme-switch-Cz5QBl69.js → s-theme-switch-D1FpcDj1.js} +1 -1
  123. package/dist/s-tip/index.js +1 -1
  124. package/dist/s-tip/s-tip.js +1 -1
  125. package/dist/{s-tip-CqLspVS4.js → s-tip-D6M91nev.js} +3 -3
  126. package/dist/s-tool-bar/index.js +1 -1
  127. package/dist/s-tool-bar/s-tool-bar.js +1 -1
  128. package/dist/{s-tool-bar-RTPBIgcd.js → s-tool-bar-DOcT-lNr.js} +91 -90
  129. package/dist/s-two-pane-layout/s-two-pane-layout.js +2 -2
  130. package/dist/selectClasses-DvT1febA.js +22 -0
  131. package/dist/{styled-BRk8Ukg1.js → styled-BTDmdi4c.js} +2 -2
  132. package/dist/theme/components/accordion-summary.js +1 -1
  133. package/dist/theme/components/alert.js +1 -1
  134. package/dist/theme/components/autocomplete.d.ts +52 -5
  135. package/dist/theme/components/autocomplete.js +1 -18
  136. package/dist/theme/components/avatar.js +1 -1
  137. package/dist/theme/components/button.js +1 -1
  138. package/dist/theme/components/card.js +2 -2
  139. package/dist/theme/components/checkbox.d.ts +1 -0
  140. package/dist/theme/components/checkbox.js +1 -1
  141. package/dist/theme/components/chip.js +2 -2
  142. package/dist/theme/components/components.js +41 -39
  143. package/dist/theme/components/css-baseline.d.ts +9 -0
  144. package/dist/theme/components/css-baseline.js +7 -0
  145. package/dist/theme/components/dialog.d.ts +0 -2
  146. package/dist/theme/components/dialog.js +0 -2
  147. package/dist/theme/components/form-label.d.ts +4 -1
  148. package/dist/theme/components/form-label.js +6 -4
  149. package/dist/theme/components/icon-button.js +5 -5
  150. package/dist/theme/components/input-adornment.d.ts +4 -1012
  151. package/dist/theme/components/input-adornment.js +2 -2
  152. package/dist/theme/components/linear-progress.js +1 -1
  153. package/dist/theme/components/link.js +2 -2
  154. package/dist/theme/components/list-item.js +1 -1
  155. package/dist/theme/components/outlined-input.d.ts +31 -34
  156. package/dist/theme/components/outlined-input.js +16 -19
  157. package/dist/theme/components/select.d.ts +20 -0
  158. package/dist/theme/components/select.js +21 -2
  159. package/dist/theme/components/step-icon.js +1 -1
  160. package/dist/theme/components/toggle-button-group.js +1 -1
  161. package/dist/theme/components/toggle-button.js +1 -1
  162. package/dist/theme/components/tooltip.js +1 -0
  163. package/dist/theme/theme-primitives.js +1 -1
  164. package/dist/{theme-primitives-DHiY0aFC.js → theme-primitives-OrQ-xFJR.js} +19 -19
  165. package/dist/{toggle-button-DIEv06gW.js → toggle-button-BgpxYWVw.js} +1 -1
  166. package/dist/{toggle-button-group-CERACXGm.js → toggle-button-group-l4hL1DLP.js} +2 -2
  167. package/dist/{useMobilePicker-6o6QRlWL.js → useMobilePicker-ujH2nH2-.js} +8060 -8085
  168. package/dist/{useSlot-CugRM0KJ.js → useSlot-Dkc1Mj31.js} +15 -15
  169. package/dist/{useThemeProps-DdB9M8DE.js → useThemeProps-D4jtjo2I.js} +2 -2
  170. package/dist/utils/dayjs.js +1 -1
  171. package/dist/{utils-DNv5CBQM.js → utils-CCnIUPad.js} +55 -55
  172. package/package.json +41 -41
  173. package/dist/s-date-picker-Fo7ezXTV.js +0 -633
  174. package/dist/s-label-B9mgEpfz.js +0 -31
  175. package/dist/s-multi-select/index.d.ts +0 -2
  176. package/dist/s-multi-select/index.js +0 -2
  177. package/dist/s-multi-select/s-multi-select.d.ts +0 -26
  178. package/dist/s-multi-select/s-multi-select.js +0 -2
  179. package/dist/s-multi-select-CVyeHDlc.js +0 -64
  180. package/dist/select-D7W-VU2F.js +0 -11
  181. package/dist/theme/components/tooltip.d.ts +0 -30
  182. /package/dist/{outlinedInputClasses-Di4lUV1O.js → outlinedInputClasses-Cz4pnn0X.js} +0 -0
  183. /package/dist/{typographyClasses-CyjIdezx.js → typographyClasses-CFf0OFiD.js} +0 -0
  184. /package/dist/{useFormControl-CUs308br.js → useFormControl-B4z6ONhx.js} +0 -0
@@ -1,9 +1,9 @@
1
- import { n as e } from "./chunk-efA98nb6.js";
2
- import { _ as t } from "./createTheme-YGsrOe_4.js";
1
+ import { n as e } from "./chunk-C_CI6nMA.js";
2
+ import { _ as t } from "./createTheme-Bnw5w28O.js";
3
3
  import { t as n } from "./useEnhancedEffect-Dsu5K7-Z.js";
4
- import { _ as r, b as i, d as a, t as o, u as s, v as c, x as l, y as u } from "./List-CtVrgES0.js";
5
- import { i as d, r as f } from "./ButtonBase-Pxs48joz.js";
6
- import { f as p, p as m } from "./useSlot-CugRM0KJ.js";
4
+ import { _ as r, b as i, d as a, f as o, l as s, v as c, x as l, y as u } from "./Modal-C1VRVWBZ.js";
5
+ import { i as d, r as f } from "./ButtonBase-Bo6ysVGS.js";
6
+ import { f as p, p as m } from "./useSlot-Dkc1Mj31.js";
7
7
  import * as h from "react";
8
8
  import { jsx as g } from "react/jsx-runtime";
9
9
  //#region ../../node_modules/@mui/utils/debounce/debounce.mjs
@@ -20,27 +20,27 @@ function _(e, t = 166) {
20
20
  }
21
21
  //#endregion
22
22
  //#region ../../node_modules/@mui/material/utils/debounce.mjs
23
- var v = _, y = u, b = c, x = n, S = /* @__PURE__ */ h.createContext(void 0);
24
- process.env.NODE_ENV !== "production" && (S.displayName = "RovingTabIndexContext");
25
- function C() {
26
- let e = h.useContext(S);
23
+ var v = _, y = /* @__PURE__ */ e(t(), 1), b = u, x = c, S = n, C = /* @__PURE__ */ h.createContext(void 0);
24
+ process.env.NODE_ENV !== "production" && (C.displayName = "RovingTabIndexContext");
25
+ function w() {
26
+ let e = h.useContext(C);
27
27
  if (e === void 0) throw Error("MUI: RovingTabIndexContext is missing. Roving tab index items must be placed within a roving tab index provider.");
28
28
  return e;
29
29
  }
30
30
  //#endregion
31
31
  //#region ../../node_modules/@mui/utils/fastObjectShallowCompare/fastObjectShallowCompare.mjs
32
- var w = Object.is;
33
- function T(e, t) {
32
+ var T = Object.is;
33
+ function E(e, t) {
34
34
  if (e === t) return !0;
35
35
  if (!(e instanceof Object) || !(t instanceof Object)) return !1;
36
36
  let n = 0, r = 0;
37
- for (let r in e) if (n += 1, !w(e[r], t[r]) || !(r in t)) return !1;
37
+ for (let r in e) if (n += 1, !T(e[r], t[r]) || !(r in t)) return !1;
38
38
  for (let e in t) r += 1;
39
39
  return n === r;
40
40
  }
41
41
  //#endregion
42
42
  //#region ../../node_modules/@mui/utils/useRovingTabIndex/useRovingTabIndex.mjs
43
- var E = [
43
+ var D = [
44
44
  "ArrowRight",
45
45
  "ArrowLeft",
46
46
  "ArrowUp",
@@ -48,33 +48,33 @@ var E = [
48
48
  "Home",
49
49
  "End"
50
50
  ];
51
- function D(e) {
52
- let { activeItemId: t, getDefaultActiveItemId: n, orientation: r, isRtl: i = !1, isItemFocusable: a = V, wrap: o = !0 } = e, [s, c] = h.useState(t), f = h.useRef(t), p = s;
51
+ function O(e) {
52
+ let { activeItemId: t, getDefaultActiveItemId: n, orientation: r, isRtl: i = !1, isItemFocusable: a = H, wrap: o = !0 } = e, [s, c] = h.useState(t), f = h.useRef(t), p = s;
53
53
  t !== f.current && (f.current = t, t !== void 0 && t !== s && (p = t, c(t)));
54
- let m = h.useRef(null), g = h.useRef(/* @__PURE__ */ new Map()), [_, v] = h.useState(0), y = h.useMemo(() => R(g.current), [_]), b = k(p, y, a, n), x = h.useRef(b);
54
+ let m = h.useRef(null), g = h.useRef(/* @__PURE__ */ new Map()), [_, v] = h.useState(0), y = h.useMemo(() => z(g.current), [_]), b = A(p, y, a, n), x = h.useRef(b);
55
55
  x.current = b;
56
56
  let S = h.useCallback(() => {
57
- let e = R(g.current);
58
- return F(e, k(x.current, e, a, n));
57
+ let e = z(g.current);
58
+ return I(e, A(x.current, e, a, n));
59
59
  }, [n, a]), C = h.useCallback(() => g.current, []), w = d((e) => {
60
- T(g.current.get(e.id) ?? null, e) || (g.current.set(e.id, e), v((e) => e + 1));
61
- }), D = d((e) => {
60
+ E(g.current.get(e.id) ?? null, e) || (g.current.set(e.id, e), v((e) => e + 1));
61
+ }), T = d((e) => {
62
62
  g.current.delete(e) && v((e) => e + 1);
63
63
  }), O = d((e) => {
64
64
  c(e);
65
- }), A = h.useCallback((e) => x.current === e, []), j = h.useCallback((e, t, n, r) => {
66
- let i = N(z(g.current), e, t, n, r ?? a);
65
+ }), k = h.useCallback((e) => x.current === e, []), j = h.useCallback((e, t, n, r) => {
66
+ let i = P(B(g.current), e, t, n, r ?? a);
67
67
  return i ? (i.element?.focus(), c(i.id), i) : null;
68
- }, [a]), P = h.useCallback((e) => ({
68
+ }, [a]), M = h.useCallback((e) => ({
69
69
  onFocus: (e) => {
70
- let t = z(g.current), n = L(t, e.target);
70
+ let t = B(g.current), n = R(t, e.target);
71
71
  n !== -1 && c(t[n].id);
72
72
  },
73
73
  onKeyDown: (e) => {
74
- if (e.altKey || e.shiftKey || e.ctrlKey || e.metaKey || !E.includes(e.key)) return;
74
+ if (e.altKey || e.shiftKey || e.ctrlKey || e.metaKey || !D.includes(e.key)) return;
75
75
  let t = r === "horizontal" ? "ArrowLeft" : "ArrowUp", n = r === "horizontal" ? "ArrowRight" : "ArrowDown";
76
76
  r === "horizontal" && i && (t = "ArrowRight", n = "ArrowLeft");
77
- let a = z(g.current), s = l(u(m.current)), c = s === m.current, d = M(a, s, x.current), f = "next";
77
+ let a = B(g.current), s = l(u(m.current)), c = s === m.current, d = N(a, s, x.current), f = "next";
78
78
  switch (e.key) {
79
79
  case t:
80
80
  f = "previous", e.preventDefault(), c && (d = a.length);
@@ -92,7 +92,7 @@ function D(e) {
92
92
  }
93
93
  j(d, f, o);
94
94
  },
95
- ref: W(e, (e) => {
95
+ ref: G(e, (e) => {
96
96
  m.current = e;
97
97
  })
98
98
  }), [
@@ -100,34 +100,34 @@ function D(e) {
100
100
  i,
101
101
  r,
102
102
  o
103
- ]), I = h.useCallback((e) => {
104
- let t = z(g.current), n = l(u(m.current));
105
- return j(n === m.current ? -1 : M(t, n, x.current), "next", !0, e)?.id ?? null;
103
+ ]), F = h.useCallback((e) => {
104
+ let t = B(g.current), n = l(u(m.current));
105
+ return j(n === m.current ? -1 : N(t, n, x.current), "next", !0, e)?.id ?? null;
106
106
  }, [j]);
107
107
  return h.useMemo(() => ({
108
108
  activeItemId: b,
109
- focusNext: I,
109
+ focusNext: F,
110
110
  getActiveItem: S,
111
- getContainerProps: P,
111
+ getContainerProps: M,
112
112
  getItemMap: C,
113
- isItemActive: A,
113
+ isItemActive: k,
114
114
  registerItem: w,
115
115
  setActiveItemId: O,
116
- unregisterItem: D
116
+ unregisterItem: T
117
117
  }), [
118
118
  b,
119
- I,
119
+ F,
120
120
  S,
121
- P,
121
+ M,
122
122
  C,
123
- A,
123
+ k,
124
124
  w,
125
125
  O,
126
- D
126
+ T
127
127
  ]);
128
128
  }
129
- function O(e) {
130
- let { activeItemId: t, registerItem: r, unregisterItem: i } = C(), a = h.useRef(null), o = h.useMemo(() => ({
129
+ function k(e) {
130
+ let { activeItemId: t, registerItem: r, unregisterItem: i } = w(), a = h.useRef(null), o = h.useMemo(() => ({
131
131
  disabled: e.disabled ?? !1,
132
132
  element: null,
133
133
  focusableWhenDisabled: e.focusableWhenDisabled ?? !1,
@@ -173,79 +173,79 @@ function O(e) {
173
173
  tabIndex: t === e.id ? 0 : -1
174
174
  };
175
175
  }
176
- function k(e, t, n, r) {
177
- return e == null ? j(t, n, r) : A(e, t, n);
178
- }
179
- function A(e, t, n) {
180
- let r = I(t, e);
181
- return r === -1 ? P(t, n) : n(t[r]) ? t[r].id : N(t, r, "next", !1, n)?.id ?? null;
176
+ function A(e, t, n, r) {
177
+ return e == null ? M(t, n, r) : j(e, t, n);
182
178
  }
183
179
  function j(e, t, n) {
180
+ let r = L(t, e);
181
+ return r === -1 ? F(t, n) : n(t[r]) ? t[r].id : P(t, r, "next", !1, n)?.id ?? null;
182
+ }
183
+ function M(e, t, n) {
184
184
  let r = n?.(e);
185
185
  if (r != null) {
186
- let n = F(e, r);
186
+ let n = I(e, r);
187
187
  if (n && t(n)) return n.id;
188
188
  }
189
- return P(e, t);
189
+ return F(e, t);
190
190
  }
191
- function M(e, t, n) {
191
+ function N(e, t, n) {
192
192
  if (t) {
193
- let n = L(e, t);
193
+ let n = R(e, t);
194
194
  if (n !== -1) return n;
195
195
  }
196
- return I(e, n);
196
+ return L(e, n);
197
197
  }
198
- function N(e, t, n, r, i) {
198
+ function P(e, t, n, r, i) {
199
199
  let a = e.length - 1;
200
200
  if (a === -1) return null;
201
- let o = !1, s = B(t, a, n, r), c = s;
201
+ let o = !1, s = V(t, a, n, r), c = s;
202
202
  for (; s !== -1;) {
203
203
  if (s === c) {
204
204
  if (o) return null;
205
205
  o = !0;
206
206
  }
207
207
  let t = e[s];
208
- if (!t || !i(t)) s = B(s, a, n, r);
208
+ if (!t || !i(t)) s = V(s, a, n, r);
209
209
  else return t;
210
210
  }
211
211
  return null;
212
212
  }
213
- function P(e, t) {
213
+ function F(e, t) {
214
214
  return e.find((e) => t(e))?.id ?? null;
215
215
  }
216
- function F(e, t) {
216
+ function I(e, t) {
217
217
  return t == null ? null : e.find((e) => e.id === t) ?? null;
218
218
  }
219
- function I(e, t) {
219
+ function L(e, t) {
220
220
  return t == null ? -1 : e.findIndex((e) => e.id === t);
221
221
  }
222
- function L(e, t) {
222
+ function R(e, t) {
223
223
  return t ? e.findIndex((e) => e.element === t || e.element?.contains(t)) : -1;
224
224
  }
225
- function R(e) {
225
+ function z(e) {
226
226
  let t = Array.from(e.values());
227
227
  if (t.every((e) => e.element == null)) return t;
228
- let n = t.filter(H).sort((e, t) => U(e.element, t.element)), r = t.filter((e) => !H(e));
228
+ let n = t.filter(U).sort((e, t) => W(e.element, t.element)), r = t.filter((e) => !U(e));
229
229
  return [...n, ...r];
230
230
  }
231
- function z(e) {
232
- return R(e).filter(H);
231
+ function B(e) {
232
+ return z(e).filter(U);
233
233
  }
234
- function B(e, t, n, r = !0) {
234
+ function V(e, t, n, r = !0) {
235
235
  return n === "next" ? e === t ? r ? 0 : -1 : e + 1 : e === 0 ? r ? t : -1 : e - 1;
236
236
  }
237
- function V(e) {
237
+ function H(e) {
238
238
  return e.element ? e.focusableWhenDisabled ? !0 : !e.disabled && !e.element.hasAttribute("disabled") && e.element.getAttribute("aria-disabled") !== "true" && e.element.hasAttribute("tabindex") : !1;
239
239
  }
240
- function H(e) {
240
+ function U(e) {
241
241
  return e.element != null && e.element.isConnected;
242
242
  }
243
- function U(e, t) {
243
+ function W(e, t) {
244
244
  if (e === t) return 0;
245
245
  let n = e.compareDocumentPosition(t);
246
246
  return n & Node.DOCUMENT_POSITION_FOLLOWING || n & Node.DOCUMENT_POSITION_CONTAINED_BY ? -1 : n & Node.DOCUMENT_POSITION_PRECEDING || n & Node.DOCUMENT_POSITION_CONTAINS ? 1 : 0;
247
247
  }
248
- function W(...e) {
248
+ function G(...e) {
249
249
  return (t) => {
250
250
  e.forEach((e) => {
251
251
  r(e ?? null, t);
@@ -254,10 +254,10 @@ function W(...e) {
254
254
  }
255
255
  //#endregion
256
256
  //#region ../../node_modules/@mui/material/utils/getScrollbarSize.mjs
257
- var G = a;
257
+ var K = a;
258
258
  //#endregion
259
259
  //#region ../../node_modules/@mui/material/utils/focusWithVisible.mjs
260
- function K(e, t) {
260
+ function q(e, t) {
261
261
  if (t == null) {
262
262
  e.focus();
263
263
  return;
@@ -270,21 +270,20 @@ function K(e, t) {
270
270
  }
271
271
  //#endregion
272
272
  //#region ../../node_modules/@mui/material/Select/utils/SelectFocusSourceContext.mjs
273
- var q = /* @__PURE__ */ h.createContext(null);
274
- process.env.NODE_ENV !== "production" && (q.displayName = "SelectFocusSourceContext");
275
- function J() {
276
- return h.useContext(q);
273
+ var J = /* @__PURE__ */ h.createContext(null);
274
+ process.env.NODE_ENV !== "production" && (J.displayName = "SelectFocusSourceContext");
275
+ function Y() {
276
+ return h.useContext(J);
277
277
  }
278
- var Y = q.Provider, X = /* @__PURE__ */ h.createContext(void 0);
279
- process.env.NODE_ENV !== "production" && (X.displayName = "MenuListContext");
278
+ var X = J.Provider, Z = /* @__PURE__ */ h.createContext(void 0);
279
+ process.env.NODE_ENV !== "production" && (Z.displayName = "MenuListContext");
280
280
  function ee() {
281
- let e = h.useContext(X);
281
+ let e = h.useContext(Z);
282
282
  if (e === void 0) throw Error("MUI: MenuListContext is missing. MenuItems must be placed within Menu or MenuList.");
283
283
  return e;
284
284
  }
285
285
  //#endregion
286
286
  //#region ../../node_modules/@mui/material/MenuList/MenuList.mjs
287
- var Z = /* @__PURE__ */ e(t(), 1);
288
287
  function te(e) {
289
288
  let t = e?.element ?? e;
290
289
  if (!t) return "";
@@ -298,35 +297,35 @@ function Q(e, t) {
298
297
  return n = n.trim().toLowerCase(), n.length === 0 ? !1 : t.repeating ? n[0] === t.keys[0] : n.startsWith(t.keys.join(""));
299
298
  }
300
299
  function ne(e, t) {
301
- return Q(e, t) ? V(e) : !1;
300
+ return Q(e, t) ? H(e) : !1;
302
301
  }
303
302
  function re(e, t) {
304
- K(e, t);
303
+ q(e, t);
305
304
  }
306
305
  var $ = /* @__PURE__ */ h.forwardRef(function(e, t) {
307
- let { actions: n, autoFocus: r = !1, autoFocusItem: a = !1, children: c, className: l, disabledItemsFocusable: u = !1, disableListWrap: d = !1, onKeyDown: m, variant: _ = "selectedMenu", ...v } = e, C = h.useRef(null), w = h.useRef(!1), [T, E] = h.useState(!1), O = J(), k = h.useRef({
306
+ let { actions: n, autoFocus: r = !1, autoFocusItem: a = !1, children: c, className: l, disabledItemsFocusable: u = !1, disableListWrap: d = !1, onKeyDown: m, variant: _ = "selectedMenu", ...v } = e, y = h.useRef(null), w = h.useRef(!1), [T, E] = h.useState(!1), D = Y(), k = h.useRef({
308
307
  keys: [],
309
308
  repeating: !0,
310
309
  previousKeyMatched: !0,
311
310
  lastTime: null
312
- }), A = D({
311
+ }), A = O({
313
312
  activeItemId: void 0,
314
- getDefaultActiveItemId: h.useCallback((e) => _ === "selectedMenu" ? e.find((e) => e.selected && V(e))?.id ?? e.find((e) => V(e))?.id ?? null : e.find((e) => V(e))?.id ?? null, [_]),
313
+ getDefaultActiveItemId: h.useCallback((e) => _ === "selectedMenu" ? e.find((e) => e.selected && H(e))?.id ?? e.find((e) => H(e))?.id ?? null : e.find((e) => H(e))?.id ?? null, [_]),
315
314
  orientation: "vertical",
316
315
  wrap: !d
317
316
  }), { activeItemId: j, focusNext: M, getActiveItem: N, getContainerProps: P, getItemMap: F } = A, I = f((e = !1) => {
318
- if (!C.current || !e && w.current) return null;
317
+ if (!y.current || !e && w.current) return null;
319
318
  if (a) {
320
319
  let e = N();
321
320
  if (e?.element) {
322
321
  let t = Array.from(F().values()).some((e) => e.selected);
323
- return E(_ === "menu" && t && !e.selected && O == null), re(e.element, O), w.current = !0, e.element;
322
+ return E(_ === "menu" && t && !e.selected && D == null), re(e.element, D), w.current = !0, e.element;
324
323
  }
325
- return r ? (E(!1), C.current.focus(), C.current) : null;
324
+ return r ? (E(!1), y.current.focus(), y.current) : null;
326
325
  }
327
- return r ? (E(!1), C.current.focus(), w.current = !0, C.current) : (E(!1), null);
326
+ return r ? (E(!1), y.current.focus(), w.current = !0, y.current) : (E(!1), null);
328
327
  });
329
- x(() => {
328
+ S(() => {
330
329
  if (!r && !a) {
331
330
  w.current = !1, E(!1);
332
331
  return;
@@ -339,20 +338,20 @@ var $ = /* @__PURE__ */ h.forwardRef(function(e, t) {
339
338
  I
340
339
  ]), h.useImperativeHandle(n, () => ({
341
340
  adjustStyleForScrollbar: (e, { direction: t }) => {
342
- let n = !C.current.style.width;
343
- if (e.clientHeight < C.current.clientHeight && n) {
344
- let n = `${G(b(e))}px`;
345
- C.current.style[t === "rtl" ? "paddingLeft" : "paddingRight"] = n, C.current.style.width = `calc(100% + ${n})`;
341
+ let n = !y.current.style.width;
342
+ if (e.clientHeight < y.current.clientHeight && n) {
343
+ let n = `${K(x(e))}px`;
344
+ y.current.style[t === "rtl" ? "paddingLeft" : "paddingRight"] = n, y.current.style.width = `calc(100% + ${n})`;
346
345
  }
347
- return C.current;
346
+ return y.current;
348
347
  },
349
348
  focusInitialTarget: () => {
350
- if (!C.current) return null;
351
- let e = i(y(C.current));
352
- return e && s(C.current, e) ? e : I(!0);
349
+ if (!y.current) return null;
350
+ let e = i(b(y.current));
351
+ return e && o(y.current, e) ? e : I(!0);
353
352
  }
354
353
  }), [I]);
355
- let L = P(), R = p(C, L.ref, t), z = h.useMemo(() => ({
354
+ let L = P(), R = p(y, L.ref, t), z = h.useMemo(() => ({
356
355
  itemsFocusableWhenDisabled: u,
357
356
  suppressInitialFocusVisible: T,
358
357
  variant: _
@@ -361,7 +360,7 @@ var $ = /* @__PURE__ */ h.forwardRef(function(e, t) {
361
360
  T,
362
361
  _
363
362
  ]);
364
- return /* @__PURE__ */ g(o, {
363
+ return /* @__PURE__ */ g(s, {
365
364
  role: "menu",
366
365
  ref: R,
367
366
  className: l,
@@ -373,7 +372,7 @@ var $ = /* @__PURE__ */ h.forwardRef(function(e, t) {
373
372
  if (L.onKeyDown(e), e.key.length === 1) {
374
373
  let t = k.current, n = e.key.toLowerCase(), r = performance.now();
375
374
  t.keys.length > 0 && (r - t.lastTime > 500 ? (t.keys = [], t.repeating = !0, t.previousKeyMatched = !0) : t.repeating && n !== t.keys[0] && (t.repeating = !1)), t.lastTime = r, t.keys.push(n);
376
- let a = i(y(C.current)), o = a && !t.repeating && Q(a, t);
375
+ let a = i(b(y.current)), o = a && !t.repeating && Q(a, t);
377
376
  t.previousKeyMatched && (o || M((e) => ne(e, t)) != null) ? e.preventDefault() : t.previousKeyMatched = !1;
378
377
  }
379
378
  m && m(e);
@@ -381,9 +380,9 @@ var $ = /* @__PURE__ */ h.forwardRef(function(e, t) {
381
380
  onFocus: L.onFocus,
382
381
  tabIndex: -1,
383
382
  ...v,
384
- children: /* @__PURE__ */ g(X.Provider, {
383
+ children: /* @__PURE__ */ g(Z.Provider, {
385
384
  value: z,
386
- children: /* @__PURE__ */ g(S.Provider, {
385
+ children: /* @__PURE__ */ g(C.Provider, {
387
386
  value: A,
388
387
  children: c
389
388
  })
@@ -391,14 +390,14 @@ var $ = /* @__PURE__ */ h.forwardRef(function(e, t) {
391
390
  });
392
391
  });
393
392
  process.env.NODE_ENV !== "production" && ($.propTypes = {
394
- autoFocus: Z.default.bool,
395
- autoFocusItem: Z.default.bool,
396
- children: Z.default.node,
397
- className: Z.default.string,
398
- disabledItemsFocusable: Z.default.bool,
399
- disableListWrap: Z.default.bool,
400
- onKeyDown: Z.default.func,
401
- variant: Z.default.oneOf(["menu", "selectedMenu"])
393
+ autoFocus: y.default.bool,
394
+ autoFocusItem: y.default.bool,
395
+ children: y.default.node,
396
+ className: y.default.string,
397
+ disabledItemsFocusable: y.default.bool,
398
+ disableListWrap: y.default.bool,
399
+ onKeyDown: y.default.func,
400
+ variant: y.default.oneOf(["menu", "selectedMenu"])
402
401
  });
403
402
  //#endregion
404
- export { K as a, S as c, b as d, y as f, J as i, C as l, _ as m, ee as n, O as o, v as p, Y as r, D as s, $ as t, x as u };
403
+ export { q as a, C as c, x as d, b as f, Y as i, w as l, _ as m, ee as n, k as o, v as p, X as r, O as s, $ as t, S as u };