diff --git a/.github/ISSUE_TEMPLATE/1.bug.md b/.github/ISSUE_TEMPLATE/1.bug.md index d1e93ed08d31d6..da9c3cdc475076 100644 --- a/.github/ISSUE_TEMPLATE/1.bug.md +++ b/.github/ISSUE_TEMPLATE/1.bug.md @@ -30,9 +30,9 @@ labels: 'status: needs triage' Provide a link to a live example (you can use codesandbox.io) and an unambiguous set of steps to reproduce this bug. Include code to reproduce, if relevant (which it most likely is). - You should use the official codesandbox template as a starting point: https://material-ui.com/r/issue-template-next + You should use the official codesandbox template as a starting point: https://mui.com/r/issue-template-next - If you have an issue concerning TypeScript please start from this TypeScript playground: https://material-ui.com/r/ts-issue-template + If you have an issue concerning TypeScript please start from this TypeScript playground: https://mui.com/r/ts-issue-template Issues without some form of live example have a longer response time. --> diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index f27c03b69e9137..00be3b5daa48e8 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,5 @@ blank_issues_enabled: false # force the usage of a template contact_links: - name: Support โ” - url: https://material-ui.com/getting-started/support/ + url: https://mui.com/getting-started/support/ about: I need support with MUI. \ No newline at end of file diff --git a/.github/support.yml b/.github/support.yml index c1eabe9d7e0c4e..25907292522056 100644 --- a/.github/support.yml +++ b/.github/support.yml @@ -11,7 +11,7 @@ supportComment: | We use GitHub issues exclusively as a bug and feature requests tracker, however, this issue appears to be a support request. - For support, please check out https://material-ui.com/getting-started/support/. Thanks! + For support, please check out https://mui.com/getting-started/support/. Thanks! If you have a question on StackOverflow, you are welcome to link to it here, it might help others. If your issue is subsequently confirmed as a bug, and the report follows the issue template, it can be reopened. diff --git a/CHANGELOG.md b/CHANGELOG.md index d0f33c63ee6166..718954be28eae9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -### [Versions](https://material-ui.com/versions/) +### [Versions](https://mui.com/versions/) ## 5.0.0-rc.1 @@ -88,8 +88,8 @@ _Sep 1, 2021_ A big thanks to the 18 contributors who made this release possible. Here are some highlights โœจ: - ๐ŸŽ‰ Renamed packages to `@mui/*` as part of rebranding the company, following the strategy of expanding the library scope beyond Material Design. For more details about it, check the [GitHub discussion](https://github.com/mui-org/material-ui/discussions/27803). -- ๐Ÿ›  Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui-org/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) or head to [migration guide](https://material-ui.com/guides/migration-v4/#preset-safe) -- ๐Ÿงช Added new `` component to the lab, [check it out](https://material-ui.com/components/masonry/). It has been crafted by our first intern, @hbjORbj ๐Ÿ‘! +- ๐Ÿ›  Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui-org/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) or head to [migration guide](https://mui.com/guides/migration-v4/#preset-safe) +- ๐Ÿงช Added new `` component to the lab, [check it out](https://mui.com/components/masonry/). It has been crafted by our first intern, @hbjORbj ๐Ÿ‘! ### `@mui/material@5.0.0-rc.0` @@ -579,16 +579,16 @@ _Jul 14, 2021_ A big thanks to the 17 contributors who made this release possible. Here are some highlights โœจ: - โœจ We have introduced a new unstyled component: the Switch (#26688) @michaldudak - You can find two new versions of the Switch. A component without any styles: [`SwitchUnstyled`](https://material-ui.com/components/switches/#unstyled-switches), and a hook: [`useSwitch`](https://material-ui.com/components/switches/#useswitch-hook). + You can find two new versions of the Switch. A component without any styles: [`SwitchUnstyled`](https://mui.com/components/switches/#unstyled-switches), and a hook: [`useSwitch`](https://mui.com/components/switches/#useswitch-hook). - switch + switch You can follow our progress at https://github.com/mui-org/material-ui/issues/27170. - ๐Ÿ’„ We have updated the default `info` `success` `warning` color to be more accessible (#26817) @siriwatknp. - You can find the new [default values](https://material-ui.com/customization/palette/#default-values) in the documentation. + You can find the new [default values](https://mui.com/customization/palette/#default-values) in the documentation. - colors + colors ### `@material-ui/core@5.0.0-beta.1` @@ -828,12 +828,12 @@ A big thanks to the 18 contributors who made this release possible. Here are som - ๐Ÿš€ We have only 2 left in the [breaking changes](https://github.com/mui-org/material-ui/issues/20012). The plan to release 5.0.0-beta.0 is on July 1st and will start to promote its usage over v4. - ๐ŸŽจ We have updated `Slider` to match current [Material Design guidelines](https://material.io/components/sliders). - + -- ๐Ÿ’ก `IconButton` now supports 3 sizes (`small, medium, large`). [See demo](https://material-ui.com/components/buttons/#sizes-2). +- ๐Ÿ’ก `IconButton` now supports 3 sizes (`small, medium, large`). [See demo](https://mui.com/components/buttons/#sizes-2). - โ™ฟ๏ธ We have improved the default style of the `Link` to be more accessible (#26145) @ahmed-28 - + ### `@material-ui/core@5.0.0-alpha.38` @@ -911,13 +911,13 @@ A big thanks to the 18 contributors who made this release possible. Here are som - ​[Slider] Adjust css to match the specification (#26632) @siriwatknp - Rework the CSS to match the latest [Material Design guidelines](https://material.io/components/sliders) and make custom styles more intuitive. [See documentation](https://material-ui.com/components/slider/). + Rework the CSS to match the latest [Material Design guidelines](https://material.io/components/sliders) and make custom styles more intuitive. [See documentation](https://mui.com/components/slider/). - + - You can reduce the density of the slider, closer to v4 with the [`size="small"` prop](https://material-ui.com/components/slider/#sizes). + You can reduce the density of the slider, closer to v4 with the [`size="small"` prop](https://mui.com/components/slider/#sizes). - + - ​[IconButton] Remove label span (#26801) @siriwatknp @@ -1038,7 +1038,7 @@ A big thanks to the 11 contributors who made this release possible. Here are som ``` - Head to the [documentation](https://material-ui.com/components/grid/#responsive-values) for more details. + Head to the [documentation](https://mui.com/components/grid/#responsive-values) for more details. - โš’๏ธ We've introduced a new `useTheme` and `useThemeProps` hooks in the `@material-ui/system` package. We believe that this package can be used as a standalone styling solution for building custom design systems (#26649) @mnajdova. @@ -1148,10 +1148,10 @@ A big thanks to the 14 contributors who made this release possible. Here are som We're confident that its API shouldn't receive any major changes until the stable release of v5 (#26558) @mnajdova. - ๐Ÿ“ฆ `@material-ui/icons` only ships ES modules and no longer CommonJS modules. This reduces the download size of the package from 1.7 MB to 1.2 MB and install size from 15.6 MB to 6.7 MB (#26310) @eps1lon. -- ๐Ÿ’„ Add support for [row and column spacing](https://material-ui.com/components/grid/#row-amp-column-spacing) in the Grid component (#26559) @likitarai1. +- ๐Ÿ’„ Add support for [row and column spacing](https://mui.com/components/grid/#row-amp-column-spacing) in the Grid component (#26559) @likitarai1. grid spacing demo - Note that this feature was already available for [CSS grid users](https://material-ui.com/components/grid/#css-grid-layout) with the `rowGap` and `columnGap` props. + Note that this feature was already available for [CSS grid users](https://mui.com/components/grid/#css-grid-layout) with the `rowGap` and `columnGap` props. ### `@material-ui/core@5.0.0-alpha.36` @@ -1492,7 +1492,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som /> ``` -> Follow [this link](https://material-ui.com/guides/migration-v4/#main-content) for full migration from v4 => v5 +> Follow [this link](https://mui.com/guides/migration-v4/#main-content) for full migration from v4 => v5 #### Changes @@ -1743,7 +1743,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som - ​[withWidth] Remove API (#26136) @m4theushw - Removed in favor of the `useMediaQuery` hook. You can reproduce the same functionality creating a custom hook as described [here](https://material-ui.com/components/use-media-query/#migrating-from-withwidth). + Removed in favor of the `useMediaQuery` hook. You can reproduce the same functionality creating a custom hook as described [here](https://mui.com/components/use-media-query/#migrating-from-withwidth). - ​[Autocomplete] Rename values of the reason argument (#26172) @m4theushw @@ -2382,7 +2382,7 @@ A big thanks to the 34 contributors who made this release possible. Here are som stack - See the documentation for [more details](https://material-ui.com/components/stack/). + See the documentation for [more details](https://mui.com/components/stack/). - And many more ๐Ÿ› bug fixes and ๐Ÿ“š improvements. @@ -2783,7 +2783,7 @@ A big thanks to the 30 contributors who made this release possible. Here are som ``` - ๐Ÿ“… Focus on the date pickers, 5 fixes and 3 docs improvements. -- ๐Ÿ’… Provide a new [`darkScrollbar()`](https://material-ui.com/components/css-baseline/#scrollbars) CSS utility to improve the native scrollbar in dark mode. The documentation uses it. +- ๐Ÿ’… Provide a new [`darkScrollbar()`](https://mui.com/components/css-baseline/#scrollbars) CSS utility to improve the native scrollbar in dark mode. The documentation uses it. ### `@material-ui/core@5.0.0-alpha.25` @@ -3632,7 +3632,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som ); ``` - This enforces emotion being injected first. [More details](https://material-ui.com/guides/interoperability/#css-injection-order) in the documentation. + This enforces emotion being injected first. [More details](https://mui.com/guides/interoperability/#css-injection-order) in the documentation. - [Autocomplete] Rename `closeIcon` prop with `clearIcon` to avoid confusion (#23617) @akhilmhdh. @@ -3768,11 +3768,11 @@ A big thanks to the 18 contributors who made this release possible. Here are som A big thanks to the 34 contributors who made this release possible. Here are some highlights โœจ: - ๐Ÿ“… Migrate the date picker to the lab (#22692) @dmtrKovalenko. - We have integrated the components with the code infrastructure. Next we will migrate all the GitHub issues from [material-ui-pickers](https://github.com/mui-org/material-ui-pickers) and archive the repository. This migration will help provide first-class support for the date picker components. The component will stay in the lab as long as necessary to reach the high quality bar we have for core components. You can find the [new documentation here](https://material-ui.com/components/pickers/). + We have integrated the components with the code infrastructure. Next we will migrate all the GitHub issues from [material-ui-pickers](https://github.com/mui-org/material-ui-pickers) and archive the repository. This migration will help provide first-class support for the date picker components. The component will stay in the lab as long as necessary to reach the high quality bar we have for core components. You can find the [new documentation here](https://mui.com/components/pickers/). While the source code is currently hosted in the [main repository](https://github.com/mui-org/material-ui), we might move it to the [x repository](https://github.com/mui-org/material-ui-x) in the future, depending on what is easier for the commercial date range picker. The date picker will stay open source no matter what. -- ๐Ÿ“š Revamp the documentation for [the system](https://material-ui.com/system/basics/). The System contains CSS utilities. The documentation now promotes the use of the `sx` prop. It's ideal for adding one-off styles, e.g. padding, but when pushed to its limits, it can be used to implement quickly a complete page. +- ๐Ÿ“š Revamp the documentation for [the system](https://mui.com/system/basics/). The System contains CSS utilities. The documentation now promotes the use of the `sx` prop. It's ideal for adding one-off styles, e.g. padding, but when pushed to its limits, it can be used to implement quickly a complete page. - ๐Ÿ‘ฉโ€๐ŸŽจ Upgrade emotion to v11 (#23007) @mnajdova. - And many more ๐Ÿ› bug fixes and ๐Ÿ“š improvements. @@ -3874,7 +3874,7 @@ A big thanks to the 20 contributors who made this release possible. Here are som - โš›๏ธ Add support for React 17 (#23311) @eps1lon. React 17 release is unusual because it doesn't add any new developer-facing features. It was released a couple of days ago. You can learn more about it in the [introduction post](https://reactjs.org/blog/2020/10/20/react-v17.html). Material-UI now supports `^16.8.0 || ^17.0.0`. - ๐Ÿ›  Introduce a new `@material-ui/unstyled` package (#23270) @mnajdova. - This package will host the unstyled version of the components. In this first iteration, only the Slider is available. You can find it documented under the [same page](https://material-ui.com/components/slider-styled/#unstyled-slider) as the styled version. + This package will host the unstyled version of the components. In this first iteration, only the Slider is available. You can find it documented under the [same page](https://mui.com/components/slider-styled/#unstyled-slider) as the styled version. **Why an unstyled package?** @@ -3884,7 +3884,7 @@ A big thanks to the 20 contributors who made this release possible. Here are som Another reason for introducing this package is to prepare the groundwork for a [second theme](https://github.com/mui-org/material-ui/issues/22485) (not Material Design based). - A note on the terminology: "unstyled" means that the components have the same API as the "styled" components but come without CSS. Material-UI also contains "headless" components that exposes a hook API, e.g. [useAutocomplete](https://material-ui.com/components/autocomplete/#useautocomplete) or [usePagination](https://material-ui.com/components/pagination/#usepagination). + A note on the terminology: "unstyled" means that the components have the same API as the "styled" components but come without CSS. Material-UI also contains "headless" components that exposes a hook API, e.g. [useAutocomplete](https://mui.com/components/autocomplete/#useautocomplete) or [usePagination](https://mui.com/components/pagination/#usepagination). This change is part of our strategy to iterate on the v5 architecture with the `Slider` first. In the next alpha release, we plan to replace the v4 slider with the v5 slider. Once the new approach is stress-tested and validated, we will roll it out to all the components. @@ -4156,7 +4156,7 @@ A big thanks to the 25 contributors who made this release possible. Here are some highlights โœจ: - ๐Ÿ“ฆ Ship modern bundle (#22814) @eps1lon. - This is a significant update to the [browsers supported](https://material-ui.com/getting-started/supported-platforms/) by Material-UI. + This is a significant update to the [browsers supported](https://mui.com/getting-started/supported-platforms/) by Material-UI. The previous policy was defined 2 years ago, and the landscape has evolved since then. The package now includes 4 bundles: 1. `stable` (default, formerly `esm`) which targets a snapshot (on release) of `> 0.5%, last 2 versions, Firefox ESR, not dead, not IE 11"` @@ -4167,13 +4167,13 @@ Here are some highlights โœจ: The change yields a 6% reduction in bundle size ๐Ÿ“ฆ (Babel only). In the coming weeks, we will refactor the internals to take advantage of the new browser capabilities that dropping these older platforms allows. For instance, we might be able to remove the span we render inside the `