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: Import icons in the correct way #169

Merged
merged 1 commit into from
Nov 23, 2023
Merged

fix: Import icons in the correct way #169

merged 1 commit into from
Nov 23, 2023

Conversation

imprashast
Copy link
Contributor

@imprashast imprashast commented Nov 22, 2023

Switch to importing individual icons since that was polluting the bundle. But this is just step 1. It might be that we need to publish individual exports like we do in elements repo.

Currently using icons: 1.3.0-next.2

@imprashast imprashast requested a review from a team November 22, 2023 13:58
Copy link
Contributor

github-actions bot commented Nov 22, 2023

PR Preview Action v1.4.4
Preview removed because the pull request was closed.
2023-11-23 10:31 UTC

@felicia-haggqvist
Copy link
Contributor

Shouldn't this wait until there is a stable new release of icons and use that instead of the latest next-release? I thought we were supposed to avoid adding the "-next" releases to our component-repos, but maybe I've minsunderstood that. :)

@imprashast imprashast merged commit f279db9 into next Nov 23, 2023
7 checks passed
@imprashast imprashast deleted the fix-treeshaking branch November 23, 2023 10:30
github-actions bot pushed a commit that referenced this pull request Nov 23, 2023
## [1.2.1-next.3](v1.2.1-next.2...v1.2.1-next.3) (2023-11-23)

### Bug Fixes

* Import icons in the correct way ([#169](#169)) ([f279db9](f279db9))
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.

Should the meta.json file be added to .gitignore? What is it used for?

@imprashast
Copy link
Contributor Author

Ah, the meta.json is used for bundle analysis. I'll remove that file and show that in my Show & Tell for Tree-shaking :)

github-actions bot pushed a commit that referenced this pull request Nov 29, 2023
## [1.2.1](v1.2.0...v1.2.1) (2023-11-29)

### Bug Fixes

* **combobox:** don't open on modifier key press and fix aria-expanded ([#152](#152)) ([71e42f6](71e42f6))
* Import icons in the correct way ([#169](#169)) ([f279db9](f279db9))
* **textfield:** allow styling input's left padding when prefix is wider than 40px ([#173](#173)) ([89e5a27](89e5a27))
* **textfield:** render prefix before input ([#161](#161)) ([2017cff](2017cff))
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