@elastic/eui 65.0.1 → 67.0.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 (360) hide show
  1. package/dist/eui_charts_theme.js +330 -330
  2. package/dist/eui_charts_theme.js.map +1 -1
  3. package/dist/eui_theme_dark.css +28 -444
  4. package/dist/eui_theme_dark.json +0 -6
  5. package/dist/eui_theme_dark.json.d.ts +0 -6
  6. package/dist/eui_theme_dark.min.css +1 -1
  7. package/dist/eui_theme_light.css +28 -444
  8. package/dist/eui_theme_light.json +0 -6
  9. package/dist/eui_theme_light.json.d.ts +0 -6
  10. package/dist/eui_theme_light.min.css +1 -1
  11. package/es/components/basic_table/basic_table.js +13 -2
  12. package/es/components/basic_table/in_memory_table.js +13 -2
  13. package/es/components/button/button_display/_button_display.js +10 -1
  14. package/es/components/button/button_empty/button_empty.js +10 -1
  15. package/es/components/card/card.styles.js +2 -2
  16. package/es/components/collapsible_nav/collapsible_nav.js +0 -5
  17. package/es/components/combo_box/combo_box.js +2 -15
  18. package/es/components/datagrid/body/data_grid_body.js +17 -6
  19. package/es/components/datagrid/body/data_grid_cell.js +29 -12
  20. package/es/components/datagrid/body/header/data_grid_header_cell.js +17 -6
  21. package/es/components/datagrid/body/header/data_grid_header_row.js +17 -6
  22. package/es/components/datagrid/data_grid.js +17 -6
  23. package/es/components/datagrid/utils/in_memory.js +17 -6
  24. package/es/components/date_picker/auto_refresh/auto_refresh.js +6 -1
  25. package/es/components/date_picker/react-datepicker/original.package.json +124 -0
  26. package/es/components/date_picker/super_date_picker/date_popover/date_popover_button.js +6 -2
  27. package/es/components/description_list/description_list.js +11 -3
  28. package/es/components/description_list/description_list_context.js +2 -1
  29. package/es/components/description_list/description_list_description.js +3 -1
  30. package/es/components/description_list/description_list_description.styles.js +5 -2
  31. package/es/components/description_list/description_list_title.js +3 -2
  32. package/es/components/description_list/description_list_title.styles.js +7 -3
  33. package/es/components/description_list/description_list_types.js +2 -1
  34. package/es/components/expression/expression.js +12 -2
  35. package/es/components/form/field_search/field_search.js +6 -16
  36. package/es/components/form/range/range_input.js +1 -1
  37. package/es/components/header/header_links/header_link.js +10 -1
  38. package/es/components/header/header_section/header_section_item.js +4 -3
  39. package/es/components/icon/icon.js +3 -10
  40. package/es/components/image/image.js +6 -1
  41. package/es/components/image/image_fullscreen_wrapper.js +2 -3
  42. package/es/components/list_group/list_group.js +7 -1
  43. package/es/components/list_group/list_group_item.js +10 -3
  44. package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +13 -1
  45. package/es/components/modal/modal.js +1 -3
  46. package/es/components/notification/notification_event.js +24 -5
  47. package/es/components/observer/mutation_observer/mutation_observer.js +1 -1
  48. package/es/components/overlay_mask/overlay_mask.js +27 -65
  49. package/es/components/overlay_mask/overlay_mask.styles.js +28 -0
  50. package/es/components/page/page_content/page_content.js +1 -2
  51. package/es/components/page/page_content/page_content_body.js +1 -2
  52. package/es/components/page/page_content/page_content_header.js +1 -2
  53. package/es/components/page/page_content/page_content_header_section.js +1 -2
  54. package/es/components/page/page_section/page_section.js +15 -3
  55. package/es/components/page/page_side_bar/page_side_bar.js +1 -2
  56. package/es/components/page/page_sidebar/page_sidebar.js +5 -1
  57. package/es/components/page/page_template.js +3 -1
  58. package/es/components/page_template/empty_prompt/page_empty_prompt.js +11 -1
  59. package/es/components/page_template/page_template.js +18 -2
  60. package/es/components/pagination/pagination.js +17 -4
  61. package/es/components/pagination/pagination.styles.js +31 -0
  62. package/es/components/pagination/pagination_button.js +17 -5
  63. package/es/components/pagination/pagination_button.styles.js +30 -0
  64. package/es/components/pagination/pagination_button_arrow.js +5 -0
  65. package/es/components/progress/progress.js +6 -1
  66. package/es/components/provider/cache/cache_provider.js +3 -9
  67. package/es/components/provider/provider.js +25 -2
  68. package/es/components/resizable_container/resizable_panel.js +6 -1
  69. package/es/components/side_nav/side_nav.js +5 -0
  70. package/es/components/suggest/suggest.js +10 -1
  71. package/es/components/table/table_row_cell.js +4 -6
  72. package/es/components/tabs/tabbed_content/tabbed_content.js +2 -19
  73. package/es/components/tool_tip/tool_tip.js +42 -66
  74. package/es/components/tool_tip/tool_tip.styles.js +107 -0
  75. package/es/components/tool_tip/tool_tip_anchor.js +73 -0
  76. package/es/components/tool_tip/tool_tip_arrow.js +20 -0
  77. package/es/components/tool_tip/tool_tip_popover.js +48 -101
  78. package/es/global_styling/functions/logicals.json +56 -0
  79. package/es/global_styling/index.js +2 -1
  80. package/es/global_styling/mixins/_typography.js +1 -1
  81. package/es/global_styling/utility/animations.js +13 -0
  82. package/es/services/theme/hooks.js +11 -16
  83. package/eui.d.ts +157 -61
  84. package/i18ntokens.json +72 -72
  85. package/lib/components/basic_table/basic_table.js +13 -2
  86. package/lib/components/basic_table/in_memory_table.js +13 -2
  87. package/lib/components/button/button_display/_button_display.js +10 -1
  88. package/lib/components/button/button_empty/button_empty.js +10 -1
  89. package/lib/components/card/card.styles.js +2 -2
  90. package/lib/components/collapsible_nav/collapsible_nav.js +0 -5
  91. package/lib/components/combo_box/combo_box.js +2 -15
  92. package/lib/components/datagrid/body/data_grid_body.js +17 -6
  93. package/lib/components/datagrid/body/data_grid_cell.js +29 -12
  94. package/lib/components/datagrid/body/header/data_grid_header_cell.js +17 -6
  95. package/lib/components/datagrid/body/header/data_grid_header_row.js +17 -6
  96. package/lib/components/datagrid/data_grid.js +17 -6
  97. package/lib/components/datagrid/utils/in_memory.js +17 -6
  98. package/lib/components/date_picker/auto_refresh/auto_refresh.js +6 -1
  99. package/lib/components/date_picker/react-datepicker/original.package.json +124 -0
  100. package/lib/components/date_picker/super_date_picker/date_popover/date_popover_button.js +6 -1
  101. package/lib/components/description_list/description_list.js +11 -3
  102. package/lib/components/description_list/description_list_context.js +2 -1
  103. package/lib/components/description_list/description_list_description.js +3 -1
  104. package/lib/components/description_list/description_list_description.styles.js +5 -2
  105. package/lib/components/description_list/description_list_title.js +3 -2
  106. package/lib/components/description_list/description_list_title.styles.js +7 -3
  107. package/lib/components/description_list/description_list_types.js +4 -2
  108. package/lib/components/expression/expression.js +12 -2
  109. package/lib/components/form/field_search/field_search.js +6 -16
  110. package/lib/components/form/range/range_input.js +1 -1
  111. package/lib/components/header/header_links/header_link.js +10 -1
  112. package/lib/components/header/header_section/header_section_item.js +4 -3
  113. package/lib/components/icon/icon.js +3 -10
  114. package/lib/components/image/image.js +6 -1
  115. package/lib/components/image/image_fullscreen_wrapper.js +2 -3
  116. package/lib/components/list_group/list_group.js +7 -1
  117. package/lib/components/list_group/list_group_item.js +10 -3
  118. package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +13 -1
  119. package/lib/components/modal/modal.js +1 -3
  120. package/lib/components/notification/notification_event.js +27 -8
  121. package/lib/components/observer/mutation_observer/mutation_observer.js +1 -1
  122. package/lib/components/overlay_mask/overlay_mask.js +27 -65
  123. package/lib/components/overlay_mask/overlay_mask.styles.js +34 -0
  124. package/lib/components/page/page_content/page_content.js +1 -2
  125. package/lib/components/page/page_content/page_content_body.js +1 -2
  126. package/lib/components/page/page_content/page_content_header.js +1 -2
  127. package/lib/components/page/page_content/page_content_header_section.js +1 -2
  128. package/lib/components/page/page_section/page_section.js +15 -3
  129. package/lib/components/page/page_side_bar/page_side_bar.js +1 -2
  130. package/lib/components/page/page_sidebar/page_sidebar.js +5 -1
  131. package/lib/components/page/page_template.js +3 -1
  132. package/lib/components/page_template/empty_prompt/page_empty_prompt.js +11 -1
  133. package/lib/components/page_template/page_template.js +18 -2
  134. package/lib/components/pagination/pagination.js +18 -3
  135. package/lib/components/pagination/pagination.styles.js +34 -0
  136. package/lib/components/pagination/pagination_button.js +9 -4
  137. package/lib/components/pagination/pagination_button.styles.js +45 -0
  138. package/lib/components/pagination/pagination_button_arrow.js +7 -0
  139. package/lib/components/progress/progress.js +6 -1
  140. package/lib/components/provider/cache/cache_provider.js +3 -11
  141. package/lib/components/provider/provider.js +31 -6
  142. package/lib/components/resizable_container/resizable_panel.js +6 -1
  143. package/lib/components/side_nav/side_nav.js +5 -0
  144. package/lib/components/suggest/suggest.js +10 -1
  145. package/lib/components/table/table_row_cell.js +4 -6
  146. package/lib/components/tabs/tabbed_content/tabbed_content.js +2 -19
  147. package/lib/components/tool_tip/tool_tip.js +43 -64
  148. package/lib/components/tool_tip/tool_tip.styles.js +123 -0
  149. package/lib/components/tool_tip/tool_tip_anchor.js +87 -0
  150. package/lib/components/tool_tip/tool_tip_arrow.js +28 -0
  151. package/lib/components/tool_tip/tool_tip_popover.js +49 -98
  152. package/lib/global_styling/functions/logicals.json +56 -0
  153. package/lib/global_styling/index.js +13 -0
  154. package/lib/global_styling/mixins/_typography.js +1 -1
  155. package/lib/global_styling/utility/animations.js +15 -0
  156. package/lib/services/theme/hooks.js +10 -15
  157. package/optimize/es/components/card/card.styles.js +2 -2
  158. package/optimize/es/components/combo_box/combo_box.js +2 -15
  159. package/optimize/es/components/date_picker/react-datepicker/original.package.json +124 -0
  160. package/optimize/es/components/date_picker/super_date_picker/date_popover/date_popover_button.js +0 -1
  161. package/optimize/es/components/description_list/description_list.js +5 -2
  162. package/optimize/es/components/description_list/description_list_context.js +2 -1
  163. package/optimize/es/components/description_list/description_list_description.js +3 -1
  164. package/optimize/es/components/description_list/description_list_description.styles.js +5 -2
  165. package/optimize/es/components/description_list/description_list_title.js +3 -2
  166. package/optimize/es/components/description_list/description_list_title.styles.js +7 -3
  167. package/optimize/es/components/description_list/description_list_types.js +2 -1
  168. package/optimize/es/components/form/field_search/field_search.js +6 -16
  169. package/optimize/es/components/form/range/range_input.js +1 -1
  170. package/optimize/es/components/header/header_section/header_section_item.js +4 -3
  171. package/optimize/es/components/icon/icon.js +3 -10
  172. package/optimize/es/components/image/image_fullscreen_wrapper.js +2 -3
  173. package/optimize/es/components/list_group/list_group_item.js +3 -2
  174. package/optimize/es/components/modal/modal.js +1 -3
  175. package/optimize/es/components/notification/notification_event.js +10 -4
  176. package/optimize/es/components/observer/mutation_observer/mutation_observer.js +1 -1
  177. package/optimize/es/components/overlay_mask/overlay_mask.js +27 -60
  178. package/optimize/es/components/overlay_mask/overlay_mask.styles.js +28 -0
  179. package/optimize/es/components/page/page_content/page_content.js +1 -2
  180. package/optimize/es/components/page/page_content/page_content_body.js +1 -2
  181. package/optimize/es/components/page/page_content/page_content_header.js +1 -2
  182. package/optimize/es/components/page/page_content/page_content_header_section.js +1 -2
  183. package/optimize/es/components/page/page_section/page_section.js +4 -2
  184. package/optimize/es/components/page/page_side_bar/page_side_bar.js +1 -2
  185. package/optimize/es/components/page/page_sidebar/page_sidebar.js +5 -1
  186. package/optimize/es/components/page/page_template.js +3 -1
  187. package/optimize/es/components/pagination/pagination.js +17 -4
  188. package/optimize/es/components/pagination/pagination.styles.js +31 -0
  189. package/optimize/es/components/pagination/pagination_button.js +7 -4
  190. package/optimize/es/components/pagination/pagination_button.styles.js +30 -0
  191. package/optimize/es/components/pagination/pagination_button_arrow.js +5 -0
  192. package/optimize/es/components/provider/cache/cache_provider.js +3 -9
  193. package/optimize/es/components/provider/provider.js +25 -2
  194. package/optimize/es/components/suggest/suggest.js +4 -1
  195. package/optimize/es/components/tabs/tabbed_content/tabbed_content.js +2 -19
  196. package/optimize/es/components/tool_tip/tool_tip.js +42 -66
  197. package/optimize/es/components/tool_tip/tool_tip.styles.js +107 -0
  198. package/optimize/es/components/tool_tip/tool_tip_anchor.js +60 -0
  199. package/optimize/es/components/tool_tip/tool_tip_arrow.js +20 -0
  200. package/optimize/es/components/tool_tip/tool_tip_popover.js +46 -87
  201. package/optimize/es/global_styling/functions/logicals.json +56 -0
  202. package/optimize/es/global_styling/index.js +2 -1
  203. package/optimize/es/global_styling/mixins/_typography.js +1 -1
  204. package/optimize/es/global_styling/utility/animations.js +13 -0
  205. package/optimize/es/services/theme/hooks.js +11 -16
  206. package/optimize/lib/components/card/card.styles.js +2 -2
  207. package/optimize/lib/components/combo_box/combo_box.js +2 -15
  208. package/optimize/lib/components/date_picker/react-datepicker/original.package.json +124 -0
  209. package/optimize/lib/components/description_list/description_list.js +5 -2
  210. package/optimize/lib/components/description_list/description_list_context.js +2 -1
  211. package/optimize/lib/components/description_list/description_list_description.js +3 -1
  212. package/optimize/lib/components/description_list/description_list_description.styles.js +5 -2
  213. package/optimize/lib/components/description_list/description_list_title.js +3 -2
  214. package/optimize/lib/components/description_list/description_list_title.styles.js +7 -3
  215. package/optimize/lib/components/description_list/description_list_types.js +4 -2
  216. package/optimize/lib/components/form/field_search/field_search.js +6 -16
  217. package/optimize/lib/components/form/range/range_input.js +1 -1
  218. package/optimize/lib/components/header/header_section/header_section_item.js +4 -3
  219. package/optimize/lib/components/icon/icon.js +3 -10
  220. package/optimize/lib/components/image/image_fullscreen_wrapper.js +2 -3
  221. package/optimize/lib/components/list_group/list_group_item.js +3 -2
  222. package/optimize/lib/components/modal/modal.js +1 -3
  223. package/optimize/lib/components/notification/notification_event.js +11 -11
  224. package/optimize/lib/components/observer/mutation_observer/mutation_observer.js +1 -1
  225. package/optimize/lib/components/overlay_mask/overlay_mask.js +27 -59
  226. package/optimize/lib/components/overlay_mask/overlay_mask.styles.js +34 -0
  227. package/optimize/lib/components/page/page_content/page_content.js +1 -2
  228. package/optimize/lib/components/page/page_content/page_content_body.js +1 -2
  229. package/optimize/lib/components/page/page_content/page_content_header.js +1 -2
  230. package/optimize/lib/components/page/page_content/page_content_header_section.js +1 -2
  231. package/optimize/lib/components/page/page_section/page_section.js +4 -2
  232. package/optimize/lib/components/page/page_side_bar/page_side_bar.js +1 -2
  233. package/optimize/lib/components/page/page_sidebar/page_sidebar.js +5 -1
  234. package/optimize/lib/components/page/page_template.js +3 -1
  235. package/optimize/lib/components/pagination/pagination.js +18 -3
  236. package/optimize/lib/components/pagination/pagination.styles.js +34 -0
  237. package/optimize/lib/components/pagination/pagination_button.js +9 -4
  238. package/optimize/lib/components/pagination/pagination_button.styles.js +45 -0
  239. package/optimize/lib/components/pagination/pagination_button_arrow.js +7 -0
  240. package/optimize/lib/components/provider/cache/cache_provider.js +3 -11
  241. package/optimize/lib/components/provider/provider.js +31 -6
  242. package/optimize/lib/components/suggest/suggest.js +4 -1
  243. package/optimize/lib/components/tabs/tabbed_content/tabbed_content.js +2 -19
  244. package/optimize/lib/components/tool_tip/tool_tip.js +42 -64
  245. package/optimize/lib/components/tool_tip/tool_tip.styles.js +125 -0
  246. package/optimize/lib/components/tool_tip/tool_tip_anchor.js +75 -0
  247. package/optimize/lib/components/tool_tip/tool_tip_arrow.js +35 -0
  248. package/optimize/lib/components/tool_tip/tool_tip_popover.js +47 -88
  249. package/optimize/lib/global_styling/functions/logicals.json +56 -0
  250. package/optimize/lib/global_styling/index.js +13 -0
  251. package/optimize/lib/global_styling/mixins/_typography.js +1 -1
  252. package/optimize/lib/global_styling/utility/animations.js +17 -0
  253. package/optimize/lib/services/theme/hooks.js +10 -15
  254. package/package.json +2 -2
  255. package/src/components/badge/_badge.scss +0 -5
  256. package/src/components/datagrid/_data_grid_data_row.scss +7 -0
  257. package/src/components/datagrid/body/header/_data_grid_header_row.scss +1 -1
  258. package/src/components/filter_group/_filter_group.scss +3 -1
  259. package/src/components/flex/_flex_group.scss +2 -11
  260. package/src/components/flex/_flex_item.scss +0 -6
  261. package/src/components/form/field_search/_field_search.scss +0 -5
  262. package/src/components/form/form_control_layout/_form_control_layout_delimited.scss +0 -3
  263. package/src/components/form/form_row/_form_row.scss +0 -1
  264. package/src/components/header/header_section/_header_section_item.scss +1 -1
  265. package/src/components/index.scss +0 -4
  266. package/src/components/list_group/_list_group_item.scss +3 -25
  267. package/src/components/modal/_modal.scss +5 -20
  268. package/src/components/page/page_content/_page_content.scss +0 -1
  269. package/src/components/table/_responsive.scss +0 -1
  270. package/src/components/table/_table.scss +0 -5
  271. package/src/global_styling/mixins/_form.scss +0 -4
  272. package/src/global_styling/mixins/_helpers.scss +0 -8
  273. package/src/global_styling/mixins/_tool_tip.scss +3 -6
  274. package/src/global_styling/mixins/_typography.scss +1 -5
  275. package/src/global_styling/utility/_index.scss +0 -1
  276. package/src/themes/amsterdam/overrides/_index.scss +0 -2
  277. package/test-env/components/basic_table/basic_table.js +13 -2
  278. package/test-env/components/basic_table/in_memory_table.js +13 -2
  279. package/test-env/components/button/button_display/_button_display.js +10 -1
  280. package/test-env/components/button/button_empty/button_empty.js +10 -1
  281. package/test-env/components/card/card.styles.js +2 -2
  282. package/test-env/components/collapsible_nav/collapsible_nav.js +0 -5
  283. package/test-env/components/combo_box/combo_box.js +2 -15
  284. package/test-env/components/datagrid/body/data_grid_body.js +17 -6
  285. package/test-env/components/datagrid/body/data_grid_cell.js +29 -12
  286. package/test-env/components/datagrid/body/header/data_grid_header_cell.js +17 -6
  287. package/test-env/components/datagrid/body/header/data_grid_header_row.js +17 -6
  288. package/test-env/components/datagrid/data_grid.js +17 -6
  289. package/test-env/components/datagrid/utils/in_memory.js +17 -6
  290. package/test-env/components/date_picker/auto_refresh/auto_refresh.js +6 -1
  291. package/test-env/components/date_picker/react-datepicker/original.package.json +124 -0
  292. package/test-env/components/date_picker/super_date_picker/date_popover/date_popover_button.js +6 -1
  293. package/test-env/components/description_list/description_list.js +11 -3
  294. package/test-env/components/description_list/description_list_context.js +2 -1
  295. package/test-env/components/description_list/description_list_description.js +3 -1
  296. package/test-env/components/description_list/description_list_description.styles.js +5 -2
  297. package/test-env/components/description_list/description_list_title.js +3 -2
  298. package/test-env/components/description_list/description_list_title.styles.js +7 -3
  299. package/test-env/components/description_list/description_list_types.js +4 -2
  300. package/test-env/components/expression/expression.js +12 -2
  301. package/test-env/components/form/field_search/field_search.js +6 -16
  302. package/test-env/components/form/range/range_input.js +1 -1
  303. package/test-env/components/header/header_links/header_link.js +10 -1
  304. package/test-env/components/header/header_section/header_section_item.js +4 -3
  305. package/test-env/components/image/image.js +6 -1
  306. package/test-env/components/image/image_fullscreen_wrapper.js +2 -3
  307. package/test-env/components/list_group/list_group.js +7 -1
  308. package/test-env/components/list_group/list_group_item.js +10 -3
  309. package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +13 -1
  310. package/test-env/components/modal/modal.js +1 -3
  311. package/test-env/components/notification/notification_event.js +24 -15
  312. package/test-env/components/observer/mutation_observer/mutation_observer.js +1 -1
  313. package/test-env/components/overlay_mask/overlay_mask.js +27 -64
  314. package/test-env/components/overlay_mask/overlay_mask.styles.js +34 -0
  315. package/test-env/components/page/page_content/page_content.js +1 -2
  316. package/test-env/components/page/page_content/page_content_body.js +1 -2
  317. package/test-env/components/page/page_content/page_content_header.js +1 -2
  318. package/test-env/components/page/page_content/page_content_header_section.js +1 -2
  319. package/test-env/components/page/page_section/page_section.js +15 -3
  320. package/test-env/components/page/page_side_bar/page_side_bar.js +1 -2
  321. package/test-env/components/page/page_sidebar/page_sidebar.js +5 -1
  322. package/test-env/components/page/page_template.js +3 -1
  323. package/test-env/components/page_template/empty_prompt/page_empty_prompt.js +11 -1
  324. package/test-env/components/page_template/page_template.js +18 -2
  325. package/test-env/components/pagination/pagination.js +18 -3
  326. package/test-env/components/pagination/pagination.styles.js +34 -0
  327. package/test-env/components/pagination/pagination_button.js +9 -4
  328. package/test-env/components/pagination/pagination_button.styles.js +45 -0
  329. package/test-env/components/pagination/pagination_button_arrow.js +7 -0
  330. package/test-env/components/progress/progress.js +6 -1
  331. package/test-env/components/provider/cache/cache_provider.js +3 -11
  332. package/test-env/components/provider/provider.js +31 -6
  333. package/test-env/components/resizable_container/resizable_panel.js +6 -1
  334. package/test-env/components/side_nav/side_nav.js +5 -0
  335. package/test-env/components/suggest/suggest.js +10 -1
  336. package/test-env/components/table/table_row_cell.js +4 -6
  337. package/test-env/components/tabs/tabbed_content/tabbed_content.js +2 -19
  338. package/test-env/components/tool_tip/tool_tip.js +42 -64
  339. package/test-env/components/tool_tip/tool_tip.styles.js +125 -0
  340. package/test-env/components/tool_tip/tool_tip_anchor.js +84 -0
  341. package/test-env/components/tool_tip/tool_tip_arrow.js +35 -0
  342. package/test-env/components/tool_tip/tool_tip_popover.js +49 -89
  343. package/test-env/global_styling/functions/logicals.json +56 -0
  344. package/test-env/global_styling/index.js +13 -0
  345. package/test-env/global_styling/mixins/_typography.js +1 -1
  346. package/test-env/global_styling/utility/animations.js +17 -0
  347. package/test-env/services/theme/hooks.js +10 -15
  348. package/src/components/call_out/_index.scss +0 -3
  349. package/src/components/call_out/_mixins.scss +0 -23
  350. package/src/components/call_out/_variables.scss +0 -7
  351. package/src/components/overlay_mask/_index.scss +0 -1
  352. package/src/components/overlay_mask/_overlay_mask.scss +0 -33
  353. package/src/components/pagination/_index.scss +0 -2
  354. package/src/components/pagination/_pagination.scss +0 -30
  355. package/src/components/pagination/_pagination_button.scss +0 -37
  356. package/src/components/tool_tip/_index.scss +0 -1
  357. package/src/components/tool_tip/_tool_tip.scss +0 -121
  358. package/src/global_styling/utility/_utility.scss +0 -15
  359. package/src/themes/amsterdam/overrides/_overlay_mask.scss +0 -3
  360. package/src/themes/amsterdam/overrides/_tooltip.scss +0 -7
