diff --git a/docs/pages/base/api/badge-unstyled.json b/docs/pages/base/api/badge-unstyled.json index 061394f0054ada..ff3cf3f6a195b3 100644 --- a/docs/pages/base/api/badge-unstyled.json +++ b/docs/pages/base/api/badge-unstyled.json @@ -3,9 +3,9 @@ "badgeContent": { "type": { "name": "node" } }, "children": { "type": { "name": "node" } }, "component": { "type": { "name": "elementType" } }, - "invisible": { "type": { "name": "bool" } }, + "invisible": { "type": { "name": "bool" }, "default": "false" }, "max": { "type": { "name": "number" }, "default": "99" }, - "showZero": { "type": { "name": "bool" } }, + "showZero": { "type": { "name": "bool" }, "default": "false" }, "slotProps": { "type": { "name": "shape", diff --git a/docs/pages/base/api/button-unstyled.json b/docs/pages/base/api/button-unstyled.json index 0d8eb201e62173..693f9f8225510a 100644 --- a/docs/pages/base/api/button-unstyled.json +++ b/docs/pages/base/api/button-unstyled.json @@ -7,8 +7,8 @@ } }, "component": { "type": { "name": "elementType" } }, - "disabled": { "type": { "name": "bool" } }, - "focusableWhenDisabled": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "focusableWhenDisabled": { "type": { "name": "bool" }, "default": "false" }, "slotProps": { "type": { "name": "shape", "description": "{ root?: func
| object }" }, "default": "{}" diff --git a/docs/pages/base/api/click-away-listener.json b/docs/pages/base/api/click-away-listener.json index 3f3e2df71deb06..a16c09f70dc1b1 100644 --- a/docs/pages/base/api/click-away-listener.json +++ b/docs/pages/base/api/click-away-listener.json @@ -2,7 +2,7 @@ "props": { "children": { "type": { "name": "custom", "description": "element" }, "required": true }, "onClickAway": { "type": { "name": "func" }, "required": true }, - "disableReactTree": { "type": { "name": "bool" } }, + "disableReactTree": { "type": { "name": "bool" }, "default": "false" }, "mouseEvent": { "type": { "name": "enum", diff --git a/docs/pages/base/api/focus-trap.json b/docs/pages/base/api/focus-trap.json index 7152d1a72eb1f1..a3bde11162bea4 100644 --- a/docs/pages/base/api/focus-trap.json +++ b/docs/pages/base/api/focus-trap.json @@ -2,9 +2,9 @@ "props": { "open": { "type": { "name": "bool" }, "required": true }, "children": { "type": { "name": "custom", "description": "element" } }, - "disableAutoFocus": { "type": { "name": "bool" } }, - "disableEnforceFocus": { "type": { "name": "bool" } }, - "disableRestoreFocus": { "type": { "name": "bool" } }, + "disableAutoFocus": { "type": { "name": "bool" }, "default": "false" }, + "disableEnforceFocus": { "type": { "name": "bool" }, "default": "false" }, + "disableRestoreFocus": { "type": { "name": "bool" }, "default": "false" }, "getTabbable": { "type": { "name": "func" } }, "isEnabled": { "type": { "name": "func" }, diff --git a/docs/pages/base/api/form-control-unstyled.json b/docs/pages/base/api/form-control-unstyled.json index 2bc8014c37c3fc..26e152d6bd30f0 100644 --- a/docs/pages/base/api/form-control-unstyled.json +++ b/docs/pages/base/api/form-control-unstyled.json @@ -2,9 +2,9 @@ "props": { "children": { "type": { "name": "union", "description": "node
| func" } }, "component": { "type": { "name": "elementType" } }, - "disabled": { "type": { "name": "bool" } }, - "error": { "type": { "name": "bool" } }, - "required": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "error": { "type": { "name": "bool" }, "default": "false" }, + "required": { "type": { "name": "bool" }, "default": "false" }, "slotProps": { "type": { "name": "shape", "description": "{ root?: func
| object }" }, "default": "{}" diff --git a/docs/pages/base/api/input-unstyled.json b/docs/pages/base/api/input-unstyled.json index 6119f8483e4df8..15bc795ae065f9 100644 --- a/docs/pages/base/api/input-unstyled.json +++ b/docs/pages/base/api/input-unstyled.json @@ -11,7 +11,7 @@ "id": { "type": { "name": "string" } }, "maxRows": { "type": { "name": "number" } }, "minRows": { "type": { "name": "number" } }, - "multiline": { "type": { "name": "bool" } }, + "multiline": { "type": { "name": "bool" }, "default": "false" }, "name": { "type": { "name": "string" } }, "placeholder": { "type": { "name": "string" } }, "readOnly": { "type": { "name": "bool" } }, diff --git a/docs/pages/base/api/menu-item-unstyled.json b/docs/pages/base/api/menu-item-unstyled.json index dec6ad9cb8b796..a5a26e8126cb9c 100644 --- a/docs/pages/base/api/menu-item-unstyled.json +++ b/docs/pages/base/api/menu-item-unstyled.json @@ -1,7 +1,7 @@ { "props": { "component": { "type": { "name": "elementType" } }, - "disabled": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, "label": { "type": { "name": "string" } }, "slotProps": { "type": { "name": "shape", "description": "{ root?: func
| object }" }, diff --git a/docs/pages/base/api/menu-unstyled.json b/docs/pages/base/api/menu-unstyled.json index f5dc28f0a806bd..d366f4d5d1603e 100644 --- a/docs/pages/base/api/menu-unstyled.json +++ b/docs/pages/base/api/menu-unstyled.json @@ -8,9 +8,9 @@ } }, "component": { "type": { "name": "elementType" } }, - "keepMounted": { "type": { "name": "bool" } }, + "keepMounted": { "type": { "name": "bool" }, "default": "false" }, "onClose": { "type": { "name": "func" } }, - "open": { "type": { "name": "bool" } }, + "open": { "type": { "name": "bool" }, "default": "false" }, "slotProps": { "type": { "name": "shape", diff --git a/docs/pages/base/api/modal-unstyled.json b/docs/pages/base/api/modal-unstyled.json index f0a9f32e3c8123..4647cf6e2f62f3 100644 --- a/docs/pages/base/api/modal-unstyled.json +++ b/docs/pages/base/api/modal-unstyled.json @@ -3,17 +3,17 @@ "children": { "type": { "name": "custom", "description": "element" }, "required": true }, "open": { "type": { "name": "bool" }, "required": true }, "classes": { "type": { "name": "object" } }, - "closeAfterTransition": { "type": { "name": "bool" } }, + "closeAfterTransition": { "type": { "name": "bool" }, "default": "false" }, "component": { "type": { "name": "elementType" } }, "container": { "type": { "name": "union", "description": "HTML element
| func" } }, - "disableAutoFocus": { "type": { "name": "bool" } }, - "disableEnforceFocus": { "type": { "name": "bool" } }, - "disableEscapeKeyDown": { "type": { "name": "bool" } }, - "disablePortal": { "type": { "name": "bool" } }, - "disableRestoreFocus": { "type": { "name": "bool" } }, - "disableScrollLock": { "type": { "name": "bool" } }, - "hideBackdrop": { "type": { "name": "bool" } }, - "keepMounted": { "type": { "name": "bool" } }, + "disableAutoFocus": { "type": { "name": "bool" }, "default": "false" }, + "disableEnforceFocus": { "type": { "name": "bool" }, "default": "false" }, + "disableEscapeKeyDown": { "type": { "name": "bool" }, "default": "false" }, + "disablePortal": { "type": { "name": "bool" }, "default": "false" }, + "disableRestoreFocus": { "type": { "name": "bool" }, "default": "false" }, + "disableScrollLock": { "type": { "name": "bool" }, "default": "false" }, + "hideBackdrop": { "type": { "name": "bool" }, "default": "false" }, + "keepMounted": { "type": { "name": "bool" }, "default": "false" }, "onBackdropClick": { "type": { "name": "func" }, "deprecated": true, diff --git a/docs/pages/base/api/multi-select-unstyled.json b/docs/pages/base/api/multi-select-unstyled.json index 061326ea2d836f..106f9b34eafdf6 100644 --- a/docs/pages/base/api/multi-select-unstyled.json +++ b/docs/pages/base/api/multi-select-unstyled.json @@ -1,10 +1,10 @@ { "props": { - "autoFocus": { "type": { "name": "bool" } }, + "autoFocus": { "type": { "name": "bool" }, "default": "false" }, "component": { "type": { "name": "elementType" } }, - "defaultListboxOpen": { "type": { "name": "bool" } }, + "defaultListboxOpen": { "type": { "name": "bool" }, "default": "false" }, "defaultValue": { "type": { "name": "array" }, "default": "[]" }, - "disabled": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, "getSerializedValue": { "type": { "name": "func" } }, "listboxId": { "type": { "name": "string" } }, "listboxOpen": { "type": { "name": "bool" }, "default": "undefined" }, diff --git a/docs/pages/base/api/no-ssr.json b/docs/pages/base/api/no-ssr.json index db2b52a4e84a18..7d30f785012183 100644 --- a/docs/pages/base/api/no-ssr.json +++ b/docs/pages/base/api/no-ssr.json @@ -1,7 +1,7 @@ { "props": { "children": { "type": { "name": "node" } }, - "defer": { "type": { "name": "bool" } }, + "defer": { "type": { "name": "bool" }, "default": "false" }, "fallback": { "type": { "name": "node" }, "default": "null" } }, "name": "NoSsr", diff --git a/docs/pages/base/api/option-group-unstyled.json b/docs/pages/base/api/option-group-unstyled.json index 6b2ec3fec55506..b8f6f18ebf8cd0 100644 --- a/docs/pages/base/api/option-group-unstyled.json +++ b/docs/pages/base/api/option-group-unstyled.json @@ -1,7 +1,7 @@ { "props": { "component": { "type": { "name": "elementType" } }, - "disabled": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, "label": { "type": { "name": "node" } }, "slotProps": { "type": { diff --git a/docs/pages/base/api/option-unstyled.json b/docs/pages/base/api/option-unstyled.json index c8692f2ec55735..bf0272a430848e 100644 --- a/docs/pages/base/api/option-unstyled.json +++ b/docs/pages/base/api/option-unstyled.json @@ -2,7 +2,7 @@ "props": { "value": { "type": { "name": "any" }, "required": true }, "component": { "type": { "name": "elementType" } }, - "disabled": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, "label": { "type": { "name": "string" } }, "slotProps": { "type": { "name": "shape", "description": "{ root?: func
| object }" }, diff --git a/docs/pages/base/api/popper-unstyled.json b/docs/pages/base/api/popper-unstyled.json index 0b02a1cbcf978a..a9f432d9abc257 100644 --- a/docs/pages/base/api/popper-unstyled.json +++ b/docs/pages/base/api/popper-unstyled.json @@ -13,8 +13,8 @@ "type": { "name": "enum", "description": "'ltr'
| 'rtl'" }, "default": "'ltr'" }, - "disablePortal": { "type": { "name": "bool" } }, - "keepMounted": { "type": { "name": "bool" } }, + "disablePortal": { "type": { "name": "bool" }, "default": "false" }, + "keepMounted": { "type": { "name": "bool" }, "default": "false" }, "modifiers": { "type": { "name": "arrayOf", @@ -44,7 +44,7 @@ "type": { "name": "shape", "description": "{ root?: elementType }" }, "default": "{}" }, - "transition": { "type": { "name": "bool" } } + "transition": { "type": { "name": "bool" }, "default": "false" } }, "name": "PopperUnstyled", "styles": { "classes": [], "globalClasses": {}, "name": null }, diff --git a/docs/pages/base/api/portal.json b/docs/pages/base/api/portal.json index 070dcbb50644cd..efff7c204bd87a 100644 --- a/docs/pages/base/api/portal.json +++ b/docs/pages/base/api/portal.json @@ -2,7 +2,7 @@ "props": { "children": { "type": { "name": "node" } }, "container": { "type": { "name": "union", "description": "HTML element
| func" } }, - "disablePortal": { "type": { "name": "bool" } } + "disablePortal": { "type": { "name": "bool" }, "default": "false" } }, "name": "Portal", "styles": { "classes": [], "globalClasses": {}, "name": null }, diff --git a/docs/pages/base/api/select-unstyled.json b/docs/pages/base/api/select-unstyled.json index 19ce9d2148f620..f1f95452f7f71e 100644 --- a/docs/pages/base/api/select-unstyled.json +++ b/docs/pages/base/api/select-unstyled.json @@ -1,10 +1,10 @@ { "props": { - "autoFocus": { "type": { "name": "bool" } }, + "autoFocus": { "type": { "name": "bool" }, "default": "false" }, "component": { "type": { "name": "elementType" } }, - "defaultListboxOpen": { "type": { "name": "bool" } }, + "defaultListboxOpen": { "type": { "name": "bool" }, "default": "false" }, "defaultValue": { "type": { "name": "any" } }, - "disabled": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, "getSerializedValue": { "type": { "name": "func" } }, "listboxId": { "type": { "name": "string" } }, "listboxOpen": { "type": { "name": "bool" }, "default": "undefined" }, diff --git a/docs/pages/base/api/slider-unstyled.json b/docs/pages/base/api/slider-unstyled.json index afd118dfdb3ebd..e4af3218df1492 100644 --- a/docs/pages/base/api/slider-unstyled.json +++ b/docs/pages/base/api/slider-unstyled.json @@ -8,11 +8,11 @@ "defaultValue": { "type": { "name": "union", "description": "Array<number>
| number" } }, - "disabled": { "type": { "name": "bool" } }, - "disableSwap": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "disableSwap": { "type": { "name": "bool" }, "default": "false" }, "getAriaLabel": { "type": { "name": "func" } }, "getAriaValueText": { "type": { "name": "func" } }, - "isRtl": { "type": { "name": "bool" } }, + "isRtl": { "type": { "name": "bool" }, "default": "false" }, "marks": { "type": { "name": "union", diff --git a/docs/pages/base/api/snackbar-unstyled.json b/docs/pages/base/api/snackbar-unstyled.json index e12e2341a17e74..0517f39d14fbca 100644 --- a/docs/pages/base/api/snackbar-unstyled.json +++ b/docs/pages/base/api/snackbar-unstyled.json @@ -2,7 +2,7 @@ "props": { "autoHideDuration": { "type": { "name": "number" }, "default": "null" }, "component": { "type": { "name": "elementType" } }, - "disableWindowBlurListener": { "type": { "name": "bool" } }, + "disableWindowBlurListener": { "type": { "name": "bool" }, "default": "false" }, "exited": { "type": { "name": "bool" }, "default": "true" }, "onClose": { "type": { "name": "func" } }, "open": { "type": { "name": "bool" } }, diff --git a/docs/pages/base/api/tab-unstyled.json b/docs/pages/base/api/tab-unstyled.json index 9ea5db19aa392d..ae3d0e1266a936 100644 --- a/docs/pages/base/api/tab-unstyled.json +++ b/docs/pages/base/api/tab-unstyled.json @@ -7,7 +7,7 @@ } }, "component": { "type": { "name": "elementType" } }, - "disabled": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, "onChange": { "type": { "name": "func" } }, "slotProps": { "type": { "name": "shape", "description": "{ root?: func
| object }" }, diff --git a/docs/pages/material-ui/api/accordion-actions.json b/docs/pages/material-ui/api/accordion-actions.json index 3aa1d840b66ec9..beed19fb0f2ff3 100644 --- a/docs/pages/material-ui/api/accordion-actions.json +++ b/docs/pages/material-ui/api/accordion-actions.json @@ -2,7 +2,7 @@ "props": { "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, - "disableSpacing": { "type": { "name": "bool" } }, + "disableSpacing": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/accordion.json b/docs/pages/material-ui/api/accordion.json index 7d4d04155f5df6..66f4fe9b18f055 100644 --- a/docs/pages/material-ui/api/accordion.json +++ b/docs/pages/material-ui/api/accordion.json @@ -2,12 +2,12 @@ "props": { "children": { "type": { "name": "custom", "description": "node" }, "required": true }, "classes": { "type": { "name": "object" } }, - "defaultExpanded": { "type": { "name": "bool" } }, - "disabled": { "type": { "name": "bool" } }, - "disableGutters": { "type": { "name": "bool" } }, + "defaultExpanded": { "type": { "name": "bool" }, "default": "false" }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "disableGutters": { "type": { "name": "bool" }, "default": "false" }, "expanded": { "type": { "name": "bool" } }, "onChange": { "type": { "name": "func" } }, - "square": { "type": { "name": "bool" } }, + "square": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/app-bar.json b/docs/pages/material-ui/api/app-bar.json index a4a0e01301dad5..3a8fce657a8e63 100644 --- a/docs/pages/material-ui/api/app-bar.json +++ b/docs/pages/material-ui/api/app-bar.json @@ -9,7 +9,7 @@ }, "default": "'primary'" }, - "enableColorOnDark": { "type": { "name": "bool" } }, + "enableColorOnDark": { "type": { "name": "bool" }, "default": "false" }, "position": { "type": { "name": "enum", diff --git a/docs/pages/material-ui/api/autocomplete.json b/docs/pages/material-ui/api/autocomplete.json index 0d3560a64fa32e..cca686211fc219 100644 --- a/docs/pages/material-ui/api/autocomplete.json +++ b/docs/pages/material-ui/api/autocomplete.json @@ -2,9 +2,9 @@ "props": { "options": { "type": { "name": "array" }, "required": true }, "renderInput": { "type": { "name": "func" }, "required": true }, - "autoComplete": { "type": { "name": "bool" } }, - "autoHighlight": { "type": { "name": "bool" } }, - "autoSelect": { "type": { "name": "bool" } }, + "autoComplete": { "type": { "name": "bool" }, "default": "false" }, + "autoHighlight": { "type": { "name": "bool" }, "default": "false" }, + "autoSelect": { "type": { "name": "bool" }, "default": "false" }, "blurOnSelect": { "type": { "name": "union", @@ -16,7 +16,7 @@ "classes": { "type": { "name": "object" } }, "clearIcon": { "type": { "name": "node" }, "default": "" }, "clearOnBlur": { "type": { "name": "bool" }, "default": "!props.freeSolo" }, - "clearOnEscape": { "type": { "name": "bool" } }, + "clearOnEscape": { "type": { "name": "bool" }, "default": "false" }, "clearText": { "type": { "name": "string" }, "default": "'Clear'" }, "closeText": { "type": { "name": "string" }, "default": "'Close'" }, "componentsProps": { @@ -30,20 +30,20 @@ "type": { "name": "custom", "description": "any" }, "default": "props.multiple ? [] : null" }, - "disableClearable": { "type": { "name": "bool" } }, - "disableCloseOnSelect": { "type": { "name": "bool" } }, - "disabled": { "type": { "name": "bool" } }, - "disabledItemsFocusable": { "type": { "name": "bool" } }, - "disableListWrap": { "type": { "name": "bool" } }, - "disablePortal": { "type": { "name": "bool" } }, + "disableClearable": { "type": { "name": "bool" }, "default": "false" }, + "disableCloseOnSelect": { "type": { "name": "bool" }, "default": "false" }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "disabledItemsFocusable": { "type": { "name": "bool" }, "default": "false" }, + "disableListWrap": { "type": { "name": "bool" }, "default": "false" }, + "disablePortal": { "type": { "name": "bool" }, "default": "false" }, "filterOptions": { "type": { "name": "func" } }, - "filterSelectedOptions": { "type": { "name": "bool" } }, + "filterSelectedOptions": { "type": { "name": "bool" }, "default": "false" }, "forcePopupIcon": { "type": { "name": "union", "description": "'auto'
| bool" }, "default": "'auto'" }, - "freeSolo": { "type": { "name": "bool" } }, - "fullWidth": { "type": { "name": "bool" } }, + "freeSolo": { "type": { "name": "bool" }, "default": "false" }, + "fullWidth": { "type": { "name": "bool" }, "default": "false" }, "getLimitTagsText": { "type": { "name": "func" }, "default": "(more) => `+${more}`" }, "getOptionDisabled": { "type": { "name": "func" } }, "getOptionLabel": { @@ -53,15 +53,15 @@ "groupBy": { "type": { "name": "func" } }, "handleHomeEndKeys": { "type": { "name": "bool" }, "default": "!props.freeSolo" }, "id": { "type": { "name": "string" } }, - "includeInputInList": { "type": { "name": "bool" } }, + "includeInputInList": { "type": { "name": "bool" }, "default": "false" }, "inputValue": { "type": { "name": "string" } }, "isOptionEqualToValue": { "type": { "name": "func" } }, "limitTags": { "type": { "name": "custom", "description": "integer" }, "default": "-1" }, "ListboxComponent": { "type": { "name": "elementType" }, "default": "'ul'" }, "ListboxProps": { "type": { "name": "object" } }, - "loading": { "type": { "name": "bool" } }, + "loading": { "type": { "name": "bool" }, "default": "false" }, "loadingText": { "type": { "name": "node" }, "default": "'Loading…'" }, - "multiple": { "type": { "name": "bool" } }, + "multiple": { "type": { "name": "bool" }, "default": "false" }, "noOptionsText": { "type": { "name": "node" }, "default": "'No options'" }, "onChange": { "type": { "name": "func" } }, "onClose": { "type": { "name": "func" } }, @@ -69,12 +69,12 @@ "onInputChange": { "type": { "name": "func" } }, "onOpen": { "type": { "name": "func" } }, "open": { "type": { "name": "bool" } }, - "openOnFocus": { "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" }, "popupIcon": { "type": { "name": "node" }, "default": "" }, - "readOnly": { "type": { "name": "bool" } }, + "readOnly": { "type": { "name": "bool" }, "default": "false" }, "renderGroup": { "type": { "name": "func" } }, "renderOption": { "type": { "name": "func" } }, "renderTags": { "type": { "name": "func" } }, diff --git a/docs/pages/material-ui/api/backdrop.json b/docs/pages/material-ui/api/backdrop.json index aebe294fc76361..61eb4c56ff41ed 100644 --- a/docs/pages/material-ui/api/backdrop.json +++ b/docs/pages/material-ui/api/backdrop.json @@ -12,7 +12,7 @@ "type": { "name": "shape", "description": "{ root?: object }" }, "default": "{}" }, - "invisible": { "type": { "name": "bool" } }, + "invisible": { "type": { "name": "bool" }, "default": "false" }, "slotProps": { "type": { "name": "shape", "description": "{ root?: object }" }, "default": "{}" diff --git a/docs/pages/material-ui/api/badge.json b/docs/pages/material-ui/api/badge.json index 88177f01071f33..69423b5f2e5692 100644 --- a/docs/pages/material-ui/api/badge.json +++ b/docs/pages/material-ui/api/badge.json @@ -29,13 +29,13 @@ }, "default": "{}" }, - "invisible": { "type": { "name": "bool" } }, + "invisible": { "type": { "name": "bool" }, "default": "false" }, "max": { "type": { "name": "number" }, "default": "99" }, "overlap": { "type": { "name": "enum", "description": "'circular'
| 'rectangular'" }, "default": "'rectangular'" }, - "showZero": { "type": { "name": "bool" } }, + "showZero": { "type": { "name": "bool" }, "default": "false" }, "slotProps": { "type": { "name": "shape", diff --git a/docs/pages/material-ui/api/bottom-navigation.json b/docs/pages/material-ui/api/bottom-navigation.json index bcd227c7df08eb..aefee67d5233d3 100644 --- a/docs/pages/material-ui/api/bottom-navigation.json +++ b/docs/pages/material-ui/api/bottom-navigation.json @@ -4,7 +4,7 @@ "classes": { "type": { "name": "object" } }, "component": { "type": { "name": "elementType" } }, "onChange": { "type": { "name": "func" } }, - "showLabels": { "type": { "name": "bool" } }, + "showLabels": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/button-base.json b/docs/pages/material-ui/api/button-base.json index dca661a0aa1464..9416904bd5539a 100644 --- a/docs/pages/material-ui/api/button-base.json +++ b/docs/pages/material-ui/api/button-base.json @@ -1,14 +1,14 @@ { "props": { "action": { "type": { "name": "custom", "description": "ref" } }, - "centerRipple": { "type": { "name": "bool" } }, + "centerRipple": { "type": { "name": "bool" }, "default": "false" }, "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, "component": { "type": { "name": "custom", "description": "element type" } }, - "disabled": { "type": { "name": "bool" } }, - "disableRipple": { "type": { "name": "bool" } }, - "disableTouchRipple": { "type": { "name": "bool" } }, - "focusRipple": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "disableRipple": { "type": { "name": "bool" }, "default": "false" }, + "disableTouchRipple": { "type": { "name": "bool" }, "default": "false" }, + "focusRipple": { "type": { "name": "bool" }, "default": "false" }, "focusVisibleClassName": { "type": { "name": "string" } }, "LinkComponent": { "type": { "name": "elementType" }, "default": "'a'" }, "onFocusVisible": { "type": { "name": "func" } }, diff --git a/docs/pages/material-ui/api/button-group.json b/docs/pages/material-ui/api/button-group.json index 62d4462332b2b6..f56bccb4eeeac1 100644 --- a/docs/pages/material-ui/api/button-group.json +++ b/docs/pages/material-ui/api/button-group.json @@ -10,11 +10,11 @@ "default": "'primary'" }, "component": { "type": { "name": "elementType" } }, - "disabled": { "type": { "name": "bool" } }, - "disableElevation": { "type": { "name": "bool" } }, - "disableFocusRipple": { "type": { "name": "bool" } }, - "disableRipple": { "type": { "name": "bool" } }, - "fullWidth": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "disableElevation": { "type": { "name": "bool" }, "default": "false" }, + "disableFocusRipple": { "type": { "name": "bool" }, "default": "false" }, + "disableRipple": { "type": { "name": "bool" }, "default": "false" }, + "fullWidth": { "type": { "name": "bool" }, "default": "false" }, "orientation": { "type": { "name": "enum", "description": "'horizontal'
| 'vertical'" }, "default": "'horizontal'" diff --git a/docs/pages/material-ui/api/button.json b/docs/pages/material-ui/api/button.json index c5fffae8e5d842..855c2efb9db0c8 100644 --- a/docs/pages/material-ui/api/button.json +++ b/docs/pages/material-ui/api/button.json @@ -10,12 +10,12 @@ "default": "'primary'" }, "component": { "type": { "name": "elementType" } }, - "disabled": { "type": { "name": "bool" } }, - "disableElevation": { "type": { "name": "bool" } }, - "disableFocusRipple": { "type": { "name": "bool" } }, - "disableRipple": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "disableElevation": { "type": { "name": "bool" }, "default": "false" }, + "disableFocusRipple": { "type": { "name": "bool" }, "default": "false" }, + "disableRipple": { "type": { "name": "bool" }, "default": "false" }, "endIcon": { "type": { "name": "node" } }, - "fullWidth": { "type": { "name": "bool" } }, + "fullWidth": { "type": { "name": "bool" }, "default": "false" }, "href": { "type": { "name": "string" } }, "size": { "type": { diff --git a/docs/pages/material-ui/api/card-actions.json b/docs/pages/material-ui/api/card-actions.json index aea0a3c21259d0..3022ff5434e356 100644 --- a/docs/pages/material-ui/api/card-actions.json +++ b/docs/pages/material-ui/api/card-actions.json @@ -2,7 +2,7 @@ "props": { "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, - "disableSpacing": { "type": { "name": "bool" } }, + "disableSpacing": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/card-header.json b/docs/pages/material-ui/api/card-header.json index 52dc6b11c49424..049e7feb273082 100644 --- a/docs/pages/material-ui/api/card-header.json +++ b/docs/pages/material-ui/api/card-header.json @@ -4,7 +4,7 @@ "avatar": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, "component": { "type": { "name": "elementType" } }, - "disableTypography": { "type": { "name": "bool" } }, + "disableTypography": { "type": { "name": "bool" }, "default": "false" }, "subheader": { "type": { "name": "node" } }, "subheaderTypographyProps": { "type": { "name": "object" } }, "sx": { diff --git a/docs/pages/material-ui/api/checkbox.json b/docs/pages/material-ui/api/checkbox.json index 4494ffa485d98a..e1ee7c81743a2f 100644 --- a/docs/pages/material-ui/api/checkbox.json +++ b/docs/pages/material-ui/api/checkbox.json @@ -11,16 +11,16 @@ "default": "'primary'" }, "defaultChecked": { "type": { "name": "bool" } }, - "disabled": { "type": { "name": "bool" } }, - "disableRipple": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "disableRipple": { "type": { "name": "bool" }, "default": "false" }, "icon": { "type": { "name": "node" }, "default": "" }, "id": { "type": { "name": "string" } }, - "indeterminate": { "type": { "name": "bool" } }, + "indeterminate": { "type": { "name": "bool" }, "default": "false" }, "indeterminateIcon": { "type": { "name": "node" }, "default": "" }, "inputProps": { "type": { "name": "object" } }, "inputRef": { "type": { "name": "custom", "description": "ref" } }, "onChange": { "type": { "name": "func" } }, - "required": { "type": { "name": "bool" } }, + "required": { "type": { "name": "bool" }, "default": "false" }, "size": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/chip.json b/docs/pages/material-ui/api/chip.json index 2d8251bf56d0f3..5739bd649d6f04 100644 --- a/docs/pages/material-ui/api/chip.json +++ b/docs/pages/material-ui/api/chip.json @@ -13,7 +13,7 @@ }, "component": { "type": { "name": "elementType" } }, "deleteIcon": { "type": { "name": "element" } }, - "disabled": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, "icon": { "type": { "name": "element" } }, "label": { "type": { "name": "node" } }, "onDelete": { "type": { "name": "func" } }, @@ -24,7 +24,7 @@ }, "default": "'medium'" }, - "skipFocusWhenDisabled": { "type": { "name": "bool" } }, + "skipFocusWhenDisabled": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/css-baseline.json b/docs/pages/material-ui/api/css-baseline.json index f883305ba828e9..1c6085454ef209 100644 --- a/docs/pages/material-ui/api/css-baseline.json +++ b/docs/pages/material-ui/api/css-baseline.json @@ -1,7 +1,7 @@ { "props": { "children": { "type": { "name": "node" } }, - "enableColorScheme": { "type": { "name": "bool" } } + "enableColorScheme": { "type": { "name": "bool" }, "default": "false" } }, "name": "CssBaseline", "styles": { "classes": [], "globalClasses": {}, "name": null }, diff --git a/docs/pages/material-ui/api/dialog-actions.json b/docs/pages/material-ui/api/dialog-actions.json index e7aa059e48719c..6b01beb6ef9d95 100644 --- a/docs/pages/material-ui/api/dialog-actions.json +++ b/docs/pages/material-ui/api/dialog-actions.json @@ -2,7 +2,7 @@ "props": { "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, - "disableSpacing": { "type": { "name": "bool" } }, + "disableSpacing": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/dialog-content.json b/docs/pages/material-ui/api/dialog-content.json index 65b25cbaf43bd7..8d9eb39e2f5d0f 100644 --- a/docs/pages/material-ui/api/dialog-content.json +++ b/docs/pages/material-ui/api/dialog-content.json @@ -2,7 +2,7 @@ "props": { "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, - "dividers": { "type": { "name": "bool" } }, + "dividers": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/dialog.json b/docs/pages/material-ui/api/dialog.json index 53ab57bb4ab70d..1832bc1e526c07 100644 --- a/docs/pages/material-ui/api/dialog.json +++ b/docs/pages/material-ui/api/dialog.json @@ -11,9 +11,9 @@ }, "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, - "disableEscapeKeyDown": { "type": { "name": "bool" } }, - "fullScreen": { "type": { "name": "bool" } }, - "fullWidth": { "type": { "name": "bool" } }, + "disableEscapeKeyDown": { "type": { "name": "bool" }, "default": "false" }, + "fullScreen": { "type": { "name": "bool" }, "default": "false" }, + "fullWidth": { "type": { "name": "bool" }, "default": "false" }, "maxWidth": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/divider.json b/docs/pages/material-ui/api/divider.json index b2adc9b28a8046..78ac16f26d5f25 100644 --- a/docs/pages/material-ui/api/divider.json +++ b/docs/pages/material-ui/api/divider.json @@ -1,11 +1,11 @@ { "props": { - "absolute": { "type": { "name": "bool" } }, + "absolute": { "type": { "name": "bool" }, "default": "false" }, "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, "component": { "type": { "name": "elementType" } }, - "flexItem": { "type": { "name": "bool" } }, - "light": { "type": { "name": "bool" } }, + "flexItem": { "type": { "name": "bool" }, "default": "false" }, + "light": { "type": { "name": "bool" }, "default": "false" }, "orientation": { "type": { "name": "enum", "description": "'horizontal'
| 'vertical'" }, "default": "'horizontal'" diff --git a/docs/pages/material-ui/api/drawer.json b/docs/pages/material-ui/api/drawer.json index 750968c8530f69..2e7b230b0b708b 100644 --- a/docs/pages/material-ui/api/drawer.json +++ b/docs/pages/material-ui/api/drawer.json @@ -10,10 +10,10 @@ "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, "elevation": { "type": { "name": "custom", "description": "integer" }, "default": "16" }, - "hideBackdrop": { "type": { "name": "bool" } }, + "hideBackdrop": { "type": { "name": "bool" }, "default": "false" }, "ModalProps": { "type": { "name": "object" }, "default": "{}" }, "onClose": { "type": { "name": "func" } }, - "open": { "type": { "name": "bool" } }, + "open": { "type": { "name": "bool" }, "default": "false" }, "PaperProps": { "type": { "name": "object" }, "default": "{}" }, "SlideProps": { "type": { "name": "object" } }, "sx": { diff --git a/docs/pages/material-ui/api/fab.json b/docs/pages/material-ui/api/fab.json index 494b1a3a4c79d5..59c2791f0ec52b 100644 --- a/docs/pages/material-ui/api/fab.json +++ b/docs/pages/material-ui/api/fab.json @@ -10,8 +10,8 @@ "default": "'default'" }, "component": { "type": { "name": "elementType" } }, - "disabled": { "type": { "name": "bool" } }, - "disableFocusRipple": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "disableFocusRipple": { "type": { "name": "bool" }, "default": "false" }, "disableRipple": { "type": { "name": "bool" } }, "href": { "type": { "name": "string" } }, "size": { diff --git a/docs/pages/material-ui/api/filled-input.json b/docs/pages/material-ui/api/filled-input.json index 7c0dcb91135a26..5db9484966a4bd 100644 --- a/docs/pages/material-ui/api/filled-input.json +++ b/docs/pages/material-ui/api/filled-input.json @@ -22,8 +22,8 @@ "disableUnderline": { "type": { "name": "bool" } }, "endAdornment": { "type": { "name": "node" } }, "error": { "type": { "name": "bool" } }, - "fullWidth": { "type": { "name": "bool" } }, - "hiddenLabel": { "type": { "name": "bool" } }, + "fullWidth": { "type": { "name": "bool" }, "default": "false" }, + "hiddenLabel": { "type": { "name": "bool" }, "default": "false" }, "id": { "type": { "name": "string" } }, "inputComponent": { "type": { "name": "elementType" }, "default": "'input'" }, "inputProps": { "type": { "name": "object" }, "default": "{}" }, @@ -31,7 +31,7 @@ "margin": { "type": { "name": "enum", "description": "'dense'
| 'none'" } }, "maxRows": { "type": { "name": "union", "description": "number
| string" } }, "minRows": { "type": { "name": "union", "description": "number
| string" } }, - "multiline": { "type": { "name": "bool" } }, + "multiline": { "type": { "name": "bool" }, "default": "false" }, "name": { "type": { "name": "string" } }, "onChange": { "type": { "name": "func" } }, "placeholder": { "type": { "name": "string" } }, diff --git a/docs/pages/material-ui/api/form-control.json b/docs/pages/material-ui/api/form-control.json index 99d314869ad9fe..cd1687047aeda4 100644 --- a/docs/pages/material-ui/api/form-control.json +++ b/docs/pages/material-ui/api/form-control.json @@ -10,11 +10,11 @@ "default": "'primary'" }, "component": { "type": { "name": "elementType" } }, - "disabled": { "type": { "name": "bool" } }, - "error": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "error": { "type": { "name": "bool" }, "default": "false" }, "focused": { "type": { "name": "bool" } }, - "fullWidth": { "type": { "name": "bool" } }, - "hiddenLabel": { "type": { "name": "bool" } }, + "fullWidth": { "type": { "name": "bool" }, "default": "false" }, + "hiddenLabel": { "type": { "name": "bool" }, "default": "false" }, "margin": { "type": { "name": "enum", @@ -22,7 +22,7 @@ }, "default": "'none'" }, - "required": { "type": { "name": "bool" } }, + "required": { "type": { "name": "bool" }, "default": "false" }, "size": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/form-group.json b/docs/pages/material-ui/api/form-group.json index c5f15c24328614..39f5ed0fe79c54 100644 --- a/docs/pages/material-ui/api/form-group.json +++ b/docs/pages/material-ui/api/form-group.json @@ -2,7 +2,7 @@ "props": { "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, - "row": { "type": { "name": "bool" } }, + "row": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/grid.json b/docs/pages/material-ui/api/grid.json index 39d4830d82d609..9f54488f785b36 100644 --- a/docs/pages/material-ui/api/grid.json +++ b/docs/pages/material-ui/api/grid.json @@ -16,7 +16,7 @@ } }, "component": { "type": { "name": "elementType" } }, - "container": { "type": { "name": "bool" } }, + "container": { "type": { "name": "bool" }, "default": "false" }, "direction": { "type": { "name": "union", @@ -24,7 +24,7 @@ }, "default": "'row'" }, - "item": { "type": { "name": "bool" } }, + "item": { "type": { "name": "bool" }, "default": "false" }, "lg": { "type": { "name": "union", @@ -86,7 +86,7 @@ }, "default": "false" }, - "zeroMinWidth": { "type": { "name": "bool" } } + "zeroMinWidth": { "type": { "name": "bool" }, "default": "false" } }, "name": "Grid", "styles": { diff --git a/docs/pages/material-ui/api/hidden.json b/docs/pages/material-ui/api/hidden.json index 2161cc2b75dd0b..5a1b1280d7d9d3 100644 --- a/docs/pages/material-ui/api/hidden.json +++ b/docs/pages/material-ui/api/hidden.json @@ -11,22 +11,22 @@ "description": "'xs'
| 'sm'
| 'md'
| 'lg'
| 'xl'" } }, - "lgDown": { "type": { "name": "bool" } }, - "lgUp": { "type": { "name": "bool" } }, - "mdDown": { "type": { "name": "bool" } }, - "mdUp": { "type": { "name": "bool" } }, + "lgDown": { "type": { "name": "bool" }, "default": "false" }, + "lgUp": { "type": { "name": "bool" }, "default": "false" }, + "mdDown": { "type": { "name": "bool" }, "default": "false" }, + "mdUp": { "type": { "name": "bool" }, "default": "false" }, "only": { "type": { "name": "union", "description": "'xs'
| 'sm'
| 'md'
| 'lg'
| 'xl'
| Array<'xs'
| 'sm'
| 'md'
| 'lg'
| 'xl'>" } }, - "smDown": { "type": { "name": "bool" } }, - "smUp": { "type": { "name": "bool" } }, - "xlDown": { "type": { "name": "bool" } }, - "xlUp": { "type": { "name": "bool" } }, - "xsDown": { "type": { "name": "bool" } }, - "xsUp": { "type": { "name": "bool" } } + "smDown": { "type": { "name": "bool" }, "default": "false" }, + "smUp": { "type": { "name": "bool" }, "default": "false" }, + "xlDown": { "type": { "name": "bool" }, "default": "false" }, + "xlUp": { "type": { "name": "bool" }, "default": "false" }, + "xsDown": { "type": { "name": "bool" }, "default": "false" }, + "xsUp": { "type": { "name": "bool" }, "default": "false" } }, "name": "Hidden", "styles": { "classes": [], "globalClasses": {}, "name": null }, diff --git a/docs/pages/material-ui/api/icon-button.json b/docs/pages/material-ui/api/icon-button.json index 73c91703985447..e0db0d0a705284 100644 --- a/docs/pages/material-ui/api/icon-button.json +++ b/docs/pages/material-ui/api/icon-button.json @@ -9,9 +9,9 @@ }, "default": "'default'" }, - "disabled": { "type": { "name": "bool" } }, - "disableFocusRipple": { "type": { "name": "bool" } }, - "disableRipple": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "disableFocusRipple": { "type": { "name": "bool" }, "default": "false" }, + "disableRipple": { "type": { "name": "bool" }, "default": "false" }, "edge": { "type": { "name": "enum", diff --git a/docs/pages/material-ui/api/input-adornment.json b/docs/pages/material-ui/api/input-adornment.json index 4e015eb2786a0e..1c4861ab9b541e 100644 --- a/docs/pages/material-ui/api/input-adornment.json +++ b/docs/pages/material-ui/api/input-adornment.json @@ -7,8 +7,8 @@ "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, "component": { "type": { "name": "elementType" } }, - "disablePointerEvents": { "type": { "name": "bool" } }, - "disableTypography": { "type": { "name": "bool" } }, + "disablePointerEvents": { "type": { "name": "bool" }, "default": "false" }, + "disableTypography": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/input-base.json b/docs/pages/material-ui/api/input-base.json index aa915da17d6fac..2938883f586566 100644 --- a/docs/pages/material-ui/api/input-base.json +++ b/docs/pages/material-ui/api/input-base.json @@ -19,10 +19,10 @@ }, "defaultValue": { "type": { "name": "any" } }, "disabled": { "type": { "name": "bool" } }, - "disableInjectingGlobalStyles": { "type": { "name": "bool" } }, + "disableInjectingGlobalStyles": { "type": { "name": "bool" }, "default": "false" }, "endAdornment": { "type": { "name": "node" } }, "error": { "type": { "name": "bool" } }, - "fullWidth": { "type": { "name": "bool" } }, + "fullWidth": { "type": { "name": "bool" }, "default": "false" }, "id": { "type": { "name": "string" } }, "inputComponent": { "type": { "name": "custom", "description": "element type" }, @@ -33,7 +33,7 @@ "margin": { "type": { "name": "enum", "description": "'dense'
| 'none'" } }, "maxRows": { "type": { "name": "union", "description": "number
| string" } }, "minRows": { "type": { "name": "union", "description": "number
| string" } }, - "multiline": { "type": { "name": "bool" } }, + "multiline": { "type": { "name": "bool" }, "default": "false" }, "name": { "type": { "name": "string" } }, "onBlur": { "type": { "name": "func" } }, "onChange": { "type": { "name": "func" } }, diff --git a/docs/pages/material-ui/api/input-label.json b/docs/pages/material-ui/api/input-label.json index 716c178dcf478a..87a2b43b2a82f7 100644 --- a/docs/pages/material-ui/api/input-label.json +++ b/docs/pages/material-ui/api/input-label.json @@ -8,7 +8,7 @@ "description": "'error'
| 'info'
| 'primary'
| 'secondary'
| 'success'
| 'warning'
| string" } }, - "disableAnimation": { "type": { "name": "bool" } }, + "disableAnimation": { "type": { "name": "bool" }, "default": "false" }, "disabled": { "type": { "name": "bool" } }, "error": { "type": { "name": "bool" } }, "focused": { "type": { "name": "bool" } }, diff --git a/docs/pages/material-ui/api/input.json b/docs/pages/material-ui/api/input.json index 06ab9faca0d047..13ba87bedf874f 100644 --- a/docs/pages/material-ui/api/input.json +++ b/docs/pages/material-ui/api/input.json @@ -22,7 +22,7 @@ "disableUnderline": { "type": { "name": "bool" } }, "endAdornment": { "type": { "name": "node" } }, "error": { "type": { "name": "bool" } }, - "fullWidth": { "type": { "name": "bool" } }, + "fullWidth": { "type": { "name": "bool" }, "default": "false" }, "id": { "type": { "name": "string" } }, "inputComponent": { "type": { "name": "elementType" }, "default": "'input'" }, "inputProps": { "type": { "name": "object" }, "default": "{}" }, @@ -30,7 +30,7 @@ "margin": { "type": { "name": "enum", "description": "'dense'
| 'none'" } }, "maxRows": { "type": { "name": "union", "description": "number
| string" } }, "minRows": { "type": { "name": "union", "description": "number
| string" } }, - "multiline": { "type": { "name": "bool" } }, + "multiline": { "type": { "name": "bool" }, "default": "false" }, "name": { "type": { "name": "string" } }, "onChange": { "type": { "name": "func" } }, "placeholder": { "type": { "name": "string" } }, diff --git a/docs/pages/material-ui/api/list-item-button.json b/docs/pages/material-ui/api/list-item-button.json index de960fdb183f79..f758520225917b 100644 --- a/docs/pages/material-ui/api/list-item-button.json +++ b/docs/pages/material-ui/api/list-item-button.json @@ -4,16 +4,16 @@ "type": { "name": "enum", "description": "'center'
| 'flex-start'" }, "default": "'center'" }, - "autoFocus": { "type": { "name": "bool" } }, + "autoFocus": { "type": { "name": "bool" }, "default": "false" }, "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, "component": { "type": { "name": "elementType" } }, - "dense": { "type": { "name": "bool" } }, - "disabled": { "type": { "name": "bool" } }, - "disableGutters": { "type": { "name": "bool" } }, - "divider": { "type": { "name": "bool" } }, + "dense": { "type": { "name": "bool" }, "default": "false" }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "disableGutters": { "type": { "name": "bool" }, "default": "false" }, + "divider": { "type": { "name": "bool" }, "default": "false" }, "focusVisibleClassName": { "type": { "name": "string" } }, - "selected": { "type": { "name": "bool" } }, + "selected": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/list-item-text.json b/docs/pages/material-ui/api/list-item-text.json index 986736d83cb3ef..712c37684f44de 100644 --- a/docs/pages/material-ui/api/list-item-text.json +++ b/docs/pages/material-ui/api/list-item-text.json @@ -2,8 +2,8 @@ "props": { "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, - "disableTypography": { "type": { "name": "bool" } }, - "inset": { "type": { "name": "bool" } }, + "disableTypography": { "type": { "name": "bool" }, "default": "false" }, + "inset": { "type": { "name": "bool" }, "default": "false" }, "primary": { "type": { "name": "node" } }, "primaryTypographyProps": { "type": { "name": "object" } }, "secondary": { "type": { "name": "node" } }, diff --git a/docs/pages/material-ui/api/list-item.json b/docs/pages/material-ui/api/list-item.json index 09c43fa770f80e..c2b297e798b10a 100644 --- a/docs/pages/material-ui/api/list-item.json +++ b/docs/pages/material-ui/api/list-item.json @@ -6,11 +6,13 @@ }, "autoFocus": { "type": { "name": "bool" }, + "default": "false", "deprecated": true, "deprecationInfo": "checkout ListItemButton instead" }, "button": { "type": { "name": "bool" }, + "default": "false", "deprecated": true, "deprecationInfo": "checkout ListItemButton instead" }, @@ -31,18 +33,20 @@ "deprecated": true }, "ContainerProps": { "type": { "name": "object" }, "default": "{}", "deprecated": true }, - "dense": { "type": { "name": "bool" } }, + "dense": { "type": { "name": "bool" }, "default": "false" }, "disabled": { "type": { "name": "bool" }, + "default": "false", "deprecated": true, "deprecationInfo": "checkout ListItemButton instead" }, - "disableGutters": { "type": { "name": "bool" } }, - "disablePadding": { "type": { "name": "bool" } }, - "divider": { "type": { "name": "bool" } }, + "disableGutters": { "type": { "name": "bool" }, "default": "false" }, + "disablePadding": { "type": { "name": "bool" }, "default": "false" }, + "divider": { "type": { "name": "bool" }, "default": "false" }, "secondaryAction": { "type": { "name": "node" } }, "selected": { "type": { "name": "bool" }, + "default": "false", "deprecated": true, "deprecationInfo": "checkout ListItemButton instead" }, diff --git a/docs/pages/material-ui/api/list-subheader.json b/docs/pages/material-ui/api/list-subheader.json index 0dc83e7c42ce47..5b1410ce8945bd 100644 --- a/docs/pages/material-ui/api/list-subheader.json +++ b/docs/pages/material-ui/api/list-subheader.json @@ -10,9 +10,9 @@ "default": "'default'" }, "component": { "type": { "name": "elementType" } }, - "disableGutters": { "type": { "name": "bool" } }, - "disableSticky": { "type": { "name": "bool" } }, - "inset": { "type": { "name": "bool" } }, + "disableGutters": { "type": { "name": "bool" }, "default": "false" }, + "disableSticky": { "type": { "name": "bool" }, "default": "false" }, + "inset": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/list.json b/docs/pages/material-ui/api/list.json index 4a20714dd18aeb..074b65164b7ef3 100644 --- a/docs/pages/material-ui/api/list.json +++ b/docs/pages/material-ui/api/list.json @@ -3,8 +3,8 @@ "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, "component": { "type": { "name": "elementType" } }, - "dense": { "type": { "name": "bool" } }, - "disablePadding": { "type": { "name": "bool" } }, + "dense": { "type": { "name": "bool" }, "default": "false" }, + "disablePadding": { "type": { "name": "bool" }, "default": "false" }, "subheader": { "type": { "name": "node" } }, "sx": { "type": { diff --git a/docs/pages/material-ui/api/loading-button.json b/docs/pages/material-ui/api/loading-button.json index eb48367d37ac29..da366c62e9153c 100644 --- a/docs/pages/material-ui/api/loading-button.json +++ b/docs/pages/material-ui/api/loading-button.json @@ -2,8 +2,8 @@ "props": { "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, - "disabled": { "type": { "name": "bool" } }, - "loading": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "loading": { "type": { "name": "bool" }, "default": "false" }, "loadingIndicator": { "type": { "name": "node" }, "default": "" diff --git a/docs/pages/material-ui/api/menu-item.json b/docs/pages/material-ui/api/menu-item.json index 3cd2757aeb40ae..52b9047a815ff1 100644 --- a/docs/pages/material-ui/api/menu-item.json +++ b/docs/pages/material-ui/api/menu-item.json @@ -1,14 +1,14 @@ { "props": { - "autoFocus": { "type": { "name": "bool" } }, + "autoFocus": { "type": { "name": "bool" }, "default": "false" }, "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, "component": { "type": { "name": "elementType" } }, - "dense": { "type": { "name": "bool" } }, - "disableGutters": { "type": { "name": "bool" } }, - "divider": { "type": { "name": "bool" } }, + "dense": { "type": { "name": "bool" }, "default": "false" }, + "disableGutters": { "type": { "name": "bool" }, "default": "false" }, + "divider": { "type": { "name": "bool" }, "default": "false" }, "focusVisibleClassName": { "type": { "name": "string" } }, - "selected": { "type": { "name": "bool" } }, + "selected": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/menu-list.json b/docs/pages/material-ui/api/menu-list.json index 2a8fe16e1a2713..7c1f3095b33c84 100644 --- a/docs/pages/material-ui/api/menu-list.json +++ b/docs/pages/material-ui/api/menu-list.json @@ -1,10 +1,10 @@ { "props": { - "autoFocus": { "type": { "name": "bool" } }, - "autoFocusItem": { "type": { "name": "bool" } }, + "autoFocus": { "type": { "name": "bool" }, "default": "false" }, + "autoFocusItem": { "type": { "name": "bool" }, "default": "false" }, "children": { "type": { "name": "node" } }, - "disabledItemsFocusable": { "type": { "name": "bool" } }, - "disableListWrap": { "type": { "name": "bool" } }, + "disabledItemsFocusable": { "type": { "name": "bool" }, "default": "false" }, + "disableListWrap": { "type": { "name": "bool" }, "default": "false" }, "variant": { "type": { "name": "enum", "description": "'menu'
| 'selectedMenu'" }, "default": "'selectedMenu'" diff --git a/docs/pages/material-ui/api/menu.json b/docs/pages/material-ui/api/menu.json index 9eb48a581fa40b..be960662071ae6 100644 --- a/docs/pages/material-ui/api/menu.json +++ b/docs/pages/material-ui/api/menu.json @@ -5,7 +5,7 @@ "autoFocus": { "type": { "name": "bool" }, "default": "true" }, "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, - "disableAutoFocusItem": { "type": { "name": "bool" } }, + "disableAutoFocusItem": { "type": { "name": "bool" }, "default": "false" }, "MenuListProps": { "type": { "name": "object" }, "default": "{}" }, "onClose": { "type": { "name": "func" } }, "PopoverClasses": { "type": { "name": "object" } }, diff --git a/docs/pages/material-ui/api/modal.json b/docs/pages/material-ui/api/modal.json index 8c6962e0b71e9f..d0e44005a3572f 100644 --- a/docs/pages/material-ui/api/modal.json +++ b/docs/pages/material-ui/api/modal.json @@ -14,7 +14,7 @@ "deprecationInfo": "Use slotProps.backdrop instead." }, "classes": { "type": { "name": "object" } }, - "closeAfterTransition": { "type": { "name": "bool" } }, + "closeAfterTransition": { "type": { "name": "bool" }, "default": "false" }, "component": { "type": { "name": "elementType" } }, "components": { "type": { "name": "shape", "description": "{ Backdrop?: elementType, Root?: elementType }" }, @@ -28,14 +28,14 @@ "default": "{}" }, "container": { "type": { "name": "union", "description": "HTML element
| func" } }, - "disableAutoFocus": { "type": { "name": "bool" } }, - "disableEnforceFocus": { "type": { "name": "bool" } }, - "disableEscapeKeyDown": { "type": { "name": "bool" } }, - "disablePortal": { "type": { "name": "bool" } }, - "disableRestoreFocus": { "type": { "name": "bool" } }, - "disableScrollLock": { "type": { "name": "bool" } }, - "hideBackdrop": { "type": { "name": "bool" } }, - "keepMounted": { "type": { "name": "bool" } }, + "disableAutoFocus": { "type": { "name": "bool" }, "default": "false" }, + "disableEnforceFocus": { "type": { "name": "bool" }, "default": "false" }, + "disableEscapeKeyDown": { "type": { "name": "bool" }, "default": "false" }, + "disablePortal": { "type": { "name": "bool" }, "default": "false" }, + "disableRestoreFocus": { "type": { "name": "bool" }, "default": "false" }, + "disableScrollLock": { "type": { "name": "bool" }, "default": "false" }, + "hideBackdrop": { "type": { "name": "bool" }, "default": "false" }, + "keepMounted": { "type": { "name": "bool" }, "default": "false" }, "onBackdropClick": { "type": { "name": "func" }, "deprecated": true, diff --git a/docs/pages/material-ui/api/outlined-input.json b/docs/pages/material-ui/api/outlined-input.json index 1f71d6528410cb..aa05f61ba41fd6 100644 --- a/docs/pages/material-ui/api/outlined-input.json +++ b/docs/pages/material-ui/api/outlined-input.json @@ -17,7 +17,7 @@ "disabled": { "type": { "name": "bool" } }, "endAdornment": { "type": { "name": "node" } }, "error": { "type": { "name": "bool" } }, - "fullWidth": { "type": { "name": "bool" } }, + "fullWidth": { "type": { "name": "bool" }, "default": "false" }, "id": { "type": { "name": "string" } }, "inputComponent": { "type": { "name": "elementType" }, "default": "'input'" }, "inputProps": { "type": { "name": "object" }, "default": "{}" }, @@ -26,7 +26,7 @@ "margin": { "type": { "name": "enum", "description": "'dense'
| 'none'" } }, "maxRows": { "type": { "name": "union", "description": "number
| string" } }, "minRows": { "type": { "name": "union", "description": "number
| string" } }, - "multiline": { "type": { "name": "bool" } }, + "multiline": { "type": { "name": "bool" }, "default": "false" }, "name": { "type": { "name": "string" } }, "notched": { "type": { "name": "bool" } }, "onChange": { "type": { "name": "func" } }, diff --git a/docs/pages/material-ui/api/pagination-item.json b/docs/pages/material-ui/api/pagination-item.json index 9a169fe3b6d2c2..51be4568bc71f0 100644 --- a/docs/pages/material-ui/api/pagination-item.json +++ b/docs/pages/material-ui/api/pagination-item.json @@ -16,9 +16,9 @@ }, "default": "{}" }, - "disabled": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, "page": { "type": { "name": "node" } }, - "selected": { "type": { "name": "bool" } }, + "selected": { "type": { "name": "bool" }, "default": "false" }, "shape": { "type": { "name": "enum", "description": "'circular'
| 'rounded'" }, "default": "'circular'" diff --git a/docs/pages/material-ui/api/pagination.json b/docs/pages/material-ui/api/pagination.json index 245b51f28fb6d9..74381ee3355ccb 100644 --- a/docs/pages/material-ui/api/pagination.json +++ b/docs/pages/material-ui/api/pagination.json @@ -11,10 +11,10 @@ }, "count": { "type": { "name": "custom", "description": "integer" }, "default": "1" }, "defaultPage": { "type": { "name": "custom", "description": "integer" }, "default": "1" }, - "disabled": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, "getItemAriaLabel": { "type": { "name": "func" } }, - "hideNextButton": { "type": { "name": "bool" } }, - "hidePrevButton": { "type": { "name": "bool" } }, + "hideNextButton": { "type": { "name": "bool" }, "default": "false" }, + "hidePrevButton": { "type": { "name": "bool" }, "default": "false" }, "onChange": { "type": { "name": "func" } }, "page": { "type": { "name": "custom", "description": "integer" } }, "renderItem": { @@ -25,8 +25,8 @@ "type": { "name": "enum", "description": "'circular'
| 'rounded'" }, "default": "'circular'" }, - "showFirstButton": { "type": { "name": "bool" } }, - "showLastButton": { "type": { "name": "bool" } }, + "showFirstButton": { "type": { "name": "bool" }, "default": "false" }, + "showLastButton": { "type": { "name": "bool" }, "default": "false" }, "siblingCount": { "type": { "name": "custom", "description": "integer" }, "default": "1" }, "size": { "type": { diff --git a/docs/pages/material-ui/api/paper.json b/docs/pages/material-ui/api/paper.json index 62bc4cb90ccc73..449081d0501ae1 100644 --- a/docs/pages/material-ui/api/paper.json +++ b/docs/pages/material-ui/api/paper.json @@ -4,7 +4,7 @@ "classes": { "type": { "name": "object" } }, "component": { "type": { "name": "elementType" } }, "elevation": { "type": { "name": "custom", "description": "integer" }, "default": "1" }, - "square": { "type": { "name": "bool" } }, + "square": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/popper.json b/docs/pages/material-ui/api/popper.json index 292d8c77a6a0d0..57a9043dd83ecb 100644 --- a/docs/pages/material-ui/api/popper.json +++ b/docs/pages/material-ui/api/popper.json @@ -17,8 +17,8 @@ "default": "{}" }, "container": { "type": { "name": "union", "description": "HTML element
| func" } }, - "disablePortal": { "type": { "name": "bool" } }, - "keepMounted": { "type": { "name": "bool" } }, + "disablePortal": { "type": { "name": "bool" }, "default": "false" }, + "keepMounted": { "type": { "name": "bool" }, "default": "false" }, "modifiers": { "type": { "name": "arrayOf", @@ -54,7 +54,7 @@ "description": "Array<func
| object
| bool>
| func
| object" } }, - "transition": { "type": { "name": "bool" } } + "transition": { "type": { "name": "bool" }, "default": "false" } }, "name": "Popper", "styles": { "classes": [], "globalClasses": {}, "name": null }, diff --git a/docs/pages/material-ui/api/radio.json b/docs/pages/material-ui/api/radio.json index 235f889cf1cd7b..3413c5d6b1404e 100644 --- a/docs/pages/material-ui/api/radio.json +++ b/docs/pages/material-ui/api/radio.json @@ -11,14 +11,14 @@ "default": "'primary'" }, "disabled": { "type": { "name": "bool" } }, - "disableRipple": { "type": { "name": "bool" } }, + "disableRipple": { "type": { "name": "bool" }, "default": "false" }, "icon": { "type": { "name": "node" }, "default": "" }, "id": { "type": { "name": "string" } }, "inputProps": { "type": { "name": "object" } }, "inputRef": { "type": { "name": "custom", "description": "ref" } }, "name": { "type": { "name": "string" } }, "onChange": { "type": { "name": "func" } }, - "required": { "type": { "name": "bool" } }, + "required": { "type": { "name": "bool" }, "default": "false" }, "size": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/rating.json b/docs/pages/material-ui/api/rating.json index 2cbcf894d74f7e..56c58e3a174298 100644 --- a/docs/pages/material-ui/api/rating.json +++ b/docs/pages/material-ui/api/rating.json @@ -2,14 +2,14 @@ "props": { "classes": { "type": { "name": "object" } }, "defaultValue": { "type": { "name": "number" }, "default": "null" }, - "disabled": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, "emptyIcon": { "type": { "name": "node" }, "default": "" }, "emptyLabelText": { "type": { "name": "node" }, "default": "'Empty'" }, "getLabelText": { "type": { "name": "func" }, "default": "function defaultLabelText(value) {\n return `${value} Star${value !== 1 ? 's' : ''}`;\n}" }, - "highlightSelectedOnly": { "type": { "name": "bool" } }, + "highlightSelectedOnly": { "type": { "name": "bool" }, "default": "false" }, "icon": { "type": { "name": "node" }, "default": "" }, "IconContainerComponent": { "type": { "name": "elementType" }, @@ -20,7 +20,7 @@ "onChange": { "type": { "name": "func" } }, "onChangeActive": { "type": { "name": "func" } }, "precision": { "type": { "name": "custom", "description": "number" }, "default": "1" }, - "readOnly": { "type": { "name": "bool" } }, + "readOnly": { "type": { "name": "bool" }, "default": "false" }, "size": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/select.json b/docs/pages/material-ui/api/select.json index 38fe8be0fabee2..90c314a55f5ec2 100644 --- a/docs/pages/material-ui/api/select.json +++ b/docs/pages/material-ui/api/select.json @@ -1,11 +1,11 @@ { "props": { - "autoWidth": { "type": { "name": "bool" } }, + "autoWidth": { "type": { "name": "bool" }, "default": "false" }, "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" }, "default": "{}" }, - "defaultOpen": { "type": { "name": "bool" } }, + "defaultOpen": { "type": { "name": "bool" }, "default": "false" }, "defaultValue": { "type": { "name": "any" } }, - "displayEmpty": { "type": { "name": "bool" } }, + "displayEmpty": { "type": { "name": "bool" }, "default": "false" }, "IconComponent": { "type": { "name": "elementType" }, "default": "ArrowDropDownIcon" }, "id": { "type": { "name": "string" } }, "input": { "type": { "name": "element" } }, @@ -13,8 +13,8 @@ "label": { "type": { "name": "node" } }, "labelId": { "type": { "name": "string" } }, "MenuProps": { "type": { "name": "object" } }, - "multiple": { "type": { "name": "bool" } }, - "native": { "type": { "name": "bool" } }, + "multiple": { "type": { "name": "bool" }, "default": "false" }, + "native": { "type": { "name": "bool" }, "default": "false" }, "onChange": { "type": { "name": "func" } }, "onClose": { "type": { "name": "func" } }, "onOpen": { "type": { "name": "func" } }, diff --git a/docs/pages/material-ui/api/slider.json b/docs/pages/material-ui/api/slider.json index b21cf0d1dc3457..4de96de5f0b9e7 100644 --- a/docs/pages/material-ui/api/slider.json +++ b/docs/pages/material-ui/api/slider.json @@ -28,8 +28,8 @@ "defaultValue": { "type": { "name": "union", "description": "Array<number>
| number" } }, - "disabled": { "type": { "name": "bool" } }, - "disableSwap": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "disableSwap": { "type": { "name": "bool" }, "default": "false" }, "getAriaLabel": { "type": { "name": "func" } }, "getAriaValueText": { "type": { "name": "func" } }, "marks": { diff --git a/docs/pages/material-ui/api/snackbar.json b/docs/pages/material-ui/api/snackbar.json index 20451afddec908..d830a23c2b27f3 100644 --- a/docs/pages/material-ui/api/snackbar.json +++ b/docs/pages/material-ui/api/snackbar.json @@ -13,7 +13,7 @@ "classes": { "type": { "name": "object" } }, "ClickAwayListenerProps": { "type": { "name": "object" } }, "ContentProps": { "type": { "name": "object" } }, - "disableWindowBlurListener": { "type": { "name": "bool" } }, + "disableWindowBlurListener": { "type": { "name": "bool" }, "default": "false" }, "key": { "type": { "name": "custom", "description": "any" } }, "message": { "type": { "name": "node" } }, "onClose": { "type": { "name": "func" } }, diff --git a/docs/pages/material-ui/api/speed-dial-action.json b/docs/pages/material-ui/api/speed-dial-action.json index 4b4009f9951ef7..48b0aed9a77e5a 100644 --- a/docs/pages/material-ui/api/speed-dial-action.json +++ b/docs/pages/material-ui/api/speed-dial-action.json @@ -13,7 +13,7 @@ } }, "TooltipClasses": { "type": { "name": "object" } }, - "tooltipOpen": { "type": { "name": "bool" } }, + "tooltipOpen": { "type": { "name": "bool" }, "default": "false" }, "tooltipPlacement": { "type": { "name": "enum", diff --git a/docs/pages/material-ui/api/speed-dial.json b/docs/pages/material-ui/api/speed-dial.json index 14255424269e46..8c075bb55dfcb9 100644 --- a/docs/pages/material-ui/api/speed-dial.json +++ b/docs/pages/material-ui/api/speed-dial.json @@ -11,7 +11,7 @@ "default": "'up'" }, "FabProps": { "type": { "name": "object" }, "default": "{}" }, - "hidden": { "type": { "name": "bool" } }, + "hidden": { "type": { "name": "bool" }, "default": "false" }, "icon": { "type": { "name": "node" } }, "onClose": { "type": { "name": "func" } }, "onOpen": { "type": { "name": "func" } }, diff --git a/docs/pages/material-ui/api/step-icon.json b/docs/pages/material-ui/api/step-icon.json index 46a145e11a2b01..73d1efe640185b 100644 --- a/docs/pages/material-ui/api/step-icon.json +++ b/docs/pages/material-ui/api/step-icon.json @@ -1,9 +1,9 @@ { "props": { - "active": { "type": { "name": "bool" } }, + "active": { "type": { "name": "bool" }, "default": "false" }, "classes": { "type": { "name": "object" } }, - "completed": { "type": { "name": "bool" } }, - "error": { "type": { "name": "bool" } }, + "completed": { "type": { "name": "bool" }, "default": "false" }, + "error": { "type": { "name": "bool" }, "default": "false" }, "icon": { "type": { "name": "node" } }, "sx": { "type": { diff --git a/docs/pages/material-ui/api/step-label.json b/docs/pages/material-ui/api/step-label.json index ac17c0494342a3..7fd9b4019c0f77 100644 --- a/docs/pages/material-ui/api/step-label.json +++ b/docs/pages/material-ui/api/step-label.json @@ -6,7 +6,7 @@ "type": { "name": "shape", "description": "{ label?: object }" }, "default": "{}" }, - "error": { "type": { "name": "bool" } }, + "error": { "type": { "name": "bool" }, "default": "false" }, "icon": { "type": { "name": "node" } }, "optional": { "type": { "name": "node" } }, "slotProps": { diff --git a/docs/pages/material-ui/api/step.json b/docs/pages/material-ui/api/step.json index b7ae13fe2ec09e..e1f39bf5d0ee0f 100644 --- a/docs/pages/material-ui/api/step.json +++ b/docs/pages/material-ui/api/step.json @@ -6,7 +6,7 @@ "completed": { "type": { "name": "bool" } }, "component": { "type": { "name": "elementType" } }, "disabled": { "type": { "name": "bool" } }, - "expanded": { "type": { "name": "bool" } }, + "expanded": { "type": { "name": "bool" }, "default": "false" }, "index": { "type": { "name": "custom", "description": "integer" } }, "last": { "type": { "name": "bool" } }, "sx": { diff --git a/docs/pages/material-ui/api/stepper.json b/docs/pages/material-ui/api/stepper.json index 41b76130db56d2..da17ffa0f5e4b5 100644 --- a/docs/pages/material-ui/api/stepper.json +++ b/docs/pages/material-ui/api/stepper.json @@ -1,12 +1,12 @@ { "props": { "activeStep": { "type": { "name": "custom", "description": "integer" }, "default": "0" }, - "alternativeLabel": { "type": { "name": "bool" } }, + "alternativeLabel": { "type": { "name": "bool" }, "default": "false" }, "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, "component": { "type": { "name": "elementType" } }, "connector": { "type": { "name": "element" }, "default": "" }, - "nonLinear": { "type": { "name": "bool" } }, + "nonLinear": { "type": { "name": "bool" }, "default": "false" }, "orientation": { "type": { "name": "enum", "description": "'horizontal'
| 'vertical'" }, "default": "'horizontal'" diff --git a/docs/pages/material-ui/api/svg-icon.json b/docs/pages/material-ui/api/svg-icon.json index 6a1e6248ec91ad..66e5a1548aa2b0 100644 --- a/docs/pages/material-ui/api/svg-icon.json +++ b/docs/pages/material-ui/api/svg-icon.json @@ -18,7 +18,7 @@ "default": "'medium'" }, "htmlColor": { "type": { "name": "string" } }, - "inheritViewBox": { "type": { "name": "bool" } }, + "inheritViewBox": { "type": { "name": "bool" }, "default": "false" }, "shapeRendering": { "type": { "name": "string" } }, "sx": { "type": { diff --git a/docs/pages/material-ui/api/swipeable-drawer.json b/docs/pages/material-ui/api/swipeable-drawer.json index 08d4fd34d854d0..7dc9d235666fea 100644 --- a/docs/pages/material-ui/api/swipeable-drawer.json +++ b/docs/pages/material-ui/api/swipeable-drawer.json @@ -7,15 +7,15 @@ "default": "false" }, "children": { "type": { "name": "node" } }, - "disableBackdropTransition": { "type": { "name": "bool" } }, - "disableDiscovery": { "type": { "name": "bool" } }, + "disableBackdropTransition": { "type": { "name": "bool" }, "default": "false" }, + "disableDiscovery": { "type": { "name": "bool" }, "default": "false" }, "disableSwipeToOpen": { "type": { "name": "bool" }, "default": "typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent)" }, "hysteresis": { "type": { "name": "number" }, "default": "0.52" }, "minFlingVelocity": { "type": { "name": "number" }, "default": "450" }, - "open": { "type": { "name": "bool" } }, + "open": { "type": { "name": "bool" }, "default": "false" }, "SwipeAreaProps": { "type": { "name": "object" } }, "swipeAreaWidth": { "type": { "name": "number" }, "default": "20" }, "transitionDuration": { diff --git a/docs/pages/material-ui/api/switch.json b/docs/pages/material-ui/api/switch.json index ee47143778c0cd..bad2eb7c80c29a 100644 --- a/docs/pages/material-ui/api/switch.json +++ b/docs/pages/material-ui/api/switch.json @@ -12,7 +12,7 @@ }, "defaultChecked": { "type": { "name": "bool" } }, "disabled": { "type": { "name": "bool" } }, - "disableRipple": { "type": { "name": "bool" } }, + "disableRipple": { "type": { "name": "bool" }, "default": "false" }, "edge": { "type": { "name": "enum", @@ -25,7 +25,7 @@ "inputProps": { "type": { "name": "object" } }, "inputRef": { "type": { "name": "custom", "description": "ref" } }, "onChange": { "type": { "name": "func" } }, - "required": { "type": { "name": "bool" } }, + "required": { "type": { "name": "bool" }, "default": "false" }, "size": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/tab-scroll-button.json b/docs/pages/material-ui/api/tab-scroll-button.json index fa9ef36ac30ec3..2338234e3219e5 100644 --- a/docs/pages/material-ui/api/tab-scroll-button.json +++ b/docs/pages/material-ui/api/tab-scroll-button.json @@ -10,7 +10,7 @@ }, "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, - "disabled": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/tab.json b/docs/pages/material-ui/api/tab.json index 4326f503f294cd..d1b169ffe04c85 100644 --- a/docs/pages/material-ui/api/tab.json +++ b/docs/pages/material-ui/api/tab.json @@ -2,9 +2,9 @@ "props": { "children": { "type": { "name": "custom", "description": "unsupportedProp" } }, "classes": { "type": { "name": "object" } }, - "disabled": { "type": { "name": "bool" } }, - "disableFocusRipple": { "type": { "name": "bool" } }, - "disableRipple": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "disableFocusRipple": { "type": { "name": "bool" }, "default": "false" }, + "disableRipple": { "type": { "name": "bool" }, "default": "false" }, "icon": { "type": { "name": "union", "description": "element
| string" } }, "iconPosition": { "type": { @@ -21,7 +21,7 @@ } }, "value": { "type": { "name": "any" } }, - "wrapped": { "type": { "name": "bool" } } + "wrapped": { "type": { "name": "bool" }, "default": "false" } }, "name": "Tab", "styles": { diff --git a/docs/pages/material-ui/api/table-pagination.json b/docs/pages/material-ui/api/table-pagination.json index b5033e1feb3568..9888e2c2ec4849 100644 --- a/docs/pages/material-ui/api/table-pagination.json +++ b/docs/pages/material-ui/api/table-pagination.json @@ -27,8 +27,8 @@ "default": "[10, 25, 50, 100]" }, "SelectProps": { "type": { "name": "object" }, "default": "{}" }, - "showFirstButton": { "type": { "name": "bool" } }, - "showLastButton": { "type": { "name": "bool" } }, + "showFirstButton": { "type": { "name": "bool" }, "default": "false" }, + "showLastButton": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/table-row.json b/docs/pages/material-ui/api/table-row.json index 2b8cf6e6fcddf7..72cf106dd26cec 100644 --- a/docs/pages/material-ui/api/table-row.json +++ b/docs/pages/material-ui/api/table-row.json @@ -3,8 +3,8 @@ "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, "component": { "type": { "name": "elementType" } }, - "hover": { "type": { "name": "bool" } }, - "selected": { "type": { "name": "bool" } }, + "hover": { "type": { "name": "bool" }, "default": "false" }, + "selected": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/table-sort-label.json b/docs/pages/material-ui/api/table-sort-label.json index 764552c8cb030d..5da16dbd627be7 100644 --- a/docs/pages/material-ui/api/table-sort-label.json +++ b/docs/pages/material-ui/api/table-sort-label.json @@ -1,13 +1,13 @@ { "props": { - "active": { "type": { "name": "bool" } }, + "active": { "type": { "name": "bool" }, "default": "false" }, "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, "direction": { "type": { "name": "enum", "description": "'asc'
| 'desc'" }, "default": "'asc'" }, - "hideSortIcon": { "type": { "name": "bool" } }, + "hideSortIcon": { "type": { "name": "bool" }, "default": "false" }, "IconComponent": { "type": { "name": "elementType" }, "default": "ArrowDownwardIcon" }, "sx": { "type": { diff --git a/docs/pages/material-ui/api/table.json b/docs/pages/material-ui/api/table.json index 8b822ef30f057b..96e5fd3f212e82 100644 --- a/docs/pages/material-ui/api/table.json +++ b/docs/pages/material-ui/api/table.json @@ -17,7 +17,7 @@ }, "default": "'medium'" }, - "stickyHeader": { "type": { "name": "bool" } }, + "stickyHeader": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/tabs.json b/docs/pages/material-ui/api/tabs.json index fb925fc52de082..eb8a853409a260 100644 --- a/docs/pages/material-ui/api/tabs.json +++ b/docs/pages/material-ui/api/tabs.json @@ -1,10 +1,10 @@ { "props": { "action": { "type": { "name": "custom", "description": "ref" } }, - "allowScrollButtonsMobile": { "type": { "name": "bool" } }, + "allowScrollButtonsMobile": { "type": { "name": "bool" }, "default": "false" }, "aria-label": { "type": { "name": "string" } }, "aria-labelledby": { "type": { "name": "string" } }, - "centered": { "type": { "name": "bool" } }, + "centered": { "type": { "name": "bool" }, "default": "false" }, "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, "component": { "type": { "name": "elementType" } }, @@ -49,7 +49,7 @@ }, "default": "'standard'" }, - "visibleScrollbar": { "type": { "name": "bool" } } + "visibleScrollbar": { "type": { "name": "bool" }, "default": "false" } }, "name": "Tabs", "styles": { diff --git a/docs/pages/material-ui/api/text-field.json b/docs/pages/material-ui/api/text-field.json index e40ff8db22bf61..4b2bf2c3187eed 100644 --- a/docs/pages/material-ui/api/text-field.json +++ b/docs/pages/material-ui/api/text-field.json @@ -1,7 +1,7 @@ { "props": { "autoComplete": { "type": { "name": "string" } }, - "autoFocus": { "type": { "name": "bool" } }, + "autoFocus": { "type": { "name": "bool" }, "default": "false" }, "classes": { "type": { "name": "object" } }, "color": { "type": { @@ -11,10 +11,10 @@ "default": "'primary'" }, "defaultValue": { "type": { "name": "any" } }, - "disabled": { "type": { "name": "bool" } }, - "error": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "error": { "type": { "name": "bool" }, "default": "false" }, "FormHelperTextProps": { "type": { "name": "object" } }, - "fullWidth": { "type": { "name": "bool" } }, + "fullWidth": { "type": { "name": "bool" }, "default": "false" }, "helperText": { "type": { "name": "node" } }, "id": { "type": { "name": "string" } }, "InputLabelProps": { "type": { "name": "object" } }, @@ -31,13 +31,13 @@ }, "maxRows": { "type": { "name": "union", "description": "number
| string" } }, "minRows": { "type": { "name": "union", "description": "number
| string" } }, - "multiline": { "type": { "name": "bool" } }, + "multiline": { "type": { "name": "bool" }, "default": "false" }, "name": { "type": { "name": "string" } }, "onChange": { "type": { "name": "func" } }, "placeholder": { "type": { "name": "string" } }, - "required": { "type": { "name": "bool" } }, + "required": { "type": { "name": "bool" }, "default": "false" }, "rows": { "type": { "name": "union", "description": "number
| string" } }, - "select": { "type": { "name": "bool" } }, + "select": { "type": { "name": "bool" }, "default": "false" }, "SelectProps": { "type": { "name": "object" } }, "size": { "type": { diff --git a/docs/pages/material-ui/api/toggle-button-group.json b/docs/pages/material-ui/api/toggle-button-group.json index c87635a7e5aee3..04ba7249d1fa66 100644 --- a/docs/pages/material-ui/api/toggle-button-group.json +++ b/docs/pages/material-ui/api/toggle-button-group.json @@ -9,9 +9,9 @@ }, "default": "'standard'" }, - "disabled": { "type": { "name": "bool" } }, - "exclusive": { "type": { "name": "bool" } }, - "fullWidth": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "exclusive": { "type": { "name": "bool" }, "default": "false" }, + "fullWidth": { "type": { "name": "bool" }, "default": "false" }, "onChange": { "type": { "name": "func" } }, "orientation": { "type": { "name": "enum", "description": "'horizontal'
| 'vertical'" }, diff --git a/docs/pages/material-ui/api/toggle-button.json b/docs/pages/material-ui/api/toggle-button.json index 8edf34a3056f40..1084178a0397fa 100644 --- a/docs/pages/material-ui/api/toggle-button.json +++ b/docs/pages/material-ui/api/toggle-button.json @@ -10,10 +10,10 @@ }, "default": "'standard'" }, - "disabled": { "type": { "name": "bool" } }, - "disableFocusRipple": { "type": { "name": "bool" } }, - "disableRipple": { "type": { "name": "bool" } }, - "fullWidth": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, + "disableFocusRipple": { "type": { "name": "bool" }, "default": "false" }, + "disableRipple": { "type": { "name": "bool" }, "default": "false" }, + "fullWidth": { "type": { "name": "bool" }, "default": "false" }, "onChange": { "type": { "name": "func" } }, "onClick": { "type": { "name": "func" } }, "selected": { "type": { "name": "bool" } }, diff --git a/docs/pages/material-ui/api/toolbar.json b/docs/pages/material-ui/api/toolbar.json index 12cb597c03f338..4d5af73bdc0645 100644 --- a/docs/pages/material-ui/api/toolbar.json +++ b/docs/pages/material-ui/api/toolbar.json @@ -3,7 +3,7 @@ "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, "component": { "type": { "name": "elementType" } }, - "disableGutters": { "type": { "name": "bool" } }, + "disableGutters": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/pages/material-ui/api/tooltip.json b/docs/pages/material-ui/api/tooltip.json index bb86f42025476d..543a57a48782e0 100644 --- a/docs/pages/material-ui/api/tooltip.json +++ b/docs/pages/material-ui/api/tooltip.json @@ -1,7 +1,7 @@ { "props": { "children": { "type": { "name": "custom", "description": "element" }, "required": true }, - "arrow": { "type": { "name": "bool" } }, + "arrow": { "type": { "name": "bool" }, "default": "false" }, "classes": { "type": { "name": "object" } }, "components": { "type": { @@ -17,15 +17,15 @@ }, "default": "{}" }, - "describeChild": { "type": { "name": "bool" } }, - "disableFocusListener": { "type": { "name": "bool" } }, - "disableHoverListener": { "type": { "name": "bool" } }, - "disableInteractive": { "type": { "name": "bool" } }, - "disableTouchListener": { "type": { "name": "bool" } }, + "describeChild": { "type": { "name": "bool" }, "default": "false" }, + "disableFocusListener": { "type": { "name": "bool" }, "default": "false" }, + "disableHoverListener": { "type": { "name": "bool" }, "default": "false" }, + "disableInteractive": { "type": { "name": "bool" }, "default": "false" }, + "disableTouchListener": { "type": { "name": "bool" }, "default": "false" }, "enterDelay": { "type": { "name": "number" }, "default": "100" }, "enterNextDelay": { "type": { "name": "number" }, "default": "0" }, "enterTouchDelay": { "type": { "name": "number" }, "default": "700" }, - "followCursor": { "type": { "name": "bool" } }, + "followCursor": { "type": { "name": "bool" }, "default": "false" }, "id": { "type": { "name": "string" } }, "leaveDelay": { "type": { "name": "number" }, "default": "0" }, "leaveTouchDelay": { "type": { "name": "number" }, "default": "1500" }, diff --git a/docs/pages/material-ui/api/tree-item.json b/docs/pages/material-ui/api/tree-item.json index d12c469900ef6a..06e46e3cc67a05 100644 --- a/docs/pages/material-ui/api/tree-item.json +++ b/docs/pages/material-ui/api/tree-item.json @@ -9,7 +9,7 @@ "default": "TreeItemContent" }, "ContentProps": { "type": { "name": "object" } }, - "disabled": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" }, "default": "false" }, "endIcon": { "type": { "name": "node" } }, "expandIcon": { "type": { "name": "node" } }, "icon": { "type": { "name": "node" } }, diff --git a/docs/pages/material-ui/api/tree-view.json b/docs/pages/material-ui/api/tree-view.json index 44c75e7da0cdce..26619fe9642cf4 100644 --- a/docs/pages/material-ui/api/tree-view.json +++ b/docs/pages/material-ui/api/tree-view.json @@ -14,11 +14,11 @@ "type": { "name": "union", "description": "Array<string>
| string" }, "default": "[]" }, - "disabledItemsFocusable": { "type": { "name": "bool" } }, - "disableSelection": { "type": { "name": "bool" } }, + "disabledItemsFocusable": { "type": { "name": "bool" }, "default": "false" }, + "disableSelection": { "type": { "name": "bool" }, "default": "false" }, "expanded": { "type": { "name": "arrayOf", "description": "Array<string>" } }, "id": { "type": { "name": "string" } }, - "multiSelect": { "type": { "name": "bool" } }, + "multiSelect": { "type": { "name": "bool" }, "default": "false" }, "onNodeFocus": { "type": { "name": "func" } }, "onNodeSelect": { "type": { "name": "func" } }, "onNodeToggle": { "type": { "name": "func" } }, diff --git a/docs/pages/material-ui/api/typography.json b/docs/pages/material-ui/api/typography.json index 942ee0e1de21f4..3d77fe192c651b 100644 --- a/docs/pages/material-ui/api/typography.json +++ b/docs/pages/material-ui/api/typography.json @@ -10,9 +10,9 @@ "children": { "type": { "name": "node" } }, "classes": { "type": { "name": "object" } }, "component": { "type": { "name": "elementType" } }, - "gutterBottom": { "type": { "name": "bool" } }, - "noWrap": { "type": { "name": "bool" } }, - "paragraph": { "type": { "name": "bool" } }, + "gutterBottom": { "type": { "name": "bool" }, "default": "false" }, + "noWrap": { "type": { "name": "bool" }, "default": "false" }, + "paragraph": { "type": { "name": "bool" }, "default": "false" }, "sx": { "type": { "name": "union", diff --git a/docs/src/modules/components/ApiPage.js b/docs/src/modules/components/ApiPage.js index 973e88518c3882..60b8d82a4b7ed8 100644 --- a/docs/src/modules/components/ApiPage.js +++ b/docs/src/modules/components/ApiPage.js @@ -60,7 +60,7 @@ function PropsTable(props) { {Object.entries(componentProps).map(([propName, propData]) => { const typeDescription = propData.type.description || propData.type.name; - const propDefault = propData.default || (propData.type.name === 'bool' && 'false'); + const propDefault = propData.default; return ( propData.description !== '@ignore' && ( diff --git a/packages/api-docs-builder/ApiBuilders/ComponentApiBuilder.ts b/packages/api-docs-builder/ApiBuilders/ComponentApiBuilder.ts index 1400a1ab258861..476e43391e274d 100644 --- a/packages/api-docs-builder/ApiBuilders/ComponentApiBuilder.ts +++ b/packages/api-docs-builder/ApiBuilders/ComponentApiBuilder.ts @@ -285,7 +285,9 @@ function toGitHubPath(filepath: string): string { const generateApiTranslations = (outputDirectory: string, reactApi: ReactApi) => { const componentName = reactApi.name; const apiDocsTranslationPath = path.resolve(outputDirectory, kebabCase(componentName)); - function resolveApiDocsTranslationsComponentLanguagePath(language: typeof LANGUAGES[0]): string { + function resolveApiDocsTranslationsComponentLanguagePath( + language: (typeof LANGUAGES)[0], + ): string { const languageSuffix = language === 'en' ? '' : `-${language}`; return path.join(apiDocsTranslationPath, `${kebabCase(componentName)}${languageSuffix}.json`); @@ -445,14 +447,7 @@ const attachPropsTable = (reactApi: ReactApi) => { return [] as any; } - // Only keep `default` for bool props if it isn't 'false'. - let defaultValue: string | undefined; - if ( - propDescriptor.type.name !== 'bool' || - propDescriptor.jsdocDefaultValue?.value !== 'false' - ) { - defaultValue = propDescriptor.jsdocDefaultValue?.value; - } + const defaultValue = propDescriptor.jsdocDefaultValue?.value; const propTypeDescription = generatePropTypeDescription(propDescriptor.type); const chainedPropType = getChained(prop.type); diff --git a/packages/mui-lab/src/TreeItem/TreeItem.d.ts b/packages/mui-lab/src/TreeItem/TreeItem.d.ts index 90776a253eff74..8ae9995b1d59e4 100644 --- a/packages/mui-lab/src/TreeItem/TreeItem.d.ts +++ b/packages/mui-lab/src/TreeItem/TreeItem.d.ts @@ -30,6 +30,7 @@ export interface TreeItemProps ContentProps?: React.HTMLAttributes; /** * If `true`, the node is disabled. + * @default false */ disabled?: boolean; /** diff --git a/packages/mui-lab/src/TreeItem/TreeItem.js b/packages/mui-lab/src/TreeItem/TreeItem.js index 88c8cb9ebdafab..307020a665cbf0 100644 --- a/packages/mui-lab/src/TreeItem/TreeItem.js +++ b/packages/mui-lab/src/TreeItem/TreeItem.js @@ -368,6 +368,7 @@ TreeItem.propTypes /* remove-proptypes */ = { ContentProps: PropTypes.object, /** * If `true`, the node is disabled. + * @default false */ disabled: PropTypes.bool, /** diff --git a/packages/mui-material/src/Checkbox/Checkbox.d.ts b/packages/mui-material/src/Checkbox/Checkbox.d.ts index b13f44b1466e5a..5164c4c15c2c57 100644 --- a/packages/mui-material/src/Checkbox/Checkbox.d.ts +++ b/packages/mui-material/src/Checkbox/Checkbox.d.ts @@ -36,10 +36,12 @@ export interface CheckboxProps >; /** * If `true`, the component is disabled. + * @default false */ disabled?: SwitchBaseProps['disabled']; /** * If `true`, the ripple effect is disabled. + * @default false */ disableRipple?: SwitchBaseProps['disableRipple']; /** @@ -81,6 +83,7 @@ export interface CheckboxProps onChange?: SwitchBaseProps['onChange']; /** * If `true`, the `input` element is required. + * @default false */ required?: SwitchBaseProps['required']; /** diff --git a/packages/mui-material/src/Checkbox/Checkbox.js b/packages/mui-material/src/Checkbox/Checkbox.js index f36dea0c13152b..feeb8a7b3725ae 100644 --- a/packages/mui-material/src/Checkbox/Checkbox.js +++ b/packages/mui-material/src/Checkbox/Checkbox.js @@ -163,10 +163,12 @@ Checkbox.propTypes /* remove-proptypes */ = { defaultChecked: PropTypes.bool, /** * If `true`, the component is disabled. + * @default false */ disabled: PropTypes.bool, /** * If `true`, the ripple effect is disabled. + * @default false */ disableRipple: PropTypes.bool, /** @@ -208,6 +210,7 @@ Checkbox.propTypes /* remove-proptypes */ = { onChange: PropTypes.func, /** * If `true`, the `input` element is required. + * @default false */ required: PropTypes.bool, /** diff --git a/packages/mui-material/src/Radio/Radio.js b/packages/mui-material/src/Radio/Radio.js index e0b811dd5d2963..9d781d8b253c91 100644 --- a/packages/mui-material/src/Radio/Radio.js +++ b/packages/mui-material/src/Radio/Radio.js @@ -171,6 +171,7 @@ Radio.propTypes /* remove-proptypes */ = { disabled: PropTypes.bool, /** * If `true`, the ripple effect is disabled. + * @default false */ disableRipple: PropTypes.bool, /** @@ -204,6 +205,7 @@ Radio.propTypes /* remove-proptypes */ = { onChange: PropTypes.func, /** * If `true`, the `input` element is required. + * @default false */ required: PropTypes.bool, /** diff --git a/packages/mui-material/src/Switch/Switch.js b/packages/mui-material/src/Switch/Switch.js index fa016e850296d3..02b3f5da6538ee 100644 --- a/packages/mui-material/src/Switch/Switch.js +++ b/packages/mui-material/src/Switch/Switch.js @@ -275,6 +275,7 @@ Switch.propTypes /* remove-proptypes */ = { disabled: PropTypes.bool, /** * If `true`, the ripple effect is disabled. + * @default false */ disableRipple: PropTypes.bool, /** @@ -311,6 +312,7 @@ Switch.propTypes /* remove-proptypes */ = { onChange: PropTypes.func, /** * If `true`, the `input` element is required. + * @default false */ required: PropTypes.bool, /** diff --git a/packages/mui-material/src/TabScrollButton/TabScrollButton.d.ts b/packages/mui-material/src/TabScrollButton/TabScrollButton.d.ts index 09ef1c0cf3dade..adb2a62c236c0f 100644 --- a/packages/mui-material/src/TabScrollButton/TabScrollButton.d.ts +++ b/packages/mui-material/src/TabScrollButton/TabScrollButton.d.ts @@ -18,6 +18,7 @@ export interface TabScrollButtonProps extends StandardProps