@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/eui.d.ts CHANGED
@@ -2050,7 +2050,7 @@ declare module '@elastic/eui/src/components/button/button_display/_button_displa
2050
2050
  /**
2051
2051
  * Object of props passed to the <span/> wrapping the button's content
2052
2052
  */
2053
- contentProps?: EuiButtonDisplayContentType;
2053
+ contentProps?: CommonProps & EuiButtonDisplayContentType;
2054
2054
  style?: CSSProperties;
2055
2055
  }
2056
2056
  export type EuiButtonDisplayPropsForAnchor = PropsForAnchor<EuiButtonDisplayCommonProps, {
@@ -2216,7 +2216,7 @@ declare module '@elastic/eui/src/components/button/button_empty/button_empty' {
2216
2216
  /**
2217
2217
  * Object of props passed to the <span/> wrapping the button's content
2218
2218
  */
2219
- contentProps?: EuiButtonContentType;
2219
+ contentProps?: CommonProps & EuiButtonContentType;
2220
2220
  } type EuiButtonEmptyPropsForAnchor = PropsForAnchor<CommonEuiButtonEmptyProps>; type EuiButtonEmptyPropsForButton = PropsForButton<CommonEuiButtonEmptyProps>;
2221
2221
  export type EuiButtonEmptyProps = ExclusiveUnion<EuiButtonEmptyPropsForAnchor, EuiButtonEmptyPropsForButton>;
2222
2222
  export const EuiButtonEmpty: FunctionComponent<EuiButtonEmptyProps>;
@@ -3474,7 +3474,7 @@ declare module '@elastic/eui/src/components/progress/progress' {
3474
3474
  /**
3475
3475
  * Object of props passed to the <span/> wrapping the determinate progress's label
3476
3476
  */
3477
- labelProps?: HTMLAttributes<HTMLSpanElement>;
3477
+ labelProps?: CommonProps & HTMLAttributes<HTMLSpanElement>;
3478
3478
  };
3479
3479
  export const EuiProgress: FunctionComponent<ExclusiveUnion<Determinate, Indeterminate>>;
3480
3480
  export {};
@@ -5239,30 +5239,69 @@ declare module '@elastic/eui/src/components/form/super_select/super_select_contr
5239
5239
  }
5240
5240
  export const EuiSuperSelectControl: <T extends string>(props: EuiSuperSelectControlProps<T>) => ReturnType<FunctionComponent<EuiSuperSelectControlProps<T>>>;
5241
5241
 
5242
+ }
5243
+ declare module '@elastic/eui/src/themes/amsterdam' {
5244
+ export * from '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow';
5245
+
5246
+ }
5247
+ declare module '@elastic/eui/src/components/tool_tip/tool_tip.styles' {
5248
+ import { UseEuiTheme } from '@elastic/eui/src/services';
5249
+ export const euiToolTipBackgroundColor: (euiTheme: UseEuiTheme['euiTheme'], colorMode: UseEuiTheme['colorMode']) => string;
5250
+ export const euiToolTipBorderColor: (euiTheme: UseEuiTheme['euiTheme'], colorMode: UseEuiTheme['colorMode']) => string;
5251
+ export const euiToolTipStyles: (euiThemeContext: UseEuiTheme) => {
5252
+ euiToolTip: import("@emotion/utils").SerializedStyles;
5253
+ s: import("@emotion/utils").SerializedStyles;
5254
+ top: import("@emotion/utils").SerializedStyles;
5255
+ bottom: import("@emotion/utils").SerializedStyles;
5256
+ left: import("@emotion/utils").SerializedStyles;
5257
+ right: import("@emotion/utils").SerializedStyles;
5258
+ euiToolTip__arrow: import("@emotion/utils").SerializedStyles;
5259
+ };
5260
+ export const euiToolTipPopoverStyles: ({ euiTheme, colorMode, }: UseEuiTheme) => {
5261
+ euiToolTip__title: import("@emotion/utils").SerializedStyles;
5262
+ };
5263
+ export const euiToolTipAnchorStyles: () => {
5264
+ euiToolTipAnchor: import("@emotion/utils").SerializedStyles;
5265
+ block: import("@emotion/utils").SerializedStyles;
5266
+ inlineBlock: import("@emotion/utils").SerializedStyles;
5267
+ };
5268
+
5242
5269
  }
