diff --git a/docs/data/data-grid/getting-started/getting-started.md b/docs/data/data-grid/getting-started/getting-started.md index f4bb03002037..48b5e9524443 100644 --- a/docs/data/data-grid/getting-started/getting-started.md +++ b/docs/data/data-grid/getting-started/getting-started.md @@ -6,6 +6,8 @@ Using your favorite package manager, install `@mui/x-data-grid-pro` or `@mui/x-data-grid-premium` for the commercial version, or `@mui/x-data-grid` for the free community version. + + :::warning The `next` tag is used to download the latest v7 **pre-release** version. ::: diff --git a/docs/data/data-grid/localization/data.json b/docs/data/data-grid/localization/data.json index ac1854c7edb8..74cea1814038 100644 --- a/docs/data/data-grid/localization/data.json +++ b/docs/data/data-grid/localization/data.json @@ -5,7 +5,7 @@ "localeName": "Arabic (Sudan)", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/arSD.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/arSD.ts" }, { "languageTag": "be-BY", @@ -13,7 +13,7 @@ "localeName": "Belarusian", "missingKeysCount": 26, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/beBY.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/beBY.ts" }, { "languageTag": "bg-BG", @@ -21,7 +21,7 @@ "localeName": "Bulgarian", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/bgBG.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/bgBG.ts" }, { "languageTag": "zh-CN", @@ -29,7 +29,7 @@ "localeName": "Chinese (Simplified)", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/zhCN.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/zhCN.ts" }, { "languageTag": "zh-TW", @@ -37,7 +37,7 @@ "localeName": "Chinese (Taiwan)", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/zhTW.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/zhTW.ts" }, { "languageTag": "cs-CZ", @@ -45,7 +45,7 @@ "localeName": "Czech", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/csCZ.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/csCZ.ts" }, { "languageTag": "da-DK", @@ -53,7 +53,7 @@ "localeName": "Danish", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/daDK.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/daDK.ts" }, { "languageTag": "nl-NL", @@ -61,7 +61,7 @@ "localeName": "Dutch", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/nlNL.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/nlNL.ts" }, { "languageTag": "fi-FI", @@ -69,7 +69,7 @@ "localeName": "Finnish", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/fiFI.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/fiFI.ts" }, { "languageTag": "fr-FR", @@ -77,7 +77,7 @@ "localeName": "French", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/frFR.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/frFR.ts" }, { "languageTag": "de-DE", @@ -85,7 +85,7 @@ "localeName": "German", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/deDE.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/deDE.ts" }, { "languageTag": "el-GR", @@ -93,7 +93,7 @@ "localeName": "Greek", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/elGR.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/elGR.ts" }, { "languageTag": "he-IL", @@ -101,7 +101,7 @@ "localeName": "Hebrew", "missingKeysCount": 7, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/heIL.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/heIL.ts" }, { "languageTag": "hu-HU", @@ -109,7 +109,7 @@ "localeName": "Hungarian", "missingKeysCount": 2, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/huHU.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/huHU.ts" }, { "languageTag": "it-IT", @@ -117,7 +117,7 @@ "localeName": "Italian", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/itIT.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/itIT.ts" }, { "languageTag": "ja-JP", @@ -125,7 +125,7 @@ "localeName": "Japanese", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/jaJP.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/jaJP.ts" }, { "languageTag": "ko-KR", @@ -133,7 +133,7 @@ "localeName": "Korean", "missingKeysCount": 27, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/koKR.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/koKR.ts" }, { "languageTag": "nb-NO", @@ -141,7 +141,7 @@ "localeName": "Norwegian (Bokmål)", "missingKeysCount": 25, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/nbNO.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/nbNO.ts" }, { "languageTag": "fa-IR", @@ -149,7 +149,7 @@ "localeName": "Persian", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/faIR.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/faIR.ts" }, { "languageTag": "pl-PL", @@ -157,7 +157,7 @@ "localeName": "Polish", "missingKeysCount": 27, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/plPL.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/plPL.ts" }, { "languageTag": "pt-BR", @@ -165,7 +165,7 @@ "localeName": "Portuguese (Brazil)", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/ptBR.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/ptBR.ts" }, { "languageTag": "ro-RO", @@ -173,7 +173,7 @@ "localeName": "Romanian", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/roRO.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/roRO.ts" }, { "languageTag": "ru-RU", @@ -181,7 +181,7 @@ "localeName": "Russian", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/ruRU.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/ruRU.ts" }, { "languageTag": "sk-SK", @@ -189,7 +189,7 @@ "localeName": "Slovak", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/skSK.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/skSK.ts" }, { "languageTag": "es-ES", @@ -197,7 +197,7 @@ "localeName": "Spanish", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/esES.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/esES.ts" }, { "languageTag": "sv-SE", @@ -205,7 +205,7 @@ "localeName": "Swedish", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/svSE.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/svSE.ts" }, { "languageTag": "tr-TR", @@ -213,7 +213,7 @@ "localeName": "Turkish", "missingKeysCount": 15, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/trTR.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/trTR.ts" }, { "languageTag": "uk-UA", @@ -221,7 +221,7 @@ "localeName": "Ukrainian", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/ukUA.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/ukUA.ts" }, { "languageTag": "ur-PK", @@ -229,7 +229,7 @@ "localeName": "Urdu (Pakistan)", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/urPK.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/urPK.ts" }, { "languageTag": "vi-VN", @@ -237,6 +237,6 @@ "localeName": "Vietnamese", "missingKeysCount": 0, "totalKeysCount": 119, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/viVN.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/grid/x-data-grid/src/locales/viVN.ts" } ] diff --git a/docs/data/data-grid/localization/localization.md b/docs/data/data-grid/localization/localization.md index b4974873aafd..75cd55dcfaeb 100644 --- a/docs/data/data-grid/localization/localization.md +++ b/docs/data/data-grid/localization/localization.md @@ -6,10 +6,8 @@ The default locale of MUI is English (United States). If you want to use other l ## Translation keys - - You can use the `localeText` prop to pass in your own text and translations. -You can find all the translation keys supported in [the source](https://github.com/mui/mui-x/blob/HEAD/packages/grid/x-data-grid/src/constants/localeTextConstants.ts) +You can find all the translation keys supported in [the source](https://github.com/mui/mui-x/blob/-/packages/grid/x-data-grid/src/constants/localeTextConstants.ts) in the GitHub repository. In the following example, the labels of the density selector are customized. diff --git a/docs/data/data-grid/overview/overview.md b/docs/data/data-grid/overview/overview.md index db280aff8622..007fe5cf3085 100644 --- a/docs/data/data-grid/overview/overview.md +++ b/docs/data/data-grid/overview/overview.md @@ -109,9 +109,7 @@ You can find more details on, the [feature comparison](/x/react-data-grid/gettin Here are some resources you might be interested in to learn more about the data grid: - - -- The [source on GitHub](https://github.com/mui/mui-x/tree/master/packages/) +- The [source on GitHub](https://github.com/mui/mui-x/blob/-/packages/) - The [Material Design specification](https://m2.material.io/components/data-tables) specification - The accessibility [WAI-ARIA authoring practices](https://www.w3.org/WAI/ARIA/apg/patterns/grid/) - The Figma, Adobe XD, and Sketch [design kits](https://mui.com/design-kits/). diff --git a/docs/data/date-pickers/getting-started/getting-started.md b/docs/data/date-pickers/getting-started/getting-started.md index da81844bab88..99a9a9d6e2e4 100644 --- a/docs/data/date-pickers/getting-started/getting-started.md +++ b/docs/data/date-pickers/getting-started/getting-started.md @@ -18,6 +18,8 @@ Using your favorite package manager, install: - `@mui/x-date-pickers` for the free community version or `@mui/x-date-pickers-pro` for the commercial version. - The date library to manipulate the date. + + :::warning The `next` tag is used to download the latest v7 **pre-release** version. ::: diff --git a/docs/data/date-pickers/localization/data.json b/docs/data/date-pickers/localization/data.json index e676e662f92d..c3c426833aab 100644 --- a/docs/data/date-pickers/localization/data.json +++ b/docs/data/date-pickers/localization/data.json @@ -5,7 +5,7 @@ "localeName": "Basque", "missingKeysCount": 0, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/eu.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/eu.ts" }, { "languageTag": "be-BY", @@ -13,7 +13,7 @@ "localeName": "Belarusian", "missingKeysCount": 2, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/beBY.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/beBY.ts" }, { "languageTag": "ca-ES", @@ -21,7 +21,7 @@ "localeName": "Catalan", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/caES.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/caES.ts" }, { "languageTag": "zh-HK", @@ -29,7 +29,7 @@ "localeName": "Chinese (Hong Kong)", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/zhHK.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/zhHK.ts" }, { "languageTag": "zh-CN", @@ -37,7 +37,7 @@ "localeName": "Chinese (Simplified)", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/zhCN.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/zhCN.ts" }, { "languageTag": "cs-CZ", @@ -45,7 +45,7 @@ "localeName": "Czech", "missingKeysCount": 2, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/csCZ.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/csCZ.ts" }, { "languageTag": "da-DK", @@ -53,7 +53,7 @@ "localeName": "Danish", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/daDK.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/daDK.ts" }, { "languageTag": "nl-NL", @@ -61,7 +61,7 @@ "localeName": "Dutch", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/nlNL.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/nlNL.ts" }, { "languageTag": "fi-FI", @@ -69,7 +69,7 @@ "localeName": "Finnish", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/fiFI.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/fiFI.ts" }, { "languageTag": "fr-FR", @@ -77,7 +77,7 @@ "localeName": "French", "missingKeysCount": 2, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/frFR.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/frFR.ts" }, { "languageTag": "de-DE", @@ -85,7 +85,7 @@ "localeName": "German", "missingKeysCount": 0, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/deDE.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/deDE.ts" }, { "languageTag": "el-GR", @@ -93,7 +93,7 @@ "localeName": "Greek", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/elGR.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/elGR.ts" }, { "languageTag": "he-IL", @@ -101,7 +101,7 @@ "localeName": "Hebrew", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/heIL.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/heIL.ts" }, { "languageTag": "hu-HU", @@ -109,7 +109,7 @@ "localeName": "Hungarian", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/huHU.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/huHU.ts" }, { "languageTag": "is-IS", @@ -117,7 +117,7 @@ "localeName": "Icelandic", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/isIS.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/isIS.ts" }, { "languageTag": "it-IT", @@ -125,7 +125,7 @@ "localeName": "Italian", "missingKeysCount": 2, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/itIT.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/itIT.ts" }, { "languageTag": "ja-JP", @@ -133,7 +133,7 @@ "localeName": "Japanese", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/jaJP.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/jaJP.ts" }, { "languageTag": "kz-KZ", @@ -141,7 +141,7 @@ "localeName": "Kazakh", "missingKeysCount": 2, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/kzKZ.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/kzKZ.ts" }, { "languageTag": "ko-KR", @@ -149,7 +149,7 @@ "localeName": "Korean", "missingKeysCount": 2, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/koKR.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/koKR.ts" }, { "languageTag": "mk", @@ -157,7 +157,7 @@ "localeName": "Macedonian", "missingKeysCount": 0, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/mk.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/mk.ts" }, { "languageTag": "nb-NO", @@ -165,7 +165,7 @@ "localeName": "Norwegian (Bokmål)", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/nbNO.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/nbNO.ts" }, { "languageTag": "fa-IR", @@ -173,7 +173,7 @@ "localeName": "Persian", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/faIR.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/faIR.ts" }, { "languageTag": "pl-PL", @@ -181,7 +181,7 @@ "localeName": "Polish", "missingKeysCount": 9, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/plPL.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/plPL.ts" }, { "languageTag": "pt-BR", @@ -189,7 +189,7 @@ "localeName": "Portuguese (Brazil)", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/ptBR.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/ptBR.ts" }, { "languageTag": "ro-RO", @@ -197,7 +197,7 @@ "localeName": "Romanian", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/roRO.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/roRO.ts" }, { "languageTag": "ru-RU", @@ -205,7 +205,7 @@ "localeName": "Russian", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/ruRU.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/ruRU.ts" }, { "languageTag": "sk-SK", @@ -213,7 +213,7 @@ "localeName": "Slovak", "missingKeysCount": 2, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/skSK.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/skSK.ts" }, { "languageTag": "es-ES", @@ -221,7 +221,7 @@ "localeName": "Spanish", "missingKeysCount": 0, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/esES.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/esES.ts" }, { "languageTag": "sv-SE", @@ -229,7 +229,7 @@ "localeName": "Swedish", "missingKeysCount": 9, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/svSE.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/svSE.ts" }, { "languageTag": "tr-TR", @@ -237,7 +237,7 @@ "localeName": "Turkish", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/trTR.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/trTR.ts" }, { "languageTag": "uk-UA", @@ -245,7 +245,7 @@ "localeName": "Ukrainian", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/ukUA.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/ukUA.ts" }, { "languageTag": "ur-PK", @@ -253,7 +253,7 @@ "localeName": "Urdu (Pakistan)", "missingKeysCount": 9, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/urPK.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/urPK.ts" }, { "languageTag": "vi-VN", @@ -261,6 +261,6 @@ "localeName": "Vietnamese", "missingKeysCount": 1, "totalKeysCount": 37, - "githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/viVN.ts" + "githubLink": "https://github.com/mui/mui-x/blob/next/packages/x-date-pickers/src/locales/viVN.ts" } ] diff --git a/docs/data/migration/migration-data-grid-v5/migration-data-grid-v5.md b/docs/data/migration/migration-data-grid-v5/migration-data-grid-v5.md index 5a55e3ba2eaa..5a4b7424ba5f 100644 --- a/docs/data/migration/migration-data-grid-v5/migration-data-grid-v5.md +++ b/docs/data/migration/migration-data-grid-v5/migration-data-grid-v5.md @@ -4,8 +4,6 @@ productId: x-data-grid # Migration from v5 to v6 - -

