@mui/docs 9.0.0-alpha.0 → 9.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/{esm/Ad/Ad.js → Ad/Ad.mjs} +5 -5
  2. package/{esm/Ad/AdCarbon.js → Ad/AdCarbon.mjs} +3 -3
  3. package/{esm/Ad/AdDisplay.js → Ad/AdDisplay.mjs} +4 -4
  4. package/{esm/Ad/AdGuest.js → Ad/AdGuest.mjs} +1 -1
  5. package/{esm/Ad/AdInHouse.d.ts → Ad/AdInHouse.d.mts} +1 -1
  6. package/{esm/Ad/AdInHouse.js → Ad/AdInHouse.mjs} +1 -1
  7. package/{esm/Ad/ad.styles.d.ts → Ad/ad.styles.d.mts} +4 -4
  8. package/Ad/ad.styles.d.ts +4 -4
  9. package/Ad/index.d.mts +5 -0
  10. package/Ad/index.mjs +7 -0
  11. package/CHANGELOG.md +74 -0
  12. package/{esm/CodeCopy/CodeCopyButton.js → CodeCopy/CodeCopyButton.mjs} +1 -1
  13. package/CodeCopy/index.d.mts +3 -0
  14. package/CodeCopy/index.mjs +3 -0
  15. package/{esm/ComponentLinkHeader/ComponentLinkHeader.js → ComponentLinkHeader/ComponentLinkHeader.mjs} +7 -7
  16. package/{esm/ComponentLinkHeader/index.d.ts → ComponentLinkHeader/index.d.mts} +2 -2
  17. package/{esm/ComponentLinkHeader/index.js → ComponentLinkHeader/index.mjs} +2 -2
  18. package/{esm/DocsProvider/DocsProvider.d.ts → DocsProvider/DocsProvider.d.mts} +2 -2
  19. package/{esm/DocsProvider/DocsProvider.js → DocsProvider/DocsProvider.mjs} +2 -2
  20. package/DocsProvider/index.d.mts +1 -0
  21. package/DocsProvider/index.mjs +1 -0
  22. package/{esm/HighlightedCode/HighlightedCode.js → HighlightedCode/HighlightedCode.mjs} +2 -2
  23. package/HighlightedCode/index.d.mts +1 -0
  24. package/HighlightedCode/index.mjs +1 -0
  25. package/{esm/HighlightedCodeWithTabs/HighlightedCodeWithTabs.js → HighlightedCodeWithTabs/HighlightedCodeWithTabs.mjs} +1 -1
  26. package/HighlightedCodeWithTabs/index.d.mts +2 -0
  27. package/HighlightedCodeWithTabs/index.mjs +2 -0
  28. package/IconImage/IconImage.d.mts +11 -0
  29. package/IconImage/IconImage.d.ts +11 -0
  30. package/IconImage/IconImage.js +91 -0
  31. package/IconImage/IconImage.mjs +83 -0
  32. package/IconImage/index.d.mts +1 -0
  33. package/IconImage/index.d.ts +1 -0
  34. package/IconImage/index.js +13 -0
  35. package/IconImage/index.mjs +1 -0
  36. package/{esm/InfoCard/InfoCard.d.ts → InfoCard/InfoCard.d.mts} +1 -1
  37. package/{esm/InfoCard/InfoCard.js → InfoCard/InfoCard.mjs} +1 -1
  38. package/InfoCard/index.d.mts +1 -0
  39. package/InfoCard/index.mjs +1 -0
  40. package/{esm/Link/Link.js → Link/Link.mjs} +2 -2
  41. package/Link/index.d.mts +1 -0
  42. package/Link/index.mjs +1 -0
  43. package/{esm/MarkdownElement/MarkdownElement.js → MarkdownElement/MarkdownElement.mjs} +1 -1
  44. package/MarkdownElement/index.d.mts +1 -0
  45. package/MarkdownElement/index.mjs +1 -0
  46. package/NProgressBar/index.d.mts +2 -0
  47. package/NProgressBar/index.mjs +1 -0
  48. package/SectionHeadline/SectionHeadline.d.mts +13 -0
  49. package/SectionHeadline/SectionHeadline.d.ts +13 -0
  50. package/SectionHeadline/SectionHeadline.js +89 -0
  51. package/SectionHeadline/SectionHeadline.mjs +81 -0
  52. package/SectionHeadline/index.d.mts +2 -0
  53. package/SectionHeadline/index.d.ts +2 -0
  54. package/SectionHeadline/index.js +25 -0
  55. package/SectionHeadline/index.mjs +2 -0
  56. package/SectionTitle/index.d.mts +1 -0
  57. package/SectionTitle/index.mjs +1 -0
  58. package/ThemeContext/ThemeContext.d.mts +92 -0
  59. package/ThemeContext/ThemeContext.d.ts +92 -0
  60. package/ThemeContext/ThemeContext.js +212 -0
  61. package/ThemeContext/ThemeContext.mjs +200 -0
  62. package/ThemeContext/index.d.mts +1 -0
  63. package/ThemeContext/index.d.ts +1 -0
  64. package/ThemeContext/index.js +42 -0
  65. package/ThemeContext/index.mjs +1 -0
  66. package/{esm/branding/BrandingProvider.js → branding/BrandingProvider.mjs} +1 -1
  67. package/branding/index.d.mts +2 -0
  68. package/branding/index.mjs +2 -0
  69. package/i18n/i18n.js +3 -1
  70. package/{esm/i18n/i18n.js → i18n/i18n.mjs} +4 -2
  71. package/i18n/index.d.mts +1 -0
  72. package/i18n/index.mjs +1 -0
  73. package/package.json +265 -8
  74. package/translations/index.d.mts +3 -0
  75. package/useLazyCSS/index.d.mts +1 -0
  76. package/useLazyCSS/index.d.ts +1 -0
  77. package/useLazyCSS/index.js +13 -0
  78. package/useLazyCSS/index.mjs +1 -0
  79. package/useLazyCSS/useLazyCSS.d.mts +11 -0
  80. package/useLazyCSS/useLazyCSS.d.ts +11 -0
  81. package/useLazyCSS/useLazyCSS.js +76 -0
  82. package/useLazyCSS/useLazyCSS.mjs +70 -0
  83. package/esm/Ad/index.d.ts +0 -5
  84. package/esm/Ad/index.js +0 -7
  85. package/esm/CodeCopy/index.d.ts +0 -3
  86. package/esm/CodeCopy/index.js +0 -3
  87. package/esm/DocsProvider/index.d.ts +0 -1
  88. package/esm/DocsProvider/index.js +0 -1
  89. package/esm/HighlightedCode/index.d.ts +0 -1
  90. package/esm/HighlightedCode/index.js +0 -1
  91. package/esm/HighlightedCodeWithTabs/index.d.ts +0 -2
  92. package/esm/HighlightedCodeWithTabs/index.js +0 -2
  93. package/esm/InfoCard/index.d.ts +0 -1
  94. package/esm/InfoCard/index.js +0 -1
  95. package/esm/Link/index.d.ts +0 -1
  96. package/esm/Link/index.js +0 -1
  97. package/esm/MarkdownElement/index.d.ts +0 -1
  98. package/esm/MarkdownElement/index.js +0 -1
  99. package/esm/NProgressBar/index.d.ts +0 -2
  100. package/esm/NProgressBar/index.js +0 -1
  101. package/esm/SectionTitle/index.d.ts +0 -1
  102. package/esm/SectionTitle/index.js +0 -1
  103. package/esm/branding/index.d.ts +0 -2
  104. package/esm/branding/index.js +0 -2
  105. package/esm/i18n/index.d.ts +0 -1
  106. package/esm/i18n/index.js +0 -1
  107. package/esm/nextFonts/fonts/GeneralSans-Bold.ttf +0 -0
  108. package/esm/nextFonts/fonts/GeneralSans-Bold.woff2 +0 -0
  109. package/esm/nextFonts/fonts/GeneralSans-Medium.ttf +0 -0
  110. package/esm/nextFonts/fonts/GeneralSans-Medium.woff2 +0 -0
  111. package/esm/nextFonts/fonts/GeneralSans-Regular.ttf +0 -0
  112. package/esm/nextFonts/fonts/GeneralSans-Regular.woff2 +0 -0
  113. package/esm/nextFonts/fonts/GeneralSans-Semibold-subset.woff2 +0 -0
  114. package/esm/nextFonts/fonts/GeneralSans-Semibold.ttf +0 -0
  115. package/esm/nextFonts/fonts/GeneralSans-Semibold.woff2 +0 -0
  116. package/esm/nextFonts/fonts/IBMPlexSans-Bold.ttf +0 -0
  117. package/esm/nextFonts/fonts/IBMPlexSans-Bold.woff +0 -0
  118. package/esm/nextFonts/fonts/IBMPlexSans-Bold.woff2 +0 -0
  119. package/esm/nextFonts/fonts/IBMPlexSans-Medium.ttf +0 -0
  120. package/esm/nextFonts/fonts/IBMPlexSans-Medium.woff +0 -0
  121. package/esm/nextFonts/fonts/IBMPlexSans-Medium.woff2 +0 -0
  122. package/esm/nextFonts/fonts/IBMPlexSans-Regular-subset.woff2 +0 -0
  123. package/esm/nextFonts/fonts/IBMPlexSans-Regular.ttf +0 -0
  124. package/esm/nextFonts/fonts/IBMPlexSans-Regular.woff +0 -0
  125. package/esm/nextFonts/fonts/IBMPlexSans-Regular.woff2 +0 -0
  126. package/esm/nextFonts/fonts/IBMPlexSans-SemiBold.ttf +0 -0
  127. package/esm/nextFonts/fonts/IBMPlexSans-SemiBold.woff +0 -0
  128. package/esm/nextFonts/fonts/IBMPlexSans-SemiBold.woff2 +0 -0
  129. package/esm/package.json +0 -1
  130. package/esm/translations/index.d.ts +0 -3
  131. package/esm/translations/translations.json +0 -223
  132. /package/{esm/Ad/Ad.d.ts → Ad/Ad.d.mts} +0 -0
  133. /package/{esm/Ad/AdCarbon.d.ts → Ad/AdCarbon.d.mts} +0 -0
  134. /package/{esm/Ad/AdDisplay.d.ts → Ad/AdDisplay.d.mts} +0 -0
  135. /package/{esm/Ad/AdGuest.d.ts → Ad/AdGuest.d.mts} +0 -0
  136. /package/{esm/Ad/AdManager.d.ts → Ad/AdManager.d.mts} +0 -0
  137. /package/{esm/Ad/AdManager.js → Ad/AdManager.mjs} +0 -0
  138. /package/{esm/Ad/AdProvider.d.ts → Ad/AdProvider.d.mts} +0 -0
  139. /package/{esm/Ad/AdProvider.js → Ad/AdProvider.mjs} +0 -0
  140. /package/{esm/Ad/ad.styles.js → Ad/ad.styles.mjs} +0 -0
  141. /package/{esm/CodeCopy/CodeCopy.d.ts → CodeCopy/CodeCopy.d.mts} +0 -0
  142. /package/{esm/CodeCopy/CodeCopy.js → CodeCopy/CodeCopy.mjs} +0 -0
  143. /package/{esm/CodeCopy/CodeCopyButton.d.ts → CodeCopy/CodeCopyButton.d.mts} +0 -0
  144. /package/{esm/CodeCopy/useClipboardCopy.d.ts → CodeCopy/useClipboardCopy.d.mts} +0 -0
  145. /package/{esm/CodeCopy/useClipboardCopy.js → CodeCopy/useClipboardCopy.mjs} +0 -0
  146. /package/{esm/ComponentLinkHeader/ComponentLinkHeader.d.ts → ComponentLinkHeader/ComponentLinkHeader.d.mts} +0 -0
  147. /package/{esm/HighlightedCode/HighlightedCode.d.ts → HighlightedCode/HighlightedCode.d.mts} +0 -0
  148. /package/{esm/HighlightedCodeWithTabs/HighlightedCodeWithTabs.d.ts → HighlightedCodeWithTabs/HighlightedCodeWithTabs.d.mts} +0 -0
  149. /package/{esm/Link/Link.d.ts → Link/Link.d.mts} +0 -0
  150. /package/{esm/MarkdownElement/MarkdownElement.d.ts → MarkdownElement/MarkdownElement.d.mts} +0 -0
  151. /package/{esm/NProgressBar/NProgressBar.d.ts → NProgressBar/NProgressBar.d.mts} +0 -0
  152. /package/{esm/NProgressBar/NProgressBar.js → NProgressBar/NProgressBar.mjs} +0 -0
  153. /package/{esm/SectionTitle/SectionTitle.d.ts → SectionTitle/SectionTitle.d.mts} +0 -0
  154. /package/{esm/SectionTitle/SectionTitle.js → SectionTitle/SectionTitle.mjs} +0 -0
  155. /package/{esm/branding/BrandingProvider.d.ts → branding/BrandingProvider.d.mts} +0 -0
  156. /package/{esm/branding/brandingTheme.d.ts → branding/brandingTheme.d.mts} +0 -0
  157. /package/{esm/branding/brandingTheme.js → branding/brandingTheme.mjs} +0 -0
  158. /package/{esm/i18n/i18n.d.ts → i18n/i18n.d.mts} +0 -0
  159. /package/{esm/nextFonts/index.d.ts → nextFonts/index.d.mts} +0 -0
  160. /package/{esm/nextFonts/index.js → nextFonts/index.mjs} +0 -0
  161. /package/{esm/svgIcons/BundleSizeIcon.d.ts → svgIcons/BundleSizeIcon.d.mts} +0 -0
  162. /package/{esm/svgIcons/BundleSizeIcon.js → svgIcons/BundleSizeIcon.mjs} +0 -0
  163. /package/{esm/svgIcons/FigmaIcon.d.ts → svgIcons/FigmaIcon.d.mts} +0 -0
  164. /package/{esm/svgIcons/FigmaIcon.js → svgIcons/FigmaIcon.mjs} +0 -0
  165. /package/{esm/svgIcons/FileDownload.d.ts → svgIcons/FileDownload.d.mts} +0 -0
  166. /package/{esm/svgIcons/FileDownload.js → svgIcons/FileDownload.mjs} +0 -0
  167. /package/{esm/svgIcons/JavaScript.d.ts → svgIcons/JavaScript.d.mts} +0 -0
  168. /package/{esm/svgIcons/JavaScript.js → svgIcons/JavaScript.mjs} +0 -0
  169. /package/{esm/svgIcons/MarkdownIcon.d.ts → svgIcons/MarkdownIcon.d.mts} +0 -0
  170. /package/{esm/svgIcons/MarkdownIcon.js → svgIcons/MarkdownIcon.mjs} +0 -0
  171. /package/{esm/svgIcons/MaterialDesignIcon.d.ts → svgIcons/MaterialDesignIcon.d.mts} +0 -0
  172. /package/{esm/svgIcons/MaterialDesignIcon.js → svgIcons/MaterialDesignIcon.mjs} +0 -0
  173. /package/{esm/svgIcons/SketchIcon.d.ts → svgIcons/SketchIcon.d.mts} +0 -0
  174. /package/{esm/svgIcons/SketchIcon.js → svgIcons/SketchIcon.mjs} +0 -0
  175. /package/{esm/svgIcons/TypeScript.d.ts → svgIcons/TypeScript.d.mts} +0 -0
  176. /package/{esm/svgIcons/TypeScript.js → svgIcons/TypeScript.mjs} +0 -0
  177. /package/{esm/svgIcons/W3CIcon.d.ts → svgIcons/W3CIcon.d.mts} +0 -0
  178. /package/{esm/svgIcons/W3CIcon.js → svgIcons/W3CIcon.mjs} +0 -0
  179. /package/{esm/translations/index.js → translations/index.mjs} +0 -0
  180. /package/{esm/utils/loadScript.d.ts → utils/loadScript.d.mts} +0 -0
  181. /package/{esm/utils/loadScript.js → utils/loadScript.mjs} +0 -0
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+
3
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = useLazyCSS;
8
+ var React = _interopRequireWildcard(require("react"));
9
+ var _fgLoadcss = require("fg-loadcss");
10
+ /**
11
+ * Enhanced lazy CSS loader that wraps CSS in a layer using fetch to avoid CORS issues
12
+ * @param {string} href - URL of the CSS file to load
13
+ * @param {string} before - CSS selector to insert before
14
+ * @param {object} options - Additional options
15
+ * @param {string} options.layer - Optional CSS layer name to wrap the CSS in
16
+ * @returns {() => void} cleanup function
17
+ */
18
+ function useLazyCSS(href, before, options = {}) {
19
+ React.useEffect(() => {
20
+ // If no layer is specified, add style and clean it on unmount
21
+ if (!options.layer) {
22
+ const link = (0, _fgLoadcss.loadCSS)(href, document.querySelector(before));
23
+ return () => {
24
+ link.parentElement?.removeChild(link);
25
+ };
26
+ }
27
+
28
+ // With layer option, we need to fetch the CSS content and wrap it
29
+ let styleElement = null;
30
+ const abortController = new AbortController();
31
+
32
+ // Fetch the CSS content directly to avoid CORS issues with cssRules
33
+ fetch(href, {
34
+ signal: abortController.signal
35
+ }).then(response => {
36
+ if (!response.ok) {
37
+ throw new Error(`Failed to fetch CSS: ${response.statusText}`);
38
+ }
39
+ return response.text();
40
+ }).then(cssText => {
41
+ // Create a style element with the CSS wrapped in the specified layer
42
+ styleElement = document.createElement('style');
43
+ styleElement.setAttribute('data-href', href);
44
+ styleElement.textContent = `@layer ${options.layer} {\n${cssText}\n}`;
45
+
46
+ // Insert at the specified position
47
+ const beforeElement = document.querySelector(before);
48
+ if (beforeElement?.parentNode) {
49
+ beforeElement.parentNode.insertBefore(styleElement, beforeElement);
50
+ } else {
51
+ document.head.appendChild(styleElement);
52
+ }
53
+ }).catch(error => {
54
+ // Ignore abort errors, log others
55
+ if (error !== 'useEffect' && error.name !== 'AbortError') {
56
+ if (process.env.NODE_ENV !== 'production') {
57
+ console.error('Error loading CSS with layer:', error);
58
+ }
59
+
60
+ // Fall back to regular link element if fetch fails
61
+ styleElement = (0, _fgLoadcss.loadCSS)(href, document.querySelector(before));
62
+ }
63
+ });
64
+
65
+ // Cleanup function
66
+ return () => {
67
+ // Cancel any pending fetch
68
+ abortController.abort('useEffect');
69
+
70
+ // Remove the style element if it was created
71
+ if (styleElement && styleElement.parentElement) {
72
+ styleElement.parentElement.removeChild(styleElement);
73
+ }
74
+ };
75
+ }, [href, before, options.layer]);
76
+ }
@@ -0,0 +1,70 @@
1
+ import * as React from 'react';
2
+ import { loadCSS } from 'fg-loadcss';
3
+
4
+ /**
5
+ * Enhanced lazy CSS loader that wraps CSS in a layer using fetch to avoid CORS issues
6
+ * @param {string} href - URL of the CSS file to load
7
+ * @param {string} before - CSS selector to insert before
8
+ * @param {object} options - Additional options
9
+ * @param {string} options.layer - Optional CSS layer name to wrap the CSS in
10
+ * @returns {() => void} cleanup function
11
+ */
12
+ export default function useLazyCSS(href, before, options = {}) {
13
+ React.useEffect(() => {
14
+ // If no layer is specified, add style and clean it on unmount
15
+ if (!options.layer) {
16
+ const link = loadCSS(href, document.querySelector(before));
17
+ return () => {
18
+ link.parentElement?.removeChild(link);
19
+ };
20
+ }
21
+
22
+ // With layer option, we need to fetch the CSS content and wrap it
23
+ let styleElement = null;
24
+ const abortController = new AbortController();
25
+
26
+ // Fetch the CSS content directly to avoid CORS issues with cssRules
27
+ fetch(href, {
28
+ signal: abortController.signal
29
+ }).then(response => {
30
+ if (!response.ok) {
31
+ throw new Error(`Failed to fetch CSS: ${response.statusText}`);
32
+ }
33
+ return response.text();
34
+ }).then(cssText => {
35
+ // Create a style element with the CSS wrapped in the specified layer
36
+ styleElement = document.createElement('style');
37
+ styleElement.setAttribute('data-href', href);
38
+ styleElement.textContent = `@layer ${options.layer} {\n${cssText}\n}`;
39
+
40
+ // Insert at the specified position
41
+ const beforeElement = document.querySelector(before);
42
+ if (beforeElement?.parentNode) {
43
+ beforeElement.parentNode.insertBefore(styleElement, beforeElement);
44
+ } else {
45
+ document.head.appendChild(styleElement);
46
+ }
47
+ }).catch(error => {
48
+ // Ignore abort errors, log others
49
+ if (error !== 'useEffect' && error.name !== 'AbortError') {
50
+ if (process.env.NODE_ENV !== 'production') {
51
+ console.error('Error loading CSS with layer:', error);
52
+ }
53
+
54
+ // Fall back to regular link element if fetch fails
55
+ styleElement = loadCSS(href, document.querySelector(before));
56
+ }
57
+ });
58
+
59
+ // Cleanup function
60
+ return () => {
61
+ // Cancel any pending fetch
62
+ abortController.abort('useEffect');
63
+
64
+ // Remove the style element if it was created
65
+ if (styleElement && styleElement.parentElement) {
66
+ styleElement.parentElement.removeChild(styleElement);
67
+ }
68
+ };
69
+ }, [href, before, options.layer]);
70
+ }
package/esm/Ad/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export * from "./Ad.js";
2
- export * from "./AdManager.js";
3
- export * from "./AdProvider.js";
4
- export * from "./AdGuest.js";
5
- export { AdCarbonInline } from "./AdCarbon.js";
package/esm/Ad/index.js DELETED
@@ -1,7 +0,0 @@
1
- /// <reference types="gtag.js" />
2
-
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";
@@ -1,3 +0,0 @@
1
- export * from "./CodeCopy.js";
2
- export * from "./CodeCopyButton.js";
3
- export { default as useClipboardCopy } from "./useClipboardCopy.js";
@@ -1,3 +0,0 @@
1
- export * from "./CodeCopy.js";
2
- export * from "./CodeCopyButton.js";
3
- export { default as useClipboardCopy } from "./useClipboardCopy.js";
@@ -1 +0,0 @@
1
- export * from "./DocsProvider.js";
@@ -1 +0,0 @@
1
- export * from "./DocsProvider.js";
@@ -1 +0,0 @@
1
- export * from "./HighlightedCode.js";
@@ -1 +0,0 @@
1
- export * from "./HighlightedCode.js";
@@ -1,2 +0,0 @@
1
- export * from "./HighlightedCodeWithTabs.js";
2
- export { HighlightedCodeWithTabs as default } from "./HighlightedCodeWithTabs.js";
@@ -1,2 +0,0 @@
1
- export * from "./HighlightedCodeWithTabs.js";
2
- export { HighlightedCodeWithTabs as default } from "./HighlightedCodeWithTabs.js";
@@ -1 +0,0 @@
1
- export * from "./InfoCard.js";
@@ -1 +0,0 @@
1
- export * from "./InfoCard.js";
@@ -1 +0,0 @@
1
- export * from "./Link.js";
package/esm/Link/index.js DELETED
@@ -1 +0,0 @@
1
- export * from "./Link.js";
@@ -1 +0,0 @@
1
- export * from "./MarkdownElement.js";
@@ -1 +0,0 @@
1
- export * from "./MarkdownElement.js";
@@ -1,2 +0,0 @@
1
- export { default } from "./NProgressBar.js";
2
- export * from "./NProgressBar.js";
@@ -1 +0,0 @@
1
- export { default } from "./NProgressBar.js";
@@ -1 +0,0 @@
1
- export * from "./SectionTitle.js";
@@ -1 +0,0 @@
1
- export * from "./SectionTitle.js";
@@ -1,2 +0,0 @@
1
- export * from "./brandingTheme.js";
2
- export * from "./BrandingProvider.js";
@@ -1,2 +0,0 @@
1
- export * from "./brandingTheme.js";
2
- export * from "./BrandingProvider.js";
@@ -1 +0,0 @@
1
- export * from "./i18n.js";
package/esm/i18n/index.js DELETED
@@ -1 +0,0 @@
1
- export * from "./i18n.js";
package/esm/package.json DELETED
@@ -1 +0,0 @@
1
- {"type":"module","sideEffects":false}
@@ -1,3 +0,0 @@
1
- import type { Translations } from "../i18n/index.js";
2
- declare const _default: Record<string, Translations>;
3
- export default _default;
@@ -1,223 +0,0 @@
1
- {
2
- "adblock": "If you don't mind tech-related ads (no tracking or remarketing), and want to keep us running, please whitelist us in your blocker.",
3
- "adPublisher": "ad by {{publisher}}",
4
- "aiCustomizeDemo": "Want to customize this?",
5
- "aiChatFailed": "Failed to open MUI Chat",
6
- "api-docs": {
7
- "componentName": "Component name",
8
- "componentsApi": "Components API",
9
- "themeDefaultProps": "Theme default props",
10
- "themeDefaultPropsDescription": "You can use <code>{{muiName}}</code> to change the default props of this component <a href={{defaultPropsLink}}>with the theme</a>.",
11
- "classes": "CSS classes",
12
- "classesDescription": "These class names are useful for styling with CSS. They are applied to the component's slots when specific states are triggered.",
13
- "className": "Class name",
14
- "cssDescription": "The following class names are useful for styling with CSS (the <a href=\"/material-ui/customization/how-to-customize/#state-classes\">state classes</a> are marked). <br /> To learn more, visit the <a href=\"/material-ui/customization/theme-components/\">component customization</a> page.",
15
- "css": "CSS",
16
- "cssComponent": "As a CSS utility, the {{name}} component also supports all <a href=\"/system/properties/\"><code>system</code></a> properties. You can use them as props directly on the component.",
17
- "default": "Default",
18
- "defaultComponent": "Default component",
19
- "defaultValue": "Default value",
20
- "defaultHTMLTag": "Default HTML tag",
21
- "defaultDeprecationMessage": "This API is deprecated.",
22
- "demos": "Demos",
23
- "deprecated": "Deprecated",
24
- "description": "Description",
25
- "globalClass": "Global class",
26
- "defaultClass": "Default class",
27
- "hookName": "Hook name",
28
- "hooksApi": "Hooks API",
29
- "hooksNoParameters": "This hook does not accept any input parameters.",
30
- "hooksPageDescription": "API reference docs for the {{name}} hook. Learn about the input parameters and other APIs of this exported module.",
31
- "import": "Import",
32
- "importDifference": "Learn about the difference by <a href=\"/material-ui/guides/minimizing-bundle-size/\">reading this guide on minimizing bundle size</a>.",
33
- "inheritance": "Inheritance",
34
- "inheritanceDescription": "While not explicitly documented above, the props of the <a href=\"{{pathname}}\">{{component}}</a> component{{suffix}} are also available in {{name}}. You can take advantage of this to <a href=\"/material-ui/guides/api/#spread\">target nested components</a>.",
35
- "inheritanceSuffixTransition": " from react-transition-group",
36
- "name": "Name",
37
- "nativeElement": "native",
38
- "overrideStyles": "You can override the style of the component using one of these customization options:\n",
39
- "overrideStylesStyledComponent": "<ul>\n<li>With a <a href=\"/material-ui/integrations/interoperability/#global-css\">global class name</a>.</li>\n<li>With a rule name as part of the component's <a href=\"{{styleOverridesLink}}\"><code>styleOverrides</code> property</a> in a custom theme.</li>\n</ul>",
40
- "pageDescription": "API reference docs for the React {{name}} component. Learn about the props, CSS, and other APIs of this exported module.",
41
- "props": "Props",
42
- "properties": "Properties",
43
- "parameters": "Parameters",
44
- "requires-ref": "This <a href=\"/material-ui/guides/composition/#caveat-with-refs\">needs to be able to hold a ref</a>.",
45
- "returns": "Returns: ",
46
- "returnValue": "Return value",
47
- "refNotHeld": "The component cannot hold a ref.",
48
- "refRootElement": "The <code>ref</code> is forwarded to the root element.",
49
- "ruleName": "Rule name",
50
- "seeSourceCode": "If you did not find the information in this page, consider having a look at the <a href=\"{{href}}\">implementation of the component</a> for more detail.",
51
- "signature": "Signature",
52
- "slots": "Slots",
53
- "spreadHint": "Props of the {{spreadHintElement}} component are also available.",
54
- "state": "STATE",
55
- "styleOverrides": "The name <code>{{componentStyles.name}}</code> can be used when providing <a href={{defaultPropsLink}}>default props</a> or <a href={{styleOverridesLink}}>style overrides</a> in the theme.",
56
- "slotDescription": "To learn how to customize the slot, check out the <a href={{slotGuideLink}}>Overriding component structure</a> guide.",
57
- "slotName": "Slot name",
58
- "source-code": "Source code",
59
- "type": "Type",
60
- "required": "Required",
61
- "optional": "Optional",
62
- "additional-info": {
63
- "cssApi": "See <a href='#classes'>CSS classes API</a> below for more details.",
64
- "sx": "See the <a href='/system/getting-started/the-sx-prop/'>`sx` page</a> for more details.",
65
- "slotsApi": "See <a href='#slots'>Slots API</a> below for more details.",
66
- "joy-size": "To learn how to add custom sizes to the component, check out <a href='/joy-ui/customization/themed-components/#extend-sizes'>Themed components—Extend sizes</a>.",
67
- "joy-color": "To learn how to add your own colors, check out <a href='/joy-ui/customization/themed-components/#extend-colors'>Themed components—Extend colors</a>.",
68
- "joy-variant": "To learn how to add your own variants, check out <a href='/joy-ui/customization/themed-components/#extend-variants'>Themed components—Extend variants</a>."
69
- }
70
- },
71
- "marketingPageDescr": "A responsive marketing page layout with sections for product features, testimonials, pricing, and FAQs.",
72
- "marketingPageTitle": "Marketing page",
73
- "searchButton": "Search…",
74
- "algoliaSearch": "What are you looking for?",
75
- "appFrame": {
76
- "changeLanguage": "Change language",
77
- "github": "GitHub repository",
78
- "helpToTranslate": "Help to translate",
79
- "openDrawer": "Open main navigation",
80
- "skipToContent": "Skip to content",
81
- "toggleSettings": "Toggle settings drawer"
82
- },
83
- "backToTop": "Scroll back to top",
84
- "backToOpenRoles": "Back to open roles",
85
- "blogDescr": "A sleek, modern blog homepage layout with Markdown support via markdown-to-jsx.",
86
- "blogTitle": "Blog",
87
- "bundleSize": "Bundle size",
88
- "bundleSizeTooltip": "Scroll down to 'Exports Analysis' for a more detailed report.",
89
- "cancel": "Cancel",
90
- "cdn": "or use a CDN.",
91
- "checkoutDescr": "A sophisticated checkout flow with fully customizable steps.",
92
- "checkoutTitle": "Checkout",
93
- "clickToCopy": "Click to copy",
94
- "close": "Close",
95
- "codesandbox": "Edit in CodeSandbox",
96
- "copied": "Copied",
97
- "copiedSource": "The source code has been copied to your clipboard.",
98
- "copiedSourceLink": "Link to the source code has been copied to your clipboard.",
99
- "copySource": "Copy the source",
100
- "copySourceLinkJS": "Copy link to JavaScript source",
101
- "copySourceLinkTS": "Copy link to TypeScript source",
102
- "dashboardDescr": "A complex data visualization dashboard featuring the MUI X Data Grid and Charts.",
103
- "dashboardTitle": "Dashboard",
104
- "decreaseSpacing": "decrease spacing",
105
- "demoToolbarLabel": "demo source",
106
- "demoStylingSelectSystem": "MUI System",
107
- "demoStylingSelectTailwind": "Tailwind CSS",
108
- "demoStylingSelectCSS": "Plain CSS",
109
- "diamondSponsors": "Diamond sponsors",
110
- "becomeADiamondSponsor": "Become a Diamond sponsor",
111
- "diamondSponsorVacancies": "One spot left!",
112
- "editorHint": "Press <kbd>Enter</kbd> to start editing",
113
- "editPage": "Edit this page",
114
- "emojiLove": "Love",
115
- "emojiWarning": "Warning",
116
- "expandAll": "Expand all",
117
- "feedbackCommentLabel": "Comment",
118
- "feedbackFailed": "Couldn't submit feedback. Please try again later.",
119
- "feedbackMessage": "Was this page helpful?",
120
- "feedbackMessageDown": "How can we improve this page? (optional)",
121
- "feedbackMessageUp": "What did you like about this page? (optional)",
122
- "feedbackSectionSpecific": "How can we improve the <strong>{{sectionName}}</strong> section? (optional)",
123
- "feedbackMessageToGitHub": {
124
- "usecases": "If something is broken or if you need a reply to a problem you've encountered, please",
125
- "reasonWhy": "Otherwise, the team won't be able to answer back or ask for more information.",
126
- "callToAction": {
127
- "link": "open an issue instead."
128
- }
129
- },
130
- "feedbackNo": "No",
131
- "feedbackSubmitted": "Feedback submitted",
132
- "feedbackYes": "Yes",
133
- "footerCompany": "Company",
134
- "goToHome": "go to homepage",
135
- "getProfessionalSupport": "Get Professional Support",
136
- "getStarted": "Get Started",
137
- "githubLabel": "Feedback",
138
- "headTitle": "MUI: A popular React UI framework",
139
- "hideFullSource": "Collapse code",
140
- "hideSource": "Hide code",
141
- "homeQuickWord": "A quick word from our sponsors:",
142
- "increaseSpacing": "increase spacing",
143
- "initialFocusLabel": "A generic container that is programmatically focused to test keyboard navigation of our components.",
144
- "installation": "Installation",
145
- "installButton": "Read installation docs",
146
- "installDescr": "Install MUI's source files via npm. We take care of injecting the CSS needed.",
147
- "joinThese": "Join these and other great organizations!",
148
- "JS": "JavaScript",
149
- "letUsKnow": "Let us know!",
150
- "likeMui": "Help us keep running",
151
- "loadFont": "Load the default Roboto font.",
152
- "mainNavigation": "documentation",
153
- "newest": "Newest",
154
- "openDrawer": "Open documentation navigation",
155
- "or": "or",
156
- "pageTOC": "Page table of contents",
157
- "praise": "Praise for MUI",
158
- "praiseDescr": "Here's what some of our users are saying.",
159
- "pricingDescr": "Quickly build an effective pricing table for your potential customers.",
160
- "pricingTitle": "Pricing",
161
- "resetDemo": "Reset demo",
162
- "resetDensity": "Reset density",
163
- "resetFocus": "Reset focus to test keyboard navigation",
164
- "searchIcons": {
165
- "learnMore": "Learn more about the import"
166
- },
167
- "seeMore": "See more",
168
- "settings": {
169
- "color": "Color",
170
- "dark": "Dark",
171
- "direction": "Direction",
172
- "editDocsColors": "Edit documentation colors",
173
- "light": "Light",
174
- "ltr": "Left to right",
175
- "mode": "Mode",
176
- "rtl": "Right to left",
177
- "settings": "Settings",
178
- "system": "System",
179
- "language": "Language"
180
- },
181
- "showFullSource": "Expand code",
182
- "showJSSource": "Show JavaScript source",
183
- "showSource": "Show code",
184
- "showTSSource": "Show TypeScript source",
185
- "signInDescr": "A clean and efficient sign-in page, ready for your favorite auth provider.",
186
- "signInSideDescr": "A responsive, two-column sign-in page for adding content alongside the form.",
187
- "signInSideTitle": "Sign-in side",
188
- "signInTitle": "Sign-in",
189
- "signUpDescr": "A clean and efficient sign-up page, perfect for pairing with a sign-in template.",
190
- "signUpTitle": "Sign-up",
191
- "crudDashboardTitle": "CRUD dashboard",
192
- "crudDashboardDescr": "Dashboard with CRUD pages and mobile-friendly layout with highly customizable sidebar.",
193
- "sourceCode": "Source code",
194
- "spacingUnit": "Spacing unit",
195
- "stackblitz": "Edit in StackBlitz",
196
- "stars": "GitHub stars",
197
- "stickyFooterDescr": "Attach a footer to the bottom of the viewport when page content is short.",
198
- "stickyFooterTitle": "Sticky footer",
199
- "strapline": "MUI provides a simple, customizable, and accessible library of React components. Follow your own design system, or start with Material Design.",
200
- "submit": "Submit",
201
- "tableOfContents": "Contents",
202
- "thanks": "Thank you!",
203
- "themes": "Premium themes",
204
- "themesButton": "Browse themes",
205
- "themesDescr": "Take your project to the next level with premium themes from our store – all built on MUI.",
206
- "toggleNotifications": "Toggle notifications panel",
207
- "toggleRTL": "Toggle right-to-left/left-to-right",
208
- "traffic": "Traffic",
209
- "TS": "TypeScript",
210
- "v5IsOut": "🎉 v5 release candidate is out! Head to the",
211
- "v5docsLink": "v5 documentation",
212
- "v5startAdoption": "to get started.",
213
- "unreadNotifications": "unread notifications",
214
- "usage": "Usage",
215
- "usageButton": "Explore the docs",
216
- "usageDescr": "MUI components work without any additional setup, and don't pollute the global scope.",
217
- "useDarkTheme": "Use dark theme",
218
- "useHighDensity": "Apply higher density via props",
219
- "usingMui": "Are you using MUI?",
220
- "viewGitHub": "View the source on GitHub",
221
- "visit": "Visit the website",
222
- "whosUsing": "Who's using MUI?"
223
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes