@mui/internal-core-docs 0.0.1 → 9.0.0-canary.0
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 +5 -0
- package/Ad/Ad.js +226 -0
- package/Ad/AdCarbon.d.ts +2 -0
- package/Ad/AdCarbon.js +125 -0
- package/Ad/AdDisplay.d.ts +16 -0
- package/Ad/AdDisplay.js +86 -0
- package/Ad/AdGuest.d.ts +10 -0
- package/Ad/AdGuest.js +29 -0
- package/Ad/AdInHouse.d.ts +4 -0
- package/Ad/AdInHouse.js +14 -0
- package/Ad/AdManager.d.ts +19 -0
- package/Ad/AdManager.js +36 -0
- package/Ad/AdProvider.d.ts +15 -0
- package/Ad/AdProvider.js +24 -0
- package/Ad/ad.styles.d.ts +4 -0
- package/Ad/ad.styles.js +91 -0
- package/Ad/index.d.ts +5 -0
- package/Ad/index.js +7 -0
- package/ApiPage/ApiWarningAlert.d.ts +10 -0
- package/ApiPage/ApiWarningAlert.js +22 -0
- package/ApiPage/definitions/classes.d.ts +18 -0
- package/ApiPage/definitions/classes.js +54 -0
- package/ApiPage/definitions/index.d.ts +4 -0
- package/ApiPage/definitions/index.js +4 -0
- package/ApiPage/definitions/properties.d.ts +58 -0
- package/ApiPage/definitions/properties.js +110 -0
- package/ApiPage/definitions/slots.d.ts +16 -0
- package/ApiPage/definitions/slots.js +39 -0
- package/ApiPage/definitions/types.d.ts +53 -0
- package/ApiPage/definitions/types.js +1 -0
- package/ApiPage/index.d.ts +2 -0
- package/ApiPage/index.js +2 -0
- package/ApiPage/list/ClassesList.d.ts +11 -0
- package/ApiPage/list/ClassesList.js +103 -0
- package/ApiPage/list/ExpandableApiItem.d.ts +18 -0
- package/ApiPage/list/ExpandableApiItem.js +241 -0
- package/ApiPage/list/PropertiesList.d.ts +7 -0
- package/ApiPage/list/PropertiesList.js +263 -0
- package/ApiPage/list/SlotsList.d.ts +7 -0
- package/ApiPage/list/SlotsList.js +93 -0
- package/ApiPage/list/index.d.ts +1 -0
- package/ApiPage/list/index.js +1 -0
- package/ApiPage/private.d.ts +3 -0
- package/ApiPage/private.js +3 -0
- package/ApiPage/sections/ClassesSection.d.ts +34 -0
- package/ApiPage/sections/ClassesSection.js +76 -0
- package/ApiPage/sections/PropertiesSection.d.ts +45 -0
- package/ApiPage/sections/PropertiesSection.js +59 -0
- package/ApiPage/sections/SlotsSection.d.ts +24 -0
- package/ApiPage/sections/SlotsSection.js +61 -0
- package/ApiPage/sections/ToggleDisplayOption.d.ts +17 -0
- package/ApiPage/sections/ToggleDisplayOption.js +161 -0
- package/ApiPage/sections/index.d.ts +4 -0
- package/ApiPage/sections/index.js +4 -0
- package/ApiPage/table/ClassesTable.d.ts +7 -0
- package/ApiPage/table/ClassesTable.js +116 -0
- package/ApiPage/table/PropertiesTable.d.ts +6 -0
- package/ApiPage/table/PropertiesTable.js +286 -0
- package/ApiPage/table/SlotsTable.d.ts +6 -0
- package/ApiPage/table/SlotsTable.js +126 -0
- package/ApiPage/table/StyledTableContainer.d.ts +1 -0
- package/ApiPage/table/StyledTableContainer.js +42 -0
- package/ApiPage/types.d.ts +11 -0
- package/ApiPage/types.js +1 -0
- package/CHANGELOG.md +1651 -0
- package/CodeCopy/CodeCopy.d.ts +22 -0
- package/CodeCopy/CodeCopy.js +172 -0
- package/CodeCopy/CodeCopyButton.d.ts +4 -0
- package/CodeCopy/CodeCopyButton.js +40 -0
- package/CodeCopy/index.d.ts +3 -0
- package/CodeCopy/index.js +3 -0
- package/CodeCopy/useClipboardCopy.d.ts +4 -0
- package/CodeCopy/useClipboardCopy.js +21 -0
- package/ComponentLinkHeader/ComponentLinkHeader.d.ts +8 -0
- package/ComponentLinkHeader/ComponentLinkHeader.js +197 -0
- package/ComponentLinkHeader/index.d.ts +2 -0
- package/ComponentLinkHeader/index.js +2 -0
- package/DemoContext/DemoContext.d.ts +86 -0
- package/DemoContext/DemoContext.js +13 -0
- package/DemoContext/index.d.ts +2 -0
- package/DemoContext/index.js +1 -0
- package/DocsApp/AnalyticsProvider.d.ts +17 -0
- package/DocsApp/AnalyticsProvider.js +229 -0
- package/DocsApp/DocsApp.d.ts +79 -0
- package/DocsApp/DocsApp.js +105 -0
- package/DocsApp/GoogleAnalytics.d.ts +9 -0
- package/DocsApp/GoogleAnalytics.js +129 -0
- package/DocsApp/StyledEngineProvider.d.ts +8 -0
- package/DocsApp/StyledEngineProvider.js +38 -0
- package/DocsApp/consoleBanner.d.ts +1 -0
- package/DocsApp/consoleBanner.js +18 -0
- package/DocsApp/createEmotionCache.d.ts +1 -0
- package/DocsApp/createEmotionCache.js +12 -0
- package/DocsApp/createGetInitialProps.d.ts +30 -0
- package/DocsApp/createGetInitialProps.js +29 -0
- package/DocsApp/index.d.ts +5 -0
- package/DocsApp/index.js +4 -0
- package/DocsApp/loadDependencies.d.ts +1 -0
- package/DocsApp/loadDependencies.js +9 -0
- package/DocsApp/reportWebVitals.d.ts +13 -0
- package/DocsApp/reportWebVitals.js +22 -0
- package/DocsApp/serviceWorker.d.ts +1 -0
- package/DocsApp/serviceWorker.js +59 -0
- package/DocsProvider/DocsProvider.d.ts +24 -0
- package/DocsProvider/DocsProvider.js +31 -0
- package/DocsProvider/index.d.ts +1 -0
- package/DocsProvider/index.js +1 -0
- package/Document/Document.d.ts +16 -0
- package/Document/Document.js +147 -0
- package/Document/getInitialProps.d.ts +18 -0
- package/Document/getInitialProps.js +60 -0
- package/Document/index.d.ts +2 -0
- package/Document/index.js +2 -0
- package/HighlightedCode/HighlightedCode.d.ts +14 -0
- package/HighlightedCode/HighlightedCode.js +67 -0
- package/HighlightedCode/index.d.ts +1 -0
- package/HighlightedCode/index.js +1 -0
- package/HighlightedCodeWithTabs/HighlightedCodeWithTabs.d.ts +28 -0
- package/HighlightedCodeWithTabs/HighlightedCodeWithTabs.js +362 -0
- package/HighlightedCodeWithTabs/index.d.ts +2 -0
- package/HighlightedCodeWithTabs/index.js +2 -0
- package/IconImage/IconImage.d.ts +11 -0
- package/IconImage/IconImage.js +83 -0
- package/IconImage/index.d.ts +1 -0
- package/IconImage/index.js +1 -0
- package/InfoCard/InfoCard.d.ts +22 -0
- package/InfoCard/InfoCard.js +91 -0
- package/InfoCard/index.d.ts +1 -0
- package/InfoCard/index.js +1 -0
- package/LICENSE +21 -0
- package/Link/Link.d.ts +25 -0
- package/Link/Link.js +75 -0
- package/Link/MarkdownLinks.d.ts +2 -0
- package/Link/MarkdownLinks.js +84 -0
- package/Link/SkipLink.d.ts +1 -0
- package/Link/SkipLink.js +64 -0
- package/Link/index.d.ts +3 -0
- package/Link/index.js +3 -0
- package/MarkdownElement/MarkdownElement.d.ts +7 -0
- package/MarkdownElement/MarkdownElement.js +847 -0
- package/MarkdownElement/index.d.ts +1 -0
- package/MarkdownElement/index.js +1 -0
- package/MuiPage/MuiPage.d.ts +67 -0
- package/MuiPage/MuiPage.js +1 -0
- package/MuiPage/index.d.ts +1 -0
- package/MuiPage/index.js +1 -0
- package/NextNProgressBar/NProgressBar.d.ts +6 -0
- package/NextNProgressBar/NProgressBar.js +91 -0
- package/NextNProgressBar/NextNProgressBar.d.ts +1 -0
- package/NextNProgressBar/NextNProgressBar.js +42 -0
- package/NextNProgressBar/index.d.ts +1 -0
- package/NextNProgressBar/index.js +1 -0
- package/PageContext/PageContext.d.ts +32 -0
- package/PageContext/PageContext.js +6 -0
- package/PageContext/index.d.ts +2 -0
- package/PageContext/index.js +1 -0
- package/README.md +26 -0
- package/SectionHeadline/SectionHeadline.d.ts +13 -0
- package/SectionHeadline/SectionHeadline.js +81 -0
- package/SectionHeadline/index.d.ts +2 -0
- package/SectionHeadline/index.js +2 -0
- package/SectionTitle/SectionTitle.d.ts +6 -0
- package/SectionTitle/SectionTitle.js +29 -0
- package/SectionTitle/index.d.ts +1 -0
- package/SectionTitle/index.js +1 -0
- package/ThemeContext/ThemeContext.d.ts +92 -0
- package/ThemeContext/ThemeContext.js +200 -0
- package/ThemeContext/index.d.ts +1 -0
- package/ThemeContext/index.js +1 -0
- package/branding/BrandingCssVarsProvider.d.ts +27 -0
- package/branding/BrandingCssVarsProvider.js +170 -0
- package/branding/BrandingProvider.d.ts +9 -0
- package/branding/BrandingProvider.js +17 -0
- package/branding/brandingTheme.d.ts +147 -0
- package/branding/brandingTheme.js +1534 -0
- package/branding/index.d.ts +3 -0
- package/branding/index.js +3 -0
- package/codeStyling/codeStyling.d.ts +7 -0
- package/codeStyling/codeStyling.js +80 -0
- package/codeStyling/index.d.ts +1 -0
- package/codeStyling/index.js +1 -0
- package/codeVariant/codeVariant.d.ts +7 -0
- package/codeVariant/codeVariant.js +69 -0
- package/codeVariant/index.d.ts +1 -0
- package/codeVariant/index.js +1 -0
- package/constants/constants.d.ts +13 -0
- package/constants/constants.js +15 -0
- package/constants/index.d.ts +1 -0
- package/constants/index.js +1 -0
- package/findActivePage/findActivePage.d.ts +5 -0
- package/findActivePage/findActivePage.js +35 -0
- package/findActivePage/index.d.ts +1 -0
- package/findActivePage/index.js +1 -0
- package/getProductInfoFromUrl/getProductInfoFromUrl.d.ts +8 -0
- package/getProductInfoFromUrl/getProductInfoFromUrl.js +50 -0
- package/getProductInfoFromUrl/index.d.ts +2 -0
- package/getProductInfoFromUrl/index.js +1 -0
- package/globalSelector/globalSelector.d.ts +2 -0
- package/globalSelector/globalSelector.js +17 -0
- package/globalSelector/index.d.ts +1 -0
- package/globalSelector/index.js +1 -0
- package/helpers/helpers.d.ts +31 -0
- package/helpers/helpers.js +87 -0
- package/helpers/index.d.ts +2 -0
- package/helpers/index.js +1 -0
- package/i18n/i18n.d.ts +27 -0
- package/i18n/i18n.js +111 -0
- package/i18n/index.d.ts +1 -0
- package/i18n/index.js +1 -0
- package/mapApiPageTranslations/index.d.ts +1 -0
- package/mapApiPageTranslations/index.js +1 -0
- package/mapApiPageTranslations/mapApiPageTranslations.d.ts +11 -0
- package/mapApiPageTranslations/mapApiPageTranslations.js +46 -0
- package/nextFonts/fonts/GeneralSans-Bold.ttf +0 -0
- package/nextFonts/fonts/GeneralSans-Bold.woff2 +0 -0
- package/nextFonts/fonts/GeneralSans-Medium.ttf +0 -0
- package/nextFonts/fonts/GeneralSans-Medium.woff2 +0 -0
- package/nextFonts/fonts/GeneralSans-Regular.ttf +0 -0
- package/nextFonts/fonts/GeneralSans-Regular.woff2 +0 -0
- package/nextFonts/fonts/GeneralSans-Semibold-subset.woff2 +0 -0
- package/nextFonts/fonts/GeneralSans-Semibold.ttf +0 -0
- package/nextFonts/fonts/GeneralSans-Semibold.woff2 +0 -0
- package/nextFonts/fonts/IBMPlexSans-Bold.ttf +0 -0
- package/nextFonts/fonts/IBMPlexSans-Bold.woff +0 -0
- package/nextFonts/fonts/IBMPlexSans-Bold.woff2 +0 -0
- package/nextFonts/fonts/IBMPlexSans-Medium.ttf +0 -0
- package/nextFonts/fonts/IBMPlexSans-Medium.woff +0 -0
- package/nextFonts/fonts/IBMPlexSans-Medium.woff2 +0 -0
- package/nextFonts/fonts/IBMPlexSans-Regular-subset.woff2 +0 -0
- package/nextFonts/fonts/IBMPlexSans-Regular.ttf +0 -0
- package/nextFonts/fonts/IBMPlexSans-Regular.woff +0 -0
- package/nextFonts/fonts/IBMPlexSans-Regular.woff2 +0 -0
- package/nextFonts/fonts/IBMPlexSans-SemiBold.ttf +0 -0
- package/nextFonts/fonts/IBMPlexSans-SemiBold.woff +0 -0
- package/nextFonts/fonts/IBMPlexSans-SemiBold.woff2 +0 -0
- package/nextFonts/index.d.ts +6 -0
- package/nextFonts/index.js +59 -0
- package/package.json +426 -3
- package/svgIcons/BundleSizeIcon.d.ts +4 -0
- package/svgIcons/BundleSizeIcon.js +13 -0
- package/svgIcons/FigmaIcon.d.ts +4 -0
- package/svgIcons/FigmaIcon.js +22 -0
- package/svgIcons/FileDownload.d.ts +6 -0
- package/svgIcons/FileDownload.js +13 -0
- package/svgIcons/JavaScript.d.ts +6 -0
- package/svgIcons/JavaScript.js +13 -0
- package/svgIcons/MarkdownIcon.d.ts +2 -0
- package/svgIcons/MarkdownIcon.js +22 -0
- package/svgIcons/MaterialDesignIcon.d.ts +4 -0
- package/svgIcons/MaterialDesignIcon.js +18 -0
- package/svgIcons/SketchIcon.d.ts +4 -0
- package/svgIcons/SketchIcon.js +27 -0
- package/svgIcons/TypeScript.d.ts +6 -0
- package/svgIcons/TypeScript.js +13 -0
- package/svgIcons/W3CIcon.d.ts +4 -0
- package/svgIcons/W3CIcon.js +15 -0
- package/translations/index.d.ts +3 -0
- package/translations/index.js +4 -0
- package/translations/translations.json +222 -0
- package/useLazyCSS/index.d.ts +1 -0
- package/useLazyCSS/index.js +1 -0
- package/useLazyCSS/useLazyCSS.d.ts +11 -0
- package/useLazyCSS/useLazyCSS.js +70 -0
- package/utils/index.d.ts +1 -0
- package/utils/index.js +1 -0
- package/utils/loadScript.d.ts +1 -0
- package/utils/loadScript.js +7 -0
- package/webpack/index.d.ts +17 -0
- package/webpack/index.js +1 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface Req {
|
|
2
|
+
keys(): string[];
|
|
3
|
+
(filename: string): any;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* @param req - A webpack `require.context` for the API translation JSON files.
|
|
7
|
+
* @param languagesIgnorePages - A function that returns true if the page should not be translated.
|
|
8
|
+
* Typically `LANGUAGES_IGNORE_PAGES` from the docs config.
|
|
9
|
+
*/
|
|
10
|
+
export default function mapApiPageTranslations(req: Req, languagesIgnorePages?: (pathname: string) => boolean): Record<string, any>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { createRender } from '@mui/internal-markdown';
|
|
2
|
+
const notEnglishJsonRegExp = /-([a-z]{2})\.json$/;
|
|
3
|
+
/**
|
|
4
|
+
* @param req - A webpack `require.context` for the API translation JSON files.
|
|
5
|
+
* @param languagesIgnorePages - A function that returns true if the page should not be translated.
|
|
6
|
+
* Typically `LANGUAGES_IGNORE_PAGES` from the docs config.
|
|
7
|
+
*/
|
|
8
|
+
export default function mapApiPageTranslations(req, languagesIgnorePages) {
|
|
9
|
+
const headingHashes = {};
|
|
10
|
+
const translations = {};
|
|
11
|
+
|
|
12
|
+
// Process the English markdown before the other locales.
|
|
13
|
+
// English ToC anchor links are used in all languages
|
|
14
|
+
let filenames = [];
|
|
15
|
+
req.keys().forEach(filename => {
|
|
16
|
+
if (filename.match(notEnglishJsonRegExp)) {
|
|
17
|
+
filenames.push(filename);
|
|
18
|
+
} else {
|
|
19
|
+
filenames = [filename].concat(filenames);
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
filenames.forEach(filename => {
|
|
23
|
+
const matchNotEnglishMarkdown = filename.match(notEnglishJsonRegExp);
|
|
24
|
+
const userLanguage = matchNotEnglishMarkdown !== null ? matchNotEnglishMarkdown[1] : 'en';
|
|
25
|
+
const translation = req(filename) || null;
|
|
26
|
+
if (translation !== null && translation.componentDescription) {
|
|
27
|
+
const componentDescriptionToc = [];
|
|
28
|
+
const render = createRender({
|
|
29
|
+
headingHashes,
|
|
30
|
+
toc: componentDescriptionToc,
|
|
31
|
+
userLanguage,
|
|
32
|
+
location: filenames,
|
|
33
|
+
options: {
|
|
34
|
+
ignoreLanguagePages: languagesIgnorePages || (() => false),
|
|
35
|
+
env: {
|
|
36
|
+
SOURCE_CODE_REPO: ''
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
translation.componentDescription = render(translation.componentDescription);
|
|
41
|
+
translation.componentDescriptionToc = componentDescriptionToc;
|
|
42
|
+
}
|
|
43
|
+
translations[userLanguage] = translation;
|
|
44
|
+
});
|
|
45
|
+
return translations;
|
|
46
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const inter: import("next/dist/compiled/@next/font").NextFont;
|
|
2
|
+
export declare const roboto: import("next/dist/compiled/@next/font").NextFont;
|
|
3
|
+
export declare const generalSans: import("next/dist/compiled/@next/font").NextFont;
|
|
4
|
+
export declare const ibmPlexSans: import("next/dist/compiled/@next/font").NextFont;
|
|
5
|
+
export declare const fonts: import("next/dist/compiled/@next/font").NextFont[];
|
|
6
|
+
export declare const fontClasses: string;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Inter, Roboto } from 'next/font/google';
|
|
2
|
+
import localFont from 'next/font/local';
|
|
3
|
+
export const inter = Inter({
|
|
4
|
+
weight: ['300', '400', '500', '600', '700'],
|
|
5
|
+
subsets: ['latin']
|
|
6
|
+
});
|
|
7
|
+
export const roboto = Roboto({
|
|
8
|
+
weight: ['300', '400', '500', '700'],
|
|
9
|
+
style: ['normal', 'italic'],
|
|
10
|
+
subsets: ['latin']
|
|
11
|
+
});
|
|
12
|
+
export const generalSans = localFont({
|
|
13
|
+
declarations: [{
|
|
14
|
+
prop: 'font-family',
|
|
15
|
+
value: 'General Sans'
|
|
16
|
+
}],
|
|
17
|
+
src: [{
|
|
18
|
+
path: './fonts/GeneralSans-Regular.woff2',
|
|
19
|
+
weight: '400',
|
|
20
|
+
style: 'normal'
|
|
21
|
+
}, {
|
|
22
|
+
path: './fonts/GeneralSans-Medium.woff2',
|
|
23
|
+
weight: '500',
|
|
24
|
+
style: 'normal'
|
|
25
|
+
}, {
|
|
26
|
+
path: './fonts/GeneralSans-Semibold.woff2',
|
|
27
|
+
weight: '600',
|
|
28
|
+
style: 'normal'
|
|
29
|
+
}, {
|
|
30
|
+
path: './fonts/GeneralSans-Bold.woff2',
|
|
31
|
+
weight: '700',
|
|
32
|
+
style: 'normal'
|
|
33
|
+
}]
|
|
34
|
+
});
|
|
35
|
+
export const ibmPlexSans = localFont({
|
|
36
|
+
declarations: [{
|
|
37
|
+
prop: 'font-family',
|
|
38
|
+
value: 'IBM Plex Sans'
|
|
39
|
+
}],
|
|
40
|
+
src: [{
|
|
41
|
+
path: './fonts/IBMPlexSans-Regular.woff2',
|
|
42
|
+
weight: '400',
|
|
43
|
+
style: 'normal'
|
|
44
|
+
}, {
|
|
45
|
+
path: './fonts/IBMPlexSans-Medium.woff2',
|
|
46
|
+
weight: '500',
|
|
47
|
+
style: 'normal'
|
|
48
|
+
}, {
|
|
49
|
+
path: './fonts/IBMPlexSans-SemiBold.woff2',
|
|
50
|
+
weight: '600',
|
|
51
|
+
style: 'normal'
|
|
52
|
+
}, {
|
|
53
|
+
path: './fonts/IBMPlexSans-Bold.woff2',
|
|
54
|
+
weight: '700',
|
|
55
|
+
style: 'normal'
|
|
56
|
+
}]
|
|
57
|
+
});
|
|
58
|
+
export const fonts = [inter, roboto, generalSans, ibmPlexSans];
|
|
59
|
+
export const fontClasses = fonts.map(font => font.className).join(' ');
|
package/package.json
CHANGED
|
@@ -1,9 +1,432 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/internal-core-docs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "9.0.0-canary.0",
|
|
4
|
+
"author": "MUI Team",
|
|
5
|
+
"description": "MUI Docs - Documentation building blocks.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"react",
|
|
8
|
+
"react-component",
|
|
9
|
+
"material-ui",
|
|
10
|
+
"material design",
|
|
11
|
+
"docs"
|
|
12
|
+
],
|
|
13
|
+
"type": "module",
|
|
4
14
|
"repository": {
|
|
5
15
|
"type": "git",
|
|
6
16
|
"url": "git+https://github.com/mui/material-ui.git",
|
|
7
17
|
"directory": "packages-internal/core-docs"
|
|
8
|
-
}
|
|
9
|
-
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/mui/material-ui/issues"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://github.com/mui/material-ui/tree/master/packages-internal/core-docs",
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"@babel/runtime": "^7.29.2",
|
|
26
|
+
"clipboard-copy": "^4.0.1",
|
|
27
|
+
"clsx": "^2.1.1",
|
|
28
|
+
"es-toolkit": "^1.45.1",
|
|
29
|
+
"fg-loadcss": "^3.1.0",
|
|
30
|
+
"nprogress": "^0.2.0",
|
|
31
|
+
"prop-types": "^15.8.1",
|
|
32
|
+
"stylis": "4.2.0",
|
|
33
|
+
"@mui/internal-markdown": "^3.0.7-canary.0"
|
|
34
|
+
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"@emotion/cache": "^11.14.0",
|
|
37
|
+
"@emotion/react": "^11.14.0",
|
|
38
|
+
"@emotion/styled": "^11.14.1",
|
|
39
|
+
"@mui/base": "^5.0.0 || ^5.0.0-beta || ^7.0.0 || ^7.0.0-beta",
|
|
40
|
+
"@mui/icons-material": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^9.0.0 || ^9.0.0-alpha || ^9.0.0-beta",
|
|
41
|
+
"@mui/material": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^9.0.0 || ^9.0.0-alpha || ^9.0.0-beta",
|
|
42
|
+
"@mui/material-nextjs": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^9.0.0 || ^9.0.0-alpha || ^9.0.0-beta",
|
|
43
|
+
"@mui/stylis-plugin-rtl": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^9.0.0 || ^9.0.0-alpha || ^9.0.0-beta",
|
|
44
|
+
"@mui/system": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^9.0.0 || ^9.0.0-alpha || ^9.0.0-beta",
|
|
45
|
+
"@mui/utils": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^9.0.0 || ^9.0.0-alpha || ^9.0.0-beta",
|
|
46
|
+
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
47
|
+
"@types/stylis": "^4.2.7",
|
|
48
|
+
"chai": "^6.0.1",
|
|
49
|
+
"csstype": "^3.1.3",
|
|
50
|
+
"next": "^13.5.1 || ^14 || ^15.0.0 || ^16.0.0",
|
|
51
|
+
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
52
|
+
"styled-components": "^5.3.0 || ^6.0.0"
|
|
53
|
+
},
|
|
54
|
+
"peerDependenciesMeta": {
|
|
55
|
+
"@types/react": {
|
|
56
|
+
"optional": true
|
|
57
|
+
},
|
|
58
|
+
"styled-components": {
|
|
59
|
+
"optional": true
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"publishConfig": {
|
|
63
|
+
"access": "public"
|
|
64
|
+
},
|
|
65
|
+
"engines": {
|
|
66
|
+
"node": ">=14.0.0"
|
|
67
|
+
},
|
|
68
|
+
"exports": {
|
|
69
|
+
"./package.json": "./package.json",
|
|
70
|
+
"./ApiPage/private": {
|
|
71
|
+
"import": {
|
|
72
|
+
"types": "./ApiPage/private.d.ts",
|
|
73
|
+
"default": "./ApiPage/private.js"
|
|
74
|
+
},
|
|
75
|
+
"default": {
|
|
76
|
+
"types": "./ApiPage/private.d.ts",
|
|
77
|
+
"default": "./ApiPage/private.js"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"./Ad": {
|
|
81
|
+
"import": {
|
|
82
|
+
"types": "./Ad/index.d.ts",
|
|
83
|
+
"default": "./Ad/index.js"
|
|
84
|
+
},
|
|
85
|
+
"default": {
|
|
86
|
+
"types": "./Ad/index.d.ts",
|
|
87
|
+
"default": "./Ad/index.js"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"./ApiPage": {
|
|
91
|
+
"import": {
|
|
92
|
+
"types": "./ApiPage/index.d.ts",
|
|
93
|
+
"default": "./ApiPage/index.js"
|
|
94
|
+
},
|
|
95
|
+
"default": {
|
|
96
|
+
"types": "./ApiPage/index.d.ts",
|
|
97
|
+
"default": "./ApiPage/index.js"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"./CodeCopy": {
|
|
101
|
+
"import": {
|
|
102
|
+
"types": "./CodeCopy/index.d.ts",
|
|
103
|
+
"default": "./CodeCopy/index.js"
|
|
104
|
+
},
|
|
105
|
+
"default": {
|
|
106
|
+
"types": "./CodeCopy/index.d.ts",
|
|
107
|
+
"default": "./CodeCopy/index.js"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"./ComponentLinkHeader": {
|
|
111
|
+
"import": {
|
|
112
|
+
"types": "./ComponentLinkHeader/index.d.ts",
|
|
113
|
+
"default": "./ComponentLinkHeader/index.js"
|
|
114
|
+
},
|
|
115
|
+
"default": {
|
|
116
|
+
"types": "./ComponentLinkHeader/index.d.ts",
|
|
117
|
+
"default": "./ComponentLinkHeader/index.js"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"./DemoContext": {
|
|
121
|
+
"import": {
|
|
122
|
+
"types": "./DemoContext/index.d.ts",
|
|
123
|
+
"default": "./DemoContext/index.js"
|
|
124
|
+
},
|
|
125
|
+
"default": {
|
|
126
|
+
"types": "./DemoContext/index.d.ts",
|
|
127
|
+
"default": "./DemoContext/index.js"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"./DocsApp": {
|
|
131
|
+
"import": {
|
|
132
|
+
"types": "./DocsApp/index.d.ts",
|
|
133
|
+
"default": "./DocsApp/index.js"
|
|
134
|
+
},
|
|
135
|
+
"default": {
|
|
136
|
+
"types": "./DocsApp/index.d.ts",
|
|
137
|
+
"default": "./DocsApp/index.js"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"./DocsProvider": {
|
|
141
|
+
"import": {
|
|
142
|
+
"types": "./DocsProvider/index.d.ts",
|
|
143
|
+
"default": "./DocsProvider/index.js"
|
|
144
|
+
},
|
|
145
|
+
"default": {
|
|
146
|
+
"types": "./DocsProvider/index.d.ts",
|
|
147
|
+
"default": "./DocsProvider/index.js"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"./Document": {
|
|
151
|
+
"import": {
|
|
152
|
+
"types": "./Document/index.d.ts",
|
|
153
|
+
"default": "./Document/index.js"
|
|
154
|
+
},
|
|
155
|
+
"default": {
|
|
156
|
+
"types": "./Document/index.d.ts",
|
|
157
|
+
"default": "./Document/index.js"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"./HighlightedCode": {
|
|
161
|
+
"import": {
|
|
162
|
+
"types": "./HighlightedCode/index.d.ts",
|
|
163
|
+
"default": "./HighlightedCode/index.js"
|
|
164
|
+
},
|
|
165
|
+
"default": {
|
|
166
|
+
"types": "./HighlightedCode/index.d.ts",
|
|
167
|
+
"default": "./HighlightedCode/index.js"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"./HighlightedCodeWithTabs": {
|
|
171
|
+
"import": {
|
|
172
|
+
"types": "./HighlightedCodeWithTabs/index.d.ts",
|
|
173
|
+
"default": "./HighlightedCodeWithTabs/index.js"
|
|
174
|
+
},
|
|
175
|
+
"default": {
|
|
176
|
+
"types": "./HighlightedCodeWithTabs/index.d.ts",
|
|
177
|
+
"default": "./HighlightedCodeWithTabs/index.js"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"./IconImage": {
|
|
181
|
+
"import": {
|
|
182
|
+
"types": "./IconImage/index.d.ts",
|
|
183
|
+
"default": "./IconImage/index.js"
|
|
184
|
+
},
|
|
185
|
+
"default": {
|
|
186
|
+
"types": "./IconImage/index.d.ts",
|
|
187
|
+
"default": "./IconImage/index.js"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"./InfoCard": {
|
|
191
|
+
"import": {
|
|
192
|
+
"types": "./InfoCard/index.d.ts",
|
|
193
|
+
"default": "./InfoCard/index.js"
|
|
194
|
+
},
|
|
195
|
+
"default": {
|
|
196
|
+
"types": "./InfoCard/index.d.ts",
|
|
197
|
+
"default": "./InfoCard/index.js"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"./Link": {
|
|
201
|
+
"import": {
|
|
202
|
+
"types": "./Link/index.d.ts",
|
|
203
|
+
"default": "./Link/index.js"
|
|
204
|
+
},
|
|
205
|
+
"default": {
|
|
206
|
+
"types": "./Link/index.d.ts",
|
|
207
|
+
"default": "./Link/index.js"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"./MarkdownElement": {
|
|
211
|
+
"import": {
|
|
212
|
+
"types": "./MarkdownElement/index.d.ts",
|
|
213
|
+
"default": "./MarkdownElement/index.js"
|
|
214
|
+
},
|
|
215
|
+
"default": {
|
|
216
|
+
"types": "./MarkdownElement/index.d.ts",
|
|
217
|
+
"default": "./MarkdownElement/index.js"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"./MuiPage": {
|
|
221
|
+
"import": {
|
|
222
|
+
"types": "./MuiPage/index.d.ts",
|
|
223
|
+
"default": "./MuiPage/index.js"
|
|
224
|
+
},
|
|
225
|
+
"default": {
|
|
226
|
+
"types": "./MuiPage/index.d.ts",
|
|
227
|
+
"default": "./MuiPage/index.js"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"./NextNProgressBar": {
|
|
231
|
+
"import": {
|
|
232
|
+
"types": "./NextNProgressBar/index.d.ts",
|
|
233
|
+
"default": "./NextNProgressBar/index.js"
|
|
234
|
+
},
|
|
235
|
+
"default": {
|
|
236
|
+
"types": "./NextNProgressBar/index.d.ts",
|
|
237
|
+
"default": "./NextNProgressBar/index.js"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"./PageContext": {
|
|
241
|
+
"import": {
|
|
242
|
+
"types": "./PageContext/index.d.ts",
|
|
243
|
+
"default": "./PageContext/index.js"
|
|
244
|
+
},
|
|
245
|
+
"default": {
|
|
246
|
+
"types": "./PageContext/index.d.ts",
|
|
247
|
+
"default": "./PageContext/index.js"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
"./SectionHeadline": {
|
|
251
|
+
"import": {
|
|
252
|
+
"types": "./SectionHeadline/index.d.ts",
|
|
253
|
+
"default": "./SectionHeadline/index.js"
|
|
254
|
+
},
|
|
255
|
+
"default": {
|
|
256
|
+
"types": "./SectionHeadline/index.d.ts",
|
|
257
|
+
"default": "./SectionHeadline/index.js"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"./SectionTitle": {
|
|
261
|
+
"import": {
|
|
262
|
+
"types": "./SectionTitle/index.d.ts",
|
|
263
|
+
"default": "./SectionTitle/index.js"
|
|
264
|
+
},
|
|
265
|
+
"default": {
|
|
266
|
+
"types": "./SectionTitle/index.d.ts",
|
|
267
|
+
"default": "./SectionTitle/index.js"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
"./ThemeContext": {
|
|
271
|
+
"import": {
|
|
272
|
+
"types": "./ThemeContext/index.d.ts",
|
|
273
|
+
"default": "./ThemeContext/index.js"
|
|
274
|
+
},
|
|
275
|
+
"default": {
|
|
276
|
+
"types": "./ThemeContext/index.d.ts",
|
|
277
|
+
"default": "./ThemeContext/index.js"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"./branding": {
|
|
281
|
+
"import": {
|
|
282
|
+
"types": "./branding/index.d.ts",
|
|
283
|
+
"default": "./branding/index.js"
|
|
284
|
+
},
|
|
285
|
+
"default": {
|
|
286
|
+
"types": "./branding/index.d.ts",
|
|
287
|
+
"default": "./branding/index.js"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
"./codeStyling": {
|
|
291
|
+
"import": {
|
|
292
|
+
"types": "./codeStyling/index.d.ts",
|
|
293
|
+
"default": "./codeStyling/index.js"
|
|
294
|
+
},
|
|
295
|
+
"default": {
|
|
296
|
+
"types": "./codeStyling/index.d.ts",
|
|
297
|
+
"default": "./codeStyling/index.js"
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"./codeVariant": {
|
|
301
|
+
"import": {
|
|
302
|
+
"types": "./codeVariant/index.d.ts",
|
|
303
|
+
"default": "./codeVariant/index.js"
|
|
304
|
+
},
|
|
305
|
+
"default": {
|
|
306
|
+
"types": "./codeVariant/index.d.ts",
|
|
307
|
+
"default": "./codeVariant/index.js"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"./constants": {
|
|
311
|
+
"import": {
|
|
312
|
+
"types": "./constants/index.d.ts",
|
|
313
|
+
"default": "./constants/index.js"
|
|
314
|
+
},
|
|
315
|
+
"default": {
|
|
316
|
+
"types": "./constants/index.d.ts",
|
|
317
|
+
"default": "./constants/index.js"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"./findActivePage": {
|
|
321
|
+
"import": {
|
|
322
|
+
"types": "./findActivePage/index.d.ts",
|
|
323
|
+
"default": "./findActivePage/index.js"
|
|
324
|
+
},
|
|
325
|
+
"default": {
|
|
326
|
+
"types": "./findActivePage/index.d.ts",
|
|
327
|
+
"default": "./findActivePage/index.js"
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"./getProductInfoFromUrl": {
|
|
331
|
+
"import": {
|
|
332
|
+
"types": "./getProductInfoFromUrl/index.d.ts",
|
|
333
|
+
"default": "./getProductInfoFromUrl/index.js"
|
|
334
|
+
},
|
|
335
|
+
"default": {
|
|
336
|
+
"types": "./getProductInfoFromUrl/index.d.ts",
|
|
337
|
+
"default": "./getProductInfoFromUrl/index.js"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"./globalSelector": {
|
|
341
|
+
"import": {
|
|
342
|
+
"types": "./globalSelector/index.d.ts",
|
|
343
|
+
"default": "./globalSelector/index.js"
|
|
344
|
+
},
|
|
345
|
+
"default": {
|
|
346
|
+
"types": "./globalSelector/index.d.ts",
|
|
347
|
+
"default": "./globalSelector/index.js"
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
"./helpers": {
|
|
351
|
+
"import": {
|
|
352
|
+
"types": "./helpers/index.d.ts",
|
|
353
|
+
"default": "./helpers/index.js"
|
|
354
|
+
},
|
|
355
|
+
"default": {
|
|
356
|
+
"types": "./helpers/index.d.ts",
|
|
357
|
+
"default": "./helpers/index.js"
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
"./i18n": {
|
|
361
|
+
"import": {
|
|
362
|
+
"types": "./i18n/index.d.ts",
|
|
363
|
+
"default": "./i18n/index.js"
|
|
364
|
+
},
|
|
365
|
+
"default": {
|
|
366
|
+
"types": "./i18n/index.d.ts",
|
|
367
|
+
"default": "./i18n/index.js"
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
"./mapApiPageTranslations": {
|
|
371
|
+
"import": {
|
|
372
|
+
"types": "./mapApiPageTranslations/index.d.ts",
|
|
373
|
+
"default": "./mapApiPageTranslations/index.js"
|
|
374
|
+
},
|
|
375
|
+
"default": {
|
|
376
|
+
"types": "./mapApiPageTranslations/index.d.ts",
|
|
377
|
+
"default": "./mapApiPageTranslations/index.js"
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
"./nextFonts": {
|
|
381
|
+
"import": {
|
|
382
|
+
"types": "./nextFonts/index.d.ts",
|
|
383
|
+
"default": "./nextFonts/index.js"
|
|
384
|
+
},
|
|
385
|
+
"default": {
|
|
386
|
+
"types": "./nextFonts/index.d.ts",
|
|
387
|
+
"default": "./nextFonts/index.js"
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
"./translations": {
|
|
391
|
+
"import": {
|
|
392
|
+
"types": "./translations/index.d.ts",
|
|
393
|
+
"default": "./translations/index.js"
|
|
394
|
+
},
|
|
395
|
+
"default": {
|
|
396
|
+
"types": "./translations/index.d.ts",
|
|
397
|
+
"default": "./translations/index.js"
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
"./useLazyCSS": {
|
|
401
|
+
"import": {
|
|
402
|
+
"types": "./useLazyCSS/index.d.ts",
|
|
403
|
+
"default": "./useLazyCSS/index.js"
|
|
404
|
+
},
|
|
405
|
+
"default": {
|
|
406
|
+
"types": "./useLazyCSS/index.d.ts",
|
|
407
|
+
"default": "./useLazyCSS/index.js"
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
"./utils": {
|
|
411
|
+
"import": {
|
|
412
|
+
"types": "./utils/index.d.ts",
|
|
413
|
+
"default": "./utils/index.js"
|
|
414
|
+
},
|
|
415
|
+
"default": {
|
|
416
|
+
"types": "./utils/index.d.ts",
|
|
417
|
+
"default": "./utils/index.js"
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"./webpack": {
|
|
421
|
+
"import": {
|
|
422
|
+
"types": "./webpack/index.d.ts",
|
|
423
|
+
"default": "./webpack/index.js"
|
|
424
|
+
},
|
|
425
|
+
"default": {
|
|
426
|
+
"types": "./webpack/index.d.ts",
|
|
427
|
+
"default": "./webpack/index.js"
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"gitSha": "b65dd5b1637d865a7ecb363f346356cfc01302b7"
|
|
432
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createSvgIcon } from '@mui/material/utils';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
export default createSvgIcon(/*#__PURE__*/_jsxs("g", {
|
|
4
|
+
fill: "currentColor",
|
|
5
|
+
fillRule: "nonzero",
|
|
6
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
7
|
+
d: "M5.84 3c-.52 0-1 .25-1.3.67l-1.4 2.05c-.06.09-.1.19-.14.28h8V3H5.84zM20.86 5.72l-1.4-2.05c-.3-.42-.81-.67-1.33-.67H13v3h8c-.05-.1-.08-.2-.14-.28z",
|
|
8
|
+
fillOpacity: ".79"
|
|
9
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
10
|
+
d: "M20.98 7H3.02L3 7.11V19.4c0 .89.71 1.61 1.58 1.61h14.84A1.6 1.6 0 0021 19.4V7.1L20.98 7zm-6.87 5.36H9.89a1.6 1.6 0 01-1.58-1.61c0-.89.7-1.6 1.58-1.6h4.22c.87 0 1.58.71 1.58 1.6 0 .89-.7 1.6-1.58 1.6z",
|
|
11
|
+
fillOpacity: ".87"
|
|
12
|
+
})]
|
|
13
|
+
}), 'BundleSize');
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createSvgIcon } from '@mui/material/utils';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
export default createSvgIcon(/*#__PURE__*/_jsxs("g", {
|
|
4
|
+
fillRule: "nonzero",
|
|
5
|
+
fill: "none",
|
|
6
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
7
|
+
d: "M8 24a4 4 0 004-4v-4H8a4 4 0 000 8z",
|
|
8
|
+
fill: "#0ACF83"
|
|
9
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
10
|
+
d: "M4 12a4 4 0 014-4h4v8H8a4 4 0 01-4-4z",
|
|
11
|
+
fill: "#A259FF"
|
|
12
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
13
|
+
d: "M4 4a4 4 0 014-4h4v8H8a4 4 0 01-4-4z",
|
|
14
|
+
fill: "#F24E1E"
|
|
15
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
16
|
+
d: "M12 0h4a4 4 0 010 8h-4V0z",
|
|
17
|
+
fill: "#FF7262"
|
|
18
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
19
|
+
d: "M20 12a4 4 0 11-8 0 4 4 0 018 0z",
|
|
20
|
+
fill: "#1ABCFE"
|
|
21
|
+
})]
|
|
22
|
+
}), 'Figma');
|