Releases: mui/material-ui
v5.12.2
Apr 25, 2023
A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
⚠️ [BREAKING CHANGE] TheUnstyled
suffix has been removed from Base UI component names, including names of types and other related identifiers – a codemod script is provided to assist with the change.- 🐛 bug fixes and 📚 documentation improvements.
@mui/material@5.12.2
- [FormControl] Fix
filled
when value is set throughinputProps
(#36741) @sai6855 - [Slider]
onChange
handler should be called only when value has changed (#36706) @gitstart - [Table] Fix
Sorting & Selecting
tables (#36898) @oliviertassinari
@mui/base@5.0.0-alpha.127
Breaking changes
-
[base] Remove unstyled suffix from Base components + Codemod script (#36873) @hbjORbj
The
Unstyled
suffix has been removed from all Base UI component names, including names of types and other related identifiers.You can use this codemod to help with the migration:
npx @mui/codemod v5.0.0/base-remove-unstyled-suffix <path>
Changes
- [codemod][base] Improve the removal of
component
prop codemod script (#36952) @hbjORbj - [codemod][base] Write a migration script for removal of
component
prop from components (#36831) @hbjORbj - [Base][useButton] Allow useButton params to be completely optional (#36922) @mj12albert
@mui/joy@5.0.0-alpha.77
- [Joy][Chip] Chip button not showing up in Firefox browser (#36930) @TakhyunKim
- [Joy] Add
invertedColors
to Menu and Alert (#36975) @siriwatknp - [joy][Select] Set focus visible on select options when navigating with arrow keys (#36689) @gitstart
Docs
- [docs] Fix console error introduced by #36408 (#36980) @alexfauquette
- [docs] Add stray Joy UI documentation improvements (#36921) @danilo-leal
- [docs] Add Joy profile dashboard template (#36931) @siriwatknp
- [docs] Fix 404 links (#36969) @oliviertassinari
- [docs] Clarify when bundle size optimization is needed (#36823) @oliviertassinari
- [docs] Fix Chakra UI theme scoping typo (#36950) @mj12albert
- [docs] Add snackbar example using sonner (#36926) @PupoSDC
- [docs] Adjust the Material Icons page design and formatting (#36937) @danilo-leal
- [docs] Allows to customize menu with any icon (#36408) @alexfauquette
- [docs] Add info about passing ref to input element (#36913) @tomaskebrle
- [docs][material] Tabs API section cleanup (#36942) @mnajdova
Core
- [core] Fix CI failure on
master
(#37016) @hbjORbj - [typescript] Add the missing explicit component return types (#36924) @michaldudak
- [website] Update main data grid demo on X landing page (#37001) @cherniavskii
- [website] Design role updates (#36997) @danilo-leal
- [website] X component section improvements (#36598) @danilo-leal
- [website] Developer Advocate role filled @oliviertassinari
All contributors of this release in alphabetical order: @alexfauquette, @cherniavskii, @danilo-leal, @gitstart, @hbjORbj, @michaldudak, @mj12albert, @mnajdova, @oliviertassinari, @PupoSDC, @sai6855, @siriwatknp, @TakhyunKim, @tomaskebrle
v5.12.1
Apr 17, 2023
A big thanks to the 16 contributors who made this release possible. This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
@mui/material@5.12.1
- [Autocomplete] Fix autocomplete left padding (#36649) @mj12albert
- [Button] Fix contained with inherit prop not adapting on dark mode (#34508) @jesrodri
- [FormControlLabel] Add
required
prop (#34207) @emlai - [Tabs] Fix null reference in ScrollbarSize after unmounting (#36485) @rkdrnf
- [TextField] Fix type error when using
inputTypeSearch
class foroutlined
andfilled
inputs (#36740) @sai6855 - [ThemeProvider] Fix theme proptypes (#36852) @siriwatknp
@mui/system@5.12.1
Breaking changes
-
[Grid2] Replace context with
cloneElement
(#36399) @siriwatknpGrid2
now usesReact.cloneElement
instead of React context for passing the spacing and columns to the next container. The change is close to how CSS flexbox behaves.
Changes
- [CssVarsProvider] Always generate new
css
object (#36853) @siriwatknp
@mui/base@5.0.0-alpha.126
Breaking changes
- [base] Refactor the compound components building blocks (#36400) @michaldudak
Components affected by the changes are:- Menu
MenuUnstyledContext
is replaced byMenuProvider
. The value to pass to the provider is returned by theuseMenu
hook.- MenuUnstyled's
onClose
prop is replaced byonOpenChange
. It has theopen
parameter and is called when a menu is opened or closed
- Select
SelectUnstyledContext
is replaced bySelectProvider
. The value to pass to the provider is returned by theuseSelect
hook.SelectUnstyled
's popup is permanently mounted.- The
defaultOpen
prop was added to the SelectUnstyled. The open/close state can now be controlled or uncontrolled, as avalue
.
- Tabs
TabsContext
is replaced byTabsProvider
. The value to pass to the provider is returned by theuseTabs
hook.- To deselect all tabs, pass in
null
to Tabs'value
prop, instead offalse
. This is consistent with how Select works. - The
value
prop is still technically not mandatory on TabUnstyled and TabPanel, but when omitted, the contents of the selected tab panel will not be rendered during SSR.
- Menu
@mui/joy@5.0.0-alpha.76
Docs
- [docs][base] Move styles to the bottom of demos code for
BadgeUnstyled
(#36723) @varunmulay22 - [docs][base] Mention that the hook does not accept any parameters in the
Parameters
section of the API docs (#36773) @ZeeshanTamboli - [docs][base] Move styles to the bottom of demos code for
ModalUnstyled
(#36580) @gitstart - [docs][base] Move styles to the bottom of demos code for
Tabs
(#36577) @gitstart - [docs][base] Move styles to the bottom of demos code for
Popper
(#36578) @gitstart - [docs][base] Move styles to the bottom of demos code for
TablePagination
(#36593) @gitstart - [docs] Remove the incorrect info about useButton's ref parameter (#36883) @michaldudak
- [docs] Sync between projects (#36785) @oliviertassinari
- [docs] Add guides to overriding component structure in Base UI and Joy UI docs (#34990) @samuelsycamore
- [docs] Content changed from 'row' to 'orientation=horizontal' (#36858) @navedqb
- [docs][Joy]
component
,slots
,slotProps
must be visible in Prop table in API docs (#36666) @hbjORbj - [docs][Select] Fix duplicate ID in small size Select demo (#36792) @sai6855
Core
- [core] Use glob to find the test files in parseTest (#36305) @flaviendelangle
- [core] Fix minor SEO issues @oliviertassinari
- [website] Fix visual bug appbar (#36875) @oliviertassinari
All contributors of this release in alphabetical order: @emlai, @flaviendelangle, @gitstart, @hbjORbj, @jesrodri, @keyvanm, @michaldudak, @mj12albert, @navedqb, @oliviertassinari, @rkdrnf, @sai6855, @samuelsycamore, @siriwatknp, @varunmulay22, @ZeeshanTamboli
v5.12.0
Apr 11, 2023
A big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
- 💫 Added theme scope for using multiple design systems (#36664) @siriwatknp
- 🐛 bug fixes and 📚 documentation improvements.
@mui/system@5.12.0
- [system] Introduce theme scope for using multiple design systems (#36664) @siriwatknp
@mui/base@5.0.0-alpha.125
@mui/joy@5.0.0-alpha.75
- [Joy] Add tests for slots/slotProps for all components (#36828) @hbjORbj
- [Joy] Support
slots
/slotsProps
for every component (components with only root slot too) (#36540) @hbjORbj
Docs
- [docs][Backdrop] Improvements to the docs (#34244) @alirezahekmati
- [docs] Fix base API redirects (#36833) @mnajdova
- [docs] Improve perf on tab APIs (#36832) @mnajdova
- [docs] Revert CircularProgress component text to be proper noun instead (#36837) @ZeeshanTamboli
- [docs] Simplify language redirection @oliviertassinari
- [docs] Add missing
readOnly
state class in the list (#36788) @ZeeshanTamboli - [docs] Improve side nav scroll into view (#36732) @oliviertassinari
- [docs][base & joy] Display "Classes" Section in API docs (#36589) @hbjORbj
- [docs] Fix 100+ typos throughout the Material UI docs (#36194) @Lioness100
- [docs] Change "coming soon" chip color (#36786) @danilo-leal
- [docs][Joy] Fix wrong prop descriptions (#36826) @hbjORbj
- [docs][material] Highlight global state classes in CSS table in API docs (#36633) @hbjORbj
- [examples] Fix
SliderUnstyled
slotskey
name (#36830) @sai6855 - [Tabs] Improve useTab() API page (#36725) @oliviertassinari
Core
- [core] Increase margin to scroll @oliviertassinari
- [core] Replace MUI Base with Base UI (#36716) @mnajdova
- [website] Fix broken career website links @oliviertassinari
- [website] Fix backlinks to homepage (#36801) @oliviertassinari
- [website] Tweaks to the Designer position ad (#36771) @danilo-leal
All contributors of this release in alphabetical order: @alirezahekmati, @danilo-leal, @hbjORbj, @Lioness100, @mnajdova, @oliviertassinari, @sai6855, @siriwatknp, @ZeeshanTamboli
v5.11.16
Apr 4, 2023
A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
- 💅 Added tabs on API pages of Base UI to switch between component and hook references (#35938) @mnajdova
- 🐛 bug fixes and 📚 documentation improvements.
@mui/material@5.11.16
- [Autocomplete] Listen for click on the root element (#36369) @sai6855
- [Autocomplete] Fix navigation issue on mouse hover (#35196) @sai6855
- [Card] Fix Card focus effect overflowing parent card (#36329) @mj12albert
- [Grid] Missing slot (#36765) @siriwatknp
- [Select] Make error part of the
ownerState
to enable overriding styles with it in theme (#36422) @gitstart - [Slider] Fix ValueLabel UI issues comes when size="small" and orientation="vertical (#36738) @yushanwebdev
@mui/icons-material@5.11.16
- [icons] Do not ignore popular icons (#36608) @michaldudak
@mui/joy@5.0.0-alpha.74
- [Joy] Add
ModalOverflow
component (#36262) @siriwatknp - [Joy] Fix
Checkbox
custom color prop type warning (#36691) @amal-qb
Docs
- [docs][base] Add return type for
useFormControlUnstyledContext
hook (#36302) @HeVictor - [docs][base] Move styles to the bottom of demos code for
FormControl
(#36579) @gitstart - [docs][base] Move styles to the bottom of demos code for
Menu
(#36582) @gitstart - [docs][base] Move styles code to bottom in the
Button
demos (#36590) @sai6855 - [docs][base] Show components & hooks API on the components page (#35938) @mnajdova
- [docs] Describe slotProps in MUI Base customization doc (#36206) @michaldudak
- [docs] Fix double API page redirection (#36743) @oliviertassinari
- [docs] Remove hash property and leverage pathname (#36764) @siriwatknp
- [docs] Introduce markdown permalink to source (#36729) @oliviertassinari
- [docs] Tabs API add slots section (#36769) @mnajdova
- [docs] Update feedbacks management on slack (#36705) @alexfauquette
- [docs] Fix Joy UI URL to tokens (#36742) @oliviertassinari
- [docs] Add toggle-button coming soon page (#36618) @siriwatknp
- [docs] Fix typo on the Joy UI theme builder (#36734) @danilo-leal
- [docs] Fix small typo (#36727) @RBerthier
- [docs] Fix Joy UI template broken image loading @oliviertassinari
- [docs] Hide the default API column if it's empty (#36715) @mnajdova
- [docs] Update Material UI Related Projects page (#34203) @viclafouch
- [docs] Revise Joy UI "Circular Progress" page (#36126) @LadyBluenotes
- [docs] Revise Joy UI "Radio" page (#35893) @DevinCLane
- [docs] Support Google Analytics 4 (#36123) @alexfauquette
- [docs][material] Keep consistency in description of classes (#36631) @hbjORbj
- [docs] Remove redundant files and fix regression (#36775) @ZeeshanTamboli
Core
- [blog] Compress images @oliviertassinari
- [core] Remove unused token (#36722) @oliviertassinari
All contributors of this release in alphabetical order: @alexfauquette, @amal-qb, @danilo-leal, @DevinCLane, @gitstart, @hbjORbj, @HeVictor, @LadyBluenotes, @michaldudak, @mj12albert, @mnajdova, @oliviertassinari, @RBerthier, @sai6855, @siriwatknp, @viclafouch, @yushanwebdev
v5.11.15
Mar 28, 2023
A big thanks to the 10 contributors who made this release possible. We have one big highlight this week ✨:
- @siriwatknp made a Theme Builder for Joy UI 🎨 (#35741)
@mui/material@5.11.15
- [Chip] Fix error when theme value is a CSS variable (#36654) @siriwatknp
- [Grid2] Support dynamic nested columns (#36401) @siriwatknp
@mui/system@5.11.15
- [system] Enable regressions tests & fix regressions (#36611) @mnajdova
- [Stack] Add
useFlexGap
prop (#36404) @siriwatknp
@mui/base@5.0.0-alpha.122
- [Autocomplete] Update
autoSelect
prop description (#36280) @sai6855 - [TablePagination][base] Improve
actions
type inslotProps
(#36458) @sai6855 - [Base] Add JSDoc comments for classes of Base components (#36586) @hbjORbj
- [useSlider][base] Add API docs for the hook parameters and return type (#36576) @varunmulay22
@mui/joy@5.0.0-alpha.73
- [Joy] Miscellaneous fixes (#36628) @siriwatknp
- [Joy] Add palette customizer (#35741) @siriwatknp
Docs
- Revert "[docs] Use
theme.applyDarkStyles
for the rest of the docs" (#36602) @mnajdova - [blog] Improvements on v6 announcement blog (#36505) @joserodolfofreitas
- [docs] Add
Snackbar
coming soon page (#36604) @danilo-leal - [docs] Add accordion coming soon page (#36279) @siriwatknp
- [docs] Fix palette customizer theme augmentation (#36629) @siriwatknp
- [docs] Finish migration away from https://reactjs.org/ @oliviertassinari
- [docs] Remove duplicated slot descriptions (#36621) @hbjORbj
- [docs] Fix broken example link (#36607) @mnajdova
- [docs] Use
theme.applyDarkStyles
(#36606) @siriwatknp - [docs] Improve API for theme default prop (#36490) @oliviertassinari
- [docs][Table] Refactor
Sorting & Selecting
table demo (#33236) @IFaniry
Core
- [core] Use Netlify function for feedback management (#36472) @alexfauquette
All contributors of this release in alphabetical order: @alexfauquette, @danilo-leal, @hbjORbj, @IFaniry, @joserodolfofreitas, @mnajdova, @oliviertassinari, @sai6855, @siriwatknp, @varunmulay22
v5.11.14
Mar 21, 2023
A big thanks to the 15 contributors who made this release possible.
This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
@mui/material@5.11.14
- [Breadcrumbs] Add ability to change icon used in
BreadcrumbCollapsed
through slots (#33812) @pratikkarad - [Stepper] Add aria-current to active StepButton (#36526) @michalak111
- [TabScrollButton] Add ability to change left and right icons (#33863) @pratikkarad
- [ListItemButton] Respect LinkComponent (#34159) @zaverden
- [l10n] Add Central Kurdish (ku-CKB) locale (#36592) @HediMuhamad
@mui/system@5.11.14
@mui/base@5.0.0-alpha.121
@mui/joy@5.0.0-alpha.72
- [Joy] Ensure new CSS variable naming is everywhere (#36460) @hbjORbj
- [Menu][joy] Classname listbox is missing (#36520) @hbjORbj
- [Joy] Fix
--List-decorator*
vars (#36595) @siriwatknp
@mui/lab@5.0.0-alpha.124
Docs
- [blog] Post blog about Chamonix retreat to the website (#36517) @mikailaread
- [blog] Fix image layout shift (#36522) @oliviertassinari
- [docs] Use
theme.applyDarkStyles
for the rest of the docs (#36161) @siriwatknp - [docs] Fix 301 and 404 links (#36555) @oliviertassinari
- [docs] Keep slot code order in API docs (#36499) @oliviertassinari
- [docs] Missing className on Migrating from JSS example (#36536) @gabrielnafuzi
- [docs] Fix function name for Joy templates (#36512) @hbjORbj
- [docs] Add multiline Chip example (#36437) @dav1app
- [docs] Add a new gold sponsor (#36518) @hbjORbj
- [docs][joy] Improve the Slots Table in API docs (#36328) @hbjORbj
- [docs] Fix virtualElement demo for Popper (#36320) @sai6855
- [docs] Fix typo in API docs (#36388) @RomanHotsiy
- [docs] Ensure classname displayed under Slots section in API docs exists (#36539) @hbjORbj
- [docs][joy] Build TS versions for Modal component demos (#36385) @varunmulay22
- [docs][joy] Build TS versions for Menu component demos (#36383) @varunmulay22
- [docs][joy] Build TS versions for Switch component demos (#36379) @varunmulay22
- [docs] Remove
shouldSkipGeneratingVar
usage (#36581) @siriwatknp - [docs][material] Update Table's demo to show pointer cursor on clickable rows (#36546) @varunmulay22
- [website] Designer role changes (#36528) @danilo-leal
- [website] No association between showcase and MUI @oliviertassinari
- [website] Open Head of Operations role (#36501) @oliviertassinari
- [website] Limit sponsors description to two rows @oliviertassinari
Core
- [core] Fix CI @oliviertassinari
- [core] Fix blank line @oliviertassinari
- [website] Simplify internal ops @oliviertassinari
All contributors of this release in alphabetical order: @danilo-leal, @dav1app, @gabrielnafuzi, @hbjORbj, @HediMuhamad, @michalak111, @mikailaread, @mnajdova, @oliviertassinari, @pratikkarad, @RomanHotsiy, @sai6855, @siriwatknp, @varunmulay22, @zaverden
v5.11.13
Mar 14, 2023
A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
- @michaldudak added an option for disabling the generation of the default classes in MUI Base (#35963)
- other 🐛 bug fixes and 📚 documentation improvements.
@mui/material@5.11.13
- [core] Bump MUI Base's version in Material UI (#36492) @hbjORbj
- [material] Export
shouldSkipGeneratingVar
from Material UI (#36489) @siriwatknp - [Typography] Apply font properties to typography inherit variant (#33621) @oyar99
@mui/base@5.0.0-alpha.121
- [base] Disable classes generation via a context (#35963) @michaldudak
- [useMenu][base] Add return interface for useMenu hook (#36376) @HeVictor
- [useBadge] Add interface for the return value (#36042) @skevprog
- [useMenuItem] Add explicit return type (#36359) @rayrw
- [useTabs] Add explicit return type (#36047) @sai6855
Docs
- [blog] Update fields behavior on date pickers blog post (#36480) @joserodolfofreitas
- [docs] Info markdown not rendering in Contributing Guide README (#36487) @hbjORbj
- [docs] Remove 301 redirection to MUI X lab migration @oliviertassinari
- [docs] Fix a grammar error (#36486) @hbjORbj
- [docs] Add blog post notification for v6 release (#36446) @joserodolfofreitas
- [docs] Update link to v5 docs (#36421) @m4theushw
- [docs] Fix 404 in the API page links (#36419) @oliviertassinari
- [docs][joy] Error in the exemplary Codesandbox of using Material UI and Joy UI together (#36462) @hbjORbj
- [examples] Refactor to have better types in the Next.js + TypeScript examples (#36355) @erikian
- [website] Fix layout shift when loading /blog/mui-x-v6/ @oliviertassinari
- [website] Update stats (#36477) @hrutik7
All contributors of this release in alphabetical order: @erikian, @hbjORbj, @HeVictor, @hrutik7, @joserodolfofreitas, @m4theushw, @michaldudak, @oliviertassinari, @oyar99, @rayrw, @sai6855, @siriwatknp, @skevprog
v5.11.12
Mar 6, 2023
A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
- @michaldudak added the multiselect functionality to SelectUnstyled (#36274)
- @mnajdova updated
extendTheme
so that it can generate CSS variables with default values. This means that theCssVarsProvider
is no longer required for Joy UI when using the default theme (#35739) - other 🐛 bug fixes and 📚 documentation improvements.
@mui/material@5.11.12
- [Autocomplete] Fix list scrolls to the top when new data is added on touch devices (#36231) @SaidMarar
- [Autocomplete] Add
Mui-expanded
class (#33312) @Osman-Sodefa - [Dialog] Use the
id
prop provided to theDialogTitle
component (#36353) @Kundan28 - [Menu] Fix Menu Paper styles overriding in the theme (#36316) @Paatus
@mui/lab@5.0.0-alpha.122
- [TreeView] Fix Tree View inside shadow root crashes (#36225) @NoFr1ends
@mui/system@5.11.12
Breaking changes
-
[core] Generate vars in
extendTheme
(#35739) @mnajdovaThe
shouldSkipGeneratingVar
prop was moved from thecreateCssVarsProvider
's option to thetheme
. If the default theme does not useextendTheme
from Material UI or Joy UI, it needs to be wrapped insideunstable_createCssVarsTheme
- a util exported from the MUI System. Below is an example of how the migration should look like:import { unstable_createCssVarsProvider as createCssVarsProvider, + unstable_createCssVarsTheme as createCssVarsTheme, } from '@mui/system'; const { CssVarsProvider } = createCssVarsProvider({ - theme: { + theme: createCssVarsTheme({ colorSchemes: { light: { typography: { htmlFontSize: '16px', h1: { fontSize: '1rem', fontWeight: 500, }, }, }, }, + shouldSkipGeneratingVar: (keys) => keys[0] === 'typography' && keys[1] === 'h1', - }, + }), defaultColorScheme: 'light', - shouldSkipGeneratingVar: (keys) => keys[0] === 'typography' && keys[1] === 'h1', });
Or you can define it directly in the theme prop:
<CssVarsProvider + theme={createCssVarsProvider({ + // other theme keys + shouldSkipGeneratingVar: (keys) => keys[0] === 'typography' && keys[1] === 'h1' + })} />
This breaking change only affects experimental APIs
@mui/base@5.0.0-alpha.120
Breaking changes
-
[Select][base] Add the multiselect functionality to SelectUnstyled (#36274) @michaldudak
The MultiSelectUnstyled was removed. The
SelectUnstyled
component with themultiple
prop should be used instead. Additionally, the SelectUnstyledProps received a second generic parameter:Multiple extends boolean
. If you deal with strictly single- or multi-select components, you can hard-code this parameter tofalse
ortrue
, respectively. Below is an example of how the migration should look like:-import MultiSelectUnstyled from '@mui/base/MultiSelectUnstyled'; +import SelectUnstyled from '@mui/base/SelectUnstyled'; export default App() { -return <MultiSelectUnstyled /> +return <SelectUnstyled multiple /> }
Changes
- [useSnackBar] Add explicit return type (#36052) @sai6855
- [useMenu] Fix
import type
syntax (#36411) @ZeeshanTamboli - [useSwitch] Add explicit return type (#36050) @sai6855
@mui/joy@5.0.0-alpha.70
Breaking changes
-
[Joy] Change CSS variables naming for components (#36282) @hbjORbj
Joy UI has new naming standards of the CSS variables for its components. Below is an example of how the migration should look like:
-<List sx={{ py: 'var(--List-divider-gap)' }}> +<List sx={{ py: 'var(--ListDivider-gap)' }}> -<Switch sx={{ '--Switch-track-width': '40px' }}> +<Switch sx={{ '--Switch-trackWidth': '40px' }}>
Changes
- [Autocomplete][joy] Add disabled class to the popup indicator (#36397) @hbjORbj
- [Joy] Fix broken loading button in Safari (#36298) @Kuba429
Docs
- [docs][joy] Clarify when
CssVarsProvider
is required (#36410) @mnajdova - MUI X v6 release announcement (#36398) @joserodolfofreitas
- [docs] Add instructions for deploying docs without a release (#36301) @cherniavskii
- [docs] Fix 301 redirections on the docs @oliviertassinari
- [docs] Update MUI X banner to reflect stable release (#36354) @MBilalShafi
- [docs] Clarify the future plan for integrating MUI Base in Material UI (#36365) @mnajdova
- [docs] Improve visual look of loose lists (#36190) @oliviertassinari
- [docs] Fix @mui/styles example links (#36331) @oliviertassinari
- [docs][joy] Build TS versions for List component demos (#36382) @sai6855
- [docs][joy] Build TS versions for Radio component demos (#36406) @sai6855
- [docs][joy] Build TS versions for Checkbox component demos (#36381) @sai6855
- [docs][joy] Build TS versions for Select component demos (#36380) @sai6855
- [docs][joy] Build TS versions for Typography component demos (#36378) @varunmulay22
- [docs][joy] Add typescript demos for
Divider
(#36374) @sai6855 - [docs][joy] Build TS versions for Textarea component demos (#36371) @varunmulay22
- [docs][joy] Build TS versions for Link component demos (#36366) @hbjORbj
Core
- Revert "Bump rimraf to ^4.1.3" (#36420) @mnajdova
- [core] Fix test utils types and external
buildApiUtils
usage issues (#36310) @LukasTy - [test] Remove duplicate
combobox
role queries in Autocomplete tests (#36394) @ZeeshanTamboli - [website] Clarify redistribution @oliviertassinari
- [website] Sync /about page (#36334) @oliviertassinari
All contributors of this release in alphabetical order: @cherniavskii, @hbjORbj, @joserodolfofreitas, @Kuba429, @Kundan28, @LukasTy, @MBilalShafi, @michaldudak, @mnajdova, @NoFr1ends, @oliviertassinari, @Osman-Sodefa, @Paatus, @sai6855, @SaidMarar, @varunmulay22, @ZeeshanTamboli
v5.11.11
Feb 28, 2023
A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
- 📚 added API documentation for the slots in MUI Base and Joy UI by @hbjORbj, for e.g. SliderUnstyled API
- other 🐛 bug fixes and 📚 documentation improvements.
@mui/material@5.11.11
- [Autocomplete] Adds
sx
prop toListboxProps
type (#36243) @sai6855 - [material] Add global CSS class for
readOnly
prop (#32822) @jrparish - [Stack][material] Use createStack from the system (#33795) @mnajdova
- [Select] Fix incorrect selecting of first element (#36024) @michaldudak
- [Slider] Miscellaneous improvements (#35941) @ZeeshanTamboli
- [Slider] Remove unnecessary
data-focusvisible
attribute (#36091) @ZeeshanTamboli - [Snackbar] Replace component logic with
useSnackbar
hook (#36272) @ZeeshanTamboli - [TextField] Fix floating label position (#36246) @oliviertassinari
- [TextField] Fix floating label position (#36288) @oliviertassinari
@mui/base@5.0.0-alpha.119
Breaking changes
-
[base] Remove
classes
prop from the Base components that have it (#36157) @hbjORbj
These are the components affected by this change: ModalUnstyled, SliderUnstyled, TablePaginationUnstyled and TablePaginationActionsUnstyled.
You can replace theclasses
prop by providing the class name prop directly to the prop viaslotProps
. Below is an example of how the migration should look like:<TablePaginationUnstyled - classes={{ toolbar: 'toolbar-classname', menuItem: 'menuItem-classname' }} + slotProps={{ toolbar: { className: 'toolbar-classname' }, menuItem: { className: 'menuItem-classname'}}} />
-
[base] Move hooks to their own directories (#36235) @hbjORbj
Base hooks (e.g.,useSelect
) are no longer exported from{Component}Unstyled
directories and instead they have their own directories.
Below is an example of how the migration should look like:-import { useBadge } from '@mui/base/BadgeUnstyled'; +import useBadge from '@mui/base/useBadge';
You can use this codemod to help with the migration.
Changes
- [Autocomplete] Add docs interface for the hook (#36242) @HeVictor
- [MenuUnstyled] Remove extra useMemo (#36265) @ivp-dev
- [base] Export all slot prop overrides interfaces (#36323) @michaldudak
@mui/codemod@5.11.11
@mui/joy@5.0.0-alpha.69
- [Joy] Able to remove default tokens from theme types (#36006) @siriwatknp
- [Joy] Fix modal dialog overflow viewport (#36103) @siriwatknp
- [Joy] Select popup should have max-height (#36156) @Vivek-Prajapatii
- [Joy] Fix
ListDivider
to change semantic based onList
(#36266) @siriwatknp
Docs
- [docs][base] List slots in API documentation (#36104) @hbjORbj
- [docs] Add missing sandbox adapter deps resolving (#36291) @LukasTy
- [docs] Allow to pass navigation bar banner from outside (#36299) @MBilalShafi
- [docs] Fix code on the Working with Tailwind CSS guide (#36090) @mnajdova
- [docs] Remove See Slots Section text from Material UI slots description (#36284) @hbjORbj
- [docs] Fix emotion warning
:first-child
(#36263) @siriwatknp - [docs][joy] Improve the descriptions of props in API docs (#36307) @hbjORbj
- [docs][joy] List slots in API documentation (#36271) @hbjORbj
- [docs][joy] Build API documentations (#36008) @hbjORbj
- [examples] Update Next.js examples to use built-in font (#36315) @Juneezee
- [examples] Update curl link in
material-next-ts-v4-v5-migration
example README (#36321) @ZeeshanTamboli - [examples] Convert Next.js _document class components to function components (#36109) @ossan-engineer
Core
- [Rating] Add a comment in Rating component to use
readOnly
state class (#36357) @ZeeshanTamboli - [website] Fix broken links to role levels (#36333) @oliviertassinari
- [website] Sync gold sponsors (#36312) @oliviertassinari
All contributors of this release in alphabetical order: @hbjORbj, @HeVictor, @ivp-dev, @jrparish, @Juneezee, @LukasTy, @MBilalShafi, @michaldudak, @mnajdova, @oliviertassinari, @ossan-engineer, @sai6855, @siriwatknp, @Vivek-Prajapatii, @ZeeshanTamboli
v5.11.10
Feb 20, 2023
A big thanks to the 11 contributors who made this release possible.
This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
@mui/material@5.11.10
- [Avatar] Fix ownerState usage with styleOverrides when fallback is used (#36228) @sai6855
- [Badge][material] Replace
BadgeUnstyled
withuseBadge
hook (#36158) @hbjORbj - [Switch] Fix DOM warning when
type
isn'tcheckbox
orradio
(#36170) @dani-mp - [TextareaAutosize] Convert code to TypeScript (#35862) @sai6855
- [useMediaQuery] Fix behavior of noSsr with React 18 (#36056) @oliviertassinari
@mui/joy@5.0.0-alpha.68
- [Joy] Add
zIndex
to theme (#36236) @siriwatknp - [Joy] Remove transition from all components (#35952) @hbjORbj
Docs
- [docs][base] Fix base Input demos for Safari (#36213) @mj12albert
- [docs] Fix 301 links @oliviertassinari
- [docs] Fix modal transition demos (#36137) @oliviertassinari
- [docs] Update links to pt examples (#36237) @Aleff13
- [docs] Update custom Typography variants example (#36185) @mj12albert
- [docs] Change markdown numbering syntax (#36187) @mj12albert
- [docs] Fix switch alignment in
Disabled tree items
section in Tree View docs (#36217) @PunitSoniME - [docs] Standardize example names (#36112) @samuelsycamore
- [docs] Fix typo @oliviertassinari
- [docs] Fix markdown table alignments (#36136) @oliviertassinari
- [docs] Small color tweaks to the docs search bar (#36160) @danilo-leal
- [docs][joy] Update class name prefixes in the
Anatomy
section (#36210) @ZeeshanTamboli
Core
- [core] Migrate nprogress to emotion (#36181) @siriwatknp
- [core] Enforce namespace import for ReactDOM (#36208) @mj12albert
- [core] Fix deploy preview links (#36203) @siriwatknp
All contributors of this release in alphabetical order: @Aleff13, @dani-mp, @danilo-leal, @hbjORbj, @mj12albert, @oliviertassinari, @PunitSoniME, @sai6855, @samuelsycamore, @siriwatknp, @ZeeshanTamboli