chore: deprecate euiThemeVars#202943
chore: deprecate euiThemeVars#202943weronikaolejniczak wants to merge 4 commits intoelastic:mainfrom
Conversation
|
@elasticmachine merge upstream |
💔 Build Failed
Failed CI Steps
Test Failures
Metrics [docs]Unknown metric groupsReferences to deprecated APIs
History |
|
It looks like this whole package should be deprecated. @mistic @elastic/kibana-operations how do we typically deprecate an entire package in Kibana, (and evangelize that)? Is it an eslint rule? |
|
@clintandrewhall that makes sense! Looking at Lines 195 to 274 in e067fa2 |
Adding the package to |
|
@elastic/kibana-operations it's been suggested to mark I could put them into an override of the |
@weronikaolejniczak Creating an override with a warning is correct. |
|
@Ikuni17 it's not possible in ESLint to define multiple error levels for a rule at once. A workaround is cloning For now, at the very least, I'd merge this Let me know how that sounds for you! cc @JasonStoltz |
|
@Ikuni17 @clintandrewhall I'd appreciate a decision on this one so we can close it 🙏🏻 |
|
@elasticmachine merge upstream |
|
@Ikuni17 @clintandrewhall I'm closing this PR. Because of the holiday season it's taken a long time to resolve and I already have an ESLint solution ready here. I will open a new PR in Kibana with bump to the ESLint plugin and extending the |
Summary
As we transition from
euiThemeVars(@kbn/ui-theme) touseEuiTheme(@elastic/eui), we plan to include a deprecation notice to discourage the use of the legacy JSON tokens.Context: #199715 (comment)
#8201