@elastic/eui 60.3.0 → 62.0.1

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 (545) 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 +20 -660
  4. package/dist/eui_theme_dark.json +1 -2
  5. package/dist/eui_theme_dark.json.d.ts +1 -2
  6. package/dist/eui_theme_dark.min.css +1 -1
  7. package/dist/eui_theme_light.css +20 -660
  8. package/dist/eui_theme_light.json +1 -2
  9. package/dist/eui_theme_light.json.d.ts +1 -2
  10. package/dist/eui_theme_light.min.css +1 -1
  11. package/es/components/accessibility/skip_link/skip_link.js +1 -1
  12. package/es/components/avatar/avatar.js +1 -2
  13. package/es/components/badge/badge.js +1 -1
  14. package/es/components/badge/beta_badge/beta_badge.js +1 -1
  15. package/es/components/basic_table/basic_table.js +1 -1
  16. package/es/components/basic_table/collapsed_item_actions.js +1 -1
  17. package/es/components/basic_table/in_memory_table.js +1 -1
  18. package/es/components/button/_button_content_deprecated.js +1 -1
  19. package/es/components/button/button.js +2 -2
  20. package/es/components/button/button_display/_button_display.js +1 -1
  21. package/es/components/button/button_display/_button_display_content.js +1 -1
  22. package/es/components/button/button_empty/button_empty.js +1 -1
  23. package/es/components/button/button_group/button_group.js +1 -1
  24. package/es/components/button/button_group/button_group_button.js +1 -1
  25. package/es/components/button/button_icon/button_icon.js +1 -1
  26. package/es/components/call_out/call_out.js +1 -1
  27. package/es/components/card/card.js +1 -1
  28. package/es/components/card/card_select.js +1 -1
  29. package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
  30. package/es/components/color_picker/color_picker.js +1 -1
  31. package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +7 -4
  32. package/es/components/comment_list/comment.js +54 -24
  33. package/es/components/comment_list/comment_event.js +103 -32
  34. package/es/components/comment_list/comment_event.styles.js +78 -0
  35. package/es/components/comment_list/comment_list.js +45 -12
  36. package/es/components/comment_list/comment_timeline.js +29 -35
  37. package/es/components/context_menu/context_menu_panel.js +1 -1
  38. package/es/components/datagrid/body/data_grid_body.js +14 -14
  39. package/es/components/datagrid/body/data_grid_cell.js +24 -24
  40. package/es/components/datagrid/body/header/data_grid_header_cell.js +164 -68
  41. package/es/components/datagrid/body/header/data_grid_header_row.js +13 -13
  42. package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
  43. package/es/components/datagrid/data_grid.js +13 -13
  44. package/es/components/datagrid/utils/in_memory.js +12 -12
  45. package/es/components/datagrid/utils/row_heights.js +27 -33
  46. package/es/components/date_picker/date_picker.js +2 -2
  47. package/es/components/date_picker/date_picker_range.js +1 -1
  48. package/es/components/empty_prompt/empty_prompt.js +1 -1
  49. package/es/components/error_boundary/error_boundary.js +18 -11
  50. package/es/components/error_boundary/error_boundary.styles.js +18 -0
  51. package/es/components/filter_group/filter_button.js +3 -1
  52. package/es/components/focus_trap/focus_trap.js +1 -0
  53. package/es/components/form/field_number/field_number.js +1 -1
  54. package/es/components/form/field_text/field_text.js +2 -2
  55. package/es/components/form/form.styles.js +11 -0
  56. package/es/components/form/form_control_layout/form_control_layout.js +2 -2
  57. package/es/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
  58. package/es/components/form/form_control_layout/form_control_layout_icons.js +2 -2
  59. package/es/components/header/header_links/header_link.js +1 -1
  60. package/es/components/header/header_links/header_links.js +10 -8
  61. package/es/components/header/header_logo.js +1 -1
  62. package/es/components/icon/assets/keyboard.js +38 -0
  63. package/es/components/icon/assets/tokenMetricCounter.js +38 -0
  64. package/es/components/icon/assets/{keyboard_shortcut.js → tokenMetricGauge.js} +3 -3
  65. package/es/components/icon/icon.js +1 -1
  66. package/es/components/icon/icon_map.js +39 -37
  67. package/es/components/image/image.js +71 -166
  68. package/es/components/image/image.styles.js +28 -0
  69. package/es/components/image/image_button.js +68 -0
  70. package/es/components/image/image_button.styles.js +41 -0
  71. package/es/components/image/image_caption.js +28 -0
  72. package/es/components/image/image_caption.styles.js +18 -0
  73. package/es/components/image/image_fullscreen_wrapper.js +100 -0
  74. package/es/components/image/image_fullscreen_wrapper.styles.js +26 -0
  75. package/es/components/image/image_types.js +10 -0
  76. package/es/components/image/image_wrapper.js +78 -0
  77. package/es/components/image/image_wrapper.styles.js +41 -0
  78. package/es/components/key_pad_menu/key_pad_menu_item.js +1 -1
  79. package/es/components/list_group/list_group.js +2 -2
  80. package/es/components/list_group/list_group_item.js +2 -2
  81. package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  82. package/es/components/loading/loading_logo.js +1 -1
  83. package/es/components/markdown_editor/markdown_editor.js +1 -1
  84. package/es/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
  85. package/es/components/markdown_editor/markdown_editor_footer.js +1 -1
  86. package/es/components/markdown_editor/markdown_editor_toolbar.js +1 -1
  87. package/es/components/notification/notification_event.js +2 -2
  88. package/es/components/notification/notification_event_meta.js +1 -1
  89. package/es/components/page/page_header/page_header.js +1 -1
  90. package/es/components/page/page_header/page_header_content.js +1 -1
  91. package/es/components/page/page_template.js +1 -1
  92. package/es/components/pagination/pagination_button.js +1 -1
  93. package/es/components/popover/input_popover.js +8 -4
  94. package/es/components/popover/popover.js +58 -148
  95. package/es/components/popover/popover.styles.js +15 -0
  96. package/es/components/popover/popover_arrow/_popover_arrow.js +40 -0
  97. package/es/components/popover/popover_arrow/_popover_arrow.styles.js +25 -0
  98. package/es/components/popover/popover_arrow/index.js +8 -0
  99. package/es/components/popover/popover_footer.js +15 -12
  100. package/es/components/popover/popover_footer.styles.js +19 -0
  101. package/es/components/popover/popover_panel/_popover_panel.js +114 -0
  102. package/es/components/popover/popover_panel/_popover_panel.styles.js +42 -0
  103. package/es/components/popover/popover_panel/index.js +8 -0
  104. package/es/components/popover/popover_title.js +15 -12
  105. package/es/components/popover/popover_title.styles.js +20 -0
  106. package/es/components/popover/wrapping_popover.js +45 -88
  107. package/es/components/portal/portal.js +38 -79
  108. package/es/components/selectable/selectable.js +8 -9
  109. package/es/components/selectable/selectable_list/selectable_list.js +1 -1
  110. package/es/components/selectable/selectable_list/selectable_list_item.js +1 -1
  111. package/es/components/selectable/selectable_search/selectable_search.js +1 -6
  112. package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -2
  113. package/es/components/suggest/suggest.js +1 -5
  114. package/es/components/suggest/suggest_item.js +1 -1
  115. package/es/components/table/table_header_button.js +1 -1
  116. package/es/components/text/text.styles.js +5 -4
  117. package/es/components/text_diff/text_diff.js +5 -0
  118. package/es/components/text_diff/text_diff.styles.js +15 -0
  119. package/es/components/timeline/timeline_item.js +1 -2
  120. package/es/components/timeline/timeline_item_icon.js +1 -1
  121. package/es/components/toast/global_toast_list.js +1 -1
  122. package/es/components/toast/toast.js +1 -1
  123. package/es/components/token/token.js +1 -1
  124. package/es/components/token/token_map.js +115 -107
  125. package/es/components/tool_tip/icon_tip.js +1 -1
  126. package/es/components/tour/tour.js +6 -6
  127. package/es/components/tour/tour_step.js +6 -6
  128. package/es/global_styling/functions/logicals.js +22 -0
  129. package/es/global_styling/mixins/_responsive.js +46 -0
  130. package/es/global_styling/mixins/index.js +2 -1
  131. package/es/services/hooks/index.js +1 -0
  132. package/es/services/hooks/useLatest.js +18 -0
  133. package/es/test/emotion-prefix.js +1 -1
  134. package/es/themes/amsterdam/global_styling/functions/shadows.js +1 -1
  135. package/es/themes/amsterdam/global_styling/mixins/shadow.js +13 -2
  136. package/eui.d.ts +605 -266
  137. package/i18ntokens.json +134 -38
  138. package/lib/components/accessibility/skip_link/skip_link.js +1 -1
  139. package/lib/components/avatar/avatar.js +1 -2
  140. package/lib/components/badge/badge.js +1 -1
  141. package/lib/components/badge/beta_badge/beta_badge.js +1 -1
  142. package/lib/components/basic_table/basic_table.js +1 -1
  143. package/lib/components/basic_table/collapsed_item_actions.js +1 -1
  144. package/lib/components/basic_table/in_memory_table.js +1 -1
  145. package/lib/components/button/_button_content_deprecated.js +1 -1
  146. package/lib/components/button/button.js +2 -2
  147. package/lib/components/button/button_display/_button_display.js +1 -1
  148. package/lib/components/button/button_display/_button_display_content.js +1 -1
  149. package/lib/components/button/button_empty/button_empty.js +1 -1
  150. package/lib/components/button/button_group/button_group.js +1 -1
  151. package/lib/components/button/button_group/button_group_button.js +1 -1
  152. package/lib/components/button/button_icon/button_icon.js +1 -1
  153. package/lib/components/call_out/call_out.js +1 -1
  154. package/lib/components/card/card.js +1 -1
  155. package/lib/components/card/card_select.js +1 -1
  156. package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
  157. package/lib/components/color_picker/color_picker.js +1 -1
  158. package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -5
  159. package/lib/components/comment_list/comment.js +53 -25
  160. package/lib/components/comment_list/comment_event.js +104 -41
  161. package/lib/components/comment_list/comment_event.styles.js +86 -0
  162. package/lib/components/comment_list/comment_list.js +46 -12
  163. package/lib/components/comment_list/comment_timeline.js +30 -40
  164. package/lib/components/context_menu/context_menu_panel.js +1 -1
  165. package/lib/components/datagrid/body/data_grid_body.js +14 -14
  166. package/lib/components/datagrid/body/data_grid_cell.js +24 -24
  167. package/lib/components/datagrid/body/header/data_grid_header_cell.js +166 -67
  168. package/lib/components/datagrid/body/header/data_grid_header_row.js +13 -13
  169. package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
  170. package/lib/components/datagrid/data_grid.js +13 -13
  171. package/lib/components/datagrid/utils/in_memory.js +12 -12
  172. package/lib/components/datagrid/utils/row_heights.js +26 -32
  173. package/lib/components/date_picker/date_picker.js +2 -2
  174. package/lib/components/date_picker/date_picker_range.js +1 -1
  175. package/lib/components/empty_prompt/empty_prompt.js +1 -1
  176. package/lib/components/error_boundary/error_boundary.js +23 -13
  177. package/lib/components/error_boundary/error_boundary.styles.js +30 -0
  178. package/lib/components/filter_group/filter_button.js +3 -1
  179. package/lib/components/focus_trap/focus_trap.js +1 -0
  180. package/lib/components/form/field_number/field_number.js +1 -1
  181. package/lib/components/form/field_text/field_text.js +2 -2
  182. package/lib/components/form/form.styles.js +20 -0
  183. package/lib/components/form/form_control_layout/form_control_layout.js +2 -2
  184. package/lib/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
  185. package/lib/components/form/form_control_layout/form_control_layout_icons.js +2 -2
  186. package/lib/components/header/header_links/header_link.js +1 -1
  187. package/lib/components/header/header_links/header_links.js +10 -8
  188. package/lib/components/header/header_logo.js +1 -1
  189. package/lib/components/icon/assets/keyboard.js +45 -0
  190. package/lib/components/icon/assets/tokenMetricCounter.js +45 -0
  191. package/lib/components/icon/assets/{keyboard_shortcut.js → tokenMetricGauge.js} +3 -3
  192. package/lib/components/icon/icon.js +1 -1
  193. package/lib/components/icon/icon_map.js +39 -37
  194. package/lib/components/icon/svgs/keyboard.svg +3 -0
  195. package/lib/components/icon/svgs/tokens/tokenMetricCounter.svg +3 -0
  196. package/lib/components/icon/svgs/tokens/tokenMetricGauge.svg +3 -0
  197. package/lib/components/image/image.js +73 -168
  198. package/lib/components/image/image.styles.js +40 -0
  199. package/lib/components/image/image_button.js +81 -0
  200. package/lib/components/image/image_button.styles.js +48 -0
  201. package/lib/components/image/image_caption.js +49 -0
  202. package/lib/components/image/image_caption.styles.js +30 -0
  203. package/lib/components/image/image_fullscreen_wrapper.js +117 -0
  204. package/lib/components/image/image_fullscreen_wrapper.styles.js +30 -0
  205. package/lib/components/image/image_types.js +18 -0
  206. package/lib/components/image/image_wrapper.js +91 -0
  207. package/lib/components/image/image_wrapper.styles.js +44 -0
  208. package/lib/components/key_pad_menu/key_pad_menu_item.js +1 -1
  209. package/lib/components/list_group/list_group.js +2 -2
  210. package/lib/components/list_group/list_group_item.js +2 -2
  211. package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  212. package/lib/components/loading/loading_logo.js +1 -1
  213. package/lib/components/markdown_editor/markdown_editor.js +1 -1
  214. package/lib/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
  215. package/lib/components/markdown_editor/markdown_editor_footer.js +1 -1
  216. package/lib/components/markdown_editor/markdown_editor_toolbar.js +1 -1
  217. package/lib/components/notification/notification_event.js +2 -2
  218. package/lib/components/notification/notification_event_meta.js +1 -1
  219. package/lib/components/page/page_header/page_header.js +1 -1
  220. package/lib/components/page/page_header/page_header_content.js +1 -1
  221. package/lib/components/page/page_template.js +1 -1
  222. package/lib/components/popover/input_popover.js +8 -3
  223. package/lib/components/popover/popover.js +74 -165
  224. package/lib/components/popover/popover.styles.js +26 -0
  225. package/lib/components/popover/popover_arrow/_popover_arrow.js +51 -0
  226. package/lib/components/popover/popover_arrow/_popover_arrow.styles.js +38 -0
  227. package/lib/components/popover/popover_arrow/index.js +13 -0
  228. package/lib/components/popover/popover_footer.js +25 -15
  229. package/lib/components/popover/popover_footer.styles.js +30 -0
  230. package/lib/components/popover/popover_panel/_popover_panel.js +132 -0
  231. package/lib/components/popover/popover_panel/_popover_panel.styles.js +54 -0
  232. package/lib/components/popover/popover_panel/index.js +13 -0
  233. package/lib/components/popover/popover_title.js +25 -15
  234. package/lib/components/popover/popover_title.styles.js +32 -0
  235. package/lib/components/popover/wrapping_popover.js +44 -85
  236. package/lib/components/portal/portal.js +39 -82
  237. package/lib/components/selectable/selectable.js +8 -9
  238. package/lib/components/selectable/selectable_list/selectable_list.js +1 -1
  239. package/lib/components/selectable/selectable_list/selectable_list_item.js +1 -1
  240. package/lib/components/selectable/selectable_search/selectable_search.js +0 -5
  241. package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -2
  242. package/lib/components/suggest/suggest.js +1 -5
  243. package/lib/components/suggest/suggest_item.js +1 -1
  244. package/lib/components/table/table_header_button.js +1 -1
  245. package/lib/components/text/text.styles.js +4 -3
  246. package/lib/components/text_diff/text_diff.js +7 -0
  247. package/lib/components/text_diff/text_diff.styles.js +25 -0
  248. package/lib/components/timeline/timeline_item.js +1 -2
  249. package/lib/components/timeline/timeline_item_icon.js +1 -1
  250. package/lib/components/toast/global_toast_list.js +1 -1
  251. package/lib/components/toast/toast.js +1 -1
  252. package/lib/components/token/token.js +1 -1
  253. package/lib/components/token/token_map.js +115 -107
  254. package/lib/components/tool_tip/icon_tip.js +1 -1
  255. package/lib/global_styling/functions/logicals.js +30 -2
  256. package/lib/global_styling/mixins/_responsive.js +60 -0
  257. package/lib/global_styling/mixins/index.js +13 -0
  258. package/lib/services/hooks/index.js +13 -0
  259. package/lib/services/hooks/useLatest.js +26 -0
  260. package/lib/test/emotion-prefix.js +1 -1
  261. package/lib/themes/amsterdam/global_styling/functions/shadows.js +1 -1
  262. package/lib/themes/amsterdam/global_styling/mixins/shadow.js +13 -2
  263. package/optimize/es/components/avatar/avatar.js +0 -1
  264. package/optimize/es/components/color_picker/color_picker.js +1 -1
  265. package/optimize/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +7 -4
  266. package/optimize/es/components/comment_list/comment.js +24 -18
  267. package/optimize/es/components/comment_list/comment_event.js +83 -28
  268. package/optimize/es/components/comment_list/comment_event.styles.js +78 -0
  269. package/optimize/es/components/comment_list/comment_list.js +7 -3
  270. package/optimize/es/components/comment_list/comment_timeline.js +19 -32
  271. package/optimize/es/components/context_menu/context_menu_panel.js +1 -1
  272. package/optimize/es/components/datagrid/body/data_grid_body.js +1 -1
  273. package/optimize/es/components/datagrid/body/header/data_grid_header_cell.js +150 -54
  274. package/optimize/es/components/datagrid/utils/row_heights.js +27 -33
  275. package/optimize/es/components/error_boundary/error_boundary.js +17 -10
  276. package/optimize/es/components/error_boundary/error_boundary.styles.js +18 -0
  277. package/optimize/es/components/filter_group/filter_button.js +3 -1
  278. package/optimize/es/components/focus_trap/focus_trap.js +1 -0
  279. package/optimize/es/components/form/form.styles.js +11 -0
  280. package/optimize/es/components/icon/assets/keyboard.js +34 -0
  281. package/optimize/es/components/icon/assets/tokenMetricCounter.js +34 -0
  282. package/optimize/es/components/icon/assets/{keyboard_shortcut.js → tokenMetricGauge.js} +3 -3
  283. package/optimize/es/components/icon/icon_map.js +39 -37
  284. package/optimize/es/components/image/image.js +50 -154
  285. package/optimize/es/components/image/image.styles.js +28 -0
  286. package/optimize/es/components/image/image_button.js +56 -0
  287. package/optimize/es/components/image/image_button.styles.js +41 -0
  288. package/optimize/es/components/image/image_caption.js +24 -0
  289. package/optimize/es/components/image/image_caption.styles.js +18 -0
  290. package/optimize/es/components/image/image_fullscreen_wrapper.js +84 -0
  291. package/optimize/es/components/image/image_fullscreen_wrapper.styles.js +26 -0
  292. package/optimize/es/components/image/image_types.js +10 -0
  293. package/optimize/es/components/image/image_wrapper.js +62 -0
  294. package/optimize/es/components/image/image_wrapper.styles.js +41 -0
  295. package/optimize/es/components/popover/input_popover.js +8 -4
  296. package/optimize/es/components/popover/popover.js +41 -131
  297. package/optimize/es/components/popover/popover.styles.js +15 -0
  298. package/optimize/es/components/popover/popover_arrow/_popover_arrow.js +29 -0
  299. package/optimize/es/components/popover/popover_arrow/_popover_arrow.styles.js +25 -0
  300. package/optimize/es/components/popover/popover_arrow/index.js +8 -0
  301. package/optimize/es/components/popover/popover_footer.js +15 -12
  302. package/optimize/es/components/popover/popover_footer.styles.js +19 -0
  303. package/optimize/es/components/popover/popover_panel/_popover_panel.js +55 -0
  304. package/optimize/es/components/popover/popover_panel/_popover_panel.styles.js +42 -0
  305. package/optimize/es/components/popover/popover_panel/index.js +8 -0
  306. package/optimize/es/components/popover/popover_title.js +15 -12
  307. package/optimize/es/components/popover/popover_title.styles.js +20 -0
  308. package/optimize/es/components/popover/wrapping_popover.js +38 -79
  309. package/optimize/es/components/portal/portal.js +34 -61
  310. package/optimize/es/components/selectable/selectable.js +8 -9
  311. package/optimize/es/components/selectable/selectable_search/selectable_search.js +1 -6
  312. package/optimize/es/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
  313. package/optimize/es/components/suggest/suggest.js +0 -4
  314. package/optimize/es/components/text/text.styles.js +5 -4
  315. package/optimize/es/components/text_diff/text_diff.js +5 -0
  316. package/optimize/es/components/text_diff/text_diff.styles.js +15 -0
  317. package/optimize/es/components/timeline/timeline_item.js +1 -2
  318. package/optimize/es/components/token/token_map.js +115 -107
  319. package/optimize/es/global_styling/functions/logicals.js +22 -0
  320. package/optimize/es/global_styling/mixins/_responsive.js +46 -0
  321. package/optimize/es/global_styling/mixins/index.js +2 -1
  322. package/optimize/es/services/hooks/index.js +1 -0
  323. package/optimize/es/services/hooks/useLatest.js +18 -0
  324. package/optimize/es/test/emotion-prefix.js +1 -1
  325. package/optimize/es/themes/amsterdam/global_styling/functions/shadows.js +1 -1
  326. package/optimize/es/themes/amsterdam/global_styling/mixins/shadow.js +13 -2
  327. package/optimize/lib/components/avatar/avatar.js +0 -1
  328. package/optimize/lib/components/color_picker/color_picker.js +1 -1
  329. package/optimize/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -5
  330. package/optimize/lib/components/comment_list/comment.js +23 -18
  331. package/optimize/lib/components/comment_list/comment_event.js +85 -31
  332. package/optimize/lib/components/comment_list/comment_event.styles.js +86 -0
  333. package/optimize/lib/components/comment_list/comment_list.js +8 -3
  334. package/optimize/lib/components/comment_list/comment_timeline.js +21 -38
  335. package/optimize/lib/components/context_menu/context_menu_panel.js +1 -1
  336. package/optimize/lib/components/datagrid/body/data_grid_body.js +1 -1
  337. package/optimize/lib/components/datagrid/body/header/data_grid_header_cell.js +153 -54
  338. package/optimize/lib/components/datagrid/utils/row_heights.js +25 -30
  339. package/optimize/lib/components/error_boundary/error_boundary.js +20 -10
  340. package/optimize/lib/components/error_boundary/error_boundary.styles.js +30 -0
  341. package/optimize/lib/components/filter_group/filter_button.js +3 -1
  342. package/optimize/lib/components/focus_trap/focus_trap.js +1 -0
  343. package/optimize/lib/components/form/form.styles.js +20 -0
  344. package/optimize/lib/components/icon/assets/keyboard.js +44 -0
  345. package/optimize/lib/components/icon/assets/tokenMetricCounter.js +44 -0
  346. package/{test-env/components/icon/assets/keyboard_shortcut.js → optimize/lib/components/icon/assets/tokenMetricGauge.js} +3 -3
  347. package/optimize/lib/components/icon/icon_map.js +39 -37
  348. package/optimize/lib/components/icon/svgs/keyboard.svg +3 -0
  349. package/optimize/lib/components/icon/svgs/tokens/tokenMetricCounter.svg +3 -0
  350. package/optimize/lib/components/icon/svgs/tokens/tokenMetricGauge.svg +3 -0
  351. package/optimize/lib/components/image/image.js +52 -156
  352. package/optimize/lib/components/image/image.styles.js +40 -0
  353. package/optimize/lib/components/image/image_button.js +68 -0
  354. package/optimize/lib/components/image/image_button.styles.js +48 -0
  355. package/optimize/lib/components/image/image_caption.js +42 -0
  356. package/optimize/lib/components/image/image_caption.styles.js +30 -0
  357. package/optimize/lib/components/image/image_fullscreen_wrapper.js +108 -0
  358. package/optimize/lib/components/image/image_fullscreen_wrapper.styles.js +32 -0
  359. package/optimize/lib/components/image/image_types.js +18 -0
  360. package/optimize/lib/components/image/image_wrapper.js +82 -0
  361. package/optimize/lib/components/image/image_wrapper.styles.js +44 -0
  362. package/optimize/lib/components/popover/input_popover.js +7 -3
  363. package/optimize/lib/components/popover/popover.js +60 -150
  364. package/optimize/lib/components/popover/popover.styles.js +26 -0
  365. package/optimize/lib/components/popover/popover_arrow/_popover_arrow.js +39 -0
  366. package/optimize/lib/components/popover/popover_arrow/_popover_arrow.styles.js +38 -0
  367. package/optimize/lib/components/popover/popover_arrow/index.js +13 -0
  368. package/optimize/lib/components/popover/popover_footer.js +26 -14
  369. package/optimize/lib/components/popover/popover_footer.styles.js +30 -0
  370. package/optimize/lib/components/popover/popover_panel/_popover_panel.js +74 -0
  371. package/optimize/lib/components/popover/popover_panel/_popover_panel.styles.js +54 -0
  372. package/optimize/lib/components/popover/popover_panel/index.js +13 -0
  373. package/optimize/lib/components/popover/popover_title.js +26 -14
  374. package/optimize/lib/components/popover/popover_title.styles.js +32 -0
  375. package/optimize/lib/components/popover/wrapping_popover.js +38 -78
  376. package/optimize/lib/components/portal/portal.js +45 -61
  377. package/optimize/lib/components/selectable/selectable.js +8 -8
  378. package/optimize/lib/components/selectable/selectable_search/selectable_search.js +0 -5
  379. package/optimize/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
  380. package/optimize/lib/components/suggest/suggest.js +0 -4
  381. package/optimize/lib/components/text/text.styles.js +4 -3
  382. package/optimize/lib/components/text_diff/text_diff.js +7 -0
  383. package/optimize/lib/components/text_diff/text_diff.styles.js +25 -0
  384. package/optimize/lib/components/timeline/timeline_item.js +1 -2
  385. package/optimize/lib/components/token/token_map.js +115 -107
  386. package/optimize/lib/global_styling/functions/logicals.js +30 -2
  387. package/optimize/lib/global_styling/mixins/_responsive.js +60 -0
  388. package/optimize/lib/global_styling/mixins/index.js +13 -0
  389. package/optimize/lib/services/hooks/index.js +13 -0
  390. package/optimize/lib/services/hooks/useLatest.js +26 -0
  391. package/optimize/lib/test/emotion-prefix.js +1 -1
  392. package/optimize/lib/themes/amsterdam/global_styling/functions/shadows.js +1 -1
  393. package/optimize/lib/themes/amsterdam/global_styling/mixins/shadow.js +13 -2
  394. package/package.json +2 -2
  395. package/src/components/combo_box/combo_box_options_list/_combo_box_options_list.scss +0 -4
  396. package/src/components/context_menu/_context_menu_panel.scss +2 -2
  397. package/src/components/index.scss +0 -5
  398. package/src/components/markdown_editor/_markdown_editor.scss +3 -2
  399. package/src/components/tour/_tour.scss +13 -9
  400. package/src/global_styling/mixins/_index.scss +0 -1
  401. package/src/themes/amsterdam/global_styling/mixins/_index.scss +0 -2
  402. package/src/themes/amsterdam/overrides/_index.scss +0 -3
  403. package/test-env/components/accessibility/skip_link/skip_link.js +1 -1
  404. package/test-env/components/avatar/avatar.js +1 -2
  405. package/test-env/components/badge/badge.js +1 -1
  406. package/test-env/components/badge/beta_badge/beta_badge.js +1 -1
  407. package/test-env/components/basic_table/basic_table.js +1 -1
  408. package/test-env/components/basic_table/collapsed_item_actions.js +1 -1
  409. package/test-env/components/basic_table/in_memory_table.js +1 -1
  410. package/test-env/components/button/_button_content_deprecated.js +1 -1
  411. package/test-env/components/button/button.js +2 -2
  412. package/test-env/components/button/button_display/_button_display.js +1 -1
  413. package/test-env/components/button/button_display/_button_display_content.js +1 -1
  414. package/test-env/components/button/button_empty/button_empty.js +1 -1
  415. package/test-env/components/button/button_group/button_group.js +1 -1
  416. package/test-env/components/button/button_group/button_group_button.js +1 -1
  417. package/test-env/components/button/button_icon/button_icon.js +1 -1
  418. package/test-env/components/call_out/call_out.js +1 -1
  419. package/test-env/components/card/card.js +1 -1
  420. package/test-env/components/card/card_select.js +1 -1
  421. package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
  422. package/test-env/components/color_picker/color_picker.js +1 -1
  423. package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -5
  424. package/test-env/components/comment_list/comment.js +53 -24
  425. package/test-env/components/comment_list/comment_event.js +105 -35
  426. package/test-env/components/comment_list/comment_event.styles.js +86 -0
  427. package/test-env/components/comment_list/comment_list.js +46 -12
  428. package/test-env/components/comment_list/comment_timeline.js +30 -40
  429. package/test-env/components/context_menu/context_menu_panel.js +1 -1
  430. package/test-env/components/datagrid/body/data_grid_body.js +14 -14
  431. package/test-env/components/datagrid/body/data_grid_cell.js +24 -24
  432. package/test-env/components/datagrid/body/header/data_grid_header_cell.js +166 -67
  433. package/test-env/components/datagrid/body/header/data_grid_header_row.js +13 -13
  434. package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
  435. package/test-env/components/datagrid/data_grid.js +13 -13
  436. package/test-env/components/datagrid/utils/in_memory.js +12 -12
  437. package/test-env/components/datagrid/utils/row_heights.js +25 -30
  438. package/test-env/components/date_picker/date_picker.js +2 -2
  439. package/test-env/components/date_picker/date_picker_range.js +1 -1
  440. package/test-env/components/empty_prompt/empty_prompt.js +1 -1
  441. package/test-env/components/error_boundary/error_boundary.js +23 -13
  442. package/test-env/components/error_boundary/error_boundary.styles.js +30 -0
  443. package/test-env/components/filter_group/filter_button.js +3 -1
  444. package/test-env/components/form/field_number/field_number.js +1 -1
  445. package/test-env/components/form/field_text/field_text.js +2 -2
  446. package/test-env/components/form/form.styles.js +20 -0
  447. package/test-env/components/form/form_control_layout/form_control_layout.js +2 -2
  448. package/test-env/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
  449. package/test-env/components/form/form_control_layout/form_control_layout_icons.js +2 -2
  450. package/test-env/components/header/header_links/header_link.js +1 -1
  451. package/test-env/components/header/header_links/header_links.js +10 -8
  452. package/test-env/components/header/header_logo.js +1 -1
  453. package/test-env/components/icon/assets/keyboard.js +44 -0
  454. package/test-env/components/icon/assets/tokenMetricCounter.js +44 -0
  455. package/{optimize/lib/components/icon/assets/keyboard_shortcut.js → test-env/components/icon/assets/tokenMetricGauge.js} +3 -3
  456. package/test-env/components/icon/icon_map.js +39 -37
  457. package/test-env/components/image/image.js +73 -168
  458. package/test-env/components/image/image.styles.js +40 -0
  459. package/test-env/components/image/image_button.js +77 -0
  460. package/test-env/components/image/image_button.styles.js +48 -0
  461. package/test-env/components/image/image_caption.js +49 -0
  462. package/test-env/components/image/image_caption.styles.js +30 -0
  463. package/test-env/components/image/image_fullscreen_wrapper.js +114 -0
  464. package/test-env/components/image/image_fullscreen_wrapper.styles.js +32 -0
  465. package/test-env/components/image/image_types.js +18 -0
  466. package/test-env/components/image/image_wrapper.js +88 -0
  467. package/test-env/components/image/image_wrapper.styles.js +44 -0
  468. package/test-env/components/key_pad_menu/key_pad_menu_item.js +1 -1
  469. package/test-env/components/list_group/list_group.js +2 -2
  470. package/test-env/components/list_group/list_group_item.js +2 -2
  471. package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  472. package/test-env/components/loading/loading_logo.js +1 -1
  473. package/test-env/components/markdown_editor/markdown_editor.js +1 -1
  474. package/test-env/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
  475. package/test-env/components/markdown_editor/markdown_editor_footer.js +1 -1
  476. package/test-env/components/markdown_editor/markdown_editor_toolbar.js +1 -1
  477. package/test-env/components/notification/notification_event.js +2 -2
  478. package/test-env/components/notification/notification_event_meta.js +1 -1
  479. package/test-env/components/page/page_header/page_header.js +1 -1
  480. package/test-env/components/page/page_header/page_header_content.js +1 -1
  481. package/test-env/components/page/page_template.js +1 -1
  482. package/test-env/components/popover/input_popover.js +7 -3
  483. package/test-env/components/popover/popover.js +75 -166
  484. package/test-env/components/popover/popover.styles.js +26 -0
  485. package/test-env/components/popover/popover_arrow/_popover_arrow.js +47 -0
  486. package/test-env/components/popover/popover_arrow/_popover_arrow.styles.js +38 -0
  487. package/test-env/components/popover/popover_arrow/index.js +13 -0
  488. package/test-env/components/popover/popover_footer.js +26 -14
  489. package/test-env/components/popover/popover_footer.styles.js +30 -0
  490. package/test-env/components/popover/popover_panel/_popover_panel.js +119 -0
  491. package/test-env/components/popover/popover_panel/_popover_panel.styles.js +54 -0
  492. package/test-env/components/popover/popover_panel/index.js +13 -0
  493. package/test-env/components/popover/popover_title.js +26 -14
  494. package/test-env/components/popover/popover_title.styles.js +32 -0
  495. package/test-env/components/popover/wrapping_popover.js +38 -78
  496. package/test-env/components/portal/portal.js +46 -75
  497. package/test-env/components/selectable/selectable.js +8 -8
  498. package/test-env/components/selectable/selectable_list/selectable_list.js +1 -1
  499. package/test-env/components/selectable/selectable_list/selectable_list_item.js +1 -1
  500. package/test-env/components/selectable/selectable_search/selectable_search.js +0 -5
  501. package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -2
  502. package/test-env/components/suggest/suggest.js +1 -5
  503. package/test-env/components/suggest/suggest_item.js +1 -1
  504. package/test-env/components/table/table_header_button.js +1 -1
  505. package/test-env/components/text/text.styles.js +4 -3
  506. package/test-env/components/text_diff/text_diff.js +7 -0
  507. package/test-env/components/text_diff/text_diff.styles.js +25 -0
  508. package/test-env/components/timeline/timeline_item.js +1 -2
  509. package/test-env/components/timeline/timeline_item_icon.js +1 -1
  510. package/test-env/components/toast/global_toast_list.js +1 -1
  511. package/test-env/components/toast/toast.js +1 -1
  512. package/test-env/components/token/token.js +1 -1
  513. package/test-env/components/token/token_map.js +115 -107
  514. package/test-env/components/tool_tip/icon_tip.js +1 -1
  515. package/test-env/global_styling/functions/logicals.js +30 -2
  516. package/test-env/global_styling/mixins/_responsive.js +60 -0
  517. package/test-env/global_styling/mixins/index.js +13 -0
  518. package/test-env/services/hooks/index.js +13 -0
  519. package/test-env/services/hooks/useLatest.js +26 -0
  520. package/test-env/test/emotion-prefix.js +1 -1
  521. package/test-env/themes/amsterdam/global_styling/functions/shadows.js +1 -1
  522. package/test-env/themes/amsterdam/global_styling/mixins/shadow.js +13 -2
  523. package/lib/components/icon/svgs/keyboard_shortcut.svg +0 -3
  524. package/optimize/lib/components/icon/svgs/keyboard_shortcut.svg +0 -3
  525. package/src/components/comment_list/_comment.scss +0 -38
  526. package/src/components/comment_list/_comment_event.scss +0 -77
  527. package/src/components/comment_list/_comment_timeline.scss +0 -27
  528. package/src/components/comment_list/_index.scss +0 -3
  529. package/src/components/error_boundary/_error_boundary.scss +0 -13
  530. package/src/components/error_boundary/_index.scss +0 -1
  531. package/src/components/image/_image.scss +0 -212
  532. package/src/components/image/_index.scss +0 -1
  533. package/src/components/popover/_index.scss +0 -5
  534. package/src/components/popover/_input_popover.scss +0 -7
  535. package/src/components/popover/_popover.scss +0 -182
  536. package/src/components/popover/_popover_footer.scss +0 -27
  537. package/src/components/popover/_popover_title.scss +0 -27
  538. package/src/components/popover/_variables.scss +0 -2
  539. package/src/components/text_diff/_index.scss +0 -1
  540. package/src/components/text_diff/_text_diff.scss +0 -9
  541. package/src/global_styling/mixins/_popover.scss +0 -19
  542. package/src/themes/amsterdam/global_styling/mixins/_popover.scss +0 -5
  543. package/src/themes/amsterdam/overrides/_comment.scss +0 -3
  544. package/src/themes/amsterdam/overrides/_image.scss +0 -10
  545. package/src/themes/amsterdam/overrides/_popover.scss +0 -104
