@solostylist/ui-kit 1.0.11 → 1.0.13
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/README.md +1 -1
- package/dist/{Box-DyPisl7H.js → Box-BAmUWsQI.js} +4 -4
- package/dist/{Menu-CzI0zcbw.js → Menu-B8rPlcSd.js} +426 -420
- package/dist/{Stack-DIkbVcfm.js → Stack-DDbGEkxd.js} +17 -18
- package/dist/{Typography-jSFidXje.js → Typography-DiJzGJJd.js} +4 -4
- package/dist/{buttonBaseClasses-DxKwiRBX.js → buttonBaseClasses-DuDP2bLR.js} +2 -2
- package/dist/{createSvgIcon-B7_s-URK.js → createSvgIcon-Bpes8W5L.js} +20 -20
- package/dist/{createTheme-BZxWCiBm.js → createTheme-DDycScYN.js} +294 -263
- package/dist/{extendSxProp-SCsFy5tr.js → extendSxProp-De4gGzfV.js} +1 -1
- package/dist/{generateUtilityClasses-STjIp_B9.js → generateUtilityClasses-Z7VQRhBn.js} +1 -1
- package/dist/hooks/use-popover.d.ts +1 -1
- package/dist/{iconButtonClasses-CqYTUZq-.js → iconButtonClasses-8TuGhR-e.js} +2 -2
- package/dist/{index-DljiS4x1.js → index-CBHvlAxO.js} +4 -4
- package/dist/main.d.ts +0 -13
- package/dist/main.js +73 -99
- package/dist/{memoTheme-CaOW5YiB.js → memoTheme-DX35GGEJ.js} +30 -30
- package/dist/{menuItemClasses-BxqenSTj.js → menuItemClasses-DLFqc90k.js} +2 -2
- package/dist/outlinedInputClasses-CnRkAD7A.js +19 -0
- package/dist/s-button-link/s-button-link.d.ts +2 -3
- package/dist/s-button-link/s-button-link.js +11 -12
- package/dist/s-checkbox/s-checkbox.js +8 -9
- package/dist/s-chips/s-chips.js +6 -7
- package/dist/s-data-table/s-data-table.js +232 -233
- package/dist/s-dialog-confirm/s-dialog-confirm.js +26 -27
- package/dist/s-dialog-message/s-dialog-message.js +27 -28
- package/dist/s-file-dropzone/s-file-dropzone.js +27 -29
- package/dist/s-file-icon/s-file-icon.js +1 -1
- package/dist/s-multi-select/s-multi-select.js +318 -33
- package/dist/s-pagination/s-pagination.d.ts +2 -1
- package/dist/s-pagination/s-pagination.js +12 -15
- package/dist/s-select/s-select.js +10 -11
- package/dist/s-text-editor/s-text-editor-toolbar.js +506 -508
- package/dist/s-text-editor/s-text-editor.js +1 -1
- package/dist/s-theme-provider/s-theme-provider.js +1 -1
- package/dist/s-tip/s-tip.js +3 -3
- package/dist/{selectClasses-BaagNb21.js → selectClasses-CDFwg8w_.js} +2 -2
- package/dist/{svgIconClasses-SzHbWjUv.js → svgIconClasses-XJq1Ciua.js} +2 -2
- package/dist/theme/{customizations/components → components}/avatar.js +2 -2
- package/dist/theme/components/components.d.ts +2 -1126
- package/dist/theme/components/components.js +4 -108
- package/dist/theme/customizations/data-display.js +98 -58
- package/dist/theme/customizations/feedback.js +1 -1
- package/dist/theme/customizations/inputs.js +5 -5
- package/dist/theme/customizations/navigation.js +24 -24
- package/dist/theme/customizations/surfaces.js +1 -1
- package/dist/theme/theme-primitives.js +1 -1
- package/dist/{typographyClasses-BrhUWCU3.js → typographyClasses-CyVhKkh8.js} +2 -2
- package/dist/useSlot-B682hoPx.js +1179 -0
- package/dist/{useTheme-DrS6mww6.js → useTheme-DPznNGA-.js} +1 -1
- package/package.json +1 -1
- package/dist/ButtonBase-BFsNsbc9.js +0 -999
- package/dist/CaretDown-CZu0drmJ.js +0 -41
- package/dist/MenuItem-Bl45WcKS.js +0 -258
- package/dist/backdropClasses-lc38rgzd.js +0 -10
- package/dist/generateUtilityClass-CRH_bFW6.js +0 -34
- package/dist/inputBaseClasses-BRd7g4Od.js +0 -10
- package/dist/listItemIconClasses-D-kc0Y9u.js +0 -5
- package/dist/outlinedInputClasses-BTtPbpE5.js +0 -14
- package/dist/paperClasses-D1WMlaxU.js +0 -10
- package/dist/s-avatar/index.d.ts +0 -1
- package/dist/s-avatar/index.js +0 -4
- package/dist/s-avatar/package.json +0 -5
- package/dist/s-avatar/s-avatar.d.ts +0 -6
- package/dist/s-avatar/s-avatar.js +0 -6
- package/dist/s-box/index.d.ts +0 -1
- package/dist/s-box/index.js +0 -4
- package/dist/s-box/package.json +0 -5
- package/dist/s-box/s-box.d.ts +0 -5
- package/dist/s-box/s-box.js +0 -6
- package/dist/s-breadcrumbs-separator/index.d.ts +0 -1
- package/dist/s-breadcrumbs-separator/index.js +0 -4
- package/dist/s-breadcrumbs-separator/package.json +0 -5
- package/dist/s-breadcrumbs-separator/s-breadcrumbs-separator.d.ts +0 -3
- package/dist/s-breadcrumbs-separator/s-breadcrumbs-separator.js +0 -6
- package/dist/s-button/index.d.ts +0 -1
- package/dist/s-button/index.js +0 -4
- package/dist/s-button/package.json +0 -5
- package/dist/s-button/s-button.d.ts +0 -6
- package/dist/s-button/s-button.js +0 -18
- package/dist/s-card/index.d.ts +0 -1
- package/dist/s-card/index.js +0 -4
- package/dist/s-card/package.json +0 -5
- package/dist/s-card/s-card.d.ts +0 -6
- package/dist/s-card/s-card.js +0 -6
- package/dist/s-card-actions/index.d.ts +0 -1
- package/dist/s-card-actions/index.js +0 -4
- package/dist/s-card-actions/package.json +0 -5
- package/dist/s-card-actions/s-card-actions.d.ts +0 -6
- package/dist/s-card-actions/s-card-actions.js +0 -6
- package/dist/s-card-content/index.d.ts +0 -1
- package/dist/s-card-content/index.js +0 -4
- package/dist/s-card-content/package.json +0 -5
- package/dist/s-card-content/s-card-content.d.ts +0 -6
- package/dist/s-card-content/s-card-content.js +0 -6
- package/dist/s-card-header/index.d.ts +0 -1
- package/dist/s-card-header/index.js +0 -4
- package/dist/s-card-header/package.json +0 -5
- package/dist/s-card-header/s-card-header.d.ts +0 -6
- package/dist/s-card-header/s-card-header.js +0 -6
- package/dist/s-chip/index.d.ts +0 -1
- package/dist/s-chip/index.js +0 -4
- package/dist/s-chip/package.json +0 -5
- package/dist/s-chip/s-chip.d.ts +0 -6
- package/dist/s-chip/s-chip.js +0 -6
- package/dist/s-link/index.d.ts +0 -1
- package/dist/s-link/index.js +0 -4
- package/dist/s-link/package.json +0 -5
- package/dist/s-link/s-link.d.ts +0 -6
- package/dist/s-link/s-link.js +0 -6
- package/dist/s-menu-item/index.d.ts +0 -1
- package/dist/s-menu-item/index.js +0 -4
- package/dist/s-menu-item/package.json +0 -5
- package/dist/s-menu-item/s-menu-item.d.ts +0 -9
- package/dist/s-menu-item/s-menu-item.js +0 -6
- package/dist/s-rating/index.d.ts +0 -1
- package/dist/s-rating/index.js +0 -4
- package/dist/s-rating/package.json +0 -5
- package/dist/s-rating/s-rating.d.ts +0 -7
- package/dist/s-rating/s-rating.js +0 -6
- package/dist/s-stack/index.d.ts +0 -1
- package/dist/s-stack/index.js +0 -4
- package/dist/s-stack/package.json +0 -5
- package/dist/s-stack/s-stack.d.ts +0 -5
- package/dist/s-stack/s-stack.js +0 -6
- package/dist/tabClasses-CDDkt7la.js +0 -5
- package/dist/tableCellClasses-CBw1aep0.js +0 -10
- package/dist/theme/components/accordion.d.ts +0 -8
- package/dist/theme/components/accordion.js +0 -11
- package/dist/theme/components/alert.d.ts +0 -7
- package/dist/theme/components/alert.js +0 -4
- package/dist/theme/components/autocomplete.d.ts +0 -124
- package/dist/theme/components/autocomplete.js +0 -51
- package/dist/theme/components/backdrop.d.ts +0 -9
- package/dist/theme/components/backdrop.js +0 -9
- package/dist/theme/components/button-base.d.ts +0 -5
- package/dist/theme/components/button-base.js +0 -4
- package/dist/theme/components/button-group.d.ts +0 -5
- package/dist/theme/components/button-group.js +0 -4
- package/dist/theme/components/button.d.ts +0 -156
- package/dist/theme/components/button.js +0 -109
- package/dist/theme/components/card-actions.d.ts +0 -7
- package/dist/theme/components/card-actions.js +0 -6
- package/dist/theme/components/card-content.d.ts +0 -10
- package/dist/theme/components/card-content.js +0 -7
- package/dist/theme/components/card-header.d.ts +0 -25
- package/dist/theme/components/card-header.js +0 -20
- package/dist/theme/components/card.d.ts +0 -17
- package/dist/theme/components/card.js +0 -17
- package/dist/theme/components/checkbox.d.ts +0 -18
- package/dist/theme/components/checkbox.js +0 -60
- package/dist/theme/components/chip.d.ts +0 -28
- package/dist/theme/components/chip.js +0 -62
- package/dist/theme/components/dialog-actions.d.ts +0 -7
- package/dist/theme/components/dialog-actions.js +0 -6
- package/dist/theme/components/dialog-content-text.d.ts +0 -8
- package/dist/theme/components/dialog-content-text.js +0 -6
- package/dist/theme/components/dialog-content.d.ts +0 -8
- package/dist/theme/components/dialog-content.js +0 -6
- package/dist/theme/components/dialog-title.d.ts +0 -7
- package/dist/theme/components/dialog-title.js +0 -6
- package/dist/theme/components/filled-input.d.ts +0 -31
- package/dist/theme/components/filled-input.js +0 -21
- package/dist/theme/components/form-control-label.d.ts +0 -15
- package/dist/theme/components/form-control-label.js +0 -7
- package/dist/theme/components/form-group.d.ts +0 -7
- package/dist/theme/components/form-group.js +0 -4
- package/dist/theme/components/form-helper-text.d.ts +0 -8
- package/dist/theme/components/form-helper-text.js +0 -8
- package/dist/theme/components/form-label.d.ts +0 -12
- package/dist/theme/components/form-label.js +0 -9
- package/dist/theme/components/icon-button.d.ts +0 -83
- package/dist/theme/components/icon-button.js +0 -49
- package/dist/theme/components/input-base.d.ts +0 -39
- package/dist/theme/components/input-base.js +0 -34
- package/dist/theme/components/input-label.d.ts +0 -10
- package/dist/theme/components/input-label.js +0 -6
- package/dist/theme/components/input.d.ts +0 -32
- package/dist/theme/components/input.js +0 -22
- package/dist/theme/components/linear-progress.d.ts +0 -8
- package/dist/theme/components/linear-progress.js +0 -6
- package/dist/theme/components/link.d.ts +0 -10
- package/dist/theme/components/link.js +0 -11
- package/dist/theme/components/list-item-avatar.d.ts +0 -7
- package/dist/theme/components/list-item-avatar.js +0 -6
- package/dist/theme/components/list-item-button.d.ts +0 -10
- package/dist/theme/components/list-item-button.js +0 -7
- package/dist/theme/components/list-item-icon.d.ts +0 -9
- package/dist/theme/components/list-item-icon.js +0 -6
- package/dist/theme/components/list-item-text.d.ts +0 -7
- package/dist/theme/components/list-item-text.js +0 -6
- package/dist/theme/components/list-item.d.ts +0 -7
- package/dist/theme/components/list-item.js +0 -6
- package/dist/theme/components/list.d.ts +0 -7
- package/dist/theme/components/list.js +0 -6
- package/dist/theme/components/menu-item.d.ts +0 -17
- package/dist/theme/components/menu-item.js +0 -17
- package/dist/theme/components/menu.d.ts +0 -13
- package/dist/theme/components/menu.js +0 -7
- package/dist/theme/components/outlined-input.d.ts +0 -127
- package/dist/theme/components/outlined-input.js +0 -47
- package/dist/theme/components/paper.d.ts +0 -7
- package/dist/theme/components/paper.js +0 -6
- package/dist/theme/components/popover.d.ts +0 -11
- package/dist/theme/components/popover.js +0 -7
- package/dist/theme/components/radio.d.ts +0 -13
- package/dist/theme/components/radio.js +0 -25
- package/dist/theme/components/select.d.ts +0 -21
- package/dist/theme/components/select.js +0 -18
- package/dist/theme/components/skeleton.d.ts +0 -5
- package/dist/theme/components/skeleton.js +0 -8
- package/dist/theme/components/stack.d.ts +0 -5
- package/dist/theme/components/stack.js +0 -4
- package/dist/theme/components/switch.d.ts +0 -19
- package/dist/theme/components/switch.js +0 -11
- package/dist/theme/components/tab.d.ts +0 -18
- package/dist/theme/components/tab.js +0 -15
- package/dist/theme/components/table-body.d.ts +0 -5
- package/dist/theme/components/table-body.js +0 -10
- package/dist/theme/components/table-cell.d.ts +0 -10
- package/dist/theme/components/table-cell.js +0 -11
- package/dist/theme/components/table-head.d.ts +0 -11
- package/dist/theme/components/table-head.js +0 -15
- package/dist/theme/components/table-pagination.d.ts +0 -28
- package/dist/theme/components/table-pagination.js +0 -93
- package/dist/theme/components/tabs.d.ts +0 -33
- package/dist/theme/components/tabs.js +0 -21
- package/dist/theme/components/toggle-button-group.d.ts +0 -23
- package/dist/theme/components/toggle-button-group.js +0 -17
- package/dist/theme/components/toggle-button.d.ts +0 -12
- package/dist/theme/components/toggle-button.js +0 -9
- package/dist/theme/components/tooltip.d.ts +0 -10
- package/dist/theme/components/tooltip.js +0 -7
- package/dist/theme/customizations/components/components.d.ts +0 -7
- package/dist/theme/customizations/components/components.js +0 -7
- package/dist/useSlot-CtsS_jy6.js +0 -184
- /package/dist/theme/{customizations/components → components}/avatar.d.ts +0 -0
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import e, { forwardRef as m } from "react";
|
|
2
|
-
import { E as c } from "./SSRBase-BSdFRe_j.js";
|
|
3
|
-
const o = /* @__PURE__ */ new Map([
|
|
4
|
-
[
|
|
5
|
-
"bold",
|
|
6
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z" }))
|
|
7
|
-
],
|
|
8
|
-
[
|
|
9
|
-
"duotone",
|
|
10
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M208,96l-80,80L48,96Z", opacity: "0.2" }), /* @__PURE__ */ e.createElement("path", { d: "M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z" }))
|
|
11
|
-
],
|
|
12
|
-
[
|
|
13
|
-
"fill",
|
|
14
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z" }))
|
|
15
|
-
],
|
|
16
|
-
[
|
|
17
|
-
"light",
|
|
18
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z" }))
|
|
19
|
-
],
|
|
20
|
-
[
|
|
21
|
-
"regular",
|
|
22
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z" }))
|
|
23
|
-
],
|
|
24
|
-
[
|
|
25
|
-
"thin",
|
|
26
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z" }))
|
|
27
|
-
]
|
|
28
|
-
]);
|
|
29
|
-
var p = Object.defineProperty, i = Object.defineProperties, u = Object.getOwnPropertyDescriptors, r = Object.getOwnPropertySymbols, E = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable, n = (a, t, l) => t in a ? p(a, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : a[t] = l, d = (a, t) => {
|
|
30
|
-
for (var l in t || (t = {}))
|
|
31
|
-
E.call(t, l) && n(a, l, t[l]);
|
|
32
|
-
if (r)
|
|
33
|
-
for (var l of r(t))
|
|
34
|
-
f.call(t, l) && n(a, l, t[l]);
|
|
35
|
-
return a;
|
|
36
|
-
}, b = (a, t) => i(a, u(t));
|
|
37
|
-
const g = m((a, t) => /* @__PURE__ */ e.createElement(c, b(d({ ref: t }, a), { weights: o })));
|
|
38
|
-
g.displayName = "CaretDown";
|
|
39
|
-
export {
|
|
40
|
-
g as C
|
|
41
|
-
};
|
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
import * as l from "react";
|
|
2
|
-
import { a as d, P as o } from "./createTheme-BZxWCiBm.js";
|
|
3
|
-
import { c as x } from "./identifier-CHPjnqaz.js";
|
|
4
|
-
import { u as V, s as j, c as B, r as L, m as P } from "./memoTheme-CaOW5YiB.js";
|
|
5
|
-
import { g as S, d as $, m as i } from "./menuItemClasses-BxqenSTj.js";
|
|
6
|
-
import { j as I } from "./jsx-runtime-C5mzlN2N.js";
|
|
7
|
-
import { u as D } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
8
|
-
import { u as F, B as G } from "./ButtonBase-BFsNsbc9.js";
|
|
9
|
-
import { l as O } from "./listItemIconClasses-D-kc0Y9u.js";
|
|
10
|
-
import { g as U } from "./generateUtilityClasses-STjIp_B9.js";
|
|
11
|
-
const b = /* @__PURE__ */ l.createContext({});
|
|
12
|
-
process.env.NODE_ENV !== "production" && (b.displayName = "ListContext");
|
|
13
|
-
const M = U("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]), H = (e, s) => {
|
|
14
|
-
const {
|
|
15
|
-
ownerState: t
|
|
16
|
-
} = e;
|
|
17
|
-
return [s.root, t.dense && s.dense, t.divider && s.divider, !t.disableGutters && s.gutters];
|
|
18
|
-
}, _ = (e) => {
|
|
19
|
-
const {
|
|
20
|
-
disabled: s,
|
|
21
|
-
dense: t,
|
|
22
|
-
divider: a,
|
|
23
|
-
disableGutters: c,
|
|
24
|
-
selected: p,
|
|
25
|
-
classes: r
|
|
26
|
-
} = e, n = B({
|
|
27
|
-
root: ["root", t && "dense", s && "disabled", !c && "gutters", a && "divider", p && "selected"]
|
|
28
|
-
}, S, r);
|
|
29
|
-
return {
|
|
30
|
-
...r,
|
|
31
|
-
...n
|
|
32
|
-
};
|
|
33
|
-
}, z = j(G, {
|
|
34
|
-
shouldForwardProp: (e) => L(e) || e === "classes",
|
|
35
|
-
name: "MuiMenuItem",
|
|
36
|
-
slot: "Root",
|
|
37
|
-
overridesResolver: H
|
|
38
|
-
})(P(({
|
|
39
|
-
theme: e
|
|
40
|
-
}) => ({
|
|
41
|
-
...e.typography.body1,
|
|
42
|
-
display: "flex",
|
|
43
|
-
justifyContent: "flex-start",
|
|
44
|
-
alignItems: "center",
|
|
45
|
-
position: "relative",
|
|
46
|
-
textDecoration: "none",
|
|
47
|
-
minHeight: 48,
|
|
48
|
-
paddingTop: 6,
|
|
49
|
-
paddingBottom: 6,
|
|
50
|
-
boxSizing: "border-box",
|
|
51
|
-
whiteSpace: "nowrap",
|
|
52
|
-
"&:hover": {
|
|
53
|
-
textDecoration: "none",
|
|
54
|
-
backgroundColor: (e.vars || e).palette.action.hover,
|
|
55
|
-
// Reset on touch devices, it doesn't add specificity
|
|
56
|
-
"@media (hover: none)": {
|
|
57
|
-
backgroundColor: "transparent"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
[`&.${i.selected}`]: {
|
|
61
|
-
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})` : d(e.palette.primary.main, e.palette.action.selectedOpacity),
|
|
62
|
-
[`&.${i.focusVisible}`]: {
|
|
63
|
-
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))` : d(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.focusOpacity)
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
[`&.${i.selected}:hover`]: {
|
|
67
|
-
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))` : d(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.hoverOpacity),
|
|
68
|
-
// Reset on touch devices, it doesn't add specificity
|
|
69
|
-
"@media (hover: none)": {
|
|
70
|
-
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})` : d(e.palette.primary.main, e.palette.action.selectedOpacity)
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
[`&.${i.focusVisible}`]: {
|
|
74
|
-
backgroundColor: (e.vars || e).palette.action.focus
|
|
75
|
-
},
|
|
76
|
-
[`&.${i.disabled}`]: {
|
|
77
|
-
opacity: (e.vars || e).palette.action.disabledOpacity
|
|
78
|
-
},
|
|
79
|
-
[`& + .${$.root}`]: {
|
|
80
|
-
marginTop: e.spacing(1),
|
|
81
|
-
marginBottom: e.spacing(1)
|
|
82
|
-
},
|
|
83
|
-
[`& + .${$.inset}`]: {
|
|
84
|
-
marginLeft: 52
|
|
85
|
-
},
|
|
86
|
-
[`& .${M.root}`]: {
|
|
87
|
-
marginTop: 0,
|
|
88
|
-
marginBottom: 0
|
|
89
|
-
},
|
|
90
|
-
[`& .${M.inset}`]: {
|
|
91
|
-
paddingLeft: 36
|
|
92
|
-
},
|
|
93
|
-
[`& .${O.root}`]: {
|
|
94
|
-
minWidth: 36
|
|
95
|
-
},
|
|
96
|
-
variants: [{
|
|
97
|
-
props: ({
|
|
98
|
-
ownerState: s
|
|
99
|
-
}) => !s.disableGutters,
|
|
100
|
-
style: {
|
|
101
|
-
paddingLeft: 16,
|
|
102
|
-
paddingRight: 16
|
|
103
|
-
}
|
|
104
|
-
}, {
|
|
105
|
-
props: ({
|
|
106
|
-
ownerState: s
|
|
107
|
-
}) => s.divider,
|
|
108
|
-
style: {
|
|
109
|
-
borderBottom: `1px solid ${(e.vars || e).palette.divider}`,
|
|
110
|
-
backgroundClip: "padding-box"
|
|
111
|
-
}
|
|
112
|
-
}, {
|
|
113
|
-
props: ({
|
|
114
|
-
ownerState: s
|
|
115
|
-
}) => !s.dense,
|
|
116
|
-
style: {
|
|
117
|
-
[e.breakpoints.up("sm")]: {
|
|
118
|
-
minHeight: "auto"
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}, {
|
|
122
|
-
props: ({
|
|
123
|
-
ownerState: s
|
|
124
|
-
}) => s.dense,
|
|
125
|
-
style: {
|
|
126
|
-
minHeight: 32,
|
|
127
|
-
// https://m2.material.io/components/menus#specs > Dense
|
|
128
|
-
paddingTop: 4,
|
|
129
|
-
paddingBottom: 4,
|
|
130
|
-
...e.typography.body2,
|
|
131
|
-
[`& .${O.root} svg`]: {
|
|
132
|
-
fontSize: "1.25rem"
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}]
|
|
136
|
-
}))), W = /* @__PURE__ */ l.forwardRef(function(s, t) {
|
|
137
|
-
const a = V({
|
|
138
|
-
props: s,
|
|
139
|
-
name: "MuiMenuItem"
|
|
140
|
-
}), {
|
|
141
|
-
autoFocus: c = !1,
|
|
142
|
-
component: p = "li",
|
|
143
|
-
dense: r = !1,
|
|
144
|
-
divider: f = !1,
|
|
145
|
-
disableGutters: n = !1,
|
|
146
|
-
focusVisibleClassName: N,
|
|
147
|
-
role: T = "menuitem",
|
|
148
|
-
tabIndex: g,
|
|
149
|
-
className: R,
|
|
150
|
-
...k
|
|
151
|
-
} = a, v = l.useContext(b), y = l.useMemo(() => ({
|
|
152
|
-
dense: r || v.dense || !1,
|
|
153
|
-
disableGutters: n
|
|
154
|
-
}), [v.dense, r, n]), u = l.useRef(null);
|
|
155
|
-
D(() => {
|
|
156
|
-
c && (u.current ? u.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."));
|
|
157
|
-
}, [c]);
|
|
158
|
-
const w = {
|
|
159
|
-
...a,
|
|
160
|
-
dense: y.dense,
|
|
161
|
-
divider: f,
|
|
162
|
-
disableGutters: n
|
|
163
|
-
}, m = _(a), E = F(u, t);
|
|
164
|
-
let C;
|
|
165
|
-
return a.disabled || (C = g !== void 0 ? g : -1), /* @__PURE__ */ I.jsx(b.Provider, {
|
|
166
|
-
value: y,
|
|
167
|
-
children: /* @__PURE__ */ I.jsx(z, {
|
|
168
|
-
ref: E,
|
|
169
|
-
role: T,
|
|
170
|
-
tabIndex: C,
|
|
171
|
-
component: p,
|
|
172
|
-
focusVisibleClassName: x(m.focusVisible, N),
|
|
173
|
-
className: x(m.root, R),
|
|
174
|
-
...k,
|
|
175
|
-
ownerState: w,
|
|
176
|
-
classes: m
|
|
177
|
-
})
|
|
178
|
-
});
|
|
179
|
-
});
|
|
180
|
-
process.env.NODE_ENV !== "production" && (W.propTypes = {
|
|
181
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
182
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
183
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
184
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
185
|
-
/**
|
|
186
|
-
* If `true`, the list item is focused during the first mount.
|
|
187
|
-
* Focus will also be triggered if the value changes from false to true.
|
|
188
|
-
* @default false
|
|
189
|
-
*/
|
|
190
|
-
autoFocus: o.bool,
|
|
191
|
-
/**
|
|
192
|
-
* The content of the component.
|
|
193
|
-
*/
|
|
194
|
-
children: o.node,
|
|
195
|
-
/**
|
|
196
|
-
* Override or extend the styles applied to the component.
|
|
197
|
-
*/
|
|
198
|
-
classes: o.object,
|
|
199
|
-
/**
|
|
200
|
-
* @ignore
|
|
201
|
-
*/
|
|
202
|
-
className: o.string,
|
|
203
|
-
/**
|
|
204
|
-
* The component used for the root node.
|
|
205
|
-
* Either a string to use a HTML element or a component.
|
|
206
|
-
*/
|
|
207
|
-
component: o.elementType,
|
|
208
|
-
/**
|
|
209
|
-
* If `true`, compact vertical padding designed for keyboard and mouse input is used.
|
|
210
|
-
* The prop defaults to the value inherited from the parent Menu component.
|
|
211
|
-
* @default false
|
|
212
|
-
*/
|
|
213
|
-
dense: o.bool,
|
|
214
|
-
/**
|
|
215
|
-
* @ignore
|
|
216
|
-
*/
|
|
217
|
-
disabled: o.bool,
|
|
218
|
-
/**
|
|
219
|
-
* If `true`, the left and right padding is removed.
|
|
220
|
-
* @default false
|
|
221
|
-
*/
|
|
222
|
-
disableGutters: o.bool,
|
|
223
|
-
/**
|
|
224
|
-
* If `true`, a 1px light border is added to the bottom of the menu item.
|
|
225
|
-
* @default false
|
|
226
|
-
*/
|
|
227
|
-
divider: o.bool,
|
|
228
|
-
/**
|
|
229
|
-
* This prop can help identify which element has keyboard focus.
|
|
230
|
-
* The class name will be applied when the element gains the focus through keyboard interaction.
|
|
231
|
-
* It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
|
|
232
|
-
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
|
|
233
|
-
* A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
|
|
234
|
-
* if needed.
|
|
235
|
-
*/
|
|
236
|
-
focusVisibleClassName: o.string,
|
|
237
|
-
/**
|
|
238
|
-
* @ignore
|
|
239
|
-
*/
|
|
240
|
-
role: o.string,
|
|
241
|
-
/**
|
|
242
|
-
* If `true`, the component is selected.
|
|
243
|
-
* @default false
|
|
244
|
-
*/
|
|
245
|
-
selected: o.bool,
|
|
246
|
-
/**
|
|
247
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
248
|
-
*/
|
|
249
|
-
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
250
|
-
/**
|
|
251
|
-
* @default 0
|
|
252
|
-
*/
|
|
253
|
-
tabIndex: o.number
|
|
254
|
-
});
|
|
255
|
-
export {
|
|
256
|
-
b as L,
|
|
257
|
-
W as M
|
|
258
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { g as t } from "./generateUtilityClasses-STjIp_B9.js";
|
|
2
|
-
import { g as a } from "./generateUtilityClass-CRH_bFW6.js";
|
|
3
|
-
function o(s) {
|
|
4
|
-
return a("MuiBackdrop", s);
|
|
5
|
-
}
|
|
6
|
-
const e = t("MuiBackdrop", ["root", "invisible"]);
|
|
7
|
-
export {
|
|
8
|
-
e as b,
|
|
9
|
-
o as g
|
|
10
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
const a = (e) => e, n = () => {
|
|
2
|
-
let e = a;
|
|
3
|
-
return {
|
|
4
|
-
configure(r) {
|
|
5
|
-
e = r;
|
|
6
|
-
},
|
|
7
|
-
generate(r) {
|
|
8
|
-
return e(r);
|
|
9
|
-
},
|
|
10
|
-
reset() {
|
|
11
|
-
e = a;
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
}, c = n(), o = {
|
|
15
|
-
active: "active",
|
|
16
|
-
checked: "checked",
|
|
17
|
-
completed: "completed",
|
|
18
|
-
disabled: "disabled",
|
|
19
|
-
error: "error",
|
|
20
|
-
expanded: "expanded",
|
|
21
|
-
focused: "focused",
|
|
22
|
-
focusVisible: "focusVisible",
|
|
23
|
-
open: "open",
|
|
24
|
-
readOnly: "readOnly",
|
|
25
|
-
required: "required",
|
|
26
|
-
selected: "selected"
|
|
27
|
-
};
|
|
28
|
-
function d(e, r, s = "Mui") {
|
|
29
|
-
const t = o[r];
|
|
30
|
-
return t ? `${s}-${t}` : `${c.generate(e)}-${r}`;
|
|
31
|
-
}
|
|
32
|
-
export {
|
|
33
|
-
d as g
|
|
34
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { g as e } from "./generateUtilityClasses-STjIp_B9.js";
|
|
2
|
-
import { g as i } from "./generateUtilityClass-CRH_bFW6.js";
|
|
3
|
-
function r(t) {
|
|
4
|
-
return i("MuiInputBase", t);
|
|
5
|
-
}
|
|
6
|
-
const l = e("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
|
|
7
|
-
export {
|
|
8
|
-
r as g,
|
|
9
|
-
l as i
|
|
10
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { g as i } from "./generateUtilityClasses-STjIp_B9.js";
|
|
2
|
-
import { i as s } from "./inputBaseClasses-BRd7g4Od.js";
|
|
3
|
-
import { g as e } from "./generateUtilityClass-CRH_bFW6.js";
|
|
4
|
-
function a(t) {
|
|
5
|
-
return e("MuiOutlinedInput", t);
|
|
6
|
-
}
|
|
7
|
-
const l = {
|
|
8
|
-
...s,
|
|
9
|
-
...i("MuiOutlinedInput", ["root", "notchedOutline", "input"])
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
a as g,
|
|
13
|
-
l as o
|
|
14
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { g as t } from "./generateUtilityClasses-STjIp_B9.js";
|
|
2
|
-
import { g as a } from "./generateUtilityClass-CRH_bFW6.js";
|
|
3
|
-
function l(e) {
|
|
4
|
-
return a("MuiPaper", e);
|
|
5
|
-
}
|
|
6
|
-
const n = t("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]);
|
|
7
|
-
export {
|
|
8
|
-
l as g,
|
|
9
|
-
n as p
|
|
10
|
-
};
|
package/dist/s-avatar/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './s-avatar';
|
package/dist/s-avatar/index.js
DELETED
package/dist/s-box/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './s-box';
|
package/dist/s-box/index.js
DELETED
package/dist/s-box/package.json
DELETED
package/dist/s-box/s-box.d.ts
DELETED
package/dist/s-box/s-box.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './s-breadcrumbs-separator';
|
package/dist/s-button/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './s-button';
|
package/dist/s-button/index.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ButtonProps } from '@mui/material';
|
|
3
|
-
interface SButtonProps extends ButtonProps {
|
|
4
|
-
}
|
|
5
|
-
declare const SButton: React.ForwardRefExoticComponent<Omit<SButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
-
export default SButton;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { j as e } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import m from "react";
|
|
3
|
-
import { Button as n } from "@mui/material";
|
|
4
|
-
const d = m.forwardRef(
|
|
5
|
-
({ variant: o = "contained", ...t }, r) => /* @__PURE__ */ e.jsx(
|
|
6
|
-
n,
|
|
7
|
-
{
|
|
8
|
-
color: o === "outlined" ? "secondary" : "primary",
|
|
9
|
-
variant: o,
|
|
10
|
-
sx: { minWidth: "100px" },
|
|
11
|
-
...t,
|
|
12
|
-
ref: r
|
|
13
|
-
}
|
|
14
|
-
)
|
|
15
|
-
);
|
|
16
|
-
export {
|
|
17
|
-
d as default
|
|
18
|
-
};
|
package/dist/s-card/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './s-card';
|
package/dist/s-card/index.js
DELETED
package/dist/s-card/package.json
DELETED
package/dist/s-card/s-card.d.ts
DELETED
package/dist/s-card/s-card.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './s-card-actions';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { CardActionsProps } from '@mui/material';
|
|
3
|
-
interface SCardActionsProps extends CardActionsProps {
|
|
4
|
-
}
|
|
5
|
-
declare const SCardActions: ({ children, ...props }: SCardActionsProps) => React.JSX.Element;
|
|
6
|
-
export default SCardActions;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './s-card-content';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { CardContentProps } from '@mui/material';
|
|
3
|
-
interface SCardContentProps extends CardContentProps {
|
|
4
|
-
}
|
|
5
|
-
declare const SCardContent: ({ children, ...props }: SCardContentProps) => React.JSX.Element;
|
|
6
|
-
export default SCardContent;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './s-card-header';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { CardHeaderProps } from '@mui/material';
|
|
3
|
-
interface SCardHeaderProps extends CardHeaderProps {
|
|
4
|
-
}
|
|
5
|
-
declare const SCardHeader: ({ children, ...props }: SCardHeaderProps) => React.JSX.Element;
|
|
6
|
-
export default SCardHeader;
|