@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
@@ -20,17 +20,17 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
20
20
  */
21
21
 
22
22
  import { css } from '@emotion/react';
23
- import { makeDisabledContrastColor } from '../../../services';
24
- import { mathWithUnits, logicalCSS, logicalShorthandCSS, euiTextShift, euiOutline, euiCanAnimate } from '../../../global_styling';
23
+ import { isEuiThemeRefreshVariant, makeDisabledContrastColor } from '../../../services';
24
+ import { mathWithUnits, logicalCSS, logicalShorthandCSS, euiTextShift, euiOutline, euiCanAnimate, preventForcedColors, highContrastModeStyles } from '../../../global_styling';
25
25
  import { euiButtonFillColor, BUTTON_COLORS } from '../../../global_styling/mixins/_button';
26
26
  import { euiScreenReaderOnly } from '../../accessibility';
27
27
  import { euiFormVariables } from '../../form/form.styles';
28
28
  var _ref = process.env.NODE_ENV === "production" ? {
29
- name: "nwv4a2-tooltipWrapper",
30
- styles: "overflow:hidden;label:tooltipWrapper;"
29
+ name: "m6ysua-tooltipWrapper",
30
+ styles: "overflow:hidden;&:has(:focus-visible){z-index:1;};label:tooltipWrapper;"
31
31
  } : {
32
- name: "nwv4a2-tooltipWrapper",
33
- styles: "overflow:hidden;label:tooltipWrapper;",
32
+ name: "m6ysua-tooltipWrapper",
33
+ styles: "overflow:hidden;&:has(:focus-visible){z-index:1;};label:tooltipWrapper;",
34
34
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
35
35
  };
