Skip to content

[8.x] [unified_doc_viewer / unified_search] clean up SASS compilation warnings (#198876)#199052

Merged
kibanamachine merged 1 commit intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-198876
Nov 5, 2024
Merged

[8.x] [unified_doc_viewer / unified_search] clean up SASS compilation warnings (#198876)#199052
kibanamachine merged 1 commit intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-198876

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…ngs (elastic#198876)

## Summary

This PR cleans up two noisy warnings seen when building Kibana:
```
[2024-11-04 21:26:37]    │ warn worker stderr DEPRECATION WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
[2024-11-04 21:26:37]    │ warn worker stderr
[2024-11-04 21:26:37]    │ warn worker stderr Recommendation: math.div($euiSizeXS, 2) or calc($euiSizeXS / 2)
[2024-11-04 21:26:37]    │ warn worker stderr
[2024-11-04 21:26:37]    │ warn worker stderr More info and automated migrator: https://sass-lang.com/d/slash-div
[2024-11-04 21:26:37]    │ warn worker stderr
[2024-11-04 21:26:37]    │ warn worker stderr    ╷
[2024-11-04 21:26:37]    │ warn worker stderr 94 │     padding: $euiSizeXS / 2 0 0 $euiSizeXS;
[2024-11-04 21:26:37]    │ warn worker stderr    │              ^^^^^^^^^^^^^^
[2024-11-04 21:26:37]    │ warn worker stderr    ╵
[2024-11-04 21:26:37]    │ warn worker stderr     file:///home/tim/kibana/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table.scss 94:14  root stylesheet
[2024-11-04 21:26:37]    │ warn worker stderr
[2024-11-04 21:35:27]    │ warn worker stderr DEPRECATION WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
[2024-11-04 21:35:27]    │ warn worker stderr
[2024-11-04 21:35:27]    │ warn worker stderr Recommendation: math.div($euiSizeM, 2) or calc($euiSizeM / 2)
[2024-11-04 21:35:27]    │ warn worker stderr
[2024-11-04 21:35:27]    │ warn worker stderr More info and automated migrator: https://sass-lang.com/d/slash-div
[2024-11-04 21:35:27]    │ warn worker stderr
[2024-11-04 21:35:27]    │ warn worker stderr    ╷
[2024-11-04 21:35:27]    │ warn worker stderr 11 │   padding-block: $euiSizeM / 2;
[2024-11-04 21:35:27]    │ warn worker stderr    │                  ^^^^^^^^^^^^^
[2024-11-04 21:35:27]    │ warn worker stderr    ╵
[2024-11-04 21:35:27]    │ warn worker stderr     file:///home/tim/kibana/src/plugins/unified_search/public/filter_bar/filter_item/filter_item.scss 11:18  root stylesheet
```

(cherry picked from commit 7a3a2b3)
@kibanamachine kibanamachine merged commit 2120e2a into elastic:8.x Nov 5, 2024
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @tsullivan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants