@solostylist/ui-kit 1.0.108 → 1.0.110
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.
|
@@ -3,15 +3,12 @@ import { AccordionProps } from '@mui/material/Accordion';
|
|
|
3
3
|
import { AccordionDetailsProps } from '@mui/material/AccordionDetails';
|
|
4
4
|
import { AccordionSummaryProps } from '@mui/material/AccordionSummary';
|
|
5
5
|
import { TypographyProps } from '@mui/material/Typography';
|
|
6
|
-
export interface SAccordionProps {
|
|
6
|
+
export interface SAccordionProps extends Omit<AccordionProps, 'title'> {
|
|
7
7
|
title: React.ReactNode;
|
|
8
|
-
children: React.ReactNode;
|
|
9
8
|
startIcon?: React.ReactNode;
|
|
10
|
-
defaultExpanded?: boolean;
|
|
11
9
|
titleTypographyProps?: TypographyProps;
|
|
12
|
-
accordionProps?: AccordionProps;
|
|
13
10
|
accordionSummaryProps?: AccordionSummaryProps;
|
|
14
11
|
accordionDetailsProps?: AccordionDetailsProps;
|
|
15
12
|
}
|
|
16
|
-
declare const SAccordion: ({ title, children, startIcon,
|
|
13
|
+
declare const SAccordion: ({ title, children, startIcon, titleTypographyProps, accordionSummaryProps, accordionDetailsProps, ...rest }: SAccordionProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
14
|
export default SAccordion;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as i } from "../jsx-runtime-DywqP_6a.js";
|
|
2
2
|
import { E as mo } from "../ExpandMore-CE1RzE_y.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as p from "react";
|
|
4
4
|
import { l as go, P as o, j as yo } from "../createTheme-YLBX8GSj.js";
|
|
5
5
|
import { u as K, a as L, b as Q, m as $ } from "../createSvgIcon-DCQI9UV5.js";
|
|
6
6
|
import { b as xo, u as ho, e as bo, d as D, c as To, B as Co } from "../ButtonBase-B-mcxJe8.js";
|
|
@@ -9,8 +9,8 @@ import { g as Y } from "../colorManipulator-ep5lERxB.js";
|
|
|
9
9
|
import { u as Eo } from "../useControlled-nm4pBabJ.js";
|
|
10
10
|
import { s as T } from "../styled-DOEEZAON.js";
|
|
11
11
|
import { T as So, u as vo, g as ro, P as wo } from "../Paper-pJ5bSU59.js";
|
|
12
|
-
import { S as
|
|
13
|
-
import { T as
|
|
12
|
+
import { S as Ao } from "../Stack-TRopps6s.js";
|
|
13
|
+
import { T as Ro } from "../Typography-DGEEI1Q-.js";
|
|
14
14
|
function jo(e) {
|
|
15
15
|
return Y("MuiCollapse", e);
|
|
16
16
|
}
|
|
@@ -105,19 +105,19 @@ const Po = (e) => {
|
|
|
105
105
|
height: "100%"
|
|
106
106
|
}
|
|
107
107
|
}]
|
|
108
|
-
}), J = /* @__PURE__ */
|
|
108
|
+
}), J = /* @__PURE__ */ p.forwardRef(function(t, r) {
|
|
109
109
|
const s = K({
|
|
110
110
|
props: t,
|
|
111
111
|
name: "MuiCollapse"
|
|
112
112
|
}), {
|
|
113
113
|
addEndListener: c,
|
|
114
|
-
children:
|
|
115
|
-
className:
|
|
116
|
-
collapsedSize:
|
|
114
|
+
children: f,
|
|
115
|
+
className: m,
|
|
116
|
+
collapsedSize: g = "0px",
|
|
117
117
|
component: E,
|
|
118
118
|
easing: I,
|
|
119
119
|
in: S,
|
|
120
|
-
onEnter:
|
|
120
|
+
onEnter: R,
|
|
121
121
|
onEntered: j,
|
|
122
122
|
onEntering: z,
|
|
123
123
|
onExit: P,
|
|
@@ -125,22 +125,22 @@ const Po = (e) => {
|
|
|
125
125
|
onExiting: V,
|
|
126
126
|
orientation: d = "vertical",
|
|
127
127
|
style: y,
|
|
128
|
-
timeout:
|
|
128
|
+
timeout: l = go.standard,
|
|
129
129
|
// eslint-disable-next-line react/prop-types
|
|
130
130
|
TransitionComponent: N = So,
|
|
131
131
|
...G
|
|
132
132
|
} = s, v = {
|
|
133
133
|
...s,
|
|
134
134
|
orientation: d,
|
|
135
|
-
collapsedSize:
|
|
136
|
-
},
|
|
135
|
+
collapsedSize: g
|
|
136
|
+
}, u = Po(v), w = vo(), U = xo(), a = p.useRef(null), x = p.useRef(), C = typeof g == "number" ? `${g}px` : g, O = d === "horizontal", M = O ? "width" : "height", k = p.useRef(null), Z = ho(r, k), A = (n) => (h) => {
|
|
137
137
|
if (n) {
|
|
138
138
|
const b = k.current;
|
|
139
139
|
h === void 0 ? n(b) : n(b, h);
|
|
140
140
|
}
|
|
141
|
-
}, H = () => a.current ? a.current[O ? "clientWidth" : "clientHeight"] : 0, oo =
|
|
142
|
-
a.current && O && (a.current.style.position = "absolute"), n.style[M] = C,
|
|
143
|
-
}), eo =
|
|
141
|
+
}, H = () => a.current ? a.current[O ? "clientWidth" : "clientHeight"] : 0, oo = A((n, h) => {
|
|
142
|
+
a.current && O && (a.current.style.position = "absolute"), n.style[M] = C, R && R(n, h);
|
|
143
|
+
}), eo = A((n, h) => {
|
|
144
144
|
const b = H();
|
|
145
145
|
a.current && O && (a.current.style.position = "");
|
|
146
146
|
const {
|
|
@@ -148,40 +148,40 @@ const Po = (e) => {
|
|
|
148
148
|
easing: q
|
|
149
149
|
} = ro({
|
|
150
150
|
style: y,
|
|
151
|
-
timeout:
|
|
151
|
+
timeout: l,
|
|
152
152
|
easing: I
|
|
153
153
|
}, {
|
|
154
154
|
mode: "enter"
|
|
155
155
|
});
|
|
156
|
-
if (
|
|
156
|
+
if (l === "auto") {
|
|
157
157
|
const no = w.transitions.getAutoHeightDuration(b);
|
|
158
158
|
n.style.transitionDuration = `${no}ms`, x.current = no;
|
|
159
159
|
} else
|
|
160
160
|
n.style.transitionDuration = typeof B == "string" ? B : `${B}ms`;
|
|
161
161
|
n.style[M] = `${b}px`, n.style.transitionTimingFunction = q, z && z(n, h);
|
|
162
|
-
}), co =
|
|
162
|
+
}), co = A((n, h) => {
|
|
163
163
|
n.style[M] = "auto", j && j(n, h);
|
|
164
|
-
}), lo =
|
|
164
|
+
}), lo = A((n) => {
|
|
165
165
|
n.style[M] = `${H()}px`, P && P(n);
|
|
166
|
-
}), po =
|
|
166
|
+
}), po = A(W), uo = A((n) => {
|
|
167
167
|
const h = H(), {
|
|
168
168
|
duration: b,
|
|
169
169
|
easing: B
|
|
170
170
|
} = ro({
|
|
171
171
|
style: y,
|
|
172
|
-
timeout:
|
|
172
|
+
timeout: l,
|
|
173
173
|
easing: I
|
|
174
174
|
}, {
|
|
175
175
|
mode: "exit"
|
|
176
176
|
});
|
|
177
|
-
if (
|
|
177
|
+
if (l === "auto") {
|
|
178
178
|
const q = w.transitions.getAutoHeightDuration(h);
|
|
179
179
|
n.style.transitionDuration = `${q}ms`, x.current = q;
|
|
180
180
|
} else
|
|
181
181
|
n.style.transitionDuration = typeof b == "string" ? b : `${b}ms`;
|
|
182
182
|
n.style[M] = C, n.style.transitionTimingFunction = B, V && V(n);
|
|
183
183
|
}), fo = (n) => {
|
|
184
|
-
|
|
184
|
+
l === "auto" && U.start(x.current || 0, n), c && c(k.current, n);
|
|
185
185
|
};
|
|
186
186
|
return /* @__PURE__ */ i.jsx(N, {
|
|
187
187
|
in: S,
|
|
@@ -193,16 +193,16 @@ const Po = (e) => {
|
|
|
193
193
|
onExiting: uo,
|
|
194
194
|
addEndListener: fo,
|
|
195
195
|
nodeRef: k,
|
|
196
|
-
timeout:
|
|
196
|
+
timeout: l === "auto" ? null : l,
|
|
197
197
|
...G,
|
|
198
198
|
children: (n, {
|
|
199
199
|
ownerState: h,
|
|
200
200
|
...b
|
|
201
201
|
}) => /* @__PURE__ */ i.jsx(No, {
|
|
202
202
|
as: E,
|
|
203
|
-
className: L(
|
|
204
|
-
entered:
|
|
205
|
-
exited: !S && C === "0px" &&
|
|
203
|
+
className: L(u.root, m, {
|
|
204
|
+
entered: u.entered,
|
|
205
|
+
exited: !S && C === "0px" && u.hidden
|
|
206
206
|
}[n]),
|
|
207
207
|
style: {
|
|
208
208
|
[O ? "minWidth" : "minHeight"]: C,
|
|
@@ -219,15 +219,15 @@ const Po = (e) => {
|
|
|
219
219
|
...v,
|
|
220
220
|
state: n
|
|
221
221
|
},
|
|
222
|
-
className:
|
|
222
|
+
className: u.wrapper,
|
|
223
223
|
ref: a,
|
|
224
224
|
children: /* @__PURE__ */ i.jsx(Mo, {
|
|
225
225
|
ownerState: {
|
|
226
226
|
...v,
|
|
227
227
|
state: n
|
|
228
228
|
},
|
|
229
|
-
className:
|
|
230
|
-
children:
|
|
229
|
+
className: u.wrapperInner,
|
|
230
|
+
children: f
|
|
231
231
|
})
|
|
232
232
|
})
|
|
233
233
|
})
|
|
@@ -329,7 +329,7 @@ process.env.NODE_ENV !== "production" && (J.propTypes = {
|
|
|
329
329
|
})])
|
|
330
330
|
});
|
|
331
331
|
J && (J.muiSupportAuto = !0);
|
|
332
|
-
const to = /* @__PURE__ */
|
|
332
|
+
const to = /* @__PURE__ */ p.createContext({});
|
|
333
333
|
process.env.NODE_ENV !== "production" && (to.displayName = "AccordionContext");
|
|
334
334
|
function Do(e) {
|
|
335
335
|
return Y("MuiAccordion", e);
|
|
@@ -340,10 +340,10 @@ const _ = X("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled
|
|
|
340
340
|
square: r,
|
|
341
341
|
expanded: s,
|
|
342
342
|
disabled: c,
|
|
343
|
-
disableGutters:
|
|
343
|
+
disableGutters: f
|
|
344
344
|
} = e;
|
|
345
345
|
return Q({
|
|
346
|
-
root: ["root", !r && "rounded", s && "expanded", c && "disabled", !
|
|
346
|
+
root: ["root", !r && "rounded", s && "expanded", c && "disabled", !f && "gutters"],
|
|
347
347
|
heading: ["heading"],
|
|
348
348
|
region: ["region"]
|
|
349
349
|
}, Do, t);
|
|
@@ -442,19 +442,19 @@ const _ = X("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled
|
|
|
442
442
|
}), Wo = T("div", {
|
|
443
443
|
name: "MuiAccordion",
|
|
444
444
|
slot: "Region"
|
|
445
|
-
})({}), so = /* @__PURE__ */
|
|
445
|
+
})({}), so = /* @__PURE__ */ p.forwardRef(function(t, r) {
|
|
446
446
|
const s = K({
|
|
447
447
|
props: t,
|
|
448
448
|
name: "MuiAccordion"
|
|
449
449
|
}), {
|
|
450
450
|
children: c,
|
|
451
|
-
className:
|
|
452
|
-
defaultExpanded:
|
|
453
|
-
disabled:
|
|
451
|
+
className: f,
|
|
452
|
+
defaultExpanded: m = !1,
|
|
453
|
+
disabled: g = !1,
|
|
454
454
|
disableGutters: E = !1,
|
|
455
455
|
expanded: I,
|
|
456
456
|
onChange: S,
|
|
457
|
-
square:
|
|
457
|
+
square: R = !1,
|
|
458
458
|
slots: j = {},
|
|
459
459
|
slotProps: z = {},
|
|
460
460
|
TransitionComponent: P,
|
|
@@ -462,23 +462,23 @@ const _ = X("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled
|
|
|
462
462
|
...V
|
|
463
463
|
} = s, [d, y] = Eo({
|
|
464
464
|
controlled: I,
|
|
465
|
-
default:
|
|
465
|
+
default: m,
|
|
466
466
|
name: "Accordion",
|
|
467
467
|
state: "expanded"
|
|
468
|
-
}),
|
|
468
|
+
}), l = p.useCallback((eo) => {
|
|
469
469
|
y(!d), S && S(eo, !d);
|
|
470
|
-
}, [d, S, y]), [N, ...G] =
|
|
470
|
+
}, [d, S, y]), [N, ...G] = p.Children.toArray(c), v = p.useMemo(() => ({
|
|
471
471
|
expanded: d,
|
|
472
|
-
disabled:
|
|
472
|
+
disabled: g,
|
|
473
473
|
disableGutters: E,
|
|
474
|
-
toggle:
|
|
475
|
-
}), [d,
|
|
474
|
+
toggle: l
|
|
475
|
+
}), [d, g, E, l]), u = {
|
|
476
476
|
...s,
|
|
477
|
-
square:
|
|
478
|
-
disabled:
|
|
477
|
+
square: R,
|
|
478
|
+
disabled: g,
|
|
479
479
|
disableGutters: E,
|
|
480
480
|
expanded: d
|
|
481
|
-
}, w = $o(
|
|
481
|
+
}, w = $o(u), U = {
|
|
482
482
|
transition: P,
|
|
483
483
|
...j
|
|
484
484
|
}, a = {
|
|
@@ -493,26 +493,26 @@ const _ = X("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled
|
|
|
493
493
|
...x,
|
|
494
494
|
...V
|
|
495
495
|
},
|
|
496
|
-
className: L(w.root,
|
|
496
|
+
className: L(w.root, f),
|
|
497
497
|
shouldForwardComponentProp: !0,
|
|
498
|
-
ownerState:
|
|
498
|
+
ownerState: u,
|
|
499
499
|
ref: r,
|
|
500
500
|
additionalProps: {
|
|
501
|
-
square:
|
|
501
|
+
square: R
|
|
502
502
|
}
|
|
503
503
|
}), [M, k] = D("heading", {
|
|
504
504
|
elementType: zo,
|
|
505
505
|
externalForwardedProps: x,
|
|
506
506
|
className: w.heading,
|
|
507
|
-
ownerState:
|
|
508
|
-
}), [Z,
|
|
507
|
+
ownerState: u
|
|
508
|
+
}), [Z, A] = D("transition", {
|
|
509
509
|
elementType: J,
|
|
510
510
|
externalForwardedProps: x,
|
|
511
|
-
ownerState:
|
|
511
|
+
ownerState: u
|
|
512
512
|
}), [H, oo] = D("region", {
|
|
513
513
|
elementType: Wo,
|
|
514
514
|
externalForwardedProps: x,
|
|
515
|
-
ownerState:
|
|
515
|
+
ownerState: u,
|
|
516
516
|
className: w.region,
|
|
517
517
|
additionalProps: {
|
|
518
518
|
"aria-labelledby": N.props.id,
|
|
@@ -531,7 +531,7 @@ const _ = X("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled
|
|
|
531
531
|
}), /* @__PURE__ */ i.jsx(Z, {
|
|
532
532
|
in: d,
|
|
533
533
|
timeout: "auto",
|
|
534
|
-
...
|
|
534
|
+
...A,
|
|
535
535
|
children: /* @__PURE__ */ i.jsx(H, {
|
|
536
536
|
...oo,
|
|
537
537
|
children: G
|
|
@@ -548,8 +548,8 @@ process.env.NODE_ENV !== "production" && (so.propTypes = {
|
|
|
548
548
|
* The content of the component.
|
|
549
549
|
*/
|
|
550
550
|
children: To(o.node.isRequired, (e) => {
|
|
551
|
-
const t =
|
|
552
|
-
return yo.isFragment(t) ? new Error("MUI: The Accordion doesn't accept a Fragment as a child. Consider providing an array instead.") : /* @__PURE__ */
|
|
551
|
+
const t = p.Children.toArray(e.children)[0];
|
|
552
|
+
return yo.isFragment(t) ? new Error("MUI: The Accordion doesn't accept a Fragment as a child. Consider providing an array instead.") : /* @__PURE__ */ p.isValidElement(t) ? null : new Error("MUI: Expected the first child of Accordion to be a valid element.");
|
|
553
553
|
}),
|
|
554
554
|
/**
|
|
555
555
|
* Override or extend the styles applied to the component.
|
|
@@ -646,19 +646,19 @@ const ko = (e) => {
|
|
|
646
646
|
theme: e
|
|
647
647
|
}) => ({
|
|
648
648
|
padding: e.spacing(1, 2, 2)
|
|
649
|
-
}))), io = /* @__PURE__ */
|
|
649
|
+
}))), io = /* @__PURE__ */ p.forwardRef(function(t, r) {
|
|
650
650
|
const s = K({
|
|
651
651
|
props: t,
|
|
652
652
|
name: "MuiAccordionDetails"
|
|
653
653
|
}), {
|
|
654
654
|
className: c,
|
|
655
|
-
...
|
|
656
|
-
} = s,
|
|
655
|
+
...f
|
|
656
|
+
} = s, m = s, g = ko(m);
|
|
657
657
|
return /* @__PURE__ */ i.jsx(Fo, {
|
|
658
|
-
className: L(
|
|
658
|
+
className: L(g.root, c),
|
|
659
659
|
ref: r,
|
|
660
|
-
ownerState:
|
|
661
|
-
...
|
|
660
|
+
ownerState: m,
|
|
661
|
+
...f
|
|
662
662
|
});
|
|
663
663
|
});
|
|
664
664
|
process.env.NODE_ENV !== "production" && (io.propTypes = {
|
|
@@ -768,42 +768,42 @@ const F = X("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disable
|
|
|
768
768
|
[`&.${F.expanded}`]: {
|
|
769
769
|
transform: "rotate(180deg)"
|
|
770
770
|
}
|
|
771
|
-
}))), ao = /* @__PURE__ */
|
|
771
|
+
}))), ao = /* @__PURE__ */ p.forwardRef(function(t, r) {
|
|
772
772
|
const s = K({
|
|
773
773
|
props: t,
|
|
774
774
|
name: "MuiAccordionSummary"
|
|
775
775
|
}), {
|
|
776
776
|
children: c,
|
|
777
|
-
className:
|
|
778
|
-
expandIcon:
|
|
779
|
-
focusVisibleClassName:
|
|
777
|
+
className: f,
|
|
778
|
+
expandIcon: m,
|
|
779
|
+
focusVisibleClassName: g,
|
|
780
780
|
onClick: E,
|
|
781
781
|
slots: I,
|
|
782
782
|
slotProps: S,
|
|
783
|
-
...
|
|
783
|
+
...R
|
|
784
784
|
} = s, {
|
|
785
785
|
disabled: j = !1,
|
|
786
786
|
disableGutters: z,
|
|
787
787
|
expanded: P,
|
|
788
788
|
toggle: W
|
|
789
|
-
} =
|
|
789
|
+
} = p.useContext(to), V = (a) => {
|
|
790
790
|
W && W(a), E && E(a);
|
|
791
791
|
}, d = {
|
|
792
792
|
...s,
|
|
793
793
|
expanded: P,
|
|
794
794
|
disabled: j,
|
|
795
795
|
disableGutters: z
|
|
796
|
-
}, y = Uo(d),
|
|
796
|
+
}, y = Uo(d), l = {
|
|
797
797
|
slots: I,
|
|
798
798
|
slotProps: S
|
|
799
799
|
}, [N, G] = D("root", {
|
|
800
800
|
ref: r,
|
|
801
801
|
shouldForwardComponentProp: !0,
|
|
802
|
-
className: L(y.root,
|
|
802
|
+
className: L(y.root, f),
|
|
803
803
|
elementType: Ho,
|
|
804
804
|
externalForwardedProps: {
|
|
805
|
-
...
|
|
806
|
-
...
|
|
805
|
+
...l,
|
|
806
|
+
...R
|
|
807
807
|
},
|
|
808
808
|
ownerState: d,
|
|
809
809
|
additionalProps: {
|
|
@@ -811,7 +811,7 @@ const F = X("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disable
|
|
|
811
811
|
disableRipple: !0,
|
|
812
812
|
disabled: j,
|
|
813
813
|
"aria-expanded": P,
|
|
814
|
-
focusVisibleClassName: L(y.focusVisible,
|
|
814
|
+
focusVisibleClassName: L(y.focusVisible, g)
|
|
815
815
|
},
|
|
816
816
|
getSlotProps: (a) => ({
|
|
817
817
|
...a,
|
|
@@ -820,25 +820,25 @@ const F = X("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disable
|
|
|
820
820
|
(C = a.onClick) == null || C.call(a, x), V(x);
|
|
821
821
|
}
|
|
822
822
|
})
|
|
823
|
-
}), [v,
|
|
823
|
+
}), [v, u] = D("content", {
|
|
824
824
|
className: y.content,
|
|
825
825
|
elementType: Bo,
|
|
826
|
-
externalForwardedProps:
|
|
826
|
+
externalForwardedProps: l,
|
|
827
827
|
ownerState: d
|
|
828
828
|
}), [w, U] = D("expandIconWrapper", {
|
|
829
829
|
className: y.expandIconWrapper,
|
|
830
830
|
elementType: Lo,
|
|
831
|
-
externalForwardedProps:
|
|
831
|
+
externalForwardedProps: l,
|
|
832
832
|
ownerState: d
|
|
833
833
|
});
|
|
834
834
|
return /* @__PURE__ */ i.jsxs(N, {
|
|
835
835
|
...G,
|
|
836
836
|
children: [/* @__PURE__ */ i.jsx(v, {
|
|
837
|
-
...
|
|
837
|
+
...u,
|
|
838
838
|
children: c
|
|
839
|
-
}),
|
|
839
|
+
}), m && /* @__PURE__ */ i.jsx(w, {
|
|
840
840
|
...U,
|
|
841
|
-
children:
|
|
841
|
+
children: m
|
|
842
842
|
})]
|
|
843
843
|
});
|
|
844
844
|
});
|
|
@@ -903,31 +903,17 @@ const re = ({
|
|
|
903
903
|
title: e,
|
|
904
904
|
children: t,
|
|
905
905
|
startIcon: r,
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
})
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
border: "1px solid",
|
|
918
|
-
borderColor: "divider"
|
|
919
|
-
},
|
|
920
|
-
elevation: 0,
|
|
921
|
-
...m,
|
|
922
|
-
children: [
|
|
923
|
-
e || r ? /* @__PURE__ */ i.jsx(ao, { expandIcon: /* @__PURE__ */ i.jsx(mo, {}), ...g, children: /* @__PURE__ */ i.jsxs(Ro, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
924
|
-
r,
|
|
925
|
-
/* @__PURE__ */ i.jsx(Ao, { variant: "subtitle1", fontWeight: 600, ...c, children: e })
|
|
926
|
-
] }) }) : null,
|
|
927
|
-
/* @__PURE__ */ i.jsx(io, { ...l, children: t })
|
|
928
|
-
]
|
|
929
|
-
}
|
|
930
|
-
);
|
|
906
|
+
titleTypographyProps: s,
|
|
907
|
+
accordionSummaryProps: c,
|
|
908
|
+
accordionDetailsProps: f,
|
|
909
|
+
...m
|
|
910
|
+
}) => /* @__PURE__ */ i.jsxs(so, { elevation: 0, disableGutters: !0, ...m, children: [
|
|
911
|
+
e || r ? /* @__PURE__ */ i.jsx(ao, { expandIcon: /* @__PURE__ */ i.jsx(mo, {}), ...c, children: /* @__PURE__ */ i.jsxs(Ao, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
912
|
+
r,
|
|
913
|
+
/* @__PURE__ */ i.jsx(Ro, { variant: "subtitle1", fontWeight: 600, ...s, children: e })
|
|
914
|
+
] }) }) : null,
|
|
915
|
+
/* @__PURE__ */ i.jsx(io, { ...f, children: t })
|
|
916
|
+
] });
|
|
931
917
|
export {
|
|
932
918
|
re as default
|
|
933
919
|
};
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { gray as o } from "../theme-primitives.js";
|
|
2
|
-
import { a } from "../../colorManipulator-ep5lERxB.js";
|
|
3
|
-
const
|
|
2
|
+
import { a as d } from "../../colorManipulator-ep5lERxB.js";
|
|
3
|
+
const e = {
|
|
4
4
|
MuiAccordion: {
|
|
5
|
-
defaultProps: {
|
|
6
|
-
elevation: 0,
|
|
7
|
-
disableGutters: !0
|
|
8
|
-
},
|
|
9
5
|
styleOverrides: {
|
|
10
|
-
root: ({ theme: r }) => ({
|
|
6
|
+
root: ({ theme: r, ownerState: a }) => ({
|
|
11
7
|
padding: 2,
|
|
12
8
|
overflow: "clip",
|
|
13
9
|
backgroundColor: (r.vars || r).palette.background.default,
|
|
@@ -15,18 +11,20 @@ const i = {
|
|
|
15
11
|
borderColor: (r.vars || r).palette.divider,
|
|
16
12
|
":before": {
|
|
17
13
|
backgroundColor: "transparent"
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
14
|
+
},
|
|
15
|
+
...a.disableGutters ? {
|
|
16
|
+
"&:not(:last-of-type)": {
|
|
17
|
+
borderBottom: "none"
|
|
18
|
+
},
|
|
19
|
+
"&:first-of-type": {
|
|
20
|
+
borderTopLeftRadius: (r.vars || r).shape.borderRadius,
|
|
21
|
+
borderTopRightRadius: (r.vars || r).shape.borderRadius
|
|
22
|
+
},
|
|
23
|
+
"&:last-of-type": {
|
|
24
|
+
borderBottomLeftRadius: (r.vars || r).shape.borderRadius,
|
|
25
|
+
borderBottomRightRadius: (r.vars || r).shape.borderRadius
|
|
26
|
+
}
|
|
27
|
+
} : {}
|
|
30
28
|
})
|
|
31
29
|
}
|
|
32
30
|
},
|
|
@@ -75,7 +73,7 @@ const i = {
|
|
|
75
73
|
boxShadow: "none",
|
|
76
74
|
background: "rgb(255, 255, 255)",
|
|
77
75
|
...r.applyStyles("dark", {
|
|
78
|
-
background:
|
|
76
|
+
background: d(o[900], 0.4)
|
|
79
77
|
})
|
|
80
78
|
}
|
|
81
79
|
}
|
|
@@ -107,5 +105,5 @@ const i = {
|
|
|
107
105
|
}
|
|
108
106
|
};
|
|
109
107
|
export {
|
|
110
|
-
|
|
108
|
+
e as surfacesCustomizations
|
|
111
109
|
};
|