1.0.1 & 1.0.2
Material Design Lite 1.0.1 includes numerous bug-fixes to our components and new support for installing our Sass files for reuse via npm install material-design-lite
. See getting started to grab 1.0.1 from our CDN, Bower, npm or to download it today.
Thanks to all our awesome contributors for helping make this release happen. Catch the release highlights below or the full changelog.
MDL 1.0.2 has also been tagged with some a regression fixer for this release. We've already updated getmdl.io to include this version.
Highlights
Component handler
- Upgrades
upgradeElement
now can take only the element and upgrade all assigned components.- Error objects are now thrown instead of plain strings. This may cause some BC breakage but is unlikely. If you were catching these errors, please verify your code still works as intended.
Components
- Buttons
- Disabled states now work for any combination of modifiers.
- Tooltips
- Now hide on scroll with touch devices.
- Progress
- Downgrade method is now provided to remove the elements it creates from the DOM.
- Navigation
- Spacing preserved for the drawer icon on larger screens is no longer saved when it isn't present.
- Footers
- The footer component was not adhereing to BEM naming conventions. This has been fixed and all modifiers are now available as elements (
--
to__
). Make note that the modifier (--
) usage is now deprecated and you should update to element (__
) targets.
- The footer component was not adhereing to BEM naming conventions. This has been fixed and all modifiers are now available as elements (
- Shadows
- Will work against any component and will override any existing shadows.
Build process
- New variable to trim down output by removing individual color classes.
gulp-sass
has been updated to the 2.0 release.
Templates
- Accessibility updates to icons
Misc changes
- Touch-action added to remove 300ms touch delay for IE.
- Checkboxes and all other components necessary have been explicitly turned on as a widget. This allows for you to set a
disabled
state to these elements among using other public methods available on them.
Community Showcase
Thanks to everyone that's been sending in screenshots of what they've been building with MDL. We're working on a proper Showcase page, but welcome all your submissions. Here are just a few of them.
To request your site be added, please file a new issue on our GitHub issue tracker. The issue should include a link, a description of the site and a suggested screenshot.
Contributing
We've been lucky to have almost 100 contributors help improve the project to date. If you'd like to help, check out the confirmed label for bugs we've confirmed we want to fix.
Thanks and heartz <3