Skip to content

Commit

Permalink
Migrate CascadingMenu changes to new @mui paradigm
Browse files Browse the repository at this point in the history
Migrate MenuItem changes


Migrating SubMenu addition




Migrating MenuList changes


Remove files from old path after migration


Fix a couple of missed migration things


Update docs:api


Update Cascading Menu demo to new imports


Update submenu import path


linting-fix
  • Loading branch information
Erik Burton committed Nov 15, 2021
1 parent 1957dd5 commit 1dfee12
Show file tree
Hide file tree
Showing 28 changed files with 1,142 additions and 3,425 deletions.
3 changes: 1 addition & 2 deletions docs/pages/api-docs/sub-menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
"name": "SubMenu",
"styles": { "classes": [], "globalClasses": {}, "name": null },
"spread": true,
"filename": "/packages/material-ui/src/SubMenu/SubMenu.js",
"filename": "/packages/mui-material/src/SubMenu/SubMenu.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/components/menus/\">Menus</a></li></ul>",
"styledComponent": true,
"cssComponent": false
}
10 changes: 5 additions & 5 deletions docs/src/pages/components/menus/CascadingMenu.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, { useState } from 'react';
import Button from '@material-ui/core/Button';
import Menu from '@material-ui/core/Menu';
import MenuItem from '@material-ui/core/MenuItem';
import SubMenu from '@material-ui/core/SubMenu';
import useTheme from '@material-ui/styles/useTheme';
import Button from '@mui/material/Button';
import Menu from '@mui/material/Menu';
import MenuItem from '@mui/material/MenuItem';
import SubMenu from '@mui/material/SubMenu';
import useTheme from '@mui/styles/useTheme';

export default function CascadingMenu() {
const theme = useTheme();
Expand Down
95 changes: 0 additions & 95 deletions packages/material-ui/src/Menu/Menu.d.ts

This file was deleted.

Loading

0 comments on commit 1dfee12

Please sign in to comment.