@elastic/eui 123.5.0 → 123.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (471) hide show
  1. package/dist/eui-icons.json +87 -87
  2. package/es/components/accessibility/live_announcer/live_announcer.js +1 -1
  3. package/es/components/badge/badge.js +2 -0
  4. package/es/components/basic_table/basic_table.a11y.js +1 -1
  5. package/es/components/basic_table/in_memory_table.a11y.js +1 -1
  6. package/es/components/basic_table/in_memory_table.js +4 -2
  7. package/es/components/bottom_bar/bottom_bar.styles.js +2 -2
  8. package/es/components/breadcrumbs/_breadcrumb_content.styles.js +1 -1
  9. package/es/components/button/button_display/_button_display_content.js +2 -0
  10. package/es/components/button/button_group/button_group.js +1 -1
  11. package/es/components/button/button_group/button_group_button.styles.js +1 -10
  12. package/es/components/card/card.a11y.js +6 -3
  13. package/es/components/card/card.js +1 -1
  14. package/es/components/card/card.styles.js +1 -1
  15. package/es/components/code/code_block_annotations.js +2 -1
  16. package/es/components/color_picker/saturation.styles.js +2 -2
  17. package/es/components/context_menu/context_menu_item.js +4 -1
  18. package/es/components/datagrid/body/cell/data_grid_cell.js +1 -1
  19. package/es/components/datagrid/body/data_grid_body_virtualized.js +1 -1
  20. package/es/components/datagrid/body/footer/data_grid_footer_row.js +1 -1
  21. package/es/components/datagrid/body/header/column_resizer.styles.js +1 -1
  22. package/es/components/datagrid/body/header/column_sorting.js +2 -1
  23. package/es/components/datagrid/body/header/data_grid_header_cell.js +2 -1
  24. package/es/components/datagrid/body/header/data_grid_header_row.js +1 -1
  25. package/es/components/datagrid/controls/column_selector.js +3 -2
  26. package/es/components/datagrid/controls/column_sorting_draggable.js +2 -1
  27. package/es/components/datagrid/controls/data_grid_toolbar.js +2 -2
  28. package/es/components/datagrid/controls/data_grid_toolbar.styles.js +1 -1
  29. package/es/components/datagrid/data_grid.js +1 -1
  30. package/es/components/datagrid/data_grid.stories.utils.js +1 -1
  31. package/es/components/datagrid/data_grid.styles.js +4 -1
  32. package/es/components/datagrid/pagination/data_grid_pagination.styles.js +1 -1
  33. package/es/components/datagrid/utils/scrolling.js +2 -2
  34. package/es/components/date_picker/react_date_picker.styles.js +2 -2
  35. package/es/components/date_picker/super_date_picker/async_interval.js +2 -2
  36. package/es/components/date_picker/super_date_picker/date_popover/timezone_display.js +2 -1
  37. package/es/components/empty_prompt/empty_prompt.js +2 -1
  38. package/es/components/expression/expression.js +4 -1
  39. package/es/components/facet/facet_button.js +1 -1
  40. package/es/components/filter_group/filter_group.styles.js +1 -1
  41. package/es/components/flyout/_flyout_close_button.styles.js +1 -1
  42. package/es/components/form/checkbox/checkbox_control.js +2 -1
  43. package/es/components/form/form_control_layout/append_prepend/form_append_prepend.js +4 -2
  44. package/es/components/form/form_control_layout/form_control_layout.styles.js +10 -1
  45. package/es/components/form/form_control_layout/form_control_layout_clear_button.js +2 -1
  46. package/es/components/form/form_control_layout/form_control_layout_icons.js +2 -1
  47. package/es/components/form/form_control_layout/form_control_layout_icons.styles.js +4 -12
  48. package/es/components/form/radio/radio.js +2 -0
  49. package/es/components/form/switch/switch.js +4 -2
  50. package/es/components/header/header.a11y.js +10 -5
  51. package/es/components/header/header_links/header_links.js +2 -1
  52. package/es/components/header/header_section/header_section_item_button.js +2 -1
  53. package/es/components/health/health.js +2 -1
  54. package/es/components/i18n/i18n_util.js +1 -1
  55. package/es/components/icon/icon_ML.a11y.js +4 -3
  56. package/es/components/icon/icon_apps.a11y.js +4 -3
  57. package/es/components/icon/icon_elastic.a11y.js +4 -3
  58. package/es/components/icon/icon_glyphs.a11y.js +5 -3
  59. package/es/components/icon/icon_tokens.a11y.js +4 -3
  60. package/es/components/image/image_button.js +2 -1
  61. package/es/components/image/image_fullscreen_wrapper.js +2 -1
  62. package/es/components/inline_edit/inline_edit_form.js +2 -2
  63. package/es/components/key_pad_menu/key_pad_menu.a11y.js +12 -6
  64. package/es/components/list_group/list_group.js +1 -1
  65. package/es/components/list_item_layout/_list_item_layout.js +2 -1
  66. package/es/components/loading/loading_elastic.js +2 -1
  67. package/es/components/loading/loading_logo.js +2 -1
  68. package/es/components/loading/loading_logo.styles.js +1 -1
  69. package/es/components/markdown_editor/plugins/markdown_tooltip/renderer.js +2 -1
  70. package/es/components/modal/modal.styles.js +1 -1
  71. package/es/components/outside_click_detector/outside_click_detector.js +3 -3
  72. package/es/components/popover/popover_arrow/_popover_arrow.styles.js +1 -1
  73. package/es/components/popover/popover_panel/_popover_panel.styles.js +2 -2
  74. package/es/components/resizable_container/resizable_button.styles.js +1 -1
  75. package/es/components/resizable_container/resizable_collapse_button.styles.js +3 -12
  76. package/es/components/search_bar/filters/field_value_selection_filter.js +2 -2
  77. package/es/components/search_bar/search_bar.a11y.js +1 -0
  78. package/es/components/selectable/selectable_list/selectable_list.js +1 -1
  79. package/es/components/selectable/selectable_list/selectable_list.styles.js +3 -0
  80. package/es/components/side_nav/side_nav.a11y.js +12 -6
  81. package/es/components/side_nav/side_nav_item.js +4 -2
  82. package/es/components/table/table_header_cell.js +4 -1
  83. package/es/components/text/text_align.js +1 -1
  84. package/es/components/text/text_color.js +1 -1
  85. package/es/components/text_truncate/text_block_truncate.js +1 -1
  86. package/es/components/tool_tip/tool_tip.js +6 -6
  87. package/es/components/tour/tour.styles.js +1 -1
  88. package/es/components/tree_view/tree_view_item.js +2 -1
  89. package/es/global_styling/mixins/_shadow.js +2 -2
  90. package/es/services/container_query/match_container.js +2 -2
  91. package/es/test/cypress/test_reposition_on_scroll.js +1 -0
  92. package/es/test/emotion-prefix.js +1 -1
  93. package/es/test/rtl/component_helpers.js +5 -5
  94. package/es/test/rtl/custom_render.d.ts +29 -8
  95. package/es/test/rtl/data_test_subj_queries.d.ts +18 -3
  96. package/eui.d.ts +147 -146
  97. package/i18ntokens.json +2701 -2683
  98. package/lib/components/accessibility/live_announcer/live_announcer.js +1 -1
  99. package/lib/components/badge/badge.js +2 -0
  100. package/lib/components/basic_table/basic_table.a11y.js +1 -1
  101. package/lib/components/basic_table/in_memory_table.a11y.js +1 -1
  102. package/lib/components/basic_table/in_memory_table.js +4 -2
  103. package/lib/components/bottom_bar/bottom_bar.styles.js +1 -1
  104. package/lib/components/breadcrumbs/_breadcrumb_content.styles.js +1 -1
  105. package/lib/components/button/button_display/_button_display_content.js +2 -0
  106. package/lib/components/button/button_group/button_group.js +1 -1
  107. package/lib/components/button/button_group/button_group_button.styles.js +2 -11
  108. package/lib/components/card/card.a11y.js +6 -3
  109. package/lib/components/card/card.js +1 -1
  110. package/lib/components/card/card.styles.js +1 -1
  111. package/lib/components/code/code_block_annotations.js +2 -1
  112. package/lib/components/color_picker/saturation.styles.js +2 -2
  113. package/lib/components/context_menu/context_menu_item.js +4 -1
  114. package/lib/components/datagrid/body/cell/data_grid_cell.js +1 -1
  115. package/lib/components/datagrid/body/data_grid_body_virtualized.js +1 -1
  116. package/lib/components/datagrid/body/footer/data_grid_footer_row.js +1 -1
  117. package/lib/components/datagrid/body/header/column_resizer.styles.js +1 -1
  118. package/lib/components/datagrid/body/header/column_sorting.js +2 -1
  119. package/lib/components/datagrid/body/header/data_grid_header_cell.js +2 -1
  120. package/lib/components/datagrid/body/header/data_grid_header_row.js +1 -1
  121. package/lib/components/datagrid/controls/column_selector.js +3 -2
  122. package/lib/components/datagrid/controls/column_sorting_draggable.js +2 -1
  123. package/lib/components/datagrid/controls/data_grid_toolbar.js +2 -2
  124. package/lib/components/datagrid/controls/data_grid_toolbar.styles.js +1 -1
  125. package/lib/components/datagrid/data_grid.js +1 -1
  126. package/lib/components/datagrid/data_grid.stories.utils.js +1 -1
  127. package/lib/components/datagrid/data_grid.styles.js +4 -1
  128. package/lib/components/datagrid/pagination/data_grid_pagination.styles.js +1 -1
  129. package/lib/components/datagrid/utils/scrolling.js +2 -2
  130. package/lib/components/date_picker/react_date_picker.styles.js +2 -2
  131. package/lib/components/date_picker/super_date_picker/async_interval.js +2 -2
  132. package/lib/components/date_picker/super_date_picker/date_popover/timezone_display.js +2 -1
  133. package/lib/components/empty_prompt/empty_prompt.js +2 -1
  134. package/lib/components/expression/expression.js +4 -1
  135. package/lib/components/facet/facet_button.js +1 -1
  136. package/lib/components/filter_group/filter_group.styles.js +1 -1
  137. package/lib/components/flyout/_flyout_close_button.styles.js +1 -1
  138. package/lib/components/form/checkbox/checkbox_control.js +2 -1
  139. package/lib/components/form/form_control_layout/append_prepend/form_append_prepend.js +4 -2
  140. package/lib/components/form/form_control_layout/form_control_layout.styles.js +10 -1
  141. package/lib/components/form/form_control_layout/form_control_layout_clear_button.js +2 -1
  142. package/lib/components/form/form_control_layout/form_control_layout_icons.js +2 -1
  143. package/lib/components/form/form_control_layout/form_control_layout_icons.styles.js +6 -12
  144. package/lib/components/form/radio/radio.js +2 -0
  145. package/lib/components/form/switch/switch.js +4 -2
  146. package/lib/components/header/header.a11y.js +10 -5
  147. package/lib/components/header/header_links/header_links.js +2 -1
  148. package/lib/components/header/header_section/header_section_item_button.js +2 -1
  149. package/lib/components/health/health.js +2 -1
  150. package/lib/components/i18n/i18n_util.js +1 -1
  151. package/lib/components/icon/icon_ML.a11y.js +4 -3
  152. package/lib/components/icon/icon_apps.a11y.js +4 -3
  153. package/lib/components/icon/icon_elastic.a11y.js +4 -3
  154. package/lib/components/icon/icon_glyphs.a11y.js +5 -3
  155. package/lib/components/icon/icon_tokens.a11y.js +4 -3
  156. package/lib/components/image/image_button.js +2 -1
  157. package/lib/components/image/image_fullscreen_wrapper.js +2 -1
  158. package/lib/components/inline_edit/inline_edit_form.js +2 -2
  159. package/lib/components/key_pad_menu/key_pad_menu.a11y.js +12 -6
  160. package/lib/components/list_group/list_group.js +1 -1
  161. package/lib/components/list_item_layout/_list_item_layout.js +2 -1
  162. package/lib/components/loading/loading_elastic.js +2 -1
  163. package/lib/components/loading/loading_logo.js +2 -1
  164. package/lib/components/loading/loading_logo.styles.js +1 -1
  165. package/lib/components/markdown_editor/plugins/markdown_tooltip/renderer.js +2 -1
  166. package/lib/components/modal/modal.styles.js +1 -1
  167. package/lib/components/outside_click_detector/outside_click_detector.js +3 -3
  168. package/lib/components/popover/popover_arrow/_popover_arrow.styles.js +1 -1
  169. package/lib/components/popover/popover_panel/_popover_panel.styles.js +1 -1
  170. package/lib/components/resizable_container/resizable_button.styles.js +1 -1
  171. package/lib/components/resizable_container/resizable_collapse_button.styles.js +4 -11
  172. package/lib/components/search_bar/filters/field_value_selection_filter.js +2 -2
  173. package/lib/components/search_bar/search_bar.a11y.js +1 -0
  174. package/lib/components/selectable/selectable_list/selectable_list.js +1 -1
  175. package/lib/components/selectable/selectable_list/selectable_list.styles.js +3 -0
  176. package/lib/components/side_nav/side_nav.a11y.js +12 -6
  177. package/lib/components/side_nav/side_nav_item.js +4 -2
  178. package/lib/components/table/table_header_cell.js +4 -1
  179. package/lib/components/text/text_align.js +1 -1
  180. package/lib/components/text/text_color.js +1 -1
  181. package/lib/components/text_truncate/text_block_truncate.js +1 -1
  182. package/lib/components/tool_tip/tool_tip.js +6 -6
  183. package/lib/components/tour/tour.styles.js +1 -1
  184. package/lib/components/tree_view/tree_view_item.js +2 -1
  185. package/lib/global_styling/mixins/_shadow.js +2 -2
  186. package/lib/services/container_query/match_container.js +2 -2
  187. package/lib/test/cypress/test_reposition_on_scroll.js +1 -0
  188. package/lib/test/emotion-prefix.js +1 -1
  189. package/lib/test/rtl/component_helpers.js +5 -5
  190. package/lib/test/rtl/custom_render.d.ts +29 -8
  191. package/lib/test/rtl/data_test_subj_queries.d.ts +18 -3
  192. package/optimize/es/components/accessibility/live_announcer/live_announcer.js +1 -1
  193. package/optimize/es/components/badge/badge.js +2 -0
  194. package/optimize/es/components/basic_table/basic_table.a11y.js +1 -1
  195. package/optimize/es/components/basic_table/in_memory_table.a11y.js +1 -1
  196. package/optimize/es/components/basic_table/in_memory_table.js +4 -2
  197. package/optimize/es/components/bottom_bar/bottom_bar.styles.js +2 -2
  198. package/optimize/es/components/breadcrumbs/_breadcrumb_content.styles.js +1 -1
  199. package/optimize/es/components/button/button_display/_button_display_content.js +2 -0
  200. package/optimize/es/components/button/button_group/button_group.js +1 -1
  201. package/optimize/es/components/button/button_group/button_group_button.styles.js +1 -10
  202. package/optimize/es/components/card/card.a11y.js +6 -3
  203. package/optimize/es/components/card/card.js +1 -1
  204. package/optimize/es/components/card/card.styles.js +1 -1
  205. package/optimize/es/components/code/code_block_annotations.js +2 -1
  206. package/optimize/es/components/color_picker/saturation.styles.js +2 -2
  207. package/optimize/es/components/context_menu/context_menu_item.js +4 -1
  208. package/optimize/es/components/datagrid/body/cell/data_grid_cell.js +1 -1
  209. package/optimize/es/components/datagrid/body/data_grid_body_virtualized.js +1 -1
  210. package/optimize/es/components/datagrid/body/footer/data_grid_footer_row.js +1 -1
  211. package/optimize/es/components/datagrid/body/header/column_resizer.styles.js +1 -1
  212. package/optimize/es/components/datagrid/body/header/column_sorting.js +2 -1
  213. package/optimize/es/components/datagrid/body/header/data_grid_header_cell.js +2 -1
  214. package/optimize/es/components/datagrid/body/header/data_grid_header_row.js +1 -1
  215. package/optimize/es/components/datagrid/controls/column_selector.js +3 -2
  216. package/optimize/es/components/datagrid/controls/column_sorting_draggable.js +2 -1
  217. package/optimize/es/components/datagrid/controls/data_grid_toolbar.js +2 -2
  218. package/optimize/es/components/datagrid/controls/data_grid_toolbar.styles.js +1 -1
  219. package/optimize/es/components/datagrid/data_grid.js +1 -1
  220. package/optimize/es/components/datagrid/data_grid.stories.utils.js +1 -1
  221. package/optimize/es/components/datagrid/data_grid.styles.js +4 -1
  222. package/optimize/es/components/datagrid/pagination/data_grid_pagination.styles.js +1 -1
  223. package/optimize/es/components/datagrid/utils/scrolling.js +1 -1
  224. package/optimize/es/components/date_picker/react_date_picker.styles.js +2 -2
  225. package/optimize/es/components/date_picker/super_date_picker/async_interval.js +1 -1
  226. package/optimize/es/components/date_picker/super_date_picker/date_popover/timezone_display.js +2 -1
  227. package/optimize/es/components/empty_prompt/empty_prompt.js +2 -1
  228. package/optimize/es/components/expression/expression.js +4 -1
  229. package/optimize/es/components/facet/facet_button.js +1 -1
  230. package/optimize/es/components/filter_group/filter_group.styles.js +1 -1
  231. package/optimize/es/components/flyout/_flyout_close_button.styles.js +1 -1
  232. package/optimize/es/components/form/checkbox/checkbox_control.js +2 -1
  233. package/optimize/es/components/form/form_control_layout/append_prepend/form_append_prepend.js +4 -2
  234. package/optimize/es/components/form/form_control_layout/form_control_layout.styles.js +10 -1
  235. package/optimize/es/components/form/form_control_layout/form_control_layout_clear_button.js +2 -1
  236. package/optimize/es/components/form/form_control_layout/form_control_layout_icons.js +2 -1
  237. package/optimize/es/components/form/form_control_layout/form_control_layout_icons.styles.js +4 -12
  238. package/optimize/es/components/form/radio/radio.js +2 -0
  239. package/optimize/es/components/form/switch/switch.js +4 -2
  240. package/optimize/es/components/header/header.a11y.js +10 -5
  241. package/optimize/es/components/header/header_links/header_links.js +2 -1
  242. package/optimize/es/components/header/header_section/header_section_item_button.js +2 -1
  243. package/optimize/es/components/health/health.js +2 -1
  244. package/optimize/es/components/i18n/i18n_util.js +1 -1
  245. package/optimize/es/components/icon/icon_ML.a11y.js +4 -3
  246. package/optimize/es/components/icon/icon_apps.a11y.js +4 -3
  247. package/optimize/es/components/icon/icon_elastic.a11y.js +4 -3
  248. package/optimize/es/components/icon/icon_glyphs.a11y.js +5 -3
  249. package/optimize/es/components/icon/icon_tokens.a11y.js +4 -3
  250. package/optimize/es/components/image/image_button.js +2 -1
  251. package/optimize/es/components/image/image_fullscreen_wrapper.js +2 -1
  252. package/optimize/es/components/inline_edit/inline_edit_form.js +1 -1
  253. package/optimize/es/components/key_pad_menu/key_pad_menu.a11y.js +12 -6
  254. package/optimize/es/components/list_group/list_group.js +1 -1
  255. package/optimize/es/components/list_item_layout/_list_item_layout.js +2 -1
  256. package/optimize/es/components/loading/loading_elastic.js +2 -1
  257. package/optimize/es/components/loading/loading_logo.js +2 -1
  258. package/optimize/es/components/loading/loading_logo.styles.js +1 -1
  259. package/optimize/es/components/markdown_editor/plugins/markdown_tooltip/renderer.js +2 -1
  260. package/optimize/es/components/modal/modal.styles.js +1 -1
  261. package/optimize/es/components/outside_click_detector/outside_click_detector.js +3 -3
  262. package/optimize/es/components/popover/popover_arrow/_popover_arrow.styles.js +1 -1
  263. package/optimize/es/components/popover/popover_panel/_popover_panel.styles.js +2 -2
  264. package/optimize/es/components/resizable_container/resizable_button.styles.js +1 -1
  265. package/optimize/es/components/resizable_container/resizable_collapse_button.styles.js +3 -12
  266. package/optimize/es/components/search_bar/filters/field_value_selection_filter.js +1 -1
  267. package/optimize/es/components/search_bar/search_bar.a11y.js +1 -0
  268. package/optimize/es/components/selectable/selectable_list/selectable_list.js +1 -1
  269. package/optimize/es/components/selectable/selectable_list/selectable_list.styles.js +3 -0
  270. package/optimize/es/components/side_nav/side_nav.a11y.js +12 -6
  271. package/optimize/es/components/side_nav/side_nav_item.js +4 -2
  272. package/optimize/es/components/table/table_header_cell.js +4 -1
  273. package/optimize/es/components/text/text_align.js +1 -1
  274. package/optimize/es/components/text/text_color.js +1 -1
  275. package/optimize/es/components/text_truncate/text_block_truncate.js +1 -1
  276. package/optimize/es/components/tool_tip/tool_tip.js +6 -6
  277. package/optimize/es/components/tour/tour.styles.js +1 -1
  278. package/optimize/es/components/tree_view/tree_view_item.js +2 -1
  279. package/optimize/es/global_styling/mixins/_shadow.js +2 -2
  280. package/optimize/es/services/container_query/match_container.js +2 -2
  281. package/optimize/es/test/cypress/test_reposition_on_scroll.js +1 -0
  282. package/optimize/es/test/emotion-prefix.js +1 -1
  283. package/optimize/es/test/rtl/component_helpers.js +4 -4
  284. package/optimize/es/test/rtl/custom_render.d.ts +29 -8
  285. package/optimize/es/test/rtl/data_test_subj_queries.d.ts +18 -3
  286. package/optimize/lib/components/accessibility/live_announcer/live_announcer.js +1 -1
  287. package/optimize/lib/components/badge/badge.js +2 -0
  288. package/optimize/lib/components/basic_table/basic_table.a11y.js +1 -1
  289. package/optimize/lib/components/basic_table/in_memory_table.a11y.js +1 -1
  290. package/optimize/lib/components/basic_table/in_memory_table.js +4 -2
  291. package/optimize/lib/components/bottom_bar/bottom_bar.styles.js +1 -1
  292. package/optimize/lib/components/breadcrumbs/_breadcrumb_content.styles.js +1 -1
  293. package/optimize/lib/components/button/button_display/_button_display_content.js +2 -0
  294. package/optimize/lib/components/button/button_group/button_group.js +1 -1
  295. package/optimize/lib/components/button/button_group/button_group_button.styles.js +2 -11
  296. package/optimize/lib/components/card/card.a11y.js +6 -3
  297. package/optimize/lib/components/card/card.js +1 -1
  298. package/optimize/lib/components/card/card.styles.js +1 -1
  299. package/optimize/lib/components/code/code_block_annotations.js +2 -1
  300. package/optimize/lib/components/color_picker/saturation.styles.js +2 -2
  301. package/optimize/lib/components/context_menu/context_menu_item.js +4 -1
  302. package/optimize/lib/components/datagrid/body/cell/data_grid_cell.js +1 -1
  303. package/optimize/lib/components/datagrid/body/data_grid_body_virtualized.js +1 -1
  304. package/optimize/lib/components/datagrid/body/footer/data_grid_footer_row.js +1 -1
  305. package/optimize/lib/components/datagrid/body/header/column_resizer.styles.js +1 -1
  306. package/optimize/lib/components/datagrid/body/header/column_sorting.js +2 -1
  307. package/optimize/lib/components/datagrid/body/header/data_grid_header_cell.js +2 -1
  308. package/optimize/lib/components/datagrid/body/header/data_grid_header_row.js +1 -1
  309. package/optimize/lib/components/datagrid/controls/column_selector.js +3 -2
  310. package/optimize/lib/components/datagrid/controls/column_sorting_draggable.js +2 -1
  311. package/optimize/lib/components/datagrid/controls/data_grid_toolbar.js +2 -2
  312. package/optimize/lib/components/datagrid/controls/data_grid_toolbar.styles.js +1 -1
  313. package/optimize/lib/components/datagrid/data_grid.js +1 -1
  314. package/optimize/lib/components/datagrid/data_grid.stories.utils.js +1 -1
  315. package/optimize/lib/components/datagrid/data_grid.styles.js +4 -1
  316. package/optimize/lib/components/datagrid/pagination/data_grid_pagination.styles.js +1 -1
  317. package/optimize/lib/components/datagrid/utils/scrolling.js +1 -1
  318. package/optimize/lib/components/date_picker/react_date_picker.styles.js +2 -2
  319. package/optimize/lib/components/date_picker/super_date_picker/async_interval.js +1 -1
  320. package/optimize/lib/components/date_picker/super_date_picker/date_popover/timezone_display.js +2 -1
  321. package/optimize/lib/components/empty_prompt/empty_prompt.js +2 -1
  322. package/optimize/lib/components/expression/expression.js +4 -1
  323. package/optimize/lib/components/facet/facet_button.js +1 -1
  324. package/optimize/lib/components/filter_group/filter_group.styles.js +1 -1
  325. package/optimize/lib/components/flyout/_flyout_close_button.styles.js +1 -1
  326. package/optimize/lib/components/form/checkbox/checkbox_control.js +2 -1
  327. package/optimize/lib/components/form/form_control_layout/append_prepend/form_append_prepend.js +4 -2
  328. package/optimize/lib/components/form/form_control_layout/form_control_layout.styles.js +10 -1
  329. package/optimize/lib/components/form/form_control_layout/form_control_layout_clear_button.js +2 -1
  330. package/optimize/lib/components/form/form_control_layout/form_control_layout_icons.js +2 -1
  331. package/optimize/lib/components/form/form_control_layout/form_control_layout_icons.styles.js +6 -12
  332. package/optimize/lib/components/form/radio/radio.js +2 -0
  333. package/optimize/lib/components/form/switch/switch.js +4 -2
  334. package/optimize/lib/components/header/header.a11y.js +10 -5
  335. package/optimize/lib/components/header/header_links/header_links.js +2 -1
  336. package/optimize/lib/components/header/header_section/header_section_item_button.js +2 -1
  337. package/optimize/lib/components/health/health.js +2 -1
  338. package/optimize/lib/components/i18n/i18n_util.js +1 -1
  339. package/optimize/lib/components/icon/icon_ML.a11y.js +4 -3
  340. package/optimize/lib/components/icon/icon_apps.a11y.js +4 -3
  341. package/optimize/lib/components/icon/icon_elastic.a11y.js +4 -3
  342. package/optimize/lib/components/icon/icon_glyphs.a11y.js +5 -3
  343. package/optimize/lib/components/icon/icon_tokens.a11y.js +4 -3
  344. package/optimize/lib/components/image/image_button.js +2 -1
  345. package/optimize/lib/components/image/image_fullscreen_wrapper.js +2 -1
  346. package/optimize/lib/components/inline_edit/inline_edit_form.js +1 -1
  347. package/optimize/lib/components/key_pad_menu/key_pad_menu.a11y.js +12 -6
  348. package/optimize/lib/components/list_group/list_group.js +1 -1
  349. package/optimize/lib/components/list_item_layout/_list_item_layout.js +2 -1
  350. package/optimize/lib/components/loading/loading_elastic.js +2 -1
  351. package/optimize/lib/components/loading/loading_logo.js +2 -1
  352. package/optimize/lib/components/loading/loading_logo.styles.js +1 -1
  353. package/optimize/lib/components/markdown_editor/plugins/markdown_tooltip/renderer.js +2 -1
  354. package/optimize/lib/components/modal/modal.styles.js +1 -1
  355. package/optimize/lib/components/outside_click_detector/outside_click_detector.js +3 -3
  356. package/optimize/lib/components/popover/popover_arrow/_popover_arrow.styles.js +1 -1
  357. package/optimize/lib/components/popover/popover_panel/_popover_panel.styles.js +1 -1
  358. package/optimize/lib/components/resizable_container/resizable_button.styles.js +1 -1
  359. package/optimize/lib/components/resizable_container/resizable_collapse_button.styles.js +4 -11
  360. package/optimize/lib/components/search_bar/filters/field_value_selection_filter.js +1 -1
  361. package/optimize/lib/components/search_bar/search_bar.a11y.js +1 -0
  362. package/optimize/lib/components/selectable/selectable_list/selectable_list.js +1 -1
  363. package/optimize/lib/components/selectable/selectable_list/selectable_list.styles.js +3 -0
  364. package/optimize/lib/components/side_nav/side_nav.a11y.js +12 -6
  365. package/optimize/lib/components/side_nav/side_nav_item.js +4 -2
  366. package/optimize/lib/components/table/table_header_cell.js +4 -1
  367. package/optimize/lib/components/text/text_align.js +1 -1
  368. package/optimize/lib/components/text/text_color.js +1 -1
  369. package/optimize/lib/components/text_truncate/text_block_truncate.js +1 -1
  370. package/optimize/lib/components/tool_tip/tool_tip.js +6 -6
  371. package/optimize/lib/components/tour/tour.styles.js +1 -1
  372. package/optimize/lib/components/tree_view/tree_view_item.js +2 -1
  373. package/optimize/lib/global_styling/mixins/_shadow.js +2 -2
  374. package/optimize/lib/services/container_query/match_container.js +2 -2
  375. package/optimize/lib/test/cypress/test_reposition_on_scroll.js +1 -0
  376. package/optimize/lib/test/emotion-prefix.js +1 -1
  377. package/optimize/lib/test/rtl/component_helpers.js +4 -4
  378. package/optimize/lib/test/rtl/custom_render.d.ts +29 -8
  379. package/optimize/lib/test/rtl/data_test_subj_queries.d.ts +18 -3
  380. package/package.json +9 -11
  381. package/test-env/components/accessibility/live_announcer/live_announcer.js +1 -1
  382. package/test-env/components/badge/badge.js +2 -0
  383. package/test-env/components/basic_table/basic_table.a11y.js +1 -1
  384. package/test-env/components/basic_table/in_memory_table.a11y.js +1 -1
  385. package/test-env/components/basic_table/in_memory_table.js +4 -2
  386. package/test-env/components/bottom_bar/bottom_bar.styles.js +1 -1
  387. package/test-env/components/breadcrumbs/_breadcrumb_content.styles.js +1 -1
  388. package/test-env/components/button/button_display/_button_display_content.js +2 -0
  389. package/test-env/components/button/button_group/button_group.js +1 -1
  390. package/test-env/components/button/button_group/button_group_button.styles.js +2 -11
  391. package/test-env/components/card/card.a11y.js +6 -3
  392. package/test-env/components/card/card.js +1 -1
  393. package/test-env/components/card/card.styles.js +1 -1
  394. package/test-env/components/code/code_block_annotations.js +2 -1
  395. package/test-env/components/color_picker/saturation.styles.js +2 -2
  396. package/test-env/components/context_menu/context_menu_item.js +4 -1
  397. package/test-env/components/datagrid/body/cell/data_grid_cell.js +1 -1
  398. package/test-env/components/datagrid/body/data_grid_body_virtualized.js +1 -1
  399. package/test-env/components/datagrid/body/footer/data_grid_footer_row.js +1 -1
  400. package/test-env/components/datagrid/body/header/column_resizer.styles.js +1 -1
  401. package/test-env/components/datagrid/body/header/column_sorting.js +2 -1
  402. package/test-env/components/datagrid/body/header/data_grid_header_cell.js +2 -1
  403. package/test-env/components/datagrid/body/header/data_grid_header_row.js +1 -1
  404. package/test-env/components/datagrid/controls/column_selector.js +3 -2
  405. package/test-env/components/datagrid/controls/column_sorting_draggable.js +2 -1
  406. package/test-env/components/datagrid/controls/data_grid_toolbar.js +2 -2
  407. package/test-env/components/datagrid/controls/data_grid_toolbar.styles.js +1 -1
  408. package/test-env/components/datagrid/data_grid.js +1 -1
  409. package/test-env/components/datagrid/data_grid.stories.utils.js +1 -1
  410. package/test-env/components/datagrid/data_grid.styles.js +4 -1
  411. package/test-env/components/datagrid/pagination/data_grid_pagination.styles.js +1 -1
  412. package/test-env/components/date_picker/react_date_picker.styles.js +2 -2
  413. package/test-env/components/date_picker/super_date_picker/async_interval.js +1 -1
  414. package/test-env/components/date_picker/super_date_picker/date_popover/timezone_display.js +2 -1
  415. package/test-env/components/empty_prompt/empty_prompt.js +2 -1
  416. package/test-env/components/expression/expression.js +4 -1
  417. package/test-env/components/facet/facet_button.js +1 -1
  418. package/test-env/components/filter_group/filter_group.styles.js +1 -1
  419. package/test-env/components/flyout/_flyout_close_button.styles.js +1 -1
  420. package/test-env/components/form/checkbox/checkbox_control.js +2 -1
  421. package/test-env/components/form/form_control_layout/append_prepend/form_append_prepend.js +4 -2
  422. package/test-env/components/form/form_control_layout/form_control_layout.styles.js +10 -1
  423. package/test-env/components/form/form_control_layout/form_control_layout_clear_button.js +2 -1
  424. package/test-env/components/form/form_control_layout/form_control_layout_icons.js +2 -1
  425. package/test-env/components/form/form_control_layout/form_control_layout_icons.styles.js +6 -12
  426. package/test-env/components/form/radio/radio.js +2 -0
  427. package/test-env/components/form/switch/switch.js +4 -2
  428. package/test-env/components/header/header.a11y.js +10 -5
  429. package/test-env/components/header/header_links/header_links.js +2 -1
  430. package/test-env/components/header/header_section/header_section_item_button.js +2 -1
  431. package/test-env/components/health/health.js +2 -1
  432. package/test-env/components/i18n/i18n_util.js +1 -1
  433. package/test-env/components/icon/icon_ML.a11y.js +4 -3
  434. package/test-env/components/icon/icon_apps.a11y.js +4 -3
  435. package/test-env/components/icon/icon_elastic.a11y.js +4 -3
  436. package/test-env/components/icon/icon_glyphs.a11y.js +5 -3
  437. package/test-env/components/icon/icon_tokens.a11y.js +4 -3
  438. package/test-env/components/image/image_button.js +2 -1
  439. package/test-env/components/image/image_fullscreen_wrapper.js +2 -1
  440. package/test-env/components/inline_edit/inline_edit_form.js +1 -1
  441. package/test-env/components/key_pad_menu/key_pad_menu.a11y.js +12 -6
  442. package/test-env/components/list_group/list_group.js +1 -1
  443. package/test-env/components/list_item_layout/_list_item_layout.js +2 -1
  444. package/test-env/components/loading/loading_elastic.js +2 -1
  445. package/test-env/components/loading/loading_logo.js +2 -1
  446. package/test-env/components/loading/loading_logo.styles.js +1 -1
  447. package/test-env/components/markdown_editor/plugins/markdown_tooltip/renderer.js +2 -1
  448. package/test-env/components/modal/modal.styles.js +1 -1
  449. package/test-env/components/outside_click_detector/outside_click_detector.js +3 -3
  450. package/test-env/components/popover/popover_arrow/_popover_arrow.styles.js +1 -1
  451. package/test-env/components/popover/popover_panel/_popover_panel.styles.js +1 -1
  452. package/test-env/components/resizable_container/resizable_button.styles.js +1 -1
  453. package/test-env/components/resizable_container/resizable_collapse_button.styles.js +4 -11
  454. package/test-env/components/search_bar/filters/field_value_selection_filter.js +1 -1
  455. package/test-env/components/search_bar/search_bar.a11y.js +1 -0
  456. package/test-env/components/selectable/selectable_list/selectable_list.js +1 -1
  457. package/test-env/components/selectable/selectable_list/selectable_list.styles.js +3 -0
  458. package/test-env/components/side_nav/side_nav.a11y.js +12 -6
  459. package/test-env/components/side_nav/side_nav_item.js +4 -2
  460. package/test-env/components/table/table_header_cell.js +4 -1
  461. package/test-env/components/text/text_align.js +1 -1
  462. package/test-env/components/text/text_color.js +1 -1
  463. package/test-env/components/text_truncate/text_block_truncate.js +1 -1
  464. package/test-env/components/tool_tip/tool_tip.js +6 -6
  465. package/test-env/components/tour/tour.styles.js +1 -1
  466. package/test-env/components/tree_view/tree_view_item.js +2 -1
  467. package/test-env/global_styling/mixins/_shadow.js +2 -2
  468. package/test-env/services/container_query/match_container.js +2 -2
  469. package/test-env/test/cypress/test_reposition_on_scroll.js +1 -0
  470. package/test-env/test/emotion-prefix.js +1 -1
  471. package/test-env/test/rtl/component_helpers.js +4 -4
