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

release-4.0.0 HDS-2388 icon template native attributes #1360

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

mrTuomoK
Copy link
Contributor

@mrTuomoK mrTuomoK commented Sep 10, 2024

Description

User native props instead of typing ourselves, removed useless "aria-hidden" props from lots of places since it's the default value for it in Icons, fixed some small other component props to use enums instead of raw string values (yeah sorry for this, should maybe be in another ticker, but was touching the files already :P ). Also tweaked Gatsby Playground.js's sanitazion a bit to remove ; from the end of the code -> would crash the previews.

Also includes the changed Icon components since had to run the iconkit-workflow to create them from the template. This is usually done automatically for all *release branches.

Related Issue

Closes HDS-2388

How Has This Been Tested?

  • local machine

Demos:

Links to demos are in the comments

Add to changelog

  • Added needed line to changelog

@mrTuomoK mrTuomoK changed the base branch from development to release-4.0.0 September 10, 2024 11:56
Copy link

github-actions bot commented Sep 10, 2024

Test Results

 1 files  14 suites   2m 49s ⏱️
 7 tests  7 ✅ 0 💤 0 ❌
14 runs  14 ✅ 0 💤 0 ❌

Results for commit 6aa54c9.

♻️ This comment has been updated with latest results.

@mrTuomoK mrTuomoK force-pushed the HDS-2388-icon-template-native-attributes branch 2 times, most recently from 0b33297 to c509c90 Compare September 10, 2024 13:55
@mrTuomoK mrTuomoK marked this pull request as ready for review September 10, 2024 13:56
@mrTuomoK mrTuomoK requested a review from a team September 10, 2024 13:56
Copy link

Preview found from hds-demo docs/preview_1360

Demos

Docs
Core Storybook
React Storybook

@mrTuomoK mrTuomoK force-pushed the HDS-2388-icon-template-native-attributes branch from baa509a to fd98d90 Compare September 12, 2024 13:55
@mrTuomoK mrTuomoK force-pushed the HDS-2388-icon-template-native-attributes branch from fd98d90 to 6aa54c9 Compare September 18, 2024 05:49
Copy link
Contributor

@laurakarhu laurakarhu left a comment

Choose a reason for hiding this comment

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

Code changes seem to be ok, the change needs to be added to migration guide

@mrTuomoK mrTuomoK merged commit d7ae3ae into release-4.0.0 Sep 18, 2024
8 checks passed
@mrTuomoK mrTuomoK deleted the HDS-2388-icon-template-native-attributes branch September 18, 2024 09:32
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.

3 participants