@elastic/eui 65.0.1 → 67.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (360) hide show
  1. package/dist/eui_charts_theme.js +330 -330
  2. package/dist/eui_charts_theme.js.map +1 -1
  3. package/dist/eui_theme_dark.css +28 -444
  4. package/dist/eui_theme_dark.json +0 -6
  5. package/dist/eui_theme_dark.json.d.ts +0 -6
  6. package/dist/eui_theme_dark.min.css +1 -1
  7. package/dist/eui_theme_light.css +28 -444
  8. package/dist/eui_theme_light.json +0 -6
  9. package/dist/eui_theme_light.json.d.ts +0 -6
  10. package/dist/eui_theme_light.min.css +1 -1
  11. package/es/components/basic_table/basic_table.js +13 -2
  12. package/es/components/basic_table/in_memory_table.js +13 -2
  13. package/es/components/button/button_display/_button_display.js +10 -1
  14. package/es/components/button/button_empty/button_empty.js +10 -1
  15. package/es/components/card/card.styles.js +2 -2
  16. package/es/components/collapsible_nav/collapsible_nav.js +0 -5
  17. package/es/components/combo_box/combo_box.js +2 -15
  18. package/es/components/datagrid/body/data_grid_body.js +17 -6
  19. package/es/components/datagrid/body/data_grid_cell.js +29 -12
  20. package/es/components/datagrid/body/header/data_grid_header_cell.js +17 -6
  21. package/es/components/datagrid/body/header/data_grid_header_row.js +17 -6
  22. package/es/components/datagrid/data_grid.js +17 -6
  23. package/es/components/datagrid/utils/in_memory.js +17 -6
  24. package/es/components/date_picker/auto_refresh/auto_refresh.js +6 -1
  25. package/es/components/date_picker/react-datepicker/original.package.json +124 -0
  26. package/es/components/date_picker/super_date_picker/date_popover/date_popover_button.js +6 -2
  27. package/es/components/description_list/description_list.js +11 -3
  28. package/es/components/description_list/description_list_context.js +2 -1
  29. package/es/components/description_list/description_list_description.js +3 -1
  30. package/es/components/description_list/description_list_description.styles.js +5 -2
  31. package/es/components/description_list/description_list_title.js +3 -2
  32. package/es/components/description_list/description_list_title.styles.js +7 -3
  33. package/es/components/description_list/description_list_types.js +2 -1
  34. package/es/components/expression/expression.js +12 -2
  35. package/es/components/form/field_search/field_search.js +6 -16
  36. package/es/components/form/range/range_input.js +1 -1
  37. package/es/components/header/header_links/header_link.js +10 -1
  38. package/es/components/header/header_section/header_section_item.js +4 -3
  39. package/es/components/icon/icon.js +3 -10
  40. package/es/components/image/image.js +6 -1
  41. package/es/components/image/image_fullscreen_wrapper.js +2 -3
  42. package/es/components/list_group/list_group.js +7 -1
  43. package/es/components/list_group/list_group_item.js +10 -3
  44. package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +13 -1
  45. package/es/components/modal/modal.js +1 -3
  46. package/es/components/notification/notification_event.js +24 -5
  47. package/es/components/observer/mutation_observer/mutation_observer.js +1 -1
  48. package/es/components/overlay_mask/overlay_mask.js +27 -65
  49. package/es/components/overlay_mask/overlay_mask.styles.js +28 -0
  50. package/es/components/page/page_content/page_content.js +1 -2
  51. package/es/components/page/page_content/page_content_body.js +1 -2
  52. package/es/components/page/page_content/page_content_header.js +1 -2
  53. package/es/components/page/page_content/page_content_header_section.js +1 -2
  54. package/es/components/page/page_section/page_section.js +15 -3
  55. package/es/components/page/page_side_bar/page_side_bar.js +1 -2
  56. package/es/components/page/page_sidebar/page_sidebar.js +5 -1
  57. package/es/components/page/page_template.js +3 -1
  58. package/es/components/page_template/empty_prompt/page_empty_prompt.js +11 -1
  59. package/es/components/page_template/page_template.js +18 -2
  60. package/es/components/pagination/pagination.js +17 -4
  61. package/es/components/pagination/pagination.styles.js +31 -0
  62. package/es/components/pagination/pagination_button.js +17 -5
  63. package/es/components/pagination/pagination_button.styles.js +30 -0
  64. package/es/components/pagination/pagination_button_arrow.js +5 -0
  65. package/es/components/progress/progress.js +6 -1
  66. package/es/components/provider/cache/cache_provider.js +3 -9
  67. package/es/components/provider/provider.js +25 -2
  68. package/es/components/resizable_container/resizable_panel.js +6 -1
  69. package/es/components/side_nav/side_nav.js +5 -0
  70. package/es/components/suggest/suggest.js +10 -1
  71. package/es/components/table/table_row_cell.js +4 -6
  72. package/es/components/tabs/tabbed_content/tabbed_content.js +2 -19
  73. package/es/components/tool_tip/tool_tip.js +42 -66
  74. package/es/components/tool_tip/tool_tip.styles.js +107 -0
  75. package/es/components/tool_tip/tool_tip_anchor.js +73 -0
  76. package/es/components/tool_tip/tool_tip_arrow.js +20 -0
  77. package/es/components/tool_tip/tool_tip_popover.js +48 -101
  78. package/es/global_styling/functions/logicals.json +56 -0
  79. package/es/global_styling/index.js +2 -1
  80. package/es/global_styling/mixins/_typography.js +1 -1
  81. package/es/global_styling/utility/animations.js +13 -0
  82. package/es/services/theme/hooks.js +11 -16
  83. package/eui.d.ts +157 -61
  84. package/i18ntokens.json +72 -72
  85. package/lib/components/basic_table/basic_table.js +13 -2
  86. package/lib/components/basic_table/in_memory_table.js +13 -2
  87. package/lib/components/button/button_display/_button_display.js +10 -1
  88. package/lib/components/button/button_empty/button_empty.js +10 -1
  89. package/lib/components/card/card.styles.js +2 -2
  90. package/lib/components/collapsible_nav/collapsible_nav.js +0 -5
  91. package/lib/components/combo_box/combo_box.js +2 -15
  92. package/lib/components/datagrid/body/data_grid_body.js +17 -6
  93. package/lib/components/datagrid/body/data_grid_cell.js +29 -12
  94. package/lib/components/datagrid/body/header/data_grid_header_cell.js +17 -6
  95. package/lib/components/datagrid/body/header/data_grid_header_row.js +17 -6
  96. package/lib/components/datagrid/data_grid.js +17 -6
  97. package/lib/components/datagrid/utils/in_memory.js +17 -6
  98. package/lib/components/date_picker/auto_refresh/auto_refresh.js +6 -1
  99. package/lib/components/date_picker/react-datepicker/original.package.json +124 -0
  100. package/lib/components/date_picker/super_date_picker/date_popover/date_popover_button.js +6 -1
  101. package/lib/components/description_list/description_list.js +11 -3
  102. package/lib/components/description_list/description_list_context.js +2 -1
  103. package/lib/components/description_list/description_list_description.js +3 -1
  104. package/lib/components/description_list/description_list_description.styles.js +5 -2
  105. package/lib/components/description_list/description_list_title.js +3 -2
  106. package/lib/components/description_list/description_list_title.styles.js +7 -3
  107. package/lib/components/description_list/description_list_types.js +4 -2
  108. package/lib/components/expression/expression.js +12 -2
  109. package/lib/components/form/field_search/field_search.js +6 -16
  110. package/lib/components/form/range/range_input.js +1 -1
  111. package/lib/components/header/header_links/header_link.js +10 -1
  112. package/lib/components/header/header_section/header_section_item.js +4 -3
  113. package/lib/components/icon/icon.js +3 -10
  114. package/lib/components/image/image.js +6 -1
  115. package/lib/components/image/image_fullscreen_wrapper.js +2 -3
  116. package/lib/components/list_group/list_group.js +7 -1
  117. package/lib/components/list_group/list_group_item.js +10 -3
  118. package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +13 -1
  119. package/lib/components/modal/modal.js +1 -3
  120. package/lib/components/notification/notification_event.js +27 -8
  121. package/lib/components/observer/mutation_observer/mutation_observer.js +1 -1
  122. package/lib/components/overlay_mask/overlay_mask.js +27 -65
  123. package/lib/components/overlay_mask/overlay_mask.styles.js +34 -0
  124. package/lib/components/page/page_content/page_content.js +1 -2
  125. package/lib/components/page/page_content/page_content_body.js +1 -2
  126. package/lib/components/page/page_content/page_content_header.js +1 -2
  127. package/lib/components/page/page_content/page_content_header_section.js +1 -2
  128. package/lib/components/page/page_section/page_section.js +15 -3
  129. package/lib/components/page/page_side_bar/page_side_bar.js +1 -2
  130. package/lib/components/page/page_sidebar/page_sidebar.js +5 -1
  131. package/lib/components/page/page_template.js +3 -1
  132. package/lib/components/page_template/empty_prompt/page_empty_prompt.js +11 -1
  133. package/lib/components/page_template/page_template.js +18 -2
  134. package/lib/components/pagination/pagination.js +18 -3
  135. package/lib/components/pagination/pagination.styles.js +34 -0
  136. package/lib/components/pagination/pagination_button.js +9 -4
  137. package/lib/components/pagination/pagination_button.styles.js +45 -0
  138. package/lib/components/pagination/pagination_button_arrow.js +7 -0
  139. package/lib/components/progress/progress.js +6 -1
  140. package/lib/components/provider/cache/cache_provider.js +3 -11
  141. package/lib/components/provider/provider.js +31 -6
  142. package/lib/components/resizable_container/resizable_panel.js +6 -1
  143. package/lib/components/side_nav/side_nav.js +5 -0
  144. package/lib/components/suggest/suggest.js +10 -1
  145. package/lib/components/table/table_row_cell.js +4 -6
  146. package/lib/components/tabs/tabbed_content/tabbed_content.js +2 -19
  147. package/lib/components/tool_tip/tool_tip.js +43 -64
  148. package/lib/components/tool_tip/tool_tip.styles.js +123 -0
  149. package/lib/components/tool_tip/tool_tip_anchor.js +87 -0
  150. package/lib/components/tool_tip/tool_tip_arrow.js +28 -0
  151. package/lib/components/tool_tip/tool_tip_popover.js +49 -98
  152. package/lib/global_styling/functions/logicals.json +56 -0
  153. package/lib/global_styling/index.js +13 -0
  154. package/lib/global_styling/mixins/_typography.js +1 -1
  155. package/lib/global_styling/utility/animations.js +15 -0
  156. package/lib/services/theme/hooks.js +10 -15
  157. package/optimize/es/components/card/card.styles.js +2 -2
  158. package/optimize/es/components/combo_box/combo_box.js +2 -15
  159. package/optimize/es/components/date_picker/react-datepicker/original.package.json +124 -0
  160. package/optimize/es/components/date_picker/super_date_picker/date_popover/date_popover_button.js +0 -1
  161. package/optimize/es/components/description_list/description_list.js +5 -2
  162. package/optimize/es/components/description_list/description_list_context.js +2 -1
  163. package/optimize/es/components/description_list/description_list_description.js +3 -1
  164. package/optimize/es/components/description_list/description_list_description.styles.js +5 -2
  165. package/optimize/es/components/description_list/description_list_title.js +3 -2
  166. package/optimize/es/components/description_list/description_list_title.styles.js +7 -3
  167. package/optimize/es/components/description_list/description_list_types.js +2 -1
  168. package/optimize/es/components/form/field_search/field_search.js +6 -16
  169. package/optimize/es/components/form/range/range_input.js +1 -1
  170. package/optimize/es/components/header/header_section/header_section_item.js +4 -3
  171. package/optimize/es/components/icon/icon.js +3 -10
  172. package/optimize/es/components/image/image_fullscreen_wrapper.js +2 -3
  173. package/optimize/es/components/list_group/list_group_item.js +3 -2
  174. package/optimize/es/components/modal/modal.js +1 -3
  175. package/optimize/es/components/notification/notification_event.js +10 -4
  176. package/optimize/es/components/observer/mutation_observer/mutation_observer.js +1 -1
  177. package/optimize/es/components/overlay_mask/overlay_mask.js +27 -60
  178. package/optimize/es/components/overlay_mask/overlay_mask.styles.js +28 -0
  179. package/optimize/es/components/page/page_content/page_content.js +1 -2
  180. package/optimize/es/components/page/page_content/page_content_body.js +1 -2
  181. package/optimize/es/components/page/page_content/page_content_header.js +1 -2
  182. package/optimize/es/components/page/page_content/page_content_header_section.js +1 -2
  183. package/optimize/es/components/page/page_section/page_section.js +4 -2
  184. package/optimize/es/components/page/page_side_bar/page_side_bar.js +1 -2
  185. package/optimize/es/components/page/page_sidebar/page_sidebar.js +5 -1
  186. package/optimize/es/components/page/page_template.js +3 -1
  187. package/optimize/es/components/pagination/pagination.js +17 -4
  188. package/optimize/es/components/pagination/pagination.styles.js +31 -0
  189. package/optimize/es/components/pagination/pagination_button.js +7 -4
  190. package/optimize/es/components/pagination/pagination_button.styles.js +30 -0
  191. package/optimize/es/components/pagination/pagination_button_arrow.js +5 -0
  192. package/optimize/es/components/provider/cache/cache_provider.js +3 -9
  193. package/optimize/es/components/provider/provider.js +25 -2
  194. package/optimize/es/components/suggest/suggest.js +4 -1
  195. package/optimize/es/components/tabs/tabbed_content/tabbed_content.js +2 -19
  196. package/optimize/es/components/tool_tip/tool_tip.js +42 -66
  197. package/optimize/es/components/tool_tip/tool_tip.styles.js +107 -0
  198. package/optimize/es/components/tool_tip/tool_tip_anchor.js +60 -0
  199. package/optimize/es/components/tool_tip/tool_tip_arrow.js +20 -0
  200. package/optimize/es/components/tool_tip/tool_tip_popover.js +46 -87
  201. package/optimize/es/global_styling/functions/logicals.json +56 -0
  202. package/optimize/es/global_styling/index.js +2 -1
  203. package/optimize/es/global_styling/mixins/_typography.js +1 -1
  204. package/optimize/es/global_styling/utility/animations.js +13 -0
  205. package/optimize/es/services/theme/hooks.js +11 -16
  206. package/optimize/lib/components/card/card.styles.js +2 -2
  207. package/optimize/lib/components/combo_box/combo_box.js +2 -15
  208. package/optimize/lib/components/date_picker/react-datepicker/original.package.json +124 -0
  209. package/optimize/lib/components/description_list/description_list.js +5 -2
  210. package/optimize/lib/components/description_list/description_list_context.js +2 -1
  211. package/optimize/lib/components/description_list/description_list_description.js +3 -1
  212. package/optimize/lib/components/description_list/description_list_description.styles.js +5 -2
  213. package/optimize/lib/components/description_list/description_list_title.js +3 -2
  214. package/optimize/lib/components/description_list/description_list_title.styles.js +7 -3
  215. package/optimize/lib/components/description_list/description_list_types.js +4 -2
  216. package/optimize/lib/components/form/field_search/field_search.js +6 -16
  217. package/optimize/lib/components/form/range/range_input.js +1 -1
  218. package/optimize/lib/components/header/header_section/header_section_item.js +4 -3
  219. package/optimize/lib/components/icon/icon.js +3 -10
  220. package/optimize/lib/components/image/image_fullscreen_wrapper.js +2 -3
  221. package/optimize/lib/components/list_group/list_group_item.js +3 -2
  222. package/optimize/lib/components/modal/modal.js +1 -3
  223. package/optimize/lib/components/notification/notification_event.js +11 -11
  224. package/optimize/lib/components/observer/mutation_observer/mutation_observer.js +1 -1
  225. package/optimize/lib/components/overlay_mask/overlay_mask.js +27 -59
  226. package/optimize/lib/components/overlay_mask/overlay_mask.styles.js +34 -0
  227. package/optimize/lib/components/page/page_content/page_content.js +1 -2
  228. package/optimize/lib/components/page/page_content/page_content_body.js +1 -2
  229. package/optimize/lib/components/page/page_content/page_content_header.js +1 -2
  230. package/optimize/lib/components/page/page_content/page_content_header_section.js +1 -2
  231. package/optimize/lib/components/page/page_section/page_section.js +4 -2
  232. package/optimize/lib/components/page/page_side_bar/page_side_bar.js +1 -2
  233. package/optimize/lib/components/page/page_sidebar/page_sidebar.js +5 -1
  234. package/optimize/lib/components/page/page_template.js +3 -1
  235. package/optimize/lib/components/pagination/pagination.js +18 -3
  236. package/optimize/lib/components/pagination/pagination.styles.js +34 -0
  237. package/optimize/lib/components/pagination/pagination_button.js +9 -4
  238. package/optimize/lib/components/pagination/pagination_button.styles.js +45 -0
  239. package/optimize/lib/components/pagination/pagination_button_arrow.js +7 -0
  240. package/optimize/lib/components/provider/cache/cache_provider.js +3 -11
  241. package/optimize/lib/components/provider/provider.js +31 -6
  242. package/optimize/lib/components/suggest/suggest.js +4 -1
  243. package/optimize/lib/components/tabs/tabbed_content/tabbed_content.js +2 -19
  244. package/optimize/lib/components/tool_tip/tool_tip.js +42 -64
  245. package/optimize/lib/components/tool_tip/tool_tip.styles.js +125 -0
  246. package/optimize/lib/components/tool_tip/tool_tip_anchor.js +75 -0
  247. package/optimize/lib/components/tool_tip/tool_tip_arrow.js +35 -0
  248. package/optimize/lib/components/tool_tip/tool_tip_popover.js +47 -88
  249. package/optimize/lib/global_styling/functions/logicals.json +56 -0
  250. package/optimize/lib/global_styling/index.js +13 -0
  251. package/optimize/lib/global_styling/mixins/_typography.js +1 -1
  252. package/optimize/lib/global_styling/utility/animations.js +17 -0
  253. package/optimize/lib/services/theme/hooks.js +10 -15
  254. package/package.json +2 -2
  255. package/src/components/badge/_badge.scss +0 -5
  256. package/src/components/datagrid/_data_grid_data_row.scss +7 -0
  257. package/src/components/datagrid/body/header/_data_grid_header_row.scss +1 -1
  258. package/src/components/filter_group/_filter_group.scss +3 -1
  259. package/src/components/flex/_flex_group.scss +2 -11
  260. package/src/components/flex/_flex_item.scss +0 -6
  261. package/src/components/form/field_search/_field_search.scss +0 -5
  262. package/src/components/form/form_control_layout/_form_control_layout_delimited.scss +0 -3
  263. package/src/components/form/form_row/_form_row.scss +0 -1
  264. package/src/components/header/header_section/_header_section_item.scss +1 -1
  265. package/src/components/index.scss +0 -4
  266. package/src/components/list_group/_list_group_item.scss +3 -25
  267. package/src/components/modal/_modal.scss +5 -20
  268. package/src/components/page/page_content/_page_content.scss +0 -1
  269. package/src/components/table/_responsive.scss +0 -1
  270. package/src/components/table/_table.scss +0 -5
  271. package/src/global_styling/mixins/_form.scss +0 -4
  272. package/src/global_styling/mixins/_helpers.scss +0 -8
  273. package/src/global_styling/mixins/_tool_tip.scss +3 -6
  274. package/src/global_styling/mixins/_typography.scss +1 -5
  275. package/src/global_styling/utility/_index.scss +0 -1
  276. package/src/themes/amsterdam/overrides/_index.scss +0 -2
  277. package/test-env/components/basic_table/basic_table.js +13 -2
  278. package/test-env/components/basic_table/in_memory_table.js +13 -2
  279. package/test-env/components/button/button_display/_button_display.js +10 -1
  280. package/test-env/components/button/button_empty/button_empty.js +10 -1
  281. package/test-env/components/card/card.styles.js +2 -2
  282. package/test-env/components/collapsible_nav/collapsible_nav.js +0 -5
  283. package/test-env/components/combo_box/combo_box.js +2 -15
  284. package/test-env/components/datagrid/body/data_grid_body.js +17 -6
  285. package/test-env/components/datagrid/body/data_grid_cell.js +29 -12
  286. package/test-env/components/datagrid/body/header/data_grid_header_cell.js +17 -6
  287. package/test-env/components/datagrid/body/header/data_grid_header_row.js +17 -6
  288. package/test-env/components/datagrid/data_grid.js +17 -6
  289. package/test-env/components/datagrid/utils/in_memory.js +17 -6
  290. package/test-env/components/date_picker/auto_refresh/auto_refresh.js +6 -1
  291. package/test-env/components/date_picker/react-datepicker/original.package.json +124 -0
  292. package/test-env/components/date_picker/super_date_picker/date_popover/date_popover_button.js +6 -1
  293. package/test-env/components/description_list/description_list.js +11 -3
  294. package/test-env/components/description_list/description_list_context.js +2 -1
  295. package/test-env/components/description_list/description_list_description.js +3 -1
  296. package/test-env/components/description_list/description_list_description.styles.js +5 -2
  297. package/test-env/components/description_list/description_list_title.js +3 -2
  298. package/test-env/components/description_list/description_list_title.styles.js +7 -3
  299. package/test-env/components/description_list/description_list_types.js +4 -2
  300. package/test-env/components/expression/expression.js +12 -2
  301. package/test-env/components/form/field_search/field_search.js +6 -16
  302. package/test-env/components/form/range/range_input.js +1 -1
  303. package/test-env/components/header/header_links/header_link.js +10 -1
  304. package/test-env/components/header/header_section/header_section_item.js +4 -3
  305. package/test-env/components/image/image.js +6 -1
  306. package/test-env/components/image/image_fullscreen_wrapper.js +2 -3
  307. package/test-env/components/list_group/list_group.js +7 -1
  308. package/test-env/components/list_group/list_group_item.js +10 -3
  309. package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +13 -1
  310. package/test-env/components/modal/modal.js +1 -3
  311. package/test-env/components/notification/notification_event.js +24 -15
  312. package/test-env/components/observer/mutation_observer/mutation_observer.js +1 -1
  313. package/test-env/components/overlay_mask/overlay_mask.js +27 -64
  314. package/test-env/components/overlay_mask/overlay_mask.styles.js +34 -0
  315. package/test-env/components/page/page_content/page_content.js +1 -2
  316. package/test-env/components/page/page_content/page_content_body.js +1 -2
  317. package/test-env/components/page/page_content/page_content_header.js +1 -2
  318. package/test-env/components/page/page_content/page_content_header_section.js +1 -2
  319. package/test-env/components/page/page_section/page_section.js +15 -3
  320. package/test-env/components/page/page_side_bar/page_side_bar.js +1 -2
  321. package/test-env/components/page/page_sidebar/page_sidebar.js +5 -1
  322. package/test-env/components/page/page_template.js +3 -1
  323. package/test-env/components/page_template/empty_prompt/page_empty_prompt.js +11 -1
  324. package/test-env/components/page_template/page_template.js +18 -2
  325. package/test-env/components/pagination/pagination.js +18 -3
  326. package/test-env/components/pagination/pagination.styles.js +34 -0
  327. package/test-env/components/pagination/pagination_button.js +9 -4
  328. package/test-env/components/pagination/pagination_button.styles.js +45 -0
  329. package/test-env/components/pagination/pagination_button_arrow.js +7 -0
  330. package/test-env/components/progress/progress.js +6 -1
  331. package/test-env/components/provider/cache/cache_provider.js +3 -11
  332. package/test-env/components/provider/provider.js +31 -6
  333. package/test-env/components/resizable_container/resizable_panel.js +6 -1
  334. package/test-env/components/side_nav/side_nav.js +5 -0
  335. package/test-env/components/suggest/suggest.js +10 -1
  336. package/test-env/components/table/table_row_cell.js +4 -6
  337. package/test-env/components/tabs/tabbed_content/tabbed_content.js +2 -19
  338. package/test-env/components/tool_tip/tool_tip.js +42 -64
  339. package/test-env/components/tool_tip/tool_tip.styles.js +125 -0
  340. package/test-env/components/tool_tip/tool_tip_anchor.js +84 -0
  341. package/test-env/components/tool_tip/tool_tip_arrow.js +35 -0
  342. package/test-env/components/tool_tip/tool_tip_popover.js +49 -89
  343. package/test-env/global_styling/functions/logicals.json +56 -0
  344. package/test-env/global_styling/index.js +13 -0
  345. package/test-env/global_styling/mixins/_typography.js +1 -1
  346. package/test-env/global_styling/utility/animations.js +17 -0
  347. package/test-env/services/theme/hooks.js +10 -15
  348. package/src/components/call_out/_index.scss +0 -3
  349. package/src/components/call_out/_mixins.scss +0 -23
  350. package/src/components/call_out/_variables.scss +0 -7
  351. package/src/components/overlay_mask/_index.scss +0 -1
  352. package/src/components/overlay_mask/_overlay_mask.scss +0 -33
  353. package/src/components/pagination/_index.scss +0 -2
  354. package/src/components/pagination/_pagination.scss +0 -30
  355. package/src/components/pagination/_pagination_button.scss +0 -37
  356. package/src/components/tool_tip/_index.scss +0 -1
  357. package/src/components/tool_tip/_tool_tip.scss +0 -121
  358. package/src/global_styling/utility/_utility.scss +0 -15
  359. package/src/themes/amsterdam/overrides/_overlay_mask.scss +0 -3
  360. package/src/themes/amsterdam/overrides/_tooltip.scss +0 -7
