@mui/base
Advanced tools
Changelog
@mui/base@5.0.0-alpha.101
Changelog
@mui/base@5.0.0-alpha.100
useSnackbar
hook (#33227) @ZeeshanTamboliChangelog
@mui/base@5.0.0-alpha.99
[FocusTrap] Rename TrapFocus to FocusTrap (#34216) @kabernardes
-import TrapFocus from '@mui/base/TrapFocus';
+import FocusTrap from '@mui/base/FocusTrap';
Changelog
@mui/base@5.0.0-alpha.98
[Select][base] Add event parameter to the onChange callback (#34158) @michaldudak
The SelectUnstyled and MultiSelectUnstyled onChange
callbacks did not have event as the first parameter, leading to inconsistency with other components and native HTML elements.
This PR adds the event parameter as the first one and moves the newly selected value to the second position. Because of this, it's a breaking change.
This also affects Select from Joy UI.
// before
<SelectUnstyled onChange={(newValue) => { /* ... */ }} />
// after
<SelectUnstyled onChange={(event, newValue) => { /* ... */ }} />
typescript-to-proptypes
, respect the value pass to the generic (#34311) @flaviendelangleAll contributors of this release in alphabetical order: @alexfauquette, @flaviendelangle, @hbjORbj, @Janpot, @michaldudak, @oliviertassinari, @renovate[bot], @samuelsycamore, @siriwatknp, @tomasz-sodzawiczny, @ZeeshanTamboli
Changelog
@mui/base@5.0.0-alpha.96
mui-color-input
, mui-chips-input
and mui-tel-input
into the related projects page (#34123) @viclafouchtypes
field to packages without index.d.ts (#33952) @michaldudakmousePress
function (#34124) @cherniavskiiAll contributors of this release in alphabetical order: @cherniavskii, @DanailH, @hbjORbj, @Janpot, @michaldudak, @oliviertassinari, @paulschreiber, @ropereraLK, @samuelsycamore, @siriwatknp, @viclafouch
Changelog
@mui/base@5.0.0-alpha.95
Changelog
@mui/base@5.0.0-alpha.93