5243
5270
  declare module '@elastic/eui/src/components/tool_tip/tool_tip_popover' {
5244
- import { HTMLAttributes, Component, ReactNode } from 'react';
5245
- import { CommonProps } from '@elastic/eui/src/components/common'; type Props = CommonProps & Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
5271
+ import { HTMLAttributes, FunctionComponent, ReactNode } from 'react';
5272
+ import { CommonProps } from '@elastic/eui/src/components/common';
5273
+ export type ToolTipPositions = 'top' | 'right' | 'bottom' | 'left'; type Props = CommonProps & Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
5246
5274
  positionToolTip: () => void;
5247
5275
  children?: ReactNode;
5248
5276
  title?: ReactNode;
5249
5277
  popoverRef?: (ref: HTMLDivElement) => void;
5278
+ calculatedPosition?: ToolTipPositions;
5250
5279
  };
5251
- export class EuiToolTipPopover extends Component<Props> {
5252
- private popover;
5253
- updateDimensions: () => void;
5254
- setPopoverRef: (ref: HTMLDivElement) => void;
5255
- componentDidMount(): void;
5256
- componentWillUnmount(): void;
5257
- render(): JSX.Element;
5258
- }
5280
+ export const EuiToolTipPopover: FunctionComponent<Props>;
5259
5281
  export {};
5260
5282
 
5283
+ }
5284
+ declare module '@elastic/eui/src/components/tool_tip/tool_tip_anchor' {
5285
+ import React, { HTMLAttributes, ReactElement } from 'react';
5286
+ export interface EuiToolTipAnchorProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'onBlur' | 'onFocus' | 'children'> {
5287
+ onBlur: () => void;
5288
+ onFocus: () => void;
5289
+ children: ReactElement;
5290
+ isVisible: boolean;
5291
+ display: 'block' | 'inlineBlock';
5292
+ }
5293
+ export const EuiToolTipAnchor: React.ForwardRefExoticComponent<EuiToolTipAnchorProps & React.RefAttributes<HTMLSpanElement>>;
5294
+
5295
+ }
5296
+ declare module '@elastic/eui/src/components/tool_tip/tool_tip_arrow' {
5297
+ import { HTMLAttributes, FunctionComponent } from 'react';
5298
+ export const EuiToolTipArrow: FunctionComponent<HTMLAttributes<HTMLDivElement>>;
5299
+
5261
5300
  }