package/i18ntokens.json CHANGED
@@ -21,11 +21,11 @@
21
21
  "highlighting": "string",
22
22
  "loc": {
23
23
  "start": {
24
- "line": 309,
24
+ "line": 312,
25
25
  "column": 6
26
26
  },
27
27
  "end": {
28
- "line": 309,
28
+ "line": 312,
29
29
  "column": 79
30
30
  }
31
31
  },
@@ -37,11 +37,11 @@
37
37
  "highlighting": "string",
38
38
  "loc": {
39
39
  "start": {
40
- "line": 671,
40
+ "line": 674,
41
41
  "column": 10
42
42
  },
43
43
  "end": {
44
- "line": 675,
44
+ "line": 678,
45
45
  "column": 12
46
46
  }
47
47
  },
@@ -53,11 +53,11 @@
53
53
  "highlighting": "string",
54
54
  "loc": {
55
55
  "start": {
56
- "line": 684,
56
+ "line": 687,
57
57
  "column": 12
58
58
  },
59
59
  "end": {
60
- "line": 688,
60
+ "line": 691,
61
61
  "column": 14
62
62
  }
63
63
  },
@@ -69,11 +69,11 @@
69
69
  "highlighting": "string",
70
70
  "loc": {
71
71
  "start": {
72
- "line": 692,
72
+ "line": 695,
73
73
  "column": 12
74
74
  },
75
75
  "end": {
76
- "line": 696,
76
+ "line": 699,
77
77
  "column": 14
78
78
  }
79
79
  },