@@ -21,6 +21,7 @@ import PropTypes from "prop-types";
21
21
  import classNames from 'classnames';
22
22
  import { useEuiMemoizedStyles } from '../../services';
23
23
  import { EuiIcon } from '../icon';
24
+ import { useEuiI18n } from '../i18n';
24
25
  import { euiExpressionStyles, euiExpressionDescriptionStyles, euiExpressionValueStyles as valueStyles, euiExpressionIconStyles } from './expression.styles';
25
26
  import { jsx as ___EmotionJSX } from "@emotion/react";
26
27
  export var COLORS = ['subdued', 'primary', 'success', 'accent', 'warning', 'danger'];
@@ -56,6 +57,7 @@ export var EuiExpression = function EuiExpression(_ref) {
56
57
  var cssDescriptionStyles = [descriptionStyles.euiExpression__description, isInvalid ? descriptionStyles.danger : descriptionStyles[color], uppercase && descriptionStyles.isUppercase, textWrap === 'truncate' && descriptionStyles.truncate, display === 'columns' && descriptionStyles.columns];
57
58
  var cssValueStyles = [valueStyles.euiExpression__value, textWrap === 'truncate' && valueStyles.truncate, display === 'columns' && valueStyles.columns];
58
59
  var iconStyles = useEuiMemoizedStyles(euiExpressionIconStyles);
60
+ var invalidIconLabel = useEuiI18n('euiExpression.invalid', 'Invalid expression');
59
61
  var cssIconStyles = [iconStyles.euiExpression__icon, display === 'columns' && iconStyles.columns];
60
62
  var classes = classNames('euiExpression', className);
61
63
  var Component = onClick ? 'button' : 'span';
@@ -77,7 +79,8 @@ export var EuiExpression = function EuiExpression(_ref) {
77
79
  className: "euiExpression__icon",
78
80
  type: "warning",
79
81
  css: cssIconStyles,
80
- color: calculatedColor
82
+ color: calculatedColor,
83
+ "aria-label": invalidIconLabel
81
84
  }));