@@ -45,7 +45,7 @@ var useEuiFontSize = function useEuiFontSize(scale, options) {
45
45
  exports.useEuiFontSize = useEuiFontSize;
46
46
 
47
47
  var euiTextBreakWord = function euiTextBreakWord() {
48
- return "\n overflow-wrap: break-word !important; // makes sure the long string will wrap and not bust out of the container\n word-wrap: break-word !important; // spec says, they are literally just alternate names for each other but some browsers support one and not the other\n word-break: break-word; // IE doesn't understand but that's ok\n";
48
+ return "\n overflow-wrap: break-word !important; // makes sure the long string will wrap and not bust out of the container\n word-break: break-word;\n";
49
49
  };
50
50
  /**
51
51
  * Prevent text from wrapping onto multiple lines, and truncate with an ellipsis.
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.euiAnimFadeIn = void 0;
9
+
10
+ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
11
+
12
+ var _react = require("@emotion/react");
13
+
14
+ var _templateObject;
15
+
16
+ var euiAnimFadeIn = (0, _react.keyframes)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n"])));
17
+ exports.euiAnimFadeIn = euiAnimFadeIn;
@@ -32,11 +32,14 @@ var useEuiTheme = function useEuiTheme() {
32
32
  var theme = (0, _react.useContext)(_context.EuiThemeContext);
33
33
  var colorMode = (0, _react.useContext)(_context.EuiColorModeContext);
34
34
  var modifications = (0, _react.useContext)(_context.EuiModificationsContext);
35
- return {
36
- euiTheme: theme,
37
- colorMode: colorMode,
38
- modifications: modifications
39
- };
35
+ var assembledTheme = (0, _react.useMemo)(function () {
36
+ return {
37
+ euiTheme: theme,
38
+ colorMode: colorMode,
39
+ modifications: modifications
40
+ };
41
+ }, [theme, colorMode, modifications]);
42
+ return assembledTheme;
40
43
  };
41
44
 
42
45
  exports.useEuiTheme = useEuiTheme;
@@ -47,17 +50,9 @@ var withEuiTheme = function withEuiTheme(Component) {
47
50
  var componentName = Component.displayName || Component.name || 'ComponentWithTheme';
48
51
 
49
52
  var Render = function Render(props, ref) {
50
- var _useEuiTheme = useEuiTheme(),
51
- euiTheme = _useEuiTheme.euiTheme,
52
- colorMode = _useEuiTheme.colorMode,
53
- modifications = _useEuiTheme.modifications;
54
-
53
+ var theme = useEuiTheme();
55
54
  return (0, _react2.jsx)(Component, (0, _extends2.default)({
56
- theme: {
57
- euiTheme: euiTheme,
58
- colorMode: colorMode,
59
- modifications: modifications
60
- },
55
+ theme: theme,
61
56
  ref: ref
62
57
  }, props));
63
58
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@elastic/eui",
3
3
  "description": "Elastic UI Component Library",
4
- "version": "65.0.1",
4
+ "version": "67.0.0",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "lib",
7
7
  "module": "es",
@@ -115,7 +115,7 @@
115
115
  "@cypress/code-coverage": "^3.9.12",
116
116
  "@cypress/react": "^5.10.3",
117
117
  "@cypress/webpack-dev-server": "^1.7.0",
118
- "@elastic/charts": "^47.2.1",
118
+ "@elastic/charts": "^48.0.0",
119
119
  "@elastic/datemath": "^5.0.3",
120
120
  "@elastic/eslint-config-kibana": "^0.15.0",
121
121
  "@emotion/babel-preset-css-prop": "^11.2.0",
@@ -43,7 +43,6 @@
43
43
 
44
44
  .euiBadge__childButton {
45
45
  @include euiTextTruncate;
46
- flex: 1 1 auto; // Must be 1 and 1 for IE to properly truncate
47
46
  text-align: inherit;
48
47
  font-weight: inherit;
49
48
  line-height: inherit;
@@ -62,7 +61,6 @@
62
61
  }
63
62
 
64
63
  .euiBadge__iconButton {
65
- flex: 0 0 auto;
66
64
  font-size: 0; // Makes the button only as large as the icon so it aligns vertically better
67
65
  margin-left: $euiSizeXS;
68
66
 
@@ -84,13 +82,10 @@
84
82
 
85
83
  .euiBadge__text {
86
84
  @include euiTextTruncate;
87
- flex: 1 1 auto;
88
85
  cursor: default;
89
86
  }
90
87
 
91
88
  .euiBadge__icon {
92
- flex: 0 0 auto;
93
-
94
89
  &:not(:only-child) {
95
90
  margin-left: $euiSizeXS;
96
91
  }
@@ -104,6 +104,13 @@
104
104
  max-width: 400px !important;
105
105
  max-height: 400px !important;
106
106
  z-index: $euiZDataGridCellPopover !important;
107
+ // Workaround for a Safari CSS bug when using both `overflow: auto` & `filter: drop-shadow`
108
+ // (see https://github.com/elastic/eui/issues/6151)
109
+ // Disables the default EuiPopover filter drop-shadow and uses box-shadow instead,
110
+ // since we don't use the popover arrow in any case for cell popovers
111
+ filter: none;
112
+ // sass-lint:disable-block mixins-before-declarations
113
+ @include euiBottomShadow; // TODO: Convert to euiShadowMedium() in Emotion
107
114
  }
108
115
 
109
116
  .euiDataGridRowCell__expandFlex {
@@ -2,7 +2,7 @@
2
2
  display: flex;
3
3
  z-index: 3; // Needs to sit above the content and focused cells
4
4
  background: $euiColorEmptyShade;
5
- position: sticky; // In IE11 this does not work, but doesn't cause a break.
5
+ position: sticky;
6
6
  top: 0;
7
7
  }
8
8
 
@@ -36,9 +36,11 @@
36
36
  display: flex;
37
37
  }
38
38
 
39
- // A fixed width is required in IE11 because of the shift in widths that can be caused
39
+ // A fixed width is required because of the shift in widths that can be caused
40
40
  // by the loading animation that precedes the results.
41
41
  .euiFilterGroup__popoverPanel {
42
+ // Note for Emotion conversion: there are unfortunately 5+ direct
43
+ // usages of this className in Kibana that will need to be refactored
42
44
  width: $euiSize * 18;
43
45
  }
44
46
 
@@ -1,20 +1,11 @@
1
- /**
2
- * 1. Not always needed, but fixes an IE11 issue when flex-groups are nested under display: flex elements.
3
- * 2. IE requires a unit to grow.
4
- */
5
-
6
1
  .euiFlexGroup {
7
2
  display: flex;
8
3
  align-items: stretch;
9
- flex-grow: 1; /* 1 */
4
+ flex-grow: 1; // Grow nested flex-groups by default
10
5
 
11
6
  .euiFlexItem {
12
- @include internetExplorerOnly {
13
- min-width: 1px;
14
- }
15
-
16
7
  flex-grow: 1;
17
- flex-basis: 0%; /* 2 */
8
+ flex-basis: 0%;
18
9
  }
19
10
  }
20
11
 
@@ -1,13 +1,7 @@
1
1
  /**
2
2
  * 1. Allow EuiPanels to expand to fill the item.
3
- * 2. IE11 hack forces inner content of flex items to respect a higher parent's width (mostly) and
4
- * not cause weird wrapping issues.
5
3
  */
6
4
  .euiFlexItem {
7
- @include internetExplorerOnly {
8
- min-width: 1px; /* 2 */
9
- }
10
-
11
5
  display: flex; /* 1 */
12
6
  flex-direction: column; /* 1 */
13
7
 
@@ -1,7 +1,6 @@
1
1
  /*
2
2
  * 1. Fix for Safari to ensure that it renders like a normal text input
3
3
  * and doesn't add extra spacing around text
4
- * 2. Remove the X clear button from input type search in Chrome and IE
5
4
  */
6
5
 
7
6
  .euiFieldSearch {
@@ -16,10 +15,6 @@
16
15
  &::-webkit-search-cancel-button {
17
16
  -webkit-appearance: none; /* 1, 2 */
18
17
  }
19
-
20
- &::-ms-clear {
21
- display: none; /* 2 */
22
- }
23
18
  }
24
19
 
25
20
  .euiFieldSearch--compressed {
@@ -22,8 +22,6 @@
22
22
 
23
23
  .euiFormControlLayoutDelimited__input {
24
24
  height: 100%;
25
- padding-top: 0; // Fixes IE
26
- padding-bottom: 0; // Fixes IE
27
25
  padding-left: $euiFormControlCompressedPadding;
28
26
  padding-right: $euiFormControlCompressedPadding;
29
27
  }
@@ -66,7 +64,6 @@
66
64
  position: static; // Overrider absolute
67
65
  padding-left: $euiFormControlPadding;
68
66
  padding-right: $euiFormControlPadding;
69
- flex-shrink: 0; // Fixes IE
70
67
 
71
68
  &:not(.euiFormControlLayoutIcons--right) {
72
69
  order: -1;
@@ -39,7 +39,6 @@
39
39
 
40
40
  .euiFormRow__label {
41
41
  hyphens: auto;
42
- max-width: 100%; // Fixes IE
43
42
  }
44
43
 
45
44
  .euiFormRow__labelWrapper {
@@ -41,4 +41,4 @@
41
41
  display: none;
42
42
  }
43
43
  }
44
- }
44
+ }
@@ -4,7 +4,6 @@
4
4
  @import 'badge/index';
5
5
  @import 'basic_table/index';
6
6
  @import 'button/index';
7
- @import 'call_out/index';
8
7
  @import 'code/index';
9
8
  @import 'collapsible_nav/index';
10
9
  @import 'color_picker/index';
@@ -25,8 +24,6 @@
25
24
  @import 'markdown_editor/index';
26
25
  @import 'modal/index';
27
26
  @import 'notification/index';
28
- @import 'overlay_mask/index';
29
- @import 'pagination/index';
30
27
  @import 'panel/index';
31
28
  @import 'page/index'; // Page needs to come after Panel for cascade specificity
32
29
  @import 'tree_view/index';
@@ -38,4 +35,3 @@
38
35
  @import 'suggest/index';
39
36
  @import 'table/index';
40
37
  @import 'tabs/index';
41
- @import 'tool_tip/index';
@@ -7,21 +7,13 @@
7
7
  position: relative;
8
8
 
9
9
  &.euiListGroupItem-isActive,
10
- &.euiListGroupItem-isClickable:hover {
11
- background-color: $euiListGroupItemHoverBackground;
12
- }
13
-
14
- // Can't be grouped with above or else IE will ignore the whole group
10
+ &.euiListGroupItem-isClickable:hover,
15
11
  &.euiListGroupItem-isClickable:focus-within {
16
12
  background-color: $euiListGroupItemHoverBackground;
17
13
  }
18
14
 
19
15
  &.euiListGroupItem--ghost {
20
- &.euiListGroupItem-isClickable:hover {
21
- background-color: $euiListGroupItemHoverBackgroundGhost;
22
- }
23
-
24
- // Can't be grouped with above or else IE will ignore the whole group
16
+ &.euiListGroupItem-isClickable:hover,
25
17
  &.euiListGroupItem-isClickable:focus-within {
26
18
  background-color: $euiListGroupItemHoverBackgroundGhost;
27
19
  }
@@ -46,27 +38,13 @@
46
38
  }
47
39
  }
