@mui/docs 6.0.0-alpha.6 → 6.0.0-alpha.7
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 +47 -0
- package/CodeCopy/CodeCopyButton.js +4 -11
- package/MarkdownElement/MarkdownElement.js +25 -33
- 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/node/CodeCopy/CodeCopyButton.js +4 -11
- package/node/MarkdownElement/MarkdownElement.js +25 -33
- package/node/SectionTitle/SectionTitle.js +38 -0
- package/node/SectionTitle/index.js +16 -0
- package/package.json +3 -3
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## v6.0.0-alpha.7
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v6.0.0-alpha.6..next -->
|
|
6
|
+
|
|
7
|
+
_May 16, 2024_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 14 contributors who made this release possible.
|
|
10
|
+
|
|
11
|
+
### `@mui/material@6.0.0-alpha.7`
|
|
12
|
+
|
|
13
|
+
- ​<!-- 23 -->[Autocomplete] Deprecate `componentsProps` props (#42179) @lhilgert9
|
|
14
|
+
- ​<!-- 22 -->[Autocomplete] Improve design when there's a start adornment for small autocomplete (#41781) @TahaRhidouani
|
|
15
|
+
- ​<!-- 21 -->[Autocomplete] deprecate `*Component` and `*Props` for v6 (#41875) @lhilgert9
|
|
16
|
+
- ​<!-- 19 -->[CircularProgress] Deprecate composed classes (#42076) @sai6855
|
|
17
|
+
- ​<!-- 05 -->[ToggleButtonGroup] Add missing `selected` class in ToggleButtonGroupClasses type (#42243) @tarunrajput
|
|
18
|
+
|
|
19
|
+
### `@mui/codemod@6.0.0-alpha.6`
|
|
20
|
+
|
|
21
|
+
- ​<!-- 18 -->[Divider] Only apply codemod if light prop is present (#42098) @DiegoAndai
|
|
22
|
+
|
|
23
|
+
### Docs
|
|
24
|
+
|
|
25
|
+
- ​<!-- 13 -->Fix 301 to Figma @oliviertassinari
|
|
26
|
+
- ​<!-- 12 -->Fix use of deprecated React API (#42118) @oliviertassinari
|
|
27
|
+
- ​<!-- 11 -->Remove the Base notification (#42191) @danilo-leal
|
|
28
|
+
- ​<!-- 07 -->[material-ui] Improve descriptions for deprecated props (#42221) @aarongarciah
|
|
29
|
+
- ​<!-- 06 -->[material-ui] Fix typo in composition docs (#42195) @aarongarciah
|
|
30
|
+
|
|
31
|
+
### Core
|
|
32
|
+
|
|
33
|
+
- ​<!-- 20 -->[blog] Introducing Pigment CSS blog post (#42198) @samuelsycamore
|
|
34
|
+
- ​<!-- 17 -->[core] Remove confusing comment @oliviertassinari
|
|
35
|
+
- ​<!-- 16 -->[core] Match other repositories and convention @oliviertassinari
|
|
36
|
+
- ​<!-- 15 -->[core] Fix React 18.3 warnings about spreading keys in the Material UI `Autocomplete` component (#42099) @heath-freenome
|
|
37
|
+
- ​<!-- 14 -->[core] Remove unecessary quotes @oliviertassinari
|
|
38
|
+
- ​<!-- 10 -->[docs-infra] Share code for section title (#42236) @alexfauquette
|
|
39
|
+
- ​<!-- 09 -->[docs-infra] Limit the copy button to the visible code block (#42115) @danilo-leal
|
|
40
|
+
- ​<!-- 08 -->[docs-infra] Make select components with two capital letters (#42004) @alexfauquette
|
|
41
|
+
- ​<!-- 08 -->[docs-infra][toolpad] Fix Page title and SERP title mismatch (#41919) @bharatkashyap
|
|
42
|
+
- ​<!-- 05 -->[website] Add redirection for talk @oliviertassinari
|
|
43
|
+
- ​<!-- 04 -->[website] Adds Arthur Balduini team info (#42193) @arthurbalduini
|
|
44
|
+
- ​<!-- 03 -->[website] Update the role template file (#42192) @danilo-leal
|
|
45
|
+
- ​<!-- 02 -->[website] Update MUI X deps and migrate TreeView demos to v7 API (#42149) @noraleonte
|
|
46
|
+
- ​<!-- 01 -->[website] Fix pricing casing (#42178) @aarongarciah
|
|
47
|
+
|
|
48
|
+
All contributors of this release in alphabetical order: @aarongarciah, @alexfauquette, @arthurbalduini, @bharatkashyap, @danilo-leal, @DiegoAndai, @heath-freenome, @lhilgert9, @noraleonte, @oliviertassinari, @sai6855, @samuelsycamore, @TahaRhidouani, @tarunrajput
|
|
49
|
+
|
|
3
50
|
## v6.0.0-alpha.6
|
|
4
51
|
|
|
5
52
|
<!-- generated comparing v6.0.0-alpha.5..next -->
|
|
@@ -3,8 +3,6 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
3
3
|
var _span, _span2;
|
|
4
4
|
const _excluded = ["code"];
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import ContentCopyRoundedIcon from '@mui/icons-material/ContentCopyRounded';
|
|
7
|
-
import LibraryAddCheckRoundedIcon from '@mui/icons-material/LibraryAddCheckRounded';
|
|
8
6
|
import useClipboardCopy from './useClipboardCopy';
|
|
9
7
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
8
|
export function CodeCopyButton(props) {
|
|
@@ -29,16 +27,11 @@ export function CodeCopyButton(props) {
|
|
|
29
27
|
// event.stopPropagation();
|
|
30
28
|
await copy(code);
|
|
31
29
|
},
|
|
32
|
-
children: [isCopied ? /*#__PURE__*/
|
|
33
|
-
sx: {
|
|
34
|
-
fontSize: 18
|
|
35
|
-
}
|
|
36
|
-
}) : /*#__PURE__*/_jsx(ContentCopyRoundedIcon, {
|
|
37
|
-
sx: {
|
|
38
|
-
fontSize: 18
|
|
39
|
-
}
|
|
40
|
-
}), /*#__PURE__*/_jsxs("span", {
|
|
30
|
+
children: [isCopied ? 'Copied' : 'Copy', /*#__PURE__*/_jsxs("span", {
|
|
41
31
|
className: "MuiCode-copyKeypress",
|
|
32
|
+
style: {
|
|
33
|
+
opacity: isCopied ? 0 : 1
|
|
34
|
+
},
|
|
42
35
|
children: [_span || (_span = /*#__PURE__*/_jsx("span", {
|
|
43
36
|
children: "(or"
|
|
44
37
|
})), " ", key, "C", _span2 || (_span2 = /*#__PURE__*/_jsx("span", {
|
|
@@ -526,45 +526,35 @@ const Root = styled('div')(({
|
|
|
526
526
|
top: 0
|
|
527
527
|
},
|
|
528
528
|
'& .MuiCode-copy': {
|
|
529
|
-
display: 'inline-flex',
|
|
530
|
-
flexDirection: 'row-reverse',
|
|
531
|
-
alignItems: 'center',
|
|
532
|
-
width: 26,
|
|
533
|
-
height: 26,
|
|
534
529
|
cursor: 'pointer',
|
|
535
530
|
position: 'absolute',
|
|
536
531
|
top: 12,
|
|
537
532
|
right: 12,
|
|
533
|
+
display: 'inline-flex',
|
|
534
|
+
flexDirection: 'row-reverse',
|
|
535
|
+
alignItems: 'center',
|
|
536
|
+
height: 24,
|
|
538
537
|
padding: theme.spacing(0.5),
|
|
539
|
-
|
|
540
|
-
|
|
538
|
+
paddingBottom: '5px',
|
|
539
|
+
// optical alignment
|
|
540
|
+
fontFamily: lightTheme.typography.fontFamily,
|
|
541
|
+
fontWeight: lightTheme.typography.fontWeightMedium,
|
|
542
|
+
fontSize: lightTheme.typography.pxToRem(12),
|
|
541
543
|
borderRadius: 6,
|
|
542
|
-
border: '
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
color:
|
|
544
|
+
border: '1px solid',
|
|
545
|
+
borderColor: alpha(lightTheme.palette.primaryDark[600], 0.5),
|
|
546
|
+
backgroundColor: alpha(lightTheme.palette.primaryDark[800], 0.5),
|
|
547
|
+
color: `var(--muidocs-palette-grey-200, ${lightTheme.palette.grey[200]})`,
|
|
546
548
|
transition: theme.transitions.create(['background', 'borderColor', 'display'], {
|
|
547
549
|
duration: theme.transitions.duration.shortest
|
|
548
550
|
}),
|
|
549
|
-
'&
|
|
550
|
-
userSelect: 'none',
|
|
551
|
-
width: theme.typography.pxToRem(16),
|
|
552
|
-
height: theme.typography.pxToRem(16),
|
|
553
|
-
display: 'inline-block',
|
|
554
|
-
fill: 'currentcolor',
|
|
555
|
-
flexShrink: 0,
|
|
556
|
-
fontSize: '18px',
|
|
557
|
-
margin: 'auto',
|
|
558
|
-
opacity: 0.5
|
|
559
|
-
},
|
|
560
|
-
'& .MuiCode-copied-icon': {
|
|
551
|
+
'& .MuiCode-copied-label': {
|
|
561
552
|
display: 'none'
|
|
562
553
|
},
|
|
563
554
|
'&:hover, &:focus': {
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
},
|
|
555
|
+
borderColor: `var(--muidocs-palette-primaryDark-400, ${lightTheme.palette.primaryDark[400]})`,
|
|
556
|
+
backgroundColor: `var(--muidocs-palette-primaryDark-700, ${lightTheme.palette.primaryDark[700]})`,
|
|
557
|
+
color: '#FFF',
|
|
568
558
|
'& .MuiCode-copyKeypress': {
|
|
569
559
|
display: 'block',
|
|
570
560
|
// Approximate no hover capabilities with no keyboard
|
|
@@ -577,17 +567,19 @@ const Root = styled('div')(({
|
|
|
577
567
|
'& .MuiCode-copyKeypress': {
|
|
578
568
|
display: 'none',
|
|
579
569
|
position: 'absolute',
|
|
580
|
-
right:
|
|
570
|
+
right: 34
|
|
581
571
|
},
|
|
582
572
|
'&[data-copied]': {
|
|
583
|
-
|
|
584
|
-
|
|
573
|
+
borderColor: `var(--muidocs-palette-primaryDark-400, ${lightTheme.palette.primaryDark[400]})`,
|
|
574
|
+
backgroundColor: `var(--muidocs-palette-primaryDark-700, ${lightTheme.palette.primaryDark[700]})`,
|
|
585
575
|
color: '#fff',
|
|
586
|
-
|
|
587
|
-
|
|
576
|
+
'& .MuiCode-copyKeypress': {
|
|
577
|
+
opacity: 0
|
|
578
|
+
},
|
|
579
|
+
'& .MuiCode-copy-label': {
|
|
588
580
|
display: 'none'
|
|
589
581
|
},
|
|
590
|
-
'& .MuiCode-copied-
|
|
582
|
+
'& .MuiCode-copied-label': {
|
|
591
583
|
display: 'block'
|
|
592
584
|
}
|
|
593
585
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var _span;
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
export function SectionTitle(props) {
|
|
5
|
+
const {
|
|
6
|
+
title,
|
|
7
|
+
hash,
|
|
8
|
+
level: Level = 'h2'
|
|
9
|
+
} = props;
|
|
10
|
+
return /*#__PURE__*/_jsx(Level, {
|
|
11
|
+
id: hash,
|
|
12
|
+
style: {
|
|
13
|
+
flexGrow: 1
|
|
14
|
+
},
|
|
15
|
+
children: /*#__PURE__*/_jsxs("a", {
|
|
16
|
+
"aria-labelledby": hash,
|
|
17
|
+
className: "title-link-to-anchor",
|
|
18
|
+
href: `#${hash}`,
|
|
19
|
+
tabIndex: -1,
|
|
20
|
+
children: [title, _span || (_span = /*#__PURE__*/_jsx("span", {
|
|
21
|
+
className: "anchor-icon",
|
|
22
|
+
children: /*#__PURE__*/_jsx("svg", {
|
|
23
|
+
children: /*#__PURE__*/_jsx("use", {
|
|
24
|
+
xlinkHref: "#anchor-link-icon"
|
|
25
|
+
})
|
|
26
|
+
})
|
|
27
|
+
}))]
|
|
28
|
+
})
|
|
29
|
+
});
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SectionTitle';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SectionTitle';
|
|
@@ -8,8 +8,6 @@ exports.CodeCopyButton = CodeCopyButton;
|
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
|
-
var _ContentCopyRounded = _interopRequireDefault(require("@mui/icons-material/ContentCopyRounded"));
|
|
12
|
-
var _LibraryAddCheckRounded = _interopRequireDefault(require("@mui/icons-material/LibraryAddCheckRounded"));
|
|
13
11
|
var _useClipboardCopy = _interopRequireDefault(require("./useClipboardCopy"));
|
|
14
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
13
|
var _span, _span2;
|
|
@@ -38,16 +36,11 @@ function CodeCopyButton(props) {
|
|
|
38
36
|
// event.stopPropagation();
|
|
39
37
|
await copy(code);
|
|
40
38
|
},
|
|
41
|
-
children: [isCopied ? /*#__PURE__*/(0, _jsxRuntime.
|
|
42
|
-
sx: {
|
|
43
|
-
fontSize: 18
|
|
44
|
-
}
|
|
45
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_ContentCopyRounded.default, {
|
|
46
|
-
sx: {
|
|
47
|
-
fontSize: 18
|
|
48
|
-
}
|
|
49
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
|
|
39
|
+
children: [isCopied ? 'Copied' : 'Copy', /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
|
|
50
40
|
className: "MuiCode-copyKeypress",
|
|
41
|
+
style: {
|
|
42
|
+
opacity: isCopied ? 0 : 1
|
|
43
|
+
},
|
|
51
44
|
children: [_span || (_span = /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
52
45
|
children: "(or"
|
|
53
46
|
})), " ", key, "C", _span2 || (_span2 = /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
@@ -537,45 +537,35 @@ const Root = (0, _styles.styled)('div')(({
|
|
|
537
537
|
top: 0
|
|
538
538
|
},
|
|
539
539
|
'& .MuiCode-copy': {
|
|
540
|
-
display: 'inline-flex',
|
|
541
|
-
flexDirection: 'row-reverse',
|
|
542
|
-
alignItems: 'center',
|
|
543
|
-
width: 26,
|
|
544
|
-
height: 26,
|
|
545
540
|
cursor: 'pointer',
|
|
546
541
|
position: 'absolute',
|
|
547
542
|
top: 12,
|
|
548
543
|
right: 12,
|
|
544
|
+
display: 'inline-flex',
|
|
545
|
+
flexDirection: 'row-reverse',
|
|
546
|
+
alignItems: 'center',
|
|
547
|
+
height: 24,
|
|
549
548
|
padding: theme.spacing(0.5),
|
|
550
|
-
|
|
551
|
-
|
|
549
|
+
paddingBottom: '5px',
|
|
550
|
+
// optical alignment
|
|
551
|
+
fontFamily: _branding.brandingLightTheme.typography.fontFamily,
|
|
552
|
+
fontWeight: _branding.brandingLightTheme.typography.fontWeightMedium,
|
|
553
|
+
fontSize: _branding.brandingLightTheme.typography.pxToRem(12),
|
|
552
554
|
borderRadius: 6,
|
|
553
|
-
border: '
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
color:
|
|
555
|
+
border: '1px solid',
|
|
556
|
+
borderColor: (0, _styles.alpha)(_branding.brandingLightTheme.palette.primaryDark[600], 0.5),
|
|
557
|
+
backgroundColor: (0, _styles.alpha)(_branding.brandingLightTheme.palette.primaryDark[800], 0.5),
|
|
558
|
+
color: `var(--muidocs-palette-grey-200, ${_branding.brandingLightTheme.palette.grey[200]})`,
|
|
557
559
|
transition: theme.transitions.create(['background', 'borderColor', 'display'], {
|
|
558
560
|
duration: theme.transitions.duration.shortest
|
|
559
561
|
}),
|
|
560
|
-
'&
|
|
561
|
-
userSelect: 'none',
|
|
562
|
-
width: theme.typography.pxToRem(16),
|
|
563
|
-
height: theme.typography.pxToRem(16),
|
|
564
|
-
display: 'inline-block',
|
|
565
|
-
fill: 'currentcolor',
|
|
566
|
-
flexShrink: 0,
|
|
567
|
-
fontSize: '18px',
|
|
568
|
-
margin: 'auto',
|
|
569
|
-
opacity: 0.5
|
|
570
|
-
},
|
|
571
|
-
'& .MuiCode-copied-icon': {
|
|
562
|
+
'& .MuiCode-copied-label': {
|
|
572
563
|
display: 'none'
|
|
573
564
|
},
|
|
574
565
|
'&:hover, &:focus': {
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
},
|
|
566
|
+
borderColor: `var(--muidocs-palette-primaryDark-400, ${_branding.brandingLightTheme.palette.primaryDark[400]})`,
|
|
567
|
+
backgroundColor: `var(--muidocs-palette-primaryDark-700, ${_branding.brandingLightTheme.palette.primaryDark[700]})`,
|
|
568
|
+
color: '#FFF',
|
|
579
569
|
'& .MuiCode-copyKeypress': {
|
|
580
570
|
display: 'block',
|
|
581
571
|
// Approximate no hover capabilities with no keyboard
|
|
@@ -588,17 +578,19 @@ const Root = (0, _styles.styled)('div')(({
|
|
|
588
578
|
'& .MuiCode-copyKeypress': {
|
|
589
579
|
display: 'none',
|
|
590
580
|
position: 'absolute',
|
|
591
|
-
right:
|
|
581
|
+
right: 34
|
|
592
582
|
},
|
|
593
583
|
'&[data-copied]': {
|
|
594
|
-
|
|
595
|
-
|
|
584
|
+
borderColor: `var(--muidocs-palette-primaryDark-400, ${_branding.brandingLightTheme.palette.primaryDark[400]})`,
|
|
585
|
+
backgroundColor: `var(--muidocs-palette-primaryDark-700, ${_branding.brandingLightTheme.palette.primaryDark[700]})`,
|
|
596
586
|
color: '#fff',
|
|
597
|
-
|
|
598
|
-
|
|
587
|
+
'& .MuiCode-copyKeypress': {
|
|
588
|
+
opacity: 0
|
|
589
|
+
},
|
|
590
|
+
'& .MuiCode-copy-label': {
|
|
599
591
|
display: 'none'
|
|
600
592
|
},
|
|
601
|
-
'& .MuiCode-copied-
|
|
593
|
+
'& .MuiCode-copied-label': {
|
|
602
594
|
display: 'block'
|
|
603
595
|
}
|
|
604
596
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SectionTitle = SectionTitle;
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
var _span;
|
|
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
|
+
function SectionTitle(props) {
|
|
13
|
+
const {
|
|
14
|
+
title,
|
|
15
|
+
hash,
|
|
16
|
+
level: Level = 'h2'
|
|
17
|
+
} = props;
|
|
18
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Level, {
|
|
19
|
+
id: hash,
|
|
20
|
+
style: {
|
|
21
|
+
flexGrow: 1
|
|
22
|
+
},
|
|
23
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("a", {
|
|
24
|
+
"aria-labelledby": hash,
|
|
25
|
+
className: "title-link-to-anchor",
|
|
26
|
+
href: `#${hash}`,
|
|
27
|
+
tabIndex: -1,
|
|
28
|
+
children: [title, _span || (_span = /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
29
|
+
className: "anchor-icon",
|
|
30
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
|
|
31
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("use", {
|
|
32
|
+
xlinkHref: "#anchor-link-icon"
|
|
33
|
+
})
|
|
34
|
+
})
|
|
35
|
+
}))]
|
|
36
|
+
})
|
|
37
|
+
});
|
|
38
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _SectionTitle = require("./SectionTitle");
|
|
7
|
+
Object.keys(_SectionTitle).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _SectionTitle[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _SectionTitle[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
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.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "MUI Docs - Documentation building blocks.",
|
|
@@ -23,12 +23,12 @@
|
|
|
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.5",
|
|
27
27
|
"clipboard-copy": "^4.0.1",
|
|
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.4"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@mui/base": "*",
|