[Snyk] Upgrade material-design-lite from 1.1.3 to 1.3.0 #113
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade material-design-lite from 1.1.3 to 1.3.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: material-design-lite
MDL v1.3 adds some fixes that have been committed since 1.2.1, as well as a new feature.
New: prevent automatic upgrading
@ AlexanderOtavka added the ability to disable auto-upgrading! This is useful if you want to manage the component lifecycle yourself, such as if you're integrating with a framework.
In order to do this, register an event listener for the
mdl-componentupgrading
event. Once you receive an event, you can choose whether or not to cancel it, giving you control on a per-component basis.Bug fixes and improvements
mdl-card--border
option tomdl-card__supporting-text
(4ee5202)Thank you to all the contributors, and sorry if I missed anyone above!
MDC-Web and plans for the future
As you may have noticed, an alpha for Material Components for the web (MDC-Web) was recently released.
MDC-Web started life as version 2 of Material Design Lite, but has since evolved into a project of its own, with a broader team and a strong focus on providing a high-quality Material Design implementation for all of the web.
Here are some of the highlights of what you can expect:
The project is still in its alpha stage, so expect to find a lot of missing components, and to see significant churn as we make changes based on your feedback!
What happens to Material Design Lite?
Material Design Lite (v1) will remain available, with limited support. We don’t have the resources to fully maintain both projects, so we won’t be doing any further development on MDL ourselves.
That said, we’ll do our best to be around to fix critical bugs and accept PRs from the community, as well as release those in new versions. This model has worked well ever since we started the v2 work that eventually resulted in MDC-Web, with new components, new features, and many bugfixes contributed since then.
With this approach, we plan to give developers time to migrate to MDC-Web as the project matures and the community grows.
Full 1.3.0 changelist.
MDL v1.2.1 fixes a regression with the drawer button introduced in 1.2. It was being positioned incorrectly.
Full 1.2.1 changelist.
MDL v1.2 brings in some long due bug-fixes and new features.
New component: chips!
@ b-kelly brings us chips!
A huge thank you for working on this component, @ b-kelly! 🙌
Bug fixes and improvements
CustomEvent
constructor instead ofEvent
for componentHandler events, which fixes them failing in older browsers.mdl-for
for tooltips instead of thefor
attribute. This helps those of you worried about strict HTML validation.Plans for the future
A huge thank you to everyone who contributed to this release! Quite a few of these bugs have long been waiting to get pushed into a new stable release. Sorry it took so long.
As you may have noticed, the core team isn't working very actively on v1 at the moment. We're currently focusing heavily on v2 development, the current state of which can be seen in the master branch. It is still very early and no support is provided for it at the moment, but you are free to play around with it and help discuss things in the issue tracker. You'll find a number of relevant issues there that we've created to help us figure out what your needs are.
With this large focus on v2, v1 is only supported by the core team for critical bugs, moving forward. That said, we are happy to review PRs against the
mdl-1.x
branch for any non-critical bugs or new components, as we did for chips on this release. Fixes and bugs must not break compatibility with existing applications, though, since it's still the 1.x line.This means v1 is now on community-support going forward.
As for v2, we're currently working towards an alpha so we can present our approach and get your feedback. Stay tuned for more!
Full 1.2.0 changelist.
MDL v1.1.3 fixes a few more issues, namely:
initEvent
in Firefox.Full 1.1.3 changelist.
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs