@elastic/eui 75.1.2 → 76.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 (288) hide show
  1. package/es/components/accessibility/skip_link/skip_link.js +11 -42
  2. package/es/components/avatar/avatar.js +1 -1
  3. package/es/components/badge/badge.js +1 -1
  4. package/es/components/badge/badge_group/badge_group.styles.js +1 -1
  5. package/es/components/badge/beta_badge/beta_badge.js +1 -1
  6. package/es/components/basic_table/basic_table.js +1 -1
  7. package/es/components/basic_table/collapsed_item_actions.js +1 -1
  8. package/es/components/basic_table/in_memory_table.js +1 -1
  9. package/es/components/button/_button_content_deprecated.js +1 -1
  10. package/es/components/button/button_display/_button_display.js +1 -1
  11. package/es/components/button/button_display/_button_display_content.js +1 -1
  12. package/es/components/button/button_empty/button_empty.js +1 -1
  13. package/es/components/button/button_group/button_group.js +1 -1
  14. package/es/components/button/button_group/button_group_button.js +1 -1
  15. package/es/components/button/button_icon/button_icon.js +1 -1
  16. package/es/components/call_out/call_out.js +1 -1
  17. package/es/components/card/card.js +1 -1
  18. package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
  19. package/es/components/comment_list/comment.js +2 -2
  20. package/es/components/comment_list/comment_event.js +1 -1
  21. package/es/components/comment_list/comment_list.js +2 -2
  22. package/es/components/comment_list/comment_timeline.js +1 -1
  23. package/es/components/control_bar/control_bar.a11y.js +1 -1
  24. package/es/components/datagrid/body/data_grid_body.js +89 -94
  25. package/es/components/datagrid/body/data_grid_cell.js +34 -24
  26. package/es/components/datagrid/body/{data_grid_footer_row.js → footer/data_grid_footer_row.js} +22 -15
  27. package/es/components/datagrid/body/footer/index.js +9 -0
  28. package/es/components/datagrid/body/footer/use_data_grid_footer.js +60 -0
  29. package/es/components/datagrid/body/header/data_grid_control_header_cell.js +24 -5
  30. package/es/components/datagrid/body/header/data_grid_header_cell.js +23 -17
  31. package/es/components/datagrid/body/header/data_grid_header_row.js +52 -17
  32. package/es/components/datagrid/body/header/index.js +2 -1
  33. package/es/components/datagrid/body/header/use_data_grid_header.js +66 -0
  34. package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
  35. package/es/components/datagrid/data_grid.js +52 -17
  36. package/es/components/datagrid/utils/in_memory.js +17 -12
  37. package/es/components/date_picker/date_picker.js +2 -2
  38. package/es/components/date_picker/date_picker_range.js +2 -2
  39. package/es/components/empty_prompt/empty_prompt.js +1 -1
  40. package/es/components/expression/expression.js +3 -3
  41. package/es/components/facet/facet_button.js +1 -1
  42. package/es/components/form/field_number/field_number.js +1 -1
  43. package/es/components/form/field_text/field_text.js +2 -2
  44. package/es/components/form/form_control_layout/form_control_layout.js +2 -2
  45. package/es/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
  46. package/es/components/form/form_control_layout/form_control_layout_icons.js +2 -2
  47. package/es/components/header/header_links/header_link.js +1 -1
  48. package/es/components/header/header_links/header_links.js +1 -1
  49. package/es/components/header/header_logo.js +1 -1
  50. package/es/components/icon/assets/pivot.js +41 -0
  51. package/es/components/icon/assets/{crossInACircleFilled.js → warning.js} +5 -3
  52. package/es/components/icon/icon.js +1 -1
  53. package/es/components/icon/icon_glyphs.a11y.js +1 -1
  54. package/es/components/icon/icon_map.js +2 -2
  55. package/es/components/key_pad_menu/key_pad_menu_item.js +1 -1
  56. package/es/components/list_group/list_group.js +2 -2
  57. package/es/components/list_group/list_group_item.js +2 -2
  58. package/es/components/list_group/list_group_item_extra_action.js +1 -1
  59. package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  60. package/es/components/loading/loading_logo.js +1 -1
  61. package/es/components/markdown_editor/markdown_editor.js +1 -1
  62. package/es/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
  63. package/es/components/markdown_editor/markdown_editor_footer.js +2 -2
  64. package/es/components/markdown_editor/markdown_editor_toolbar.js +1 -1
  65. package/es/components/notification/notification_event.js +2 -2
  66. package/es/components/notification/notification_event_meta.js +1 -1
  67. package/es/components/page/page_header/page_header_content.js +1 -1
  68. package/es/components/pagination/pagination_button.js +1 -1
  69. package/es/components/selectable/selectable_list/selectable_list.js +1 -1
  70. package/es/components/selectable/selectable_list/selectable_list_item.js +1 -1
  71. package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
  72. package/es/components/steps/step_number.js +1 -1
  73. package/es/components/suggest/suggest.js +1 -1
  74. package/es/components/suggest/suggest_item.js +1 -1
  75. package/es/components/table/table_header_button.js +1 -1
  76. package/es/components/text/text.styles.js +1 -1
  77. package/es/components/timeline/timeline_item_icon.js +1 -1
  78. package/es/components/toast/global_toast_list.js +1 -1
  79. package/es/components/toast/toast.js +1 -1
  80. package/es/components/tool_tip/icon_tip.js +1 -1
  81. package/eui.d.ts +98 -36
  82. package/i18ntokens.json +16 -16
  83. package/lib/components/accessibility/skip_link/skip_link.js +10 -41
  84. package/lib/components/avatar/avatar.js +1 -1
  85. package/lib/components/badge/badge.js +1 -1
  86. package/lib/components/badge/badge_group/badge_group.styles.js +1 -1
  87. package/lib/components/badge/beta_badge/beta_badge.js +1 -1
  88. package/lib/components/basic_table/basic_table.js +1 -1
  89. package/lib/components/basic_table/collapsed_item_actions.js +1 -1
  90. package/lib/components/basic_table/in_memory_table.js +1 -1
  91. package/lib/components/button/_button_content_deprecated.js +1 -1
  92. package/lib/components/button/button_display/_button_display.js +1 -1
  93. package/lib/components/button/button_display/_button_display_content.js +1 -1
  94. package/lib/components/button/button_empty/button_empty.js +1 -1
  95. package/lib/components/button/button_group/button_group.js +1 -1
  96. package/lib/components/button/button_group/button_group_button.js +1 -1
  97. package/lib/components/button/button_icon/button_icon.js +1 -1
  98. package/lib/components/call_out/call_out.js +1 -1
  99. package/lib/components/card/card.js +1 -1
  100. package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
  101. package/lib/components/comment_list/comment.js +2 -2
  102. package/lib/components/comment_list/comment_event.js +1 -1
  103. package/lib/components/comment_list/comment_list.js +2 -2
  104. package/lib/components/comment_list/comment_timeline.js +1 -1
  105. package/lib/components/control_bar/control_bar.a11y.js +1 -1
  106. package/lib/components/datagrid/body/data_grid_body.js +88 -95
  107. package/lib/components/datagrid/body/data_grid_cell.js +34 -24
  108. package/lib/components/datagrid/body/{data_grid_footer_row.js → footer/data_grid_footer_row.js} +21 -15
  109. package/lib/components/datagrid/body/footer/index.js +21 -0
  110. package/lib/components/datagrid/body/footer/use_data_grid_footer.js +71 -0
  111. package/lib/components/datagrid/body/header/data_grid_control_header_cell.js +25 -12
  112. package/lib/components/datagrid/body/header/data_grid_header_cell.js +23 -17
  113. package/lib/components/datagrid/body/header/data_grid_header_row.js +52 -17
  114. package/lib/components/datagrid/body/header/index.js +9 -1
  115. package/lib/components/datagrid/body/header/use_data_grid_header.js +79 -0
  116. package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
  117. package/lib/components/datagrid/data_grid.js +52 -17
  118. package/lib/components/datagrid/utils/in_memory.js +17 -12
  119. package/lib/components/date_picker/date_picker.js +2 -2
  120. package/lib/components/date_picker/date_picker_range.js +2 -2
  121. package/lib/components/empty_prompt/empty_prompt.js +1 -1
  122. package/lib/components/expression/expression.js +3 -3
  123. package/lib/components/facet/facet_button.js +1 -1
  124. package/lib/components/form/field_number/field_number.js +1 -1
  125. package/lib/components/form/field_text/field_text.js +2 -2
  126. package/lib/components/form/form_control_layout/form_control_layout.js +2 -2
  127. package/lib/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
  128. package/lib/components/form/form_control_layout/form_control_layout_icons.js +2 -2
  129. package/lib/components/header/header_links/header_link.js +1 -1
  130. package/lib/components/header/header_links/header_links.js +1 -1
  131. package/lib/components/header/header_logo.js +1 -1
  132. package/lib/components/icon/assets/pivot.js +48 -0
  133. package/lib/components/icon/assets/{crossInACircleFilled.js → warning.js} +5 -3
  134. package/lib/components/icon/icon.js +1 -1
  135. package/lib/components/icon/icon_glyphs.a11y.js +1 -1
  136. package/lib/components/icon/icon_map.js +2 -2
  137. package/lib/components/icon/svgs/pivot.svg +3 -0
  138. package/lib/components/key_pad_menu/key_pad_menu_item.js +1 -1
  139. package/lib/components/list_group/list_group.js +2 -2
  140. package/lib/components/list_group/list_group_item.js +2 -2
  141. package/lib/components/list_group/list_group_item_extra_action.js +1 -1
  142. package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  143. package/lib/components/loading/loading_logo.js +1 -1
  144. package/lib/components/markdown_editor/markdown_editor.js +1 -1
  145. package/lib/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
  146. package/lib/components/markdown_editor/markdown_editor_footer.js +2 -2
  147. package/lib/components/markdown_editor/markdown_editor_toolbar.js +1 -1
  148. package/lib/components/notification/notification_event.js +2 -2
  149. package/lib/components/notification/notification_event_meta.js +1 -1
  150. package/lib/components/page/page_header/page_header_content.js +1 -1
  151. package/lib/components/selectable/selectable_list/selectable_list.js +1 -1
  152. package/lib/components/selectable/selectable_list/selectable_list_item.js +1 -1
  153. package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
  154. package/lib/components/steps/step_number.js +1 -1
  155. package/lib/components/suggest/suggest.js +1 -1
  156. package/lib/components/suggest/suggest_item.js +1 -1
  157. package/lib/components/table/table_header_button.js +1 -1
  158. package/lib/components/text/text.styles.js +1 -1
  159. package/lib/components/timeline/timeline_item_icon.js +1 -1
  160. package/lib/components/toast/global_toast_list.js +1 -1
  161. package/lib/components/toast/toast.js +1 -1
  162. package/lib/components/tool_tip/icon_tip.js +1 -1
  163. package/optimize/es/components/accessibility/skip_link/skip_link.js +11 -31
  164. package/optimize/es/components/badge/badge_group/badge_group.styles.js +1 -1
  165. package/optimize/es/components/control_bar/control_bar.a11y.js +1 -1
  166. package/optimize/es/components/datagrid/body/data_grid_body.js +37 -66
  167. package/optimize/es/components/datagrid/body/{data_grid_footer_row.js → footer/data_grid_footer_row.js} +22 -15
  168. package/optimize/es/components/datagrid/body/footer/index.js +9 -0
  169. package/optimize/es/components/datagrid/body/footer/use_data_grid_footer.js +45 -0
  170. package/optimize/es/components/datagrid/body/header/data_grid_control_header_cell.js +7 -3
  171. package/optimize/es/components/datagrid/body/header/data_grid_header_cell.js +6 -5
  172. package/optimize/es/components/datagrid/body/header/index.js +2 -1
  173. package/optimize/es/components/datagrid/body/header/use_data_grid_header.js +51 -0
  174. package/optimize/es/components/date_picker/date_picker_range.js +1 -1
  175. package/optimize/es/components/expression/expression.js +1 -1
  176. package/optimize/es/components/icon/assets/pivot.js +37 -0
  177. package/optimize/es/components/icon/assets/{crossInACircleFilled.js → warning.js} +5 -3
  178. package/optimize/es/components/icon/icon_glyphs.a11y.js +1 -1
  179. package/optimize/es/components/icon/icon_map.js +2 -2
  180. package/optimize/es/components/markdown_editor/markdown_editor_footer.js +1 -1
  181. package/optimize/es/components/steps/step_number.js +1 -1
  182. package/optimize/es/components/text/text.styles.js +1 -1
  183. package/optimize/lib/components/accessibility/skip_link/skip_link.js +10 -31
  184. package/optimize/lib/components/badge/badge_group/badge_group.styles.js +1 -1
  185. package/optimize/lib/components/control_bar/control_bar.a11y.js +1 -1
  186. package/optimize/lib/components/datagrid/body/data_grid_body.js +36 -68
  187. package/{test-env/components/datagrid/body → optimize/lib/components/datagrid/body/footer}/data_grid_footer_row.js +21 -15
  188. package/optimize/lib/components/datagrid/body/footer/index.js +21 -0
  189. package/optimize/lib/components/datagrid/body/footer/use_data_grid_footer.js +60 -0
  190. package/optimize/lib/components/datagrid/body/header/data_grid_control_header_cell.js +8 -3
  191. package/optimize/lib/components/datagrid/body/header/data_grid_header_cell.js +6 -5
  192. package/optimize/lib/components/datagrid/body/header/index.js +9 -1
  193. package/optimize/lib/components/datagrid/body/header/use_data_grid_header.js +69 -0
  194. package/optimize/lib/components/date_picker/date_picker_range.js +1 -1
  195. package/optimize/lib/components/expression/expression.js +1 -1
  196. package/optimize/lib/components/icon/assets/pivot.js +47 -0
  197. package/optimize/lib/components/icon/assets/{crossInACircleFilled.js → warning.js} +5 -3
  198. package/optimize/lib/components/icon/icon_glyphs.a11y.js +1 -1
  199. package/optimize/lib/components/icon/icon_map.js +2 -2
  200. package/optimize/lib/components/icon/svgs/pivot.svg +3 -0
  201. package/optimize/lib/components/markdown_editor/markdown_editor_footer.js +1 -1
  202. package/optimize/lib/components/steps/step_number.js +1 -1
  203. package/optimize/lib/components/text/text.styles.js +1 -1
  204. package/package.json +1 -1
  205. package/src/components/datagrid/_index.scss +1 -1
  206. package/test-env/components/accessibility/skip_link/skip_link.js +10 -31
  207. package/test-env/components/avatar/avatar.js +1 -1
  208. package/test-env/components/badge/badge.js +1 -1
  209. package/test-env/components/badge/badge_group/badge_group.styles.js +1 -1
  210. package/test-env/components/badge/beta_badge/beta_badge.js +1 -1
  211. package/test-env/components/basic_table/basic_table.js +1 -1
  212. package/test-env/components/basic_table/collapsed_item_actions.js +1 -1
  213. package/test-env/components/basic_table/in_memory_table.js +1 -1
  214. package/test-env/components/button/_button_content_deprecated.js +1 -1
  215. package/test-env/components/button/button_display/_button_display.js +1 -1
  216. package/test-env/components/button/button_display/_button_display_content.js +1 -1
  217. package/test-env/components/button/button_empty/button_empty.js +1 -1
  218. package/test-env/components/button/button_group/button_group.js +1 -1
  219. package/test-env/components/button/button_group/button_group_button.js +1 -1
  220. package/test-env/components/button/button_icon/button_icon.js +1 -1
  221. package/test-env/components/call_out/call_out.js +1 -1
  222. package/test-env/components/card/card.js +1 -1
  223. package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
  224. package/test-env/components/comment_list/comment.js +2 -2
  225. package/test-env/components/comment_list/comment_event.js +1 -1
  226. package/test-env/components/comment_list/comment_list.js +2 -2
  227. package/test-env/components/comment_list/comment_timeline.js +1 -1
  228. package/test-env/components/control_bar/control_bar.a11y.js +1 -1
  229. package/test-env/components/datagrid/body/data_grid_body.js +88 -85
  230. package/test-env/components/datagrid/body/data_grid_cell.js +34 -24
  231. package/{optimize/lib/components/datagrid/body → test-env/components/datagrid/body/footer}/data_grid_footer_row.js +21 -15
  232. package/test-env/components/datagrid/body/footer/index.js +21 -0
  233. package/test-env/components/datagrid/body/footer/use_data_grid_footer.js +60 -0
  234. package/test-env/components/datagrid/body/header/data_grid_control_header_cell.js +25 -5
  235. package/test-env/components/datagrid/body/header/data_grid_header_cell.js +23 -17
  236. package/test-env/components/datagrid/body/header/data_grid_header_row.js +52 -17
  237. package/test-env/components/datagrid/body/header/index.js +9 -1
  238. package/test-env/components/datagrid/body/header/use_data_grid_header.js +69 -0
  239. package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
  240. package/test-env/components/datagrid/data_grid.js +52 -17
  241. package/test-env/components/datagrid/utils/in_memory.js +17 -12
  242. package/test-env/components/date_picker/date_picker.js +2 -2
  243. package/test-env/components/date_picker/date_picker_range.js +2 -2
  244. package/test-env/components/empty_prompt/empty_prompt.js +1 -1
  245. package/test-env/components/expression/expression.js +3 -3
  246. package/test-env/components/facet/facet_button.js +1 -1
  247. package/test-env/components/form/field_number/field_number.js +1 -1
  248. package/test-env/components/form/field_text/field_text.js +2 -2
  249. package/test-env/components/form/form_control_layout/form_control_layout.js +2 -2
  250. package/test-env/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
  251. package/test-env/components/form/form_control_layout/form_control_layout_icons.js +2 -2
  252. package/test-env/components/header/header_links/header_link.js +1 -1
  253. package/test-env/components/header/header_links/header_links.js +1 -1
  254. package/test-env/components/header/header_logo.js +1 -1
  255. package/test-env/components/icon/assets/pivot.js +47 -0
  256. package/test-env/components/icon/assets/{crossInACircleFilled.js → warning.js} +5 -3
  257. package/test-env/components/icon/icon_glyphs.a11y.js +1 -1
  258. package/test-env/components/icon/icon_map.js +2 -2
  259. package/test-env/components/key_pad_menu/key_pad_menu_item.js +1 -1
  260. package/test-env/components/list_group/list_group.js +2 -2
  261. package/test-env/components/list_group/list_group_item.js +2 -2
  262. package/test-env/components/list_group/list_group_item_extra_action.js +1 -1
  263. package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  264. package/test-env/components/loading/loading_logo.js +1 -1
  265. package/test-env/components/markdown_editor/markdown_editor.js +1 -1
  266. package/test-env/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
  267. package/test-env/components/markdown_editor/markdown_editor_footer.js +2 -2
  268. package/test-env/components/markdown_editor/markdown_editor_toolbar.js +1 -1
  269. package/test-env/components/notification/notification_event.js +2 -2
  270. package/test-env/components/notification/notification_event_meta.js +1 -1
  271. package/test-env/components/page/page_header/page_header_content.js +1 -1
  272. package/test-env/components/selectable/selectable_list/selectable_list.js +1 -1
  273. package/test-env/components/selectable/selectable_list/selectable_list_item.js +1 -1
  274. package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
  275. package/test-env/components/steps/step_number.js +1 -1
  276. package/test-env/components/suggest/suggest.js +1 -1
  277. package/test-env/components/suggest/suggest_item.js +1 -1
  278. package/test-env/components/table/table_header_button.js +1 -1
  279. package/test-env/components/text/text.styles.js +1 -1
  280. package/test-env/components/timeline/timeline_item_icon.js +1 -1
  281. package/test-env/components/toast/global_toast_list.js +1 -1
  282. package/test-env/components/toast/toast.js +1 -1
  283. package/test-env/components/tool_tip/icon_tip.js +1 -1
  284. package/lib/components/icon/svgs/crossInACircleFilled.svg +0 -3
  285. package/optimize/lib/components/icon/svgs/crossInACircleFilled.svg +0 -3
  286. /package/lib/components/icon/svgs/{alert.svg → warning.svg} +0 -0
  287. /package/optimize/lib/components/icon/svgs/{alert.svg → warning.svg} +0 -0
  288. /package/src/components/datagrid/body/{_data_grid_footer_row.scss → footer/_data_grid_footer_row.scss} +0 -0
