@solostylist/ui-kit 1.0.167 → 1.0.168
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/{Typography-B7LOtCzI.js → Typography-C8jwvSWe.js} +1 -1
- package/dist/main.d.ts +3 -3
- package/dist/main.js +182 -174
- package/dist/s-accordion/index.js +2 -2
- package/dist/s-accordion/s-accordion.d.ts +17 -1
- package/dist/s-accordion/s-accordion.js +252 -238
- package/dist/s-action-overlay/index.js +1 -1
- package/dist/s-action-overlay/s-action-overlay.d.ts +34 -1
- package/dist/s-action-overlay/s-action-overlay.js +67 -55
- package/dist/s-ai-tool-bar/index.d.ts +2 -0
- package/dist/s-ai-tool-bar/index.js +3 -2
- package/dist/s-ai-tool-bar/s-ai-tool-bar.d.ts +33 -22
- package/dist/s-ai-tool-bar/s-ai-tool-bar.js +295 -247
- package/dist/s-autocomplete/index.js +2 -2
- package/dist/s-autocomplete/s-autocomplete.d.ts +13 -15
- package/dist/s-autocomplete/s-autocomplete.js +25 -17
- package/dist/s-avatar/index.js +2 -2
- package/dist/s-avatar/s-avatar.d.ts +16 -1
- package/dist/s-avatar/s-avatar.js +23 -10
- package/dist/s-blur-text/index.js +2 -2
- package/dist/s-blur-text/s-blur-text.d.ts +4 -13
- package/dist/s-blur-text/s-blur-text.js +57 -51
- package/dist/s-breadcrumbs/index.js +2 -2
- package/dist/s-breadcrumbs/s-breadcrumbs.d.ts +20 -1
- package/dist/s-breadcrumbs/s-breadcrumbs.js +39 -30
- package/dist/s-button/index.js +2 -2
- package/dist/s-button/s-button.d.ts +7 -1
- package/dist/s-button/s-button.js +15 -5
- package/dist/s-button-link/index.js +2 -2
- package/dist/s-button-link/s-button-link.d.ts +12 -26
- package/dist/s-button-link/s-button-link.js +36 -26
- package/dist/s-carousel/index.js +1 -1
- package/dist/s-carousel/s-carousel.d.ts +11 -1
- package/dist/s-carousel/s-carousel.js +233 -223
- package/dist/s-category-card/index.js +2 -2
- package/dist/s-category-card/s-category-card.d.ts +28 -1
- package/dist/s-category-card/s-category-card.js +77 -58
- package/dist/s-chat-input/index.js +2 -2
- package/dist/s-chat-input/s-chat-input.d.ts +12 -1
- package/dist/s-chat-input/s-chat-input.js +92 -82
- package/dist/s-chat-message/index.js +2 -2
- package/dist/s-chat-message/s-chat-message.d.ts +22 -1
- package/dist/s-chat-message/s-chat-message.js +144 -133
- package/dist/s-checkbox/index.js +2 -2
- package/dist/s-checkbox/s-checkbox.d.ts +2 -15
- package/dist/s-checkbox/s-checkbox.js +20 -10
- package/dist/s-chip/index.js +2 -2
- package/dist/s-chip/s-chip.d.ts +7 -1
- package/dist/s-chip/s-chip.js +15 -5
- package/dist/s-chips/index.js +2 -2
- package/dist/s-chips/s-chips.d.ts +5 -18
- package/dist/s-chips/s-chips.js +56 -41
- package/dist/s-comment-message/index.js +2 -2
- package/dist/s-comment-message/s-comment-message.d.ts +26 -1
- package/dist/s-comment-message/s-comment-message.js +95 -89
- package/dist/s-copyable-text/index.js +1 -1
- package/dist/s-copyable-text/s-copyable-text.d.ts +9 -36
- package/dist/s-copyable-text/s-copyable-text.js +31 -21
- package/dist/s-countdown/index.d.ts +3 -2
- package/dist/s-countdown/index.js +4 -3
- package/dist/s-countdown/s-count-box.d.ts +39 -0
- package/dist/s-countdown/s-count-box.js +112 -0
- package/dist/s-countdown/s-count-down.d.ts +6 -50
- package/dist/s-countdown/s-count-down.js +110 -175
- package/dist/s-data-table/index.js +2 -2
- package/dist/s-data-table/s-data-table.d.ts +9 -65
- package/dist/s-data-table/s-data-table.js +381 -371
- package/dist/s-date-picker/index.js +2 -2
- package/dist/s-date-picker/s-date-picker.d.ts +6 -17
- package/dist/s-date-picker/s-date-picker.js +124 -107
- package/dist/s-datetime-picker/index.js +2 -2
- package/dist/s-datetime-picker/s-datetime-picker.d.ts +5 -16
- package/dist/s-datetime-picker/s-datetime-picker.js +897 -887
- package/dist/s-dialog/index.js +2 -2
- package/dist/s-dialog/s-dialog.d.ts +3 -16
- package/dist/s-dialog/s-dialog.js +32 -23
- package/dist/s-dialog-confirm/index.js +3 -3
- package/dist/s-dialog-confirm/s-dialog-confirm.d.ts +5 -13
- package/dist/s-dialog-confirm/s-dialog-confirm.js +55 -48
- package/dist/s-dialog-message/index.js +4 -4
- package/dist/s-dialog-message/s-dialog-message.d.ts +5 -15
- package/dist/s-dialog-message/s-dialog-message.js +45 -38
- package/dist/s-empty/index.js +2 -2
- package/dist/s-empty/s-empty.d.ts +5 -20
- package/dist/s-empty/s-empty.js +14 -4
- package/dist/s-error/index.js +2 -2
- package/dist/s-error/s-error.d.ts +5 -20
- package/dist/s-error/s-error.js +16 -6
- package/dist/s-error-layout/index.js +2 -2
- package/dist/s-error-layout/s-error-layout.d.ts +6 -1
- package/dist/s-error-layout/s-error-layout.js +60 -51
- package/dist/s-file-dropzone/index.js +2 -2
- package/dist/s-file-dropzone/s-file-dropzone.d.ts +6 -51
- package/dist/s-file-dropzone/s-file-dropzone.js +64 -54
- package/dist/s-file-icon/index.js +2 -2
- package/dist/s-file-icon/s-file-icon.d.ts +5 -25
- package/dist/s-file-icon/s-file-icon.js +14 -8
- package/dist/s-flex-box/index.js +2 -2
- package/dist/s-flex-box/s-flex-box.d.ts +10 -1
- package/dist/s-flex-box/s-flex-box.js +14 -4
- package/dist/s-form/index.js +2 -2
- package/dist/s-form/s-form.d.ts +5 -14
- package/dist/s-form/s-form.js +19 -9
- package/dist/s-gallery/index.js +33 -3
- package/dist/s-gallery/s-gallery.d.ts +3 -36
- package/dist/s-gallery/s-gallery.js +108 -78
- package/dist/s-glow-button/s-glow-button.d.ts +6 -42
- package/dist/s-glow-button/s-glow-button.js +29 -47
- package/dist/s-gradient-icon/index.d.ts +1 -1
- package/dist/s-gradient-icon/index.js +1 -1
- package/dist/s-gradient-icon/s-gradient-icon.d.ts +8 -68
- package/dist/s-gradient-icon/s-gradient-icon.js +54 -44
- package/dist/s-i18n-provider/index.js +1 -1
- package/dist/s-i18n-provider/s-i18n-provider.d.ts +5 -33
- package/dist/s-i18n-provider/s-i18n-provider.js +25 -15
- package/dist/s-icon-button/index.js +2 -2
- package/dist/s-icon-button/s-icon-button.d.ts +6 -19
- package/dist/s-icon-button/s-icon-button.js +14 -4
- package/dist/s-image-comparison/s-image-comparison.js +50 -45
- package/dist/s-image-modal/index.js +3 -3
- package/dist/s-image-modal/s-image-modal.d.ts +4 -20
- package/dist/s-image-modal/s-image-modal.js +150 -135
- package/dist/s-item-not-found/index.js +2 -2
- package/dist/s-item-not-found/s-item-not-found.d.ts +14 -1
- package/dist/s-item-not-found/s-item-not-found.js +21 -10
- package/dist/s-label/index.js +2 -2
- package/dist/s-label/s-label.d.ts +9 -25
- package/dist/s-label/s-label.js +19 -9
- package/dist/s-language-switcher/index.js +3 -3
- package/dist/s-language-switcher/s-language-switcher.d.ts +20 -33
- package/dist/s-language-switcher/s-language-switcher.js +137 -115
- package/dist/s-lazy-image/index.js +10 -2
- package/dist/s-lazy-image/s-lazy-image.d.ts +12 -58
- package/dist/s-lazy-image/s-lazy-image.js +53 -58
- package/dist/s-localization-provider/index.js +2 -2
- package/dist/s-localization-provider/s-localization-provider.d.ts +6 -27
- package/dist/s-localization-provider/s-localization-provider.js +157 -149
- package/dist/s-moving-border/index.js +2 -2
- package/dist/s-moving-border/s-moving-border.d.ts +3 -33
- package/dist/s-moving-border/s-moving-border.js +65 -55
- package/dist/s-multi-select/index.js +2 -2
- package/dist/s-multi-select/s-multi-select.d.ts +5 -15
- package/dist/s-multi-select/s-multi-select.js +54 -45
- package/dist/s-no-ssr/index.js +2 -2
- package/dist/s-no-ssr/s-no-ssr.d.ts +5 -33
- package/dist/s-no-ssr/s-no-ssr.js +21 -11
- package/dist/s-overlay-scrollbar/index.js +2 -2
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.d.ts +10 -1
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +16 -11
- package/dist/s-pagination/index.js +2 -2
- package/dist/s-pagination/s-pagination.d.ts +5 -23
- package/dist/s-pagination/s-pagination.js +17 -11
- package/dist/s-pixel-reveal/index.js +2 -2
- package/dist/s-pixel-reveal/s-pixel-reveal.d.ts +15 -1
- package/dist/s-pixel-reveal/s-pixel-reveal.js +83 -78
- package/dist/s-radial-pulse-animate/index.js +2 -2
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.d.ts +12 -1
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +52 -42
- package/dist/s-rating/index.js +2 -2
- package/dist/s-rating/s-rating.d.ts +7 -1
- package/dist/s-rating/s-rating.js +15 -5
- package/dist/s-review/index.js +2 -2
- package/dist/s-review/s-review.d.ts +25 -1
- package/dist/s-review/s-review.js +104 -97
- package/dist/s-scroll-reveal/index.js +2 -2
- package/dist/s-scroll-reveal/s-scroll-reveal.d.ts +17 -36
- package/dist/s-scroll-reveal/s-scroll-reveal.js +43 -33
- package/dist/s-scroll-to-top/index.js +2 -2
- package/dist/s-scroll-to-top/s-scroll-to-top.d.ts +12 -17
- package/dist/s-scroll-to-top/s-scroll-to-top.js +20 -15
- package/dist/s-select/index.js +2 -2
- package/dist/s-select/s-select.d.ts +3 -22
- package/dist/s-select/s-select.js +76 -72
- package/dist/s-select-list/index.js +2 -2
- package/dist/s-select-list/s-select-list.d.ts +16 -19
- package/dist/s-select-list/s-select-list.js +33 -28
- package/dist/s-skeleton/index.js +2 -2
- package/dist/s-skeleton/s-skeleton.d.ts +6 -22
- package/dist/s-skeleton/s-skeleton.js +28 -18
- package/dist/s-snackbar-message/index.js +4 -4
- package/dist/s-snackbar-message/s-snackbar-message.d.ts +5 -23
- package/dist/s-snackbar-message/s-snackbar-message.js +38 -31
- package/dist/s-spotlight-cursor/index.js +2 -2
- package/dist/s-spotlight-cursor/s-spotlight-cursor.d.ts +10 -44
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +35 -29
- package/dist/s-stripe/index.d.ts +4 -1
- package/dist/s-stripe/index.js +7 -4
- package/dist/s-stripe/s-stripe-cvc.d.ts +8 -0
- package/dist/s-stripe/s-stripe-cvc.js +15 -0
- package/dist/s-stripe/s-stripe-expiry.d.ts +8 -0
- package/dist/s-stripe/s-stripe-expiry.js +15 -0
- package/dist/s-stripe/s-stripe-number.d.ts +8 -0
- package/dist/s-stripe/s-stripe-number.js +15 -0
- package/dist/s-stripe/s-stripe.d.ts +6 -85
- package/dist/s-stripe/s-stripe.js +24 -27
- package/dist/s-stripe/stripe-input.js +22 -18
- package/dist/s-tabs/index.js +6 -6
- package/dist/s-tabs/s-tab-panel.d.ts +11 -1
- package/dist/s-tabs/s-tab-panel.js +25 -16
- package/dist/s-tabs/s-tab.js +9 -5
- package/dist/s-tabs/s-tabs.d.ts +24 -3
- package/dist/s-tabs/s-tabs.js +34 -25
- package/dist/s-text-editor/index.js +3 -3
- package/dist/s-text-editor/s-text-editor-toolbar.js +91 -76
- package/dist/s-text-editor/s-text-editor.d.ts +13 -11
- package/dist/s-text-editor/s-text-editor.js +44 -30
- package/dist/s-text-field/index.js +2 -2
- package/dist/s-text-field/s-text-field.d.ts +6 -15
- package/dist/s-text-field/s-text-field.js +38 -28
- package/dist/s-text-shimmer/index.js +2 -2
- package/dist/s-text-shimmer/s-text-shimmer.d.ts +10 -1
- package/dist/s-text-shimmer/s-text-shimmer.js +27 -18
- package/dist/s-text-truncation/index.js +2 -2
- package/dist/s-text-truncation/s-text-truncation.d.ts +9 -38
- package/dist/s-text-truncation/s-text-truncation.js +34 -20
- package/dist/s-theme-demo/s-theme-demo.js +238 -223
- package/dist/s-theme-provider/index.js +1 -1
- package/dist/s-theme-provider/s-theme-provider.d.ts +5 -17
- package/dist/s-theme-provider/s-theme-provider.js +44 -34
- package/dist/s-theme-switch/s-theme-switch.js +23 -19
- package/dist/s-tip/index.js +2 -2
- package/dist/s-tip/s-tip.d.ts +5 -22
- package/dist/s-tip/s-tip.js +22 -12
- package/dist/s-two-pane-layout/index.js +10 -2
- package/dist/s-two-pane-layout/s-two-pane-layout.d.ts +7 -1
- package/dist/s-two-pane-layout/s-two-pane-layout.js +58 -48
- package/dist/s-typewriter-text/index.js +2 -2
- package/dist/s-typewriter-text/s-typewriter-text.d.ts +17 -1
- package/dist/s-typewriter-text/s-typewriter-text.js +37 -27
- package/dist/s-zoom-image/index.js +10 -2
- package/dist/s-zoom-image/s-zoom-image.d.ts +10 -42
- package/dist/s-zoom-image/s-zoom-image.js +62 -52
- package/dist/theme/components/alert.d.ts +1436 -1436
- package/dist/theme/components/button.d.ts +2150 -2150
- package/dist/theme/components/chip.d.ts +2 -2
- package/dist/theme/customizations/data-display.js +1 -1
- package/dist/{typographyClasses-C7fhAsUD.js → typographyClasses-DDyl9mok.js} +4 -4
- package/dist/{useMobilePicker-DgxcRrRB.js → useMobilePicker-C1RZZUWr.js} +1 -1
- package/package.json +10 -4
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { j as i } from "../jsx-runtime-OVHDjVDe.js";
|
|
2
|
-
import { E as
|
|
2
|
+
import { E as yo } from "../ExpandMore-DTWX_mHf.js";
|
|
3
3
|
import * as p from "react";
|
|
4
|
-
import { l as go, P as o, j as
|
|
5
|
-
import { u as
|
|
6
|
-
import { b as xo, u as
|
|
4
|
+
import { l as go, P as o, j as ho } from "../createTheme-3Wd3hHrj.js";
|
|
5
|
+
import { u as J, c as H, a as K, m as M } from "../DefaultPropsProvider-CaCsvQaq.js";
|
|
6
|
+
import { b as xo, u as bo, e as To, d as I, c as Po, B as Ao } from "../ButtonBase-DfTfJ_ou.js";
|
|
7
7
|
import { g as X } from "../generateUtilityClasses-BtVDwGrk.js";
|
|
8
8
|
import { g as Y } from "../colorManipulator-ep5lERxB.js";
|
|
9
|
-
import { u as
|
|
9
|
+
import { u as So } from "../useControlled-D1L5tREc.js";
|
|
10
10
|
import { s as T } from "../styled-B0Z4EDy9.js";
|
|
11
|
-
import { T as
|
|
12
|
-
import { S as
|
|
13
|
-
import { T as
|
|
11
|
+
import { T as Co, u as Eo, g as so, P as Ro } from "../Paper-hkbPWyBT.js";
|
|
12
|
+
import { S as wo } from "../Stack-Cq2r2NmC.js";
|
|
13
|
+
import { T as vo } from "../Typography-C8jwvSWe.js";
|
|
14
14
|
function jo(e) {
|
|
15
15
|
return Y("MuiCollapse", e);
|
|
16
16
|
}
|
|
17
17
|
X("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]);
|
|
18
|
-
const
|
|
18
|
+
const No = (e) => {
|
|
19
19
|
const {
|
|
20
20
|
orientation: t,
|
|
21
21
|
classes: r
|
|
@@ -26,8 +26,8 @@ const Po = (e) => {
|
|
|
26
26
|
wrapper: ["wrapper", `${t}`],
|
|
27
27
|
wrapperInner: ["wrapperInner", `${t}`]
|
|
28
28
|
};
|
|
29
|
-
return
|
|
30
|
-
},
|
|
29
|
+
return K(s, jo, r);
|
|
30
|
+
}, Oo = T("div", {
|
|
31
31
|
name: "MuiCollapse",
|
|
32
32
|
slot: "Root",
|
|
33
33
|
overridesResolver: (e, t) => {
|
|
@@ -36,7 +36,7 @@ const Po = (e) => {
|
|
|
36
36
|
} = e;
|
|
37
37
|
return [t.root, t[r.orientation], r.state === "entered" && t.entered, r.state === "exited" && !r.in && r.collapsedSize === "0px" && t.hidden];
|
|
38
38
|
}
|
|
39
|
-
})(
|
|
39
|
+
})(M(({
|
|
40
40
|
theme: e
|
|
41
41
|
}) => ({
|
|
42
42
|
height: 0,
|
|
@@ -75,7 +75,7 @@ const Po = (e) => {
|
|
|
75
75
|
visibility: "hidden"
|
|
76
76
|
}
|
|
77
77
|
}]
|
|
78
|
-
}))),
|
|
78
|
+
}))), Do = T("div", {
|
|
79
79
|
name: "MuiCollapse",
|
|
80
80
|
slot: "Wrapper"
|
|
81
81
|
})({
|
|
@@ -91,7 +91,7 @@ const Po = (e) => {
|
|
|
91
91
|
height: "100%"
|
|
92
92
|
}
|
|
93
93
|
}]
|
|
94
|
-
}),
|
|
94
|
+
}), Io = T("div", {
|
|
95
95
|
name: "MuiCollapse",
|
|
96
96
|
slot: "WrapperInner"
|
|
97
97
|
})({
|
|
@@ -105,135 +105,135 @@ const Po = (e) => {
|
|
|
105
105
|
height: "100%"
|
|
106
106
|
}
|
|
107
107
|
}]
|
|
108
|
-
}),
|
|
109
|
-
const s =
|
|
108
|
+
}), Q = /* @__PURE__ */ p.forwardRef(function(t, r) {
|
|
109
|
+
const s = J({
|
|
110
110
|
props: t,
|
|
111
111
|
name: "MuiCollapse"
|
|
112
112
|
}), {
|
|
113
113
|
addEndListener: c,
|
|
114
|
-
children:
|
|
115
|
-
className:
|
|
116
|
-
collapsedSize:
|
|
117
|
-
component:
|
|
118
|
-
easing:
|
|
114
|
+
children: m,
|
|
115
|
+
className: f,
|
|
116
|
+
collapsedSize: y = "0px",
|
|
117
|
+
component: A,
|
|
118
|
+
easing: z,
|
|
119
119
|
in: S,
|
|
120
|
-
onEnter:
|
|
121
|
-
onEntered:
|
|
122
|
-
onEntering:
|
|
123
|
-
onExit:
|
|
124
|
-
onExited:
|
|
125
|
-
onExiting:
|
|
120
|
+
onEnter: w,
|
|
121
|
+
onEntered: v,
|
|
122
|
+
onEntering: V,
|
|
123
|
+
onExit: j,
|
|
124
|
+
onExited: $,
|
|
125
|
+
onExiting: _,
|
|
126
126
|
orientation: d = "vertical",
|
|
127
|
-
style:
|
|
127
|
+
style: g,
|
|
128
128
|
timeout: l = go.standard,
|
|
129
129
|
// eslint-disable-next-line react/prop-types
|
|
130
|
-
TransitionComponent: N =
|
|
131
|
-
...
|
|
132
|
-
} = s,
|
|
130
|
+
TransitionComponent: N = Co,
|
|
131
|
+
...F
|
|
132
|
+
} = s, C = {
|
|
133
133
|
...s,
|
|
134
134
|
orientation: d,
|
|
135
|
-
collapsedSize:
|
|
136
|
-
}, u =
|
|
135
|
+
collapsedSize: y
|
|
136
|
+
}, u = No(C), E = Eo(), k = xo(), a = p.useRef(null), h = p.useRef(), P = typeof y == "number" ? `${y}px` : y, O = d === "horizontal", D = O ? "width" : "height", W = p.useRef(null), Z = bo(r, W), R = (n) => (x) => {
|
|
137
137
|
if (n) {
|
|
138
|
-
const b =
|
|
139
|
-
|
|
138
|
+
const b = W.current;
|
|
139
|
+
x === void 0 ? n(b) : n(b, x);
|
|
140
140
|
}
|
|
141
|
-
},
|
|
142
|
-
a.current && O && (a.current.style.position = "absolute"), n.style[
|
|
143
|
-
}), eo =
|
|
144
|
-
const b =
|
|
141
|
+
}, U = () => a.current ? a.current[O ? "clientWidth" : "clientHeight"] : 0, oo = R((n, x) => {
|
|
142
|
+
a.current && O && (a.current.style.position = "absolute"), n.style[D] = P, w && w(n, x);
|
|
143
|
+
}), eo = R((n, x) => {
|
|
144
|
+
const b = U();
|
|
145
145
|
a.current && O && (a.current.style.position = "");
|
|
146
146
|
const {
|
|
147
|
-
duration:
|
|
148
|
-
easing:
|
|
149
|
-
} =
|
|
150
|
-
style:
|
|
147
|
+
duration: G,
|
|
148
|
+
easing: B
|
|
149
|
+
} = so({
|
|
150
|
+
style: g,
|
|
151
151
|
timeout: l,
|
|
152
|
-
easing:
|
|
152
|
+
easing: z
|
|
153
153
|
}, {
|
|
154
154
|
mode: "enter"
|
|
155
155
|
});
|
|
156
156
|
if (l === "auto") {
|
|
157
|
-
const
|
|
158
|
-
n.style.transitionDuration = `${
|
|
157
|
+
const ro = E.transitions.getAutoHeightDuration(b);
|
|
158
|
+
n.style.transitionDuration = `${ro}ms`, h.current = ro;
|
|
159
159
|
} else
|
|
160
|
-
n.style.transitionDuration = typeof
|
|
161
|
-
n.style[
|
|
162
|
-
}),
|
|
163
|
-
n.style[
|
|
164
|
-
}),
|
|
165
|
-
n.style[
|
|
166
|
-
}),
|
|
167
|
-
const
|
|
160
|
+
n.style.transitionDuration = typeof G == "string" ? G : `${G}ms`;
|
|
161
|
+
n.style[D] = `${b}px`, n.style.transitionTimingFunction = B, V && V(n, x);
|
|
162
|
+
}), lo = R((n, x) => {
|
|
163
|
+
n.style[D] = "auto", v && v(n, x);
|
|
164
|
+
}), po = R((n) => {
|
|
165
|
+
n.style[D] = `${U()}px`, j && j(n);
|
|
166
|
+
}), uo = R($), mo = R((n) => {
|
|
167
|
+
const x = U(), {
|
|
168
168
|
duration: b,
|
|
169
|
-
easing:
|
|
170
|
-
} =
|
|
171
|
-
style:
|
|
169
|
+
easing: G
|
|
170
|
+
} = so({
|
|
171
|
+
style: g,
|
|
172
172
|
timeout: l,
|
|
173
|
-
easing:
|
|
173
|
+
easing: z
|
|
174
174
|
}, {
|
|
175
175
|
mode: "exit"
|
|
176
176
|
});
|
|
177
177
|
if (l === "auto") {
|
|
178
|
-
const
|
|
179
|
-
n.style.transitionDuration = `${
|
|
178
|
+
const B = E.transitions.getAutoHeightDuration(x);
|
|
179
|
+
n.style.transitionDuration = `${B}ms`, h.current = B;
|
|
180
180
|
} else
|
|
181
181
|
n.style.transitionDuration = typeof b == "string" ? b : `${b}ms`;
|
|
182
|
-
n.style[
|
|
182
|
+
n.style[D] = P, n.style.transitionTimingFunction = G, _ && _(n);
|
|
183
183
|
}), fo = (n) => {
|
|
184
|
-
l === "auto" &&
|
|
184
|
+
l === "auto" && k.start(h.current || 0, n), c && c(W.current, n);
|
|
185
185
|
};
|
|
186
186
|
return /* @__PURE__ */ i.jsx(N, {
|
|
187
187
|
in: S,
|
|
188
188
|
onEnter: oo,
|
|
189
|
-
onEntered:
|
|
189
|
+
onEntered: lo,
|
|
190
190
|
onEntering: eo,
|
|
191
|
-
onExit:
|
|
192
|
-
onExited:
|
|
193
|
-
onExiting:
|
|
191
|
+
onExit: po,
|
|
192
|
+
onExited: uo,
|
|
193
|
+
onExiting: mo,
|
|
194
194
|
addEndListener: fo,
|
|
195
|
-
nodeRef:
|
|
195
|
+
nodeRef: W,
|
|
196
196
|
timeout: l === "auto" ? null : l,
|
|
197
|
-
...
|
|
197
|
+
...F,
|
|
198
198
|
children: (n, {
|
|
199
|
-
ownerState:
|
|
199
|
+
ownerState: x,
|
|
200
200
|
...b
|
|
201
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
202
|
-
as:
|
|
203
|
-
className:
|
|
201
|
+
}) => /* @__PURE__ */ i.jsx(Oo, {
|
|
202
|
+
as: A,
|
|
203
|
+
className: H(u.root, f, {
|
|
204
204
|
entered: u.entered,
|
|
205
|
-
exited: !S &&
|
|
205
|
+
exited: !S && P === "0px" && u.hidden
|
|
206
206
|
}[n]),
|
|
207
207
|
style: {
|
|
208
|
-
[O ? "minWidth" : "minHeight"]:
|
|
209
|
-
...
|
|
208
|
+
[O ? "minWidth" : "minHeight"]: P,
|
|
209
|
+
...g
|
|
210
210
|
},
|
|
211
211
|
ref: Z,
|
|
212
212
|
ownerState: {
|
|
213
|
-
...
|
|
213
|
+
...C,
|
|
214
214
|
state: n
|
|
215
215
|
},
|
|
216
216
|
...b,
|
|
217
|
-
children: /* @__PURE__ */ i.jsx(
|
|
217
|
+
children: /* @__PURE__ */ i.jsx(Do, {
|
|
218
218
|
ownerState: {
|
|
219
|
-
...
|
|
219
|
+
...C,
|
|
220
220
|
state: n
|
|
221
221
|
},
|
|
222
222
|
className: u.wrapper,
|
|
223
223
|
ref: a,
|
|
224
|
-
children: /* @__PURE__ */ i.jsx(
|
|
224
|
+
children: /* @__PURE__ */ i.jsx(Io, {
|
|
225
225
|
ownerState: {
|
|
226
|
-
...
|
|
226
|
+
...C,
|
|
227
227
|
state: n
|
|
228
228
|
},
|
|
229
229
|
className: u.wrapperInner,
|
|
230
|
-
children:
|
|
230
|
+
children: m
|
|
231
231
|
})
|
|
232
232
|
})
|
|
233
233
|
})
|
|
234
234
|
});
|
|
235
235
|
});
|
|
236
|
-
process.env.NODE_ENV !== "production" && (
|
|
236
|
+
process.env.NODE_ENV !== "production" && (Q.propTypes = {
|
|
237
237
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
238
238
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
239
239
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -265,7 +265,7 @@ process.env.NODE_ENV !== "production" && (J.propTypes = {
|
|
|
265
265
|
* The component used for the root node.
|
|
266
266
|
* Either a string to use a HTML element or a component.
|
|
267
267
|
*/
|
|
268
|
-
component:
|
|
268
|
+
component: To,
|
|
269
269
|
/**
|
|
270
270
|
* The transition timing function.
|
|
271
271
|
* You may specify a single easing or a object containing enter and exit values.
|
|
@@ -328,26 +328,26 @@ process.env.NODE_ENV !== "production" && (J.propTypes = {
|
|
|
328
328
|
exit: o.number
|
|
329
329
|
})])
|
|
330
330
|
});
|
|
331
|
-
|
|
332
|
-
const
|
|
333
|
-
process.env.NODE_ENV !== "production" && (
|
|
334
|
-
function
|
|
331
|
+
Q && (Q.muiSupportAuto = !0);
|
|
332
|
+
const no = /* @__PURE__ */ p.createContext({});
|
|
333
|
+
process.env.NODE_ENV !== "production" && (no.displayName = "AccordionContext");
|
|
334
|
+
function Mo(e) {
|
|
335
335
|
return Y("MuiAccordion", e);
|
|
336
336
|
}
|
|
337
|
-
const
|
|
337
|
+
const L = X("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled", "gutters", "region"]), zo = (e) => {
|
|
338
338
|
const {
|
|
339
339
|
classes: t,
|
|
340
340
|
square: r,
|
|
341
341
|
expanded: s,
|
|
342
342
|
disabled: c,
|
|
343
|
-
disableGutters:
|
|
343
|
+
disableGutters: m
|
|
344
344
|
} = e;
|
|
345
|
-
return
|
|
346
|
-
root: ["root", !r && "rounded", s && "expanded", c && "disabled", !
|
|
345
|
+
return K({
|
|
346
|
+
root: ["root", !r && "rounded", s && "expanded", c && "disabled", !m && "gutters"],
|
|
347
347
|
heading: ["heading"],
|
|
348
348
|
region: ["region"]
|
|
349
|
-
},
|
|
350
|
-
},
|
|
349
|
+
}, Mo, t);
|
|
350
|
+
}, Vo = T(Ro, {
|
|
351
351
|
name: "MuiAccordion",
|
|
352
352
|
slot: "Root",
|
|
353
353
|
overridesResolver: (e, t) => {
|
|
@@ -355,10 +355,10 @@ const _ = X("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled
|
|
|
355
355
|
ownerState: r
|
|
356
356
|
} = e;
|
|
357
357
|
return [{
|
|
358
|
-
[`& .${
|
|
358
|
+
[`& .${L.region}`]: t.region
|
|
359
359
|
}, t.root, !r.square && t.rounded, !r.disableGutters && t.gutters];
|
|
360
360
|
}
|
|
361
|
-
})(
|
|
361
|
+
})(M(({
|
|
362
362
|
theme: e
|
|
363
363
|
}) => {
|
|
364
364
|
const t = {
|
|
@@ -385,7 +385,7 @@ const _ = X("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled
|
|
|
385
385
|
display: "none"
|
|
386
386
|
}
|
|
387
387
|
},
|
|
388
|
-
[`&.${
|
|
388
|
+
[`&.${L.expanded}`]: {
|
|
389
389
|
"&::before": {
|
|
390
390
|
opacity: 0
|
|
391
391
|
},
|
|
@@ -401,11 +401,11 @@ const _ = X("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled
|
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
403
|
},
|
|
404
|
-
[`&.${
|
|
404
|
+
[`&.${L.disabled}`]: {
|
|
405
405
|
backgroundColor: (e.vars || e).palette.action.disabledBackground
|
|
406
406
|
}
|
|
407
407
|
};
|
|
408
|
-
}),
|
|
408
|
+
}), M(({
|
|
409
409
|
theme: e
|
|
410
410
|
}) => ({
|
|
411
411
|
variants: [{
|
|
@@ -429,117 +429,117 @@ const _ = X("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled
|
|
|
429
429
|
}, {
|
|
430
430
|
props: (t) => !t.disableGutters,
|
|
431
431
|
style: {
|
|
432
|
-
[`&.${
|
|
432
|
+
[`&.${L.expanded}`]: {
|
|
433
433
|
margin: "16px 0"
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
}]
|
|
437
|
-
}))),
|
|
437
|
+
}))), $o = T("h3", {
|
|
438
438
|
name: "MuiAccordion",
|
|
439
439
|
slot: "Heading"
|
|
440
440
|
})({
|
|
441
441
|
all: "unset"
|
|
442
|
-
}),
|
|
442
|
+
}), _o = T("div", {
|
|
443
443
|
name: "MuiAccordion",
|
|
444
444
|
slot: "Region"
|
|
445
|
-
})({}),
|
|
446
|
-
const s =
|
|
445
|
+
})({}), io = /* @__PURE__ */ p.forwardRef(function(t, r) {
|
|
446
|
+
const s = J({
|
|
447
447
|
props: t,
|
|
448
448
|
name: "MuiAccordion"
|
|
449
449
|
}), {
|
|
450
450
|
children: c,
|
|
451
|
-
className:
|
|
452
|
-
defaultExpanded:
|
|
453
|
-
disabled:
|
|
454
|
-
disableGutters:
|
|
455
|
-
expanded:
|
|
451
|
+
className: m,
|
|
452
|
+
defaultExpanded: f = !1,
|
|
453
|
+
disabled: y = !1,
|
|
454
|
+
disableGutters: A = !1,
|
|
455
|
+
expanded: z,
|
|
456
456
|
onChange: S,
|
|
457
|
-
square:
|
|
458
|
-
slots:
|
|
459
|
-
slotProps:
|
|
460
|
-
TransitionComponent:
|
|
461
|
-
TransitionProps:
|
|
462
|
-
...
|
|
463
|
-
} = s, [d,
|
|
464
|
-
controlled:
|
|
465
|
-
default:
|
|
457
|
+
square: w = !1,
|
|
458
|
+
slots: v = {},
|
|
459
|
+
slotProps: V = {},
|
|
460
|
+
TransitionComponent: j,
|
|
461
|
+
TransitionProps: $,
|
|
462
|
+
..._
|
|
463
|
+
} = s, [d, g] = So({
|
|
464
|
+
controlled: z,
|
|
465
|
+
default: f,
|
|
466
466
|
name: "Accordion",
|
|
467
467
|
state: "expanded"
|
|
468
468
|
}), l = p.useCallback((eo) => {
|
|
469
|
-
|
|
470
|
-
}, [d, S,
|
|
469
|
+
g(!d), S && S(eo, !d);
|
|
470
|
+
}, [d, S, g]), [N, ...F] = p.Children.toArray(c), C = p.useMemo(() => ({
|
|
471
471
|
expanded: d,
|
|
472
|
-
disabled:
|
|
473
|
-
disableGutters:
|
|
472
|
+
disabled: y,
|
|
473
|
+
disableGutters: A,
|
|
474
474
|
toggle: l
|
|
475
|
-
}), [d,
|
|
475
|
+
}), [d, y, A, l]), u = {
|
|
476
476
|
...s,
|
|
477
|
-
square:
|
|
478
|
-
disabled:
|
|
479
|
-
disableGutters:
|
|
477
|
+
square: w,
|
|
478
|
+
disabled: y,
|
|
479
|
+
disableGutters: A,
|
|
480
480
|
expanded: d
|
|
481
|
-
},
|
|
482
|
-
transition:
|
|
483
|
-
...
|
|
481
|
+
}, E = zo(u), k = {
|
|
482
|
+
transition: j,
|
|
483
|
+
...v
|
|
484
484
|
}, a = {
|
|
485
|
-
transition:
|
|
486
|
-
...
|
|
487
|
-
},
|
|
488
|
-
slots:
|
|
485
|
+
transition: $,
|
|
486
|
+
...V
|
|
487
|
+
}, h = {
|
|
488
|
+
slots: k,
|
|
489
489
|
slotProps: a
|
|
490
|
-
}, [
|
|
491
|
-
elementType:
|
|
490
|
+
}, [P, O] = I("root", {
|
|
491
|
+
elementType: Vo,
|
|
492
492
|
externalForwardedProps: {
|
|
493
|
-
...
|
|
494
|
-
...
|
|
493
|
+
...h,
|
|
494
|
+
..._
|
|
495
495
|
},
|
|
496
|
-
className:
|
|
496
|
+
className: H(E.root, m),
|
|
497
497
|
shouldForwardComponentProp: !0,
|
|
498
498
|
ownerState: u,
|
|
499
499
|
ref: r,
|
|
500
500
|
additionalProps: {
|
|
501
|
-
square:
|
|
501
|
+
square: w
|
|
502
502
|
}
|
|
503
|
-
}), [
|
|
504
|
-
elementType:
|
|
505
|
-
externalForwardedProps:
|
|
506
|
-
className:
|
|
503
|
+
}), [D, W] = I("heading", {
|
|
504
|
+
elementType: $o,
|
|
505
|
+
externalForwardedProps: h,
|
|
506
|
+
className: E.heading,
|
|
507
507
|
ownerState: u
|
|
508
|
-
}), [Z,
|
|
509
|
-
elementType:
|
|
510
|
-
externalForwardedProps:
|
|
508
|
+
}), [Z, R] = I("transition", {
|
|
509
|
+
elementType: Q,
|
|
510
|
+
externalForwardedProps: h,
|
|
511
511
|
ownerState: u
|
|
512
|
-
}), [
|
|
513
|
-
elementType:
|
|
514
|
-
externalForwardedProps:
|
|
512
|
+
}), [U, oo] = I("region", {
|
|
513
|
+
elementType: _o,
|
|
514
|
+
externalForwardedProps: h,
|
|
515
515
|
ownerState: u,
|
|
516
|
-
className:
|
|
516
|
+
className: E.region,
|
|
517
517
|
additionalProps: {
|
|
518
518
|
"aria-labelledby": N.props.id,
|
|
519
519
|
id: N.props["aria-controls"],
|
|
520
520
|
role: "region"
|
|
521
521
|
}
|
|
522
522
|
});
|
|
523
|
-
return /* @__PURE__ */ i.jsxs(
|
|
523
|
+
return /* @__PURE__ */ i.jsxs(P, {
|
|
524
524
|
...O,
|
|
525
|
-
children: [/* @__PURE__ */ i.jsx(
|
|
526
|
-
...
|
|
527
|
-
children: /* @__PURE__ */ i.jsx(
|
|
528
|
-
value:
|
|
525
|
+
children: [/* @__PURE__ */ i.jsx(D, {
|
|
526
|
+
...W,
|
|
527
|
+
children: /* @__PURE__ */ i.jsx(no.Provider, {
|
|
528
|
+
value: C,
|
|
529
529
|
children: N
|
|
530
530
|
})
|
|
531
531
|
}), /* @__PURE__ */ i.jsx(Z, {
|
|
532
532
|
in: d,
|
|
533
533
|
timeout: "auto",
|
|
534
|
-
...
|
|
535
|
-
children: /* @__PURE__ */ i.jsx(
|
|
534
|
+
...R,
|
|
535
|
+
children: /* @__PURE__ */ i.jsx(U, {
|
|
536
536
|
...oo,
|
|
537
|
-
children:
|
|
537
|
+
children: F
|
|
538
538
|
})
|
|
539
539
|
})]
|
|
540
540
|
});
|
|
541
541
|
});
|
|
542
|
-
process.env.NODE_ENV !== "production" && (
|
|
542
|
+
process.env.NODE_ENV !== "production" && (io.propTypes = {
|
|
543
543
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
544
544
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
545
545
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -547,9 +547,9 @@ process.env.NODE_ENV !== "production" && (so.propTypes = {
|
|
|
547
547
|
/**
|
|
548
548
|
* The content of the component.
|
|
549
549
|
*/
|
|
550
|
-
children:
|
|
550
|
+
children: Po(o.node.isRequired, (e) => {
|
|
551
551
|
const t = p.Children.toArray(e.children)[0];
|
|
552
|
-
return
|
|
552
|
+
return ho.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.
|
|
@@ -628,40 +628,40 @@ process.env.NODE_ENV !== "production" && (so.propTypes = {
|
|
|
628
628
|
*/
|
|
629
629
|
TransitionProps: o.object
|
|
630
630
|
});
|
|
631
|
-
function
|
|
631
|
+
function Wo(e) {
|
|
632
632
|
return Y("MuiAccordionDetails", e);
|
|
633
633
|
}
|
|
634
634
|
X("MuiAccordionDetails", ["root"]);
|
|
635
|
-
const
|
|
635
|
+
const qo = (e) => {
|
|
636
636
|
const {
|
|
637
637
|
classes: t
|
|
638
638
|
} = e;
|
|
639
|
-
return
|
|
639
|
+
return K({
|
|
640
640
|
root: ["root"]
|
|
641
|
-
},
|
|
641
|
+
}, Wo, t);
|
|
642
642
|
}, Fo = T("div", {
|
|
643
643
|
name: "MuiAccordionDetails",
|
|
644
644
|
slot: "Root"
|
|
645
|
-
})(
|
|
645
|
+
})(M(({
|
|
646
646
|
theme: e
|
|
647
647
|
}) => ({
|
|
648
648
|
padding: e.spacing(1, 2, 2)
|
|
649
|
-
}))),
|
|
650
|
-
const s =
|
|
649
|
+
}))), ao = /* @__PURE__ */ p.forwardRef(function(t, r) {
|
|
650
|
+
const s = J({
|
|
651
651
|
props: t,
|
|
652
652
|
name: "MuiAccordionDetails"
|
|
653
653
|
}), {
|
|
654
654
|
className: c,
|
|
655
|
-
...
|
|
656
|
-
} = s,
|
|
655
|
+
...m
|
|
656
|
+
} = s, f = s, y = qo(f);
|
|
657
657
|
return /* @__PURE__ */ i.jsx(Fo, {
|
|
658
|
-
className:
|
|
658
|
+
className: H(y.root, c),
|
|
659
659
|
ref: r,
|
|
660
|
-
ownerState:
|
|
661
|
-
...
|
|
660
|
+
ownerState: f,
|
|
661
|
+
...m
|
|
662
662
|
});
|
|
663
663
|
});
|
|
664
|
-
process.env.NODE_ENV !== "production" && (
|
|
664
|
+
process.env.NODE_ENV !== "production" && (ao.propTypes = {
|
|
665
665
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
666
666
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
667
667
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -683,26 +683,26 @@ process.env.NODE_ENV !== "production" && (io.propTypes = {
|
|
|
683
683
|
*/
|
|
684
684
|
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
685
685
|
});
|
|
686
|
-
function
|
|
686
|
+
function ko(e) {
|
|
687
687
|
return Y("MuiAccordionSummary", e);
|
|
688
688
|
}
|
|
689
|
-
const
|
|
689
|
+
const q = X("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disabled", "gutters", "contentGutters", "content", "expandIconWrapper"]), Uo = (e) => {
|
|
690
690
|
const {
|
|
691
691
|
classes: t,
|
|
692
692
|
expanded: r,
|
|
693
693
|
disabled: s,
|
|
694
694
|
disableGutters: c
|
|
695
695
|
} = e;
|
|
696
|
-
return
|
|
696
|
+
return K({
|
|
697
697
|
root: ["root", r && "expanded", s && "disabled", !c && "gutters"],
|
|
698
698
|
focusVisible: ["focusVisible"],
|
|
699
699
|
content: ["content", r && "expanded", !c && "contentGutters"],
|
|
700
700
|
expandIconWrapper: ["expandIconWrapper", r && "expanded"]
|
|
701
|
-
},
|
|
702
|
-
},
|
|
701
|
+
}, ko, t);
|
|
702
|
+
}, Go = T(Ao, {
|
|
703
703
|
name: "MuiAccordionSummary",
|
|
704
704
|
slot: "Root"
|
|
705
|
-
})(
|
|
705
|
+
})(M(({
|
|
706
706
|
theme: e
|
|
707
707
|
}) => {
|
|
708
708
|
const t = {
|
|
@@ -714,28 +714,28 @@ const F = X("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disable
|
|
|
714
714
|
minHeight: 48,
|
|
715
715
|
padding: e.spacing(0, 2),
|
|
716
716
|
transition: e.transitions.create(["min-height", "background-color"], t),
|
|
717
|
-
[`&.${
|
|
717
|
+
[`&.${q.focusVisible}`]: {
|
|
718
718
|
backgroundColor: (e.vars || e).palette.action.focus
|
|
719
719
|
},
|
|
720
|
-
[`&.${
|
|
720
|
+
[`&.${q.disabled}`]: {
|
|
721
721
|
opacity: (e.vars || e).palette.action.disabledOpacity
|
|
722
722
|
},
|
|
723
|
-
[`&:hover:not(.${
|
|
723
|
+
[`&:hover:not(.${q.disabled})`]: {
|
|
724
724
|
cursor: "pointer"
|
|
725
725
|
},
|
|
726
726
|
variants: [{
|
|
727
727
|
props: (r) => !r.disableGutters,
|
|
728
728
|
style: {
|
|
729
|
-
[`&.${
|
|
729
|
+
[`&.${q.expanded}`]: {
|
|
730
730
|
minHeight: 64
|
|
731
731
|
}
|
|
732
732
|
}
|
|
733
733
|
}]
|
|
734
734
|
};
|
|
735
|
-
})),
|
|
735
|
+
})), Ho = T("span", {
|
|
736
736
|
name: "MuiAccordionSummary",
|
|
737
737
|
slot: "Content"
|
|
738
|
-
})(
|
|
738
|
+
})(M(({
|
|
739
739
|
theme: e
|
|
740
740
|
}) => ({
|
|
741
741
|
display: "flex",
|
|
@@ -748,15 +748,15 @@ const F = X("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disable
|
|
|
748
748
|
transition: e.transitions.create(["margin"], {
|
|
749
749
|
duration: e.transitions.duration.shortest
|
|
750
750
|
}),
|
|
751
|
-
[`&.${
|
|
751
|
+
[`&.${q.expanded}`]: {
|
|
752
752
|
margin: "20px 0"
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
755
|
}]
|
|
756
|
-
}))),
|
|
756
|
+
}))), Bo = T("span", {
|
|
757
757
|
name: "MuiAccordionSummary",
|
|
758
758
|
slot: "ExpandIconWrapper"
|
|
759
|
-
})(
|
|
759
|
+
})(M(({
|
|
760
760
|
theme: e
|
|
761
761
|
}) => ({
|
|
762
762
|
display: "flex",
|
|
@@ -765,84 +765,84 @@ const F = X("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disable
|
|
|
765
765
|
transition: e.transitions.create("transform", {
|
|
766
766
|
duration: e.transitions.duration.shortest
|
|
767
767
|
}),
|
|
768
|
-
[`&.${
|
|
768
|
+
[`&.${q.expanded}`]: {
|
|
769
769
|
transform: "rotate(180deg)"
|
|
770
770
|
}
|
|
771
|
-
}))),
|
|
772
|
-
const s =
|
|
771
|
+
}))), co = /* @__PURE__ */ p.forwardRef(function(t, r) {
|
|
772
|
+
const s = J({
|
|
773
773
|
props: t,
|
|
774
774
|
name: "MuiAccordionSummary"
|
|
775
775
|
}), {
|
|
776
776
|
children: c,
|
|
777
|
-
className:
|
|
778
|
-
expandIcon:
|
|
779
|
-
focusVisibleClassName:
|
|
780
|
-
onClick:
|
|
781
|
-
slots:
|
|
777
|
+
className: m,
|
|
778
|
+
expandIcon: f,
|
|
779
|
+
focusVisibleClassName: y,
|
|
780
|
+
onClick: A,
|
|
781
|
+
slots: z,
|
|
782
782
|
slotProps: S,
|
|
783
|
-
...
|
|
783
|
+
...w
|
|
784
784
|
} = s, {
|
|
785
|
-
disabled:
|
|
786
|
-
disableGutters:
|
|
787
|
-
expanded:
|
|
788
|
-
toggle:
|
|
789
|
-
} = p.useContext(
|
|
790
|
-
|
|
785
|
+
disabled: v = !1,
|
|
786
|
+
disableGutters: V,
|
|
787
|
+
expanded: j,
|
|
788
|
+
toggle: $
|
|
789
|
+
} = p.useContext(no), _ = (a) => {
|
|
790
|
+
$ && $(a), A && A(a);
|
|
791
791
|
}, d = {
|
|
792
792
|
...s,
|
|
793
|
-
expanded:
|
|
794
|
-
disabled:
|
|
795
|
-
disableGutters:
|
|
796
|
-
},
|
|
797
|
-
slots:
|
|
793
|
+
expanded: j,
|
|
794
|
+
disabled: v,
|
|
795
|
+
disableGutters: V
|
|
796
|
+
}, g = Uo(d), l = {
|
|
797
|
+
slots: z,
|
|
798
798
|
slotProps: S
|
|
799
|
-
}, [N,
|
|
799
|
+
}, [N, F] = I("root", {
|
|
800
800
|
ref: r,
|
|
801
801
|
shouldForwardComponentProp: !0,
|
|
802
|
-
className:
|
|
803
|
-
elementType:
|
|
802
|
+
className: H(g.root, m),
|
|
803
|
+
elementType: Go,
|
|
804
804
|
externalForwardedProps: {
|
|
805
805
|
...l,
|
|
806
|
-
...
|
|
806
|
+
...w
|
|
807
807
|
},
|
|
808
808
|
ownerState: d,
|
|
809
809
|
additionalProps: {
|
|
810
810
|
focusRipple: !1,
|
|
811
811
|
disableRipple: !0,
|
|
812
|
-
disabled:
|
|
813
|
-
"aria-expanded":
|
|
814
|
-
focusVisibleClassName:
|
|
812
|
+
disabled: v,
|
|
813
|
+
"aria-expanded": j,
|
|
814
|
+
focusVisibleClassName: H(g.focusVisible, y)
|
|
815
815
|
},
|
|
816
816
|
getSlotProps: (a) => ({
|
|
817
817
|
...a,
|
|
818
|
-
onClick: (
|
|
819
|
-
var
|
|
820
|
-
(
|
|
818
|
+
onClick: (h) => {
|
|
819
|
+
var P;
|
|
820
|
+
(P = a.onClick) == null || P.call(a, h), _(h);
|
|
821
821
|
}
|
|
822
822
|
})
|
|
823
|
-
}), [
|
|
824
|
-
className:
|
|
825
|
-
elementType:
|
|
823
|
+
}), [C, u] = I("content", {
|
|
824
|
+
className: g.content,
|
|
825
|
+
elementType: Ho,
|
|
826
826
|
externalForwardedProps: l,
|
|
827
827
|
ownerState: d
|
|
828
|
-
}), [
|
|
829
|
-
className:
|
|
830
|
-
elementType:
|
|
828
|
+
}), [E, k] = I("expandIconWrapper", {
|
|
829
|
+
className: g.expandIconWrapper,
|
|
830
|
+
elementType: Bo,
|
|
831
831
|
externalForwardedProps: l,
|
|
832
832
|
ownerState: d
|
|
833
833
|
});
|
|
834
834
|
return /* @__PURE__ */ i.jsxs(N, {
|
|
835
|
-
...
|
|
836
|
-
children: [/* @__PURE__ */ i.jsx(
|
|
835
|
+
...F,
|
|
836
|
+
children: [/* @__PURE__ */ i.jsx(C, {
|
|
837
837
|
...u,
|
|
838
838
|
children: c
|
|
839
|
-
}),
|
|
840
|
-
...
|
|
841
|
-
children:
|
|
839
|
+
}), f && /* @__PURE__ */ i.jsx(E, {
|
|
840
|
+
...k,
|
|
841
|
+
children: f
|
|
842
842
|
})]
|
|
843
843
|
});
|
|
844
844
|
});
|
|
845
|
-
process.env.NODE_ENV !== "production" && (
|
|
845
|
+
process.env.NODE_ENV !== "production" && (co.propTypes = {
|
|
846
846
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
847
847
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
848
848
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -899,21 +899,35 @@ process.env.NODE_ENV !== "production" && (ao.propTypes = {
|
|
|
899
899
|
*/
|
|
900
900
|
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
901
901
|
});
|
|
902
|
-
const
|
|
902
|
+
const to = ({
|
|
903
903
|
title: e,
|
|
904
904
|
children: t,
|
|
905
905
|
startIcon: r,
|
|
906
906
|
titleTypographyProps: s,
|
|
907
907
|
accordionSummaryProps: c,
|
|
908
|
-
accordionDetailsProps:
|
|
909
|
-
...
|
|
910
|
-
}) => /* @__PURE__ */ i.jsxs(
|
|
911
|
-
e || r ? /* @__PURE__ */ i.jsx(
|
|
908
|
+
accordionDetailsProps: m,
|
|
909
|
+
...f
|
|
910
|
+
}) => /* @__PURE__ */ i.jsxs(io, { elevation: 0, ...f, children: [
|
|
911
|
+
e || r ? /* @__PURE__ */ i.jsx(co, { expandIcon: /* @__PURE__ */ i.jsx(yo, {}), ...c, children: /* @__PURE__ */ i.jsxs(wo, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
912
912
|
r,
|
|
913
|
-
/* @__PURE__ */ i.jsx(
|
|
913
|
+
/* @__PURE__ */ i.jsx(vo, { variant: "subtitle1", fontWeight: 600, ...s, children: e })
|
|
914
914
|
] }) }) : null,
|
|
915
|
-
/* @__PURE__ */ i.jsx(
|
|
915
|
+
/* @__PURE__ */ i.jsx(ao, { ...m, children: t })
|
|
916
916
|
] });
|
|
917
|
+
to.displayName = "SAccordion";
|
|
918
|
+
try {
|
|
919
|
+
to.displayName = "SAccordion", to.__docgenInfo = { description: `A collapsible accordion component built on Material-UI Accordion with custom theming,
|
|
920
|
+
optional icons, and smooth expand/collapse animations. Perfect for organizing content
|
|
921
|
+
sections and FAQs.`, displayName: "SAccordion", props: { title: { defaultValue: null, description: "The title/header content of the accordion", name: "title", required: !0, type: { name: "ReactNode" } }, startIcon: { defaultValue: null, description: "Optional icon to display at the start of the accordion header", name: "startIcon", required: !1, type: { name: "ReactNode" } }, titleTypographyProps: { defaultValue: null, description: "Props to pass to the Typography component for the title", name: "titleTypographyProps", required: !1, type: { name: "TypographyProps" } }, accordionSummaryProps: { defaultValue: null, description: "Props to pass to the AccordionSummary component for customization", name: "accordionSummaryProps", required: !1, type: { name: "AccordionSummaryProps" } }, accordionDetailsProps: { defaultValue: null, description: "Props to pass to the AccordionDetails component for customization", name: "accordionDetailsProps", required: !1, type: { name: "AccordionDetailsProps" } } } };
|
|
922
|
+
} catch {
|
|
923
|
+
}
|
|
924
|
+
try {
|
|
925
|
+
saccordion.displayName = "saccordion", saccordion.__docgenInfo = { description: `A collapsible accordion component built on Material-UI Accordion with custom theming,
|
|
926
|
+
optional icons, and smooth expand/collapse animations. Perfect for organizing content
|
|
927
|
+
sections and FAQs.`, displayName: "saccordion", props: { title: { defaultValue: null, description: "The title/header content of the accordion", name: "title", required: !0, type: { name: "ReactNode" } }, startIcon: { defaultValue: null, description: "Optional icon to display at the start of the accordion header", name: "startIcon", required: !1, type: { name: "ReactNode" } }, titleTypographyProps: { defaultValue: null, description: "Props to pass to the Typography component for the title", name: "titleTypographyProps", required: !1, type: { name: "TypographyProps" } }, accordionSummaryProps: { defaultValue: null, description: "Props to pass to the AccordionSummary component for customization", name: "accordionSummaryProps", required: !1, type: { name: "AccordionSummaryProps" } }, accordionDetailsProps: { defaultValue: null, description: "Props to pass to the AccordionDetails component for customization", name: "accordionDetailsProps", required: !1, type: { name: "AccordionDetailsProps" } } } };
|
|
928
|
+
} catch {
|
|
929
|
+
}
|
|
917
930
|
export {
|
|
918
|
-
|
|
931
|
+
to as SAccordion,
|
|
932
|
+
to as default
|
|
919
933
|
};
|