This guide describes the changes needed to migrate the Data Grid from v5 to v6.

## Introduction @@ -14,7 +12,7 @@ To get started, check out [the blog post about the release of MUI X v6](https:// ## Start using the new release -In `package.json`, change the version of the data grid package to `latest` or `^6.0.0`. +In `package.json`, change the version of the data grid package to `^6.0.0`. ```diff -"@mui/x-data-grid": "5.X.X", @@ -33,9 +31,9 @@ You can either run it on a specific file, folder, or your entire codebase when c ```bash // Data Grid specific -npx @mui/x-codemod v6.0.0/data-grid/preset-safe +npx @mui/x-codemod@latest v6.0.0/data-grid/preset-safe // Target Date and Time Pickers as well -npx @mui/x-codemod v6.0.0/preset-safe +npx @mui/x-codemod@latest v6.0.0/preset-safe ``` :::success @@ -499,7 +497,7 @@ To smooth the transition, data grid support both the `components` props which ar If you would like to use the new API and do not want to see deprecated prop usage, consider running `rename-components-to-slots` codemod handling the prop renaming. ```bash -npx @mui/x-codemod v6.0.0/data-grid/rename-components-to-slots +npx @mui/x-codemod@latest v6.0.0/data-grid/rename-components-to-slots ``` Take a look at [the RFC](https://github.com/mui/material-ui/issues/33416) for more information. diff --git a/docs/data/migration/migration-data-grid-v6/migration-data-grid-v6.md b/docs/data/migration/migration-data-grid-v6/migration-data-grid-v6.md index bca3c434b9b1..bdb2bcf1b82b 100644 --- a/docs/data/migration/migration-data-grid-v6/migration-data-grid-v6.md +++ b/docs/data/migration/migration-data-grid-v6/migration-data-grid-v6.md @@ -34,9 +34,9 @@ You can either run it on a specific file, folder, or your entire codebase when c ```bash // Data Grid specific -npx @mui/x-codemod v7.0.0/data-grid/preset-safe +npx @mui/x-codemod@next v7.0.0/data-grid/preset-safe // Target other MUI X components as well -npx @mui/x-codemod v7.0.0/preset-safe +npx @mui/x-codemod@next v7.0.0/preset-safe ``` :::info diff --git a/docs/data/migration/migration-pickers-v5/migration-pickers-v5.md b/docs/data/migration/migration-pickers-v5/migration-pickers-v5.md index 3cce6f7d6b9b..5653e19345b7 100644 --- a/docs/data/migration/migration-pickers-v5/migration-pickers-v5.md +++ b/docs/data/migration/migration-pickers-v5/migration-pickers-v5.md @@ -4,8 +4,6 @@ productId: x-date-pickers # Migration from v5 to v6 - -

