@elastic/eui 60.1.2 → 61.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) 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 +9 -178
  4. package/dist/eui_theme_dark.min.css +1 -1
  5. package/dist/eui_theme_light.css +9 -178
  6. package/dist/eui_theme_light.min.css +1 -1
  7. package/es/components/accessibility/skip_link/skip_link.js +1 -1
  8. package/es/components/accordion/accordion.js +10 -5
  9. package/es/components/avatar/avatar.js +1 -1
  10. package/es/components/badge/badge.js +1 -1
  11. package/es/components/badge/beta_badge/beta_badge.js +1 -1
  12. package/es/components/basic_table/basic_table.js +1 -1
  13. package/es/components/basic_table/collapsed_item_actions.js +1 -1
  14. package/es/components/basic_table/in_memory_table.js +1 -1
  15. package/es/components/button/_button_content_deprecated.js +1 -1
  16. package/es/components/button/button.js +2 -2
  17. package/es/components/button/button_display/_button_display.js +1 -1
  18. package/es/components/button/button_display/_button_display_content.js +1 -1
  19. package/es/components/button/button_empty/button_empty.js +1 -1
  20. package/es/components/button/button_group/button_group.js +1 -1
  21. package/es/components/button/button_group/button_group_button.js +1 -1
  22. package/es/components/button/button_icon/button_icon.js +1 -1
  23. package/es/components/call_out/call_out.js +1 -1
  24. package/es/components/card/card.js +1 -1
  25. package/es/components/card/card_select.js +1 -1
  26. package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
  27. package/es/components/comment_list/comment.js +45 -24
  28. package/es/components/comment_list/comment_event.js +104 -33
  29. package/es/components/comment_list/comment_event.styles.js +78 -0
  30. package/es/components/comment_list/comment_list.js +38 -13
  31. package/es/components/comment_list/comment_timeline.js +22 -34
  32. package/es/components/context_menu/context_menu.js +1 -1
  33. package/es/components/datagrid/body/data_grid_body.js +38 -29
  34. package/es/components/datagrid/body/data_grid_cell.js +130 -56
  35. package/es/components/datagrid/body/header/data_grid_header_cell.js +100 -31
  36. package/es/components/datagrid/body/header/data_grid_header_row.js +27 -24
  37. package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
  38. package/es/components/datagrid/data_grid.js +29 -24
  39. package/es/components/datagrid/utils/focus.js +19 -10
  40. package/es/components/datagrid/utils/in_memory.js +26 -23
  41. package/es/components/datagrid/utils/ref.js +24 -3
  42. package/es/components/datagrid/utils/row_heights.js +27 -33
  43. package/es/components/date_picker/date_picker.js +2 -2
  44. package/es/components/date_picker/date_picker_range.js +1 -1
  45. package/es/components/empty_prompt/empty_prompt.js +1 -1
  46. package/es/components/form/field_number/field_number.js +1 -1
  47. package/es/components/form/field_text/field_text.js +2 -2
  48. package/es/components/form/form_control_layout/form_control_layout.js +2 -2
  49. package/es/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
  50. package/es/components/form/form_control_layout/form_control_layout_icons.js +2 -2
  51. package/es/components/header/header_links/header_link.js +1 -1
  52. package/es/components/header/header_links/header_links.js +9 -1
  53. package/es/components/header/header_logo.js +1 -1
  54. package/es/components/icon/assets/cluster.js +41 -0
  55. package/es/components/icon/assets/container.js +39 -0
  56. package/es/components/icon/assets/keyboard.js +38 -0
  57. package/es/components/icon/assets/{keyboard_shortcut.js → kubernetesNode.js} +7 -4
  58. package/es/components/icon/assets/kubernetesPod.js +41 -0
  59. package/es/components/icon/assets/namespace.js +41 -0
  60. package/es/components/icon/icon.js +1 -1
  61. package/es/components/icon/icon_map.js +6 -1
  62. package/es/components/key_pad_menu/key_pad_menu_item.js +1 -1
  63. package/es/components/list_group/list_group.js +2 -2
  64. package/es/components/list_group/list_group_item.js +2 -2
  65. package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  66. package/es/components/loading/loading_logo.js +1 -1
  67. package/es/components/markdown_editor/markdown_editor.js +1 -1
  68. package/es/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
  69. package/es/components/markdown_editor/markdown_editor_footer.js +1 -1
  70. package/es/components/markdown_editor/markdown_editor_toolbar.js +1 -1
  71. package/es/components/notification/notification_event.js +2 -2
  72. package/es/components/notification/notification_event_meta.js +1 -1
  73. package/es/components/page/page_header/page_header.js +1 -1
  74. package/es/components/page/page_header/page_header_content.js +1 -1
  75. package/es/components/page/page_template.js +1 -1
  76. package/es/components/pagination/pagination_button.js +1 -1
  77. package/es/components/popover/popover.js +14 -4
  78. package/es/components/selectable/selectable.js +2 -0
  79. package/es/components/selectable/selectable_list/selectable_list.js +1 -1
  80. package/es/components/selectable/selectable_list/selectable_list_item.js +1 -1
  81. package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
  82. package/es/components/suggest/suggest.js +1 -1
  83. package/es/components/suggest/suggest_item.js +1 -1
  84. package/es/components/table/table_header_button.js +1 -1
  85. package/es/components/text/text.styles.js +5 -4
  86. package/es/components/timeline/timeline_item.js +1 -2
  87. package/es/components/timeline/timeline_item_icon.js +1 -1
  88. package/es/components/toast/global_toast_list.js +1 -1
  89. package/es/components/toast/toast.js +1 -1
  90. package/es/components/token/token.js +1 -1
  91. package/es/components/tool_tip/icon_tip.js +1 -1
  92. package/es/components/tour/tour.js +8 -0
  93. package/es/components/tour/tour_step.js +8 -0
  94. package/es/services/hooks/index.js +1 -0
  95. package/es/services/hooks/useLatest.js +18 -0
  96. package/es/test/emotion-prefix.js +1 -1
  97. package/eui.d.ts +308 -172
  98. package/i18ntokens.json +49 -33
  99. package/lib/components/accessibility/skip_link/skip_link.js +1 -1
  100. package/lib/components/accordion/accordion.js +10 -5
  101. package/lib/components/avatar/avatar.js +1 -1
  102. package/lib/components/badge/badge.js +1 -1
  103. package/lib/components/badge/beta_badge/beta_badge.js +1 -1
  104. package/lib/components/basic_table/basic_table.js +1 -1
  105. package/lib/components/basic_table/collapsed_item_actions.js +1 -1
  106. package/lib/components/basic_table/in_memory_table.js +1 -1
  107. package/lib/components/button/_button_content_deprecated.js +1 -1
  108. package/lib/components/button/button.js +2 -2
  109. package/lib/components/button/button_display/_button_display.js +1 -1
  110. package/lib/components/button/button_display/_button_display_content.js +1 -1
  111. package/lib/components/button/button_empty/button_empty.js +1 -1
  112. package/lib/components/button/button_group/button_group.js +1 -1
  113. package/lib/components/button/button_group/button_group_button.js +1 -1
  114. package/lib/components/button/button_icon/button_icon.js +1 -1
  115. package/lib/components/call_out/call_out.js +1 -1
  116. package/lib/components/card/card.js +1 -1
  117. package/lib/components/card/card_select.js +1 -1
  118. package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
  119. package/lib/components/comment_list/comment.js +44 -25
  120. package/lib/components/comment_list/comment_event.js +105 -42
  121. package/lib/components/comment_list/comment_event.styles.js +86 -0
  122. package/lib/components/comment_list/comment_list.js +39 -13
  123. package/lib/components/comment_list/comment_timeline.js +23 -46
  124. package/lib/components/context_menu/context_menu.js +1 -1
  125. package/lib/components/datagrid/body/data_grid_body.js +38 -29
  126. package/lib/components/datagrid/body/data_grid_cell.js +129 -55
  127. package/lib/components/datagrid/body/header/data_grid_header_cell.js +105 -31
  128. package/lib/components/datagrid/body/header/data_grid_header_row.js +27 -24
  129. package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
  130. package/lib/components/datagrid/data_grid.js +29 -24
  131. package/lib/components/datagrid/utils/focus.js +19 -11
  132. package/lib/components/datagrid/utils/in_memory.js +26 -23
  133. package/lib/components/datagrid/utils/ref.js +24 -3
  134. package/lib/components/datagrid/utils/row_heights.js +26 -32
  135. package/lib/components/date_picker/date_picker.js +2 -2
  136. package/lib/components/date_picker/date_picker_range.js +1 -1
  137. package/lib/components/empty_prompt/empty_prompt.js +1 -1
  138. package/lib/components/form/field_number/field_number.js +1 -1
  139. package/lib/components/form/field_text/field_text.js +2 -2
  140. package/lib/components/form/form_control_layout/form_control_layout.js +2 -2
  141. package/lib/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
  142. package/lib/components/form/form_control_layout/form_control_layout_icons.js +2 -2
  143. package/lib/components/header/header_links/header_link.js +1 -1
  144. package/lib/components/header/header_links/header_links.js +9 -1
  145. package/lib/components/header/header_logo.js +1 -1
  146. package/lib/components/icon/assets/cluster.js +48 -0
  147. package/lib/components/icon/assets/container.js +46 -0
  148. package/lib/components/icon/assets/keyboard.js +45 -0
  149. package/lib/components/icon/assets/{keyboard_shortcut.js → kubernetesNode.js} +7 -4
  150. package/lib/components/icon/assets/kubernetesPod.js +48 -0
  151. package/lib/components/icon/assets/namespace.js +48 -0
  152. package/lib/components/icon/icon.js +1 -1
  153. package/lib/components/icon/icon_map.js +6 -1
  154. package/lib/components/icon/svgs/cluster.svg +3 -0
  155. package/lib/components/icon/svgs/container.svg +3 -0
  156. package/lib/components/icon/svgs/keyboard.svg +3 -0
  157. package/lib/components/icon/svgs/kubernetesNode.svg +3 -0
  158. package/lib/components/icon/svgs/kubernetesPod.svg +3 -0
  159. package/lib/components/icon/svgs/namespace.svg +3 -0
  160. package/lib/components/key_pad_menu/key_pad_menu_item.js +1 -1
  161. package/lib/components/list_group/list_group.js +2 -2
  162. package/lib/components/list_group/list_group_item.js +2 -2
  163. package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  164. package/lib/components/loading/loading_logo.js +1 -1
  165. package/lib/components/markdown_editor/markdown_editor.js +1 -1
  166. package/lib/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
  167. package/lib/components/markdown_editor/markdown_editor_footer.js +1 -1
  168. package/lib/components/markdown_editor/markdown_editor_toolbar.js +1 -1
  169. package/lib/components/notification/notification_event.js +2 -2
  170. package/lib/components/notification/notification_event_meta.js +1 -1
  171. package/lib/components/page/page_header/page_header.js +1 -1
  172. package/lib/components/page/page_header/page_header_content.js +1 -1
  173. package/lib/components/page/page_template.js +1 -1
  174. package/lib/components/popover/popover.js +14 -4
  175. package/lib/components/selectable/selectable.js +2 -0
  176. package/lib/components/selectable/selectable_list/selectable_list.js +1 -1
  177. package/lib/components/selectable/selectable_list/selectable_list_item.js +1 -1
  178. package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
  179. package/lib/components/suggest/suggest.js +1 -1
  180. package/lib/components/suggest/suggest_item.js +1 -1
  181. package/lib/components/table/table_header_button.js +1 -1
  182. package/lib/components/text/text.styles.js +4 -3
  183. package/lib/components/timeline/timeline_item.js +1 -2
  184. package/lib/components/timeline/timeline_item_icon.js +1 -1
  185. package/lib/components/toast/global_toast_list.js +1 -1
  186. package/lib/components/toast/toast.js +1 -1
  187. package/lib/components/token/token.js +1 -1
  188. package/lib/components/tool_tip/icon_tip.js +1 -1
  189. package/lib/services/hooks/index.js +13 -0
  190. package/lib/services/hooks/useLatest.js +26 -0
  191. package/lib/test/emotion-prefix.js +1 -1
  192. package/optimize/es/components/accordion/accordion.js +10 -5
  193. package/optimize/es/components/comment_list/comment.js +22 -17
  194. package/optimize/es/components/comment_list/comment_event.js +83 -28
  195. package/optimize/es/components/comment_list/comment_event.styles.js +78 -0
  196. package/optimize/es/components/comment_list/comment_list.js +7 -3
  197. package/optimize/es/components/comment_list/comment_timeline.js +19 -31
  198. package/optimize/es/components/datagrid/body/data_grid_body.js +11 -5
  199. package/optimize/es/components/datagrid/body/data_grid_cell.js +18 -9
  200. package/optimize/es/components/datagrid/body/header/data_grid_header_cell.js +74 -8
  201. package/optimize/es/components/datagrid/data_grid.js +2 -0
  202. package/optimize/es/components/datagrid/utils/focus.js +19 -11
  203. package/optimize/es/components/datagrid/utils/ref.js +24 -3
  204. package/optimize/es/components/datagrid/utils/row_heights.js +27 -33
  205. package/optimize/es/components/icon/assets/cluster.js +37 -0
  206. package/optimize/es/components/icon/assets/container.js +35 -0
  207. package/optimize/es/components/icon/assets/keyboard.js +34 -0
  208. package/optimize/es/components/icon/assets/{keyboard_shortcut.js → kubernetesNode.js} +7 -4
  209. package/optimize/es/components/icon/assets/kubernetesPod.js +37 -0
  210. package/optimize/es/components/icon/assets/namespace.js +37 -0
  211. package/optimize/es/components/icon/icon_map.js +6 -1
  212. package/optimize/es/components/popover/popover.js +6 -4
  213. package/optimize/es/components/selectable/selectable.js +2 -0
  214. package/optimize/es/components/text/text.styles.js +5 -4
  215. package/optimize/es/components/timeline/timeline_item.js +1 -2
  216. package/optimize/es/services/hooks/index.js +1 -0
  217. package/optimize/es/services/hooks/useLatest.js +18 -0
  218. package/optimize/es/test/emotion-prefix.js +1 -1
  219. package/optimize/lib/components/accordion/accordion.js +8 -5
  220. package/optimize/lib/components/comment_list/comment.js +21 -17
  221. package/optimize/lib/components/comment_list/comment_event.js +85 -31
  222. package/optimize/lib/components/comment_list/comment_event.styles.js +86 -0
  223. package/optimize/lib/components/comment_list/comment_list.js +8 -3
  224. package/optimize/lib/components/comment_list/comment_timeline.js +21 -37
  225. package/optimize/lib/components/datagrid/body/data_grid_body.js +11 -5
  226. package/optimize/lib/components/datagrid/body/data_grid_cell.js +17 -8
  227. package/optimize/lib/components/datagrid/body/header/data_grid_header_cell.js +79 -8
  228. package/optimize/lib/components/datagrid/data_grid.js +2 -0
  229. package/optimize/lib/components/datagrid/utils/focus.js +19 -11
  230. package/optimize/lib/components/datagrid/utils/ref.js +24 -3
  231. package/optimize/lib/components/datagrid/utils/row_heights.js +25 -30
  232. package/optimize/lib/components/icon/assets/cluster.js +47 -0
  233. package/optimize/lib/components/icon/assets/container.js +45 -0
  234. package/optimize/lib/components/icon/assets/keyboard.js +44 -0
  235. package/{test-env/components/icon/assets/keyboard_shortcut.js → optimize/lib/components/icon/assets/kubernetesNode.js} +7 -4
  236. package/optimize/lib/components/icon/assets/{keyboard_shortcut.js → kubernetesPod.js} +7 -4
  237. package/optimize/lib/components/icon/assets/namespace.js +47 -0
  238. package/optimize/lib/components/icon/icon_map.js +6 -1
  239. package/optimize/lib/components/icon/svgs/cluster.svg +3 -0
  240. package/optimize/lib/components/icon/svgs/container.svg +3 -0
  241. package/optimize/lib/components/icon/svgs/keyboard.svg +3 -0
  242. package/optimize/lib/components/icon/svgs/kubernetesNode.svg +3 -0
  243. package/optimize/lib/components/icon/svgs/kubernetesPod.svg +3 -0
  244. package/optimize/lib/components/icon/svgs/namespace.svg +3 -0
  245. package/optimize/lib/components/popover/popover.js +6 -4
  246. package/optimize/lib/components/selectable/selectable.js +2 -0
  247. package/optimize/lib/components/text/text.styles.js +4 -3
  248. package/optimize/lib/components/timeline/timeline_item.js +1 -2
  249. package/optimize/lib/services/hooks/index.js +13 -0
  250. package/optimize/lib/services/hooks/useLatest.js +26 -0
  251. package/optimize/lib/test/emotion-prefix.js +1 -1
  252. package/package.json +3 -3
  253. package/src/components/datagrid/body/header/_data_grid_header_row.scss +0 -9
  254. package/src/components/index.scss +0 -1
  255. package/src/components/markdown_editor/_markdown_editor.scss +3 -2
  256. package/src/themes/amsterdam/overrides/_index.scss +0 -1
  257. package/test-env/components/accessibility/skip_link/skip_link.js +1 -1
  258. package/test-env/components/accordion/accordion.js +8 -5
  259. package/test-env/components/avatar/avatar.js +1 -1
  260. package/test-env/components/badge/badge.js +1 -1
  261. package/test-env/components/badge/beta_badge/beta_badge.js +1 -1
  262. package/test-env/components/basic_table/basic_table.js +1 -1
  263. package/test-env/components/basic_table/collapsed_item_actions.js +1 -1
  264. package/test-env/components/basic_table/in_memory_table.js +1 -1
  265. package/test-env/components/button/_button_content_deprecated.js +1 -1
  266. package/test-env/components/button/button.js +2 -2
  267. package/test-env/components/button/button_display/_button_display.js +1 -1
  268. package/test-env/components/button/button_display/_button_display_content.js +1 -1
  269. package/test-env/components/button/button_empty/button_empty.js +1 -1
  270. package/test-env/components/button/button_group/button_group.js +1 -1
  271. package/test-env/components/button/button_group/button_group_button.js +1 -1
  272. package/test-env/components/button/button_icon/button_icon.js +1 -1
  273. package/test-env/components/call_out/call_out.js +1 -1
  274. package/test-env/components/card/card.js +1 -1
  275. package/test-env/components/card/card_select.js +1 -1
  276. package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
  277. package/test-env/components/comment_list/comment.js +44 -24
  278. package/test-env/components/comment_list/comment_event.js +106 -36
  279. package/test-env/components/comment_list/comment_event.styles.js +86 -0
  280. package/test-env/components/comment_list/comment_list.js +39 -13
  281. package/test-env/components/comment_list/comment_timeline.js +23 -39
  282. package/test-env/components/context_menu/context_menu.js +1 -1
  283. package/test-env/components/datagrid/body/data_grid_body.js +38 -29
  284. package/test-env/components/datagrid/body/data_grid_cell.js +129 -55
  285. package/test-env/components/datagrid/body/header/data_grid_header_cell.js +105 -31
  286. package/test-env/components/datagrid/body/header/data_grid_header_row.js +27 -24
  287. package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
  288. package/test-env/components/datagrid/data_grid.js +29 -24
  289. package/test-env/components/datagrid/utils/focus.js +19 -11
  290. package/test-env/components/datagrid/utils/in_memory.js +26 -23
  291. package/test-env/components/datagrid/utils/ref.js +24 -3
  292. package/test-env/components/datagrid/utils/row_heights.js +25 -30
  293. package/test-env/components/date_picker/date_picker.js +2 -2
  294. package/test-env/components/date_picker/date_picker_range.js +1 -1
  295. package/test-env/components/empty_prompt/empty_prompt.js +1 -1
  296. package/test-env/components/form/field_number/field_number.js +1 -1
  297. package/test-env/components/form/field_text/field_text.js +2 -2
  298. package/test-env/components/form/form_control_layout/form_control_layout.js +2 -2
  299. package/test-env/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
  300. package/test-env/components/form/form_control_layout/form_control_layout_icons.js +2 -2
  301. package/test-env/components/header/header_links/header_link.js +1 -1
  302. package/test-env/components/header/header_links/header_links.js +9 -1
  303. package/test-env/components/header/header_logo.js +1 -1
  304. package/test-env/components/icon/assets/cluster.js +47 -0
  305. package/test-env/components/icon/assets/container.js +45 -0
  306. package/test-env/components/icon/assets/keyboard.js +44 -0
  307. package/test-env/components/icon/assets/kubernetesNode.js +47 -0
  308. package/test-env/components/icon/assets/kubernetesPod.js +47 -0
  309. package/test-env/components/icon/assets/namespace.js +47 -0
  310. package/test-env/components/icon/icon_map.js +6 -1
  311. package/test-env/components/key_pad_menu/key_pad_menu_item.js +1 -1
  312. package/test-env/components/list_group/list_group.js +2 -2
  313. package/test-env/components/list_group/list_group_item.js +2 -2
  314. package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  315. package/test-env/components/loading/loading_logo.js +1 -1
  316. package/test-env/components/markdown_editor/markdown_editor.js +1 -1
  317. package/test-env/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
  318. package/test-env/components/markdown_editor/markdown_editor_footer.js +1 -1
  319. package/test-env/components/markdown_editor/markdown_editor_toolbar.js +1 -1
  320. package/test-env/components/notification/notification_event.js +2 -2
  321. package/test-env/components/notification/notification_event_meta.js +1 -1
  322. package/test-env/components/page/page_header/page_header.js +1 -1
  323. package/test-env/components/page/page_header/page_header_content.js +1 -1
  324. package/test-env/components/page/page_template.js +1 -1
  325. package/test-env/components/popover/popover.js +14 -4
  326. package/test-env/components/selectable/selectable.js +2 -0
  327. package/test-env/components/selectable/selectable_list/selectable_list.js +1 -1
  328. package/test-env/components/selectable/selectable_list/selectable_list_item.js +1 -1
  329. package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
  330. package/test-env/components/suggest/suggest.js +1 -1
  331. package/test-env/components/suggest/suggest_item.js +1 -1
  332. package/test-env/components/table/table_header_button.js +1 -1
  333. package/test-env/components/text/text.styles.js +4 -3
  334. package/test-env/components/timeline/timeline_item.js +1 -2
  335. package/test-env/components/timeline/timeline_item_icon.js +1 -1
  336. package/test-env/components/toast/global_toast_list.js +1 -1
  337. package/test-env/components/toast/toast.js +1 -1
  338. package/test-env/components/token/token.js +1 -1
  339. package/test-env/components/tool_tip/icon_tip.js +1 -1
  340. package/test-env/services/hooks/index.js +13 -0
  341. package/test-env/services/hooks/useLatest.js +26 -0
  342. package/test-env/test/emotion-prefix.js +1 -1
  343. package/lib/components/icon/svgs/keyboard_shortcut.svg +0 -3
  344. package/optimize/lib/components/icon/svgs/keyboard_shortcut.svg +0 -3
  345. package/src/components/comment_list/_comment.scss +0 -38
  346. package/src/components/comment_list/_comment_event.scss +0 -77
  347. package/src/components/comment_list/_comment_timeline.scss +0 -27
  348. package/src/components/comment_list/_index.scss +0 -3
  349. package/src/themes/amsterdam/overrides/_comment.scss +0 -3
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
6
+
7
+ Object.defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+ exports.icon = void 0;
11
+
12
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
13
+
14
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
15
+
16
+ var React = _interopRequireWildcard(require("react"));
17
+
18
+ var _react2 = require("@emotion/react");
19
+
20
+ var _excluded = ["title", "titleId"];
21
+
22
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
23
+
24
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
+
26
+ var EuiIconContainer = function EuiIconContainer(_ref) {
27
+ var title = _ref.title,
28
+ titleId = _ref.titleId,
29
+ props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
30
+ return (0, _react2.jsx)("svg", (0, _extends2.default)({
31
+ fill: "none",
32
+ xmlns: "http://www.w3.org/2000/svg",
33
+ viewBox: "0 0 16 16",
34
+ "aria-labelledby": titleId
35
+ }, props), title ? (0, _react2.jsx)("title", {
36
+ id: titleId
37
+ }, title) : null, (0, _react2.jsx)("path", {
38
+ fillRule: "evenodd",
39
+ clipRule: "evenodd",
40
+ d: "M0 2.5A.5.5 0 01.5 2h15a.5.5 0 010 1H15v10h.5a.5.5 0 010 1H.5a.5.5 0 010-1H1V3H.5a.5.5 0 01-.5-.5zM2 3h12v10H2V3zm3 2a.5.5 0 00-.5.5v5a.5.5 0 001 0v-5A.5.5 0 005 5zm5.5.5a.5.5 0 011 0v5a.5.5 0 01-1 0v-5zM8 5a.5.5 0 00-.5.5v5a.5.5 0 001 0v-5A.5.5 0 008 5z"
41
+ }));
42
+ };
43
+
44
+ var icon = EuiIconContainer;
45
+ exports.icon = icon;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
6
+
7
+ Object.defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+ exports.icon = void 0;
11
+
12
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
13
+
14
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
15
+
16
+ var React = _interopRequireWildcard(require("react"));
17
+
18
+ var _react2 = require("@emotion/react");
19
+
20
+ var _excluded = ["title", "titleId"];
21
+
22
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
23
+
24
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
+
26
+ var EuiIconKeyboard = function EuiIconKeyboard(_ref) {
27
+ var title = _ref.title,
28
+ titleId = _ref.titleId,
29
+ props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
30
+ return (0, _react2.jsx)("svg", (0, _extends2.default)({
31
+ xmlns: "http://www.w3.org/2000/svg",
32
+ viewBox: "0 0 16 16",
33
+ "aria-labelledby": titleId
34
+ }, props), title ? (0, _react2.jsx)("title", {
35
+ id: titleId
36
+ }, title) : null, (0, _react2.jsx)("path", {
37
+ fillRule: "evenodd",
38
+ clipRule: "evenodd",
39
+ d: "M0 3h16v11H0V3zm15 10V4H1v9h14zM2 5h2v1H2V5zm2 7v-1H2v1h2zm10-1v1h-2v-1h2zm-3 1v-1H5v1h6zM5 5h1v1H5V5zM3 7H2v1h1V7zm3 0h1v1H6V7zM3 9H2v1h1V9zm3 0h1v1H6V9zm2-4H7v1h1V5zM4 7h1v1H4V7zm5 0H8v1h1V7zm1 0h1v1h-1V7zM5 9H4v1h1V9zm3 0h1v1H8V9zm3 0h-1v1h1V9zM9 5h1v1H9V5zm3 0h-1v1h1V5zm1 0h1v1h-1V5zm1 2h-2v3h2V7z"
40
+ }));
41
+ };
42
+
43
+ var icon = EuiIconKeyboard;
44
+ exports.icon = icon;
@@ -23,22 +23,25 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
23
23
 
