@hybridcore/ui 1.6.18 → 1.6.20
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/{AccordionSummary-DUtr16g6.js → AccordionSummary-c6-Buzbq.js} +186 -185
- package/dist/Add-CB4mPrke.js +77 -0
- package/dist/Alert-BsT46Tgd.js +334 -0
- package/dist/{Button-Cem3nbwc.js → Button-BMUZn0cT.js} +3 -3
- package/dist/ButtonBase-DG5J0YgP.js +823 -0
- package/dist/Delete-ofipLwkd.js +23 -0
- package/dist/{FormGroup-BRj1o7-E.js → FormGroup-LH368jad.js} +2 -2
- package/dist/{Delete-CVJ6FeDn.js → IconButton-SJfF1cr9.js} +71 -90
- package/dist/{InputLabel-CjD30ZHz.js → InputLabel-jPm6Xuco.js} +2 -2
- package/dist/{MenuItem-BKvRGLvM.js → MenuItem-BjnnhDbD.js} +5 -5
- package/dist/{Modal-BVYydOr5.js → Modal-Djf5pMjD.js} +10 -9
- package/dist/{Paper-B1HV8GyO.js → Paper-BFDcMa0t.js} +99 -99
- package/dist/{Select-Bfhvigsx.js → Select-nL91eUH9.js} +16 -15
- package/dist/{SwitchBase-BEK49kdS.js → SwitchBase-BcJAJYsB.js} +4 -4
- package/dist/{TextField-Ca9ykixI.js → TextField-Db63_GNb.js} +19 -19
- package/dist/TransitionGroupContext-C_aW1Tei.js +37 -0
- package/dist/{Typography-D3X-Y5fh.js → Typography-B_LKrxyI.js} +2 -2
- package/dist/components/button/styled.js +1 -1
- package/dist/components/charts/forecast-cone/index.js +108 -48
- package/dist/components/charts/forecast-cone/logic.js +271 -191
- package/dist/components/charts/forecast-cone/styled.js +26 -5
- package/dist/components/collapsible-card/index.js +2 -2
- package/dist/components/collapsible-card/styled.js +1 -1
- package/dist/components/color-picker/index.js +5 -5
- package/dist/components/color-picker/styled.js +1 -1
- package/dist/components/confirm/dialog.js +2 -2
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
- package/dist/components/duration-select/index.js +1 -1
- package/dist/components/duration-select/styled.js +1 -1
- package/dist/components/geometry-picker/index.js +95 -81
- package/dist/components/geometry-picker/logic.js +58 -41
- package/dist/components/geometry-picker/map/logic.js +446 -448
- package/dist/components/geometry-picker/styled.js +62 -40
- package/dist/components/instance-hierarchy-table/styled.js +1 -1
- package/dist/components/sortable-list/index.js +3 -3
- package/dist/components/template-form/components/property-list/index.js +30 -28
- package/dist/components/template-form/components/property-list/property-list-columns.js +23 -22
- package/dist/components/template-form/components/property-list/property-list-form.js +264 -223
- package/dist/components/template-form/components/recognition-property-list/index.js +16 -15
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +4 -3
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +7 -7
- package/dist/components/tree-select/index.js +1 -1
- package/dist/{createSvgIcon-D7U1nd99.js → createSvgIcon-Bx0mTP6n.js} +2 -2
- package/dist/{createSvgIcon-BghzB2Y9.js → createSvgIcon-jKAqRXE2.js} +8 -8
- package/dist/{dialog-BtJhjyF5.js → dialog-CNxZ7uox.js} +6 -6
- package/dist/main.d.ts +29 -1
- package/dist/{generateUtilityClasses-Cc-owZ4J.js → styled-Ckq8ALHh.js} +907 -905
- package/dist/{styled-DD4BkuVf.js → styled-DObpn_Bi.js} +5 -5
- package/dist/useIsFocusVisible-BHPF-Pml.js +69 -0
- package/dist/{useSlot-u4t0X96G.js → useSlot-gpKOd92R.js} +3 -3
- package/dist/useTimeout-CM6EsHyp.js +60 -0
- package/package.json +1 -1
- package/dist/Add-Bk8R160M.js +0 -403
- package/dist/ButtonBase-DObmf4Q_.js +0 -886
- package/dist/TransitionGroupContext-Ja2CgIob.js +0 -96
- package/dist/{extends-C3382pL0.js → objectWithoutPropertiesLoose-DJteAcBH.js} +9 -9
|
@@ -1,51 +1,52 @@
|
|
|
1
|
-
import { a as i, _ as B } from "./
|
|
1
|
+
import { a as i, _ as B } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
2
2
|
import * as a from "react";
|
|
3
|
-
import { r as
|
|
4
|
-
import { P as
|
|
3
|
+
import { r as po } from "./index-DH6qsPBn.js";
|
|
4
|
+
import { P as o } from "./index-CblbdqjE.js";
|
|
5
5
|
import { c as G } from "./clsx-OuTLNxxd.js";
|
|
6
|
-
import { u as
|
|
7
|
-
import { g as q, a as F, s as T, u as H,
|
|
8
|
-
import { jsx as g, jsxs as
|
|
9
|
-
import { T as
|
|
10
|
-
import { u as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
import { u as uo } from "./useSlot-gpKOd92R.js";
|
|
7
|
+
import { g as q, a as F, s as T, u as H, k as fo, c as J } from "./styled-Ckq8ALHh.js";
|
|
8
|
+
import { jsx as g, jsxs as to } from "react/jsx-runtime";
|
|
9
|
+
import { T as mo, u as go, g as eo, P as bo } from "./Paper-BFDcMa0t.js";
|
|
10
|
+
import { u as ho } from "./useControlled-BYdyS7Pn.js";
|
|
11
|
+
import { b as xo, u as yo } from "./useTimeout-CM6EsHyp.js";
|
|
12
|
+
import { e as Co, c as vo } from "./TransitionGroupContext-C_aW1Tei.js";
|
|
13
|
+
import { B as Eo } from "./ButtonBase-DG5J0YgP.js";
|
|
14
|
+
function To(e) {
|
|
15
|
+
return F("MuiCollapse", e);
|
|
15
16
|
}
|
|
16
17
|
q("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]);
|
|
17
|
-
const
|
|
18
|
+
const Ro = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"], wo = (e) => {
|
|
18
19
|
const {
|
|
19
20
|
orientation: t,
|
|
20
21
|
classes: r
|
|
21
|
-
} =
|
|
22
|
+
} = e, s = {
|
|
22
23
|
root: ["root", `${t}`],
|
|
23
24
|
entered: ["entered"],
|
|
24
25
|
hidden: ["hidden"],
|
|
25
26
|
wrapper: ["wrapper", `${t}`],
|
|
26
27
|
wrapperInner: ["wrapperInner", `${t}`]
|
|
27
28
|
};
|
|
28
|
-
return J(s,
|
|
29
|
-
},
|
|
29
|
+
return J(s, To, r);
|
|
30
|
+
}, Ao = T("div", {
|
|
30
31
|
name: "MuiCollapse",
|
|
31
32
|
slot: "Root",
|
|
32
|
-
overridesResolver: (
|
|
33
|
+
overridesResolver: (e, t) => {
|
|
33
34
|
const {
|
|
34
35
|
ownerState: r
|
|
35
|
-
} =
|
|
36
|
+
} = e;
|
|
36
37
|
return [t.root, t[r.orientation], r.state === "entered" && t.entered, r.state === "exited" && !r.in && r.collapsedSize === "0px" && t.hidden];
|
|
37
38
|
}
|
|
38
39
|
})(({
|
|
39
|
-
theme:
|
|
40
|
+
theme: e,
|
|
40
41
|
ownerState: t
|
|
41
42
|
}) => i({
|
|
42
43
|
height: 0,
|
|
43
44
|
overflow: "hidden",
|
|
44
|
-
transition:
|
|
45
|
+
transition: e.transitions.create("height")
|
|
45
46
|
}, t.orientation === "horizontal" && {
|
|
46
47
|
height: "auto",
|
|
47
48
|
width: 0,
|
|
48
|
-
transition:
|
|
49
|
+
transition: e.transitions.create("width")
|
|
49
50
|
}, t.state === "entered" && i({
|
|
50
51
|
height: "auto",
|
|
51
52
|
overflow: "visible"
|
|
@@ -53,28 +54,28 @@ const Te = ["addEndListener", "children", "className", "collapsedSize", "compone
|
|
|
53
54
|
width: "auto"
|
|
54
55
|
}), t.state === "exited" && !t.in && t.collapsedSize === "0px" && {
|
|
55
56
|
visibility: "hidden"
|
|
56
|
-
})),
|
|
57
|
+
})), So = T("div", {
|
|
57
58
|
name: "MuiCollapse",
|
|
58
59
|
slot: "Wrapper",
|
|
59
|
-
overridesResolver: (
|
|
60
|
+
overridesResolver: (e, t) => t.wrapper
|
|
60
61
|
})(({
|
|
61
|
-
ownerState:
|
|
62
|
+
ownerState: e
|
|
62
63
|
}) => i({
|
|
63
64
|
// Hack to get children with a negative margin to not falsify the height computation.
|
|
64
65
|
display: "flex",
|
|
65
66
|
width: "100%"
|
|
66
|
-
},
|
|
67
|
+
}, e.orientation === "horizontal" && {
|
|
67
68
|
width: "auto",
|
|
68
69
|
height: "100%"
|
|
69
|
-
})),
|
|
70
|
+
})), No = T("div", {
|
|
70
71
|
name: "MuiCollapse",
|
|
71
72
|
slot: "WrapperInner",
|
|
72
|
-
overridesResolver: (
|
|
73
|
+
overridesResolver: (e, t) => t.wrapperInner
|
|
73
74
|
})(({
|
|
74
|
-
ownerState:
|
|
75
|
+
ownerState: e
|
|
75
76
|
}) => i({
|
|
76
77
|
width: "100%"
|
|
77
|
-
},
|
|
78
|
+
}, e.orientation === "horizontal" && {
|
|
78
79
|
width: "auto",
|
|
79
80
|
height: "100%"
|
|
80
81
|
})), Y = /* @__PURE__ */ a.forwardRef(function(t, r) {
|
|
@@ -97,26 +98,26 @@ const Te = ["addEndListener", "children", "className", "collapsedSize", "compone
|
|
|
97
98
|
onExiting: h,
|
|
98
99
|
orientation: d = "vertical",
|
|
99
100
|
style: $,
|
|
100
|
-
timeout: m =
|
|
101
|
+
timeout: m = fo.standard,
|
|
101
102
|
// eslint-disable-next-line react/prop-types
|
|
102
|
-
TransitionComponent:
|
|
103
|
-
} = s, K = B(s,
|
|
103
|
+
TransitionComponent: I = mo
|
|
104
|
+
} = s, K = B(s, Ro), O = i({}, s, {
|
|
104
105
|
orientation: d,
|
|
105
106
|
collapsedSize: l
|
|
106
|
-
}), x =
|
|
107
|
+
}), x = wo(O), j = go(), Q = xo(), y = a.useRef(null), V = a.useRef(), D = typeof l == "number" ? `${l}px` : l, S = d === "horizontal", W = S ? "width" : "height", U = a.useRef(null), no = yo(r, U), M = (n) => (p) => {
|
|
107
108
|
if (n) {
|
|
108
109
|
const C = U.current;
|
|
109
110
|
p === void 0 ? n(C) : n(C, p);
|
|
110
111
|
}
|
|
111
|
-
}, X = () => y.current ? y.current[S ? "clientWidth" : "clientHeight"] : 0,
|
|
112
|
+
}, X = () => y.current ? y.current[S ? "clientWidth" : "clientHeight"] : 0, ro = M((n, p) => {
|
|
112
113
|
y.current && S && (y.current.style.position = "absolute"), n.style[W] = D, R && R(n, p);
|
|
113
|
-
}),
|
|
114
|
+
}), so = M((n, p) => {
|
|
114
115
|
const C = X();
|
|
115
116
|
y.current && S && (y.current.style.position = "");
|
|
116
117
|
const {
|
|
117
118
|
duration: k,
|
|
118
119
|
easing: _
|
|
119
|
-
} =
|
|
120
|
+
} = eo({
|
|
120
121
|
style: $,
|
|
121
122
|
timeout: m,
|
|
122
123
|
easing: N
|
|
@@ -124,20 +125,20 @@ const Te = ["addEndListener", "children", "className", "collapsedSize", "compone
|
|
|
124
125
|
mode: "enter"
|
|
125
126
|
});
|
|
126
127
|
if (m === "auto") {
|
|
127
|
-
const
|
|
128
|
-
n.style.transitionDuration = `${
|
|
128
|
+
const oo = j.transitions.getAutoHeightDuration(C);
|
|
129
|
+
n.style.transitionDuration = `${oo}ms`, V.current = oo;
|
|
129
130
|
} else
|
|
130
131
|
n.style.transitionDuration = typeof k == "string" ? k : `${k}ms`;
|
|
131
132
|
n.style[W] = `${C}px`, n.style.transitionTimingFunction = _, A && A(n, p);
|
|
132
|
-
}),
|
|
133
|
+
}), io = M((n, p) => {
|
|
133
134
|
n.style[W] = "auto", w && w(n, p);
|
|
134
|
-
}),
|
|
135
|
+
}), ao = M((n) => {
|
|
135
136
|
n.style[W] = `${X()}px`, P && P(n);
|
|
136
|
-
}),
|
|
137
|
+
}), co = M(E), lo = M((n) => {
|
|
137
138
|
const p = X(), {
|
|
138
139
|
duration: C,
|
|
139
140
|
easing: k
|
|
140
|
-
} =
|
|
141
|
+
} = eo({
|
|
141
142
|
style: $,
|
|
142
143
|
timeout: m,
|
|
143
144
|
easing: N
|
|
@@ -145,27 +146,27 @@ const Te = ["addEndListener", "children", "className", "collapsedSize", "compone
|
|
|
145
146
|
mode: "exit"
|
|
146
147
|
});
|
|
147
148
|
if (m === "auto") {
|
|
148
|
-
const _ =
|
|
149
|
+
const _ = j.transitions.getAutoHeightDuration(p);
|
|
149
150
|
n.style.transitionDuration = `${_}ms`, V.current = _;
|
|
150
151
|
} else
|
|
151
152
|
n.style.transitionDuration = typeof C == "string" ? C : `${C}ms`;
|
|
152
153
|
n.style[W] = D, n.style.transitionTimingFunction = k, h && h(n);
|
|
153
154
|
});
|
|
154
|
-
return /* @__PURE__ */ g(
|
|
155
|
+
return /* @__PURE__ */ g(I, i({
|
|
155
156
|
in: b,
|
|
156
|
-
onEnter:
|
|
157
|
-
onEntered:
|
|
158
|
-
onEntering:
|
|
159
|
-
onExit:
|
|
160
|
-
onExited:
|
|
161
|
-
onExiting:
|
|
157
|
+
onEnter: ro,
|
|
158
|
+
onEntered: io,
|
|
159
|
+
onEntering: so,
|
|
160
|
+
onExit: ao,
|
|
161
|
+
onExited: co,
|
|
162
|
+
onExiting: lo,
|
|
162
163
|
addEndListener: (n) => {
|
|
163
164
|
m === "auto" && Q.start(V.current || 0, n), c && c(U.current, n);
|
|
164
165
|
},
|
|
165
166
|
nodeRef: U,
|
|
166
167
|
timeout: m === "auto" ? null : m
|
|
167
168
|
}, K, {
|
|
168
|
-
children: (n, p) => /* @__PURE__ */ g(
|
|
169
|
+
children: (n, p) => /* @__PURE__ */ g(Ao, i({
|
|
169
170
|
as: v,
|
|
170
171
|
className: G(x.root, f, {
|
|
171
172
|
entered: x.entered,
|
|
@@ -174,20 +175,20 @@ const Te = ["addEndListener", "children", "className", "collapsedSize", "compone
|
|
|
174
175
|
style: i({
|
|
175
176
|
[S ? "minWidth" : "minHeight"]: D
|
|
176
177
|
}, $),
|
|
177
|
-
ref:
|
|
178
|
+
ref: no
|
|
178
179
|
}, p, {
|
|
179
180
|
// `ownerState` is set after `childProps` to override any existing `ownerState` property in `childProps`
|
|
180
181
|
// that might have been forwarded from the Transition component.
|
|
181
182
|
ownerState: i({}, O, {
|
|
182
183
|
state: n
|
|
183
184
|
}),
|
|
184
|
-
children: /* @__PURE__ */ g(
|
|
185
|
+
children: /* @__PURE__ */ g(So, {
|
|
185
186
|
ownerState: i({}, O, {
|
|
186
187
|
state: n
|
|
187
188
|
}),
|
|
188
189
|
className: x.wrapper,
|
|
189
190
|
ref: y,
|
|
190
|
-
children: /* @__PURE__ */ g(
|
|
191
|
+
children: /* @__PURE__ */ g(No, {
|
|
191
192
|
ownerState: i({}, O, {
|
|
192
193
|
state: n
|
|
193
194
|
}),
|
|
@@ -208,78 +209,78 @@ process.env.NODE_ENV !== "production" && (Y.propTypes = {
|
|
|
208
209
|
* node and a done callback. Allows for more fine grained transition end
|
|
209
210
|
* logic. Note: Timeouts are still used as a fallback if provided.
|
|
210
211
|
*/
|
|
211
|
-
addEndListener:
|
|
212
|
+
addEndListener: o.func,
|
|
212
213
|
/**
|
|
213
214
|
* The content node to be collapsed.
|
|
214
215
|
*/
|
|
215
|
-
children:
|
|
216
|
+
children: o.node,
|
|
216
217
|
/**
|
|
217
218
|
* Override or extend the styles applied to the component.
|
|
218
219
|
*/
|
|
219
|
-
classes:
|
|
220
|
+
classes: o.object,
|
|
220
221
|
/**
|
|
221
222
|
* @ignore
|
|
222
223
|
*/
|
|
223
|
-
className:
|
|
224
|
+
className: o.string,
|
|
224
225
|
/**
|
|
225
226
|
* The width (horizontal) or height (vertical) of the container when collapsed.
|
|
226
227
|
* @default '0px'
|
|
227
228
|
*/
|
|
228
|
-
collapsedSize:
|
|
229
|
+
collapsedSize: o.oneOfType([o.number, o.string]),
|
|
229
230
|
/**
|
|
230
231
|
* The component used for the root node.
|
|
231
232
|
* Either a string to use a HTML element or a component.
|
|
232
233
|
*/
|
|
233
|
-
component:
|
|
234
|
+
component: Co,
|
|
234
235
|
/**
|
|
235
236
|
* The transition timing function.
|
|
236
237
|
* You may specify a single easing or a object containing enter and exit values.
|
|
237
238
|
*/
|
|
238
|
-
easing:
|
|
239
|
-
enter:
|
|
240
|
-
exit:
|
|
241
|
-
}),
|
|
239
|
+
easing: o.oneOfType([o.shape({
|
|
240
|
+
enter: o.string,
|
|
241
|
+
exit: o.string
|
|
242
|
+
}), o.string]),
|
|
242
243
|
/**
|
|
243
244
|
* If `true`, the component will transition in.
|
|
244
245
|
*/
|
|
245
|
-
in:
|
|
246
|
+
in: o.bool,
|
|
246
247
|
/**
|
|
247
248
|
* @ignore
|
|
248
249
|
*/
|
|
249
|
-
onEnter:
|
|
250
|
+
onEnter: o.func,
|
|
250
251
|
/**
|
|
251
252
|
* @ignore
|
|
252
253
|
*/
|
|
253
|
-
onEntered:
|
|
254
|
+
onEntered: o.func,
|
|
254
255
|
/**
|
|
255
256
|
* @ignore
|
|
256
257
|
*/
|
|
257
|
-
onEntering:
|
|
258
|
+
onEntering: o.func,
|
|
258
259
|
/**
|
|
259
260
|
* @ignore
|
|
260
261
|
*/
|
|
261
|
-
onExit:
|
|
262
|
+
onExit: o.func,
|
|
262
263
|
/**
|
|
263
264
|
* @ignore
|
|
264
265
|
*/
|
|
265
|
-
onExited:
|
|
266
|
+
onExited: o.func,
|
|
266
267
|
/**
|
|
267
268
|
* @ignore
|
|
268
269
|
*/
|
|
269
|
-
onExiting:
|
|
270
|
+
onExiting: o.func,
|
|
270
271
|
/**
|
|
271
272
|
* The transition orientation.
|
|
272
273
|
* @default 'vertical'
|
|
273
274
|
*/
|
|
274
|
-
orientation:
|
|
275
|
+
orientation: o.oneOf(["horizontal", "vertical"]),
|
|
275
276
|
/**
|
|
276
277
|
* @ignore
|
|
277
278
|
*/
|
|
278
|
-
style:
|
|
279
|
+
style: o.object,
|
|
279
280
|
/**
|
|
280
281
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
281
282
|
*/
|
|
282
|
-
sx:
|
|
283
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
283
284
|
/**
|
|
284
285
|
* The duration for the transition, in milliseconds.
|
|
285
286
|
* You may specify a single timeout for all transitions, or individually with an object.
|
|
@@ -287,50 +288,50 @@ process.env.NODE_ENV !== "production" && (Y.propTypes = {
|
|
|
287
288
|
* Set to 'auto' to automatically calculate transition time based on height.
|
|
288
289
|
* @default duration.standard
|
|
289
290
|
*/
|
|
290
|
-
timeout:
|
|
291
|
-
appear:
|
|
292
|
-
enter:
|
|
293
|
-
exit:
|
|
291
|
+
timeout: o.oneOfType([o.oneOf(["auto"]), o.number, o.shape({
|
|
292
|
+
appear: o.number,
|
|
293
|
+
enter: o.number,
|
|
294
|
+
exit: o.number
|
|
294
295
|
})])
|
|
295
296
|
});
|
|
296
297
|
Y.muiSupportAuto = !0;
|
|
297
298
|
const Z = /* @__PURE__ */ a.createContext({});
|
|
298
299
|
process.env.NODE_ENV !== "production" && (Z.displayName = "AccordionContext");
|
|
299
|
-
function
|
|
300
|
-
return F("MuiAccordion",
|
|
300
|
+
function Po(e) {
|
|
301
|
+
return F("MuiAccordion", e);
|
|
301
302
|
}
|
|
302
|
-
const L = q("MuiAccordion", ["root", "rounded", "expanded", "disabled", "gutters", "region"]),
|
|
303
|
+
const L = q("MuiAccordion", ["root", "rounded", "expanded", "disabled", "gutters", "region"]), $o = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "slots", "slotProps", "TransitionComponent", "TransitionProps"], Oo = (e) => {
|
|
303
304
|
const {
|
|
304
305
|
classes: t,
|
|
305
306
|
square: r,
|
|
306
307
|
expanded: s,
|
|
307
308
|
disabled: c,
|
|
308
309
|
disableGutters: u
|
|
309
|
-
} =
|
|
310
|
+
} = e;
|
|
310
311
|
return J({
|
|
311
312
|
root: ["root", !r && "rounded", s && "expanded", c && "disabled", !u && "gutters"],
|
|
312
313
|
region: ["region"]
|
|
313
|
-
},
|
|
314
|
-
},
|
|
314
|
+
}, Po, t);
|
|
315
|
+
}, Do = T(bo, {
|
|
315
316
|
name: "MuiAccordion",
|
|
316
317
|
slot: "Root",
|
|
317
|
-
overridesResolver: (
|
|
318
|
+
overridesResolver: (e, t) => {
|
|
318
319
|
const {
|
|
319
320
|
ownerState: r
|
|
320
|
-
} =
|
|
321
|
+
} = e;
|
|
321
322
|
return [{
|
|
322
323
|
[`& .${L.region}`]: t.region
|
|
323
324
|
}, t.root, !r.square && t.rounded, !r.disableGutters && t.gutters];
|
|
324
325
|
}
|
|
325
326
|
})(({
|
|
326
|
-
theme:
|
|
327
|
+
theme: e
|
|
327
328
|
}) => {
|
|
328
329
|
const t = {
|
|
329
|
-
duration:
|
|
330
|
+
duration: e.transitions.duration.shortest
|
|
330
331
|
};
|
|
331
332
|
return {
|
|
332
333
|
position: "relative",
|
|
333
|
-
transition:
|
|
334
|
+
transition: e.transitions.create(["margin"], t),
|
|
334
335
|
overflowAnchor: "none",
|
|
335
336
|
// Keep the same scrolling position
|
|
336
337
|
"&::before": {
|
|
@@ -341,8 +342,8 @@ const L = q("MuiAccordion", ["root", "rounded", "expanded", "disabled", "gutters
|
|
|
341
342
|
height: 1,
|
|
342
343
|
content: '""',
|
|
343
344
|
opacity: 1,
|
|
344
|
-
backgroundColor: (
|
|
345
|
-
transition:
|
|
345
|
+
backgroundColor: (e.vars || e).palette.divider,
|
|
346
|
+
transition: e.transitions.create(["opacity", "background-color"], t)
|
|
346
347
|
},
|
|
347
348
|
"&:first-of-type": {
|
|
348
349
|
"&::before": {
|
|
@@ -366,23 +367,23 @@ const L = q("MuiAccordion", ["root", "rounded", "expanded", "disabled", "gutters
|
|
|
366
367
|
}
|
|
367
368
|
},
|
|
368
369
|
[`&.${L.disabled}`]: {
|
|
369
|
-
backgroundColor: (
|
|
370
|
+
backgroundColor: (e.vars || e).palette.action.disabledBackground
|
|
370
371
|
}
|
|
371
372
|
};
|
|
372
373
|
}, ({
|
|
373
|
-
theme:
|
|
374
|
+
theme: e
|
|
374
375
|
}) => ({
|
|
375
376
|
variants: [{
|
|
376
377
|
props: (t) => !t.square,
|
|
377
378
|
style: {
|
|
378
379
|
borderRadius: 0,
|
|
379
380
|
"&:first-of-type": {
|
|
380
|
-
borderTopLeftRadius: (
|
|
381
|
-
borderTopRightRadius: (
|
|
381
|
+
borderTopLeftRadius: (e.vars || e).shape.borderRadius,
|
|
382
|
+
borderTopRightRadius: (e.vars || e).shape.borderRadius
|
|
382
383
|
},
|
|
383
384
|
"&:last-of-type": {
|
|
384
|
-
borderBottomLeftRadius: (
|
|
385
|
-
borderBottomRightRadius: (
|
|
385
|
+
borderBottomLeftRadius: (e.vars || e).shape.borderRadius,
|
|
386
|
+
borderBottomRightRadius: (e.vars || e).shape.borderRadius,
|
|
386
387
|
// Fix a rendering issue on Edge
|
|
387
388
|
"@supports (-ms-ime-align: auto)": {
|
|
388
389
|
borderBottomLeftRadius: 0,
|
|
@@ -398,7 +399,7 @@ const L = q("MuiAccordion", ["root", "rounded", "expanded", "disabled", "gutters
|
|
|
398
399
|
}
|
|
399
400
|
}
|
|
400
401
|
}]
|
|
401
|
-
})),
|
|
402
|
+
})), Mo = /* @__PURE__ */ a.forwardRef(function(t, r) {
|
|
402
403
|
const s = H({
|
|
403
404
|
props: t,
|
|
404
405
|
name: "MuiAccordion"
|
|
@@ -415,14 +416,14 @@ const L = q("MuiAccordion", ["root", "rounded", "expanded", "disabled", "gutters
|
|
|
415
416
|
slotProps: A = {},
|
|
416
417
|
TransitionComponent: P,
|
|
417
418
|
TransitionProps: E
|
|
418
|
-
} = s, h = B(s,
|
|
419
|
+
} = s, h = B(s, $o), [d, $] = ho({
|
|
419
420
|
controlled: N,
|
|
420
421
|
default: f,
|
|
421
422
|
name: "Accordion",
|
|
422
423
|
state: "expanded"
|
|
423
424
|
}), m = a.useCallback((S) => {
|
|
424
425
|
$(!d), b && b(S, !d);
|
|
425
|
-
}, [d, b, $]), [
|
|
426
|
+
}, [d, b, $]), [I, ...K] = a.Children.toArray(c), O = a.useMemo(() => ({
|
|
426
427
|
expanded: d,
|
|
427
428
|
disabled: l,
|
|
428
429
|
disableGutters: v,
|
|
@@ -432,11 +433,11 @@ const L = q("MuiAccordion", ["root", "rounded", "expanded", "disabled", "gutters
|
|
|
432
433
|
disabled: l,
|
|
433
434
|
disableGutters: v,
|
|
434
435
|
expanded: d
|
|
435
|
-
}),
|
|
436
|
+
}), j = Oo(x), Q = i({
|
|
436
437
|
transition: P
|
|
437
438
|
}, w), y = i({
|
|
438
439
|
transition: E
|
|
439
|
-
}, A), [V, D] =
|
|
440
|
+
}, A), [V, D] = uo("transition", {
|
|
440
441
|
elementType: Y,
|
|
441
442
|
externalForwardedProps: {
|
|
442
443
|
slots: Q,
|
|
@@ -444,30 +445,30 @@ const L = q("MuiAccordion", ["root", "rounded", "expanded", "disabled", "gutters
|
|
|
444
445
|
},
|
|
445
446
|
ownerState: x
|
|
446
447
|
});
|
|
447
|
-
return /* @__PURE__ */
|
|
448
|
-
className: G(
|
|
448
|
+
return /* @__PURE__ */ to(Do, i({
|
|
449
|
+
className: G(j.root, u),
|
|
449
450
|
ref: r,
|
|
450
451
|
ownerState: x,
|
|
451
452
|
square: R
|
|
452
453
|
}, h, {
|
|
453
454
|
children: [/* @__PURE__ */ g(Z.Provider, {
|
|
454
455
|
value: O,
|
|
455
|
-
children:
|
|
456
|
+
children: I
|
|
456
457
|
}), /* @__PURE__ */ g(V, i({
|
|
457
458
|
in: d,
|
|
458
459
|
timeout: "auto"
|
|
459
460
|
}, D, {
|
|
460
461
|
children: /* @__PURE__ */ g("div", {
|
|
461
|
-
"aria-labelledby":
|
|
462
|
-
id:
|
|
462
|
+
"aria-labelledby": I.props.id,
|
|
463
|
+
id: I.props["aria-controls"],
|
|
463
464
|
role: "region",
|
|
464
|
-
className:
|
|
465
|
+
className: j.region,
|
|
465
466
|
children: K
|
|
466
467
|
})
|
|
467
468
|
}))]
|
|
468
469
|
}));
|
|
469
470
|
});
|
|
470
|
-
process.env.NODE_ENV !== "production" && (
|
|
471
|
+
process.env.NODE_ENV !== "production" && (Mo.propTypes = {
|
|
471
472
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
472
473
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
473
474
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -475,114 +476,114 @@ process.env.NODE_ENV !== "production" && (De.propTypes = {
|
|
|
475
476
|
/**
|
|
476
477
|
* The content of the component.
|
|
477
478
|
*/
|
|
478
|
-
children:
|
|
479
|
-
const t = a.Children.toArray(
|
|
480
|
-
return
|
|
479
|
+
children: vo(o.node.isRequired, (e) => {
|
|
480
|
+
const t = a.Children.toArray(e.children)[0];
|
|
481
|
+
return po.isFragment(t) ? new Error("MUI: The Accordion doesn't accept a Fragment as a child. Consider providing an array instead.") : /* @__PURE__ */ a.isValidElement(t) ? null : new Error("MUI: Expected the first child of Accordion to be a valid element.");
|
|
481
482
|
}),
|
|
482
483
|
/**
|
|
483
484
|
* Override or extend the styles applied to the component.
|
|
484
485
|
*/
|
|
485
|
-
classes:
|
|
486
|
+
classes: o.object,
|
|
486
487
|
/**
|
|
487
488
|
* @ignore
|
|
488
489
|
*/
|
|
489
|
-
className:
|
|
490
|
+
className: o.string,
|
|
490
491
|
/**
|
|
491
492
|
* If `true`, expands the accordion by default.
|
|
492
493
|
* @default false
|
|
493
494
|
*/
|
|
494
|
-
defaultExpanded:
|
|
495
|
+
defaultExpanded: o.bool,
|
|
495
496
|
/**
|
|
496
497
|
* If `true`, the component is disabled.
|
|
497
498
|
* @default false
|
|
498
499
|
*/
|
|
499
|
-
disabled:
|
|
500
|
+
disabled: o.bool,
|
|
500
501
|
/**
|
|
501
502
|
* If `true`, it removes the margin between two expanded accordion items and the increase of height.
|
|
502
503
|
* @default false
|
|
503
504
|
*/
|
|
504
|
-
disableGutters:
|
|
505
|
+
disableGutters: o.bool,
|
|
505
506
|
/**
|
|
506
507
|
* If `true`, expands the accordion, otherwise collapse it.
|
|
507
508
|
* Setting this prop enables control over the accordion.
|
|
508
509
|
*/
|
|
509
|
-
expanded:
|
|
510
|
+
expanded: o.bool,
|
|
510
511
|
/**
|
|
511
512
|
* Callback fired when the expand/collapse state is changed.
|
|
512
513
|
*
|
|
513
514
|
* @param {React.SyntheticEvent} event The event source of the callback. **Warning**: This is a generic event not a change event.
|
|
514
515
|
* @param {boolean} expanded The `expanded` state of the accordion.
|
|
515
516
|
*/
|
|
516
|
-
onChange:
|
|
517
|
+
onChange: o.func,
|
|
517
518
|
/**
|
|
518
519
|
* The props used for each slot inside.
|
|
519
520
|
* @default {}
|
|
520
521
|
*/
|
|
521
|
-
slotProps:
|
|
522
|
-
transition:
|
|
522
|
+
slotProps: o.shape({
|
|
523
|
+
transition: o.oneOfType([o.func, o.object])
|
|
523
524
|
}),
|
|
524
525
|
/**
|
|
525
526
|
* The components used for each slot inside.
|
|
526
527
|
* @default {}
|
|
527
528
|
*/
|
|
528
|
-
slots:
|
|
529
|
-
transition:
|
|
529
|
+
slots: o.shape({
|
|
530
|
+
transition: o.elementType
|
|
530
531
|
}),
|
|
531
532
|
/**
|
|
532
533
|
* If `true`, rounded corners are disabled.
|
|
533
534
|
* @default false
|
|
534
535
|
*/
|
|
535
|
-
square:
|
|
536
|
+
square: o.bool,
|
|
536
537
|
/**
|
|
537
538
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
538
539
|
*/
|
|
539
|
-
sx:
|
|
540
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
540
541
|
/**
|
|
541
542
|
* The component used for the transition.
|
|
542
543
|
* [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
543
544
|
* @deprecated Use `slots.transition` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
544
545
|
*/
|
|
545
|
-
TransitionComponent:
|
|
546
|
+
TransitionComponent: o.elementType,
|
|
546
547
|
/**
|
|
547
548
|
* Props applied to the transition element.
|
|
548
549
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
549
550
|
* @deprecated Use `slotProps.transition` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
550
551
|
*/
|
|
551
|
-
TransitionProps:
|
|
552
|
+
TransitionProps: o.object
|
|
552
553
|
});
|
|
553
|
-
function
|
|
554
|
-
return F("MuiAccordionDetails",
|
|
554
|
+
function zo(e) {
|
|
555
|
+
return F("MuiAccordionDetails", e);
|
|
555
556
|
}
|
|
556
557
|
q("MuiAccordionDetails", ["root"]);
|
|
557
|
-
const
|
|
558
|
+
const Io = ["className"], jo = (e) => {
|
|
558
559
|
const {
|
|
559
560
|
classes: t
|
|
560
|
-
} =
|
|
561
|
+
} = e;
|
|
561
562
|
return J({
|
|
562
563
|
root: ["root"]
|
|
563
|
-
},
|
|
564
|
-
},
|
|
564
|
+
}, zo, t);
|
|
565
|
+
}, Vo = T("div", {
|
|
565
566
|
name: "MuiAccordionDetails",
|
|
566
567
|
slot: "Root",
|
|
567
|
-
overridesResolver: (
|
|
568
|
+
overridesResolver: (e, t) => t.root
|
|
568
569
|
})(({
|
|
569
|
-
theme:
|
|
570
|
+
theme: e
|
|
570
571
|
}) => ({
|
|
571
|
-
padding:
|
|
572
|
-
})),
|
|
572
|
+
padding: e.spacing(1, 2, 2)
|
|
573
|
+
})), Wo = /* @__PURE__ */ a.forwardRef(function(t, r) {
|
|
573
574
|
const s = H({
|
|
574
575
|
props: t,
|
|
575
576
|
name: "MuiAccordionDetails"
|
|
576
577
|
}), {
|
|
577
578
|
className: c
|
|
578
|
-
} = s, u = B(s,
|
|
579
|
-
return /* @__PURE__ */ g(
|
|
579
|
+
} = s, u = B(s, Io), f = s, l = jo(f);
|
|
580
|
+
return /* @__PURE__ */ g(Vo, i({
|
|
580
581
|
className: G(l.root, c),
|
|
581
582
|
ref: r,
|
|
582
583
|
ownerState: f
|
|
583
584
|
}, u));
|
|
584
585
|
});
|
|
585
|
-
process.env.NODE_ENV !== "production" && (
|
|
586
|
+
process.env.NODE_ENV !== "production" && (Wo.propTypes = {
|
|
586
587
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
587
588
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
588
589
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -590,56 +591,56 @@ process.env.NODE_ENV !== "production" && (Ve.propTypes = {
|
|
|
590
591
|
/**
|
|
591
592
|
* The content of the component.
|
|
592
593
|
*/
|
|
593
|
-
children:
|
|
594
|
+
children: o.node,
|
|
594
595
|
/**
|
|
595
596
|
* Override or extend the styles applied to the component.
|
|
596
597
|
*/
|
|
597
|
-
classes:
|
|
598
|
+
classes: o.object,
|
|
598
599
|
/**
|
|
599
600
|
* @ignore
|
|
600
601
|
*/
|
|
601
|
-
className:
|
|
602
|
+
className: o.string,
|
|
602
603
|
/**
|
|
603
604
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
604
605
|
*/
|
|
605
|
-
sx:
|
|
606
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
606
607
|
});
|
|
607
|
-
function
|
|
608
|
-
return F("MuiAccordionSummary",
|
|
608
|
+
function ko(e) {
|
|
609
|
+
return F("MuiAccordionSummary", e);
|
|
609
610
|
}
|
|
610
|
-
const z = q("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disabled", "gutters", "contentGutters", "content", "expandIconWrapper"]),
|
|
611
|
+
const z = q("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disabled", "gutters", "contentGutters", "content", "expandIconWrapper"]), Go = ["children", "className", "expandIcon", "focusVisibleClassName", "onClick"], Uo = (e) => {
|
|
611
612
|
const {
|
|
612
613
|
classes: t,
|
|
613
614
|
expanded: r,
|
|
614
615
|
disabled: s,
|
|
615
616
|
disableGutters: c
|
|
616
|
-
} =
|
|
617
|
+
} = e;
|
|
617
618
|
return J({
|
|
618
619
|
root: ["root", r && "expanded", s && "disabled", !c && "gutters"],
|
|
619
620
|
focusVisible: ["focusVisible"],
|
|
620
621
|
content: ["content", r && "expanded", !c && "contentGutters"],
|
|
621
622
|
expandIconWrapper: ["expandIconWrapper", r && "expanded"]
|
|
622
|
-
},
|
|
623
|
-
},
|
|
623
|
+
}, ko, t);
|
|
624
|
+
}, _o = T(Eo, {
|
|
624
625
|
name: "MuiAccordionSummary",
|
|
625
626
|
slot: "Root",
|
|
626
|
-
overridesResolver: (
|
|
627
|
+
overridesResolver: (e, t) => t.root
|
|
627
628
|
})(({
|
|
628
|
-
theme:
|
|
629
|
+
theme: e
|
|
629
630
|
}) => {
|
|
630
631
|
const t = {
|
|
631
|
-
duration:
|
|
632
|
+
duration: e.transitions.duration.shortest
|
|
632
633
|
};
|
|
633
634
|
return {
|
|
634
635
|
display: "flex",
|
|
635
636
|
minHeight: 48,
|
|
636
|
-
padding:
|
|
637
|
-
transition:
|
|
637
|
+
padding: e.spacing(0, 2),
|
|
638
|
+
transition: e.transitions.create(["min-height", "background-color"], t),
|
|
638
639
|
[`&.${z.focusVisible}`]: {
|
|
639
|
-
backgroundColor: (
|
|
640
|
+
backgroundColor: (e.vars || e).palette.action.focus
|
|
640
641
|
},
|
|
641
642
|
[`&.${z.disabled}`]: {
|
|
642
|
-
opacity: (
|
|
643
|
+
opacity: (e.vars || e).palette.action.disabledOpacity
|
|
643
644
|
},
|
|
644
645
|
[`&:hover:not(.${z.disabled})`]: {
|
|
645
646
|
cursor: "pointer"
|
|
@@ -653,12 +654,12 @@ const z = q("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disable
|
|
|
653
654
|
}
|
|
654
655
|
}]
|
|
655
656
|
};
|
|
656
|
-
}),
|
|
657
|
+
}), Lo = T("div", {
|
|
657
658
|
name: "MuiAccordionSummary",
|
|
658
659
|
slot: "Content",
|
|
659
|
-
overridesResolver: (
|
|
660
|
+
overridesResolver: (e, t) => t.content
|
|
660
661
|
})(({
|
|
661
|
-
theme:
|
|
662
|
+
theme: e
|
|
662
663
|
}) => ({
|
|
663
664
|
display: "flex",
|
|
664
665
|
flexGrow: 1,
|
|
@@ -666,31 +667,31 @@ const z = q("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disable
|
|
|
666
667
|
variants: [{
|
|
667
668
|
props: (t) => !t.disableGutters,
|
|
668
669
|
style: {
|
|
669
|
-
transition:
|
|
670
|
-
duration:
|
|
670
|
+
transition: e.transitions.create(["margin"], {
|
|
671
|
+
duration: e.transitions.duration.shortest
|
|
671
672
|
}),
|
|
672
673
|
[`&.${z.expanded}`]: {
|
|
673
674
|
margin: "20px 0"
|
|
674
675
|
}
|
|
675
676
|
}
|
|
676
677
|
}]
|
|
677
|
-
})),
|
|
678
|
+
})), Bo = T("div", {
|
|
678
679
|
name: "MuiAccordionSummary",
|
|
679
680
|
slot: "ExpandIconWrapper",
|
|
680
|
-
overridesResolver: (
|
|
681
|
+
overridesResolver: (e, t) => t.expandIconWrapper
|
|
681
682
|
})(({
|
|
682
|
-
theme:
|
|
683
|
+
theme: e
|
|
683
684
|
}) => ({
|
|
684
685
|
display: "flex",
|
|
685
|
-
color: (
|
|
686
|
+
color: (e.vars || e).palette.action.active,
|
|
686
687
|
transform: "rotate(0deg)",
|
|
687
|
-
transition:
|
|
688
|
-
duration:
|
|
688
|
+
transition: e.transitions.create("transform", {
|
|
689
|
+
duration: e.transitions.duration.shortest
|
|
689
690
|
}),
|
|
690
691
|
[`&.${z.expanded}`]: {
|
|
691
692
|
transform: "rotate(180deg)"
|
|
692
693
|
}
|
|
693
|
-
})),
|
|
694
|
+
})), qo = /* @__PURE__ */ a.forwardRef(function(t, r) {
|
|
694
695
|
const s = H({
|
|
695
696
|
props: t,
|
|
696
697
|
name: "MuiAccordionSummary"
|
|
@@ -700,7 +701,7 @@ const z = q("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disable
|
|
|
700
701
|
expandIcon: f,
|
|
701
702
|
focusVisibleClassName: l,
|
|
702
703
|
onClick: v
|
|
703
|
-
} = s, N = B(s,
|
|
704
|
+
} = s, N = B(s, Go), {
|
|
704
705
|
disabled: b = !1,
|
|
705
706
|
disableGutters: R,
|
|
706
707
|
expanded: w,
|
|
@@ -711,8 +712,8 @@ const z = q("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disable
|
|
|
711
712
|
expanded: w,
|
|
712
713
|
disabled: b,
|
|
713
714
|
disableGutters: R
|
|
714
|
-
}), h =
|
|
715
|
-
return /* @__PURE__ */
|
|
715
|
+
}), h = Uo(E);
|
|
716
|
+
return /* @__PURE__ */ to(_o, i({
|
|
716
717
|
focusRipple: !1,
|
|
717
718
|
disableRipple: !0,
|
|
718
719
|
disabled: b,
|
|
@@ -724,18 +725,18 @@ const z = q("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disable
|
|
|
724
725
|
ref: r,
|
|
725
726
|
ownerState: E
|
|
726
727
|
}, N, {
|
|
727
|
-
children: [/* @__PURE__ */ g(
|
|
728
|
+
children: [/* @__PURE__ */ g(Lo, {
|
|
728
729
|
className: h.content,
|
|
729
730
|
ownerState: E,
|
|
730
731
|
children: c
|
|
731
|
-
}), f && /* @__PURE__ */ g(
|
|
732
|
+
}), f && /* @__PURE__ */ g(Bo, {
|
|
732
733
|
className: h.expandIconWrapper,
|
|
733
734
|
ownerState: E,
|
|
734
735
|
children: f
|
|
735
736
|
})]
|
|
736
737
|
}));
|
|
737
738
|
});
|
|
738
|
-
process.env.NODE_ENV !== "production" && (
|
|
739
|
+
process.env.NODE_ENV !== "production" && (qo.propTypes = {
|
|
739
740
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
740
741
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
741
742
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -743,19 +744,19 @@ process.env.NODE_ENV !== "production" && (Be.propTypes = {
|
|
|
743
744
|
/**
|
|
744
745
|
* The content of the component.
|
|
745
746
|
*/
|
|
746
|
-
children:
|
|
747
|
+
children: o.node,
|
|
747
748
|
/**
|
|
748
749
|
* Override or extend the styles applied to the component.
|
|
749
750
|
*/
|
|
750
|
-
classes:
|
|
751
|
+
classes: o.object,
|
|
751
752
|
/**
|
|
752
753
|
* @ignore
|
|
753
754
|
*/
|
|
754
|
-
className:
|
|
755
|
+
className: o.string,
|
|
755
756
|
/**
|
|
756
757
|
* The icon to display as the expand indicator.
|
|
757
758
|
*/
|
|
758
|
-
expandIcon:
|
|
759
|
+
expandIcon: o.node,
|
|
759
760
|
/**
|
|
760
761
|
* This prop can help identify which element has keyboard focus.
|
|
761
762
|
* The class name will be applied when the element gains the focus through keyboard interaction.
|
|
@@ -764,18 +765,18 @@ process.env.NODE_ENV !== "production" && (Be.propTypes = {
|
|
|
764
765
|
* A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
|
|
765
766
|
* if needed.
|
|
766
767
|
*/
|
|
767
|
-
focusVisibleClassName:
|
|
768
|
+
focusVisibleClassName: o.string,
|
|
768
769
|
/**
|
|
769
770
|
* @ignore
|
|
770
771
|
*/
|
|
771
|
-
onClick:
|
|
772
|
+
onClick: o.func,
|
|
772
773
|
/**
|
|
773
774
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
774
775
|
*/
|
|
775
|
-
sx:
|
|
776
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
776
777
|
});
|
|
777
778
|
export {
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
779
|
+
Mo as A,
|
|
780
|
+
qo as a,
|
|
781
|
+
Wo as b
|
|
781
782
|
};
|