kibana/src
Hannah Mudge bafb23580b
[Controls] Use new panelMinWidth prop in popovers (#165397)
Closes https://github.com/elastic/kibana/issues/164375

## Summary

This PR wraps up https://github.com/elastic/kibana/pull/162651 by fully
migrating to the `EuiInputPopover` for all controls - specifically, this
is made possible by the new `panelMinWidth` prop, which makes it so that
the popover can now extend past the size of the input **while
maintaining** the expected positioning.

| Before | After |
|--------|--------|
| The popover was centered underneath the control on the smallest
size:<br><br>![image](e2814ee2-6df6-47d6-925e-9f97cb8be2a5)
| The popover is left-aligned with the start of the input and expands to
the
right:<br><br>![image](7c698ef0-1534-43b6-ac95-9ae95f1c7613)
|
| The range slider popover could not extend past the control width,
regardless of how small that
was:<br><br>![image](12e33967-b616-4f0a-9ded-4374d65a51b2)
| The range slider popover now also has a minimum width, which makes it
more useable on the smallest
size:<br><br>![image](2fb844db-8f5d-44d8-a6dc-c9cb95d5a4ea)
|

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [x] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [x] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [x] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-09-22 13:02:48 -06:00
..
cli Check where SES is running before passing along service token (#165411) 2023-08-31 19:03:23 -07:00
cli_encryption_keys Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
cli_health_gateway Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
cli_keystore Bump jest@29.6.1 (#161630) 2023-07-15 17:42:30 +02:00
cli_plugin Remove a unnecessary argument (#150268) 2023-02-07 08:58:10 -06:00
cli_setup [Elasticsearch] Log queued requests (#152571) 2023-03-06 14:25:44 +01:00
cli_verification_code Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
core Remove excessively verbose logs (#166525) 2023-09-14 14:41:10 -07:00
dev Upgrade EUI to v88.3.0 (#166676) 2023-09-20 08:03:02 -05:00
plugins [Controls] Use new panelMinWidth prop in popovers (#165397) 2023-09-22 13:02:48 -06:00
setup_node_env [node] Enable openssl legacy provider (#163190) 2023-08-30 11:51:10 -07:00