@mui/docs 6.0.0-alpha.4 → 6.0.0-alpha.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +86 -0
  2. package/ComponentLinkHeader/ComponentLinkHeader.d.ts +9 -0
  3. package/ComponentLinkHeader/ComponentLinkHeader.js +179 -0
  4. package/ComponentLinkHeader/index.d.ts +2 -0
  5. package/ComponentLinkHeader/index.js +2 -0
  6. package/ComponentLinkHeader/package.json +6 -0
  7. package/HighlightedCode/HighlightedCode.d.ts +3 -1
  8. package/HighlightedCode/HighlightedCode.js +27 -4
  9. package/InfoCard/InfoCard.d.ts +0 -1
  10. package/InfoCard/InfoCard.js +10 -8
  11. package/branding/brandingTheme.js +3 -5
  12. package/node/ComponentLinkHeader/ComponentLinkHeader.js +189 -0
  13. package/node/ComponentLinkHeader/index.js +24 -0
  14. package/node/HighlightedCode/HighlightedCode.js +27 -4
  15. package/node/InfoCard/InfoCard.js +10 -8
  16. package/node/branding/brandingTheme.js +3 -5
  17. package/node/svgIcons/AdobeXDIcon.js +22 -0
  18. package/node/svgIcons/BundleSizeIcon.js +22 -0
  19. package/node/svgIcons/FigmaIcon.js +31 -0
  20. package/node/svgIcons/MaterialDesignIcon.js +27 -0
  21. package/node/svgIcons/SketchIcon.js +36 -0
  22. package/node/svgIcons/W3CIcon.js +24 -0
  23. package/node/translations/translations.json +1 -0
  24. package/package.json +2 -2
  25. package/svgIcons/AdobeXDIcon.d.ts +4 -0
  26. package/svgIcons/AdobeXDIcon.js +14 -0
  27. package/svgIcons/BundleSizeIcon.d.ts +4 -0
  28. package/svgIcons/BundleSizeIcon.js +14 -0
  29. package/svgIcons/FigmaIcon.d.ts +4 -0
  30. package/svgIcons/FigmaIcon.js +23 -0
  31. package/svgIcons/FileDownload.d.ts +7 -0
  32. package/svgIcons/JavaScript.d.ts +7 -0
  33. package/svgIcons/MaterialDesignIcon.d.ts +4 -0
  34. package/svgIcons/MaterialDesignIcon.js +19 -0
  35. package/svgIcons/SketchIcon.d.ts +4 -0
  36. package/svgIcons/SketchIcon.js +28 -0
  37. package/svgIcons/TypeScript.d.ts +7 -0
  38. package/svgIcons/W3CIcon.d.ts +4 -0
  39. package/svgIcons/W3CIcon.js +16 -0
  40. package/translations/translations.json +1 -0
  41. package/tsconfig.build.tsbuildinfo +1 -1
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _exportNames = {};
7
+ Object.defineProperty(exports, "default", {
8
+ enumerable: true,
9
+ get: function () {
10
+ return _ComponentLinkHeader.ComponentLinkHeader;
11
+ }
12
+ });
13
+ var _ComponentLinkHeader = require("./ComponentLinkHeader");
14
+ Object.keys(_ComponentLinkHeader).forEach(function (key) {
15
+ if (key === "default" || key === "__esModule") return;
16
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
17
+ if (key in exports && exports[key] === _ComponentLinkHeader[key]) return;
18
+ Object.defineProperty(exports, key, {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _ComponentLinkHeader[key];
22
+ }
23
+ });
24
+ });
@@ -5,24 +5,47 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.HighlightedCode = void 0;
8
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
8
  var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
9
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
10
  var React = _interopRequireWildcard(require("react"));
11
11
  var _prism = _interopRequireDefault(require("@mui/internal-markdown/prism"));
12
12
  var _NoSsr = require("@mui/base/NoSsr");
13
+ var _styles = require("@mui/material/styles");
13
14
  var _CodeCopy = require("../CodeCopy");
14
15
  var _MarkdownElement = require("../MarkdownElement");
15
16
  var _jsxRuntime = require("react/jsx-runtime");
