Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Update @mui/base deprecation message #45064

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions docs/data/base/components/accordion/accordion.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ newName: Accordion
# Accordion

<p class="description">Accordions let users show and hide sections of related content on a page.</p>

{{"component": "components/productBaseUI/MuiBaseDeprecation", "newComponentName": "Accordion", "newComponentUrl": "https://base-ui.com/react/components/accordion"}}
2 changes: 0 additions & 2 deletions docs/data/base/components/checkbox/checkbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ newName: Checkbox
# Checkbox

<p class="description">Checkboxes give users binary choices when presented with multiple options in a series.</p>

{{"component": "components/productBaseUI/MuiBaseDeprecation", "newComponentName": "Checkbox", "newComponentUrl": "https://base-ui.com/react/components/checkbox"}}
2 changes: 0 additions & 2 deletions docs/data/base/components/radio-group/radio-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ newName: Radio
# Radio Group

<p class="description">Radio buttons enable the user to select one option from a set.</p>

{{"component": "components/productBaseUI/MuiBaseDeprecation", "newComponentName": "Radio", "newComponentUrl": "https://base-ui.com/react/components/radio"}}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ newName: Toggle Group
# Toggle Button Group

<p class="description">Toggle Button Groups house sets of buttons with mutually exclusive actions.</p>

{{"component": "components/productBaseUI/MuiBaseDeprecation", "newComponentName": "Toggle Group", "newComponentUrl": "https://base-ui.com/react/components/toggle-group"}}
2 changes: 0 additions & 2 deletions docs/data/base/components/tooltip/tooltip.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ newName: Tooltip
# Tooltip

<p class="description">Tooltips display informative text when users hover over, focus on, or tap an element.</p>

{{"component": "components/productBaseUI/MuiBaseDeprecation", "newComponentName": "Tooltip", "newComponentUrl": "https://base-ui.com/react/components/tooltip"}}
7 changes: 4 additions & 3 deletions docs/src/components/productBaseUI/MuiBaseDeprecation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ export default function MuiBaseDeprecation(props: {
<Box component="aside" className="MuiCallout-root MuiCallout-error">
<Icon />
<Box className="MuiCallout-content">
@mui/base has been deprecated and has been replaced by Base UI. Please use the Base UI{' '}
<a href={props.newComponentUrl}>{props.newComponentName} component</a> instead.
@mui/base has been deprecated and has been replaced by Base UI. We strongly recommend
using the Base UI <a href={props.newComponentUrl}>{props.newComponentName} component</a>{' '}
instead.
</Box>
</Box>
</MarkdownElement>
Expand All @@ -26,7 +27,7 @@ export default function MuiBaseDeprecation(props: {
<Icon />
<Box className="MuiCallout-content">
@mui/base has been deprecated and has been replaced by{' '}
<a href="https://www.base-ui.com">Base UI</a>. We strongly advise using the new package
<a href="https://www.base-ui.com">Base UI</a>. We strongly recommend using the new package
instead.
</Box>
</Box>
Expand Down
Loading