Unified colorpicker (#9347)

* colorpicker: initial picker with predefined palette and spectrum

* colorpicker: highlight selected color

* colorpicker: add onChange() callback

* colorpicker: replace singlestat picker by new one

* colorpicker: style tweak

* colorpicker: parse color on input blur

* colorpicker: sort palette by hue and lightness

* colorpicker: refactor, move colors sorting to 'app/core/utils/colors'

* tech: colorpicker - fix linter errors

* colorpicker: convert to React components

* colorpicker: fix spectrum import after moving to webpack

* colorpicker: minor refactor

* colorpicker: initial series color picker

* colorpicker: fix tests error
This commit is contained in:
Alexander Zobnin
2017-10-04 08:15:23 +03:00
committed by Torkel Ödegaard
parent 7859d4ffca
commit 2aae2556a5
11 changed files with 432 additions and 5 deletions

View File

@@ -35,3 +35,13 @@
float: left;
z-index: 0;
}
.colorpicker-container {
min-height: 190px;
}
.drop-popover.gf-color-picker {
.drop-content {
width: 210px;
}
}