You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @tomitank! Could you please use the regular bug report template for your issue? We can't easily triage this or help you if we don't know the EUI version. Thanks!
Generally speaking, unless you're using a deprecated version of @elastic/eui the version of @elastic/eui-theme-common should be correct in package.json.
As for the _animation.scss, you're right that it's not exported from @elastic/eui-theme-borealis. Animations got moved to the common package but you can still import them from @elastic/eui/src/global_styling/variables/_animations.scss if you really need them. Having said that I want to highlight that we're deprecating SCSS utilities in EUI and likely will remove these files in 3-6 months. If you're still using SCSS we recommend migrating to Emotion.
But now the /eui install the @elastic/eui-theme-borealis and @elastic/eui-theme-borealis has dependenci for @elastic/eui-theme-common: "@elastic/eui-theme-common": "0.0.9"
dev dependencies is ok, but peerDependencies not, and for me always installed 0.0.9 (npm and yarn too)
When i add @elastic/eui-theme-common to my package.json, than it solved the above problem. but it still wrong:
when i good remember, i don't use scss inside my code, but i has warnings after install the new version of eui inside my terminal.
_animation.scss was only 1 error, but i had least 10 same error
when you see the last @elastic/eui-theme-borealis npm package, then you can see that the version is same like the github 0.1.0, but the code is different. I think the npm package has not been updated.
Could you please upgrade to the latest @elastic/eui and @elastic/eui-theme-borealis? This will ensure all dependency versions are correct and matching. You don't need @elastic/eui-theme-common added as a dependency in your projects - the warning can be disregarded for the time being.
It looks like we've forgotten to remove @elastic/eui-theme-common from peerDependencies of @elastic/eui-theme-borealis.
The package.json update is tracked by #8599. I'm going to close this issue in favor of that one. I'll try to get to it this week, so the next EUI release will have @elastic/eui-theme-common removed from peerDependencies.
If you have any further questions please open a new issue. Thank you!
Activity
tkajtoch commentedon Apr 3, 2025
Hi @tomitank! Could you please use the regular bug report template for your issue? We can't easily triage this or help you if we don't know the EUI version. Thanks!
tkajtoch commentedon Apr 3, 2025
Generally speaking, unless you're using a deprecated version of
@elastic/euithe version of@elastic/eui-theme-commonshould be correct inpackage.json.As for the
_animation.scss, you're right that it's not exported from@elastic/eui-theme-borealis. Animations got moved to the common package but you can still import them from@elastic/eui/src/global_styling/variables/_animations.scssif you really need them. Having said that I want to highlight that we're deprecating SCSS utilities in EUI and likely will remove these files in 3-6 months. If you're still using SCSS we recommend migrating to Emotion.tomitank commentedon Apr 4, 2025
hi @tkajtoch,
earlier i always installed eui with next dependecies and don't have issue:
But now the /eui install the @elastic/eui-theme-borealis and @elastic/eui-theme-borealis has dependenci for @elastic/eui-theme-common:
"@elastic/eui-theme-common": "0.0.9"
dev dependencies is ok, but peerDependencies not, and for me always installed 0.0.9 (npm and yarn too)
When i add @elastic/eui-theme-common to my package.json, than it solved the above problem. but it still wrong:
eui/packages/eui-theme-borealis/package.json
Line 57 in aff1a0e
_animation.scss was only 1 error, but i had least 10 same error
when you see the last @elastic/eui-theme-borealis npm package, then you can see that the version is same like the github 0.1.0, but the code is different. I think the npm package has not been updated.
tkajtoch commentedon Apr 7, 2025
Hi @tomitank, that clarifies a lot, thanks!
Could you please upgrade to the latest
@elastic/euiand@elastic/eui-theme-borealis? This will ensure all dependency versions are correct and matching. You don't need@elastic/eui-theme-commonadded as a dependency in your projects - the warning can be disregarded for the time being.It looks like we've forgotten to remove
@elastic/eui-theme-commonfrompeerDependenciesof@elastic/eui-theme-borealis.tkajtoch commentedon Apr 16, 2025
The package.json update is tracked by #8599. I'm going to close this issue in favor of that one. I'll try to get to it this week, so the next EUI release will have
@elastic/eui-theme-commonremoved frompeerDependencies.If you have any further questions please open a new issue. Thank you!