Skip to content

[EuiColorPicker] Add optional color value input - #3336

Merged
thompsongl merged 14 commits into
elastic:masterfrom
thompsongl:3055-colorpicker-input
Apr 21, 2020
Merged

thompsongl merged 14 commits into
elastic:masterfrom
thompsongl:3055-colorpicker-input

Conversation

@thompsongl

@thompsongl thompsongl commented Apr 16, 2020 •

Copy link
Copy Markdown
Contributor

Summary

Closes #3055 by adding an optional prop to display a color value input inside the popover panel.
A nice benefit is that the new prop and rendered output can be used by EuiColorStops, which simplifies those internals quite a bit.

imageimage

Checklist

  • Check against all themes for compatibility in both light and dark modes
  • Checked in mobile
  • Checked in IE11 and Firefox
  • Props have proper autodocs
  • Added documentation examples
  • Added or updated jest tests
  • Checked for breaking changes and labeled appropriately
  • Checked for accessibility including keyboard-only and screenreader modes
  • A changelog entry exists and is marked appropriately

@thompsongl
thompsongl requested a review from cchaos April 16, 2020 17:26
@kibanamachine

Copy link
Copy Markdown
Contributor

@kibanamachine

Copy link
Copy Markdown
Contributor

@kibanamachine

Copy link
Copy Markdown
Contributor

@thompsongl
thompsongl requested a review from cchaos April 20, 2020 15:14
@kibanamachine

Copy link
Copy Markdown
Contributor

@kibanamachine

Copy link
Copy Markdown
Contributor

@kibanamachine

Copy link
Copy Markdown
Contributor

@thompsongl
thompsongl requested a review from cchaos April 21, 2020 17:19
@kibanamachine

Copy link
Copy Markdown
Contributor

@cchaos

cchaos commented Apr 21, 2020

Copy link
Copy Markdown
Contributor

Sorry two more quick things.

  1. Can we align the spacing between the top and bottom inputs. Make the top space size="s".

Screen Shot 2020-04-21 at 14 09 59 PM

  1. Is it possible to remove the trash icon from the readOnly state? It's just adds visual noise.

Screen Shot 2020-04-21 at 14 08 26 PM

@kibanamachine

Copy link
Copy Markdown
Contributor

@cchaos cchaos left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Sweet thanks!

@kibanamachine

Copy link
Copy Markdown
Contributor

@thompsongl

Copy link
Copy Markdown
Contributor Author

jenkins test this

@kibanamachine

Copy link
Copy Markdown
Contributor

@thompsongl
thompsongl merged commit 409edb9 into elastic:master Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EuiColorPicker option for inline color input

3 participants