@mui/docs 9.0.0-alpha.0 → 9.0.0-alpha.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.
Files changed (181) hide show
  1. package/{esm/Ad/Ad.js → Ad/Ad.mjs} +5 -5
  2. package/{esm/Ad/AdCarbon.js → Ad/AdCarbon.mjs} +3 -3
  3. package/{esm/Ad/AdDisplay.js → Ad/AdDisplay.mjs} +4 -4
  4. package/{esm/Ad/AdGuest.js → Ad/AdGuest.mjs} +1 -1
  5. package/{esm/Ad/AdInHouse.d.ts → Ad/AdInHouse.d.mts} +1 -1
  6. package/{esm/Ad/AdInHouse.js → Ad/AdInHouse.mjs} +1 -1
  7. package/{esm/Ad/ad.styles.d.ts → Ad/ad.styles.d.mts} +4 -4
  8. package/Ad/ad.styles.d.ts +4 -4
  9. package/Ad/index.d.mts +5 -0
  10. package/Ad/index.mjs +7 -0
  11. package/CHANGELOG.md +74 -0
  12. package/{esm/CodeCopy/CodeCopyButton.js → CodeCopy/CodeCopyButton.mjs} +1 -1
  13. package/CodeCopy/index.d.mts +3 -0
  14. package/CodeCopy/index.mjs +3 -0
  15. package/{esm/ComponentLinkHeader/ComponentLinkHeader.js → ComponentLinkHeader/ComponentLinkHeader.mjs} +7 -7
  16. package/{esm/ComponentLinkHeader/index.d.ts → ComponentLinkHeader/index.d.mts} +2 -2
  17. package/{esm/ComponentLinkHeader/index.js → ComponentLinkHeader/index.mjs} +2 -2
  18. package/{esm/DocsProvider/DocsProvider.d.ts → DocsProvider/DocsProvider.d.mts} +2 -2
  19. package/{esm/DocsProvider/DocsProvider.js → DocsProvider/DocsProvider.mjs} +2 -2
  20. package/DocsProvider/index.d.mts +1 -0
  21. package/DocsProvider/index.mjs +1 -0
  22. package/{esm/HighlightedCode/HighlightedCode.js → HighlightedCode/HighlightedCode.mjs} +2 -2
  23. package/HighlightedCode/index.d.mts +1 -0
  24. package/HighlightedCode/index.mjs +1 -0
  25. package/{esm/HighlightedCodeWithTabs/HighlightedCodeWithTabs.js → HighlightedCodeWithTabs/HighlightedCodeWithTabs.mjs} +1 -1
  26. package/HighlightedCodeWithTabs/index.d.mts +2 -0
  27. package/HighlightedCodeWithTabs/index.mjs +2 -0
  28. package/IconImage/IconImage.d.mts +11 -0
  29. package/IconImage/IconImage.d.ts +11 -0
  30. package/IconImage/IconImage.js +91 -0
  31. package/IconImage/IconImage.mjs +83 -0
  32. package/IconImage/index.d.mts +1 -0
  33. package/IconImage/index.d.ts +1 -0
  34. package/IconImage/index.js +13 -0
  35. package/IconImage/index.mjs +1 -0
  36. package/{esm/InfoCard/InfoCard.d.ts → InfoCard/InfoCard.d.mts} +1 -1
  37. package/{esm/InfoCard/InfoCard.js → InfoCard/InfoCard.mjs} +1 -1
  38. package/InfoCard/index.d.mts +1 -0
  39. package/InfoCard/index.mjs +1 -0
  40. package/{esm/Link/Link.js → Link/Link.mjs} +2 -2
  41. package/Link/index.d.mts +1 -0
  42. package/Link/index.mjs +1 -0
  43. package/{esm/MarkdownElement/MarkdownElement.js → MarkdownElement/MarkdownElement.mjs} +1 -1
  44. package/MarkdownElement/index.d.mts +1 -0
  45. package/MarkdownElement/index.mjs +1 -0
  46. package/NProgressBar/index.d.mts +2 -0
  47. package/NProgressBar/index.mjs +1 -0
  48. package/SectionHeadline/SectionHeadline.d.mts +13 -0
  49. package/SectionHeadline/SectionHeadline.d.ts +13 -0
  50. package/SectionHeadline/SectionHeadline.js +89 -0
  51. package/SectionHeadline/SectionHeadline.mjs +81 -0
  52. package/SectionHeadline/index.d.mts +2 -0
  53. package/SectionHeadline/index.d.ts +2 -0
  54. package/SectionHeadline/index.js +25 -0
  55. package/SectionHeadline/index.mjs +2 -0
  56. package/SectionTitle/index.d.mts +1 -0
  57. package/SectionTitle/index.mjs +1 -0
  58. package/ThemeContext/ThemeContext.d.mts +92 -0
  59. package/ThemeContext/ThemeContext.d.ts +92 -0
  60. package/ThemeContext/ThemeContext.js +212 -0
  61. package/ThemeContext/ThemeContext.mjs +200 -0
  62. package/ThemeContext/index.d.mts +1 -0
  63. package/ThemeContext/index.d.ts +1 -0
  64. package/ThemeContext/index.js +42 -0
  65. package/ThemeContext/index.mjs +1 -0
  66. package/{esm/branding/BrandingProvider.js → branding/BrandingProvider.mjs} +1 -1
  67. package/branding/index.d.mts +2 -0
  68. package/branding/index.mjs +2 -0
  69. package/i18n/i18n.js +3 -1
  70. package/{esm/i18n/i18n.js → i18n/i18n.mjs} +4 -2
  71. package/i18n/index.d.mts +1 -0
  72. package/i18n/index.mjs +1 -0
  73. package/package.json +265 -8
  74. package/translations/index.d.mts +3 -0
  75. package/useLazyCSS/index.d.mts +1 -0
  76. package/useLazyCSS/index.d.ts +1 -0
  77. package/useLazyCSS/index.js +13 -0
  78. package/useLazyCSS/index.mjs +1 -0
  79. package/useLazyCSS/useLazyCSS.d.mts +11 -0
  80. package/useLazyCSS/useLazyCSS.d.ts +11 -0
  81. package/useLazyCSS/useLazyCSS.js +76 -0
  82. package/useLazyCSS/useLazyCSS.mjs +70 -0
  83. package/esm/Ad/index.d.ts +0 -5
  84. package/esm/Ad/index.js +0 -7
  85. package/esm/CodeCopy/index.d.ts +0 -3
  86. package/esm/CodeCopy/index.js +0 -3
  87. package/esm/DocsProvider/index.d.ts +0 -1
  88. package/esm/DocsProvider/index.js +0 -1
  89. package/esm/HighlightedCode/index.d.ts +0 -1
  90. package/esm/HighlightedCode/index.js +0 -1
  91. package/esm/HighlightedCodeWithTabs/index.d.ts +0 -2
  92. package/esm/HighlightedCodeWithTabs/index.js +0 -2
  93. package/esm/InfoCard/index.d.ts +0 -1
  94. package/esm/InfoCard/index.js +0 -1
  95. package/esm/Link/index.d.ts +0 -1
  96. package/esm/Link/index.js +0 -1
  97. package/esm/MarkdownElement/index.d.ts +0 -1
  98. package/esm/MarkdownElement/index.js +0 -1
  99. package/esm/NProgressBar/index.d.ts +0 -2
  100. package/esm/NProgressBar/index.js +0 -1
  101. package/esm/SectionTitle/index.d.ts +0 -1
  102. package/esm/SectionTitle/index.js +0 -1
  103. package/esm/branding/index.d.ts +0 -2
  104. package/esm/branding/index.js +0 -2
  105. package/esm/i18n/index.d.ts +0 -1
  106. package/esm/i18n/index.js +0 -1
  107. package/esm/nextFonts/fonts/GeneralSans-Bold.ttf +0 -0
  108. package/esm/nextFonts/fonts/GeneralSans-Bold.woff2 +0 -0
  109. package/esm/nextFonts/fonts/GeneralSans-Medium.ttf +0 -0
  110. package/esm/nextFonts/fonts/GeneralSans-Medium.woff2 +0 -0
  111. package/esm/nextFonts/fonts/GeneralSans-Regular.ttf +0 -0
  112. package/esm/nextFonts/fonts/GeneralSans-Regular.woff2 +0 -0
  113. package/esm/nextFonts/fonts/GeneralSans-Semibold-subset.woff2 +0 -0
  114. package/esm/nextFonts/fonts/GeneralSans-Semibold.ttf +0 -0
  115. package/esm/nextFonts/fonts/GeneralSans-Semibold.woff2 +0 -0
  116. package/esm/nextFonts/fonts/IBMPlexSans-Bold.ttf +0 -0
  117. package/esm/nextFonts/fonts/IBMPlexSans-Bold.woff +0 -0
  118. package/esm/nextFonts/fonts/IBMPlexSans-Bold.woff2 +0 -0
  119. package/esm/nextFonts/fonts/IBMPlexSans-Medium.ttf +0 -0
  120. package/esm/nextFonts/fonts/IBMPlexSans-Medium.woff +0 -0
  121. package/esm/nextFonts/fonts/IBMPlexSans-Medium.woff2 +0 -0
  122. package/esm/nextFonts/fonts/IBMPlexSans-Regular-subset.woff2 +0 -0
  123. package/esm/nextFonts/fonts/IBMPlexSans-Regular.ttf +0 -0
  124. package/esm/nextFonts/fonts/IBMPlexSans-Regular.woff +0 -0
  125. package/esm/nextFonts/fonts/IBMPlexSans-Regular.woff2 +0 -0
  126. package/esm/nextFonts/fonts/IBMPlexSans-SemiBold.ttf +0 -0
  127. package/esm/nextFonts/fonts/IBMPlexSans-SemiBold.woff +0 -0
  128. package/esm/nextFonts/fonts/IBMPlexSans-SemiBold.woff2 +0 -0
  129. package/esm/package.json +0 -1
  130. package/esm/translations/index.d.ts +0 -3
  131. package/esm/translations/translations.json +0 -223
  132. /package/{esm/Ad/Ad.d.ts → Ad/Ad.d.mts} +0 -0
  133. /package/{esm/Ad/AdCarbon.d.ts → Ad/AdCarbon.d.mts} +0 -0
  134. /package/{esm/Ad/AdDisplay.d.ts → Ad/AdDisplay.d.mts} +0 -0
  135. /package/{esm/Ad/AdGuest.d.ts → Ad/AdGuest.d.mts} +0 -0
  136. /package/{esm/Ad/AdManager.d.ts → Ad/AdManager.d.mts} +0 -0
  137. /package/{esm/Ad/AdManager.js → Ad/AdManager.mjs} +0 -0
  138. /package/{esm/Ad/AdProvider.d.ts → Ad/AdProvider.d.mts} +0 -0
  139. /package/{esm/Ad/AdProvider.js → Ad/AdProvider.mjs} +0 -0
  140. /package/{esm/Ad/ad.styles.js → Ad/ad.styles.mjs} +0 -0
  141. /package/{esm/CodeCopy/CodeCopy.d.ts → CodeCopy/CodeCopy.d.mts} +0 -0
  142. /package/{esm/CodeCopy/CodeCopy.js → CodeCopy/CodeCopy.mjs} +0 -0
  143. /package/{esm/CodeCopy/CodeCopyButton.d.ts → CodeCopy/CodeCopyButton.d.mts} +0 -0
  144. /package/{esm/CodeCopy/useClipboardCopy.d.ts → CodeCopy/useClipboardCopy.d.mts} +0 -0
  145. /package/{esm/CodeCopy/useClipboardCopy.js → CodeCopy/useClipboardCopy.mjs} +0 -0
  146. /package/{esm/ComponentLinkHeader/ComponentLinkHeader.d.ts → ComponentLinkHeader/ComponentLinkHeader.d.mts} +0 -0
  147. /package/{esm/HighlightedCode/HighlightedCode.d.ts → HighlightedCode/HighlightedCode.d.mts} +0 -0
  148. /package/{esm/HighlightedCodeWithTabs/HighlightedCodeWithTabs.d.ts → HighlightedCodeWithTabs/HighlightedCodeWithTabs.d.mts} +0 -0
  149. /package/{esm/Link/Link.d.ts → Link/Link.d.mts} +0 -0
  150. /package/{esm/MarkdownElement/MarkdownElement.d.ts → MarkdownElement/MarkdownElement.d.mts} +0 -0
  151. /package/{esm/NProgressBar/NProgressBar.d.ts → NProgressBar/NProgressBar.d.mts} +0 -0
  152. /package/{esm/NProgressBar/NProgressBar.js → NProgressBar/NProgressBar.mjs} +0 -0
  153. /package/{esm/SectionTitle/SectionTitle.d.ts → SectionTitle/SectionTitle.d.mts} +0 -0
  154. /package/{esm/SectionTitle/SectionTitle.js → SectionTitle/SectionTitle.mjs} +0 -0
  155. /package/{esm/branding/BrandingProvider.d.ts → branding/BrandingProvider.d.mts} +0 -0
  156. /package/{esm/branding/brandingTheme.d.ts → branding/brandingTheme.d.mts} +0 -0
  157. /package/{esm/branding/brandingTheme.js → branding/brandingTheme.mjs} +0 -0
  158. /package/{esm/i18n/i18n.d.ts → i18n/i18n.d.mts} +0 -0
  159. /package/{esm/nextFonts/index.d.ts → nextFonts/index.d.mts} +0 -0
  160. /package/{esm/nextFonts/index.js → nextFonts/index.mjs} +0 -0
  161. /package/{esm/svgIcons/BundleSizeIcon.d.ts → svgIcons/BundleSizeIcon.d.mts} +0 -0
  162. /package/{esm/svgIcons/BundleSizeIcon.js → svgIcons/BundleSizeIcon.mjs} +0 -0
  163. /package/{esm/svgIcons/FigmaIcon.d.ts → svgIcons/FigmaIcon.d.mts} +0 -0
  164. /package/{esm/svgIcons/FigmaIcon.js → svgIcons/FigmaIcon.mjs} +0 -0
  165. /package/{esm/svgIcons/FileDownload.d.ts → svgIcons/FileDownload.d.mts} +0 -0
  166. /package/{esm/svgIcons/FileDownload.js → svgIcons/FileDownload.mjs} +0 -0
  167. /package/{esm/svgIcons/JavaScript.d.ts → svgIcons/JavaScript.d.mts} +0 -0
  168. /package/{esm/svgIcons/JavaScript.js → svgIcons/JavaScript.mjs} +0 -0
  169. /package/{esm/svgIcons/MarkdownIcon.d.ts → svgIcons/MarkdownIcon.d.mts} +0 -0
  170. /package/{esm/svgIcons/MarkdownIcon.js → svgIcons/MarkdownIcon.mjs} +0 -0
  171. /package/{esm/svgIcons/MaterialDesignIcon.d.ts → svgIcons/MaterialDesignIcon.d.mts} +0 -0
  172. /package/{esm/svgIcons/MaterialDesignIcon.js → svgIcons/MaterialDesignIcon.mjs} +0 -0
  173. /package/{esm/svgIcons/SketchIcon.d.ts → svgIcons/SketchIcon.d.mts} +0 -0
  174. /package/{esm/svgIcons/SketchIcon.js → svgIcons/SketchIcon.mjs} +0 -0
  175. /package/{esm/svgIcons/TypeScript.d.ts → svgIcons/TypeScript.d.mts} +0 -0
  176. /package/{esm/svgIcons/TypeScript.js → svgIcons/TypeScript.mjs} +0 -0
  177. /package/{esm/svgIcons/W3CIcon.d.ts → svgIcons/W3CIcon.d.mts} +0 -0
  178. /package/{esm/svgIcons/W3CIcon.js → svgIcons/W3CIcon.mjs} +0 -0
  179. /package/{esm/translations/index.js → translations/index.mjs} +0 -0
  180. /package/{esm/utils/loadScript.d.ts → utils/loadScript.d.mts} +0 -0
  181. /package/{esm/utils/loadScript.js → utils/loadScript.mjs} +0 -0
