@hybridcore/ui 1.3.3 → 1.3.4
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.
- package/dist/{ButtonBase-DE8d_U2E.js → ButtonBase-DJz-TFGO.js} +199 -207
- package/dist/{CardContent-Du2i427Y.js → CardContent-DZnCVGy9.js} +15 -15
- package/dist/{Checkbox-BGNAqLl0.js → Checkbox-DzmWBCrt.js} +154 -144
- package/dist/{Collapse-FRd0_2Pt.js → Collapse-NqW0GIK_.js} +79 -77
- package/dist/DialogContent-D51w7KVX.js +2119 -0
- package/dist/{FormControl-ChTmxscy.js → FormControl-aXQs42m6.js} +496 -466
- package/dist/FormControlLabel-hDa-xf_q.js +639 -0
- package/dist/{IconButton-Cu_XEJB2.js → IconButton-SnBOFQ43.js} +22 -22
- package/dist/{Input-DU22-Zbo.js → Input-CeVb6kjv.js} +34 -34
- package/dist/{InputAdornment-6aeADcPO.js → InputAdornment-fM3loNyx.js} +12 -12
- package/dist/{List-nOXr-cFJ.js → List-DLIiXc6r.js} +10 -10
- package/dist/{ListItem-RJvRMwkZ.js → ListItem-BkxmqFI8.js} +23 -23
- package/dist/{MenuItem-DF45rx2m.js → MenuItem-BEW28T9O.js} +27 -27
- package/dist/{OutlinedInput-DJCHjkR3.js → OutlinedInput-DkzLHRTd.js} +75 -78
- package/dist/{Paper-CD_ma6NJ.js → Paper-Dp3qO0cK.js} +18 -18
- package/dist/Select-Cdmu0dQ4.js +2175 -0
- package/dist/Typography-CXe5ytr0.js +201 -0
- package/dist/components/card/index.js +17 -17
- package/dist/components/card/styled.js +1 -1
- package/dist/components/collapsible-card/style.js +222 -302
- package/dist/components/confirm/dialog.js +13 -13
- package/dist/components/container/index.js +19 -19
- package/dist/components/context-menu/index.js +32 -32
- package/dist/components/data-management/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/data-management/instance-form/components/variable/index.js +6 -6
- package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
- package/dist/components/geometry-picker/index.js +3 -3
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/map/styled.js +14 -14
- package/dist/components/search-input/index.js +4 -4
- package/dist/components/template-property-filters/index.js +1 -1
- package/dist/components/template-property-filters/property.js +4 -4
- package/dist/components/tree-select/index.js +4 -4
- package/dist/components/treeview-filter/index.js +29 -30
- package/dist/components/treeview-filter/item/index.js +1 -1
- package/dist/components/treeview-filter/item-label/index.js +2 -2
- package/dist/createStyled-liRRhQcN.js +1910 -0
- package/dist/createSvgIcon-B4TFefhd.js +73 -0
- package/dist/{createSvgIcon-DPZ7UbxM.js → createSvgIcon-Cl8kMTkx.js} +82 -85
- package/dist/{exactProp--3vlJ9a9.js → exactProp-CT2wqJXE.js} +2 -2
- package/dist/{index-CtuBGOmk.js → index-D9TdkXAs.js} +5 -5
- package/dist/{index-DzFccwzL.js → index-DRy8nExS.js} +205 -218
- package/dist/{listItemTextClasses-2BAu-hye.js → listItemTextClasses-BrCbmCR1.js} +2 -2
- package/dist/main.js +2 -2
- package/dist/{property-BSufYw1E.js → property-BsU8ijQF.js} +1056 -1087
- package/dist/styled-Dm8rXzIG.js +677 -0
- package/dist/useTheme-CTuK-wFF.js +10 -0
- package/dist/useThemeProps-BXn-nVhw.js +107 -0
- package/dist/{utils-qcu0RzdN.js → utils-DY9Jk4Ah.js} +2 -2
- package/package.json +3 -3
- package/dist/DialogContent-CKeAZ3Ts.js +0 -1982
- package/dist/FormControlLabel-Df7csguX.js +0 -827
- package/dist/Select-C1jD_gBQ.js +0 -2305
- package/dist/Typography-C2BkMNk-.js +0 -178
- package/dist/chainPropTypes-GRMJ22CO.js +0 -96
- package/dist/createSvgIcon-6wv0RQr3.js +0 -63
- package/dist/createTheme-C3DKplhE.js +0 -2395
- package/dist/resolveComponentProps-DozbaB8e.js +0 -54
- package/dist/styled-CVWGE9ik.js +0 -142
- package/dist/styled-iyoioZCr.js +0 -1033
- package/dist/useTheme--x3BjP9A.js +0 -17
- package/dist/useTheme-pWltVFb2.js +0 -10
- package/dist/useThemeProps-C90JF0Qc.js +0 -62
- 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 "./
|
|
4
|
-
import { g as z, u as R, c as C,
|
|
5
|
-
import { g as O, s as
|
|
6
|
-
import { jsx as
|
|
7
|
-
import { B as $ } from "./ButtonBase-
|
|
3
|
+
import { a as n, P as r } from "./createStyled-liRRhQcN.js";
|
|
4
|
+
import { g as z, u as R, c as C, d as B, a as I } from "./useThemeProps-BXn-nVhw.js";
|
|
5
|
+
import { g as O, s as T, a as f } from "./styled-Dm8rXzIG.js";
|
|
6
|
+
import { jsx as x } from "react/jsx-runtime";
|
|
7
|
+
import { B as $ } from "./ButtonBase-DJz-TFGO.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"]),
|
|
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
|
-
},
|
|
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})` :
|
|
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})` :
|
|
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
|
-
}),
|
|
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,
|
|
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 =
|
|
108
|
-
return /* @__PURE__ */
|
|
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" && (
|
|
120
|
-
//
|
|
121
|
-
//
|
|
122
|
-
//
|
|
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/#
|
|
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
|
-
|
|
182
|
+
N as I
|
|
183
183
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { _ as a, a as
|
|
2
|
-
import * as
|
|
3
|
-
import {
|
|
4
|
-
import { g as _, s as y, r as w } from "./styled-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { jsx as
|
|
8
|
-
import { r as
|
|
9
|
-
function
|
|
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-liRRhQcN.js";
|
|
4
|
+
import { g as _, s as y, r as w } from "./styled-Dm8rXzIG.js";
|
|
5
|
+
import { g as M, u as S, a as W } from "./useThemeProps-BXn-nVhw.js";
|
|
6
|
+
import { i as E, a as F, r as N, b as X, c as A, d as L } from "./FormControl-aXQs42m6.js";
|
|
7
|
+
import { jsx as V } from "react/jsx-runtime";
|
|
8
|
+
import { r as k } from "./ButtonBase-DJz-TFGO.js";
|
|
9
|
+
function q(t) {
|
|
10
10
|
return _("MuiInput", t);
|
|
11
11
|
}
|
|
12
|
-
const r = a({},
|
|
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 =
|
|
16
|
+
} = t, i = W({
|
|
17
17
|
root: ["root", !s && "underline"],
|
|
18
18
|
input: ["input"]
|
|
19
|
-
},
|
|
19
|
+
}, q, e);
|
|
20
20
|
return a({}, e, i);
|
|
21
|
-
}, G = y(
|
|
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 [...
|
|
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
|
-
"
|
|
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
|
-
"
|
|
65
|
+
"&:before, &:after": {
|
|
66
66
|
borderBottomColor: (t.vars || t).palette.error.main
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
|
-
"
|
|
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(
|
|
94
|
+
}), H = y(X, {
|
|
95
95
|
name: "MuiInput",
|
|
96
96
|
slot: "Input",
|
|
97
|
-
overridesResolver:
|
|
98
|
-
})({}), g = /* @__PURE__ */
|
|
97
|
+
overridesResolver: A
|
|
98
|
+
})({}), g = /* @__PURE__ */ U.forwardRef(function(e, s) {
|
|
99
99
|
var n, i, u, d;
|
|
100
|
-
const p =
|
|
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:
|
|
113
|
-
} = p,
|
|
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,
|
|
120
|
-
return /* @__PURE__ */ L
|
|
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:
|
|
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:
|
|
131
|
-
},
|
|
130
|
+
type: T
|
|
131
|
+
}, R, {
|
|
132
132
|
classes: O
|
|
133
133
|
}));
|
|
134
134
|
});
|
|
135
135
|
process.env.NODE_ENV !== "production" && (g.propTypes = {
|
|
136
|
-
//
|
|
137
|
-
//
|
|
138
|
-
//
|
|
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/#
|
|
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:
|
|
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
|
|
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 "./
|
|
4
|
-
import { g as x, u as A, c as C, a as N } from "./
|
|
3
|
+
import { P as e, a as v } from "./createStyled-liRRhQcN.js";
|
|
4
|
+
import { g as x, u as A, c as C, a as N } from "./useThemeProps-BXn-nVhw.js";
|
|
5
5
|
import { u as L, F as O } from "./useFormControl-CatNKXAi.js";
|
|
6
|
-
import { g as R, s as _ } from "./styled-
|
|
6
|
+
import { g as R, s as _ } from "./styled-Dm8rXzIG.js";
|
|
7
7
|
import { jsx as l, jsxs as j } from "react/jsx-runtime";
|
|
8
|
-
import { T as z } from "./Typography-
|
|
8
|
+
import { T as z } from "./Typography-CXe5ytr0.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 =
|
|
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
|
-
}),
|
|
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(
|
|
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
|
-
//
|
|
107
|
-
//
|
|
108
|
-
//
|
|
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 "./
|
|
4
|
-
import { g as x, u as P, c as y, a as N } from "./
|
|
5
|
-
import { g as v, s as C } from "./styled-
|
|
3
|
+
import { P as e } from "./createStyled-liRRhQcN.js";
|
|
4
|
+
import { g as x, u as P, c as y, a as N } from "./useThemeProps-BXn-nVhw.js";
|
|
5
|
+
import { g as v, s as C } from "./styled-Dm8rXzIG.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,
|
|
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:
|
|
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
|
-
},
|
|
69
|
+
}, g, {
|
|
70
70
|
children: [b, a]
|
|
71
71
|
}))
|
|
72
72
|
});
|
|
73
73
|
});
|
|
74
74
|
process.env.NODE_ENV !== "production" && (E.propTypes = {
|
|
75
|
-
//
|
|
76
|
-
//
|
|
77
|
-
//
|
|
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
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { _ as a, a as S } from "./extends-Cyw62AD_.js";
|
|
2
2
|
import * as r from "react";
|
|
3
|
-
import { P as e } from "./
|
|
4
|
-
import { g as R, u as Y, c as L, a as z,
|
|
5
|
-
import { g as $, s as M, a as x } from "./styled-
|
|
6
|
-
import { a as h } from "./List-
|
|
3
|
+
import { P as e } from "./createStyled-liRRhQcN.js";
|
|
4
|
+
import { g as R, u as Y, c as L, a as z, d as ot } from "./useThemeProps-BXn-nVhw.js";
|
|
5
|
+
import { g as $, s as M, a as x } from "./styled-Dm8rXzIG.js";
|
|
6
|
+
import { a as h } from "./List-DLIiXc6r.js";
|
|
7
7
|
import { jsx as v, jsxs as w } from "react/jsx-runtime";
|
|
8
|
-
import { b as st, u as nt, e as at, B as it } from "./ButtonBase-
|
|
8
|
+
import { b as st, u as nt, e as at, B as it } from "./ButtonBase-DJz-TFGO.js";
|
|
9
9
|
import { i as H } from "./isMuiElement-CxT3_ACP.js";
|
|
10
10
|
import { i as D } from "./isHostComponent-kiaBvYVo.js";
|
|
11
11
|
function rt(t) {
|
|
@@ -46,7 +46,7 @@ const dt = ["className"], pt = (t) => {
|
|
|
46
46
|
transform: "translateY(-50%)"
|
|
47
47
|
}, t.disableGutters && {
|
|
48
48
|
right: 0
|
|
49
|
-
})),
|
|
49
|
+
})), T = /* @__PURE__ */ r.forwardRef(function(o, s) {
|
|
50
50
|
const n = Y({
|
|
51
51
|
props: o,
|
|
52
52
|
name: "MuiListItemSecondaryAction"
|
|
@@ -61,11 +61,11 @@ const dt = ["className"], pt = (t) => {
|
|
|
61
61
|
ref: s
|
|
62
62
|
}, c));
|
|
63
63
|
});
|
|
64
|
-
process.env.NODE_ENV !== "production" && (
|
|
65
|
-
//
|
|
66
|
-
//
|
|
67
|
-
//
|
|
68
|
-
//
|
|
64
|
+
process.env.NODE_ENV !== "production" && (T.propTypes = {
|
|
65
|
+
// ----------------------------- Warning --------------------------------
|
|
66
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
67
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
68
|
+
// ----------------------------------------------------------------------
|
|
69
69
|
/**
|
|
70
70
|
* The content of the component, normally an `IconButton` or selection control.
|
|
71
71
|
*/
|
|
@@ -83,7 +83,7 @@ process.env.NODE_ENV !== "production" && (G.propTypes = {
|
|
|
83
83
|
*/
|
|
84
84
|
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
85
85
|
});
|
|
86
|
-
|
|
86
|
+
T.muiName = "ListItemSecondaryAction";
|
|
87
87
|
const mt = ["className"], bt = ["alignItems", "autoFocus", "button", "children", "className", "component", "components", "componentsProps", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "disablePadding", "divider", "focusVisibleClassName", "secondaryAction", "selected", "slotProps", "slots"], ft = (t, o) => {
|
|
88
88
|
const {
|
|
89
89
|
ownerState: s
|
|
@@ -198,7 +198,7 @@ const mt = ["className"], bt = ["alignItems", "autoFocus", "button", "children",
|
|
|
198
198
|
className: f,
|
|
199
199
|
component: g,
|
|
200
200
|
components: A = {},
|
|
201
|
-
componentsProps:
|
|
201
|
+
componentsProps: G = {},
|
|
202
202
|
ContainerComponent: j = "li",
|
|
203
203
|
ContainerProps: {
|
|
204
204
|
className: W
|
|
@@ -232,8 +232,8 @@ const mt = ["className"], bt = ["alignItems", "autoFocus", "button", "children",
|
|
|
232
232
|
divider: J,
|
|
233
233
|
hasSecondaryAction: U,
|
|
234
234
|
selected: Q
|
|
235
|
-
}),
|
|
236
|
-
className: L(
|
|
235
|
+
}), F = gt(C), _ = nt(O, s), I = Z.root || A.Root || yt, y = X.root || G.root || {}, l = a({
|
|
236
|
+
className: L(F.root, y.className, f),
|
|
237
237
|
disabled: k
|
|
238
238
|
}, et);
|
|
239
239
|
let d = g || "li";
|
|
@@ -241,8 +241,8 @@ const mt = ["className"], bt = ["alignItems", "autoFocus", "button", "children",
|
|
|
241
241
|
value: N,
|
|
242
242
|
children: /* @__PURE__ */ w(vt, a({
|
|
243
243
|
as: j,
|
|
244
|
-
className: L(
|
|
245
|
-
ref:
|
|
244
|
+
className: L(F.container, W),
|
|
245
|
+
ref: _,
|
|
246
246
|
ownerState: C
|
|
247
247
|
}, tt, {
|
|
248
248
|
children: [/* @__PURE__ */ v(I, a({}, y, !D(I) && {
|
|
@@ -256,21 +256,21 @@ const mt = ["className"], bt = ["alignItems", "autoFocus", "button", "children",
|
|
|
256
256
|
value: N,
|
|
257
257
|
children: /* @__PURE__ */ w(I, a({}, y, {
|
|
258
258
|
as: d,
|
|
259
|
-
ref:
|
|
259
|
+
ref: _
|
|
260
260
|
}, !D(I) && {
|
|
261
261
|
ownerState: a({}, C, y.ownerState)
|
|
262
262
|
}, l, {
|
|
263
|
-
children: [m, B && /* @__PURE__ */ v(
|
|
263
|
+
children: [m, B && /* @__PURE__ */ v(T, {
|
|
264
264
|
children: B
|
|
265
265
|
})]
|
|
266
266
|
}))
|
|
267
267
|
});
|
|
268
268
|
});
|
|
269
269
|
process.env.NODE_ENV !== "production" && (Ct.propTypes = {
|
|
270
|
-
//
|
|
271
|
-
//
|
|
272
|
-
//
|
|
273
|
-
//
|
|
270
|
+
// ----------------------------- Warning --------------------------------
|
|
271
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
272
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
273
|
+
// ----------------------------------------------------------------------
|
|
274
274
|
/**
|
|
275
275
|
* Defines the `align-items` style property.
|
|
276
276
|
* @default 'center'
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { _ as l, a as
|
|
1
|
+
import { _ as l, a as j } from "./extends-Cyw62AD_.js";
|
|
2
2
|
import * as d from "react";
|
|
3
|
-
import { P as t } from "./
|
|
4
|
-
import { g as V, u as
|
|
5
|
-
import { g as
|
|
6
|
-
import { a as I } from "./List-
|
|
3
|
+
import { P as t } from "./createStyled-liRRhQcN.js";
|
|
4
|
+
import { g as V, u as E, c as x, a as F } from "./useThemeProps-BXn-nVhw.js";
|
|
5
|
+
import { g as G, s as L, r as U, a as p } from "./styled-Dm8rXzIG.js";
|
|
6
|
+
import { a as I } from "./List-DLIiXc6r.js";
|
|
7
7
|
import { jsx as $ } from "react/jsx-runtime";
|
|
8
|
-
import { B as
|
|
9
|
-
import { l as O, b as M } from "./listItemTextClasses-
|
|
8
|
+
import { B as _, b as D, u as S } from "./ButtonBase-DJz-TFGO.js";
|
|
9
|
+
import { l as O, b as M } from "./listItemTextClasses-BrCbmCR1.js";
|
|
10
10
|
const N = V("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
|
|
11
|
-
function
|
|
12
|
-
return
|
|
11
|
+
function h(e) {
|
|
12
|
+
return G("MuiMenuItem", e);
|
|
13
13
|
}
|
|
14
|
-
const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]),
|
|
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 =
|
|
27
|
+
} = e, r = F({
|
|
28
28
|
root: ["root", s && "dense", o && "disabled", !c && "gutters", a && "divider", u && "selected"]
|
|
29
|
-
},
|
|
29
|
+
}, h, i);
|
|
30
30
|
return l({}, i, r);
|
|
31
|
-
}, A =
|
|
32
|
-
shouldForwardProp: (e) =>
|
|
31
|
+
}, A = L(_, {
|
|
32
|
+
shouldForwardProp: (e) => U(e) || e === "classes",
|
|
33
33
|
name: "MuiMenuItem",
|
|
34
34
|
slot: "Root",
|
|
35
|
-
overridesResolver:
|
|
35
|
+
overridesResolver: W
|
|
36
36
|
})(({
|
|
37
37
|
theme: e,
|
|
38
38
|
ownerState: o
|
|
@@ -112,7 +112,7 @@ const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
|
|
|
112
112
|
fontSize: "1.25rem"
|
|
113
113
|
}
|
|
114
114
|
}))), q = /* @__PURE__ */ d.forwardRef(function(o, s) {
|
|
115
|
-
const a =
|
|
115
|
+
const a = E({
|
|
116
116
|
props: o,
|
|
117
117
|
name: "MuiMenuItem"
|
|
118
118
|
}), {
|
|
@@ -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:
|
|
125
|
+
role: T = "menuitem",
|
|
126
126
|
tabIndex: g,
|
|
127
|
-
className:
|
|
128
|
-
} = a,
|
|
127
|
+
className: k
|
|
128
|
+
} = a, w = j(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
|
-
|
|
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:
|
|
145
|
+
role: T,
|
|
146
146
|
tabIndex: C,
|
|
147
147
|
component: u,
|
|
148
148
|
focusVisibleClassName: x(f.focusVisible, R),
|
|
149
|
-
className: x(f.root,
|
|
150
|
-
},
|
|
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
|
-
//
|
|
158
|
-
//
|
|
159
|
-
//
|
|
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.
|