@elastic/eui 102.1.0 → 102.2.0-snapshot.1748601905883

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 (357) hide show
  1. package/dist/eui_theme_borealis_dark.json +1 -1
  2. package/es/components/badge/color_utils.js +1 -3
  3. package/es/components/badge/notification_badge/badge_notification.styles.js +6 -1
  4. package/es/components/basic_table/basic_table.js +14 -10
  5. package/es/components/basic_table/in_memory_table.js +22 -17
  6. package/es/components/breadcrumbs/_breadcrumb_content.js +1 -1
  7. package/es/components/breadcrumbs/_breadcrumb_content.styles.js +6 -3
  8. package/es/components/breadcrumbs/breadcrumbs.js +3 -3
  9. package/es/components/button/button_display/_button_display.js +1 -1
  10. package/es/components/button/button_display/_button_display.styles.js +11 -2
  11. package/es/components/button/button_display/_button_display_content.styles.js +6 -3
  12. package/es/components/button/button_empty/button_empty.styles.js +9 -12
  13. package/es/components/button/button_group/button_group.js +1 -1
  14. package/es/components/button/button_group/button_group.styles.js +5 -3
  15. package/es/components/button/button_group/button_group_button.js +19 -9
  16. package/es/components/button/button_group/button_group_button.styles.js +43 -19
  17. package/es/components/button/button_icon/button_icon.js +4 -2
  18. package/es/components/collapsible_nav/collapsible_nav.js +1 -0
  19. package/es/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
  20. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
  21. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
  22. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
  23. package/es/components/color_picker/color_palette_display/color_palette_display.js +2 -2
  24. package/es/components/color_picker/color_palette_display/color_palette_display_fixed.js +1 -1
  25. package/es/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -1
  26. package/es/components/color_picker/color_palette_picker/color_palette_picker.js +4 -4
  27. package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
  28. package/es/components/comment_list/comment_list.js +1 -1
  29. package/es/components/datagrid/body/cell/data_grid_cell.js +9 -9
  30. package/es/components/datagrid/body/data_grid_body.js +14 -9
  31. package/es/components/datagrid/body/data_grid_body_custom.js +14 -9
  32. package/es/components/datagrid/body/data_grid_body_virtualized.js +58 -10
  33. package/es/components/datagrid/body/header/data_grid_header_cell.js +3 -3
  34. package/es/components/datagrid/body/header/draggable_columns.js +1 -1
  35. package/es/components/datagrid/controls/column_sorting.js +6 -6
  36. package/es/components/datagrid/controls/column_sorting_draggable.js +3 -3
  37. package/es/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
  38. package/es/components/datagrid/utils/focus.js +2 -2
  39. package/es/components/datagrid/utils/in_memory.js +3 -3
  40. package/es/components/datagrid/utils/scrolling.js +3 -1
  41. package/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
  42. package/es/components/date_picker/super_date_picker/super_date_picker.js +4 -4
  43. package/es/components/filter_group/filter_button.js +88 -23
  44. package/es/components/filter_group/filter_button.styles.js +51 -15
  45. package/es/components/filter_group/filter_group.styles.js +18 -6
  46. package/es/components/form/range/dual_range.js +1 -1
  47. package/es/components/form/range/range.js +1 -1
  48. package/es/components/form/range/range_track.js +1 -1
  49. package/es/components/form/select/select.js +1 -1
  50. package/es/components/header/header.js +10 -10
  51. package/es/components/header/header_breadcrumbs/header_breadcrumbs.js +3 -3
  52. package/es/components/header/header_links/header_links.js +1 -1
  53. package/es/components/icon/assets/logo_elastic.js +23 -17
  54. package/es/components/icon/icon.styles.js +1 -1
  55. package/es/components/key_pad_menu/key_pad_menu.js +1 -1
  56. package/es/components/list_group/list_group.js +2 -2
  57. package/es/components/list_group/list_group_item.js +1 -1
  58. package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  59. package/es/components/loading/loading_elastic.styles.js +2 -2
  60. package/es/components/loading/loading_spinner.js +1 -1
  61. package/es/components/markdown_editor/markdown_editor_footer.js +9 -4
  62. package/es/components/page/page_header/page_header_content.js +1 -1
  63. package/es/components/popover/popover.js +1 -1
  64. package/es/components/responsive/hide_for.js +1 -1
  65. package/es/components/responsive/show_for.js +1 -1
  66. package/es/components/search_bar/filters/field_value_selection_filter.js +2 -1
  67. package/es/components/search_bar/filters/field_value_toggle_filter.js +3 -1
  68. package/es/components/search_bar/filters/field_value_toggle_group_filter.js +4 -2
  69. package/es/components/search_bar/filters/is_filter.js +3 -1
  70. package/es/components/search_bar/search_bar.a11y.js +3 -3
  71. package/es/components/search_bar/search_bar.js +3 -3
  72. package/es/components/search_bar/search_filters.js +2 -2
  73. package/es/components/selectable/selectable.js +13 -12
  74. package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -3
  75. package/es/components/side_nav/side_nav.js +2 -2
  76. package/es/components/table/table_row_cell.js +1 -1
  77. package/es/components/timeline/timeline.js +1 -1
  78. package/es/components/toast/global_toast_list.js +27 -20
  79. package/es/components/tour/tour_step.js +1 -1
  80. package/es/global_styling/mixins/_button.js +95 -28
  81. package/es/services/theme/hooks.js +11 -0
  82. package/es/services/theme/index.js +3 -2
  83. package/es/services/theme/provider.js +28 -2
  84. package/es/services/theme/theme_variant.js +22 -0
  85. package/es/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
  86. package/es/themes/amsterdam/global_styling/variables/_components.js +229 -224
  87. package/es/themes/amsterdam/theme.js +2 -1
  88. package/es/themes/json/eui_theme_amsterdam_dark.json +427 -0
  89. package/es/themes/json/eui_theme_amsterdam_light.json +427 -0
  90. package/es/themes/json/eui_theme_borealis_dark.json +427 -0
  91. package/es/themes/json/eui_theme_borealis_light.json +427 -0
  92. package/eui.d.ts +2034 -249
  93. package/lib/components/badge/color_utils.js +1 -3
  94. package/lib/components/badge/notification_badge/badge_notification.styles.js +6 -1
  95. package/lib/components/basic_table/basic_table.js +14 -10
  96. package/lib/components/basic_table/in_memory_table.js +22 -17
  97. package/lib/components/breadcrumbs/_breadcrumb_content.js +1 -1
  98. package/lib/components/breadcrumbs/_breadcrumb_content.styles.js +5 -2
  99. package/lib/components/breadcrumbs/breadcrumbs.js +2 -2
  100. package/lib/components/button/button_display/_button_display.js +1 -1
  101. package/lib/components/button/button_display/_button_display.styles.js +11 -2
  102. package/lib/components/button/button_display/_button_display_content.styles.js +6 -3
  103. package/lib/components/button/button_empty/button_empty.styles.js +10 -11
  104. package/lib/components/button/button_group/button_group.js +1 -1
  105. package/lib/components/button/button_group/button_group.styles.js +5 -3
  106. package/lib/components/button/button_group/button_group_button.js +18 -8
  107. package/lib/components/button/button_group/button_group_button.styles.js +41 -17
  108. package/lib/components/button/button_icon/button_icon.js +3 -1
  109. package/lib/components/collapsible_nav/collapsible_nav.js +1 -0
  110. package/lib/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
  111. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
  112. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
  113. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
  114. package/lib/components/color_picker/color_palette_display/color_palette_display.js +2 -2
  115. package/lib/components/color_picker/color_palette_display/color_palette_display_fixed.js +1 -1
  116. package/lib/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -1
  117. package/lib/components/color_picker/color_palette_picker/color_palette_picker.js +4 -4
  118. package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
  119. package/lib/components/comment_list/comment_list.js +1 -1
  120. package/lib/components/datagrid/body/cell/data_grid_cell.js +9 -9
  121. package/lib/components/datagrid/body/data_grid_body.js +14 -9
  122. package/lib/components/datagrid/body/data_grid_body_custom.js +14 -9
  123. package/lib/components/datagrid/body/data_grid_body_virtualized.js +58 -10
  124. package/lib/components/datagrid/body/header/data_grid_header_cell.js +3 -3
  125. package/lib/components/datagrid/body/header/draggable_columns.js +1 -1
  126. package/lib/components/datagrid/controls/column_sorting.js +6 -6
  127. package/lib/components/datagrid/controls/column_sorting_draggable.js +3 -3
  128. package/lib/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
  129. package/lib/components/datagrid/utils/focus.js +1 -1
  130. package/lib/components/datagrid/utils/in_memory.js +3 -3
  131. package/lib/components/datagrid/utils/scrolling.js +3 -1
  132. package/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
  133. package/lib/components/date_picker/super_date_picker/super_date_picker.js +4 -4
  134. package/lib/components/empty_prompt/images/illustration.svg +939 -0
  135. package/lib/components/filter_group/filter_button.js +86 -21
  136. package/lib/components/filter_group/filter_button.styles.js +51 -15
  137. package/lib/components/filter_group/filter_group.styles.js +18 -6
  138. package/lib/components/form/range/dual_range.js +1 -1
  139. package/lib/components/form/range/range.js +1 -1
  140. package/lib/components/form/range/range_track.js +1 -1
  141. package/lib/components/form/select/select.js +1 -1
  142. package/lib/components/header/header.js +10 -10
  143. package/lib/components/header/header_breadcrumbs/header_breadcrumbs.js +2 -2
  144. package/lib/components/icon/assets/logo_elastic.js +23 -17
  145. package/lib/components/icon/icon.styles.js +1 -1
  146. package/lib/components/icon/svgs/logo_elastic.svg +7 -9
  147. package/lib/components/key_pad_menu/key_pad_menu.js +1 -1
  148. package/lib/components/list_group/list_group.js +2 -2
  149. package/lib/components/list_group/list_group_item.js +1 -1
  150. package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  151. package/lib/components/loading/loading_elastic.styles.js +2 -2
  152. package/lib/components/loading/loading_spinner.js +1 -1
  153. package/lib/components/markdown_editor/markdown_editor_footer.js +8 -3
  154. package/lib/components/popover/popover.js +1 -1
  155. package/lib/components/responsive/hide_for.js +1 -1
  156. package/lib/components/responsive/show_for.js +1 -1
  157. package/lib/components/search_bar/filters/field_value_selection_filter.js +2 -1
  158. package/lib/components/search_bar/filters/field_value_toggle_filter.js +3 -1
  159. package/lib/components/search_bar/filters/field_value_toggle_group_filter.js +4 -2
  160. package/lib/components/search_bar/filters/is_filter.js +3 -1
  161. package/lib/components/search_bar/search_bar.a11y.js +3 -3
  162. package/lib/components/search_bar/search_bar.js +3 -3
  163. package/lib/components/search_bar/search_filters.js +2 -2
  164. package/lib/components/selectable/selectable.js +13 -12
  165. package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -3
  166. package/lib/components/side_nav/side_nav.js +2 -2
  167. package/lib/components/table/table_row_cell.js +1 -1
  168. package/lib/components/timeline/timeline.js +1 -1
  169. package/lib/components/toast/global_toast_list.js +27 -20
  170. package/lib/global_styling/mixins/_button.js +94 -27
  171. package/lib/services/theme/hooks.js +12 -1
  172. package/lib/services/theme/index.js +48 -1
  173. package/lib/services/theme/provider.js +28 -2
  174. package/lib/services/theme/theme_variant.js +28 -0
  175. package/lib/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
  176. package/lib/themes/amsterdam/global_styling/variables/_components.js +229 -224
  177. package/lib/themes/amsterdam/theme.js +2 -1
  178. package/lib/themes/json/eui_theme_amsterdam_dark.json +427 -0
  179. package/lib/themes/json/eui_theme_amsterdam_light.json +427 -0
  180. package/lib/themes/json/eui_theme_borealis_dark.json +427 -0
  181. package/lib/themes/json/eui_theme_borealis_light.json +427 -0
  182. package/optimize/es/components/badge/color_utils.js +1 -3
  183. package/optimize/es/components/badge/notification_badge/badge_notification.styles.js +6 -1
  184. package/optimize/es/components/breadcrumbs/_breadcrumb_content.styles.js +6 -3
  185. package/optimize/es/components/button/button_display/_button_display.js +1 -1
  186. package/optimize/es/components/button/button_display/_button_display.styles.js +11 -2
  187. package/optimize/es/components/button/button_display/_button_display_content.styles.js +6 -3
  188. package/optimize/es/components/button/button_empty/button_empty.styles.js +9 -12
  189. package/optimize/es/components/button/button_group/button_group.styles.js +5 -3
  190. package/optimize/es/components/button/button_group/button_group_button.js +12 -8
  191. package/optimize/es/components/button/button_group/button_group_button.styles.js +43 -19
  192. package/optimize/es/components/button/button_icon/button_icon.js +4 -2
  193. package/optimize/es/components/datagrid/body/data_grid_body_virtualized.js +44 -1
  194. package/optimize/es/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
  195. package/optimize/es/components/datagrid/utils/focus.js +2 -2
  196. package/optimize/es/components/datagrid/utils/scrolling.js +3 -1
  197. package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
  198. package/optimize/es/components/filter_group/filter_button.js +78 -21
  199. package/optimize/es/components/filter_group/filter_button.styles.js +51 -15
  200. package/optimize/es/components/filter_group/filter_group.styles.js +18 -6
  201. package/optimize/es/components/form/select/select.js +1 -1
  202. package/optimize/es/components/icon/assets/logo_elastic.js +23 -17
  203. package/optimize/es/components/icon/icon.styles.js +1 -1
  204. package/optimize/es/components/loading/loading_elastic.styles.js +2 -2
  205. package/optimize/es/components/markdown_editor/markdown_editor_footer.js +9 -4
  206. package/optimize/es/components/search_bar/filters/field_value_selection_filter.js +1 -0
  207. package/optimize/es/components/search_bar/filters/field_value_toggle_filter.js +3 -1
  208. package/optimize/es/components/search_bar/filters/field_value_toggle_group_filter.js +3 -1
  209. package/optimize/es/components/search_bar/filters/is_filter.js +3 -1
  210. package/optimize/es/components/search_bar/search_bar.a11y.js +3 -3
  211. package/optimize/es/components/selectable/selectable.js +10 -9
  212. package/optimize/es/components/toast/global_toast_list.js +24 -20
  213. package/optimize/es/global_styling/mixins/_button.js +95 -28
  214. package/optimize/es/services/theme/hooks.js +11 -0
  215. package/optimize/es/services/theme/index.js +3 -2
  216. package/optimize/es/services/theme/provider.js +28 -2
  217. package/optimize/es/services/theme/theme_variant.js +22 -0
  218. package/optimize/es/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
  219. package/optimize/es/themes/amsterdam/global_styling/variables/_components.js +229 -224
  220. package/optimize/es/themes/amsterdam/theme.js +2 -1
  221. package/optimize/es/themes/json/eui_theme_amsterdam_dark.json +427 -0
  222. package/optimize/es/themes/json/eui_theme_amsterdam_light.json +427 -0
  223. package/optimize/es/themes/json/eui_theme_borealis_dark.json +427 -0
  224. package/optimize/es/themes/json/eui_theme_borealis_light.json +427 -0
  225. package/optimize/lib/components/badge/color_utils.js +1 -3
  226. package/optimize/lib/components/badge/notification_badge/badge_notification.styles.js +6 -1
  227. package/optimize/lib/components/breadcrumbs/_breadcrumb_content.styles.js +5 -2
  228. package/optimize/lib/components/button/button_display/_button_display.js +1 -1
  229. package/optimize/lib/components/button/button_display/_button_display.styles.js +11 -2
  230. package/optimize/lib/components/button/button_display/_button_display_content.styles.js +6 -3
  231. package/optimize/lib/components/button/button_empty/button_empty.styles.js +10 -11
  232. package/optimize/lib/components/button/button_group/button_group.styles.js +5 -3
  233. package/optimize/lib/components/button/button_group/button_group_button.js +11 -7
  234. package/optimize/lib/components/button/button_group/button_group_button.styles.js +41 -17
  235. package/optimize/lib/components/button/button_icon/button_icon.js +3 -1
  236. package/optimize/lib/components/datagrid/body/data_grid_body_virtualized.js +44 -1
  237. package/optimize/lib/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
  238. package/optimize/lib/components/datagrid/utils/focus.js +1 -1
  239. package/optimize/lib/components/datagrid/utils/scrolling.js +3 -1
  240. package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
  241. package/optimize/lib/components/empty_prompt/images/illustration.svg +939 -0
  242. package/optimize/lib/components/filter_group/filter_button.js +76 -19
  243. package/optimize/lib/components/filter_group/filter_button.styles.js +51 -15
  244. package/optimize/lib/components/filter_group/filter_group.styles.js +18 -6
  245. package/optimize/lib/components/form/select/select.js +1 -1
  246. package/optimize/lib/components/icon/assets/logo_elastic.js +23 -17
  247. package/optimize/lib/components/icon/icon.styles.js +1 -1
  248. package/optimize/lib/components/icon/svgs/logo_elastic.svg +7 -9
  249. package/optimize/lib/components/loading/loading_elastic.styles.js +2 -2
  250. package/optimize/lib/components/markdown_editor/markdown_editor_footer.js +8 -3
  251. package/optimize/lib/components/search_bar/filters/field_value_selection_filter.js +1 -0
  252. package/optimize/lib/components/search_bar/filters/field_value_toggle_filter.js +3 -1
  253. package/optimize/lib/components/search_bar/filters/field_value_toggle_group_filter.js +3 -1
  254. package/optimize/lib/components/search_bar/filters/is_filter.js +3 -1
  255. package/optimize/lib/components/search_bar/search_bar.a11y.js +3 -3
  256. package/optimize/lib/components/selectable/selectable.js +10 -9
  257. package/optimize/lib/components/toast/global_toast_list.js +24 -20
  258. package/optimize/lib/global_styling/mixins/_button.js +94 -27
  259. package/optimize/lib/services/theme/hooks.js +12 -1
  260. package/optimize/lib/services/theme/index.js +48 -1
  261. package/optimize/lib/services/theme/provider.js +28 -2
  262. package/optimize/lib/services/theme/theme_variant.js +28 -0
  263. package/optimize/lib/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
  264. package/optimize/lib/themes/amsterdam/global_styling/variables/_components.js +229 -224
  265. package/optimize/lib/themes/amsterdam/theme.js +2 -1
  266. package/optimize/lib/themes/json/eui_theme_amsterdam_dark.json +427 -0
  267. package/optimize/lib/themes/json/eui_theme_amsterdam_light.json +427 -0
  268. package/optimize/lib/themes/json/eui_theme_borealis_dark.json +427 -0
  269. package/optimize/lib/themes/json/eui_theme_borealis_light.json +427 -0
  270. package/package.json +8 -9
  271. package/test-env/components/badge/color_utils.js +1 -3
  272. package/test-env/components/badge/notification_badge/badge_notification.styles.js +6 -1
  273. package/test-env/components/basic_table/basic_table.js +14 -10
  274. package/test-env/components/basic_table/in_memory_table.js +22 -17
  275. package/test-env/components/breadcrumbs/_breadcrumb_content.js +1 -1
  276. package/test-env/components/breadcrumbs/_breadcrumb_content.styles.js +5 -2
  277. package/test-env/components/breadcrumbs/breadcrumbs.js +2 -2
  278. package/test-env/components/button/button_display/_button_display.js +1 -1
  279. package/test-env/components/button/button_display/_button_display.styles.js +11 -2
  280. package/test-env/components/button/button_display/_button_display_content.styles.js +6 -3
  281. package/test-env/components/button/button_empty/button_empty.styles.js +10 -11
  282. package/test-env/components/button/button_group/button_group.js +1 -1
  283. package/test-env/components/button/button_group/button_group.styles.js +5 -3
  284. package/test-env/components/button/button_group/button_group_button.js +18 -8
  285. package/test-env/components/button/button_group/button_group_button.styles.js +41 -17
  286. package/test-env/components/button/button_icon/button_icon.js +3 -1
  287. package/test-env/components/collapsible_nav/collapsible_nav.js +1 -0
  288. package/test-env/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
  289. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
  290. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
  291. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
  292. package/test-env/components/color_picker/color_palette_display/color_palette_display.js +2 -2
  293. package/test-env/components/color_picker/color_palette_display/color_palette_display_fixed.js +1 -1
  294. package/test-env/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -1
  295. package/test-env/components/color_picker/color_palette_picker/color_palette_picker.js +4 -4
  296. package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
  297. package/test-env/components/comment_list/comment_list.js +1 -1
  298. package/test-env/components/datagrid/body/cell/data_grid_cell.js +9 -9
  299. package/test-env/components/datagrid/body/data_grid_body.js +14 -9
  300. package/test-env/components/datagrid/body/data_grid_body_custom.js +14 -9
  301. package/test-env/components/datagrid/body/data_grid_body_virtualized.js +58 -10
  302. package/test-env/components/datagrid/body/header/data_grid_header_cell.js +3 -3
  303. package/test-env/components/datagrid/body/header/draggable_columns.js +1 -1
  304. package/test-env/components/datagrid/controls/column_sorting.js +6 -6
  305. package/test-env/components/datagrid/controls/column_sorting_draggable.js +3 -3
  306. package/test-env/components/datagrid/controls/data_grid_toolbar_control.js +11 -1
  307. package/test-env/components/datagrid/utils/focus.js +1 -1
  308. package/test-env/components/datagrid/utils/in_memory.js +3 -3
  309. package/test-env/components/datagrid/utils/scrolling.js +3 -1
  310. package/test-env/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
  311. package/test-env/components/date_picker/super_date_picker/super_date_picker.js +4 -4
  312. package/test-env/components/filter_group/filter_button.js +86 -21
  313. package/test-env/components/filter_group/filter_button.styles.js +51 -15
  314. package/test-env/components/filter_group/filter_group.styles.js +18 -6
  315. package/test-env/components/form/range/dual_range.js +1 -1
  316. package/test-env/components/form/range/range.js +1 -1
  317. package/test-env/components/form/range/range_track.js +1 -1
  318. package/test-env/components/form/select/select.js +1 -1
  319. package/test-env/components/header/header.js +10 -10
  320. package/test-env/components/header/header_breadcrumbs/header_breadcrumbs.js +2 -2
  321. package/test-env/components/icon/assets/logo_elastic.js +23 -17
  322. package/test-env/components/icon/icon.styles.js +1 -1
  323. package/test-env/components/key_pad_menu/key_pad_menu.js +1 -1
  324. package/test-env/components/list_group/list_group.js +2 -2
  325. package/test-env/components/list_group/list_group_item.js +1 -1
  326. package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  327. package/test-env/components/loading/loading_elastic.styles.js +2 -2
  328. package/test-env/components/loading/loading_spinner.js +1 -1
  329. package/test-env/components/markdown_editor/markdown_editor_footer.js +8 -3
  330. package/test-env/components/popover/popover.js +1 -1
  331. package/test-env/components/responsive/hide_for.js +1 -1
  332. package/test-env/components/responsive/show_for.js +1 -1
  333. package/test-env/components/search_bar/filters/field_value_selection_filter.js +2 -1
  334. package/test-env/components/search_bar/filters/field_value_toggle_filter.js +3 -1
  335. package/test-env/components/search_bar/filters/field_value_toggle_group_filter.js +4 -2
  336. package/test-env/components/search_bar/filters/is_filter.js +3 -1
  337. package/test-env/components/search_bar/search_bar.a11y.js +3 -3
  338. package/test-env/components/search_bar/search_bar.js +3 -3
  339. package/test-env/components/search_bar/search_filters.js +2 -2
  340. package/test-env/components/selectable/selectable.js +13 -12
  341. package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -3
  342. package/test-env/components/side_nav/side_nav.js +2 -2
  343. package/test-env/components/table/table_row_cell.js +1 -1
  344. package/test-env/components/timeline/timeline.js +1 -1
  345. package/test-env/components/toast/global_toast_list.js +24 -20
  346. package/test-env/global_styling/mixins/_button.js +94 -27
  347. package/test-env/services/theme/hooks.js +12 -1
  348. package/test-env/services/theme/index.js +48 -1
  349. package/test-env/services/theme/provider.js +28 -2
  350. package/test-env/services/theme/theme_variant.js +28 -0
  351. package/test-env/themes/amsterdam/global_styling/variables/_buttons.js +348 -147
  352. package/test-env/themes/amsterdam/global_styling/variables/_components.js +229 -224
  353. package/test-env/themes/amsterdam/theme.js +2 -1
  354. package/test-env/themes/json/eui_theme_amsterdam_dark.json +427 -0
  355. package/test-env/themes/json/eui_theme_amsterdam_light.json +427 -0
  356. package/test-env/themes/json/eui_theme_borealis_dark.json +427 -0
  357. package/test-env/themes/json/eui_theme_borealis_light.json +427 -0
