Skip to content

Commit

Permalink
Merge branch 'master' into mention-toolpad
Browse files Browse the repository at this point in the history
  • Loading branch information
prakhargupta1 authored Nov 12, 2024
2 parents 5e09e01 + e84fc98 commit 98e4930
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 94 deletions.
2 changes: 1 addition & 1 deletion docs/data/material/components/snackbars/snackbars.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ The Snackbar component is composed of a root `<div>` that houses interior elemen
</div>
```

## Experimental APIs - Toolpad
## Toolpad (Beta)

### useNotifications

Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@mui/x-tree-view": "7.22.1",
"@popperjs/core": "^2.11.8",
"@react-spring/web": "^9.7.5",
"@toolpad/core": "^0.8.1",
"@toolpad/core": "^0.9.0",
"autoprefixer": "^10.4.20",
"autosuggest-highlight": "^3.3.4",
"babel-plugin-module-resolver": "^5.0.2",
Expand Down
2 changes: 1 addition & 1 deletion docs/scripts/reportBrokenLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function getPageLinks(markdown) {
hrefs.push(href);
}
};
marked(markdown, { mangle: false, headerIds: false, renderer });
marked(markdown, { renderer });
return hrefs;
}

Expand Down
7 changes: 0 additions & 7 deletions packages/markdown/parseMarkdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,8 @@ const prism = require('./prism');
*/
const markedOptions = {
gfm: true,
tables: true,
breaks: false,
pedantic: false,
sanitize: false,
smartLists: true,
smartypants: false,
headerPrefix: false,
headerIds: false,
mangle: false,
};

const headerRegExp = /---[\r\n]([\s\S]*)[\r\n]---/;
Expand Down
6 changes: 4 additions & 2 deletions packages/mui-docs/src/Ad/ad.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ export const adBodyImageStyles = (theme: Theme) => ({
border: '1px dashed',
borderColor: theme.palette.divider,
borderRadius: theme.shape.borderRadius,
padding: '8px 8px 8px calc(8px + 130px)',
padding: 8,
paddingLeft: 8 + 130,
[theme.breakpoints.up('sm')]: {
padding: '12px 12px 12px calc(12px + 130px)',
padding: 12,
paddingLeft: 12 + 130,
},
},
imgWrapper: {
Expand Down
100 changes: 18 additions & 82 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 98e4930

Please sign in to comment.