5262
5301
  declare module '@elastic/eui/src/components/tool_tip/tool_tip' {
5263
5302
  import { Component, ReactElement, ReactNode, MouseEvent as ReactMouseEvent, HTMLAttributes } from 'react';
5264
5303
  import { CommonProps } from '@elastic/eui/src/components/common';
5265
- export type ToolTipPositions = 'top' | 'right' | 'bottom' | 'left';
5304
+ import { ToolTipPositions } from '@elastic/eui/src/components/tool_tip/tool_tip_popover';
5266
5305
  export const POSITIONS: ToolTipPositions[];
5267
5306
  export type ToolTipDelay = 'regular' | 'long';
5268
5307
  interface ToolTipStyles {
@@ -5345,7 +5384,8 @@ declare module '@elastic/eui/src/components/tool_tip/tool_tip' {
5345
5384
  componentWillUnmount(): void;
5346
5385
  componentDidUpdate(prevProps: EuiToolTipProps, prevState: State): void;
5347
5386
  testAnchor: () => void;
5348
- setPopoverRef: (ref: HTMLElement) => void;
5387
+ setAnchorRef: (ref: HTMLElement) => HTMLElement;
5388
+ setPopoverRef: (ref: HTMLElement) => HTMLElement;
5349
5389
  showToolTip: () => void;
5350
5390
  positionToolTip: () => void;
5351
5391
  hideToolTip: () => void;
@@ -5398,7 +5438,8 @@ declare module '@elastic/eui/src/components/tool_tip/icon_tip' {
5398
5438
 
5399
5439
  }
5400
5440
  declare module '@elastic/eui/src/components/tool_tip' {
5401
- export type { ToolTipPositions, EuiToolTipProps } from '@elastic/eui/src/components/tool_tip/tool_tip';
5441
+ export type { ToolTipPositions } from '@elastic/eui/src/components/tool_tip/tool_tip_popover';
5442
+ export type { EuiToolTipProps } from '@elastic/eui/src/components/tool_tip/tool_tip';
5402
5443
  export { EuiToolTip } from '@elastic/eui/src/components/tool_tip/tool_tip';
5403
5444
  export type { EuiIconTipProps } from '@elastic/eui/src/components/tool_tip/icon_tip';
5404
5445
  export { EuiIconTip } from '@elastic/eui/src/components/tool_tip/icon_tip';
@@ -7242,12 +7283,17 @@ declare module '@elastic/eui/src/global_styling/reset/global_styles' {
7242
7283
  }
7243
7284
  export const EuiGlobalStyles: ({}: EuiGlobalStylesProps) => JSX.Element;
7244
7285
 
7286
+ }
7287
+ declare module '@elastic/eui/src/global_styling/utility/animations' {
7288
+ export const euiAnimFadeIn: import("@emotion/serialize").Keyframes;
7289
+
7245
7290
  }
7246
7291
  declare module '@elastic/eui/src/global_styling' {
7247
7292
  export * from '@elastic/eui/src/global_styling/reset/global_styles';
7248
7293
  export * from '@elastic/eui/src/global_styling/functions';
7249
7294
  export * from '@elastic/eui/src/global_styling/variables';
7250
7295
  export * from '@elastic/eui/src/global_styling/mixins';
7296
+ export * from '@elastic/eui/src/global_styling/utility/animations';
7251
7297
 
7252
7298
  }
7253
7299
  declare module '@elastic/eui/src/components/accessibility/screen_reader_only/screen_reader_only.styles' {
@@ -8443,6 +8489,16 @@ declare module '@elastic/eui/src/components/copy' {
8443
8489
  export type { EuiCopyProps } from '@elastic/eui/src/components/copy/copy';
8444
8490
  export { EuiCopy } from '@elastic/eui/src/components/copy/copy';
8445
8491
 
8492
+ }
8493
+ declare module '@elastic/eui/src/components/overlay_mask/overlay_mask.styles' {
8494
+ import { UseEuiTheme } from '@elastic/eui/src/services';
8495
+ export const euiOverlayMaskStyles: ({ euiTheme }: UseEuiTheme) => {
8496
+ euiOverlayMask: import("@emotion/utils").SerializedStyles;
8497
+ aboveHeader: import("@emotion/utils").SerializedStyles;
8498
+ belowHeader: import("@emotion/utils").SerializedStyles;
8499
+ };
8500
+ export const euiOverlayMaskBodyStyles: import("@emotion/utils").SerializedStyles;
8501
+
8446
8502
  }
8447
8503
  declare module '@elastic/eui/src/components/overlay_mask/overlay_mask' {
8448
8504
  /**
@@ -8452,10 +8508,6 @@ declare module '@elastic/eui/src/components/overlay_mask/overlay_mask' {
8452
8508
  import { FunctionComponent, HTMLAttributes, MutableRefObject, ReactNode, Ref } from 'react';
8453
8509
  import { CommonProps } from '@elastic/eui/src/components/common';
8454
8510
  export interface EuiOverlayMaskInterface {
8455
- /**
8456
- * Function that applies to clicking the mask itself and not the children
8457
- */
8458
- onClick?: () => void;
8459
8511
  /**
8460
8512
  * ReactNode to render as this component's content
8461
8513
  */
@@ -9471,7 +9523,7 @@ declare module '@elastic/eui/src/components/combo_box/combo_box' {
9471
9523
  areAllOptionsSelected: () => boolean;
9472
9524
  onComboBoxFocus: FocusEventHandler<HTMLInputElement>;
9473
9525
  setCustomOptions: (isContainerBlur: boolean) => void;
9474
- onContainerBlur: EventListener;
9526
+ onContainerBlur: FocusEventHandler<HTMLDivElement>;
9475
9527
  onKeyDown: KeyboardEventHandler<HTMLDivElement>;
9476
9528
  onOptionEnterKey: OptionHandler<T>;
9477
9529
  onOptionClick: OptionHandler<T>;
@@ -9970,6 +10022,11 @@ declare module '@elastic/eui/src/components/list_group/list_group_item' {
9970
10022
  * instances where the item content is rendered as a `button`
9971
10023
  */
9972
10024
  buttonRef?: React.Ref<HTMLButtonElement>;
10025
+ /**
10026
+ * Text to be displayed in the tooltip when `showToolTip` is true.
10027
+ * By default the text will be same as the label text.
10028
+ */
10029
+ toolTipText?: string;
9973
10030
  };
9974
10031
  export const EuiListGroupItem: FunctionComponent<EuiListGroupItemProps>;
9975
10032
  export {};
@@ -11727,6 +11784,18 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_count' {
11727
11784
  rowCount: EuiDataGridProps['rowCount'];
11728
11785
  }) => EuiDataGridVisibleRows;
11729
11786
 
11787
+ }
11788
+ declare module '@elastic/eui/src/components/pagination/pagination_button.styles' {
11789
+ import { UseEuiTheme } from '@elastic/eui/src/services';
11790
+ export const euiPaginationButtonStyles: (euiThemeContext: UseEuiTheme) => {
11791
+ euiPaginationButton: import("@emotion/utils").SerializedStyles;
11792
+ isActive: import("@emotion/utils").SerializedStyles;
11793
+ isPlaceholder: import("@emotion/utils").SerializedStyles;
11794
+ };
11795
+ export const euiPaginationButtonArrowStyles: ({ euiTheme }: UseEuiTheme) => {
11796
+ euiPaginationArrowButton: import("@emotion/utils").SerializedStyles;
11797
+ };
11798
+
11730
11799
  }
11731
11800
  declare module '@elastic/eui/src/components/pagination/pagination_button' {
11732
11801
  import { FunctionComponent } from 'react';
@@ -11757,6 +11826,15 @@ declare module '@elastic/eui/src/components/pagination/pagination_button_arrow'
11757
11826
  };
11758
11827
  export const EuiPaginationButtonArrow: FunctionComponent<Props>;
11759
11828
 
11829
+ }
11830
+ declare module '@elastic/eui/src/components/pagination/pagination.styles' {
11831
+ import { UseEuiTheme } from '@elastic/eui/src/services';
11832
+ export const euiPaginationStyles: (euiThemeContext: UseEuiTheme) => {
11833
+ euiPagination: import("@emotion/utils").SerializedStyles;
11834
+ euiPagination__compressedText: import("@emotion/utils").SerializedStyles;
11835
+ euiPagination__list: import("@emotion/utils").SerializedStyles;
11836
+ };
11837
+
11760
11838
  }
11761
11839
  declare module '@elastic/eui/src/components/pagination/pagination' {
11762
11840
  import { FunctionComponent, HTMLAttributes, MouseEvent } from 'react';
@@ -12268,7 +12346,7 @@ declare module '@elastic/eui/src/components/tabs/tabs' {
12268
12346
 
12269
12347
  }
12270
12348
  declare module '@elastic/eui/src/components/tabs/tabbed_content/tabbed_content' {
12271
- import { Component, HTMLAttributes, ReactNode } from 'react';
12349
+ import { Component, HTMLAttributes, ReactNode, FocusEvent } from 'react';
12272
12350
  import { EuiTabsSizes } from '@elastic/eui/src/components/tabs/tabs';
12273
12351
  import { EuiTabProps } from '@elastic/eui/src/components/tabs/tab';
12274
12352
  import { CommonProps } from '@elastic/eui/src/components/common';
@@ -12320,11 +12398,9 @@ declare module '@elastic/eui/src/components/tabs/tabbed_content/tabbed_content'
12320
12398
  private readonly rootId;
12321
12399
  private readonly tabsRef;
12322
12400
  constructor(props: EuiTabbedContentProps);
12323
- componentDidMount(): void;
12324
- componentWillUnmount(): void;
12325
12401
  focusTab: () => void;
12326
12402
  initializeFocus: () => void;
12327
- removeFocus: (blurEvent: FocusEvent) => void;
12403
+ removeFocus: (blurEvent: FocusEvent<HTMLDivElement>) => void;
12328
12404
  onTabClick: (selectedTab: EuiTabbedContentTab) => void;
12329
12405
  render(): JSX.Element;
12330
12406
  }
@@ -12548,12 +12624,13 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/pretty
12548
12624
  declare module '@elastic/eui/src/components/date_picker/super_date_picker/date_popover/date_popover_button' {
12549
12625
  import { FunctionComponent, ButtonHTMLAttributes, MouseEventHandler } from 'react';
12550
12626
  import { LocaleSpecifier } from 'moment';
12627
+ import { CommonProps } from '@elastic/eui/src/components/common';
12551
12628
  import { EuiPopoverProps } from '@elastic/eui/src/components/popover';
12552
12629
  import { TimeOptions } from '@elastic/eui/src/components/date_picker/super_date_picker/time_options';
12553
12630
  import { EuiDatePopoverContentProps } from '@elastic/eui/src/components/date_picker/super_date_picker/date_popover/date_popover_content';
12554
12631
  export interface EuiDatePopoverButtonProps {
12555
12632
  className?: string;
12556
- buttonProps?: ButtonHTMLAttributes<HTMLButtonElement>;
12633
+ buttonProps?: CommonProps & ButtonHTMLAttributes<HTMLButtonElement>;
12557
12634
  dateFormat: string;
12558
12635
  isDisabled?: boolean;
12559
12636
  isInvalid?: boolean;
@@ -12852,10 +12929,10 @@ declare module '@elastic/eui/src/components/responsive' {
12852
12929
 
12853
12930
  }
12854
12931
  declare module '@elastic/eui/src/components/date_picker/super_date_picker/super_update_button' {
12855
- import { Component, MouseEventHandler, Ref } from 'react';
12932
+ import { Component, MouseEventHandler, ElementRef } from 'react';
12856
12933
  import { EuiButtonProps } from '@elastic/eui/src/components/button';
12857
12934
  import { EuiToolTip, EuiToolTipProps } from '@elastic/eui/src/components/tool_tip';
12858
- import { EuiBreakpointSize } from '@elastic/eui/src/services/breakpoint'; type EuiSuperUpdateButtonInternalProps = {
12935
+ import { EuiBreakpointSize } from '@elastic/eui/src/services/breakpoint'; type ToolTipRef = ElementRef<typeof EuiToolTip> | null; type EuiSuperUpdateButtonInternalProps = {
12859
12936
  isDisabled?: boolean;
12860
12937
  isLoading?: boolean;
12861
12938
  needsUpdate?: boolean;
@@ -12891,11 +12968,11 @@ declare module '@elastic/eui/src/components/date_picker/super_date_picker/super_
12891
12968
  };
12892
12969
  _isMounted: boolean;
12893
12970
  tooltipTimeout: number | undefined;
12894
- tooltip: EuiToolTip | null;
12971
+ tooltip: ToolTipRef;
12895
12972
  componentWillUnmount(): void;
12896
12973
  componentDidMount(): void;
12897
12974
  componentDidUpdate(): void;
12898
- setTootipRef: Ref<EuiToolTip>;
12975
+ setTootipRef: (node: ToolTipRef) => void;
12899
12976
  showTooltip: () => void;
12900
12977
  hideTooltip: () => void;
12901
12978
  render(): JSX.Element;
@@ -13226,6 +13303,10 @@ declare module '@elastic/eui/src/components/description_list/description_list_ty
13226
13303
  * Props object to be passed to `EuiDescriptionListDescription`
13227
13304
  */
13228
13305
  descriptionProps?: HTMLAttributes<HTMLElement> & CommonProps;
13306
+ /**
13307
+ * Vertical spacing added between `EuiDescriptionList` elements
13308
+ */
13309
+ gutterSize?: EuiDescriptionListGutterSizes;
13229
13310
  }
13230
13311
  export const TYPES: readonly ["row", "inline", "column", "responsiveColumn"];
13231
13312
  export type EuiDescriptionListType = typeof TYPES[number];
@@ -13233,6 +13314,8 @@ declare module '@elastic/eui/src/components/description_list/description_list_ty
13233
13314
  export type EuiDescriptionListAlignment = typeof ALIGNMENTS[number];
13234
13315
  export const TEXT_STYLES: readonly ["normal", "reverse"];
13235
13316
  export type EuiDescriptionListTextStyle = typeof TEXT_STYLES[number];
13317
+ export const GUTTER_SIZES: readonly ["s", "m"];
13318
+ export type EuiDescriptionListGutterSizes = typeof GUTTER_SIZES[number];
13236
13319
 
13237
13320
  }
13238
13321
  declare module '@elastic/eui/src/components/description_list/description_list_title.styles' {
@@ -13253,12 +13336,14 @@ declare module '@elastic/eui/src/components/description_list/description_list_ti
13253
13336
  compressed: import("@emotion/utils").SerializedStyles;
13254
13337
  };
13255
13338
  right: import("@emotion/utils").SerializedStyles;
13339
+ s: import("@emotion/utils").SerializedStyles;
13340
+ m: import("@emotion/utils").SerializedStyles;
13256
13341
  };
13257
13342
 
13258
13343
  }
13259
13344
  declare module '@elastic/eui/src/components/description_list/description_list_context' {
13260
13345
 
13261
- import { EuiDescriptionListProps } from '@elastic/eui/src/components/description_list/description_list_types'; type EuiDescriptionListContextValues = Required<Pick<EuiDescriptionListProps, 'type' | 'textStyle' | 'align'>> & {
13346
+ import { EuiDescriptionListProps } from '@elastic/eui/src/components/description_list/description_list_types'; type EuiDescriptionListContextValues = Required<Pick<EuiDescriptionListProps, 'type' | 'textStyle' | 'align' | 'gutterSize'>> & {
13262
13347
  compressed?: EuiDescriptionListProps['compressed'];
13263
13348
  };
13264
13349
  export const contextDefaults: EuiDescriptionListContextValues;
@@ -13292,6 +13377,8 @@ declare module '@elastic/eui/src/components/description_list/description_list_de
13292
13377
  normal: import("@emotion/utils").SerializedStyles;
13293
13378
  };
13294
13379
  left: import("@emotion/utils").SerializedStyles;
13380
+ s: import("@emotion/utils").SerializedStyles;
13381
+ m: import("@emotion/utils").SerializedStyles;
13295
13382
  };
13296
13383
 
13297
13384
  }
@@ -13479,12 +13566,12 @@ declare module '@elastic/eui/src/components/expression/expression' {
13479
13566
  * First part of the expression
13480
13567
  */
13481
13568
  description: ReactNode;
13482
- descriptionProps?: HTMLAttributes<HTMLSpanElement>;
13569
+ descriptionProps?: CommonProps & HTMLAttributes<HTMLSpanElement>;
13483
13570
  /**
13484
13571
  * Second part of the expression
13485
13572
  */
13486
13573
  value?: ReactNode;
13487
- valueProps?: HTMLAttributes<HTMLSpanElement>;
13574
+ valueProps?: CommonProps & HTMLAttributes<HTMLSpanElement>;
13488
13575
  /**
13489
13576
  * Color of the `description`
13490
13577
  */
@@ -13955,7 +14042,7 @@ declare module '@elastic/eui/src/components/image/image_types' {
13955
14042
  /**
13956
14043
  * Props to add to the wrapping figure element
13957
14044
  */
13958
- wrapperProps?: HTMLAttributes<HTMLDivElement>;
14045
+ wrapperProps?: CommonProps & HTMLAttributes<HTMLDivElement>;
13959
14046
  };
13960
14047
  export type EuiImageWrapperProps = Pick<EuiImageProps, 'alt' | 'caption' | 'float' | 'margin' | 'hasShadow' | 'wrapperProps' | 'fullScreenIconColor' | 'allowFullScreen'> & {
13961
14048
  isFullWidth: boolean;
@@ -14932,14 +15019,15 @@ declare module '@elastic/eui/src/components/notification/notification_event_read
14932
15019
 
14933
15020
  }
14934
15021
  declare module '@elastic/eui/src/components/notification/notification_event' {
14935
- import { FunctionComponent, ReactElement } from 'react';
15022
+ import { FunctionComponent, ReactElement, HTMLAttributes } from 'react';
15023
+ import { CommonProps } from '@elastic/eui/src/components/common';
14936
15024
  import { EuiNotificationEventMetaProps } from '@elastic/eui/src/components/notification/notification_event_meta';
14937
15025
  import { EuiNotificationEventMessagesProps } from '@elastic/eui/src/components/notification/notification_event_messages';
14938
15026
  import { EuiNotificationEventReadButtonProps } from '@elastic/eui/src/components/notification/notification_event_read_button';
14939
15027
  import { EuiButtonEmptyProps } from '@elastic/eui/src/components/button';
14940
15028
  import { EuiContextMenuItem, EuiContextMenuItemProps } from '@elastic/eui/src/components/context_menu';
14941
15029
  export type EuiNotificationHeadingLevel = 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
14942
- export type EuiNotificationEventProps = Omit<EuiNotificationEventMetaProps, 'onOpenContextMenu' | 'onRead' | 'eventName' | 'id'> & Omit<EuiNotificationEventReadButtonProps, 'onClick' | 'color' | 'eventName' | 'isRead' | 'id'> & {
15030
+ export type EuiNotificationEventProps = Omit<EuiNotificationEventMetaProps, 'onOpenContextMenu' | 'onRead' | 'eventName' | 'id'> & Omit<EuiNotificationEventReadButtonProps, 'onClick' | 'color' | 'eventName' | 'isRead' | 'id'> & CommonProps & Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
14943
15031
  /**
14944
15032
  * A unique identifier
14945
15033
  */
@@ -15128,8 +15216,7 @@ declare module '@elastic/eui/src/components/page/page_content/page_content' {
15128
15216
  role?: HTMLAttributes['role'] | null;
15129
15217
  };
15130
15218
  /**
15131
- * **DEPRECATED**
15132
- * Use EuiPageSection instead
15219
+ * @deprecated Use EuiPageSection instead
15133
15220
  */
15134
15221
  export const EuiPageContent_Deprecated: FunctionComponent<EuiPageContentProps>;
15135
15222
 
@@ -15147,8 +15234,7 @@ declare module '@elastic/eui/src/components/page/page_content/page_content_body'
15147
15234
  paddingSize?: typeof PADDING_SIZES[number];
15148
15235
  }
15149
15236
  /**
15150
- * **DEPRECATED**
15151
- * Use EuiPageSection instead
15237
+ * @deprecated Use EuiPageSection instead
15152
15238
  */
15153
15239
  export const EuiPageContentBody_Deprecated: FunctionComponent<EuiPageContentBodyProps>;
15154
15240
 
@@ -15164,8 +15250,7 @@ declare module '@elastic/eui/src/components/page/page_content/page_content_heade
15164
15250
  responsive?: boolean;
15165
15251
  }
15166
15252
  /**
15167
- * **DEPRECATED**
15168
- * Use EuiPageHeader instead
15253
+ * @deprecated Use EuiPageHeader instead
15169
15254
  */
15170
15255
  export const EuiPageContentHeader_Deprecated: FunctionComponent<EuiPageContentHeaderProps>;
15171
15256
 
@@ -15176,8 +15261,7 @@ declare module '@elastic/eui/src/components/page/page_content/page_content_heade
15176
15261
  export interface EuiPageContentHeaderSectionProps extends CommonProps, HTMLAttributes<HTMLDivElement> {
15177
15262
  }
15178
15263
  /**
15179
- * **DEPRECATED**
15180
- * Use EuiPageHeader instead
15264
+ * @deprecated Use EuiPageHeader instead
15181
15265
  */
15182
15266
  export const EuiPageContentHeaderSection_Deprecated: FunctionComponent<EuiPageContentHeaderSectionProps>;
15183
15267
 
@@ -15387,7 +15471,7 @@ declare module '@elastic/eui/src/components/page/page_section/page_section.style
15387
15471
 
15388
15472
  }
15389
15473
  declare module '@elastic/eui/src/components/page/page_section/page_section' {
15390
- import { FunctionComponent, HTMLAttributes } from 'react';
15474
+ import { FunctionComponent, ComponentType, HTMLAttributes } from 'react';
15391
15475
  import { CommonProps } from '@elastic/eui/src/components/common';
15392
15476
  import { _EuiPageRestrictWidth } from '@elastic/eui/src/components/page/_restrict_width';
15393
15477
  import { _EuiPageBottomBorder } from '@elastic/eui/src/components/page/_bottom_border';
@@ -15414,8 +15498,12 @@ declare module '@elastic/eui/src/components/page/page_section/page_section' {
15414
15498
  /**
15415
15499
  * Passed down to the div wrapper of the section contents
15416
15500
  */
15417
- contentProps?: HTMLAttributes<HTMLDivElement>;
15418
- } & Omit<HTMLAttributes<HTMLDivElement>, 'color'>;
15501
+ contentProps?: CommonProps & HTMLAttributes<HTMLDivElement>;
15502
+ /**
15503
+ * Sets which HTML element to render.
15504
+ */
15505
+ component?: keyof JSX.IntrinsicElements | ComponentType;
15506
+ } & Omit<HTMLAttributes<Element>, 'color'>;
15419
15507
  export const EuiPageSection: FunctionComponent<EuiPageSectionProps>;
15420
15508
 
15421
15509
  }
@@ -15439,8 +15527,7 @@ declare module '@elastic/eui/src/components/page/page_side_bar/page_side_bar' {
15439
15527
  paddingSize?: typeof PADDING_SIZES[number];
15440
15528
  }
15441
15529
  /**
15442
- * **DEPRECATED**
15443
- * Use the new EuiPageSidebar instead
15530
+ * @deprecated Use the new EuiPageSidebar in page/page_sidebar instead
15444
15531
  */
15445
15532
  export const EuiPageSideBar_Deprecated: FunctionComponent<EuiPageSideBarProps>;
15446
15533
 
@@ -15568,7 +15655,9 @@ declare module '@elastic/eui/src/components/page/page_template' {
15568
15655
  /**
15569
15656
  * This component has been deprecated in favor of the new
15570
15657
  * namespaced version. You can still import this component
15571
- * for a period of time by importing `as EuiPageTemplate`.
15658
+ * until August 2023 by importing `as EuiPageTemplate`.
15659
+ *
15660
+ * @deprecated use EuiPageTemplate from page_template/page_template instead
15572
15661
  */
15573
15662
  export const EuiPageTemplate_Deprecated: FunctionComponent<EuiPageTemplateProps_Deprecated>;
15574
15663
 
@@ -15775,10 +15864,6 @@ declare module '@elastic/eui/src/themes/themes' {
15775
15864
  export const EUI_THEMES: EUI_THEME[];
15776
15865
  export const isDefaultTheme: (name: string) => boolean;
15777
15866
 
15778
- }
15779
- declare module '@elastic/eui/src/themes/amsterdam' {
15780
- export * from '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow';
15781
-
15782
15867
  }
15783
15868
  declare module '@elastic/eui/src/themes' {
15784
15869
  export type { EUI_THEME } from '@elastic/eui/src/themes/themes';
@@ -15791,7 +15876,7 @@ declare module '@elastic/eui/src/components/provider/cache/cache_provider' {
15791
15876
  import { PropsWithChildren } from 'react';
15792
15877
  import { EmotionCache } from '@emotion/cache';
15793
15878
  export interface EuiCacheProviderProps {
15794
- cache?: EmotionCache;
15879
+ cache?: false | EmotionCache;
15795
15880
  }
15796
15881
  export const EuiCacheProvider: ({ cache, children, }: PropsWithChildren<EuiCacheProviderProps>) => JSX.Element;
15797
15882
 
@@ -17447,7 +17532,7 @@ declare module '@elastic/eui/src/components/side_nav/side_nav' {
17447
17532
  /**
17448
17533
  * Adds a couple extra #EuiSideNavHeading props and extends the props of EuiTitle that wraps the `heading`
17449
17534
  */
17450
- headingProps?: EuiSideNavHeadingProps;
17535
+ headingProps?: CommonProps & EuiSideNavHeadingProps;
17451
17536
  /**
17452
17537
  * When called, toggles visibility of the navigation menu at mobile responsive widths. The callback should set the `isOpenOnMobile` prop to actually toggle navigation visibility.
17453
17538
  */
@@ -17836,6 +17921,11 @@ declare module '@elastic/eui/src/components/suggest/suggest' {
17836
17921
  * Default is `60vh`
17837
17922
  */
17838
17923
  maxHeight?: CSSProperties['maxHeight'];
17924
+ /**
17925
+ * Control whether or not options get filtered internally or if consumer will filter.
17926
+ * Default `false`
17927
+ */
17928
+ isPreFiltered?: boolean;
17839
17929
  };
17840
17930
  export type EuiSuggestProps = _EuiSuggestProps & ExclusiveUnion<{
17841
17931
  'aria-label': string;
@@ -18076,9 +18166,8 @@ declare module '@elastic/eui/src/components/table/table_row_cell' {
18076
18166
  */
18077
18167
  showOnHover?: boolean;
18078
18168
  /**
18079
- * Setting `textOnly` to `false` will break words unnecessarily on FF and
18080
- * IE. To combat this problem on FF, wrap contents with the css utility
18081
- * `.eui-textBreakWord`.
18169
+ * Creates a text wrapper around cell content that helps word break or truncate
18170
+ * long text correctly.
18082
18171
  */
18083
18172
  textOnly?: boolean;
18084
18173
  /**
@@ -18512,6 +18601,10 @@ declare module '@elastic/eui/src/components/basic_table/table_types' {
18512
18601
  */
18513
18602
  sortable?: boolean | ((item: T) => Primitive);
18514
18603
  isExpander?: boolean;
18604
+ /**
18605
+ * Creates a text wrapper around cell content that helps word break or truncate
18606
+ * long text correctly.
18607
+ */
18515
18608
  textOnly?: boolean;
18516
18609
  /**
18517
18610
  * Defines the horizontal alignment of the column
@@ -18818,7 +18911,10 @@ declare module '@elastic/eui/src/components/basic_table/basic_table' {
18818
18911
  */
18819
18912
  tableLayout?: 'fixed' | 'auto';
18820
18913
  /**
18821
- * 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
18914
+ * Applied to table cells. Any cell using a render function will set this to be false.
18915
+ *
18916
+ * Creates a text wrapper around cell content that helps word break or truncate
18917
+ * long text correctly.
18822
18918
  */
18823
18919
  textOnly?: boolean;
18824
18920
  } type BasicTableWithPaginationProps<T> = Omit<BasicTableProps<T>, 'pagination' | 'onChange'> & {
@@ -19436,7 +19532,7 @@ declare module '@elastic/eui/src/components/resizable_container/resizable_panel'
19436
19532
  /**
19437
19533
  * Props to add to the wrapping `.euiResizablePanel` div
19438
19534
  */
19439
- wrapperProps?: HTMLAttributes<HTMLDivElement>;
19535
+ wrapperProps?: CommonProps & HTMLAttributes<HTMLDivElement>;
19440
19536
  /**
19441
19537
  * Padding to add directly to the wrapping `.euiResizablePanel` div
19442
19538
  * Gives space around the actual panel.