@mui/docs 6.0.0-rc.0 → 6.0.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.js +5 -5
- package/Ad/AdCarbon.js +3 -3
- package/Ad/AdDisplay.js +4 -4
- package/Ad/AdGuest.js +1 -1
- package/Ad/AdInHouse.js +1 -1
- package/Ad/index.js +5 -5
- package/CHANGELOG.md +84 -0
- package/CodeCopy/CodeCopyButton.js +1 -1
- package/CodeCopy/index.js +3 -3
- package/ComponentLinkHeader/ComponentLinkHeader.js +8 -8
- package/ComponentLinkHeader/index.js +2 -2
- package/DocsProvider/DocsProvider.js +2 -2
- package/DocsProvider/index.js +1 -1
- package/HighlightedCode/HighlightedCode.js +2 -2
- package/HighlightedCode/index.js +1 -1
- package/HighlightedCodeWithTabs/HighlightedCodeWithTabs.js +1 -1
- package/HighlightedCodeWithTabs/index.js +2 -2
- package/InfoCard/InfoCard.js +1 -1
- package/InfoCard/index.js +1 -1
- package/Link/Link.js +2 -2
- package/Link/index.js +1 -1
- package/MarkdownElement/MarkdownElement.js +1 -1
- package/MarkdownElement/index.js +1 -1
- package/NProgressBar/index.js +1 -1
- package/README.md +2 -2
- package/SectionTitle/index.js +1 -1
- package/branding/BrandingProvider.js +1 -1
- package/branding/index.js +2 -2
- package/i18n/i18n.js +1 -1
- package/i18n/index.js +1 -1
- package/node/Ad/Ad.js +2 -3
- package/node/Ad/AdCarbon.js +2 -3
- package/node/Ad/AdDisplay.js +1 -2
- package/node/Ad/AdGuest.js +2 -3
- package/node/Ad/AdInHouse.js +2 -3
- package/node/Ad/AdManager.js +1 -2
- package/node/Ad/AdProvider.js +1 -2
- package/node/CodeCopy/CodeCopy.js +2 -3
- package/node/CodeCopy/CodeCopyButton.js +2 -3
- package/node/CodeCopy/index.js +1 -1
- package/node/CodeCopy/useClipboardCopy.js +2 -3
- package/node/ComponentLinkHeader/ComponentLinkHeader.js +3 -4
- package/node/DocsProvider/DocsProvider.js +1 -2
- package/node/HighlightedCode/HighlightedCode.js +2 -3
- package/node/HighlightedCodeWithTabs/HighlightedCodeWithTabs.js +2 -3
- package/node/InfoCard/InfoCard.js +2 -3
- package/node/Link/Link.js +2 -3
- package/node/MarkdownElement/MarkdownElement.js +2 -3
- package/node/NProgressBar/NProgressBar.js +2 -3
- package/node/NProgressBar/index.js +1 -1
- package/node/SectionTitle/SectionTitle.js +1 -2
- package/node/branding/BrandingProvider.js +1 -2
- package/node/branding/brandingTheme.js +1 -1
- package/node/i18n/i18n.js +2 -3
- package/node/svgIcons/AdobeXDIcon.js +1 -2
- package/node/svgIcons/BundleSizeIcon.js +1 -2
- package/node/svgIcons/FigmaIcon.js +1 -2
- package/node/svgIcons/FileDownload.js +2 -3
- package/node/svgIcons/JavaScript.js +2 -3
- package/node/svgIcons/MaterialDesignIcon.js +1 -2
- package/node/svgIcons/SketchIcon.js +1 -2
- package/node/svgIcons/TypeScript.js +2 -3
- package/node/svgIcons/W3CIcon.js +1 -2
- package/node/translations/index.js +1 -1
- package/node/translations/translations.json +2 -0
- package/package.json +4 -4
- package/translations/index.js +1 -1
- package/translations/translations.json +2 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/Ad/Ad.js
CHANGED
|
@@ -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
|
|
7
|
-
import AdCarbon from
|
|
8
|
-
import AdInHouse from
|
|
9
|
-
import { AdContext, adShape } from
|
|
10
|
-
import { useAdConfig } from
|
|
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";
|
|
11
11
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
12
|
function PleaseDisableAdblock() {
|
|
13
13
|
const t = useTranslate();
|
package/Ad/AdCarbon.js
CHANGED
|
@@ -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
|
|
5
|
-
import AdDisplay from
|
|
6
|
-
import { adBodyImageStyles } from
|
|
4
|
+
import loadScript from "../utils/loadScript.js";
|
|
5
|
+
import AdDisplay from "./AdDisplay.js";
|
|
6
|
+
import { adBodyImageStyles } from "./ad.styles.js";
|
|
7
7
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
8
|
const CarbonRoot = styled('span')(({
|
|
9
9
|
theme
|
package/Ad/AdDisplay.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { styled } from '@mui/material/styles';
|
|
3
|
-
import { useTranslate } from
|
|
4
|
-
import { adShape } from
|
|
5
|
-
import { adBodyImageStyles, adBodyInlineStyles } from
|
|
6
|
-
import { useAdConfig } from
|
|
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";
|
|
7
7
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
8
|
const InlineShape = styled('span')(({
|
|
9
9
|
theme
|
package/Ad/AdGuest.js
CHANGED
package/Ad/AdInHouse.js
CHANGED
package/Ad/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="gtag.js" />
|
|
2
2
|
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export { AdCarbonInline } from
|
|
3
|
+
export * from "./Ad.js";
|
|
4
|
+
export * from "./AdManager.js";
|
|
5
|
+
export * from "./AdProvider.js";
|
|
6
|
+
export * from "./AdGuest.js";
|
|
7
|
+
export { AdCarbonInline } from "./AdCarbon.js";
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,89 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## v6.0.1
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v6.0.0..master -->
|
|
6
|
+
|
|
7
|
+
_Aug 29, 2024_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 12 contributors who made this release possible. It contains bug fixes and documentation improvements.
|
|
10
|
+
|
|
11
|
+
### `@mui/material@6.0.0`
|
|
12
|
+
|
|
13
|
+
- Attach default light color scheme when enabling CSS theme variables (#43493) @siriwatknp
|
|
14
|
+
- [Skeleton] Apply the wave animation to the correct element (#43474) @mnajdova
|
|
15
|
+
|
|
16
|
+
### Docs
|
|
17
|
+
|
|
18
|
+
- [material-ui][Dialog] Update confirmation dialog description (#43488) @Michael-Hutchinson
|
|
19
|
+
- Add Material UI v6 is out! to the notifications (#43448) @oliviertassinari
|
|
20
|
+
- [material-ui] Dark scroll bars in templates (#43483) @aarongarciah
|
|
21
|
+
- [material-ui] Add TemplateFrame to templates (#43406) @zanivan
|
|
22
|
+
- [table] Make the data grid blend in (#43489) @oliviertassinari
|
|
23
|
+
|
|
24
|
+
### Core
|
|
25
|
+
|
|
26
|
+
- [blog] Update Toolpad Studio marketing page links in the blogs (#43407) @prakhargupta1
|
|
27
|
+
- [blog] Add missing social card to the blog post (#43465) @siriwatknp
|
|
28
|
+
- [code-infra] Fix typing issues with `@mui-internal/api-docs-builder` (#43498) @Janpot
|
|
29
|
+
- [code-infra] Fix nextjs build cache (#43467) @JCQuintas
|
|
30
|
+
- Remove `'use client'` from index files and useAutocomplete reexport (#41956) @DiegoAndai
|
|
31
|
+
- Replace relative links to absolute ones in JSDocs (#43472) @alexfauquette
|
|
32
|
+
- Upgrade babel runtime (#43243) @Janpot
|
|
33
|
+
- [docs-infra] Skip shadow DOM regression test (#43500) @aarongarciah
|
|
34
|
+
- [docs-infra] Fix use of process.env.DEPLOY_ENV (#43490) @oliviertassinari
|
|
35
|
+
- [docs-infra] Add comment about removing optimizeFonts Next.js config (#43469) @aarongarciah
|
|
36
|
+
- [examples] Use `latest` on all Material UI dependencies (#43494) @mnajdova
|
|
37
|
+
- [infra] fix workflow path (#43464) @michelengelen
|
|
38
|
+
|
|
39
|
+
All contributors of this release in alphabetical order: @aarongarciah, @alexfauquette, @DiegoAndai, @Janpot, @JCQuintas, @Michael-Hutchinson, @michelengelen, @mnajdova, @oliviertassinari, @prakhargupta1, @siriwatknp, @zanivan
|
|
40
|
+
|
|
41
|
+
## 6.0.0
|
|
42
|
+
|
|
43
|
+
<!-- generated comparing v6.0.0-rc.0..master -->
|
|
44
|
+
|
|
45
|
+
_Aug 27, 2024_
|
|
46
|
+
|
|
47
|
+
We are excited to announce the stable release of Material-UI v6 🎉, check out [the blog post](https://mui.com/blog/material-ui-v6-is-out/) to see all the updates.
|
|
48
|
+
|
|
49
|
+
### `@mui/material@6.0.0`
|
|
50
|
+
|
|
51
|
+
- Change React.ReactElement<any,any> type from any to unknown (#43358) @sai6855
|
|
52
|
+
- [Pagination] Update `getItemAriaLabel` page param type (#43399) @sydneyjodon-wk
|
|
53
|
+
- [Unstable_TrapFocus] Fix `getTabbable` function return type (#42237) @KalmarLorand
|
|
54
|
+
|
|
55
|
+
### `@mui/lab@6.0.0-beta.8`
|
|
56
|
+
|
|
57
|
+
- [button] Add missing customize points for span (#43436) @oliviertassinari
|
|
58
|
+
|
|
59
|
+
### Docs
|
|
60
|
+
|
|
61
|
+
- Fix broken links (#43144) @DiegoAndai
|
|
62
|
+
- Updated mui-x roadmap links with the new project URL (#43444) @michelengelen
|
|
63
|
+
- Update pnpm order, move to second (#42712) @ahmadnadeem6236
|
|
64
|
+
- Fix CSS theme variables section (#43439) @siriwatknp
|
|
65
|
+
- Add two Toolpad Core components to Material UI sidebar (#43391) @prakhargupta1
|
|
66
|
+
- Fix licensingModel -> licenseModel @oliviertassinari
|
|
67
|
+
- Fix Stack Overflow issue canned response @oliviertassinari
|
|
68
|
+
- Avoid referencing MUI Core @oliviertassinari
|
|
69
|
+
- Fix description of eslint-plugin-material-ui @oliviertassinari
|
|
70
|
+
- [docs-infra] Polish reportBrokenLinks.js to support Base UI @oliviertassinari
|
|
71
|
+
- [material-ui] Clarify RTL language support in localization guide (#41784) @bahmanworld
|
|
72
|
+
- [material-ui] Refine templates theme selector (#43396) @zanivan
|
|
73
|
+
|
|
74
|
+
### Core
|
|
75
|
+
|
|
76
|
+
- Prepare for v6 stable release (#43454) @siriwatknp
|
|
77
|
+
- [blog] Polish Upcoming changes to MUI X pricing in 2024 (#43438) @oliviertassinari
|
|
78
|
+
- [blog] Add Material UI v6 stable release (#41932) @siriwatknp
|
|
79
|
+
- [ci] Fix the release:changelog cmd (#43451) @mnajdova
|
|
80
|
+
- [core] Allow `^6.0.0` for `@mui/` dependencies in `@mui/docs` (#43445) @LukasTy
|
|
81
|
+
- [code-infra] Babel plugin to fully resolve imported paths (#43294) @Janpot
|
|
82
|
+
- [infra] Add closing message workflow (#43450) @michelengelen
|
|
83
|
+
- [website] Make beta chip consistent for Toolpad (#43392) @prakhargupta1
|
|
84
|
+
|
|
85
|
+
All contributors of this release in alphabetical order: @ahmadnadeem6236, @bahmanworld, @DiegoAndai, @Janpot, @KalmarLorand, @LukasTy, @michelengelen, @mnajdova, @oliviertassinari, @prakhargupta1, @sai6855, @siriwatknp, @sydneyjodon-wk, @zanivan
|
|
86
|
+
|
|
3
87
|
## 6.0.0-rc.0
|
|
4
88
|
|
|
5
89
|
<!-- generated comparing v6.0.0-beta.6..next -->
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _span, _span2;
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import useClipboardCopy from
|
|
3
|
+
import useClipboardCopy from "./useClipboardCopy.js";
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
5
|
export function CodeCopyButton(props) {
|
|
6
6
|
const {
|
package/CodeCopy/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export { default as useClipboardCopy } from
|
|
1
|
+
export * from "./CodeCopy.js";
|
|
2
|
+
export * from "./CodeCopyButton.js";
|
|
3
|
+
export { default as useClipboardCopy } from "./useClipboardCopy.js";
|
|
@@ -5,13 +5,13 @@ import Tooltip from '@mui/material/Tooltip';
|
|
|
5
5
|
import ChatRounded from '@mui/icons-material/ChatRounded';
|
|
6
6
|
import GitHubIcon from '@mui/icons-material/GitHub';
|
|
7
7
|
import { styled } from '@mui/material/styles';
|
|
8
|
-
import SketchIcon from
|
|
9
|
-
import FigmaIcon from
|
|
10
|
-
import AdobeXDIcon from
|
|
11
|
-
import BundleSizeIcon from
|
|
12
|
-
import W3CIcon from
|
|
13
|
-
import MaterialDesignIcon from
|
|
14
|
-
import { useTranslate } from
|
|
8
|
+
import SketchIcon from "../svgIcons/SketchIcon.js";
|
|
9
|
+
import FigmaIcon from "../svgIcons/FigmaIcon.js";
|
|
10
|
+
import AdobeXDIcon from "../svgIcons/AdobeXDIcon.js";
|
|
11
|
+
import BundleSizeIcon from "../svgIcons/BundleSizeIcon.js";
|
|
12
|
+
import W3CIcon from "../svgIcons/W3CIcon.js";
|
|
13
|
+
import MaterialDesignIcon from "../svgIcons/MaterialDesignIcon.js";
|
|
14
|
+
import { useTranslate } from "../i18n/index.js";
|
|
15
15
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
16
|
const Root = styled('ul')({
|
|
17
17
|
margin: 0,
|
|
@@ -97,7 +97,7 @@ export function ComponentLinkHeader(props) {
|
|
|
97
97
|
size: "small",
|
|
98
98
|
variant: "outlined",
|
|
99
99
|
rel: "nofollow",
|
|
100
|
-
href: `${process.env.SOURCE_CODE_REPO}/
|
|
100
|
+
href: `${process.env.SOURCE_CODE_REPO}/blob/v${process.env.LIB_VERSION}/${headers.githubSource}`,
|
|
101
101
|
icon: _GitHubIcon || (_GitHubIcon = /*#__PURE__*/_jsx(GitHubIcon, {})),
|
|
102
102
|
"data-ga-event-category": "ComponentLinkHeader",
|
|
103
103
|
"data-ga-event-action": "click",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export { ComponentLinkHeader as default } from
|
|
1
|
+
export * from "./ComponentLinkHeader.js";
|
|
2
|
+
export { ComponentLinkHeader as default } from "./ComponentLinkHeader.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { UserLanguageProvider } from
|
|
3
|
-
import { AdProvider } from
|
|
2
|
+
import { UserLanguageProvider } from "../i18n/index.js";
|
|
3
|
+
import { AdProvider } from "../Ad/index.js";
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
const DocsConfigContext = /*#__PURE__*/React.createContext(null);
|
|
6
6
|
export function DocsProvider({
|
package/DocsProvider/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./DocsProvider.js";
|
|
@@ -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
|
|
6
|
-
import { MarkdownElement } from
|
|
5
|
+
import { useCodeCopy, CodeCopyButton } from "../CodeCopy/index.js";
|
|
6
|
+
import { MarkdownElement } from "../MarkdownElement/index.js";
|
|
7
7
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
8
|
const Pre = styled('pre')(({
|
|
9
9
|
theme
|
package/HighlightedCode/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./HighlightedCode.js";
|
|
@@ -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
|
|
8
|
+
import { HighlightedCode } from "../HighlightedCode/index.js";
|
|
9
9
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
10
|
export const CodeTabList = styled(TabsListBase)(({
|
|
11
11
|
theme
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export { HighlightedCodeWithTabs as default } from
|
|
1
|
+
export * from "./HighlightedCodeWithTabs.js";
|
|
2
|
+
export { HighlightedCodeWithTabs as default } from "./HighlightedCodeWithTabs.js";
|
package/InfoCard/InfoCard.js
CHANGED
|
@@ -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
|
|
6
|
+
import { Link } from "../Link/index.js";
|
|
7
7
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
8
|
export function GlowingIconContainer({
|
|
9
9
|
icon
|
package/InfoCard/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./InfoCard.js";
|
package/Link/Link.js
CHANGED
|
@@ -4,8 +4,8 @@ import { useRouter } from 'next/router';
|
|
|
4
4
|
import NextLink from 'next/link';
|
|
5
5
|
import MuiLink from '@mui/material/Link';
|
|
6
6
|
import { styled } from '@mui/material/styles';
|
|
7
|
-
import { useUserLanguage } from
|
|
8
|
-
import { useDocsConfig } from
|
|
7
|
+
import { useUserLanguage } from "../i18n/index.js";
|
|
8
|
+
import { useDocsConfig } from "../DocsProvider/index.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* File to keep in sync with:
|
package/Link/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./Link.js";
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { alpha, darken, styled } from '@mui/material/styles';
|
|
4
4
|
import useForkRef from '@mui/utils/useForkRef';
|
|
5
|
-
import { brandingDarkTheme as darkTheme, brandingLightTheme as lightTheme } from
|
|
5
|
+
import { brandingDarkTheme as darkTheme, brandingLightTheme as lightTheme } from "../branding/index.js";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
const Root = styled('div')(({
|
|
8
8
|
theme
|
package/MarkdownElement/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./MarkdownElement.js";
|
package/NProgressBar/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./NProgressBar.js";
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Install the package in your project directory with:
|
|
|
9
9
|
<!-- #default-branch-switch -->
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
npm install @mui/docs
|
|
12
|
+
npm install @mui/docs
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
The docs has a peer dependency on the core components.
|
|
@@ -18,7 +18,7 @@ If you are not already using Material UI in your project, you can add it with:
|
|
|
18
18
|
<!-- #default-branch-switch -->
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
npm install @mui/material
|
|
21
|
+
npm install @mui/material
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
## Documentation
|
package/SectionTitle/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./SectionTitle.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ThemeProvider, useTheme } from '@mui/material/styles';
|
|
3
|
-
import { brandingDarkTheme, brandingLightTheme } from
|
|
3
|
+
import { brandingDarkTheme, brandingLightTheme } from "./brandingTheme.js";
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
export function BrandingProvider(props) {
|
|
6
6
|
const {
|
package/branding/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from "./brandingTheme.js";
|
|
2
|
+
export * from "./BrandingProvider.js";
|
package/i18n/i18n.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { deepmerge } from '@mui/utils';
|
|
4
|
-
import defaultTranslations from
|
|
4
|
+
import defaultTranslations from "../translations/index.js";
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
const TranslationsContext = /*#__PURE__*/React.createContext(defaultTranslations);
|
|
7
7
|
function TranslationsProvider({
|
package/i18n/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./i18n.js";
|
package/node/Ad/Ad.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
@@ -17,8 +18,6 @@ var _AdManager = require("./AdManager");
|
|
|
17
18
|
var _AdProvider = require("./AdProvider");
|
|
18
19
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
20
|
var _span, _PleaseDisableAdblock, _AdCarbon;
|
|
20
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
21
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
22
21
|
function PleaseDisableAdblock() {
|
|
23
22
|
const t = (0, _i18n.useTranslate)();
|
|
24
23
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Paper.default, {
|
package/node/Ad/AdCarbon.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
@@ -13,8 +14,6 @@ var _AdDisplay = _interopRequireDefault(require("./AdDisplay"));
|
|
|
13
14
|
var _ad = require("./ad.styles");
|
|
14
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
16
|
var _AdCarbonImage;
|
|
16
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
17
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
17
|
const CarbonRoot = (0, _styles.styled)('span')(({
|
|
19
18
|
theme
|
|
20
19
|
}) => {
|
package/node/Ad/AdDisplay.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
@@ -11,8 +12,6 @@ var _AdManager = require("./AdManager");
|
|
|
11
12
|
var _ad = require("./ad.styles");
|
|
12
13
|
var _AdProvider = require("./AdProvider");
|
|
13
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
15
|
const InlineShape = (0, _styles.styled)('span')(({
|
|
17
16
|
theme
|
|
18
17
|
}) => {
|
package/node/Ad/AdGuest.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
@@ -9,8 +10,6 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
9
10
|
var _Portal = _interopRequireDefault(require("@mui/material/Portal"));
|
|
10
11
|
var _AdManager = require("./AdManager");
|
|
11
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
13
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
14
13
|
function AdGuest(props) {
|
|
15
14
|
const {
|
|
16
15
|
classSelector = '.description',
|
package/node/Ad/AdInHouse.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
@@ -8,8 +9,6 @@ exports.default = AdInHouse;
|
|
|
8
9
|
var React = _interopRequireWildcard(require("react"));
|
|
9
10
|
var _AdDisplay = _interopRequireDefault(require("./AdDisplay"));
|
|
10
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
12
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
12
|
function AdInHouse(props) {
|
|
14
13
|
const {
|
|
15
14
|
ad
|
package/node/Ad/AdManager.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
@@ -9,8 +10,6 @@ exports.adShape = void 0;
|
|
|
9
10
|
var React = _interopRequireWildcard(require("react"));
|
|
10
11
|
var _utils = require("@mui/material/utils");
|
|
11
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
13
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
14
13
|
const AdContext = exports.AdContext = /*#__PURE__*/React.createContext({
|
|
15
14
|
placement: 'body-top',
|
|
16
15
|
element: null
|
package/node/Ad/AdProvider.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
@@ -7,8 +8,6 @@ exports.AdProvider = AdProvider;
|
|
|
7
8
|
exports.useAdConfig = useAdConfig;
|
|
8
9
|
var React = _interopRequireWildcard(require("react"));
|
|
9
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
11
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
12
11
|
const AdConfigContext = /*#__PURE__*/React.createContext(null);
|
|
13
12
|
function AdProvider(props) {
|
|
14
13
|
const {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
@@ -11,8 +12,6 @@ var _router = require("next/router");
|
|
|
11
12
|
var _clipboardCopy = _interopRequireDefault(require("clipboard-copy"));
|
|
12
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
14
|
var _InitCodeCopy;
|
|
14
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
15
|
const CodeBlockContext = /*#__PURE__*/React.createContext({
|
|
17
16
|
current: null
|
|
18
17
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
@@ -9,8 +10,6 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
9
10
|
var _useClipboardCopy = _interopRequireDefault(require("./useClipboardCopy"));
|
|
10
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
12
|
var _span, _span2;
|
|
12
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
13
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
14
13
|
function CodeCopyButton(props) {
|
|
15
14
|
const {
|
|
16
15
|
code,
|
package/node/CodeCopy/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.default = useClipboardCopy;
|
|
8
9
|
var React = _interopRequireWildcard(require("react"));
|
|
9
10
|
var _clipboardCopy = _interopRequireDefault(require("clipboard-copy"));
|
|
10
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
11
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
12
11
|
function useClipboardCopy() {
|
|
13
12
|
const [isCopied, setIsCopied] = React.useState(false);
|
|
14
13
|
const timeout = React.useRef(undefined);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
@@ -20,8 +21,6 @@ var _MaterialDesignIcon2 = _interopRequireDefault(require("../svgIcons/MaterialD
|
|
|
20
21
|
var _i18n = require("../i18n");
|
|
21
22
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
22
23
|
var _ChatRounded, _BundleSizeIcon, _GitHubIcon, _W3CIcon, _MaterialDesignIcon, _li, _React$Fragment;
|
|
23
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
24
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
25
24
|
const Root = (0, _styles.styled)('ul')({
|
|
26
25
|
margin: 0,
|
|
27
26
|
padding: 0,
|
|
@@ -106,7 +105,7 @@ function ComponentLinkHeader(props) {
|
|
|
106
105
|
size: "small",
|
|
107
106
|
variant: "outlined",
|
|
108
107
|
rel: "nofollow",
|
|
109
|
-
href: `${process.env.SOURCE_CODE_REPO}/
|
|
108
|
+
href: `${process.env.SOURCE_CODE_REPO}/blob/v${process.env.LIB_VERSION}/${headers.githubSource}`,
|
|
110
109
|
icon: _GitHubIcon || (_GitHubIcon = /*#__PURE__*/(0, _jsxRuntime.jsx)(_GitHub.default, {})),
|
|
111
110
|
"data-ga-event-category": "ComponentLinkHeader",
|
|
112
111
|
"data-ga-event-action": "click",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
@@ -9,8 +10,6 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
9
10
|
var _i18n = require("../i18n");
|
|
10
11
|
var _Ad = require("../Ad");
|
|
11
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
13
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
14
13
|
const DocsConfigContext = /*#__PURE__*/React.createContext(null);
|
|
15
14
|
function DocsProvider({
|
|
16
15
|
config,
|