@hybridcore/ui 1.3.3 → 1.3.5

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 (67) hide show
  1. package/dist/{ButtonBase-DE8d_U2E.js → ButtonBase-D6qhsxB0.js} +201 -210
  2. package/dist/{CardContent-Du2i427Y.js → CardContent-B8hqgH-I.js} +15 -15
  3. package/dist/{Checkbox-BGNAqLl0.js → Checkbox-BFWhj3s-.js} +154 -144
  4. package/dist/{Collapse-FRd0_2Pt.js → Collapse-D_TjnyE5.js} +96 -87
  5. package/dist/DialogContent-BCYm_d1s.js +864 -0
  6. package/dist/{FormControl-ChTmxscy.js → FormControl-BMRUQKHh.js} +479 -449
  7. package/dist/FormControlLabel-DENNVXWL.js +639 -0
  8. package/dist/{IconButton-Cu_XEJB2.js → IconButton-D8bwME9t.js} +22 -22
  9. package/dist/{Input-DU22-Zbo.js → Input-Dxzguyp5.js} +34 -34
  10. package/dist/{InputAdornment-6aeADcPO.js → InputAdornment-B8ERE7Zv.js} +12 -12
  11. package/dist/{List-nOXr-cFJ.js → List-DEWyK9IO.js} +12 -12
  12. package/dist/{MenuItem-DF45rx2m.js → MenuItem-DstAFfik.js} +26 -26
  13. package/dist/Modal-DNGEQJ1M.js +1267 -0
  14. package/dist/{OutlinedInput-DJCHjkR3.js → OutlinedInput-w2Cj9STF.js} +75 -78
  15. package/dist/{Paper-CD_ma6NJ.js → Paper-BseeergJ.js} +15 -15
  16. package/dist/Select-NDq3WyLt.js +2175 -0
  17. package/dist/Typography-Dg-ROiTA.js +201 -0
  18. package/dist/components/card/index.js +17 -17
  19. package/dist/components/card/styled.js +1 -1
  20. package/dist/components/collapsible-card/style.js +222 -302
  21. package/dist/components/confirm/dialog.js +13 -13
  22. package/dist/components/container/index.js +19 -19
  23. package/dist/components/context-menu/index.js +616 -203
  24. package/dist/components/data-management/instance-form/components/composite-list/index.js +1 -1
  25. package/dist/components/data-management/instance-form/components/variable/index.js +6 -6
  26. package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
  27. package/dist/components/geometry-picker/index.js +3 -3
  28. package/dist/components/icon-button/index.js +1 -1
  29. package/dist/components/map/styled.js +14 -14
  30. package/dist/components/search-input/index.js +4 -4
  31. package/dist/components/template-property-filters/index.js +1 -1
  32. package/dist/components/template-property-filters/property.js +209 -10
  33. package/dist/components/tree-select/index.js +4 -4
  34. package/dist/components/treeview-filter/index.js +29 -30
  35. package/dist/components/treeview-filter/item/index.js +1 -1
  36. package/dist/components/treeview-filter/item-label/index.js +2 -2
  37. package/dist/createStyled-B96gjom1.js +1887 -0
  38. package/dist/createSvgIcon-B2WT0K4k.js +87 -0
  39. package/dist/{createSvgIcon-DPZ7UbxM.js → createSvgIcon-BNrb7rDY.js} +82 -85
  40. package/dist/{exactProp--3vlJ9a9.js → exactProp-CI_rjX83.js} +2 -2
  41. package/dist/{index-CtuBGOmk.js → index-B3Oj04nl.js} +5 -5
  42. package/dist/{index-DzFccwzL.js → index-CSfSVkKj.js} +204 -218
  43. package/dist/{listItemTextClasses-2BAu-hye.js → listItemTextClasses-CFiI_U7B.js} +2 -2
  44. package/dist/main.js +150 -144
  45. package/dist/styled-cPJbqF0E.js +677 -0
  46. package/dist/useTheme-C-T6Qisa.js +10 -0
  47. package/dist/useThemeProps-DeftUmqJ.js +107 -0
  48. package/dist/{utils-qcu0RzdN.js → utils-CCkxV0lZ.js} +15 -15
  49. package/package.json +3 -3
  50. package/dist/DialogContent-CKeAZ3Ts.js +0 -1982
  51. package/dist/FormControlLabel-Df7csguX.js +0 -827
  52. package/dist/ListItem-RJvRMwkZ.js +0 -428
  53. package/dist/Select-C1jD_gBQ.js +0 -2305
  54. package/dist/Typography-C2BkMNk-.js +0 -178
  55. package/dist/chainPropTypes-GRMJ22CO.js +0 -96
  56. package/dist/createSvgIcon-6wv0RQr3.js +0 -63
  57. package/dist/createTheme-C3DKplhE.js +0 -2395
  58. package/dist/property-BSufYw1E.js +0 -6888
  59. package/dist/requirePropFactory-BItwGLRQ.js +0 -18
  60. package/dist/resolveComponentProps-DozbaB8e.js +0 -54
  61. package/dist/styled-CVWGE9ik.js +0 -142
  62. package/dist/styled-iyoioZCr.js +0 -1033
  63. package/dist/unsupportedProp-BuVD30Gh.js +0 -9
  64. package/dist/useTheme--x3BjP9A.js +0 -17
  65. package/dist/useTheme-pWltVFb2.js +0 -10
  66. package/dist/useThemeProps-C90JF0Qc.js +0 -62
  67. package/dist/useThemeProps-DNZoozBw.js +0 -26