@@ -3,11 +3,11 @@ import * as React from 'react';
3
3
  import Typography from '@mui/material/Typography';
4
4
  import Box from '@mui/material/Box';
5
5
  import Paper from '@mui/material/Paper';
6
- import { useTranslate } from "../i18n/index.js";
7
- import AdCarbon from "./AdCarbon.js";
8
- import AdInHouse from "./AdInHouse.js";
9
- import { AdContext, adShape } from "./AdManager.js";
10
- import { useAdConfig } from "./AdProvider.js";
6
+ import { useTranslate } from "../i18n/index.mjs";
7
+ import AdCarbon from "./AdCarbon.mjs";
8
+ import AdInHouse from "./AdInHouse.mjs";
9
+ import { AdContext, adShape } from "./AdManager.mjs";
10
+ import { useAdConfig } from "./AdProvider.mjs";
11
11
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
12
12
  function PleaseDisableAdblock() {
13
13
  const t = useTranslate();
@@ -1,9 +1,9 @@
1
1
  var _AdCarbonImage;
2
2
  import * as React from 'react';
3
3
  import { styled } from '@mui/material/styles';
4
- import loadScript from "../utils/loadScript.js";
5
- import AdDisplay from "./AdDisplay.js";
6
- import { adBodyImageStyles } from "./ad.styles.js";
4
+ import loadScript from "../utils/loadScript.mjs";
5
+ import AdDisplay from "./AdDisplay.mjs";
6
+ import { adBodyImageStyles } from "./ad.styles.mjs";
7
7
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
8
  const CarbonRoot = styled('span')(({
9
9
  theme
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import { styled } from '@mui/material/styles';
3
- import { useTranslate } from "../i18n/index.js";
4
- import { adShape } from "./AdManager.js";
5
- import { adBodyImageStyles, adBodyInlineStyles } from "./ad.styles.js";
6
- import { useAdConfig } from "./AdProvider.js";
3
+ import { useTranslate } from "../i18n/index.mjs";
4
+ import { adShape } from "./AdManager.mjs";
5
+ import { adBodyImageStyles, adBodyInlineStyles } from "./ad.styles.mjs";
6
+ import { useAdConfig } from "./AdProvider.mjs";
7
7
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
8
  const InlineShape = styled('span')(({
9
9
  theme
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import Portal from '@mui/material/Portal';
3
- import { AdContext } from "./AdManager.js";
3
+ import { AdContext } from "./AdManager.mjs";
4
4
  import { jsx as _jsx } from "react/jsx-runtime";
5
5
  function AdGuest(props) {
6
6
  const {
@@ -1,4 +1,4 @@
1
- import { AdParameters } from "./AdDisplay.js";
1
+ import { AdParameters } from "./AdDisplay.mjs";
2
2
  export default function AdInHouse(props: {
3
3
  ad: Omit<AdParameters, 'poweredby' | 'label'>;
4
4
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import AdDisplay from "./AdDisplay.js";
1
+ import AdDisplay from "./AdDisplay.mjs";
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  export default function AdInHouse(props) {
4
4
  const {
@@ -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/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
33
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[] | undefined;
34
34
  accentColor?: import("csstype").Property.AccentColor | undefined;
35
35
  alignContent?: import("csstype").Property.AlignContent | undefined;
36
36
  alignItems?: import("csstype").Property.AlignItems | undefined;
@@ -893,7 +893,7 @@ export declare const adBodyImageStyles: (theme: Theme) => {
893
893
  display: string;
894
894
  marginTop: string;
895
895
  fontWeight: import("csstype").Property.FontWeight | undefined;
896
- '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
896
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[] | undefined;
897
897
  accentColor?: import("csstype").Property.AccentColor | undefined;
898
898
  alignContent?: import("csstype").Property.AlignContent | undefined;
899
899
  alignItems?: import("csstype").Property.AlignItems | undefined;
@@ -2782,7 +2782,7 @@ export declare const adBodyInlineStyles: (theme: Theme) => {
2782
2782
  ":xr-overlay"?: unknown;
2783
2783
  };
2784
2784
  display: string;
2785
- '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
2785
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[] | undefined;
2786
2786
  accentColor?: import("csstype").Property.AccentColor | undefined;
2787
2787
  alignContent?: import("csstype").Property.AlignContent | undefined;
2788
2788
  alignItems?: import("csstype").Property.AlignItems | undefined;
@@ -3645,7 +3645,7 @@ export declare const adBodyInlineStyles: (theme: Theme) => {
3645
3645
  color: string;
3646
3646
  display: string;
3647
3647
  fontWeight: import("csstype").Property.FontWeight | undefined;
3648
- '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
3648
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[] | undefined;
3649
3649
  accentColor?: import("csstype").Property.AccentColor | undefined;
3650
3650
  alignContent?: import("csstype").Property.AlignContent | undefined;
3651
3651
  alignItems?: import("csstype").Property.AlignItems | undefined;
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/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
33
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[] | undefined;
34
34
  accentColor?: import("csstype").Property.AccentColor | undefined;
35
35
  alignContent?: import("csstype").Property.AlignContent | undefined;
36
36
  alignItems?: import("csstype").Property.AlignItems | undefined;
@@ -893,7 +893,7 @@ export declare const adBodyImageStyles: (theme: Theme) => {
893
893
  display: string;
894
894
  marginTop: string;
895
895
  fontWeight: import("csstype").Property.FontWeight | undefined;
896
- '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
896
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[] | undefined;
897
897
  accentColor?: import("csstype").Property.AccentColor | undefined;
898
898
  alignContent?: import("csstype").Property.AlignContent | undefined;
899
899
  alignItems?: import("csstype").Property.AlignItems | undefined;
@@ -2782,7 +2782,7 @@ export declare const adBodyInlineStyles: (theme: Theme) => {
2782
2782
  ":xr-overlay"?: unknown;
2783
2783
  };
2784
2784
  display: string;
2785
- '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
2785
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[] | undefined;
2786
2786
  accentColor?: import("csstype").Property.AccentColor | undefined;
2787
2787
  alignContent?: import("csstype").Property.AlignContent | undefined;
2788
2788
  alignItems?: import("csstype").Property.AlignItems | undefined;
@@ -3645,7 +3645,7 @@ export declare const adBodyInlineStyles: (theme: Theme) => {
3645
3645
  color: string;
3646
3646
  display: string;
3647
3647
  fontWeight: import("csstype").Property.FontWeight | undefined;
3648
- '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[];
3648
+ '@font-face'?: import("@mui/material/styles/createMixins").Fontface | import("@mui/material/styles/createMixins").Fontface[] | undefined;
3649
3649
  accentColor?: import("csstype").Property.AccentColor | undefined;
3650
3650
  alignContent?: import("csstype").Property.AlignContent | undefined;
3651
3651
  alignItems?: import("csstype").Property.AlignItems | undefined;
package/Ad/index.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ export * from "./Ad.mjs";
2
+ export * from "./AdManager.mjs";
3
+ export * from "./AdProvider.mjs";
4
+ export * from "./AdGuest.mjs";
5
+ export { AdCarbonInline } from "./AdCarbon.mjs";
package/Ad/index.mjs ADDED
@@ -0,0 +1,7 @@
1
+ /// <reference types="gtag.js" />
2
+
3
+ export * from "./Ad.mjs";
4
+ export * from "./AdManager.mjs";
5
+ export * from "./AdProvider.mjs";
6
+ export * from "./AdGuest.mjs";
7
+ export { AdCarbonInline } from "./AdCarbon.mjs";
package/CHANGELOG.md CHANGED
@@ -1,5 +1,79 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 9.0.0-alpha.2
4
+
5
+ <!-- generated comparing v9.0.0-alpha.1..master -->
6
+
7
+ _Mar 5, 2026_
8
+
9
+ A big thanks to the 4 contributors who made this release possible.
10
+
11
+ ### @mui/material@9.0.0-alpha.2
12
+
13
+ - Clean up duplicated CSS rules (#47838) @sai6855
14
+
15
+ ### @mui/system@9.0.0-alpha.2
16
+
17
+ - Refactor sortContainerQueries to define regex outside of sort function (#47817) @sai6855
18
+
19
+ ### Docs
20
+
21
+ - Move shared components to @mui/docs package (#47672) @Janpot
22
+ - Fix small typo in NumberField page (#47877) @arthur-plazanet
23
+
24
+ ### Core
25
+
26
+ - [code-infra] Reduce paths for attw checks (#47896) @brijeshb42
27
+ - [docs-infra] Run syncTeamMembers (#47900) @Janpot
28
+
29
+ All contributors of this release in alphabetical order: @arthur-plazanet, @brijeshb42, @Janpot, @sai6855
30
+
31
+ ## 9.0.0-alpha.1
32
+
33
+ <!-- generated comparing v9.0.0-alpha.0..master -->
34
+
35
+ _Feb 26, 2026_
36
+
37
+ A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
38
+
39
+ ### @mui/material@9.0.0-alpha.1
40
+
41
+ - [Autocomplete] Prevents Autocomplete menu from opening on right click (#47797) @silviuaavram
42
+ - [Backdrop] Remove aria-hidden by default (#47798) @silviuaavram
43
+ - [ButtonBase] Ensure that onClick propagates when non-native button is clicked (#47800) @silviuaavram
44
+ - [Dialog][Modal] Remove `disableEscapeKeyDown` prop (#47695) @silviuaavram
45
+ - [Grid] Remove system props support (#47846) @siriwatknp
46
+ - [TableCell][theme] Apply `alpha` before color mixing to border bottom color when nativeColor + cssVariables is used (#47762) @ZeeshanTamboli
47
+ - [theme] Remove MuiTouchRipple from theme component types (#47849) @siriwatknp
48
+ - [Tooltip] Fix error is thrown when wrapping an input which is disabled while focused (#47684) @ZeeshanTamboli
49
+ - [useAutocomplete] Improve isOptionEqualToValue value argument type (#47801) @silviuaavram
50
+
51
+ ### Docs
52
+
53
+ - [docs] Add updated community theme resource (#47847) @PeterTYLiu
54
+ - [docs] Few copy fixes (#47806) @pavan-sh
55
+ - [docs] Fix IPA reader link in blog post (#47796) @pavan-sh
56
+ - [docs] Fix JSX in Overriding component structure docs (#47799) @ZeeshanTamboli
57
+ - [docs] Fix the keyboard navigation in GroupedMenu example (#47842) @silviuaavram
58
+ - [docs] Fix Theme builder video (#47835) @oliviertassinari
59
+ - [docs] Update pricing sankey as done (#47795) @alexfauquette
60
+ - [docs][system] Update sizing docs to clarify `(0, 1]` behavior. (#47845) @matthias-ccri
61
+
62
+ ### Core
63
+
64
+ - [blog] Blogpost for upcoming price changes for MUI X (#47748) @DanailH
65
+ - [code-infra] Detect browser envs that don't support layout (#47813) @Janpot
66
+ - [code-infra] Enable undefined addition to optional properties (#47750) @brijeshb42
67
+ - [code-infra] Exclusively enable test mode in jsdom (#47812) @Janpot
68
+ - [code-infra] Fix console.warn during test (#47802) @Janpot
69
+ - [code-infra] Remove vale as a workspace dependency (#47860) @brijeshb42
70
+ - [code-infra] Setup flat build for packages (#47670) @brijeshb42
71
+ - [code-infra] Upgrade react-docgen to v8 (#47685) @JCQuintas
72
+ - [docs-infra] Reapply Cookie Banner with Design Fixes (#47744) @dav-is
73
+ - [internal] Remove legacy MUI Base API docs (#47804) @ZeeshanTamboli
74
+
75
+ All contributors of this release in alphabetical order: @alexfauquette, @brijeshb42, @DanailH, @dav-is, @Janpot, @JCQuintas, @matthias-ccri, @oliviertassinari, @pavan-sh, @PeterTYLiu, @silviuaavram, @siriwatknp, @ZeeshanTamboli
76
+
3
77
  ## 9.0.0-alpha.0
4
78
 
5
79
  <!-- generated comparing v7.3.8..master -->
@@ -1,5 +1,5 @@
1
1
  var _span, _span2;
2
- import useClipboardCopy from "./useClipboardCopy.js";
2
+ import useClipboardCopy from "./useClipboardCopy.mjs";
3
3
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
4
  export function CodeCopyButton(props) {
5
5
  const {
@@ -0,0 +1,3 @@
1
+ export * from "./CodeCopy.mjs";
2
+ export * from "./CodeCopyButton.mjs";
3
+ export { default as useClipboardCopy } from "./useClipboardCopy.mjs";
@@ -0,0 +1,3 @@
1
+ export * from "./CodeCopy.mjs";
2
+ export * from "./CodeCopyButton.mjs";
3
+ export { default as useClipboardCopy } from "./useClipboardCopy.mjs";
@@ -6,13 +6,13 @@ import Tooltip from '@mui/material/Tooltip';
6
6
  import ChatRounded from '@mui/icons-material/ChatRounded';
7
7
  import GitHubIcon from '@mui/icons-material/GitHub';
8
8
  import { styled } from '@mui/material/styles';
9
- import MarkdownIcon from "../svgIcons/MarkdownIcon.js";
10
- import SketchIcon from "../svgIcons/SketchIcon.js";
11
- import FigmaIcon from "../svgIcons/FigmaIcon.js";
12
- import BundleSizeIcon from "../svgIcons/BundleSizeIcon.js";
13
- import W3CIcon from "../svgIcons/W3CIcon.js";
14
- import MaterialDesignIcon from "../svgIcons/MaterialDesignIcon.js";
15
- import { useTranslate } from "../i18n/index.js";
9
+ import MarkdownIcon from "../svgIcons/MarkdownIcon.mjs";
10
+ import SketchIcon from "../svgIcons/SketchIcon.mjs";
11
+ import FigmaIcon from "../svgIcons/FigmaIcon.mjs";
12
+ import BundleSizeIcon from "../svgIcons/BundleSizeIcon.mjs";
13
+ import W3CIcon from "../svgIcons/W3CIcon.mjs";
14
+ import MaterialDesignIcon from "../svgIcons/MaterialDesignIcon.mjs";
15
+ import { useTranslate } from "../i18n/index.mjs";
16
16
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
17
17
  const Root = styled('ul')(({
18
18
  theme
@@ -1,2 +1,2 @@
1
- export * from "./ComponentLinkHeader.js";
2
- export { ComponentLinkHeader as default } from "./ComponentLinkHeader.js";
1
+ export * from "./ComponentLinkHeader.mjs";
2
+ export { ComponentLinkHeader as default } from "./ComponentLinkHeader.mjs";
@@ -1,2 +1,2 @@
1
- export * from "./ComponentLinkHeader.js";
2
- export { ComponentLinkHeader as default } from "./ComponentLinkHeader.js";
1
+ export * from "./ComponentLinkHeader.mjs";
2
+ export { ComponentLinkHeader as default } from "./ComponentLinkHeader.mjs";
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { Translations } from "../i18n/index.js";
3
- import { AdConfig } from "../Ad/index.js";
2
+ import { Translations } from "../i18n/index.mjs";
3
+ import { AdConfig } from "../Ad/index.mjs";
4
4
  export interface DocsConfig {
5
5
  LANGUAGES: string[];
6
6
  LANGUAGES_SSR: string[];
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { UserLanguageProvider } from "../i18n/index.js";
3
- import { AdProvider } from "../Ad/index.js";
2
+ import { UserLanguageProvider } from "../i18n/index.mjs";
3
+ import { AdProvider } from "../Ad/index.mjs";
4
4
  import { jsx as _jsx } from "react/jsx-runtime";
5
5
  const DocsConfigContext = /*#__PURE__*/React.createContext(null);
6
6
  export function DocsProvider({
@@ -0,0 +1 @@
1
+ export * from "./DocsProvider.mjs";
@@ -0,0 +1 @@
1
+ export * from "./DocsProvider.mjs";
@@ -2,8 +2,8 @@ import * as React from 'react';
2
2
  import prism from '@mui/internal-markdown/prism';
3
3
  import { NoSsr } from '@mui/base/NoSsr';
4
4
  import { styled } from '@mui/material/styles';
5
- import { useCodeCopy, CodeCopyButton } from "../CodeCopy/index.js";
6
- import { MarkdownElement } from "../MarkdownElement/index.js";
5
+ import { useCodeCopy, CodeCopyButton } from "../CodeCopy/index.mjs";
6
+ import { MarkdownElement } from "../MarkdownElement/index.mjs";
7
7
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
8
  const Pre = styled('pre')(({
9
9
  theme
@@ -0,0 +1 @@
1
+ export * from "./HighlightedCode.mjs";
@@ -0,0 +1 @@
1
+ export * from "./HighlightedCode.mjs";
@@ -5,7 +5,7 @@ import { TabsList as TabsListBase } from '@mui/base/TabsList';
5
5
  import { TabPanel as TabPanelBase } from '@mui/base/TabPanel';
6
6
  import { Tab as TabBase } from '@mui/base/Tab';
7
7
  import useLocalStorageState from '@mui/utils/useLocalStorageState';
8
- import { HighlightedCode } from "../HighlightedCode/index.js";
8
+ import { HighlightedCode } from "../HighlightedCode/index.mjs";
9
9
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
10
  const PACKAGE_MANAGER_ORDER = new Map(['npm', 'pnpm', 'yarn'].map((manager, index) => [manager, index]));
11
11
  export const CodeTabList = styled(TabsListBase)(({
@@ -0,0 +1,2 @@
1
+ export * from "./HighlightedCodeWithTabs.mjs";
2
+ export { HighlightedCodeWithTabs as default } from "./HighlightedCodeWithTabs.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./HighlightedCodeWithTabs.mjs";
2
+ export { HighlightedCodeWithTabs as default } from "./HighlightedCodeWithTabs.mjs";
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { Theme } from '@mui/material/styles';
3
+ import { SxProps } from '@mui/system';
4
+ export type IconImageProps = {
5
+ name: 'product-core' | 'product-advanced' | 'product-toolpad' | 'product-templates' | 'product-designkits' | 'pricing/x-plan-pro' | 'pricing/x-plan-premium' | 'pricing/x-plan-community' | 'pricing/yes' | 'pricing/no' | 'pricing/time' | 'companies/spotify' | 'companies/amazon' | 'companies/nasa' | 'companies/netflix' | 'companies/unity' | 'companies/shutterstock' | 'companies/southwest' | 'companies/siemens' | 'companies/deloitte' | 'companies/apple' | 'companies/twitter' | 'companies/salesforce' | 'companies/verizon' | 'companies/atandt' | 'companies/patreon' | 'companies/ebay' | 'companies/samsung' | 'companies/volvo' | 'companies/tesla' | string;
6
+ height?: number;
7
+ mode?: '' | 'light' | 'dark';
8
+ sx?: SxProps<Theme>;
9
+ width?: number;
10
+ } & Omit<React.JSX.IntrinsicElements['img'], 'ref'>;
11
+ export default function IconImage(props: IconImageProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { Theme } from '@mui/material/styles';
3
+ import { SxProps } from '@mui/system';
4
+ export type IconImageProps = {
5
+ name: 'product-core' | 'product-advanced' | 'product-toolpad' | 'product-templates' | 'product-designkits' | 'pricing/x-plan-pro' | 'pricing/x-plan-premium' | 'pricing/x-plan-community' | 'pricing/yes' | 'pricing/no' | 'pricing/time' | 'companies/spotify' | 'companies/amazon' | 'companies/nasa' | 'companies/netflix' | 'companies/unity' | 'companies/shutterstock' | 'companies/southwest' | 'companies/siemens' | 'companies/deloitte' | 'companies/apple' | 'companies/twitter' | 'companies/salesforce' | 'companies/verizon' | 'companies/atandt' | 'companies/patreon' | 'companies/ebay' | 'companies/samsung' | 'companies/volvo' | 'companies/tesla' | string;
6
+ height?: number;
7
+ mode?: '' | 'light' | 'dark';
8
+ sx?: SxProps<Theme>;
9
+ width?: number;
10
+ } & Omit<React.JSX.IntrinsicElements['img'], 'ref'>;
11
+ export default function IconImage(props: IconImageProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = IconImage;
9
+ var React = _interopRequireWildcard(require("react"));
10
+ var _styles = require("@mui/material/styles");
11
+ var _Box = _interopRequireDefault(require("@mui/material/Box"));
12
+ var _ThemeContext = require("../ThemeContext");
13
+ var _jsxRuntime = require("react/jsx-runtime");
14
+ const Img = (0, _styles.styled)('img')({
15
+ display: 'inline-block',
16
+ verticalAlign: 'bottom'
17
+ });
18
+ let neverHydrated = true;
19
+ function IconImage(props) {
20
+ const {
21
+ height: heightProp,
22
+ name,
23
+ width: widthProp,
24
+ mode: modeProp,
25
+ ...other
26
+ } = props;
27
+ const themeOptions = React.useContext(_ThemeContext.ThemeOptionsContext);
28
+ const [firstRender, setFirstRender] = React.useState(true);
29
+ React.useEffect(() => {
30
+ setFirstRender(false);
31
+ neverHydrated = false;
32
+ }, []);
33
+ let defaultWidth;
34
+ let defaultHeight;
35
+ const mode = modeProp ?? themeOptions.paletteMode;
36
+ if (name.startsWith('product-')) {
37
+ defaultWidth = 36;
38
+ defaultHeight = 36;
39
+ } else if (name.startsWith('pricing/x-plan-')) {
40
+ defaultWidth = 17;
41
+ defaultHeight = 20;
42
+ } else if (['pricing/yes', 'pricing/no', 'pricing/time'].includes(name)) {
43
+ defaultWidth = 18;
44
+ defaultHeight = 18;
45
+ }
46
+ const width = widthProp ?? defaultWidth;
47
+ const height = heightProp ?? defaultHeight;
48
+
49
+ // First time render with a theme depend image
50
+ if (firstRender && neverHydrated && mode !== '') {
51
+ if (other.loading === 'eager') {
52
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
53
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(Img, {
54
+ className: "only-light-mode-v2",
55
+ src: `/static/branding/${name}-light.svg`,
56
+ alt: "",
57
+ width: width,
58
+ height: height,
59
+ ...other,
60
+ loading: "lazy"
61
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(Img, {
62
+ className: "only-dark-mode-v2",
63
+ src: `/static/branding/${name}-dark.svg`,
64
+ alt: "",
65
+ width: width,
66
+ height: height,
67
+ ...other,
68
+ loading: "lazy"
69
+ })]
70
+ });
71
+ }
72
+
73
+ // Prevent hydration mismatch between the light and dark mode image source.
74
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Box.default, {
75
+ component: "span",
76
+ sx: {
77
+ width,
78
+ height,
79
+ display: 'inline-block'
80
+ }
81
+ });
82
+ }
83
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(Img, {
84
+ src: `/static/branding/${name}${mode ? `-${mode}` : ''}.svg`,
85
+ alt: "",
86
+ loading: "lazy",
87
+ width: width,
88
+ height: height,
89
+ ...other
90
+ });
91
+ }
@@ -0,0 +1,83 @@
1
+ import * as React from 'react';
2
+ import { styled } from '@mui/material/styles';
3
+ import Box from '@mui/material/Box';
4
+ import { ThemeOptionsContext } from "../ThemeContext/index.mjs";
5
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
+ const Img = styled('img')({
7
+ display: 'inline-block',
8
+ verticalAlign: 'bottom'
9
+ });
10
+ let neverHydrated = true;
11
+ export default function IconImage(props) {
12
+ const {
13
+ height: heightProp,
14
+ name,
15
+ width: widthProp,
16
+ mode: modeProp,
17
+ ...other
18
+ } = props;
19
+ const themeOptions = React.useContext(ThemeOptionsContext);
20
+ const [firstRender, setFirstRender] = React.useState(true);
21
+ React.useEffect(() => {
22
+ setFirstRender(false);
23
+ neverHydrated = false;
24
+ }, []);
25
+ let defaultWidth;
26
+ let defaultHeight;
27
+ const mode = modeProp ?? themeOptions.paletteMode;
28
+ if (name.startsWith('product-')) {
29
+ defaultWidth = 36;
30
+ defaultHeight = 36;
31
+ } else if (name.startsWith('pricing/x-plan-')) {
32
+ defaultWidth = 17;
33
+ defaultHeight = 20;
34
+ } else if (['pricing/yes', 'pricing/no', 'pricing/time'].includes(name)) {
35
+ defaultWidth = 18;
36
+ defaultHeight = 18;
37
+ }
38
+ const width = widthProp ?? defaultWidth;
39
+ const height = heightProp ?? defaultHeight;
40
+
41
+ // First time render with a theme depend image
42
+ if (firstRender && neverHydrated && mode !== '') {
43
+ if (other.loading === 'eager') {
44
+ return /*#__PURE__*/_jsxs(React.Fragment, {
45
+ children: [/*#__PURE__*/_jsx(Img, {
46
+ className: "only-light-mode-v2",
47
+ src: `/static/branding/${name}-light.svg`,
48
+ alt: "",
49
+ width: width,
50
+ height: height,
51
+ ...other,
52
+ loading: "lazy"
53
+ }), /*#__PURE__*/_jsx(Img, {
54
+ className: "only-dark-mode-v2",
55
+ src: `/static/branding/${name}-dark.svg`,
56
+ alt: "",
57
+ width: width,
58
+ height: height,
59
+ ...other,
60
+ loading: "lazy"
61
+ })]
62
+ });
63
+ }
64
+
65
+ // Prevent hydration mismatch between the light and dark mode image source.
66
+ return /*#__PURE__*/_jsx(Box, {
67
+ component: "span",
68
+ sx: {
69
+ width,
70
+ height,
71
+ display: 'inline-block'
72
+ }
73
+ });
74
+ }
75
+ return /*#__PURE__*/_jsx(Img, {
76
+ src: `/static/branding/${name}${mode ? `-${mode}` : ''}.svg`,
77
+ alt: "",
78
+ loading: "lazy",
79
+ width: width,
80
+ height: height,
81
+ ...other
82
+ });
83
+ }
@@ -0,0 +1 @@
1
+ export { default, type IconImageProps } from "./IconImage.mjs";
@@ -0,0 +1 @@
1
+ export { default, type IconImageProps } from "./IconImage.js";
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ Object.defineProperty(exports, "default", {
8
+ enumerable: true,
9
+ get: function () {
10
+ return _IconImage.default;
11
+ }
12
+ });
13
+ var _IconImage = _interopRequireDefault(require("./IconImage"));
@@ -0,0 +1 @@
1
+ export { default } from "./IconImage.mjs";
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { TypographyProps } from '@mui/material/Typography';
3
- import { LinkProps } from "../Link/index.js";
3
+ import { LinkProps } from "../Link/index.mjs";
4
4
  interface GlowingIconContainerProps {
5
5
  icon: React.ReactNode;
6
6
  }
@@ -3,7 +3,7 @@ import { alpha } from '@mui/material/styles';
3
3
  import Box from '@mui/material/Box';
4
4
  import Paper from '@mui/material/Paper';
5
5
  import Typography from '@mui/material/Typography';
6
- import { Link } from "../Link/index.js";
6
+ import { Link } from "../Link/index.mjs";
7
7
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
8
  export function GlowingIconContainer({
9
9
  icon
@@ -0,0 +1 @@
1
+ export * from "./InfoCard.mjs";
@@ -0,0 +1 @@
1
+ export * from "./InfoCard.mjs";
@@ -3,8 +3,8 @@ import clsx from 'clsx';
3
3
  import { useRouter } from 'next/router';
4
4
  import NextLink from 'next/link';
5
5
  import MuiLink from '@mui/material/Link';
6
- import { useUserLanguage } from "../i18n/index.js";
7
- import { useDocsConfig } from "../DocsProvider/index.js";
6
+ import { useUserLanguage } from "../i18n/index.mjs";
7
+ import { useDocsConfig } from "../DocsProvider/index.mjs";
8
8
 
9
9
  /**
10
10
  * File to keep in sync with:
@@ -0,0 +1 @@
1
+ export * from "./Link.mjs";
package/Link/index.mjs ADDED
@@ -0,0 +1 @@
1
+ export * from "./Link.mjs";