@@ -85,11 +85,11 @@
85
85
  "highlighting": "string",
86
86
  "loc": {
87
87
  "start": {
88
- "line": 701,
88
+ "line": 704,
89
89
  "column": 10
90
90
  },
91
91
  "end": {
92
- "line": 705,
92
+ "line": 708,
93
93
  "column": 12
94
94
  }
95
95
  },
@@ -101,11 +101,11 @@
101
101
  "highlighting": "string",
102
102
  "loc": {
103
103
  "start": {
104
- "line": 747,
104
+ "line": 750,
105
105
  "column": 6
106
106
  },
107
107
  "end": {
108
- "line": 747,
108
+ "line": 750,
109
109
  "column": 77
110
110
  }
111
111
  },
@@ -117,11 +117,11 @@
117
117
  "highlighting": "string",
118
118
  "loc": {
119
119
  "start": {
120
- "line": 1140,
120
+ "line": 1143,
121
121
  "column": 8
122
122
  },
123
123
  "end": {
124
- "line": 1140,
124
+ "line": 1143,
125
125
  "column": 79
126
126
  }
127
127
  },
@@ -133,11 +133,11 @@
133
133
  "highlighting": "string",
134
134
  "loc": {
135
135
  "start": {
136
- "line": 1360,
136
+ "line": 1363,
137
137
  "column": 8
138
138
  },
139
139
  "end": {
140
- "line": 1364,
140
+ "line": 1367,
141
141
  "column": 9
142
142
  }
143
143
  },