@@ -30,11 +30,11 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
30
30
  * Side Public License, v 1.
31
31
  */
32
32
  var _ref = process.env.NODE_ENV === "production" ? {
33
- name: "nwv4a2-tooltipWrapper",
34
- styles: "overflow:hidden;label:tooltipWrapper;"
33
+ name: "m6ysua-tooltipWrapper",
34
+ styles: "overflow:hidden;&:has(:focus-visible){z-index:1;};label:tooltipWrapper;"
35
35
  } : {
36
- name: "nwv4a2-tooltipWrapper",
37
- styles: "overflow:hidden;label:tooltipWrapper;",
36
+ name: "m6ysua-tooltipWrapper",
37
+ styles: "overflow:hidden;&:has(:focus-visible){z-index:1;};label:tooltipWrapper;",
38
38
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
39
39
  };
40
40
  var _ref2 = process.env.NODE_ENV === "production" ? {
@@ -48,48 +48,70 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
48
48
  var euiButtonGroupButtonStyles = exports.euiButtonGroupButtonStyles = function euiButtonGroupButtonStyles(euiThemeContext) {
49
49
  var euiTheme = euiThemeContext.euiTheme,
50
50
  highContrastMode = euiThemeContext.highContrastMode;
51
+ var isRefreshVariant = (0, _services.isEuiThemeRefreshVariant)(euiThemeContext, 'buttonVariant');
51
52
  var _euiFormVariables = (0, _form.euiFormVariables)(euiThemeContext),
52
53
  controlCompressedHeight = _euiFormVariables.controlCompressedHeight,
53
54
  controlCompressedBorderRadius = _euiFormVariables.controlCompressedBorderRadius;
54
55
  var compressedButtonHeight = (0, _global_styling.mathWithUnits)([controlCompressedHeight, euiTheme.border.width.thin], function (x, y) {
55
- return x - y * 2;
56
+ return isRefreshVariant ? x - y * 6 : x - y * 2;
56
57
  });
58
+ var selectedSelectors = '.euiButtonGroupButton-isSelected, .euiButtonGroup__tooltipWrapper-isSelected';
57
59
  var uncompressedBorderRadii = function uncompressedBorderRadii(radiusSize) {
58
- return "\n border-radius: 0;\n\n &:first-child {\n ".concat((0, _global_styling.logicalShorthandCSS)('border-radius', "".concat(radiusSize, " 0 0 ").concat(radiusSize)), "\n }\n\n &:last-child {\n ").concat((0, _global_styling.logicalShorthandCSS)('border-radius', "0 ".concat(radiusSize, " ").concat(radiusSize, " 0")), "\n }\n ");
60
+ return "\n border-radius: 0;\n\n &:first-child {\n ".concat((0, _global_styling.logicalShorthandCSS)('border-radius', "".concat(radiusSize, " 0 0 ").concat(radiusSize)), "\n }\n\n &:last-child {\n ").concat((0, _global_styling.logicalShorthandCSS)('border-radius', "0 ".concat(radiusSize, " ").concat(radiusSize, " 0")), "\n }\n\n &:first-child:last-child {\n ").concat((0, _global_styling.logicalShorthandCSS)('border-radius', "".concat(radiusSize)), "\n }\n ");
59
61
  };
62
+ var refreshVariantStyles = "\n &:is(".concat(selectedSelectors, ") {\n ").concat((0, _global_styling.highContrastModeStyles)(euiThemeContext, {
63
+ forced: "\n --highContrastHoverIndicatorColor: ".concat(euiTheme.colors.textInverse, ";\n border: none;\n\n /* styles the content manually instead of the button itself to preserve the system\n focus style, as otherwise preventForcedColors() would require manual styling */\n > [class*=\"euiButtonDisplayContent\"] {\n ").concat((0, _global_styling.preventForcedColors)(euiThemeContext), "\n color: ").concat(euiTheme.colors.emptyShade, ";\n border: none;\n }\n ")
64
+ }), "\n }\n ");
65
+ var uncompressedStyles = isRefreshVariant ? "\n &:is(".concat(selectedSelectors, "):not(:disabled) {\n z-index: 1;\n /* prevent layout jumps due to missing border for selected/filled buttons */\n border: ").concat(euiTheme.border.width.thin, " solid transparent;\n\n ").concat((0, _global_styling.highContrastModeStyles)(euiThemeContext, {
66
+ forced: "\n /* use inset focus outline to ensure visibility, same as custom hover.\n NOTE: temp solution - this will be revisited once we handle global focus styles */\n &:focus-visible {\n outline-color: ".concat(euiTheme.colors.textInverse, ";\n /* has to be inset due to overflow: hidden */\n outline-offset: -").concat((0, _global_styling.mathWithUnits)(euiTheme.border.width.thin, function (x) {
67
+ return x * 4;
68
+ }), ";\n }\n ")
69
+ }), "\n }\n ") : "\n &:is(.euiButtonGroupButton-isSelected) {\n font-weight: ".concat(euiTheme.font.weight.bold, ";\n }\n ");
70
+ var compressedStyles = isRefreshVariant ? "\n margin: ".concat(euiTheme.size.xxs, ";\n border-radius: ").concat((0, _global_styling.mathWithUnits)(euiTheme.border.radius.small, function (x) {
71
+ return x / 2;
72
+ }), ";\n\n & + .euiButtonGroupButton {\n ").concat((0, _global_styling.logicalCSS)('margin-left', '0'), "\n }\n\n &:is(").concat(selectedSelectors, "):not(:disabled) {\n /* prevent layout jumps due to missing border for non-selected buttons */\n border: none;\n\n ").concat((0, _global_styling.highContrastModeStyles)(euiThemeContext, {
73
+ forced: "\n /* use inset focus outline to ensure visibility, same as custom hover.\n NOTE: temp solution - this will be revisited once we handle global focus styles */\n &:focus-visible {\n outline-color: ".concat(euiTheme.colors.textInverse, ";\n /* has to be inset due to overflow: hidden */\n outline-offset: -").concat((0, _global_styling.mathWithUnits)(euiTheme.border.width.thin, function (x) {
74
+ return x * 3;
75
+ }), ";\n }\n ")
76
+ }), "\n }\n ") : "\n background-clip: content-box;\n /* Tweak border radius to account for the padding & background-clip */\n border-radius: ".concat((0, _global_styling.mathWithUnits)([controlCompressedBorderRadius, euiTheme.border.width.thin], function (x, y) {
77
+ return x + y;
78
+ }), ";\n\n &:is(.euiButtonGroupButton-isSelected) {\n font-weight: ").concat(euiTheme.font.weight.semiBold, ";\n }\n ");
60
79
  return {
61
80
  // Base
62
- euiButtonGroupButton: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('min-width', 0), " flex-shrink:1;flex-grow:0;z-index:0;&:focus-visible{z-index:1;}", _global_styling.euiCanAnimate, "{transition:background-color ", euiTheme.animation.normal, " ease-in-out,color ", euiTheme.animation.normal, " ease-in-out;};label:euiButtonGroupButton;"),
81
+ euiButtonGroupButton: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('min-width', 0), " flex-shrink:1;flex-grow:0;z-index:0;&:focus-visible{z-index:2;}", _global_styling.euiCanAnimate, "{transition:background-color ", euiTheme.animation.normal, " ease-in-out,color ", euiTheme.animation.normal, " ease-in-out;}", isRefreshVariant && refreshVariantStyles, ";;label:euiButtonGroupButton;"),
63
82
  iconOnly: /*#__PURE__*/(0, _react.css)("padding-inline:", euiTheme.size.s, ";;label:iconOnly;"),
64
83
  // Sizes
65
84
  uncompressed: {
66
- uncompressed: /*#__PURE__*/(0, _react.css)("&:is(.euiButtonGroupButton-isSelected){font-weight:", euiTheme.font.weight.bold, ";}&:focus-visible{", (0, _global_styling.euiOutline)(euiThemeContext, 'inset', euiTheme.components.buttonGroupFocusColor), ";};label:uncompressed;"),
85
+ uncompressed: /*#__PURE__*/(0, _react.css)("&:focus-visible{", (0, _global_styling.euiOutline)(euiThemeContext, 'inset', euiTheme.components.buttonGroupFocusColor), ";}", uncompressedStyles, ";;label:uncompressed;"),
67
86
  get borders() {
68
87
  // We use pseudo elements to avoid affecing button width, and to allow
69
88
  // inheriting high contrast border colors
70
- var selectors = '.euiButtonGroupButton-isSelected, .euiButtonGroup__tooltipWrapper-isSelected';
89
+ var selectors = selectedSelectors;
71
90
  var selectedColor = highContrastMode ? euiTheme.colors.emptyShade : euiTheme.components.buttonGroupBorderColorSelected;
72
91
  var unselectedColor = highContrastMode ? 'inherit' : euiTheme.components.buttonGroupBorderColor;
92
+ var borderWidth = euiTheme.border.width.thin;
93
+ var borderStyles = isRefreshVariant ? "\n &:not(:first-child) {\n margin-inline-start: -".concat(borderWidth, ";\n }\n\n &:is(").concat(selectors, ") {\n &::before {\n position: absolute;\n z-index: 1;\n ").concat((0, _global_styling.logicalCSS)('left', 0), "\n ").concat((0, _global_styling.logicalCSS)('vertical', "-".concat(euiTheme.border.width.thin)), "\n ").concat((0, _global_styling.logicalCSS)('border-left-style', 'solid'), "\n ").concat((0, _global_styling.logicalCSS)('border-left-width', euiTheme.border.width.thin), "\n pointer-events: none;\n\n ").concat((0, _global_styling.preventForcedColors)(euiThemeContext), "\n }\n }\n ") : "\n &::before {\n position: absolute;\n ".concat((0, _global_styling.logicalCSS)('left', 0), "\n ").concat((0, _global_styling.logicalCSS)('vertical', highContrastMode ? "-".concat(euiTheme.border.width.thin) : 0), "\n ").concat((0, _global_styling.logicalCSS)('border-left-style', 'solid'), "\n ").concat((0, _global_styling.logicalCSS)('border-left-width', euiTheme.border.width.thin), "\n pointer-events: none;\n }\n ");
73
94
 
74
95
  // "Borders" between buttons should be present between two of the same colored buttons,
75
96
  // and absent between selected vs non-selected buttons (different colors)
76
- return "\n position: relative;\n\n &::before {\n position: absolute;\n ".concat((0, _global_styling.logicalCSS)('left', 0), "\n ").concat((0, _global_styling.logicalCSS)('vertical', highContrastMode ? "-".concat(euiTheme.border.width.thin) : 0), "\n ").concat((0, _global_styling.logicalCSS)('border-left-style', 'solid'), "\n ").concat((0, _global_styling.logicalCSS)('border-left-width', euiTheme.border.width.thin), "\n pointer-events: none;\n }\n \n &:not(").concat(selectors, ") + *:not(").concat(selectors, ") {\n &::before {\n content: '';\n border-color: ").concat(unselectedColor, ";\n }\n }\n\n &:is(").concat(selectors, ") + *:is(").concat(selectors, ") {\n &::before {\n content: '';\n border-color: ").concat(selectedColor, ";\n }\n }\n ");
97
+ return "\n position: relative;\n\n ".concat(borderStyles, "\n\n &:not(").concat(selectors, ") + *:not(").concat(selectors, ") {\n &::before {\n content: '';\n border-color: ").concat(unselectedColor, ";\n }\n }\n\n &:is(").concat(selectors, ") + *:is(").concat(selectors, ") {\n &::before {\n content: '';\n border-color: ").concat(selectedColor, ";\n }\n }\n ");
77
98
  },
78
99
  get s() {
79
100
  return /*#__PURE__*/(0, _react.css)(this.borders, " ", uncompressedBorderRadii(euiTheme.border.radius.small), ";;label:s;");
80
101
  },
81
102
  get m() {
82
- return /*#__PURE__*/(0, _react.css)(this.borders, " ", uncompressedBorderRadii(euiTheme.border.radius.medium), ";;label:m;");
103
+ var radius = isRefreshVariant ? euiTheme.border.radius.small : euiTheme.border.radius.medium;
104
+ return /*#__PURE__*/(0, _react.css)(this.borders, " ", uncompressedBorderRadii(radius), ";;label:m;");
83
105
  },
84
106
  hasToolTip: _ref2
85
107
  },
86
- compressed: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('height', compressedButtonHeight), " line-height:", compressedButtonHeight, ";padding:", (0, _global_styling.mathWithUnits)(euiTheme.border.width.thin, function (x) {
108
+ compressed: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('height', compressedButtonHeight), " line-height:", compressedButtonHeight, ";font-weight:", euiTheme.font.weight.regular, ";padding:", isRefreshVariant ? '0' : (0, _global_styling.mathWithUnits)(euiTheme.border.width.thin, function (x) {
87
109
  return x * 2;
88
- }), ";background-clip:content-box;border-radius:", (0, _global_styling.mathWithUnits)([controlCompressedBorderRadius, euiTheme.border.width.thin], function (x, y) {
89
- return x + y;
90
- }), ";font-weight:", euiTheme.font.weight.regular, ";&:is(.euiButtonGroupButton-isSelected){font-weight:", euiTheme.font.weight.semiBold, ";};label:compressed;"),
110
+ }), ";", compressedStyles, ";;label:compressed;"),
91
111
  // States
