@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
@@ -59,7 +59,10 @@ var euiDataGridStyles = exports.euiDataGridStyles = function euiDataGridStyles(e
59
59
  };
60
60
  var border = "".concat(euiTheme.border.width.thin, " solid ").concat(borderColors.default);
61
61
  return {
62
+ /* eslint-disable @elastic/eui/no-static-z-index -- the row hover background
63
+ (::before) has to stay behind the row's cells, which use z-index: auto */
62
64
  euiDataGrid: /*#__PURE__*/(0, _react.css)("display:flex;flex-direction:column;align-items:stretch;", (0, _global_styling.logicalCSS)('height', '100%'), " overflow:hidden;*:where(& .euiDataGridRow){background-color:", euiTheme.components.dataGridRowBackground, ";}*:where(&.euiDataGrid--rowHoverHighlight .euiDataGridRow:hover){background-color:", euiTheme.components.dataGridRowBackgroundHover, ";}*:where(& .euiDataGridRow--selected){background-color:", euiTheme.components.dataGridRowBackgroundSelect, ";}*:where(& .euiDataGridRow--marked){background-color:", euiTheme.components.dataGridRowBackgroundMarked, ";.euiDataGridRowCell.euiDataGridRowCell{", outlineSelectors.marked, "{", (0, _data_grid_cell.euiDataGridCellOutlineStyles)(euiThemeContext).markedStyles, ";}}}*:where(&.euiDataGrid--rowHoverHighlight .euiDataGridRow--marked){&:hover{background-color:", euiTheme.components.dataGridRowBackgroundMarkedHover, ";}}*:where(\n &.euiDataGrid--rowHoverHighlight .euiDataGridRow--selected:hover\n ){background-color:", euiTheme.components.dataGridRowBackgroundSelectHover, ";}*:where(&.euiDataGrid--stripes .euiDataGridRow){background-color:", euiTheme.components.dataGridRowStripesBackground, ";}*:where(&.euiDataGrid--stripes .euiDataGridRow--striped){background-color:", euiTheme.components.dataGridRowStripesBackgroundStriped, ";}*:where(\n &.euiDataGrid--stripes.euiDataGrid--rowHoverHighlight\n .euiDataGridRow:hover\n ){background-color:", euiTheme.components.dataGridRowStripesBackgroundHover, ";}*:where(\n &.euiDataGrid--stripes.euiDataGrid--rowHoverHighlight\n .euiDataGridRow--striped:hover\n ){background-color:", euiTheme.components.dataGridRowStripesBackgroundStripedHover, ";}*:where(&.euiDataGrid--stripes .euiDataGridRow--selected){background-color:", euiTheme.components.dataGridRowStripesBackgroundSelect, ";}*:where(&.euiDataGrid--stripes .euiDataGridRow--marked){background-color:", euiTheme.components.dataGridRowBackgroundMarked, ";}*:where(\n &.euiDataGrid--stripes.euiDataGrid--rowHoverHighlight\n .euiDataGridRow--selected:hover\n ){background-color:", euiTheme.components.dataGridRowStripesBackgroundSelectHover, ";}*:where(&.euiDataGrid--rowHoverHighlight .euiDataGridRow)::before{content:'';position:absolute;z-index:-1;pointer-events:none;inset:0;background-color:", euiTheme.components.dataGridRowBackground, ";};label:euiDataGrid;"),
65
+ /* eslint-enable @elastic/eui/no-static-z-index */
63
66
  cellPadding: {
64
67
  cellPadding: function cellPadding(size) {
65
68
  return /*#__PURE__*/(0, _react.css)(".euiDataGridHeaderCell,.euiDataGridRowCell__content{padding:", _cellPadding[size], ";}.euiDataGridRowCell__content--lineCountHeight,.euiDataGridRowCell__content--autoBelowLineCountHeight{", (0, _high_contrast.highContrastModeStyles)(euiThemeContext, {
@@ -104,7 +107,7 @@ var euiDataGridStyles = exports.euiDataGridStyles = function euiDataGridStyles(e
104
107
  "".concat(euiTheme.border.width.thin, " solid ").concat(borderColors.vertical)), ";}&--firstColumn{", (0, _global_styling.logicalCSS)('border-left', border), ";}&--lastColumn{", (0, _global_styling.logicalCSS)('border-right-color', euiTheme.components.dataGridBorderColor), ";}}.euiDataGridFooterCell,.euiDataGridHeaderCell{", (0, _global_styling.logicalCSS)('border-right', border), " &:first-of-type{", (0, _global_styling.logicalCSS)('border-left', border), ";}}.euiDataGridFooter{", (0, _global_styling.logicalCSS)('border-bottom', border), ";}&:not(.euiDataGrid--footerOverline) .euiDataGridFooter{", (0, _global_styling.logicalCSS)('border-top', border), " ", (0, _global_styling.logicalCSS)('margin-top', "-".concat(euiTheme.border.width.thin)), ";}&:not(.euiDataGrid--headerUnderline) .euiDataGridHeader{", (0, _global_styling.logicalCSS)('border-bottom', border), ";}&:is(.euiDataGrid--noControls) .euiDataGridHeader{", (0, _global_styling.logicalCSS)('border-top', border), ";}&:is(.euiDataGrid--noHeader.euiDataGrid--noControls) .euiDataGridRow:first-of-type .euiDataGridRowCell{", (0, _global_styling.logicalCSS)('border-top', border), ";}.euiDataGrid__controls{border:", border, ";background-color:", euiTheme.colors.body, ";};label:all;")
105
108
  },
106
109
  // Sits below the controls above it and pagination below it
107
- euiDataGrid__content: /*#__PURE__*/(0, _react.css)("z-index:1;position:relative;flex-grow:1;", (0, _global_styling.logicalSizeCSS)('100%'), " ", (0, _global_styling.logicalCSS)('max-width', '100%'), " overflow:hidden;font-feature-settings:'tnum' 1;;label:euiDataGrid__content;"),
110
+ euiDataGrid__content: /*#__PURE__*/(0, _react.css)("z-index:", Number(euiTheme.levels.content) + 1, ";position:relative;flex-grow:1;", (0, _global_styling.logicalSizeCSS)('100%'), " ", (0, _global_styling.logicalCSS)('max-width', '100%'), " overflow:hidden;font-feature-settings:'tnum' 1;;label:euiDataGrid__content;"),
108
111
  // Wrapper around EuiDataGrid
109
112
  euiDataGrid__focusWrap: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('height', '100%'), ";;label:euiDataGrid__focusWrap;")
110
113
  };
@@ -17,6 +17,6 @@ var _global_styling = require("../../../global_styling");
17
17
  var euiDataGridPaginationStyles = exports.euiDataGridPaginationStyles = function euiDataGridPaginationStyles(_ref) {
18
18
  var euiTheme = _ref.euiTheme;
19
19
  return {
20
- euiDataGrid__pagination: /*#__PURE__*/(0, _react.css)("z-index:2;flex-grow:0;", (0, _global_styling.logicalCSS)('padding-top', euiTheme.size.xs), " .euiDataGrid--fullScreen &{position:relative;", (0, _global_styling.logicalCSS)('padding-bottom', euiTheme.size.xs), " background-color:", euiTheme.colors.lightestShade, ";&::before{content:'';position:absolute;", (0, _global_styling.logicalCSS)('top', "-".concat(euiTheme.border.width.thin)), " ", (0, _global_styling.logicalCSS)('horizontal', 0), " ", (0, _global_styling.logicalCSS)('border-top', euiTheme.border.thin), " pointer-events:none;}};label:euiDataGrid__pagination;")
20
+ euiDataGrid__pagination: /*#__PURE__*/(0, _react.css)("z-index:", Number(euiTheme.levels.content) + 2, ";flex-grow:0;", (0, _global_styling.logicalCSS)('padding-top', euiTheme.size.xs), " .euiDataGrid--fullScreen &{position:relative;", (0, _global_styling.logicalCSS)('padding-bottom', euiTheme.size.xs), " background-color:", euiTheme.colors.lightestShade, ";&::before{content:'';position:absolute;", (0, _global_styling.logicalCSS)('top', "-".concat(euiTheme.border.width.thin)), " ", (0, _global_styling.logicalCSS)('horizontal', 0), " ", (0, _global_styling.logicalCSS)('border-top', euiTheme.border.thin), " pointer-events:none;}};label:euiDataGrid__pagination;")
21
21
  };
22
22
  };
@@ -78,7 +78,7 @@ var euiReactDatePickerStyles = exports.euiReactDatePickerStyles = function euiRe
78
78
  paddingSize = datePickerVars.paddingSize,
79
79
  headerOffset = datePickerVars.headerOffset;
80
80
  return {
81
- euiReactDatePicker: /*#__PURE__*/(0, _css.css)("display:flex;justify-content:center;padding:", paddingSize, ";font-size:", (0, _global_styling.euiFontSize)(euiThemeContext, 'xs').fontSize, ";color:", euiTheme.colors.textParagraph, ";&.react-datepicker--non-interactive{pointer-events:none;}.react-datepicker__focusTrap{display:flex;justify-content:center;gap:", paddingSize, ";}", (0, _global_styling.euiMaxBreakpoint)(euiThemeContext, 's'), "{&,.react-datepicker__focusTrap{flex-direction:column;}}.react-datepicker__header__dropdown{position:absolute;", (0, _global_styling.logicalCSS)('top', 0), " ", (0, _global_styling.logicalCSS)('horizontal', headerOffset), " padding:", paddingSize, ";display:flex;justify-content:center;gap:", gapSize, ";}.react-datepicker__navigation{z-index:1;position:absolute;", (0, _global_styling.logicalCSS)('top', paddingSize), "&:hover,&:focus{transform:none;}}.react-datepicker__navigation--previous{", (0, _global_styling.logicalCSS)('left', paddingSize), ";}.react-datepicker__navigation--next{", (0, _global_styling.logicalCSS)('right', paddingSize), ";}.react-datepicker__month-container{flex-grow:1;", (0, _global_styling.logicalCSS)('margin-top', headerOffset), ";}.react-datepicker__time-container{flex-grow:1;", (0, _global_styling.logicalCSS)('margin-top',
81
+ euiReactDatePicker: /*#__PURE__*/(0, _css.css)("display:flex;justify-content:center;padding:", paddingSize, ";font-size:", (0, _global_styling.euiFontSize)(euiThemeContext, 'xs').fontSize, ";color:", euiTheme.colors.textParagraph, ";&.react-datepicker--non-interactive{pointer-events:none;}.react-datepicker__focusTrap{display:flex;justify-content:center;gap:", paddingSize, ";}", (0, _global_styling.euiMaxBreakpoint)(euiThemeContext, 's'), "{&,.react-datepicker__focusTrap{flex-direction:column;}}.react-datepicker__header__dropdown{position:absolute;", (0, _global_styling.logicalCSS)('top', 0), " ", (0, _global_styling.logicalCSS)('horizontal', headerOffset), " padding:", paddingSize, ";display:flex;justify-content:center;gap:", gapSize, ";}.react-datepicker__navigation{z-index:", Number(euiTheme.levels.content) + 1, ";position:absolute;", (0, _global_styling.logicalCSS)('top', paddingSize), "&:hover,&:focus{transform:none;}}.react-datepicker__navigation--previous{", (0, _global_styling.logicalCSS)('left', paddingSize), ";}.react-datepicker__navigation--next{", (0, _global_styling.logicalCSS)('right', paddingSize), ";}.react-datepicker__month-container{flex-grow:1;", (0, _global_styling.logicalCSS)('margin-top', headerOffset), ";}.react-datepicker__time-container{flex-grow:1;", (0, _global_styling.logicalCSS)('margin-top',
82
82
  // The time select gets a little extra offset
83
83
  (0, _global_styling.mathWithUnits)([headerOffset, gapSize], function (x, y) {
84
84
  return x + y;
@@ -89,7 +89,7 @@ var _monthYearDropdowns = function _monthYearDropdowns(euiThemeContext, _ref) {
89
89
  var colors = _ref.colors;
90
90
  var euiTheme = euiThemeContext.euiTheme;
91
91
  var formStyles = (0, _form.euiFormControlStyles)(euiThemeContext);
92
- return /*#__PURE__*/(0, _css.css)(".react-datepicker__year-read-view,.react-datepicker__month-read-view,.react-datepicker__month-year-read-view{display:flex;justify-content:space-between;align-items:center;", formStyles.compressed, " ", (0, _form.euiFormControlText)(euiThemeContext), " font-weight:", euiTheme.font.weight.medium, ";", (0, _form.euiFormControlDefaultShadow)(euiThemeContext), " &:hover{cursor:pointer;text-decoration:underline;}}.react-datepicker__year-dropdown-container{position:relative;flex-grow:1;}.react-datepicker__month-dropdown-container{position:relative;flex-grow:2;}.react-datepicker__year-dropdown,.react-datepicker__month-dropdown{z-index:1;position:absolute;", (0, _global_styling.euiYScroll)(euiThemeContext, {
92
+ return /*#__PURE__*/(0, _css.css)(".react-datepicker__year-read-view,.react-datepicker__month-read-view,.react-datepicker__month-year-read-view{display:flex;justify-content:space-between;align-items:center;", formStyles.compressed, " ", (0, _form.euiFormControlText)(euiThemeContext), " font-weight:", euiTheme.font.weight.medium, ";", (0, _form.euiFormControlDefaultShadow)(euiThemeContext), " &:hover{cursor:pointer;text-decoration:underline;}}.react-datepicker__year-dropdown-container{position:relative;flex-grow:1;}.react-datepicker__month-dropdown-container{position:relative;flex-grow:2;}.react-datepicker__year-dropdown,.react-datepicker__month-dropdown{z-index:", Number(euiTheme.levels.content) + 1, ";position:absolute;", (0, _global_styling.euiYScroll)(euiThemeContext, {
93
93
  height: 'auto'
94
94
  }), " ", (0, _global_styling.logicalCSS)('max-height', '250px'), " ", (0, _global_styling.logicalCSS)('width', '100%'), " padding:", euiTheme.size.xs, ";background-color:", euiTheme.colors.emptyShade, ";border-radius:", euiTheme.border.radius.panel, ";", (0, _euiThemeCommon.euiShadowSmall)(euiThemeContext, {
95
95
  borderAllInHighContrastMode: true
@@ -25,7 +25,7 @@ var AsyncInterval = exports.AsyncInterval = /*#__PURE__*/(0, _createClass2.defau
25
25
  (0, _defineProperty2.default)(this, "__pendingFn", function () {});
26
26
  (0, _defineProperty2.default)(this, "setAsyncInterval", function (fn, milliseconds) {
27
27
  if (!_this.isStopped) {
28
- _this.timeoutId = window.setTimeout( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
28
+ _this.timeoutId = window.setTimeout(/*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
29
29
  return _regenerator.default.wrap(function _callee$(_context) {
30
30
  while (1) switch (_context.prev = _context.next) {
31
31
  case 0:
@@ -46,7 +46,8 @@ var EuiTimeZoneDisplay = exports.EuiTimeZoneDisplay = function EuiTimeZoneDispla
46
46
  var label = !name ? utc : "".concat(utc, " (").concat(name, ")");
47
47
  var nameDisplay = (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)(_icon.EuiIcon, {
48
48
  type: "globe",
49
- color: color
49
+ color: color,
50
+ "aria-hidden": true
50
51
  }), (0, _react2.jsx)(_text.EuiText, {
51
52
  component: "span",
52
53
  color: color,
@@ -72,7 +72,8 @@ var EuiEmptyPrompt = exports.EuiEmptyPrompt = function EuiEmptyPrompt(_ref) {
72
72
  }, iconType ? (0, _react2.jsx)(_icon.EuiIcon, {
73
73
  type: iconType,
74
74
  size: "xxl",
75
- color: iconColor
75
+ color: iconColor,
76
+ "aria-hidden": true
76
77
  }) : icon);
77
78
  }, [icon, iconType, iconColor, layout, styles.icon]);
78
79
  var actionsNode = (0, _react.useMemo)(function () {
@@ -13,6 +13,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
13
13
  var _classnames = _interopRequireDefault(require("classnames"));
14
14
  var _services = require("../../services");
15
15
  var _icon = require("../icon");
16
+ var _i18n = require("../i18n");
16
17
  var _expression = require("./expression.styles");
17
18
  var _react2 = require("@emotion/react");
18
19
  var _excluded = ["className", "description", "descriptionProps", "value", "valueProps", "color", "uppercase", "isActive", "display", "descriptionWidth", "onClick", "isInvalid", "textWrap"];
@@ -58,6 +59,7 @@ var EuiExpression = exports.EuiExpression = function EuiExpression(_ref) {
58
59
  var cssDescriptionStyles = [descriptionStyles.euiExpression__description, isInvalid ? descriptionStyles.danger : descriptionStyles[color], uppercase && descriptionStyles.isUppercase, textWrap === 'truncate' && descriptionStyles.truncate, display === 'columns' && descriptionStyles.columns];
59
60
  var cssValueStyles = [_expression.euiExpressionValueStyles.euiExpression__value, textWrap === 'truncate' && _expression.euiExpressionValueStyles.truncate, display === 'columns' && _expression.euiExpressionValueStyles.columns];
60
61
  var iconStyles = (0, _services.useEuiMemoizedStyles)(_expression.euiExpressionIconStyles);
62
+ var invalidIconLabel = (0, _i18n.useEuiI18n)('euiExpression.invalid', 'Invalid expression');
61
63
  var cssIconStyles = [iconStyles.euiExpression__icon, display === 'columns' && iconStyles.columns];
62
64
  var classes = (0, _classnames.default)('euiExpression', className);
63
65
  var Component = onClick ? 'button' : 'span';
@@ -79,7 +81,8 @@ var EuiExpression = exports.EuiExpression = function EuiExpression(_ref) {
79
81
  className: "euiExpression__icon",
80
82
  type: "warning",
81
83
  css: cssIconStyles,
82
- color: calculatedColor
84
+ color: calculatedColor,
85
+ "aria-label": invalidIconLabel
83
86
  }));
84
87
  };
85
88
  EuiExpression.propTypes = {
@@ -83,7 +83,7 @@ var EuiFacetButton = exports.EuiFacetButton = function EuiFacetButton(_ref) {
83
83
 
84
84
  // Add an icon to the button if one exists.
85
85
  var buttonIcon = (0, _react.useMemo)(function () {
86
- if ( /*#__PURE__*/_react.default.isValidElement(icon)) {
86
+ if (/*#__PURE__*/_react.default.isValidElement(icon)) {
87
87
  return (0, _services.cloneElementWithCss)(icon, _objectSpread({
88
88
  className: 'euiFacetButton__icon'
89
89
  }, disabledStyles));
@@ -32,7 +32,7 @@ var euiFilterGroupStyles = exports.euiFilterGroupStyles = function euiFilterGrou
32
32
  return {
33
33
  euiFilterGroup: /*#__PURE__*/(0, _react.css)("position:relative;display:inline-flex;", (0, _global_styling.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:", (0, _global_styling.mathWithUnits)([euiTheme.size.s, containerPadding], function (x, y) {
34
34
  return x - y / 2;
35
- }), ";}>*:not(.euiFilterButton__wrapper, .euiFilterButton){", (0, _filter_button.euiFilterButtonDisplay)(euiThemeContext), " &:has(.euiFilterButton-isIconOnly){min-inline-size:auto;}}.euiPopover>*:is(.euiToolTipAnchor, .euiFilterButton__wrapper, .euiFilterButton){", (0, _global_styling.logicalCSS)('width', '100%'), ";}", (0, _global_styling.euiBreakpoint)(euiThemeContext, ['xs', 's']), "{flex-wrap:wrap;}", (0, _global_styling.euiBreakpoint)(euiThemeContext, ['xs']), "{display:flex;.euiPopover:focus-within{z-index:1;}.euiFilterButton__wrapper{flex-grow:1;}};label:euiFilterGroup;"),
35
+ }), ";}>*:not(.euiFilterButton__wrapper, .euiFilterButton){", (0, _filter_button.euiFilterButtonDisplay)(euiThemeContext), " &:has(.euiFilterButton-isIconOnly){min-inline-size:auto;}}.euiPopover>*:is(.euiToolTipAnchor, .euiFilterButton__wrapper, .euiFilterButton){", (0, _global_styling.logicalCSS)('width', '100%'), ";}", (0, _global_styling.euiBreakpoint)(euiThemeContext, ['xs', 's']), "{flex-wrap:wrap;}", (0, _global_styling.euiBreakpoint)(euiThemeContext, ['xs']), "{display:flex;.euiPopover:focus-within{z-index:", Number(euiTheme.levels.content) + 1, ";}.euiFilterButton__wrapper{flex-grow:1;}};label:euiFilterGroup;"),
36
36
  fullWidth: _ref,
37
37
  uncompressed: /*#__PURE__*/(0, _react.css)("border-radius:", buttonSizeMap.m.radius, ";;label:uncompressed;"),
38
38
  compressed: /*#__PURE__*/(0, _react.css)("border-radius:", buttonSizeMap.s.radius, ";;label:compressed;"),
@@ -26,7 +26,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
26
26
  var euiFlyoutCloseButtonStyles = exports.euiFlyoutCloseButtonStyles = function euiFlyoutCloseButtonStyles(euiThemeContext) {
27
27
  var euiTheme = euiThemeContext.euiTheme;
28
28
  return {
29
- euiFlyout__closeButton: /*#__PURE__*/(0, _react.css)("position:absolute;", (0, _global_styling.logicalCSS)('right', euiTheme.size.s), " ", (0, _global_styling.logicalCSS)('top', euiTheme.size.s), " z-index:3;;label:euiFlyout__closeButton;"),
29
+ euiFlyout__closeButton: /*#__PURE__*/(0, _react.css)("position:absolute;", (0, _global_styling.logicalCSS)('right', euiTheme.size.s), " ", (0, _global_styling.logicalCSS)('top', euiTheme.size.s), " z-index:", Number(euiTheme.levels.content) + 3, ";;label:euiFlyout__closeButton;"),
30
30
  inside: _ref,
31
31
  outside: /*#__PURE__*/(0, _react.css)((0, _euiThemeCommon.euiShadowXLarge)(euiThemeContext, {
32
32
  borderAllInHighContrastMode: true
@@ -50,7 +50,8 @@ var EuiCheckboxControl = exports.EuiCheckboxControl = function EuiCheckboxContro
50
50
  role: "presentation",
51
51
  css: iconStyles,
52
52
  type: iconType,
53
- size: "m"
53
+ size: "m",
54
+ "aria-hidden": true
54
55
  }));
55
56
  };
56
57
  EuiCheckboxControl.propTypes = {
@@ -77,10 +77,12 @@ var EuiFormAppendPrepend = exports.EuiFormAppendPrepend = function EuiFormAppend
77
77
  var isButton = element === 'button' || typeof rest.onClick === 'function';
78
78
  var isDisabled = _isDisabled || disabled || !isButton && formLayoutIsDisabled;
79
79
  var iconLeft = _iconLeft && (0, _react2.jsx)(_icon.EuiIcon, {
80
- type: _iconLeft
80
+ type: _iconLeft,
81
+ "aria-hidden": true
81
82
  });
82
83
  var iconRight = _iconRight && (0, _react2.jsx)(_icon.EuiIcon, {
83
- type: _iconRight
84
+ type: _iconRight,
85
+ "aria-hidden": true
84
86
  });
85
87
  var cssStyles = [styles.side, compressed ? styles.compressed : styles.uncompressed, isButton && !isDisabled && styles.isInteractive, isDisabled && styles.disabled];
86
88
  var labelProps = isButton ? {
@@ -39,7 +39,12 @@ var euiFormControlLayoutStyles = exports.euiFormControlLayoutStyles = function e
39
39
  highContrastMode = euiThemeContext.highContrastMode;
40
40
  var form = (0, _form.euiFormVariables)(euiThemeContext);
41
41
  return {
42
+ /* eslint-disable @elastic/eui/no-static-z-index -- only isolates the layers
43
+ inside the control; stays at 0 so the control doesn't rise above
44
+ neighbouring layers that don't follow levels.content, such as the
45
+ EuiTable sticky header */
42
46
  euiFormControlLayout: _ref2,
47
+ /* eslint-enable @elastic/eui/no-static-z-index */
43
48
  // Skip the css`` on the default height to avoid generating a className
44
49
  uncompressed: "\n ".concat((0, _global_styling.logicalCSS)('height', form.controlHeight), "\n "),
45
50
  compressed: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('height', form.controlCompressedHeight), ";;label:compressed;"),
@@ -47,7 +52,11 @@ var euiFormControlLayoutStyles = exports.euiFormControlLayoutStyles = function e
47
52
  formWidth: "\n ".concat((0, _global_styling.logicalCSS)('max-width', form.maxWidth), "\n ").concat((0, _global_styling.logicalCSS)('width', '100%'), "\n "),
48
53
  fullWidth: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('max-width', '100%'), " ", (0, _global_styling.logicalCSS)('width', '100%'), ";;label:fullWidth;"),
49
54
  group: {
55
+ /* eslint-disable @elastic/eui/no-static-z-index -- the group border
56
+ (::after) has to stay below the focus and invalid outlines of the
57
+ controls inside, which use z-index: 1 (euiFormControlHighlightBorderStyles) */
50
58
  group: /*#__PURE__*/(0, _react.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(", _global_styling.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;", (0, _global_styling.logicalCSS)('padding-right', euiTheme.border.width.thin), " &::after{display:none;}}.euiFilterButton__wrapper:first-of-type::before,.euiFilterButton__wrapper::after{display:none;}>*{", (0, _global_styling.logicalCSS)('height', '100%'), ";};label:group;"),
59
+ /* eslint-enable @elastic/eui/no-static-z-index */
51
60
  // Skipping css`` to avoid repeated compressed/uncompressed classNames
52
61
  uncompressed: "\n border-radius: ".concat(form.controlBorderRadius, ";\n "),
53
62
  compressed: "\n border-radius: ".concat(form.controlCompressedBorderRadius, ";\n "),
@@ -82,7 +91,7 @@ var euiFormControlLayoutSideNodeStyles = exports.euiFormControlLayoutSideNodeSty
82
91
  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 ");
83
92
  };
84
93
  return {
85
- euiFormControlLayout__side: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('height', '100%'), " ", (0, _global_styling.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{", (0, _form.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;"),
94
+ euiFormControlLayout__side: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('height', '100%'), " ", (0, _global_styling.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{", (0, _form.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;"),
86
95
  uncompressed: {
87
96
  uncompressed: "\n &:not(:has(> ".concat(buttons, ":first-child, > *:first-child ").concat(buttons, ")) {\n ").concat((0, _global_styling.logicalCSS)('padding-left', euiTheme.size.s), "\n }\n\n &:not(:has(> ").concat(buttons, ":last-child, > *:last-child ").concat(buttons, ")) {\n ").concat((0, _global_styling.logicalCSS)('padding-right', euiTheme.size.s), "\n }\n\n ").concat(text, " {\n line-height: ").concat(uncompressedHeight, ";\n\n &:first-child {\n ").concat((0, _global_styling.logicalCSS)('padding-left', euiTheme.size.xs), "\n }\n\n &:last-child {\n ").concat((0, _global_styling.logicalCSS)('padding-right', euiTheme.size.xs), "\n }\n }\n\n ").concat(buttons, " {\n ").concat((0, _global_styling.logicalCSS)('height', uncompressedHeight), "\n ").concat(_buttonPadding('s'), "\n }\n\n .euiButtonIcon {\n flex-shrink: 0;\n ").concat((0, _global_styling.logicalCSS)('width', uncompressedHeight), "\n }\n "),
88
97
  append: "\n ".concat(dividerStyles('start'), "\n "),
@@ -44,7 +44,8 @@ var EuiFormControlLayoutClearButton = exports.EuiFormControlLayoutClearButton =
44
44
  css: iconStyles,
45
45
  className: "euiFormControlLayoutClearButton__icon",
46
46
  type: "cross",
47
- size: size
47
+ size: size,
48
+ "aria-hidden": true
48
49
  }));
49
50
  };
50
51
  EuiFormControlLayoutClearButton.propTypes = {
@@ -120,6 +120,7 @@ var InvalidIcon = function InvalidIcon(_ref6) {
120
120
  return (0, _react2.jsx)(_icon.EuiIcon, {
121
121
  size: "m",
122
122
  color: "danger",
123
- type: "warning"
123
+ type: "warning",
124
+ "aria-hidden": true
124
125
  });
125
126
  };
@@ -7,22 +7,16 @@ exports.euiFormControlLayoutIconsStyles = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  var _global_styling = require("../../../global_styling");
9
9
  var _form = require("../form.styles");
10
- 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)."; } /*
10
+ /*
11
11
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
12
12
  * or more contributor license agreements. Licensed under the Elastic License
13
13
  * 2.0 and the Server Side Public License, v 1; you may not use this file except
14
14
  * in compliance with, at your election, the Elastic License 2.0 or the Server
15
15
  * Side Public License, v 1.
16
16
  */
17
- var _ref = process.env.NODE_ENV === "production" ? {
18
- name: "oaqulw-euiFormControlLayoutIcons",
19
- styles: "position:relative;z-index:1;display:flex;align-items:center;pointer-events:none;label:euiFormControlLayoutIcons;"
20
- } : {
21
- name: "oaqulw-euiFormControlLayoutIcons",
22
- styles: "position:relative;z-index:1;display:flex;align-items:center;pointer-events:none;label:euiFormControlLayoutIcons;",
23
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
24
- };
17
+
25
18
  var euiFormControlLayoutIconsStyles = exports.euiFormControlLayoutIconsStyles = function euiFormControlLayoutIconsStyles(euiThemeContext) {
19
+ var euiTheme = euiThemeContext.euiTheme;
26
20
  var _euiFormVariables = (0, _form.euiFormVariables)(euiThemeContext),
27
21
  controlHeight = _euiFormVariables.controlHeight,
28
22
  controlCompressedHeight = _euiFormVariables.controlCompressedHeight,
@@ -30,7 +24,7 @@ var euiFormControlLayoutIconsStyles = exports.euiFormControlLayoutIconsStyles =
30
24
  controlCompressedPadding = _euiFormVariables.controlCompressedPadding,
31
25
  controlDisabledColor = _euiFormVariables.controlDisabledColor;
32
26
  return {
33
- euiFormControlLayoutIcons: _ref,
27
+ euiFormControlLayoutIcons: /*#__PURE__*/(0, _react.css)("position:relative;z-index:", Number(euiTheme.levels.content) + 1, ";display:flex;align-items:center;pointer-events:none;;label:euiFormControlLayoutIcons;"),
34
28
  uncompressed: "\n gap: ".concat((0, _global_styling.mathWithUnits)(controlPadding, function (x) {
35
29
  return x / 2;
36
30
  }), ";\n max-block-size: ").concat(controlHeight, ";\n "),
@@ -42,11 +36,11 @@ var euiFormControlLayoutIconsStyles = exports.euiFormControlLayoutIconsStyles =
42
36
  absolute: {
43
37
  absolute: /*#__PURE__*/(0, _react.css)("position:absolute;", (0, _global_styling.logicalCSS)('vertical', 0), ";;label:absolute;"),
44
38
  uncompressed: {
45
- left: /*#__PURE__*/(0, _react.css)("z-index:2;", (0, _global_styling.logicalCSS)('left', controlPadding), ";;label:left;"),
39
+ left: /*#__PURE__*/(0, _react.css)("z-index:", Number(euiTheme.levels.content) + 2, ";", (0, _global_styling.logicalCSS)('left', controlPadding), ";;label:left;"),
46
40
  right: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('right', controlPadding), ";;label:right;")
47
41
  },
48
42
  compressed: {
49
- left: /*#__PURE__*/(0, _react.css)("z-index:2;", (0, _global_styling.logicalCSS)('left', controlCompressedPadding), ";;label:left;"),
43
+ left: /*#__PURE__*/(0, _react.css)("z-index:", Number(euiTheme.levels.content) + 2, ";", (0, _global_styling.logicalCSS)('left', controlCompressedPadding), ";;label:left;"),
50
44
  right: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('right', controlCompressedPadding), ";;label:right;")
51
45
  }
52
46
  },
@@ -51,6 +51,8 @@ var EuiRadio = exports.EuiRadio = function EuiRadio(_ref) {
51
51
  }, (0, _react2.jsx)(_icon.EuiIcon, {
52
52
  css: styles.input.euiRadio__icon,
53
53
  type: checked ? 'dot' : 'empty' // Note that the icon does explicitly need to be empty for Windows high contrast themes
54
+ ,
55
+ "aria-hidden": true
54
56
  }), (0, _react2.jsx)("input", {
55
57
  css: styles.input.euiRadio__input,
56
58
  className: "euiRadio__input",
@@ -93,10 +93,12 @@ var EuiSwitch = exports.EuiSwitch = function EuiSwitch(_ref) {
93
93
  className: "euiSwitch__icons"
94
94
  }, (0, _react2.jsx)(_icon.EuiIcon, {
95
95
  type: "check",
96
- size: "m"
96
+ size: "m",
97
+ "aria-hidden": true
97
98
  }), (0, _react2.jsx)(_icon.EuiIcon, {
98
99
  type: "cross",
99
- size: "m"
100
+ size: "m",
101
+ "aria-hidden": true
100
102
  }))), (0, _react2.jsx)("span", {
101
103
  css: thumbStyles,
102
104
  className: "euiSwitch__thumb"
@@ -87,7 +87,8 @@ var Header = function Header() {
87
87
  "aria-label": "Sitewide search"
88
88
  }, (0, _react2.jsx)(_icon.EuiIcon, {
89
89
  type: "magnify",
90
- size: "m"
90
+ size: "m",
91
+ "aria-hidden": true
91
92
  })),
92
93
  emptyMessage: (0, _react2.jsx)(_selectable.EuiSelectableMessage, {
93
94
  style: {
@@ -270,7 +271,8 @@ var HeaderAppMenu = function HeaderAppMenu() {
270
271
  onClick: onMenuButtonClick
271
272
  }, (0, _react2.jsx)(_icon.EuiIcon, {
272
273
  type: "apps",
273
- size: "m"
274
+ size: "m",
275
+ "aria-hidden": true
274
276
  }));
275
277
  return (0, _react2.jsx)(_popover.EuiPopover, {
276
278
  id: headerAppPopoverId,
@@ -288,17 +290,20 @@ var HeaderAppMenu = function HeaderAppMenu() {
288
290
  label: "Discover"
289
291
  }, (0, _react2.jsx)(_icon.EuiIcon, {
290
292
  type: "discoverApp",
291
- size: "l"
293
+ size: "l",
294
+ "aria-hidden": true
292
295
  })), (0, _react2.jsx)(_key_pad_menu.EuiKeyPadMenuItem, {
293
296
  label: "Dashboard"
294
297
  }, (0, _react2.jsx)(_icon.EuiIcon, {
295
298
  type: "dashboardApp",
296
- size: "l"
299
+ size: "l",
300
+ "aria-hidden": true
297
301
  })), (0, _react2.jsx)(_key_pad_menu.EuiKeyPadMenuItem, {
298
302
  label: "Dev Tools"
299
303
  }, (0, _react2.jsx)(_icon.EuiIcon, {
300
304
  type: "devToolsApp",
301
- size: "l"
305
+ size: "l",
306
+ "aria-hidden": true
302
307
  }))));
303
308
  };
304
309
  beforeEach(function () {
@@ -93,7 +93,8 @@ var EuiHeaderLinks = exports.EuiHeaderLinks = function EuiHeaderLinks(_ref) {
93
93
  onClick: onMenuButtonClick
94
94
  }, popoverButtonRest), (0, _react2.jsx)(_icon.EuiIcon, {
95
95
  type: iconType,
96
- size: "m"
96
+ size: "m",
97
+ "aria-hidden": true
97
98
  }));
98
99
  }),
99
100
  isOpen: mobileMenuIsOpen,
@@ -157,7 +157,8 @@ ref) {
157
157
  css: cssStyles,
158
158
  color: notificationColor,
159
159
  type: "dot",
160
- size: "l"
160
+ size: "l",
161
+ "aria-hidden": true
161
162
  });
162
163
  } else if (notification) {
163
164
  return (0, _react2.jsx)(_badge_notification.EuiNotificationBadge, {
@@ -48,7 +48,8 @@ var EuiHealth = exports.EuiHealth = function EuiHealth(_ref) {
48
48
  grow: false
49
49
  }, (0, _react2.jsx)(_icon.EuiIcon, {
50
50
  type: "dot",
51
- color: color
51
+ color: color,
52
+ "aria-hidden": true
52
53
  })), (0, _react2.jsx)(_flex.EuiFlexItem, {
53
54
  grow: false
54
55
  }, children)));
@@ -53,7 +53,7 @@ function processStringToChildren(input, values, i18nMappingFunc) {
53
53
  } else if ((0, _reactIs.isElement)(value)) {
54
54
  // an array with any ReactElements will be kept as an array
55
55
  // so they need to be assigned a key
56
- children.push( /*#__PURE__*/(0, _react.cloneElement)(value, {
56
+ children.push(/*#__PURE__*/(0, _react.cloneElement)(value, {
57
57
  key: children.length
58
58
  }));
59
59
  } else if (hasPropName(value)) {
@@ -23,15 +23,16 @@ describe('EuiIcons', function () {
23
23
  return (0, _react2.jsx)("div", null, MLIcons.map(function (glyph) {
24
24
  return (0, _react2.jsx)(_icon.EuiIcon, {
25
25
  className: "eui-alignMiddle",
26
- type: glyph
26
+ type: glyph,
27
+ title: glyph
27
28
  });
28
29
  }));
29
30
  };
30
31
  it('has zero violations on first render', function () {
31
32
  cy.mount((0, _react2.jsx)(MLGrid, null));
32
- cy.get('div[data-cy-root]').find('svg', {
33
+ cy.get('div[data-cy-root]').find('svg > title', {
33
34
  timeout: 5000
34
- }).should('have.length', 8);
35
+ }).should('have.length', MLIcons.length);
35
36
  cy.checkAxe();
36
37
  });
37
38
  });
@@ -23,15 +23,16 @@ describe('EuiIcons', function () {
23
23
  return (0, _react2.jsx)("div", null, AppIcons.map(function (glyph) {
24
24
  return (0, _react2.jsx)(_icon.EuiIcon, {
25
25
  className: "eui-alignMiddle",
26
- type: glyph
26
+ type: glyph,
27
+ title: glyph
27
28
  });
28
29
  }));
29
30
  };
30
31
  it('has zero violations on first render', function () {
31
32
  cy.mount((0, _react2.jsx)(AppGrid, null));
32
- cy.get('div[data-cy-root]').find('svg', {
33
+ cy.get('div[data-cy-root]').find('svg > title', {
33
34
  timeout: 5000
34
- }).should('have.length', 49);
35
+ }).should('have.length', AppIcons.length);
35
36
  cy.checkAxe();
36
37
  });
37
38
  });
@@ -23,15 +23,16 @@ describe('EuiIcons', function () {
23
23
  return (0, _react2.jsx)("div", null, ElasticLogos.map(function (glyph) {
24
24
  return (0, _react2.jsx)(_icon.EuiIcon, {
25
25
  className: "eui-alignMiddle",
26
- type: glyph
26
+ type: glyph,
27
+ title: glyph
27
28
  });
28
29
  }));
29
30
  };
30
31
  it('has zero violations on first render', function () {
31
32
  cy.mount((0, _react2.jsx)(ElasticGrid, null));
32
- cy.get('div[data-cy-root]').find('svg', {
33
+ cy.get('div[data-cy-root]').find('svg > title', {
33
34
  timeout: 5000
34
- }).should('have.length', 19);
35
+ }).should('have.length', ElasticLogos.length);
35
36
  cy.checkAxe();
36
37
  });
37
38
  });
@@ -23,15 +23,17 @@ describe('EuiIcons', function () {
23
23
  return (0, _react2.jsx)("div", null, GlyphIcons.map(function (glyph) {
24
24
  return (0, _react2.jsx)(_icon.EuiIcon, {
25
25
  className: "eui-alignMiddle",
26
- type: glyph
26
+ type: glyph,
27
+ title: glyph === 'empty' ? undefined : glyph,
28
+ "aria-hidden": glyph === 'empty' ? true : undefined
27
29
  });
28
30
  }));
29
31
  };
30
32
  it('has zero violations on first render', function () {
31
33
  cy.mount((0, _react2.jsx)(GlyphGrid, null));
32
- cy.get('svg[data-icon-type="wrench"]', {
34
+ cy.get('div[data-cy-root]').find('svg > title', {
33
35
  timeout: 5000
34
- }).should('exist');
36
+ }).should('have.length', GlyphIcons.length - 1);
35
37
  cy.checkAxe();
36
38
  });
37
39
  });
@@ -23,15 +23,16 @@ describe('EuiIcons', function () {
23
23
  return (0, _react2.jsx)("div", null, TokenIcons.map(function (glyph) {
24
24
  return (0, _react2.jsx)(_icon.EuiIcon, {
25
25
  className: "eui-alignMiddle",
26
- type: glyph
26
+ type: glyph,
27
+ title: glyph
27
28
  });
28
29
  }));
29
30
  };
30
31
  it('has zero violations on first render', function () {
31
32
  cy.mount((0, _react2.jsx)(TokenGrid, null));
32
- cy.get('div[data-cy-root]').find('svg', {
33
+ cy.get('div[data-cy-root]').find('svg > title', {
33
34
  timeout: 5000
34
- }).should('have.length', 53);
35
+ }).should('have.length', TokenIcons.length);
35
36
  cy.checkAxe();
36
37
  });
37
38
  });
@@ -57,7 +57,8 @@ var EuiImageButton = exports.EuiImageButton = function EuiImageButton(_ref) {
57
57
  css: cssIconStyles
58
58
  }, (0, _react2.jsx)(_accessibility.EuiScreenReaderOnly, null, (0, _react2.jsx)("p", null, hasAlt && ' — ', openFullScreenInstructions)), (0, _react2.jsx)(_icon.EuiIcon, {
59
59
  type: "fullScreen",
60
- color: iconColor
60
+ color: iconColor,
61
+ "aria-hidden": true
61
62
  })));
62
63
  };
63
64
  EuiImageButton.propTypes = {
@@ -84,7 +84,8 @@ var EuiImageFullScreenWrapper = exports.EuiImageFullScreenWrapper = function Eui
84
84
  })), (0, _react2.jsx)(_icon.EuiIcon, {
85
85
  type: "fullScreenExit",
86
86
  color: "ghost",
87
- css: cssIconStyles
87
+ css: cssIconStyles,
88
+ "aria-hidden": true
88
89
  })));
89
90
  };
90
91
  EuiImageFullScreenWrapper.propTypes = {
@@ -126,7 +126,7 @@ var EuiInlineEditForm = exports.EuiInlineEditForm = function EuiInlineEditForm(_
126
126
  });
127
127
  };
128
128
  var saveInlineEditValue = /*#__PURE__*/function () {
129
- var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
129
+ var _ref2 = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
130
130
  var onSaveReturn, awaitedReturn;
131
131
  return _regenerator.default.wrap(function _callee$(_context) {
132
132
  while (1) switch (_context.prev = _context.next) {
@@ -63,7 +63,8 @@ var KeyPadMenu = function KeyPadMenu() {
63
63
  }
64
64
  }, (0, _react2.jsx)(_icon.EuiIcon, {
65
65
  type: "grid",
66
- size: "l"
66
+ size: "l",
67
+ "aria-hidden": true
67
68
  })), (0, _react2.jsx)(_key_pad_menu_item.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
  }, (0, _react2.jsx)(_icon.EuiIcon, {
76
77
  type: "grid",
77
- size: "l"
78
+ size: "l",
79
+ "aria-hidden": true
78
80
  })), (0, _react2.jsx)(_key_pad_menu_item.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
  }, (0, _react2.jsx)(_icon.EuiIcon, {
87
89
  type: "grid",
88
- size: "l"
90
+ size: "l",
91
+ "aria-hidden": true
89
92
  })), (0, _react2.jsx)(_key_pad_menu_item.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
  }, (0, _react2.jsx)(_icon.EuiIcon, {
99
102
  type: "link",
100
- size: "l"
103
+ size: "l",
104
+ "aria-hidden": true
101
105
  })), (0, _react2.jsx)(_key_pad_menu_item.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
  }, (0, _react2.jsx)(_icon.EuiIcon, {
111
115
  type: "link",
112
- size: "l"
116
+ size: "l",
117
+ "aria-hidden": true
113
118
  })), (0, _react2.jsx)(_key_pad_menu_item.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
  }, (0, _react2.jsx)(_icon.EuiIcon, {
120
125
  type: "link",
121
- size: "l"
126
+ size: "l",
127
+ "aria-hidden": true
122
128
  }))));
123
129
  };
124
130
  beforeEach(function () {