Skip to content

Comments

Export EuiFormControlLayoutIcons#7976

Merged
cee-chen merged 1 commit intoelastic:mainfrom
cee-chen:export-form-control-layout-icons
Aug 23, 2024
Merged

Export EuiFormControlLayoutIcons#7976
cee-chen merged 1 commit intoelastic:mainfrom
cee-chen:export-form-control-layout-icons

Conversation

@cee-chen
Copy link
Contributor

@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

@cee-chen cee-chen added the skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation) label Aug 23, 2024
- 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
@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

Labels

skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants