@mui/docs 6.0.0-alpha.0 → 6.0.0-alpha.10
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 +591 -6
- package/CodeCopy/CodeCopy.d.ts +20 -0
- package/CodeCopy/CodeCopy.js +172 -0
- package/CodeCopy/CodeCopyButton.d.ts +5 -0
- package/CodeCopy/CodeCopyButton.js +41 -0
- package/CodeCopy/index.d.ts +3 -0
- package/CodeCopy/index.js +3 -0
- package/CodeCopy/package.json +6 -0
- package/CodeCopy/useClipboardCopy.d.ts +4 -0
- package/CodeCopy/useClipboardCopy.js +21 -0
- package/ComponentLinkHeader/ComponentLinkHeader.d.ts +9 -0
- package/ComponentLinkHeader/ComponentLinkHeader.js +179 -0
- package/ComponentLinkHeader/index.d.ts +2 -0
- package/ComponentLinkHeader/index.js +2 -0
- package/ComponentLinkHeader/package.json +6 -0
- package/HighlightedCode/HighlightedCode.d.ts +14 -0
- package/HighlightedCode/HighlightedCode.js +68 -0
- package/HighlightedCode/index.d.ts +1 -0
- package/HighlightedCode/index.js +1 -0
- package/HighlightedCode/package.json +6 -0
- package/InfoCard/InfoCard.d.ts +20 -0
- package/InfoCard/InfoCard.js +87 -0
- package/InfoCard/index.d.ts +1 -0
- package/InfoCard/index.js +1 -0
- package/InfoCard/package.json +6 -0
- package/Link/Link.js +40 -38
- package/MarkdownElement/MarkdownElement.d.ts +6 -0
- package/MarkdownElement/MarkdownElement.js +825 -0
- package/MarkdownElement/index.d.ts +1 -0
- package/MarkdownElement/index.js +1 -0
- package/MarkdownElement/package.json +6 -0
- package/NProgressBar/NProgressBar.js +6 -7
- package/SectionTitle/SectionTitle.d.ts +7 -0
- package/SectionTitle/SectionTitle.js +30 -0
- package/SectionTitle/index.d.ts +1 -0
- package/SectionTitle/index.js +1 -0
- package/SectionTitle/package.json +6 -0
- package/branding/BrandingProvider.d.ts +9 -0
- package/branding/BrandingProvider.js +17 -0
- package/branding/brandingTheme.d.ts +152 -0
- package/branding/brandingTheme.js +1346 -0
- package/branding/index.d.ts +2 -0
- package/branding/index.js +2 -0
- package/branding/package.json +6 -0
- package/node/CodeCopy/CodeCopy.js +188 -0
- package/node/CodeCopy/CodeCopyButton.js +50 -0
- package/node/CodeCopy/index.js +40 -0
- package/node/CodeCopy/useClipboardCopy.js +30 -0
- package/node/ComponentLinkHeader/ComponentLinkHeader.js +189 -0
- package/node/ComponentLinkHeader/index.js +24 -0
- package/node/HighlightedCode/HighlightedCode.js +77 -0
- package/node/HighlightedCode/index.js +16 -0
- package/node/InfoCard/InfoCard.js +97 -0
- package/node/InfoCard/index.js +16 -0
- package/node/Link/Link.js +43 -40
- package/node/MarkdownElement/MarkdownElement.js +837 -0
- package/node/MarkdownElement/index.js +16 -0
- package/node/NProgressBar/NProgressBar.js +6 -7
- package/node/SectionTitle/SectionTitle.js +38 -0
- package/node/SectionTitle/index.js +16 -0
- package/node/branding/BrandingProvider.js +25 -0
- package/node/branding/brandingTheme.js +1357 -0
- package/node/branding/index.js +27 -0
- package/node/svgIcons/AdobeXDIcon.js +22 -0
- package/node/svgIcons/BundleSizeIcon.js +22 -0
- package/node/svgIcons/FigmaIcon.js +31 -0
- package/node/svgIcons/FileDownload.js +3 -3
- package/node/svgIcons/JavaScript.js +3 -3
- package/node/svgIcons/MaterialDesignIcon.js +27 -0
- package/node/svgIcons/SketchIcon.js +36 -0
- package/node/svgIcons/TypeScript.js +3 -3
- package/node/svgIcons/W3CIcon.js +24 -0
- package/node/translations/translations.json +216 -0
- package/package.json +11 -8
- package/svgIcons/AdobeXDIcon.d.ts +4 -0
- package/svgIcons/AdobeXDIcon.js +14 -0
- package/svgIcons/BundleSizeIcon.d.ts +4 -0
- package/svgIcons/BundleSizeIcon.js +14 -0
- package/svgIcons/FigmaIcon.d.ts +4 -0
- package/svgIcons/FigmaIcon.js +23 -0
- package/svgIcons/FileDownload.d.ts +7 -0
- package/svgIcons/FileDownload.js +3 -3
- package/svgIcons/JavaScript.d.ts +7 -0
- package/svgIcons/JavaScript.js +3 -3
- package/svgIcons/MaterialDesignIcon.d.ts +4 -0
- package/svgIcons/MaterialDesignIcon.js +19 -0
- package/svgIcons/SketchIcon.d.ts +4 -0
- package/svgIcons/SketchIcon.js +28 -0
- package/svgIcons/TypeScript.d.ts +7 -0
- package/svgIcons/TypeScript.js +3 -3
- package/svgIcons/W3CIcon.d.ts +4 -0
- package/svgIcons/W3CIcon.js +16 -0
- package/translations/translations.json +4 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/legacy/DocsProvider/DocsProvider.js +0 -25
- package/legacy/DocsProvider/index.js +0 -1
- package/legacy/Link/Link.js +0 -101
- package/legacy/Link/index.js +0 -1
- package/legacy/NProgressBar/NProgressBar.js +0 -80
- package/legacy/NProgressBar/index.js +0 -1
- package/legacy/i18n/i18n.js +0 -105
- package/legacy/i18n/index.js +0 -1
- package/legacy/svgIcons/FileDownload.js +0 -14
- package/legacy/svgIcons/JavaScript.js +0 -14
- package/legacy/svgIcons/TypeScript.js +0 -14
- package/legacy/translations/index.js +0 -4
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;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createSvgIcon } from '@mui/material/utils';
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
export default createSvgIcon( /*#__PURE__*/_jsxs("g", {
|
|
5
|
+
fill: "none",
|
|
6
|
+
fillRule: "evenodd",
|
|
7
|
+
children: [/*#__PURE__*/_jsx("circle", {
|
|
8
|
+
fill: "#737373",
|
|
9
|
+
cx: "12",
|
|
10
|
+
cy: "12",
|
|
11
|
+
r: "12"
|
|
12
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
13
|
+
fill: "#BDBDBD",
|
|
14
|
+
d: "M4 4h16v16H4z"
|
|
15
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
16
|
+
fill: "#FFF",
|
|
17
|
+
d: "M12 20l8-16H4z"
|
|
18
|
+
})]
|
|
19
|
+
}), 'MaterialDesign');
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createSvgIcon } from '@mui/material/utils';
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
export default createSvgIcon( /*#__PURE__*/_jsxs("g", {
|
|
5
|
+
fillRule: "nonzero",
|
|
6
|
+
fill: "none",
|
|
7
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
8
|
+
fill: "#FDB300",
|
|
9
|
+
d: "M5.24 2.7L12 2l6.76.7L24 9.48 12 23 0 9.49z"
|
|
10
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
11
|
+
fill: "#EA6C00",
|
|
12
|
+
d: "M4.85 9l7.13 14L0 9zM19.1 9l-7.12 14L23.95 9z"
|
|
13
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
14
|
+
fill: "#FDAD00",
|
|
15
|
+
d: "M4.85 9H19.1l-7.12 14z"
|
|
16
|
+
}), /*#__PURE__*/_jsxs("g", {
|
|
17
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
18
|
+
fill: "#FDD231",
|
|
19
|
+
d: "M11.98 2l-6.75.65-.38 6.34zM11.98 2l6.75.65.37 6.34z"
|
|
20
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
21
|
+
fill: "#FDAD00",
|
|
22
|
+
d: "M23.95 9l-5.22-6.35.37 6.34zM0 9l5.23-6.35-.38 6.34z"
|
|
23
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
24
|
+
fill: "#FEEEB7",
|
|
25
|
+
d: "M11.98 2L4.85 9H19.1z"
|
|
26
|
+
})]
|
|
27
|
+
})]
|
|
28
|
+
}), 'Sketch');
|
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;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createSvgIcon } from '@mui/material/utils';
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
export default createSvgIcon( /*#__PURE__*/_jsxs("g", {
|
|
5
|
+
fillRule: "nonzero",
|
|
6
|
+
fill: "none",
|
|
7
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
8
|
+
d: "M6.92 6.1l2.33 7.99 2.32-8h6.3v.8l-2.37 4.14c.83.27 1.46.76 1.89 1.47.43.71.64 1.55.64 2.51 0 1.2-.31 2.2-.94 3a2.93 2.93 0 01-2.42 1.22 2.9 2.9 0 01-1.96-.72 4.25 4.25 0 01-1.23-1.96l1.31-.55c.2.5.45.9.76 1.18.32.28.69.43 1.12.43.44 0 .82-.26 1.13-.76.31-.51.47-1.12.47-1.84 0-.79-.17-1.4-.5-1.83-.38-.5-.99-.76-1.81-.76h-.64v-.78l2.24-3.92h-2.7l-.16.26-3.3 11.25h-.15l-2.4-8.14-2.41 8.14h-.16L.43 6.1H2.1l2.33 7.99L6 8.71 5.24 6.1h1.68z",
|
|
9
|
+
fill: "#005A9C"
|
|
10
|
+
}), /*#__PURE__*/_jsx("g", {
|
|
11
|
+
fill: "currentColor",
|
|
12
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
13
|
+
d: "M23.52 6.25l.28 1.62-.98 1.8s-.38-.76-1.01-1.19c-.53-.35-.87-.43-1.41-.33-.7.14-1.48.93-1.82 1.9-.41 1.18-.42 1.74-.43 2.26a4.9 4.9 0 00.11 1.33s-.6-1.06-.59-2.61c0-1.1.19-2.11.72-3.1.47-.87 1.17-1.4 1.8-1.45.63-.07 1.14.23 1.53.55.42.33.83 1.07.83 1.07l.97-1.85zM23.64 15.4s-.43.75-.7 1.04c-.27.28-.76.79-1.36 1.04-.6.25-.91.3-1.5.25a3.03 3.03 0 01-1.34-.52 5.08 5.08 0 01-1.67-2.04s.24.75.39 1.07c.09.18.36.74.74 1.23a3.5 3.5 0 002.1 1.42c1.04.18 1.76-.27 1.94-.38a5.32 5.32 0 001.4-1.43c.1-.14.25-.43.25-.43l-.25-1.25z"
|
|
14
|
+
})
|
|
15
|
+
})]
|
|
16
|
+
}), 'W3C');
|
|
@@ -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",
|
|
@@ -75,6 +76,7 @@
|
|
|
75
76
|
"toggleSettings": "Toggle settings drawer"
|
|
76
77
|
},
|
|
77
78
|
"backToTop": "Scroll back to top",
|
|
79
|
+
"backToOpenRoles": "Back to open roles",
|
|
78
80
|
"blogDescr": "A polished blog page layout. Markdown support is courtesy of markdown-to-jsx.",
|
|
79
81
|
"blogTitle": "Blog",
|
|
80
82
|
"bundleSize": "Bundle size",
|
|
@@ -92,12 +94,12 @@
|
|
|
92
94
|
"copySource": "Copy the source",
|
|
93
95
|
"copySourceLinkJS": "Copy link to JavaScript source",
|
|
94
96
|
"copySourceLinkTS": "Copy link to TypeScript source",
|
|
95
|
-
"dashboardDescr": "
|
|
97
|
+
"dashboardDescr": "A collection of charts and complex components in a responsive dashboard layout.",
|
|
96
98
|
"dashboardTitle": "Dashboard",
|
|
97
99
|
"decreaseSpacing": "decrease spacing",
|
|
98
100
|
"demoToolbarLabel": "demo source",
|
|
99
101
|
"demoStylingSelectSystem": "MUI System",
|
|
100
|
-
"demoStylingSelectTailwind": "Tailwind
|
|
102
|
+
"demoStylingSelectTailwind": "Tailwind CSS",
|
|
101
103
|
"demoStylingSelectCSS": "Plain CSS",
|
|
102
104
|
"diamondSponsors": "Diamond sponsors",
|
|
103
105
|
"becomeADiamondSponsor": "Become a Diamond sponsor",
|