36
36
  var _ref2 = process.env.NODE_ENV === "production" ? {
@@ -44,48 +44,70 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
44
44
  export var euiButtonGroupButtonStyles = function euiButtonGroupButtonStyles(euiThemeContext) {
45
45
  var euiTheme = euiThemeContext.euiTheme,
46
46
  highContrastMode = euiThemeContext.highContrastMode;
47
+ var isRefreshVariant = isEuiThemeRefreshVariant(euiThemeContext, 'buttonVariant');
47
48
  var _euiFormVariables = euiFormVariables(euiThemeContext),
48
49
  controlCompressedHeight = _euiFormVariables.controlCompressedHeight,
49
50
  controlCompressedBorderRadius = _euiFormVariables.controlCompressedBorderRadius;
50
51
  var compressedButtonHeight = mathWithUnits([controlCompressedHeight, euiTheme.border.width.thin], function (x, y) {
51
- return x - y * 2;
52
+ return isRefreshVariant ? x - y * 6 : x - y * 2;
52
53
  });
54
+ var selectedSelectors = '.euiButtonGroupButton-isSelected, .euiButtonGroup__tooltipWrapper-isSelected';
53
55
  var uncompressedBorderRadii = function uncompressedBorderRadii(radiusSize) {
54
- return "\n border-radius: 0;\n\n &:first-child {\n ".concat(logicalShorthandCSS('border-radius', "".concat(radiusSize, " 0 0 ").concat(radiusSize)), "\n }\n\n &:last-child {\n ").concat(logicalShorthandCSS('border-radius', "0 ".concat(radiusSize, " ").concat(radiusSize, " 0")), "\n }\n ");
56
+ return "\n border-radius: 0;\n\n &:first-child {\n ".concat(logicalShorthandCSS('border-radius', "".concat(radiusSize, " 0 0 ").concat(radiusSize)), "\n }\n\n &:last-child {\n ").concat(logicalShorthandCSS('border-radius', "0 ".concat(radiusSize, " ").concat(radiusSize, " 0")), "\n }\n\n &:first-child:last-child {\n ").concat(logicalShorthandCSS('border-radius', "".concat(radiusSize)), "\n }\n ");
55
57
  };
58
+ var refreshVariantStyles = "\n &:is(".concat(selectedSelectors, ") {\n ").concat(highContrastModeStyles(euiThemeContext, {
59
+ 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(preventForcedColors(euiThemeContext), "\n color: ").concat(euiTheme.colors.emptyShade, ";\n border: none;\n }\n ")
60
+ }), "\n }\n ");
61
+ 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(highContrastModeStyles(euiThemeContext, {
62
+ 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(mathWithUnits(euiTheme.border.width.thin, function (x) {
63
+ return x * 4;
64
+ }), ";\n }\n ")
65
+ }), "\n }\n ") : "\n &:is(.euiButtonGroupButton-isSelected) {\n font-weight: ".concat(euiTheme.font.weight.bold, ";\n }\n ");
66
+ var compressedStyles = isRefreshVariant ? "\n margin: ".concat(euiTheme.size.xxs, ";\n border-radius: ").concat(mathWithUnits(euiTheme.border.radius.small, function (x) {
67
+ return x / 2;
68
+ }), ";\n\n & + .euiButtonGroupButton {\n ").concat(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(highContrastModeStyles(euiThemeContext, {
69
+ 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(mathWithUnits(euiTheme.border.width.thin, function (x) {
70
+ return x * 3;
71
+ }), ";\n }\n ")
72
+ }), "\n }\n ") : "\n background-clip: content-box;\n /* Tweak border radius to account for the padding & background-clip */\n border-radius: ".concat(mathWithUnits([controlCompressedBorderRadius, euiTheme.border.width.thin], function (x, y) {
73
+ return x + y;
74
+ }), ";\n\n &:is(.euiButtonGroupButton-isSelected) {\n font-weight: ").concat(euiTheme.font.weight.semiBold, ";\n }\n ");
56
75
  return {
57
76
  // Base
58
- euiButtonGroupButton: /*#__PURE__*/css(logicalCSS('min-width', 0), " flex-shrink:1;flex-grow:0;z-index:0;&:focus-visible{z-index:1;}", euiCanAnimate, "{transition:background-color ", euiTheme.animation.normal, " ease-in-out,color ", euiTheme.animation.normal, " ease-in-out;};label:euiButtonGroupButton;"),
77
+ euiButtonGroupButton: /*#__PURE__*/css(logicalCSS('min-width', 0), " flex-shrink:1;flex-grow:0;z-index:0;&:focus-visible{z-index:2;}", euiCanAnimate, "{transition:background-color ", euiTheme.animation.normal, " ease-in-out,color ", euiTheme.animation.normal, " ease-in-out;}", isRefreshVariant && refreshVariantStyles, ";;label:euiButtonGroupButton;"),
59
78
  iconOnly: /*#__PURE__*/css("padding-inline:", euiTheme.size.s, ";;label:iconOnly;"),
60
79
  // Sizes
61
80
  uncompressed: {
62
- uncompressed: /*#__PURE__*/css("&:is(.euiButtonGroupButton-isSelected){font-weight:", euiTheme.font.weight.bold, ";}&:focus-visible{", euiOutline(euiThemeContext, 'inset', euiTheme.components.buttonGroupFocusColor), ";};label:uncompressed;"),
81
+ uncompressed: /*#__PURE__*/css("&:focus-visible{", euiOutline(euiThemeContext, 'inset', euiTheme.components.buttonGroupFocusColor), ";}", uncompressedStyles, ";;label:uncompressed;"),
63
82
  get borders() {
64
83
  // We use pseudo elements to avoid affecing button width, and to allow
65
84
  // inheriting high contrast border colors
66
- var selectors = '.euiButtonGroupButton-isSelected, .euiButtonGroup__tooltipWrapper-isSelected';
85
+ var selectors = selectedSelectors;
67
86
  var selectedColor = highContrastMode ? euiTheme.colors.emptyShade : euiTheme.components.buttonGroupBorderColorSelected;
68
87
  var unselectedColor = highContrastMode ? 'inherit' : euiTheme.components.buttonGroupBorderColor;
88
+ var borderWidth = euiTheme.border.width.thin;
89
+ 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(logicalCSS('left', 0), "\n ").concat(logicalCSS('vertical', "-".concat(euiTheme.border.width.thin)), "\n ").concat(logicalCSS('border-left-style', 'solid'), "\n ").concat(logicalCSS('border-left-width', euiTheme.border.width.thin), "\n pointer-events: none;\n\n ").concat(preventForcedColors(euiThemeContext), "\n }\n }\n ") : "\n &::before {\n position: absolute;\n ".concat(logicalCSS('left', 0), "\n ").concat(logicalCSS('vertical', highContrastMode ? "-".concat(euiTheme.border.width.thin) : 0), "\n ").concat(logicalCSS('border-left-style', 'solid'), "\n ").concat(logicalCSS('border-left-width', euiTheme.border.width.thin), "\n pointer-events: none;\n }\n ");
69
90
 
70
91
  // "Borders" between buttons should be present between two of the same colored buttons,
71
92
  // and absent between selected vs non-selected buttons (different colors)
72
- return "\n position: relative;\n\n &::before {\n position: absolute;\n ".concat(logicalCSS('left', 0), "\n ").concat(logicalCSS('vertical', highContrastMode ? "-".concat(euiTheme.border.width.thin) : 0), "\n ").concat(logicalCSS('border-left-style', 'solid'), "\n ").concat(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 ");
93
+ 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 ");
73
94
  },
74
95
  get s() {
75
96
  return /*#__PURE__*/css(this.borders, " ", uncompressedBorderRadii(euiTheme.border.radius.small), ";;label:s;");
76
97
  },
77
98
  get m() {
78
- return /*#__PURE__*/css(this.borders, " ", uncompressedBorderRadii(euiTheme.border.radius.medium), ";;label:m;");
99
+ var radius = isRefreshVariant ? euiTheme.border.radius.small : euiTheme.border.radius.medium;
100
+ return /*#__PURE__*/css(this.borders, " ", uncompressedBorderRadii(radius), ";;label:m;");
79
101
  },
80
102
  hasToolTip: _ref2
81
103
  },
82
- compressed: /*#__PURE__*/css(logicalCSS('height', compressedButtonHeight), " line-height:", compressedButtonHeight, ";padding:", mathWithUnits(euiTheme.border.width.thin, function (x) {
104
+ compressed: /*#__PURE__*/css(logicalCSS('height', compressedButtonHeight), " line-height:", compressedButtonHeight, ";font-weight:", euiTheme.font.weight.regular, ";padding:", isRefreshVariant ? '0' : mathWithUnits(euiTheme.border.width.thin, function (x) {
83
105
  return x * 2;
84
- }), ";background-clip:content-box;border-radius:", mathWithUnits([controlCompressedBorderRadius, euiTheme.border.width.thin], function (x, y) {
85
- return x + y;
86
- }), ";font-weight:", euiTheme.font.weight.regular, ";&:is(.euiButtonGroupButton-isSelected){font-weight:", euiTheme.font.weight.semiBold, ";};label:compressed;"),
106
+ }), ";", compressedStyles, ";;label:compressed;"),
87
107
  // States
88
- disabledAndSelected: /*#__PURE__*/css("color:", 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;"),
108
+ disabledAndSelected: /*#__PURE__*/css("color:", isRefreshVariant ? euiTheme.colors.textDisabled : 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;"),
109
+ // Skip css`` to avoid generating a className
110
+ hasBorder: "\n border: ".concat(euiTheme.border.width.thin, " solid\n ").concat(euiTheme.colors.borderBasePlain, ";\n "),
89
111
  // Tooltip anchor wrapper
90
112
  tooltipWrapper: _ref,
91
113
  // Content wrapper
@@ -101,10 +123,12 @@ export var euiButtonGroupButtonStyles = function euiButtonGroupButtonStyles(euiT
101
123
  };
102
124
  };
103
125
  export var _compressedButtonFocusColors = function _compressedButtonFocusColors(euiThemeContext) {
126
+ var euiTheme = euiThemeContext.euiTheme;
127
+ var isRefreshVariant = isEuiThemeRefreshVariant(euiThemeContext, 'buttonVariant');
104
128
  var colors = [].concat(_toConsumableArray(BUTTON_COLORS), ['disabled']);
105
129
  return colors.reduce(function (acc, color) {
106
130
  var _euiButtonFillColor = euiButtonFillColor(euiThemeContext, color),
107
131
  backgroundColor = _euiButtonFillColor.backgroundColor;
108
- return _objectSpread(_objectSpread({}, acc), {}, _defineProperty({}, color, /*#__PURE__*/css("&:focus-visible{", euiOutline(euiThemeContext, 'center', backgroundColor), " &:is(.euiButtonGroupButton-isSelected){outline-offset:0;}}")));
132
+ return _objectSpread(_objectSpread({}, acc), {}, _defineProperty({}, color, /*#__PURE__*/css("&:focus-visible{", euiOutline(euiThemeContext, isRefreshVariant ? 'outset' : 'center', isRefreshVariant ? euiTheme.focus.color : backgroundColor), " ", !isRefreshVariant && "\n &:is(.euiButtonGroupButton-isSelected) {\n outline-offset: 0;\n }\n ", ";}")));
109
133
  }, {});
110
134
  };
@@ -13,7 +13,7 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
13
13
  import React from 'react';
14
14
  import PropTypes from "prop-types";
15
15
  import classNames from 'classnames';
16
- import { getSecureRelForTarget, useEuiMemoizedStyles } from '../../../services';
16
+ import { getSecureRelForTarget, isEuiThemeRefreshVariant, useEuiMemoizedStyles, useEuiTheme } from '../../../services';
17
17
  import { EuiIcon } from '../../icon';
18
18
  import { EuiLoadingSpinner } from '../../loading';
19
19
  import { useEuiButtonColorCSS, useEuiButtonFocusCSS } from '../../../global_styling/mixins/_button';
@@ -44,6 +44,8 @@ export var EuiButtonIcon = function EuiButtonIcon(_ref) {
44
44
  isSelected = _ref.isSelected,
45
45
  isLoading = _ref.isLoading,
46
46
  rest = _objectWithoutProperties(_ref, _excluded);
47
+ var euiThemeContext = useEuiTheme();
48
+ var isRefreshVariant = isEuiThemeRefreshVariant(euiThemeContext, 'buttonVariant');
47
49
  var isDisabled = isButtonDisabled({
48
50
  isDisabled: _isDisabled || disabled,
49
51
  href: href,
@@ -60,7 +62,7 @@ export var EuiButtonIcon = function EuiButtonIcon(_ref) {
60
62
  var buttonFocusStyle = useEuiButtonFocusCSS();
61
63
  var emptyHoverStyles = useEuiMemoizedStyles(_emptyHoverStyles);
62
64
  var styles = useEuiMemoizedStyles(euiButtonIconStyles);
63
- var cssStyles = [styles.euiButtonIcon, styles[size], buttonColorStyles[isDisabled ? 'disabled' : color], buttonFocusStyle, display === 'empty' && !isDisabled && emptyHoverStyles[color], isDisabled && styles.isDisabled];
65
+ var cssStyles = [styles.euiButtonIcon, styles[size], buttonColorStyles[isDisabled ? 'disabled' : color], buttonFocusStyle, !isRefreshVariant && display === 'empty' && !isDisabled && emptyHoverStyles[color], isDisabled && styles.isDisabled];
64
66
  var classes = classNames('euiButtonIcon', className);
65
67
 
66
68
  // Add an icon to the button if one exists.
@@ -207,6 +207,7 @@ EuiCollapsibleNav.propTypes = {
207
207
  * Object of props passed to EuiFocusTrap.
208
208
  * `shards` specifies an array of elements that will be considered part of the flyout, preventing the flyout from being closed when clicked.
209
209
  * `closeOnMouseup` will delay the close callback, allowing time for external toggle buttons to handle close behavior.
210
+ * `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
210
211
  */
211
212
  focusTrapProps: PropTypes.any,
212
213
  /**
@@ -211,7 +211,7 @@ KibanaCollapsibleNavSolution.propTypes = {
211
211
  */
212
212
  showToolTip: PropTypes.bool,
213
213
  /**
214
- * An object of #EuiListGroupItemExtraAction props.
214
+ * An object of {@link EuiListGroupItemExtraAction} props.
215
215
  * Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
216
216
  * pass `alwaysShow` if you don't want the default behavior of only showing on hover
217
217
  */
@@ -83,7 +83,7 @@ EuiCollapsedNavItem.propTypes = {
83
83
  /**
84
84
  * Will render either an accordion or group of nested child item links.
85
85
  *
86
- * Accepts any #EuiCollapsibleNavItemProps. Or, to render completely custom
86
+ * Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
87
87
  * subitem content, pass an object with a `renderItem` callback.
88
88
  */
89
89
  items: PropTypes.arrayOf(PropTypes.shape({
@@ -131,7 +131,7 @@ EuiCollapsedNavItem.propTypes = {
131
131
  /**
132
132
  * Will render either an accordion or group of nested child item links.
133
133
  *
134
- * Accepts any #EuiCollapsibleNavItemProps. Or, to render completely custom
134
+ * Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
135
135
  * subitem content, pass an object with a `renderItem` callback.
136
136
  */
137
137
  items: PropTypes.arrayOf(PropTypes.any.isRequired),
@@ -133,7 +133,7 @@ EuiCollapsedNavPopover.propTypes = {
133
133
  /**
134
134
  * Will render either an accordion or group of nested child item links.
135
135
  *
136
- * Accepts any #EuiCollapsibleNavItemProps. Or, to render completely custom
136
+ * Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
137
137
  * subitem content, pass an object with a `renderItem` callback.
138
138
  */
139
139
  items: PropTypes.arrayOf(PropTypes.shape({
@@ -181,7 +181,7 @@ EuiCollapsedNavPopover.propTypes = {
181
181
  /**
182
182
  * Will render either an accordion or group of nested child item links.
183
183
  *
184
- * Accepts any #EuiCollapsibleNavItemProps. Or, to render completely custom
184
+ * Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
185
185
  * subitem content, pass an object with a `renderItem` callback.
186
186
  */
187
187
  items: PropTypes.arrayOf(PropTypes.any.isRequired),
@@ -127,7 +127,7 @@ EuiCollapsibleNavItemDisplay.propTypes = {
127
127
  /**
128
128
  * Will render either an accordion or group of nested child item links.
129
129
  *
130
- * Accepts any #EuiCollapsibleNavItemProps. Or, to render completely custom
130
+ * Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
131
131
  * subitem content, pass an object with a `renderItem` callback.
132
132
  */
133
133
  items: PropTypes.arrayOf(PropTypes.shape({
@@ -242,7 +242,7 @@ EuiCollapsibleNavSubItem.propTypes = {
242
242
  /**
243
243
  * Will render either an accordion or group of nested child item links.
244
244
  *
245
- * Accepts any #EuiCollapsibleNavItemProps. Or, to render completely custom
245
+ * Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
246
246
  * subitem content, pass an object with a `renderItem` callback.
247
247
  */
248
248
  items: PropTypes.arrayOf(PropTypes.any.isRequired),
@@ -348,7 +348,7 @@ EuiCollapsibleNavSubItems.propTypes = {
348
348
  /**
349
349
  * Will render either an accordion or group of nested child item links.
350
350
  *
351
- * Accepts any #EuiCollapsibleNavItemProps. Or, to render completely custom
351
+ * Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
352
352
  * subitem content, pass an object with a `renderItem` callback.
353
353
  */
354
354
  items: PropTypes.arrayOf(PropTypes.any.isRequired),
@@ -430,7 +430,7 @@ EuiCollapsibleNavItem.propTypes = {
430
430
  /**
431
431
  * Will render either an accordion or group of nested child item links.
432
432
  *
433
- * Accepts any #EuiCollapsibleNavItemProps. Or, to render completely custom
433
+ * Accepts any {@link EuiCollapsibleNavItemProps}. Or, to render completely custom
434
434
  * subitem content, pass an object with a `renderItem` callback.
435
435
  */
436
436
  items: PropTypes.arrayOf(PropTypes.shape({
@@ -58,10 +58,10 @@ EuiColorPaletteDisplay.propTypes = {
58
58
  "data-test-subj": PropTypes.string,
59
59
  css: PropTypes.any,
60
60
  /**
61
- * Array of color `strings` or an array of #PaletteColorStop. The stops must be numbers in an ordered range.
61
+ * Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
62
62
  */
63
63
  /**
64
- * Array of color `strings` or an array of #PaletteColorStop. The stops must be numbers in an ordered range.
64
+ * Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
65
65
  */
66
66
  palette: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired).isRequired, PropTypes.arrayOf(PropTypes.any.isRequired).isRequired]).isRequired
67
67
  };
@@ -45,7 +45,7 @@ EuiColorPaletteDisplayFixed.propTypes = {
45
45
  "data-test-subj": PropTypes.string,
46
46
  css: PropTypes.any,
47
47
  /**
48
- * Array of color `strings` or an array of #PaletteColorStop. The stops must be numbers in an ordered range.
48
+ * Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
49
49
  */
50
50
  palette: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired).isRequired, PropTypes.arrayOf(PropTypes.any.isRequired).isRequired]).isRequired
51
51
  };
@@ -42,7 +42,7 @@ EuiColorPaletteDisplayGradient.propTypes = {
42
42
  "data-test-subj": PropTypes.string,
43
43
  css: PropTypes.any,
44
44
  /**
45
- * Array of color `strings` or an array of #PaletteColorStop. The stops must be numbers in an ordered range.
45
+ * Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
46
46
  */
47
47
  palette: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired).isRequired, PropTypes.arrayOf(PropTypes.any.isRequired).isRequired]).isRequired
48
48
  };
@@ -172,7 +172,7 @@ EuiColorPalettePicker.propTypes = {
172
172
  */
173
173
  selectionDisplay: PropTypes.oneOf(["palette", "title"]),
174
174
  /**
175
- * An array of one of the following objects: #EuiColorPalettePickerPaletteText, #EuiColorPalettePickerPaletteFixed, #EuiColorPalettePickerPaletteGradient
175
+ * An array of one of the following objects: {@link EuiColorPalettePickerPaletteText}, {@link EuiColorPalettePickerPaletteFixed}, {@link EuiColorPalettePickerPaletteGradient}
176
176
  */
177
177
  palettes: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.shape({
178
178
  /**
@@ -188,7 +188,7 @@ EuiColorPalettePicker.propTypes = {
188
188
  */
189
189
  type: PropTypes.oneOf(["text"]).isRequired,
190
190
  /**
191
- * Array of color `strings` or an array of #PaletteColorStop. The stops must be numbers in an ordered range.
191
+ * Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
192
192
  */
193
193
  palette: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired).isRequired, PropTypes.arrayOf(PropTypes.shape({
194
194
  stop: PropTypes.number.isRequired,
@@ -216,7 +216,7 @@ EuiColorPalettePicker.propTypes = {
216
216
  */
217
217
  type: PropTypes.oneOf(["fixed"]).isRequired,
218
218
  /**
219
- * Array of color `strings` or an array of #PaletteColorStop. The stops must be numbers in an ordered range.
219
+ * Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
220
220
  */
221
221
  palette: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired).isRequired, PropTypes.arrayOf(PropTypes.shape({
222
222
  stop: PropTypes.number.isRequired,
@@ -244,7 +244,7 @@ EuiColorPalettePicker.propTypes = {
244
244
  */
245
245
  type: PropTypes.oneOf(["gradient"]).isRequired,
246
246
  /**
247
- * Array of color `strings` or an array of #PaletteColorStop. The stops must be numbers in an ordered range.
247
+ * Array of color `strings` or an array of {@link PaletteColorStop}. The stops must be numbers in an ordered range.
248
248
  */
249
249
  palette: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired).isRequired, PropTypes.arrayOf(PropTypes.shape({
250
250
  stop: PropTypes.number.isRequired,
@@ -417,7 +417,7 @@ EuiComboBoxOptionsList.propTypes = {
417
417
  onOptionEnterKey: PropTypes.func,
418
418
  onScroll: PropTypes.any,
419
419
  /**
420
- * Array of EuiComboBoxOptionOption objects. See #EuiComboBoxOptionOption
420
+ * Array of EuiComboBoxOptionOption objects. See {@link EuiComboBoxOptionOption}
421
421
  */
422
422
  options: PropTypes.arrayOf(PropTypes.shape({
423
423
  isGroupLabelOption: PropTypes.bool,
@@ -43,7 +43,7 @@ EuiCommentList.propTypes = {
43
43
  "data-test-subj": PropTypes.string,
44
44
  css: PropTypes.any,
45
45
  /**
46
- * List of comments to render. See #EuiComment
46
+ * List of comments to render. See {@link EuiComment}
47
47
  */
48
48
  comments: PropTypes.arrayOf(PropTypes.shape({
49
49
  /**
@@ -146,12 +146,12 @@ EuiDataGridCellContent.propTypes = {
146
146
  defaultSortDirection: PropTypes.oneOf(["asc", "desc"]),
147
147
  /**
148
148
  * A Schema to use for the column.
149
- * Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own #EuiDataGrid `schemaDetectors` (for in-memory detection).
149
+ * Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own {@link EuiDataGrid} `schemaDetectors` (for in-memory detection).
150
150
  * 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.
151
151
  */
152
152
  schema: PropTypes.string,
153
153
  /**
154
- * Configuration of column actions. Set to false to disable or use #EuiDataGridColumnActions to configure the actions displayed in the header cell of the column.
154
+ * 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.
155
155
  */
156
156
  actions: PropTypes.oneOfType([PropTypes.oneOf([false]), PropTypes.shape({
157
157
  /**
@@ -200,7 +200,7 @@ EuiDataGridCellContent.propTypes = {
200
200
  */
201
201
  showToolTip: PropTypes.bool,
202
202
  /**
203
- * An object of #EuiListGroupItemExtraAction props.
203
+ * An object of {@link EuiListGroupItemExtraAction} props.
204
204
  * Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
205
205
  * pass `alwaysShow` if you don't want the default behavior of only showing on hover
206
206
  */
@@ -536,7 +536,7 @@ EuiDataGridCellContent.propTypes = {
536
536
  * Defines the height for a specific row. It can be line count or just height.
537
537
  *
538
538
  * When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
539
- * toolbar control to `false` in #EuiDataGridToolBarVisibilityOptions
539
+ * toolbar control to `false` in {@link EuiDataGridToolBarVisibilityOptions}
540
540
  */
541
541
  rowHeights: PropTypes.any,
542
542
  /**
@@ -580,7 +580,7 @@ EuiDataGridCellContent.propTypes = {
580
580
  */
581
581
  stripes: PropTypes.bool,
582
582
  /**
583
- * Visual style for the column headers. Recommendation is to use the `underline` style in times when #EuiDataGrid `toolbarVisibility` is set to `false`.
583
+ * Visual style for the column headers. Recommendation is to use the `underline` style in times when {@link EuiDataGrid} `toolbarVisibility` is set to `false`.
584
584
  * @default shade
585
585
  */
586
586
  header: PropTypes.oneOf(["shade", "underline"]),
@@ -1083,12 +1083,12 @@ EuiDataGridCell.propTypes = {
1083
1083
  defaultSortDirection: PropTypes.oneOf(["asc", "desc"]),
1084
1084
  /**
1085
1085
  * A Schema to use for the column.
1086
- * Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own #EuiDataGrid `schemaDetectors` (for in-memory detection).
1086
+ * Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own {@link EuiDataGrid} `schemaDetectors` (for in-memory detection).
1087
1087
  * 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.
1088
1088
  */
1089
1089
  schema: PropTypes.string,
1090
1090
  /**
1091
- * Configuration of column actions. Set to false to disable or use #EuiDataGridColumnActions to configure the actions displayed in the header cell of the column.
1091
+ * 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.
1092
1092
  */
1093
1093
  actions: PropTypes.oneOfType([PropTypes.oneOf([false]), PropTypes.shape({
1094
1094
  /**
@@ -1407,7 +1407,7 @@ EuiDataGridCell.propTypes = {
1407
1407
  * Defines the height for a specific row. It can be line count or just height.
1408
1408
  *
1409
1409
  * When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
1410
- * toolbar control to `false` in #EuiDataGridToolBarVisibilityOptions
1410
+ * toolbar control to `false` in {@link EuiDataGridToolBarVisibilityOptions}
1411
1411
  */
1412
1412
  rowHeights: PropTypes.any,
1413
1413
  /**
@@ -1454,7 +1454,7 @@ EuiDataGridCell.propTypes = {
1454
1454
  */
1455
1455
  stripes: PropTypes.bool,
1456
1456
  /**
1457
- * Visual style for the column headers. Recommendation is to use the `underline` style in times when #EuiDataGrid `toolbarVisibility` is set to `false`.
1457
+ * Visual style for the column headers. Recommendation is to use the `underline` style in times when {@link EuiDataGrid} `toolbarVisibility` is set to `false`.
1458
1458
  * @default shade
1459
1459
  */
1460
1460
  header: PropTypes.oneOf(["shade", "underline"]),
@@ -138,12 +138,12 @@ EuiDataGridBody.propTypes = {
138
138
  defaultSortDirection: PropTypes.oneOf(["asc", "desc"]),
139
139
  /**
140
140
  * A Schema to use for the column.
141
- * Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own #EuiDataGrid `schemaDetectors` (for in-memory detection).
141
+ * Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own {@link EuiDataGrid} `schemaDetectors` (for in-memory detection).
142
142
  * 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.
143
143
  */
144
144
  schema: PropTypes.string,
145
145
  /**
146
- * Configuration of column actions. Set to false to disable or use #EuiDataGridColumnActions to configure the actions displayed in the header cell of the column.
146
+ * 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.
147
147
  */
148
148
  actions: PropTypes.oneOfType([PropTypes.oneOf([false]), PropTypes.shape({
149
149
  /**
@@ -192,7 +192,7 @@ EuiDataGridBody.propTypes = {
192
192
  */
193
193
  showToolTip: PropTypes.bool,
194
194
  /**
195
- * An object of #EuiListGroupItemExtraAction props.
195
+ * An object of {@link EuiListGroupItemExtraAction} props.
196
196
  * Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
197
197
  * pass `alwaysShow` if you don't want the default behavior of only showing on hover
198
198
  */
@@ -502,7 +502,7 @@ EuiDataGridBody.propTypes = {
502
502
  schema: PropTypes.shape({}).isRequired,
503
503
  schemaDetectors: PropTypes.arrayOf(PropTypes.shape({
504
504
  /**
505
- * The name of this data type, matches #EuiDataGridColumn / `schema`
505
+ * The name of this data type, matches {@link EuiDataGridColumn} / `schema`
506
506
  */
507
507
  type: PropTypes.string.isRequired,
508
508
  /**
@@ -530,7 +530,7 @@ EuiDataGridBody.propTypes = {
530
530
  */
531
531
  sortTextDesc: PropTypes.node.isRequired,
532
532
  /**
533
- * Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual #EuiDataGridColumn level
533
+ * Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual {@link EuiDataGridColumn} level
534
534
  */
535
535
  isSortable: PropTypes.bool,
536
536
  /**
@@ -538,7 +538,7 @@ EuiDataGridBody.propTypes = {
538
538
  */
539
539
  textTransform: PropTypes.oneOf(["uppercase", "lowercase", "capitalize"]),
540
540
  /**
541
- * Default sort direction of columns with this schema. Can be overridden at the individual #EuiDataGridColumn level
541
+ * Default sort direction of columns with this schema. Can be overridden at the individual {@link EuiDataGridColumn} level
542
542
  */
543
543
  defaultSortDirection: PropTypes.oneOf(["asc", "desc"])
544
544
  }).isRequired).isRequired,
@@ -571,7 +571,12 @@ EuiDataGridBody.propTypes = {
571
571
  setVisibleColumns: PropTypes.func.isRequired,
572
572
  switchColumnPos: PropTypes.func.isRequired,
573
573
  onColumnResize: PropTypes.func,
574
- virtualizationOptions: PropTypes.any,
574
+ virtualizationOptions: PropTypes.shape({
575
+ /**
576
+ * Called when the grid scroll positions changes, as a result of user scrolling or scroll-to method calls.
577
+ */
578
+ onScroll: PropTypes.func
579
+ }),
575
580
  rowHeightsOptions: PropTypes.shape({
576
581
  /**
577
582
  * Defines the default size for all rows. It can be line count or just height.
@@ -592,7 +597,7 @@ EuiDataGridBody.propTypes = {
592
597
  * Defines the height for a specific row. It can be line count or just height.
593
598
  *
594
599
  * When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
595
- * toolbar control to `false` in #EuiDataGridToolBarVisibilityOptions
600
+ * toolbar control to `false` in {@link EuiDataGridToolBarVisibilityOptions}
596
601
  */
597
602
  rowHeights: PropTypes.any,
598
603
  /**
@@ -635,7 +640,7 @@ EuiDataGridBody.propTypes = {
635
640
  */
636
641
  stripes: PropTypes.bool,
637
642
  /**
638
- * Visual style for the column headers. Recommendation is to use the `underline` style in times when #EuiDataGrid `toolbarVisibility` is set to `false`.
643
+ * Visual style for the column headers. Recommendation is to use the `underline` style in times when {@link EuiDataGrid} `toolbarVisibility` is set to `false`.
639
644
  * @default shade
640
645
  */
641
646
  header: PropTypes.oneOf(["shade", "underline"]),
@@ -302,12 +302,12 @@ EuiDataGridBodyCustomRender.propTypes = {
302
302
  defaultSortDirection: PropTypes.oneOf(["asc", "desc"]),
303
303
  /**
304
304
  * A Schema to use for the column.
305
- * Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own #EuiDataGrid `schemaDetectors` (for in-memory detection).
305
+ * Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own {@link EuiDataGrid} `schemaDetectors` (for in-memory detection).
306
306
  * 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.
307
307
  */
308
308
  schema: PropTypes.string,
309
309
  /**
310
- * Configuration of column actions. Set to false to disable or use #EuiDataGridColumnActions to configure the actions displayed in the header cell of the column.
310
+ * 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.
311
311
  */
312
312
  actions: PropTypes.oneOfType([PropTypes.oneOf([false]), PropTypes.shape({
313
313
  /**
@@ -356,7 +356,7 @@ EuiDataGridBodyCustomRender.propTypes = {
356
356
  */
357
357
  showToolTip: PropTypes.bool,
358
358
  /**
359
- * An object of #EuiListGroupItemExtraAction props.
359
+ * An object of {@link EuiListGroupItemExtraAction} props.
360
360
  * Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
361
361
  * pass `alwaysShow` if you don't want the default behavior of only showing on hover
362
362
  */
@@ -666,7 +666,7 @@ EuiDataGridBodyCustomRender.propTypes = {
666
666
  schema: PropTypes.shape({}).isRequired,
667
667
  schemaDetectors: PropTypes.arrayOf(PropTypes.shape({
668
668
  /**
669
- * The name of this data type, matches #EuiDataGridColumn / `schema`
669
+ * The name of this data type, matches {@link EuiDataGridColumn} / `schema`
670
670
  */
671
671
  type: PropTypes.string.isRequired,
672
672
  /**
@@ -694,7 +694,7 @@ EuiDataGridBodyCustomRender.propTypes = {
694
694
  */
695
695
  sortTextDesc: PropTypes.node.isRequired,
696
696
  /**
697
- * Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual #EuiDataGridColumn level
697
+ * Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual {@link EuiDataGridColumn} level
698
698
  */
699
699
  isSortable: PropTypes.bool,
700
700
  /**
@@ -702,7 +702,7 @@ EuiDataGridBodyCustomRender.propTypes = {
702
702
  */
703
703
  textTransform: PropTypes.oneOf(["uppercase", "lowercase", "capitalize"]),
704
704
  /**
705
- * Default sort direction of columns with this schema. Can be overridden at the individual #EuiDataGridColumn level
705
+ * Default sort direction of columns with this schema. Can be overridden at the individual {@link EuiDataGridColumn} level
706
706
  */
707
707
  defaultSortDirection: PropTypes.oneOf(["asc", "desc"])
708
708
  }).isRequired).isRequired,
@@ -735,7 +735,12 @@ EuiDataGridBodyCustomRender.propTypes = {
735
735
  setVisibleColumns: PropTypes.func.isRequired,
736
736
  switchColumnPos: PropTypes.func.isRequired,
737
737
  onColumnResize: PropTypes.func,
738
- virtualizationOptions: PropTypes.any,
738
+ virtualizationOptions: PropTypes.shape({
739
+ /**
740
+ * Called when the grid scroll positions changes, as a result of user scrolling or scroll-to method calls.
741
+ */
742
+ onScroll: PropTypes.func
743
+ }),
739
744
  rowHeightsOptions: PropTypes.shape({
740
745
  /**
741
746
  * Defines the default size for all rows. It can be line count or just height.
@@ -756,7 +761,7 @@ EuiDataGridBodyCustomRender.propTypes = {
756
761
  * Defines the height for a specific row. It can be line count or just height.
757
762
  *
758
763
  * When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
759
- * toolbar control to `false` in #EuiDataGridToolBarVisibilityOptions
764
+ * toolbar control to `false` in {@link EuiDataGridToolBarVisibilityOptions}
760
765
  */
761
766
  rowHeights: PropTypes.any,
762
767
  /**
@@ -799,7 +804,7 @@ EuiDataGridBodyCustomRender.propTypes = {
799
804
  */
800
805
  stripes: PropTypes.bool,
801
806
  /**
802
- * Visual style for the column headers. Recommendation is to use the `underline` style in times when #EuiDataGrid `toolbarVisibility` is set to `false`.
807
+ * Visual style for the column headers. Recommendation is to use the `underline` style in times when {@link EuiDataGrid} `toolbarVisibility` is set to `false`.
803
808
  * @default shade
804
809
  */
805
810
  header: PropTypes.oneOf(["shade", "underline"]),