48
40
 
49
- // IE doesn't support :focus-within
50
- @include internetExplorerOnly {
51
- .euiListGroupItem__button:hover,
52
- .euiListGroupItem__button:focus {
53
- background-color: $euiListGroupItemHoverBackground;
54
- border-radius: $euiBorderRadius;
55
-
56
- .euiListGroupItem--ghost .euiListGroupItem__button:hover,
57
- .euiListGroupItem--ghost .euiListGroupItem__button:focus {
58
- background-color: $euiListGroupItemHoverBackgroundGhost;
59
- }
60
- }
61
- }
62
-
63
41
  .euiListGroupItem__text,
64
42
  .euiListGroupItem__button {
65
43
  line-height: $euiSizeL;
66
44
  padding: $euiSizeXS $euiSizeS;
67
45
  display: flex;
68
46
  align-items: center;
69
- flex: 1 0 auto; // The flex-shrink and flex-basis values are needed for IE11
47
+ flex-grow: 1;
70
48
  text-align: left;
71
49
  max-width: 100%;
72
50
  font-weight: inherit;
@@ -1,15 +1,11 @@
1
- /**
2
- * 1. Fix IE overflow issue (min-height) by adding a separate wrapper for the
3
- * flex display. https://github.com/philipwalton/flexbugs#flexbug-3
4
- * 2. IE has trouble with min-widths on flex elements. Use the pixel value
5
- * from our forms since that's usually the smallest we want them.
6
- */
7
-
8
1
  .euiModal {
9
2
  border: $euiBorderThin;
10
3
  // This mixin overwrites some of the border above
11
4
  @include euiBottomShadowLarge; // sass-lint:disable-line mixins-before-declarations
12
- display: flex; /* 1 */
5
+ display: flex;
6
+ flex-direction: column;
7
+ max-height: 75vh; // We overflow the modal body based off this
8
+ overflow: hidden; // Ensure long, non-breaking text doesn't expand beyond the modal bounds
13
9
 
14
10
  position: relative;
15
11
  background-color: $euiColorEmptyShade;
@@ -23,14 +19,6 @@
23
19
  &:focus {
24
20
  outline: none;
25
21
  }
26
-
27
- .euiModal__flex { /* 1 */
28
- flex: 1 1 auto;
29
- display: flex;
30
- flex-direction: column;
31
- max-height: 75vh; // We overflow the modal body based off this
32
- overflow: hidden; // Ensure long, non-breaking text doesn't expand beyond the modal bounds
33
- }
34
22
  }
35
23
 
36
24
  .euiModal--maxWidth-default {
@@ -123,6 +111,7 @@
123
111
  width: 100vw !important;
124
112
  max-width: none !important;
125
113
  min-width: 0 !important;
114
+ max-height: 100vh;
126
115
  left: 0;
127
116
  right: 0;
128
117
  bottom: 0;
@@ -134,10 +123,6 @@
134
123
  @include euiBottomShadowLarge($reverse: true);
135
124
  top: auto;
136
125
  }
137
-
138
- .euiModal__flex { /* 1 */
139
- max-height: 100vh;
140
- }
141
126
  }
