@solostylist/ui-kit 1.0.211 → 1.0.212
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/{ArrowUpward-BPZzNgi2.js → ArrowUpward-O4lRvSII.js} +1 -1
- package/dist/ButtonBase-1qqPHJym.js +609 -0
- package/dist/{ChevronLeft-DYoIZPzf.js → ChevronLeft-CJ94-qgQ.js} +1 -1
- package/dist/{ChevronRight-BecIE-H9.js → ChevronRight-CK4Iv1Xx.js} +1 -1
- package/dist/{Close-owIfEKhu.js → Close-CSIi_IPN.js} +1 -1
- package/dist/Collapse-CS2l0W42.js +264 -0
- package/dist/{ContentCopy-22z-lNLI.js → ContentCopy-SAMH7bs7.js} +1 -1
- package/dist/{Download-Dg9NBUSj.js → Download-BefdWd5q.js} +1 -1
- package/dist/{ExpandMore-BOF9F55V.js → ExpandMore-DZANUF9W.js} +1 -1
- package/dist/{Favorite-BVeoH6Jh.js → Favorite-BwMGKQJf.js} +1 -1
- package/dist/{LocalizationProvider-BURK_lV0.js → LocalizationProvider-C07_J3LH.js} +2 -1
- package/dist/{Menu-C1gbagw8.js → Menu-CGfkgDXQ.js} +606 -604
- package/dist/{MenuItem-DyhMKc_V.js → MenuItem-C0am2QZu.js} +7 -6
- package/dist/Paper-Sm1vMalk.js +135 -0
- package/dist/{Select-DdIw08Ux.js → Select-BrRoHcey.js} +40 -39
- package/dist/{Typography-BXFTm80G.js → Typography-Ci004UCT.js} +2 -2
- package/dist/{avatar-_TCe35VV.js → avatar-CKEYVp9W.js} +1 -1
- package/dist/{checkbox-Dt9Jyrbh.js → checkbox-CMvDozaV.js} +1 -1
- package/dist/{createSvgIcon-CMGRw0Lo.js → createSvgIcon-BfZYaiXo.js} +1 -1
- package/dist/{objectWithoutPropertiesLoose-D6aDjjWS.js → extends-DtvfmDTb.js} +1 -12
- package/dist/objectWithoutPropertiesLoose-Cq334jkZ.js +12 -0
- package/dist/s-accordion/index.js +1 -1
- package/dist/s-accordion/s-accordion.js +1 -1
- package/dist/s-accordion-z8VaU68k.js +462 -0
- package/dist/s-avatar/s-avatar.d.ts +1 -1
- package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
- package/dist/s-carousel/index.js +1 -1
- package/dist/s-carousel/s-carousel.js +1 -1
- package/dist/{s-carousel-CGX87bjg.js → s-carousel-CR-JjoDx.js} +1 -1
- package/dist/s-chat-input/index.js +1 -1
- package/dist/s-chat-input/s-chat-input.js +1 -1
- package/dist/{s-chat-input-BXwhUdvm.js → s-chat-input-7fYcz8tL.js} +4 -4
- package/dist/s-chat-message/index.js +1 -1
- package/dist/s-chat-message/s-chat-message.js +1 -1
- package/dist/{s-chat-message-DU6sQjxx.js → s-chat-message-BT05O6Fa.js} +2 -2
- package/dist/s-chips/index.js +1 -1
- package/dist/s-chips/s-chips.js +1 -1
- package/dist/{s-chips-CosD17ng.js → s-chips-CMivbDg_.js} +1 -1
- package/dist/s-code-block/index.js +1 -1
- package/dist/s-code-block/s-code-block.js +1 -1
- package/dist/{s-code-block-qdU4tr3O.js → s-code-block-BrwHh2oS.js} +1 -1
- package/dist/s-comment-message/index.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +1 -1
- package/dist/{s-comment-message-BNEmIOGv.js → s-comment-message-YSb11mDV.js} +3 -3
- package/dist/s-copyable-text/s-copyable-text.js +1 -1
- package/dist/s-data-table/index.js +1 -1
- package/dist/s-data-table/s-data-table.js +1 -1
- package/dist/{s-data-table-J8XJWWBV.js → s-data-table-DYjPSDPe.js} +17 -16
- package/dist/s-date-picker/index.js +1 -1
- package/dist/s-date-picker/s-date-picker.js +1 -1
- package/dist/{s-date-picker-DsVzH2z9.js → s-date-picker-DkmKLO4E.js} +5 -4
- package/dist/s-datetime-picker/index.js +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
- package/dist/{s-datetime-picker-Ba_hgXEo.js → s-datetime-picker-VHyJ6NUS.js} +303 -301
- package/dist/s-dialog/s-dialog.js +1 -1
- package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
- package/dist/s-dialog-message/s-dialog-message.js +2 -2
- package/dist/s-file-dropzone/index.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
- package/dist/{s-file-dropzone-U--yIQ0o.js → s-file-dropzone-BFTqdCaX.js} +2 -2
- package/dist/s-image-comparison/s-image-comparison.js +2 -2
- package/dist/s-image-modal/s-image-modal.js +3 -3
- package/dist/s-label/index.js +1 -1
- package/dist/s-label/s-label.js +1 -1
- package/dist/{s-label-DSVEMOfm.js → s-label-BYT4eG6o.js} +1 -1
- package/dist/s-language-switcher/index.js +1 -1
- package/dist/s-language-switcher/s-language-switcher.js +1 -1
- package/dist/{s-language-switcher-CG1TfY0A.js → s-language-switcher-BojBckp0.js} +3 -3
- package/dist/s-localization-provider/index.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +1 -1
- package/dist/{s-localization-provider-D3NT6y0c.js → s-localization-provider-CIACI235.js} +2 -2
- package/dist/s-multi-select/index.js +1 -1
- package/dist/s-multi-select/s-multi-select.js +1 -1
- package/dist/{s-multi-select-CTtWSr8-.js → s-multi-select-CRXew1KJ.js} +4 -4
- package/dist/s-nav-item/index.d.ts +3 -0
- package/dist/s-nav-item/index.js +4 -0
- package/dist/s-nav-item/s-nav-item.d.ts +34 -0
- package/dist/s-nav-item/s-nav-item.js +80 -0
- package/dist/s-nav-item/s-nav-items.d.ts +56 -0
- package/dist/s-nav-item/s-nav-items.js +135 -0
- package/dist/s-review/index.js +1 -1
- package/dist/s-review/s-review.js +1 -1
- package/dist/{s-review-BC1lHIm6.js → s-review-BMbUNSZR.js} +1 -1
- package/dist/s-scroll-to-top/s-scroll-to-top.js +1 -1
- package/dist/s-select/index.js +1 -1
- package/dist/s-select/s-select.js +1 -1
- package/dist/{s-select-C21R0N2u.js → s-select-GRyyPITy.js} +1 -1
- package/dist/s-stripe/s-stripe.js +1 -1
- package/dist/s-text-editor/index.js +1 -1
- package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
- package/dist/s-text-editor/s-text-editor.js +1 -1
- package/dist/{s-text-editor-toolbar-Cryg0LAh.js → s-text-editor-toolbar-DSjX1GXv.js} +4 -4
- package/dist/s-text-field/index.js +1 -1
- package/dist/s-text-field/s-text-field.js +1 -1
- package/dist/{s-text-field-D1IehXqm.js → s-text-field-UI_UjTUa.js} +1 -1
- package/dist/s-theme-demo/index.js +1 -1
- package/dist/s-theme-demo/s-theme-demo.js +1 -1
- package/dist/{s-theme-demo-zAOHpUI7.js → s-theme-demo-D3IF6lkI.js} +4 -4
- package/dist/s-theme-switch/index.js +1 -1
- package/dist/s-theme-switch/s-theme-switch.js +1 -1
- package/dist/{s-theme-switch-B9r8_N1i.js → s-theme-switch-COBORL4a.js} +1 -1
- package/dist/s-tip/index.js +1 -1
- package/dist/s-tip/s-tip.js +1 -1
- package/dist/{s-tip-C34wQGJ-.js → s-tip-BI58w2uh.js} +2 -2
- package/dist/s-tool-bar/index.js +1 -1
- package/dist/s-tool-bar/s-tool-bar.js +1 -1
- package/dist/{s-tool-bar-BciD39jt.js → s-tool-bar-DYFFybyj.js} +4 -4
- package/dist/{select-BcLqQ0sF.js → select-BT9USOXL.js} +1 -1
- package/dist/theme/components/avatar.js +1 -1
- package/dist/theme/components/checkbox.js +1 -1
- package/dist/theme/components/chip.js +1 -1
- package/dist/theme/components/components.js +5 -5
- package/dist/theme/components/list-item-button.js +1 -1
- package/dist/theme/components/list-item.js +3 -3
- package/dist/theme/components/outlined-input.js +1 -1
- package/dist/theme/components/select.js +1 -1
- package/dist/theme/components/tab.js +1 -1
- package/dist/theme/components/table-pagination.js +1 -1
- package/dist/theme/components/toggle-button-group.js +1 -1
- package/dist/theme/components/toggle-button.js +1 -1
- package/dist/{useMobilePicker-D6CIp1i2.js → useMobilePicker-CAMBlpgB.js} +74 -71
- package/dist/useSlot-BfqKgBbE.js +192 -0
- package/dist/utils-BqJ3HDtA.js +198 -0
- package/package.json +1 -1
- package/dist/Paper-BqlfdEtj.js +0 -326
- package/dist/s-accordion-DkA0dsLD.js +0 -712
- package/dist/useSlot-TsaoJMJN.js +0 -798
- /package/dist/{buttonBaseClasses-DOwL2wHr.js → buttonBaseClasses-D1dQFqBk.js} +0 -0
- /package/dist/{createSimplePaletteValueFilter-AnLSDyLU.js → createSimplePaletteValueFilter-D5kxdvJe.js} +0 -0
- /package/dist/{iconButtonClasses-DC67mWBJ.js → iconButtonClasses-UNZ6hKTU.js} +0 -0
- /package/dist/{mergeSlotProps-CsqK8tmH.js → mergeSlotProps-CVIr4jSm.js} +0 -0
- /package/dist/{outlinedInputClasses-Cmc2eWLD.js → outlinedInputClasses-ClI9bkEy.js} +0 -0
- /package/dist/{svgIconClasses-DrmLtTkP.js → svgIconClasses-BhRa1KyZ.js} +0 -0
- /package/dist/{tabClasses-ywhJ0fbh.js → tabClasses-Duc8s_po.js} +0 -0
- /package/dist/{toggle-button-2wwhzKdn.js → toggle-button-BtL4kaOZ.js} +0 -0
- /package/dist/{toggle-button-group-Dpe5CZL_.js → toggle-button-group-CTajBjl-.js} +0 -0
- /package/dist/{typographyClasses-C8Mm57es.js → typographyClasses-CBI3nZde.js} +0 -0
- /package/dist/{useControlled-DZYTbMHD.js → useControlled-8Zs5aelG.js} +0 -0
- /package/dist/{useFormControl-C-CuXT4Y.js → useFormControl-DvExOQVA.js} +0 -0
|
@@ -0,0 +1,462 @@
|
|
|
1
|
+
import { n as e } from "./chunk-efA98nb6.js";
|
|
2
|
+
import { _ as t, g as n } from "./createTheme-hnicUJQa.js";
|
|
3
|
+
import { r, s as i, t as a } from "./memoTheme-DiKnacj0.js";
|
|
4
|
+
import { t as o } from "./clsx-BTH_sxEO.js";
|
|
5
|
+
import { t as s } from "./generateUtilityClass-D4Rn9MbW.js";
|
|
6
|
+
import { t as c } from "./generateUtilityClasses-CX1nR7K3.js";
|
|
7
|
+
import { t as l } from "./styled-C0_N3zFx.js";
|
|
8
|
+
import { t as u } from "./Stack-BrIUVvqB.js";
|
|
9
|
+
import { t as d } from "./ButtonBase-1qqPHJym.js";
|
|
10
|
+
import { m as f, t as p } from "./useSlot-BfqKgBbE.js";
|
|
11
|
+
import { t as m } from "./useControlled-8Zs5aelG.js";
|
|
12
|
+
import { t as h } from "./Typography-Ci004UCT.js";
|
|
13
|
+
import { t as g } from "./ExpandMore-DZANUF9W.js";
|
|
14
|
+
import { t as _ } from "./Paper-Sm1vMalk.js";
|
|
15
|
+
import { t as v } from "./Collapse-CS2l0W42.js";
|
|
16
|
+
import * as y from "react";
|
|
17
|
+
import "react";
|
|
18
|
+
import { jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
19
|
+
//#region ../../node_modules/@mui/material/esm/Accordion/AccordionContext.js
|
|
20
|
+
var S = /* @__PURE__ */ y.createContext({});
|
|
21
|
+
process.env.NODE_ENV !== "production" && (S.displayName = "AccordionContext");
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region ../../node_modules/@mui/material/esm/Accordion/accordionClasses.js
|
|
24
|
+
function C(e) {
|
|
25
|
+
return s("MuiAccordion", e);
|
|
26
|
+
}
|
|
27
|
+
var w = c("MuiAccordion", [
|
|
28
|
+
"root",
|
|
29
|
+
"heading",
|
|
30
|
+
"rounded",
|
|
31
|
+
"expanded",
|
|
32
|
+
"disabled",
|
|
33
|
+
"gutters",
|
|
34
|
+
"region"
|
|
35
|
+
]), T = n(), E = /* @__PURE__ */ e(t()), D = (e) => {
|
|
36
|
+
let { classes: t, square: n, expanded: r, disabled: a, disableGutters: o } = e;
|
|
37
|
+
return i({
|
|
38
|
+
root: [
|
|
39
|
+
"root",
|
|
40
|
+
!n && "rounded",
|
|
41
|
+
r && "expanded",
|
|
42
|
+
a && "disabled",
|
|
43
|
+
!o && "gutters"
|
|
44
|
+
],
|
|
45
|
+
heading: ["heading"],
|
|
46
|
+
region: ["region"]
|
|
47
|
+
}, C, t);
|
|
48
|
+
}, O = l(_, {
|
|
49
|
+
name: "MuiAccordion",
|
|
50
|
+
slot: "Root",
|
|
51
|
+
overridesResolver: (e, t) => {
|
|
52
|
+
let { ownerState: n } = e;
|
|
53
|
+
return [
|
|
54
|
+
{ [`& .${w.region}`]: t.region },
|
|
55
|
+
t.root,
|
|
56
|
+
!n.square && t.rounded,
|
|
57
|
+
!n.disableGutters && t.gutters
|
|
58
|
+
];
|
|
59
|
+
}
|
|
60
|
+
})(a(({ theme: e }) => {
|
|
61
|
+
let t = { duration: e.transitions.duration.shortest };
|
|
62
|
+
return {
|
|
63
|
+
position: "relative",
|
|
64
|
+
transition: e.transitions.create(["margin"], t),
|
|
65
|
+
overflowAnchor: "none",
|
|
66
|
+
"&::before": {
|
|
67
|
+
position: "absolute",
|
|
68
|
+
left: 0,
|
|
69
|
+
top: -1,
|
|
70
|
+
right: 0,
|
|
71
|
+
height: 1,
|
|
72
|
+
content: "\"\"",
|
|
73
|
+
opacity: 1,
|
|
74
|
+
backgroundColor: (e.vars || e).palette.divider,
|
|
75
|
+
transition: e.transitions.create(["opacity", "background-color"], t)
|
|
76
|
+
},
|
|
77
|
+
"&:first-of-type": { "&::before": { display: "none" } },
|
|
78
|
+
[`&.${w.expanded}`]: {
|
|
79
|
+
"&::before": { opacity: 0 },
|
|
80
|
+
"&:first-of-type": { marginTop: 0 },
|
|
81
|
+
"&:last-of-type": { marginBottom: 0 },
|
|
82
|
+
"& + &": { "&::before": { display: "none" } }
|
|
83
|
+
},
|
|
84
|
+
[`&.${w.disabled}`]: { backgroundColor: (e.vars || e).palette.action.disabledBackground }
|
|
85
|
+
};
|
|
86
|
+
}), a(({ theme: e }) => ({ variants: [{
|
|
87
|
+
props: (e) => !e.square,
|
|
88
|
+
style: {
|
|
89
|
+
borderRadius: 0,
|
|
90
|
+
"&:first-of-type": {
|
|
91
|
+
borderTopLeftRadius: (e.vars || e).shape.borderRadius,
|
|
92
|
+
borderTopRightRadius: (e.vars || e).shape.borderRadius
|
|
93
|
+
},
|
|
94
|
+
"&:last-of-type": {
|
|
95
|
+
borderBottomLeftRadius: (e.vars || e).shape.borderRadius,
|
|
96
|
+
borderBottomRightRadius: (e.vars || e).shape.borderRadius,
|
|
97
|
+
"@supports (-ms-ime-align: auto)": {
|
|
98
|
+
borderBottomLeftRadius: 0,
|
|
99
|
+
borderBottomRightRadius: 0
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}, {
|
|
104
|
+
props: (e) => !e.disableGutters,
|
|
105
|
+
style: { [`&.${w.expanded}`]: { margin: "16px 0" } }
|
|
106
|
+
}] }))), k = l("h3", {
|
|
107
|
+
name: "MuiAccordion",
|
|
108
|
+
slot: "Heading"
|
|
109
|
+
})({ all: "unset" }), A = l("div", {
|
|
110
|
+
name: "MuiAccordion",
|
|
111
|
+
slot: "Region"
|
|
112
|
+
})({}), j = /* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
113
|
+
let n = r({
|
|
114
|
+
props: e,
|
|
115
|
+
name: "MuiAccordion"
|
|
116
|
+
}), { children: i, className: a, defaultExpanded: s = !1, disabled: c = !1, disableGutters: l = !1, expanded: u, onChange: d, slots: f = {}, slotProps: h = {}, TransitionComponent: g, TransitionProps: _, ...C } = n, [w, T] = m({
|
|
117
|
+
controlled: u,
|
|
118
|
+
default: s,
|
|
119
|
+
name: "Accordion",
|
|
120
|
+
state: "expanded"
|
|
121
|
+
}), E = y.useCallback((e) => {
|
|
122
|
+
T(!w), d && d(e, !w);
|
|
123
|
+
}, [
|
|
124
|
+
w,
|
|
125
|
+
d,
|
|
126
|
+
T
|
|
127
|
+
]), [j, ...M] = y.Children.toArray(i), N = y.useMemo(() => ({
|
|
128
|
+
expanded: w,
|
|
129
|
+
disabled: c,
|
|
130
|
+
disableGutters: l,
|
|
131
|
+
toggle: E
|
|
132
|
+
}), [
|
|
133
|
+
w,
|
|
134
|
+
c,
|
|
135
|
+
l,
|
|
136
|
+
E
|
|
137
|
+
]), P = {
|
|
138
|
+
...n,
|
|
139
|
+
disabled: c,
|
|
140
|
+
disableGutters: l,
|
|
141
|
+
expanded: w
|
|
142
|
+
}, F = D(P), I = {
|
|
143
|
+
slots: {
|
|
144
|
+
transition: g,
|
|
145
|
+
...f
|
|
146
|
+
},
|
|
147
|
+
slotProps: {
|
|
148
|
+
transition: _,
|
|
149
|
+
...h
|
|
150
|
+
}
|
|
151
|
+
}, [L, R] = p("root", {
|
|
152
|
+
elementType: O,
|
|
153
|
+
externalForwardedProps: {
|
|
154
|
+
...I,
|
|
155
|
+
...C
|
|
156
|
+
},
|
|
157
|
+
className: o(F.root, a),
|
|
158
|
+
shouldForwardComponentProp: !0,
|
|
159
|
+
ownerState: P,
|
|
160
|
+
ref: t
|
|
161
|
+
}), [z, B] = p("heading", {
|
|
162
|
+
elementType: k,
|
|
163
|
+
externalForwardedProps: I,
|
|
164
|
+
className: F.heading,
|
|
165
|
+
ownerState: P
|
|
166
|
+
}), [V, H] = p("transition", {
|
|
167
|
+
elementType: v,
|
|
168
|
+
externalForwardedProps: I,
|
|
169
|
+
ownerState: P
|
|
170
|
+
}), [U, W] = p("region", {
|
|
171
|
+
elementType: A,
|
|
172
|
+
externalForwardedProps: I,
|
|
173
|
+
ownerState: P,
|
|
174
|
+
className: F.region,
|
|
175
|
+
additionalProps: {
|
|
176
|
+
"aria-labelledby": j.props.id,
|
|
177
|
+
id: j.props["aria-controls"],
|
|
178
|
+
role: "region"
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
return /* @__PURE__ */ x(L, {
|
|
182
|
+
...R,
|
|
183
|
+
children: [/* @__PURE__ */ b(z, {
|
|
184
|
+
...B,
|
|
185
|
+
children: /* @__PURE__ */ b(S.Provider, {
|
|
186
|
+
value: N,
|
|
187
|
+
children: j
|
|
188
|
+
})
|
|
189
|
+
}), /* @__PURE__ */ b(V, {
|
|
190
|
+
in: w,
|
|
191
|
+
timeout: "auto",
|
|
192
|
+
...H,
|
|
193
|
+
children: /* @__PURE__ */ b(U, {
|
|
194
|
+
...W,
|
|
195
|
+
children: M
|
|
196
|
+
})
|
|
197
|
+
})]
|
|
198
|
+
});
|
|
199
|
+
});
|
|
200
|
+
process.env.NODE_ENV !== "production" && (j.propTypes = {
|
|
201
|
+
children: f(E.default.node.isRequired, (e) => {
|
|
202
|
+
let t = y.Children.toArray(e.children)[0];
|
|
203
|
+
return (0, T.isFragment)(t) ? /* @__PURE__ */ Error("MUI: The Accordion doesn't accept a Fragment as a child. Consider providing an array instead.") : /* @__PURE__ */ y.isValidElement(t) ? null : /* @__PURE__ */ Error("MUI: Expected the first child of Accordion to be a valid element.");
|
|
204
|
+
}),
|
|
205
|
+
classes: E.default.object,
|
|
206
|
+
className: E.default.string,
|
|
207
|
+
defaultExpanded: E.default.bool,
|
|
208
|
+
disabled: E.default.bool,
|
|
209
|
+
disableGutters: E.default.bool,
|
|
210
|
+
expanded: E.default.bool,
|
|
211
|
+
onChange: E.default.func,
|
|
212
|
+
slotProps: E.default.shape({
|
|
213
|
+
heading: E.default.oneOfType([E.default.func, E.default.object]),
|
|
214
|
+
region: E.default.oneOfType([E.default.func, E.default.object]),
|
|
215
|
+
root: E.default.oneOfType([E.default.func, E.default.object]),
|
|
216
|
+
transition: E.default.oneOfType([E.default.func, E.default.object])
|
|
217
|
+
}),
|
|
218
|
+
slots: E.default.shape({
|
|
219
|
+
heading: E.default.elementType,
|
|
220
|
+
region: E.default.elementType,
|
|
221
|
+
root: E.default.elementType,
|
|
222
|
+
transition: E.default.elementType
|
|
223
|
+
}),
|
|
224
|
+
sx: E.default.oneOfType([
|
|
225
|
+
E.default.arrayOf(E.default.oneOfType([
|
|
226
|
+
E.default.func,
|
|
227
|
+
E.default.object,
|
|
228
|
+
E.default.bool
|
|
229
|
+
])),
|
|
230
|
+
E.default.func,
|
|
231
|
+
E.default.object
|
|
232
|
+
]),
|
|
233
|
+
TransitionComponent: E.default.elementType,
|
|
234
|
+
TransitionProps: E.default.object
|
|
235
|
+
});
|
|
236
|
+
//#endregion
|
|
237
|
+
//#region ../../node_modules/@mui/material/esm/AccordionDetails/accordionDetailsClasses.js
|
|
238
|
+
function M(e) {
|
|
239
|
+
return s("MuiAccordionDetails", e);
|
|
240
|
+
}
|
|
241
|
+
c("MuiAccordionDetails", ["root"]);
|
|
242
|
+
//#endregion
|
|
243
|
+
//#region ../../node_modules/@mui/material/esm/AccordionDetails/AccordionDetails.js
|
|
244
|
+
var N = (e) => {
|
|
245
|
+
let { classes: t } = e;
|
|
246
|
+
return i({ root: ["root"] }, M, t);
|
|
247
|
+
}, P = l("div", {
|
|
248
|
+
name: "MuiAccordionDetails",
|
|
249
|
+
slot: "Root"
|
|
250
|
+
})(a(({ theme: e }) => ({ padding: e.spacing(1, 2, 2) }))), F = /* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
251
|
+
let n = r({
|
|
252
|
+
props: e,
|
|
253
|
+
name: "MuiAccordionDetails"
|
|
254
|
+
}), { className: i, ...a } = n, s = n;
|
|
255
|
+
return /* @__PURE__ */ b(P, {
|
|
256
|
+
className: o(N(s).root, i),
|
|
257
|
+
ref: t,
|
|
258
|
+
ownerState: s,
|
|
259
|
+
...a
|
|
260
|
+
});
|
|
261
|
+
});
|
|
262
|
+
process.env.NODE_ENV !== "production" && (F.propTypes = {
|
|
263
|
+
children: E.default.node,
|
|
264
|
+
classes: E.default.object,
|
|
265
|
+
className: E.default.string,
|
|
266
|
+
sx: E.default.oneOfType([
|
|
267
|
+
E.default.arrayOf(E.default.oneOfType([
|
|
268
|
+
E.default.func,
|
|
269
|
+
E.default.object,
|
|
270
|
+
E.default.bool
|
|
271
|
+
])),
|
|
272
|
+
E.default.func,
|
|
273
|
+
E.default.object
|
|
274
|
+
])
|
|
275
|
+
});
|
|
276
|
+
//#endregion
|
|
277
|
+
//#region ../../node_modules/@mui/material/esm/AccordionSummary/accordionSummaryClasses.js
|
|
278
|
+
function I(e) {
|
|
279
|
+
return s("MuiAccordionSummary", e);
|
|
280
|
+
}
|
|
281
|
+
var L = c("MuiAccordionSummary", [
|
|
282
|
+
"root",
|
|
283
|
+
"expanded",
|
|
284
|
+
"focusVisible",
|
|
285
|
+
"disabled",
|
|
286
|
+
"gutters",
|
|
287
|
+
"contentGutters",
|
|
288
|
+
"content",
|
|
289
|
+
"expandIconWrapper"
|
|
290
|
+
]), R = (e) => {
|
|
291
|
+
let { classes: t, expanded: n, disabled: r, disableGutters: a } = e;
|
|
292
|
+
return i({
|
|
293
|
+
root: [
|
|
294
|
+
"root",
|
|
295
|
+
n && "expanded",
|
|
296
|
+
r && "disabled",
|
|
297
|
+
!a && "gutters"
|
|
298
|
+
],
|
|
299
|
+
focusVisible: ["focusVisible"],
|
|
300
|
+
content: [
|
|
301
|
+
"content",
|
|
302
|
+
n && "expanded",
|
|
303
|
+
!a && "contentGutters"
|
|
304
|
+
],
|
|
305
|
+
expandIconWrapper: ["expandIconWrapper", n && "expanded"]
|
|
306
|
+
}, I, t);
|
|
307
|
+
}, z = l(d, {
|
|
308
|
+
name: "MuiAccordionSummary",
|
|
309
|
+
slot: "Root"
|
|
310
|
+
})(a(({ theme: e }) => {
|
|
311
|
+
let t = { duration: e.transitions.duration.shortest };
|
|
312
|
+
return {
|
|
313
|
+
display: "flex",
|
|
314
|
+
width: "100%",
|
|
315
|
+
minHeight: 48,
|
|
316
|
+
padding: e.spacing(0, 2),
|
|
317
|
+
transition: e.transitions.create(["min-height", "background-color"], t),
|
|
318
|
+
[`&.${L.focusVisible}`]: { backgroundColor: (e.vars || e).palette.action.focus },
|
|
319
|
+
[`&.${L.disabled}`]: { opacity: (e.vars || e).palette.action.disabledOpacity },
|
|
320
|
+
[`&:hover:not(.${L.disabled})`]: { cursor: "pointer" },
|
|
321
|
+
variants: [{
|
|
322
|
+
props: (e) => !e.disableGutters,
|
|
323
|
+
style: { [`&.${L.expanded}`]: { minHeight: 64 } }
|
|
324
|
+
}]
|
|
325
|
+
};
|
|
326
|
+
})), B = l("span", {
|
|
327
|
+
name: "MuiAccordionSummary",
|
|
328
|
+
slot: "Content"
|
|
329
|
+
})(a(({ theme: e }) => ({
|
|
330
|
+
display: "flex",
|
|
331
|
+
textAlign: "start",
|
|
332
|
+
flexGrow: 1,
|
|
333
|
+
margin: "12px 0",
|
|
334
|
+
variants: [{
|
|
335
|
+
props: (e) => !e.disableGutters,
|
|
336
|
+
style: {
|
|
337
|
+
transition: e.transitions.create(["margin"], { duration: e.transitions.duration.shortest }),
|
|
338
|
+
[`&.${L.expanded}`]: { margin: "20px 0" }
|
|
339
|
+
}
|
|
340
|
+
}]
|
|
341
|
+
}))), V = l("span", {
|
|
342
|
+
name: "MuiAccordionSummary",
|
|
343
|
+
slot: "ExpandIconWrapper"
|
|
344
|
+
})(a(({ theme: e }) => ({
|
|
345
|
+
display: "flex",
|
|
346
|
+
color: (e.vars || e).palette.action.active,
|
|
347
|
+
transform: "rotate(0deg)",
|
|
348
|
+
transition: e.transitions.create("transform", { duration: e.transitions.duration.shortest }),
|
|
349
|
+
[`&.${L.expanded}`]: { transform: "rotate(180deg)" }
|
|
350
|
+
}))), H = /* @__PURE__ */ y.forwardRef(function(e, t) {
|
|
351
|
+
let n = r({
|
|
352
|
+
props: e,
|
|
353
|
+
name: "MuiAccordionSummary"
|
|
354
|
+
}), { children: i, className: a, expandIcon: s, focusVisibleClassName: c, onClick: l, slots: u, slotProps: d, ...f } = n, { disabled: m = !1, disableGutters: h, expanded: g, toggle: _ } = y.useContext(S), v = (e) => {
|
|
355
|
+
_ && _(e), l && l(e);
|
|
356
|
+
}, C = {
|
|
357
|
+
...n,
|
|
358
|
+
expanded: g,
|
|
359
|
+
disabled: m,
|
|
360
|
+
disableGutters: h
|
|
361
|
+
}, w = R(C), T = {
|
|
362
|
+
slots: u,
|
|
363
|
+
slotProps: d
|
|
364
|
+
}, [E, D] = p("root", {
|
|
365
|
+
ref: t,
|
|
366
|
+
shouldForwardComponentProp: !0,
|
|
367
|
+
className: o(w.root, a),
|
|
368
|
+
elementType: z,
|
|
369
|
+
externalForwardedProps: {
|
|
370
|
+
...T,
|
|
371
|
+
...f
|
|
372
|
+
},
|
|
373
|
+
ownerState: C,
|
|
374
|
+
additionalProps: {
|
|
375
|
+
focusRipple: !1,
|
|
376
|
+
disableRipple: !0,
|
|
377
|
+
disabled: m,
|
|
378
|
+
"aria-expanded": g,
|
|
379
|
+
focusVisibleClassName: o(w.focusVisible, c)
|
|
380
|
+
},
|
|
381
|
+
getSlotProps: (e) => ({
|
|
382
|
+
...e,
|
|
383
|
+
onClick: (t) => {
|
|
384
|
+
e.onClick?.(t), v(t);
|
|
385
|
+
}
|
|
386
|
+
})
|
|
387
|
+
}), [O, k] = p("content", {
|
|
388
|
+
className: w.content,
|
|
389
|
+
elementType: B,
|
|
390
|
+
externalForwardedProps: T,
|
|
391
|
+
ownerState: C
|
|
392
|
+
}), [A, j] = p("expandIconWrapper", {
|
|
393
|
+
className: w.expandIconWrapper,
|
|
394
|
+
elementType: V,
|
|
395
|
+
externalForwardedProps: T,
|
|
396
|
+
ownerState: C
|
|
397
|
+
});
|
|
398
|
+
return /* @__PURE__ */ x(E, {
|
|
399
|
+
...D,
|
|
400
|
+
children: [/* @__PURE__ */ b(O, {
|
|
401
|
+
...k,
|
|
402
|
+
children: i
|
|
403
|
+
}), s && /* @__PURE__ */ b(A, {
|
|
404
|
+
...j,
|
|
405
|
+
children: s
|
|
406
|
+
})]
|
|
407
|
+
});
|
|
408
|
+
});
|
|
409
|
+
process.env.NODE_ENV !== "production" && (H.propTypes = {
|
|
410
|
+
children: E.default.node,
|
|
411
|
+
classes: E.default.object,
|
|
412
|
+
className: E.default.string,
|
|
413
|
+
expandIcon: E.default.node,
|
|
414
|
+
focusVisibleClassName: E.default.string,
|
|
415
|
+
onClick: E.default.func,
|
|
416
|
+
slotProps: E.default.shape({
|
|
417
|
+
content: E.default.oneOfType([E.default.func, E.default.object]),
|
|
418
|
+
expandIconWrapper: E.default.oneOfType([E.default.func, E.default.object]),
|
|
419
|
+
root: E.default.oneOfType([E.default.func, E.default.object])
|
|
420
|
+
}),
|
|
421
|
+
slots: E.default.shape({
|
|
422
|
+
content: E.default.elementType,
|
|
423
|
+
expandIconWrapper: E.default.elementType,
|
|
424
|
+
root: E.default.elementType
|
|
425
|
+
}),
|
|
426
|
+
sx: E.default.oneOfType([
|
|
427
|
+
E.default.arrayOf(E.default.oneOfType([
|
|
428
|
+
E.default.func,
|
|
429
|
+
E.default.object,
|
|
430
|
+
E.default.bool
|
|
431
|
+
])),
|
|
432
|
+
E.default.func,
|
|
433
|
+
E.default.object
|
|
434
|
+
])
|
|
435
|
+
});
|
|
436
|
+
//#endregion
|
|
437
|
+
//#region lib/s-accordion/s-accordion.tsx
|
|
438
|
+
var U = ({ title: e, children: t, startIcon: n, titleTypographyProps: r, accordionSummaryProps: i, accordionDetailsProps: a, ...o }) => /* @__PURE__ */ x(j, {
|
|
439
|
+
elevation: 0,
|
|
440
|
+
...o,
|
|
441
|
+
children: [e || n ? /* @__PURE__ */ b(H, {
|
|
442
|
+
expandIcon: /* @__PURE__ */ b(g, {}),
|
|
443
|
+
...i,
|
|
444
|
+
children: /* @__PURE__ */ x(u, {
|
|
445
|
+
direction: "row",
|
|
446
|
+
spacing: 1,
|
|
447
|
+
alignItems: "center",
|
|
448
|
+
children: [n, /* @__PURE__ */ b(h, {
|
|
449
|
+
variant: "subtitle1",
|
|
450
|
+
fontWeight: 600,
|
|
451
|
+
...r,
|
|
452
|
+
children: e
|
|
453
|
+
})]
|
|
454
|
+
})
|
|
455
|
+
}) : null, /* @__PURE__ */ b(F, {
|
|
456
|
+
...a,
|
|
457
|
+
children: t
|
|
458
|
+
})]
|
|
459
|
+
});
|
|
460
|
+
U.displayName = "SAccordion";
|
|
461
|
+
//#endregion
|
|
462
|
+
export { U as t };
|
|
@@ -16,7 +16,7 @@ export interface SAvatarProps {
|
|
|
16
16
|
avatarProps?: AvatarProps;
|
|
17
17
|
}
|
|
18
18
|
export declare const SAvatar: {
|
|
19
|
-
({ avatar, name, showName, size, avatarProps, children }: PropsWithChildren<SAvatarProps>): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
({ avatar, name, showName, size, avatarProps, children, }: PropsWithChildren<SAvatarProps>): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
22
|
export default SAvatar;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../createTheme-hnicUJQa.js";
|
|
2
|
-
import { t as e } from "../ChevronRight-
|
|
2
|
+
import { t as e } from "../ChevronRight-CK4Iv1Xx.js";
|
|
3
3
|
import { forwardRef as t } from "react";
|
|
4
4
|
import { jsx as n } from "react/jsx-runtime";
|
|
5
5
|
import { Breadcrumbs as r, Link as i, Typography as a } from "@mui/material";
|
package/dist/s-carousel/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createSvgIcon-
|
|
1
|
+
import { t as e } from "./createSvgIcon-BfZYaiXo.js";
|
|
2
2
|
import { SIconButton as t } from "./s-icon-button/s-icon-button.js";
|
|
3
3
|
import { Children as n, forwardRef as r, useCallback as i, useEffect as a, useMemo as o, useRef as s, useState as c } from "react";
|
|
4
4
|
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./createSvgIcon-
|
|
2
|
-
import { t } from "./ArrowUpward-
|
|
3
|
-
import { t as n } from "./Close-
|
|
4
|
-
import { t as r } from "./s-text-field-
|
|
1
|
+
import { t as e } from "./createSvgIcon-BfZYaiXo.js";
|
|
2
|
+
import { t } from "./ArrowUpward-O4lRvSII.js";
|
|
3
|
+
import { t as n } from "./Close-CSIi_IPN.js";
|
|
4
|
+
import { t as r } from "./s-text-field-UI_UjTUa.js";
|
|
5
5
|
import { SIconButton as i } from "./s-icon-button/s-icon-button.js";
|
|
6
6
|
import { SFileIcon as a } from "./s-file-icon/s-file-icon.js";
|
|
7
7
|
import { forwardRef as o, useEffect as s, useId as c, useState as l } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e, r as t } from "./utils-CKGB5_56.js";
|
|
2
|
-
import { t as n } from "./createSvgIcon-
|
|
3
|
-
import { t as r } from "./Download-
|
|
2
|
+
import { t as n } from "./createSvgIcon-BfZYaiXo.js";
|
|
3
|
+
import { t as r } from "./Download-BefdWd5q.js";
|
|
4
4
|
import i from "./s-lazy-image/s-lazy-image.js";
|
|
5
5
|
import { SSkeleton as a } from "./s-skeleton/s-skeleton.js";
|
|
6
6
|
import { SAvatar as o } from "./s-avatar/s-avatar.js";
|
package/dist/s-chips/index.js
CHANGED
package/dist/s-chips/s-chips.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createSvgIcon-
|
|
1
|
+
import { t as e } from "./createSvgIcon-BfZYaiXo.js";
|
|
2
2
|
import { useCallback as t, useEffect as n, useRef as r, useState as i } from "react";
|
|
3
3
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
4
4
|
import { Box as s, Chip as c, Tooltip as l } from "@mui/material";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e, t } from "./ContentCopy-
|
|
1
|
+
import { n as e, t } from "./ContentCopy-SAMH7bs7.js";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
3
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
4
|
import { Box as a, IconButton as o, useColorScheme as s } from "@mui/material";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as e } from "./utils-CKGB5_56.js";
|
|
2
|
-
import { t } from "./createSvgIcon-
|
|
3
|
-
import { t as n } from "./ExpandMore-
|
|
4
|
-
import { t as r } from "./Favorite-
|
|
2
|
+
import { t } from "./createSvgIcon-BfZYaiXo.js";
|
|
3
|
+
import { t as n } from "./ExpandMore-DZANUF9W.js";
|
|
4
|
+
import { t as r } from "./Favorite-BwMGKQJf.js";
|
|
5
5
|
import { SSkeleton as i } from "./s-skeleton/s-skeleton.js";
|
|
6
6
|
import { SAvatar as a } from "./s-avatar/s-avatar.js";
|
|
7
7
|
import { useEffect as o, useId as s, useState as c } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../createTheme-hnicUJQa.js";
|
|
2
|
-
import { n as e, t } from "../ContentCopy-
|
|
2
|
+
import { n as e, t } from "../ContentCopy-SAMH7bs7.js";
|
|
3
3
|
import { useState as n } from "react";
|
|
4
4
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
5
|
import { Box as a, IconButton as o, Paper as s, Typography as c } from "@mui/material";
|