92
- disabledAndSelected: /*#__PURE__*/(0, _react.css)("color:", (0, _services.makeDisabledContrastColor)(euiTheme.colors.textDisabled)(euiTheme.components.buttonGroupBackgroundDisabledSelected), ";background-color:", euiTheme.components.buttonGroupBackgroundDisabledSelected, ";border:", highContrastMode && "".concat(euiTheme.border.width.thin, " solid ").concat(euiTheme.components.buttonGroupBackgroundDisabledSelected), ";;label:disabledAndSelected;"),
112
+ disabledAndSelected: /*#__PURE__*/(0, _react.css)("color:", isRefreshVariant ? euiTheme.colors.textDisabled : (0, _services.makeDisabledContrastColor)(euiTheme.colors.textDisabled)(euiTheme.components.buttonGroupBackgroundDisabledSelected), ";background-color:", euiTheme.components.buttonGroupBackgroundDisabledSelected, ";border:", highContrastMode ? "".concat(euiTheme.border.width.thin, " solid ").concat(euiTheme.components.buttonGroupBackgroundDisabledSelected) : isRefreshVariant ? "".concat(euiTheme.border.width.thin, " solid ").concat(euiTheme.colors.borderBasePlain) : '', ";;label:disabledAndSelected;"),
113
+ // Skip css`` to avoid generating a className
114
+ hasBorder: "\n border: ".concat(euiTheme.border.width.thin, " solid\n ").concat(euiTheme.colors.borderBasePlain, ";\n "),
93
115
  // Tooltip anchor wrapper
