@solostylist/ui-kit 1.0.78 → 1.0.80

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 (136) hide show
  1. package/dist/{Box-reWd7MO-.js → Box-Bfkq7uIw.js} +23 -21
  2. package/dist/{Close-CVFQMMUW.js → Close-C1lLcTQu.js} +1 -1
  3. package/dist/{Menu-CGTDGEoX.js → Menu-DbldWmqB.js} +94 -93
  4. package/dist/{MenuItem-Bdna3McP.js → MenuItem-BHTJlag0.js} +8 -7
  5. package/dist/{Select-D54ugORZ.js → Select-CT0Hpudx.js} +14 -13
  6. package/dist/{Stack-ISlVeD89.js → Stack-W0weBtf9.js} +29 -28
  7. package/dist/{TransitionGroup-DuMpOHcM.js → TransitionGroup-q306siJs.js} +1 -1
  8. package/dist/{Typography-D38zoHJr.js → Typography-CeAbQ9LX.js} +17 -17
  9. package/dist/{buttonBaseClasses-CF7RfAgE.js → buttonBaseClasses-CR6HkqQ3.js} +2 -2
  10. package/dist/colorManipulator-CPZHCebU.js +178 -0
  11. package/dist/{createSvgIcon-DN-sh_sr.js → createSvgIcon-9XY7lJan.js} +129 -131
  12. package/dist/createTheme-wt8sY36y.js +2837 -0
  13. package/dist/{defaultTheme-BDQAWvCM.js → defaultTheme-YL2LZ-0U.js} +7 -7
  14. package/dist/emotion-serialize.esm-lgBmL_7o.js +195 -0
  15. package/dist/{extendSxProp-KtEeHd8h.js → extendSxProp-B1pEE-ot.js} +1 -1
  16. package/dist/generateUtilityClasses-D-O3RBPF.js +10 -0
  17. package/dist/hooks/use-dialog.d.ts +21 -0
  18. package/dist/hooks/use-dialog.js +10 -2
  19. package/dist/hooks/use-popover.d.ts +24 -0
  20. package/dist/hooks/use-popover.js +7 -1
  21. package/dist/{iconButtonClasses-DMst1jJO.js → iconButtonClasses-WmsPyI4v.js} +2 -2
  22. package/dist/index-B6k9mhKf.js +30 -0
  23. package/dist/{index-x815ub0T.js → index-DAXzX0k9.js} +5 -5
  24. package/dist/main.d.ts +5 -1
  25. package/dist/main.js +109 -104
  26. package/dist/{outlinedInputClasses-E4FwVkZh.js → outlinedInputClasses-Cor6Mcxo.js} +2 -2
  27. package/dist/s-autocomplete/s-autocomplete.d.ts +31 -0
  28. package/dist/s-autocomplete/s-autocomplete.js +23 -20
  29. package/dist/s-button/index.d.ts +2 -0
  30. package/dist/s-button/index.js +4 -0
  31. package/dist/s-button/package.json +5 -0
  32. package/dist/s-button/s-button.d.ts +6 -0
  33. package/dist/s-button/s-button.js +7 -0
  34. package/dist/s-button-link/s-button-link.d.ts +37 -1
  35. package/dist/s-checkbox/s-checkbox.d.ts +21 -0
  36. package/dist/s-checkbox/s-checkbox.js +9 -9
  37. package/dist/s-chip/index.d.ts +2 -0
  38. package/dist/s-chip/index.js +4 -0
  39. package/dist/s-chip/package.json +5 -0
  40. package/dist/s-chip/s-chip.d.ts +6 -0
  41. package/dist/s-chip/s-chip.js +7 -0
  42. package/dist/s-chips/s-chips.d.ts +26 -1
  43. package/dist/s-chips/s-chips.js +28 -23
  44. package/dist/s-copilot-kit-provider/s-copilot-kit-provider.d.ts +28 -0
  45. package/dist/s-copyable-text/s-copyable-text.d.ts +43 -2
  46. package/dist/s-copyable-text/s-copyable-text.js +30 -22
  47. package/dist/s-data-table/s-data-table.d.ts +87 -0
  48. package/dist/s-data-table/s-data-table.js +33 -22
  49. package/dist/s-date-picker/s-date-picker.d.ts +25 -0
  50. package/dist/s-date-picker/s-date-picker.js +109 -92
  51. package/dist/s-datetime-picker/s-datetime-picker.d.ts +26 -0
  52. package/dist/s-datetime-picker/s-datetime-picker.js +209 -192
  53. package/dist/s-dialog/s-dialog.d.ts +27 -0
  54. package/dist/s-dialog/s-dialog.js +1 -1
  55. package/dist/s-dialog-confirm/s-dialog-confirm.d.ts +54 -0
  56. package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
  57. package/dist/s-dialog-message/s-dialog-message.d.ts +51 -0
  58. package/dist/s-dialog-message/s-dialog-message.js +3 -2
  59. package/dist/s-empty/s-empty.d.ts +25 -1
  60. package/dist/s-error/s-error.d.ts +19 -0
  61. package/dist/s-file-dropzone/s-file-dropzone.d.ts +67 -0
  62. package/dist/s-file-dropzone/s-file-dropzone.js +6 -4
  63. package/dist/s-file-icon/s-file-icon.d.ts +28 -0
  64. package/dist/s-file-icon/s-file-icon.js +5 -2
  65. package/dist/s-form/s-form.d.ts +22 -0
  66. package/dist/s-form/s-form.js +9 -10
  67. package/dist/s-glow-button/index.d.ts +1 -1
  68. package/dist/s-glow-button/s-glow-button.d.ts +39 -3
  69. package/dist/s-glow-button/s-glow-button.js +11 -2
  70. package/dist/s-gradient-icon/s-gradient-icon.d.ts +43 -0
  71. package/dist/s-gradient-icon/s-gradient-icon.js +6 -1
  72. package/dist/s-i18n-provider/s-i18n-provider.d.ts +37 -0
  73. package/dist/s-i18n-provider/s-i18n-provider.js +8 -1
  74. package/dist/s-icon-button/s-icon-button.d.ts +23 -0
  75. package/dist/s-interactive-gallery/s-interactive-gallery.d.ts +96 -0
  76. package/dist/s-interactive-gallery/s-interactive-gallery.js +175 -82
  77. package/dist/s-label/s-label.d.ts +30 -2
  78. package/dist/s-label/s-label.js +8 -18
  79. package/dist/s-lazy-image/s-lazy-image.d.ts +28 -1
  80. package/dist/s-localization-provider/s-localization-provider.d.ts +30 -0
  81. package/dist/s-localization-provider/s-localization-provider.js +5 -2
  82. package/dist/s-moving-border/s-moving-border.d.ts +41 -0
  83. package/dist/s-moving-border/s-moving-border.js +5 -1
  84. package/dist/s-multi-select/s-multi-select.d.ts +23 -0
  85. package/dist/s-multi-select/s-multi-select.js +3 -3
  86. package/dist/s-no-ssr/s-no-ssr.d.ts +38 -0
  87. package/dist/s-pagination/s-pagination.d.ts +29 -0
  88. package/dist/s-select/s-select.d.ts +35 -0
  89. package/dist/s-select/s-select.js +41 -37
  90. package/dist/s-skeleton/s-skeleton.d.ts +31 -1
  91. package/dist/s-smart-text-field/s-smart-text-field.d.ts +28 -0
  92. package/dist/s-smart-text-field/s-smart-text-field.js +1425 -1399
  93. package/dist/s-snackbar-message/s-snackbar-message.d.ts +56 -2
  94. package/dist/s-stripe/s-stripe.d.ts +93 -0
  95. package/dist/s-stripe/s-stripe.js +3 -0
  96. package/dist/s-stripe/stripe-input.d.ts +23 -0
  97. package/dist/s-stripe/stripe-input.js +1 -0
  98. package/dist/s-text-editor/index.d.ts +2 -0
  99. package/dist/s-text-editor/index.js +4 -2
  100. package/dist/s-text-editor/s-text-editor-toolbar.d.ts +33 -0
  101. package/dist/s-text-editor/s-text-editor-toolbar.js +4 -4
  102. package/dist/s-text-editor/s-text-editor.js +1 -1
  103. package/dist/s-text-field/s-text-field.d.ts +23 -0
  104. package/dist/s-text-truncation/s-text-truncation.d.ts +30 -0
  105. package/dist/s-theme-provider/s-theme-provider.d.ts +24 -3
  106. package/dist/s-theme-provider/s-theme-provider.js +9 -2
  107. package/dist/s-tip/s-tip.d.ts +27 -0
  108. package/dist/s-tip/s-tip.js +5 -3
  109. package/dist/svgIconClasses-BYFQaEQ7.js +10 -0
  110. package/dist/{tabClasses-LXCeUS4i.js → tabClasses-CXQXD3XZ.js} +2 -2
  111. package/dist/theme/components/avatar.js +1 -1
  112. package/dist/theme/components/button.d.ts +5834 -0
  113. package/dist/theme/components/button.js +186 -0
  114. package/dist/theme/components/chip.d.ts +117 -0
  115. package/dist/theme/components/chip.js +168 -0
  116. package/dist/theme/components/components.d.ts +5944 -0
  117. package/dist/theme/components/components.js +16 -12
  118. package/dist/theme/customizations/data-display.d.ts +0 -5
  119. package/dist/theme/customizations/data-display.js +15 -144
  120. package/dist/theme/customizations/feedback.js +1 -1
  121. package/dist/theme/customizations/inputs.js +29 -226
  122. package/dist/theme/customizations/navigation.js +26 -12
  123. package/dist/theme/customizations/surfaces.js +5 -5
  124. package/dist/theme/theme-primitives.d.ts +24 -0
  125. package/dist/theme/theme-primitives.js +73 -48
  126. package/dist/{typographyClasses-QAKcrTAX.js → typographyClasses-DTwotNbm.js} +2 -2
  127. package/dist/{useMobilePicker-DlmTFHhN.js → useMobilePicker-CYRSYIKP.js} +1852 -1848
  128. package/dist/{useSlot-CiHsL61G.js → useSlot-B_4ipGBP.js} +6 -6
  129. package/dist/{useTheme-Dy5JmnOe.js → useTheme-D1MJ3g_i.js} +1 -1
  130. package/dist/{useThemeProps-BGjjVPlJ.js → useThemeProps-CTcSO3lC.js} +2 -2
  131. package/dist/{warning-DWsjz4u6.js → warning-DyDdgu8-.js} +3 -3
  132. package/package.json +6 -4
  133. package/dist/HelpOutlineOutlined-Dw_XSjYK.js +0 -8
  134. package/dist/chipClasses-WFcUH6gU.js +0 -10
  135. package/dist/createTheme-DuP3DZSF.js +0 -3005
  136. package/dist/generateUtilityClasses-BpNk3DNr.js +0 -230
