-
Notifications
You must be signed in to change notification settings - Fork 600
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
chore: import icons for fast-foundation stories #6607
Conversation
change/@microsoft-fast-foundation-12c0b3c8-515f-4b6f-a47b-0d6124919595.json
Outdated
Show resolved
Hide resolved
{ | ||
test: /\.svg$/, | ||
loader: "svg-inline-loader", | ||
options: { | ||
removeSVGTagAttrs: false, | ||
}, | ||
}, |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
packages/web-components/fast-foundation/src/accordion-item/stories/accordion-item.register.ts
Outdated
Show resolved
Hide resolved
bffda22
to
e2511ba
Compare
bd0b187
to
79e47a0
Compare
* Import icons for fast-foundation stories * Change files * Review comments * Switched from Fluent package to local svg * Fix yarn.lock
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
$ yarn change
⏭ Next Steps
Finish switching over remaining icons in the foundation template update where some styles also change to not directly target expected
class
orpart
.