@mui/docs 9.0.0-alpha.1 → 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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
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
+
3
31
  ## 9.0.0-alpha.1
4
32
 
5
33
  <!-- generated comparing v9.0.0-alpha.0..master -->
@@ -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";
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ export interface SectionHeadlineProps {
3
+ alwaysCenter?: boolean;
4
+ description?: React.ReactNode;
5
+ id?: string;
6
+ /**
7
+ * For using with dark background.
8
+ */
9
+ inverted?: boolean;
10
+ overline?: React.ReactNode;
11
+ title: string | React.ReactElement<React.HTMLAttributes<HTMLElement>>;
12
+ }
13
+ export default function SectionHeadline(props: SectionHeadlineProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ export interface SectionHeadlineProps {
3
+ alwaysCenter?: boolean;
4
+ description?: React.ReactNode;
5
+ id?: string;
6
+ /**
7
+ * For using with dark background.
8
+ */
9
+ inverted?: boolean;
10
+ overline?: React.ReactNode;
11
+ title: string | React.ReactElement<React.HTMLAttributes<HTMLElement>>;
12
+ }
13
+ export default function SectionHeadline(props: SectionHeadlineProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,89 @@
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 = SectionHeadline;
9
+ var React = _interopRequireWildcard(require("react"));
10
+ var _Box = _interopRequireDefault(require("@mui/material/Box"));
11
+ var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
12
+ var _jsxRuntime = require("react/jsx-runtime");
13
+ function SectionHeadline(props) {
14
+ const {
15
+ alwaysCenter = false,
16
+ description,
17
+ id,
18
+ inverted = false,
19
+ overline,
20
+ title
21
+ } = props;
22
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Box.default, {
23
+ sx: {
24
+ m: alwaysCenter ? 'auto' : null
25
+ },
26
+ children: [overline && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Typography.default, {
27
+ id: id,
28
+ component: "h2",
29
+ variant: "body2",
30
+ sx: {
31
+ fontWeight: 'bold',
32
+ color: 'primary.main',
33
+ mb: 1,
34
+ ...(alwaysCenter && {
35
+ textAlign: 'center'
36
+ })
37
+ },
38
+ children: overline
39
+ }), typeof title === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Typography.default, {
40
+ variant: "h2",
41
+ sx: theme => ({
42
+ maxWidth: 500,
43
+ ...(inverted ? {
44
+ color: '#fff'
45
+ } : {
46
+ color: 'primaryDark.900',
47
+ ...theme.applyDarkStyles({
48
+ color: 'grey.100'
49
+ })
50
+ }),
51
+ ...(alwaysCenter && {
52
+ textAlign: 'center',
53
+ maxWidth: '100%'
54
+ })
55
+ }),
56
+ children: title
57
+ }) : (/*#__PURE__*/React.cloneElement(title, {
58
+ style: {
59
+ maxWidth: 500,
60
+ ...(alwaysCenter && {
61
+ maxWidth: '100%',
62
+ textAlign: 'center'
63
+ }),
64
+ ...(inverted && {
65
+ color: '#fff'
66
+ })
67
+ }
68
+ })), description && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Typography.default, {
69
+ sx: theme => ({
70
+ mt: 1,
71
+ mb: 3,
72
+ maxWidth: 500,
73
+ ...(inverted ? {
74
+ color: 'grey.400'
75
+ } : {
76
+ color: 'grey.800',
77
+ ...theme.applyDarkStyles({
78
+ color: 'grey.500'
79
+ })
80
+ }),
81
+ ...(alwaysCenter && {
82
+ textAlign: 'center',
83
+ mx: 'auto'
84
+ })
85
+ }),
86
+ children: description
87
+ })]
88
+ });
89
+ }
@@ -0,0 +1,81 @@
1
+ import * as React from 'react';
2
+ import Box from '@mui/material/Box';
3
+ import Typography from '@mui/material/Typography';
4
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
+ export default function SectionHeadline(props) {
6
+ const {
7
+ alwaysCenter = false,
8
+ description,
9
+ id,
10
+ inverted = false,
11
+ overline,
12
+ title
13
+ } = props;
14
+ return /*#__PURE__*/_jsxs(Box, {
15
+ sx: {
16
+ m: alwaysCenter ? 'auto' : null
17
+ },
18
+ children: [overline && /*#__PURE__*/_jsx(Typography, {
19
+ id: id,
20
+ component: "h2",
21
+ variant: "body2",
22
+ sx: {
23
+ fontWeight: 'bold',
24
+ color: 'primary.main',
25
+ mb: 1,
26
+ ...(alwaysCenter && {
27
+ textAlign: 'center'
28
+ })
29
+ },
30
+ children: overline
31
+ }), typeof title === 'string' ? /*#__PURE__*/_jsx(Typography, {
32
+ variant: "h2",
33
+ sx: theme => ({
34
+ maxWidth: 500,
35
+ ...(inverted ? {
36
+ color: '#fff'
37
+ } : {
38
+ color: 'primaryDark.900',
39
+ ...theme.applyDarkStyles({
40
+ color: 'grey.100'
41
+ })
42
+ }),
43
+ ...(alwaysCenter && {
44
+ textAlign: 'center',
45
+ maxWidth: '100%'
46
+ })
47
+ }),
48
+ children: title
49
+ }) : (/*#__PURE__*/React.cloneElement(title, {
50
+ style: {
51
+ maxWidth: 500,
52
+ ...(alwaysCenter && {
53
+ maxWidth: '100%',
54
+ textAlign: 'center'
55
+ }),
56
+ ...(inverted && {
57
+ color: '#fff'
58
+ })
59
+ }
60
+ })), description && /*#__PURE__*/_jsx(Typography, {
61
+ sx: theme => ({
62
+ mt: 1,
63
+ mb: 3,
64
+ maxWidth: 500,
65
+ ...(inverted ? {
66
+ color: 'grey.400'
67
+ } : {
68
+ color: 'grey.800',
69
+ ...theme.applyDarkStyles({
70
+ color: 'grey.500'
71
+ })
72
+ }),
73
+ ...(alwaysCenter && {
74
+ textAlign: 'center',
75
+ mx: 'auto'
76
+ })
77
+ }),
78
+ children: description
79
+ })]
80
+ });
81
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./SectionHeadline.mjs";
2
+ export { default } from "./SectionHeadline.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./SectionHeadline.js";
2
+ export { default } from "./SectionHeadline.js";
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ var _exportNames = {};
8
+ Object.defineProperty(exports, "default", {
9
+ enumerable: true,
10
+ get: function () {
11
+ return _SectionHeadline.default;
12
+ }
13
+ });
14
+ var _SectionHeadline = _interopRequireWildcard(require("./SectionHeadline"));
15
+ Object.keys(_SectionHeadline).forEach(function (key) {
16
+ if (key === "default" || key === "__esModule") return;
17
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
18
+ if (key in exports && exports[key] === _SectionHeadline[key]) return;
19
+ Object.defineProperty(exports, key, {
20
+ enumerable: true,
21
+ get: function () {
22
+ return _SectionHeadline[key];
23
+ }
24
+ });
25
+ });
@@ -0,0 +1,2 @@
1
+ export * from "./SectionHeadline.mjs";
2
+ export { default } from "./SectionHeadline.mjs";
@@ -0,0 +1,92 @@
1
+ import * as React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ export declare const highDensity: {
4
+ components: {
5
+ MuiButton: {
6
+ defaultProps: {
7
+ size: string;
8
+ };
9
+ };
10
+ MuiFilledInput: {
11
+ defaultProps: {
12
+ margin: string;
13
+ };
14
+ };
15
+ MuiFormControl: {
16
+ defaultProps: {
17
+ margin: string;
18
+ };
19
+ };
20
+ MuiFormHelperText: {
21
+ defaultProps: {
22
+ margin: string;
23
+ };
24
+ };
25
+ MuiIconButton: {
26
+ defaultProps: {
27
+ size: string;
28
+ };
29
+ };
30
+ MuiInputBase: {
31
+ defaultProps: {
32
+ margin: string;
33
+ };
34
+ };
35
+ MuiInputLabel: {
36
+ defaultProps: {
37
+ margin: string;
38
+ };
39
+ };
40
+ MuiListItem: {
41
+ defaultProps: {
42
+ dense: boolean;
43
+ };
44
+ };
45
+ MuiOutlinedInput: {
46
+ defaultProps: {
47
+ margin: string;
48
+ };
49
+ };
50
+ MuiFab: {
51
+ defaultProps: {
52
+ size: string;
53
+ };
54
+ };
55
+ MuiTable: {
56
+ defaultProps: {
57
+ size: string;
58
+ };
59
+ };
60
+ MuiTextField: {
61
+ defaultProps: {
62
+ margin: string;
63
+ };
64
+ };
65
+ MuiToolbar: {
66
+ defaultProps: {
67
+ variant: string;
68
+ };
69
+ };
70
+ };
71
+ };
72
+ export declare const DispatchContext: React.Context<React.ActionDispatch<any>>;
73
+ export declare const ThemeOptionsContext: React.Context<{
74
+ dense: boolean;
75
+ direction: "ltr" | "rtl";
76
+ paletteMode: "light" | "dark";
77
+ }>;
78
+ export declare function ThemeProvider(props: React.PropsWithChildren): import("react/jsx-runtime").JSX.Element;
79
+ export declare namespace ThemeProvider {
80
+ var propTypes: {
81
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
82
+ };
83
+ }
84
+ /**
85
+ * @returns {(nextOptions: Partial<typeof themeInitialOptions>) => void}
86
+ */
87
+ export declare function useChangeTheme(): (options: any) => void;
88
+ export declare function useColorSchemeShim(): {
89
+ mode: string | null;
90
+ systemMode: string;
91
+ setMode: React.Dispatch<React.SetStateAction<string | null>>;
92
+ };
@@ -0,0 +1,92 @@
1
+ import * as React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ export declare const highDensity: {
4
+ components: {
5
+ MuiButton: {
6
+ defaultProps: {
7
+ size: string;
8
+ };
9
+ };
10
+ MuiFilledInput: {
11
+ defaultProps: {
12
+ margin: string;
13
+ };
14
+ };
15
+ MuiFormControl: {
16
+ defaultProps: {
17
+ margin: string;
18
+ };
19
+ };
20
+ MuiFormHelperText: {
21
+ defaultProps: {
22
+ margin: string;
23
+ };
24
+ };
25
+ MuiIconButton: {
26
+ defaultProps: {
27
+ size: string;
28
+ };
29
+ };
30
+ MuiInputBase: {
31
+ defaultProps: {
32
+ margin: string;
33
+ };
34
+ };
35
+ MuiInputLabel: {
36
+ defaultProps: {
37
+ margin: string;
38
+ };
39
+ };
40
+ MuiListItem: {
41
+ defaultProps: {
42
+ dense: boolean;
43
+ };
44
+ };
45
+ MuiOutlinedInput: {
46
+ defaultProps: {
47
+ margin: string;
48
+ };
49
+ };
50
+ MuiFab: {
51
+ defaultProps: {
52
+ size: string;
53
+ };
54
+ };
55
+ MuiTable: {
56
+ defaultProps: {
57
+ size: string;
58
+ };
59
+ };
60
+ MuiTextField: {
61
+ defaultProps: {
62
+ margin: string;
63
+ };
64
+ };
65
+ MuiToolbar: {
66
+ defaultProps: {
67
+ variant: string;
68
+ };
69
+ };
70
+ };
71
+ };
72
+ export declare const DispatchContext: React.Context<React.ActionDispatch<any>>;
73
+ export declare const ThemeOptionsContext: React.Context<{
74
+ dense: boolean;
75
+ direction: "ltr" | "rtl";
76
+ paletteMode: "light" | "dark";
77
+ }>;
78
+ export declare function ThemeProvider(props: React.PropsWithChildren): import("react/jsx-runtime").JSX.Element;
79
+ export declare namespace ThemeProvider {
80
+ var propTypes: {
81
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
82
+ };
83
+ }
84
+ /**
85
+ * @returns {(nextOptions: Partial<typeof themeInitialOptions>) => void}
86
+ */
87
+ export declare function useChangeTheme(): (options: any) => void;
88
+ export declare function useColorSchemeShim(): {
89
+ mode: string | null;
90
+ systemMode: string;
91
+ setMode: React.Dispatch<React.SetStateAction<string | null>>;
92
+ };