16
- const _excluded = ["copyButtonHidden", "copyButtonProps", "code", "language", "component"];
17
+ const _excluded = ["copyButtonHidden", "copyButtonProps", "code", "language", "plainStyle", "parentComponent", "preComponent"];
17
18
  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); }
18
19
  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; }
20
+ const Pre = (0, _styles.styled)('pre')(({
21
+ theme
22
+ }) => ({
23
+ margin: 0,
24
+ color: 'hsl(60deg 30% 96.08%)',
25
+ // fallback color until Prism's theme is loaded
26
+ WebkitOverflowScrolling: 'touch',
27
+ // iOS momentum scrolling.
28
+ maxWidth: 'calc(100vw - 32px)',
29
+ [theme.breakpoints.up('md')]: {
30
+ maxWidth: 'calc(100vw - 32px - 16px)'
31
+ },
32
+ '& code': (0, _extends2.default)({}, theme.typography.caption, {
33
+ fontFamily: theme.typography.fontFamilyCode,
34
+ fontWeight: 400,
35
+ WebkitFontSmoothing: 'subpixel-antialiased'
36
+ // Reset for Safari
37
+ // https://github.com/necolas/normalize.css/blob/master/normalize.css#L102
38
+ })
39
+ }));
19
40
  const HighlightedCode = exports.HighlightedCode = /*#__PURE__*/React.forwardRef(function HighlightedCode(props, ref) {
20
41
  const {
21
42
  copyButtonHidden = false,
22
43
  copyButtonProps,
23
44
  code,
24
45
  language,
25
- component: Component = _MarkdownElement.MarkdownElement
46
+ plainStyle,
47
+ parentComponent: Component = plainStyle ? 'div' : _MarkdownElement.MarkdownElement,
48
+ preComponent: PreComponent = plainStyle ? Pre : 'pre'
26
49
  } = props,
27
50
  other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
28
51
  const renderedCode = React.useMemo(() => {
@@ -39,7 +62,7 @@ const HighlightedCode = exports.HighlightedCode = /*#__PURE__*/React.forwardRef(
39
62
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CodeCopy.CodeCopyButton, (0, _extends2.default)({
40
63
  code: code
41
64
  }, copyButtonProps))
42
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("pre", {
65
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(PreComponent, {
43
66
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("code", {
44
67
  className: `language-${language}`
45
68
  // eslint-disable-next-line react/no-danger
@@ -15,7 +15,7 @@ var _Paper = _interopRequireDefault(require("@mui/material/Paper"));
15
15
  var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
16
16
  var _Link = require("../Link");
17
17
  var _jsxRuntime = require("react/jsx-runtime");
18
- const _excluded = ["classNameDescription", "classNameTitle", "dense", "description", "icon", "link", "svg", "title", "titleProps"];
18
+ const _excluded = ["classNameDescription", "classNameTitle", "description", "icon", "link", "svg", "title", "titleProps"];
19
19
  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); }
20
20
  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; }
21
21
  function GlowingIconContainer({
@@ -23,8 +23,8 @@ function GlowingIconContainer({
23
23
  }) {
24
24
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Box.default, {
25
25
  sx: theme => (0, _extends2.default)({
26
- width: 40,
27
- height: 40,
26
+ width: 36,
27
+ height: 36,
28
28
  display: 'flex',
29
29
  justifyContent: 'center',
30
30
  alignItems: 'center',
@@ -33,10 +33,13 @@ function GlowingIconContainer({
33
33
  border: '1px solid',
34
34
  borderColor: 'primary.200',
35
35
  bgcolor: 'primary.50',
36
- boxShadow: `0px 0 0 2px ${(0, _styles.alpha)(theme.palette.primary[500], 0.1)}, 0px 2px 12px 0px rgba(234, 237, 241, 0.3) inset`
36
+ boxShadow: `0px 0 0 2px ${(0, _styles.alpha)(theme.palette.primary[500], 0.1)}, 0px 2px 12px 0px rgba(234, 237, 241, 0.3) inset`,
37
+ '& .MuiSvgIcon-root': {
38
+ fontSize: theme.typography.pxToRem(18)
39
+ }
37
40
  }, theme.applyDarkStyles({
38
41
  borderColor: (0, _styles.alpha)(theme.palette.primary[400], 0.25),
39
- bgcolor: (0, _styles.alpha)(theme.palette.primary[900], 0.4),
42
+ bgcolor: (0, _styles.alpha)(theme.palette.primary[900], 0.2),
40
43
  boxShadow: `0 0 0 2px ${(0, _styles.alpha)(theme.palette.primary[600], 0.1)}, 0px 2px 12px 0px rgba(0, 0, 0, 0.25) inset`
41
44
  })),
42
45
  children: icon
@@ -46,7 +49,6 @@ function InfoCard(props) {
46
49
  const {
47
50
  classNameDescription,
48
51
  classNameTitle,
49
- dense,
50
52
  description,
51
53
  icon,
52
54
  link,
@@ -65,7 +67,7 @@ function InfoCard(props) {
65
67
  prefetch: false
66
68
  } : {}, {
67
69
  sx: theme => (0, _extends2.default)({
68
- p: dense ? 2.5 : 3.5,
70
+ p: 2.5,
69
71
  height: '100%',
70
72
  background: `${(theme.vars || theme).palette.gradients.linearSubtle}`
71
73
  }, theme.applyDarkStyles({
@@ -77,7 +79,7 @@ function InfoCard(props) {
77
79
  children: [svg && svg, icon && /*#__PURE__*/(0, _jsxRuntime.jsx)(GlowingIconContainer, {
78
80
  icon: icon
79
81
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Typography.default, (0, _extends2.default)({
80
- fontWeight: "bold",
82
+ fontWeight: "semiBold",
81
83
  component: "h3",
82
84
  color: "text.primary",
83
85
  variant: "body2",
@@ -228,20 +228,17 @@ const getDesignTokens = mode => ({
228
228
  },
229
229
  body1: {
230
230
  fontSize: defaultTheme.typography.pxToRem(16),
231
- // 16px
232
231
  lineHeight: 24 / 16,
233
232
  letterSpacing: 0
234
233
  },
235
234
  body2: {
236
235
  fontSize: defaultTheme.typography.pxToRem(14),
237
- // 14px
238
236
  lineHeight: 21 / 14,
239
237
  letterSpacing: 0
240
238
  },
241
239
  caption: {
242
240
  display: 'inline-block',
243
241
  fontSize: defaultTheme.typography.pxToRem(12),
244
- // 12px
245
242
  lineHeight: 18 / 12,
246
243
  letterSpacing: 0,
247
244
  fontWeight: 700
@@ -391,7 +388,7 @@ function getThemedComponents() {
391
388
  transform: 'translateX(2px)'
392
389
  }
393
390
  }, ownerState.size === 'small' && {
394
- padding: theme.spacing('6px', 1),
391
+ padding: theme.spacing('6px', 1.5),
395
392
  fontFamily: theme.typography.fontFamily,
396
393
  fontSize: defaultTheme.typography.pxToRem(13),
397
394
  fontWeight: theme.typography.fontWeightSemiBold,
@@ -675,7 +672,8 @@ function getThemedComponents() {
675
672
  fontSize: theme.typography.pxToRem(14),
676
673
  fontWeight: 500,
677
674
  '&:hover, &:focus': {
678
- backgroundColor: (theme.vars || theme).palette.grey[50]
675
+ backgroundColor: (theme.vars || theme).palette.grey[100],
676
+ color: (theme.vars || theme).palette.text.primary
679
677
  },
680
678
  '&:focus-visible': {
681
679
  outline: 'none'
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _utils = require("@mui/material/utils");
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ 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); }
11
+ 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; }
12
+ var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
13
+ fillRule: "nonzero",
14
+ fill: "none",
15
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
16
+ d: "M5.54 2h12.92C20.42 2 22 3.6 22 5.58v12.55a3.56 3.56 0 01-3.54 3.58H5.54A3.56 3.56 0 012 18.13V5.58A3.56 3.56 0 015.54 2z",
17
+ fill: "#470137"
18
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
19
+ d: "M12.52 7.28L10 11.45l2.68 4.41c.01.04.02.07.01.1 0 .04-.04.01-.09.02H10.7c-.13 0-.22 0-.28-.1l-.54-1.04c-.17-.35-.36-.7-.57-1.06l-.6-1.1h-.02c-.17.36-.36.73-.56 1.09l-.57 1.07-.57 1.06c-.04.09-.1.1-.2.1H4.94c-.03 0-.06.01-.06-.03 0-.03 0-.07.02-.1l2.6-4.28-2.53-4.31c-.03-.04-.04-.07-.02-.09.02-.02.05-.03.09-.03h1.9a.5.5 0 01.11.01c.04.02.06.05.09.08.16.36.34.72.53 1.09l.6 1.06c.2.36.39.71.57 1.07h.01c.18-.37.36-.73.55-1.08.18-.36.37-.71.57-1.06l.56-1.06c0-.04.02-.07.05-.09.03-.01.06-.02.1-.01h1.77c.04-.01.09.01.1.06 0 0-.01.04-.03.05zM16.39 16.16c-.62 0-1.24-.12-1.8-.38a2.92 2.92 0 01-1.27-1.15 3.65 3.65 0 01-.46-1.91 3.46 3.46 0 011.8-3.08 4.27 4.27 0 012.29-.48c.07 0 .16 0 .26.02V6.52c0-.06.02-.1.08-.1H19c.04 0 .08.03.08.07v8.01l.02.51.03.49c0 .06-.02.11-.08.13a6.37 6.37 0 01-2.65.53zm.82-1.69v-3.7a2.11 2.11 0 00-1.45.16c-.29.15-.53.36-.71.63-.19.27-.28.63-.28 1.06 0 .3.04.6.14.87a1.44 1.44 0 00.95.93c.23.08.46.11.7.11a4.49 4.49 0 00.65-.06z",
20
+ fill: "#FF61F6"
21
+ })]
22
+ }), 'AdobeXD');
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _utils = require("@mui/material/utils");
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ 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); }
11
+ 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; }
12
+ var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
13
+ fill: "currentColor",
14
+ fillRule: "nonzero",
15
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
16
+ d: "M5.84 3c-.52 0-1 .25-1.3.67l-1.4 2.05c-.06.09-.1.19-.14.28h8V3H5.84zM20.86 5.72l-1.4-2.05c-.3-.42-.81-.67-1.33-.67H13v3h8c-.05-.1-.08-.2-.14-.28z",
17
+ fillOpacity: ".79"
18
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
19
+ d: "M20.98 7H3.02L3 7.11V19.4c0 .89.71 1.61 1.58 1.61h14.84A1.6 1.6 0 0021 19.4V7.1L20.98 7zm-6.87 5.36H9.89a1.6 1.6 0 01-1.58-1.61c0-.89.7-1.6 1.58-1.6h4.22c.87 0 1.58.71 1.58 1.6 0 .89-.7 1.6-1.58 1.6z",
20
+ fillOpacity: ".87"
21
+ })]
22
+ }), 'BundleSize');
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _utils = require("@mui/material/utils");
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ 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); }
11
+ 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; }
12
+ var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
13
+ fillRule: "nonzero",
14
+ fill: "none",
15
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
16
+ d: "M8 24a4 4 0 004-4v-4H8a4 4 0 000 8z",
17
+ fill: "#0ACF83"
18
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
19
+ d: "M4 12a4 4 0 014-4h4v8H8a4 4 0 01-4-4z",
20
+ fill: "#A259FF"
21
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
22
+ d: "M4 4a4 4 0 014-4h4v8H8a4 4 0 01-4-4z",
23
+ fill: "#F24E1E"
24
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
25
+ d: "M12 0h4a4 4 0 010 8h-4V0z",
26
+ fill: "#FF7262"
27
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
28
+ d: "M20 12a4 4 0 11-8 0 4 4 0 018 0z",
29
+ fill: "#1ABCFE"
30
+ })]
31
+ }), 'Figma');
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _utils = require("@mui/material/utils");
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ 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); }
11
+ 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; }
12
+ var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
13
+ fill: "none",
14
+ fillRule: "evenodd",
15
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
16
+ fill: "#737373",
17
+ cx: "12",
18
+ cy: "12",
19
+ r: "12"
20
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
21
+ fill: "#BDBDBD",
22
+ d: "M4 4h16v16H4z"
23
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
24
+ fill: "#FFF",
25
+ d: "M12 20l8-16H4z"
26
+ })]
27
+ }), 'MaterialDesign');
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _utils = require("@mui/material/utils");
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ 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); }
11
+ 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; }
12
+ var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
13
+ fillRule: "nonzero",
14
+ fill: "none",
15
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
16
+ fill: "#FDB300",
17
+ d: "M5.24 2.7L12 2l6.76.7L24 9.48 12 23 0 9.49z"
18
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
19
+ fill: "#EA6C00",
20
+ d: "M4.85 9l7.13 14L0 9zM19.1 9l-7.12 14L23.95 9z"
21
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
22
+ fill: "#FDAD00",
23
+ d: "M4.85 9H19.1l-7.12 14z"
24
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
25
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
26
+ fill: "#FDD231",
27
+ d: "M11.98 2l-6.75.65-.38 6.34zM11.98 2l6.75.65.37 6.34z"
28
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
29
+ fill: "#FDAD00",
30
+ d: "M23.95 9l-5.22-6.35.37 6.34zM0 9l5.23-6.35-.38 6.34z"
31
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
32
+ fill: "#FEEEB7",
33
+ d: "M11.98 2L4.85 9H19.1z"
34
+ })]
35
+ })]
36
+ }), 'Sketch');
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _utils = require("@mui/material/utils");
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ 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); }
11
+ 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; }
12
+ var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
13
+ fillRule: "nonzero",
14
+ fill: "none",
15
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
16
+ 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",
17
+ fill: "#005A9C"
18
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
19
+ fill: "currentColor",
20
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
21
+ 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"
22
+ })
23
+ })]
24
+ }), 'W3C');
@@ -75,6 +75,7 @@
75
75
  "toggleSettings": "Toggle settings drawer"
