@hybridcore/ui 1.6.18 → 1.6.19

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 (53) hide show
  1. package/dist/{AccordionSummary-DUtr16g6.js → AccordionSummary-c6-Buzbq.js} +186 -185
  2. package/dist/Add-CB4mPrke.js +77 -0
  3. package/dist/Alert-BsT46Tgd.js +334 -0
  4. package/dist/{Button-Cem3nbwc.js → Button-BMUZn0cT.js} +3 -3
  5. package/dist/ButtonBase-DG5J0YgP.js +823 -0
  6. package/dist/Delete-ofipLwkd.js +23 -0
  7. package/dist/{FormGroup-BRj1o7-E.js → FormGroup-LH368jad.js} +2 -2
  8. package/dist/{Delete-CVJ6FeDn.js → IconButton-SJfF1cr9.js} +71 -90
  9. package/dist/{InputLabel-CjD30ZHz.js → InputLabel-jPm6Xuco.js} +2 -2
  10. package/dist/{MenuItem-BKvRGLvM.js → MenuItem-BjnnhDbD.js} +5 -5
  11. package/dist/{Modal-BVYydOr5.js → Modal-Djf5pMjD.js} +10 -9
  12. package/dist/{Paper-B1HV8GyO.js → Paper-BFDcMa0t.js} +99 -99
  13. package/dist/{Select-Bfhvigsx.js → Select-nL91eUH9.js} +16 -15
  14. package/dist/{SwitchBase-BEK49kdS.js → SwitchBase-BcJAJYsB.js} +4 -4
  15. package/dist/{TextField-Ca9ykixI.js → TextField-Db63_GNb.js} +19 -19
  16. package/dist/TransitionGroupContext-C_aW1Tei.js +37 -0
  17. package/dist/{Typography-D3X-Y5fh.js → Typography-B_LKrxyI.js} +2 -2
  18. package/dist/components/button/styled.js +1 -1
  19. package/dist/components/charts/forecast-cone/index.js +108 -48
  20. package/dist/components/charts/forecast-cone/logic.js +271 -191
  21. package/dist/components/charts/forecast-cone/styled.js +26 -5
  22. package/dist/components/collapsible-card/index.js +2 -2
  23. package/dist/components/collapsible-card/styled.js +1 -1
  24. package/dist/components/color-picker/index.js +5 -5
  25. package/dist/components/color-picker/styled.js +1 -1
  26. package/dist/components/confirm/dialog.js +2 -2
  27. package/dist/components/confirm/index.js +1 -1
  28. package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
  29. package/dist/components/duration-select/index.js +1 -1
  30. package/dist/components/duration-select/styled.js +1 -1
  31. package/dist/components/instance-hierarchy-table/styled.js +1 -1
  32. package/dist/components/sortable-list/index.js +3 -3
  33. package/dist/components/template-form/components/property-list/index.js +30 -28
  34. package/dist/components/template-form/components/property-list/property-list-columns.js +23 -22
  35. package/dist/components/template-form/components/property-list/property-list-form.js +264 -223
  36. package/dist/components/template-form/components/recognition-property-list/index.js +16 -15
  37. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +4 -3
  38. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +7 -7
  39. package/dist/components/tree-select/index.js +1 -1
  40. package/dist/{createSvgIcon-D7U1nd99.js → createSvgIcon-Bx0mTP6n.js} +2 -2
  41. package/dist/{createSvgIcon-BghzB2Y9.js → createSvgIcon-jKAqRXE2.js} +8 -8
  42. package/dist/{dialog-BtJhjyF5.js → dialog-CNxZ7uox.js} +6 -6
  43. package/dist/main.d.ts +28 -1
  44. package/dist/{generateUtilityClasses-Cc-owZ4J.js → styled-Ckq8ALHh.js} +907 -905
  45. package/dist/{styled-DD4BkuVf.js → styled-DObpn_Bi.js} +5 -5
  46. package/dist/useIsFocusVisible-BHPF-Pml.js +69 -0
  47. package/dist/{useSlot-u4t0X96G.js → useSlot-gpKOd92R.js} +3 -3
  48. package/dist/useTimeout-CM6EsHyp.js +60 -0
  49. package/package.json +1 -1
  50. package/dist/Add-Bk8R160M.js +0 -403
  51. package/dist/ButtonBase-DObmf4Q_.js +0 -886
  52. package/dist/TransitionGroupContext-Ja2CgIob.js +0 -96
  53. package/dist/{extends-C3382pL0.js → objectWithoutPropertiesLoose-DJteAcBH.js} +9 -9