142
127
 
143
128
  .euiModalHeader {
@@ -18,7 +18,6 @@
18
18
 
19
19
  &.euiPageContent--horizontalCenter {
20
20
  width: auto;
21
- max-width: 100%; // Fixes IE
22
21
  margin-left: auto;
23
22
  margin-right: auto;
24
23
  flex-grow: 0; // Offsets the properties of .euiPanel within flexboxes
@@ -152,7 +152,6 @@
152
152
  }
153
153
 
154
154
  .euiTableRowCell {
155
- display: block; /* IE requires block to grow and wrap. */
156
155
  min-width: 50%;
157
156
  border: none;
158
157
  }
@@ -1,7 +1,3 @@
1
- /**
2
- * NOTE: table-layout: fixed causes a bug in IE11 and Edge (see #9929). It also prevents us from
3
- * specifying a column width, e.g. the checkbox column.
4
- */
5
1
  .euiTable {
6
2
  @include euiFontSizeS;
7
3
  @include euiNumberFormat;
@@ -194,7 +190,6 @@
194
190
  overflow: visible;
195
191
  white-space: normal;
196
192
  //* 4 */ overflow-wrap is not supported on flex parents
197
- word-break: break-all; // Fallback for FF and IE
198
193
  word-break: break-word;
199
194
  }
200
195
 
@@ -78,10 +78,6 @@
78
78
  font-size: $euiFontSizeS;
79
79
  color: $euiTextColor;
80
80
 
81
- @include internetExplorerOnly {
82
- line-height: 1em; // fixes text alignment in IE
83
- }
84
-
85
81
  // sass-lint:disable-block mixins-before-declarations
86
82
  @include euiPlaceholderPerBrowser {
87
83
  color: $euiFormControlPlaceholderText;
@@ -112,14 +112,6 @@
112
112
  margin: -1px;
113
113
  }
114
114
 
115
- // Specifically target IE11, but not Edge.
116
- @mixin internetExplorerOnly {
117
- // sass-lint:disable-block no-vendor-prefixes
118
- @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
119
- @content;
120
- }
121
- }
122
-
123
115
  // Doesn't have reduced motion turned on