@@ -773,11 +773,11 @@
773
773
  "highlighting": "string",
774
774
  "loc": {
775
775
  "start": {
776
- "line": 992,
776
+ "line": 968,
777
777
  "column": 10
778
778
  },
779
779
  "end": {
780
- "line": 995,
780
+ "line": 971,
781
781
  "column": 11
782
782
  }
783
783
  },
@@ -1941,11 +1941,11 @@
1941
1941
  "highlighting": "string",
1942
1942
  "loc": {
1943
1943
  "start": {
1944
- "line": 92,
1944
+ "line": 93,
1945
1945
  "column": 23
1946
1946
  },
1947
1947
  "end": {
1948
- "line": 96,
1948
+ "line": 97,
1949
1949
  "column": 3
1950
1950
  }
1951
1951
  },
@@ -1957,11 +1957,11 @@
1957
1957
  "highlighting": "string",
1958
1958
  "loc": {
1959
1959
  "start": {
1960
- "line": 97,
1960
+ "line": 98,
1961
1961
  "column": 24
1962
1962
  },
1963
1963
  "end": {
1964
- "line": 101,
1964
+ "line": 102,
1965
1965
  "column": 3
1966
1966
  }
1967
1967
  },
@@ -2885,11 +2885,11 @@
2885
2885
  "highlighting": "string",
