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

chore: import icons for fast-foundation stories #6607

Merged
merged 5 commits into from
Jan 30, 2023

Conversation

bheston
Copy link
Collaborator

@bheston bheston commented Jan 17, 2023

Pull Request

📖 Description

Add icons or change from inline svg to imported svg icons for fast-foundation stories.

This work comes from the foundation template update work and will further simplify that. It's needed for proper testing of components that expect a provided icon.

✅ Checklist

General

  • I have included a change request file using $ yarn change
  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

⏭ Next Steps

Finish switching over remaining icons in the foundation template update where some styles also change to not directly target expected class or part.

Comment on lines +27 to +33
{
test: /\.svg$/,
loader: "svg-inline-loader",
options: {
removeSVGTagAttrs: false,
},
},
Copy link
Member

Choose a reason for hiding this comment

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

@radium-v do you know if we're setup on a version where we can leverage the statics/builtins from storybook?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I considered updating to use the assets model but this was a known entity.

@bheston bheston force-pushed the users/bheston/import-foundation-story-icons branch from bffda22 to e2511ba Compare January 18, 2023 18:57
yarn.lock Outdated Show resolved Hide resolved
yarn.lock Outdated Show resolved Hide resolved
@bheston bheston force-pushed the users/bheston/import-foundation-story-icons branch from bd0b187 to 79e47a0 Compare January 29, 2023 19:49
@chrisdholt chrisdholt merged commit 2f8c3d3 into master Jan 30, 2023
@chrisdholt chrisdholt deleted the users/bheston/import-foundation-story-icons branch January 30, 2023 21:49
@bheston bheston self-assigned this Feb 25, 2023
janechu pushed a commit that referenced this pull request Jun 10, 2024
* Import icons for fast-foundation stories

* Change files

* Review comments

* Switched from Fluent package to local svg

* Fix yarn.lock
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.

4 participants