@@ -1,51 +1,52 @@
1
- import { a as i, _ as B } from "./extends-C3382pL0.js";
1
+ import { a as i, _ as B } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
2
  import * as a from "react";
3
- import { r as le } from "./index-DH6qsPBn.js";
4
- import { P as e } from "./index-CblbdqjE.js";
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 pe } from "./useSlot-u4t0X96G.js";
7
- import { g as q, a as F, s as T, u as H, j as ue, c as J } from "./generateUtilityClasses-Cc-owZ4J.js";
8
- import { jsx as g, jsxs as te } from "react/jsx-runtime";
9
- import { T as fe, u as me, g as oe, P as ge } from "./Paper-B1HV8GyO.js";
10
- import { u as be } from "./useControlled-BYdyS7Pn.js";
11
- import { e as he, u as xe, f as ye, c as Ce } from "./TransitionGroupContext-Ja2CgIob.js";
12
- import { B as ve } from "./ButtonBase-DObmf4Q_.js";
13
- function Ee(o) {
14
- return F("MuiCollapse", o);
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 Te = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"], Re = (o) => {
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
- } = o, s = {
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, Ee, r);
29
- }, we = T("div", {
29
+ return J(s, To, r);
30
+ }, Ao = T("div", {
30
31
  name: "MuiCollapse",
31
32
  slot: "Root",
32
- overridesResolver: (o, t) => {
33
+ overridesResolver: (e, t) => {
33
34
  const {
34
35
  ownerState: r
35
- } = o;
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: o,
40
+ theme: e,
40
41
  ownerState: t
41
42
  }) => i({
42
43
  height: 0,
43
44
  overflow: "hidden",
44
- transition: o.transitions.create("height")
45
+ transition: e.transitions.create("height")
45
46
  }, t.orientation === "horizontal" && {
46
47
  height: "auto",
47
48
  width: 0,
48
- transition: o.transitions.create("width")
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
- })), Ae = T("div", {
57
+ })), So = T("div", {
57
58
  name: "MuiCollapse",
58
59
  slot: "Wrapper",
59
- overridesResolver: (o, t) => t.wrapper
60
+ overridesResolver: (e, t) => t.wrapper
60
61
  })(({
61
- ownerState: o
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
- }, o.orientation === "horizontal" && {
67
+ }, e.orientation === "horizontal" && {
67
68
  width: "auto",
68
69
  height: "100%"
69
- })), Se = T("div", {
70
+ })), No = T("div", {
70
71
  name: "MuiCollapse",
71
72
  slot: "WrapperInner",
72
- overridesResolver: (o, t) => t.wrapperInner
73
+ overridesResolver: (e, t) => t.wrapperInner
73
74
  })(({
74
- ownerState: o
75
+ ownerState: e
75
76
  }) => i({
76
77
  width: "100%"
77
- }, o.orientation === "horizontal" && {
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 = ue.standard,
101
+ timeout: m = fo.standard,
101
102
  // eslint-disable-next-line react/prop-types
102
- TransitionComponent: j = fe
103
- } = s, K = B(s, Te), O = i({}, s, {
103
+ TransitionComponent: I = mo
104
+ } = s, K = B(s, Ro), O = i({}, s, {
104
105
  orientation: d,
105
106
  collapsedSize: l
106
- }), x = Re(O), I = me(), Q = he(), 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), ne = xe(r, U), M = (n) => (p) => {
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, re = M((n, p) => {
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
- }), se = M((n, p) => {
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
- } = oe({
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 ee = I.transitions.getAutoHeightDuration(C);
128
- n.style.transitionDuration = `${ee}ms`, V.current = ee;
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
- }), ie = M((n, p) => {
133
+ }), io = M((n, p) => {
133
134
  n.style[W] = "auto", w && w(n, p);
134
- }), ae = M((n) => {
135
+ }), ao = M((n) => {
135
136
  n.style[W] = `${X()}px`, P && P(n);
136
- }), ce = M(E), de = M((n) => {
137
+ }), co = M(E), lo = M((n) => {
137
138
  const p = X(), {
138
139
  duration: C,
139
140
  easing: k
140
- } = oe({
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 _ = I.transitions.getAutoHeightDuration(p);
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(j, i({
155
+ return /* @__PURE__ */ g(I, i({
155
156
  in: b,
156
- onEnter: re,
157
- onEntered: ie,
158
- onEntering: se,
159
- onExit: ae,
160
- onExited: ce,
161
- onExiting: de,
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(we, i({
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: ne
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(Ae, {
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(Se, {
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: e.func,
212
+ addEndListener: o.func,
212
213
  /**
213
214
  * The content node to be collapsed.
214
215
  */
215
- children: e.node,
216
+ children: o.node,
216
217
  /**
217
218
  * Override or extend the styles applied to the component.
218
219
  */
219
- classes: e.object,
220
+ classes: o.object,
220
221
  /**
221
222
  * @ignore
222
223
  */
223
- className: e.string,
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: e.oneOfType([e.number, e.string]),
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: ye,
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: e.oneOfType([e.shape({
239
- enter: e.string,
240
- exit: e.string
241
- }), e.string]),
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: e.bool,
246
+ in: o.bool,
246
247
  /**
247
248
  * @ignore
248
249
  */
249
- onEnter: e.func,
250
+ onEnter: o.func,
250
251
  /**
251
252
  * @ignore
252
253
  */
253
- onEntered: e.func,
254
+ onEntered: o.func,
254
255
  /**
255
256
  * @ignore
256
257
  */
257
- onEntering: e.func,
258
+ onEntering: o.func,
258
259
  /**
259
260
  * @ignore
260
261
  */
261
- onExit: e.func,
262
+ onExit: o.func,
262
263
  /**
263
264
  * @ignore
264
265
  */
265
- onExited: e.func,
266
+ onExited: o.func,
266
267
  /**
267
268
  * @ignore
268
269
  */
269
- onExiting: e.func,
270
+ onExiting: o.func,
270
271
  /**
271
272
  * The transition orientation.
272
273
  * @default 'vertical'
273
274
  */
274
- orientation: e.oneOf(["horizontal", "vertical"]),
275
+ orientation: o.oneOf(["horizontal", "vertical"]),
275
276
  /**
276
277
  * @ignore
277
278
  */
278
- style: e.object,
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: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
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: e.oneOfType([e.oneOf(["auto"]), e.number, e.shape({
291
- appear: e.number,
292
- enter: e.number,
293
- exit: e.number
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 Ne(o) {
300
- return F("MuiAccordion", o);
300
+ function Po(e) {
301
+ return F("MuiAccordion", e);
301
302
  }
302
- const L = q("MuiAccordion", ["root", "rounded", "expanded", "disabled", "gutters", "region"]), Pe = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "slots", "slotProps", "TransitionComponent", "TransitionProps"], $e = (o) => {
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
- } = o;
310
+ } = e;
310
311
  return J({
311
312
  root: ["root", !r && "rounded", s && "expanded", c && "disabled", !u && "gutters"],
312
313
  region: ["region"]
313
- }, Ne, t);
314
- }, Oe = T(ge, {
314
+ }, Po, t);
315
+ }, Do = T(bo, {
315
316
  name: "MuiAccordion",
316
317
  slot: "Root",
317
- overridesResolver: (o, t) => {
318
+ overridesResolver: (e, t) => {
318
319
  const {
319
320
  ownerState: r
320
- } = o;
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: o
327
+ theme: e
327
328
  }) => {
328
329
  const t = {
329
- duration: o.transitions.duration.shortest
330
+ duration: e.transitions.duration.shortest
330
331
  };
331
332
  return {
332
333
  position: "relative",
333
- transition: o.transitions.create(["margin"], t),
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: (o.vars || o).palette.divider,
345
- transition: o.transitions.create(["opacity", "background-color"], t)
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: (o.vars || o).palette.action.disabledBackground
370
+ backgroundColor: (e.vars || e).palette.action.disabledBackground
370
371
  }
371
372
  };
372
373
  }, ({
373
- theme: o
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: (o.vars || o).shape.borderRadius,
381
- borderTopRightRadius: (o.vars || o).shape.borderRadius
381
+ borderTopLeftRadius: (e.vars || e).shape.borderRadius,
382
+ borderTopRightRadius: (e.vars || e).shape.borderRadius
382
383
  },
383
384
  "&:last-of-type": {
384
- borderBottomLeftRadius: (o.vars || o).shape.borderRadius,
385
- borderBottomRightRadius: (o.vars || o).shape.borderRadius,
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
- })), De = /* @__PURE__ */ a.forwardRef(function(t, r) {
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, Pe), [d, $] = be({
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, $]), [j, ...K] = a.Children.toArray(c), O = a.useMemo(() => ({
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
- }), I = $e(x), Q = i({
436
+ }), j = Oo(x), Q = i({
436
437
  transition: P
437
438
  }, w), y = i({
438
439
  transition: E
439
- }, A), [V, D] = pe("transition", {
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__ */ te(Oe, i({
448
- className: G(I.root, u),
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: j
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": j.props.id,
462
- id: j.props["aria-controls"],
462
+ "aria-labelledby": I.props.id,
463
+ id: I.props["aria-controls"],
463
464
  role: "region",
464
- className: I.region,
465
+ className: j.region,
465
466
  children: K
466
467
  })
467
468
  }))]
468
469
  }));
469
470
  });
470
- process.env.NODE_ENV !== "production" && (De.propTypes = {
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: Ce(e.node.isRequired, (o) => {
479
- const t = a.Children.toArray(o.children)[0];
480
- return le.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.");
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: e.object,
486
+ classes: o.object,
486
487
  /**
487
488
  * @ignore
488
489
  */
489
- className: e.string,
490
+ className: o.string,
490
491
  /**
491
492
  * If `true`, expands the accordion by default.
492
493
  * @default false
493
494
  */
494
- defaultExpanded: e.bool,
495
+ defaultExpanded: o.bool,
495
496
  /**
496
497
  * If `true`, the component is disabled.
497
498
  * @default false
498
499
  */
499
- disabled: e.bool,
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: e.bool,
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: e.bool,
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: e.func,
517
+ onChange: o.func,
517
518
  /**
518
519
  * The props used for each slot inside.
519
520
  * @default {}
520
521
  */
521
- slotProps: e.shape({
522
- transition: e.oneOfType([e.func, e.object])
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: e.shape({
529
- transition: e.elementType
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: e.bool,
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: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
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: e.elementType,
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: e.object
552
+ TransitionProps: o.object
552
553
  });
553
- function Me(o) {
554
- return F("MuiAccordionDetails", o);
554
+ function zo(e) {
555
+ return F("MuiAccordionDetails", e);
555
556
  }
556
557
  q("MuiAccordionDetails", ["root"]);
557
- const ze = ["className"], je = (o) => {
558
+ const Io = ["className"], jo = (e) => {
558
559
  const {
559
560
  classes: t
560
- } = o;
561
+ } = e;
561
562
  return J({
562
563
  root: ["root"]
563
- }, Me, t);
564
- }, Ie = T("div", {
564
+ }, zo, t);
565
+ }, Vo = T("div", {
565
566
  name: "MuiAccordionDetails",
566
567
  slot: "Root",
567
- overridesResolver: (o, t) => t.root
568
+ overridesResolver: (e, t) => t.root
568
569
  })(({
569
- theme: o
570
+ theme: e
570
571
  }) => ({
571
- padding: o.spacing(1, 2, 2)
572
- })), Ve = /* @__PURE__ */ a.forwardRef(function(t, r) {
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, ze), f = s, l = je(f);
579
- return /* @__PURE__ */ g(Ie, i({
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" && (Ve.propTypes = {
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: e.node,
594
+ children: o.node,
594
595
  /**
595
596
  * Override or extend the styles applied to the component.
596
597
  */
597
- classes: e.object,
598
+ classes: o.object,
598
599
  /**
599
600
  * @ignore
600
601
  */
601
- className: e.string,
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: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
606
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
606
607
  });
607
- function We(o) {
608
- return F("MuiAccordionSummary", o);
608
+ function ko(e) {
609
+ return F("MuiAccordionSummary", e);
609
610
  }
610
- const z = q("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disabled", "gutters", "contentGutters", "content", "expandIconWrapper"]), ke = ["children", "className", "expandIcon", "focusVisibleClassName", "onClick"], Ge = (o) => {
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
- } = o;
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
- }, We, t);
623
- }, Ue = T(ve, {
623
+ }, ko, t);
624
+ }, _o = T(Eo, {
624
625
  name: "MuiAccordionSummary",
625
626
  slot: "Root",
626
- overridesResolver: (o, t) => t.root
627
+ overridesResolver: (e, t) => t.root
627
628
  })(({
628
- theme: o
629
+ theme: e
629
630
  }) => {
630
631
  const t = {
631
- duration: o.transitions.duration.shortest
632
+ duration: e.transitions.duration.shortest
632
633
  };
633
634
  return {
634
635
  display: "flex",
635
636
  minHeight: 48,
636
- padding: o.spacing(0, 2),
637
- transition: o.transitions.create(["min-height", "background-color"], t),
637
+ padding: e.spacing(0, 2),
638
+ transition: e.transitions.create(["min-height", "background-color"], t),
638
639
  [`&.${z.focusVisible}`]: {
639
- backgroundColor: (o.vars || o).palette.action.focus
640
+ backgroundColor: (e.vars || e).palette.action.focus
640
641
  },
641
642
  [`&.${z.disabled}`]: {
642
- opacity: (o.vars || o).palette.action.disabledOpacity
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
- }), _e = T("div", {
657
+ }), Lo = T("div", {
657
658
  name: "MuiAccordionSummary",
658
659
  slot: "Content",
659
- overridesResolver: (o, t) => t.content
660
+ overridesResolver: (e, t) => t.content
660
661
  })(({
661
- theme: o
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: o.transitions.create(["margin"], {
670
- duration: o.transitions.duration.shortest
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
- })), Le = T("div", {
678
+ })), Bo = T("div", {
678
679
  name: "MuiAccordionSummary",
679
680
  slot: "ExpandIconWrapper",
680
- overridesResolver: (o, t) => t.expandIconWrapper
681
+ overridesResolver: (e, t) => t.expandIconWrapper
681
682
  })(({
682
- theme: o
683
+ theme: e
683
684
  }) => ({
684
685
  display: "flex",
685
- color: (o.vars || o).palette.action.active,
686
+ color: (e.vars || e).palette.action.active,
686
687
  transform: "rotate(0deg)",
687
- transition: o.transitions.create("transform", {
688
- duration: o.transitions.duration.shortest
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
- })), Be = /* @__PURE__ */ a.forwardRef(function(t, r) {
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, ke), {
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 = Ge(E);
715
- return /* @__PURE__ */ te(Ue, i({
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(_e, {
728
+ children: [/* @__PURE__ */ g(Lo, {
728
729
  className: h.content,
729
730
  ownerState: E,
730
731
  children: c
731
- }), f && /* @__PURE__ */ g(Le, {
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" && (Be.propTypes = {
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: e.node,
747
+ children: o.node,
747
748
  /**
748
749
  * Override or extend the styles applied to the component.
749
750
  */
750
- classes: e.object,
751
+ classes: o.object,
751
752
  /**
752
753
  * @ignore
753
754
  */
754
- className: e.string,
755
+ className: o.string,
755
756
  /**
756
757
  * The icon to display as the expand indicator.
757
758
  */
758
- expandIcon: e.node,
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: e.string,
768
+ focusVisibleClassName: o.string,
768
769
  /**
769
770
  * @ignore
770
771
  */
771
- onClick: e.func,
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: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
776
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
776
777
  });
777
778
  export {
778
- De as A,
779
- Be as a,
780
- Ve as b
779
+ Mo as A,
780
+ qo as a,
781
+ Wo as b
781
782
  };