Skip to content

Commit d41857c

Browse files
authored
AXON-635: audit and update deprecated methods (#1206)
1 parent 037b3b0 commit d41857c

File tree

12 files changed

+43
-64
lines changed

12 files changed

+43
-64
lines changed

package-lock.json

Lines changed: 24 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
"category": "Rovo Dev",
166166
"description": "Opens the ~/.rovodev/rovodev.log file in the editor.",
167167
"enablement": "atlascode:rovoDevEnabled"
168-
},
168+
},
169169
{
170170
"command": "atlascode.rovodev.shareFeedback",
171171
"title": "Share feedback",
@@ -1494,7 +1494,7 @@
14941494
"@atlaskit/form": "^12.2.1",
14951495
"@atlaskit/icon": "^27.12.0",
14961496
"@atlaskit/icon-lab": "^5.7.0",
1497-
"@atlaskit/inline-dialog": "^17.2.6",
1497+
"@atlaskit/inline-dialog": "^18.0.4",
14981498
"@atlaskit/layering": "^3.0.0",
14991499
"@atlaskit/lozenge": "^13.0.8",
15001500
"@atlaskit/mention": "^24.2.18",
@@ -1716,4 +1716,4 @@
17161716
"react": "^18.3.1"
17171717
}
17181718
}
1719-
}
1719+
}

src/react/atlascode/common/ErrorDisplay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { isErrorCollection, isErrorWithMessages } from '@atlassianlabs/jira-pi-common-models';
22
import CloseIcon from '@mui/icons-material/Close';
3-
import { Alert, AlertTitle } from '@mui/lab';
43
import { Collapse, IconButton, Snackbar, Theme } from '@mui/material';
4+
import { Alert, AlertTitle } from '@mui/material';
55
import { makeStyles } from '@mui/styles';
66
import React, { useCallback, useContext, useEffect, useState } from 'react';
77
import { v4 } from 'uuid';

src/react/atlascode/common/pmf/PMFDisplay.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { Alert, AlertTitle } from '@mui/lab';
2-
import { Box, Button, Collapse, Grid } from '@mui/material';
1+
import { Alert, AlertTitle, Box, Button, Collapse, Grid } from '@mui/material';
32
import React, { useCallback, useContext } from 'react';
43

54
import { CommonAction } from '../../../../lib/ipc/fromUI/common';

src/react/atlascode/config/ConfigPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { RefreshButton } from '@atlassianlabs/guipi-core-components';
22
import PersonIcon from '@mui/icons-material/Person';
33
import WorkIcon from '@mui/icons-material/Work';
4-
import ToggleButton from '@mui/lab/ToggleButton';
5-
import ToggleButtonGroup from '@mui/lab/ToggleButtonGroup';
64
import {
75
AppBar,
86
Badge,
@@ -13,6 +11,8 @@ import {
1311
Tab,
1412
Tabs,
1513
Theme,
14+
ToggleButton,
15+
ToggleButtonGroup,
1616
Toolbar,
1717
Tooltip,
1818
Typography,

src/react/atlascode/config/ConfigPageV3.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { RefreshButton } from '@atlassianlabs/guipi-core-components';
22
import PersonIcon from '@mui/icons-material/Person';
33
import WorkIcon from '@mui/icons-material/Work';
4-
import ToggleButton from '@mui/lab/ToggleButton';
5-
import ToggleButtonGroup from '@mui/lab/ToggleButtonGroup';
64
import {
75
AppBar,
86
Badge,
@@ -13,6 +11,8 @@ import {
1311
Tab,
1412
Tabs,
1513
Theme,
14+
ToggleButton,
15+
ToggleButtonGroup,
1616
Toolbar,
1717
Tooltip,
1818
Typography,

src/react/atlascode/config/explore/AltDemoButton.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import Skeleton from '@mui/lab/Skeleton';
2-
import { Box, Button, darken, Divider, Grid, lighten, Theme, Typography } from '@mui/material';
1+
import { Box, Button, darken, Divider, Grid, lighten, Skeleton, Theme, Typography } from '@mui/material';
32
import { makeStyles } from '@mui/styles';
43
import React, { useCallback, useState } from 'react';
54

src/react/atlascode/config/explore/DemoDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import Skeleton from '@mui/lab/Skeleton';
21
import {
32
Box,
43
Button,
@@ -7,6 +6,7 @@ import {
76
DialogContent,
87
DialogContentText,
98
DialogTitle,
9+
Skeleton,
1010
Tooltip,
1111
Typography,
1212
} from '@mui/material';

src/react/atlascode/pullrequest/CreatePullRequestPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import { RefreshButton, ToggleWithLabel } from '@atlassianlabs/guipi-core-compon
22
import { emptyTransition, Transition } from '@atlassianlabs/jira-pi-common-models';
33
import ArrowForwardIcon from '@mui/icons-material/ArrowForward';
44
import LaunchIcon from '@mui/icons-material/Launch';
5-
import { Autocomplete } from '@mui/lab';
65
import {
76
AppBar,
7+
Autocomplete,
88
Box,
99
Button,
1010
Card,

src/react/atlascode/pullrequest/MergeChecks.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { Alert } from '@mui/lab';
2-
import { Typography } from '@mui/material';
1+
import { Alert, Typography } from '@mui/material';
32
import * as React from 'react';
43

54
import { PullRequestData } from '../../../bitbucket/model';

0 commit comments

Comments
 (0)