82
85
  };
83
86
  EuiExpression.propTypes = {
@@ -79,7 +79,7 @@ export var EuiFacetButton = function EuiFacetButton(_ref) {
79
79
 
80
80
  // Add an icon to the button if one exists.
81
81
  var buttonIcon = useMemo(function () {
82
- if ( /*#__PURE__*/React.isValidElement(icon)) {
82
+ if (/*#__PURE__*/React.isValidElement(icon)) {
83
83
  return cloneElementWithCss(icon, _objectSpread({
84
84
  className: 'euiFacetButton__icon'
85
85
  }, disabledStyles));
@@ -28,7 +28,7 @@ export var euiFilterGroupStyles = function euiFilterGroupStyles(euiThemeContext)
28
28
  return {
29
29
  euiFilterGroup: /*#__PURE__*/css("position:relative;display:inline-flex;", logicalCSS('max-width', '100%'), " overflow:hidden;background-color:", backgroundColor, ";&::after{content:'';position:absolute;inset:0;border:", euiTheme.border.width.thin, " solid ", euiTheme.colors.borderBasePlain, ";border-radius:inherit;pointer-events:none;}&:where([data-dividers='true']){gap:", euiTheme.border.width.thin, ";}.euiFilterButton-isToggle{padding-inline:", mathWithUnits([euiTheme.size.s, containerPadding], function (x, y) {
30
30
  return x - y / 2;
31
- }), ";}>*:not(.euiFilterButton__wrapper, .euiFilterButton){", euiFilterButtonDisplay(euiThemeContext), " &:has(.euiFilterButton-isIconOnly){min-inline-size:auto;}}.euiPopover>*:is(.euiToolTipAnchor, .euiFilterButton__wrapper, .euiFilterButton){", logicalCSS('width', '100%'), ";}", euiBreakpoint(euiThemeContext, ['xs', 's']), "{flex-wrap:wrap;}", euiBreakpoint(euiThemeContext, ['xs']), "{display:flex;.euiPopover:focus-within{z-index:1;}.euiFilterButton__wrapper{flex-grow:1;}};label:euiFilterGroup;"),
31
+ }), ";}>*:not(.euiFilterButton__wrapper, .euiFilterButton){", euiFilterButtonDisplay(euiThemeContext), " &:has(.euiFilterButton-isIconOnly){min-inline-size:auto;}}.euiPopover>*:is(.euiToolTipAnchor, .euiFilterButton__wrapper, .euiFilterButton){", logicalCSS('width', '100%'), ";}", euiBreakpoint(euiThemeContext, ['xs', 's']), "{flex-wrap:wrap;}", euiBreakpoint(euiThemeContext, ['xs']), "{display:flex;.euiPopover:focus-within{z-index:", Number(euiTheme.levels.content) + 1, ";}.euiFilterButton__wrapper{flex-grow:1;}};label:euiFilterGroup;"),
32
32
  fullWidth: _ref,
33
33
  uncompressed: /*#__PURE__*/css("border-radius:", buttonSizeMap.m.radius, ";;label:uncompressed;"),
34
34
  compressed: /*#__PURE__*/css("border-radius:", buttonSizeMap.s.radius, ";;label:compressed;"),
@@ -22,7 +22,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
22
22
  export var euiFlyoutCloseButtonStyles = function euiFlyoutCloseButtonStyles(euiThemeContext) {
23
23
  var euiTheme = euiThemeContext.euiTheme;
24
24
  return {
25
- euiFlyout__closeButton: /*#__PURE__*/css("position:absolute;", logicalCSS('right', euiTheme.size.s), " ", logicalCSS('top', euiTheme.size.s), " z-index:3;;label:euiFlyout__closeButton;"),
25
+ euiFlyout__closeButton: /*#__PURE__*/css("position:absolute;", logicalCSS('right', euiTheme.size.s), " ", logicalCSS('top', euiTheme.size.s), " z-index:", Number(euiTheme.levels.content) + 3, ";;label:euiFlyout__closeButton;"),
26
26
  inside: _ref,
27
27
  outside: /*#__PURE__*/css(euiShadowXLarge(euiThemeContext, {
28
28
  borderAllInHighContrastMode: true
@@ -45,7 +45,8 @@ export var EuiCheckboxControl = function EuiCheckboxControl(_ref) {
45
45
  role: "presentation",
46
46
  css: iconStyles,
47
47
  type: iconType,
48
- size: "m"
48
+ size: "m",
49
+ "aria-hidden": true
49
50
  }));
50
51
  };
51
52
  EuiCheckboxControl.propTypes = {
@@ -70,10 +70,12 @@ export var EuiFormAppendPrepend = function EuiFormAppendPrepend(_ref3) {
70
70
  var isButton = element === 'button' || typeof rest.onClick === 'function';
71
71
  var isDisabled = _isDisabled || disabled || !isButton && formLayoutIsDisabled;
72
72
  var iconLeft = _iconLeft && ___EmotionJSX(EuiIcon, {
73
- type: _iconLeft
73
+ type: _iconLeft,
74
+ "aria-hidden": true
74
75
  });
75
76
  var iconRight = _iconRight && ___EmotionJSX(EuiIcon, {
76
- type: _iconRight
77
+ type: _iconRight,
78
+ "aria-hidden": true
77
79
  });
78
80
  var cssStyles = [styles.side, compressed ? styles.compressed : styles.uncompressed, isButton && !isDisabled && styles.isInteractive, isDisabled && styles.disabled];
79
81
  var labelProps = isButton ? {
@@ -35,7 +35,12 @@ export var euiFormControlLayoutStyles = function euiFormControlLayoutStyles(euiT
35
35
  highContrastMode = euiThemeContext.highContrastMode;
36
36
  var form = euiFormVariables(euiThemeContext);
37
37
  return {
38
+ /* eslint-disable @elastic/eui/no-static-z-index -- only isolates the layers
39
+ inside the control; stays at 0 so the control doesn't rise above
40
+ neighbouring layers that don't follow levels.content, such as the
41
+ EuiTable sticky header */
38
42
  euiFormControlLayout: _ref2,
43
+ /* eslint-enable @elastic/eui/no-static-z-index */
39
44
  // Skip the css`` on the default height to avoid generating a className
40
45
  uncompressed: "\n ".concat(logicalCSS('height', form.controlHeight), "\n "),
41
46
  compressed: /*#__PURE__*/css(logicalCSS('height', form.controlCompressedHeight), ";;label:compressed;"),
@@ -43,7 +48,11 @@ export var euiFormControlLayoutStyles = function euiFormControlLayoutStyles(euiT
43
48
  formWidth: "\n ".concat(logicalCSS('max-width', form.maxWidth), "\n ").concat(logicalCSS('width', '100%'), "\n "),
44
49
  fullWidth: /*#__PURE__*/css(logicalCSS('max-width', '100%'), " ", logicalCSS('width', '100%'), ";;label:fullWidth;"),
45
50
  group: {
51
+ /* eslint-disable @elastic/eui/no-static-z-index -- the group border
52
+ (::after) has to stay below the focus and invalid outlines of the
53
+ controls inside, which use z-index: 1 (euiFormControlHighlightBorderStyles) */
46
54
  group: /*#__PURE__*/css("position:relative;display:flex;align-items:stretch;border:none;background-color:", form.backgroundColor, ";overflow:hidden;&::after{content:'';position:absolute;inset:0;z-index:0;border:", euiTheme.border.width.thin, " solid ", form.borderColor, ";border-radius:inherit;pointer-events:none;}&:where(:not(:has(*:is(", euiDisabledSelector, "), [readOnly])):hover){&::after{border:", highContrastMode ? euiTheme.border.width.thick : euiTheme.border.width.thin, " solid ", highContrastMode ? form.borderColor : form.borderHovered, ";}}&:has(:autofill){background:", form.backgroundAutoFilled, ";&:not(:hover)::after{border-color:", form.borderAutofilled, ";}*:-webkit-autofill,*:autofill{--euiFormControlStateAutofillColor:", form.backgroundAutoFilled, ";background-clip:content-box;&:hover,&:focus{--euiFormControlStateAutofillColor:", form.backgroundAutoFilled, ";}}}.euiFilterGroup{border-radius:0;", logicalCSS('padding-right', euiTheme.border.width.thin), " &::after{display:none;}}.euiFilterButton__wrapper:first-of-type::before,.euiFilterButton__wrapper::after{display:none;}>*{", logicalCSS('height', '100%'), ";};label:group;"),
55
+ /* eslint-enable @elastic/eui/no-static-z-index */
47
56
  // Skipping css`` to avoid repeated compressed/uncompressed classNames
48
57
  uncompressed: "\n border-radius: ".concat(form.controlBorderRadius, ";\n "),
49
58
  compressed: "\n border-radius: ".concat(form.controlCompressedBorderRadius, ";\n "),
@@ -78,7 +87,7 @@ export var euiFormControlLayoutSideNodeStyles = function euiFormControlLayoutSid
78
87
  return "\n position: relative;\n ".concat("margin-inline-".concat(side), ": -", euiTheme.border.width.thin, ";\n\n &::before {\n content: '';\n position: absolute;\n inset-inline-").concat(side, ": 0;\n z-index: ").concat(side === 'end' ? 1 : 0, ";\n block-size: ").concat(compressed ? euiTheme.size.base : euiTheme.size.l, ";\n inline-size: ").concat(euiTheme.border.width.thin, ";\n pointer-events: none;\n border-inline-").concat(side, ": \n ").concat(euiTheme.border.width.thin, " solid ").concat(form.borderColor, ";\n }\n ");
79
88
  };
80
89
  return {
81
- euiFormControlLayout__side: /*#__PURE__*/css(logicalCSS('height', '100%'), " ", euiTextTruncate('50%'), " flex-shrink:0;display:flex;align-items:center;gap:", euiTheme.size.s, ";padding:", euiTheme.size.xs, ";", buttons, "{block-size:100%;border-radius:", form.controlLayoutInnerBorderRadius, ";transform:none!important;&:focus-visible{z-index:1;outline-offset:", euiTheme.focus.width, ";}}", text, "{cursor:default;overflow:hidden;text-overflow:ellipsis;}&:where(:has(", buttons, ":focus-visible):has(> *:only-child)){*:not(", appendPrepend, "){outline:none;}&::after{", euiFormControlFocusStyles(euiThemeContext), " content:'';position:absolute;inset:0;border-radius:", form.controlLayoutBorderRadius, ";pointer-events:none;}}:where(:not(:has(:disabled))) label{color:", form.labelColor, ";}.euiFilterButton__wrapper{padding:0;};label:euiFormControlLayout__side;"),
90
+ euiFormControlLayout__side: /*#__PURE__*/css(logicalCSS('height', '100%'), " ", euiTextTruncate('50%'), " flex-shrink:0;display:flex;align-items:center;gap:", euiTheme.size.s, ";padding:", euiTheme.size.xs, ";", buttons, "{block-size:100%;border-radius:", form.controlLayoutInnerBorderRadius, ";transform:none!important;&:focus-visible{z-index:", Number(euiTheme.levels.content) + 1, ";outline-offset:", euiTheme.focus.width, ";}}", text, "{cursor:default;overflow:hidden;text-overflow:ellipsis;}&:where(:has(", buttons, ":focus-visible):has(> *:only-child)){*:not(", appendPrepend, "){outline:none;}&::after{", euiFormControlFocusStyles(euiThemeContext), " content:'';position:absolute;inset:0;border-radius:", form.controlLayoutBorderRadius, ";pointer-events:none;}}:where(:not(:has(:disabled))) label{color:", form.labelColor, ";}.euiFilterButton__wrapper{padding:0;};label:euiFormControlLayout__side;"),
82
91
  uncompressed: {
83
92
  uncompressed: "\n &:not(:has(> ".concat(buttons, ":first-child, > *:first-child ").concat(buttons, ")) {\n ").concat(logicalCSS('padding-left', euiTheme.size.s), "\n }\n\n &:not(:has(> ").concat(buttons, ":last-child, > *:last-child ").concat(buttons, ")) {\n ").concat(logicalCSS('padding-right', euiTheme.size.s), "\n }\n\n ").concat(text, " {\n line-height: ").concat(uncompressedHeight, ";\n\n &:first-child {\n ").concat(logicalCSS('padding-left', euiTheme.size.xs), "\n }\n\n &:last-child {\n ").concat(logicalCSS('padding-right', euiTheme.size.xs), "\n }\n }\n\n ").concat(buttons, " {\n ").concat(logicalCSS('height', uncompressedHeight), "\n ").concat(_buttonPadding('s'), "\n }\n\n .euiButtonIcon {\n flex-shrink: 0;\n ").concat(logicalCSS('width', uncompressedHeight), "\n }\n "),
84
93
  append: "\n ".concat(dividerStyles('start'), "\n "),
@@ -39,7 +39,8 @@ export var EuiFormControlLayoutClearButton = function EuiFormControlLayoutClearB
39
39
  css: iconStyles,
40
40
  className: "euiFormControlLayoutClearButton__icon",
41
41
  type: "cross",
42
- size: size
42
+ size: size,
43
+ "aria-hidden": true
43
44
  }));
44
45
  };
45
46
  EuiFormControlLayoutClearButton.propTypes = {
@@ -120,6 +120,7 @@ var InvalidIcon = function InvalidIcon(_ref6) {
120
120
  return ___EmotionJSX(EuiIcon, {
121
121
  size: "m",
122
122
  color: "danger",
123
- type: "warning"
123
+ type: "warning",
124
+ "aria-hidden": true
124
125
  });
125
126
  };
@@ -1,4 +1,3 @@
1
- function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
2
1
  /*
3
2
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
4
3
  * or more contributor license agreements. Licensed under the Elastic License
@@ -10,15 +9,8 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
10
9
  import { css } from '@emotion/react';
11
10
  import { logicalCSS, mathWithUnits } from '../../../global_styling';
12
11
  import { euiFormVariables } from '../form.styles';
13
- var _ref = process.env.NODE_ENV === "production" ? {
14
- name: "oaqulw-euiFormControlLayoutIcons",
15
- styles: "position:relative;z-index:1;display:flex;align-items:center;pointer-events:none;label:euiFormControlLayoutIcons;"
16
- } : {
17
- name: "oaqulw-euiFormControlLayoutIcons",
18
- styles: "position:relative;z-index:1;display:flex;align-items:center;pointer-events:none;label:euiFormControlLayoutIcons;",
19
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
20
- };
21
12
  export var euiFormControlLayoutIconsStyles = function euiFormControlLayoutIconsStyles(euiThemeContext) {
13
+ var euiTheme = euiThemeContext.euiTheme;
22
14
  var _euiFormVariables = euiFormVariables(euiThemeContext),
23
15
  controlHeight = _euiFormVariables.controlHeight,
24
16
  controlCompressedHeight = _euiFormVariables.controlCompressedHeight,
@@ -26,7 +18,7 @@ export var euiFormControlLayoutIconsStyles = function euiFormControlLayoutIconsS
26
18
  controlCompressedPadding = _euiFormVariables.controlCompressedPadding,
27
19
  controlDisabledColor = _euiFormVariables.controlDisabledColor;
28
20
  return {
29
- euiFormControlLayoutIcons: _ref,
21
+ euiFormControlLayoutIcons: /*#__PURE__*/css("position:relative;z-index:", Number(euiTheme.levels.content) + 1, ";display:flex;align-items:center;pointer-events:none;;label:euiFormControlLayoutIcons;"),
30
22
  uncompressed: "\n gap: ".concat(mathWithUnits(controlPadding, function (x) {
31
23
  return x / 2;
32
24
  }), ";\n max-block-size: ").concat(controlHeight, ";\n "),
@@ -38,11 +30,11 @@ export var euiFormControlLayoutIconsStyles = function euiFormControlLayoutIconsS
38
30
  absolute: {
39
31
  absolute: /*#__PURE__*/css("position:absolute;", logicalCSS('vertical', 0), ";;label:absolute;"),
40
32
  uncompressed: {
41
- left: /*#__PURE__*/css("z-index:2;", logicalCSS('left', controlPadding), ";;label:left;"),
33
+ left: /*#__PURE__*/css("z-index:", Number(euiTheme.levels.content) + 2, ";", logicalCSS('left', controlPadding), ";;label:left;"),
42
34
  right: /*#__PURE__*/css(logicalCSS('right', controlPadding), ";;label:right;")
43
35
  },
44
36
  compressed: {
45
- left: /*#__PURE__*/css("z-index:2;", logicalCSS('left', controlCompressedPadding), ";;label:left;"),
37
+ left: /*#__PURE__*/css("z-index:", Number(euiTheme.levels.content) + 2, ";", logicalCSS('left', controlCompressedPadding), ";;label:left;"),
46
38
  right: /*#__PURE__*/css(logicalCSS('right', controlCompressedPadding), ";;label:right;")
47
39
  }
48
40
  },
@@ -46,6 +46,8 @@ export var EuiRadio = function EuiRadio(_ref) {
46
46
  }, ___EmotionJSX(EuiIcon, {
47
47
  css: styles.input.euiRadio__icon,
48
48
  type: checked ? 'dot' : 'empty' // Note that the icon does explicitly need to be empty for Windows high contrast themes
49
+ ,
50
+ "aria-hidden": true
49
51
  }), ___EmotionJSX("input", {
50
52
  css: styles.input.euiRadio__input,
51
53
  className: "euiRadio__input",
@@ -86,10 +86,12 @@ export var EuiSwitch = function EuiSwitch(_ref) {
86
86
  className: "euiSwitch__icons"
87
87
  }, ___EmotionJSX(EuiIcon, {
88
88
  type: "check",
89
- size: "m"
89
+ size: "m",
90
+ "aria-hidden": true
90
91
  }), ___EmotionJSX(EuiIcon, {
91
92
  type: "cross",
92
- size: "m"
93
+ size: "m",
94
+ "aria-hidden": true
93
95
  }))), ___EmotionJSX("span", {
94
96
  css: thumbStyles,
95
97
  className: "euiSwitch__thumb"
@@ -87,7 +87,8 @@ var Header = function Header() {
87
87
  "aria-label": "Sitewide search"
88
88
  }, ___EmotionJSX(EuiIcon, {
89
89
  type: "magnify",
90
- size: "m"
90
+ size: "m",
91
+ "aria-hidden": true
91
92
  })),
92
93
  emptyMessage: ___EmotionJSX(EuiSelectableMessage, {
93
94
  style: {
@@ -270,7 +271,8 @@ var HeaderAppMenu = function HeaderAppMenu() {
270
271
  onClick: onMenuButtonClick
271
272
  }, ___EmotionJSX(EuiIcon, {
272
273
  type: "apps",
273
- size: "m"
274
+ size: "m",
275
+ "aria-hidden": true
274
276
  }));
275
277
  return ___EmotionJSX(EuiPopover, {
276
278
  id: headerAppPopoverId,
@@ -288,17 +290,20 @@ var HeaderAppMenu = function HeaderAppMenu() {
288
290
  label: "Discover"
289
291
  }, ___EmotionJSX(EuiIcon, {
290
292
  type: "discoverApp",
291
- size: "l"
293
+ size: "l",
294
+ "aria-hidden": true
292
295
  })), ___EmotionJSX(EuiKeyPadMenuItem, {
293
296
  label: "Dashboard"
294
297
  }, ___EmotionJSX(EuiIcon, {
295
298
  type: "dashboardApp",
296
- size: "l"
299
+ size: "l",
300
+ "aria-hidden": true
297
301
  })), ___EmotionJSX(EuiKeyPadMenuItem, {
298
302
  label: "Dev Tools"
299
303
  }, ___EmotionJSX(EuiIcon, {
300
304
  type: "devToolsApp",
301
- size: "l"
305
+ size: "l",
306
+ "aria-hidden": true
302
307
  }))));
303
308
  };
304
309
  beforeEach(function () {
@@ -91,7 +91,8 @@ export var EuiHeaderLinks = function EuiHeaderLinks(_ref) {
91
91
  onClick: onMenuButtonClick
92
92
  }, popoverButtonRest), ___EmotionJSX(EuiIcon, {
93
93
  type: iconType,
94
- size: "m"
94
+ size: "m",
95
+ "aria-hidden": true
95
96
  }));
96
97
  }),
97
98
  isOpen: mobileMenuIsOpen,
@@ -150,7 +150,8 @@ ref) {
150
150
  css: cssStyles,
151
151
  color: notificationColor,
152
152
  type: "dot",
153
- size: "l"
153
+ size: "l",
154
+ "aria-hidden": true
154
155
  });
155
156
  } else if (notification) {
156
157
  return ___EmotionJSX(EuiNotificationBadge, {
@@ -43,7 +43,8 @@ export var EuiHealth = function EuiHealth(_ref) {
43
43
  grow: false
44
44
  }, ___EmotionJSX(EuiIcon, {
45
45
  type: "dot",
46
- color: color
46
+ color: color,
47
+ "aria-hidden": true
47
48
  })), ___EmotionJSX(EuiFlexItem, {
48
49
  grow: false
49
50
  }, children)));
@@ -46,7 +46,7 @@ export function processStringToChildren(input, values, i18nMappingFunc) {
46
46
  } else if (isElement(value)) {
47
47
  // an array with any ReactElements will be kept as an array
48
48
  // so they need to be assigned a key
49
- children.push( /*#__PURE__*/cloneElement(value, {
49
+ children.push(/*#__PURE__*/cloneElement(value, {
50
50
  key: children.length
51
51
  }));
52
52
  } else if (hasPropName(value)) {
@@ -20,15 +20,16 @@ describe('EuiIcons', function () {
20
20
  return ___EmotionJSX("div", null, MLIcons.map(function (glyph) {
21
21
  return ___EmotionJSX(EuiIcon, {
22
22
  className: "eui-alignMiddle",
23
- type: glyph
23
+ type: glyph,
24
+ title: glyph
24
25
  });
25
26
  }));
26
27
  };
27
28
  it('has zero violations on first render', function () {
28
29
  cy.mount(___EmotionJSX(MLGrid, null));
29
- cy.get('div[data-cy-root]').find('svg', {
30
+ cy.get('div[data-cy-root]').find('svg > title', {
30
31
  timeout: 5000
31
- }).should('have.length', 8);
32
+ }).should('have.length', MLIcons.length);
32
33
  cy.checkAxe();
33
34
  });
34
35
  });
@@ -20,15 +20,16 @@ describe('EuiIcons', function () {
20
20
  return ___EmotionJSX("div", null, AppIcons.map(function (glyph) {
21
21
  return ___EmotionJSX(EuiIcon, {
22
22
  className: "eui-alignMiddle",
23
- type: glyph
23
+ type: glyph,
24
+ title: glyph
24
25
  });
25
26
  }));
26
27
  };
27
28
  it('has zero violations on first render', function () {
28
29
  cy.mount(___EmotionJSX(AppGrid, null));
29
- cy.get('div[data-cy-root]').find('svg', {
30
+ cy.get('div[data-cy-root]').find('svg > title', {
30
31
  timeout: 5000
31
- }).should('have.length', 49);
32
+ }).should('have.length', AppIcons.length);
32
33
  cy.checkAxe();
33
34
  });
34
35
  });
@@ -20,15 +20,16 @@ describe('EuiIcons', function () {
20
20
  return ___EmotionJSX("div", null, ElasticLogos.map(function (glyph) {
21
21
  return ___EmotionJSX(EuiIcon, {
22
22
  className: "eui-alignMiddle",
23
- type: glyph
23
+ type: glyph,
24
+ title: glyph
24
25
  });
25
26
  }));
26
27
  };
27
28
  it('has zero violations on first render', function () {
28
29
  cy.mount(___EmotionJSX(ElasticGrid, null));
29
- cy.get('div[data-cy-root]').find('svg', {
30
+ cy.get('div[data-cy-root]').find('svg > title', {
30
31
  timeout: 5000
31
- }).should('have.length', 19);
32
+ }).should('have.length', ElasticLogos.length);
32
33
  cy.checkAxe();
33
34
  });
34
35
  });
@@ -20,15 +20,17 @@ describe('EuiIcons', function () {
20
20
  return ___EmotionJSX("div", null, GlyphIcons.map(function (glyph) {
21
21
  return ___EmotionJSX(EuiIcon, {
22
22
  className: "eui-alignMiddle",
23
- type: glyph
23
+ type: glyph,
24
+ title: glyph === 'empty' ? undefined : glyph,
25
+ "aria-hidden": glyph === 'empty' ? true : undefined
24
26
  });
25
27
  }));
26
28
  };
27
29
  it('has zero violations on first render', function () {
28
30
  cy.mount(___EmotionJSX(GlyphGrid, null));
29
- cy.get('svg[data-icon-type="wrench"]', {
31
+ cy.get('div[data-cy-root]').find('svg > title', {
30
32
  timeout: 5000
31
- }).should('exist');
33
+ }).should('have.length', GlyphIcons.length - 1);
32
34
  cy.checkAxe();
33
35
  });
34
36
  });
@@ -20,15 +20,16 @@ describe('EuiIcons', function () {
20
20
  return ___EmotionJSX("div", null, TokenIcons.map(function (glyph) {
21
21
  return ___EmotionJSX(EuiIcon, {
22
22
  className: "eui-alignMiddle",
23
- type: glyph
23
+ type: glyph,
24
+ title: glyph
24
25
  });
25
26
  }));
26
27
  };
27
28
  it('has zero violations on first render', function () {
28
29
  cy.mount(___EmotionJSX(TokenGrid, null));
29
- cy.get('div[data-cy-root]').find('svg', {
30
+ cy.get('div[data-cy-root]').find('svg > title', {
30
31
  timeout: 5000
31
- }).should('have.length', 53);
32
+ }).should('have.length', TokenIcons.length);
32
33
  cy.checkAxe();
33
34
  });
34
35
  });
@@ -52,7 +52,8 @@ export var EuiImageButton = function EuiImageButton(_ref) {
52
52
  css: cssIconStyles
53
53
  }, ___EmotionJSX(EuiScreenReaderOnly, null, ___EmotionJSX("p", null, hasAlt && ' — ', openFullScreenInstructions)), ___EmotionJSX(EuiIcon, {
54
54
  type: "fullScreen",
55
- color: iconColor
55
+ color: iconColor,
56
+ "aria-hidden": true
56
57
  })));
57
58
  };
58
59
  EuiImageButton.propTypes = {
@@ -82,7 +82,8 @@ export var EuiImageFullScreenWrapper = function EuiImageFullScreenWrapper(_ref)
82
82
  })), ___EmotionJSX(EuiIcon, {
83
83
  type: "fullScreenExit",
84
84
  color: "ghost",
85
- css: cssIconStyles
85
+ css: cssIconStyles,
86
+ "aria-hidden": true
86
87
  })));
