Skip to content
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

Export EuiFormControlLayoutIcons #7976

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

cee-chen
Copy link
Member

@cee-chen cee-chen commented Aug 23, 2024

Summary

Required by elastic/kibana#190752

Kibana's unified search query string input was using a direct className to get form control icon styling:

https://github.com/elastic/kibana/blob/74d88580a5e3d24c6421942f2c96a8dfd56d39d1/src/plugins/unified_search/public/query_string_input/query_string_input.tsx#L854-L856

Which will no longer work with its Emotion conversion. I had assumed I could reach into @elastic/eui/lib/components directly to import EuiFormControlLayoutIcons, but Kibana's optimizer is throwing build errors when I attempt to do so (related to importing EuiIcon 💀)

QA

N/A

General checklist

N/A, backport only and a Kibana-only concern

- Kibana's unified search query string input component needs it :T
@cee-chen cee-chen force-pushed the export-form-control-layout-icons branch from af00efb to ab44e07 Compare August 23, 2024 02:05
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

@cee-chen cee-chen marked this pull request as ready for review August 23, 2024 03:13
@cee-chen cee-chen requested a review from a team as a code owner August 23, 2024 03:13
Copy link
Member

@tkajtoch tkajtoch left a comment

Choose a reason for hiding this comment

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

🚢

@cee-chen cee-chen merged commit b236fb2 into elastic:main Aug 23, 2024
6 checks passed
@cee-chen cee-chen deleted the export-form-control-layout-icons branch August 23, 2024 15:59
cee-chen added a commit that referenced this pull request Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants