@elastic/eui 94.2.1 → 94.3.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 (332) hide show
  1. package/dist/eui_theme_dark.css +5 -2
  2. package/dist/eui_theme_dark.min.css +1 -1
  3. package/dist/eui_theme_light.css +5 -2
  4. package/dist/eui_theme_light.min.css +1 -1
  5. package/es/components/avatar/avatar.js +1 -1
  6. package/es/components/badge/badge.js +1 -1
  7. package/es/components/badge/beta_badge/beta_badge.js +1 -1
  8. package/es/components/basic_table/basic_table.js +1 -1
  9. package/es/components/basic_table/in_memory_table.js +1 -1
  10. package/es/components/button/button.js +1 -1
  11. package/es/components/button/button_display/_button_display.js +1 -1
  12. package/es/components/button/button_display/_button_display_content.js +1 -1
  13. package/es/components/button/button_empty/button_empty.js +1 -1
  14. package/es/components/button/button_group/button_group.js +1 -1
  15. package/es/components/button/button_group/button_group_button.js +1 -1
  16. package/es/components/button/button_icon/button_icon.js +1 -1
  17. package/es/components/call_out/call_out.js +1 -1
  18. package/es/components/card/card.js +2 -2
  19. package/es/components/card/card_select/card_select.js +1 -1
  20. package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
  21. package/es/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
  22. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +1 -1
  23. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
  24. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
  25. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
  26. package/es/components/combo_box/combo_box_input/combo_box_input.js +19 -1
  27. package/es/components/combo_box/combo_box_input/combo_box_pill.js +16 -0
  28. package/es/components/combo_box/combo_box_options_list/combo_box_option.js +16 -0
  29. package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +26 -1
  30. package/es/components/comment_list/comment.js +2 -2
  31. package/es/components/comment_list/comment_event.js +1 -1
  32. package/es/components/comment_list/comment_list.js +2 -2
  33. package/es/components/comment_list/comment_timeline.js +1 -1
  34. package/es/components/datagrid/body/cell/data_grid_cell.js +12 -12
  35. package/es/components/datagrid/body/data_grid_body.js +7 -7
  36. package/es/components/datagrid/body/data_grid_body_custom.js +7 -7
  37. package/es/components/datagrid/body/data_grid_body_virtualized.js +7 -7
  38. package/es/components/datagrid/body/header/data_grid_header_cell.js +6 -6
  39. package/es/components/datagrid/controls/column_sorting.js +7 -7
  40. package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
  41. package/es/components/datagrid/controls/data_grid_toolbar.js +1 -1
  42. package/es/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
  43. package/es/components/datagrid/utils/in_memory.js +6 -6
  44. package/es/components/date_picker/date_picker.js +2 -2
  45. package/es/components/date_picker/date_picker_range.js +1 -1
  46. package/es/components/empty_prompt/empty_prompt.js +1 -1
  47. package/es/components/facet/facet_button.js +1 -1
  48. package/es/components/filter_group/filter_select_item.js +46 -4
  49. package/es/components/flex/flex_group.js +0 -2
  50. package/es/components/flex/flex_item.js +0 -2
  51. package/es/components/form/field_number/field_number.js +2 -2
  52. package/es/components/form/field_text/field_text.js +2 -2
  53. package/es/components/form/form_control_layout/form_control_layout.js +2 -2
  54. package/es/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
  55. package/es/components/form/form_control_layout/form_control_layout_icons.js +2 -2
  56. package/es/components/form/text_area/text_area.js +2 -2
  57. package/es/components/header/header_links/header_link.js +1 -1
  58. package/es/components/header/header_links/header_links.js +1 -1
  59. package/es/components/header/header_logo/header_logo.js +1 -1
  60. package/es/components/header/header_section/header_section_item_button.js +1 -1
  61. package/es/components/icon/assets/clickLeft.js +38 -0
  62. package/es/components/icon/assets/clickRight.js +38 -0
  63. package/es/components/icon/assets/clockCounter.js +35 -0
  64. package/es/components/icon/assets/error.js +3 -1
  65. package/es/components/icon/assets/errorFilled.js +34 -0
  66. package/es/components/icon/assets/launch.js +5 -3
  67. package/es/components/icon/assets/tokenDimension.js +36 -0
  68. package/es/components/icon/assets/tokenMetricCounter.js +4 -1
  69. package/es/components/icon/assets/tokenMetricGauge.js +4 -1
  70. package/es/components/icon/assets/warningFilled.js +34 -0
  71. package/es/components/icon/icon.js +1 -1
  72. package/es/components/icon/icon_map.js +6 -0
  73. package/es/components/key_pad_menu/key_pad_menu_item.js +1 -1
  74. package/es/components/list_group/list_group.js +2 -2
  75. package/es/components/list_group/list_group_item.js +2 -2
  76. package/es/components/list_group/list_group_item_extra_action.js +1 -1
  77. package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  78. package/es/components/loading/loading_logo.js +1 -1
  79. package/es/components/markdown_editor/markdown_editor.js +1 -1
  80. package/es/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
  81. package/es/components/markdown_editor/markdown_editor_footer.js +1 -1
  82. package/es/components/markdown_editor/markdown_editor_toolbar.js +1 -1
  83. package/es/components/page/page_header/page_header_content.js +1 -1
  84. package/es/components/pagination/pagination_button.js +1 -1
  85. package/es/components/popover/input_popover.js +20 -14
  86. package/es/components/selectable/selectable_list/selectable_list.js +1 -1
  87. package/es/components/selectable/selectable_list/selectable_list_item.js +1 -1
  88. package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
  89. package/es/components/timeline/timeline_item_icon.js +1 -1
  90. package/es/components/toast/global_toast_list.js +1 -1
  91. package/es/components/toast/toast.js +1 -1
  92. package/es/components/token/token_map.js +4 -0
  93. package/es/components/tool_tip/icon_tip.js +1 -1
  94. package/eui.d.ts +105 -11
  95. package/i18ntokens.json +14 -14
  96. package/lib/components/avatar/avatar.js +1 -1
  97. package/lib/components/badge/badge.js +1 -1
  98. package/lib/components/badge/beta_badge/beta_badge.js +1 -1
  99. package/lib/components/basic_table/basic_table.js +1 -1
  100. package/lib/components/basic_table/in_memory_table.js +1 -1
  101. package/lib/components/button/button.js +1 -1
  102. package/lib/components/button/button_display/_button_display.js +1 -1
  103. package/lib/components/button/button_display/_button_display_content.js +1 -1
  104. package/lib/components/button/button_empty/button_empty.js +1 -1
  105. package/lib/components/button/button_group/button_group.js +1 -1
  106. package/lib/components/button/button_group/button_group_button.js +1 -1
  107. package/lib/components/button/button_icon/button_icon.js +1 -1
  108. package/lib/components/call_out/call_out.js +1 -1
  109. package/lib/components/card/card.js +2 -2
  110. package/lib/components/card/card_select/card_select.js +1 -1
  111. package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
  112. package/lib/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
  113. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +1 -1
  114. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
  115. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
  116. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
  117. package/lib/components/combo_box/combo_box_input/combo_box_input.js +19 -1
  118. package/lib/components/combo_box/combo_box_input/combo_box_pill.js +16 -0
  119. package/lib/components/combo_box/combo_box_options_list/combo_box_option.js +16 -0
  120. package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +26 -1
  121. package/lib/components/comment_list/comment.js +2 -2
  122. package/lib/components/comment_list/comment_event.js +1 -1
  123. package/lib/components/comment_list/comment_list.js +2 -2
  124. package/lib/components/comment_list/comment_timeline.js +1 -1
  125. package/lib/components/datagrid/body/cell/data_grid_cell.js +12 -12
  126. package/lib/components/datagrid/body/data_grid_body.js +7 -7
  127. package/lib/components/datagrid/body/data_grid_body_custom.js +7 -7
  128. package/lib/components/datagrid/body/data_grid_body_virtualized.js +7 -7
  129. package/lib/components/datagrid/body/header/data_grid_header_cell.js +6 -6
  130. package/lib/components/datagrid/controls/column_sorting.js +7 -7
  131. package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
  132. package/lib/components/datagrid/controls/data_grid_toolbar.js +2 -1
  133. package/lib/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
  134. package/lib/components/datagrid/utils/in_memory.js +6 -6
  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/facet/facet_button.js +1 -1
  139. package/lib/components/filter_group/filter_select_item.js +45 -3
  140. package/lib/components/flex/flex_group.js +0 -2
  141. package/lib/components/flex/flex_item.js +0 -2
  142. package/lib/components/form/field_number/field_number.js +2 -2
  143. package/lib/components/form/field_text/field_text.js +2 -2
  144. package/lib/components/form/form_control_layout/form_control_layout.js +2 -2
  145. package/lib/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
  146. package/lib/components/form/form_control_layout/form_control_layout_icons.js +2 -2
  147. package/lib/components/form/text_area/text_area.js +2 -2
  148. package/lib/components/header/header_links/header_link.js +1 -1
  149. package/lib/components/header/header_links/header_links.js +1 -1
  150. package/lib/components/header/header_logo/header_logo.js +1 -1
  151. package/lib/components/header/header_section/header_section_item_button.js +1 -1
  152. package/lib/components/icon/assets/clickLeft.js +46 -0
  153. package/lib/components/icon/assets/clickRight.js +46 -0
  154. package/lib/components/icon/assets/clockCounter.js +43 -0
  155. package/lib/components/icon/assets/error.js +3 -1
  156. package/lib/components/icon/assets/errorFilled.js +42 -0
  157. package/lib/components/icon/assets/launch.js +5 -3
  158. package/lib/components/icon/assets/tokenDimension.js +44 -0
  159. package/lib/components/icon/assets/tokenMetricCounter.js +4 -1
  160. package/lib/components/icon/assets/tokenMetricGauge.js +4 -1
  161. package/lib/components/icon/assets/warningFilled.js +42 -0
  162. package/lib/components/icon/icon.js +1 -1
  163. package/lib/components/icon/icon_map.js +6 -0
  164. package/lib/components/icon/svgs/clickLeft.svg +5 -0
  165. package/lib/components/icon/svgs/clickRight.svg +5 -0
  166. package/lib/components/icon/svgs/clockCounter.svg +4 -0
  167. package/lib/components/icon/svgs/error.svg +2 -1
  168. package/lib/components/icon/svgs/errorFilled.svg +3 -0
  169. package/lib/components/icon/svgs/launch.svg +5 -5
  170. package/lib/components/icon/svgs/tokens/tokenDimension.svg +4 -0
  171. package/lib/components/icon/svgs/tokens/tokenMetricCounter.svg +2 -1
  172. package/lib/components/icon/svgs/tokens/tokenMetricGauge.svg +2 -1
  173. package/lib/components/icon/svgs/warningFilled.svg +3 -0
  174. package/lib/components/key_pad_menu/key_pad_menu_item.js +1 -1
  175. package/lib/components/list_group/list_group.js +2 -2
  176. package/lib/components/list_group/list_group_item.js +2 -2
  177. package/lib/components/list_group/list_group_item_extra_action.js +1 -1
  178. package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  179. package/lib/components/loading/loading_logo.js +1 -1
  180. package/lib/components/markdown_editor/markdown_editor.js +1 -1
  181. package/lib/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
  182. package/lib/components/markdown_editor/markdown_editor_footer.js +1 -1
  183. package/lib/components/markdown_editor/markdown_editor_toolbar.js +1 -1
  184. package/lib/components/page/page_header/page_header_content.js +1 -1
  185. package/lib/components/pagination/pagination_button.js +1 -1
  186. package/lib/components/popover/input_popover.js +20 -14
  187. package/lib/components/selectable/selectable_list/selectable_list.js +1 -1
  188. package/lib/components/selectable/selectable_list/selectable_list_item.js +1 -1
  189. package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
  190. package/lib/components/timeline/timeline_item_icon.js +1 -1
  191. package/lib/components/toast/global_toast_list.js +1 -1
  192. package/lib/components/toast/toast.js +1 -1
  193. package/lib/components/token/token_map.js +4 -0
  194. package/lib/components/tool_tip/icon_tip.js +1 -1
  195. package/optimize/es/components/combo_box/combo_box_input/combo_box_input.js +3 -1
  196. package/optimize/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +2 -1
  197. package/optimize/es/components/datagrid/controls/data_grid_toolbar.js +1 -1
  198. package/optimize/es/components/filter_group/filter_select_item.js +44 -4
  199. package/optimize/es/components/flex/flex_group.js +0 -2
  200. package/optimize/es/components/flex/flex_item.js +0 -2
  201. package/optimize/es/components/icon/assets/clickLeft.js +37 -0
  202. package/optimize/es/components/icon/assets/clickRight.js +37 -0
  203. package/optimize/es/components/icon/assets/clockCounter.js +34 -0
  204. package/optimize/es/components/icon/assets/error.js +3 -1
  205. package/optimize/es/components/icon/assets/errorFilled.js +33 -0
  206. package/optimize/es/components/icon/assets/launch.js +5 -3
  207. package/optimize/es/components/icon/assets/tokenDimension.js +35 -0
  208. package/optimize/es/components/icon/assets/tokenMetricCounter.js +4 -1
  209. package/optimize/es/components/icon/assets/tokenMetricGauge.js +4 -1
  210. package/optimize/es/components/icon/assets/warningFilled.js +33 -0
  211. package/optimize/es/components/icon/icon_map.js +6 -0
  212. package/optimize/es/components/popover/input_popover.js +20 -14
  213. package/optimize/es/components/token/token_map.js +4 -0
  214. package/optimize/lib/components/combo_box/combo_box_input/combo_box_input.js +3 -1
  215. package/optimize/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +2 -1
  216. package/optimize/lib/components/datagrid/controls/data_grid_toolbar.js +2 -1
  217. package/optimize/lib/components/filter_group/filter_select_item.js +43 -3
  218. package/optimize/lib/components/flex/flex_group.js +0 -2
  219. package/optimize/lib/components/flex/flex_item.js +0 -2
  220. package/optimize/lib/components/icon/assets/clickLeft.js +46 -0
  221. package/optimize/lib/components/icon/assets/clickRight.js +46 -0
  222. package/optimize/lib/components/icon/assets/clockCounter.js +43 -0
  223. package/optimize/lib/components/icon/assets/error.js +3 -1
  224. package/optimize/lib/components/icon/assets/errorFilled.js +42 -0
  225. package/optimize/lib/components/icon/assets/launch.js +5 -3
  226. package/optimize/lib/components/icon/assets/tokenDimension.js +44 -0
  227. package/optimize/lib/components/icon/assets/tokenMetricCounter.js +4 -1
  228. package/optimize/lib/components/icon/assets/tokenMetricGauge.js +4 -1
  229. package/optimize/lib/components/icon/assets/warningFilled.js +42 -0
  230. package/optimize/lib/components/icon/icon_map.js +6 -0
  231. package/optimize/lib/components/icon/svgs/clickLeft.svg +5 -0
  232. package/optimize/lib/components/icon/svgs/clickRight.svg +5 -0
  233. package/optimize/lib/components/icon/svgs/clockCounter.svg +4 -0
  234. package/optimize/lib/components/icon/svgs/error.svg +2 -1
  235. package/optimize/lib/components/icon/svgs/errorFilled.svg +3 -0
  236. package/optimize/lib/components/icon/svgs/launch.svg +5 -5
  237. package/optimize/lib/components/icon/svgs/tokens/tokenDimension.svg +4 -0
  238. package/optimize/lib/components/icon/svgs/tokens/tokenMetricCounter.svg +2 -1
  239. package/optimize/lib/components/icon/svgs/tokens/tokenMetricGauge.svg +2 -1
  240. package/optimize/lib/components/icon/svgs/warningFilled.svg +3 -0
  241. package/optimize/lib/components/popover/input_popover.js +20 -14
  242. package/optimize/lib/components/token/token_map.js +4 -0
  243. package/package.json +1 -1
  244. package/src/components/datagrid/body/header/_data_grid_header_row.scss +6 -1
  245. package/test-env/components/avatar/avatar.js +1 -1
  246. package/test-env/components/badge/badge.js +1 -1
  247. package/test-env/components/badge/beta_badge/beta_badge.js +1 -1
  248. package/test-env/components/basic_table/basic_table.js +1 -1
  249. package/test-env/components/basic_table/in_memory_table.js +1 -1
  250. package/test-env/components/button/button.js +1 -1
  251. package/test-env/components/button/button_display/_button_display.js +1 -1
  252. package/test-env/components/button/button_display/_button_display_content.js +1 -1
  253. package/test-env/components/button/button_empty/button_empty.js +1 -1
  254. package/test-env/components/button/button_group/button_group.js +1 -1
  255. package/test-env/components/button/button_group/button_group_button.js +1 -1
  256. package/test-env/components/button/button_icon/button_icon.js +1 -1
  257. package/test-env/components/call_out/call_out.js +1 -1
  258. package/test-env/components/card/card.js +2 -2
  259. package/test-env/components/card/card_select/card_select.js +1 -1
  260. package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
  261. package/test-env/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
  262. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +1 -1
  263. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
  264. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
  265. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
  266. package/test-env/components/combo_box/combo_box_input/combo_box_input.js +19 -1
  267. package/test-env/components/combo_box/combo_box_input/combo_box_pill.js +16 -0
  268. package/test-env/components/combo_box/combo_box_options_list/combo_box_option.js +16 -0
  269. package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +26 -1
  270. package/test-env/components/comment_list/comment.js +2 -2
  271. package/test-env/components/comment_list/comment_event.js +1 -1
  272. package/test-env/components/comment_list/comment_list.js +2 -2
  273. package/test-env/components/comment_list/comment_timeline.js +1 -1
  274. package/test-env/components/datagrid/body/cell/data_grid_cell.js +12 -12
  275. package/test-env/components/datagrid/body/data_grid_body.js +7 -7
  276. package/test-env/components/datagrid/body/data_grid_body_custom.js +7 -7
  277. package/test-env/components/datagrid/body/data_grid_body_virtualized.js +7 -7
  278. package/test-env/components/datagrid/body/header/data_grid_header_cell.js +6 -6
  279. package/test-env/components/datagrid/controls/column_sorting.js +7 -7
  280. package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
  281. package/test-env/components/datagrid/controls/data_grid_toolbar.js +2 -1
  282. package/test-env/components/datagrid/controls/data_grid_toolbar_control.js +1 -1
  283. package/test-env/components/datagrid/utils/in_memory.js +6 -6
  284. package/test-env/components/date_picker/date_picker.js +2 -2
  285. package/test-env/components/date_picker/date_picker_range.js +1 -1
  286. package/test-env/components/empty_prompt/empty_prompt.js +1 -1
  287. package/test-env/components/facet/facet_button.js +1 -1
  288. package/test-env/components/filter_group/filter_select_item.js +45 -3
  289. package/test-env/components/flex/flex_group.js +0 -2
  290. package/test-env/components/flex/flex_item.js +0 -2
  291. package/test-env/components/form/field_number/field_number.js +2 -2
  292. package/test-env/components/form/field_text/field_text.js +2 -2
  293. package/test-env/components/form/form_control_layout/form_control_layout.js +2 -2
  294. package/test-env/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
  295. package/test-env/components/form/form_control_layout/form_control_layout_icons.js +2 -2
  296. package/test-env/components/form/text_area/text_area.js +2 -2
  297. package/test-env/components/header/header_links/header_link.js +1 -1
  298. package/test-env/components/header/header_links/header_links.js +1 -1
  299. package/test-env/components/header/header_logo/header_logo.js +1 -1
  300. package/test-env/components/header/header_section/header_section_item_button.js +1 -1
  301. package/test-env/components/icon/assets/clickLeft.js +46 -0
  302. package/test-env/components/icon/assets/clickRight.js +46 -0
  303. package/test-env/components/icon/assets/clockCounter.js +43 -0
  304. package/test-env/components/icon/assets/error.js +3 -1
  305. package/test-env/components/icon/assets/errorFilled.js +42 -0
  306. package/test-env/components/icon/assets/launch.js +5 -3
  307. package/test-env/components/icon/assets/tokenDimension.js +44 -0
  308. package/test-env/components/icon/assets/tokenMetricCounter.js +4 -1
  309. package/test-env/components/icon/assets/tokenMetricGauge.js +4 -1
  310. package/test-env/components/icon/assets/warningFilled.js +42 -0
  311. package/test-env/components/icon/icon_map.js +6 -0
  312. package/test-env/components/key_pad_menu/key_pad_menu_item.js +1 -1
  313. package/test-env/components/list_group/list_group.js +2 -2
  314. package/test-env/components/list_group/list_group_item.js +2 -2
  315. package/test-env/components/list_group/list_group_item_extra_action.js +1 -1
  316. package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  317. package/test-env/components/loading/loading_logo.js +1 -1
  318. package/test-env/components/markdown_editor/markdown_editor.js +1 -1
  319. package/test-env/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
  320. package/test-env/components/markdown_editor/markdown_editor_footer.js +1 -1
  321. package/test-env/components/markdown_editor/markdown_editor_toolbar.js +1 -1
  322. package/test-env/components/page/page_header/page_header_content.js +1 -1
  323. package/test-env/components/pagination/pagination_button.js +1 -1
  324. package/test-env/components/popover/input_popover.js +20 -14
  325. package/test-env/components/selectable/selectable_list/selectable_list.js +1 -1
  326. package/test-env/components/selectable/selectable_list/selectable_list_item.js +1 -1
  327. package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
  328. package/test-env/components/timeline/timeline_item_icon.js +1 -1
  329. package/test-env/components/toast/global_toast_list.js +1 -1
  330. package/test-env/components/toast/toast.js +1 -1
  331. package/test-env/components/token/token_map.js +4 -0
  332. package/test-env/components/tool_tip/icon_tip.js +1 -1
