Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: provide iconset import without iron-icon dependency #76

Merged
merged 1 commit into from
Mar 18, 2019

Conversation

Haprog
Copy link
Contributor

@Haprog Haprog commented Mar 15, 2019

Split iconset definition from vaadin-icons.html into new iconset.html (which is then imported in vaadin-icons.html).
This makes it so importing vaadin-icons.html works as before (and includes import of iron-icon) to maintain backwards compatibility, but now the developer also has the option to import the iconset without the iron-icon dependency by importing iconset.html directly. This is useful in some cases like when doing lazy asynchronous imports.

Fixes #72


This change is Reviewable

Split iconset definition from vaadin-icons.html into new iconset.html (which is then imported in vaadin-icons.html).
This makes it so importing vaadin-icons.html works as before (and includes import of iron-icon) to maintain backwards compatibility, but now the developer also has the option to import the iconset without the iron-icon dependency by importing iconset.html directly. This is useful in some cases like when doing lazy asynchronous imports.

Fixes #72
@web-padawan web-padawan merged commit 0e03b8c into master Mar 18, 2019
@web-padawan web-padawan deleted the feature/72 branch March 18, 2019 14:12
web-padawan pushed a commit to vaadin/web-components that referenced this pull request Mar 3, 2021
vaadin/vaadin-icons#76

Split iconset definition from vaadin-icons.html into new iconset.html (which is then imported in vaadin-icons.html).
This makes it so importing vaadin-icons.html works as before (and includes import of iron-icon) to maintain backwards compatibility, but now the developer also has the option to import the iconset without the iron-icon dependency by importing iconset.html directly. This is useful in some cases like when doing lazy asynchronous imports.

Fixes: vaadin/vaadin-icons#72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants