Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
therockstorm committed Sep 14, 2021
1 parent 4682979 commit 2da32cd
Show file tree
Hide file tree
Showing 33 changed files with 208 additions and 218 deletions.
4 changes: 2 additions & 2 deletions .babelrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
[
"babel-plugin-import",
{
libraryName: "@material-ui/core",
libraryName: "@mui/material",
libraryDirectory: "",
camel2DashComponentName: false,
},
Expand All @@ -14,7 +14,7 @@ module.exports = {
[
"babel-plugin-import",
{
libraryName: "@material-ui/icons",
libraryName: "@mui/icons-material",
libraryDirectory: "",
camel2DashComponentName: false,
},
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"@emotion/react": "^11.4",
"@emotion/server": "^11.4",
"@emotion/styled": "^11.3",
"@material-ui/core": "^5.0.0-beta.5",
"@material-ui/icons": "^5.0.0-beta.5",
"@mui/icons-material": "^5.0.0-rc.1",
"@mui/material": "^5.0.0-rc.1",
"@vertexvis/api-client-node": "^0.14",
"@vertexvis/viewer-react": "^0.10.2-canary.7",
"lodash.debounce": "^4.0",
Expand All @@ -18,7 +18,7 @@
"next-iron-session": "^4.2.0",
"react": "^17.0",
"react-dom": "^17.0",
"react-hook-form": "^7.14",
"react-hook-form": "^7.15",
"react-hotkeys-hook": "^3.4",
"swr": "^0.5"
},
Expand All @@ -38,7 +38,7 @@
"eslint-plugin-react": "^7",
"eslint-plugin-react-hooks": "^4",
"eslint-plugin-simple-import-sort": "^7.0",
"prettier": "^2.3",
"prettier": "^2.4",
"tslib": "^2.3",
"typescript": "^4"
},
Expand Down
4 changes: 2 additions & 2 deletions src/components/file/CreateFileDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import {
FormControlLabel,
LinearProgress,
TextField,
} from "@material-ui/core";
import { CloudUploadOutlined } from "@material-ui/icons";
} from "@mui/material";
import { CloudUploadOutlined } from "@mui/icons-material";
import { CreateFileRequestDataAttributes } from "@vertexvis/api-client-node";
import { useRouter } from "next/router";
import React from "react";
Expand Down
4 changes: 2 additions & 2 deletions src/components/file/FileTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import {
TablePagination,
TableRow,
TextField,
} from "@material-ui/core";
import { Add } from "@material-ui/icons";
} from "@mui/material";
import { Add } from "@mui/icons-material";
import { Cursors } from "@vertexvis/api-client-node";
import debounce from "lodash.debounce";
import React from "react";
Expand Down
2 changes: 1 addition & 1 deletion src/components/part/CreatePartDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
RadioGroup,
TextField,
Typography,
} from "@material-ui/core";
} from "@mui/material";
import React from "react";
import useSWR from "swr";

Expand Down
4 changes: 2 additions & 2 deletions src/components/part/PartRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import {
TableHead,
TableRow,
Typography,
} from "@material-ui/core";
import { Add, KeyboardArrowDown, KeyboardArrowUp } from "@material-ui/icons";
} from "@mui/material";
import { Add, KeyboardArrowDown, KeyboardArrowUp } from "@mui/icons-material";
import React from "react";

import { toLocaleString } from "../../lib/dates";
Expand Down
4 changes: 2 additions & 2 deletions src/components/part/PartTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import {
TablePagination,
TableRow,
TextField,
} from "@material-ui/core";
import { Add } from "@material-ui/icons";
} from "@mui/material";
import { Add } from "@mui/icons-material";
import { Cursors } from "@vertexvis/api-client-node";
import debounce from "lodash.debounce";
import { useRouter } from "next/router";
Expand Down
2 changes: 1 addition & 1 deletion src/components/part/QueuedTranslationsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
TableHead,
TableRow,
Typography,
} from "@material-ui/core";
} from "@mui/material";
import React from "react";
import useSWR from "swr";

Expand Down
4 changes: 2 additions & 2 deletions src/components/scene/SceneDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import {
TableRow,
Tooltip,
Typography,
} from "@material-ui/core";
import { Close, FileCopyOutlined } from "@material-ui/icons";
} from "@mui/material";
import { Close, FileCopyOutlined } from "@mui/icons-material";
import React from "react";
import { useForm } from "react-hook-form";

