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

[Feature] Icon component custom props #252

Merged
merged 4 commits into from
Nov 26, 2019
Merged

Conversation

aappoalander
Copy link
Contributor

Description

This PR update suomifi-icons to version 0.0.10 and introduces support for Icon component custom props. The custom props are now passed forward to underlying svg.

In addition, includes a fix to restore support for custom icon colors.

Related Issue

Closes #156
Relates to #250

Motivation and Context

This update adds support for strict CSP when using Icons and setting the colors.

How Has This Been Tested?

Tested by creating a new local package using Verdaccio and with create react app typescript application with strict CSP.

@aappoalander aappoalander added enhancement New feature or request WIP Work in progress labels Nov 13, 2019
@aappoalander aappoalander added this to the 1.0.0 milestone Nov 13, 2019
ketsappi
ketsappi previously approved these changes Nov 14, 2019
LJKaski
LJKaski previously approved these changes Nov 14, 2019
@aappoalander aappoalander dismissed stale reviews from LJKaski and ketsappi via db86691 November 15, 2019 08:54
@aappoalander aappoalander removed the WIP Work in progress label Nov 18, 2019
ketsappi
ketsappi previously approved these changes Nov 18, 2019
ketsappi
ketsappi previously approved these changes Nov 20, 2019
J-Kallunki
J-Kallunki previously approved these changes Nov 25, 2019
@aappoalander aappoalander requested a review from LJKaski November 26, 2019 07:51
@aappoalander aappoalander merged commit be14562 into develop Nov 26, 2019
@aappoalander aappoalander deleted the fix/icon-props-csp branch December 4, 2020 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Icons have issues in strict Content-Security-Policy environment
4 participants