Skip to content

Commit edaa644

Browse files
committed
docs: regenerate API docs with elevation and square prop defaults
1 parent 2d7e0d1 commit edaa644

File tree

6 files changed

+14
-0
lines changed

6 files changed

+14
-0
lines changed

docs/pages/material-ui/api/alert.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"deprecated": true,
2626
"deprecationInfo": "use the <code>slotProps</code> prop instead. This prop will be removed in a future major release. See <a href=\"https://mui.com/material-ui/migration/migrating-from-deprecated-apis/\">Migrating from deprecated APIs</a> for more details."
2727
},
28+
"elevation": { "type": { "name": "number" }, "default": "0" },
2829
"icon": { "type": { "name": "node" } },
2930
"iconMapping": {
3031
"type": {

docs/pages/material-ui/api/mobile-stepper.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"activeStep": { "type": { "name": "custom", "description": "integer" }, "default": "0" },
55
"backButton": { "type": { "name": "node" } },
66
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
7+
"elevation": { "type": { "name": "number" }, "default": "0" },
78
"LinearProgressProps": {
89
"type": { "name": "object" },
910
"deprecated": true,
@@ -31,6 +32,7 @@
3132
},
3233
"default": "{}"
3334
},
35+
"square": { "type": { "name": "bool" }, "default": "true" },
3436
"sx": {
3537
"type": {
3638
"name": "union",

docs/pages/material-ui/api/snackbar-content.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"props": {
33
"action": { "type": { "name": "node" } },
44
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
5+
"elevation": { "type": { "name": "number" }, "default": "6" },
56
"message": { "type": { "name": "node" } },
67
"role": { "type": { "name": "string" }, "default": "'alert'" },
78
"sx": {

docs/translations/api-docs/alert/alert.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
"componentsProps": {
1717
"description": "The extra props for the slot components. You can override the existing props or add new ones."
1818
},
19+
"elevation": {
20+
"description": "Shadow depth, corresponds to <code>dp</code> in the spec. It accepts values between 0 and 24 inclusive."
21+
},
1922
"icon": {
2023
"description": "Override the icon displayed before the children. Unless provided, the icon is mapped to the value of the <code>severity</code> prop. Set to <code>false</code> to remove the <code>icon</code>."
2124
},

docs/translations/api-docs/mobile-stepper/mobile-stepper.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
"description": "A back button element. For instance, it can be a <code>Button</code> or an <code>IconButton</code>."
99
},
1010
"classes": { "description": "Override or extend the styles applied to the component." },
11+
"elevation": {
12+
"description": "Shadow depth, corresponds to <code>dp</code> in the spec. It accepts values between 0 and 24 inclusive."
13+
},
1114
"LinearProgressProps": {
1215
"description": "Props applied to the <code>LinearProgress</code> element."
1316
},
@@ -17,6 +20,7 @@
1720
"position": { "description": "Set the positioning type." },
1821
"slotProps": { "description": "The props used for each slot inside." },
1922
"slots": { "description": "The components used for each slot inside." },
23+
"square": { "description": "If <code>false</code>, rounded corners are disabled." },
2024
"steps": { "description": "The total steps." },
2125
"sx": {
2226
"description": "The system prop that allows defining system overrides as well as additional CSS styles."

docs/translations/api-docs/snackbar-content/snackbar-content.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"description": "The action to display. It renders after the message, at the end of the snackbar."
66
},
77
"classes": { "description": "Override or extend the styles applied to the component." },
8+
"elevation": {
9+
"description": "Shadow depth, corresponds to <code>dp</code> in the spec. It accepts values between 0 and 24 inclusive."
10+
},
811
"message": { "description": "The message to display." },
912
"role": { "description": "The ARIA role attribute of the element." },
1013
"sx": {

0 commit comments

Comments
 (0)