2886
2886
  "loc": {
2887
2887
  "start": {
2888
- "line": 124,
2888
+ "line": 126,
2889
2889
  "column": 6
2890
2890
  },
2891
2891
  "end": {
2892
- "line": 127,
2892
+ "line": 129,
2893
2893
  "column": 8
2894
2894
  }
2895
2895
  },
@@ -2901,11 +2901,11 @@
2901
2901
  "highlighting": "string",
2902
2902
  "loc": {
2903
2903
  "start": {
2904
- "line": 131,
2904
+ "line": 133,
2905
2905
  "column": 8
2906
2906
  },
2907
2907
  "end": {
2908
- "line": 134,
2908
+ "line": 136,
2909
2909
  "column": 10
2910
2910
  }
2911
2911
  },
@@ -2917,11 +2917,11 @@
2917
2917
  "highlighting": "string",
2918
2918
  "loc": {
2919
2919
  "start": {
2920
- "line": 136,
2920
+ "line": 138,
2921
2921
  "column": 8
2922
2922
  },
2923
2923
  "end": {
2924
- "line": 139,
2924
+ "line": 141,
2925
2925
  "column": 10
2926
2926
  }
2927
2927
  },
@@ -2933,11 +2933,11 @@
2933
2933
  "highlighting": "string",
2934
2934
  "loc": {
2935
2935
  "start": {
2936
- "line": 146,
2936
+ "line": 148,
2937
2937
  "column": 8
2938
2938
  },
2939
2939
  "end": {
2940
- "line": 149,
2940
+ "line": 151,
2941
2941
  "column": 10
2942
2942
  }
2943
2943
  },
@@ -2949,11 +2949,11 @@
2949
2949
  "highlighting": "string",
2950
2950
  "loc": {
2951
2951
  "start": {
2952
- "line": 153,
2952
+ "line": 155,
2953
2953
  "column": 8
2954
2954
  },
2955
2955
  "end": {
2956
- "line": 156,
2956
+ "line": 158,
2957
2957
  "column": 10
2958
2958
  }
2959
2959
  },
@@ -4437,11 +4437,11 @@
4437
4437
  "highlighting": "string",