87
88
  };
88
89
  EuiImageFullScreenWrapper.propTypes = {
@@ -7,7 +7,7 @@ function _regeneratorKeys(e) { var n = Object(e), r = []; for (var t in n) r.uns
7
7
  function _regeneratorAsync(n, e, r, t, o) { var a = _regeneratorAsyncGen(n, e, r, t, o); return a.next().then(function (n) { return n.done ? n.value : a.next(); }); }
8
8
  function _regeneratorAsyncGen(r, e, t, o, n) { return new _regeneratorAsyncIterator(_regenerator().w(r, e, t, o), n || Promise); }
9
9
  function _regeneratorAsyncIterator(t, e) { function n(r, o, i, f) { try { var c = t[r](o), u = c.value; return u instanceof _OverloadYield ? e.resolve(u.v).then(function (t) { n("next", t, i, f); }, function (t) { n("throw", t, i, f); }) : e.resolve(u).then(function (t) { c.value = t, i(c); }, function (t) { return n("throw", t, i, f); }); } catch (t) { f(t); } } var r; this.next || (_regeneratorDefine2(_regeneratorAsyncIterator.prototype), _regeneratorDefine2(_regeneratorAsyncIterator.prototype, "function" == typeof Symbol && Symbol.asyncIterator || "@asyncIterator", function () { return this; })), _regeneratorDefine2(this, "_invoke", function (t, o, i) { function f() { return new e(function (e, r) { n(t, i, e, r); }); } return r = r ? r.then(f, f) : f(); }, !0); }
10
- function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
10
+ function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? (c > 1 && (G.n = c < 3 ? -1 : u), d(c, u)) : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
11
11
  function _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); }, _regeneratorDefine2(e, r, n, t); }