124
116
  @mixin euiCanAnimate {
125
117
  @media screen and (prefers-reduced-motion: no-preference) {
@@ -6,13 +6,10 @@
6
6
  z-index: $euiZLevel9;
7
7
  max-width: 256px;
8
8
  overflow-wrap: break-word;
9
+ padding: $euiSizeS;
9
10
 
10
- @if ($size == 's') {
11
- @include euiFontSizeXS;
12
- padding: $euiSizeS;
13
- } @else {
14
- @include euiFontSizeS;
15
- padding: $euiSizeM;
11
+ .euiHorizontalRule {
12
+ background-color: $euiTooltipBorderColor;
16
13
  }
17
14
  }
18
15
 
@@ -127,8 +127,7 @@
127
127
  @mixin euiTextBreakWord {
128
128
  // https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/
129
129
  overflow-wrap: break-word !important; // makes sure the long string will wrap and not bust out of the container
130
- word-wrap: break-word !important; // spec says, they are literally just alternate names for each other but some browsers support one and not the other
131
- word-break: break-word; // IE doesn't understand but that's ok
130
+ word-break: break-word;
132
131
  }
133
132
 
134
133
  // Text truncation
@@ -138,8 +137,6 @@
138
137
  //
139
138
  // 1. Ensure that the node has a maximum width after which truncation can
140
139
  // occur.
141
- // 2. Fix for IE 8/9 if `word-wrap: break-word` is in effect on ancestor
142
- // nodes.
143
140
 
144
141
  @mixin euiTextTruncate {
145
142
  // sass-lint:disable-block no-important
@@ -147,7 +144,6 @@
147
144
  overflow: hidden !important;
148
145
  text-overflow: ellipsis !important;
149
146
  white-space: nowrap !important;
150
- word-wrap: normal !important; // 2
151
147
  }
152
148
 
153
149
  @mixin euiNumberFormat {
@@ -1,2 +1 @@
1
1
  @import 'animations';
2
- @import 'utility';
@@ -16,7 +16,6 @@
16
16
  @import 'markdown_editor';
17
17
  @import 'modal';
18
18
  @import 'notification_badge';
19
- @import 'overlay_mask';
20
19
  @import 'range';
21
20
  @import 'range_draggable';
22
21
  @import 'range_highlight';
@@ -29,4 +28,3 @@
29
28
  @import 'side_nav';
30
29
  @import 'steps';
31
30
  @import 'tabs';
32
- @import 'tooltip';
@@ -1218,6 +1218,11 @@ EuiBasicTable.propTypes = {
1218
1218
  */
1219
1219
  sortable: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.func.isRequired]),
1220
1220
  isExpander: _propTypes.default.bool,
1221
+
1222
+ /**
1223
+ * Creates a text wrapper around cell content that helps word break or truncate
1224
+ * long text correctly.
1225
+ */
1221
1226
  textOnly: _propTypes.default.bool,
1222
1227
 
1223
1228
  /**
@@ -1564,11 +1569,17 @@ EuiBasicTable.propTypes = {
1564
1569
  tableLayout: _propTypes.default.oneOf(["fixed", "auto"]),
1565
1570
 
1566
1571
  /**
1567
- * Applied to table cells => Any cell using render function will set this to be false, leading to unnecessary word breaks. Apply textOnly: true in order to ensure it breaks properly
1572
+ * Applied to table cells. Any cell using a render function will set this to be false.
1573
+ *
1574
+ * Creates a text wrapper around cell content that helps word break or truncate
1575
+ * long text correctly.
1568
1576
  */
1569
1577
 
1570
1578
  /**
1571
- * Applied to table cells => Any cell using render function will set this to be false, leading to unnecessary word breaks. Apply textOnly: true in order to ensure it breaks properly
1579
+ * Applied to table cells. Any cell using a render function will set this to be false.
1580
+ *
1581
+ * Creates a text wrapper around cell content that helps word break or truncate
1582
+ * long text correctly.
1572
1583
  */
1573
1584
  textOnly: _propTypes.default.bool
1574
1585
  };
@@ -657,6 +657,11 @@ EuiInMemoryTable.propTypes = {
657
657
  */
658
658
  sortable: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.func.isRequired]),
