@mui/docs 7.0.0-beta.0 → 7.0.0-beta.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.
Files changed (95) hide show
  1. package/Ad/Ad.d.ts +6 -0
  2. package/Ad/AdCarbon.d.ts +3 -0
  3. package/Ad/AdDisplay.d.ts +16 -0
  4. package/Ad/AdGuest.d.ts +10 -0
  5. package/Ad/AdInHouse.d.ts +5 -0
  6. package/Ad/AdManager.d.ts +19 -0
  7. package/Ad/AdProvider.d.ts +15 -0
  8. package/Ad/ad.styles.d.ts +4329 -0
  9. package/Ad/index.d.ts +5 -0
  10. package/CHANGELOG.md +15 -0
  11. package/CodeCopy/CodeCopy.d.ts +22 -0
  12. package/CodeCopy/CodeCopyButton.d.ts +5 -0
  13. package/CodeCopy/index.d.ts +3 -0
  14. package/CodeCopy/useClipboardCopy.d.ts +4 -0
  15. package/ComponentLinkHeader/ComponentLinkHeader.d.ts +9 -0
  16. package/ComponentLinkHeader/index.d.ts +2 -0
  17. package/DocsProvider/DocsProvider.d.ts +24 -0
  18. package/DocsProvider/index.d.ts +1 -0
  19. package/HighlightedCode/HighlightedCode.d.ts +14 -0
  20. package/HighlightedCode/index.d.ts +1 -0
  21. package/HighlightedCodeWithTabs/HighlightedCodeWithTabs.d.ts +29 -0
  22. package/HighlightedCodeWithTabs/index.d.ts +2 -0
  23. package/InfoCard/InfoCard.d.ts +22 -0
  24. package/InfoCard/index.d.ts +1 -0
  25. package/Link/Link.d.ts +22 -0
  26. package/Link/index.d.ts +1 -0
  27. package/MarkdownElement/MarkdownElement.d.ts +7 -0
  28. package/MarkdownElement/index.d.ts +1 -0
  29. package/NProgressBar/NProgressBar.d.ts +6 -0
  30. package/NProgressBar/index.d.ts +2 -0
  31. package/SectionTitle/SectionTitle.d.ts +7 -0
  32. package/SectionTitle/index.d.ts +1 -0
  33. package/branding/BrandingProvider.d.ts +9 -0
  34. package/branding/brandingTheme.d.ts +151 -0
  35. package/branding/index.d.ts +2 -0
  36. package/i18n/i18n.d.ts +27 -0
  37. package/i18n/index.d.ts +1 -0
  38. package/modern/Ad/Ad.d.ts +6 -0
  39. package/modern/Ad/AdCarbon.d.ts +3 -0
  40. package/modern/Ad/AdDisplay.d.ts +16 -0
  41. package/modern/Ad/AdGuest.d.ts +10 -0
  42. package/modern/Ad/AdInHouse.d.ts +5 -0
  43. package/modern/Ad/AdManager.d.ts +19 -0
  44. package/modern/Ad/AdProvider.d.ts +15 -0
  45. package/modern/Ad/ad.styles.d.ts +4329 -0
  46. package/modern/Ad/index.d.ts +5 -0
  47. package/modern/CodeCopy/CodeCopy.d.ts +22 -0
  48. package/modern/CodeCopy/CodeCopyButton.d.ts +5 -0
  49. package/modern/CodeCopy/index.d.ts +3 -0
  50. package/modern/CodeCopy/useClipboardCopy.d.ts +4 -0
  51. package/modern/ComponentLinkHeader/ComponentLinkHeader.d.ts +9 -0
  52. package/modern/ComponentLinkHeader/index.d.ts +2 -0
  53. package/modern/DocsProvider/DocsProvider.d.ts +24 -0
  54. package/modern/DocsProvider/index.d.ts +1 -0
  55. package/modern/HighlightedCode/HighlightedCode.d.ts +14 -0
  56. package/modern/HighlightedCode/index.d.ts +1 -0
  57. package/modern/HighlightedCodeWithTabs/HighlightedCodeWithTabs.d.ts +29 -0
  58. package/modern/HighlightedCodeWithTabs/index.d.ts +2 -0
  59. package/modern/InfoCard/InfoCard.d.ts +22 -0
  60. package/modern/InfoCard/index.d.ts +1 -0
  61. package/modern/Link/Link.d.ts +22 -0
  62. package/modern/Link/index.d.ts +1 -0
  63. package/modern/MarkdownElement/MarkdownElement.d.ts +7 -0
  64. package/modern/MarkdownElement/index.d.ts +1 -0
  65. package/modern/NProgressBar/NProgressBar.d.ts +6 -0
  66. package/modern/NProgressBar/index.d.ts +2 -0
  67. package/modern/SectionTitle/SectionTitle.d.ts +7 -0
  68. package/modern/SectionTitle/index.d.ts +1 -0
  69. package/modern/branding/BrandingProvider.d.ts +9 -0
  70. package/modern/branding/brandingTheme.d.ts +151 -0
  71. package/modern/branding/index.d.ts +2 -0
  72. package/modern/i18n/i18n.d.ts +27 -0
  73. package/modern/i18n/index.d.ts +1 -0
  74. package/modern/svgIcons/BundleSizeIcon.d.ts +4 -0
  75. package/modern/svgIcons/FigmaIcon.d.ts +4 -0
  76. package/modern/svgIcons/FileDownload.d.ts +7 -0
  77. package/modern/svgIcons/JavaScript.d.ts +7 -0
  78. package/modern/svgIcons/MaterialDesignIcon.d.ts +4 -0
  79. package/modern/svgIcons/SketchIcon.d.ts +4 -0
  80. package/modern/svgIcons/TypeScript.d.ts +7 -0
  81. package/modern/svgIcons/W3CIcon.d.ts +4 -0
  82. package/modern/translations/index.d.ts +3 -0
  83. package/modern/utils/loadScript.d.ts +1 -0
  84. package/package.json +1 -1
  85. package/svgIcons/BundleSizeIcon.d.ts +4 -0
  86. package/svgIcons/FigmaIcon.d.ts +4 -0
  87. package/svgIcons/FileDownload.d.ts +7 -0
  88. package/svgIcons/JavaScript.d.ts +7 -0
  89. package/svgIcons/MaterialDesignIcon.d.ts +4 -0
  90. package/svgIcons/SketchIcon.d.ts +4 -0
  91. package/svgIcons/TypeScript.d.ts +7 -0
  92. package/svgIcons/W3CIcon.d.ts +4 -0
  93. package/translations/index.d.ts +3 -0
  94. package/tsconfig.build.tsbuildinfo +1 -1
  95. package/utils/loadScript.d.ts +1 -0
