Skip to content

[7.x] Use EuiTokens for ES field types (#57911)#58293

Merged
cchaos merged 1 commit intoelastic:7.xfrom
cchaos:backport/7.x/pr-57911
Feb 22, 2020
Merged

[7.x] Use EuiTokens for ES field types (#57911)#58293
cchaos merged 1 commit intoelastic:7.xfrom
cchaos:backport/7.x/pr-57911

Conversation

@cchaos
Copy link
Copy Markdown
Contributor

@cchaos cchaos commented Feb 21, 2020

Backports the following commits to 7.x:

* [FieldIcon] Refactor to extend EuiToken and props

* [Add to FieldIcon] Export props

* [Graph] Updated instances of FieldIcon

* [Maps] Update FieldIcon instance

* [Lens] Update FieldIcon usage


* [Discover] Update FieldIcon usage


* Remove comment

* [Lens] Delete unused files

* [Graph] Fix alignments

* More cleanup

* Fixing snaps

* [Lens] Removing method `getColorForDataType`

The method no longer returns the correct color and EuiProgress doesn’t currently support all the colors from the token map. @cchaos will follow up with a PR to address the coloring of the field data charts. Right now they will fallback to pink for progress and default for charts.

* [Maps] Fixing implementations of FieldIcon

* [Graph] Using css utility class instead of custom class

* Snap

* Fix css to use var
@cchaos cchaos added the backport This PR is a backport of another PR label Feb 21, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@cchaos cchaos merged commit ee5ebd9 into elastic:7.x Feb 22, 2020
@cchaos cchaos deleted the backport/7.x/pr-57911 branch February 22, 2020 22:23
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.

2 participants