This guide describes the changes needed to migrate the Date and Time Pickers from v5 to v6.

## Introduction @@ -14,7 +12,7 @@ To get started, check out [the blog post about the release of MUI X v6](https:// ## Start using the new release -In `package.json`, change the version of the date pickers package to `latest` or `^6.0.0`. +In `package.json`, change the version of the date pickers package to `^6.0.0`. ```diff -"@mui/x-date-pickers": "5.X.X", @@ -33,9 +31,9 @@ You can either run it on a specific file, folder, or your entire codebase when c ```bash // Date and Time Pickers specific -npx @mui/x-codemod v6.0.0/pickers/preset-safe +npx @mui/x-codemod@latest v6.0.0/pickers/preset-safe // Target Data Grid as well -npx @mui/x-codemod v6.0.0/preset-safe +npx @mui/x-codemod@latest v6.0.0/preset-safe ``` :::info @@ -962,7 +960,7 @@ To smooth the transition, pickers support both the `components` props which are If you would like to use the new API and do not want to see deprecated prop usage, consider running `rename-components-to-slots` codemod handling the prop renaming. ```bash -npx @mui/x-codemod v6.0.0/pickers/rename-components-to-slots +npx @mui/x-codemod@latest v6.0.0/pickers/rename-components-to-slots ``` Take a look at [the RFC](https://github.com/mui/material-ui/issues/33416) for more information. diff --git a/docs/data/tree-view/getting-started/getting-started.md b/docs/data/tree-view/getting-started/getting-started.md index 52ba88a1bfc8..04d5d71e52f0 100644 --- a/docs/data/tree-view/getting-started/getting-started.md +++ b/docs/data/tree-view/getting-started/getting-started.md @@ -14,6 +14,8 @@ waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/treeview/ Using your favorite package manager, install `@mui/x-tree-view`: + + :::warning The `next` tag is used to download the latest v7 **pre-release** version. ::: diff --git a/docs/next.config.js b/docs/next.config.js index 0d4bbca124b9..5624ff3f9bcb 100644 --- a/docs/next.config.js +++ b/docs/next.config.js @@ -24,7 +24,7 @@ module.exports = withDocsInfra({ FEEDBACK_URL: process.env.FEEDBACK_URL, CONTEXT: process.env.CONTEXT, // #default-branch-switch - SOURCE_GITHUB_BRANCH: 'master', + SOURCE_GITHUB_BRANCH: 'next', SOURCE_CODE_REPO: 'https://github.com/mui/mui-x', GITHUB_TEMPLATE_DOCS_FEEDBACK: '6.docs-feedback.yml', }, diff --git a/docs/pages/_app.js b/docs/pages/_app.js index cc359b66eac4..56aaa444f278 100644 --- a/docs/pages/_app.js +++ b/docs/pages/_app.js @@ -26,8 +26,10 @@ LicenseInfo.setLicenseKey(process.env.NEXT_PUBLIC_MUI_LICENSE); function getMuiPackageVersion(packageName, commitRef) { if (commitRef === undefined) { - // #default-branch-switch with latest for the master branch - return 'latest'; + // #default-branch-switch + // Use the "latest" npm tag for the master git branch + // Use the "next" npm tag for the next git branch + return 'next'; } const shortSha = commitRef.slice(0, 8); return `https://pkg.csb.dev/mui/mui-x/commit/${shortSha}/@mui/${packageName}`; diff --git a/docs/src/modules/components/DataGridInstallationInstructions.js b/docs/src/modules/components/DataGridInstallationInstructions.js index 3deba052a6b9..030004edd155 100644 --- a/docs/src/modules/components/DataGridInstallationInstructions.js +++ b/docs/src/modules/components/DataGridInstallationInstructions.js @@ -1,6 +1,8 @@ import * as React from 'react'; import InstallationInstructions from './InstallationInstructions'; +// #default-branch-switch + const packages = { Community: '@mui/x-data-grid@next', Pro: '@mui/x-data-grid-pro@next', diff --git a/docs/src/modules/components/PickersInstallationInstructions.js b/docs/src/modules/components/PickersInstallationInstructions.js index 02dc44eea229..81a2cf652e9e 100644 --- a/docs/src/modules/components/PickersInstallationInstructions.js +++ b/docs/src/modules/components/PickersInstallationInstructions.js @@ -1,6 +1,8 @@ import * as React from 'react'; import InstallationInstructions from './InstallationInstructions'; +// #default-branch-switch + const packages = { Community: '@mui/x-date-pickers@next', Pro: '@mui/x-date-pickers-pro@next', diff --git a/packages/x-codemod/README.md b/packages/x-codemod/README.md index 63fd1febd2e4..1244ac276230 100644 --- a/packages/x-codemod/README.md +++ b/packages/x-codemod/README.md @@ -13,7 +13,7 @@ This repository contains a collection of codemod scripts based for use with ```bash -npx @mui/x-codemod +npx @mui/x-codemod@next Applies a `@mui/x-codemod` to the specified paths diff --git a/scripts/releaseChangelog.mjs b/scripts/releaseChangelog.mjs index 990239b4e19e..f616cf4b5e5f 100644 --- a/scripts/releaseChangelog.mjs +++ b/scripts/releaseChangelog.mjs @@ -296,7 +296,7 @@ yargs(process.argv.slice(2)) }) .option('release', { // #default-branch-switch - default: 'master', + default: 'next', describe: 'Ref which we want to release', type: 'string', });