v4.0.0-alpha.10
Pre-release
Pre-release
dmtrKovalenko
released this
17 Jul 19:59
·
43 commits
to next
since this release
Breaking changes
Consolidate classes naming to match the convention with @material-ui/core
We are changed all of our internal components to use:
- Unique component name and display name in component namespace
- All internal components of pickers are named with prefix
MuiPickers
from now - Every component have style option called
root
which points to the root - Using pseudo-classes (e.g.
.Mui-disabled
) to improve the overriding experience
MuiPickersDay: {
&$disabled:{
// provide any disabled styles
}
}
Avoid localized time formats
In order to get rid of unexpected falling back to the unmasked input and warnings – we must avoid usage of localized time format (e.g. "p") and use predefined formats. We do have support for it via date-io and simply use hh:mm
for 24h clock and hh:mm
a for 12h.