@@ -11,9 +11,14 @@ var _excluded = ["leadingControlColumns", "trailingControlColumns", "columns", "
11
11
  */
12
12
  import classnames from 'classnames';
13
13
  import React, { forwardRef, memo, useContext } from 'react';
14
- import { EuiDataGridCell } from './data_grid_cell';
15
- import { DataGridCellPopoverContext } from './data_grid_cell_popover';
14
+ import { EuiDataGridCell } from '../data_grid_cell';
15
+ import { DataGridCellPopoverContext } from '../data_grid_cell_popover';
16
16
  import { jsx as ___EmotionJSX } from "@emotion/react";
17
+
18
+ var renderEmpty = function renderEmpty() {
19
+ return null;
20
+ };
21
+
17
22
  var EuiDataGridFooterRow = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function (_ref, ref) {
18
23
  var leadingControlColumns = _ref.leadingControlColumns,
19
24
  trailingControlColumns = _ref.trailingControlColumns,
@@ -40,7 +45,6 @@ var EuiDataGridFooterRow = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function (
40
45
  rowIndex: rowIndex,
41
46
  visibleRowIndex: visibleRowIndex,
42
47
  interactiveCellId: interactiveCellId,
43
- isExpandable: true,
44
48
  popoverContext: popoverContext
45
49
  };
46
50
  return ___EmotionJSX("div", _extends({
@@ -50,16 +54,17 @@ var EuiDataGridFooterRow = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function (
50
54
  "data-test-subj": dataTestSubj
51
55
  }, rest), leadingControlColumns.map(function (_ref2, i) {
52
56
  var id = _ref2.id,
53
- width = _ref2.width;
54
- return ___EmotionJSX(EuiDataGridCell, _extends({}, sharedCellProps, {
57
+ width = _ref2.width,
58
+ footerCellRender = _ref2.footerCellRender,
59
+ footerCellProps = _ref2.footerCellProps;
60
+ return ___EmotionJSX(EuiDataGridCell, _extends({}, footerCellProps, sharedCellProps, {
55
61
  key: "".concat(id, "-").concat(rowIndex),
56
62
  colIndex: i,
57
63
  columnId: id,
58
64
  width: width,
59
- renderCellValue: function renderCellValue() {
60
- return null;
61
- },
62
- className: "euiDataGridFooterCell euiDataGridRowCell--controlColumn"
65
+ renderCellValue: footerCellRender !== null && footerCellRender !== void 0 ? footerCellRender : renderEmpty,
66
+ isExpandable: false,
67
+ className: classnames('euiDataGridFooterCell', 'euiDataGridRowCell--controlColumn', footerCellProps === null || footerCellProps === void 0 ? void 0 : footerCellProps.className)
63
68
  }));
64
69
  }), columns.map(function (_ref3, i) {
65
70
  var id = _ref3.id;
@@ -75,21 +80,23 @@ var EuiDataGridFooterRow = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function (
75
80
  width: width || undefined,
76
81
  renderCellValue: renderCellValue,
77
82
  renderCellPopover: renderCellPopover,
83
+ isExpandable: true,
78
84
  className: "euiDataGridFooterCell"
79
85
  }));
80
86
  }), trailingControlColumns.map(function (_ref4, i) {
81
87
  var id = _ref4.id,
82
- width = _ref4.width;
88
+ width = _ref4.width,
89
+ footerCellRender = _ref4.footerCellRender,
90
+ footerCellProps = _ref4.footerCellProps;
83
91
  var colIndex = i + columns.length + leadingControlColumns.length;
84
- return ___EmotionJSX(EuiDataGridCell, _extends({}, sharedCellProps, {
92
+ return ___EmotionJSX(EuiDataGridCell, _extends({}, footerCellProps, sharedCellProps, {
85
93
  key: "".concat(id, "-").concat(rowIndex),
86
94
  colIndex: colIndex,
87
95
  columnId: id,
88
96
  width: width,
89
- renderCellValue: function renderCellValue() {
90
- return null;
91
- },
92
- className: "euiDataGridFooterCell euiDataGridRowCell--controlColumn"
97
+ renderCellValue: footerCellRender !== null && footerCellRender !== void 0 ? footerCellRender : renderEmpty,
98
+ isExpandable: false,
99
+ className: classnames('euiDataGridFooterCell', 'euiDataGridRowCell--controlColumn', footerCellProps === null || footerCellProps === void 0 ? void 0 : footerCellProps.className)
93
100
  }));
94
101
  }));
95
102
  }));
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
+ * or more contributor license agreements. Licensed under the Elastic License
4
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
5
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
6
+ * Side Public License, v 1.
7
+ */
8
+ export { EuiDataGridFooterRow } from './data_grid_footer_row';
9
+ export { useDataGridFooter } from './use_data_grid_footer';
@@ -0,0 +1,45 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
+ var _excluded = ["renderFooterCellValue"];
5
+
6
+ /*
7
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
8
+ * or more contributor license agreements. Licensed under the Elastic License
9
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
10
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
11
+ * Side Public License, v 1.
12
+ */
13
+ import React, { useState, useMemo } from 'react';
14
+ import { useResizeObserver } from '../../../observer/resize_observer';
15
+ import { EuiDataGridFooterRow } from './data_grid_footer_row';
16
+ import { jsx as ___EmotionJSX } from "@emotion/react";
17
+
18
+ /**
19
+ * DRY out setting up the grid footer and its refs & observers
20
+ */
21
+ export var useDataGridFooter = function useDataGridFooter(props) {
22
+ var _useState = useState(null),
23
+ _useState2 = _slicedToArray(_useState, 2),
24
+ footerRowRef = _useState2[0],
25
+ setFooterRowRef = _useState2[1];
26
+
27
+ var _useResizeObserver = useResizeObserver(footerRowRef, 'height'),
28
+ footerRowHeight = _useResizeObserver.height;
29
+
30
+ var footerRow = useMemo(function () {
31
+ var renderFooterCellValue = props.renderFooterCellValue,
32
+ footerProps = _objectWithoutProperties(props, _excluded);
33
+
34
+ if (renderFooterCellValue == null) return null;
35
+ return ___EmotionJSX(EuiDataGridFooterRow, _extends({
36
+ ref: setFooterRowRef,
37
+ renderCellValue: renderFooterCellValue
38
+ }, footerProps));
39
+ }, Object.values(props)); // eslint-disable-line react-hooks/exhaustive-deps
40
+
41
+ return {
42
+ footerRow: footerRow,
43
+ footerRowHeight: footerRowHeight
44
+ };
45
+ };
@@ -1,3 +1,5 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+
1
3
  /*
2
4
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
5
  * or more contributor license agreements. Licensed under the Elastic License
@@ -6,6 +8,7 @@
6
8
  * Side Public License, v 1.
7
9
  */
8
10
  import React from 'react';
11
+ import classNames from 'classnames';
9
12
  import { EuiDataGridHeaderCellWrapper } from './data_grid_header_cell_wrapper';
10
13
  import { jsx as ___EmotionJSX } from "@emotion/react";
11
14
  export var EuiDataGridControlHeaderCell = function EuiDataGridControlHeaderCell(_ref) {
@@ -13,15 +16,16 @@ export var EuiDataGridControlHeaderCell = function EuiDataGridControlHeaderCell(
13
16
  index = _ref.index,
14
17
  headerIsInteractive = _ref.headerIsInteractive;
15
18
  var HeaderCellRender = controlColumn.headerCellRender,
19
+ headerCellProps = controlColumn.headerCellProps,
16
20
  width = controlColumn.width,
17
21
  id = controlColumn.id;
18
- return ___EmotionJSX(EuiDataGridHeaderCellWrapper, {
19
- className: "euiDataGridHeaderCell--controlColumn",
22
+ return ___EmotionJSX(EuiDataGridHeaderCellWrapper, _extends({}, headerCellProps, {
23
+ className: classNames('euiDataGridHeaderCell--controlColumn', headerCellProps === null || headerCellProps === void 0 ? void 0 : headerCellProps.className),
20
24
  id: id,
21
25
  index: index,
22
26
  width: width,
23
27
  headerIsInteractive: headerIsInteractive
24
- }, ___EmotionJSX("div", {
28
+ }), ___EmotionJSX("div", {
25
29
  className: "euiDataGridHeaderCell__content"
26
30
  }, ___EmotionJSX(HeaderCellRender, null)));
27
31
  };
@@ -39,10 +39,11 @@ export var EuiDataGridHeaderCell = function EuiDataGridHeaderCell(_ref) {
39
39
  headerIsInteractive = _ref.headerIsInteractive;
40
40
  var id = column.id,
41
41
  display = column.display,
42
- displayAsText = column.displayAsText;
42
+ displayAsText = column.displayAsText,
43
+ displayHeaderCellProps = column.displayHeaderCellProps;
43
44
  var width = columnWidths[id] || defaultColumnWidth;
44
45
  var columnType = schema[id] ? schema[id].columnType : null;
45
- var classes = classnames(_defineProperty({}, "euiDataGridHeaderCell--".concat(columnType), columnType));
46
+ var classes = classnames(_defineProperty({}, "euiDataGridHeaderCell--".concat(columnType), columnType), displayHeaderCellProps === null || displayHeaderCellProps === void 0 ? void 0 : displayHeaderCellProps.className);
46
47
 
47
48
  var _useContext = useContext(DataGridFocusContext),
48
49
  setFocusedCell = _useContext.setFocusedCell,
@@ -88,14 +89,14 @@ export var EuiDataGridHeaderCell = function EuiDataGridHeaderCell(_ref) {
88
89
  prefix: 'euiDataGridCellHeader',
89
90
  suffix: 'actions'
90
91
  });
91
- return ___EmotionJSX(EuiDataGridHeaderCellWrapper, {
92
+ return ___EmotionJSX(EuiDataGridHeaderCellWrapper, _extends({}, displayHeaderCellProps, {
93
+ className: classes,
92
94
  id: id,
93
95
  index: index,
94
96
  width: width,
95
97
  headerIsInteractive: headerIsInteractive,
96
- className: classes,
97
98
  "aria-sort": ariaSort
98
- }, column.isResizable !== false && width != null ? ___EmotionJSX(EuiDataGridColumnResizer, {
99
+ }), column.isResizable !== false && width != null ? ___EmotionJSX(EuiDataGridColumnResizer, {
99
100
  columnId: id,
100
101
  columnWidth: width,
101
102
  setColumnWidth: setColumnWidth
@@ -5,4 +5,5 @@
5
5
  * in compliance with, at your election, the Elastic License 2.0 or the Server
6
6
  * Side Public License, v 1.
7
7
  */
8
- export { EuiDataGridHeaderRow } from './data_grid_header_row';
8
+ export { EuiDataGridHeaderRow } from './data_grid_header_row';
9
+ export { useDataGridHeader } from './use_data_grid_header';
@@ -0,0 +1,51 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
+ var _excluded = ["handleHeaderMutation"];
5
+
6
+ /*
7
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
8
+ * or more contributor license agreements. Licensed under the Elastic License
9
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
10
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
11
+ * Side Public License, v 1.
12
+ */
13
+ import React, { useState, useMemo } from 'react';
14
+ import { useMutationObserver } from '../../../observer/mutation_observer';
15
+ import { useResizeObserver } from '../../../observer/resize_observer';
16
+ import { useHeaderFocusWorkaround } from '../../utils/focus';
17
+ import { EuiDataGridHeaderRow } from './data_grid_header_row';
18
+ import { jsx as ___EmotionJSX } from "@emotion/react";
19
+
20
+ /**
21
+ * DRY out setting up the grid header and its refs & observers
22
+ */
23
+ export var useDataGridHeader = function useDataGridHeader(_ref) {
24
+ var handleHeaderMutation = _ref.handleHeaderMutation,
25
+ props = _objectWithoutProperties(_ref, _excluded);
26
+
27
+ var _useState = useState(null),
28
+ _useState2 = _slicedToArray(_useState, 2),
29
+ headerRowRef = _useState2[0],
30
+ setHeaderRowRef = _useState2[1];
31
+
32
+ useMutationObserver(headerRowRef, handleHeaderMutation, {
33
+ subtree: true,
34
+ childList: true
35
+ });
36
+
37
+ var _useResizeObserver = useResizeObserver(headerRowRef, 'height'),
38
+ headerRowHeight = _useResizeObserver.height;
39
+
40
+ var headerRow = useMemo(function () {
41
+ return ___EmotionJSX(EuiDataGridHeaderRow, _extends({
42
+ ref: setHeaderRowRef
43
+ }, props));
44
+ }, Object.values(props)); // eslint-disable-line react-hooks/exhaustive-deps
45
+
46
+ useHeaderFocusWorkaround(props.headerIsInteractive);
47
+ return {
48
+ headerRow: headerRow,
49
+ headerRowHeight: headerRowHeight
50
+ };
51
+ };
@@ -87,7 +87,7 @@ export var EuiDatePickerRange = function EuiDatePickerRange(_ref) {
87
87
  className: "euiDatePickerRange__delimeter"
88
88
  }, ___EmotionJSX(EuiIcon, {
89
89
  color: isInvalid ? 'danger' : 'subdued',
90
- type: isInvalid ? 'alert' : 'sortRight'
90
+ type: isInvalid ? 'warning' : 'sortRight'
91
91
  }));
92
92
 
93
93
  return ___EmotionJSX("div", _extends({
@@ -62,7 +62,7 @@ export var EuiExpression = function EuiExpression(_ref) {
62
62
  }, descriptionStyle) : undefined;
63
63
  var invalidIcon = isInvalid ? ___EmotionJSX(EuiIcon, {
64
64
  className: "euiExpression__icon",
65
- type: "alert",
65
+ type: "warning",
66
66
  css: cssIconStyles,
67
67
  color: calculatedColor
68
68
  }) : undefined;
@@ -0,0 +1,37 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["title", "titleId"];
4
+
5
+ /*
6
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
7
+ * or more contributor license agreements. Licensed under the Elastic License
8
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
9
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
10
+ * Side Public License, v 1.
11
+ */
12
+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
13
+ import * as React from 'react';
14
+ import { jsx as ___EmotionJSX } from "@emotion/react";
15
+
16
+ var EuiIconPivot = function EuiIconPivot(_ref) {
17
+ var title = _ref.title,
18
+ titleId = _ref.titleId,
19
+ props = _objectWithoutProperties(_ref, _excluded);
20
+
21
+ return ___EmotionJSX("svg", _extends({
22
+ xmlns: "http://www.w3.org/2000/svg",
23
+ width: 16,
24
+ height: 16,
25
+ fill: "none",
26
+ viewBox: "0 0 16 16",
27
+ "aria-labelledby": titleId
28
+ }, props), title ? ___EmotionJSX("title", {
29
+ id: titleId
30
+ }, title) : null, ___EmotionJSX("path", {
31
+ fillRule: "evenodd",
32
+ d: "M2.89 13.847L11.239 5.5a.522.522 0 00-.737-.737L2.154 13.11a.522.522 0 00.738.738zM14 6.696a.522.522 0 11-1.043 0v-3.13a.522.522 0 00-.522-.523h-3.13a.522.522 0 110-1.043h3.13C13.299 2 14 2.7 14 3.565v3.13z",
33
+ clipRule: "evenodd"
34
+ }));
35
+ };
36
+
37
+ export var icon = EuiIconPivot;
@@ -13,7 +13,7 @@ var _excluded = ["title", "titleId"];
13
13
  import * as React from 'react';
14
14
  import { jsx as ___EmotionJSX } from "@emotion/react";
15
15
 
16
- var EuiIconCrossInACircleFilled = function EuiIconCrossInACircleFilled(_ref) {
16
+ var EuiIconWarning = function EuiIconWarning(_ref) {
17
17
  var title = _ref.title,
18
18
  titleId = _ref.titleId,
19
19
  props = _objectWithoutProperties(_ref, _excluded);
@@ -27,8 +27,10 @@ var EuiIconCrossInACircleFilled = function EuiIconCrossInACircleFilled(_ref) {
27
27
  }, props), title ? ___EmotionJSX("title", {
28
28
  id: titleId
29
29
  }, title) : null, ___EmotionJSX("path", {
30
- d: "M8.746 8l3.1-3.1a.527.527 0 10-.746-.746L8 7.254l-3.1-3.1a.527.527 0 10-.746.746l3.1 3.1-3.1 3.1a.527.527 0 10.746.746l3.1-3.1 3.1 3.1a.527.527 0 10.746-.746L8.746 8zM8 16A8 8 0 118 0a8 8 0 010 16z"
30
+ d: "M8.55 9.502l.35-3.507a.905.905 0 10-1.8 0l.35 3.507a.552.552 0 001.1 0zM9 12a1 1 0 11-2 0 1 1 0 012 0z"
31
+ }), ___EmotionJSX("path", {
32
+ d: "M8.864 1.496a1 1 0 00-1.728 0l-7 12A1 1 0 001 15h14a1 1 0 00.864-1.504l-7-12zM1 14L8 2l7 12H1z"
31
33
  }));
32
34
  };
33
35
 
34
- export var icon = EuiIconCrossInACircleFilled;
36
+ export var icon = EuiIconWarning;
@@ -11,7 +11,7 @@ import { EuiIcon } from './icon';
11
11
  import { jsx as ___EmotionJSX } from "@emotion/react";
12
12
  describe('EuiIcons', function () {
13
13
  describe('Automated accessibility check for glyph icons', function () {
14
- var GlyphIcons = ['accessibility', 'aggregate', 'alert', 'analyzeEvent', 'annotation', 'apmTrace', 'apps', 'arrowDown', 'arrowLeft', 'arrowRight', 'arrowUp', 'arrowStart', 'arrowEnd', 'article', 'asterisk', 'beaker', 'bell', 'bellSlash', 'beta', 'bolt', 'boxesHorizontal', 'boxesVertical', 'branch', 'branchUser', 'broom', 'brush', 'bug', 'bullseye', 'calendar', 'check', 'checkInCircleFilled', 'cheer', 'clock', 'cloudDrizzle', 'cloudStormy', 'cloudSunny', 'cluster', 'color', 'compute', 'console', 'container', 'continuityAbove', 'continuityAboveBelow', 'continuityBelow', 'continuityWithin', 'controlsHorizontal', 'controlsVertical', 'copy', 'copyClipboard', 'cross', 'crosshairs', 'crossInACircleFilled', 'currency', 'cut', 'database', 'desktop', 'discuss', 'document', 'documents', 'documentEdit', 'documentation', 'dot', 'dotInCircle', 'doubleArrowLeft', 'doubleArrowRight', 'download', 'email', 'empty', 'eql', 'eraser', 'exit', 'expand', 'expandMini', 'exportAction', 'eye', 'eyeClosed', 'faceHappy', 'faceNeutral', 'faceSad', 'filter', 'filterExclude', 'filterIgnore', 'filterInclude', 'filterInCircle', 'flag', 'fold', 'folderCheck', 'folderClosed', 'folderExclamation', 'folderOpen', 'frameNext', 'framePrevious', 'fullScreen', 'fullScreenExit', 'function', 'gear', 'glasses', 'globe', 'grab', 'grabHorizontal', 'grid', 'heart', 'heatmap', 'help', 'home', 'iInCircle', 'image', 'importAction', 'indexClose', 'indexEdit', 'indexFlush', 'indexMapping', 'indexOpen', 'indexRuntime', 'indexSettings', 'indexTemporary', 'infinity', 'inputOutput', 'inspect', 'invert', 'ip', 'keyboard', 'kqlField', 'kqlFunction', 'kqlOperand', 'kqlSelector', 'kqlValue', 'kubernetesNode', 'kubernetesPod', 'launch', 'layers', 'lettering', 'lineDashed', 'lineDotted', 'lineSolid', 'link', 'list', 'listAdd', 'lock', 'lockOpen', 'logstashFilter', 'logstashIf', 'logstashInput', 'logstashOutput', 'logstashQueue', 'magnifyWithExclamation', 'magnifyWithMinus', 'magnifyWithPlus', 'magnet', 'mapMarker', 'memory', 'merge', 'menu', 'menuDown', 'menuLeft', 'menuRight', 'menuUp', 'minimize', 'minus', 'minusInCircle', 'minusInCircleFilled', 'mobile', 'moon', 'namespace', 'nested', 'node', 'number', 'offline', 'online', 'package', 'pageSelect', 'pagesSelect', 'paperClip', 'partial', 'pause', 'payment', 'pencil', 'percent', 'pin', 'pinFilled', 'play', 'playFilled', 'plus', 'plusInCircle', 'plusInCircleFilled', 'popout', 'push', 'questionInCircle', 'quote', 'refresh', 'reporter', 'returnKey', 'save', 'scale', 'search', 'securitySignal', 'securitySignalDetected', 'securitySignalResolved', 'sessionViewer', 'shard', 'share', 'snowflake', 'sortable', 'sortAscending', 'sortDescending', 'sortDown', 'sortLeft', 'sortRight', 'sortUp', 'spaces', 'starEmpty', 'starEmptySpace', 'starFilled', 'starFilledSpace', 'starMinusEmpty', 'starMinusFilled', 'starPlusEmpty', 'starPlusFilled', 'stats', 'stop', 'stopFilled', 'stopSlash', 'storage', 'string', 'submodule', 'sun', 'symlink', 'tableOfContents', 'tableDensityExpanded', 'tableDensityCompact', 'tableDensityNormal', 'tag', 'tear', 'temperature', 'timeline', 'timeRefresh', 'timeslider', 'training', 'trash', 'unfold', 'unlink', 'user', 'userAvatar', 'users', 'vector', 'videoPlayer', 'visArea', 'visAreaStacked', 'visBarHorizontal', 'visBarHorizontalStacked', 'visBarVertical', 'visBarVerticalStacked', 'visGauge', 'visGoal', 'visLine', 'visMapCoordinate', 'visMapRegion', 'visMetric', 'visPie', 'visTable', 'visTagCloud', 'visText', 'visTimelion', 'visVega', 'visVisualBuilder', 'wordWrap', 'wordWrapDisabled', 'wrench'];
14
+ var GlyphIcons = ['accessibility', 'aggregate', 'analyzeEvent', 'annotation', 'apmTrace', 'apps', 'arrowDown', 'arrowLeft', 'arrowRight', 'arrowUp', 'arrowStart', 'arrowEnd', 'article', 'asterisk', 'beaker', 'bell', 'bellSlash', 'beta', 'bolt', 'boxesHorizontal', 'boxesVertical', 'branch', 'branchUser', 'broom', 'brush', 'bug', 'bullseye', 'calendar', 'check', 'checkInCircleFilled', 'cheer', 'clock', 'cloudDrizzle', 'cloudStormy', 'cloudSunny', 'cluster', 'color', 'compute', 'console', 'container', 'continuityAbove', 'continuityAboveBelow', 'continuityBelow', 'continuityWithin', 'controlsHorizontal', 'controlsVertical', 'copy', 'copyClipboard', 'cross', 'crosshairs', 'currency', 'cut', 'database', 'desktop', 'discuss', 'document', 'documents', 'documentEdit', 'documentation', 'dot', 'dotInCircle', 'doubleArrowLeft', 'doubleArrowRight', 'download', 'email', 'empty', 'eql', 'eraser', 'exit', 'expand', 'expandMini', 'exportAction', 'eye', 'eyeClosed', 'faceHappy', 'faceNeutral', 'faceSad', 'filter', 'filterExclude', 'filterIgnore', 'filterInclude', 'filterInCircle', 'flag', 'fold', 'folderCheck', 'folderClosed', 'folderExclamation', 'folderOpen', 'frameNext', 'framePrevious', 'fullScreen', 'fullScreenExit', 'function', 'gear', 'glasses', 'globe', 'grab', 'grabHorizontal', 'grid', 'heart', 'heatmap', 'help', 'home', 'iInCircle', 'image', 'importAction', 'indexClose', 'indexEdit', 'indexFlush', 'indexMapping', 'indexOpen', 'indexRuntime', 'indexSettings', 'indexTemporary', 'infinity', 'inputOutput', 'inspect', 'invert', 'ip', 'keyboard', 'kqlField', 'kqlFunction', 'kqlOperand', 'kqlSelector', 'kqlValue', 'kubernetesNode', 'kubernetesPod', 'launch', 'layers', 'lettering', 'lineDashed', 'lineDotted', 'lineSolid', 'link', 'list', 'listAdd', 'lock', 'lockOpen', 'logstashFilter', 'logstashIf', 'logstashInput', 'logstashOutput', 'logstashQueue', 'magnifyWithExclamation', 'magnifyWithMinus', 'magnifyWithPlus', 'magnet', 'mapMarker', 'memory', 'merge', 'menu', 'menuDown', 'menuLeft', 'menuRight', 'menuUp', 'minimize', 'minus', 'minusInCircle', 'minusInCircleFilled', 'mobile', 'moon', 'namespace', 'nested', 'node', 'number', 'offline', 'online', 'package', 'pageSelect', 'pagesSelect', 'paperClip', 'partial', 'pause', 'payment', 'pencil', 'percent', 'pin', 'pinFilled', 'play', 'playFilled', 'plus', 'plusInCircle', 'plusInCircleFilled', 'popout', 'push', 'questionInCircle', 'quote', 'refresh', 'reporter', 'returnKey', 'save', 'scale', 'search', 'securitySignal', 'securitySignalDetected', 'securitySignalResolved', 'sessionViewer', 'shard', 'share', 'snowflake', 'sortable', 'sortAscending', 'sortDescending', 'sortDown', 'sortLeft', 'sortRight', 'sortUp', 'spaces', 'starEmpty', 'starEmptySpace', 'starFilled', 'starFilledSpace', 'starMinusEmpty', 'starMinusFilled', 'starPlusEmpty', 'starPlusFilled', 'stats', 'stop', 'stopFilled', 'stopSlash', 'storage', 'string', 'submodule', 'sun', 'symlink', 'tableOfContents', 'tableDensityExpanded', 'tableDensityCompact', 'tableDensityNormal', 'tag', 'tear', 'temperature', 'timeline', 'timeRefresh', 'timeslider', 'training', 'trash', 'unfold', 'unlink', 'user', 'userAvatar', 'users', 'vector', 'videoPlayer', 'visArea', 'visAreaStacked', 'visBarHorizontal', 'visBarHorizontalStacked', 'visBarVertical', 'visBarVerticalStacked', 'visGauge', 'visGoal', 'visLine', 'visMapCoordinate', 'visMapRegion', 'visMetric', 'visPie', 'visTable', 'visTagCloud', 'visText', 'visTimelion', 'visVega', 'visVisualBuilder', 'warning', 'wordWrap', 'wordWrapDisabled', 'wrench'];
15
15
 
16
16
  var GlyphGrid = function GlyphGrid() {
17
17
  return ___EmotionJSX("div", null, GlyphIcons.map(function (glyph) {
@@ -11,7 +11,6 @@ export var typeToPathMap = {
11
11
  advancedSettingsApp: 'app_advanced_settings',
12
12
  agentApp: 'app_fleet',
13
13
  aggregate: 'aggregate',
14
- alert: 'alert',
15
14
  analyzeEvent: 'analyzeEvent',
16
15
  annotation: 'annotation',
17
16
  apmApp: 'app_apm',
@@ -72,7 +71,6 @@ export var typeToPathMap = {
72
71
  createSingleMetricJob: 'ml_create_single_metric_job',
73
72
  cross: 'cross',
74
73
  crossClusterReplicationApp: 'app_cross_cluster_replication',
75
- crossInACircleFilled: 'crossInACircleFilled',
76
74
  crosshairs: 'crosshairs',
77
75
  currency: 'currency',
78
76
  cut: 'cut',
@@ -314,6 +312,7 @@ export var typeToPathMap = {
314
312
  pin: 'pin',
315
313
  pinFilled: 'pin_filled',
316
314
  pipelineApp: 'app_pipeline',
315
+ pivot: 'pivot',
317
316
  play: 'play',
318
317
  playFilled: 'playFilled',
319
318
  plus: 'plus',
@@ -415,6 +414,7 @@ export var typeToPathMap = {
415
414
  visVega: 'vis_vega',
416
415
  visVisualBuilder: 'vis_visual_builder',
417
416
  visualizeApp: 'app_visualize',
417
+ warning: 'warning',
418
418
  watchesApp: 'app_watches',
419
419
  wordWrap: 'wordWrap',
420
420
  wordWrapDisabled: 'wordWrapDisabled',
@@ -114,7 +114,7 @@ export var EuiMarkdownEditorFooter = /*#__PURE__*/forwardRef(function (props, re
114
114
  if (errors && errors.length) {
115
115
  errorsButton = ___EmotionJSX(EuiPopover, {
116
116
  button: ___EmotionJSX(EuiButtonEmpty, {
117
- iconType: "crossInACircleFilled",
117
+ iconType: "error",
118
118
  size: "s",
119
119
  color: "danger",
120
120
  "aria-label": ariaLabels.showSyntaxErrors,
@@ -78,7 +78,7 @@ export var EuiStepNumber = function EuiStepNumber(_ref) {
78
78
  var cssIconStyles = [contentStyles.euiStepNumber__icon, contentStyles[status]];
79
79
  var iconTypeMap = {
80
80
  danger: 'cross',
81
- warning: 'alert',
81
+ warning: 'warning',
82
82
  complete: 'check'
83
83
  };
84
84
  content = ___EmotionJSX(EuiIcon, {
@@ -53,7 +53,7 @@ var euiScaleText = function euiScaleText(euiThemeContext, options) {
53
53
  var blockQuoteBorderWidth = mathWithUnits(fontSize, function (x) {
54
54
  return x / 4;
55
55
  });
56
- 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(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(logicalCSS('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat(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(logicalCSS('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat(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(logicalCSS('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat(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(logicalCSS('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat(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(logicalCSS('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat(logicalCSS('margin-bottom', headingMarginBottom), "\n }\n }\n\n p,\n ul,\n ol,\n dl,\n blockquote,\n img,\n pre {\n ").concat(logicalCSS('margin-bottom', lineHeightSize), "\n }\n\n ul,\n ol {\n ").concat(logicalCSS('margin-left', lineHeightSize), "\n }\n \n blockquote {\n font-size: ").concat(fontSize, ";\n ").concat(logicalShorthandCSS('padding', "0 ".concat(fontSize)), "\n ").concat(logicalCSS('border-left-width', blockQuoteBorderWidth), "\n ").concat(logicalCSS('margin-bottom', fontSize), "\n }\n\n dd + dt {\n ").concat(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(euiFontSize(euiThemeContext, 'xs', options).fontSize, ";\n color: ").concat(euiTheme.colors.text, ";\n }\n\n small {\n font-size: ").concat(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
56
+ 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(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(logicalCSS('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat(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(logicalCSS('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat(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(logicalCSS('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat(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(logicalCSS('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat(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(logicalCSS('margin-top', headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat(logicalCSS('margin-bottom', headingMarginBottom), "\n }\n }\n\n p,\n dl,\n blockquote,\n img,\n pre,\n > ul,\n > ol {\n ").concat(logicalCSS('margin-bottom', lineHeightSize), "\n }\n\n ul,\n ol {\n ").concat(logicalCSS('margin-left', lineHeightSize), "\n }\n\n // The styles of the nested ordered lists follow the style of GitHub\n // which is commonly used in Markdown or MDX formatting.\n\n ol ol,\n ul ol {\n list-style-type: lower-roman;\n }\n\n ul ul ol,\n ul ol ol,\n ol ul ol,\n ol ol ol {\n list-style-type: lower-alpha;\n }\n \n blockquote {\n font-size: ").concat(fontSize, ";\n ").concat(logicalShorthandCSS('padding', "0 ".concat(fontSize)), "\n ").concat(logicalCSS('border-left-width', blockQuoteBorderWidth), "\n ").concat(logicalCSS('margin-bottom', fontSize), "\n }\n\n dd + dt {\n ").concat(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(euiFontSize(euiThemeContext, 'xs', options).fontSize, ";\n color: ").concat(euiTheme.colors.text, ";\n }\n\n small {\n font-size: ").concat(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
57
57
  _customScale === 'm' ? "\n kbd {\n ".concat(logicalCSS('padding-bottom', euiTheme.size.xs), "\n // ensures when only one character the shape looks like a square\n ").concat(logicalCSS('min-width', euiTheme.size.l), "\n ").concat(logicalTextAlignCSS('center'), "\n }\n \n kbd::after {\n content: '';\n ").concat(logicalCSS('border-bottom', "".concat(euiTheme.border.width.thin, " solid ").concat(euiTheme.colors.text)), "\n position: absolute;\n ").concat(logicalCSS('bottom', euiTheme.size.xxs), "\n ").concat(logicalCSS('left', 0), "\n ").concat(logicalCSS('width', '100%'), "\n }") : '', "\n ");
58
58
  };
59
59
  /**
@@ -11,8 +11,6 @@ exports.POSITIONS = exports.EuiSkipLink = void 0;
11
11
 
12
12
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
13
13
 
14
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
15
-
16
14
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
17
15
 
18
16
  var _react = _interopRequireWildcard(require("react"));
@@ -56,37 +54,16 @@ var EuiSkipLink = function EuiSkipLink(_ref) {
56
54
  var styles = (0, _skip_link.euiSkipLinkStyles)(euiTheme);
57
55
  var classes = (0, _classnames.default)('euiSkipLink', className);
58
56
  var cssStyles = [styles.euiSkipLink, position !== 'static' ? styles[position] : undefined];
57
+ var onClick = (0, _react.useCallback)(function (e) {
58
+ var destinationEl = null; // Check if the destination ID is valid
59
59
 
60
- var _useState = (0, _react.useState)(null),
61
- _useState2 = (0, _slicedToArray2.default)(_useState, 2),
62
- destinationEl = _useState2[0],
63
- setDestinationEl = _useState2[1];
64
-
65
- var _useState3 = (0, _react.useState)(true),
66
- _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
67
- hasValidId = _useState4[0],
68
- setHasValidId = _useState4[1];
69
-
70
- (0, _react.useEffect)(function () {
71
- var idEl = document.getElementById(destinationId);
60
+ destinationEl = document.getElementById(destinationId);
61
+ var hasValidId = !!destinationEl; // Check the fallback destination if not
72
62
 
73
- if (idEl) {
74
- setHasValidId(true);
75
- setDestinationEl(idEl);
76
- return;
63
+ if (!destinationEl && fallbackDestination) {
64
+ destinationEl = document.querySelector(fallbackDestination);
77
65
  }
78
66
 
79
- setHasValidId(false); // If no valid element via ID is available, use the fallback query selectors
80
-
81
- if (fallbackDestination) {
82
- var fallbackEl = document.querySelector(fallbackDestination);
83
-
84
- if (fallbackEl) {
85
- setDestinationEl(fallbackEl);
86
- }
87
- }
88
- }, [destinationId, fallbackDestination]);
89
- var onClick = (0, _react.useCallback)(function (e) {
90
67
  if ((overrideLinkBehavior || !hasValidId) && destinationEl) {
91
68
  e.preventDefault(); // Scroll to the top of the destination content only if it's ~mostly out of view
92
69
 
@@ -101,7 +78,9 @@ var EuiSkipLink = function EuiSkipLink(_ref) {
101
78
  if (!(0, _tabbable.isTabbable)(destinationEl)) {
102
79
  destinationEl.tabIndex = -1;
103
80
  destinationEl.addEventListener('blur', function () {
104
- return destinationEl.removeAttribute('tabindex');
81
+ var _destinationEl;
82
+
83
+ return (_destinationEl = destinationEl) === null || _destinationEl === void 0 ? void 0 : _destinationEl.removeAttribute('tabindex');
105
84
  }, {
106
85
  once: true
107
86
  });
@@ -113,7 +92,7 @@ var EuiSkipLink = function EuiSkipLink(_ref) {
113
92
  }
114
93
 
115
94
  _onClick === null || _onClick === void 0 ? void 0 : _onClick(e);
116
- }, [overrideLinkBehavior, hasValidId, destinationEl, _onClick]);
95
+ }, [overrideLinkBehavior, destinationId, fallbackDestination, _onClick]);
117
96
  return (0, _react2.jsx)(_screen_reader_only.EuiScreenReaderOnly, {
118
97
  showOnFocus: true
119
98
  }, (0, _react2.jsx)(_button.EuiButton, (0, _extends2.default)({
@@ -19,7 +19,7 @@ var _global_styling = require("../../../global_styling");
19
19
  var euiBadgeGroupStyles = function euiBadgeGroupStyles(_ref) {
20
20
  var euiTheme = _ref.euiTheme;
21
21
  return {
22
- euiBadgeGroup: /*#__PURE__*/(0, _react.css)("display:inline-flex;flex-wrap:wrap;", (0, _global_styling.logicalCSS)('max-width', '100%'), ".euiBadge{", (0, _global_styling.logicalCSS)('margin-left', 0), ";};label:euiBadgeGroup;"),
22
+ euiBadgeGroup: /*#__PURE__*/(0, _react.css)("display:inline-flex;flex-wrap:wrap;", (0, _global_styling.logicalCSS)('max-width', '100%'), ".euiBadge+.euiBadge{", (0, _global_styling.logicalCSS)('margin-left', 0), ";};label:euiBadgeGroup;"),
23
23
  // Gutter sizes
24
24
  none: /*#__PURE__*/(0, _react.css)(";label:none;"),
25
25
  s: /*#__PURE__*/(0, _react.css)("gap:", euiTheme.size.s, ";;label:s;"),
@@ -68,7 +68,7 @@ var ControlBar = function ControlBar() {
68
68
  }, {
69
69
  controlType: 'icon',
70
70
  id: 'status_icon',
71
- iconType: 'alert',
71
+ iconType: 'warning',
72
72
  color: 'warning',
73
73
  'aria-label': 'Repo Status'
74
74
  }, {