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

fix: add part-attribute to svg for elements-script #50

Merged
merged 4 commits into from
Nov 9, 2023

Conversation

felicia-haggqvist
Copy link
Contributor

@felicia-haggqvist felicia-haggqvist commented Nov 8, 2023

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

@imprashast
Copy link
Contributor

I would say maybe remove the crowdin file and the translation changes from this PR until we get an answer from the i18n team :)

@BalbinaK
Copy link
Contributor

BalbinaK commented Nov 9, 2023

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

Copy link
Contributor

@BalbinaK BalbinaK left a 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 😄

Copy link
Contributor

@imprashast imprashast left a 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 👍

@felicia-haggqvist felicia-haggqvist merged commit 8a056c7 into next Nov 9, 2023
1 check passed
@felicia-haggqvist felicia-haggqvist deleted the refactor/add-part-to-svg-class branch November 9, 2023 13:05
github-actions bot pushed a commit that referenced this pull request Nov 9, 2023
## [1.1.2-next.2](v1.1.2-next.1...v1.1.2-next.2) (2023-11-09)

### Bug Fixes

* add part-attribute to svg for elements-script ([#50](#50)) ([8a056c7](8a056c7))

### Reverts

* **crowdin.yml:** revert formatting that makes crowdin.yml format invalid ([#52](#52)) ([fc4036b](fc4036b))
github-actions bot pushed a commit that referenced this pull request Nov 13, 2023
# [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))
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.

None yet

3 participants