Skip to content

feat(icon): huge icon component and icon set overhaul and refactoring #1136

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

Merged
merged 11 commits into from
Jan 22, 2025

Conversation

Ruben-Smit
Copy link
Contributor

@Ruben-Smit Ruben-Smit commented Jan 16, 2025

closes #764
closes #446

Copy link

vercel bot commented Jan 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rijkshuisstijl-community ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 0:23am
rijkshuisstijl-community-templates ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 0:23am
rvs-rivm-nl ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 0:23am

@veslav3
Copy link
Contributor

veslav3 commented Jan 18, 2025

Algemene review comment, bij storybook zie ik bij flag icon sets een mooie sample code, maar bij de default icon set niet: https://rijkshuisstijl-community-git-feature-re-4f8d25-nl-design-system.vercel.app/?path=/docs/rhc-templates-default-icon-set--docs

@Ruben-Smit
Copy link
Contributor Author

Algemene review comment, bij storybook zie ik bij flag icon sets een mooie sample code, maar bij de default icon set niet: https://rijkshuisstijl-community-git-feature-re-4f8d25-nl-design-system.vercel.app/?path=/docs/rhc-templates-default-icon-set--docs

@veslav3 het gebruik van de default icon set werkt exact hetzelfde als Icon, er staat daarom een referentie naar de storybook pagina van de Icon component in de docs van de default icon set

veslav3
veslav3 previously approved these changes Jan 22, 2025
Copy link
Contributor

@veslav3 veslav3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@Ruben-Smit Ruben-Smit merged commit 6d979e9 into main Jan 22, 2025
14 checks passed
@Ruben-Smit Ruben-Smit deleted the feature/register-icon-sets branch January 22, 2025 12:26
WebBeest pushed a commit that referenced this pull request Jan 27, 2025
…#1136)

closes #764 
closes #446 

- Refactored Icon component 
- Created icon-set directory with icons
- Refactored default icon set
- Renamed default icon ID type to RHCIconID
- Added [icon
documentation](https://rijkshuisstijl-community-git-feature-re-4f8d25-nl-design-system.vercel.app/?path=/docs/rhc-icon--docs)
- Added unit tests
- Added flag icon set
- Added [default icon set storybook
page](https://rijkshuisstijl-community-git-feature-re-4f8d25-nl-design-system.vercel.app/?path=/docs/rhc-templates-default-icon-set--docs)
- Added [flag icon set storybook
page](https://rijkshuisstijl-community-git-feature-re-4f8d25-nl-design-system.vercel.app/?path=/docs/rhc-templates-flag-icon-set--docs)

---------

Co-authored-by: Ruben Smit <rsmit@quintor.local>
WebBeest pushed a commit that referenced this pull request Jan 27, 2025
…#1136)

closes #764 
closes #446 

- Refactored Icon component 
- Created icon-set directory with icons
- Refactored default icon set
- Renamed default icon ID type to RHCIconID
- Added [icon
documentation](https://rijkshuisstijl-community-git-feature-re-4f8d25-nl-design-system.vercel.app/?path=/docs/rhc-icon--docs)
- Added unit tests
- Added flag icon set
- Added [default icon set storybook
page](https://rijkshuisstijl-community-git-feature-re-4f8d25-nl-design-system.vercel.app/?path=/docs/rhc-templates-default-icon-set--docs)
- Added [flag icon set storybook
page](https://rijkshuisstijl-community-git-feature-re-4f8d25-nl-design-system.vercel.app/?path=/docs/rhc-templates-flag-icon-set--docs)

---------

Co-authored-by: Ruben Smit <rsmit@quintor.local>
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.

Iconen kunnen wisselen (ivm geen open source RHS iconen) Vlaggen van landen als icoon (SVG)
2 participants