12
12
  function _OverloadYield(e, d) { this.v = e, this.k = d; }
13
13
  function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
@@ -136,7 +136,7 @@ export var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
136
136
  });
137
137
  };
138
138
  var saveInlineEditValue = /*#__PURE__*/function () {
139
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
139
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
140
140
  var onSaveReturn, awaitedReturn;
141
141
  return _regeneratorRuntime().wrap(function _callee$(_context) {
142
142
  while (1) switch (_context.prev = _context.next) {
@@ -63,7 +63,8 @@ var KeyPadMenu = function KeyPadMenu() {
63
63
  }
64
64
  }, ___EmotionJSX(EuiIcon, {
65
65
  type: "grid",
66
- size: "l"
66
+ size: "l",
67
+ "aria-hidden": true
67
68
  })), ___EmotionJSX(EuiKeyPadMenuItem, {
68
69
  "data-test-subj": "cy-keypad-button-2",
69
70
  id: keypadButtonId__2,
@@ -74,7 +75,8 @@ var KeyPadMenu = function KeyPadMenu() {
74
75
  }
75
76
  }, ___EmotionJSX(EuiIcon, {
76
77
  type: "grid",
77
- size: "l"
78
+ size: "l",
79
+ "aria-hidden": true
78
80
  })), ___EmotionJSX(EuiKeyPadMenuItem, {
79
81
  "data-test-subj": "cy-keypad-button-3",
80
82
  id: keypadButtonId__3,
@@ -85,7 +87,8 @@ var KeyPadMenu = function KeyPadMenu() {
85
87
  }
86
88
  }, ___EmotionJSX(EuiIcon, {
87
89
  type: "grid",
88
- size: "l"
90
+ size: "l",
91
+ "aria-hidden": true
89
92
  })), ___EmotionJSX(EuiKeyPadMenuItem, {
90
93
  "data-test-subj": "cy-keypad-link-1",
91
94
  id: keypadButtonId__4,
@@ -97,7 +100,8 @@ var KeyPadMenu = function KeyPadMenu() {
97
100
  }
98
101
  }, ___EmotionJSX(EuiIcon, {
99
102
  type: "link",
100
- size: "l"
103
+ size: "l",
104
+ "aria-hidden": true
101
105
  })), ___EmotionJSX(EuiKeyPadMenuItem, {
102
106
  "data-test-subj": "cy-keypad-link-2",
103
107
  id: keypadButtonId__5,
@@ -109,7 +113,8 @@ var KeyPadMenu = function KeyPadMenu() {
109
113
  }
110
114
  }, ___EmotionJSX(EuiIcon, {
111
115
  type: "link",
112
- size: "l"
116
+ size: "l",
117
+ "aria-hidden": true
113
118
  })), ___EmotionJSX(EuiKeyPadMenuItem, {
114
119
  "data-test-subj": "cy-keypad-link-3",
115
120
  id: keypadButtonId__6,
@@ -118,7 +123,8 @@ var KeyPadMenu = function KeyPadMenu() {
118
123
  isSelected: selectedID === keypadButtonId__6
119
124
  }, ___EmotionJSX(EuiIcon, {
120
125
  type: "link",
121
- size: "l"
126
+ size: "l",
127
+ "aria-hidden": true
122
128
  }))));
123
129
  };