659
659
  isExpander: _propTypes.default.bool,
660
+
661
+ /**
662
+ * Creates a text wrapper around cell content that helps word break or truncate
663
+ * long text correctly.
664
+ */
660
665
  textOnly: _propTypes.default.bool,
661
666
 
662
667
  /**
@@ -930,11 +935,17 @@ EuiInMemoryTable.propTypes = {
930
935
  tableLayout: _propTypes.default.oneOf(["fixed", "auto"]),
931
936
 
932
937
  /**
933
- * Applied to table cells => Any cell using render function will set this to be false, leading to unnecessary word breaks. Apply textOnly: true in order to ensure it breaks properly
938
+ * Applied to table cells. Any cell using a render function will set this to be false.
939
+ *
940
+ * Creates a text wrapper around cell content that helps word break or truncate
941
+ * long text correctly.
934
942
  */
935
943
 
936
944
  /**
937
- * Applied to table cells => Any cell using render function will set this to be false, leading to unnecessary word breaks. Apply textOnly: true in order to ensure it breaks properly
945
+ * Applied to table cells. Any cell using a render function will set this to be false.
946
+ *
947
+ * Creates a text wrapper around cell content that helps word break or truncate
948
+ * long text correctly.
938
949
  */
939
950
  textOnly: _propTypes.default.bool,