@@ -106,7 +106,7 @@ EuiIconTip.propTypes = {
106
106
  /**
107
107
  * The icon type.
108
108
  */
109
- type: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "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", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "diff", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "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", "endpoint", "eql", "eraser", "error", "esqlVis", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "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", "logoVulnerabilityManagement", "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", "newChat", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "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", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "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", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "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", "vulnerabilityManagementApp", "warning", "alert", "watchesApp", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]),
109
+ type: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "check", "checkInCircleFilled", "cheer", "classificationJob", "clickLeft", "clickRight", "clock", "clockCounter", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "diff", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "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", "endpoint", "eql", "eraser", "error", "errorFilled", "esqlVis", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "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", "logoVulnerabilityManagement", "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", "newChat", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "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", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "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", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "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", "vulnerabilityManagementApp", "warning", "warningFilled", "alert", "watchesApp", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDimension", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]),
110
110
  /**
111
111
  * The icon size.
112
112
  */
@@ -8,7 +8,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
8
8
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
9
9
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
10
10
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
11
- var _excluded = ["key", "label", "color", "onClick", "append", "prepend", "truncationProps"];
11
+ var _excluded = ["key", "label", "color", "onClick", "append", "prepend", "truncationProps", "toolTipContent", "toolTipProps"];
12
12
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
13
13
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
14
14
  /*
@@ -121,6 +121,8 @@ export var EuiComboBoxInput = /*#__PURE__*/function (_Component) {
121
121
  append = option.append,
122
122
  prepend = option.prepend,
123
123
  truncationProps = option.truncationProps,
124
+ toolTipContent = option.toolTipContent,
125
+ toolTipProps = option.toolTipProps,
124
126
  rest = _objectWithoutProperties(option, _excluded);
125
127
  var pillOnClose = isDisabled || _this.props.singleSelection || onClick ? undefined : onRemoveOption;
126
128
  return ___EmotionJSX(EuiComboBoxPill, _extends({
@@ -211,7 +211,8 @@ export var EuiComboBoxOptionsList = /*#__PURE__*/function (_Component) {
211
211
  if (isLoading) {
212
212
  emptyStateContent = ___EmotionJSX(EuiFlexGroup, {
213
213
  gutterSize: "s",
214
- justifyContent: "center"
214
+ justifyContent: "center",
215
+ responsive: false
215
216
  }, ___EmotionJSX(EuiFlexItem, {
216
217
  grow: false
217
218
  }, ___EmotionJSX(EuiLoadingSpinner, {
@@ -13,7 +13,7 @@ import { IS_JEST_ENVIRONMENT } from '../../../utils';
13
13
 
14
14
  // When below this number the grid only shows the right control icon buttons
15
15
  import { jsx as ___EmotionJSX } from "@emotion/react";
16
- var MINIMUM_WIDTH_FOR_GRID_CONTROLS = 479;
16
+ export var MINIMUM_WIDTH_FOR_GRID_CONTROLS = 479;
17
17
  export var EuiDataGridToolbar = function EuiDataGridToolbar(_ref) {
18
18
  var gridWidth = _ref.gridWidth,
19
19
  _ref$minSizeForContro = _ref.minSizeForControls,
@@ -7,7 +7,9 @@ import _inherits from "@babel/runtime/helpers/inherits";
7
7
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
8
8
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
9
9
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
10
- var _excluded = ["theme", "children", "className", "disabled", "checked", "isFocused", "showIcons"];
10
+ var _excluded = ["theme", "children", "className", "disabled", "checked", "isFocused", "showIcons", "toolTipContent", "toolTipProps", "style"];
11
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
12
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
11
13
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
12
14
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
13
15
  /*
@@ -18,10 +20,11 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
18
20
  * Side Public License, v 1.
19
21
  */
20
22
 
21
- import React, { Component } from 'react';
23
+ import React, { Component, createRef } from 'react';
22
24
  import classNames from 'classnames';
23
25
  import { withEuiTheme } from '../../services';
24
26
  import { EuiFlexGroup, EuiFlexItem } from '../flex';
27
+ import { EuiToolTip } from '../tool_tip';
25
28
  import { EuiIcon } from '../icon';
26
29
  import { euiFilterSelectItemStyles } from './filter_select_item.styles';
27
30
  import { jsx as ___EmotionJSX } from "@emotion/react";
@@ -57,6 +60,7 @@ export var EuiFilterSelectItemClass = /*#__PURE__*/function (_Component) {
57
60
  }
58
61
  _this = _super.call.apply(_super, [this].concat(args));
59
62
  _defineProperty(_assertThisInitialized(_this), "buttonRef", null);
63
+ _defineProperty(_assertThisInitialized(_this), "tooltipRef", /*#__PURE__*/createRef());
60
64
  _defineProperty(_assertThisInitialized(_this), "state", {
61
65
  hasFocus: false
62
66
  });
@@ -65,6 +69,15 @@ export var EuiFilterSelectItemClass = /*#__PURE__*/function (_Component) {
65
69
  _this.buttonRef.focus();
66
70
  }
67
71
  });
72
+ _defineProperty(_assertThisInitialized(_this), "toggleToolTip", function (isFocused) {
73
+ if (isFocused) {
74
+ var _this$tooltipRef, _this$tooltipRef$curr;
75
+ (_this$tooltipRef = _this.tooltipRef) === null || _this$tooltipRef === void 0 ? void 0 : (_this$tooltipRef$curr = _this$tooltipRef.current) === null || _this$tooltipRef$curr === void 0 ? void 0 : _this$tooltipRef$curr.showToolTip();
76
+ } else {
77
+ var _this$tooltipRef2, _this$tooltipRef2$cur;
78
+ (_this$tooltipRef2 = _this.tooltipRef) === null || _this$tooltipRef2 === void 0 ? void 0 : (_this$tooltipRef2$cur = _this$tooltipRef2.current) === null || _this$tooltipRef2$cur === void 0 ? void 0 : _this$tooltipRef2$cur.hideToolTip();
79
+ }
80
+ });
68
81
  _defineProperty(_assertThisInitialized(_this), "hasFocus", function () {
69
82
  return _this.state.hasFocus;
70
83
  });
@@ -82,10 +95,28 @@ export var EuiFilterSelectItemClass = /*#__PURE__*/function (_Component) {
82
95
  checked = _this$props.checked,
83
96
  isFocused = _this$props.isFocused,
84
97
  showIcons = _this$props.showIcons,
98
+ toolTipContent = _this$props.toolTipContent,
99
+ toolTipProps = _this$props.toolTipProps,
100
+ style = _this$props.style,
85
101
  rest = _objectWithoutProperties(_this$props, _excluded);
86
102
  var styles = euiFilterSelectItemStyles(theme);
87
103
  var cssStyles = [styles.euiFilterSelectItem, isFocused && styles.isFocused];
88
104
  var classes = classNames('euiFilterSelectItem', className);
105
+ var hasToolTip =
106
+ // we're using isValidElement here as EuiToolTipAnchor uses
107
+ // cloneElement to enhance the element with required attributes
108
+ /*#__PURE__*/React.isValidElement(children) && !disabled && toolTipContent;
109
+ var anchorProps = undefined;
110
+ if (hasToolTip) {
111
+ var _toolTipProps$anchorP, _toolTipProps$anchorP2;
112
+ var anchorStyles = toolTipProps !== null && toolTipProps !== void 0 && (_toolTipProps$anchorP = toolTipProps.anchorProps) !== null && _toolTipProps$anchorP !== void 0 && _toolTipProps$anchorP.style ? _objectSpread(_objectSpread({}, toolTipProps === null || toolTipProps === void 0 ? void 0 : (_toolTipProps$anchorP2 = toolTipProps.anchorProps) === null || _toolTipProps$anchorP2 === void 0 ? void 0 : _toolTipProps$anchorP2.style), style) : style;
113
+ anchorProps = toolTipProps !== null && toolTipProps !== void 0 && toolTipProps.anchorProps ? _objectSpread(_objectSpread({}, toolTipProps.anchorProps), {}, {
114
+ style: anchorStyles
115
+ }) : {
116
+ style: style
117
+ };
118
+ this.toggleToolTip(isFocused !== null && isFocused !== void 0 ? isFocused : false);
119
+ }
89
120
  var iconNode;
90
121
  if (showIcons) {
91
122
  var _resolveIconAndColor = resolveIconAndColor(checked),
@@ -98,7 +129,7 @@ export var EuiFilterSelectItemClass = /*#__PURE__*/function (_Component) {
98
129
  type: icon
99
130
  }));
100
131
  }
101
- return ___EmotionJSX("button", _extends({
132
+ var optionItem = ___EmotionJSX("button", _extends({
102
133
  ref: function ref(_ref) {
103
134
  return _this2.buttonRef = _ref;
104
135
  },
@@ -108,7 +139,8 @@ export var EuiFilterSelectItemClass = /*#__PURE__*/function (_Component) {
108
139
  className: classes,
109
140
  css: cssStyles,
110
141
  disabled: disabled,
111
- "aria-disabled": disabled
142
+ "aria-disabled": disabled,
143
+ style: !hasToolTip ? style : undefined
112
144
  }, rest), ___EmotionJSX(EuiFlexGroup, {
113
145
  alignItems: "center",
114
146
  gutterSize: "s",
@@ -118,6 +150,14 @@ export var EuiFilterSelectItemClass = /*#__PURE__*/function (_Component) {
118
150
  className: "euiFilterSelectItem__content eui-textTruncate",
119
151
  component: "span"
120
152
  }, children)));
153
+ return hasToolTip ? ___EmotionJSX(EuiToolTip, _extends({
154
+ ref: this.tooltipRef,
155
+ display: "block",
156
+ content: toolTipContent,
157
+ position: "left"
158
+ }, toolTipProps, {
159
+ anchorProps: anchorProps
160
+ }), optionItem) : optionItem;
121
161
  }
122
162
  }]);
123
163
  return EuiFilterSelectItemClass;
@@ -53,6 +53,4 @@ var EuiFlexGroupInternal = function EuiFlexGroupInternal(_ref, ref) {
53
53
  // Cast forwardRef return type to work with the generic TComponent type
54
54
  // and not fallback to implicit any typing
55
55
  export var EuiFlexGroup = /*#__PURE__*/forwardRef(EuiFlexGroupInternal);
56
-
57
- // Cast is required here because of the cast above
58
56
  EuiFlexGroup.displayName = 'EuiFlexGroup';
@@ -44,6 +44,4 @@ var EuiFlexItemInternal = function EuiFlexItemInternal(_ref, ref) {
44
44
  // Cast forwardRef return type to work with the generic TComponent type
45
45
  // and not fallback to implicit any typing
46
46
  export var EuiFlexItem = /*#__PURE__*/forwardRef(EuiFlexItemInternal);
47
-
48
- // Cast is required here because of the cast above
49
47
  EuiFlexItem.displayName = 'EuiFlexItem';
@@ -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
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
6
+ * or more contributor license agreements. Licensed under the Elastic License
7
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
8
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
9
+ * Side Public License, v 1.
10
+ */
11
+
12
+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
13
+
14
+ import * as React from 'react';
15
+ import { jsx as ___EmotionJSX } from "@emotion/react";
16
+ var EuiIconClickLeft = function EuiIconClickLeft(_ref) {
17
+ var title = _ref.title,
18
+ titleId = _ref.titleId,
19
+ props = _objectWithoutProperties(_ref, _excluded);
20
+ return ___EmotionJSX("svg", _extends({
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ width: 16,
23
+ height: 16,
24
+ viewBox: "0 0 16 16",
25
+ "aria-labelledby": titleId
26
+ }, props), title ? ___EmotionJSX("title", {
27
+ id: titleId
28
+ }, title) : null, ___EmotionJSX("path", {
29
+ d: "M5 .5a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0v-1Zm-3.146.646a.5.5 0 1 0-.708.708l1 1a.5.5 0 1 0 .708-.708l-1-1Z"
30
+ }), ___EmotionJSX("path", {
31
+ fillRule: "evenodd",
32
+ d: "M13 7A5 5 0 0 0 3 7v4a5 5 0 0 0 10 0V7Zm-1 0a4 4 0 0 0-4-4v5a1 1 0 0 1-1 1H4v2a4 4 0 0 0 8 0V7Z"
33
+ }), ___EmotionJSX("path", {
34
+ d: "M0 4.5A.5.5 0 0 1 .5 4h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Z"
35
+ }));
36
+ };
37
+ export var icon = EuiIconClickLeft;
@@ -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
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
6
+ * or more contributor license agreements. Licensed under the Elastic License
7
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
8
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
9
+ * Side Public License, v 1.
10
+ */
11
+
12
+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
13
+
14
+ import * as React from 'react';
15
+ import { jsx as ___EmotionJSX } from "@emotion/react";
16
+ var EuiIconClickRight = function EuiIconClickRight(_ref) {
17
+ var title = _ref.title,
18
+ titleId = _ref.titleId,
19
+ props = _objectWithoutProperties(_ref, _excluded);
20
+ return ___EmotionJSX("svg", _extends({
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ width: 16,
23
+ height: 16,
24
+ viewBox: "0 0 16 16",
25
+ "aria-labelledby": titleId
26
+ }, props), title ? ___EmotionJSX("title", {
27
+ id: titleId
28
+ }, title) : null, ___EmotionJSX("path", {
29
+ d: "M11 .5a.5.5 0 0 1 1 0v1a.5.5 0 0 1-1 0v-1Zm3.146.646a.5.5 0 0 1 .708.708l-1 1a.5.5 0 0 1-.708-.708l1-1Z"
30
+ }), ___EmotionJSX("path", {
31
+ fillRule: "evenodd",
32
+ d: "M3 7a5 5 0 0 1 10 0v4a5 5 0 0 1-10 0V7Zm1 0a4 4 0 0 1 4-4v5a1 1 0 0 0 1 1h3v2a4 4 0 0 1-8 0V7Z"
33
+ }), ___EmotionJSX("path", {
34
+ d: "M16 4.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0 0 1h1a.5.5 0 0 0 .5-.5Z"
35
+ }));
36
+ };
37
+ export var icon = EuiIconClickRight;
@@ -0,0 +1,34 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["title", "titleId"];
4
+ /*
5
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
6
+ * or more contributor license agreements. Licensed under the Elastic License
7
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
8
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
9
+ * Side Public License, v 1.
10
+ */
11
+
12
+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
13
+
14
+ import * as React from 'react';
15
+ import { jsx as ___EmotionJSX } from "@emotion/react";
16
+ var EuiIconClockCounter = function EuiIconClockCounter(_ref) {
17
+ var title = _ref.title,
18
+ titleId = _ref.titleId,
19
+ props = _objectWithoutProperties(_ref, _excluded);
20
+ return ___EmotionJSX("svg", _extends({
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ width: 16,
23
+ height: 16,
24
+ viewBox: "0 0 16 16",
25
+ "aria-labelledby": titleId
26
+ }, props), title ? ___EmotionJSX("title", {
27
+ id: titleId
28
+ }, title) : null, ___EmotionJSX("path", {
29
+ d: "M11.39 3.61a5.5 5.5 0 0 0-7.78 7.78l.562.56v-1.622a.5.5 0 0 1 1 0v2.829a.5.5 0 0 1-.5.5H1.843a.5.5 0 0 1 0-1h1.621l-.56-.56A6.5 6.5 0 1 1 7.5 14a.5.5 0 0 1 0-1 5.5 5.5 0 0 0 3.89-9.39Z"
30
+ }), ___EmotionJSX("path", {
31
+ d: "M7.5 3a.5.5 0 0 1 .5.5V7h2.5a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5Z"
32
+ }));
33
+ };
34
+ export var icon = EuiIconClockCounter;
@@ -26,8 +26,10 @@ var EuiIconError = function EuiIconError(_ref) {
26
26
  }, props), title ? ___EmotionJSX("title", {
27
27
  id: titleId
28
28
  }, title) : null, ___EmotionJSX("path", {
29
+ d: "M4.854 5.146a.5.5 0 1 0-.708.708L6.793 8.5l-2.647 2.646a.5.5 0 0 0 .708.708L7.5 9.207l2.646 2.647a.5.5 0 0 0 .708-.708L8.207 8.5l2.647-2.646a.5.5 0 0 0-.708-.708L7.5 7.793 4.854 5.146Z"
30
+ }), ___EmotionJSX("path", {
29
31
  fillRule: "evenodd",
30
- d: "M10 1a1 1 0 0 1 .707.293l4 4A1 1 0 0 1 15 6v5a1 1 0 0 1-.293.707l-4 4A1 1 0 0 1 10 16H5a1 1 0 0 1-.707-.293l-4-4A1 1 0 0 1 0 11V6a1 1 0 0 1 .293-.707l4-4A1 1 0 0 1 5 1h5ZM4.146 5.146a.5.5 0 0 1 .708 0L7.5 7.793l2.646-2.647a.5.5 0 0 1 .708.708L8.207 8.5l2.647 2.646a.5.5 0 0 1-.708.708L7.5 9.207l-2.646 2.647a.5.5 0 0 1-.708-.708L6.793 8.5 4.146 5.854a.5.5 0 0 1 0-.708Z"
32
+ d: "M5 1a1 1 0 0 0-.707.293l-4 4A1 1 0 0 0 0 6v5a1 1 0 0 0 .293.707l4 4A1 1 0 0 0 5 16h5a1 1 0 0 0 .707-.293l4-4A1 1 0 0 0 15 11V6a1 1 0 0 0-.293-.707l-4-4A1 1 0 0 0 10 1H5Zm5 1H5L1 6v5l4 4h5l4-4V6l-4-4Z"
31
33
  }));
32
34
  };
33
35
  export var icon = EuiIconError;
@@ -0,0 +1,33 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["title", "titleId"];
4
+ /*
5
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
6
+ * or more contributor license agreements. Licensed under the Elastic License
7
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
8
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
9
+ * Side Public License, v 1.
10
+ */
11
+
12
+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
13
+
14
+ import * as React from 'react';
15
+ import { jsx as ___EmotionJSX } from "@emotion/react";
16
+ var EuiIconErrorFilled = function EuiIconErrorFilled(_ref) {
17
+ var title = _ref.title,
18
+ titleId = _ref.titleId,
19
+ props = _objectWithoutProperties(_ref, _excluded);
20
+ return ___EmotionJSX("svg", _extends({
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ width: 16,
23
+ height: 16,
24
+ viewBox: "0 0 16 16",
25
+ "aria-labelledby": titleId
26
+ }, props), title ? ___EmotionJSX("title", {
27
+ id: titleId
28
+ }, title) : null, ___EmotionJSX("path", {
29
+ fillRule: "evenodd",
30
+ d: "M10 1a1 1 0 0 1 .707.293l4 4A1 1 0 0 1 15 6v5a1 1 0 0 1-.293.707l-4 4A1 1 0 0 1 10 16H5a1 1 0 0 1-.707-.293l-4-4A1 1 0 0 1 0 11V6a1 1 0 0 1 .293-.707l4-4A1 1 0 0 1 5 1h5ZM4.146 5.146a.5.5 0 0 1 .708 0L7.5 7.793l2.646-2.647a.5.5 0 0 1 .708.708L8.207 8.5l2.647 2.646a.5.5 0 0 1-.708.708L7.5 9.207l-2.646 2.647a.5.5 0 0 1-.708-.708L6.793 8.5 4.146 5.854a.5.5 0 0 1 0-.708Z"
31
+ }));
32
+ };
33
+ export var icon = EuiIconErrorFilled;
@@ -27,13 +27,15 @@ var EuiIconLaunch = function EuiIconLaunch(_ref) {
27
27
  }, props), title ? ___EmotionJSX("title", {
28
28
  id: titleId
29
29
  }, title) : null, ___EmotionJSX("path", {
30
- d: "M11 6a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"
30
+ fillRule: "evenodd",
31
+ d: "M10 4a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM9 6a1 1 0 1 1 2 0 1 1 0 0 1-2 0Z",
32
+ clipRule: "evenodd"
31
33
  }), ___EmotionJSX("path", {
32
34
  fillRule: "evenodd",
33
- d: "M10.355 1.791A3.5 3.5 0 0 1 12.57 1H14a1 1 0 0 1 1 1v1.43a3.5 3.5 0 0 1-.791 2.215l-3.144 3.843a2.5 2.5 0 0 0-.565 1.583v1.636l-1.646 1.647a.5.5 0 0 1-.557.103l-.634-.282a11.5 11.5 0 0 1-5.838-5.838l-.282-.634a.5.5 0 0 1 .103-.557L3.293 5.5h1.636a2.5 2.5 0 0 0 1.583-.565l3.843-3.144ZM12.57 2a2.5 2.5 0 0 0-1.583.565L7.145 5.71a3.5 3.5 0 0 1-2.215.79H3.707l-1.11 1.11.142.32a10.498 10.498 0 0 0 1.825 2.799l2.082-2.083a.5.5 0 1 1 .708.708L5.27 11.436a10.496 10.496 0 0 0 2.798 1.825l.32.143L9.5 12.293V11.07a3.5 3.5 0 0 1 .791-2.216l3.144-3.843A2.5 2.5 0 0 0 14 3.43V2h-1.43Z",
35
+ d: "M6.679 12.967c.353-.136.697-.3 1.033-.475l1.36 2.265a.5.5 0 0 0 .828.043l3-4a.5.5 0 0 0-.046-.654l-.886-.886C13.604 7.456 15 4.913 15 1.5a.5.5 0 0 0-.5-.5c-3.413 0-5.956 1.395-7.76 3.033l-.886-.887A.5.5 0 0 0 5.2 3.1l-4 3a.5.5 0 0 0 .043.829l2.264 1.358a9.59 9.59 0 0 0-.475 1.036v.001a.5.5 0 0 0 .114.53l3 3c.139.138.35.182.533.113ZM4.09 9.384l2.525 2.525a14.616 14.616 0 0 0 3.555-2.285c1.841-1.612 3.657-4.076 3.818-7.612-3.537.16-6.001 1.976-7.613 3.817A14.617 14.617 0 0 0 4.09 9.384Zm-.096-1.97a15.616 15.616 0 0 1 2.03-2.682l-.572-.572-3.058 2.294 1.6.96Zm5.551 6.191-.96-1.6a15.617 15.617 0 0 0 2.682-2.03l.572.572-2.294 3.058Z",
34
36
  clipRule: "evenodd"
35
37
  }), ___EmotionJSX("path", {
36
- d: "M1.9 10.7a.5.5 0 0 0-.88.163l-1 3.5A.5.5 0 0 0 0 14.5v1a.5.5 0 0 0 .5.5h1a.502.502 0 0 0 .137-.02l3.5-1a.5.5 0 0 0 .163-.88l-1.314-.986a5.5 5.5 0 0 1-1.1-1.1L1.9 10.7Z"
38
+ d: "M3.854 12.146a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708l2-2a.5.5 0 0 1 .708 0Zm2 1.708a.5.5 0 0 0-.708-.708l-1 1a.5.5 0 0 0 .708.708l1-1Zm-3-3.708a.5.5 0 0 1 0 .708l-1 1a.5.5 0 0 1-.708-.708l1-1a.5.5 0 0 1 .708 0Z"
37
39
  }));
38
40
  };
39
41
  export var icon = EuiIconLaunch;
@@ -0,0 +1,35 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["title", "titleId"];
4
+ /*
5
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
6
+ * or more contributor license agreements. Licensed under the Elastic License
7
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
8
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
9
+ * Side Public License, v 1.
10
+ */
11
+
12
+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
13
+
14
+ import * as React from 'react';
15
+ import { jsx as ___EmotionJSX } from "@emotion/react";
16
+ var EuiIconTokenDimension = function EuiIconTokenDimension(_ref) {
17
+ var title = _ref.title,
18
+ titleId = _ref.titleId,
19
+ props = _objectWithoutProperties(_ref, _excluded);
20
+ return ___EmotionJSX("svg", _extends({
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ width: 16,
23
+ height: 16,
24
+ viewBox: "0 0 16 16",
25
+ "aria-labelledby": titleId
26
+ }, props), title ? ___EmotionJSX("title", {
27
+ id: titleId
28
+ }, title) : null, ___EmotionJSX("path", {
29
+ d: "M12 10.5a.5.5 0 0 0-1 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 0-1H12v-.5Z"
30
+ }), ___EmotionJSX("path", {
31
+ fillRule: "evenodd",
32
+ d: "M3 12h3.078c.728 0 1.37-.127 1.924-.383a3.5 3.5 0 1 0 2.053-3.306c.005-.101.008-.205.008-.311 0-.833-.165-1.548-.493-2.145A3.309 3.309 0 0 0 8.18 4.48C7.58 4.16 6.87 4 6.047 4H3v8Zm6.787-2.321A2.5 2.5 0 0 0 11.5 14a2.5 2.5 0 1 0-1.713-4.321ZM6 10.156h-.828V5.844h.766c.416 0 .768.064 1.054.191.29.128.508.348.656.66.151.313.227.748.227 1.305 0 .557-.074.992-.223 1.305a1.29 1.29 0 0 1-.64.66c-.279.127-.616.191-1.012.191Z"
33
+ }));
34
+ };
35
+ export var icon = EuiIconTokenDimension;
@@ -26,7 +26,10 @@ var EuiIconTokenMetricCounter = function EuiIconTokenMetricCounter(_ref) {
26
26
  }, props), title ? ___EmotionJSX("title", {
27
27
  id: titleId
28
28
  }, title) : null, ___EmotionJSX("path", {
29
- d: "M11 3a1 1 0 0 0-1 1v1H9a1 1 0 0 0 0 2h1v1a1 1 0 1 0 2 0V7h1a1 1 0 1 0 0-2h-1V4a1 1 0 0 0-1-1ZM5 7a1 1 0 0 0-1 1v1H3a1 1 0 0 0 0 2h1v1a1 1 0 1 0 2 0v-1h1a1 1 0 1 0 0-2H6V8a1 1 0 0 0-1-1Z"
29
+ d: "M12 10.5a.5.5 0 0 0-1 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 0-1H12v-.5Z"
30
+ }), ___EmotionJSX("path", {
31
+ fillRule: "evenodd",
32
+ d: "M8 3h4v5.035A3.5 3.5 0 1 1 8.337 13H2V9h3V6h3V3Zm1.05 9a2.5 2.5 0 1 1 4.902-1 2.5 2.5 0 0 1-4.902 1ZM11 8.035a3.49 3.49 0 0 0-2 1.016V4h2v4.035ZM8 12H6V7h2v5Zm-3 0v-2H3v2h2Z"
30
33
  }));
31
34
  };
32
35
  export var icon = EuiIconTokenMetricCounter;
@@ -26,7 +26,10 @@ var EuiIconTokenMetricGauge = function EuiIconTokenMetricGauge(_ref) {
26
26
  }, props), title ? ___EmotionJSX("title", {
27
27
  id: titleId
28
28
  }, title) : null, ___EmotionJSX("path", {
29
- d: "M5 4h-.5a.5.5 0 0 1 0-1h1a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1 0-1H5v-2h-.5a.5.5 0 0 1 0-1H5V7h-.5a.5.5 0 0 1 0-1H5V4Zm3 1a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H8Z"
29
+ d: "M12 10.5a.5.5 0 0 0-1 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 0-1H12v-.5Z"
30
+ }), ___EmotionJSX("path", {
31
+ fillRule: "evenodd",
32
+ d: "M6 3H2v10h6.337A3.5 3.5 0 1 0 12 8.035V5H8v2H6V3Zm5 5.035V6H9v3.05a3.49 3.49 0 0 1 2-1.015ZM9 11.5a2.5 2.5 0 1 1 5.002 0A2.5 2.5 0 0 1 9 11.5ZM8 8H6v4h2V8ZM5 4H3v8h2V4Z"
30
33
  }));