package/eui.d.ts CHANGED
@@ -718,7 +718,7 @@ declare module '@elastic/eui/src/components/icon/icon_map' {
718
718
  inspect: string;
719
719
  invert: string;
720
720
  ip: string;
721
- keyboardShortcut: string;
721
+ keyboard: string;
722
722
  kqlField: string;
723
723
  kqlFunction: string;
724
724
  kqlOperand: string;
@@ -946,57 +946,59 @@ declare module '@elastic/eui/src/components/icon/icon_map' {
946
946
  wordWrapDisabled: string;
947
947
  workplaceSearchApp: string;
948
948
  wrench: string;
949
+ tokenAlias: string;
950
+ tokenAnnotation: string;
951
+ tokenArray: string;
952
+ tokenBinary: string;
953
+ tokenBoolean: string;
949
954
  tokenClass: string;
950
- tokenProperty: string;
955
+ tokenCompletionSuggester: string;
956
+ tokenConstant: string;
957
+ tokenDate: string;
958
+ tokenDenseVector: string;
959
+ tokenElement: string;
951
960
  tokenEnum: string;
952
- tokenVariable: string;
953
- tokenMethod: string;
954
- tokenAnnotation: string;
961
+ tokenEnumMember: string;
962
+ tokenEvent: string;
955
963
  tokenException: string;
956
- tokenInterface: string;
957
- tokenParameter: string;
958
964
  tokenField: string;
959
- tokenElement: string;
965
+ tokenFile: string;
966
+ tokenFlattened: string;
960
967
  tokenFunction: string;
961
- tokenBoolean: string;
962
- tokenString: string;
963
- tokenArray: string;
964
- tokenNumber: string;
965
- tokenConstant: string;
966
- tokenObject: string;
967
- tokenEvent: string;
968
+ tokenGeo: string;
969
+ tokenHistogram: string;
970
+ tokenInterface: string;
971
+ tokenIP: string;
972
+ tokenJoin: string;
968
973
  tokenKey: string;
969
- tokenNull: string;
970
- tokenStruct: string;
971
- tokenPackage: string;
972
- tokenOperator: string;
973
- tokenEnumMember: string;
974
- tokenRepo: string;
975
- tokenSymbol: string;
976
- tokenFile: string;
974
+ tokenKeyword: string;
975
+ tokenMethod: string;
976
+ tokenMetricCounter: string;
977
+ tokenMetricGauge: string;
977
978
  tokenModule: string;
978
979
  tokenNamespace: string;
979
- tokenDate: string;
980
- tokenIP: string;
981
980
  tokenNested: string;
982
- tokenAlias: string;
983
- tokenShape: string;
984
- tokenGeo: string;
985
- tokenRange: string;
986
- tokenBinary: string;
987
- tokenJoin: string;
981
+ tokenNull: string;
982
+ tokenNumber: string;
983
+ tokenObject: string;
984
+ tokenOperator: string;
985
+ tokenPackage: string;
986
+ tokenParameter: string;
988
987
  tokenPercolator: string;
989
- tokenFlattened: string;
988
+ tokenProperty: string;
989
+ tokenRange: string;
990
990
  tokenRankFeature: string;
991
991
  tokenRankFeatures: string;
992
- tokenKeyword: string;
992
+ tokenRepo: string;
993
+ tokenSearchType: string;
994
+ tokenShape: string;
995
+ tokenString: string;
996
+ tokenStruct: string;
997
+ tokenSymbol: string;
993
998
  tokenTag: string;
994
- tokenCompletionSuggester: string;
995
- tokenDenseVector: string;
996
999
  tokenText: string;
997
1000
  tokenTokenCount: string;
998
- tokenSearchType: string;
999
- tokenHistogram: string;
1001
+ tokenVariable: string;
1000
1002
  };
1001
1003
 
1002
1004
  }
