From 274f1e683c171465d92d89719204566beb65d5aa Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Wed, 21 Feb 2024 11:38:30 +0100 Subject: [PATCH] [docs-infra] Fix broken anchor links (#40908) --- docs/translations/translations.json | 2 +- packages/mui-material-next/src/ButtonBase/Ripple.tsx | 1 - packages/mui-material-next/src/ButtonBase/TouchRipple.tsx | 1 - packages/mui-material-next/src/OutlinedInput/NotchedOutline.js | 1 - packages/mui-material-next/src/Select/SelectInput.js | 1 - packages/mui-material/src/ButtonBase/Ripple.js | 1 - packages/mui-material/src/ButtonBase/TouchRipple.js | 1 - packages/mui-material/src/NativeSelect/NativeSelectInput.js | 1 - packages/mui-material/src/OutlinedInput/NotchedOutline.js | 1 - packages/mui-material/src/Radio/RadioButtonIcon.js | 1 - packages/mui-material/src/Select/SelectInput.js | 1 - packages/mui-material/src/internal/SwitchBase.js | 1 - 12 files changed, 1 insertion(+), 12 deletions(-) diff --git a/docs/translations/translations.json b/docs/translations/translations.json index c758a0a2daf199..3e9f06b566c833 100644 --- a/docs/translations/translations.json +++ b/docs/translations/translations.json @@ -53,7 +53,7 @@ "required": "Required", "optional": "Optional", "additional-info": { - "cssApi": "See CSS API below for more details.", + "cssApi": "See CSS classes API below for more details.", "sx": "See the `sx` page for more details.", "slotsApi": "See Slots API below for more details.", "joy-size": "To learn how to add custom sizes to the component, check out Themed components—Extend sizes.", diff --git a/packages/mui-material-next/src/ButtonBase/Ripple.tsx b/packages/mui-material-next/src/ButtonBase/Ripple.tsx index 753bf98dc6b63a..832a94c6829f3c 100644 --- a/packages/mui-material-next/src/ButtonBase/Ripple.tsx +++ b/packages/mui-material-next/src/ButtonBase/Ripple.tsx @@ -57,7 +57,6 @@ function Ripple(props: RippleProps) { Ripple.propTypes = { /** * Override or extend the styles applied to the component. - * See [CSS API](#css) below for more details. */ classes: PropTypes.object.isRequired, className: PropTypes.string, diff --git a/packages/mui-material-next/src/ButtonBase/TouchRipple.tsx b/packages/mui-material-next/src/ButtonBase/TouchRipple.tsx index e2bbd26659b497..4f5025e3025ca4 100644 --- a/packages/mui-material-next/src/ButtonBase/TouchRipple.tsx +++ b/packages/mui-material-next/src/ButtonBase/TouchRipple.tsx @@ -284,7 +284,6 @@ TouchRipple.propTypes = { center: PropTypes.bool, /** * Override or extend the styles applied to the component. - * See [CSS API](#css) below for more details. */ classes: PropTypes.object, /** diff --git a/packages/mui-material-next/src/OutlinedInput/NotchedOutline.js b/packages/mui-material-next/src/OutlinedInput/NotchedOutline.js index 0e613bd7b9a2b8..58223da4479c8e 100644 --- a/packages/mui-material-next/src/OutlinedInput/NotchedOutline.js +++ b/packages/mui-material-next/src/OutlinedInput/NotchedOutline.js @@ -97,7 +97,6 @@ NotchedOutline.propTypes = { children: PropTypes.node, /** * Override or extend the styles applied to the component. - * See [CSS API](#css) below for more details. */ classes: PropTypes.object, /** diff --git a/packages/mui-material-next/src/Select/SelectInput.js b/packages/mui-material-next/src/Select/SelectInput.js index bcf26aed547155..7c7bbfd9d5c3a6 100644 --- a/packages/mui-material-next/src/Select/SelectInput.js +++ b/packages/mui-material-next/src/Select/SelectInput.js @@ -604,7 +604,6 @@ SelectInput.propTypes = { children: PropTypes.node, /** * Override or extend the styles applied to the component. - * See [CSS API](#css) below for more details. */ classes: PropTypes.object, /** diff --git a/packages/mui-material/src/ButtonBase/Ripple.js b/packages/mui-material/src/ButtonBase/Ripple.js index 8435331a1d098a..7daadb96618fac 100644 --- a/packages/mui-material/src/ButtonBase/Ripple.js +++ b/packages/mui-material/src/ButtonBase/Ripple.js @@ -60,7 +60,6 @@ function Ripple(props) { Ripple.propTypes = { /** * Override or extend the styles applied to the component. - * See [CSS API](#css) below for more details. */ classes: PropTypes.object.isRequired, className: PropTypes.string, diff --git a/packages/mui-material/src/ButtonBase/TouchRipple.js b/packages/mui-material/src/ButtonBase/TouchRipple.js index 584d3982405702..6834650d85fc06 100644 --- a/packages/mui-material/src/ButtonBase/TouchRipple.js +++ b/packages/mui-material/src/ButtonBase/TouchRipple.js @@ -324,7 +324,6 @@ TouchRipple.propTypes = { center: PropTypes.bool, /** * Override or extend the styles applied to the component. - * See [CSS API](#css) below for more details. */ classes: PropTypes.object, /** diff --git a/packages/mui-material/src/NativeSelect/NativeSelectInput.js b/packages/mui-material/src/NativeSelect/NativeSelectInput.js index c912d69ddc9a7c..042b89dfa4b3af 100644 --- a/packages/mui-material/src/NativeSelect/NativeSelectInput.js +++ b/packages/mui-material/src/NativeSelect/NativeSelectInput.js @@ -168,7 +168,6 @@ NativeSelectInput.propTypes = { children: PropTypes.node, /** * Override or extend the styles applied to the component. - * See [CSS API](#css) below for more details. */ classes: PropTypes.object, /** diff --git a/packages/mui-material/src/OutlinedInput/NotchedOutline.js b/packages/mui-material/src/OutlinedInput/NotchedOutline.js index 0e613bd7b9a2b8..58223da4479c8e 100644 --- a/packages/mui-material/src/OutlinedInput/NotchedOutline.js +++ b/packages/mui-material/src/OutlinedInput/NotchedOutline.js @@ -97,7 +97,6 @@ NotchedOutline.propTypes = { children: PropTypes.node, /** * Override or extend the styles applied to the component. - * See [CSS API](#css) below for more details. */ classes: PropTypes.object, /** diff --git a/packages/mui-material/src/Radio/RadioButtonIcon.js b/packages/mui-material/src/Radio/RadioButtonIcon.js index 489a4b8242cab9..d38eba60cff2ee 100644 --- a/packages/mui-material/src/Radio/RadioButtonIcon.js +++ b/packages/mui-material/src/Radio/RadioButtonIcon.js @@ -59,7 +59,6 @@ RadioButtonIcon.propTypes = { checked: PropTypes.bool, /** * Override or extend the styles applied to the component. - * See [CSS API](#css) below for more details. */ classes: PropTypes.object, /** diff --git a/packages/mui-material/src/Select/SelectInput.js b/packages/mui-material/src/Select/SelectInput.js index 159346bf0bc050..cc8646d07b9012 100644 --- a/packages/mui-material/src/Select/SelectInput.js +++ b/packages/mui-material/src/Select/SelectInput.js @@ -600,7 +600,6 @@ SelectInput.propTypes = { children: PropTypes.node, /** * Override or extend the styles applied to the component. - * See [CSS API](#css) below for more details. */ classes: PropTypes.object, /** diff --git a/packages/mui-material/src/internal/SwitchBase.js b/packages/mui-material/src/internal/SwitchBase.js index 35d8b4b1f749ff..3c259cc05cc01f 100644 --- a/packages/mui-material/src/internal/SwitchBase.js +++ b/packages/mui-material/src/internal/SwitchBase.js @@ -194,7 +194,6 @@ SwitchBase.propTypes = { checkedIcon: PropTypes.node.isRequired, /** * Override or extend the styles applied to the component. - * See [CSS API](#css) below for more details. */ classes: PropTypes.object, /**