a
element will be used as the root node."
},
+ "loading": {
+ "description": "If true
, the loading indicator is shown and the button becomes disabled."
+ },
+ "loadingIndicator": {
+ "description": "Element placed before the children if the button is in loading state. The node should contain an element with role="progressbar"
with an accessible name. By default we render a CircularProgress
that is labelled by the button itself."
+ },
+ "loadingPosition": {
+ "description": "The loading indicator can be positioned on the start, end, or the center of the button."
+ },
"size": {
"description": "The size of the component. small
is equivalent to the dense button styling."
},
@@ -149,6 +158,11 @@
"nodeName": "the endIcon element",
"conditions": "supplied"
},
+ "endIconLoadingEnd": {
+ "description": "Styles applied to {{nodeName}} if {{conditions}}.",
+ "nodeName": "the endIcon element",
+ "conditions": "loading={true}
and loadingPosition=\"end\"
"
+ },
"focusVisible": {
"description": "State class applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the ButtonBase root element",
@@ -178,6 +192,30 @@
"conditions": "supplied and size=\"small\"
",
"deprecationInfo": "Combine the .MuiButton-icon and .MuiButtonSizeSmall classes instead. See Migrating from deprecated APIs for more details."
},
+ "loading": {
+ "description": "Styles applied to {{nodeName}} if {{conditions}}.",
+ "nodeName": "the root element",
+ "conditions": "loading={true}
"
+ },
+ "loadingIndicator": {
+ "description": "Styles applied to {{nodeName}}.",
+ "nodeName": "the loadingIndicator element"
+ },
+ "loadingIndicatorCenter": {
+ "description": "Styles applied to {{nodeName}} if {{conditions}}.",
+ "nodeName": "the loadingIndicator element",
+ "conditions": "loadingPosition=\"center\"
"
+ },
+ "loadingIndicatorEnd": {
+ "description": "Styles applied to {{nodeName}} if {{conditions}}.",
+ "nodeName": "the loadingIndicator element",
+ "conditions": "loadingPosition=\"end\"
"
+ },
+ "loadingIndicatorStart": {
+ "description": "Styles applied to {{nodeName}} if {{conditions}}.",
+ "nodeName": "the loadingIndicator element",
+ "conditions": "loadingPosition=\"start\"
"
+ },
"outlined": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
@@ -264,6 +302,11 @@
"nodeName": "the startIcon element",
"conditions": "supplied"
},
+ "startIconLoadingStart": {
+ "description": "Styles applied to {{nodeName}} if {{conditions}}.",
+ "nodeName": "the startIcon element",
+ "conditions": "loading={true}
and loadingPosition=\"start\"
"
+ },
"text": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
diff --git a/docs/translations/api-docs/icon-button/icon-button.json b/docs/translations/api-docs/icon-button/icon-button.json
index 76558bfba72680..03aeb7ec720d0c 100644
--- a/docs/translations/api-docs/icon-button/icon-button.json
+++ b/docs/translations/api-docs/icon-button/icon-button.json
@@ -16,6 +16,12 @@
"edge": {
"description": "If given, uses a negative margin to counteract the padding on one side (this is often helpful for aligning the left or right side of the icon with content above or below, without ruining the border size and shape)."
},
+ "loading": {
+ "description": "If true
, the loading indicator is shown and the button becomes disabled."
+ },
+ "loadingIndicator": {
+ "description": "Element placed before the children if the button is in loading state. The node should contain an element with role="progressbar"
with an accessible name. By default we render a CircularProgress
that is labelled by the button itself."
+ },
"size": {
"description": "The size of the component. small
is equivalent to the dense button styling."
},
@@ -74,6 +80,15 @@
"nodeName": "the root element",
"conditions": "edge=\"start\"
"
},
+ "loading": {
+ "description": "Styles applied to {{nodeName}} if {{conditions}}.",
+ "nodeName": "the root element",
+ "conditions": "loading={true}
"
+ },
+ "loadingIndicator": {
+ "description": "Styles applied to {{nodeName}}.",
+ "nodeName": "the loadingIndicator element"
+ },
"root": { "description": "Styles applied to the root element." },
"sizeLarge": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
diff --git a/docs/translations/api-docs/loading-button/loading-button.json b/docs/translations/api-docs/loading-button/loading-button.json
deleted file mode 100644
index 9babb1623d14c9..00000000000000
--- a/docs/translations/api-docs/loading-button/loading-button.json
+++ /dev/null
@@ -1,356 +0,0 @@
-{
- "componentDescription": "",
- "propDescriptions": {
- "children": { "description": "The content of the component." },
- "classes": { "description": "Override or extend the styles applied to the component." },
- "disabled": { "description": "If true
, the component is disabled." },
- "loading": {
- "description": "If true
, the loading indicator is shown and the button becomes disabled."
- },
- "loadingIndicator": {
- "description": "Element placed before the children if the button is in loading state. The node should contain an element with role="progressbar"
with an accessible name. By default we render a CircularProgress
that is labelled by the button itself."
- },
- "loadingPosition": {
- "description": "The loading indicator can be positioned on the start, end, or the center of the button."
- },
- "sx": {
- "description": "The system prop that allows defining system overrides as well as additional CSS styles."
- },
- "variant": { "description": "The variant to use." }
- },
- "classDescriptions": {
- "colorError": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "color=\"error\"
"
- },
- "colorInfo": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "color=\"info\"
"
- },
- "colorInherit": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "color=\"inherit\"
"
- },
- "colorPrimary": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "color=\"primary\"
"
- },
- "colorSecondary": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "color=\"secondary\"
"
- },
- "colorSuccess": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "color=\"success\"
"
- },
- "colorWarning": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "color=\"warning\"
"
- },
- "contained": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"contained\"
"
- },
- "containedError": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"contained\"
and color=\"error\"
",
- "deprecationInfo": "Combine the .MuiButton-contained and .MuiButton-colorError classes instead. See Migrating from deprecated APIs for more details."
- },
- "containedInfo": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"contained\"
and color=\"info\"
",
- "deprecationInfo": "Combine the .MuiButton-contained and .MuiButton-colorInfo classes instead. See Migrating from deprecated APIs for more details."
- },
- "containedInherit": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"contained\"
and color=\"inherit\"
",
- "deprecationInfo": "Combine the .MuiButton-contained and .MuiButton-colorInherit classes instead. See Migrating from deprecated APIs for more details."
- },
- "containedPrimary": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"contained\"
and color=\"primary\"
",
- "deprecationInfo": "Combine the .MuiButton-contained and .MuiButton-colorPrimary classes instead. See Migrating from deprecated APIs for more details."
- },
- "containedSecondary": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"contained\"
and color=\"secondary\"
",
- "deprecationInfo": "Combine the .MuiButton-contained and .MuiButton-colorSecondary classes instead. See Migrating from deprecated APIs for more details."
- },
- "containedSizeLarge": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "size=\"large\"
and variant=\"contained\"
",
- "deprecationInfo": "Combine the .MuiButton-sizeLarge and .MuiButton-contained classes instead. See Migrating from deprecated APIs for more details."
- },
- "containedSizeMedium": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "size=\"medium\"
and variant=\"contained\"
",
- "deprecationInfo": "Combine the .MuiButton-sizeMedium and .MuiButton-contained classes instead. See Migrating from deprecated APIs for more details."
- },
- "containedSizeSmall": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "size=\"small\"
and variant=\"contained\"
",
- "deprecationInfo": "Combine the .MuiButton-sizeSmall and .MuiButton-contained classes instead. See Migrating from deprecated APIs for more details."
- },
- "containedSuccess": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"contained\"
and color=\"success\"
",
- "deprecationInfo": "Combine the .MuiButton-contained and .MuiButton-colorSuccess classes instead. See Migrating from deprecated APIs for more details."
- },
- "containedWarning": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"contained\"
and color=\"warning\"
",
- "deprecationInfo": "Combine the .MuiButton-contained and .MuiButton-colorWarning classes instead. See Migrating from deprecated APIs for more details."
- },
- "disabled": {
- "description": "State class applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "disabled={true}
"
- },
- "disableElevation": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "disableElevation={true}
"
- },
- "endIcon": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the endIcon element",
- "conditions": "supplied"
- },
- "endIconLoadingEnd": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the endIcon element",
- "conditions": "loading={true}
and loadingPosition=\"end\"
"
- },
- "focusVisible": {
- "description": "State class applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the ButtonBase root element",
- "conditions": "the button is keyboard focused"
- },
- "fullWidth": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "fullWidth={true}
"
- },
- "icon": { "description": "Styles applied to the icon element if supplied" },
- "iconSizeLarge": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the icon element",
- "conditions": "supplied and size=\"large\"
",
- "deprecationInfo": "Combine the .MuiButton-icon and .MuiButtonSizeLarge classes instead. See Migrating from deprecated APIs for more details."
- },
- "iconSizeMedium": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the icon element",
- "conditions": "supplied and size=\"medium\"
",
- "deprecationInfo": "Combine the .MuiButton-icon and .MuiButtonSizeMedium classes instead. See Migrating from deprecated APIs for more details."
- },
- "iconSizeSmall": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the icon element",
- "conditions": "supplied and size=\"small\"
",
- "deprecationInfo": "Combine the .MuiButton-icon and .MuiButtonSizeSmall classes instead. See Migrating from deprecated APIs for more details."
- },
- "label": {
- "description": "Styles applied to {{nodeName}}.",
- "nodeName": "the span element that wraps the children"
- },
- "loading": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "loading={true}
"
- },
- "loadingIndicator": {
- "description": "Styles applied to {{nodeName}}.",
- "nodeName": "the loadingIndicator element"
- },
- "loadingIndicatorCenter": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the loadingIndicator element",
- "conditions": "loadingPosition=\"center\"
"
- },
- "loadingIndicatorEnd": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the loadingIndicator element",
- "conditions": "loadingPosition=\"end\"
"
- },
- "loadingIndicatorStart": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the loadingIndicator element",
- "conditions": "loadingPosition=\"start\"
"
- },
- "outlined": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"outlined\"
"
- },
- "outlinedError": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"outlined\"
and color=\"error\"
",
- "deprecationInfo": "Combine the .MuiButton-outlined and .MuiButton-colorError classes instead. See Migrating from deprecated APIs for more details."
- },
- "outlinedInfo": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"outlined\"
and color=\"info\"
",
- "deprecationInfo": "Combine the .MuiButton-outlined and .MuiButton-colorInfo classes instead. See Migrating from deprecated APIs for more details."
- },
- "outlinedInherit": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"outlined\"
and color=\"inherit\"
",
- "deprecationInfo": "Combine the .MuiButton-outlined and .MuiButton-colorInherit classes instead. See Migrating from deprecated APIs for more details."
- },
- "outlinedPrimary": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"outlined\"
and color=\"primary\"
",
- "deprecationInfo": "Combine the .MuiButton-outlined and .MuiButton-colorPrimary classes instead. See Migrating from deprecated APIs for more details."
- },
- "outlinedSecondary": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"outlined\"
and color=\"secondary\"
",
- "deprecationInfo": "Combine the .MuiButton-outlined and .MuiButton-colorSecondary classes instead. See Migrating from deprecated APIs for more details."
- },
- "outlinedSizeLarge": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "size=\"large\"
and variant=\"outlined\"
",
- "deprecationInfo": "Combine the .MuiButton-sizeLarge and .MuiButton-outlined classes instead. See Migrating from deprecated APIs for more details."
- },
- "outlinedSizeMedium": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "size=\"medium\"
and variant=\"outlined\"
",
- "deprecationInfo": "Combine the .MuiButton-sizeMedium and .MuiButton-outlined classes instead. See Migrating from deprecated APIs for more details."
- },
- "outlinedSizeSmall": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "size=\"small\"
and variant=\"outlined\"
",
- "deprecationInfo": "Combine the .MuiButton-sizeSmall and .MuiButton-outlined classes instead. See Migrating from deprecated APIs for more details."
- },
- "outlinedSuccess": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"outlined\"
and color=\"success\"
",
- "deprecationInfo": "Combine the .MuiButton-outlined and .MuiButton-colorSuccess classes instead. See Migrating from deprecated APIs for more details."
- },
- "outlinedWarning": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"outlined\"
and color=\"warning\"
",
- "deprecationInfo": "Combine the .MuiButton-outlined and .MuiButton-colorWarning classes instead. See Migrating from deprecated APIs for more details."
- },
- "root": { "description": "Styles applied to the root element." },
- "sizeLarge": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "size=\"large\"
"
- },
- "sizeMedium": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "size=\"medium\"
"
- },
- "sizeSmall": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "size=\"small\"
"
- },
- "startIcon": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the startIcon element",
- "conditions": "supplied"
- },
- "startIconLoadingStart": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the startIcon element",
- "conditions": "loading={true}
and loadingPosition=\"start\"
"
- },
- "text": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"text\"
"
- },
- "textError": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"text\"
and color=\"error\"
",
- "deprecationInfo": "Combine the .MuiButton-text and .MuiButton-colorError classes instead. See Migrating from deprecated APIs for more details."
- },
- "textInfo": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"text\"
and color=\"info\"
",
- "deprecationInfo": "Combine the .MuiButton-text and .MuiButton-colorInfo classes instead. See Migrating from deprecated APIs for more details."
- },
- "textInherit": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"text\"
and color=\"inherit\"
",
- "deprecationInfo": "Combine the .MuiButton-text and .MuiButton-colorInherit classes instead. See Migrating from deprecated APIs for more details."
- },
- "textPrimary": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"text\"
and color=\"primary\"
",
- "deprecationInfo": "Combine the .MuiButton-text and .MuiButton-colorPrimary classes instead. See Migrating from deprecated APIs for more details."
- },
- "textSecondary": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"text\"
and color=\"secondary\"
",
- "deprecationInfo": "Combine the .MuiButton-text and .MuiButton-colorSecondary classes instead. See Migrating from deprecated APIs for more details."
- },
- "textSizeLarge": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "size=\"large\"
and variant=\"text\"
",
- "deprecationInfo": "Combine the .MuiButton-sizeLarge and .MuiButton-text classes instead. See Migrating from deprecated APIs for more details."
- },
- "textSizeMedium": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "size=\"medium\"
and variant=\"text\"
",
- "deprecationInfo": "Combine the .MuiButton-sizeMedium and .MuiButton-text classes instead. See Migrating from deprecated APIs for more details."
- },
- "textSizeSmall": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "size=\"small\"
and variant=\"text\"
",
- "deprecationInfo": "Combine the .MuiButton-sizeSmall and .MuiButton-text classes instead. See Migrating from deprecated APIs for more details."
- },
- "textSuccess": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"text\"
and color=\"success\"
",
- "deprecationInfo": "Combine the .MuiButton-text and .MuiButton-colorSuccess classes instead. See Migrating from deprecated APIs for more details."
- },
- "textWarning": {
- "description": "Styles applied to {{nodeName}} if {{conditions}}.",
- "nodeName": "the root element",
- "conditions": "variant=\"text\"
and color=\"warning\"
",
- "deprecationInfo": "Combine the .MuiButton-text and .MuiButton-colorWarning classes instead. See Migrating from deprecated APIs for more details."
- }
- }
-}
diff --git a/packages/mui-lab/src/LoadingButton/LoadingButton.d.ts b/packages/mui-lab/src/LoadingButton/LoadingButton.d.ts
index 193b192ddf029d..da2a708e023be3 100644
--- a/packages/mui-lab/src/LoadingButton/LoadingButton.d.ts
+++ b/packages/mui-lab/src/LoadingButton/LoadingButton.d.ts
@@ -1,80 +1,2 @@
-import { ExtendButton, ExtendButtonTypeMap, ButtonClasses } from '@mui/material/Button';
-import { OverrideProps } from '@mui/material/OverridableComponent';
-import { Theme } from '@mui/material/styles';
-import { SxProps } from '@mui/system';
-
-export interface LoadingButtonOwnProps {
- /**
- * Override or extend the styles applied to the component.
- */
- classes?: Partialslots.transition
instead. This prop will be removed in v7. See Migrating from deprecated APIs for more details."
+ },
+ "TransitionProps": {
+ "type": { "name": "object" },
+ "deprecated": true,
+ "deprecationInfo": "Use slotProps.transition
instead. This prop will be removed in v7. See Migrating from deprecated APIs for more details."
+ }
},
"name": "Accordion",
"imports": [
diff --git a/docs/pages/material-ui/api/autocomplete.json b/docs/pages/material-ui/api/autocomplete.json
index 0eebdc3261a28d..b61f4c3c93fdaa 100644
--- a/docs/pages/material-ui/api/autocomplete.json
+++ b/docs/pages/material-ui/api/autocomplete.json
@@ -16,7 +16,11 @@
},
"default": "false"
},
- "ChipProps": { "type": { "name": "object" } },
+ "ChipProps": {
+ "type": { "name": "object" },
+ "deprecated": true,
+ "deprecationInfo": "Use slotProps.chip
instead. This prop will be removed in v7. See Migrating from deprecated APIs for more details."
+ },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"clearIcon": { "type": { "name": "node" }, "default": "slotProps.listbox.component
instead. This prop will be removed in v7. See Migrating from deprecated APIs for more details."
+ },
+ "ListboxProps": {
+ "type": { "name": "object" },
+ "deprecated": true,
+ "deprecationInfo": "Use slotProps.listbox
instead. This prop will be removed in v7. See Migrating from deprecated APIs for more details."
+ },
"loading": { "type": { "name": "bool" }, "default": "false" },
"loadingText": { "type": { "name": "node" }, "default": "'Loading…'" },
"multiple": { "type": { "name": "bool" }, "default": "false" },
@@ -137,8 +150,18 @@
"open": { "type": { "name": "bool" } },
"openOnFocus": { "type": { "name": "bool" }, "default": "false" },
"openText": { "type": { "name": "string" }, "default": "'Open'" },
- "PaperComponent": { "type": { "name": "elementType" }, "default": "Paper" },
- "PopperComponent": { "type": { "name": "elementType" }, "default": "Popper" },
+ "PaperComponent": {
+ "type": { "name": "elementType" },
+ "default": "Paper",
+ "deprecated": true,
+ "deprecationInfo": "Use slots.paper
instead. This prop will be removed in v7. See Migrating from deprecated APIs for more details."
+ },
+ "PopperComponent": {
+ "type": { "name": "elementType" },
+ "default": "Popper",
+ "deprecated": true,
+ "deprecationInfo": "Use slots.popper
instead. This prop will be removed in v7. See Migrating from deprecated APIs for more details."
+ },
"popupIcon": { "type": { "name": "node" }, "default": "slotProps.img
instead. This prop will be removed in v7. See Migrating from deprecated APIs for more details."
+ },
"sizes": { "type": { "name": "string" } },
"slotProps": {
"type": { "name": "shape", "description": "{ img?: funcslots.transition
instead. This prop will be removed in v7. See Migrating from deprecated APIs for more details."
+ },
"transitionDuration": {
"type": {
"name": "union",
diff --git a/docs/pages/material-ui/api/speed-dial.json b/docs/pages/material-ui/api/speed-dial.json
index de5ec1866b4d4d..de7696ebdd9125 100644
--- a/docs/pages/material-ui/api/speed-dial.json
+++ b/docs/pages/material-ui/api/speed-dial.json
@@ -44,7 +44,12 @@
},
"additionalInfo": { "sx": true }
},
- "TransitionComponent": { "type": { "name": "elementType" }, "default": "Zoom" },
+ "TransitionComponent": {
+ "type": { "name": "elementType" },
+ "default": "Zoom\n* @deprecated Use `slots.transition` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)",
+ "deprecated": true,
+ "deprecationInfo": "Use slots.transition
instead. This prop will be removed in v7. How to migrate"
+ },
"transitionDuration": {
"type": {
"name": "union",
@@ -52,7 +57,11 @@
},
"default": "{\n enter: theme.transitions.duration.enteringScreen,\n exit: theme.transitions.duration.leavingScreen,\n}"
},
- "TransitionProps": { "type": { "name": "object" } }
+ "TransitionProps": {
+ "type": { "name": "object" },
+ "deprecated": true,
+ "deprecationInfo": "Use slotProps.transition
instead. This prop will be removed in v7. How to migrate"
+ }
},
"name": "SpeedDial",
"imports": [
diff --git a/docs/pages/material-ui/api/step-label.json b/docs/pages/material-ui/api/step-label.json
index 50cf61702588a3..8c51868b91236d 100644
--- a/docs/pages/material-ui/api/step-label.json
+++ b/docs/pages/material-ui/api/step-label.json
@@ -22,8 +22,16 @@
"type": { "name": "shape", "description": "{ label?: elementType, stepIcon?: elementType }" },
"default": "{}"
},
- "StepIconComponent": { "type": { "name": "elementType" } },
- "StepIconProps": { "type": { "name": "object" } },
+ "StepIconComponent": {
+ "type": { "name": "elementType" },
+ "deprecated": true,
+ "deprecationInfo": "Use slots.stepIcon
instead. This prop will be removed in v7. See Migrating from deprecated APIs for more details."
+ },
+ "StepIconProps": {
+ "type": { "name": "object" },
+ "deprecated": true,
+ "deprecationInfo": "Use slotProps.stepIcon
instead. This prop will be removed in v7. See Migrating from deprecated APIs for more details."
+ },
"sx": {
"type": {
"name": "union",
diff --git a/packages/mui-codemod/README.md b/packages/mui-codemod/README.md
index 77c2dd3f137d77..7c65a8f0d7e0e3 100644
--- a/packages/mui-codemod/README.md
+++ b/packages/mui-codemod/README.md
@@ -275,12 +275,14 @@ npx @mui/codemod@latest deprecations/alert-props A carefully curated list of third-party tools that expand or build on top of Material UI.
+A carefully curated list of tools that expand or build on top of Material UI.
-Developers from the community have built some excellent supplemental tools for working with Material UI—this page highlights some of the best that we've seen. +The MUI org and developers from the community have built some excellent supplemental tools for working with Material UI—this page highlights some of the best that we've seen. Do you have a project that you think should be featured here? Feel free to submit a pull request and the maintainers will work with you to write the description. -## Premium tools +## Third-party app starters -- [ScaffoldHub](https://v2.scaffoldhub.io/scaffolds/react-material-ui?partner=1): +### Admin frameworks - - Tool for building web applications. - - Choose your framework and library (React with Material UI). - - Choose your database (SQL, MongoDB or Firestore). - - Model your database and application with the intuitive GUI. - - Generate your application, including a complete scaffolded backend. - - Preview your application online and download the generated code. +- [React-admin](https://github.com/marmelab/react-admin): A front-end framework for building data-driven applications running in the browser on top of REST/GraphQL APIs. +- [Refine](https://github.com/refinedev/refine): An open source, headless React meta-framework for the rapid development of web applications. + +### Paid starters - [Divjoy](https://divjoy.com?via=material-ui): - Create a Material UI app in minutes. - Templates, authentication, database integration, subscription payments, and more. -## Free tools - -### Admin frameworks - -- [React-admin](https://github.com/marmelab/react-admin): A front-end framework for building data-driven applications running in the browser on top of REST/GraphQL APIs. -- [Refine](https://github.com/refinedev/refine): An open source, headless React meta-framework for the rapid development of web applications. +- [ScaffoldHub](https://v2.scaffoldhub.io/scaffolds/react-material-ui?partner=1): + - Tool for building web applications. + - Choose your framework and library (React with Material UI). + - Choose your database (SQL, MongoDB or Firestore). + - Model your database and application with the intuitive GUI. + - Generate your application, including a complete scaffolded backend. + - Preview your application online and download the generated code. -### Theming tools +## Third-party theming tools - [Material palette generator](https://m2.material.io/inline-tools/color/): The official Material Design 2 palette generator tool. -### Supplementary components +## Supplementary components -#### Layout +### Layout - [MUI Treasury Layout](https://mui-treasury.com/?path=/docs/layout-v6-introduction--docs): Components to handle the overall layout of a page. Check out examples such as [a legacy.reactjs.org clone](https://mui-treasury.com/?path=/story/layout-v6-app-react-legacy--react-legacy). -#### Image +### Image - [mui-image](https://github.com/benmneb/mui-image): The only Material UI image component to satisfy the Material Design 2 guidelines for loading images. -#### Chips input +### Chips input - [mui-chips-input](https://github.com/viclafouch/mui-chips-input): A chips input designed for use with Material UI. -#### Phone number input +### Phone number input - [mui-tel-input](https://github.com/viclafouch/mui-tel-input): A phone number input designed for use with Material UI, built with [libphonenumber-js](https://www.npmjs.com/package/libphonenumber-js). -#### One-time password input +### One-time password input - [mui-otp-input](https://github.com/viclafouch/mui-otp-input): A one-time password input designed for use with Material UI. -#### File input +### File input - [mui-file-input](https://github.com/viclafouch/mui-file-input): A file input designed for use with Material UI. -#### Color input +### Color input - [mui-color-input](https://github.com/viclafouch/mui-color-input): A color input designed for use with Material UI, built with [TinyColor](https://tinycolor.vercel.app/). -#### Rich text editor +### Rich text editor - [mui-tiptap](https://github.com/sjdemartini/mui-tiptap): A customizable Material UI-styled WYSIWYG rich text editor, built with [Tiptap](https://tiptap.dev/). + +### Form + + + +- [react-hook-form-mui](https://github.com/dohomi/react-hook-form-mui): Material UI and [react-hook-form](https://react-hook-form.com/) combined. +- [formik-material-ui](https://github.com/stackworx/formik-mui): Bindings for using Material UI with [formik](https://formik.org/). +- [mui-rff](https://github.com/lookfirst/mui-rff): Bindings for using Material UI with [React Final Form](https://final-form.org/react). +- [@ui-schema/ds-material](https://www.npmjs.com/package/@ui-schema/ds-material) Bindings for using Material UI with [UI Schema](https://github.com/ui-schema/ui-schema). JSON Schema compatible. + +### Notification + +- [notistack](https://github.com/iamhosseindhv/notistack): Display multiple snackbars that can be stacked and queued—this tool makes it simpler to handle the open and close states. From aef2bf2234f95b5e2614c2645f0fec5c355a248b Mon Sep 17 00:00:00 2001 From: Olivier Tassinari