@@ -1,14 +1,14 @@
1
1
  import { _ as t, a as h } from "./extends-Cyw62AD_.js";
2
2
  import * as d from "react";
3
- import { a as n, P as r } from "./createTheme-C3DKplhE.js";
4
- import { g as z, u as R, c as C, b as B, a as I } from "./chainPropTypes-GRMJ22CO.js";
5
- import { g as O, s as x, a as g } from "./styled-iyoioZCr.js";
6
- import { jsx as T } from "react/jsx-runtime";
7
- import { B as $ } from "./ButtonBase-DE8d_U2E.js";
3
+ import { a as n, P as r } from "./createStyled-B96gjom1.js";
4
+ import { g as z, u as R, c as C, b as B, a as I } from "./useThemeProps-DeftUmqJ.js";
5
+ import { g as O, s as T, a as f } from "./styled-cPJbqF0E.js";
6
+ import { jsx as x } from "react/jsx-runtime";
7
+ import { B as $ } from "./ButtonBase-D6qhsxB0.js";
8
8
  function k(o) {
9
9
  return O("MuiIconButton", o);
10
10
  }
11
- const P = z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge"]), _ = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"], j = (o) => {
11
+ const P = z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge"]), j = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"], E = (o) => {
12
12
  const {
13
13
  classes: e,
14
14
  disabled: a,
@@ -19,7 +19,7 @@ const P = z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
19
19
  root: ["root", a && "disabled", s !== "default" && `color${n(s)}`, i && `edge${n(i)}`, `size${n(l)}`]
20
20
  };
21
21
  return I(c, k, e);
22
- }, E = x($, {
22
+ }, M = T($, {
23
23
  name: "MuiIconButton",
24
24
  slot: "Root",
25
25
  overridesResolver: (o, e) => {
@@ -45,7 +45,7 @@ const P = z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
45
45
  })
46
46
  }, !e.disableRipple && {
47
47
  "&:hover": {
48
- backgroundColor: o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : g(o.palette.action.active, o.palette.action.hoverOpacity),
48
+ backgroundColor: o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : f(o.palette.action.active, o.palette.action.hoverOpacity),
49
49
  // Reset on touch devices, it doesn't add specificity
50
50
  "@media (hover: none)": {
51
51
  backgroundColor: "transparent"
@@ -67,7 +67,7 @@ const P = z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
67
67
  color: s == null ? void 0 : s.main
68
68
  }, !e.disableRipple && {
69
69
  "&:hover": t({}, s && {
70
- backgroundColor: o.vars ? `rgba(${s.mainChannel} / ${o.vars.palette.action.hoverOpacity})` : g(s.main, o.palette.action.hoverOpacity)
70
+ backgroundColor: o.vars ? `rgba(${s.mainChannel} / ${o.vars.palette.action.hoverOpacity})` : f(s.main, o.palette.action.hoverOpacity)
71
71
  }, {
72
72
  // Reset on touch devices, it doesn't add specificity
73
73
  "@media (hover: none)": {
@@ -86,7 +86,7 @@ const P = z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
86
86
  color: (o.vars || o).palette.action.disabled
87
87
  }
88
88
  });
89
- }), M = /* @__PURE__ */ d.forwardRef(function(e, a) {
89
+ }), N = /* @__PURE__ */ d.forwardRef(function(e, a) {
90
90
  const s = R({
91
91
  props: e,
92
92
  name: "MuiIconButton"
@@ -98,29 +98,29 @@ const P = z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
98
98
  disabled: p = !1,
99
99
  disableFocusRipple: u = !1,
100
100
  size: v = "medium"
101
- } = s, m = h(s, _), f = t({}, s, {
101
+ } = s, m = h(s, j), g = t({}, s, {
102
102
  edge: i,
103
103
  color: b,
104
104
  disabled: p,
105
105
  disableFocusRipple: u,
106
106
  size: v
107
- }), y = j(f);
108
- return /* @__PURE__ */ T(E, t({
107
+ }), y = E(g);
108
+ return /* @__PURE__ */ x(M, t({
109
109
  className: C(y.root, c),
110
110
  centerRipple: !0,
111
111
  focusRipple: !u,
112
112
  disabled: p,
113
- ref: a
113
+ ref: a,
114
+ ownerState: g
114
115
  }, m, {
115
- ownerState: f,
116
116
  children: l
117
117
  }));
118
118
  });
119
- process.env.NODE_ENV !== "production" && (M.propTypes = {
120
- // ┌────────────────────────────── Warning ──────────────────────────────┐
121
- // These PropTypes are generated from the TypeScript type definitions.
122
- // To update them, edit the d.ts file and run `pnpm proptypes`.
123
- // └─────────────────────────────────────────────────────────────────────┘
119
+ process.env.NODE_ENV !== "production" && (N.propTypes = {
120
+ // ----------------------------- Warning --------------------------------
121
+ // | These PropTypes are generated from the TypeScript type definitions |
122
+ // | To update them edit the d.ts file and run "yarn proptypes" |
123
+ // ----------------------------------------------------------------------
124
124
  /**
125
125
  * The icon to display.
126
126
  */
@@ -137,7 +137,7 @@ process.env.NODE_ENV !== "production" && (M.propTypes = {
137
137
  /**
138
138
  * The color of the component.
139
139
  * It supports both default and custom theme colors, which can be added as shown in the
140
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
140
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
141
141
  * @default 'default'
142
142
  */
143
143
  color: r.oneOfType([r.oneOf(["inherit", "default", "primary", "secondary", "error", "info", "success", "warning"]), r.string]),
@@ -179,5 +179,5 @@ process.env.NODE_ENV !== "production" && (M.propTypes = {
179
179
  sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
180
180
  });
181
181
  export {
182
- M as I
182
+ N as I
183
183
  };
@@ -1,24 +1,24 @@
1
- import { _ as a, a as U } from "./extends-Cyw62AD_.js";
2
- import * as h from "react";
3
- import { d as j, P as o } from "./createTheme-C3DKplhE.js";
4
- import { g as _, s as y, r as w } from "./styled-iyoioZCr.js";
5
- import { i as M, a as S, r as W, b as E, c as F, d as N } from "./FormControl-ChTmxscy.js";
6
- import { g as X, u as A, a as D } from "./chainPropTypes-GRMJ22CO.js";
7
- import { jsx as L } from "react/jsx-runtime";
8
- import { r as V } from "./ButtonBase-DE8d_U2E.js";
9
- function k(t) {
1
+ import { _ as a, a as B } from "./extends-Cyw62AD_.js";
2
+ import * as U from "react";
3
+ import { b as j, P as o } from "./createStyled-B96gjom1.js";
4
+ import { g as _, s as y, r as w } from "./styled-cPJbqF0E.js";
5
+ import { g as M, u as S, a as W } from "./useThemeProps-DeftUmqJ.js";
6
+ import { i as E, a as F, r as N, b as X, c as A, d as L } from "./FormControl-BMRUQKHh.js";
7
+ import { jsx as V } from "react/jsx-runtime";
8
+ import { r as k } from "./ButtonBase-D6qhsxB0.js";
9
+ function q(t) {
10
10
  return _("MuiInput", t);
11
11
  }
12
- const r = a({}, M, X("MuiInput", ["root", "underline", "input"])), q = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"], z = (t) => {
12
+ const r = a({}, E, M("MuiInput", ["root", "underline", "input"])), D = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"], z = (t) => {
13
13
  const {
14
14
  classes: e,
15
15
  disableUnderline: s
16
- } = t, i = D({
16
+ } = t, i = W({
17
17
  root: ["root", !s && "underline"],
18
18
  input: ["input"]
19
- }, k, e);
19
+ }, q, e);
20
20
  return a({}, e, i);
21
- }, G = y(S, {
21
+ }, G = y(F, {
22
22
  shouldForwardProp: (t) => w(t) || t === "classes",
23
23
  name: "MuiInput",
24
24
  slot: "Root",
@@ -26,7 +26,7 @@ const r = a({}, M, X("MuiInput", ["root", "underline", "input"])), q = ["disable
26
26
  const {
27
27
  ownerState: s
28
28
  } = t;
29
- return [...W(t, e), !s.disableUnderline && e.underline];
29
+ return [...N(t, e), !s.disableUnderline && e.underline];
30
30
  }
31
31
  })(({
32
32
  theme: t,
@@ -40,7 +40,7 @@ const r = a({}, M, X("MuiInput", ["root", "underline", "input"])), q = ["disable
40
40
  marginTop: 16
41
41
  }
42
42
  }, !e.disableUnderline && {
43
- "&::after": {
43
+ "&:after": {
44
44
  borderBottom: `2px solid ${(t.vars || t).palette[e.color].main}`,
45
45
  left: 0,
46
46
  bottom: 0,
@@ -62,11 +62,11 @@ const r = a({}, M, X("MuiInput", ["root", "underline", "input"])), q = ["disable
62
62
  transform: "scaleX(1) translateX(0)"
63
63
  },
64
64
  [`&.${r.error}`]: {
65
- "&::before, &::after": {
65
+ "&:before, &:after": {
66
66
  borderBottomColor: (t.vars || t).palette.error.main
67
67
  }
68
68
  },
69
- "&::before": {
69
+ "&:before": {
70
70
  borderBottom: `1px solid ${n}`,
71
71
  left: 0,
72
72
  bottom: 0,
@@ -91,13 +91,13 @@ const r = a({}, M, X("MuiInput", ["root", "underline", "input"])), q = ["disable
91
91
  borderBottomStyle: "dotted"
92
92
  }
93
93
  });
94
- }), H = y(E, {
94
+ }), H = y(X, {
95
95
  name: "MuiInput",
96
96
  slot: "Input",
97
- overridesResolver: F
98
- })({}), g = /* @__PURE__ */ h.forwardRef(function(e, s) {
97
+ overridesResolver: A
98
+ })({}), g = /* @__PURE__ */ U.forwardRef(function(e, s) {
99
99
  var n, i, u, d;
100
- const p = A({
100
+ const p = S({
101
101
  props: e,
102
102
  name: "MuiInput"
103
103
  }), {
@@ -109,34 +109,34 @@ const r = a({}, M, X("MuiInput", ["root", "underline", "input"])), q = ["disable
109
109
  multiline: P = !1,
110
110
  slotProps: l,
111
111
  slots: b = {},
112
- type: R = "text"
113
- } = p, T = U(p, q), O = z(p), f = {
112
+ type: T = "text"
113
+ } = p, R = B(p, D), O = z(p), f = {
114
114
  root: {
115
115
  ownerState: {
116
116
  disableUnderline: v
117
117
  }
118
118
  }
119
- }, $ = l ?? m ? j(l ?? m, f) : f, x = (n = (i = b.root) != null ? i : c.Root) != null ? n : G, B = (u = (d = b.input) != null ? d : c.Input) != null ? u : H;
120
- return /* @__PURE__ */ L(N, a({
119
+ }, $ = l ?? m ? j(l ?? m, f) : f, x = (n = (i = b.root) != null ? i : c.Root) != null ? n : G, h = (u = (d = b.input) != null ? d : c.Input) != null ? u : H;
120
+ return /* @__PURE__ */ V(L, a({
121
121
  slots: {
122
122
  root: x,
123
- input: B
123
+ input: h
124
124
  },
125
125
  slotProps: $,
126
126
  fullWidth: C,
127
127
  inputComponent: I,
128
128
  multiline: P,
129
129
  ref: s,
130
- type: R
131
- }, T, {
130
+ type: T
131
+ }, R, {
132
132
  classes: O
133
133
  }));
134
134
  });
135
135
  process.env.NODE_ENV !== "production" && (g.propTypes = {
136
- // ┌────────────────────────────── Warning ──────────────────────────────┐
137
- // These PropTypes are generated from the TypeScript type definitions.
138
- // To update them, edit the d.ts file and run `pnpm proptypes`.
139
- // └─────────────────────────────────────────────────────────────────────┘
136
+ // ----------------------------- Warning --------------------------------
137
+ // | These PropTypes are generated from the TypeScript type definitions |
138
+ // | To update them edit the d.ts file and run "yarn proptypes" |
139
+ // ----------------------------------------------------------------------
140
140
  /**
141
141
  * This prop helps users to fill forms faster, especially on mobile devices.
142
142
  * The name can be confusing, as it's more like an autofill.
@@ -154,7 +154,7 @@ process.env.NODE_ENV !== "production" && (g.propTypes = {
154
154
  /**
155
155
  * The color of the component.
156
156
  * It supports both default and custom theme colors, which can be added as shown in the
157
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
157
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
158
158
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
159
159
  */
160
160
  color: o.oneOfType([o.oneOf(["primary", "secondary"]), o.string]),
@@ -228,7 +228,7 @@ process.env.NODE_ENV !== "production" && (g.propTypes = {
228
228
  /**
229
229
  * Pass a ref to the `input` element.
230
230
  */
231
- inputRef: V,
231
+ inputRef: k,
232
232
  /**
233
233
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
234
234
  * FormControl.
@@ -1,11 +1,11 @@
1
- import { _ as u, a as T } from "./extends-Cyw62AD_.js";
1
+ import { _ as u, a as I } from "./extends-Cyw62AD_.js";
2
2
  import * as b from "react";
3
- import { P as e, a as v } from "./createTheme-C3DKplhE.js";
4
- import { g as x, u as A, c as C, a as N } from "./chainPropTypes-GRMJ22CO.js";
3
+ import { P as e, a as v } from "./createStyled-B96gjom1.js";
4
+ import { g as x, u as A, c as C, a as N } from "./useThemeProps-DeftUmqJ.js";
5
5
  import { u as L, F as O } from "./useFormControl-CatNKXAi.js";
6
- import { g as R, s as _ } from "./styled-iyoioZCr.js";
6
+ import { g as R, s as _ } from "./styled-cPJbqF0E.js";
7
7
  import { jsx as l, jsxs as j } from "react/jsx-runtime";
8
- import { T as z } from "./Typography-C2BkMNk-.js";
8
+ import { T as z } from "./Typography-Dg-ROiTA.js";
9
9
  function F(t) {
10
10
  return R("MuiInputAdornment", t);
11
11
  }
@@ -69,7 +69,7 @@ const M = ["children", "className", "component", "disablePointerEvents", "disabl
69
69
  disableTypography: E = !1,
70
70
  position: f,
71
71
  variant: c
72
- } = r, P = T(r, M), i = L() || {};
72
+ } = r, P = I(r, M), i = L() || {};
73
73
  let m = c;
74
74
  c && i.variant && process.env.NODE_ENV !== "production" && c === i.variant && console.error("MUI: The `InputAdornment` variant infers the variant prop you do not have to provide one."), i && !m && (m = i.variant);
75
75
  const h = u({}, r, {
@@ -78,13 +78,13 @@ const M = ["children", "className", "component", "disablePointerEvents", "disabl
78
78
  disablePointerEvents: d,
79
79
  position: f,
80
80
  variant: m
81
- }), I = $(h);
81
+ }), T = $(h);
82
82
  return /* @__PURE__ */ l(O.Provider, {
83
83
  value: null,
84
84
  children: /* @__PURE__ */ l(S, u({
85
85
  as: p,
86
86
  ownerState: h,
87
- className: C(I.root, a),
87
+ className: C(T.root, a),
88
88
  ref: n
89
89
  }, P, {
90
90
  children: typeof s == "string" && !E ? /* @__PURE__ */ l(z, {
@@ -103,10 +103,10 @@ const M = ["children", "className", "component", "disablePointerEvents", "disabl
103
103
  });
104
104
  });
105
105
  process.env.NODE_ENV !== "production" && (w.propTypes = {
106
- // ┌────────────────────────────── Warning ──────────────────────────────┐
107
- // These PropTypes are generated from the TypeScript type definitions.
108
- // To update them, edit the d.ts file and run `pnpm proptypes`.
109
- // └─────────────────────────────────────────────────────────────────────┘
106
+ // ----------------------------- Warning --------------------------------
107
+ // | These PropTypes are generated from the TypeScript type definitions |
108
+ // | To update them edit the d.ts file and run "yarn proptypes" |
109
+ // ----------------------------------------------------------------------
110
110
  /**
111
111
  * The content of the component, normally an `IconButton` or string.
112
112
  */
@@ -1,8 +1,8 @@
1
1
  import { _ as i, a as L } from "./extends-Cyw62AD_.js";
2
2
  import * as d from "react";
3
- import { P as e } from "./createTheme-C3DKplhE.js";
4
- import { g as x, u as P, c as y, a as N } from "./chainPropTypes-GRMJ22CO.js";
5
- import { g as v, s as C } from "./styled-iyoioZCr.js";
3
+ import { P as e } from "./createStyled-B96gjom1.js";
4
+ import { g as x, u as P, c as y, a as N } from "./useThemeProps-DeftUmqJ.js";
5
+ import { g as v, s as C } from "./styled-cPJbqF0E.js";
6
6
  import { jsx as T, jsxs as j } from "react/jsx-runtime";
7
7
  const u = /* @__PURE__ */ d.createContext({});
8
8
  process.env.NODE_ENV !== "production" && (u.displayName = "ListContext");
@@ -52,7 +52,7 @@ const M = ["children", "className", "component", "dense", "disablePadding", "sub
52
52
  dense: r = !1,
53
53
  disablePadding: m = !1,
54
54
  subheader: b
55
- } = n, f = L(n, M), g = d.useMemo(() => ({
55
+ } = n, g = L(n, M), f = d.useMemo(() => ({
56
56
  dense: r
57
57
  }), [r]), p = i({}, n, {
58
58
  component: l,
@@ -60,22 +60,22 @@ const M = ["children", "className", "component", "dense", "disablePadding", "sub
60
60
  disablePadding: m
61
61
  }), h = O(p);
62
62
  return /* @__PURE__ */ T(u.Provider, {
63
- value: g,
63
+ value: f,
64
64
  children: /* @__PURE__ */ j(R, i({
65
65
  as: l,
66
66
  className: y(h.root, c),
67
67
  ref: t,
68
68
  ownerState: p
69
- }, f, {
69
+ }, g, {
70
70
  children: [b, a]
71
71
  }))
72
72
  });
73
73
  });
74
74
  process.env.NODE_ENV !== "production" && (E.propTypes = {
75
- // ┌────────────────────────────── Warning ──────────────────────────────┐
76
- // These PropTypes are generated from the TypeScript type definitions.
77
- // To update them, edit the d.ts file and run `pnpm proptypes`.
78
- // └─────────────────────────────────────────────────────────────────────┘
75
+ // ----------------------------- Warning --------------------------------
76
+ // | These PropTypes are generated from the TypeScript type definitions |
77
+ // | To update them edit the d.ts file and run "yarn proptypes" |
78
+ // ----------------------------------------------------------------------
79
79
  /**
80
80
  * The content of the component.
81
81
  */
@@ -115,6 +115,6 @@ process.env.NODE_ENV !== "production" && (E.propTypes = {
115
115
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
116
116
  });
117
117
  export {
118
- E as L,
119
- u as a
118
+ u as L,
119
+ E as a
120
120
  };
@@ -1,17 +1,17 @@
1
- import { _ as l, a as _ } from "./extends-Cyw62AD_.js";
1
+ import { _ as l, a as L } from "./extends-Cyw62AD_.js";
2
2
  import * as d from "react";
3
- import { P as t } from "./createTheme-C3DKplhE.js";
4
- import { g as V, u as j, c as x, a as D } from "./chainPropTypes-GRMJ22CO.js";
5
- import { g as E, s as F, r as G, a as p } from "./styled-iyoioZCr.js";
6
- import { a as I } from "./List-nOXr-cFJ.js";
3
+ import { P as t } from "./createStyled-B96gjom1.js";
4
+ import { g as V, u as j, c as x, a as E } from "./useThemeProps-DeftUmqJ.js";
5
+ import { g as F, s as G, r as U, a as p } from "./styled-cPJbqF0E.js";
6
+ import { L as I } from "./List-DEWyK9IO.js";
7
7
  import { jsx as $ } from "react/jsx-runtime";
8
- import { B as L, b as U, u as S } from "./ButtonBase-DE8d_U2E.js";
9
- import { l as O, b as M } from "./listItemTextClasses-2BAu-hye.js";
8
+ import { B as _, u as D, a as S } from "./ButtonBase-D6qhsxB0.js";
9
+ import { l as O, b as M } from "./listItemTextClasses-CFiI_U7B.js";
10
10
  const N = V("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
11
- function H(e) {
12
- return E("MuiMenuItem", e);
11
+ function h(e) {
12
+ return F("MuiMenuItem", e);
13
13
  }
14
- const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), W = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex", "className"], h = (e, o) => {
14
+ const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), H = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex", "className"], W = (e, o) => {
15
15
  const {
16
16
  ownerState: s
17
17
  } = e;
@@ -24,15 +24,15 @@ const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
24
24
  disableGutters: c,
25
25
  selected: u,
26
26
  classes: i
27
- } = e, r = D({
27
+ } = e, r = E({
28
28
  root: ["root", s && "dense", o && "disabled", !c && "gutters", a && "divider", u && "selected"]
29
- }, H, i);
29
+ }, h, i);
30
30
  return l({}, i, r);
31
- }, A = F(L, {
32
- shouldForwardProp: (e) => G(e) || e === "classes",
31
+ }, A = G(_, {
32
+ shouldForwardProp: (e) => U(e) || e === "classes",
33
33
  name: "MuiMenuItem",
34
34
  slot: "Root",
35
- overridesResolver: h
35
+ overridesResolver: W
36
36
  })(({
37
37
  theme: e,
38
38
  ownerState: o
@@ -122,14 +122,14 @@ const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
122
122
  divider: m = !1,
123
123
  disableGutters: r = !1,
124
124
  focusVisibleClassName: R,
125
- role: k = "menuitem",
125
+ role: T = "menuitem",
126
126
  tabIndex: g,
127
- className: w
128
- } = a, T = _(a, W), v = d.useContext(I), y = d.useMemo(() => ({
127
+ className: k
128
+ } = a, w = L(a, H), v = d.useContext(I), y = d.useMemo(() => ({
129
129
  dense: i || v.dense || !1,
130
130
  disableGutters: r
131
131
  }), [v.dense, i, r]), b = d.useRef(null);
132
- U(() => {
132
+ D(() => {
133
133
  c && (b.current ? b.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."));
134
134
  }, [c]);
135
135
  const B = l({}, a, {
@@ -142,22 +142,22 @@ const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
142
142
  value: y,
143
143
  children: /* @__PURE__ */ $(A, l({
144
144
  ref: P,
145
- role: k,
145
+ role: T,
146
146
  tabIndex: C,
147
147
  component: u,
148
148
  focusVisibleClassName: x(f.focusVisible, R),
149
- className: x(f.root, w)
150
- }, T, {
149
+ className: x(f.root, k)
150
+ }, w, {
151
151
  ownerState: B,
152
152
  classes: f
153
153
  }))
154
154
  });
155
155
  });
156
156
  process.env.NODE_ENV !== "production" && (q.propTypes = {
157
- // ┌────────────────────────────── Warning ──────────────────────────────┐
158
- // These PropTypes are generated from the TypeScript type definitions.
159
- // To update them, edit the d.ts file and run `pnpm proptypes`.
160
- // └─────────────────────────────────────────────────────────────────────┘
157
+ // ----------------------------- Warning --------------------------------
158
+ // | These PropTypes are generated from the TypeScript type definitions |
159
+ // | To update them edit the d.ts file and run "yarn proptypes" |
160
+ // ----------------------------------------------------------------------
161
161
  /**
162
162
  * If `true`, the list item is focused during the first mount.
163
163
  * Focus will also be triggered if the value changes from false to true.