wcz-test 4.2.2 → 4.2.3

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -22
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Autocomplete, Box, Button, CardHeader, Checkbox, Chip, CssBaseline, Dialog, DialogActions, DialogContent, DialogTitle, Divider, Fab, FormControl, FormControlLabel, FormHelperText, FormLabel, IconButton, ImageListItem, ImageListItemBar, InitColorSchemeScript, LinearProgress, Link, List, ListItemButton, ListItemIcon, ListItemText, Menu, Paper, Radio, RadioGroup, Slider, Stack, Switch, Tab, TextField, Tooltip, Typography, createTheme, darken, lighten, useEventCallback, useTheme } from "@mui/material";
1
+ import { Autocomplete, Box, Button, CardHeader, Checkbox, Chip, Dialog, DialogActions, DialogContent, DialogTitle, Divider, Fab, FormControl, FormControlLabel, FormHelperText, FormLabel, IconButton, ImageListItem, ImageListItemBar, Link, List, ListItemButton, ListItemIcon, ListItemText, Menu, Paper, Radio, RadioGroup, Slider, Stack, Switch, Tab, TextField, Tooltip, Typography, createTheme, darken, lighten, useEventCallback, useTheme } from "@mui/material";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React$1 from "react";
4
4
  import React, { Fragment, createContext, useCallback, useContext, useEffect, useId, useMemo, useRef, useState } from "react";
@@ -21,7 +21,7 @@ import SmartDisplay from "@mui/icons-material/SmartDisplay";
21
21
  import Close from "@mui/icons-material/Close";
22
22
  import Edit from "@mui/icons-material/Edit";
23
23
  import { GridActionsCellItem } from "@mui/x-data-grid-premium";
24
- import { ThemeProvider, styled, useThemeProps } from "@mui/material/styles";
24
+ import { styled, useThemeProps } from "@mui/material/styles";
25
25
  import dayjs from "dayjs";
26
26
  import weekOfYearPlugin from "dayjs/plugin/weekOfYear.js";
27
27
  import customParseFormatPlugin from "dayjs/plugin/customParseFormat.js";
@@ -3212,27 +3212,11 @@ styled("div")(({ theme }) => ({
3212
3212
  ...theme.mixins.toolbar
3213
3213
  }));
3214
3214
  const Layout = (props) => {
3215
- const theme = useGetTheme(props.theme);
3215
+ useGetTheme(props.theme);
3216
3216
  const [navigationOpen, setNavigationOpen] = useLocalStorageState$1("navigationOpen", { defaultServerValue: false });
3217
- const isFetching = !!useIsFetching();
3218
- const isMutating = !!useIsMutating();
3219
- return /* @__PURE__ */ jsxs(ThemeProvider, {
3220
- theme,
3221
- children: [
3222
- /* @__PURE__ */ jsx(InitColorSchemeScript, {}),
3223
- /* @__PURE__ */ jsx(CssBaseline, {}),
3224
- props.children,
3225
- (isFetching || isMutating) && /* @__PURE__ */ jsx(LinearProgress, { sx: {
3226
- position: "fixed",
3227
- top: {
3228
- xs: 56,
3229
- sm: 64
3230
- },
3231
- left: 0,
3232
- right: 0
3233
- } })
3234
- ]
3235
- });
3217
+ useIsFetching();
3218
+ useIsMutating();
3219
+ return /* @__PURE__ */ jsx("div", { children: props.children });
3236
3220
  };
3237
3221
 
3238
3222
  //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wcz-test",
3
3
  "displayName": "WCZ Layout",
4
- "version": "4.2.2",
4
+ "version": "4.2.3",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "type": "module",