@@ -1663,6 +1665,7 @@ declare module '@elastic/eui/src/global_styling/variables/shadow' {
1663
1665
  export const _EuiShadowSizesDescriptions: Record<_EuiThemeShadowSize, string>;
1664
1666
  export interface _EuiThemeShadowCustomColor {
1665
1667
  color?: string;
1668
+ property?: 'box-shadow' | 'filter';
1666
1669
  }
1667
1670
 
1668
1671
  }
@@ -1775,6 +1778,22 @@ declare module '@elastic/eui/src/global_styling/functions/logicals' {
1775
1778
  export const logicalStyle: (property: LogicalProperties, value?: any) => {
1776
1779
  [x: string]: string;
1777
1780
  };
1781
+ /**
1782
+ *
1783
+ * @param width A string value for the LTR width
1784
+ * @param height A string value for the LTR height
1785
+ * @returns `string` Returns the logical CSS properties for height and width
1786
+ */
1787
+ export const logicalSizeCSS: (width: any, height: any) => string;
1788
+ /**
1789
+ *
1790
+ * @param width A string value for the LTR width
1791
+ * @param height A string value for the LTR height
1792
+ * @returns `object` Returns the logical CSS properties for height and width
1793
+ */
1794
+ export const logicalSizeStyle: (width: any, height: any) => {
1795
+ [x: string]: any;
1796
+ };
1778
1797
  export const logicalText: {
1779
1798
  'text-align': {
1780
1799
  left: string;
@@ -2066,6 +2085,24 @@ declare module '@elastic/eui/src/global_styling/mixins/_typography' {
2066
2085
  export const euiNumberFormat: ({ euiTheme }: UseEuiTheme) => string;
2067
2086
  export const useEuiNumberFormat: () => string;
2068
2087
 
2088
+ }
2089
+ declare module '@elastic/eui/src/global_styling/mixins/_responsive' {
2090
+ import { UseEuiTheme } from '@elastic/eui/src/services/theme/hooks';
2091
+ import { _EuiThemeBreakpoint } from '@elastic/eui/src/global_styling/variables';
2092
+ /**
2093
+ * Generates a CSS media query rule string based on the input breakpoint ranges.
2094
+ * Examples:
2095
+ * euiBreakpoint(['s']) becomes `@media only screen and (min-width: 575px) and (max-width: 767px)`
2096
+ * euiBreakpoint(['s', 'l']) becomes `@media only screen and (min-width: 575px) and (max-width: 1199px)`
2097
+ *
2098
+ * Use the `xs` and `xl` sizes to generate media queries with only min/max-width.
2099
+ * Examples:
2100
+ * euiBreakpoint(['xs', 'm']) becomes `@media only screen and (max-width: 991px)`
2101
+ * euiBreakpoint(['l', 'xl']) becomes `@media only screen and (min-width: 992px)`
2102
+ */
2103
+ export const euiBreakpoint: ({ euiTheme }: UseEuiTheme, sizes: [_EuiThemeBreakpoint, ..._EuiThemeBreakpoint[]]) => string;
2104
+ export const useEuiBreakpoint: (sizes: [_EuiThemeBreakpoint, ..._EuiThemeBreakpoint[]]) => string;
2105
+
2069
2106
  }
2070
2107
  declare module '@elastic/eui/src/global_styling/mixins' {
2071
2108
  export * from '@elastic/eui/src/global_styling/mixins/_color';
@@ -2073,6 +2110,7 @@ declare module '@elastic/eui/src/global_styling/mixins' {
2073
2110
  export * from '@elastic/eui/src/global_styling/mixins/_padding';
2074
2111
  export * from '@elastic/eui/src/global_styling/mixins/_states';
2075
2112
  export * from '@elastic/eui/src/global_styling/mixins/_typography';
2113
+ export * from '@elastic/eui/src/global_styling/mixins/_responsive';
2076
2114
 
2077
2115
  }
2078
2116
  declare module '@elastic/eui/src/global_styling/reset/reset' {
@@ -2130,7 +2168,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
2130
2168
  import { WithEuiThemeProps } from '@elastic/eui/src/services';
2131
2169
  export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
2132
2170
  import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
2133
- export const TYPES: ("string" | "number" | "function" | "link" | "menu" | "filter" | "image" | "stop" | "alert" | "document" | "grid" | "list" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crossInACircleFilled" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "documentEdit" | "documentation" | "documents" | "dot" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "exit" | "expand" | "expandMini" | "eye" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "inputOutput" | "inspect" | "invert" | "ip" | "kubernetesNode" | "kubernetesPod" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortLeft" | "sortRight" | "sortable" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenClass" | "tokenProperty" | "tokenEnum" | "tokenVariable" | "tokenMethod" | "tokenAnnotation" | "tokenException" | "tokenInterface" | "tokenParameter" | "tokenField" | "tokenElement" | "tokenFunction" | "tokenBoolean" | "tokenString" | "tokenArray" | "tokenNumber" | "tokenConstant" | "tokenObject" | "tokenEvent" | "tokenKey" | "tokenNull" | "tokenStruct" | "tokenPackage" | "tokenOperator" | "tokenEnumMember" | "tokenRepo" | "tokenSymbol" | "tokenFile" | "tokenModule" | "tokenNamespace" | "tokenDate" | "tokenIP" | "tokenNested" | "tokenAlias" | "tokenShape" | "tokenGeo" | "tokenRange" | "tokenBinary" | "tokenJoin" | "tokenPercolator" | "tokenFlattened" | "tokenRankFeature" | "tokenRankFeatures" | "tokenKeyword" | "tokenTag" | "tokenCompletionSuggester" | "tokenDenseVector" | "tokenText" | "tokenTokenCount" | "tokenSearchType" | "tokenHistogram" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "keyboardShortcut" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp")[];
2171
+ export const TYPES: ("string" | "number" | "function" | "link" | "menu" | "filter" | "image" | "stop" | "alert" | "document" | "grid" | "list" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crossInACircleFilled" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "documentEdit" | "documentation" | "documents" | "dot" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "exit" | "expand" | "expandMini" | "eye" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortLeft" | "sortRight" | "sortable" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDenseVector" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp")[];
2134
2172
  export type EuiIconType = keyof typeof typeToPathMap;
2135
2173
  export type IconType = EuiIconType | string | ComponentType;
2136
2174
  export type IconColor = string | NamedColor;
@@ -2173,7 +2211,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
2173
2211
  isLoading: boolean;
2174
2212
  neededLoading: boolean;
2175
2213
  }
2176
- export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "link" | "menu" | "filter" | "image" | "stop" | "alert" | "document" | "grid" | "list" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crossInACircleFilled" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "documentEdit" | "documentation" | "documents" | "dot" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "exit" | "expand" | "expandMini" | "eye" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "inputOutput" | "inspect" | "invert" | "ip" | "kubernetesNode" | "kubernetesPod" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortLeft" | "sortRight" | "sortable" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenClass" | "tokenProperty" | "tokenEnum" | "tokenVariable" | "tokenMethod" | "tokenAnnotation" | "tokenException" | "tokenInterface" | "tokenParameter" | "tokenField" | "tokenElement" | "tokenFunction" | "tokenBoolean" | "tokenString" | "tokenArray" | "tokenNumber" | "tokenConstant" | "tokenObject" | "tokenEvent" | "tokenKey" | "tokenNull" | "tokenStruct" | "tokenPackage" | "tokenOperator" | "tokenEnumMember" | "tokenRepo" | "tokenSymbol" | "tokenFile" | "tokenModule" | "tokenNamespace" | "tokenDate" | "tokenIP" | "tokenNested" | "tokenAlias" | "tokenShape" | "tokenGeo" | "tokenRange" | "tokenBinary" | "tokenJoin" | "tokenPercolator" | "tokenFlattened" | "tokenRankFeature" | "tokenRankFeatures" | "tokenKeyword" | "tokenTag" | "tokenCompletionSuggester" | "tokenDenseVector" | "tokenText" | "tokenTokenCount" | "tokenSearchType" | "tokenHistogram" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "keyboardShortcut" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp" | undefined) => void;
2214
+ export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "link" | "menu" | "filter" | "image" | "stop" | "alert" | "document" | "grid" | "list" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crossInACircleFilled" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "documentEdit" | "documentation" | "documents" | "dot" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "exit" | "expand" | "expandMini" | "eye" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortLeft" | "sortRight" | "sortable" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDenseVector" | "tokenElement" | "tokenEnum" | "tokenEnumMember" | "tokenEvent" | "tokenException" | "tokenField" | "tokenFile" | "tokenFlattened" | "tokenFunction" | "tokenGeo" | "tokenHistogram" | "tokenInterface" | "tokenIP" | "tokenJoin" | "tokenKey" | "tokenKeyword" | "tokenMethod" | "tokenMetricCounter" | "tokenMetricGauge" | "tokenModule" | "tokenNamespace" | "tokenNested" | "tokenNull" | "tokenNumber" | "tokenObject" | "tokenOperator" | "tokenPackage" | "tokenParameter" | "tokenPercolator" | "tokenProperty" | "tokenRange" | "tokenRankFeature" | "tokenRankFeatures" | "tokenRepo" | "tokenSearchType" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "logoAWS" | "logoAWSMono" | "logoAerospike" | "logoApache" | "logoAppSearch" | "logoAzure" | "logoAzureMono" | "logoBeats" | "logoBusinessAnalytics" | "logoCeph" | "logoCloud" | "logoCloudEnterprise" | "logoCode" | "logoCodesandbox" | "logoCouchbase" | "logoDocker" | "logoDropwizard" | "logoElastic" | "logoElasticStack" | "logoElasticsearch" | "logoEnterpriseSearch" | "logoEtcd" | "logoGCP" | "logoGCPMono" | "logoGithub" | "logoGmail" | "logoGolang" | "logoGoogleG" | "logoHAproxy" | "logoIBM" | "logoIBMMono" | "logoKafka" | "logoKibana" | "logoKubernetes" | "logoLogging" | "logoLogstash" | "logoMaps" | "logoMemcached" | "logoMetrics" | "logoMongodb" | "logoMySQL" | "logoNginx" | "logoObservability" | "logoOsquery" | "logoPhp" | "logoPostgres" | "logoPrometheus" | "logoRabbitmq" | "logoRedis" | "logoSecurity" | "logoSiteSearch" | "logoSketch" | "logoSlack" | "logoUptime" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp" | undefined) => void;
2177
2215
  export const appendIconComponentCache: (iconTypeToIconComponentMap: {
2178
2216
  [iconType: string]: React.ComponentType<{}>;
2179
2217
  }) => void;
@@ -4030,7 +4068,7 @@ declare module '@elastic/eui/src/themes/amsterdam/global_styling/mixins/shadow'
4030
4068
  /**
4031
4069
  * bottomShadowMedium
4032
4070
  */
4033
- export const euiShadowMedium: ({ euiTheme, colorMode }: UseEuiTheme, { color: _color }?: _EuiThemeShadowCustomColor) => string;
4071
+ export const euiShadowMedium: ({ euiTheme, colorMode }: UseEuiTheme, { color: _color, property }?: _EuiThemeShadowCustomColor) => string;
4034
4072
  /**
4035
4073
  * bottomShadow
4036
4074
  */
@@ -4162,6 +4200,15 @@ declare module '@elastic/eui/src/services/hooks/useIsWithinBreakpoints' {
4162
4200
  */
4163
4201
  export function useIsWithinBreakpoints(sizes: EuiBreakpointSize[], isActive?: boolean): boolean;
4164
4202
 
4203
+ }
4204
+ declare module '@elastic/eui/src/services/hooks/useLatest' {
4205
+ import { MutableRefObject } from 'react';
4206
+ /**
4207
+ * Wraps the given `value` into a `MutableRefObject` and keeps the `current`
4208
+ * value up-to-date on every render cycle.
4209
+ */
4210
+ export function useLatest<Value>(value: Value): MutableRefObject<Value | null>;
4211
+
4165
4212
  }
4166
4213
  declare module '@elastic/eui/src/services/throttle' {
4167
4214
  export const throttle: (fn: (...args: any[]) => void, wait?: number) => (...args: any[]) => void;
@@ -4184,6 +4231,7 @@ declare module '@elastic/eui/src/services/hooks' {
4184
4231
  export * from '@elastic/eui/src/services/hooks/useCombinedRefs';
4185
4232
  export * from '@elastic/eui/src/services/hooks/useForceRender';
4186
4233
  export * from '@elastic/eui/src/services/hooks/useIsWithinBreakpoints';
4234
+ export * from '@elastic/eui/src/services/hooks/useLatest';
4187
4235
  export * from '@elastic/eui/src/services/hooks/useMouseMove';
4188
4236
  export * from '@elastic/eui/src/services/hooks/useUpdateEffect';
4189
4237
 
@@ -4563,7 +4611,7 @@ declare module '@elastic/eui/src/components/portal/portal' {
4563
4611
  * NOTE: We can't test this component because Enzyme doesn't support rendering
4564
4612
  * into portals.
4565
4613
  */
4566
- import { Component, ReactNode } from 'react';
4614
+ import { ReactNode } from 'react';
4567
4615
  interface InsertPositionsMap {
4568
4616
  after: InsertPosition;
4569
4617
  before: InsertPosition;
@@ -4581,14 +4629,7 @@ declare module '@elastic/eui/src/components/portal/portal' {
4581
4629
  };
4582
4630
  portalRef?: (ref: HTMLDivElement | null) => void;
4583
4631
  }
4584
- export class EuiPortal extends Component<EuiPortalProps> {
4585
- portalNode: HTMLDivElement;
4586
- constructor(props: EuiPortalProps);
4587
- componentDidMount(): void;
4588
- componentWillUnmount(): void;
4589
- updatePortalRef(ref: HTMLDivElement | null): void;
4590
- render(): import("react").ReactPortal;
4591
- }
4632
+ export const EuiPortal: React.FC<EuiPortalProps>;
4592
4633
  export {};
4593
4634
 
4594
4635
  }
@@ -4882,17 +4923,103 @@ declare module '@elastic/eui/src/components/outside_click_detector' {
4882
4923
  export type { EuiOutsideClickDetectorProps } from '@elastic/eui/src/components/outside_click_detector/outside_click_detector';
4883
4924
  export { EuiOutsideClickDetector } from '@elastic/eui/src/components/outside_click_detector/outside_click_detector';
4884
4925
 
4926
+ }
4927
+ declare module '@elastic/eui/src/components/popover/popover_arrow/_popover_arrow.styles' {
4928
+ import { UseEuiTheme } from '@elastic/eui/src/services';
4929
+ export const popoverArrowSize = "m";
4930
+ export const euiPopoverArrowStyles: (euiThemeContext: UseEuiTheme) => {
4931
+ euiPopoverArrow: import("@emotion/utils").SerializedStyles;
4932
+ top: import("@emotion/utils").SerializedStyles;
4933
+ bottom: import("@emotion/utils").SerializedStyles;
4934
+ left: import("@emotion/utils").SerializedStyles;
4935
+ right: import("@emotion/utils").SerializedStyles;
4936
+ };
4937
+
4938
+ }
4939
+ declare module '@elastic/eui/src/components/popover/popover_arrow/_popover_arrow' {
4940
+ import { HTMLAttributes, FunctionComponent } from 'react';
4941
+ import { CommonProps } from '@elastic/eui/src/components/common';
4942
+ export const POSITIONS: readonly ["top", "left", "right", "bottom"];
4943
+ export type EuiPopoverArrowPositions = typeof POSITIONS[number];
4944
+ export type EuiPopoverArrowProps = HTMLAttributes<HTMLDivElement> & CommonProps & {
4945
+ position: EuiPopoverArrowPositions;
4946
+ };
4947
+ export const EuiPopoverArrow: FunctionComponent<EuiPopoverArrowProps>;
4948
+
4949
+ }
4950
+ declare module '@elastic/eui/src/components/popover/popover_arrow' {
4951
+ export type { EuiPopoverArrowProps, EuiPopoverArrowPositions, } from '@elastic/eui/src/components/popover/popover_arrow/_popover_arrow';
4952
+ export { EuiPopoverArrow } from '@elastic/eui/src/components/popover/popover_arrow/_popover_arrow';
4953
+
4954
+ }
4955
+ declare module '@elastic/eui/src/components/popover/popover.styles' {
4956
+ export const euiPopoverStyles: () => {
4957
+ euiPopover: import("@emotion/utils").SerializedStyles;
4958
+ };
4959
+
4960
+ }
4961
+ declare module '@elastic/eui/src/components/popover/popover_panel/_popover_panel.styles' {
4962
+ import { UseEuiTheme } from '@elastic/eui/src/services';
4963
+ /**
4964
+ * 1. Can expand further, but it looks weird if it's smaller than the originating button.
4965
+ * 2. Animation happens on the panel. But don't animate position when using the attached mode like for inputs
4966
+ * 3. Make sure the panel stays within the window.
4967
+ */
4968
+ export const euiPopoverPanelStyles: (euiThemeContext: UseEuiTheme) => {
4969
+ euiPopover__panel: import("@emotion/utils").SerializedStyles;
4970
+ isOpen: import("@emotion/utils").SerializedStyles;
4971
+ top: import("@emotion/utils").SerializedStyles;
4972
+ bottom: import("@emotion/utils").SerializedStyles;
4973
+ left: import("@emotion/utils").SerializedStyles;
4974
+ right: import("@emotion/utils").SerializedStyles;
4975
+ attached: {
4976
+ isOpen: import("@emotion/utils").SerializedStyles;
4977
+ top: import("@emotion/utils").SerializedStyles;
4978
+ bottom: import("@emotion/utils").SerializedStyles;
4979
+ left: import("@emotion/utils").SerializedStyles;
4980
+ right: import("@emotion/utils").SerializedStyles;
4981
+ };
4982
+ };
4983
+
4984
+ }
4985
+ declare module '@elastic/eui/src/components/popover/popover_panel/_popover_panel' {
4986
+ import React, { FunctionComponent } from 'react';
4987
+ import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
4988
+ import { _EuiPanelDivlike } from '@elastic/eui/src/components/panel/panel';
4989
+ import { EuiPopoverArrowPositions } from '@elastic/eui/src/components/popover/popover_arrow';
4990
+ interface ContextShape {
4991
+ paddingSize: EuiPaddingSize;
4992
+ }
4993
+ export const EuiPopoverPanelContext: React.Context<ContextShape>;
4994
+ export type EuiPopoverPanelProps = _EuiPanelDivlike; type EuiPopoverPanelInternalProps = {
4995
+ isOpen?: boolean;
4996
+ isAttached?: boolean;
4997
+ position?: EuiPopoverArrowPositions | null;
4998
+ };
4999
+ /**
5000
+ * *INTERNAL ONLY*
5001
+ * Purely for re-use of styling
5002
+ */
5003
+ export const EuiPopoverPanel: FunctionComponent<EuiPopoverPanelProps & EuiPopoverPanelInternalProps>;
5004
+ export {};
5005
+
5006
+ }
5007
+ declare module '@elastic/eui/src/components/popover/popover_panel' {
5008
+ export { EuiPopoverPanel } from '@elastic/eui/src/components/popover/popover_panel/_popover_panel';
5009
+
4885
5010
  }
4886
5011
  declare module '@elastic/eui/src/components/popover/popover' {
4887
5012
  import { Component, KeyboardEvent, CSSProperties, HTMLAttributes, ReactNode, Ref, RefCallback } from 'react';
4888
5013
  import { CommonProps, NoArgCallback } from '@elastic/eui/src/components/common';
4889
5014
  import { FocusTarget, EuiFocusTrapProps } from '@elastic/eui/src/components/focus_trap';
4890
5015
  import { ReactFocusOnProps } from 'react-focus-on/dist/es5/types';
4891
- import { PanelPaddingSize, EuiPanelProps } from '@elastic/eui/src/components/panel';
4892
5016
  import { EuiPopoverPosition } from '@elastic/eui/src/services/popover';
5017
+ import { EuiPopoverArrowPositions } from '@elastic/eui/src/components/popover/popover_arrow';
5018
+ import { EuiPopoverPanelProps } from '@elastic/eui/src/components/popover/popover_panel/_popover_panel';
5019
+ import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
4893
5020
  export const popoverAnchorPosition: readonly ["upCenter", "upLeft", "upRight", "downCenter", "downLeft", "downRight", "leftCenter", "leftUp", "leftDown", "rightCenter", "rightUp", "rightDown"];
4894
5021
  export type PopoverAnchorPosition = typeof popoverAnchorPosition[number];
4895
- export interface EuiPopoverProps {
5022
+ export interface EuiPopoverProps extends CommonProps {
4896
5023
  /**
4897
5024
  * Class name passed to the direct parent of the button
4898
5025
  */
@@ -4923,7 +5050,7 @@ declare module '@elastic/eui/src/components/popover/popover' {
4923
5050
  /**
4924
5051
  * CSS display type for both the popover and anchor
4925
5052
  */
4926
- display?: keyof typeof displayToClassNameMap;
5053
+ display?: CSSProperties['display'];
4927
5054
  /**
4928
5055
  * Object of props passed to EuiFocusTrap
4929
5056
  */
@@ -4936,11 +5063,11 @@ declare module '@elastic/eui/src/components/popover/popover' {
4936
5063
  * Specifies what element should initially have focus; Can be a DOM
4937
5064
  * node, or a selector string (which will be passed to
4938
5065
  * document.querySelector() to find the DOM node), or a function that
4939
- * returns a DOM node
4940
- * Set to `false` to prevent initial auto-focus. Use only
4941
- * when your app handles setting initial focus state.
5066
+ * returns a DOM node.
5067
+ *
5068
+ * If not passed, initial focus defaults to the popover panel.
4942
5069
  */
4943
- initialFocus?: FocusTarget | false;
5070
+ initialFocus?: FocusTarget;
4944
5071
  /**
4945
5072
  * Passed directly to EuiPortal for DOM positioning. Both properties are
4946
5073
  * required if prop is specified
@@ -4964,15 +5091,15 @@ declare module '@elastic/eui/src/components/popover/popover' {
4964
5091
  /**
4965
5092
  * EuiPanel padding on all sides
4966
5093
  */
4967
- panelPaddingSize?: PanelPaddingSize;
5094
+ panelPaddingSize?: EuiPaddingSize;
4968
5095
  /**
4969
5096
  * Standard DOM `style` attribute. Passed to the EuiPanel
4970
5097
  */
4971
5098
  panelStyle?: CSSProperties;
4972
5099
  /**
4973
- * Object of props passed to EuiPanel
5100
+ * Object of props passed to EuiPanel. See #EuiPopoverPanelProps
4974
5101
  */
4975
- panelProps?: Omit<EuiPanelProps, 'style'>;
5102
+ panelProps?: Omit<EuiPopoverPanelProps, 'style'>;
4976
5103
  panelRef?: RefCallback<HTMLElement | null>;
4977
5104
  /**
4978
5105
  * Optional screen reader instructions to announce upon popover open,
@@ -5024,12 +5151,7 @@ declare module '@elastic/eui/src/components/popover/popover' {
5024
5151
  }
5025
5152
  export function getPopoverPositionFromAnchorPosition(anchorPosition: PopoverAnchorPosition): EuiPopoverPosition;
5026
5153
  export function getPopoverAlignFromAnchorPosition(anchorPosition: PopoverAnchorPosition): EuiPopoverPosition;
5027
- export const ANCHOR_POSITIONS: string[]; const displayToClassNameMap: {
5028
- inlineBlock: undefined;
5029
- block: string;
5030
- };
5031
- export const DISPLAY: string[];
5032
- export type Props = CommonProps & HTMLAttributes<HTMLDivElement> & EuiPopoverProps;
5154
+ export type Props = EuiPopoverProps & HTMLAttributes<HTMLDivElement>;
5033
5155
  interface State {
5034
5156
  prevProps: {
5035
5157
  isOpen?: boolean;
@@ -5039,17 +5161,15 @@ declare module '@elastic/eui/src/components/popover/popover' {
5039
5161
  isOpening: boolean;
5040
5162
  popoverStyles: CSSProperties;
5041
5163
  arrowStyles?: CSSProperties;
5042
- arrowPosition: any;
5164
+ arrowPosition: EuiPopoverArrowPositions | null;
5043
5165
  openPosition: any;
5044
5166
  isOpenStable: boolean;
5045
5167
  } type PropsWithDefaults = Props & {
5046
5168
  anchorPosition: PopoverAnchorPosition;
5047
- /** CSS display type for both the popover and anchor */
5048
- display: keyof typeof displayToClassNameMap;
5049
5169
  hasArrow: boolean;
5050
5170
  isOpen: boolean;
5051
5171
  ownFocus: boolean;
5052
- panelPaddingSize: PanelPaddingSize;
5172
+ panelPaddingSize: EuiPaddingSize;
5053
5173
  };
5054
5174
  export class EuiPopover extends Component<Props, State> {
5055
5175
  static defaultProps: Partial<PropsWithDefaults>;
@@ -5058,10 +5178,8 @@ declare module '@elastic/eui/src/components/popover/popover' {
5058
5178
  private strandedFocusTimeout;
5059
5179
  private closingTransitionTimeout;
5060
5180
  private closingTransitionAnimationFrame;
5061
- private updateFocusAnimationFrame;
5062
5181
  private button;
5063
5182
  private panel;
5064
- private hasSetInitialFocus;
5065
5183
  private descriptionId;
5066
5184
  constructor(props: Props);
5067
5185
  closePopover: () => void;
@@ -5069,7 +5187,6 @@ declare module '@elastic/eui/src/components/popover/popover' {
5069
5187
  handleStrandedFocus: () => void;
5070
5188
  onKeyDown: (event: KeyboardEvent) => void;
5071
5189
  onClickOutside: (event: Event) => void;
5072
- updateFocus(): void;
5073
5190
  onOpenPopover: () => void;
5074
5191
  componentDidMount(): void;
5075
5192
  componentDidUpdate(prevProps: Props): void;
@@ -5118,6 +5235,11 @@ declare module '@elastic/eui/src/components/observer/resize_observer' {
5118
5235
  export type { EuiResizeObserverProps } from '@elastic/eui/src/components/observer/resize_observer/resize_observer';
5119
5236
  export { EuiResizeObserver, useResizeObserver } from '@elastic/eui/src/components/observer/resize_observer/resize_observer';
5120
5237
 
5238
+ }
5239
+ declare module '@elastic/eui/src/components/form/form.styles' {
5240
+ import { UseEuiTheme } from '@elastic/eui/src/services';
5241
+ export const euiFormMaxWidth: ({ euiTheme }: UseEuiTheme) => string;
5242
+
5121
5243
  }
5122
5244
  declare module '@elastic/eui/src/components/popover/input_popover' {
5123
5245
  import { FunctionComponent, HTMLAttributes } from 'react';
@@ -5133,39 +5255,53 @@ declare module '@elastic/eui/src/components/popover/input_popover' {
5133
5255
  export type EuiInputPopoverProps = CommonProps & HTMLAttributes<HTMLDivElement> & _EuiInputPopoverProps;
5134
5256
  export const EuiInputPopover: FunctionComponent<EuiInputPopoverProps>;
5135
5257
 
5258
+ }
5259
+ declare module '@elastic/eui/src/components/popover/popover_title.styles' {
5260
+ import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
5261
+ import { UseEuiTheme } from '@elastic/eui/src/services';
5262
+ export const euiPopoverTitleStyles: (euiThemeContext: UseEuiTheme, panelPadding: EuiPaddingSize) => {
5263
+ euiPopoverTitle: import("@emotion/utils").SerializedStyles;
5264
+ };
5265
+
5136
5266
  }
5137
5267
  declare module '@elastic/eui/src/components/popover/popover_title' {
5138
5268
  import { HTMLAttributes, FunctionComponent } from 'react';
5269
+ import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
5139
5270
  import { CommonProps } from '@elastic/eui/src/components/common';
5140
- import { PanelPaddingSize } from '@elastic/eui/src/components/panel';
5141
5271
  export type EuiPopoverTitleProps = FunctionComponent<HTMLAttributes<HTMLDivElement> & CommonProps & {
5142
5272
  /**
5143
5273
  * Customize the all around padding of the popover title.
5144
5274
  * Leave `undefined` to inherit from the `panelPaddingSize` of the containing EuiPopover
5145
5275
  */
5146
- paddingSize?: PanelPaddingSize;
5276
+ paddingSize?: EuiPaddingSize;
5147
5277
  }>;
5148
- export const PADDING_SIZES: ("s" | "none" | "m" | "l")[];
5149
5278
  export const EuiPopoverTitle: EuiPopoverTitleProps;
5150
5279
 
5280
+ }
5281
+ declare module '@elastic/eui/src/components/popover/popover_footer.styles' {
5282
+ import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
5283
+ import { UseEuiTheme } from '@elastic/eui/src/services';
5284
+ export const euiPopoverFooterStyles: (euiThemeContext: UseEuiTheme, panelPadding: EuiPaddingSize) => {
5285
+ euiPopoverFooter: import("@emotion/utils").SerializedStyles;
5286
+ };
5287
+
5151
5288
  }
5152
5289
  declare module '@elastic/eui/src/components/popover/popover_footer' {
5153
5290
  import { HTMLAttributes, FunctionComponent } from 'react';
5291
+ import { EuiPaddingSize } from '@elastic/eui/src/global_styling';
5154
5292
  import { CommonProps } from '@elastic/eui/src/components/common';
5155
- import { PanelPaddingSize } from '@elastic/eui/src/components/panel';
5156
5293
  export type EuiPopoverFooterProps = FunctionComponent<HTMLAttributes<HTMLDivElement> & CommonProps & {
5157
5294
  /**
5158
5295
  * Customize the all around padding of the popover footer.
5159
5296
  * Leave `undefined` to inherit from the `panelPaddingSize` of the containing EuiPopover
5160
5297
  */
5161
- paddingSize?: PanelPaddingSize;
5298
+ paddingSize?: EuiPaddingSize;
5162
5299
  }>;
5163
- export const PADDING_SIZES: ("s" | "none" | "m" | "l")[];
5164
5300
  export const EuiPopoverFooter: EuiPopoverFooterProps;
5165
5301
 
5166
5302
  }
5167
5303
  declare module '@elastic/eui/src/components/popover/wrapping_popover' {
5168
- import { Component } from 'react';
5304
+ import { FunctionComponent } from 'react';
5169
5305
  import { Props as EuiPopoverProps } from '@elastic/eui/src/components/popover/popover';
5170
5306
  export interface EuiWrappingPopoverProps extends EuiPopoverProps {
5171
5307
  button: HTMLElement;
@@ -5175,15 +5311,7 @@ declare module '@elastic/eui/src/components/popover/wrapping_popover' {
5175
5311
  * then the button element is moved into the popover dom.
5176
5312
  * On unmount, the button is moved back to its original location.
5177
5313
  */
5178
- export class EuiWrappingPopover extends Component<EuiWrappingPopoverProps> {
5179
- private portal;
5180
- private anchor;
5181
- componentDidMount(): void;
5182
- componentWillUnmount(): void;
5183
- setPortalRef: (node: HTMLElement | null) => void;
5184
- setAnchorRef: (node: HTMLElement | null) => void;
5185
- render(): JSX.Element;
5186
- }
5314
+ export const EuiWrappingPopover: FunctionComponent<EuiWrappingPopoverProps>;
5187
5315
 
5188
5316
  }
5189
5317
  declare module '@elastic/eui/src/components/popover' {
@@ -8582,12 +8710,12 @@ declare module '@elastic/eui/src/components/combo_box/types' {
8582
8710
  declare module '@elastic/eui/src/components/combo_box/combo_box_options_list/combo_box_options_list' {
8583
8711
  import { Component, ComponentProps, ReactNode, RefCallback } from 'react';
8584
8712
  import { FixedSizeList, ListProps, ListChildComponentProps } from 'react-window';
8585
- import { EuiPanel } from '@elastic/eui/src/components/panel';
8586
8713
  import { EuiFilterSelectItem } from '@elastic/eui/src/components/filter_group/filter_select_item';
8587
8714
  import { htmlIdGenerator } from '@elastic/eui/src/services';
8588
8715
  import { EuiComboBoxOptionOption, EuiComboBoxOptionsListPosition, EuiComboBoxSingleSelectionShape, OptionHandler, RefInstance, UpdatePositionHandler } from '@elastic/eui/src/components/combo_box/types';
8589
8716
  import { CommonProps } from '@elastic/eui/src/components/common';
8590
- export type EuiComboBoxOptionsListProps<T> = CommonProps & ComponentProps<typeof EuiPanel> & {
8717
+ import { EuiPopoverPanel } from '@elastic/eui/src/components/popover/popover_panel';
8718
+ export type EuiComboBoxOptionsListProps<T> = CommonProps & ComponentProps<typeof EuiPopoverPanel> & {
8591
8719
  'data-test-subj': string;
8592
8720
  activeOptionIndex?: number;
8593
8721
  areAllOptionsSelected?: boolean;
@@ -9019,13 +9147,156 @@ declare module '@elastic/eui/src/components/combo_box' {
9019
9147
  export * from '@elastic/eui/src/components/combo_box/combo_box_options_list';
9020
9148
  export type { EuiComboBoxOptionOption, EuiComboBoxOptionsListPosition, EuiComboBoxSingleSelectionShape, } from '@elastic/eui/src/components/combo_box/types';
9021
9149
 
9150
+ }
9151
+ declare module '@elastic/eui/src/components/timeline/timeline_item_event.styles' {
9152
+ export const euiTimelineItemEventStyles: () => {
9153
+ euiTimelineItemEvent: import("@emotion/utils").SerializedStyles;
9154
+ top: import("@emotion/utils").SerializedStyles;
9155
+ center: import("@emotion/utils").SerializedStyles;
9156
+ };
9157
+
9158
+ }
9159
+ declare module '@elastic/eui/src/components/timeline/timeline_item_event' {
9160
+ import { FunctionComponent, ReactNode } from 'react';
9161
+ import { EuiTimelineItemVerticalAlign } from '@elastic/eui/src/components/timeline/timeline_item';
9162
+ export interface EuiTimelineItemEventProps {
9163
+ /**
9164
+ * Accepts any node. But preferably `EuiPanel`
9165
+ */
9166
+ children: ReactNode;
9167
+ verticalAlign?: EuiTimelineItemVerticalAlign;
9168
+ }
9169
+ export const EuiTimelineItemEvent: FunctionComponent<EuiTimelineItemEventProps>;
9170
+
9171
+ }
9172
+ declare module '@elastic/eui/src/components/timeline/timeline_item_icon.styles' {
9173
+ import { UseEuiTheme } from '@elastic/eui/src/services';
9174
+ export const euiTimelineItemIconStyles: ({ euiTheme }: UseEuiTheme) => {
9175
+ euiTimelineItemIcon: import("@emotion/utils").SerializedStyles;
9176
+ euiTimelineItemIcon__content: import("@emotion/utils").SerializedStyles;
9177
+ top: import("@emotion/utils").SerializedStyles;
9178
+ center: import("@emotion/utils").SerializedStyles;
9179
+ };
9180
+
9181
+ }
9182
+ declare module '@elastic/eui/src/components/timeline/timeline_item_icon' {
9183
+ import { FunctionComponent, ReactNode } from 'react';
9184
+ import { IconType } from '@elastic/eui/src/components/icon';
9185
+ import { EuiTimelineItemVerticalAlign } from '@elastic/eui/src/components/timeline/timeline_item';
9186
+ export interface EuiTimelineItemIconProps {
9187
+ /**
9188
+ * Any `ReactNode`, but preferably `EuiAvatar`, or a `string` as an `EuiIcon['type']`.
9189
+ */
9190
+ icon: ReactNode | IconType;
9191
+ verticalAlign?: EuiTimelineItemVerticalAlign;
9192
+ /**
9193
+ * Specify an `aria-label` for the icon when passed as an `IconType`.
9194
+ * If no `aria-label` is passed we assume the icon is purely decorative.
9195
+ */
9196
+ iconAriaLabel?: string;
9197
+ }
9198
+ export const EuiTimelineItemIcon: FunctionComponent<EuiTimelineItemIconProps>;
9199
+
9200
+ }
9201
+ declare module '@elastic/eui/src/components/timeline/timeline_item.styles' {
9202
+ export const euiTimelineItemStyles: () => {
9203
+ euiTimelineItem: import("@emotion/utils").SerializedStyles;
9204
+ top: import("@emotion/utils").SerializedStyles;
9205
+ center: import("@emotion/utils").SerializedStyles;
9206
+ };
9207
+
9208
+ }
9209
+ declare module '@elastic/eui/src/components/timeline/timeline_item' {
9210
+ import { FunctionComponent, HTMLAttributes } from 'react';
9211
+ import { CommonProps } from '@elastic/eui/src/components/common';
9212
+ import { EuiTimelineItemEventProps } from '@elastic/eui/src/components/timeline/timeline_item_event';
9213
+ import { EuiTimelineItemIconProps } from '@elastic/eui/src/components/timeline/timeline_item_icon';
9214
+ export const VERTICAL_ALIGN: readonly ["top", "center"];
9215
+ export type EuiTimelineItemVerticalAlign = typeof VERTICAL_ALIGN[number];
9216
+ export interface EuiTimelineItemProps extends Omit<HTMLAttributes<HTMLElement>, 'children'>, CommonProps, Omit<EuiTimelineItemIconProps, 'verticalAlign'>, Omit<EuiTimelineItemEventProps, 'verticalAlign'> {
9217
+ /**
9218
+ * Vertical alignment of the event with the icon
9219
+ */
9220
+ verticalAlign?: EuiTimelineItemVerticalAlign;
9221
+ }
9222
+ export const EuiTimelineItem: FunctionComponent<EuiTimelineItemProps>;
9223
+
9224
+ }
9225
+ declare module '@elastic/eui/src/components/timeline/timeline.styles' {
9226
+ import { UseEuiTheme } from '@elastic/eui/src/services';
9227
+ export const euiTimelineStyles: ({ euiTheme }: UseEuiTheme) => {
9228
+ euiTimeline: import("@emotion/utils").SerializedStyles;
9229
+ m: import("@emotion/utils").SerializedStyles;
9230
+ l: import("@emotion/utils").SerializedStyles;
9231
+ xl: import("@emotion/utils").SerializedStyles;
9232
+ };
9233
+
9234
+ }
9235
+ declare module '@elastic/eui/src/components/timeline/timeline' {
9236
+ import { HTMLAttributes, FunctionComponent } from 'react';
9237
+ import { CommonProps } from '@elastic/eui/src/components/common';
9238
+ import { EuiTimelineItemProps } from '@elastic/eui/src/components/timeline/timeline_item';
9239
+ export const GUTTER_SIZES: readonly ["m", "l", "xl"];
9240
+ export type EuiTimelineGutterSize = typeof GUTTER_SIZES[number];
9241
+ export interface EuiTimelineProps extends HTMLAttributes<HTMLOListElement>, CommonProps {
9242
+ /**
9243
+ * List of timeline items to render. See #EuiTimelineItem
9244
+ */
9245
+ items?: EuiTimelineItemProps[];
9246
+ /**
9247
+ * Sets the size of the vertical space between each timeline item
9248
+ */
9249
+ gutterSize?: EuiTimelineGutterSize;
9250
+ }
9251
+ export const EuiTimeline: FunctionComponent<EuiTimelineProps>;
9252
+
9253
+ }
9254
+ declare module '@elastic/eui/src/components/timeline' {
9255
+ export type { EuiTimelineProps } from '@elastic/eui/src/components/timeline/timeline';
9256
+ export { EuiTimeline } from '@elastic/eui/src/components/timeline/timeline';
9257
+ export type { EuiTimelineItemProps, EuiTimelineItemVerticalAlign, } from '@elastic/eui/src/components/timeline/timeline_item';
9258
+ export { EuiTimelineItem } from '@elastic/eui/src/components/timeline/timeline_item';
9259
+ export { EuiTimelineItemEvent } from '@elastic/eui/src/components/timeline/timeline_item_event';
9260
+ export { EuiTimelineItemIcon } from '@elastic/eui/src/components/timeline/timeline_item_icon';
9261
+
9262
+ }
9263
+ declare module '@elastic/eui/src/components/comment_list/comment_event.styles' {
9264
+ import { UseEuiTheme } from '@elastic/eui/src/services';
9265
+ export const euiCommentEventStyles: ({ euiTheme }: UseEuiTheme) => {
9266
+ euiCommentEvent: import("@emotion/utils").SerializedStyles;
9267
+ regular: import("@emotion/utils").SerializedStyles;
9268
+ update: import("@emotion/utils").SerializedStyles;
9269
+ custom: import("@emotion/utils").SerializedStyles;
9270
+ };
9271
+ export const euiCommentEventHeaderStyles: ({ euiTheme }: UseEuiTheme) => {
9272
+ euiCommentEvent__header: import("@emotion/utils").SerializedStyles;
9273
+ euiCommentEvent__headerPanel: import("@emotion/utils").SerializedStyles;
9274
+ euiCommentEvent__headerMain: import("@emotion/utils").SerializedStyles;
9275
+ euiCommentEvent__headerData: import("@emotion/utils").SerializedStyles;
9276
+ euiCommentEvent__headerEventIcon: import("@emotion/utils").SerializedStyles;
9277
+ euiCommentEvent__headerUsername: import("@emotion/utils").SerializedStyles;
9278
+ euiCommentEvent__headerEvent: import("@emotion/utils").SerializedStyles;
9279
+ euiCommentEvent__headerTimestamp: import("@emotion/utils").SerializedStyles;
9280
+ euiCommentEvent__headerActions: import("@emotion/utils").SerializedStyles;
9281
+ regular: import("@emotion/utils").SerializedStyles;
9282
+ hasEventColor: import("@emotion/utils").SerializedStyles;
9283
+ };
9284
+ export const euiCommentEventBodyStyles: ({ euiTheme }: UseEuiTheme) => {
9285
+ euiCommentEvent__body: import("@emotion/utils").SerializedStyles;
9286
+ regular: import("@emotion/utils").SerializedStyles;
9287
+ update: import("@emotion/utils").SerializedStyles;
9288
+ custom: import("@emotion/utils").SerializedStyles;
9289
+ };
9290
+
9022
9291
  }
9023
9292
  declare module '@elastic/eui/src/components/comment_list/comment_event' {
9024
9293
  import { FunctionComponent, ReactNode } from 'react';
9025
9294
  import { CommonProps } from '@elastic/eui/src/components/common';
9295
+ import { IconType } from '@elastic/eui/src/components/icon';
9296
+ import { EuiPanelProps } from '@elastic/eui/src/components/panel';
9026
9297
  export interface EuiCommentEventProps extends CommonProps {
9027
9298
  /**
9028
- * Author of the comment. Display a small icon or avatar with it if needed.
9299
+ * Author of the comment.
9029
9300
  */
9030
9301
  username: ReactNode;
9031
9302
  /**
@@ -9039,59 +9310,70 @@ declare module '@elastic/eui/src/components/comment_list/comment_event' {
9039
9310
  /**
9040
9311
  * Custom actions that the user can perform from the comment's header
9041
9312
  */
9042
- actions?: ReactNode;
9313
+ actions?: ReactNode | ReactNode[];
9043
9314
  /**
9044
- * Use "update" when the comment is primarily showing info about actions that the user or the system has performed (e.g. "user1 edited a case").
9315
+ * Accepts any ReactNode. Renders in a panel within the comment event.
9045
9316
  */
9046
- type?: EuiCommentType;
9047
- } const typeToClassNameMap: {
9048
- regular: string;
9049
- update: string;
9050
- };
9051
- export const TYPES: ("regular" | "update")[];
9052
- export type EuiCommentType = keyof typeof typeToClassNameMap;
9317
+ children?: ReactNode;
9318
+ /**
9319
+ * Custom icon that shows before the username.
9320
+ */
9321
+ eventIcon?: IconType;
9322
+ /**
9323
+ * Specify an `aria-label` for the `eventIcon`.
9324
+ * If no `aria-label` is passed we assume the icon is purely decorative.
9325
+ */
9326
+ eventIconAriaLabel?: string;
9327
+ /**
9328
+ * Background color for the comment's header.
9329
+ */
9330
+ eventColor?: EuiPanelProps['color'];
9331
+ }
9053
9332
  export const EuiCommentEvent: FunctionComponent<EuiCommentEventProps>;
9054
- export {};
9055
9333
 
9056
9334
  }
9057
9335
  declare module '@elastic/eui/src/components/comment_list/comment_timeline' {
9058
9336
  import { FunctionComponent, ReactNode } from 'react';
9059
9337
  import { CommonProps } from '@elastic/eui/src/components/common';
9060
- import { IconType } from '@elastic/eui/src/components/icon';
9338
+ import { EuiAvatarProps } from '@elastic/eui/src/components/avatar';
9061
9339
  export interface EuiCommentTimelineProps extends CommonProps {
9062
9340
  /**
9063
- * Main icon that accompanies the comment. The default is `user` for regular comments and `dot` for update comments. To customize, pass a `string` as an `EuiIcon['type']` or any `ReactNode`.
9341
+ * Main avatar that accompanies the comment. Should indicate who is the author of the comment.
9342
+ * Any `ReactNode`, but preferably `EuiAvatar`, or a `string` as an `EuiAvatarProps['iconType']`.
9343
+ * If no `timelineAvatar` is passed, the `userAvatar` icon will be used as the avatar.
9064
9344
  */
9065
- timelineIcon?: ReactNode | IconType;
9066
- type?: EuiCommentType;
9067
- } const typeToClassNameMap: {
9068
- regular: string;
9069
- update: string;
9070
- };
9071
- export const TYPES: ("regular" | "update")[];
9072
- export type EuiCommentType = keyof typeof typeToClassNameMap;
9345
+ timelineAvatar?: ReactNode | EuiAvatarProps['iconType'];
9346
+ /**
9347
+ * Specify an `aria-label` and `title` for the `timelineAvatar` when passed as an `IconType` or when nothing is passed.
9348
+ * If no `timelineAvatarAriaLabel` is passed we assume the avatar is purely decorative.
9349
+ */
9350
+ timelineAvatarAriaLabel?: string;
9351
+ }
9073
9352
  export const EuiCommentTimeline: FunctionComponent<EuiCommentTimelineProps>;
9074
- export {};
9075
9353
 
9076
9354
  }
9077
9355
  declare module '@elastic/eui/src/components/comment_list/comment' {
9078
- import { FunctionComponent, HTMLAttributes } from 'react';
9356
+ import { FunctionComponent } from 'react';
9079
9357
  import { EuiCommentEventProps } from '@elastic/eui/src/components/comment_list/comment_event';
9080
9358
  import { EuiCommentTimelineProps } from '@elastic/eui/src/components/comment_list/comment_timeline';
9081
- export interface EuiCommentProps extends HTMLAttributes<HTMLDivElement>, EuiCommentEventProps, EuiCommentTimelineProps {
9359
+ export interface EuiCommentProps extends EuiCommentEventProps, EuiCommentTimelineProps {
9082
9360
  }
9083
9361
  export const EuiComment: FunctionComponent<EuiCommentProps>;
9084
9362
 
9085
9363
  }
9086
9364
  declare module '@elastic/eui/src/components/comment_list/comment_list' {
9087
- import { HTMLAttributes, FunctionComponent } from 'react';
9088
- import { CommonProps } from '@elastic/eui/src/components/common';
9365
+ import { FunctionComponent } from 'react';
9089
9366
  import { EuiCommentProps } from '@elastic/eui/src/components/comment_list/comment';
9090
- export type EuiCommentListProps = HTMLAttributes<HTMLDivElement> & CommonProps & {
9367
+ import { EuiTimelineProps } from '@elastic/eui/src/components/timeline';
9368
+ export type EuiCommentListProps = Omit<EuiTimelineProps, 'items' | 'gutterSize'> & {
9091
9369
  /**
9092
9370
  * List of comments to render. See #EuiComment
9093
9371
  */
9094
9372
  comments?: EuiCommentProps[];
9373
+ /**
9374
+ * Sets the size of the vertical space between each comment
9375
+ */
9376
+ gutterSize?: EuiTimelineProps['gutterSize'];
9095
9377
  };
9096
9378
  export const EuiCommentList: FunctionComponent<EuiCommentListProps>;
9097
9379
 
@@ -9099,7 +9381,7 @@ declare module '@elastic/eui/src/components/comment_list/comment_list' {
9099
9381
  declare module '@elastic/eui/src/components/comment_list' {
9100
9382
  export type { EuiCommentProps } from '@elastic/eui/src/components/comment_list/comment';
9101
9383
  export { EuiComment } from '@elastic/eui/src/components/comment_list/comment';
9102
- export type { EuiCommentType } from '@elastic/eui/src/components/comment_list/comment_event';
9384
+ export type { EuiCommentEventProps } from '@elastic/eui/src/components/comment_list/comment_event';
9103
9385
  export { EuiCommentEvent } from '@elastic/eui/src/components/comment_list/comment_event';
9104
9386
  export { EuiCommentTimeline } from '@elastic/eui/src/components/comment_list/comment_timeline';
9105
9387
  export type { EuiCommentListProps } from '@elastic/eui/src/components/comment_list/comment_list';
@@ -9493,13 +9775,15 @@ declare module '@elastic/eui/src/components/datagrid/utils/sorting' {
9493
9775
 
9494
9776
  }
9495
9777
  declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
9496
- import { CSSProperties } from 'react';
9497
- import type { VariableSizeGrid as Grid } from 'react-window';
9498
- import { EuiDataGridStyleCellPaddings, EuiDataGridStyle, EuiDataGridRowHeightOption, EuiDataGridRowHeightsOptions, EuiDataGridColumn } from '@elastic/eui/src/components/datagrid/data_grid_types';
9778
+ import { CSSProperties, MutableRefObject } from 'react';
9779
+ import { EuiDataGridStyleCellPaddings, EuiDataGridStyle, EuiDataGridRowHeightOption, EuiDataGridRowHeightsOptions, EuiDataGridColumn, ImperativeGridApi } from '@elastic/eui/src/components/datagrid/data_grid_types';
9499
9780
  export const cellPaddingsMap: Record<EuiDataGridStyleCellPaddings, number>;
9500
9781
  export const AUTO_HEIGHT = "auto";
9501
9782
  export const DEFAULT_ROW_HEIGHT = 34;
9502
9783
  export class RowHeightUtils {
9784
+ private gridRef;
9785
+ private rerenderGridBodyRef;
9786
+ constructor(gridRef: MutableRefObject<ImperativeGridApi | null>, rerenderGridBodyRef: MutableRefObject<(() => void) | null>);
9503
9787
  getRowHeightOption(rowIndex: number, rowHeightsOptions?: EuiDataGridRowHeightsOptions): EuiDataGridRowHeightOption | undefined;
9504
9788
  isRowHeightOverride(rowIndex: number, rowHeightsOptions?: EuiDataGridRowHeightsOptions): boolean;
9505
9789
  getCalculatedHeight(heightOption: EuiDataGridRowHeightOption, defaultHeight: number, rowIndex?: number, isRowHeightOverride?: boolean): number;
@@ -9519,24 +9803,20 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
9519
9803
  */
9520
9804
  private heightsCache;
9521
9805
  private timerId?;
9522
- private grid?;
9523
9806
  private lastUpdatedRow;
9524
- private rerenderGridBody;
9525
9807
  isAutoHeight(rowIndex: number, rowHeightsOptions?: EuiDataGridRowHeightsOptions): boolean;
9526
9808
  getRowHeight(rowIndex: number): number;
9527
9809
  setRowHeight(rowIndex: number, colId: string, height: number | undefined, visibleRowIndex: number): void;
9528
9810
  pruneHiddenColumnHeights(visibleColumns: EuiDataGridColumn[]): void;
9529
9811
  resetRow(visibleRowIndex: number): void;
9530
9812
  resetGrid(): void;
9531
- setGrid(grid: Grid): void;
9532
- setRerenderGridBody(rerenderGridBody: Function): void;
9533
9813
  }
9534
9814
  /**
9535
9815
  * Hook for instantiating RowHeightUtils, setting internal class vars,
9536
9816
  * and setting up various row-height-related side effects
9537
9817
  */
9538
9818
  export const useRowHeightUtils: ({ gridRef, gridStyles, columns, rowHeightsOptions, }: {
9539
- gridRef: Grid | null;
9819
+ gridRef: MutableRefObject<ImperativeGridApi | null>;
9540
9820
  gridStyles: EuiDataGridStyle;
9541
9821
  columns: EuiDataGridColumn[];
9542
9822
  rowHeightsOptions?: EuiDataGridRowHeightsOptions | undefined;
@@ -9553,7 +9833,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
9553
9833
  }
9554
9834
  declare module '@elastic/eui/src/components/token/token_map' {
9555
9835
  import { TokenProps } from '@elastic/eui/src/components/token/token';
9556
- export type EuiTokenMapType = 'tokenAnnotation' | 'tokenArray' | 'tokenBoolean' | 'tokenClass' | 'tokenConstant' | 'tokenElement' | 'tokenEnum' | 'tokenEnumMember' | 'tokenEvent' | 'tokenException' | 'tokenField' | 'tokenFile' | 'tokenFunction' | 'tokenInterface' | 'tokenKey' | 'tokenMethod' | 'tokenModule' | 'tokenNamespace' | 'tokenNull' | 'tokenNumber' | 'tokenObject' | 'tokenOperator' | 'tokenPackage' | 'tokenParameter' | 'tokenProperty' | 'tokenRepo' | 'tokenString' | 'tokenStruct' | 'tokenDate' | 'tokenIP' | 'tokenNested' | 'tokenAlias' | 'tokenShape' | 'tokenGeo' | 'tokenRange' | 'tokenSymbol' | 'tokenVariable' | 'tokenBinary' | 'tokenJoin' | 'tokenPercolator' | 'tokenFlattened' | 'tokenRankFeature' | 'tokenRankFeatures' | 'tokenKeyword' | 'tokenTag' | 'tokenCompletionSuggester' | 'tokenDenseVector' | 'tokenText' | 'tokenTokenCount' | 'tokenSearchType' | 'tokenHistogram';
9836
+ export type EuiTokenMapType = 'tokenAlias' | 'tokenAnnotation' | 'tokenArray' | 'tokenBinary' | 'tokenBoolean' | 'tokenClass' | 'tokenCompletionSuggester' | 'tokenConstant' | 'tokenDate' | 'tokenDenseVector' | 'tokenElement' | 'tokenEnum' | 'tokenEnumMember' | 'tokenEvent' | 'tokenException' | 'tokenField' | 'tokenFile' | 'tokenFlattened' | 'tokenFunction' | 'tokenGeo' | 'tokenHistogram' | 'tokenInterface' | 'tokenIP' | 'tokenJoin' | 'tokenKey' | 'tokenKeyword' | 'tokenMethod' | 'tokenMetricCounter' | 'tokenMetricGauge' | 'tokenModule' | 'tokenNamespace' | 'tokenNested' | 'tokenNull' | 'tokenNumber' | 'tokenObject' | 'tokenOperator' | 'tokenPackage' | 'tokenParameter' | 'tokenPercolator' | 'tokenProperty' | 'tokenRange' | 'tokenRankFeature' | 'tokenRankFeatures' | 'tokenRepo' | 'tokenSearchType' | 'tokenShape' | 'tokenString' | 'tokenStruct' | 'tokenSymbol' | 'tokenTag' | 'tokenText' | 'tokenTokenCount' | 'tokenVariable';
9557
9837
  /**
9558
9838
  * Most of the style combinations for tokens are semi-arbitrary. However, there was an effort
9559
9839
  * to use the square shape for more common token types like string and number. Reserving the
@@ -10789,8 +11069,20 @@ declare module '@elastic/eui/src/components/datagrid/body/header/data_grid_colum
10789
11069
  }
10790
11070
  declare module '@elastic/eui/src/components/datagrid/body/header/data_grid_header_cell' {
10791
11071
  import React, { FunctionComponent } from 'react';
10792
- import { EuiDataGridHeaderCellProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
11072
+ import { EuiDataGridHeaderCellProps, EuiDataGridSorting } from '@elastic/eui/src/components/datagrid/data_grid_types';
10793
11073
  export const EuiDataGridHeaderCell: FunctionComponent<EuiDataGridHeaderCellProps>;
11074
+ /**
11075
+ * Column sorting utility helpers
11076
+ */
11077
+ export const useSortingUtils: ({ sorting, id, showColumnActions, }: {
11078
+ sorting?: EuiDataGridSorting | undefined;
11079
+ id: string;
11080
+ showColumnActions: boolean;
11081
+ }) => {
11082
+ sortingArrow: JSX.Element | null;
11083
+ ariaSort: "ascending" | "descending" | undefined;
11084
+ sortingScreenReaderText: JSX.Element | null;
11085
+ };
10794
11086
  /**
10795
11087
  * Add keyboard arrow navigation to the cell actions popover
10796
11088
  * to match the UX of the rest of EuiDataGrid
@@ -12610,10 +12902,18 @@ declare module '@elastic/eui/src/components/empty_prompt' {
12610
12902
  export type { EuiEmptyPromptProps } from '@elastic/eui/src/components/empty_prompt/empty_prompt';
12611
12903
  export { EuiEmptyPrompt } from '@elastic/eui/src/components/empty_prompt/empty_prompt';
12612
12904
 
12905
+ }
12906
+ declare module '@elastic/eui/src/components/error_boundary/error_boundary.styles' {
12907
+ import { UseEuiTheme } from '@elastic/eui/src/services';
12908
+ export const euiErrorBoundaryStyles: ({ euiTheme }: UseEuiTheme) => {
12909
+ euiErrorBoundary: import("@emotion/utils").SerializedStyles;
12910
+ };
12911
+
12613
12912
  }
12614
12913
  declare module '@elastic/eui/src/components/error_boundary/error_boundary' {
12615
12914
  import React, { Component, HTMLAttributes, ReactNode } from 'react';
12616
12915
  import { CommonProps } from '@elastic/eui/src/components/common';
12916
+ import { WithEuiThemeProps } from '@elastic/eui/src/services';
12617
12917
  interface EuiErrorBoundaryState {
12618
12918
  hasError: boolean;
12619
12919
  error?: string;
@@ -12623,12 +12923,13 @@ declare module '@elastic/eui/src/components/error_boundary/error_boundary' {
12623
12923
  * ReactNode to render as this component's content
12624
12924
  */
12625
12925
  children: ReactNode;
12626
- };
12627
- export class EuiErrorBoundary extends Component<EuiErrorBoundaryProps, EuiErrorBoundaryState> {
12628
- constructor(props: EuiErrorBoundaryProps);
12926
+ }; type EuiErrorBoundaryExtendedProps = EuiErrorBoundaryProps & WithEuiThemeProps;
12927
+ export class _EuiErrorBoundary extends Component<EuiErrorBoundaryExtendedProps, EuiErrorBoundaryState> {
12928
+ constructor(props: EuiErrorBoundaryExtendedProps);
12629
12929
  componentDidCatch({ message, stack }: Error): void;
12630
12930
  render(): React.ReactNode;
12631
12931
  }
12932
+ export const EuiErrorBoundary: React.ForwardRefExoticComponent<Omit<EuiErrorBoundaryProps, "theme"> & React.RefAttributes<Omit<EuiErrorBoundaryProps, "theme">>>;
12632
12933
  export {};
12633
12934
 
12634
12935
  }
@@ -13221,10 +13522,14 @@ declare module '@elastic/eui/src/components/health' {
13221
13522
  export { EuiHealth } from '@elastic/eui/src/components/health/health';
13222
13523
 
13223
13524
  }
13224
- declare module '@elastic/eui/src/components/image/image' {
13225
- import { FunctionComponent, ImgHTMLAttributes, ReactNode } from 'react';
13226
- import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common'; type ImageSize = 's' | 'm' | 'l' | 'xl' | 'fullWidth' | 'original'; type Floats = 'left' | 'right'; type Margins = 's' | 'm' | 'l' | 'xl';
13227
- export const SIZES: string[]; type FullScreenIconColor = 'light' | 'dark'; type _EuiImageSrcOrUrl = ExclusiveUnion<{
13525
+ declare module '@elastic/eui/src/components/image/image_types' {
13526
+ import { HTMLAttributes, ReactNode, ImgHTMLAttributes } from 'react';
13527
+ import { CommonProps, ExclusiveUnion } from '@elastic/eui/src/components/common';
13528
+ export const SIZES: readonly ["s", "m", "l", "xl", "fullWidth", "original"];
13529
+ export type EuiImageSize = typeof SIZES[number]; const FLOATS: readonly ["left", "right"];
13530
+ export type EuiImageWrapperFloat = typeof FLOATS[number]; const MARGINS: readonly ["s", "m", "l", "xl"];
13531
+ export type EuiImageWrapperMargin = typeof MARGINS[number];
13532
+ export type EuiImageButtonIconColor = 'light' | 'dark'; type _EuiImageSrcOrUrl = ExclusiveUnion<{
13228
13533
  /**
13229
13534
  * Requires either `src` or `url` but defaults to using `src` if both are provided
13230
13535
  */
@@ -13232,27 +13537,34 @@ declare module '@elastic/eui/src/components/image/image' {
13232
13537
  }, {
13233
13538
  url: string;
13234
13539
  }>;
13235
- export type EuiImageProps = CommonProps & _EuiImageSrcOrUrl & Omit<ImgHTMLAttributes<HTMLImageElement>, 'src' | 'alt'> & {
13540
+ export type EuiImageProps = CommonProps & Omit<ImgHTMLAttributes<HTMLImageElement>, 'src' | 'alt'> & _EuiImageSrcOrUrl & {
13236
13541
  /**
13237
- * Separate from the caption is a title on the alt tag itself.
13238
- * This one is required for accessibility.
13542
+ * Alt text should describe the image to aid screen reader users. See
13543
+ * https://webaim.org/techniques/alttext/ for a guide on writing
13544
+ * effective alt text.
13545
+ *
13546
+ * If no meaningful description exists, or if the image is adequately
13547
+ * described by the surrounding text, pass an empty string.
13239
13548
  */
13240
13549
  alt: string;
13550
+ /**
13551
+ * Provides a visible caption to the image
13552
+ */
13553
+ caption?: ReactNode;
13241
13554
  /**
13242
13555
  * Accepts `s` / `m` / `l` / `xl` / `original` / `fullWidth` / or a CSS size of `number` or `string`.
13243
13556
  * `fullWidth` will set the figure to stretch to 100% of its container.
13244
13557
  * `string` and `number` types will max both the width or height, whichever is greater.
13245
13558
  */
13246
- size?: ImageSize | number | string;
13559
+ size?: EuiImageSize | number | string;
13247
13560
  /**
13248
- * Changes the color of the icon that floats above the image when it can be clicked to fullscreen.
13249
- * The default value of `light` is fine unless your image has a white background, in which case you should change it to `dark`.
13561
+ * Float the image to the left or right. Useful in large text blocks.
13250
13562
  */
13251
- fullScreenIconColor?: FullScreenIconColor;
13563
+ float?: EuiImageWrapperFloat;
13252
13564
  /**
13253
- * Provides the visible caption to the image
13565
+ * Margin around the image.
13254
13566
  */
13255
- caption?: ReactNode;
13567
+ margin?: EuiImageWrapperMargin;
13256
13568
  /**
13257
13569
  * When set to `true` (default) will apply a slight shadow to the image
13258
13570
  */
@@ -13262,20 +13574,127 @@ declare module '@elastic/eui/src/components/image/image' {
13262
13574
  */
13263
13575
  allowFullScreen?: boolean;
13264
13576
  /**
13265
- * Float the image to the left or right. Useful in large text blocks.
13577
+ * Changes the color of the icon that floats above the image when it can be clicked to fullscreen.
13578
+ * The default value of `light` is fine unless your image has a white background, in which case you should change it to `dark`.
13266
13579
  */
13267
- float?: Floats;
13580
+ fullScreenIconColor?: EuiImageButtonIconColor;
13268
13581
  /**
13269
- * Margin around the image.
13582
+ * Props to add to the wrapping figure element
13270
13583
  */
13271
- margin?: Margins;
13584
+ wrapperProps?: HTMLAttributes<HTMLDivElement>;
13585
+ };
13586
+ export type EuiImageWrapperProps = Pick<EuiImageProps, 'alt' | 'caption' | 'float' | 'margin' | 'hasShadow' | 'wrapperProps' | 'fullScreenIconColor' | 'allowFullScreen'> & {
13587
+ isFullWidth: boolean;
13588
+ setIsFullScreen: (isFullScreen: boolean) => void;
13589
+ };
13590
+ export type EuiImageButtonProps = Pick<EuiImageProps, 'hasShadow' | 'fullScreenIconColor'> & {
13591
+ hasAlt: boolean;
13592
+ onClick: () => void;
13593
+ onKeyDown?: (e: React.KeyboardEvent) => void;
13594
+ isFullWidth: boolean;
13595
+ isFullScreen?: boolean;
13596
+ };
13597
+ export type EuiImageCaptionProps = Pick<EuiImageProps, 'caption'> & {
13598
+ isOnOverlayMask?: boolean;
13272
13599
  };
13273
- export const EuiImage: FunctionComponent<EuiImageProps>;
13274
13600
  export {};
13275
13601
 
13602
+ }
13603
+ declare module '@elastic/eui/src/components/image/image_wrapper.styles' {
13604
+ import { UseEuiTheme } from '@elastic/eui/src/services';
13605
+ export const euiImageWrapperStyles: (euiThemeContext: UseEuiTheme) => {
13606
+ euiImageWrapper: import("@emotion/utils").SerializedStyles;
13607
+ allowFullScreen: import("@emotion/utils").SerializedStyles;
13608
+ s: import("@emotion/utils").SerializedStyles;
13609
+ m: import("@emotion/utils").SerializedStyles;
13610
+ l: import("@emotion/utils").SerializedStyles;
13611
+ xl: import("@emotion/utils").SerializedStyles;
13612
+ left: import("@emotion/utils").SerializedStyles;
13613
+ right: import("@emotion/utils").SerializedStyles;
13614
+ fullWidth: import("@emotion/utils").SerializedStyles;
13615
+ };
13616
+
13617
+ }
13618
+ declare module '@elastic/eui/src/components/image/image_button.styles' {
13619
+ import { UseEuiTheme } from '@elastic/eui/src/services';
13620
+ export const euiImageButtonStyles: (euiThemeContext: UseEuiTheme) => {
13621
+ euiImageButton: import("@emotion/utils").SerializedStyles;
13622
+ fullWidth: import("@emotion/utils").SerializedStyles;
13623
+ shadowHover: import("@emotion/utils").SerializedStyles;
13624
+ hasShadowHover: import("@emotion/utils").SerializedStyles;
13625
+ };
13626
+ export const euiImageButtonIconStyles: ({ euiTheme }: UseEuiTheme) => {
13627
+ euiImageButton__icon: import("@emotion/utils").SerializedStyles;
13628
+ openFullScreen: import("@emotion/utils").SerializedStyles;
13629
+ closeFullScreen: import("@emotion/utils").SerializedStyles;
13630
+ };
13631
+
13632
+ }
13633
+ declare module '@elastic/eui/src/components/image/image_button' {
13634
+ import { FunctionComponent } from 'react';
13635
+ import type { EuiImageButtonProps } from '@elastic/eui/src/components/image/image_types';
13636
+ export const EuiImageButton: FunctionComponent<EuiImageButtonProps>;
13637
+
13638
+ }
13639
+ declare module '@elastic/eui/src/components/image/image_caption.styles' {
13640
+ import { UseEuiTheme } from '@elastic/eui/src/services';
13641
+ export const euiImageCaptionStyles: (euiThemeContext: UseEuiTheme) => {
13642
+ euiImageCaption: import("@emotion/utils").SerializedStyles;
13643
+ isOnOverlayMask: import("@emotion/utils").SerializedStyles;
13644
+ };
13645
+
13646
+ }
13647
+ declare module '@elastic/eui/src/components/image/image_caption' {
13648
+ import React from 'react';
13649
+ export const EuiImageCaption: React.ForwardRefExoticComponent<Pick<import ("@elastic/eui/src/components/image/image_types").EuiImageProps, "caption"> & {
13650
+ isOnOverlayMask?: boolean | undefined;
13651
+ } & React.RefAttributes<HTMLDivElement>>;
13652
+
13653
+ }
13654
+ declare module '@elastic/eui/src/components/image/image_wrapper' {
13655
+ import { FunctionComponent } from 'react';
13656
+ import type { EuiImageWrapperProps } from '@elastic/eui/src/components/image/image_types';
13657
+ export const EuiImageWrapper: FunctionComponent<EuiImageWrapperProps>;
13658
+
13659
+ }
13660
+ declare module '@elastic/eui/src/components/image/image.styles' {
13661
+ import { UseEuiTheme } from '@elastic/eui/src/services';
13662
+ export const euiImageStyles: (euiThemeContext: UseEuiTheme) => {
13663
+ euiImage: import("@emotion/utils").SerializedStyles;
13664
+ isFullScreen: import("@emotion/utils").SerializedStyles;
13665
+ hasShadow: import("@emotion/utils").SerializedStyles;
13666
+ s: import("@emotion/utils").SerializedStyles;
13667
+ m: import("@emotion/utils").SerializedStyles;
13668
+ l: import("@emotion/utils").SerializedStyles;
13669
+ xl: import("@emotion/utils").SerializedStyles;
13670
+ original: import("@emotion/utils").SerializedStyles;
13671
+ fullWidth: import("@emotion/utils").SerializedStyles;
13672
+ customSize: import("@emotion/utils").SerializedStyles;
13673
+ };
13674
+
13675
+ }
13676
+ declare module '@elastic/eui/src/components/image/image_fullscreen_wrapper.styles' {
13677
+ import { UseEuiTheme } from '@elastic/eui/src/services';
13678
+ export const euiImageFullscreenWrapperStyles: (euiThemeContext: UseEuiTheme) => {
13679
+ euiImageFullscreenWrapper: import("@emotion/utils").SerializedStyles;
13680
+ fullWidth: import("@emotion/utils").SerializedStyles;
13681
+ };
13682
+
13683
+ }
13684
+ declare module '@elastic/eui/src/components/image/image_fullscreen_wrapper' {
13685
+ import { FunctionComponent } from 'react';
13686
+ import type { EuiImageWrapperProps } from '@elastic/eui/src/components/image/image_types';
13687
+ export const EuiImageFullScreenWrapper: FunctionComponent<EuiImageWrapperProps>;
13688
+
13689
+ }
13690
+ declare module '@elastic/eui/src/components/image/image' {
13691
+ import { FunctionComponent } from 'react';
13692
+ import type { EuiImageProps } from '@elastic/eui/src/components/image/image_types';
13693
+ export const EuiImage: FunctionComponent<EuiImageProps>;
13694
+
13276
13695
  }
13277
13696
  declare module '@elastic/eui/src/components/image' {
13278
- export type { EuiImageProps } from '@elastic/eui/src/components/image/image';
13697
+ export type { EuiImageProps } from '@elastic/eui/src/components/image/image_types';
13279
13698
  export { EuiImage } from '@elastic/eui/src/components/image/image';
13280
13699
 
13281
13700
  }
@@ -15786,7 +16205,6 @@ declare module '@elastic/eui/src/components/selectable/selectable' {
15786
16205
  constructor(props: EuiSelectableProps<T>);
15787
16206
  static getDerivedStateFromProps<T>(nextProps: EuiSelectableProps<T>, prevState: EuiSelectableState<T>): Partial<EuiSelectableState<T>>;
15788
16207
  componentDidUpdate<T>(prevProps: EuiSelectableProps<T>, prevState: EuiSelectableState<T>): void;
15789
- hasActiveOption: () => boolean;
15790
16208
  onMouseDown: () => void;
15791
16209
  onFocus: () => void;
15792
16210
  onKeyDown: (event: KeyboardEvent<HTMLDivElement>) => void;
@@ -17806,6 +18224,13 @@ declare module '@elastic/eui/src/components/basic_table' {
17806
18224
  export type { Pagination } from '@elastic/eui/src/components/basic_table/pagination_bar';
17807
18225
  export type { DefaultItemAction, CustomItemAction } from '@elastic/eui/src/components/basic_table/action_types';
17808
18226
 
18227
+ }
18228
+ declare module '@elastic/eui/src/components/text_diff/text_diff.styles' {
18229
+ import { UseEuiTheme } from '@elastic/eui/src/services';
18230
+ export const euiTextDiffStyles: ({ euiTheme }: UseEuiTheme) => {
18231
+ euiTextDiff: import("@emotion/utils").SerializedStyles;
18232
+ };
18233
+
17809
18234
  }
17810
18235
  declare module '@elastic/eui/src/components/text_diff/text_diff' {
17811
18236
  import { HTMLAttributes, ElementType } from 'react';
@@ -17848,118 +18273,6 @@ declare module '@elastic/eui/src/components/text_diff' {
17848
18273
  export type { EuiTextDiffProps } from '@elastic/eui/src/components/text_diff/text_diff';
17849
18274
  export { useEuiTextDiff } from '@elastic/eui/src/components/text_diff/text_diff';
17850
18275
 
17851
- }
17852
- declare module '@elastic/eui/src/components/timeline/timeline_item_event.styles' {
17853
- export const euiTimelineItemEventStyles: () => {
17854
- euiTimelineItemEvent: import("@emotion/utils").SerializedStyles;
17855
- top: import("@emotion/utils").SerializedStyles;
17856
- center: import("@emotion/utils").SerializedStyles;
17857
- };
17858
-
17859
- }
17860
- declare module '@elastic/eui/src/components/timeline/timeline_item_event' {
17861
- import { FunctionComponent, ReactNode } from 'react';
17862
- import { EuiTimelineItemVerticalAlign } from '@elastic/eui/src/components/timeline/timeline_item';
17863
- export interface EuiTimelineItemEventProps {
17864
- /**
17865
- * Accepts any node. But preferably `EuiPanel`
17866
- */
17867
- children: ReactNode;
17868
- verticalAlign?: EuiTimelineItemVerticalAlign;
17869
- }
17870
- export const EuiTimelineItemEvent: FunctionComponent<EuiTimelineItemEventProps>;
17871
-
17872
- }
17873
- declare module '@elastic/eui/src/components/timeline/timeline_item_icon.styles' {
17874
- import { UseEuiTheme } from '@elastic/eui/src/services';
17875
- export const euiTimelineItemIconStyles: ({ euiTheme }: UseEuiTheme) => {
17876
- euiTimelineItemIcon: import("@emotion/utils").SerializedStyles;
17877
- euiTimelineItemIcon__content: import("@emotion/utils").SerializedStyles;
17878
- top: import("@emotion/utils").SerializedStyles;
17879
- center: import("@emotion/utils").SerializedStyles;
17880
- };
17881
-
17882
- }
17883
- declare module '@elastic/eui/src/components/timeline/timeline_item_icon' {
17884
- import { FunctionComponent, ReactNode } from 'react';
17885
- import { IconType } from '@elastic/eui/src/components/icon';
17886
- import { EuiTimelineItemVerticalAlign } from '@elastic/eui/src/components/timeline/timeline_item';
17887
- export interface EuiTimelineItemIconProps {
17888
- /**
17889
- * Any `ReactNode`, but preferably `EuiAvatar`, or a `string` as an `EuiIcon['type']`.
17890
- */
17891
- icon: ReactNode | IconType;
17892
- verticalAlign?: EuiTimelineItemVerticalAlign;
17893
- /**
17894
- * Specify an `aria-label` for the icon when passed as an `IconType`.
17895
- * If no `aria-label` is passed we assume the icon is purely decorative.
17896
- */
17897
- iconAriaLabel?: string;
17898
- }
17899
- export const EuiTimelineItemIcon: FunctionComponent<EuiTimelineItemIconProps>;
17900
-
17901
- }
17902
- declare module '@elastic/eui/src/components/timeline/timeline_item.styles' {
17903
- export const euiTimelineItemStyles: () => {
17904
- euiTimelineItem: import("@emotion/utils").SerializedStyles;
17905
- top: import("@emotion/utils").SerializedStyles;
17906
- center: import("@emotion/utils").SerializedStyles;
17907
- };
17908
-
17909
- }
17910
- declare module '@elastic/eui/src/components/timeline/timeline_item' {
17911
- import { FunctionComponent, HTMLAttributes } from 'react';
17912
- import { CommonProps } from '@elastic/eui/src/components/common';
17913
- import { EuiTimelineItemEventProps } from '@elastic/eui/src/components/timeline/timeline_item_event';
17914
- import { EuiTimelineItemIconProps } from '@elastic/eui/src/components/timeline/timeline_item_icon';
17915
- export const VERTICAL_ALIGN: readonly ["top", "center"];
17916
- export type EuiTimelineItemVerticalAlign = typeof VERTICAL_ALIGN[number];
17917
- export interface EuiTimelineItemProps extends Omit<HTMLAttributes<HTMLElement>, 'children'>, CommonProps, Omit<EuiTimelineItemIconProps, 'verticalAlign'>, Omit<EuiTimelineItemEventProps, 'verticalAlign'> {
17918
- /**
17919
- * Vertical alignment of the event with the icon
17920
- */
17921
- verticalAlign?: EuiTimelineItemVerticalAlign;
17922
- }
17923
- export const EuiTimelineItem: FunctionComponent<EuiTimelineItemProps>;
17924
-
17925
- }
17926
- declare module '@elastic/eui/src/components/timeline/timeline.styles' {
17927
- import { UseEuiTheme } from '@elastic/eui/src/services';
17928
- export const euiTimelineStyles: ({ euiTheme }: UseEuiTheme) => {
17929
- euiTimeline: import("@emotion/utils").SerializedStyles;
17930
- m: import("@emotion/utils").SerializedStyles;
17931
- l: import("@emotion/utils").SerializedStyles;
17932
- xl: import("@emotion/utils").SerializedStyles;
17933
- };
17934
-
17935
- }
17936
- declare module '@elastic/eui/src/components/timeline/timeline' {
17937
- import { HTMLAttributes, FunctionComponent } from 'react';
17938
- import { CommonProps } from '@elastic/eui/src/components/common';
17939
- import { EuiTimelineItemProps } from '@elastic/eui/src/components/timeline/timeline_item';
17940
- export const GUTTER_SIZES: readonly ["m", "l", "xl"];
17941
- export type EuiTimelineGutterSize = typeof GUTTER_SIZES[number];
17942
- export interface EuiTimelineProps extends HTMLAttributes<HTMLOListElement>, CommonProps {
17943
- /**
17944
- * List of timeline items to render. See #EuiTimelineItem
17945
- */
17946
- items?: EuiTimelineItemProps[];
17947
- /**
17948
- * Sets the size of the vertical space between each timeline item
17949
- */
17950
- gutterSize?: EuiTimelineGutterSize;
17951
- }
17952
- export const EuiTimeline: FunctionComponent<EuiTimelineProps>;
17953
-
17954
- }
17955
- declare module '@elastic/eui/src/components/timeline' {
17956
- export type { EuiTimelineProps } from '@elastic/eui/src/components/timeline/timeline';
17957
- export { EuiTimeline } from '@elastic/eui/src/components/timeline/timeline';
17958
- export type { EuiTimelineItemProps, EuiTimelineItemVerticalAlign, } from '@elastic/eui/src/components/timeline/timeline_item';
17959
- export { EuiTimelineItem } from '@elastic/eui/src/components/timeline/timeline_item';
17960
- export { EuiTimelineItemEvent } from '@elastic/eui/src/components/timeline/timeline_item_event';
17961
- export { EuiTimelineItemIcon } from '@elastic/eui/src/components/timeline/timeline_item_icon';
17962
-
17963
18276
  }
17964
18277
  declare module '@elastic/eui/src/components/toast/toast' {
17965
18278
  import { FunctionComponent, HTMLAttributes, ReactNode } from 'react';
@@ -20470,7 +20783,7 @@ declare module '@elastic/eui/src/components/icon/assets/ip' {
20470
20783
  export {};
20471
20784
 
20472
20785
  }
20473
- declare module '@elastic/eui/src/components/icon/assets/keyboard_shortcut' {
20786
+ declare module '@elastic/eui/src/components/icon/assets/keyboard' {
20474
20787
  import * as React from 'react';
20475
20788
  interface SVGRProps {
20476
20789
  title?: string;
@@ -22529,6 +22842,26 @@ declare module '@elastic/eui/src/components/icon/assets/tokenMethod' {
22529
22842
  export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
22530
22843
  export {};
22531
22844
 
22845
+ }
22846
+ declare module '@elastic/eui/src/components/icon/assets/tokenMetricCounter' {
22847
+ import * as React from 'react';
22848
+ interface SVGRProps {
22849
+ title?: string;
22850
+ titleId?: string;
22851
+ }
22852
+ export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
22853
+ export {};
22854
+
22855
+ }
22856
+ declare module '@elastic/eui/src/components/icon/assets/tokenMetricGauge' {
22857
+ import * as React from 'react';
22858
+ interface SVGRProps {
22859
+ title?: string;
22860
+ titleId?: string;
22861
+ }
22862
+ export const icon: ({ title, titleId, ...props }: React.SVGProps<SVGSVGElement> & SVGRProps) => JSX.Element;
22863
+ export {};
22864
+
22532
22865
  }
22533
22866
  declare module '@elastic/eui/src/components/icon/assets/tokenModule' {
22534
22867
  import * as React from 'react';
@@ -23200,6 +23533,12 @@ declare module '@elastic/eui' {
23200
23533
  "euiColumnActions.moveRight": any;
23201
23534
  "euiColumnActions.sort": any;
23202
23535
  "euiDataGridHeaderCell.headerActions": any;
23536
+ "euiDataGridHeaderCell.sortedByAscendingSingle": any;
23537
+ "euiDataGridHeaderCell.sortedByDescendingSingle": any;
23538
+ "euiDataGridHeaderCell.sortedByAscendingFirst": any;
23539
+ "euiDataGridHeaderCell.sortedByDescendingFirst": any;
23540
+ "euiDataGridHeaderCell.sortedByAscendingMultiple": any;
23541
+ "euiDataGridHeaderCell.sortedByDescendingMultiple": any;
23203
23542
  "euiDataGridHeaderCell.actionsPopoverScreenReaderText": any;
23204
23543
  "euiColumnSelector.button": any;
23205
23544
  "euiColumnSelector.buttonActiveSingular": any;
@@ -23373,8 +23712,8 @@ declare module '@elastic/eui' {
23373
23712
  "euiSuperSelect.screenReaderAnnouncement": any;
23374
23713
  "euiHeaderLinks.openNavigationMenu": any;
23375
23714
  "euiHeaderLinks.appNavigation": any;
23376
- "euiImage.closeImage": any;
23377
- "euiImage.openImage": any;
23715
+ "euiImageButton.openFullScreen": any;
23716
+ "euiImageButton.closeFullScreen": any;
23378
23717
  "euiLink.newTarget.screenReaderOnlyText": any;
23379
23718
  "euiLink.external.ariaLabel": any;
23380
23719
  "euiPinnableListGroup.pinExtraActionLabel": any;