-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Maps] use EuiColorPalettePicker #69190
Conversation
Pinging @elastic/kibana-gis (Team:Geo) |
blocked by elastic/eui#3615. No way to set data-test-subj so its not possible to select color picker in functional test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good! Just missing an xs gutter size to match the other rows.
@@ -149,12 +158,13 @@ export class ColorMapSelect extends Component { | |||
<EuiFlexGroup gutterSize={'none'}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<EuiFlexGroup gutterSize={'none'}> | |
<EuiFlexGroup gutterSize={'xs'}> |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
retest |
x-pack/plugins/maps/public/classes/styles/color_palettes.test.ts
Outdated
Show resolved
Hide resolved
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💚 Build SucceededBuild metrics@kbn/optimizer bundle module count
History
To update your PR or re-run it, just comment with: |
* [Maps] use EuiColorPalettePicker and Eui palettes * use new ramps to create mb style * update ColorMapSelect to use EuiColorPalettePicker * move color_utils test to color_palettes * clean up heatmap constants * tslint * fix test expects * fix merge mistake * update jest expects * remove .chromium folder * another jest expect update * remove charts from kibana.json * remove unneeded jest.mock Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [Maps] use EuiColorPalettePicker and Eui palettes * use new ramps to create mb style * update ColorMapSelect to use EuiColorPalettePicker * move color_utils test to color_palettes * clean up heatmap constants * tslint * fix test expects * fix merge mistake * update jest expects * remove .chromium folder * another jest expect update * remove charts from kibana.json * remove unneeded jest.mock Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This PR:
src/plugins/charts/public
color maps with EUI color palettes.EuiSuperSelect
color palette picker withEuiColorPalettePicker
component.Blue to Red
palette.Blue to Red
palette will be useful come fall for making it easy to create election cycle maps.src/plugins/charts/public
Staying up to date with EUI will help ensure consistency between the Maps application and the rest of Kibana