4438
4438
  "loc": {
4439
4439
  "start": {
4440
- "line": 43,
4440
+ "line": 48,
4441
4441
  "column": 11
4442
4442
  },
4443
4443
  "end": {
4444
- "line": 43,
4444
+ "line": 48,
4445
4445
  "column": 73
4446
4446
  }
4447
4447
  },
@@ -4453,11 +4453,11 @@
4453
4453
  "highlighting": "string",
4454
4454
  "loc": {
4455
4455
  "start": {
4456
- "line": 44,
4456
+ "line": 49,
4457
4457
  "column": 14
4458
4458
  },
4459
4459
  "end": {
4460
- "line": 47,
4460
+ "line": 52,
4461
4461
  "column": 5
4462
4462
  }
4463
4463
  },
@@ -4469,11 +4469,11 @@
4469
4469
  "highlighting": "string",
4470
4470
  "loc": {
4471
4471
  "start": {
4472
- "line": 48,
4472
+ "line": 53,
4473
4473
  "column": 10
4474
4474
  },
4475
4475
  "end": {
4476
- "line": 48,
4476
+ "line": 53,
4477
4477
  "column": 70
4478
4478
  }
4479
4479
  },
@@ -4485,11 +4485,11 @@
4485
4485
  "highlighting": "string",
4486
4486
  "loc": {
4487
4487
  "start": {
4488
- "line": 49,
4488
+ "line": 54,
4489
4489
  "column": 10
4490
4490
  },
4491
4491
  "end": {
4492
- "line": 49,
4492
+ "line": 54,
4493
4493
  "column": 70
4494
4494
  }
4495
4495
  },
@@ -4501,11 +4501,11 @@
4501
4501
  "highlighting": "string",
4502
4502
  "loc": {
4503
4503
  "start": {
4504
- "line": 66,
4504
+ "line": 74,
4505
4505
  "column": 4
4506
4506
  },
4507
4507
  "end": {
4508
- "line": 70,
4508
+ "line": 78,
4509
4509
  "column": 5
4510
4510
  }
4511
4511
  },
@@ -4517,11 +4517,11 @@
4517
4517
  "highlighting": "string",
4518
4518
  "loc": {
4519
4519
  "start": {
4520
- "line": 72,
4520
+ "line": 80,
4521
4521
  "column": 8
4522
4522
  },
4523
4523
  "end": {
4524
- "line": 76,
4524
+ "line": 84,
4525
4525
  "column": 9
4526
4526
  }
4527
4527
  },
@@ -4533,11 +4533,11 @@
4533
4533
  "highlighting": "string",
4534
4534
  "loc": {
4535
4535
  "start": {
4536
- "line": 146,
4536
+ "line": 160,
4537
4537
  "column": 10
4538
4538
  },
4539
4539
  "end": {
4540
- "line": 153,
4540
+ "line": 167,
4541
4541
  "column": 12
4542
4542
  }
4543
4543
  },
@@ -4549,11 +4549,11 @@
4549
4549
  "highlighting": "string",
4550
4550
  "loc": {
4551
4551
  "start": {
4552
- "line": 198,
4552
+ "line": 212,
4553
4553
  "column": 12
4554
4554
  },
4555
4555
  "end": {
4556
- "line": 203,
4556
+ "line": 217,
4557
4557
  "column": 13
4558
4558
  }
4559
4559
  },
@@ -4565,11 +4565,11 @@
4565
4565
  "highlighting": "string",
4566
4566
  "loc": {
4567
4567
  "start": {
4568
- "line": 238,
4568
+ "line": 253,
4569
4569
  "column": 12
4570
4570
  },
4571
4571
  "end": {
4572
- "line": 246,
4572
+ "line": 261,
4573
4573
  "column": 13
4574
4574
  }
4575
4575
  },
@@ -4581,11 +4581,11 @@
4581
4581
  "highlighting": "string",
4582
4582
  "loc": {
4583
4583
  "start": {
4584
- "line": 288,
4584
+ "line": 308,
4585
4585
  "column": 20
4586
4586
  },
4587
4587
  "end": {
4588
- "line": 288,
4588
+ "line": 308,
4589
4589
  "column": 60
4590
4590
  }
4591
4591
  },
@@ -4597,11 +4597,11 @@
4597
4597
  "highlighting": "string",
4598
4598
  "loc": {
4599
4599
  "start": {
4600
- "line": 289,
4600
+ "line": 309,
4601
4601
  "column": 20
4602
4602
  },
4603
4603
  "end": {
4604
- "line": 289,
4604
+ "line": 309,
4605
4605
  "column": 60
4606
4606
  }
4607
4607
  },
@@ -4613,11 +4613,11 @@
4613
4613
  "highlighting": "string",
4614
4614
  "loc": {
4615
4615
  "start": {
4616
- "line": 290,
4616
+ "line": 310,
4617
4617
  "column": 18
4618
4618
  },
4619
4619
  "end": {
4620
- "line": 290,
4620
+ "line": 310,
4621
4621
  "column": 54
4622
4622
  }
4623
4623
  },
@@ -4629,11 +4629,11 @@
4629
4629
  "highlighting": "string",
4630
4630
  "loc": {
4631
4631
  "start": {
4632
- "line": 291,
4632
+ "line": 311,
4633
4633
  "column": 26
4634
4634
  },
4635
4635
  "end": {
4636
- "line": 291,
4636
+ "line": 311,
4637
4637
  "column": 78
4638
4638
  }
4639
4639
  },
@@ -4645,11 +4645,11 @@
4645
4645
  "highlighting": "string",
4646
4646
  "loc": {
4647
4647
  "start": {
4648
- "line": 292,
4648
+ "line": 312,
4649
4649
  "column": 23
4650
4650
  },
4651
4651
  "end": {
4652
- "line": 292,
4652
+ "line": 312,
4653
4653
  "column": 75
4654
4654
  }
4655
4655
  },
@@ -5301,11 +5301,11 @@
5301
5301
  "highlighting": "string",
5302
5302
  "loc": {
5303
5303
  "start": {
5304
- "line": 194,
5304
+ "line": 201,
5305
5305
  "column": 39
5306
5306
  },
5307
5307
  "end": {
5308
- "line": 197,
5308
+ "line": 204,
5309
5309
  "column": 3
5310
5310
  }
5311
5311
  },
@@ -5317,11 +5317,11 @@
5317
5317
  "highlighting": "string",
