kibana/examples/controls_example/common/options_list
Hannah Mudge a1fe300a03
[Embeddable Rebuild] [Controls] Refactor options list control (#186655)
Closes https://github.com/elastic/kibana/issues/184374

## Summary

> [!NOTE]
> This PR has **no** user-facing changes - all work is contained in the
`examples` plugin.

### Design reviewers
The `options_list.scss` file in this PR is just a cleaned up /
simplified copy of
https://github.com/elastic/kibana/blob/main/src/plugins/controls/public/options_list/components/options_list.scss.
We are migrating the controls in the examples folder. Once all controls
are migrated, we will replace the embeddable controls with the migrated
controls from the examples



### Presentation reviewers

This PR refactors the options list control to the new React control
framework.




https://github.com/user-attachments/assets/2fcff028-4408-427e-aa19-7d1e4eaf1e76





### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [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))


### 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>
2024-08-01 14:02:18 -05:00
..
ip_search.test.ts [Embeddable Rebuild] [Controls] Refactor options list control (#186655) 2024-08-01 14:02:18 -05:00
ip_search.ts [Embeddable Rebuild] [Controls] Refactor options list control (#186655) 2024-08-01 14:02:18 -05:00
options_list_selections.ts [Embeddable Rebuild] [Controls] Refactor options list control (#186655) 2024-08-01 14:02:18 -05:00
suggestions_searching.test.ts [Embeddable Rebuild] [Controls] Refactor options list control (#186655) 2024-08-01 14:02:18 -05:00
suggestions_searching.ts [Embeddable Rebuild] [Controls] Refactor options list control (#186655) 2024-08-01 14:02:18 -05:00
suggestions_sorting.ts [Embeddable Rebuild] [Controls] Refactor options list control (#186655) 2024-08-01 14:02:18 -05:00