Expand Down
4 changes: 2 additions & 2 deletions src/components/scene/SceneTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ import {
TableRow,
TextField,
Tooltip,
} from "@material-ui/core";
} from "@mui/material";
import {
EditOutlined,
MergeTypeOutlined,
VisibilityOutlined,
VpnKeyOutlined,
} from "@material-ui/icons";
} from "@mui/icons-material";
import { Cursors, SceneData } from "@vertexvis/api-client-node";
import { Environment } from "@vertexvis/viewer";
import debounce from "lodash.debounce";
Expand Down
2 changes: 1 addition & 1 deletion src/components/shared/CreateSceneDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
DialogTitle,
TextField,
Typography,
} from "@material-ui/core";
} from "@mui/material";
import React from "react";

import { MergeSceneReq, MergeSceneRes } from "../../pages/api/merged-scenes";
Expand Down
2 changes: 1 addition & 1 deletion src/components/shared/DataLoadError.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TableCell, TableRow } from "@material-ui/core";
import { TableCell, TableRow } from "@mui/material";
import React from "react";

interface NewType {
Expand Down
4 changes: 2 additions & 2 deletions src/components/shared/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* @jsx jsx */ /** @jsxRuntime classic */ import { jsx } from "@emotion/react";
import { Box, Button, IconButton, Link } from "@material-ui/core";
import { Menu as MenuIcon } from "@material-ui/icons";
import { Box, Button, IconButton, Link } from "@mui/material";
import { Menu as MenuIcon } from "@mui/icons-material";
import Image from "next/image";
import { useRouter } from "next/router";

Expand Down
2 changes: 1 addition & 1 deletion src/components/shared/Input.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TextField, TextFieldProps } from "@material-ui/core";
import { TextField, TextFieldProps } from "@mui/material";
import React from "react";
import {
Control,
Expand Down
4 changes: 2 additions & 2 deletions src/components/shared/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import {
AppBarProps as MuiAppBarProps,
Box,
Toolbar,
} from "@material-ui/core";
import { styled } from "@material-ui/core/styles";
} from "@mui/material";
import { styled } from "@mui/material/styles";

import useUser from "../../lib/hooks/use-user";
import { easeOutEntering, sharpLeaving } from "../../lib/transitions";
Expand Down
6 changes: 3 additions & 3 deletions src/components/shared/LeftDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import {
ListItemIcon,
ListItemText,
Toolbar,
} from "@material-ui/core";
import { drawerClasses } from "@material-ui/core/Drawer";
} from "@mui/material";
import { drawerClasses } from "@mui/material/Drawer";
import {
DescriptionOutlined,
LocalLibraryOutlined,
PhotoLibraryOutlined,
} from "@material-ui/icons";
} from "@mui/icons-material";
import { useRouter } from "next/router";
import React from "react";

Expand Down
2 changes: 1 addition & 1 deletion src/components/shared/SkeletonBody.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Checkbox, Skeleton, TableCell, TableRow } from "@material-ui/core";
import { Checkbox, Skeleton, TableCell, TableRow } from "@mui/material";
import React from "react";

interface Props {
Expand Down
2 changes: 1 addition & 1 deletion src/components/shared/TableHead.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
TableCell,
TableHead as MuiTableHead,
TableRow,
} from "@material-ui/core";
} from "@mui/material";
import React from "react";

export interface HeadCell {
Expand Down
6 changes: 3 additions & 3 deletions src/components/shared/TableToolbar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { IconButton, Toolbar, Tooltip, Typography } from "@material-ui/core";
import { alpha } from "@material-ui/core/styles";
import { Delete } from "@material-ui/icons";
import { IconButton, Toolbar, Tooltip, Typography } from "@mui/material";
import { alpha } from "@mui/material/styles";
import { Delete } from "@mui/icons-material";
import React from "react";

interface Props {
Expand Down
2 changes: 1 addition & 1 deletion src/components/shared/VectorTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
TableCell,
TableRow,
Typography,
} from "@material-ui/core";
} from "@mui/material";
import { Vector3 } from "@vertexvis/geometry";
import React from "react";

Expand Down
2 changes: 1 addition & 1 deletion src/components/viewer/CreateSceneViewStateDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
DialogContent,
DialogTitle,
TextField,
} from "@material-ui/core";
} from "@mui/material";
import React from "react";