31
34
  };
32
35
  export var icon = EuiIconTokenMetricGauge;
@@ -0,0 +1,33 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["title", "titleId"];
4
+ /*
5
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
6
+ * or more contributor license agreements. Licensed under the Elastic License
7
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
8
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
9
+ * Side Public License, v 1.
10
+ */
11
+
12
+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
13
+
14
+ import * as React from 'react';
15
+ import { jsx as ___EmotionJSX } from "@emotion/react";
16
+ var EuiIconWarningFilled = function EuiIconWarningFilled(_ref) {
17
+ var title = _ref.title,
18
+ titleId = _ref.titleId,
19
+ props = _objectWithoutProperties(_ref, _excluded);
20
+ return ___EmotionJSX("svg", _extends({
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ width: 16,
23
+ height: 16,
24
+ viewBox: "0 0 16 16",
25
+ "aria-labelledby": titleId
26
+ }, props), title ? ___EmotionJSX("title", {
27
+ id: titleId
28
+ }, title) : null, ___EmotionJSX("path", {
29
+ fillRule: "evenodd",
30
+ d: "M8 1a1 1 0 0 1 .864.496l7 12A1 1 0 0 1 15 15H1a1 1 0 0 1-.864-1.504l7-12A1 1 0 0 1 8 1Zm.9 4.995-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995a.905.905 0 1 1 1.8 0ZM8 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"
31
+ }));
32
+ };
33
+ export var icon = EuiIconWarningFilled;
@@ -48,7 +48,10 @@ export var typeToPathMap = {
48
48
  checkInCircleFilled: 'checkInCircleFilled',
49
49
  cheer: 'cheer',
50
50
  classificationJob: 'ml_classification_job',
51
+ clickLeft: 'clickLeft',
52
+ clickRight: 'clickRight',
51
53
  clock: 'clock',
54
+ clockCounter: 'clockCounter',
52
55
  cloudDrizzle: 'cloudDrizzle',
53
56
  cloudStormy: 'cloudStormy',
54
57
  cloudSunny: 'cloudSunny',
@@ -129,6 +132,7 @@ export var typeToPathMap = {
129
132
  eql: 'eql',
130
133
  eraser: 'eraser',
131
134
  error: 'error',
135
+ errorFilled: 'errorFilled',
132
136
  esqlVis: 'esqlVis',
133
137
  exit: 'exit',
134
138
  expand: 'expand',
@@ -436,6 +440,7 @@ export var typeToPathMap = {
436
440
  visualizeApp: 'app_visualize',
437
441
  vulnerabilityManagementApp: 'app_vulnerability_management',
438
442
  warning: 'warning',
443
+ warningFilled: 'warningFilled',
439
444
  alert: 'warning',
440
445
  // NOTE: This is an undocumented alias for `warning`, added for legacy compatability with Elastic Charts
441
446
  watchesApp: 'app_watches',
@@ -453,6 +458,7 @@ export var typeToPathMap = {
453
458
  tokenCompletionSuggester: 'tokenCompletionSuggester',
454
459
  tokenConstant: 'tokenConstant',
455
460
  tokenDate: 'tokenDate',
461
+ tokenDimension: 'tokenDimension',
456
462
  tokenElement: 'tokenElement',
457
463
  tokenEnum: 'tokenEnum',
458
464
  tokenEnumMember: 'tokenEnumMember',
@@ -140,29 +140,35 @@ export var EuiInputPopover = function EuiInputPopover(_ref) {
140
140
  useEffect(function () {
141
141
  // When the popover opens, add a scroll listener to the page (& remove it after)
142
142
  if (closeOnScroll && panelEl) {
143
- // Close the popover, but only if the scroll event occurs outside the input or the popover itself
144
143
  var closePopoverOnScroll = function closePopoverOnScroll(event) {
145
- if (!panelEl || !inputEl || !event.target) return;
146
144
  var scrollTarget = event.target;
147
- if (panelEl.contains(scrollTarget) === false && inputEl.contains(scrollTarget) === false) {
148
- closePopover();
145
+
146
+ // Basic existence check
147
+ if (!panelEl || !inputEl || !scrollTarget) {
148
+ return;
149
+ }
150
+ // Do not close the popover if the input or popover itself was scrolled
151
+ if (panelEl.contains(scrollTarget) || inputEl.contains(scrollTarget)) {
152
+ return;
149
153
  }
154
+ // Firefox will trigger a scroll event in many common situations (e.g. docs side nav)
155
+ // when the options list div is appended to the DOM. To work around this, we should
156
+ // check if the element that scrolled actually contains/will affect the input
157
+ if (!scrollTarget.contains(inputEl)) {
158
+ return;
159
+ }
160
+ closePopover();
150
161
  };
162
+ window.addEventListener('scroll', closePopoverOnScroll, {
163
+ passive: true,
164
+ // for better performance as we won't call preventDefault
165
+ capture: true // scroll events don't bubble, they must be captured instead
166
+ });
151
167
 
152
- // Firefox will trigger a scroll event in many common situations when the options list div is appended
153
- // to the DOM; in testing it was always within 100ms, but setting a timeout here for 500ms to be safe
154
- var timeoutId = setTimeout(function () {
155
- window.addEventListener('scroll', closePopoverOnScroll, {
156
- passive: true,
157
- // for better performance as we won't call preventDefault
158
- capture: true // scroll events don't bubble, they must be captured instead
159
- });
160
- }, 500);
161
168
  return function () {
162
169
  window.removeEventListener('scroll', closePopoverOnScroll, {
163
170
  capture: true
164
171
  });
165
- clearTimeout(timeoutId);
166
172
  };
167
173
  }
168
174
  }, [closeOnScroll, closePopover, panelEl, inputEl]);
@@ -49,6 +49,10 @@ export var TOKEN_MAP = {
49
49
  shape: 'square',
50
50
  color: 'euiColorVis6'
51
51
  },
52
+ tokenDimension: {
53
+ shape: 'square',
54
+ color: 'euiColorVis1'
55
+ },
52
56
  tokenElement: {
53
57
  shape: 'square',
54
58
  color: 'euiColorVis3'