@solostylist/ui-kit 1.0.62 → 1.0.65
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/{Box-59IuS_L5.js → Box-6v9dDzdR.js} +21 -20
- package/dist/{Close-je3Um4HX.js → Close-Cq0bfDqS.js} +1 -1
- package/dist/{HelpOutlineOutlined-KaKitLEg.js → HelpOutlineOutlined-CrsJM_1C.js} +1 -1
- package/dist/{Menu-BryWw38A.js → Menu-C3Ku2lqS.js} +10 -9
- package/dist/{MenuItem-C960l-k0.js → MenuItem-ODcKB-fe.js} +25 -24
- package/dist/{Select-Dn200g2G.js → Select-CukDtghB.js} +24 -23
- package/dist/{Stack-pbzhmSem.js → Stack-DvJ0EY9Z.js} +24 -23
- package/dist/{TransitionGroup-SMeOIin5.js → TransitionGroup-D2o-MIVr.js} +1 -1
- package/dist/{Typography-TjZNaHX9.js → Typography-BnBI5JmA.js} +27 -26
- package/dist/{buttonBaseClasses-CZ6KQy34.js → buttonBaseClasses-jvvoR1a5.js} +2 -2
- package/dist/{chipClasses-C2-PvwSn.js → chipClasses-DCs-mJQc.js} +2 -2
- package/dist/chunk-GIMSRCVW-DUi-T6vz.js +10072 -0
- package/dist/{createSvgIcon-BeTgaSim.js → createSvgIcon-BTLVR-ad.js} +21 -20
- package/dist/createTheme-BlQh0eyI.js +2268 -0
- package/dist/{defaultTheme-kN8jLC95.js → defaultTheme-CkLTWyeE.js} +1 -1
- package/dist/{extendSxProp-BuqOAkIB.js → extendSxProp-B_wB9j9Z.js} +1 -1
- package/dist/{generateUtilityClasses-CTfRViuv.js → generateUtilityClasses-DMkCz287.js} +1 -1
- package/dist/{iconButtonClasses-Bjc802it.js → iconButtonClasses-FfLS-X2M.js} +2 -2
- package/dist/index-5OJKu9qh.js +667 -0
- package/dist/{index-CUjJ3gl6.js → index-Bs0mGmsj.js} +4 -4
- package/dist/main.d.ts +2 -0
- package/dist/main.js +44 -42
- package/dist/{outlinedInputClasses-CBivYvoh.js → outlinedInputClasses-rfxFh721.js} +2 -2
- package/dist/s-copilot-kit-provider/index.d.ts +2 -0
- package/dist/s-copilot-kit-provider/index.js +4 -0
- package/dist/s-copilot-kit-provider/package.json +5 -0
- package/dist/s-copilot-kit-provider/s-copilot-kit-provider.d.ts +7 -0
- package/dist/s-copilot-kit-provider/s-copilot-kit-provider.js +9 -0
- package/dist/s-data-table/s-data-table.js +46 -45
- package/dist/s-date-picker/s-date-picker.js +26 -25
- package/dist/s-datetime-picker/s-datetime-picker.js +73 -72
- 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/s-file-dropzone.js +4 -4
- package/dist/s-file-icon/s-file-icon.js +1 -1
- package/dist/s-form/s-form.js +1 -1
- package/dist/s-glow-button/s-glow-button.js +3 -3
- package/dist/s-gradient-icon/s-gradient-icon.d.ts +2 -1
- package/dist/s-gradient-icon/s-gradient-icon.js +4 -3
- package/dist/s-label/s-label.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +1 -1
- package/dist/s-multi-select/s-multi-select.js +3 -3
- package/dist/s-smart-text-field/s-smart-text-field.d.ts +1 -3
- package/dist/s-smart-text-field/s-smart-text-field.js +9259 -18849
- package/dist/s-text-editor/s-text-editor-toolbar.js +4 -4
- package/dist/s-text-editor/s-text-editor.js +1 -1
- package/dist/s-tip/s-tip.js +3 -3
- package/dist/{tabClasses-ENprUfJ-.js → tabClasses-PH6lKUvl.js} +2 -2
- package/dist/theme/components/avatar.js +1 -1
- package/dist/theme/customizations/data-display.js +7 -7
- package/dist/theme/customizations/feedback.js +1 -1
- package/dist/theme/customizations/inputs.js +4 -4
- package/dist/theme/customizations/navigation.js +3 -3
- package/dist/theme/customizations/surfaces.js +1 -1
- package/dist/theme/theme-primitives.js +1 -1
- package/dist/{typographyClasses-DiFekpbX.js → typographyClasses-ZiwLh_jE.js} +2 -2
- package/dist/{useMobilePicker-DV2vFPGZ.js → useMobilePicker-BzxyifzK.js} +56 -55
- package/dist/{useSlot-Cciih_p6.js → useSlot-C4SHe-Bx.js} +5 -5
- package/dist/{useTheme-BM5dU4pp.js → useTheme-Bn9C3FUK.js} +1 -1
- package/dist/{useThemeProps-hdzu913B.js → useThemeProps-BUFb1TtB.js} +2 -2
- package/dist/{warning-BeMCQpXj.js → warning-D7W5-6D5.js} +3 -3
- package/package.json +2 -2
- package/dist/createTheme-CozHbEju.js +0 -2932
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as
|
|
3
|
-
import { s as
|
|
4
|
-
import * as
|
|
5
|
-
import { j as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
1
|
+
import { P as e } from "./index-5OJKu9qh.js";
|
|
2
|
+
import { c as u, T as d } from "./identifier-CGgVMHib.js";
|
|
3
|
+
import { s as h, g as T } from "./generateUtilityClasses-DMkCz287.js";
|
|
4
|
+
import * as y from "react";
|
|
5
|
+
import { j as B } from "./jsx-runtime-C5mzlN2N.js";
|
|
6
|
+
import { s as N, C, b } from "./createTheme-BlQh0eyI.js";
|
|
7
|
+
import { u as g } from "./useTheme-Bn9C3FUK.js";
|
|
8
|
+
import { e as j } from "./extendSxProp-B_wB9j9Z.js";
|
|
9
|
+
function E(m = {}) {
|
|
9
10
|
const {
|
|
10
11
|
themeId: t,
|
|
11
|
-
defaultTheme:
|
|
12
|
+
defaultTheme: n,
|
|
12
13
|
defaultClassName: a = "MuiBox-root",
|
|
13
14
|
generateClassName: r
|
|
14
|
-
} =
|
|
15
|
+
} = m, c = h("div", {
|
|
15
16
|
shouldForwardProp: (o) => o !== "theme" && o !== "sx" && o !== "as"
|
|
16
|
-
})(
|
|
17
|
-
return /* @__PURE__ */
|
|
18
|
-
const s = g(
|
|
19
|
-
className:
|
|
17
|
+
})(N);
|
|
18
|
+
return /* @__PURE__ */ y.forwardRef(function(f, i) {
|
|
19
|
+
const s = g(n), {
|
|
20
|
+
className: l,
|
|
20
21
|
component: p = "div",
|
|
21
22
|
...x
|
|
22
23
|
} = j(f);
|
|
23
|
-
return /* @__PURE__ */
|
|
24
|
+
return /* @__PURE__ */ B.jsx(c, {
|
|
24
25
|
as: p,
|
|
25
|
-
ref:
|
|
26
|
-
className:
|
|
26
|
+
ref: i,
|
|
27
|
+
className: u(l, r ? r(a) : a),
|
|
27
28
|
theme: t && s[t] || s,
|
|
28
29
|
...x
|
|
29
30
|
});
|
|
30
31
|
});
|
|
31
32
|
}
|
|
32
|
-
const v =
|
|
33
|
-
themeId:
|
|
33
|
+
const v = T("MuiBox", ["root"]), O = b(), P = E({
|
|
34
|
+
themeId: d,
|
|
34
35
|
defaultTheme: O,
|
|
35
36
|
defaultClassName: v.root,
|
|
36
|
-
generateClassName:
|
|
37
|
+
generateClassName: C.generate
|
|
37
38
|
});
|
|
38
39
|
process.env.NODE_ENV !== "production" && (P.propTypes = {
|
|
39
40
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as o } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import { c as s } from "./createSvgIcon-
|
|
2
|
+
import { c as s } from "./createSvgIcon-BTLVR-ad.js";
|
|
3
3
|
const e = s(/* @__PURE__ */ o.jsx("path", {
|
|
4
4
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
5
5
|
}), "Close");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as t } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import { c } from "./createSvgIcon-
|
|
2
|
+
import { c } from "./createSvgIcon-BTLVR-ad.js";
|
|
3
3
|
const o = c(/* @__PURE__ */ t.jsx("path", {
|
|
4
4
|
d: "M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"
|
|
5
5
|
}), "HelpOutlineOutlined");
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as p from "react";
|
|
2
2
|
import ve from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { g as le, a as He, q as ze, l as rt } from "./createTheme-BlQh0eyI.js";
|
|
4
|
+
import { P as e } from "./index-5OJKu9qh.js";
|
|
4
5
|
import { T as Rt, c as te } from "./identifier-CGgVMHib.js";
|
|
5
6
|
import { j as L } from "./jsx-runtime-C5mzlN2N.js";
|
|
6
|
-
import { u as ce, a as W, b as ue, m as it, r as Ot } from "./createSvgIcon-
|
|
7
|
-
import { g as pe } from "./generateUtilityClasses-
|
|
8
|
-
import { c as we, f as Nt, u as oe, b as X, d as We, g as wt, m as St, r as Ct, e as Mt, a as kt, h as Dt, i as It } from "./useSlot-
|
|
9
|
-
import { d as jt } from "./defaultTheme-
|
|
10
|
-
import { u as Ft } from "./useTheme-
|
|
7
|
+
import { u as ce, a as W, b as ue, m as it, r as Ot } from "./createSvgIcon-BTLVR-ad.js";
|
|
8
|
+
import { g as pe } from "./generateUtilityClasses-DMkCz287.js";
|
|
9
|
+
import { c as we, f as Nt, u as oe, b as X, d as We, g as wt, m as St, r as Ct, e as Mt, a as kt, h as Dt, i as It } from "./useSlot-C4SHe-Bx.js";
|
|
10
|
+
import { d as jt } from "./defaultTheme-CkLTWyeE.js";
|
|
11
|
+
import { u as Ft } from "./useTheme-Bn9C3FUK.js";
|
|
11
12
|
import { _ as Lt } from "./objectWithoutPropertiesLoose-DiWPeE4c.js";
|
|
12
|
-
import { _ as At, a as st } from "./TransitionGroup-
|
|
13
|
+
import { _ as At, a as st } from "./TransitionGroup-D2o-MIVr.js";
|
|
13
14
|
import * as $t from "react-dom";
|
|
14
15
|
import Te from "react-dom";
|
|
15
16
|
import { u as Le } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
@@ -64,7 +65,7 @@ var Kt = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape(
|
|
|
64
65
|
enter: e.number,
|
|
65
66
|
exit: e.number,
|
|
66
67
|
appear: e.number
|
|
67
|
-
}).isRequired]) : null,
|
|
68
|
+
}).isRequired]) : null, Jn = process.env.NODE_ENV !== "production" ? e.oneOfType([e.string, e.shape({
|
|
68
69
|
enter: e.string,
|
|
69
70
|
exit: e.string,
|
|
70
71
|
active: e.string
|
|
@@ -2961,7 +2962,7 @@ export {
|
|
|
2961
2962
|
Pt as e,
|
|
2962
2963
|
Bt as f,
|
|
2963
2964
|
Se as g,
|
|
2964
|
-
|
|
2965
|
+
Jn as h,
|
|
2965
2966
|
zt as i,
|
|
2966
2967
|
Ne as j,
|
|
2967
2968
|
Oe as k,
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import * as c from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { P as t } from "./index-5OJKu9qh.js";
|
|
3
3
|
import { c as x } from "./identifier-CGgVMHib.js";
|
|
4
|
-
import { u as D, a as L, b as S, r as E, m as P } from "./createSvgIcon-
|
|
5
|
-
import { L as I } from "./Menu-
|
|
6
|
-
import { g as p } from "./generateUtilityClasses-
|
|
4
|
+
import { u as D, a as L, b as S, r as E, m as P } from "./createSvgIcon-BTLVR-ad.js";
|
|
5
|
+
import { L as I } from "./Menu-C3Ku2lqS.js";
|
|
6
|
+
import { g as p } from "./generateUtilityClasses-DMkCz287.js";
|
|
7
|
+
import { g as R, a as d } from "./createTheme-BlQh0eyI.js";
|
|
7
8
|
import { j as $ } from "./jsx-runtime-C5mzlN2N.js";
|
|
8
9
|
import { u as U } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
9
|
-
import { u as F, B as G } from "./useSlot-
|
|
10
|
-
function
|
|
10
|
+
import { u as F, B as G } from "./useSlot-C4SHe-Bx.js";
|
|
11
|
+
function te(e) {
|
|
11
12
|
return R("MuiDivider", e);
|
|
12
13
|
}
|
|
13
14
|
const M = p("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]), O = p("MuiListItemIcon", ["root", "alignItemsFlexStart"]), w = p("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]);
|
|
@@ -26,13 +27,13 @@ const n = p("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
|
|
|
26
27
|
divider: a,
|
|
27
28
|
disableGutters: l,
|
|
28
29
|
selected: u,
|
|
29
|
-
classes:
|
|
30
|
-
} = e,
|
|
30
|
+
classes: r
|
|
31
|
+
} = e, i = S({
|
|
31
32
|
root: ["root", s && "dense", o && "disabled", !l && "gutters", a && "divider", u && "selected"]
|
|
32
|
-
}, H,
|
|
33
|
+
}, H, r);
|
|
33
34
|
return {
|
|
34
|
-
...
|
|
35
|
-
...
|
|
35
|
+
...r,
|
|
36
|
+
...i
|
|
36
37
|
};
|
|
37
38
|
}, A = L(G, {
|
|
38
39
|
shouldForwardProp: (e) => E(e) || e === "classes",
|
|
@@ -144,27 +145,27 @@ const n = p("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
|
|
|
144
145
|
}), {
|
|
145
146
|
autoFocus: l = !1,
|
|
146
147
|
component: u = "li",
|
|
147
|
-
dense:
|
|
148
|
-
divider:
|
|
149
|
-
disableGutters:
|
|
148
|
+
dense: r = !1,
|
|
149
|
+
divider: b = !1,
|
|
150
|
+
disableGutters: i = !1,
|
|
150
151
|
focusVisibleClassName: T,
|
|
151
152
|
role: V = "menuitem",
|
|
152
153
|
tabIndex: g,
|
|
153
154
|
className: k,
|
|
154
155
|
...N
|
|
155
156
|
} = a, v = c.useContext(I), y = c.useMemo(() => ({
|
|
156
|
-
dense:
|
|
157
|
-
disableGutters:
|
|
158
|
-
}), [v.dense,
|
|
157
|
+
dense: r || v.dense || !1,
|
|
158
|
+
disableGutters: i
|
|
159
|
+
}), [v.dense, r, i]), m = c.useRef(null);
|
|
159
160
|
U(() => {
|
|
160
161
|
l && (m.current ? m.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."));
|
|
161
162
|
}, [l]);
|
|
162
163
|
const j = {
|
|
163
164
|
...a,
|
|
164
165
|
dense: y.dense,
|
|
165
|
-
divider:
|
|
166
|
-
disableGutters:
|
|
167
|
-
},
|
|
166
|
+
divider: b,
|
|
167
|
+
disableGutters: i
|
|
168
|
+
}, f = z(a), B = F(m, s);
|
|
168
169
|
let C;
|
|
169
170
|
return a.disabled || (C = g !== void 0 ? g : -1), /* @__PURE__ */ $.jsx(I.Provider, {
|
|
170
171
|
value: y,
|
|
@@ -173,11 +174,11 @@ const n = p("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
|
|
|
173
174
|
role: V,
|
|
174
175
|
tabIndex: C,
|
|
175
176
|
component: u,
|
|
176
|
-
focusVisibleClassName: x(
|
|
177
|
-
className: x(
|
|
177
|
+
focusVisibleClassName: x(f.focusVisible, T),
|
|
178
|
+
className: x(f.root, k),
|
|
178
179
|
...N,
|
|
179
180
|
ownerState: j,
|
|
180
|
-
classes:
|
|
181
|
+
classes: f
|
|
181
182
|
})
|
|
182
183
|
});
|
|
183
184
|
});
|
|
@@ -258,5 +259,5 @@ process.env.NODE_ENV !== "production" && (W.propTypes = {
|
|
|
258
259
|
});
|
|
259
260
|
export {
|
|
260
261
|
W as M,
|
|
261
|
-
|
|
262
|
+
te as g
|
|
262
263
|
};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import * as i from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { P as e } from "./index-5OJKu9qh.js";
|
|
3
3
|
import { c as ie } from "./identifier-CGgVMHib.js";
|
|
4
|
-
import { F as
|
|
5
|
-
import { g as
|
|
4
|
+
import { F as wo, u as co, a as Je } from "./useFormControl-B3RPiDsz.js";
|
|
5
|
+
import { g as Se, c as $, a as uo, l as zo, p as Io, j as Qe } from "./createTheme-BlQh0eyI.js";
|
|
6
|
+
import { g as xe } from "./generateUtilityClasses-DMkCz287.js";
|
|
6
7
|
import { j as m } from "./jsx-runtime-C5mzlN2N.js";
|
|
7
|
-
import { u as ae, a as N, b as Y, m as V, r as me, e as Do, c as Lo } from "./createSvgIcon-
|
|
8
|
+
import { u as ae, a as N, b as Y, m as V, r as me, e as Do, c as Lo } from "./createSvgIcon-BTLVR-ad.js";
|
|
8
9
|
import { c as Ce } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
9
|
-
import { g as Uo, i as po } from "./iconButtonClasses-
|
|
10
|
-
import { c as Ro, B as Vo, r as Oe, u as Me, d as Ho, e as _o, b as qo } from "./useSlot-
|
|
10
|
+
import { g as Uo, i as po } from "./iconButtonClasses-FfLS-X2M.js";
|
|
11
|
+
import { c as Ro, B as Vo, r as Oe, u as Me, d as Ho, e as _o, b as qo } from "./useSlot-C4SHe-Bx.js";
|
|
11
12
|
import { css as To, keyframes as No } from "@emotion/react";
|
|
12
|
-
import { o as Ko, M as Go, a as fo, d as Xo, i as mo, g as Yo } from "./Menu-
|
|
13
|
-
import { i as ke, g as Zo, a as Jo, o as X } from "./outlinedInputClasses-
|
|
14
|
-
import { g as Qo } from "./index-
|
|
13
|
+
import { o as Ko, M as Go, a as fo, d as Xo, i as mo, g as Yo } from "./Menu-C3Ku2lqS.js";
|
|
14
|
+
import { i as ke, g as Zo, a as Jo, o as X } from "./outlinedInputClasses-rfxFh721.js";
|
|
15
|
+
import { g as Qo } from "./index-Bs0mGmsj.js";
|
|
15
16
|
import { u as Xe } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
16
17
|
function Ge(o, t) {
|
|
17
18
|
var n, r, s;
|
|
@@ -185,7 +186,7 @@ const rt = (o) => {
|
|
|
185
186
|
required: w,
|
|
186
187
|
variant: g
|
|
187
188
|
}), [p, a, v, y, O, A, h, b, W, z, F, w, T, g]);
|
|
188
|
-
return /* @__PURE__ */ m.jsx(
|
|
189
|
+
return /* @__PURE__ */ m.jsx(wo.Provider, {
|
|
189
190
|
value: le,
|
|
190
191
|
children: /* @__PURE__ */ m.jsx(st, {
|
|
191
192
|
as: u,
|
|
@@ -554,7 +555,7 @@ const mt = (o) => {
|
|
|
554
555
|
variants: [{
|
|
555
556
|
props: (t) => !t.disableRipple,
|
|
556
557
|
style: {
|
|
557
|
-
"--IconButton-hoverBg": o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` :
|
|
558
|
+
"--IconButton-hoverBg": o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : uo(o.palette.action.active, o.palette.action.hoverOpacity),
|
|
558
559
|
"&:hover": {
|
|
559
560
|
backgroundColor: "var(--IconButton-hoverBg)",
|
|
560
561
|
// Reset on touch devices, it doesn't add specificity
|
|
@@ -616,7 +617,7 @@ const mt = (o) => {
|
|
|
616
617
|
color: t
|
|
617
618
|
},
|
|
618
619
|
style: {
|
|
619
|
-
"--IconButton-hoverBg": o.vars ? `rgba(${(o.vars || o).palette[t].mainChannel} / ${o.vars.palette.action.hoverOpacity})` :
|
|
620
|
+
"--IconButton-hoverBg": o.vars ? `rgba(${(o.vars || o).palette[t].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : uo((o.vars || o).palette[t].main, o.palette.action.hoverOpacity)
|
|
620
621
|
}
|
|
621
622
|
})), {
|
|
622
623
|
props: {
|
|
@@ -1132,11 +1133,11 @@ const Rt = (o) => {
|
|
|
1132
1133
|
value: K,
|
|
1133
1134
|
variant: B = "standard",
|
|
1134
1135
|
...q
|
|
1135
|
-
} = t, [j, Ue] =
|
|
1136
|
+
} = t, [j, Ue] = co({
|
|
1136
1137
|
controlled: K,
|
|
1137
1138
|
default: f,
|
|
1138
1139
|
name: "Select"
|
|
1139
|
-
}), [we, Pe] =
|
|
1140
|
+
}), [we, Pe] = co({
|
|
1140
1141
|
controlled: _,
|
|
1141
1142
|
default: y,
|
|
1142
1143
|
name: "Select"
|
|
@@ -1231,7 +1232,7 @@ const Rt = (o) => {
|
|
|
1231
1232
|
let C;
|
|
1232
1233
|
if (x) {
|
|
1233
1234
|
if (!Array.isArray(j))
|
|
1234
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." :
|
|
1235
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : Io(2));
|
|
1235
1236
|
C = j.some((M) => vo(M, d.props.value)), C && ge && D.push(d.props.children);
|
|
1236
1237
|
} else
|
|
1237
1238
|
C = vo(j, d.props.value), C && ge && (be = d.props.children);
|
|
@@ -1916,7 +1917,7 @@ const Ae = (o, t) => {
|
|
|
1916
1917
|
} = i.useRef(ee != null), J = i.useRef(), He = i.useCallback((R) => {
|
|
1917
1918
|
process.env.NODE_ENV !== "production" && R && R.nodeName !== "INPUT" && !R.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
|
|
1918
1919
|
`));
|
|
1919
|
-
}, []), _e = Me(J, p, c.ref, He), [oe, te] = i.useState(!1), k =
|
|
1920
|
+
}, []), _e = Me(J, p, c.ref, He), [oe, te] = i.useState(!1), k = Je();
|
|
1920
1921
|
process.env.NODE_ENV !== "production" && i.useEffect(() => {
|
|
1921
1922
|
if (k)
|
|
1922
1923
|
return k.registerEffect();
|
|
@@ -1945,7 +1946,7 @@ const Ae = (o, t) => {
|
|
|
1945
1946
|
if (!Ie) {
|
|
1946
1947
|
const he = R.target || J.current;
|
|
1947
1948
|
if (he == null)
|
|
1948
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." :
|
|
1949
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : Io(1));
|
|
1949
1950
|
de({
|
|
1950
1951
|
value: he.value
|
|
1951
1952
|
});
|
|
@@ -2011,7 +2012,7 @@ const Ae = (o, t) => {
|
|
|
2011
2012
|
}
|
|
2012
2013
|
},
|
|
2013
2014
|
className: ie($e.root, pe.className, u, B && "MuiInputBase-readOnly"),
|
|
2014
|
-
children: [Q, /* @__PURE__ */ m.jsx(
|
|
2015
|
+
children: [Q, /* @__PURE__ */ m.jsx(wo.Provider, {
|
|
2015
2016
|
value: null,
|
|
2016
2017
|
children: /* @__PURE__ */ m.jsx(Ne, {
|
|
2017
2018
|
"aria-invalid": U.error,
|
|
@@ -2414,7 +2415,7 @@ const Ee = {
|
|
|
2414
2415
|
disableUnderline: s
|
|
2415
2416
|
}
|
|
2416
2417
|
}
|
|
2417
|
-
}, I = f ?? a ?
|
|
2418
|
+
}, I = f ?? a ? Qe(f ?? a, g) : g, x = h.root ?? l.Root ?? $t, c = h.input ?? l.Input ?? Ft;
|
|
2418
2419
|
return /* @__PURE__ */ m.jsx(Le, {
|
|
2419
2420
|
slots: {
|
|
2420
2421
|
root: x,
|
|
@@ -2899,7 +2900,7 @@ const fe = {
|
|
|
2899
2900
|
input: {
|
|
2900
2901
|
ownerState: T
|
|
2901
2902
|
}
|
|
2902
|
-
}, x = h ?? a ?
|
|
2903
|
+
}, x = h ?? a ? Qe(I, h ?? a) : I, c = b.root ?? l.Root ?? At, p = b.input ?? l.Input ?? Wt;
|
|
2903
2904
|
return /* @__PURE__ */ m.jsx(Le, {
|
|
2904
2905
|
slots: {
|
|
2905
2906
|
root: c,
|
|
@@ -3419,7 +3420,7 @@ const Lt = (o) => {
|
|
|
3419
3420
|
slotProps: h = {},
|
|
3420
3421
|
type: b = "text",
|
|
3421
3422
|
...S
|
|
3422
|
-
} = r, w = Lt(r), T =
|
|
3423
|
+
} = r, w = Lt(r), T = Je(), g = oo({
|
|
3423
3424
|
props: r,
|
|
3424
3425
|
muiFormControl: T,
|
|
3425
3426
|
states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
|
|
@@ -3686,7 +3687,7 @@ const _t = (o) => {
|
|
|
3686
3687
|
SelectDisplayProps: L,
|
|
3687
3688
|
variant: H = "outlined",
|
|
3688
3689
|
..._
|
|
3689
|
-
} = r, A = x ? $o : Bo, W =
|
|
3690
|
+
} = r, A = x ? $o : Bo, W = Je(), P = oo({
|
|
3690
3691
|
props: r,
|
|
3691
3692
|
muiFormControl: W,
|
|
3692
3693
|
states: ["variant", "error"]
|
|
@@ -3740,7 +3741,7 @@ const _t = (o) => {
|
|
|
3740
3741
|
}
|
|
3741
3742
|
},
|
|
3742
3743
|
...S,
|
|
3743
|
-
classes: S ?
|
|
3744
|
+
classes: S ? Qe(B, S.classes) : B,
|
|
3744
3745
|
...b ? b.props.inputProps : {}
|
|
3745
3746
|
},
|
|
3746
3747
|
...(I && x || y) && F === "outlined" ? {
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { P as e
|
|
2
|
-
import { d as
|
|
3
|
-
import * as
|
|
4
|
-
import { c as
|
|
5
|
-
import { j as
|
|
6
|
-
import { e as
|
|
7
|
-
import { u as
|
|
8
|
-
|
|
1
|
+
import { P as e } from "./index-5OJKu9qh.js";
|
|
2
|
+
import { d as V, b as C, a as D, u as E } from "./createSvgIcon-BTLVR-ad.js";
|
|
3
|
+
import * as f from "react";
|
|
4
|
+
import { c as N } from "./identifier-CGgVMHib.js";
|
|
5
|
+
import { j as R } from "./jsx-runtime-C5mzlN2N.js";
|
|
6
|
+
import { e as F } from "./extendSxProp-B_wB9j9Z.js";
|
|
7
|
+
import { u as B } from "./useThemeProps-BUFb1TtB.js";
|
|
8
|
+
import { h as g, r as m, f as M, j as w, m as G, g as U, e as $, k as b } from "./createTheme-BlQh0eyI.js";
|
|
9
|
+
const A = V(), _ = $(), I = A("div", {
|
|
9
10
|
name: "MuiStack",
|
|
10
11
|
slot: "Root"
|
|
11
12
|
});
|
|
12
13
|
function L(o) {
|
|
13
|
-
return
|
|
14
|
+
return B({
|
|
14
15
|
props: o,
|
|
15
16
|
name: "MuiStack",
|
|
16
17
|
defaultTheme: _
|
|
17
18
|
});
|
|
18
19
|
}
|
|
19
20
|
function q(o, t) {
|
|
20
|
-
const c =
|
|
21
|
-
return c.reduce((a, i, s) => (a.push(i), s < c.length - 1 && a.push(/* @__PURE__ */
|
|
21
|
+
const c = f.Children.toArray(o).filter(Boolean);
|
|
22
|
+
return c.reduce((a, i, s) => (a.push(i), s < c.length - 1 && a.push(/* @__PURE__ */ f.cloneElement(t, {
|
|
22
23
|
key: `separator-${s}`
|
|
23
24
|
})), a), []);
|
|
24
25
|
}
|
|
@@ -36,7 +37,7 @@ const z = (o) => ({
|
|
|
36
37
|
flexDirection: "column",
|
|
37
38
|
...g({
|
|
38
39
|
theme: t
|
|
39
|
-
},
|
|
40
|
+
}, m({
|
|
40
41
|
values: o.direction,
|
|
41
42
|
breakpoints: t.breakpoints.values
|
|
42
43
|
}), (a) => ({
|
|
@@ -44,10 +45,10 @@ const z = (o) => ({
|
|
|
44
45
|
}))
|
|
45
46
|
};
|
|
46
47
|
if (o.spacing) {
|
|
47
|
-
const a =
|
|
48
|
+
const a = M(t), i = Object.keys(t.breakpoints.values).reduce((r, n) => ((typeof o.spacing == "object" && o.spacing[n] != null || typeof o.direction == "object" && o.direction[n] != null) && (r[n] = !0), r), {}), s = m({
|
|
48
49
|
values: o.direction,
|
|
49
50
|
base: i
|
|
50
|
-
}), l =
|
|
51
|
+
}), l = m({
|
|
51
52
|
values: o.spacing,
|
|
52
53
|
base: i
|
|
53
54
|
});
|
|
@@ -56,7 +57,7 @@ const z = (o) => ({
|
|
|
56
57
|
const p = n > 0 ? s[u[n - 1]] : "column";
|
|
57
58
|
s[r] = p;
|
|
58
59
|
}
|
|
59
|
-
}), c =
|
|
60
|
+
}), c = w(c, g({
|
|
60
61
|
theme: t
|
|
61
62
|
}, l, (r, n) => o.useFlexGap ? {
|
|
62
63
|
gap: b(a, r)
|
|
@@ -71,7 +72,7 @@ const z = (o) => ({
|
|
|
71
72
|
}
|
|
72
73
|
}));
|
|
73
74
|
}
|
|
74
|
-
return c =
|
|
75
|
+
return c = G(t.breakpoints, c), c;
|
|
75
76
|
};
|
|
76
77
|
function J(o = {}) {
|
|
77
78
|
const {
|
|
@@ -79,10 +80,10 @@ function J(o = {}) {
|
|
|
79
80
|
createStyledComponent: t = I,
|
|
80
81
|
useThemeProps: c = L,
|
|
81
82
|
componentName: a = "MuiStack"
|
|
82
|
-
} = o, i = () =>
|
|
83
|
+
} = o, i = () => C({
|
|
83
84
|
root: ["root"]
|
|
84
|
-
}, (r) =>
|
|
85
|
-
const u = c(r), y =
|
|
85
|
+
}, (r) => U(a, r), {}), s = t(H), l = /* @__PURE__ */ f.forwardRef(function(r, n) {
|
|
86
|
+
const u = c(r), y = F(u), {
|
|
86
87
|
component: p = "div",
|
|
87
88
|
direction: T = "column",
|
|
88
89
|
spacing: j = 0,
|
|
@@ -96,11 +97,11 @@ function J(o = {}) {
|
|
|
96
97
|
spacing: j,
|
|
97
98
|
useFlexGap: k
|
|
98
99
|
}, S = i();
|
|
99
|
-
return /* @__PURE__ */
|
|
100
|
+
return /* @__PURE__ */ R.jsx(s, {
|
|
100
101
|
as: p,
|
|
101
102
|
ownerState: P,
|
|
102
103
|
ref: n,
|
|
103
|
-
className:
|
|
104
|
+
className: N(S.root, h),
|
|
104
105
|
...x,
|
|
105
106
|
children: v ? q(O, v) : O
|
|
106
107
|
});
|
|
@@ -114,11 +115,11 @@ function J(o = {}) {
|
|
|
114
115
|
}), l;
|
|
115
116
|
}
|
|
116
117
|
const K = J({
|
|
117
|
-
createStyledComponent:
|
|
118
|
+
createStyledComponent: D("div", {
|
|
118
119
|
name: "MuiStack",
|
|
119
120
|
slot: "Root"
|
|
120
121
|
}),
|
|
121
|
-
useThemeProps: (o) =>
|
|
122
|
+
useThemeProps: (o) => E({
|
|
122
123
|
props: o,
|
|
123
124
|
name: "MuiStack"
|
|
124
125
|
})
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as x, _ } from "./objectWithoutPropertiesLoose-DiWPeE4c.js";
|
|
2
|
-
import { P as p } from "./
|
|
2
|
+
import { P as p } from "./index-5OJKu9qh.js";
|
|
3
3
|
import f, { isValidElement as h, cloneElement as v, Children as O } from "react";
|
|
4
4
|
function m(e, n) {
|
|
5
5
|
return m = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, a) {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as j from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { P as r } from "./index-5OJKu9qh.js";
|
|
3
3
|
import { c as O } from "./identifier-CGgVMHib.js";
|
|
4
|
-
import { i as S } from "./index-
|
|
5
|
-
import { u as w, a as B, b as P, m as W } from "./createSvgIcon-
|
|
4
|
+
import { i as S } from "./index-Bs0mGmsj.js";
|
|
5
|
+
import { u as w, a as B, b as P, m as W } from "./createSvgIcon-BTLVR-ad.js";
|
|
6
6
|
import { c as C } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
7
|
-
import { g as R } from "./typographyClasses-
|
|
7
|
+
import { g as R } from "./typographyClasses-ZiwLh_jE.js";
|
|
8
8
|
import { j as M } from "./jsx-runtime-C5mzlN2N.js";
|
|
9
|
+
import { c } from "./createTheme-BlQh0eyI.js";
|
|
9
10
|
const N = {
|
|
10
11
|
primary: !0,
|
|
11
12
|
secondary: !0,
|
|
@@ -16,31 +17,31 @@ const N = {
|
|
|
16
17
|
textPrimary: !0,
|
|
17
18
|
textSecondary: !0,
|
|
18
19
|
textDisabled: !0
|
|
19
|
-
}, D = S(), E = (
|
|
20
|
+
}, D = S(), E = (o) => {
|
|
20
21
|
const {
|
|
21
|
-
align:
|
|
22
|
+
align: e,
|
|
22
23
|
gutterBottom: t,
|
|
23
24
|
noWrap: a,
|
|
24
|
-
paragraph:
|
|
25
|
-
variant:
|
|
25
|
+
paragraph: i,
|
|
26
|
+
variant: s,
|
|
26
27
|
classes: p
|
|
27
|
-
} =
|
|
28
|
-
root: ["root",
|
|
28
|
+
} = o, n = {
|
|
29
|
+
root: ["root", s, o.align !== "inherit" && `align${c(e)}`, t && "gutterBottom", a && "noWrap", i && "paragraph"]
|
|
29
30
|
};
|
|
30
31
|
return P(n, R, p);
|
|
31
32
|
}, A = B("span", {
|
|
32
33
|
name: "MuiTypography",
|
|
33
34
|
slot: "Root",
|
|
34
|
-
overridesResolver: (
|
|
35
|
+
overridesResolver: (o, e) => {
|
|
35
36
|
const {
|
|
36
37
|
ownerState: t
|
|
37
|
-
} =
|
|
38
|
-
return [
|
|
38
|
+
} = o;
|
|
39
|
+
return [e.root, t.variant && e[t.variant], t.align !== "inherit" && e[`align${c(t.align)}`], t.noWrap && e.noWrap, t.gutterBottom && e.gutterBottom, t.paragraph && e.paragraph];
|
|
39
40
|
}
|
|
40
41
|
})(W(({
|
|
41
|
-
theme:
|
|
42
|
+
theme: o
|
|
42
43
|
}) => {
|
|
43
|
-
var
|
|
44
|
+
var e;
|
|
44
45
|
return {
|
|
45
46
|
margin: 0,
|
|
46
47
|
variants: [{
|
|
@@ -53,24 +54,24 @@ const N = {
|
|
|
53
54
|
lineHeight: "inherit",
|
|
54
55
|
letterSpacing: "inherit"
|
|
55
56
|
}
|
|
56
|
-
}, ...Object.entries(
|
|
57
|
+
}, ...Object.entries(o.typography).filter(([t, a]) => t !== "inherit" && a && typeof a == "object").map(([t, a]) => ({
|
|
57
58
|
props: {
|
|
58
59
|
variant: t
|
|
59
60
|
},
|
|
60
61
|
style: a
|
|
61
|
-
})), ...Object.entries(
|
|
62
|
+
})), ...Object.entries(o.palette).filter(C()).map(([t]) => ({
|
|
62
63
|
props: {
|
|
63
64
|
color: t
|
|
64
65
|
},
|
|
65
66
|
style: {
|
|
66
|
-
color: (
|
|
67
|
+
color: (o.vars || o).palette[t].main
|
|
67
68
|
}
|
|
68
|
-
})), ...Object.entries(((
|
|
69
|
+
})), ...Object.entries(((e = o.palette) == null ? void 0 : e.text) || {}).filter(([, t]) => typeof t == "string").map(([t]) => ({
|
|
69
70
|
props: {
|
|
70
71
|
color: `text${c(t)}`
|
|
71
72
|
},
|
|
72
73
|
style: {
|
|
73
|
-
color: (
|
|
74
|
+
color: (o.vars || o).palette.text[t]
|
|
74
75
|
}
|
|
75
76
|
})), {
|
|
76
77
|
props: ({
|
|
@@ -116,16 +117,16 @@ const N = {
|
|
|
116
117
|
body1: "p",
|
|
117
118
|
body2: "p",
|
|
118
119
|
inherit: "p"
|
|
119
|
-
}, V = /* @__PURE__ */ j.forwardRef(function(
|
|
120
|
+
}, V = /* @__PURE__ */ j.forwardRef(function(e, t) {
|
|
120
121
|
const {
|
|
121
122
|
color: a,
|
|
122
|
-
...
|
|
123
|
+
...i
|
|
123
124
|
} = w({
|
|
124
|
-
props:
|
|
125
|
+
props: e,
|
|
125
126
|
name: "MuiTypography"
|
|
126
|
-
}),
|
|
127
|
-
...
|
|
128
|
-
...
|
|
127
|
+
}), s = !N[a], p = D({
|
|
128
|
+
...i,
|
|
129
|
+
...s && {
|
|
129
130
|
color: a
|
|
130
131
|
}
|
|
131
132
|
}), {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as s } from "./generateUtilityClasses-
|
|
2
|
-
import { g as e } from "./createTheme-
|
|
1
|
+
import { g as s } from "./generateUtilityClasses-DMkCz287.js";
|
|
2
|
+
import { g as e } from "./createTheme-BlQh0eyI.js";
|
|
3
3
|
function o(t) {
|
|
4
4
|
return e("MuiButtonBase", t);
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as l } from "./generateUtilityClasses-
|
|
2
|
-
import { g as o } from "./createTheme-
|
|
1
|
+
import { g as l } from "./generateUtilityClasses-DMkCz287.js";
|
|
2
|
+
import { g as o } from "./createTheme-BlQh0eyI.js";
|
|
3
3
|
function i(e) {
|
|
4
4
|
return o("MuiChip", e);
|
|
5
5
|
}
|