@mui/docs 6.0.0-alpha.7 → 6.0.0-alpha.9
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/CHANGELOG.md +113 -2
- package/CodeCopy/CodeCopyButton.js +6 -8
- package/HighlightedCode/HighlightedCode.js +25 -25
- package/InfoCard/InfoCard.js +38 -39
- package/Link/Link.js +40 -38
- package/MarkdownElement/MarkdownElement.js +35 -28
- package/NProgressBar/NProgressBar.js +6 -7
- package/branding/brandingTheme.js +516 -347
- package/node/CodeCopy/CodeCopyButton.js +6 -8
- package/node/HighlightedCode/HighlightedCode.js +25 -25
- package/node/InfoCard/InfoCard.js +38 -39
- package/node/Link/Link.js +43 -40
- package/node/MarkdownElement/MarkdownElement.js +36 -29
- package/node/NProgressBar/NProgressBar.js +6 -7
- package/node/branding/brandingTheme.js +516 -347
- package/node/svgIcons/FileDownload.js +3 -3
- package/node/svgIcons/JavaScript.js +3 -3
- package/node/svgIcons/TypeScript.js +3 -3
- package/node/translations/translations.json +2 -1
- package/package.json +2 -2
- package/svgIcons/FileDownload.js +3 -3
- package/svgIcons/JavaScript.js +3 -3
- package/svgIcons/TypeScript.js +3 -3
- package/translations/translations.json +2 -1
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
8
|
var React = _interopRequireWildcard(require("react"));
|
|
10
9
|
var _SvgIcon = _interopRequireDefault(require("@mui/material/SvgIcon"));
|
|
11
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -13,11 +12,12 @@ var _path;
|
|
|
13
12
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
14
13
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
14
|
function FileDownload(props) {
|
|
16
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SvgIcon.default,
|
|
15
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SvgIcon.default, {
|
|
16
|
+
...props,
|
|
17
17
|
children: _path || (_path = /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
18
18
|
d: "M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
|
|
19
19
|
}))
|
|
20
|
-
})
|
|
20
|
+
});
|
|
21
21
|
}
|
|
22
22
|
FileDownload.muiName = 'SvgIcon';
|
|
23
23
|
var _default = exports.default = FileDownload;
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
8
|
var React = _interopRequireWildcard(require("react"));
|
|
10
9
|
var _SvgIcon = _interopRequireDefault(require("@mui/material/SvgIcon"));
|
|
11
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -13,11 +12,12 @@ var _path;
|
|
|
13
12
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
14
13
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
14
|
function JavaScript(props) {
|
|
16
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SvgIcon.default,
|
|
15
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SvgIcon.default, {
|
|
16
|
+
...props,
|
|
17
17
|
children: _path || (_path = /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
18
18
|
d: "M3,3H21V21H3V3M7.73,18.04C8.13,18.89 8.92,19.59 10.27,19.59C11.77,19.59 12.8,18.79 12.8,17.04V11.26H11.1V17C11.1,17.86 10.75,18.08 10.2,18.08C9.62,18.08 9.38,17.68 9.11,17.21L7.73,18.04M13.71,17.86C14.21,18.84 15.22,19.59 16.8,19.59C18.4,19.59 19.6,18.76 19.6,17.23C19.6,15.82 18.79,15.19 17.35,14.57L16.93,14.39C16.2,14.08 15.89,13.87 15.89,13.37C15.89,12.96 16.2,12.64 16.7,12.64C17.18,12.64 17.5,12.85 17.79,13.37L19.1,12.5C18.55,11.54 17.77,11.17 16.7,11.17C15.19,11.17 14.22,12.13 14.22,13.4C14.22,14.78 15.03,15.43 16.25,15.95L16.67,16.13C17.45,16.47 17.91,16.68 17.91,17.26C17.91,17.74 17.46,18.09 16.76,18.09C15.93,18.09 15.45,17.66 15.09,17.06L13.71,17.86Z"
|
|
19
19
|
}))
|
|
20
|
-
})
|
|
20
|
+
});
|
|
21
21
|
}
|
|
22
22
|
JavaScript.muiName = 'SvgIcon';
|
|
23
23
|
var _default = exports.default = JavaScript;
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
8
|
var React = _interopRequireWildcard(require("react"));
|
|
10
9
|
var _SvgIcon = _interopRequireDefault(require("@mui/material/SvgIcon"));
|
|
11
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -13,11 +12,12 @@ var _path;
|
|
|
13
12
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
14
13
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
14
|
function TypeScript(props) {
|
|
16
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SvgIcon.default,
|
|
15
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SvgIcon.default, {
|
|
16
|
+
...props,
|
|
17
17
|
children: _path || (_path = /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
18
18
|
d: "M3,3H21V21H3V3M13.71,17.86C14.21,18.84 15.22,19.59 16.8,19.59C18.4,19.59 19.6,18.76 19.6,17.23C19.6,15.82 18.79,15.19 17.35,14.57L16.93,14.39C16.2,14.08 15.89,13.87 15.89,13.37C15.89,12.96 16.2,12.64 16.7,12.64C17.18,12.64 17.5,12.85 17.79,13.37L19.1,12.5C18.55,11.54 17.77,11.17 16.7,11.17C15.19,11.17 14.22,12.13 14.22,13.4C14.22,14.78 15.03,15.43 16.25,15.95L16.67,16.13C17.45,16.47 17.91,16.68 17.91,17.26C17.91,17.74 17.46,18.09 16.76,18.09C15.93,18.09 15.45,17.66 15.09,17.06L13.71,17.86M13,11.25H8V12.75H9.5V20H11.25V12.75H13V11.25Z"
|
|
19
19
|
}))
|
|
20
|
-
})
|
|
20
|
+
});
|
|
21
21
|
}
|
|
22
22
|
TypeScript.muiName = 'SvgIcon';
|
|
23
23
|
var _default = exports.default = TypeScript;
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"defaultComponent": "Default component",
|
|
16
16
|
"defaultValue": "Default value",
|
|
17
17
|
"defaultHTMLTag": "Default HTML tag",
|
|
18
|
+
"defaultDeprecationMessage": "This API is deprecated.",
|
|
18
19
|
"demos": "Demos",
|
|
19
20
|
"deprecated": "Deprecated",
|
|
20
21
|
"description": "Description",
|
|
@@ -93,7 +94,7 @@
|
|
|
93
94
|
"copySource": "Copy the source",
|
|
94
95
|
"copySourceLinkJS": "Copy link to JavaScript source",
|
|
95
96
|
"copySourceLinkTS": "Copy link to TypeScript source",
|
|
96
|
-
"dashboardDescr": "
|
|
97
|
+
"dashboardDescr": "A collection of charts and complex components in a responsive dashboard layout.",
|
|
97
98
|
"dashboardTitle": "Dashboard",
|
|
98
99
|
"decreaseSpacing": "decrease spacing",
|
|
99
100
|
"demoToolbarLabel": "demo source",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/docs",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "MUI Docs - Documentation building blocks.",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"homepage": "https://github.com/mui/material-ui/tree/master/packages/mui-docs",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@babel/runtime": "^7.24.
|
|
26
|
+
"@babel/runtime": "^7.24.6",
|
|
27
27
|
"clipboard-copy": "^4.0.1",
|
|
28
28
|
"clsx": "^2.1.1",
|
|
29
29
|
"nprogress": "^0.2.0",
|
package/svgIcons/FileDownload.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
1
|
var _path;
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import SvgIcon from '@mui/material/SvgIcon';
|
|
5
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
5
|
function FileDownload(props) {
|
|
7
|
-
return /*#__PURE__*/_jsx(SvgIcon,
|
|
6
|
+
return /*#__PURE__*/_jsx(SvgIcon, {
|
|
7
|
+
...props,
|
|
8
8
|
children: _path || (_path = /*#__PURE__*/_jsx("path", {
|
|
9
9
|
d: "M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
|
|
10
10
|
}))
|
|
11
|
-
})
|
|
11
|
+
});
|
|
12
12
|
}
|
|
13
13
|
FileDownload.muiName = 'SvgIcon';
|
|
14
14
|
export default FileDownload;
|
package/svgIcons/JavaScript.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
1
|
var _path;
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import SvgIcon from '@mui/material/SvgIcon';
|
|
5
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
5
|
function JavaScript(props) {
|
|
7
|
-
return /*#__PURE__*/_jsx(SvgIcon,
|
|
6
|
+
return /*#__PURE__*/_jsx(SvgIcon, {
|
|
7
|
+
...props,
|
|
8
8
|
children: _path || (_path = /*#__PURE__*/_jsx("path", {
|
|
9
9
|
d: "M3,3H21V21H3V3M7.73,18.04C8.13,18.89 8.92,19.59 10.27,19.59C11.77,19.59 12.8,18.79 12.8,17.04V11.26H11.1V17C11.1,17.86 10.75,18.08 10.2,18.08C9.62,18.08 9.38,17.68 9.11,17.21L7.73,18.04M13.71,17.86C14.21,18.84 15.22,19.59 16.8,19.59C18.4,19.59 19.6,18.76 19.6,17.23C19.6,15.82 18.79,15.19 17.35,14.57L16.93,14.39C16.2,14.08 15.89,13.87 15.89,13.37C15.89,12.96 16.2,12.64 16.7,12.64C17.18,12.64 17.5,12.85 17.79,13.37L19.1,12.5C18.55,11.54 17.77,11.17 16.7,11.17C15.19,11.17 14.22,12.13 14.22,13.4C14.22,14.78 15.03,15.43 16.25,15.95L16.67,16.13C17.45,16.47 17.91,16.68 17.91,17.26C17.91,17.74 17.46,18.09 16.76,18.09C15.93,18.09 15.45,17.66 15.09,17.06L13.71,17.86Z"
|
|
10
10
|
}))
|
|
11
|
-
})
|
|
11
|
+
});
|
|
12
12
|
}
|
|
13
13
|
JavaScript.muiName = 'SvgIcon';
|
|
14
14
|
export default JavaScript;
|
package/svgIcons/TypeScript.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
1
|
var _path;
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import SvgIcon from '@mui/material/SvgIcon';
|
|
5
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
5
|
function TypeScript(props) {
|
|
7
|
-
return /*#__PURE__*/_jsx(SvgIcon,
|
|
6
|
+
return /*#__PURE__*/_jsx(SvgIcon, {
|
|
7
|
+
...props,
|
|
8
8
|
children: _path || (_path = /*#__PURE__*/_jsx("path", {
|
|
9
9
|
d: "M3,3H21V21H3V3M13.71,17.86C14.21,18.84 15.22,19.59 16.8,19.59C18.4,19.59 19.6,18.76 19.6,17.23C19.6,15.82 18.79,15.19 17.35,14.57L16.93,14.39C16.2,14.08 15.89,13.87 15.89,13.37C15.89,12.96 16.2,12.64 16.7,12.64C17.18,12.64 17.5,12.85 17.79,13.37L19.1,12.5C18.55,11.54 17.77,11.17 16.7,11.17C15.19,11.17 14.22,12.13 14.22,13.4C14.22,14.78 15.03,15.43 16.25,15.95L16.67,16.13C17.45,16.47 17.91,16.68 17.91,17.26C17.91,17.74 17.46,18.09 16.76,18.09C15.93,18.09 15.45,17.66 15.09,17.06L13.71,17.86M13,11.25H8V12.75H9.5V20H11.25V12.75H13V11.25Z"
|
|
10
10
|
}))
|
|
11
|
-
})
|
|
11
|
+
});
|
|
12
12
|
}
|
|
13
13
|
TypeScript.muiName = 'SvgIcon';
|
|
14
14
|
export default TypeScript;
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"defaultComponent": "Default component",
|
|
16
16
|
"defaultValue": "Default value",
|
|
17
17
|
"defaultHTMLTag": "Default HTML tag",
|
|
18
|
+
"defaultDeprecationMessage": "This API is deprecated.",
|
|
18
19
|
"demos": "Demos",
|
|
19
20
|
"deprecated": "Deprecated",
|
|
20
21
|
"description": "Description",
|
|
@@ -93,7 +94,7 @@
|
|
|
93
94
|
"copySource": "Copy the source",
|
|
94
95
|
"copySourceLinkJS": "Copy link to JavaScript source",
|
|
95
96
|
"copySourceLinkTS": "Copy link to TypeScript source",
|
|
96
|
-
"dashboardDescr": "
|
|
97
|
+
"dashboardDescr": "A collection of charts and complex components in a responsive dashboard layout.",
|
|
97
98
|
"dashboardTitle": "Dashboard",
|
|
98
99
|
"decreaseSpacing": "decrease spacing",
|
|
99
100
|
"demoToolbarLabel": "demo source",
|