@mui/internal-markdown 2.0.6 → 2.0.7
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/package.json +2 -2
- package/prepareMarkdown.mjs +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/internal-markdown",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "MUI markdown parser. This is an internal package not meant for general use.",
|
|
6
6
|
"main": "./index.mjs",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"directory": "packages/markdown"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@babel/runtime": "^7.27.
|
|
24
|
+
"@babel/runtime": "^7.27.6",
|
|
25
25
|
"lodash": "^4.17.21",
|
|
26
26
|
"marked": "^15.0.12",
|
|
27
27
|
"prismjs": "^1.30.0"
|
package/prepareMarkdown.mjs
CHANGED
|
@@ -113,15 +113,6 @@ function prepareMarkdown(config) {
|
|
|
113
113
|
|
|
114
114
|
const contents = getContents(markdown);
|
|
115
115
|
|
|
116
|
-
if (headers.unstyled) {
|
|
117
|
-
contents.push(`
|
|
118
|
-
## Unstyled
|
|
119
|
-
|
|
120
|
-
Use the [Base UI ${markdownH1}](${headers.unstyled}) for complete ownership of the component's design, with no Material UI or Joy UI styles to override.
|
|
121
|
-
This unstyled version of the component is the ideal choice for heavy customization with a smaller bundle size.
|
|
122
|
-
`);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
116
|
if (headers.components.length > 0 && headers.productId !== 'base-ui') {
|
|
126
117
|
contents.push(`
|
|
127
118
|
## API
|