94
116
  tooltipWrapper: _ref,
95
117
  // Content wrapper
@@ -105,10 +127,12 @@ var euiButtonGroupButtonStyles = exports.euiButtonGroupButtonStyles = function e
105
127
  };
106
128
  };
107
129
  var _compressedButtonFocusColors = exports._compressedButtonFocusColors = function _compressedButtonFocusColors(euiThemeContext) {
130
+ var euiTheme = euiThemeContext.euiTheme;
131
+ var isRefreshVariant = (0, _services.isEuiThemeRefreshVariant)(euiThemeContext, 'buttonVariant');
108
132
  var colors = [].concat(_toConsumableArray(_button.BUTTON_COLORS), ['disabled']);
109
133
  return colors.reduce(function (acc, color) {
110
134
  var _euiButtonFillColor = (0, _button.euiButtonFillColor)(euiThemeContext, color),
111
135
  backgroundColor = _euiButtonFillColor.backgroundColor;
112
- return _objectSpread(_objectSpread({}, acc), {}, _defineProperty({}, color, /*#__PURE__*/(0, _react.css)("&:focus-visible{", (0, _global_styling.euiOutline)(euiThemeContext, 'center', backgroundColor), " &:is(.euiButtonGroupButton-isSelected){outline-offset:0;}}")));
136
+ return _objectSpread(_objectSpread({}, acc), {}, _defineProperty({}, color, /*#__PURE__*/(0, _react.css)("&:focus-visible{", (0, _global_styling.euiOutline)(euiThemeContext, isRefreshVariant ? 'outset' : 'center', isRefreshVariant ? euiTheme.focus.color : backgroundColor), " ", !isRefreshVariant && "\n &:is(.euiButtonGroupButton-isSelected) {\n outline-offset: 0;\n }\n ", ";}")));
113
137
  }, {});
114
138
  };