@@ -1,40 +1,42 @@
1
- import { s as u, C as d, b as h, P as e } from "./createTheme-DuP3DZSF.js";
2
- import { T } from "./identifier-BKLqN993.js";
3
- import { s as y, g as B } from "./generateUtilityClasses-BpNk3DNr.js";
4
- import * as N from "react";
5
- import { c as C } from "./clsx-OuTLNxxd.js";
6
- import { j as b } from "./jsx-runtime-DywqP_6a.js";
7
- import { u as g } from "./useTheme-Dy5JmnOe.js";
8
- import { e as j } from "./extendSxProp-KtEeHd8h.js";
9
- function E(m = {}) {
1
+ import { s as u, a as d, P as e } from "./createTheme-wt8sY36y.js";
2
+ import { T as h } from "./identifier-BKLqN993.js";
3
+ import { g as T } from "./generateUtilityClasses-D-O3RBPF.js";
4
+ import * as y from "react";
5
+ import { c as B } from "./clsx-OuTLNxxd.js";
6
+ import { s as N } from "./index-B6k9mhKf.js";
7
+ import { j as C } from "./jsx-runtime-DywqP_6a.js";
8
+ import { u as g } from "./useTheme-D1MJ3g_i.js";
9
+ import { e as j } from "./extendSxProp-B1pEE-ot.js";
10
+ import { C as E } from "./colorManipulator-CPZHCebU.js";
11
+ function b(m = {}) {
10
12
  const {
11
13
  themeId: t,
12
14
  defaultTheme: n,
13
- defaultClassName: a = "MuiBox-root",
14
- generateClassName: r
15
- } = m, c = y("div", {
15
+ defaultClassName: r = "MuiBox-root",
16
+ generateClassName: a
17
+ } = m, c = N("div", {
16
18
  shouldForwardProp: (o) => o !== "theme" && o !== "sx" && o !== "as"
17
19
  })(u);
18
- return /* @__PURE__ */ N.forwardRef(function(f, i) {
20
+ return /* @__PURE__ */ y.forwardRef(function(f, i) {
19
21
  const s = g(n), {
20
- className: l,
21
- component: p = "div",
22
+ className: p,
23
+ component: l = "div",
22
24
  ...x
23
25
  } = j(f);
24
- return /* @__PURE__ */ b.jsx(c, {
25
- as: p,
26
+ return /* @__PURE__ */ C.jsx(c, {
27
+ as: l,
26
28
  ref: i,
27
- className: C(l, r ? r(a) : a),
29
+ className: B(p, a ? a(r) : r),
28
30
  theme: t && s[t] || s,
29
31
  ...x
30
32
  });
31
33
  });
32
34
  }
33
- const v = B("MuiBox", ["root"]), O = h(), P = E({
34
- themeId: T,
35
+ const v = T("MuiBox", ["root"]), O = d(), P = b({
36
+ themeId: h,
35
37
  defaultTheme: O,
36
38
  defaultClassName: v.root,
37
- generateClassName: d.generate
39
+ generateClassName: E.generate
38
40
  });
39
41
  process.env.NODE_ENV !== "production" && (P.propTypes = {
40
42
  // ┌────────────────────────────── Warning ──────────────────────────────┐
@@ -1,5 +1,5 @@
1
1
  import { j as o } from "./jsx-runtime-DywqP_6a.js";
2
- import { c as s } from "./createSvgIcon-DN-sh_sr.js";
2
+ import { c as s } from "./createSvgIcon-9XY7lJan.js";
3
3
  const e = s(/* @__PURE__ */ o.jsx("path", {
4
4
  d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
5
5
  }), "Close");
@@ -1,24 +1,19 @@
1
1
  import * as p from "react";
2
2
  import ve from "react";
3
- import { P as e, g as le, a as He, o as ze, l as rt } from "./createTheme-DuP3DZSF.js";
4
- import { u as ce, b as te, a as W, d as ue, m as it, r as Rt } from "./createSvgIcon-DN-sh_sr.js";
3
+ import { P as e, k as He, j as rt } from "./createTheme-wt8sY36y.js";
4
+ import { u as le, a as te, s as W, b as ce, m as it, r as Rt } from "./createSvgIcon-9XY7lJan.js";
5
5
  import { j as L } from "./jsx-runtime-DywqP_6a.js";
6
- import { g as pe } from "./generateUtilityClasses-BpNk3DNr.js";
7
- import { c as we, f as Ot, u as oe, b as X, d as We, g as Nt, m as wt, r as St, e as Ct, a as Mt, h as kt, i as Dt } from "./useSlot-CiHsL61G.js";
8
- import { d as It } from "./defaultTheme-BDQAWvCM.js";
6
+ import { g as ue, a as ze } from "./colorManipulator-CPZHCebU.js";
7
+ import { g as pe } from "./generateUtilityClasses-D-O3RBPF.js";
8
+ import { c as we, f as Ot, u as oe, b as X, d as We, g as Nt, m as wt, r as St, e as Ct, a as kt, h as Mt, i as Dt } from "./useSlot-B_4ipGBP.js";
9
+ import { d as It } from "./defaultTheme-YL2LZ-0U.js";
9
10
  import { T as jt } from "./identifier-BKLqN993.js";
10
- import { u as Ft } from "./useTheme-Dy5JmnOe.js";
11
+ import { u as Ft } from "./useTheme-D1MJ3g_i.js";
11
12
  import { _ as Lt } from "./objectWithoutPropertiesLoose-DiWPeE4c.js";
12
- import { _ as At, a as st } from "./TransitionGroup-DuMpOHcM.js";
13
+ import { _ as At, a as st } from "./TransitionGroup-q306siJs.js";
13
14
  import * as $t from "react-dom";
14
15
  import Te from "react-dom";
15
16
  import { u as Le } from "./useEnhancedEffect-CJGo-L3B.js";
16
- function Ge(...t) {
17
- return t.reduce((n, o) => o == null ? n : function(...s) {
18
- n.apply(this, s), o.apply(this, s);
19
- }, () => {
20
- });
21
- }
22
17
  const Vt = "exact-prop: ​";
23
18
  function at(t) {
24
19
  return process.env.NODE_ENV === "production" ? t : {
@@ -36,6 +31,12 @@ function _e() {
36
31
  const t = Ft(It);
37
32
  return process.env.NODE_ENV !== "production" && p.useDebugValue(t), t[jt] || t;
38
33
  }
34
+ function Ge(...t) {
35
+ return t.reduce((n, o) => o == null ? n : function(...s) {
36
+ n.apply(this, s), o.apply(this, s);
37
+ }, () => {
38
+ });
39
+ }
39
40
  function qt(t, n = 166) {
40
41
  let o;
41
42
  function i(...s) {
@@ -64,7 +65,7 @@ var Kt = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape(
64
65
  enter: e.number,
65
66
  exit: e.number,
66
67
  appear: e.number
67
- }).isRequired]) : null, Yn = process.env.NODE_ENV !== "production" ? e.oneOfType([e.string, e.shape({
68
+ }).isRequired]) : null, Jn = process.env.NODE_ENV !== "production" ? e.oneOfType([e.string, e.shape({
68
69
  enter: e.string,
69
70
  exit: e.string,
70
71
  active: e.string
@@ -505,7 +506,7 @@ const Gt = {
505
506
  const j = y.current;
506
507
  h === void 0 ? d(j) : d(j, h);
507
508
  }
508
- }, x = O(T), k = O((d, h) => {
509
+ }, x = O(T), M = O((d, h) => {
509
510
  dt(d);
510
511
  const {
511
512
  duration: j,
@@ -548,20 +549,20 @@ const Gt = {
548
549
  delay: Ie ? j : j || R * 0.333,
549
550
  easing: U
550
551
  })].join(","), d.style.opacity = 0, d.style.transform = Ve(0.75), v && v(d);
551
- }), q = O(N), M = (d) => {
552
+ }), q = O(N), k = (d) => {
552
553
  I === "auto" && w.start(u.current || 0, d), i && i(y.current, d);
553
554
  };
554
555
  return /* @__PURE__ */ L.jsx(C, {
555
556
  appear: s,
556
557
  in: l,
557
558
  nodeRef: y,
558
- onEnter: k,
559
+ onEnter: M,
559
560
  onEntered: $,
560
561
  onEntering: x,
561
562
  onExit: _,
562
563
  onExited: q,
563
564
  onExiting: A,
564
- addEndListener: M,
565
+ addEndListener: k,
565
566
  timeout: I === "auto" ? null : I,
566
567
  ...g,
567
568
  children: (d, {
@@ -836,7 +837,7 @@ function Oe(t) {
836
837
  const u = z(E.current), f = (O) => {
837
838
  C.current = O, !(i || !a() || O.key !== "Tab") && u.activeElement === E.current && O.shiftKey && (c.current = !0, T.current && T.current.focus());
838
839
  }, y = () => {
839
- var k, $;
840
+ var M, $;
840
841
  const O = E.current;
841
842
  if (O === null)
842
843
  return;
@@ -854,7 +855,7 @@ function Oe(t) {
854
855
  return;
855
856
  let x = [];
856
857
  if ((u.activeElement === b.current || u.activeElement === T.current) && (x = r(E.current)), x.length > 0) {
857
- const A = !!((k = C.current) != null && k.shiftKey && (($ = C.current) == null ? void 0 : $.key) === "Tab"), _ = x[0], q = x[x.length - 1];
858
+ const A = !!((M = C.current) != null && M.shiftKey && (($ = C.current) == null ? void 0 : $.key) === "Tab"), _ = x[0], q = x[x.length - 1];
858
859
  typeof _ != "string" && typeof q != "string" && (A ? q.focus() : _.focus());
859
860
  } else
860
861
  O.focus();
@@ -1028,13 +1029,13 @@ const ln = {
1028
1029
  // eslint-disable-next-line react/prop-types
1029
1030
  TransitionComponent: w = G,
1030
1031
  ...u
1031
- } = n, f = p.useRef(null), y = oe(f, Se(l), o), S = (M) => (d) => {
1032
- if (M) {
1032
+ } = n, f = p.useRef(null), y = oe(f, Se(l), o), S = (k) => (d) => {
1033
+ if (k) {
1033
1034
  const h = f.current;
1034
- d === void 0 ? M(h) : M(h, d);
1035
+ d === void 0 ? k(h) : k(h, d);
1035
1036
  }
1036
- }, O = S(N), x = S((M, d) => {
1037
- dt(M);
1037
+ }, O = S(N), x = S((k, d) => {
1038
+ dt(k);
1038
1039
  const h = Pe({
1039
1040
  style: C,
1040
1041
  timeout: g,
@@ -1042,8 +1043,8 @@ const ln = {
1042
1043
  }, {
1043
1044
  mode: "enter"
1044
1045
  });
1045
- M.style.webkitTransition = i.transitions.create("opacity", h), M.style.transition = i.transitions.create("opacity", h), T && T(M, d);
1046
- }), k = S(v), $ = S(I), A = S((M) => {
1046
+ k.style.webkitTransition = i.transitions.create("opacity", h), k.style.transition = i.transitions.create("opacity", h), T && T(k, d);
1047
+ }), M = S(v), $ = S(I), A = S((k) => {
1047
1048
  const d = Pe({
1048
1049
  style: C,
1049
1050
  timeout: g,
@@ -1051,16 +1052,16 @@ const ln = {
1051
1052
  }, {
1052
1053
  mode: "exit"
1053
1054
  });
1054
- M.style.webkitTransition = i.transitions.create("opacity", d), M.style.transition = i.transitions.create("opacity", d), m && m(M);
1055
- }), _ = S(E), q = (M) => {
1056
- r && r(f.current, M);
1055
+ k.style.webkitTransition = i.transitions.create("opacity", d), k.style.transition = i.transitions.create("opacity", d), m && m(k);
1056
+ }), _ = S(E), q = (k) => {
1057
+ r && r(f.current, k);
1057
1058
  };
1058
1059
  return /* @__PURE__ */ L.jsx(w, {
1059
1060
  appear: a,
1060
1061
  in: b,
1061
1062
  nodeRef: f,
1062
1063
  onEnter: x,
1063
- onEntered: k,
1064
+ onEntered: M,
1064
1065
  onEntering: O,
1065
1066
  onExit: A,
1066
1067
  onExited: _,
@@ -1068,14 +1069,14 @@ const ln = {
1068
1069
  addEndListener: q,
1069
1070
  timeout: g,
1070
1071
  ...u,
1071
- children: (M, {
1072
+ children: (k, {
1072
1073
  ownerState: d,
1073
1074
  ...h
1074
1075
  }) => /* @__PURE__ */ p.cloneElement(l, {
1075
1076
  style: {
1076
1077
  opacity: 0,
1077
- visibility: M === "exited" && !b ? "hidden" : void 0,
1078
- ...ln[M],
1078
+ visibility: k === "exited" && !b ? "hidden" : void 0,
1079
+ ...ln[k],
1079
1080
  ...C,
1080
1081
  ...l.props.style
1081
1082
  },
@@ -1160,7 +1161,7 @@ process.env.NODE_ENV !== "production" && (mt.propTypes = {
1160
1161
  })])
1161
1162
  });
1162
1163
  function cn(t) {
1163
- return le("MuiBackdrop", t);
1164
+ return ue("MuiBackdrop", t);
1164
1165
  }
1165
1166
  pe("MuiBackdrop", ["root", "invisible"]);
1166
1167
  const un = (t) => {
@@ -1168,7 +1169,7 @@ const un = (t) => {
1168
1169
  classes: n,
1169
1170
  invisible: o
1170
1171
  } = t;
1171
- return ue({
1172
+ return ce({
1172
1173
  root: ["root", o && "invisible"]
1173
1174
  }, cn, n);
1174
1175
  }, pn = W("div", {
@@ -1200,7 +1201,7 @@ const un = (t) => {
1200
1201
  }
1201
1202
  }]
1202
1203
  }), ht = /* @__PURE__ */ p.forwardRef(function(n, o) {
1203
- const i = ce({
1204
+ const i = le({
1204
1205
  props: n,
1205
1206
  name: "MuiBackdrop"
1206
1207
  }), {
@@ -1377,14 +1378,14 @@ function mn(t) {
1377
1378
  xe.add(f(), d), m.current && y();
1378
1379
  }), O = () => xe.isTopModal(f()), x = We((d) => {
1379
1380
  N.current = d, d && (b && O() ? y() : m.current && be(m.current, w));
1380
- }), k = p.useCallback(() => {
1381
+ }), M = p.useCallback(() => {
1381
1382
  xe.remove(f(), w);
1382
1383
  }, [w]);
1383
1384
  p.useEffect(() => () => {
1384
- k();
1385
- }, [k]), p.useEffect(() => {
1386
- b ? S() : (!g || !s) && k();
1387
- }, [b, k, g, s, S]);
1385
+ M();
1386
+ }, [M]), p.useEffect(() => {
1387
+ b ? S() : (!g || !s) && M();
1388
+ }, [b, M, g, s, S]);
1388
1389
  const $ = (d) => (h) => {
1389
1390
  var j;
1390
1391
  (j = d.onKeyDown) == null || j.call(d, h), !(h.key !== "Escape" || h.which === 229 || // Wait until IME is settled.
@@ -1427,7 +1428,7 @@ function mn(t) {
1427
1428
  const d = () => {
1428
1429
  C(!1), r && r();
1429
1430
  }, h = () => {
1430
- C(!0), a && a(), s && k();
1431
+ C(!0), a && a(), s && M();
1431
1432
  };
1432
1433
  return {
1433
1434
  onEnter: Ge(d, (l == null ? void 0 : l.props.onEnter) ?? Ze),
@@ -1442,7 +1443,7 @@ function mn(t) {
1442
1443
  };
1443
1444
  }
1444
1445
  function hn(t) {
1445
- return le("MuiModal", t);
1446
+ return ue("MuiModal", t);
1446
1447
  }
1447
1448
  pe("MuiModal", ["root", "hidden", "backdrop"]);
1448
1449
  const bn = (t) => {
@@ -1451,7 +1452,7 @@ const bn = (t) => {
1451
1452
  exited: o,
1452
1453
  classes: i
1453
1454
  } = t;
1454
- return ue({
1455
+ return ce({
1455
1456
  root: ["root", !n && o && "hidden"],
1456
1457
  backdrop: ["backdrop"]
1457
1458
  }, hn, i);
@@ -1487,7 +1488,7 @@ const bn = (t) => {
1487
1488
  })({
1488
1489
  zIndex: -1
1489
1490
  }), bt = /* @__PURE__ */ p.forwardRef(function(n, o) {
1490
- const i = ce({
1491
+ const i = le({
1491
1492
  name: "MuiModal",
1492
1493
  props: n
1493
1494
  }), {
@@ -1512,13 +1513,13 @@ const bn = (t) => {
1512
1513
  onClose: S,
1513
1514
  onTransitionEnter: O,
1514
1515
  onTransitionExited: x,
1515
- open: k,
1516
+ open: M,
1516
1517
  slotProps: $ = {},
1517
1518
  slots: A = {},
1518
1519
  // eslint-disable-next-line react/prop-types
1519
1520
  theme: _,
1520
1521
  ...q
1521
- } = i, M = {
1522
+ } = i, k = {
1522
1523
  ...i,
1523
1524
  closeAfterTransition: c,
1524
1525
  disableAutoFocus: E,
@@ -1538,10 +1539,10 @@ const bn = (t) => {
1538
1539
  exited: F,
1539
1540
  hasTransition: Y
1540
1541
  } = mn({
1541
- ...M,
1542
+ ...k,
1542
1543
  rootRef: o
1543
1544
  }), J = {
1544
- ...M,
1545
+ ...k,
1545
1546
  exited: F
1546
1547
  }, K = bn(J), Q = {};
1547
1548
  if (b.props.tabIndex === void 0 && (Q.tabIndex = "-1"), Y) {
@@ -1561,7 +1562,7 @@ const bn = (t) => {
1561
1562
  ...m,
1562
1563
  ...$
1563
1564
  }
1564
- }, [Ce, Me] = X("root", {
1565
+ }, [Ce, ke] = X("root", {
1565
1566
  ref: o,
1566
1567
  elementType: En,
1567
1568
  externalForwardedProps: {
@@ -1572,7 +1573,7 @@ const bn = (t) => {
1572
1573
  getSlotProps: d,
1573
1574
  ownerState: J,
1574
1575
  className: te(l, K == null ? void 0 : K.root, !J.open && J.exited && (K == null ? void 0 : K.hidden))
1575
- }), [ke, De] = X("backdrop", {
1576
+ }), [Me, De] = X("backdrop", {
1576
1577
  ref: r == null ? void 0 : r.ref,
1577
1578
  elementType: s,
1578
1579
  externalForwardedProps: ye,
@@ -1587,20 +1588,20 @@ const bn = (t) => {
1587
1588
  className: te(r == null ? void 0 : r.className, K == null ? void 0 : K.backdrop),
1588
1589
  ownerState: J
1589
1590
  });
1590
- return !y && !k && (!Y || F) ? null : /* @__PURE__ */ L.jsx(Ne, {
1591
+ return !y && !M && (!Y || F) ? null : /* @__PURE__ */ L.jsx(Ne, {
1591
1592
  ref: U,
1592
1593
  container: T,
1593
1594
  disablePortal: g,
1594
1595
  children: /* @__PURE__ */ L.jsxs(Ce, {
1595
- ...Me,
1596
- children: [!f && s ? /* @__PURE__ */ L.jsx(ke, {
1596
+ ...ke,
1597
+ children: [!f && s ? /* @__PURE__ */ L.jsx(Me, {
1597
1598
  ...De
1598
1599
  }) : null, /* @__PURE__ */ L.jsx(Oe, {
1599
1600
  disableEnforceFocus: I,
1600
1601
  disableAutoFocus: E,
1601
1602
  disableRestoreFocus: w,
1602
1603
  isEnabled: R,
1603
- open: k,
1604
+ open: M,
1604
1605
  children: /* @__PURE__ */ p.cloneElement(b, Q)
1605
1606
  })]
1606
1607
  })
@@ -1778,7 +1779,7 @@ process.env.NODE_ENV !== "production" && (bt.propTypes = {
1778
1779
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
1779
1780
  });
1780
1781
  function yn(t) {
1781
- return le("MuiPaper", t);
1782
+ return ue("MuiPaper", t);
1782
1783
  }
1783
1784
  pe("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]);
1784
1785
  const vn = (t) => {
@@ -1790,7 +1791,7 @@ const vn = (t) => {
1790
1791
  } = t, r = {
1791
1792
  root: ["root", i, !n && "rounded", i === "elevation" && `elevation${o}`]
1792
1793
  };
1793
- return ue(r, yn, s);
1794
+ return ce(r, yn, s);
1794
1795
  }, Tn = W("div", {
1795
1796
  name: "MuiPaper",
1796
1797
  slot: "Root",
@@ -1831,7 +1832,7 @@ const vn = (t) => {
1831
1832
  }]
1832
1833
  }))), Et = /* @__PURE__ */ p.forwardRef(function(n, o) {
1833
1834
  var m;
1834
- const i = ce({
1835
+ const i = le({
1835
1836
  props: n,
1836
1837
  name: "MuiPaper"
1837
1838
  }), s = _e(), {
@@ -1862,7 +1863,7 @@ const vn = (t) => {
1862
1863
  "--Paper-overlay": (m = s.vars.overlays) == null ? void 0 : m[l]
1863
1864
  },
1864
1865
  ...!s.vars && s.palette.mode === "dark" && {
1865
- "--Paper-overlay": `linear-gradient(${He("#fff", ze(l))}, ${He("#fff", ze(l))})`
1866
+ "--Paper-overlay": `linear-gradient(${ze("#fff", He(l))}, ${ze("#fff", He(l))})`
1866
1867
  }
1867
1868
  },
1868
1869
  ...T.style
@@ -1923,7 +1924,7 @@ process.env.NODE_ENV !== "production" && (Et.propTypes = {
1923
1924
  variant: e.oneOfType([e.oneOf(["elevation", "outlined"]), e.string])
1924
1925
  });
1925
1926
  function xn(t) {
1926
- return le("MuiPopover", t);
1927
+ return ue("MuiPopover", t);
1927
1928
  }
1928
1929
  pe("MuiPopover", ["root", "paper"]);
1929
1930
  function et(t, n) {
@@ -1944,7 +1945,7 @@ const Pn = (t) => {
1944
1945
  const {
1945
1946
  classes: n
1946
1947
  } = t;
1947
- return ue({
1948
+ return ce({
1948
1949
  root: ["root"],
1949
1950
  paper: ["paper"]
1950
1951
  }, xn, n);
@@ -1967,7 +1968,7 @@ const Pn = (t) => {
1967
1968
  // We disable the focus ring for mouse, touch and keyboard users.
1968
1969
  outline: 0
1969
1970
  }), yt = /* @__PURE__ */ p.forwardRef(function(n, o) {
1970
- const i = ce({
1971
+ const i = le({
1971
1972
  props: n,
1972
1973
  name: "MuiPopover"
1973
1974
  }), {
@@ -2000,7 +2001,7 @@ const Pn = (t) => {
2000
2001
  // TODO: remove in v7
2001
2002
  disableScrollLock: S = !1,
2002
2003
  ...O
2003
- } = i, x = p.useRef(), k = {
2004
+ } = i, x = p.useRef(), M = {
2004
2005
  ...i,
2005
2006
  anchorOrigin: a,
2006
2007
  anchorReference: c,
@@ -2010,7 +2011,7 @@ const Pn = (t) => {
2010
2011
  TransitionComponent: u,
2011
2012
  transitionDuration: f,
2012
2013
  TransitionProps: y
2013
- }, $ = Pn(k), A = p.useCallback(() => {
2014
+ }, $ = Pn(M), A = p.useCallback(() => {
2014
2015
  if (c === "anchorPosition")
2015
2016
  return process.env.NODE_ENV !== "production" && (l || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), l;
2016
2017
  const P = he(r), D = P && P.nodeType === 1 ? P : z(x.current).body, V = D.getBoundingClientRect();
@@ -2060,7 +2061,7 @@ const Pn = (t) => {
2060
2061
  left: `${Math.round(ie)}px`,
2061
2062
  transformOrigin: nt(V)
2062
2063
  };
2063
- }, [r, c, A, _, m]), [M, d] = p.useState(E), h = p.useCallback(() => {
2064
+ }, [r, c, A, _, m]), [k, d] = p.useState(E), h = p.useCallback(() => {
2064
2065
  const P = x.current;
2065
2066
  if (!P)
2066
2067
  return;
@@ -2103,7 +2104,7 @@ const Pn = (t) => {
2103
2104
  }, [Y, J] = X("transition", {
2104
2105
  elementType: Re,
2105
2106
  externalForwardedProps: F,
2106
- ownerState: k,
2107
+ ownerState: M,
2107
2108
  getSlotProps: (P) => ({
2108
2109
  ...P,
2109
2110
  onEntering: (D, V) => {
@@ -2124,7 +2125,7 @@ const Pn = (t) => {
2124
2125
  const K = v || (r ? z(he(r)).body : void 0), [Q, {
2125
2126
  slots: ye,
2126
2127
  slotProps: Ce,
2127
- ...Me
2128
+ ...ke
2128
2129
  }] = X("root", {
2129
2130
  ref: o,
2130
2131
  elementType: Rn,
@@ -2138,16 +2139,16 @@ const Pn = (t) => {
2138
2139
  backdrop: C.backdrop
2139
2140
  },
2140
2141
  slotProps: {
2141
- backdrop: wt(typeof g.backdrop == "function" ? g.backdrop(k) : g.backdrop, {
2142
+ backdrop: wt(typeof g.backdrop == "function" ? g.backdrop(M) : g.backdrop, {
2142
2143
  invisible: !0
2143
2144
  })
2144
2145
  },
2145
2146
  container: K,
2146
2147
  open: E
2147
2148
  },
2148
- ownerState: k,
2149
+ ownerState: M,
2149
2150
  className: te($.root, T)
2150
- }), [ke, De] = X("paper", {
2151
+ }), [Me, De] = X("paper", {
2151
2152
  ref: x,
2152
2153
  className: $.paper,
2153
2154
  elementType: gt,
@@ -2155,14 +2156,14 @@ const Pn = (t) => {
2155
2156
  shouldForwardComponentProp: !0,
2156
2157
  additionalProps: {
2157
2158
  elevation: N,
2158
- style: M ? void 0 : {
2159
+ style: k ? void 0 : {
2159
2160
  opacity: 0
2160
2161
  }
2161
2162
  },
2162
- ownerState: k
2163
+ ownerState: M
2163
2164
  });
2164
2165
  return /* @__PURE__ */ L.jsx(Q, {
2165
- ...Me,
2166
+ ...ke,
2166
2167
  ...!zt(Q) && {
2167
2168
  slots: ye,
2168
2169
  slotProps: Ce,
@@ -2171,7 +2172,7 @@ const Pn = (t) => {
2171
2172
  children: /* @__PURE__ */ L.jsx(Y, {
2172
2173
  ...J,
2173
2174
  timeout: R,
2174
- children: /* @__PURE__ */ L.jsx(ke, {
2175
+ children: /* @__PURE__ */ L.jsx(Me, {
2175
2176
  ...De,
2176
2177
  children: b
2177
2178
  })
@@ -2385,10 +2386,10 @@ function On(t) {
2385
2386
  ownerState: i,
2386
2387
  skipResolvingSlotProps: s = !1,
2387
2388
  ...r
2388
- } = t, a = s ? {} : Mt(o, i), {
2389
+ } = t, a = s ? {} : kt(o, i), {
2389
2390
  props: l,
2390
2391
  internalRef: c
2391
- } = kt({
2392
+ } = Mt({
2392
2393
  ...r,
2393
2394
  externalSlotProps: a
2394
2395
  }), b = oe(c, a == null ? void 0 : a.ref, (v = t.additionalProps) == null ? void 0 : v.ref);
@@ -2400,7 +2401,7 @@ function On(t) {
2400
2401
  const vt = /* @__PURE__ */ p.createContext({});
2401
2402
  process.env.NODE_ENV !== "production" && (vt.displayName = "ListContext");
2402
2403
  function Nn(t) {
2403
- return le("MuiList", t);
2404
+ return ue("MuiList", t);
2404
2405
  }
2405
2406
  pe("MuiList", ["root", "padding", "dense", "subheader"]);
2406
2407
  const wn = (t) => {
@@ -2410,7 +2411,7 @@ const wn = (t) => {
2410
2411
  dense: i,
2411
2412
  subheader: s
2412
2413
  } = t;
2413
- return ue({
2414
+ return ce({
2414
2415
  root: ["root", !o && "padding", i && "dense", s && "subheader"]
2415
2416
  }, Nn, n);
2416
2417
  }, Sn = W("ul", {
@@ -2444,7 +2445,7 @@ const wn = (t) => {
2444
2445
  }
2445
2446
  }]
2446
2447
  }), Tt = /* @__PURE__ */ p.forwardRef(function(n, o) {
2447
- const i = ce({
2448
+ const i = le({
2448
2449
  props: n,
2449
2450
  name: "MuiList"
2450
2451
  }), {
@@ -2596,8 +2597,8 @@ const Pt = /* @__PURE__ */ p.forwardRef(function(n, o) {
2596
2597
  else if (y === "End")
2597
2598
  u.preventDefault(), fe(f, null, b, c, ot);
2598
2599
  else if (y.length === 1) {
2599
- const x = E.current, k = y.toLowerCase(), $ = performance.now();
2600
- x.keys.length > 0 && ($ - x.lastTime > 500 ? (x.keys = [], x.repeating = !0, x.previousKeyMatched = !0) : x.repeating && k !== x.keys[0] && (x.repeating = !1)), x.lastTime = $, x.keys.push(k);
2600
+ const x = E.current, M = y.toLowerCase(), $ = performance.now();
2601
+ x.keys.length > 0 && ($ - x.lastTime > 500 ? (x.keys = [], x.repeating = !0, x.previousKeyMatched = !0) : x.repeating && M !== x.keys[0] && (x.repeating = !1)), x.lastTime = $, x.keys.push(M);
2601
2602
  const A = O && !x.repeating && xt(O, x);
2602
2603
  x.previousKeyMatched && (A || fe(f, O, !1, c, Fe, x)) ? u.preventDefault() : x.previousKeyMatched = !1;
2603
2604
  }
@@ -2675,20 +2676,20 @@ process.env.NODE_ENV !== "production" && (Pt.propTypes = {
2675
2676
  variant: e.oneOf(["menu", "selectedMenu"])
2676
2677
  });
2677
2678
  function Cn(t) {
2678
- return le("MuiMenu", t);
2679
+ return ue("MuiMenu", t);
2679
2680
  }
2680
2681
  pe("MuiMenu", ["root", "paper", "list"]);
2681
- const Mn = {
2682
+ const kn = {
2682
2683
  vertical: "top",
2683
2684
  horizontal: "right"
2684
- }, kn = {
2685
+ }, Mn = {
2685
2686
  vertical: "top",
2686
2687
  horizontal: "left"
2687
2688
  }, Dn = (t) => {
2688
2689
  const {
2689
2690
  classes: n
2690
2691
  } = t;
2691
- return ue({
2692
+ return ce({
2692
2693
  root: ["root"],
2693
2694
  paper: ["paper"],
2694
2695
  list: ["list"]
@@ -2714,7 +2715,7 @@ const Mn = {
2714
2715
  // We disable the focus ring for mouse, touch and keyboard users.
2715
2716
  outline: 0
2716
2717
  }), Ln = /* @__PURE__ */ p.forwardRef(function(n, o) {
2717
- const i = ce({
2718
+ const i = le({
2718
2719
  props: n,
2719
2720
  name: "MuiMenu"
2720
2721
  }), {
@@ -2746,7 +2747,7 @@ const Mn = {
2746
2747
  transitionDuration: m,
2747
2748
  TransitionProps: I,
2748
2749
  variant: C
2749
- }, S = Dn(y), O = s && !l && T, x = p.useRef(null), k = (R, F) => {
2750
+ }, S = Dn(y), O = s && !l && T, x = p.useRef(null), M = (R, F) => {
2750
2751
  x.current && x.current.adjustStyleForScrollbar(R, {
2751
2752
  direction: f ? "rtl" : "ltr"
2752
2753
  }), E && E(R, F);
@@ -2771,7 +2772,7 @@ const Mn = {
2771
2772
  externalSlotProps: w.root,
2772
2773
  ownerState: y,
2773
2774
  className: [S.root, a]
2774
- }), [M, d] = X("paper", {
2775
+ }), [k, d] = X("paper", {
2775
2776
  className: S.paper,
2776
2777
  elementType: jn,
2777
2778
  externalForwardedProps: _,
@@ -2797,10 +2798,10 @@ const Mn = {
2797
2798
  vertical: "bottom",
2798
2799
  horizontal: f ? "right" : "left"
2799
2800
  },
2800
- transformOrigin: f ? Mn : kn,
2801
+ transformOrigin: f ? kn : Mn,
2801
2802
  slots: {
2802
2803
  root: g.root,
2803
- paper: M,
2804
+ paper: k,
2804
2805
  backdrop: g.backdrop,
2805
2806
  ...g.transition && {
2806
2807
  // TODO: pass `slots.transition` directly once `TransitionComponent` is removed from Popover
@@ -2815,7 +2816,7 @@ const Mn = {
2815
2816
  ...U,
2816
2817
  onEntering: (...R) => {
2817
2818
  var F;
2818
- k(...R), (F = U == null ? void 0 : U.onEntering) == null || F.call(U, ...R);
2819
+ M(...R), (F = U == null ? void 0 : U.onEntering) == null || F.call(U, ...R);
2819
2820
  }
2820
2821
  }
2821
2822
  },
@@ -2962,7 +2963,7 @@ export {
2962
2963
  Pt as e,
2963
2964
  Bt as f,
2964
2965
  Se as g,
2965
- Yn as h,
2966
+ Jn as h,
2966
2967
  zt as i,
2967
2968
  Ne as j,
2968
2969
  Oe as k,