Skip to content

Commit 3018428

Browse files
Merge branch 'master' into remove-ownerState-propogation-accordion-transition-slot
2 parents ac5ca15 + 981b033 commit 3018428

File tree

14 files changed

+67
-117
lines changed

14 files changed

+67
-117
lines changed

.github/ISSUE_TEMPLATE/1.bug.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,8 @@ body:
2828
2929
Please provide a link to a live example and an unambiguous set of steps to reproduce this bug. See our [documentation](https://mui.com/material-ui/getting-started/support/#bug-reproductions) on how to build a reproduction case.
3030
value: |
31-
Link to live example: (required)
32-
3331
Steps:
34-
1.
32+
1. Open this link to live example: (required)
3533
2.
3634
3.
3735
- type: textarea

docs/data/material/components/rating/BasicRating.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ export default function BasicRating() {
1616
setValue(newValue);
1717
}}
1818
/>
19+
<Typography component="legend">Uncontrolled</Typography>
20+
<Rating
21+
name="simple-uncontrolled"
22+
onChange={(event, newValue) => {
23+
console.log(newValue);
24+
}}
25+
defaultValue={2}
26+
/>
1927
<Typography component="legend">Read only</Typography>
2028
<Rating name="read-only" value={value} readOnly />
2129
<Typography component="legend">Disabled</Typography>

docs/data/material/components/rating/BasicRating.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ export default function BasicRating() {
1616
setValue(newValue);
1717
}}
1818
/>
19+
<Typography component="legend">Uncontrolled</Typography>
20+
<Rating
21+
name="simple-uncontrolled"
22+
onChange={(event, newValue) => {
23+
console.log(newValue);
24+
}}
25+
defaultValue={2}
26+
/>
1927
<Typography component="legend">Read only</Typography>
2028
<Rating name="read-only" value={value} readOnly />
2129
<Typography component="legend">Disabled</Typography>

docs/data/material/components/rating/BasicRating.tsx.preview

Lines changed: 0 additions & 14 deletions
This file was deleted.

docs/data/material/components/snackbars/snackbars.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ The Snackbar component is composed of a root `<div>` that houses interior elemen
141141
</div>
142142
```
143143

144-
## Experimental APIs - Toolpad
144+
## Toolpad (Beta)
145145

146146
### useNotifications
147147

docs/data/material/experimental-api/pigment-css/pigment-css.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ npm install --save-dev @pigment-css/nextjs-plugin
4848
```
4949

5050
```bash Vite
51-
npm install @pigment-css/react@next
52-
npm install --save-dev @pigment-css/vite-plugin@next
51+
npm install @pigment-css/react
52+
npm install --save-dev @pigment-css/vite-plugin
5353
```
5454

5555
</codeblock>

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@mui/x-tree-view": "7.22.1",
5555
"@popperjs/core": "^2.11.8",
5656
"@react-spring/web": "^9.7.5",
57-
"@toolpad/core": "^0.8.1",
57+
"@toolpad/core": "^0.9.0",
5858
"autoprefixer": "^10.4.20",
5959
"autosuggest-highlight": "^3.3.4",
6060
"babel-plugin-module-resolver": "^5.0.2",

docs/scripts/reportBrokenLinks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function getPageLinks(markdown) {
1515
hrefs.push(href);
1616
}
1717
};
18-
marked(markdown, { mangle: false, headerIds: false, renderer });
18+
marked(markdown, { renderer });
1919
return hrefs;
2020
}
2121

packages/markdown/parseMarkdown.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,8 @@ const prism = require('./prism');
77
*/
88
const markedOptions = {
99
gfm: true,
10-
tables: true,
1110
breaks: false,
1211
pedantic: false,
13-
sanitize: false,
14-
smartLists: true,
15-
smartypants: false,
16-
headerPrefix: false,
17-
headerIds: false,
18-
mangle: false,
1912
};
2013

2114
const headerRegExp = /---[\r\n]([\s\S]*)[\r\n]---/;

packages/mui-docs/src/Ad/ad.styles.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ export const adBodyImageStyles = (theme: Theme) => ({
77
border: '1px dashed',
88
borderColor: theme.palette.divider,
99
borderRadius: theme.shape.borderRadius,
10-
padding: '8px 8px 8px calc(8px + 130px)',
10+
padding: 8,
11+
paddingLeft: 8 + 130,
1112
[theme.breakpoints.up('sm')]: {
12-
padding: '12px 12px 12px calc(12px + 130px)',
13+
padding: 12,
14+
paddingLeft: 12 + 130,
1315
},
1416
},
1517
imgWrapper: {

0 commit comments

Comments
 (0)