Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[material-next] Drop the package #41544

Merged
merged 6 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .codesandbox/ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"packages/mui-icons-material",
"packages/mui-joy",
"packages/mui-lab",
"packages/mui-material-next",
"packages/mui-material-nextjs",
"packages/mui-material",
"packages/mui-private-theming",
Expand All @@ -37,7 +36,6 @@
"@mui/internal-scripts": "packages-internal/scripts",
"@mui/joy": "packages/mui-joy/build",
"@mui/lab": "packages/mui-lab/build",
"@mui/material-next": "packages/mui-material-next/build",
"@mui/material-nextjs": "packages/mui-material-nextjs/build",
"@mui/material": "packages/mui-material/build",
"@mui/private-theming": "packages/mui-private-theming/build",
Expand Down
1 change: 0 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ module.exports = function getBabelConfig(api) {
'@mui/private-theming': resolveAliasPath('./packages/mui-private-theming/src'),
'@mui/base': resolveAliasPath('./packages/mui-base/src'),
'@mui/utils': resolveAliasPath('./packages/mui-utils/src'),
'@mui/material-next': resolveAliasPath('./packages/mui-material-next/src'),
'@mui/joy': resolveAliasPath('./packages/mui-joy/src'),
'@pigment-css/react': resolveAliasPath('./packages/pigment-css-react/src'),
'@mui/internal-docs-utils': resolveAliasPath('./packages-internal/docs-utils/src'),
Expand Down
48 changes: 0 additions & 48 deletions docs/data/material/components/badges/BadgeMaterialYouPlayground.js

This file was deleted.

15 changes: 0 additions & 15 deletions docs/data/material/components/badges/badges.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,3 @@ You can't rely on the content of the badge to be announced correctly.
You should provide a full description, for instance, with `aria-label`:

{{"demo": "AccessibleBadges.js"}}

## Experimental APIs

### Material Design 3

The default Material UI Badge component follows the Material Design 2 specs.
To use the [M3](https://m3.material.io/) version, install the experimental `@mui/material-next` package.

```js
import Badge from '@mui/material-next/Badge';
```

{{"demo": "BadgeMaterialYouPlayground.js", "hideToolbar": true, "bg": "playground"}}

To learn more about Material UI's M3 implementation, visit the [M3 Components documentation](/material-ui/guides/material-3-components/).

This file was deleted.

13 changes: 0 additions & 13 deletions docs/data/material/components/button-group/button-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,3 @@ You can remove the elevation with the `disableElevation` prop.
You can use the [`<LoadingButton />`](/material-ui/react-button/#loading-button) from [`@mui/lab`](/material-ui/about-the-lab/) in the button group.

{{"demo": "LoadingButtonGroup.js"}}

### Material Design 3

The default Material UI Button Group component follows the Material Design 2 specs.
To use the [M3](https://m3.material.io/) version, install the experimental `@mui/material-next` package.

```js
import ButtonGroup from '@mui/material-next/ButtonGroup';
```

{{"demo": "ButtonGroupMaterialYouPlayground.js", "hideToolbar": true, "bg": "playground"}}

To learn more about Material UI's M3 implementation, visit the [M3 Components documentation](/material-ui/guides/material-3-components/).

This file was deleted.

15 changes: 0 additions & 15 deletions docs/data/material/components/buttons/buttons.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,18 +196,3 @@ To prevent this, ensure that the contents of the Loading Button are nested insid
<span>Submit</span>
</LoadingButton>
```

:::

### Material Design 3

The default Material UI Button component follows the Material Design 2 specs.
To use the [M3](https://m3.material.io/) version, install the experimental `@mui/material-next` package.

```js
import Button from '@mui/material-next/Button';
```

{{"demo": "ButtonMaterialYouPlayground.js", "hideToolbar": true, "bg": "playground"}}

To learn more about Material UI's M3 implementation, visit the [M3 Components documentation](/material-ui/guides/material-3-components/).
59 changes: 0 additions & 59 deletions docs/data/material/components/chips/ChipMaterialYouPlayground.js

This file was deleted.

15 changes: 0 additions & 15 deletions docs/data/material/components/chips/chips.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,21 +97,6 @@ gain depth while clicked or touched.

{{"demo": "ChipsPlayground.js", "hideToolbar": true}}

## Experimental API

### Material Design 3

The default Material UI Chip component follows the Material Design 2 specs.
To use the [M3](https://m3.material.io/) version, install the experimental `@mui/material-next` package.

```js
import Chip from '@mui/material-next/Chip';
```

{{"demo": "ChipMaterialYouPlayground.js", "hideToolbar": true, "bg": "playground"}}

To learn more about Material UI's M3 implementation, visit the [M3 Components documentation](/material-ui/guides/material-3-components/).

## Accessibility

If the Chip is deletable or clickable then it is a button in tab order. When the Chip is focused (for example when tabbing) releasing (`keyup` event) `Backspace` or `Delete` will call the `onDelete` handler while releasing `Escape` will blur the Chip.

This file was deleted.

Loading
Loading