package/Ad/Ad.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ export declare const AD_MARGIN_TOP = 3;
3
+ export declare const AD_MARGIN_BOTTOM = 3;
4
+ export declare const AD_HEIGHT = 126;
5
+ export declare const AD_HEIGHT_MOBILE: number;
6
+ export declare function Ad(): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ export declare function AdCarbonInline(): React.JSX.Element;
3
+ export default function AdCarbon(): React.JSX.Element;
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+ export interface AdParameters {
3
+ name: string;
4
+ link: string;
5
+ img?: string;
6
+ description: string;
7
+ poweredby: string;
8
+ label: string;
9
+ }
10
+ interface AdDisplayProps {
11
+ ad: AdParameters;
12
+ className?: string;
13
+ shape?: 'auto' | 'inline' | 'image';
14
+ }
15
+ export default function AdDisplay(props: AdDisplayProps): React.JSX.Element;
16
+ export {};
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ export interface AdGuestProps {
3
+ /**
4
+ * The querySelector use to target the element which will include the ad.
5
+ */
6
+ classSelector?: string;
7
+ children?: React.ReactNode | undefined;
8
+ }
9
+ declare function AdGuest(props: AdGuestProps): React.JSX.Element | null;
10
+ export { AdGuest };
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import { AdParameters } from "./AdDisplay.js";
3
+ export default function AdInHouse(props: {
4
+ ad: Omit<AdParameters, 'poweredby' | 'label'>;
5
+ }): React.JSX.Element;
@@ -0,0 +1,19 @@
1
+ import * as React from 'react';
2
+ type AdPortal = {
3
+ placement: 'body-top';
4
+ element: Element | null;
5
+ };
6
+ interface AdManagerProps {
7
+ /**
8
+ * The querySelector use to target the element which will include the ad.
9
+ */
10
+ classSelector?: string;
11
+ children?: React.ReactNode | undefined;
12
+ }
13
+ export declare const AdContext: React.Context<AdPortal>;
14
+ export declare const adShape: string;
15
+ export declare function AdManager({
16
+ classSelector,
17
+ children
18
+ }: AdManagerProps): React.JSX.Element;
19
+ export {};
@@ -0,0 +1,15 @@
1
+ import * as React from 'react';
2
+ export interface AdConfig {
3
+ /**
4
+ * The ratio of "ad display" event sent to Google Analytics.
5
+ * Used to avoid an exceed on the Google Analytics quotas.
6
+ * @default 0.1
7
+ */
8
+ GADisplayRatio: number;
9
+ }
10
+ export interface AdProviderProps {
11
+ children: React.ReactNode;
12
+ config?: Partial<AdConfig>;
13
+ }
14
+ export declare function AdProvider(props: AdProviderProps): React.JSX.Element;
15
+ export declare function useAdConfig(): AdConfig;