124
130
  beforeEach(function () {
@@ -70,7 +70,7 @@ export var EuiListGroup = function EuiListGroup(_ref) {
70
70
  var listItemsOrChildren = renderedListItems ||
71
71
  // Note that there's no point in memoizing `children`, as JSX changes every rerender
72
72
  React.Children.map(children, function (child) {
73
- if ( /*#__PURE__*/React.isValidElement(child)) {
73
+ if (/*#__PURE__*/React.isValidElement(child)) {
74
74
  return cloneElementWithCss(child, _objectSpread(_objectSpread({
75
75
  // we're passing the parent `color` and `size` down to the children
76
76
  // so that they can inherit it if they don't have one
@@ -285,7 +285,8 @@ export var EuiListItemLayout = /*#__PURE__*/forwardRef(function (_ref, ref) {
285
285
  css: styles.euiListItemLayout__icon,
286
286
  className: "euiListItemLayout__icon",
287
287
  color: color,
288
- type: icon
288
+ type: icon,
289
+ "aria-hidden": true
289
290
  });
290
291
  }
291
292
  }, [checked, isSingleSelection, showIndicator, isSelected, isDisabled, styles]);
@@ -33,7 +33,8 @@ export var EuiLoadingElastic = function EuiLoadingElastic(_ref) {
33
33
  "aria-label": ariaLabel || defaultLabel
34
34
  }, rest), ___EmotionJSX(EuiIcon, {
35
35
  type: "logoElastic",
36
- size: size
36
+ size: size,
37
+ "aria-hidden": true
37
38
  }));
38
39
  };
39
40
  EuiLoadingElastic.propTypes = {
@@ -40,7 +40,8 @@ export var EuiLoadingLogo = function EuiLoadingLogo(_ref) {
40
40
  css: styles.euiLoadingLogo__icon
41
41
  }, ___EmotionJSX(EuiIcon, {
42
42
  type: logo,
43
- size: size
43
+ size: size,
44
+ "aria-hidden": true
44
45
  })));
45
46
  };
46
47
  EuiLoadingLogo.propTypes = {
@@ -21,7 +21,7 @@ var loadingPadding = {
21
21
  export var euiLoadingLogoStyles = function euiLoadingLogoStyles(_ref) {
22
22
  var euiTheme = _ref.euiTheme;
23
23
  return {
24
- euiLoadingLogo: /*#__PURE__*/css("position:relative;display:inline-block;", euiCanAnimate, "{&::before,&::after{position:absolute;content:'';inline-size:90%;inset-inline-start:5%;border-radius:50%;opacity:0.2;z-index:1;}&::before{box-shadow:0 0 ", euiTheme.size.s, " ", euiTheme.colors.fullShade, ";animation:1s ", loadingPulsateAndFade, " ", euiTheme.animation.resistance, " infinite;}&::after{background-color:", euiTheme.colors.fullShade, ";animation:1s ", loadingPulsate, " ", euiTheme.animation.resistance, " infinite;}};label:euiLoadingLogo;"),
24
+ euiLoadingLogo: /*#__PURE__*/css("position:relative;display:inline-block;", euiCanAnimate, "{&::before,&::after{position:absolute;content:'';inline-size:90%;inset-inline-start:5%;border-radius:50%;opacity:0.2;z-index:", Number(euiTheme.levels.content) + 1, ";}&::before{box-shadow:0 0 ", euiTheme.size.s, " ", euiTheme.colors.fullShade, ";animation:1s ", loadingPulsateAndFade, " ", euiTheme.animation.resistance, " infinite;}&::after{background-color:", euiTheme.colors.fullShade, ";animation:1s ", loadingPulsate, " ", euiTheme.animation.resistance, " infinite;}};label:euiLoadingLogo;"),
25
25
  euiLoadingLogo__icon: /*#__PURE__*/css("display:inline-block;", euiCanAnimate, "{animation:1s ", loadingBounce, " ", euiTheme.animation.resistance, " infinite;};label:euiLoadingLogo__icon;"),
26
26
  /**
27
27
  * 1. Requires pixel math for animation
@@ -31,7 +31,8 @@ export var tooltipMarkdownRenderer = function tooltipMarkdownRenderer(_ref) {
31
31
  type: "question"
32
32
  // This is to offset the tooltip icon, which isn't perfectly centered
33
33
  ,
34
- css: _ref2
34
+ css: _ref2,
35
+ "aria-hidden": true
35
36
  }))));
36
37
  };
37
38
  tooltipMarkdownRenderer.propTypes = {
@@ -22,6 +22,6 @@ export var euiModalStyles = function euiModalStyles(euiThemeContext) {
22
22
  reverse: true,
23
23
  borderAllInHighContrastMode: true
24
24
  }), " inset-block-start:auto;};label:confirmation;"),
25
- euiModal__closeIcon: /*#__PURE__*/css("position:absolute;inset-inline-end:", euiTheme.size.m, ";inset-block-start:", euiTheme.size.m, ";z-index:3;;label:euiModal__closeIcon;")
25
+ euiModal__closeIcon: /*#__PURE__*/css("position:absolute;inset-inline-end:", euiTheme.size.m, ";inset-block-start:", euiTheme.size.m, ";z-index:", Number(euiTheme.levels.content) + 3, ";;label:euiModal__closeIcon;")
26
26
  };
27
27
  };