@mui/docs 6.0.0-beta.5 → 6.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Ad/Ad.js +1 -1
- package/CHANGELOG.md +69 -0
- package/CodeCopy/useClipboardCopy.js +1 -1
- package/node/Ad/Ad.js +3 -4
- package/node/Ad/AdDisplay.js +1 -1
- package/node/CodeCopy/CodeCopy.js +9 -15
- package/node/CodeCopy/useClipboardCopy.js +1 -1
- package/node/ComponentLinkHeader/ComponentLinkHeader.js +1 -2
- package/node/HighlightedCodeWithTabs/HighlightedCodeWithTabs.js +32 -32
- package/node/Link/Link.js +1 -1
- package/node/MarkdownElement/MarkdownElement.js +591 -594
- package/node/i18n/i18n.js +1 -1
- package/package.json +4 -4
- package/tsconfig.build.tsbuildinfo +1 -1
package/node/i18n/i18n.js
CHANGED
|
@@ -103,7 +103,7 @@ function useTranslate() {
|
|
|
103
103
|
if (!translation) {
|
|
104
104
|
warn(userLanguage, key, ignoreWarning);
|
|
105
105
|
const enTranslation = getPath(translations.en, key);
|
|
106
|
-
return enTranslation
|
|
106
|
+
return enTranslation ?? null;
|
|
107
107
|
}
|
|
108
108
|
return translation;
|
|
109
109
|
}, [userLanguage, translations]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/docs",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "MUI Docs - Documentation building blocks.",
|
|
@@ -28,18 +28,18 @@
|
|
|
28
28
|
"clsx": "^2.1.1",
|
|
29
29
|
"nprogress": "^0.2.0",
|
|
30
30
|
"prop-types": "^15.8.1",
|
|
31
|
-
"@mui/internal-markdown": "^1.0.
|
|
31
|
+
"@mui/internal-markdown": "^1.0.10"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@mui/base": "*",
|
|
35
35
|
"@mui/icons-material": "^5.0.0",
|
|
36
36
|
"@mui/material": "^5.0.0",
|
|
37
37
|
"@mui/system": "^5.0.0",
|
|
38
|
-
"@types/react": "^17.0.0 || ^18.0.0",
|
|
38
|
+
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
39
39
|
"chai": "^4.4.1",
|
|
40
40
|
"csstype": "^3.1.3",
|
|
41
41
|
"next": "^13.5.1 || ^14",
|
|
42
|
-
"react": "^17.0.0 || ^18.0.0"
|
|
42
|
+
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependenciesMeta": {
|
|
45
45
|
"@types/react": {
|