-
Notifications
You must be signed in to change notification settings - Fork 1
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
fix: add part-attribute to svg for elements-script #50
Conversation
I would say maybe remove the crowdin file and the translation changes from this PR until we get an answer from the i18n team :) |
I can merge these as part of this PR: #51 |
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 hope this works in a server-side-rendered application, too 😄
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.
Worked fine with SSR 👍
# [1.2.0](v1.1.1...v1.2.0) (2023-11-13) ### Bug Fixes * add part-attribute to svg for elements-script ([#50](#50)) ([8a056c7](8a056c7)) * externalize lingui from all icons ([eae5388](eae5388)) ### Features * Expose individual named exports for React & Vue ([#54](#54)) ([1ab02f8](1ab02f8)) ### Reverts * **crowdin.yml:** revert formatting that makes crowdin.yml format invalid ([#52](#52)) ([fc4036b](fc4036b))
Add
part="w-icon-${name}-${size}-part"
to<svg>
in elements-script.NOTE: This is part of implementing changes to the expandable-component in the elements-repo in order to be able to style the svg from a warp-icon that is inside a shadow-DOM. See draft-PR in elements-repo: warp-ds/elements#107