5318
5318
  "loc": {
5319
5319
  "start": {
5320
- "line": 194,
5320
+ "line": 201,
5321
5321
  "column": 39
5322
5322
  },
5323
5323
  "end": {
5324
- "line": 197,
5324
+ "line": 204,
5325
5325
  "column": 3
5326
5326
  }
5327
5327
  },
@@ -5333,11 +5333,11 @@
5333
5333
  "highlighting": "string",
5334
5334
  "loc": {
5335
5335
  "start": {
5336
- "line": 220,
5336
+ "line": 227,
5337
5337
  "column": 67
5338
5338
  },
5339
5339
  "end": {
5340
- "line": 228,
5340
+ "line": 235,
5341
5341
  "column": 3
5342
5342
  }
5343
5343
  },
@@ -5349,11 +5349,11 @@
5349
5349
  "highlighting": "string",
5350
5350
  "loc": {
5351
5351
  "start": {
5352
- "line": 220,
5352
+ "line": 227,
5353
5353
  "column": 67
5354
5354
  },
5355
5355
  "end": {
5356
- "line": 228,
5356
+ "line": 235,
5357
5357
  "column": 3
5358
5358
  }
5359
5359
  },
@@ -5365,11 +5365,11 @@
5365
5365
  "highlighting": "string",
5366
5366
  "loc": {
5367
5367
  "start": {
5368
- "line": 220,
5368
+ "line": 227,
5369
5369
  "column": 67
5370
5370
  },
5371
5371
  "end": {
5372
- "line": 228,
5372
+ "line": 235,
5373
5373
  "column": 3
5374
5374
  }
5375
5375
  },
@@ -5381,11 +5381,11 @@
5381
5381
  "highlighting": "string",
5382
5382
  "loc": {
5383
5383
  "start": {
5384
- "line": 220,
5384
+ "line": 227,
5385
5385
  "column": 67
5386
5386
  },
5387
5387
  "end": {
5388
- "line": 228,
5388
+ "line": 235,
5389
5389
  "column": 3
5390
5390
  }
5391
5391
  },
@@ -1251,6 +1251,11 @@ EuiBasicTable.propTypes = {
1251
1251
  */
1252
1252
  sortable: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.func.isRequired]),
1253
1253
  isExpander: _propTypes.default.bool,
1254
+
1255
+ /**
1256
+ * Creates a text wrapper around cell content that helps word break or truncate
1257
+ * long text correctly.
1258
+ */
1254
1259
  textOnly: _propTypes.default.bool,
1255
1260
 
1256
1261
  /**
@@ -1597,11 +1602,17 @@ EuiBasicTable.propTypes = {
1597
1602
  tableLayout: _propTypes.default.oneOf(["fixed", "auto"]),
1598
1603
 
1599
1604
  /**
1600
- * Applied to table cells => Any cell using render function will set this to be false, leading to unnecessary word breaks. Apply textOnly: true in order to ensure it breaks properly
1605
+ * Applied to table cells. Any cell using a render function will set this to be false.
1606
+ *
1607
+ * Creates a text wrapper around cell content that helps word break or truncate
1608
+ * long text correctly.
1601
1609
  */
1602
1610
 
1603
1611
  /**
1604
- * Applied to table cells => Any cell using render function will set this to be false, leading to unnecessary word breaks. Apply textOnly: true in order to ensure it breaks properly
1612
+ * Applied to table cells. Any cell using a render function will set this to be false.
1613
+ *
1614
+ * Creates a text wrapper around cell content that helps word break or truncate
1615
+ * long text correctly.
1605
1616
  */
1606
1617
  textOnly: _propTypes.default.bool
1607
1618
  };
@@ -672,6 +672,11 @@ EuiInMemoryTable.propTypes = {
672
672
  */
673
673
  sortable: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.func.isRequired]),
674
674
  isExpander: _propTypes.default.bool,
675
+
676
+ /**
677
+ * Creates a text wrapper around cell content that helps word break or truncate
678
+ * long text correctly.
679
+ */
675
680
  textOnly: _propTypes.default.bool,
676
681
 
677
682
  /**
@@ -945,11 +950,17 @@ EuiInMemoryTable.propTypes = {
945
950
  tableLayout: _propTypes.default.oneOf(["fixed", "auto"]),
946
951
 
947
952
  /**
948
- * Applied to table cells => Any cell using render function will set this to be false, leading to unnecessary word breaks. Apply textOnly: true in order to ensure it breaks properly
953
+ * Applied to table cells. Any cell using a render function will set this to be false.
954
+ *
955
+ * Creates a text wrapper around cell content that helps word break or truncate
956
+ * long text correctly.
949
957
  */
950
958
 
951
959
  /**
952
- * Applied to table cells => Any cell using render function will set this to be false, leading to unnecessary word breaks. Apply textOnly: true in order to ensure it breaks properly
960
+ * Applied to table cells. Any cell using a render function will set this to be false.
961
+ *
962
+ * Creates a text wrapper around cell content that helps word break or truncate
963
+ * long text correctly.
953
964
  */
954
965
  textOnly: _propTypes.default.bool,
955
966
  message: _propTypes.default.node,
@@ -174,7 +174,16 @@ EuiButtonDisplay.propTypes = {
174
174
  /**
175
175
  * Object of props passed to the <span/> wrapping the button's content
176
176
  */
177
- contentProps: _propTypes.default.any,
177
+
178
+ /**
179
+ * Object of props passed to the <span/> wrapping the button's content
180
+ */
181
+ contentProps: _propTypes.default.shape({
182
+ className: _propTypes.default.string,
183
+ "aria-label": _propTypes.default.string,
184
+ "data-test-subj": _propTypes.default.string,
185
+ css: _propTypes.default.any
186
+ }),
178
187
  style: _propTypes.default.any,
179
188
 
180
189
  /**
@@ -212,7 +212,16 @@ EuiButtonEmpty.propTypes = {
212
212
  /**
213
213
  * Object of props passed to the <span/> wrapping the button's content
214
214
  */
215
- contentProps: _propTypes.default.any,
215
+
216
+ /**
217
+ * Object of props passed to the <span/> wrapping the button's content
218
+ */
219
+ contentProps: _propTypes.default.shape({
220
+ className: _propTypes.default.string,
221
+ "aria-label": _propTypes.default.string,
222
+ "data-test-subj": _propTypes.default.string,
223
+ css: _propTypes.default.any
224
+ }),
216
225
 
217
226
  /**
218
227
  * Any `type` accepted by EuiIcon
@@ -87,14 +87,14 @@ var euiCardStyles = function euiCardStyles(euiThemeContext, paddingSize, color)
87
87
  euiCard__description: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('margin-top', halfSpacing), ";;label:euiCard__description;"),
88
88
  euiCard__footer: /*#__PURE__*/(0, _react.css)("flex-grow:0;", (0, _global_styling.logicalCSS)('width', '100%'), ";", (0, _global_styling.logicalCSS)('margin-top', spacing), ";;label:euiCard__footer;"),
89
89
  top: {
90
- euiCard__top: /*#__PURE__*/(0, _react.css)("flex-grow:0;font-size:0;position:relative;", (0, _global_styling.logicalCSS)('min-height', '1px'), ";", (0, _global_styling.logicalCSS)('margin-bottom', spacing), ";;label:euiCard__top;"),
90
+ euiCard__top: /*#__PURE__*/(0, _react.css)("flex-grow:0;font-size:0;position:relative;", (0, _global_styling.logicalCSS)('margin-bottom', spacing), ";;label:euiCard__top;"),
91
91
  layout: {
92
92
  vertical: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('width', '100%'), ";;label:vertical;"),
93
93
  horizontal: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('width', 'auto'), ";;label:horizontal;")
94
94
  },