import {
Expand Down
4 changes: 2 additions & 2 deletions src/components/viewer/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { AppBar as MuiAppBar, Box, Toolbar } from "@material-ui/core";
import { styled } from "@material-ui/core/styles";
import { AppBar as MuiAppBar, Box, Toolbar } from "@mui/material";
import { styled } from "@mui/material/styles";
import React from "react";

export const BottomDrawerHeight = 240;
Expand Down
6 changes: 3 additions & 3 deletions src/components/viewer/LeftDrawer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Box, Divider, Drawer, IconButton, Tooltip } from "@material-ui/core";
import { drawerClasses } from "@material-ui/core/Drawer";
import { ChevronLeft } from "@material-ui/icons";
import { Box, Divider, Drawer, IconButton, Tooltip } from "@mui/material";
import { drawerClasses } from "@mui/material/Drawer";
import { ChevronLeft } from "@mui/icons-material";
import { Environment } from "@vertexvis/viewer";
import React from "react";

Expand Down
2 changes: 1 addition & 1 deletion src/components/viewer/MetadataProperties.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
TableHead,
TableRow,
Typography,
} from "@material-ui/core";
} from "@mui/material";
import React from "react";

import { Metadata } from "../../lib/metadata";
Expand Down
13 changes: 4 additions & 9 deletions src/components/viewer/RightDrawer.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
import {
Accordion,
AccordionSummary,
Drawer,
Typography,
} from "@material-ui/core";
import { drawerClasses } from "@material-ui/core/Drawer";
import { styled } from "@material-ui/core/styles";
import { ExpandMore } from "@material-ui/icons";
import { Accordion, AccordionSummary, Drawer, Typography } from "@mui/material";
import { drawerClasses } from "@mui/material/Drawer";
import { styled } from "@mui/material/styles";
import { ExpandMore } from "@mui/icons-material";
import { SceneViewStateData } from "@vertexvis/api-client-node";
import React from "react";

Expand Down
7 changes: 1 addition & 6 deletions src/components/viewer/SceneViewStateList.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
import {
List,
ListItemButton,
ListItemText,
Typography,
} from "@material-ui/core";
import { List, ListItemButton, ListItemText, Typography } from "@mui/material";
import { SceneViewStateData } from "@vertexvis/api-client-node";
import React from "react";

Expand Down
4 changes: 2 additions & 2 deletions src/components/viewer/Viewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import {
ListItemText,
Snackbar,
TextField,
} from "@material-ui/core";
} from "@mui/material";
import {
CameraAltOutlined,
FileCopyOutlined,
SystemUpdateAltOutlined,
ZoomOutMapOutlined,
} from "@material-ui/icons";
} from "@mui/icons-material";
import { vertexvis } from "@vertexvis/frame-streaming-protos";
import { TapEventDetails } from "@vertexvis/viewer";
import {
Expand Down
2 changes: 1 addition & 1 deletion src/components/viewer/ViewerSpeedDial.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SpeedDial, SpeedDialAction } from "@material-ui/core";
import { SpeedDial, SpeedDialAction } from "@mui/material";

import { Action } from "./Viewer";

Expand Down
4 changes: 2 additions & 2 deletions src/lib/theme.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { blue, orange } from "@material-ui/core/colors";
import { createTheme } from "@material-ui/core/styles";
import { blue, orange } from "@mui/material/colors";
import { createTheme } from "@mui/material/styles";

export default createTheme({
palette: {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/transitions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Theme } from "@material-ui/core/styles";
import { Theme } from "@mui/material/styles";

interface Transition {
readonly easing: string;
Expand Down
4 changes: 2 additions & 2 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import "@vertexvis/viewer/dist/viewer/viewer.css";

import createCache from "@emotion/cache";
import { CacheProvider } from "@emotion/react";
import CssBaseline from "@material-ui/core/CssBaseline";
import { ThemeProvider } from "@material-ui/core/styles";
import CssBaseline from "@mui/material/CssBaseline";
import { ThemeProvider } from "@mui/material/styles";
import { AppProps } from "next/app";
import Head from "next/head";
import React from "react";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
Select,
TextField,
Typography,
} from "@material-ui/core";
} from "@mui/material";
import Image from "next/image";
import { useRouter } from "next/router";
import React from "react";
Expand Down
Loading

0 comments on commit 2da32cd

Please sign in to comment.