@@ -50,6 +50,8 @@ var EuiButtonIcon = exports.EuiButtonIcon = function EuiButtonIcon(_ref) {
50
50
  isSelected = _ref.isSelected,
51
51
  isLoading = _ref.isLoading,
52
52
  rest = _objectWithoutProperties(_ref, _excluded);
53
+ var euiThemeContext = (0, _services.useEuiTheme)();
54
+ var isRefreshVariant = (0, _services.isEuiThemeRefreshVariant)(euiThemeContext, 'buttonVariant');
53
55
  var isDisabled = (0, _button_display.isButtonDisabled)({
54
56
  isDisabled: _isDisabled || disabled,
55
57
  href: href,
@@ -66,7 +68,7 @@ var EuiButtonIcon = exports.EuiButtonIcon = function EuiButtonIcon(_ref) {
66
68
  var buttonFocusStyle = (0, _button.useEuiButtonFocusCSS)();
67
69
  var emptyHoverStyles = (0, _services.useEuiMemoizedStyles)(_button_icon._emptyHoverStyles);
68
70
  var styles = (0, _services.useEuiMemoizedStyles)(_button_icon.euiButtonIconStyles);
69
- var cssStyles = [styles.euiButtonIcon, styles[size], buttonColorStyles[isDisabled ? 'disabled' : color], buttonFocusStyle, display === 'empty' && !isDisabled && emptyHoverStyles[color], isDisabled && styles.isDisabled];
71
+ var cssStyles = [styles.euiButtonIcon, styles[size], buttonColorStyles[isDisabled ? 'disabled' : color], buttonFocusStyle, !isRefreshVariant && display === 'empty' && !isDisabled && emptyHoverStyles[color], isDisabled && styles.isDisabled];
70
72
  var classes = (0, _classnames.default)('euiButtonIcon', className);
71
73
 
72
74
  // Add an icon to the button if one exists.
@@ -214,6 +214,7 @@ EuiCollapsibleNav.propTypes = {
214
214
  * Object of props passed to EuiFocusTrap.
215
215
  * `shards` specifies an array of elements that will be considered part of the flyout, preventing the flyout from being closed when clicked.
216
216
  * `closeOnMouseup` will delay the close callback, allowing time for external toggle buttons to handle close behavior.
217
+ * `returnFocus` defines the return focus behavior and provides the possibility to check the available target element or opt out of the behavior in favor of manually returning focus
217
218
  */
218
219
  focusTrapProps: _propTypes.default.any,
219
220
  /**
@@ -219,7 +219,7 @@ KibanaCollapsibleNavSolution.propTypes = {
219
219
  */
220
220
  showToolTip: _propTypes.default.bool,
221
221
  /**
222
- * An object of #EuiListGroupItemExtraAction props.
222
+ * An object of {@link EuiListGroupItemExtraAction} props.
223
223
  * Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
224
224
  * pass `alwaysShow` if you don't want the default behavior of only showing on hover
225
225
  */
@@ -88,7 +88,7 @@ EuiCollapsedNavItem.propTypes = {
88
88
  /**
89
89
  * Will render either an accordion or group of nested child item links.
90
90
  *
91
- * Accepts any #EuiCollapsibleNavItemProps. Or, to render completely custom
91
+ * Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
92
92
  * subitem content, pass an object with a `renderItem` callback.
93
93
  */
94
94
  items: _propTypes.default.arrayOf(_propTypes.default.shape({
@@ -136,7 +136,7 @@ EuiCollapsedNavItem.propTypes = {
136
136
  /**
137
137
  * Will render either an accordion or group of nested child item links.
138
138
  *
139
- * Accepts any #EuiCollapsibleNavItemProps. Or, to render completely custom
139
+ * Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
140
140
  * subitem content, pass an object with a `renderItem` callback.
141
141
  */
142
142
  items: _propTypes.default.arrayOf(_propTypes.default.any.isRequired),
@@ -141,7 +141,7 @@ EuiCollapsedNavPopover.propTypes = {
141
141
  /**
142
142
  * Will render either an accordion or group of nested child item links.
143
143
  *
144
- * Accepts any #EuiCollapsibleNavItemProps. Or, to render completely custom
144
+ * Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
145
145
  * subitem content, pass an object with a `renderItem` callback.
146
146
  */
147
147
  items: _propTypes.default.arrayOf(_propTypes.default.shape({
@@ -189,7 +189,7 @@ EuiCollapsedNavPopover.propTypes = {
189
189
  /**
190
190
  * Will render either an accordion or group of nested child item links.
191
191
  *
192
- * Accepts any #EuiCollapsibleNavItemProps. Or, to render completely custom
192
+ * Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
193
193
  * subitem content, pass an object with a `renderItem` callback.
194
194
  */
195
195
  items: _propTypes.default.arrayOf(_propTypes.default.any.isRequired),
@@ -136,7 +136,7 @@ EuiCollapsibleNavItemDisplay.propTypes = {
136
136
  /**
137
137
  * Will render either an accordion or group of nested child item links.
138
138
  *
139
- * Accepts any #EuiCollapsibleNavItemProps. Or, to render completely custom
139
+ * Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
140
140
  * subitem content, pass an object with a `renderItem` callback.
141
141
  */
142
142
  items: _propTypes.default.arrayOf(_propTypes.default.shape({
@@ -251,7 +251,7 @@ EuiCollapsibleNavSubItem.propTypes = {
251
251
  /**
252
252
  * Will render either an accordion or group of nested child item links.
253
253
  *
254
- * Accepts any #EuiCollapsibleNavItemProps. Or, to render completely custom
254
+ * Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
255
255
  * subitem content, pass an object with a `renderItem` callback.
256
256
  */
257
257
  items: _propTypes.default.arrayOf(_propTypes.default.any.isRequired),
@@ -357,7 +357,7 @@ EuiCollapsibleNavSubItems.propTypes = {
357
357
  /**
358
358
  * Will render either an accordion or group of nested child item links.
359
359
  *
360
- * Accepts any #EuiCollapsibleNavItemProps. Or, to render completely custom
360
+ * Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
361
361
  * subitem content, pass an object with a `renderItem` callback.
362
362
  */
363
363
  items: _propTypes.default.arrayOf(_propTypes.default.any.isRequired),
@@ -439,7 +439,7 @@ EuiCollapsibleNavItem.propTypes = {
439
439
  /**
440
440
  * Will render either an accordion or group of nested child item links.
441
441
  *
442
- * Accepts any #EuiCollapsibleNavItemProps. Or, to render completely custom
442
+ * Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
443
443
  * subitem content, pass an object with a `renderItem` callback.
444
444
  */
445
445
  items: _propTypes.default.arrayOf(_propTypes.default.shape({
@@ -64,10 +64,10 @@ EuiColorPaletteDisplay.propTypes = {
64
64
  "data-test-subj": _propTypes.default.string,
65
65
  css: _propTypes.default.any,
66
66
  /**
67
- * Array of color `strings` or an array of #PaletteColorStop. The stops must be numbers in an ordered range.
67
+ * Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
68
68
  */
69
69
  /**
70
- * Array of color `strings` or an array of #PaletteColorStop. The stops must be numbers in an ordered range.
70
+ * Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
71
71
  */
72
72
  palette: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string.isRequired).isRequired, _propTypes.default.arrayOf(_propTypes.default.any.isRequired).isRequired]).isRequired
73
73
  };
@@ -54,7 +54,7 @@ EuiColorPaletteDisplayFixed.propTypes = {
54
54
  "data-test-subj": _propTypes.default.string,
55
55
  css: _propTypes.default.any,
56
56
  /**
57
- * Array of color `strings` or an array of #PaletteColorStop. The stops must be numbers in an ordered range.
57
+ * Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
58
58
  */
59
59
  palette: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string.isRequired).isRequired, _propTypes.default.arrayOf(_propTypes.default.any.isRequired).isRequired]).isRequired
60
60
  };
@@ -48,7 +48,7 @@ EuiColorPaletteDisplayGradient.propTypes = {
48
48
  "data-test-subj": _propTypes.default.string,
49
49
  css: _propTypes.default.any,
50
50
  /**
51
- * Array of color `strings` or an array of #PaletteColorStop. The stops must be numbers in an ordered range.
51
+ * Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
52
52
  */
53
53
  palette: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string.isRequired).isRequired, _propTypes.default.arrayOf(_propTypes.default.any.isRequired).isRequired]).isRequired
54
54
  };
@@ -180,7 +180,7 @@ EuiColorPalettePicker.propTypes = {
180
180
  */
181
181
  selectionDisplay: _propTypes.default.oneOf(["palette", "title"]),
182
182
  /**
183
- * An array of one of the following objects: #EuiColorPalettePickerPaletteText, #EuiColorPalettePickerPaletteFixed, #EuiColorPalettePickerPaletteGradient
183
+ * An array of one of the following objects: {@link EuiColorPalettePickerPaletteText}, {@link EuiColorPalettePickerPaletteFixed}, {@link EuiColorPalettePickerPaletteGradient}
184
184
  */
185
185
  palettes: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape({
186
186
  /**
@@ -196,7 +196,7 @@ EuiColorPalettePicker.propTypes = {
196
196
  */
197
197
  type: _propTypes.default.oneOf(["text"]).isRequired,
198
198
  /**
199
- * Array of color `strings` or an array of #PaletteColorStop. The stops must be numbers in an ordered range.
199
+ * Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
200
200
  */
201
201
  palette: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string.isRequired).isRequired, _propTypes.default.arrayOf(_propTypes.default.shape({
202
202
  stop: _propTypes.default.number.isRequired,
@@ -224,7 +224,7 @@ EuiColorPalettePicker.propTypes = {
224
224
  */
225
225
  type: _propTypes.default.oneOf(["fixed"]).isRequired,
226
226
  /**
227
- * Array of color `strings` or an array of #PaletteColorStop. The stops must be numbers in an ordered range.
227
+ * Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
228
228
  */
229
229
  palette: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string.isRequired).isRequired, _propTypes.default.arrayOf(_propTypes.default.shape({
230
230
  stop: _propTypes.default.number.isRequired,
@@ -252,7 +252,7 @@ EuiColorPalettePicker.propTypes = {
252
252
  */
253
253
  type: _propTypes.default.oneOf(["gradient"]).isRequired,
254
254
  /**
255
- * Array of color `strings` or an array of #PaletteColorStop. The stops must be numbers in an ordered range.
255
+ * Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
256
256
  */
257
257
  palette: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string.isRequired).isRequired, _propTypes.default.arrayOf(_propTypes.default.shape({
258
258
  stop: _propTypes.default.number.isRequired,
@@ -424,7 +424,7 @@ EuiComboBoxOptionsList.propTypes = {
424
424
  onOptionEnterKey: _propTypes.default.func,
425
425
  onScroll: _propTypes.default.any,
426
426
  /**
427
- * Array of EuiComboBoxOptionOption objects. See #EuiComboBoxOptionOption
427
+ * Array of EuiComboBoxOptionOption objects. See {@link EuiComboBoxOptionOption}
428
428
  */
429
429
  options: _propTypes.default.arrayOf(_propTypes.default.shape({
430
430
  isGroupLabelOption: _propTypes.default.bool,
@@ -49,7 +49,7 @@ EuiCommentList.propTypes = {
49
49
  "data-test-subj": _propTypes.default.string,
50
50
  css: _propTypes.default.any,
51
51
  /**
52
- * List of comments to render. See #EuiComment
52
+ * List of comments to render. See {@link EuiComment}
53
53
  */
54
54
  comments: _propTypes.default.arrayOf(_propTypes.default.shape({
55
55
  /**
@@ -154,12 +154,12 @@ EuiDataGridCellContent.propTypes = {
154
154
  defaultSortDirection: _propTypes.default.oneOf(["asc", "desc"]),
155
155
  /**
156
156
  * A Schema to use for the column.
157
- * Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own #EuiDataGrid `schemaDetectors` (for in-memory detection).
157
+ * Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own {@link EuiDataGrid} `schemaDetectors` (for in-memory detection).
158
158
  * In general, it is advised to pass in a value here when you are sure of the schema ahead of time, so that you don't need to rely on the automatic detection.
159
159
  */
160
160
  schema: _propTypes.default.string,
161
161
  /**
162
- * Configuration of column actions. Set to false to disable or use #EuiDataGridColumnActions to configure the actions displayed in the header cell of the column.
162
+ * Configuration of column actions. Set to false to disable or use {@link EuiDataGridColumnActions} to configure the actions displayed in the header cell of the column.
163
163
  */
164
164
  actions: _propTypes.default.oneOfType([_propTypes.default.oneOf([false]), _propTypes.default.shape({
165
165
  /**
@@ -208,7 +208,7 @@ EuiDataGridCellContent.propTypes = {
208
208
  */
209
209
  showToolTip: _propTypes.default.bool,
210
210
  /**
211
- * An object of #EuiListGroupItemExtraAction props.
211
+ * An object of {@link EuiListGroupItemExtraAction} props.
212
212
  * Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
213
213
  * pass `alwaysShow` if you don't want the default behavior of only showing on hover
214
214
  */
@@ -544,7 +544,7 @@ EuiDataGridCellContent.propTypes = {
544
544
  * Defines the height for a specific row. It can be line count or just height.
545
545
  *
546
546
  * When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
547
- * toolbar control to `false` in #EuiDataGridToolBarVisibilityOptions
547
+ * toolbar control to `false` in {@link EuiDataGridToolBarVisibilityOptions}
548
548
  */
549
549
  rowHeights: _propTypes.default.any,
550
550
  /**
@@ -588,7 +588,7 @@ EuiDataGridCellContent.propTypes = {
588
588
  */
589
589
  stripes: _propTypes.default.bool,
590
590
  /**
591
- * Visual style for the column headers. Recommendation is to use the `underline` style in times when #EuiDataGrid `toolbarVisibility` is set to `false`.
591
+ * Visual style for the column headers. Recommendation is to use the `underline` style in times when {@link EuiDataGrid} `toolbarVisibility` is set to `false`.
592
592
  * @default shade
593
593
  */
594
594
  header: _propTypes.default.oneOf(["shade", "underline"]),
@@ -1090,12 +1090,12 @@ EuiDataGridCell.propTypes = {
1090
1090
  defaultSortDirection: _propTypes.default.oneOf(["asc", "desc"]),
1091
1091
  /**
1092
1092
  * A Schema to use for the column.
1093
- * Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own #EuiDataGrid `schemaDetectors` (for in-memory detection).
1093
+ * Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own {@link EuiDataGrid} `schemaDetectors` (for in-memory detection).
1094
1094
  * In general, it is advised to pass in a value here when you are sure of the schema ahead of time, so that you don't need to rely on the automatic detection.
1095
1095
  */
1096
1096
  schema: _propTypes.default.string,
1097
1097
  /**
1098
- * Configuration of column actions. Set to false to disable or use #EuiDataGridColumnActions to configure the actions displayed in the header cell of the column.
1098
+ * Configuration of column actions. Set to false to disable or use {@link EuiDataGridColumnActions} to configure the actions displayed in the header cell of the column.
1099
1099
  */
1100
1100
  actions: _propTypes.default.oneOfType([_propTypes.default.oneOf([false]), _propTypes.default.shape({
1101
1101
  /**
@@ -1414,7 +1414,7 @@ EuiDataGridCell.propTypes = {
1414
1414
  * Defines the height for a specific row. It can be line count or just height.
1415
1415
  *
1416
1416
  * When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
1417
- * toolbar control to `false` in #EuiDataGridToolBarVisibilityOptions
1417
+ * toolbar control to `false` in {@link EuiDataGridToolBarVisibilityOptions}
1418
1418
  */
1419
1419
  rowHeights: _propTypes.default.any,
1420
1420
  /**
@@ -1461,7 +1461,7 @@ EuiDataGridCell.propTypes = {
1461
1461
  */
1462
1462
  stripes: _propTypes.default.bool,
1463
1463
  /**
1464
- * Visual style for the column headers. Recommendation is to use the `underline` style in times when #EuiDataGrid `toolbarVisibility` is set to `false`.
1464
+ * Visual style for the column headers. Recommendation is to use the `underline` style in times when {@link EuiDataGrid} `toolbarVisibility` is set to `false`.
1465
1465
  * @default shade
1466
1466
  */
1467
1467
  header: _propTypes.default.oneOf(["shade", "underline"]),
@@ -144,12 +144,12 @@ EuiDataGridBody.propTypes = {
144
144
  defaultSortDirection: _propTypes.default.oneOf(["asc", "desc"]),
145
145
  /**
146
146
  * A Schema to use for the column.
147
- * Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own #EuiDataGrid `schemaDetectors` (for in-memory detection).
147
+ * Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own {@link EuiDataGrid} `schemaDetectors` (for in-memory detection).
148
148
  * In general, it is advised to pass in a value here when you are sure of the schema ahead of time, so that you don't need to rely on the automatic detection.
149
149
  */
150
150
  schema: _propTypes.default.string,
151
151
  /**
152
- * Configuration of column actions. Set to false to disable or use #EuiDataGridColumnActions to configure the actions displayed in the header cell of the column.
152
+ * Configuration of column actions. Set to false to disable or use {@link EuiDataGridColumnActions} to configure the actions displayed in the header cell of the column.
153
153
  */
154
154
  actions: _propTypes.default.oneOfType([_propTypes.default.oneOf([false]), _propTypes.default.shape({
155
155
  /**
@@ -198,7 +198,7 @@ EuiDataGridBody.propTypes = {
198
198
  */
199
199
  showToolTip: _propTypes.default.bool,
200
200
  /**
201
- * An object of #EuiListGroupItemExtraAction props.
201
+ * An object of {@link EuiListGroupItemExtraAction} props.
202
202
  * Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
203
203
  * pass `alwaysShow` if you don't want the default behavior of only showing on hover
204
204
  */
@@ -508,7 +508,7 @@ EuiDataGridBody.propTypes = {
508
508
  schema: _propTypes.default.shape({}).isRequired,
509
509
  schemaDetectors: _propTypes.default.arrayOf(_propTypes.default.shape({
510
510
  /**
511
- * The name of this data type, matches #EuiDataGridColumn / `schema`
511
+ * The name of this data type, matches {@link EuiDataGridColumn} / `schema`
512
512
  */
513
513
  type: _propTypes.default.string.isRequired,
514
514
  /**
@@ -536,7 +536,7 @@ EuiDataGridBody.propTypes = {
536
536
  */
537
537
  sortTextDesc: _propTypes.default.node.isRequired,
538
538
  /**
539
- * Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual #EuiDataGridColumn level
539
+ * Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual {@link EuiDataGridColumn} level
540
540
  */
541
541
  isSortable: _propTypes.default.bool,
542
542
  /**
@@ -544,7 +544,7 @@ EuiDataGridBody.propTypes = {
544
544
  */
545
545
  textTransform: _propTypes.default.oneOf(["uppercase", "lowercase", "capitalize"]),
546
546
  /**
547
- * Default sort direction of columns with this schema. Can be overridden at the individual #EuiDataGridColumn level
547
+ * Default sort direction of columns with this schema. Can be overridden at the individual {@link EuiDataGridColumn} level
548
548
  */
549
549
  defaultSortDirection: _propTypes.default.oneOf(["asc", "desc"])
550
550
  }).isRequired).isRequired,
@@ -577,7 +577,12 @@ EuiDataGridBody.propTypes = {
577
577
  setVisibleColumns: _propTypes.default.func.isRequired,
578
578
  switchColumnPos: _propTypes.default.func.isRequired,
579
579
  onColumnResize: _propTypes.default.func,
580
- virtualizationOptions: _propTypes.default.any,
580
+ virtualizationOptions: _propTypes.default.shape({
581
+ /**
582
+ * Called when the grid scroll positions changes, as a result of user scrolling or scroll-to method calls.
583
+ */
584
+ onScroll: _propTypes.default.func
585
+ }),
581
586
  rowHeightsOptions: _propTypes.default.shape({
582
587
  /**
583
588
  * Defines the default size for all rows. It can be line count or just height.
@@ -598,7 +603,7 @@ EuiDataGridBody.propTypes = {
598
603
  * Defines the height for a specific row. It can be line count or just height.
599
604
  *
600
605
  * When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
601
- * toolbar control to `false` in #EuiDataGridToolBarVisibilityOptions
606
+ * toolbar control to `false` in {@link EuiDataGridToolBarVisibilityOptions}
602
607
  */
603
608
  rowHeights: _propTypes.default.any,
604
609
  /**
@@ -641,7 +646,7 @@ EuiDataGridBody.propTypes = {
641
646
  */
642
647
  stripes: _propTypes.default.bool,
643
648
  /**
644
- * Visual style for the column headers. Recommendation is to use the `underline` style in times when #EuiDataGrid `toolbarVisibility` is set to `false`.
649
+ * Visual style for the column headers. Recommendation is to use the `underline` style in times when {@link EuiDataGrid} `toolbarVisibility` is set to `false`.
645
650
  * @default shade
646
651
  */
647
652
  header: _propTypes.default.oneOf(["shade", "underline"]),
@@ -309,12 +309,12 @@ EuiDataGridBodyCustomRender.propTypes = {
309
309
  defaultSortDirection: _propTypes.default.oneOf(["asc", "desc"]),
310
310
  /**
311
311
  * A Schema to use for the column.
312
- * Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own #EuiDataGrid `schemaDetectors` (for in-memory detection).
312
+ * Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own {@link EuiDataGrid} `schemaDetectors` (for in-memory detection).
313
313
  * In general, it is advised to pass in a value here when you are sure of the schema ahead of time, so that you don't need to rely on the automatic detection.
314
314
  */
315
315
  schema: _propTypes.default.string,
316
316
  /**
317
- * Configuration of column actions. Set to false to disable or use #EuiDataGridColumnActions to configure the actions displayed in the header cell of the column.
317
+ * Configuration of column actions. Set to false to disable or use {@link EuiDataGridColumnActions} to configure the actions displayed in the header cell of the column.
318
318
  */
319
319
  actions: _propTypes.default.oneOfType([_propTypes.default.oneOf([false]), _propTypes.default.shape({
320
320
  /**
@@ -363,7 +363,7 @@ EuiDataGridBodyCustomRender.propTypes = {
363
363
  */
364
364
  showToolTip: _propTypes.default.bool,
365
365
  /**
366
- * An object of #EuiListGroupItemExtraAction props.
366
+ * An object of {@link EuiListGroupItemExtraAction} props.
367
367
  * Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
368
368
  * pass `alwaysShow` if you don't want the default behavior of only showing on hover
369
369
  */
@@ -673,7 +673,7 @@ EuiDataGridBodyCustomRender.propTypes = {
673
673
  schema: _propTypes.default.shape({}).isRequired,
674
674
  schemaDetectors: _propTypes.default.arrayOf(_propTypes.default.shape({
675
675
  /**
676
- * The name of this data type, matches #EuiDataGridColumn / `schema`
676
+ * The name of this data type, matches {@link EuiDataGridColumn} / `schema`
677
677
  */
678
678
  type: _propTypes.default.string.isRequired,
679
679
  /**
@@ -701,7 +701,7 @@ EuiDataGridBodyCustomRender.propTypes = {
701
701
  */
702
702
  sortTextDesc: _propTypes.default.node.isRequired,
703
703
  /**
704
- * Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual #EuiDataGridColumn level
704
+ * Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual {@link EuiDataGridColumn} level
705
705
  */
706
706
  isSortable: _propTypes.default.bool,
707
707
  /**
@@ -709,7 +709,7 @@ EuiDataGridBodyCustomRender.propTypes = {
709
709
  */
710
710
  textTransform: _propTypes.default.oneOf(["uppercase", "lowercase", "capitalize"]),
711
711
  /**
712
- * Default sort direction of columns with this schema. Can be overridden at the individual #EuiDataGridColumn level
712
+ * Default sort direction of columns with this schema. Can be overridden at the individual {@link EuiDataGridColumn} level
713
713
  */
714
714
  defaultSortDirection: _propTypes.default.oneOf(["asc", "desc"])
715
715
  }).isRequired).isRequired,
@@ -742,7 +742,12 @@ EuiDataGridBodyCustomRender.propTypes = {
742
742
  setVisibleColumns: _propTypes.default.func.isRequired,
743
743
  switchColumnPos: _propTypes.default.func.isRequired,
744
744
  onColumnResize: _propTypes.default.func,
745
- virtualizationOptions: _propTypes.default.any,
745
+ virtualizationOptions: _propTypes.default.shape({
746
+ /**
747
+ * Called when the grid scroll positions changes, as a result of user scrolling or scroll-to method calls.
748
+ */
749
+ onScroll: _propTypes.default.func
750
+ }),
746
751
  rowHeightsOptions: _propTypes.default.shape({
747
752
  /**
748
753
  * Defines the default size for all rows. It can be line count or just height.
@@ -763,7 +768,7 @@ EuiDataGridBodyCustomRender.propTypes = {
763
768
  * Defines the height for a specific row. It can be line count or just height.
764
769
  *
765
770
  * When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
766
- * toolbar control to `false` in #EuiDataGridToolBarVisibilityOptions
771
+ * toolbar control to `false` in {@link EuiDataGridToolBarVisibilityOptions}
767
772
  */
768
773
  rowHeights: _propTypes.default.any,
769
774
  /**
@@ -806,7 +811,7 @@ EuiDataGridBodyCustomRender.propTypes = {
806
811
  */
807
812
  stripes: _propTypes.default.bool,
808
813
  /**
809
- * Visual style for the column headers. Recommendation is to use the `underline` style in times when #EuiDataGrid `toolbarVisibility` is set to `false`.
814
+ * Visual style for the column headers. Recommendation is to use the `underline` style in times when {@link EuiDataGrid} `toolbarVisibility` is set to `false`.
810
815
  * @default shade
811
816
  */
812
817
  header: _propTypes.default.oneOf(["shade", "underline"]),