76
76
  },
77
77
  "backToTop": "Scroll back to top",
78
+ "backToOpenRoles": "Back to open roles",
78
79
  "blogDescr": "A polished blog page layout. Markdown support is courtesy of markdown-to-jsx.",
79
80
  "blogTitle": "Blog",
80
81
  "bundleSize": "Bundle size",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/docs",
3
- "version": "6.0.0-alpha.4",
3
+ "version": "6.0.0-alpha.6",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "MUI Docs - Documentation building blocks.",
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.24.4",
27
27
  "clipboard-copy": "^4.0.1",
28
- "clsx": "^2.1.0",
28
+ "clsx": "^2.1.1",
29
29
  "nprogress": "^0.2.0",
30
30
  "prop-types": "^15.8.1",
31
31
  "@mui/internal-markdown": "^1.0.3"
@@ -0,0 +1,4 @@
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,14 @@
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: "M5.54 2h12.92C20.42 2 22 3.6 22 5.58v12.55a3.56 3.56 0 01-3.54 3.58H5.54A3.56 3.56 0 012 18.13V5.58A3.56 3.56 0 015.54 2z",
9
+ fill: "#470137"
10
+ }), /*#__PURE__*/_jsx("path", {
11
+ d: "M12.52 7.28L10 11.45l2.68 4.41c.01.04.02.07.01.1 0 .04-.04.01-.09.02H10.7c-.13 0-.22 0-.28-.1l-.54-1.04c-.17-.35-.36-.7-.57-1.06l-.6-1.1h-.02c-.17.36-.36.73-.56 1.09l-.57 1.07-.57 1.06c-.04.09-.1.1-.2.1H4.94c-.03 0-.06.01-.06-.03 0-.03 0-.07.02-.1l2.6-4.28-2.53-4.31c-.03-.04-.04-.07-.02-.09.02-.02.05-.03.09-.03h1.9a.5.5 0 01.11.01c.04.02.06.05.09.08.16.36.34.72.53 1.09l.6 1.06c.2.36.39.71.57 1.07h.01c.18-.37.36-.73.55-1.08.18-.36.37-.71.57-1.06l.56-1.06c0-.04.02-.07.05-.09.03-.01.06-.02.1-.01h1.77c.04-.01.09.01.1.06 0 0-.01.04-.03.05zM16.39 16.16c-.62 0-1.24-.12-1.8-.38a2.92 2.92 0 01-1.27-1.15 3.65 3.65 0 01-.46-1.91 3.46 3.46 0 011.8-3.08 4.27 4.27 0 012.29-.48c.07 0 .16 0 .26.02V6.52c0-.06.02-.1.08-.1H19c.04 0 .08.03.08.07v8.01l.02.51.03.49c0 .06-.02.11-.08.13a6.37 6.37 0 01-2.65.53zm.82-1.69v-3.7a2.11 2.11 0 00-1.45.16c-.29.15-.53.36-.71.63-.19.27-.28.63-.28 1.06 0 .3.04.6.14.87a1.44 1.44 0 00.95.93c.23.08.46.11.7.11a4.49 4.49 0 00.65-.06z",
12
+ fill: "#FF61F6"
13
+ })]
14
+ }), 'AdobeXD');
@@ -0,0 +1,4 @@
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,14 @@
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: "currentColor",
6
+ fillRule: "nonzero",
7
+ children: [/*#__PURE__*/_jsx("path", {
8
+ d: "M5.84 3c-.52 0-1 .25-1.3.67l-1.4 2.05c-.06.09-.1.19-.14.28h8V3H5.84zM20.86 5.72l-1.4-2.05c-.3-.42-.81-.67-1.33-.67H13v3h8c-.05-.1-.08-.2-.14-.28z",
9
+ fillOpacity: ".79"
10
+ }), /*#__PURE__*/_jsx("path", {
11
+ d: "M20.98 7H3.02L3 7.11V19.4c0 .89.71 1.61 1.58 1.61h14.84A1.6 1.6 0 0021 19.4V7.1L20.98 7zm-6.87 5.36H9.89a1.6 1.6 0 01-1.58-1.61c0-.89.7-1.6 1.58-1.6h4.22c.87 0 1.58.71 1.58 1.6 0 .89-.7 1.6-1.58 1.6z",
12
+ fillOpacity: ".87"
13
+ })]
14
+ }), 'BundleSize');
@@ -0,0 +1,4 @@
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,23 @@
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: "M8 24a4 4 0 004-4v-4H8a4 4 0 000 8z",
9
+ fill: "#0ACF83"
10
+ }), /*#__PURE__*/_jsx("path", {
11
+ d: "M4 12a4 4 0 014-4h4v8H8a4 4 0 01-4-4z",
12
+ fill: "#A259FF"
13
+ }), /*#__PURE__*/_jsx("path", {
14
+ d: "M4 4a4 4 0 014-4h4v8H8a4 4 0 01-4-4z",
15
+ fill: "#F24E1E"
16
+ }), /*#__PURE__*/_jsx("path", {
17
+ d: "M12 0h4a4 4 0 010 8h-4V0z",
18
+ fill: "#FF7262"
19
+ }), /*#__PURE__*/_jsx("path", {
20
+ d: "M20 12a4 4 0 11-8 0 4 4 0 018 0z",
21
+ fill: "#1ABCFE"
22
+ })]
23
+ }), 'Figma');
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import { SvgIconProps } from '@mui/material/SvgIcon';
3
+ declare function FileDownload(props: SvgIconProps): React.JSX.Element;
4
+ declare namespace FileDownload {
5
+ var muiName: string;
6
+ }
7
+ export default FileDownload;
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import { SvgIconProps } from '@mui/material/SvgIcon';
3
+ declare function JavaScript(props: SvgIconProps): React.JSX.Element;
4
+ declare namespace JavaScript {
5
+ var muiName: string;
6
+ }
7
+ export default JavaScript;
@@ -0,0 +1,4 @@
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ export default _default;
@@ -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,4 @@
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ export default _default;
@@ -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');
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import { SvgIconProps } from '@mui/material/SvgIcon';
3
+ declare function TypeScript(props: SvgIconProps): React.JSX.Element;
4
+ declare namespace TypeScript {
5
+ var muiName: string;
6
+ }
7
+ export default TypeScript;
@@ -0,0 +1,4 @@
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ export default _default;
@@ -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');
@@ -75,6 +75,7 @@
75
75
  "toggleSettings": "Toggle settings drawer"
76
76
  },
77
77
  "backToTop": "Scroll back to top",
78
+ "backToOpenRoles": "Back to open roles",
78
79
  "blogDescr": "A polished blog page layout. Markdown support is courtesy of markdown-to-jsx.",
79
80
  "blogTitle": "Blog",
80
81
  "bundleSize": "Bundle size",