95
95
  disabled: _ref2
96
96
  },
97
- euiCard__image: /*#__PURE__*/(0, _react.css)("position:relative;overflow:hidden;", (0, _global_styling.logicalCSS)('width', "calc(100% + (".concat(paddingAmount, " * 2))")), ";", (0, _global_styling.logicalCSS)('left', "-".concat(paddingAmount)), ";", (0, _global_styling.logicalCSS)('top', "-".concat(paddingAmount)), ";", (0, _global_styling.logicalCSS)('margin-bottom', "-".concat(paddingAmount)), ";", _global_styling.logicals['border-top-left-radius'], ":calc(", euiTheme.border.radius.medium, " - 1px);", _global_styling.logicals['border-top-right-radius'], ":calc(", euiTheme.border.radius.medium, " - 1px);", color === 'transparent' ? "border-radius: ".concat(euiTheme.border.radius.medium, ";") : undefined, " img{", (0, _global_styling.logicalCSS)('width', '100%'), ";};label:euiCard__image;"),
97
+ euiCard__image: /*#__PURE__*/(0, _react.css)("position:relative;overflow:hidden;", (0, _global_styling.logicalCSS)('width', "calc(100% + (".concat(paddingAmount, " * 2))")), ";", (0, _global_styling.logicalCSS)('left', "-".concat(paddingAmount)), ";", (0, _global_styling.logicalCSS)('top', "-".concat(paddingAmount)), ";", (0, _global_styling.logicalCSS)('margin-bottom', "-".concat(paddingAmount)), ";", (0, _global_styling.logicalCSS)('border-top-left-radius', "calc(".concat(euiTheme.border.radius.medium, " - ").concat(euiTheme.border.width.thin, ")")), " ", _global_styling.logicals['border-top-right-radius'], ":calc(", euiTheme.border.radius.medium, " - ", euiTheme.border.width.thin, ");", color === 'transparent' ? "border-radius: ".concat(euiTheme.border.radius.medium, ";") : undefined, " img{", (0, _global_styling.logicalCSS)('width', '100%'), ";};label:euiCard__image;"),
98
98
  icon: {
99
99
  euiCard__icon: /*#__PURE__*/(0, _react.css)(";label:euiCard__icon;"),
100
100
  withImage: /*#__PURE__*/(0, _react.css)("position:absolute;", (0, _global_styling.logicalCSS)('top', '50%'), ";", (0, _global_styling.logicalCSS)('left', '50%'), ";transform:translate(-50%, calc(-50% + -", paddingAmount, "))!important;;label:withImage;"),
@@ -199,11 +199,6 @@ EuiCollapsibleNav.propTypes = {
199
199
  "data-test-subj": _propTypes.default.string,
200
200
  css: _propTypes.default.any,
201
201
 
202
- /**
203
- * Function that applies to clicking the mask itself and not the children
204
- */
205
- onClick: _propTypes.default.func,
206
-
207
202
  /**
208
203
  * ReactNode to render as this component's content
209
204
  */
@@ -106,17 +106,9 @@ var EuiComboBox = /*#__PURE__*/function (_Component) {
106
106
  _defineProperty(_assertThisInitialized(_this), "comboBoxRefInstance", null);
107
107
 
108
108
  _defineProperty(_assertThisInitialized(_this), "comboBoxRefCallback", function (ref) {
109
- // IE11 doesn't support the `relatedTarget` event property for blur events
110
- // but does add it for focusout. React doesn't support `onFocusOut` so here we are.
111
- if (_this.comboBoxRefInstance) {
112
- _this.comboBoxRefInstance.removeEventListener('focusout', _this.onContainerBlur);
113
- }
114
-
115
109
  _this.comboBoxRefInstance = ref;
116
110
 
117
111
  if (_this.comboBoxRefInstance) {
118
- _this.comboBoxRefInstance.addEventListener('focusout', _this.onContainerBlur);
119
-
120
112
  var comboBoxBounds = _this.comboBoxRefInstance.getBoundingClientRect();
121
113
 
122
114
  _this.setState({
@@ -425,13 +417,7 @@ var EuiComboBox = /*#__PURE__*/function (_Component) {
425
417
 
426
418
  _defineProperty(_assertThisInitialized(_this), "onContainerBlur", function (event) {
427
419
  // close the options list, unless the user clicked on an option
428
-
429
- /**
430
- * FireFox returns `relatedTarget` as `null` for security reasons, but provides a proprietary `explicitOriginalTarget`.
431
- * @see https://developer.mozilla.org/en-US/docs/Web/API/Event/explicitOriginalTarget
432
- */
433
- var focusEvent = event;
434
- var relatedTarget = focusEvent.relatedTarget || focusEvent.explicitOriginalTarget;
420
+ var relatedTarget = event.relatedTarget;
435
421
 
436
422
  var focusedInOptionsList = relatedTarget && _this.listRefInstance && _this.listRefInstance.contains(relatedTarget);
437
423
 
@@ -876,6 +862,7 @@ var EuiComboBox = /*#__PURE__*/function (_Component) {
876
862
  className: classes,
877
863
  "data-test-subj": dataTestSubj,
878
864
  onKeyDown: this.onKeyDown,
865
+ onBlur: this.onContainerBlur,
879
866
  ref: this.comboBoxRefCallback
880
867
  }), (0, _react2.jsx)(_combo_box_input.EuiComboBoxInput, {
881
868
  autoSizeInputRef: this.autoSizeInputRefCallback,