24
24
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
25
 
26
- var EuiIconKeyboardShortcut = function EuiIconKeyboardShortcut(_ref) {
26
+ var EuiIconKubernetesNode = function EuiIconKubernetesNode(_ref) {
27
27
  var title = _ref.title,
28
28
  titleId = _ref.titleId,
29
29
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
30
30
  return (0, _react2.jsx)("svg", (0, _extends2.default)({
31
- xmlns: "http://www.w3.org/2000/svg",
32
31
  width: 16,
33
32
  height: 16,
34
33
  viewBox: "0 0 16 16",
34
+ fill: "none",
35
+ xmlns: "http://www.w3.org/2000/svg",
35
36
  "aria-labelledby": titleId
36
37
  }, props), title ? (0, _react2.jsx)("title", {
37
38
  id: titleId
38
39
  }, title) : null, (0, _react2.jsx)("path", {
39
- d: "M15 9a1 1 0 01.993.883L16 10v5a1 1 0 01-.883.993L15 16H7a1 1 0 01-.993-.883L6 15v-5a1 1 0 01.883-.993L7 9h8zM2.5 10a.5.5 0 01.492.41L3 10.5V12h1.5a.5.5 0 01.09.992L4.5 13H3v1.5a.5.5 0 01-.992.09L2 14.5V13H.5a.5.5 0 01-.09-.992L.5 12H2v-1.5a.5.5 0 01.5-.5zM15 10H7v5h8v-5zm-1 3v1H8v-1h6zm1-13a1 1 0 011 1v5a1 1 0 01-1 1H1a1 1 0 01-1-1V1a1 1 0 011-1h14zm0 1H1v5h14V1zM8 4v1H2V4h6z"
40
+ fillRule: "evenodd",
41
+ clipRule: "evenodd",
42
+ d: "M14 11.42V4.58L8 1.152 2 4.58v6.84l6 3.428 6-3.428zM8 16l7-4V4L8 0 1 4v8l7 4zM8 4.607l3 1.714V9.68l-3 1.714-3-1.714V6.32l3-1.714zm4 1.134v4.518l-4 2.286-4-2.286V5.741l4-2.286 4 2.286z"
40
43
  }));
41
44
  };
42
45
 
43
- var icon = EuiIconKeyboardShortcut;
46
+ var icon = EuiIconKubernetesNode;
44
47
  exports.icon = icon;
@@ -23,22 +23,25 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
23
23
 
24
24
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
25
 
26
- var EuiIconKeyboardShortcut = function EuiIconKeyboardShortcut(_ref) {
26
+ var EuiIconKubernetesPod = function EuiIconKubernetesPod(_ref) {
27
27
  var title = _ref.title,
28
28
  titleId = _ref.titleId,
29
29
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
30
30
  return (0, _react2.jsx)("svg", (0, _extends2.default)({
31
- xmlns: "http://www.w3.org/2000/svg",
32
31
  width: 16,
33
32
  height: 16,
34
33
  viewBox: "0 0 16 16",
34
+ fill: "none",
35
+ xmlns: "http://www.w3.org/2000/svg",
35
36
  "aria-labelledby": titleId
36
37
  }, props), title ? (0, _react2.jsx)("title", {
37
38
  id: titleId
38
39
  }, title) : null, (0, _react2.jsx)("path", {
39
- d: "M15 9a1 1 0 01.993.883L16 10v5a1 1 0 01-.883.993L15 16H7a1 1 0 01-.993-.883L6 15v-5a1 1 0 01.883-.993L7 9h8zM2.5 10a.5.5 0 01.492.41L3 10.5V12h1.5a.5.5 0 01.09.992L4.5 13H3v1.5a.5.5 0 01-.992.09L2 14.5V13H.5a.5.5 0 01-.09-.992L.5 12H2v-1.5a.5.5 0 01.5-.5zM15 10H7v5h8v-5zm-1 3v1H8v-1h6zm1-13a1 1 0 011 1v5a1 1 0 01-1 1H1a1 1 0 01-1-1V1a1 1 0 011-1h14zm0 1H1v5h14V1zM8 4v1H2V4h6z"
40
+ fillRule: "evenodd",
41
+ clipRule: "evenodd",
42
+ d: "M14 5.151v6.269l-5.5 3.142V8.29L14 5.151zm-.508-.861L8 1.152 2.508 4.29 8 7.424l5.492-3.134zM2 5.151l5.5 3.14v6.272L2 11.42V5.15zM15 12l-7 4-7-4V4l7-4 7 4v8z"
40
43
  }));
41
44
  };
42
45
 
43
- var icon = EuiIconKeyboardShortcut;
46
+ var icon = EuiIconKubernetesPod;
44
47
  exports.icon = icon;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
6
+
7
+ Object.defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+ exports.icon = void 0;
11
+
12
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
13
+
14
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
15
+
16
+ var React = _interopRequireWildcard(require("react"));
17
+
18
+ var _react2 = require("@emotion/react");
19
+
20
+ var _excluded = ["title", "titleId"];
21
+
22
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
23
+
24
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
+
26
+ var EuiIconNamespace = function EuiIconNamespace(_ref) {
27
+ var title = _ref.title,
28
+ titleId = _ref.titleId,
29
+ props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
30
+ return (0, _react2.jsx)("svg", (0, _extends2.default)({
31
+ width: 16,
32
+ height: 16,
33
+ viewBox: "0 0 16 16",
34
+ fill: "none",
35
+ xmlns: "http://www.w3.org/2000/svg",
36
+ "aria-labelledby": titleId
37
+ }, props), title ? (0, _react2.jsx)("title", {
38
+ id: titleId
39
+ }, title) : null, (0, _react2.jsx)("path", {
40
+ fillRule: "evenodd",
41
+ clipRule: "evenodd",
42
+ d: "M1 1h14v14H1V1zm13 12v1H2V2h12v11zM6 6h4v4H6V6zm-1 5V5h6v6H5z"
43
+ }));
44
+ };
45
+
46
+ var icon = EuiIconNamespace;
47
+ exports.icon = icon;
@@ -56,11 +56,13 @@ var typeToPathMap = {
56
56
  cloudDrizzle: 'cloudDrizzle',
57
57
  cloudStormy: 'cloudStormy',
58
58
  cloudSunny: 'cloudSunny',
59
+ cluster: 'cluster',
59
60
  codeApp: 'app_code',
60
61
  color: 'color',
61
62
  compute: 'compute',
62
63
  console: 'console',
63
64
  consoleApp: 'app_console',
65
+ container: 'container',
64
66
  continuityAbove: 'continuityAbove',
65
67
  continuityAboveBelow: 'continuityAboveBelow',
66
68
  continuityBelow: 'continuityBelow',
@@ -181,12 +183,14 @@ var typeToPathMap = {
181
183
  inspect: 'inspect',
182
184
  invert: 'invert',
183
185
  ip: 'ip',
184
- keyboardShortcut: 'keyboard_shortcut',
186
+ keyboard: 'keyboard',
185
187
  kqlField: 'kql_field',
186
188
  kqlFunction: 'kql_function',
187
189
  kqlOperand: 'kql_operand',
188
190
  kqlSelector: 'kql_selector',
189
191
  kqlValue: 'kql_value',
192
+ kubernetesNode: 'kubernetesNode',
193
+ kubernetesPod: 'kubernetesPod',
190
194
  layers: 'layers',
191
195
  lensApp: 'app_lens',
192
196
  lettering: 'lettering',
@@ -284,6 +288,7 @@ var typeToPathMap = {
284
288
  mobile: 'mobile',
285
289
  monitoringApp: 'app_monitoring',
286
290
  moon: 'moon',
291
+ namespace: 'namespace',
287
292
  nested: 'nested',
288
293
  node: 'node',
289
294
  notebookApp: 'app_notebook',
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M4.5 7C5.88071 7 7 5.88071 7 4.5S5.88071 2 4.5 2 2 3.11929 2 4.5 3.11929 7 4.5 7zm0-6c1.76324 0 3.22194 1.30385 3.46456 3h3.12084c.2059-.5826.7615-1 1.4146-1 .8284 0 1.5.67157 1.5 1.5S13.3284 6 12.5 6c-.6531 0-1.2087-.4174-1.4146-1H7.96456c-.08482.59296-.31826 1.13798-.66139 1.59611l2.10061 2.1008C9.9881 8.25924 10.7138 8 11.5 8c1.933 0 3.5 1.567 3.5 3.5S13.433 15 11.5 15c-1.76324 0-3.22194-1.3039-3.46456-3H4.91465c-.20592.5826-.76154 1-1.41465 1-.82843 0-1.5-.6716-1.5-1.5S2.67157 10 3.5 10c.65311 0 1.20873.4174 1.41465 1h3.12079c.08481-.5929.31821-1.13786.66127-1.59595L6.59606 7.30321C6.01178 7.74081 5.28616 8 4.5 8 2.567 8 1 6.433 1 4.5S2.567 1 4.5 1zM12 4.5c0 .27614.2239.5.5.5s.5-.22386.5-.5-.2239-.5-.5-.5-.5.22386-.5.5zm-.5 9.5C10.1193 14 9 12.8807 9 11.5S10.1193 9 11.5 9s2.5 1.1193 2.5 2.5-1.1193 2.5-2.5 2.5zM4 11.5c0 .2761-.22386.5-.5.5s-.5-.2239-.5-.5.22386-.5.5-.5.5.2239.5.5z" />
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0 2.5A.5.5 0 0 1 .5 2h15a.5.5 0 0 1 0 1H15v10h.5a.5.5 0 0 1 0 1H.5a.5.5 0 0 1 0-1H1V3H.5a.5.5 0 0 1-.5-.5zM2 3h12v10H2V3zm3 2a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 1 0v-5A.5.5 0 0 0 5 5zm5.5.5a.5.5 0 0 1 1 0v5a.5.5 0 0 1-1 0v-5zM8 5a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 1 0v-5A.5.5 0 0 0 8 5z" />
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0 3h16v11H0V3Zm15 10V4H1v9h14ZM2 5h2v1H2V5Zm2 7v-1H2v1h2Zm10-1v1h-2v-1h2Zm-3 1v-1H5v1h6ZM5 5h1v1H5V5ZM3 7H2v1h1V7Zm3 0h1v1H6V7ZM3 9H2v1h1V9Zm3 0h1v1H6V9Zm2-4H7v1h1V5ZM4 7h1v1H4V7Zm5 0H8v1h1V7Zm1 0h1v1h-1V7ZM5 9H4v1h1V9Zm3 0h1v1H8V9Zm3 0h-1v1h1V9ZM9 5h1v1H9V5Zm3 0h-1v1h1V5Zm1 0h1v1h-1V5Zm1 2h-2v3h2V7Z" />
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M14 11.4197V4.58032L8 1.15175 2 4.58032v6.83938l6 3.4285 6-3.4285zM8 16l7-4V4L8 0 1 4v8l7 4zM8 4.60695l3 1.71429v3.35742L8 11.3929 5 9.67866V6.32124l3-1.71429zm4 1.13396V10.259l-4 2.2857-4-2.2857V5.74091L8 3.4552l4 2.28571z" />
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M14 5.1514v6.2683l-5.49989 3.1428V8.29025L14 5.1514zm-.5081-.86142L8 1.15175 2.50813 4.28996l5.49203 3.13422 5.49174-3.1342zM2 5.15136l5.50011 3.13883v6.27241L2 11.4197V5.15136zM15 12l-7 4-7-4V4l7-4 7 4v8z" />
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M1 1h14v14H1V1zm13 12v1H2V2h12v11zM6 6h4v4H6V6zm-1 5V5h6v6H5z" />
3
+ </svg>
@@ -62,7 +62,7 @@ var _outside_click_detector = require("../outside_click_detector");
62
62
 
63
63
  var _react2 = require("@emotion/react");
64
64
 
65
- var _excluded = ["anchorClassName", "anchorPosition", "button", "buttonRef", "insert", "isOpen", "ownFocus", "children", "className", "closePopover", "panelClassName", "panelPaddingSize", "panelProps", "panelRef", "panelStyle", "popoverRef", "hasArrow", "arrowChildren", "repositionOnScroll", "zIndex", "initialFocus", "attachToAnchor", "display", "onTrapDeactivation", "buffer", "aria-label", "aria-labelledby", "container", "focusTrapProps", "tabIndex"];
65
+ var _excluded = ["anchorClassName", "anchorPosition", "button", "buttonRef", "insert", "isOpen", "ownFocus", "children", "className", "closePopover", "panelClassName", "panelPaddingSize", "panelProps", "panelRef", "panelStyle", "popoverScreenReaderText", "popoverRef", "hasArrow", "arrowChildren", "repositionOnScroll", "zIndex", "initialFocus", "attachToAnchor", "display", "offset", "onTrapDeactivation", "buffer", "aria-label", "aria-labelledby", "container", "focusTrapProps", "tabIndex"];
66
66
 
67
67
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
68
68
 
@@ -515,6 +515,7 @@ var EuiPopover = /*#__PURE__*/function (_Component) {
515
515
  panelProps = _this$props.panelProps,
516
516
  panelRef = _this$props.panelRef,
517
517
  panelStyle = _this$props.panelStyle,
518
+ popoverScreenReaderText = _this$props.popoverScreenReaderText,
518
519
  popoverRef = _this$props.popoverRef,
519
520
  hasArrow = _this$props.hasArrow,
520
521
  arrowChildren = _this$props.arrowChildren,
@@ -523,6 +524,7 @@ var EuiPopover = /*#__PURE__*/function (_Component) {
523
524
  initialFocus = _this$props.initialFocus,
524
525
  attachToAnchor = _this$props.attachToAnchor,
525
526
  display = _this$props.display,
527
+ offset = _this$props.offset,
526
528
  onTrapDeactivation = _this$props.onTrapDeactivation,
527
529
  buffer = _this$props.buffer,
528
530
  ariaLabel = _this$props['aria-label'],
@@ -567,14 +569,14 @@ var EuiPopover = /*#__PURE__*/function (_Component) {
567
569
 
568
570
  var focusTrapScreenReaderText;
569
571
 
570
- if (ownFocus) {
572
+ if (ownFocus || popoverScreenReaderText) {
571
573
  ariaDescribedby = this.descriptionId;
572
574
  focusTrapScreenReaderText = (0, _react2.jsx)(_accessibility.EuiScreenReaderOnly, null, (0, _react2.jsx)("p", {
573
575
  id: this.descriptionId
574
- }, (0, _react2.jsx)(_i18n.EuiI18n, {
576
+ }, ownFocus && (0, _react2.jsx)(_i18n.EuiI18n, {
575
577
  token: "euiPopover.screenReaderAnnouncement",
576
578
  default: "You are in a dialog. To close this dialog, hit escape."
577
- })));
579
+ }), popoverScreenReaderText));
578
580
  }
579
581
 
580
582
  var arrowClassNames = (0, _classnames.default)('euiPopover__panelArrow', "euiPopover__panelArrow--".concat(this.state.arrowPosition));
@@ -170,6 +170,8 @@ var EuiSelectable = /*#__PURE__*/function (_Component) {
170
170
  event.stopPropagation();
171
171
 
172
172
  if (_this.state.activeOptionIndex != null && optionsList) {
173
+ event.persist(); // NOTE: This is needed for React v16 backwards compatibility
174
+
173
175
  optionsList.onAddOrRemoveOption(_this.state.visibleOptions[_this.state.activeOptionIndex], event);
174
176
  }
175
177
 
@@ -63,7 +63,8 @@ var euiScaleText = function euiScaleText(euiThemeContext, options) {
63
63
  var customScale = _customScale === 'xxxs' ? 'xxs' : _customScale || 'm';
64
64
  var headingMarginTop = "".concat(parseFloat(euiTheme.size[customScale]) * 2, "px");
65
65
  var headingMarginBottom = euiTheme.size[customScale];
66
- return "\n font-size: ".concat(fontSize, ";\n line-height: ").concat(lineHeight, ";\n\n h1 {\n font-size: ").concat(headings.h1.fontSize, ";\n line-height: ").concat(headings.h1.lineHeight, ";\n }\n h1:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n\n h2 {\n font-size: ").concat(headings.h2.fontSize, ";\n line-height: ").concat(headings.h2.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n h3 {\n font-size: ").concat(headings.h3.fontSize, ";\n line-height: ").concat(headings.h3.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n h4 {\n font-size: ").concat(headings.h4.fontSize, ";\n line-height: ").concat(headings.h4.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n h5 {\n font-size: ").concat(headings.h5.fontSize, ";\n line-height: ").concat(headings.h5.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n h6 {\n font-size: ").concat(headings.h6.fontSize, ";\n line-height: ").concat(headings.h6.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n p,\n ul,\n ol,\n dl,\n blockquote,\n img,\n pre {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', lineHeightSize), "\n }\n\n ul,\n ol {\n ").concat((0, _global_styling.logicalCSS)('margin-left', lineHeightSize), "\n }\n \n blockquote {\n font-size: ").concat(fontSize, ";\n padding: ").concat(lineHeightSize, ";\n }\n\n dd + dt {\n ").concat((0, _global_styling.logicalCSS)('margin-top', fontSize), "\n }\n\n dt,\n .eui-definitionListReverse dd {\n font-size: ").concat(fontSize, ";\n line-height: ").concat(lineHeight, ";\n }\n\n .eui-definitionListReverse dt {\n font-size: ").concat((0, _global_styling.euiFontSize)(euiThemeContext, 'xs', options).fontSize, ";\n color: ").concat(euiTheme.colors.text, ";\n }\n\n small {\n font-size: ").concat((0, _global_styling.euiFontSize)(euiThemeContext, 's', options).fontSize, ";\n }\n\n pre:not(.euiCodeBlock__pre) {\n padding: ").concat(lineHeightSize, ";\n }\n\n code:not(.euiCode):not(.euiCodeBlock__code) {\n font-size: .9em; // 90% of parent font size\n }\n ");
66
+ return "\n font-size: ".concat(fontSize, ";\n line-height: ").concat(lineHeight, ";\n\n h1 {\n font-size: ").concat(headings.h1.fontSize, ";\n line-height: ").concat(headings.h1.lineHeight, ";\n }\n h1:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n\n h2 {\n font-size: ").concat(headings.h2.fontSize, ";\n line-height: ").concat(headings.h2.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n h3 {\n font-size: ").concat(headings.h3.fontSize, ";\n line-height: ").concat(headings.h3.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n h4 {\n font-size: ").concat(headings.h4.fontSize, ";\n line-height: ").concat(headings.h4.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n h5 {\n font-size: ").concat(headings.h5.fontSize, ";\n line-height: ").concat(headings.h5.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n h6 {\n font-size: ").concat(headings.h6.fontSize, ";\n line-height: ").concat(headings.h6.lineHeight, ";\n\n &:not(:first-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', headingMarginBottom), "\n }\n }\n\n p,\n ul,\n ol,\n dl,\n blockquote,\n img,\n pre {\n ").concat((0, _global_styling.logicalCSS)('margin-bottom', lineHeightSize), "\n }\n\n ul,\n ol {\n ").concat((0, _global_styling.logicalCSS)('margin-left', lineHeightSize), "\n }\n \n blockquote {\n font-size: ").concat(fontSize, ";\n padding: ").concat(lineHeightSize, ";\n }\n\n dd + dt {\n ").concat((0, _global_styling.logicalCSS)('margin-top', fontSize), "\n }\n\n dt,\n .eui-definitionListReverse dd {\n font-size: ").concat(fontSize, ";\n line-height: ").concat(lineHeight, ";\n }\n\n .eui-definitionListReverse dt {\n font-size: ").concat((0, _global_styling.euiFontSize)(euiThemeContext, 'xs', options).fontSize, ";\n color: ").concat(euiTheme.colors.text, ";\n }\n\n small {\n font-size: ").concat((0, _global_styling.euiFontSize)(euiThemeContext, 's', options).fontSize, ";\n }\n\n pre:not(.euiCodeBlock__pre) {\n padding: ").concat(lineHeightSize, ";\n }\n\n code:not(.euiCode):not(.euiCodeBlock__code) {\n font-size: .9em; // 90% of parent font size\n }\n ").concat( // when textSize is 'm', the 'kbd' element gets a line between the text and the border-bottom
67
+ _customScale === 'm' ? "\n kbd {\n ".concat((0, _global_styling.logicalCSS)('padding-bottom', euiTheme.size.xs), "\n // ensures when only one character the shape looks like a square\n ").concat((0, _global_styling.logicalCSS)('min-width', euiTheme.size.l), "\n ").concat((0, _global_styling.logicalTextAlignCSS)('center'), "\n }\n \n kbd::after {\n content: '';\n ").concat((0, _global_styling.logicalCSS)('border-bottom', "".concat(euiTheme.border.width.thin, " solid ").concat(euiTheme.colors.text)), "\n position: absolute;\n ").concat((0, _global_styling.logicalCSS)('bottom', euiTheme.size.xxs), "\n ").concat((0, _global_styling.logicalCSS)('left', 0), "\n ").concat((0, _global_styling.logicalCSS)('width', '100%'), "\n }") : '', "\n ");
67
68
  };
68
69
  /**
69
70
  * Styles
@@ -73,8 +74,8 @@ var euiScaleText = function euiScaleText(euiThemeContext, options) {
73
74
  var euiTextStyles = function euiTextStyles(euiThemeContext) {
74
75
  var euiTheme = euiThemeContext.euiTheme;
75
76
  return {
76
- euiText: /*#__PURE__*/(0, _react.css)(euiText(euiTheme, true), ";clear:both;a:not([class]){", (0, _link.euiLinkCSS)(euiTheme), ";}img{display:block;width:100%;}ul{list-style:disc;}ol{list-style:decimal;}blockquote:not(.euiMarkdownFormat__blockquote){position:relative;text-align:center;", (0, _global_styling.logicalCSS)('margin-horizontal', 'auto'), " font-family:", euiTheme.font.familySerif, ";font-style:italic;letter-spacing:normal;p:last-child{margin-bottom:0;}&:before,&:after{position:absolute;content:'';height:", euiTheme.border.width.thick, ";width:50%;right:0;transform:translateX(-50%);background:", euiTheme.colors.darkShade, ";}&:before{top:0;}&:after{bottom:0;}}h1{", (0, _title.euiTitle)(euiThemeContext, 'l'), ";}h2{", (0, _title.euiTitle)(euiThemeContext, 'm'), ";}h3{", (0, _title.euiTitle)(euiThemeContext, 's'), ";}h4,dt{", (0, _title.euiTitle)(euiThemeContext, 'xs'), ";}h5{", (0, _title.euiTitle)(euiThemeContext, 'xxs'), ";}h6{", (0, _title.euiTitle)(euiThemeContext, 'xxxs'), " text-transform:uppercase;}h1,h2,h3,h4,h5,h6,dt{color:inherit;}pre:not(.euiCodeBlock__pre){white-space:pre-wrap;background:", (0, _global_styling.euiBackgroundColor)(euiThemeContext, 'subdued'), ";color:", euiTheme.colors.text, ";}pre:not(.euiCodeBlock__pre),pre:not(.euiCodeBlock__pre) code{display:block;}>:last-child{margin-bottom:0!important;};label:euiText;"),
77
- constrainedWidth: /*#__PURE__*/(0, _react.css)("max-width:", euiTextConstrainedMaxWidth, ";;label:constrainedWidth;"),
77
+ euiText: /*#__PURE__*/(0, _react.css)(euiText(euiTheme, true), ";clear:both;a:not([class]){", (0, _link.euiLinkCSS)(euiTheme), ";}img{display:block;width:100%;}ul{list-style:disc;}ol{list-style:decimal;}blockquote:not(.euiMarkdownFormat__blockquote){position:relative;", (0, _global_styling.logicalTextAlignCSS)('center'), " ", (0, _global_styling.logicalCSS)('margin-horizontal', 'auto'), " font-family:", euiTheme.font.familySerif, ";font-style:italic;letter-spacing:normal;p:last-child{", (0, _global_styling.logicalCSS)('margin-bottom', '0'), ";}&:before,&:after{position:absolute;content:'';", (0, _global_styling.logicalCSS)('height', euiTheme.border.width.thick), " ", (0, _global_styling.logicalCSS)('width', '50%'), " ", (0, _global_styling.logicalCSS)('left', '25%'), " ", (0, _global_styling.logicalCSS)('right', '25%'), " background:", euiTheme.colors.darkShade, ";}&:before{", (0, _global_styling.logicalCSS)('top', '0'), ";}&:after{", (0, _global_styling.logicalCSS)('bottom', '0'), ";}}h1{", (0, _title.euiTitle)(euiThemeContext, 'l'), ";}h2{", (0, _title.euiTitle)(euiThemeContext, 'm'), ";}h3{", (0, _title.euiTitle)(euiThemeContext, 's'), ";}h4,dt{", (0, _title.euiTitle)(euiThemeContext, 'xs'), ";}h5{", (0, _title.euiTitle)(euiThemeContext, 'xxs'), ";}h6{", (0, _title.euiTitle)(euiThemeContext, 'xxxs'), " text-transform:uppercase;}h1,h2,h3,h4,h5,h6,dt{color:inherit;}pre:not(.euiCodeBlock__pre){white-space:pre-wrap;background:", (0, _global_styling.euiBackgroundColor)(euiThemeContext, 'subdued'), ";color:", euiTheme.colors.text, ";}pre:not(.euiCodeBlock__pre),pre:not(.euiCodeBlock__pre) code{display:block;}>:last-child{", (0, _global_styling.logicalCSS)('margin-bottom', '0 !important'), ";}kbd{position:relative;display:inline-block;", (0, _global_styling.logicalCSS)('padding-vertical', euiTheme.size.xxs), " ", (0, _global_styling.logicalCSS)('padding-horizontal', euiTheme.size.xs), " line-height:1;border:", euiTheme.border.width.thin, " solid ", euiTheme.colors.text, ";border-radius:calc(", euiTheme.border.radius.small, " / 2);};label:euiText;"),
78
+ constrainedWidth: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('max-width', euiTextConstrainedMaxWidth), ";;label:constrainedWidth;"),
78
79
  // Sizes
79
80
  m: /*#__PURE__*/(0, _react.css)(euiScaleText(euiThemeContext, {
80
81
  measurement: 'rem',
@@ -21,7 +21,7 @@ var _timeline_item = require("./timeline_item.styles");
21
21
 
22
22
  var _react2 = require("@emotion/react");
23
23
 
24
- var _excluded = ["children", "verticalAlign", "icon", "iconAriaLabel", "className"];
24
+ var _excluded = ["children", "verticalAlign", "icon", "iconAriaLabel"];
25
25
  var VERTICAL_ALIGN = ['top', 'center'];
26
26
  exports.VERTICAL_ALIGN = VERTICAL_ALIGN;
27
27
 
@@ -31,7 +31,6 @@ var EuiTimelineItem = function EuiTimelineItem(_ref) {
31
31
  verticalAlign = _ref$verticalAlign === void 0 ? 'center' : _ref$verticalAlign,
32
32
  icon = _ref.icon,
33
33
  iconAriaLabel = _ref.iconAriaLabel,
34
- className = _ref.className,
35
34
  rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
36
35
  var styles = (0, _timeline_item.euiTimelineItemStyles)();
37
36
  var cssStyles = [styles.euiTimelineItem, styles[verticalAlign]];
@@ -56,6 +56,19 @@ Object.keys(_useIsWithinBreakpoints).forEach(function (key) {
56
56
  });
57
57
  });
58
58
 
59
+ var _useLatest = require("./useLatest");
60
+
61
+ Object.keys(_useLatest).forEach(function (key) {
62
+ if (key === "default" || key === "__esModule") return;
63
+ if (key in exports && exports[key] === _useLatest[key]) return;
64
+ Object.defineProperty(exports, key, {
65
+ enumerable: true,
66
+ get: function get() {
67
+ return _useLatest[key];
68
+ }
69
+ });
70
+ });
71
+
59
72
  var _useMouseMove = require("./useMouseMove");
60
73
 
61
74
  Object.keys(_useMouseMove).forEach(function (key) {
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useLatest = useLatest;
7
+
8
+ var _react = require("react");
9
+
10
+ /*
11
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
12
+ * or more contributor license agreements. Licensed under the Elastic License
13
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
14
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
15
+ * Side Public License, v 1.
16
+ */
17
+
18
+ /**
19
+ * Wraps the given `value` into a `MutableRefObject` and keeps the `current`
20
+ * value up-to-date on every render cycle.
21
+ */
22
+ function useLatest(value) {
23
+ var latestValueRef = (0, _react.useRef)(value);
24
+ latestValueRef.current = value;
25
+ return latestValueRef;
26
+ }
@@ -29,7 +29,7 @@ var replaceEmotionPrefix = function replaceEmotionPrefix(selector) {
29
29
  // Starts with `css-[hash]-`.
30
30
  // Contains `eui[ComponentName] or `Eui[ComponentName]`.
31
31
  // Capture the component name (from above) and all variant additions until the end of the string.
32
- var euiMatch = selector.match( /*#__PURE__*/_wrapRegExp(/css\x2D[0-9A-Z_a-z]{6,}\x2D([Ee]ui[A-Z][\x2D0-9A-Z_a-z]*$)/, {
32
+ var euiMatch = selector.match( /*#__PURE__*/_wrapRegExp(/css\x2D[0-9A-Z_a-z]{5,}\x2D([Ee]ui[A-Z][\x2D0-9A-Z_a-z]*$)/, {
33
33
  euiComponent: 1
34
34
  })); // Use the captured group (`euiComponent`) if available and prepend with `emotion-`,
35
35
  // otherwise use the full selector.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@elastic/eui",
3
3
  "description": "Elastic UI Component Library",
4
- "version": "60.1.2",
4
+ "version": "61.0.0",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "lib",
7
7
  "module": "es",
8
8
  "types": "eui.d.ts",
9
- "docker_image": "node:16.14.2",
9
+ "docker_image": "node:16.16.0",
10
10
  "sideEffects": [
11
11
  "*.css",
12
12
  "*.scss"
@@ -115,7 +115,7 @@
115
115
  "@cypress/code-coverage": "^3.9.12",
116
116
  "@cypress/react": "^5.10.3",
117
117
  "@cypress/webpack-dev-server": "^1.7.0",
118
- "@elastic/charts": "^46.11.0",
118
+ "@elastic/charts": "^46.13.0",
119
119
  "@elastic/datemath": "^5.0.3",
120
120
  "@elastic/eslint-config-kibana": "^0.15.0",
121
121
  "@emotion/babel-preset-css-prop": "^11.2.0",
@@ -16,11 +16,6 @@
16
16
  align-items: center;
17
17
  display: flex;
18
18
 
19
- > * {
20
- max-width: 100%;
21
- width: 100%;
22
- }
23
-
24
19
  &.euiDataGridHeaderCell--numeric {
25
20
  text-align: right;
26
21
  }
@@ -45,10 +40,6 @@
45
40
  margin-right: $euiSizeXS;
46
41
  }
47
42
 
48
- .euiDataGridHeaderCell__anchor {
49
- width: 100%;
50
- }
51
-
52
43
  .euiDataGridHeaderCell__button {
53
44
  flex: 0 0 auto;
54
45
  position: relative;
@@ -11,7 +11,6 @@
11
11
  @import 'collapsible_nav/index';
12
12
  @import 'color_picker/index';
13
13
  @import 'combo_box/index';
14
- @import 'comment_list/index';
15
14
  @import 'context_menu/index';
16
15
  @import 'control_bar/index';
17
16
  @import 'date_picker/index';
@@ -1,4 +1,7 @@
1
1
  .euiMarkdownEditor {
2
+ display: flex;
3
+ flex-direction: column;
4
+
2
5
  &--isPreviewing {
3
6
  .euiMarkdownEditor__toggleContainer {
4
7
  display: none;
@@ -6,8 +9,6 @@
6
9
  }
7
10
 
8
11
  &--fullHeight {
9
- display: flex;
10
- flex-direction: column;
11
12
  height: 100%;
12
13
 
13
14
  .euiMarkdownEditorTextArea {
@@ -6,7 +6,6 @@
6
6
  @import 'code';
7
7
  @import 'color_stops';
8
8
  @import 'combo_box';
9
- @import 'comment';
10
9
  @import 'data_grid';
11
10
  @import 'date_picker';
12
11
  @import 'date_popover_button';
@@ -204,7 +204,7 @@ EuiSkipLink.propTypes = {
204
204
  /**
205
205
  * Any `type` accepted by EuiIcon
206
206
  */
207
- iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "alert", "analyzeEvent", "annotation", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "asterisk", "auditbeatApp", "beaker", "bell", "bellSlash", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "check", "checkInCircleFilled", "cheer", "classificationJob", "clock", "cloudDrizzle", "cloudStormy", "cloudSunny", "codeApp", "color", "compute", "console", "consoleApp", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInACircleFilled", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "discoverApp", "document", "documentEdit", "documentation", "documents", "dot", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "eql", "eraser", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "filebeatApp", "filter", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "inputOutput", "inspect", "invert", "ip", "keyboardShortcut", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "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", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "mobile", "monitoringApp", "moon", "nested", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipelineApp", "play", "playFilled", "plus", "plusInCircle", "plusInCircleFilled", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "snowflake", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spacesApp", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelionApp", "timeRefresh", "timeslider", "training", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "watchesApp", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "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"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]),
207
+ iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "alert", "analyzeEvent", "annotation", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "asterisk", "auditbeatApp", "beaker", "bell", "bellSlash", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "check", "checkInCircleFilled", "cheer", "classificationJob", "clock", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInACircleFilled", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "discoverApp", "document", "documentEdit", "documentation", "documents", "dot", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "eql", "eraser", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "filebeatApp", "filter", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "inputOutput", "inspect", "invert", "ip", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "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", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "mobile", "monitoringApp", "moon", "namespace", "nested", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipelineApp", "play", "playFilled", "plus", "plusInCircle", "plusInCircleFilled", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "snowflake", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spacesApp", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelionApp", "timeRefresh", "timeslider", "training", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "watchesApp", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "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"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]),
208
208
 
209
209
  /**
210
210
  * Can only be one side `left` or `right`
@@ -122,6 +122,12 @@ var EuiAccordionClass = /*#__PURE__*/function (_Component) {
122
122
  _this.childContent = node;
123
123
  });
124
124
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "generatedId", (0, _services.htmlIdGenerator)()());
125
+ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "resizeRef", function () {});
126
+ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "observerRef", function (ref) {
127
+ _this.setChildContentRef(ref);
128
+
129
+ _this.resizeRef(ref);
130
+ });
125
131
  return _this;
126
132
  }
127
133
 
@@ -271,12 +277,9 @@ var EuiAccordionClass = /*#__PURE__*/function (_Component) {
271
277
  }, (0, _react2.jsx)(_resize_observer.EuiResizeObserver, {
272
278
  onResize: this.setChildContentHeight
273
279
  }, function (resizeRef) {
280
+ _this2.resizeRef = resizeRef;
274
281
  return (0, _react2.jsx)("div", {
275
- ref: function ref(_ref) {
276
- _this2.setChildContentRef(_ref);
277
-
278
- resizeRef(_ref);
279
- }
282
+ ref: _this2.observerRef
280
283
  }, (0, _react2.jsx)("div", {
281
284
  className: childrenClasses,
282
285
  css: cssChildrenStyles