sevago-library 1.3.14 → 1.3.15
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/CHANGELOG.md +6 -0
- package/dist/index.cjs.js +11 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +12 -6
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.cjs.js
CHANGED
|
@@ -78346,6 +78346,10 @@ const SystemMonitorScreen = ({
|
|
|
78346
78346
|
}) => {
|
|
78347
78347
|
const theme = useTheme();
|
|
78348
78348
|
const [tab, setTab] = React.useState(AppGroup.ALL);
|
|
78349
|
+
const isBelowSm = material.useMediaQuery(theme.breakpoints.down("sm"));
|
|
78350
|
+
const isBelowMd = material.useMediaQuery(theme.breakpoints.down("md"));
|
|
78351
|
+
const isBelowLg = material.useMediaQuery(theme.breakpoints.down("lg"));
|
|
78352
|
+
const appGridColumns = isBelowSm ? 2 : isBelowMd ? 3 : isBelowLg ? 4 : 5;
|
|
78349
78353
|
const availableApps = React.useMemo(
|
|
78350
78354
|
() => Object.entries(APP_OBJ).filter(([key]) => !(blacklist == null ? void 0 : blacklist.includes(key))).map(([, app]) => {
|
|
78351
78355
|
const appInfo = app;
|
|
@@ -78388,7 +78392,7 @@ const SystemMonitorScreen = ({
|
|
|
78388
78392
|
component: MotionBox,
|
|
78389
78393
|
preset: "fadeInUp",
|
|
78390
78394
|
sx: {
|
|
78391
|
-
flexDirection:
|
|
78395
|
+
flexDirection: "row",
|
|
78392
78396
|
alignItems: "stretch",
|
|
78393
78397
|
width: "100%",
|
|
78394
78398
|
minHeight: "100%",
|
|
@@ -78399,7 +78403,8 @@ const SystemMonitorScreen = ({
|
|
|
78399
78403
|
material.Stack,
|
|
78400
78404
|
{
|
|
78401
78405
|
sx: {
|
|
78402
|
-
width: { xs:
|
|
78406
|
+
width: { xs: 72, sm: 180, md: 240 },
|
|
78407
|
+
flexShrink: 0,
|
|
78403
78408
|
gap: 0
|
|
78404
78409
|
},
|
|
78405
78410
|
children: availableGroups.map((group) => {
|
|
@@ -78411,6 +78416,7 @@ const SystemMonitorScreen = ({
|
|
|
78411
78416
|
"aria-pressed": isActive,
|
|
78412
78417
|
sx: {
|
|
78413
78418
|
p: PADDING_GAP_ITEM,
|
|
78419
|
+
justifyContent: { xs: "center", sm: "flex-start" },
|
|
78414
78420
|
border: 0,
|
|
78415
78421
|
borderLeft: { md: `3px solid ${isActive ? theme.palette.primary.main : "transparent"}` },
|
|
78416
78422
|
borderRadius: BORDER_RADIUS_ELEMENT_SMALL,
|
|
@@ -78425,7 +78431,7 @@ const SystemMonitorScreen = ({
|
|
|
78425
78431
|
},
|
|
78426
78432
|
children: [
|
|
78427
78433
|
/* @__PURE__ */ jsxRuntime.jsx(IconElement, { icon: GROUP_ICONS[group] }),
|
|
78428
|
-
/* @__PURE__ */ jsxRuntime.jsx(material.Typography, { sx: { ...TYPOGRAPHY.textMd.regular }, children: group })
|
|
78434
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Typography, { sx: { display: { xs: "none", sm: "block" }, ...TYPOGRAPHY.textMd.regular }, children: group })
|
|
78429
78435
|
]
|
|
78430
78436
|
},
|
|
78431
78437
|
group
|
|
@@ -78437,9 +78443,9 @@ const SystemMonitorScreen = ({
|
|
|
78437
78443
|
AppGrid,
|
|
78438
78444
|
{
|
|
78439
78445
|
apps: appsByGroup,
|
|
78440
|
-
columns:
|
|
78446
|
+
columns: appGridColumns,
|
|
78441
78447
|
rows: 3,
|
|
78442
|
-
iconSize:
|
|
78448
|
+
iconSize: 60,
|
|
78443
78449
|
iconRadius: 7,
|
|
78444
78450
|
onClickApp,
|
|
78445
78451
|
isShowAppHidden: true
|