940
951
  message: _propTypes.default.node,
@@ -171,7 +171,16 @@ EuiButtonDisplay.propTypes = {
171
171
  /**
172
172
  * Object of props passed to the <span/> wrapping the button's content
173
173
  */
174
- contentProps: _propTypes.default.any,
174
+
175
+ /**
176
+ * Object of props passed to the <span/> wrapping the button's content
177
+ */
178
+ contentProps: _propTypes.default.shape({
179
+ className: _propTypes.default.string,
180
+ "aria-label": _propTypes.default.string,
181
+ "data-test-subj": _propTypes.default.string,
182
+ css: _propTypes.default.any
183
+ }),
175
184
  style: _propTypes.default.any,
176
185
 
177
186
  /**
@@ -210,7 +210,16 @@ EuiButtonEmpty.propTypes = {
210
210
  /**
211
211
  * Object of props passed to the <span/> wrapping the button's content
212
212
  */
213
- contentProps: _propTypes.default.any,
213
+
214
+ /**
215
+ * Object of props passed to the <span/> wrapping the button's content
216
+ */
217
+ contentProps: _propTypes.default.shape({
218
+ className: _propTypes.default.string,
219
+ "aria-label": _propTypes.default.string,
220
+ "data-test-subj": _propTypes.default.string,
221
+ css: _propTypes.default.any
222
+ }),
214
223
 
215
224
  /**
216
225
  * Any `type` accepted by EuiIcon
@@ -87,14 +87,14 @@ var euiCardStyles = function euiCardStyles(euiThemeContext, paddingSize, color)
87
87
  euiCard__description: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('margin-top', halfSpacing), ";;label:euiCard__description;"),
88
88
  euiCard__footer: /*#__PURE__*/(0, _react.css)("flex-grow:0;", (0, _global_styling.logicalCSS)('width', '100%'), ";", (0, _global_styling.logicalCSS)('margin-top', spacing), ";;label:euiCard__footer;"),
89
89
  top: {
90
- euiCard__top: /*#__PURE__*/(0, _react.css)("flex-grow:0;font-size:0;position:relative;", (0, _global_styling.logicalCSS)('min-height', '1px'), ";", (0, _global_styling.logicalCSS)('margin-bottom', spacing), ";;label:euiCard__top;"),
90
+ euiCard__top: /*#__PURE__*/(0, _react.css)("flex-grow:0;font-size:0;position:relative;", (0, _global_styling.logicalCSS)('margin-bottom', spacing), ";;label:euiCard__top;"),
91
91
  layout: {
92
92
  vertical: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('width', '100%'), ";;label:vertical;"),
93
93
  horizontal: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('width', 'auto'), ";;label:horizontal;")
94
94
  },
