@mui/docs 9.0.0-alpha.3 → 9.0.0-beta.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/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 +158 -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 +224 -3
- package/DemoContext/DemoContext.d.ts +1 -1
- package/{AnalyticsProvider → DocsApp}/AnalyticsProvider.js +10 -6
- package/DocsApp/DocsApp.d.ts +79 -0
- package/DocsApp/DocsApp.js +105 -0
- package/{GoogleAnalytics → DocsApp}/GoogleAnalytics.js +4 -4
- package/DocsApp/StyledEngineProvider.d.ts +8 -0
- package/{StyledEngineProvider → DocsApp}/StyledEngineProvider.js +2 -8
- package/DocsApp/consoleBanner.d.ts +1 -0
- package/DocsApp/consoleBanner.js +18 -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/Document/Document.js +2 -2
- package/Document/getInitialProps.js +3 -5
- package/InfoCard/InfoCard.js +9 -5
- package/Link/SkipLink.js +1 -3
- package/NextNProgressBar/NextNProgressBar.js +0 -2
- package/PageContext/PageContext.d.ts +6 -5
- package/branding/BrandingCssVarsProvider.d.ts +9 -5
- package/branding/BrandingCssVarsProvider.js +1 -1
- package/branding/brandingTheme.js +82 -75
- package/codeStyling/codeStyling.d.ts +7 -10
- package/codeStyling/codeStyling.js +0 -4
- package/codeVariant/codeVariant.d.ts +7 -10
- package/codeVariant/codeVariant.js +0 -4
- package/constants/constants.d.ts +10 -10
- package/constants/index.d.ts +1 -1
- package/constants/index.js +1 -1
- package/package.json +35 -44
- package/utils/index.js +0 -1
- package/webpack/index.d.ts +17 -0
- package/webpack/index.js +1 -0
- package/AnalyticsProvider/index.d.ts +0 -1
- package/AnalyticsProvider/index.js +0 -1
- package/GoogleAnalytics/index.d.ts +0 -1
- package/GoogleAnalytics/index.js +0 -1
- package/StyledEngineProvider/StyledEngineProvider.d.ts +0 -9
- package/StyledEngineProvider/index.d.ts +0 -1
- package/StyledEngineProvider/index.js +0 -1
- package/createEmotionCache/index.d.ts +0 -1
- package/createEmotionCache/index.js +0 -1
- /package/{AnalyticsProvider → DocsApp}/AnalyticsProvider.d.ts +0 -0
- /package/{GoogleAnalytics → DocsApp}/GoogleAnalytics.d.ts +0 -0
- /package/{createEmotionCache → DocsApp}/createEmotionCache.d.ts +0 -0
- /package/{createEmotionCache → DocsApp}/createEmotionCache.js +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/docs",
|
|
3
|
-
"version": "9.0.0-
|
|
3
|
+
"version": "9.0.0-beta.0",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "MUI Docs - Documentation building blocks.",
|
|
6
6
|
"keywords": [
|
|
@@ -22,26 +22,27 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://github.com/mui/material-ui/tree/master/packages/mui-docs",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@babel/runtime": "^7.
|
|
25
|
+
"@babel/runtime": "^7.29.2",
|
|
26
26
|
"clipboard-copy": "^4.0.1",
|
|
27
27
|
"clsx": "^2.1.1",
|
|
28
|
+
"es-toolkit": "^1.45.1",
|
|
28
29
|
"fg-loadcss": "^3.1.0",
|
|
29
30
|
"nprogress": "^0.2.0",
|
|
30
31
|
"prop-types": "^15.8.1",
|
|
31
32
|
"stylis": "4.2.0",
|
|
32
|
-
"@mui/
|
|
33
|
-
"@mui/internal-markdown": "^3.0.3"
|
|
33
|
+
"@mui/internal-markdown": "^3.0.5"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@emotion/cache": "^11.14.0",
|
|
37
37
|
"@emotion/react": "^11.14.0",
|
|
38
38
|
"@emotion/styled": "^11.14.1",
|
|
39
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 || ^
|
|
41
|
-
"@mui/material": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^
|
|
42
|
-
"@mui/material-nextjs": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^
|
|
43
|
-
"@mui/
|
|
44
|
-
"@mui/
|
|
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",
|
|
45
46
|
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
46
47
|
"@types/stylis": "^4.2.7",
|
|
47
48
|
"chai": "^6.0.1",
|
|
@@ -76,14 +77,14 @@
|
|
|
76
77
|
"default": "./Ad/index.js"
|
|
77
78
|
}
|
|
78
79
|
},
|
|
79
|
-
"./
|
|
80
|
+
"./ApiPage": {
|
|
80
81
|
"import": {
|
|
81
|
-
"types": "./
|
|
82
|
-
"default": "./
|
|
82
|
+
"types": "./ApiPage/index.d.ts",
|
|
83
|
+
"default": "./ApiPage/index.js"
|
|
83
84
|
},
|
|
84
85
|
"default": {
|
|
85
|
-
"types": "./
|
|
86
|
-
"default": "./
|
|
86
|
+
"types": "./ApiPage/index.d.ts",
|
|
87
|
+
"default": "./ApiPage/index.js"
|
|
87
88
|
}
|
|
88
89
|
},
|
|
89
90
|
"./CodeCopy": {
|
|
@@ -116,6 +117,16 @@
|
|
|
116
117
|
"default": "./DemoContext/index.js"
|
|
117
118
|
}
|
|
118
119
|
},
|
|
120
|
+
"./DocsApp": {
|
|
121
|
+
"import": {
|
|
122
|
+
"types": "./DocsApp/index.d.ts",
|
|
123
|
+
"default": "./DocsApp/index.js"
|
|
124
|
+
},
|
|
125
|
+
"default": {
|
|
126
|
+
"types": "./DocsApp/index.d.ts",
|
|
127
|
+
"default": "./DocsApp/index.js"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
119
130
|
"./DocsProvider": {
|
|
120
131
|
"import": {
|
|
121
132
|
"types": "./DocsProvider/index.d.ts",
|
|
@@ -136,16 +147,6 @@
|
|
|
136
147
|
"default": "./Document/index.js"
|
|
137
148
|
}
|
|
138
149
|
},
|
|
139
|
-
"./GoogleAnalytics": {
|
|
140
|
-
"import": {
|
|
141
|
-
"types": "./GoogleAnalytics/index.d.ts",
|
|
142
|
-
"default": "./GoogleAnalytics/index.js"
|
|
143
|
-
},
|
|
144
|
-
"default": {
|
|
145
|
-
"types": "./GoogleAnalytics/index.d.ts",
|
|
146
|
-
"default": "./GoogleAnalytics/index.js"
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
150
|
"./HighlightedCode": {
|
|
150
151
|
"import": {
|
|
151
152
|
"types": "./HighlightedCode/index.d.ts",
|
|
@@ -256,16 +257,6 @@
|
|
|
256
257
|
"default": "./SectionTitle/index.js"
|
|
257
258
|
}
|
|
258
259
|
},
|
|
259
|
-
"./StyledEngineProvider": {
|
|
260
|
-
"import": {
|
|
261
|
-
"types": "./StyledEngineProvider/index.d.ts",
|
|
262
|
-
"default": "./StyledEngineProvider/index.js"
|
|
263
|
-
},
|
|
264
|
-
"default": {
|
|
265
|
-
"types": "./StyledEngineProvider/index.d.ts",
|
|
266
|
-
"default": "./StyledEngineProvider/index.js"
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
260
|
"./ThemeContext": {
|
|
270
261
|
"import": {
|
|
271
262
|
"types": "./ThemeContext/index.d.ts",
|
|
@@ -316,16 +307,6 @@
|
|
|
316
307
|
"default": "./constants/index.js"
|
|
317
308
|
}
|
|
318
309
|
},
|
|
319
|
-
"./createEmotionCache": {
|
|
320
|
-
"import": {
|
|
321
|
-
"types": "./createEmotionCache/index.d.ts",
|
|
322
|
-
"default": "./createEmotionCache/index.js"
|
|
323
|
-
},
|
|
324
|
-
"default": {
|
|
325
|
-
"types": "./createEmotionCache/index.d.ts",
|
|
326
|
-
"default": "./createEmotionCache/index.js"
|
|
327
|
-
}
|
|
328
|
-
},
|
|
329
310
|
"./findActivePage": {
|
|
330
311
|
"import": {
|
|
331
312
|
"types": "./findActivePage/index.d.ts",
|
|
@@ -425,6 +406,16 @@
|
|
|
425
406
|
"types": "./utils/index.d.ts",
|
|
426
407
|
"default": "./utils/index.js"
|
|
427
408
|
}
|
|
409
|
+
},
|
|
410
|
+
"./webpack": {
|
|
411
|
+
"import": {
|
|
412
|
+
"types": "./webpack/index.d.ts",
|
|
413
|
+
"default": "./webpack/index.js"
|
|
414
|
+
},
|
|
415
|
+
"default": {
|
|
416
|
+
"types": "./webpack/index.d.ts",
|
|
417
|
+
"default": "./webpack/index.js"
|
|
418
|
+
}
|
|
428
419
|
}
|
|
429
420
|
}
|
|
430
421
|
}
|
package/utils/index.js
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type declarations for webpack's require.context() API.
|
|
3
|
+
*
|
|
4
|
+
* Usage: import '@mui/docs/webpack' in a .d.ts or at the top of a file,
|
|
5
|
+
* or add to tsconfig "types".
|
|
6
|
+
*/
|
|
7
|
+
export interface WebpackRequireContext {
|
|
8
|
+
(req: string): string;
|
|
9
|
+
keys: () => string[];
|
|
10
|
+
}
|
|
11
|
+
declare global {
|
|
12
|
+
namespace NodeJS {
|
|
13
|
+
interface Require {
|
|
14
|
+
context(directory: string, useSubdirectories?: boolean, regExp?: RegExp, mode?: string): WebpackRequireContext;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
package/webpack/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AnalyticsProvider, useAnalyticsConsent, CookieConsentDialog } from "./AnalyticsProvider.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AnalyticsProvider, useAnalyticsConsent, CookieConsentDialog } from "./AnalyticsProvider.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./GoogleAnalytics.js";
|
package/GoogleAnalytics/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./GoogleAnalytics.js";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare function StyledEngineProvider(props: any): import("react/jsx-runtime").JSX.Element;
|
|
2
|
-
declare namespace StyledEngineProvider {
|
|
3
|
-
namespace propTypes {
|
|
4
|
-
let cacheLtr: PropTypes.Validator<object>;
|
|
5
|
-
let children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
export default StyledEngineProvider;
|
|
9
|
-
import PropTypes from 'prop-types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./StyledEngineProvider.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./StyledEngineProvider.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./createEmotionCache.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./createEmotionCache.js";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|