@mui/docs 7.0.0-alpha.0 → 7.0.0-alpha.1
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.d.ts +1 -1
- package/Ad/Ad.js +42 -33
- package/Ad/AdCarbon.d.ts +1 -1
- package/Ad/AdCarbon.js +31 -18
- package/Ad/AdDisplay.d.ts +10 -10
- package/Ad/AdDisplay.js +28 -21
- package/Ad/AdGuest.d.ts +6 -6
- package/Ad/AdGuest.js +15 -8
- package/Ad/AdInHouse.d.ts +3 -3
- package/Ad/AdInHouse.js +13 -5
- package/Ad/AdManager.d.ts +12 -9
- package/Ad/AdManager.js +17 -8
- package/Ad/AdProvider.d.ts +9 -9
- package/Ad/AdProvider.js +13 -5
- package/Ad/ad.styles.d.ts +4322 -4322
- package/Ad/ad.styles.js +13 -5
- package/Ad/index.d.ts +5 -5
- package/Ad/index.js +62 -6
- package/CHANGELOG.md +61 -0
- package/CodeCopy/CodeCopy.d.ts +5 -3
- package/CodeCopy/CodeCopy.js +19 -10
- package/CodeCopy/CodeCopyButton.d.ts +2 -2
- package/CodeCopy/CodeCopyButton.js +18 -10
- package/CodeCopy/index.d.ts +3 -3
- package/CodeCopy/index.js +40 -3
- package/CodeCopy/useClipboardCopy.d.ts +3 -3
- package/CodeCopy/useClipboardCopy.js +12 -4
- package/ComponentLinkHeader/ComponentLinkHeader.d.ts +5 -5
- package/ComponentLinkHeader/ComponentLinkHeader.js +48 -40
- package/ComponentLinkHeader/index.d.ts +2 -2
- package/ComponentLinkHeader/index.js +24 -2
- package/DocsProvider/DocsProvider.d.ts +19 -13
- package/DocsProvider/DocsProvider.js +17 -9
- package/DocsProvider/index.d.ts +1 -1
- package/DocsProvider/index.js +16 -1
- package/HighlightedCode/HighlightedCode.d.ts +9 -9
- package/HighlightedCode/HighlightedCode.js +26 -18
- package/HighlightedCode/index.d.ts +1 -1
- package/HighlightedCode/index.js +16 -1
- package/HighlightedCodeWithTabs/HighlightedCodeWithTabs.d.ts +18 -18
- package/HighlightedCodeWithTabs/HighlightedCodeWithTabs.js +31 -22
- package/HighlightedCodeWithTabs/index.d.ts +2 -2
- package/HighlightedCodeWithTabs/index.js +24 -2
- package/InfoCard/InfoCard.d.ts +15 -13
- package/InfoCard/InfoCard.js +29 -20
- package/InfoCard/index.d.ts +1 -1
- package/InfoCard/index.js +16 -1
- package/Link/Link.d.ts +14 -8
- package/Link/Link.js +26 -29
- package/Link/index.d.ts +1 -1
- package/Link/index.js +16 -1
- package/MarkdownElement/MarkdownElement.d.ts +4 -4
- package/MarkdownElement/MarkdownElement.js +186 -178
- package/MarkdownElement/index.d.ts +1 -1
- package/MarkdownElement/index.js +16 -1
- package/NProgressBar/NProgressBar.d.ts +1 -3
- package/NProgressBar/NProgressBar.js +23 -15
- package/NProgressBar/index.d.ts +2 -2
- package/NProgressBar/index.js +13 -1
- package/README.md +2 -2
- package/SectionTitle/SectionTitle.d.ts +4 -4
- package/SectionTitle/SectionTitle.js +15 -8
- package/SectionTitle/index.d.ts +1 -1
- package/SectionTitle/index.js +16 -1
- package/branding/BrandingProvider.d.ts +6 -6
- package/branding/BrandingProvider.js +15 -8
- package/branding/brandingTheme.d.ts +118 -119
- package/branding/brandingTheme.js +126 -115
- package/branding/index.d.ts +2 -2
- package/branding/index.js +27 -2
- package/esm/Ad/Ad.d.ts +6 -0
- package/{node → esm}/Ad/Ad.js +33 -42
- package/esm/Ad/AdCarbon.d.ts +3 -0
- package/{node → esm}/Ad/AdCarbon.js +22 -27
- package/esm/Ad/AdDisplay.d.ts +16 -0
- package/{node → esm}/Ad/AdDisplay.js +21 -28
- package/esm/Ad/AdGuest.d.ts +10 -0
- package/esm/Ad/AdGuest.js +29 -0
- package/esm/Ad/AdInHouse.d.ts +5 -0
- package/esm/Ad/AdInHouse.js +15 -0
- package/esm/Ad/AdManager.d.ts +19 -0
- package/esm/Ad/AdManager.js +36 -0
- package/esm/Ad/AdProvider.d.ts +15 -0
- package/esm/Ad/AdProvider.js +24 -0
- package/esm/Ad/ad.styles.d.ts +4329 -0
- package/{node → esm}/Ad/ad.styles.js +5 -13
- package/esm/Ad/index.d.ts +5 -0
- package/esm/Ad/index.js +7 -0
- package/esm/CodeCopy/CodeCopy.d.ts +22 -0
- package/{node → esm}/CodeCopy/CodeCopy.js +10 -19
- package/esm/CodeCopy/CodeCopyButton.d.ts +5 -0
- package/esm/CodeCopy/CodeCopyButton.js +41 -0
- package/esm/CodeCopy/index.d.ts +3 -0
- package/esm/CodeCopy/index.js +3 -0
- package/esm/CodeCopy/useClipboardCopy.d.ts +4 -0
- package/esm/CodeCopy/useClipboardCopy.js +21 -0
- package/esm/ComponentLinkHeader/ComponentLinkHeader.d.ts +9 -0
- package/{node → esm}/ComponentLinkHeader/ComponentLinkHeader.js +40 -48
- package/esm/ComponentLinkHeader/index.d.ts +2 -0
- package/esm/ComponentLinkHeader/index.js +2 -0
- package/esm/DocsProvider/DocsProvider.d.ts +24 -0
- package/esm/DocsProvider/DocsProvider.js +31 -0
- package/esm/DocsProvider/index.d.ts +1 -0
- package/esm/DocsProvider/index.js +1 -0
- package/esm/HighlightedCode/HighlightedCode.d.ts +14 -0
- package/esm/HighlightedCode/HighlightedCode.js +67 -0
- package/esm/HighlightedCode/index.d.ts +1 -0
- package/esm/HighlightedCode/index.js +1 -0
- package/esm/HighlightedCodeWithTabs/HighlightedCodeWithTabs.d.ts +29 -0
- package/{node → esm}/HighlightedCodeWithTabs/HighlightedCodeWithTabs.js +22 -31
- package/esm/HighlightedCodeWithTabs/index.d.ts +2 -0
- package/esm/HighlightedCodeWithTabs/index.js +2 -0
- package/esm/InfoCard/InfoCard.d.ts +22 -0
- package/esm/InfoCard/InfoCard.js +87 -0
- package/esm/InfoCard/index.d.ts +1 -0
- package/esm/InfoCard/index.js +1 -0
- package/esm/Link/Link.d.ts +22 -0
- package/{node → esm}/Link/Link.js +19 -37
- package/esm/Link/index.d.ts +1 -0
- package/esm/Link/index.js +1 -0
- package/esm/MarkdownElement/MarkdownElement.d.ts +7 -0
- package/{node → esm}/MarkdownElement/MarkdownElement.js +178 -186
- package/esm/MarkdownElement/index.d.ts +1 -0
- package/esm/MarkdownElement/index.js +1 -0
- package/esm/NProgressBar/NProgressBar.d.ts +6 -0
- package/{node → esm}/NProgressBar/NProgressBar.js +15 -23
- package/esm/NProgressBar/index.d.ts +2 -0
- package/esm/NProgressBar/index.js +1 -0
- package/esm/SectionTitle/SectionTitle.d.ts +7 -0
- package/esm/SectionTitle/SectionTitle.js +30 -0
- package/esm/SectionTitle/index.d.ts +1 -0
- package/esm/SectionTitle/index.js +1 -0
- package/esm/branding/BrandingProvider.d.ts +9 -0
- package/esm/branding/BrandingProvider.js +17 -0
- package/esm/branding/brandingTheme.d.ts +151 -0
- package/{node → esm}/branding/brandingTheme.js +115 -126
- package/esm/branding/index.d.ts +2 -0
- package/esm/branding/index.js +2 -0
- package/esm/i18n/i18n.d.ts +27 -0
- package/{node → esm}/i18n/i18n.js +17 -29
- package/esm/i18n/index.d.ts +1 -0
- package/esm/i18n/index.js +1 -0
- package/esm/package.json +1 -0
- package/esm/svgIcons/BundleSizeIcon.d.ts +4 -0
- package/esm/svgIcons/BundleSizeIcon.js +14 -0
- package/esm/svgIcons/FigmaIcon.d.ts +4 -0
- package/esm/svgIcons/FigmaIcon.js +23 -0
- package/esm/svgIcons/FileDownload.d.ts +7 -0
- package/esm/svgIcons/FileDownload.js +14 -0
- package/esm/svgIcons/JavaScript.d.ts +7 -0
- package/{node → esm}/svgIcons/JavaScript.js +6 -14
- package/esm/svgIcons/MaterialDesignIcon.d.ts +4 -0
- package/esm/svgIcons/MaterialDesignIcon.js +19 -0
- package/esm/svgIcons/SketchIcon.d.ts +4 -0
- package/esm/svgIcons/SketchIcon.js +28 -0
- package/esm/svgIcons/TypeScript.d.ts +7 -0
- package/esm/svgIcons/TypeScript.js +14 -0
- package/esm/svgIcons/W3CIcon.d.ts +4 -0
- package/{node → esm}/svgIcons/W3CIcon.js +7 -14
- package/esm/translations/index.d.ts +3 -0
- package/esm/translations/index.js +4 -0
- package/esm/utils/loadScript.d.ts +1 -0
- package/esm/utils/loadScript.js +7 -0
- package/i18n/i18n.d.ts +12 -14
- package/i18n/i18n.js +29 -17
- package/i18n/index.d.ts +1 -1
- package/i18n/index.js +16 -1
- package/modern/Ad/Ad.d.ts +6 -0
- package/modern/Ad/AdCarbon.d.ts +3 -0
- package/modern/Ad/AdDisplay.d.ts +16 -0
- package/modern/Ad/AdGuest.d.ts +10 -0
- package/modern/Ad/AdInHouse.d.ts +5 -0
- package/modern/Ad/AdManager.d.ts +19 -0
- package/modern/Ad/AdProvider.d.ts +15 -0
- package/modern/Ad/ad.styles.d.ts +4329 -0
- package/modern/Ad/index.d.ts +5 -0
- package/modern/CodeCopy/CodeCopy.d.ts +22 -0
- package/modern/CodeCopy/CodeCopyButton.d.ts +5 -0
- package/modern/CodeCopy/index.d.ts +3 -0
- package/modern/CodeCopy/useClipboardCopy.d.ts +4 -0
- package/modern/ComponentLinkHeader/ComponentLinkHeader.d.ts +9 -0
- package/modern/ComponentLinkHeader/index.d.ts +2 -0
- package/modern/DocsProvider/DocsProvider.d.ts +24 -0
- package/modern/DocsProvider/index.d.ts +1 -0
- package/modern/HighlightedCode/HighlightedCode.d.ts +14 -0
- package/modern/HighlightedCode/index.d.ts +1 -0
- package/modern/HighlightedCodeWithTabs/HighlightedCodeWithTabs.d.ts +29 -0
- package/modern/HighlightedCodeWithTabs/index.d.ts +2 -0
- package/modern/InfoCard/InfoCard.d.ts +22 -0
- package/modern/InfoCard/index.d.ts +1 -0
- package/modern/Link/Link.d.ts +22 -0
- package/modern/Link/index.d.ts +1 -0
- package/modern/MarkdownElement/MarkdownElement.d.ts +7 -0
- package/modern/MarkdownElement/index.d.ts +1 -0
- package/modern/NProgressBar/NProgressBar.d.ts +6 -0
- package/modern/NProgressBar/index.d.ts +2 -0
- package/modern/SectionTitle/SectionTitle.d.ts +7 -0
- package/modern/SectionTitle/index.d.ts +1 -0
- package/modern/branding/BrandingProvider.d.ts +9 -0
- package/modern/branding/brandingTheme.d.ts +151 -0
- package/modern/branding/index.d.ts +2 -0
- package/modern/i18n/i18n.d.ts +27 -0
- package/modern/i18n/index.d.ts +1 -0
- package/modern/svgIcons/BundleSizeIcon.d.ts +4 -0
- package/modern/svgIcons/FigmaIcon.d.ts +4 -0
- package/modern/svgIcons/FileDownload.d.ts +7 -0
- package/modern/svgIcons/JavaScript.d.ts +7 -0
- package/modern/svgIcons/MaterialDesignIcon.d.ts +4 -0
- package/modern/svgIcons/SketchIcon.d.ts +4 -0
- package/modern/svgIcons/TypeScript.d.ts +7 -0
- package/modern/svgIcons/W3CIcon.d.ts +4 -0
- package/modern/translations/index.d.ts +3 -0
- package/modern/utils/loadScript.d.ts +1 -0
- package/package.json +32 -2
- package/svgIcons/BundleSizeIcon.d.ts +2 -2
- package/svgIcons/BundleSizeIcon.js +13 -6
- package/svgIcons/FigmaIcon.d.ts +2 -2
- package/svgIcons/FigmaIcon.js +16 -9
- package/svgIcons/FileDownload.d.ts +2 -2
- package/svgIcons/FileDownload.js +14 -6
- package/svgIcons/JavaScript.d.ts +2 -2
- package/svgIcons/JavaScript.js +14 -6
- package/svgIcons/MaterialDesignIcon.d.ts +2 -2
- package/svgIcons/MaterialDesignIcon.js +14 -7
- package/svgIcons/SketchIcon.d.ts +2 -2
- package/svgIcons/SketchIcon.js +18 -11
- package/svgIcons/TypeScript.d.ts +2 -2
- package/svgIcons/TypeScript.js +14 -6
- package/svgIcons/W3CIcon.d.ts +2 -2
- package/svgIcons/W3CIcon.js +14 -7
- package/translations/index.d.ts +2 -2
- package/translations/index.js +10 -3
- package/tsconfig.build.tsbuildinfo +1 -1
- package/utils/loadScript.d.ts +1 -1
- package/utils/loadScript.js +8 -4
- package/Ad/package.json +0 -6
- package/CodeCopy/package.json +0 -6
- package/ComponentLinkHeader/package.json +0 -6
- package/DocsProvider/package.json +0 -6
- package/HighlightedCode/package.json +0 -6
- package/HighlightedCodeWithTabs/package.json +0 -6
- package/InfoCard/package.json +0 -6
- package/Link/package.json +0 -6
- package/MarkdownElement/package.json +0 -6
- package/NProgressBar/package.json +0 -6
- package/SectionTitle/package.json +0 -6
- package/branding/package.json +0 -6
- package/i18n/package.json +0 -6
- package/node/Ad/AdGuest.js +0 -36
- package/node/Ad/AdInHouse.js +0 -23
- package/node/Ad/AdManager.js +0 -45
- package/node/Ad/AdProvider.js +0 -32
- package/node/Ad/index.js +0 -63
- package/node/CodeCopy/CodeCopyButton.js +0 -49
- package/node/CodeCopy/index.js +0 -40
- package/node/CodeCopy/useClipboardCopy.js +0 -29
- package/node/ComponentLinkHeader/index.js +0 -24
- package/node/DocsProvider/DocsProvider.js +0 -39
- package/node/DocsProvider/index.js +0 -16
- package/node/HighlightedCode/HighlightedCode.js +0 -75
- package/node/HighlightedCode/index.js +0 -16
- package/node/HighlightedCodeWithTabs/index.js +0 -24
- package/node/InfoCard/InfoCard.js +0 -96
- package/node/InfoCard/index.js +0 -16
- package/node/Link/index.js +0 -16
- package/node/MarkdownElement/index.js +0 -16
- package/node/NProgressBar/index.js +0 -13
- package/node/SectionTitle/SectionTitle.js +0 -37
- package/node/SectionTitle/index.js +0 -16
- package/node/branding/BrandingProvider.js +0 -24
- package/node/branding/index.js +0 -27
- package/node/i18n/index.js +0 -16
- package/node/svgIcons/BundleSizeIcon.js +0 -21
- package/node/svgIcons/FigmaIcon.js +0 -30
- package/node/svgIcons/FileDownload.js +0 -22
- package/node/svgIcons/MaterialDesignIcon.js +0 -26
- package/node/svgIcons/SketchIcon.js +0 -35
- package/node/svgIcons/TypeScript.js +0 -22
- package/node/translations/index.js +0 -11
- package/node/utils/loadScript.js +0 -15
- package/translations/package.json +0 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./MarkdownElement.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./MarkdownElement.js";
|
|
@@ -1,20 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
-
var _nprogress = _interopRequireDefault(require("nprogress"));
|
|
12
|
-
var _NoSsr = require("@mui/base/NoSsr");
|
|
13
|
-
var _utils = require("@mui/utils");
|
|
14
|
-
var _GlobalStyles = _interopRequireDefault(require("@mui/material/GlobalStyles"));
|
|
15
|
-
var _styles = require("@mui/material/styles");
|
|
16
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
-
_nprogress.default.configure({
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import NProgress from 'nprogress';
|
|
4
|
+
import { NoSsr } from '@mui/base/NoSsr';
|
|
5
|
+
import { exactProp } from '@mui/utils';
|
|
6
|
+
import GlobalStyles from '@mui/material/GlobalStyles';
|
|
7
|
+
import { keyframes } from '@mui/material/styles';
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
NProgress.configure({
|
|
18
10
|
barSelector: '.nprogress-bar',
|
|
19
11
|
template: `
|
|
20
12
|
<div class="nprogress-bar">
|
|
@@ -23,7 +15,7 @@ _nprogress.default.configure({
|
|
|
23
15
|
</div>
|
|
24
16
|
`
|
|
25
17
|
});
|
|
26
|
-
const muiNProgressPulse =
|
|
18
|
+
const muiNProgressPulse = keyframes`
|
|
27
19
|
30% {
|
|
28
20
|
opacity: 0.6;
|
|
29
21
|
}
|
|
@@ -42,8 +34,8 @@ const muiNProgressPulse = (0, _styles.keyframes)`
|
|
|
42
34
|
* The implementation is highly inspired by the YouTube one.
|
|
43
35
|
*/
|
|
44
36
|
function NProgressBar(props) {
|
|
45
|
-
return /*#__PURE__*/(
|
|
46
|
-
children: [props.children, /*#__PURE__*/(
|
|
37
|
+
return /*#__PURE__*/_jsxs(NoSsr, {
|
|
38
|
+
children: [props.children, /*#__PURE__*/_jsx(GlobalStyles, {
|
|
47
39
|
styles: theme => ({
|
|
48
40
|
'#nprogress': {
|
|
49
41
|
direction: 'ltr',
|
|
@@ -92,9 +84,9 @@ function NProgressBar(props) {
|
|
|
92
84
|
});
|
|
93
85
|
}
|
|
94
86
|
process.env.NODE_ENV !== "production" ? NProgressBar.propTypes = {
|
|
95
|
-
children:
|
|
87
|
+
children: PropTypes.node
|
|
96
88
|
} : void 0;
|
|
97
89
|
if (process.env.NODE_ENV !== 'production') {
|
|
98
|
-
process.env.NODE_ENV !== "production" ? NProgressBar.propTypes =
|
|
90
|
+
process.env.NODE_ENV !== "production" ? NProgressBar.propTypes = exactProp(NProgressBar.propTypes) : void 0;
|
|
99
91
|
}
|
|
100
|
-
|
|
92
|
+
export default NProgressBar;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./NProgressBar.js";
|
|
@@ -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.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SectionTitle.js";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface BrandingProviderProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
/**
|
|
5
|
+
* If not `undefined`, the provider is considered nesting and does not render NextNProgressBar & CssBaseline
|
|
6
|
+
*/
|
|
7
|
+
mode?: 'light' | 'dark';
|
|
8
|
+
}
|
|
9
|
+
export declare function BrandingProvider(props: BrandingProviderProps): React.JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ThemeProvider, useTheme } from '@mui/material/styles';
|
|
3
|
+
import { brandingDarkTheme, brandingLightTheme } from "./brandingTheme.js";
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
export function BrandingProvider(props) {
|
|
6
|
+
const {
|
|
7
|
+
children,
|
|
8
|
+
mode: modeProp
|
|
9
|
+
} = props;
|
|
10
|
+
const upperTheme = useTheme();
|
|
11
|
+
const mode = modeProp || upperTheme.palette.mode;
|
|
12
|
+
const theme = mode === 'dark' ? brandingDarkTheme : brandingLightTheme;
|
|
13
|
+
return /*#__PURE__*/_jsx(ThemeProvider, {
|
|
14
|
+
theme: modeProp ? () => theme : theme,
|
|
15
|
+
children: children
|
|
16
|
+
});
|
|
17
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import type { CSSObject } from '@mui/system';
|
|
2
|
+
import { ThemeOptions, Theme } from '@mui/material/styles';
|
|
3
|
+
interface ApplyDarkStyles {
|
|
4
|
+
(scheme: CSSObject): CSSObject;
|
|
5
|
+
}
|
|
6
|
+
declare module '@mui/material/styles' {
|
|
7
|
+
interface Theme {
|
|
8
|
+
applyDarkStyles: ApplyDarkStyles;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
declare module '@mui/material/styles/createPalette' {
|
|
12
|
+
interface ColorRange {
|
|
13
|
+
50: string;
|
|
14
|
+
100: string;
|
|
15
|
+
200: string;
|
|
16
|
+
300: string;
|
|
17
|
+
400: string;
|
|
18
|
+
500: string;
|
|
19
|
+
600: string;
|
|
20
|
+
700: string;
|
|
21
|
+
800: string;
|
|
22
|
+
900: string;
|
|
23
|
+
}
|
|
24
|
+
interface PaletteColor extends ColorRange {}
|
|
25
|
+
interface Palette {
|
|
26
|
+
primaryDark: PaletteColor;
|
|
27
|
+
gradients: {
|
|
28
|
+
radioSubtle: string;
|
|
29
|
+
linearSubtle: string;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
interface TypeText {
|
|
33
|
+
tertiary: string;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
declare module '@mui/material/styles/createTypography' {
|
|
37
|
+
interface TypographyOptions {
|
|
38
|
+
fontWeightSemiBold?: number;
|
|
39
|
+
fontWeightExtraBold?: number;
|
|
40
|
+
fontFamilyCode?: string;
|
|
41
|
+
fontFamilySystem?: string;
|
|
42
|
+
}
|
|
43
|
+
interface Typography {
|
|
44
|
+
fontWeightSemiBold: number;
|
|
45
|
+
fontWeightExtraBold: number;
|
|
46
|
+
fontFamilyCode: string;
|
|
47
|
+
fontFamilySystem: string;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
declare module '@mui/material/Chip' {
|
|
51
|
+
interface ChipPropsColorOverrides {
|
|
52
|
+
grey: true;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
declare module '@mui/material/SvgIcon' {
|
|
56
|
+
interface SvgIconPropsColorOverrides {
|
|
57
|
+
danger: true;
|
|
58
|
+
}
|
|
59
|
+
interface SvgIconPropsSizeOverrides {
|
|
60
|
+
xs: true;
|
|
61
|
+
sm: true;
|
|
62
|
+
md: true;
|
|
63
|
+
lg: true;
|
|
64
|
+
xl: true;
|
|
65
|
+
xl2: true;
|
|
66
|
+
xl3: true;
|
|
67
|
+
xl4: true;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
export declare const blue: {
|
|
71
|
+
50: string;
|
|
72
|
+
100: string;
|
|
73
|
+
200: string;
|
|
74
|
+
300: string;
|
|
75
|
+
400: string;
|
|
76
|
+
main: string;
|
|
77
|
+
500: string;
|
|
78
|
+
600: string;
|
|
79
|
+
700: string;
|
|
80
|
+
800: string;
|
|
81
|
+
900: string;
|
|
82
|
+
};
|
|
83
|
+
export declare const blueDark: {
|
|
84
|
+
50: string;
|
|
85
|
+
100: string;
|
|
86
|
+
200: string;
|
|
87
|
+
300: string;
|
|
88
|
+
main: string;
|
|
89
|
+
400: string;
|
|
90
|
+
500: string;
|
|
91
|
+
600: string;
|
|
92
|
+
700: string;
|
|
93
|
+
800: string;
|
|
94
|
+
900: string;
|
|
95
|
+
};
|
|
96
|
+
export declare const grey: {
|
|
97
|
+
50: string;
|
|
98
|
+
100: string;
|
|
99
|
+
200: string;
|
|
100
|
+
300: string;
|
|
101
|
+
400: string;
|
|
102
|
+
500: string;
|
|
103
|
+
600: string;
|
|
104
|
+
700: string;
|
|
105
|
+
800: string;
|
|
106
|
+
900: string;
|
|
107
|
+
};
|
|
108
|
+
export declare const error: {
|
|
109
|
+
50: string;
|
|
110
|
+
100: string;
|
|
111
|
+
200: string;
|
|
112
|
+
300: string;
|
|
113
|
+
400: string;
|
|
114
|
+
500: string;
|
|
115
|
+
main: string;
|
|
116
|
+
600: string;
|
|
117
|
+
700: string;
|
|
118
|
+
800: string;
|
|
119
|
+
900: string;
|
|
120
|
+
};
|
|
121
|
+
export declare const success: {
|
|
122
|
+
50: string;
|
|
123
|
+
100: string;
|
|
124
|
+
200: string;
|
|
125
|
+
300: string;
|
|
126
|
+
400: string;
|
|
127
|
+
500: string;
|
|
128
|
+
600: string;
|
|
129
|
+
700: string;
|
|
130
|
+
800: string;
|
|
131
|
+
900: string;
|
|
132
|
+
};
|
|
133
|
+
export declare const warning: {
|
|
134
|
+
50: string;
|
|
135
|
+
100: string;
|
|
136
|
+
200: string;
|
|
137
|
+
300: string;
|
|
138
|
+
400: string;
|
|
139
|
+
500: string;
|
|
140
|
+
main: string;
|
|
141
|
+
600: string;
|
|
142
|
+
700: string;
|
|
143
|
+
800: string;
|
|
144
|
+
900: string;
|
|
145
|
+
};
|
|
146
|
+
export declare const getMetaThemeColor: (mode: "light" | "dark") => string;
|
|
147
|
+
export declare const getDesignTokens: (mode: "light" | "dark") => ThemeOptions;
|
|
148
|
+
export declare function getThemedComponents(): ThemeOptions;
|
|
149
|
+
export declare const brandingDarkTheme: Theme;
|
|
150
|
+
export declare const brandingLightTheme: Theme;
|
|
151
|
+
export {};
|