95
95
  disabled: _ref2
96
96
  },
97
- euiCard__image: /*#__PURE__*/(0, _react.css)("position:relative;overflow:hidden;", (0, _global_styling.logicalCSS)('width', "calc(100% + (".concat(paddingAmount, " * 2))")), ";", (0, _global_styling.logicalCSS)('left', "-".concat(paddingAmount)), ";", (0, _global_styling.logicalCSS)('top', "-".concat(paddingAmount)), ";", (0, _global_styling.logicalCSS)('margin-bottom', "-".concat(paddingAmount)), ";", _global_styling.logicals['border-top-left-radius'], ":calc(", euiTheme.border.radius.medium, " - 1px);", _global_styling.logicals['border-top-right-radius'], ":calc(", euiTheme.border.radius.medium, " - 1px);", color === 'transparent' ? "border-radius: ".concat(euiTheme.border.radius.medium, ";") : undefined, " img{", (0, _global_styling.logicalCSS)('width', '100%'), ";};label:euiCard__image;"),
97
+ euiCard__image: /*#__PURE__*/(0, _react.css)("position:relative;overflow:hidden;", (0, _global_styling.logicalCSS)('width', "calc(100% + (".concat(paddingAmount, " * 2))")), ";", (0, _global_styling.logicalCSS)('left', "-".concat(paddingAmount)), ";", (0, _global_styling.logicalCSS)('top', "-".concat(paddingAmount)), ";", (0, _global_styling.logicalCSS)('margin-bottom', "-".concat(paddingAmount)), ";", (0, _global_styling.logicalCSS)('border-top-left-radius', "calc(".concat(euiTheme.border.radius.medium, " - ").concat(euiTheme.border.width.thin, ")")), " ", _global_styling.logicals['border-top-right-radius'], ":calc(", euiTheme.border.radius.medium, " - ", euiTheme.border.width.thin, ");", color === 'transparent' ? "border-radius: ".concat(euiTheme.border.radius.medium, ";") : undefined, " img{", (0, _global_styling.logicalCSS)('width', '100%'), ";};label:euiCard__image;"),
98
98
  icon: {
99
99
  euiCard__icon: /*#__PURE__*/(0, _react.css)(";label:euiCard__icon;"),
100
100
  withImage: /*#__PURE__*/(0, _react.css)("position:absolute;", (0, _global_styling.logicalCSS)('top', '50%'), ";", (0, _global_styling.logicalCSS)('left', '50%'), ";transform:translate(-50%, calc(-50% + -", paddingAmount, "))!important;;label:withImage;"),
@@ -187,11 +187,6 @@ EuiCollapsibleNav.propTypes = {
187
187
  "data-test-subj": _propTypes.default.string,
188
188
  css: _propTypes.default.any,
189
189
 
190
- /**
191
- * Function that applies to clicking the mask itself and not the children
192
- */
193
- onClick: _propTypes.default.func,
194
-
195
190
  /**
196
191
  * ReactNode to render as this component's content
197
192
  */