@mui/docs 7.0.0 → 7.0.2

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.styles.d.ts CHANGED
@@ -30,7 +30,7 @@ export declare const adBodyImageStyles: (theme: Theme) => {
30
30
  [x: string]: unknown;
31
31
  display: string;
32
32
  marginLeft: string;
33
- '@font-face'?: import("@mui/material/styles/createTypography").Fontface | import("@mui/material/styles/createTypography").Fontface[];
33
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
34
34
  accentColor?: import("csstype").Property.AccentColor | undefined;
35
35
  alignContent?: import("csstype").Property.AlignContent | undefined;
36
36
  alignItems?: import("csstype").Property.AlignItems | undefined;
@@ -861,7 +861,7 @@ export declare const adBodyImageStyles: (theme: Theme) => {
861
861
  display: string;
862
862
  marginTop: string;
863
863
  fontWeight: import("csstype").Property.FontWeight | undefined;
864
- '@font-face'?: import("@mui/material/styles/createTypography").Fontface | import("@mui/material/styles/createTypography").Fontface[];
864
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
865
865
  accentColor?: import("csstype").Property.AccentColor | undefined;
866
866
  alignContent?: import("csstype").Property.AlignContent | undefined;
867
867
  alignItems?: import("csstype").Property.AlignItems | undefined;
@@ -2663,7 +2663,7 @@ export declare const adBodyInlineStyles: (theme: Theme) => {
2663
2663
  ":visited"?: unknown;
2664
2664
  };
2665
2665
  display: string;
2666
- '@font-face'?: import("@mui/material/styles/createTypography").Fontface | import("@mui/material/styles/createTypography").Fontface[];
2666
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
2667
2667
  accentColor?: import("csstype").Property.AccentColor | undefined;
2668
2668
  alignContent?: import("csstype").Property.AlignContent | undefined;
2669
2669
  alignItems?: import("csstype").Property.AlignItems | undefined;
@@ -3494,7 +3494,7 @@ export declare const adBodyInlineStyles: (theme: Theme) => {
3494
3494
  color: string;
3495
3495
  display: string;
3496
3496
  fontWeight: import("csstype").Property.FontWeight | undefined;
3497
- '@font-face'?: import("@mui/material/styles/createTypography").Fontface | import("@mui/material/styles/createTypography").Fontface[];
3497
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
3498
3498
  accentColor?: import("csstype").Property.AccentColor | undefined;
3499
3499
  alignContent?: import("csstype").Property.AlignContent | undefined;
3500
3500
  alignItems?: import("csstype").Property.AlignItems | undefined;
package/CHANGELOG.md CHANGED
@@ -1,5 +1,105 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 7.0.2
4
+
5
+ _Apr 9, 2025_
6
+
7
+ A big thanks to the 12 contributors who made this release possible.
8
+
9
+ ### `@mui/material@7.0.2`
10
+
11
+ - [Autocomplete] Add ability to render custom single value (#45387) @ZeeshanTamboli
12
+ - [Autocomplete] Prevent shrink animation in controlled Autocomplete when initial `value` is provided (#45734) @imadx
13
+ - [AvatarGroup] Fix `spacing` prop ignoring value `0` (#45799) @Kartik-Murthy
14
+ - [Dialog] Deprecate composed classes (#45418) @sai6855
15
+
16
+ ### `@mui/material-nextjs@7.0.2`
17
+
18
+ - Fix nonce issues (#45794) @Janpot
19
+ - Add warnings to nextjs router integration (#45778) @Janpot
20
+
21
+ ### `@mui/styled-engine@7.0.2`
22
+
23
+ - Added caching to `StyledEngineProvider` to improve performance for running tests with Jest (#45846) @siriwatknp
24
+
25
+ ### Core
26
+
27
+ - [blog] Improve upvote video (0646444) @oliviertassinari
28
+ - [code-infra] Remove webpack aliases (#45841) @Janpot
29
+ - [code-infra] Remove .tsbuildinfo from build folder (#45727) @Janpot
30
+ - [code-infra] Stabilize theme viewer screenshot tests (#45768) @Janpot
31
+ - [code-infra] Remove modern bundles (#45808) @Janpot
32
+ - Update buildTypes script to optionally remove css imports (#45835) @brijeshb42
33
+ - Allow repo to be accepted as an argument for releaseTag (#45801) @brijeshb42
34
+ - Update scripts to support base-ui (#45784) @brijeshb42
35
+ - Sync scorecards.yml across codebase (4de5076) @oliviertassinari
36
+ - Remove baseUrl and skipLibCheck (#45806) @Janpot
37
+ - [docs-infra] Fix redirect styles pages (#45848) @siriwatknp
38
+ - [docs-infra] Remove false-positive Vale rules (#45843) @oliviertassinari
39
+ - [docs-infra] Make sure Next.js can find package.json through its aliases (#45840) @Janpot
40
+ - [docs-infra] Fix Next.js brand name coverage (6915f8d) @oliviertassinari
41
+ - [docs-infra] Fix layout shift between MIT and commercial pages (#45760) @oliviertassinari
42
+ - [docs-infra] Non breaking space for ESM (#45758) @oliviertassinari
43
+ - [support-infra] Remove dead 'workflow_call:' (#45736) @oliviertassinari
44
+ - [utils] Support cleanup callbacks in useForkRef (#45621) @DiegoAndai
45
+
46
+ ### Docs
47
+
48
+ - Fix pigment vite integration example (#44746) @brijeshb42
49
+ - Update migration instructions and codemod references for deprecated APIs (#45793) @sai6855
50
+ - Add TanStack Router routing example (#44930) @vetledv
51
+ - Fix layout shifting in icons page (#45779) @sai6855
52
+ - Fix migration instructions (#45762) @oliviertassinari
53
+ - Fix wrong TypeScript support version (#45761) @oliviertassinari
54
+ - Fix link to mui-joy/src/styles/components.d.ts (#45763) @oliviertassinari
55
+ - Fix 301 link (ae94c40) @oliviertassinari
56
+ - Fix 301 links (abd8f63) @oliviertassinari
57
+ - Fix 301 redirection (c7658de) @oliviertassinari
58
+ - [nextjs] Migrate from deprecated "legacyBehavior" prop (#44871) @oliviertassinari
59
+ - [nextjs] Document CSP for Next.js Pages Router (#45798) @Grohden
60
+
61
+ All contributors of this release in alphabetical order: @brijeshb42, @DiegoAndai, @Grohden, @imadx, @Janpot, @Kartik-Murthy, @oliviertassinari, @renovate[bot], @sai6855, @siriwatknp, @vetledv, @ZeeshanTamboli
62
+
63
+ ## 7.0.1
64
+
65
+ <!-- generated comparing v7.0.0..master -->
66
+
67
+ _Mar 28, 2025_
68
+
69
+ A big thanks to the 7 contributors who made this release possible.
70
+
71
+ ### `@mui/material@7.0.1`
72
+
73
+ - Export ThemeProviderProps (#45701) @aarongarciah
74
+ - [Fab] Fix default variant text color when using CSS vars (#45714) @aarongarciah
75
+ - Remove mention of v7 in deprecation messages (#45708) @DiegoAndai
76
+ - [Popover] Allow `null` in `anchorEl` function return type (#45045) @eduter
77
+ - Fix missing CSSProperties/MixinOptions types (#45706) @Janpot
78
+
79
+ ### `@mui/icons-material@7.0.1`
80
+
81
+ - [code-infra] Fix icon-material type resolution under `moduleResolution: "node"` (#45704) @Janpot
82
+ - Bring back individual icon dts (#45711) @Janpot
83
+
84
+ ### Core
85
+
86
+ - Improve the release instructions (#45688) @mnajdova
87
+
88
+ ### Docs
89
+
90
+ - Fix Masonry and Toolpad dark mode demos (#45721) @siriwatknp
91
+ - Update v7 related copy (#45716) @aarongarciah
92
+ - Avoid unwanted undefined in page title (#45718) @aarongarciah
93
+ - Fix joy templates error (#45715) @siriwatknp
94
+ - Rename GitHub icon import (#45709) @micttyoid
95
+ - Fix Safari issue in dark mode (#45696) @mnajdova
96
+ - Fix `Grid`, `GridLegacy`, `Stack`, `Badge`, `Select`, `Autocomplete` demos CSS variables (#45693) @DiegoAndai
97
+ - Add "Material UI v7 is here" to the notifications (#45694) @DiegoAndai
98
+ - Fix `Breadcrumbs`, `List`, `Divider`, and `Typography` dark mode demos (#45692) @siriwatknp
99
+ - Fix Material Icons page in dark mode (#45691) @mnajdova
100
+
101
+ All contributors of this release in alphabetical order: @aarongarciah, @DiegoAndai, @eduter, @Janpot, @micttyoid, @mnajdova, @siriwatknp
102
+
3
103
  ## 7.0.0
4
104
 
5
105
  <!-- generated comparing v7.0.0-rc.0..master -->
package/Link/Link.d.ts CHANGED
@@ -4,13 +4,16 @@ import { LinkProps as MuiLinkProps } from '@mui/material/Link';
4
4
  /**
5
5
  * File to keep in sync with:
6
6
  *
7
+ * - /packages/mui-docs/src/Link/Link.tsx
7
8
  * - /examples/material-ui-nextjs-pages-router/src/Link.js
8
9
  * - /examples/material-ui-nextjs-pages-router-ts/src/Link.tsx
10
+ * - /examples/material-ui-nextjs-ts-v4-v5-migration/src/Link.tsx
9
11
  */
10
12
  interface NextLinkComposedProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>, Omit<NextLinkProps, 'href' | 'as' | 'passHref' | 'onMouseEnter' | 'onClick' | 'onTouchStart'> {
11
13
  to: NextLinkProps['href'];
12
14
  linkAs?: NextLinkProps['as'];
13
15
  }
16
+ export declare const NextLinkComposed: React.ForwardRefExoticComponent<NextLinkComposedProps & React.RefAttributes<HTMLAnchorElement>>;
14
17
  export type LinkProps = {
15
18
  activeClassName?: string;
16
19
  as?: NextLinkProps['as'];
package/Link/Link.js CHANGED
@@ -5,7 +5,7 @@ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWild
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.Link = void 0;
8
+ exports.NextLinkComposed = exports.Link = void 0;
9
9
  var React = _interopRequireWildcard(require("react"));
10
10
  var _clsx = _interopRequireDefault(require("clsx"));
11
11
  var _router = require("next/router");
@@ -17,36 +17,27 @@ var _jsxRuntime = require("react/jsx-runtime");
17
17
  /**
18
18
  * File to keep in sync with:
19
19
  *
20
+ * - /packages/mui-docs/src/Link/Link.tsx
20
21
  * - /examples/material-ui-nextjs-pages-router/src/Link.js
21
22
  * - /examples/material-ui-nextjs-pages-router-ts/src/Link.tsx
23
+ * - /examples/material-ui-nextjs-ts-v4-v5-migration/src/Link.tsx
22
24
  */
23
25
 
24
- const NextLinkComposed = /*#__PURE__*/React.forwardRef(function NextLinkComposed(props, ref) {
26
+ const NextLinkComposed = exports.NextLinkComposed = /*#__PURE__*/React.forwardRef(function NextLinkComposed(props, ref) {
25
27
  const {
26
28
  to,
27
29
  linkAs,
28
- replace,
29
- scroll,
30
- shallow,
31
- prefetch,
32
- locale,
33
30
  ...other
34
31
  } = props;
35
32
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_link.default, {
36
33
  href: to,
37
- prefetch: prefetch,
38
34
  as: linkAs,
39
- replace: replace,
40
- scroll: scroll,
41
- shallow: shallow,
42
- passHref: true,
43
- locale: locale,
44
35
  "data-no-markdown-link": "true",
45
36
  ref: ref,
46
37
  ...other
47
38
  });
48
39
  });
49
- // A styled version of the Next.js Pages Router Link component:
40
+ // A styled version of the Next.js Link component:
50
41
  // https://nextjs.org/docs/pages/api-reference/components/link
51
42
  const Link = exports.Link = /*#__PURE__*/React.forwardRef(function Link(props, ref) {
52
43
  const {
@@ -55,19 +46,13 @@ const Link = exports.Link = /*#__PURE__*/React.forwardRef(function Link(props, r
55
46
  className: classNameProps,
56
47
  href,
57
48
  linkAs: linkAsProp,
58
- locale,
59
49
  noLinkStyle,
60
- prefetch,
61
- replace,
62
- scroll,
63
- shallow,
64
50
  ...other
65
51
  } = props;
66
52
  const router = (0, _router.useRouter)();
67
53
  const pathname = typeof href === 'string' ? href : href?.pathname;
68
54
  const routerPathname = router.pathname.replace('/[docsTab]', '');
69
- const shouldBeActive = routerPathname === pathname;
70
- const className = (0, _clsx.default)(classNameProps, shouldBeActive && activeClassName);
55
+ const className = (0, _clsx.default)(classNameProps, routerPathname === pathname && activeClassName);
71
56
  const userLanguage = (0, _i18n.useUserLanguage)();
72
57
  const {
73
58
  LANGUAGES_IGNORE_PAGES
@@ -78,12 +63,7 @@ const Link = exports.Link = /*#__PURE__*/React.forwardRef(function Link(props, r
78
63
  }
79
64
  const nextjsProps = {
80
65
  to: href,
81
- linkAs,
82
- replace,
83
- scroll,
84
- shallow,
85
- prefetch,
86
- locale
66
+ linkAs
87
67
  };
88
68
  if (noLinkStyle) {
89
69
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(NextLinkComposed, {
@@ -55,7 +55,7 @@ function NProgressBar(props) {
55
55
  height: 2,
56
56
  zIndex: (theme.vars || theme).zIndex.tooltip,
57
57
  backgroundColor: (theme.vars || theme).palette.primary[200],
58
- ...theme.applyDarkStyles({
58
+ ...theme.applyStyles('dark', {
59
59
  backgroundColor: (theme.vars || theme).palette.primary[700]
60
60
  }),
61
61
  '& .nprogress-bar': {
@@ -30,7 +30,7 @@ export declare const adBodyImageStyles: (theme: Theme) => {
30
30
  [x: string]: unknown;
31
31
  display: string;
32
32
  marginLeft: string;
33
- '@font-face'?: import("@mui/material/styles/createTypography").Fontface | import("@mui/material/styles/createTypography").Fontface[];
33
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
34
34
  accentColor?: import("csstype").Property.AccentColor | undefined;
35
35
  alignContent?: import("csstype").Property.AlignContent | undefined;
36
36
  alignItems?: import("csstype").Property.AlignItems | undefined;
@@ -861,7 +861,7 @@ export declare const adBodyImageStyles: (theme: Theme) => {
861
861
  display: string;
862
862
  marginTop: string;
863
863
  fontWeight: import("csstype").Property.FontWeight | undefined;
864
- '@font-face'?: import("@mui/material/styles/createTypography").Fontface | import("@mui/material/styles/createTypography").Fontface[];
864
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
865
865
  accentColor?: import("csstype").Property.AccentColor | undefined;
866
866
  alignContent?: import("csstype").Property.AlignContent | undefined;
867
867
  alignItems?: import("csstype").Property.AlignItems | undefined;
@@ -2663,7 +2663,7 @@ export declare const adBodyInlineStyles: (theme: Theme) => {
2663
2663
  ":visited"?: unknown;
2664
2664
  };
2665
2665
  display: string;
2666
- '@font-face'?: import("@mui/material/styles/createTypography").Fontface | import("@mui/material/styles/createTypography").Fontface[];
2666
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
2667
2667
  accentColor?: import("csstype").Property.AccentColor | undefined;
2668
2668
  alignContent?: import("csstype").Property.AlignContent | undefined;
2669
2669
  alignItems?: import("csstype").Property.AlignItems | undefined;
@@ -3494,7 +3494,7 @@ export declare const adBodyInlineStyles: (theme: Theme) => {
3494
3494
  color: string;
3495
3495
  display: string;
3496
3496
  fontWeight: import("csstype").Property.FontWeight | undefined;
3497
- '@font-face'?: import("@mui/material/styles/createTypography").Fontface | import("@mui/material/styles/createTypography").Fontface[];
3497
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
3498
3498
  accentColor?: import("csstype").Property.AccentColor | undefined;
3499
3499
  alignContent?: import("csstype").Property.AlignContent | undefined;
3500
3500
  alignItems?: import("csstype").Property.AlignItems | undefined;
@@ -4,13 +4,16 @@ import { LinkProps as MuiLinkProps } from '@mui/material/Link';
4
4
  /**
5
5
  * File to keep in sync with:
6
6
  *
7
+ * - /packages/mui-docs/src/Link/Link.tsx
7
8
  * - /examples/material-ui-nextjs-pages-router/src/Link.js
8
9
  * - /examples/material-ui-nextjs-pages-router-ts/src/Link.tsx
10
+ * - /examples/material-ui-nextjs-ts-v4-v5-migration/src/Link.tsx
9
11
  */
10
12
  interface NextLinkComposedProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>, Omit<NextLinkProps, 'href' | 'as' | 'passHref' | 'onMouseEnter' | 'onClick' | 'onTouchStart'> {
11
13
  to: NextLinkProps['href'];
12
14
  linkAs?: NextLinkProps['as'];
13
15
  }
16
+ export declare const NextLinkComposed: React.ForwardRefExoticComponent<NextLinkComposedProps & React.RefAttributes<HTMLAnchorElement>>;
14
17
  export type LinkProps = {
15
18
  activeClassName?: string;
16
19
  as?: NextLinkProps['as'];
package/esm/Link/Link.js CHANGED
@@ -9,36 +9,27 @@ import { useDocsConfig } from "../DocsProvider/index.js";
9
9
  /**
10
10
  * File to keep in sync with:
11
11
  *
12
+ * - /packages/mui-docs/src/Link/Link.tsx
12
13
  * - /examples/material-ui-nextjs-pages-router/src/Link.js
13
14
  * - /examples/material-ui-nextjs-pages-router-ts/src/Link.tsx
15
+ * - /examples/material-ui-nextjs-ts-v4-v5-migration/src/Link.tsx
14
16
  */
15
17
  import { jsx as _jsx } from "react/jsx-runtime";
16
- const NextLinkComposed = /*#__PURE__*/React.forwardRef(function NextLinkComposed(props, ref) {
18
+ export const NextLinkComposed = /*#__PURE__*/React.forwardRef(function NextLinkComposed(props, ref) {
17
19
  const {
18
20
  to,
19
21
  linkAs,
20
- replace,
21
- scroll,
22
- shallow,
23
- prefetch,
24
- locale,
25
22
  ...other
26
23
  } = props;
27
24
  return /*#__PURE__*/_jsx(NextLink, {
28
25
  href: to,
29
- prefetch: prefetch,
30
26
  as: linkAs,
31
- replace: replace,
32
- scroll: scroll,
33
- shallow: shallow,
34
- passHref: true,
35
- locale: locale,
36
27
  "data-no-markdown-link": "true",
37
28
  ref: ref,
38
29
  ...other
39
30
  });
40
31
  });
41
- // A styled version of the Next.js Pages Router Link component:
32
+ // A styled version of the Next.js Link component:
42
33
  // https://nextjs.org/docs/pages/api-reference/components/link
43
34
  export const Link = /*#__PURE__*/React.forwardRef(function Link(props, ref) {
44
35
  const {
@@ -47,19 +38,13 @@ export const Link = /*#__PURE__*/React.forwardRef(function Link(props, ref) {
47
38
  className: classNameProps,
48
39
  href,
49
40
  linkAs: linkAsProp,
50
- locale,
51
41
  noLinkStyle,
52
- prefetch,
53
- replace,
54
- scroll,
55
- shallow,
56
42
  ...other
57
43
  } = props;
58
44
  const router = useRouter();
59
45
  const pathname = typeof href === 'string' ? href : href?.pathname;
60
46
  const routerPathname = router.pathname.replace('/[docsTab]', '');
61
- const shouldBeActive = routerPathname === pathname;
62
- const className = clsx(classNameProps, shouldBeActive && activeClassName);
47
+ const className = clsx(classNameProps, routerPathname === pathname && activeClassName);
63
48
  const userLanguage = useUserLanguage();
64
49
  const {
65
50
  LANGUAGES_IGNORE_PAGES
@@ -70,12 +55,7 @@ export const Link = /*#__PURE__*/React.forwardRef(function Link(props, ref) {
70
55
  }
71
56
  const nextjsProps = {
72
57
  to: href,
73
- linkAs,
74
- replace,
75
- scroll,
76
- shallow,
77
- prefetch,
78
- locale
58
+ linkAs
79
59
  };
80
60
  if (noLinkStyle) {
81
61
  return /*#__PURE__*/_jsx(NextLinkComposed, {
@@ -47,7 +47,7 @@ function NProgressBar(props) {
47
47
  height: 2,
48
48
  zIndex: (theme.vars || theme).zIndex.tooltip,
49
49
  backgroundColor: (theme.vars || theme).palette.primary[200],
50
- ...theme.applyDarkStyles({
50
+ ...theme.applyStyles('dark', {
51
51
  backgroundColor: (theme.vars || theme).palette.primary[700]
52
52
  }),
53
53
  '& .nprogress-bar': {
@@ -30,7 +30,7 @@ export declare const adBodyImageStyles: (theme: Theme) => {
30
30
  [x: string]: unknown;
31
31
  display: string;
32
32
  marginLeft: string;
33
- '@font-face'?: import("@mui/material/styles/createTypography").Fontface | import("@mui/material/styles/createTypography").Fontface[];
33
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
34
34
  accentColor?: import("csstype").Property.AccentColor | undefined;
35
35
  alignContent?: import("csstype").Property.AlignContent | undefined;
36
36
  alignItems?: import("csstype").Property.AlignItems | undefined;
@@ -861,7 +861,7 @@ export declare const adBodyImageStyles: (theme: Theme) => {
861
861
  display: string;
862
862
  marginTop: string;
863
863
  fontWeight: import("csstype").Property.FontWeight | undefined;
864
- '@font-face'?: import("@mui/material/styles/createTypography").Fontface | import("@mui/material/styles/createTypography").Fontface[];
864
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
865
865
  accentColor?: import("csstype").Property.AccentColor | undefined;
866
866
  alignContent?: import("csstype").Property.AlignContent | undefined;
867
867
  alignItems?: import("csstype").Property.AlignItems | undefined;
@@ -2663,7 +2663,7 @@ export declare const adBodyInlineStyles: (theme: Theme) => {
2663
2663
  ":visited"?: unknown;
2664
2664
  };
2665
2665
  display: string;
2666
- '@font-face'?: import("@mui/material/styles/createTypography").Fontface | import("@mui/material/styles/createTypography").Fontface[];
2666
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
2667
2667
  accentColor?: import("csstype").Property.AccentColor | undefined;
2668
2668
  alignContent?: import("csstype").Property.AlignContent | undefined;
2669
2669
  alignItems?: import("csstype").Property.AlignItems | undefined;
@@ -3494,7 +3494,7 @@ export declare const adBodyInlineStyles: (theme: Theme) => {
3494
3494
  color: string;
3495
3495
  display: string;
3496
3496
  fontWeight: import("csstype").Property.FontWeight | undefined;
3497
- '@font-face'?: import("@mui/material/styles/createTypography").Fontface | import("@mui/material/styles/createTypography").Fontface[];
3497
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
3498
3498
  accentColor?: import("csstype").Property.AccentColor | undefined;
3499
3499
  alignContent?: import("csstype").Property.AlignContent | undefined;
3500
3500
  alignItems?: import("csstype").Property.AlignItems | undefined;
@@ -4,13 +4,16 @@ import { LinkProps as MuiLinkProps } from '@mui/material/Link';
4
4
  /**
5
5
  * File to keep in sync with:
6
6
  *
7
+ * - /packages/mui-docs/src/Link/Link.tsx
7
8
  * - /examples/material-ui-nextjs-pages-router/src/Link.js
8
9
  * - /examples/material-ui-nextjs-pages-router-ts/src/Link.tsx
10
+ * - /examples/material-ui-nextjs-ts-v4-v5-migration/src/Link.tsx
9
11
  */
10
12
  interface NextLinkComposedProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>, Omit<NextLinkProps, 'href' | 'as' | 'passHref' | 'onMouseEnter' | 'onClick' | 'onTouchStart'> {
11
13
  to: NextLinkProps['href'];
12
14
  linkAs?: NextLinkProps['as'];
13
15
  }
16
+ export declare const NextLinkComposed: React.ForwardRefExoticComponent<NextLinkComposedProps & React.RefAttributes<HTMLAnchorElement>>;
14
17
  export type LinkProps = {
15
18
  activeClassName?: string;
16
19
  as?: NextLinkProps['as'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/docs",
3
- "version": "7.0.0",
3
+ "version": "7.0.2",
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.26.10",
26
+ "@babel/runtime": "^7.27.0",
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": "^2.0.3"
31
+ "@mui/internal-markdown": "^2.0.4"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@mui/base": "*",
@@ -64,10 +64,6 @@
64
64
  "import": {
65
65
  "types": "./esm/index.d.ts",
66
66
  "default": "./esm/index.js"
67
- },
68
- "mui-modern": {
69
- "types": "./modern/index.d.ts",
70
- "default": "./modern/index.js"
71
67
  }
72
68
  },
73
69
  "./*": {
@@ -78,10 +74,6 @@
78
74
  "import": {
79
75
  "types": "./esm/*/index.d.ts",
80
76
  "default": "./esm/*/index.js"
81
- },
82
- "mui-modern": {
83
- "types": "./modern/*/index.d.ts",
84
- "default": "./modern/*/index.js"
85
77
  }
86
78
  },
87
79
  "./esm": null,