@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
@@ -8,14 +8,17 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
8
8
  */
9
9
 
10
10
  import { css } from '@emotion/react';
11
- import { logicalCSS, mathWithUnits, euiTextShift, euiTextTruncate } from '../../global_styling';
11
+ import { isEuiThemeRefreshVariant } from '../../services';
12
+ import { logicalCSS, mathWithUnits, euiTextShift, euiTextTruncate, highContrastModeStyles, preventForcedColors, euiButtonEmptyColor } from '../../global_styling';
13
+ import { cssSupportsHasWithNextSibling } from '../../global_styling/functions/supports';
12
14
  import { euiFormVariables } from '../form/form.styles';
13
- export var euiFilterButtonDisplay = function euiFilterButtonDisplay(_ref4) {
14
- var euiTheme = _ref4.euiTheme;
15
+ export var euiFilterButtonDisplay = function euiFilterButtonDisplay(euiThemeContext) {
16
+ var euiTheme = euiThemeContext.euiTheme;
17
+ var isRefreshVariant = isEuiThemeRefreshVariant(euiThemeContext, 'buttonVariant');
15
18
  return {
16
19
  flex: '1 1 auto',
17
20
  minInlineSize: mathWithUnits(euiTheme.size.base, function (x) {
18
- return x * 3;
21
+ return x * (isRefreshVariant ? 2.75 : 3);
19
22
  })
20
23
  };
21
24
  };
@@ -29,9 +32,11 @@ var _ref3 = process.env.NODE_ENV === "production" ? {
29
32
  };
30
33
  export var euiFilterButtonStyles = function euiFilterButtonStyles(euiThemeContext) {
31
34
  var euiTheme = euiThemeContext.euiTheme;
35
+ var isRefreshVariant = isEuiThemeRefreshVariant(euiThemeContext, 'buttonVariant');
32
36
  var _euiFormVariables = euiFormVariables(euiThemeContext),
33
37
  controlHeight = _euiFormVariables.controlHeight,
34
38
  borderColor = _euiFormVariables.borderColor;
39
+ var selectedSelector = '.euiFilterButton-isSelected';
35
40
  var border = "".concat(euiTheme.border.width.thin, " solid ").concat(borderColor);
36
41
 
37
42
  // Pseudo elements create borders without affecting width. We also prefer them
@@ -39,14 +44,44 @@ export var euiFilterButtonStyles = function euiFilterButtonStyles(euiThemeContex
39
44
  var leftBorder = "\n &::before {\n content: '';\n position: absolute;\n ".concat(logicalCSS('right', '100%'), "\n ").concat(logicalCSS('vertical', 0), "\n ").concat(logicalCSS('border-left', border), "\n }\n ");
40
45
  // Bottom borders are needed for responsive flex-wrap behavior
41
46
  var bottomBorder = "\n &::after {\n content: '';\n position: absolute;\n ".concat(logicalCSS('top', '100%'), "\n ").concat(logicalCSS('horizontal', 0), "\n ").concat(logicalCSS('border-bottom', border), "\n }\n ");
47
+ var buttonStyles = isRefreshVariant ? "\n ".concat(logicalCSS('width', '100%'), "\n\n &:not(").concat(selectedSelector, ") {\n &:hover,\n &:active {\n .euiFilterButton__notification[class*=\"subdued\"] {\n background-color: ").concat(euiTheme.components.filterButtonBadgeBackgroundHover, "\n }\n }\n }\n ") : "\n ".concat(logicalCSS('height', controlHeight), "\n border-radius: 0;\n ").concat(leftBorder, "\n ").concat(bottomBorder, "\n\n /* :not(:disabled) specificity needed to override EuiButtonEmpty styles */\n &:hover:not(:disabled),\n &:focus:not(:disabled) {\n /* Remove underline from whole button so notifications don't get the underline */\n text-decoration: none;\n\n .euiFilterButton__text {\n /* And put it only on the actual text part */\n text-decoration: underline;\n }\n }\n ");
48
+ var toggleTypeStyles = isRefreshVariant ? "\n ".concat(euiFilterButtonDisplay(euiThemeContext), ";\n\n ").concat(highContrastModeStyles(euiThemeContext, {
49
+ forced: "\n &:is(".concat(selectedSelector, ") {\n ").concat(preventForcedColors(euiThemeContext), "\n color: ").concat(euiTheme.colors.emptyShade, ";\n background-color: ").concat(euiTheme.colors.fullShade, ";\n }\n ")
50
+ }), "\n ") : "\n font-weight: ".concat(euiTheme.font.weight.medium, ";\n padding: 0;\n\n &:is(").concat(selectedSelector, ") {\n color: ").concat(euiButtonEmptyColor(euiThemeContext, 'text').color, ";\n background-color: transparent;\n font-weight: ").concat(euiTheme.font.weight.bold, ";\n }\n ");
51
+ var withNextSelector = isRefreshVariant ? '& + .euiFilterButton__wrapper' : '.euiFilterButton__wrapper:has(&) + .euiFilterButton__wrapper';
52
+ // handles display of borders between buttons
53
+ var withNextStyles = isRefreshVariant ? "\n &::before {\n border: none;\n }\n\n ".concat(cssSupportsHasWithNextSibling("\n &:has(+ :not(&)) {\n ".concat(logicalCSS('padding-right', '0'), "\n }\n ")), "\n ") : "\n .euiFilterButton {\n &::before {\n border: none;\n }\n }\n ";
42
54
  return {
43
- euiFilterButton: /*#__PURE__*/css("position:relative;", euiFilterButtonDisplay(euiThemeContext), " ", logicalCSS('height', controlHeight), " border-radius:0;", leftBorder, " ", bottomBorder, "&:hover:not(:disabled),&:focus:not(:disabled){text-decoration:none;.euiFilterButton__text{text-decoration:underline;}}&:focus-visible{outline-offset:-", euiTheme.focus.width, ";};label:euiFilterButton;"),
44
- withNext: /*#__PURE__*/css("&+.euiFilterButton{", logicalCSS('margin-left', "-".concat(euiTheme.size.xs)), "&::before{display:none;}};label:withNext;"),
55
+ euiFilterButton: /*#__PURE__*/css(!isRefreshVariant && euiFilterButtonDisplay(euiThemeContext), ";position:relative;", buttonStyles, ";;label:euiFilterButton;"),
56
+ buttonType: {
57
+ default: /*#__PURE__*/css(isRefreshVariant && "\n border-radius: 0;\n\n &:focus-visible {\n z-index: 1;\n outline-offset: -".concat(euiTheme.border.width.thick, ";\n border-radius: ").concat(euiTheme.border.radius.small, ";\n transition: none;\n }\n "), ";;label:default;"),
58
+ toggle: /*#__PURE__*/css("&:focus-visible{outline-offset:", mathWithUnits(euiTheme.focus.width, function (x) {
59
+ return isRefreshVariant ? x / 2 : x * -1;
60
+ }), ";}", toggleTypeStyles, ";;label:toggle;")
61
+ },
62
+ withNext: /*#__PURE__*/css(withNextSelector, "{", logicalCSS('margin-left', "-".concat(euiTheme.size.xs)), withNextStyles, ";};label:withNext;"),
45
63
  noGrow: _ref3,
46
64
  hasNotification: /*#__PURE__*/css(logicalCSS('min-width', mathWithUnits(euiTheme.size.base, function (x) {
47
65
  return x * 6;
48
66
  })), ";;label:hasNotification;"),
49
- hasActiveFilters: /*#__PURE__*/css("font-weight:", euiTheme.font.weight.bold, ";;label:hasActiveFilters;")
67
+ hasActiveFilters: /*#__PURE__*/css("font-weight:", isRefreshVariant ? euiTheme.font.weight.regular : euiTheme.font.weight.bold, ";;label:hasActiveFilters;")
68
+ };
69
+ };
70
+ export var euiFilterButtonWrapperStyles = function euiFilterButtonWrapperStyles(euiThemeContext) {
71
+ var euiTheme = euiThemeContext.euiTheme;
72
+ var isRefreshVariant = isEuiThemeRefreshVariant(euiThemeContext, 'buttonVariant');
73
+ var _euiFormVariables2 = euiFormVariables(euiThemeContext),
74
+ borderColor = _euiFormVariables2.borderColor;
75
+ var border = "".concat(euiTheme.border.width.thin, " solid ").concat(borderColor);
76
+
77
+ // Pseudo elements create borders without affecting width. We also prefer them
78
+ // over box-shadow for Windows high contrast theme compatibility
79
+ var leftBorder = "\n &::before {\n content: '';\n position: absolute;\n inset: 0;\n ".concat(logicalCSS('border-left', border), "\n\n pointer-events: none;\n }\n ");
80
+ // Bottom borders are needed for responsive flex-wrap behavior
81
+ var bottomBorder = "\n &::after {\n content: '';\n position: absolute;\n inset: 0;\n ".concat(logicalCSS('border-bottom', border), "\n pointer-events: none;\n }\n ");
82
+ return {
83
+ wrapper: /*#__PURE__*/css(euiFilterButtonDisplay(euiThemeContext), " position:relative;display:flex;align-items:center;", isRefreshVariant && "\n ".concat(leftBorder, "\n ").concat(bottomBorder, "\n "), " ", logicalCSS('padding-vertical', euiTheme.border.width.thin), ";;label:wrapper;"),
84
+ hasToggle: /*#__PURE__*/css(logicalCSS('padding-horizontal', isRefreshVariant ? euiTheme.border.width.thin : '0'), cssSupportsHasWithNextSibling("\n &:not([class*=\"withNext\"]):has(+ :not(&)) {\n ".concat(logicalCSS('padding-right', '0'), "\n }\n ")), ";;label:hasToggle;")
50
85
  };
51
86
  };
52
87
  var _ref = process.env.NODE_ENV === "production" ? {
@@ -58,24 +93,25 @@ var _ref = process.env.NODE_ENV === "production" ? {
58
93
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
59
94
  };
60
95
  var _ref2 = process.env.NODE_ENV === "production" ? {
61
- name: "nd1u8j-euiFilterButton__notification",
62
- styles: "cursor:inherit;label:euiFilterButton__notification;"
96
+ name: "zxesfz-euiFilterButton__notification",
97
+ styles: "cursor:inherit;forced-color-adjust:auto;&{transition:none;};label:euiFilterButton__notification;"
63
98
  } : {
64
- name: "nd1u8j-euiFilterButton__notification",
65
- styles: "cursor:inherit;label:euiFilterButton__notification;",
99
+ name: "zxesfz-euiFilterButton__notification",
100
+ styles: "cursor:inherit;forced-color-adjust:auto;&{transition:none;};label:euiFilterButton__notification;",
66
101
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
67
102
  };
68
- export var euiFilterButtonChildStyles = function euiFilterButtonChildStyles(_ref5) {
69
- var euiTheme = _ref5.euiTheme;
103
+ export var euiFilterButtonChildStyles = function euiFilterButtonChildStyles(euiThemeContext) {
104
+ var euiTheme = euiThemeContext.euiTheme;
105
+ var isRefreshVariant = isEuiThemeRefreshVariant(euiThemeContext, 'buttonVariant');
70
106
  return {
71
107
  content: {
72
- euiFilterButton__content: /*#__PURE__*/css(";label:euiFilterButton__content;"),
108
+ euiFilterButton__content: /*#__PURE__*/css(isRefreshVariant && "\n .euiThemeProvider {\n display: inline-flex;\n }\n ", ";;label:euiFilterButton__content;"),
73
109
  hasIcon: /*#__PURE__*/css("&>.euiIcon:last-child{", logicalCSS('margin-left', 'auto'), ";};label:hasIcon;")
74
110
  },
75
111
  text: {
76
112
  euiFilterButton__text: /*#__PURE__*/css(euiTextShift('bold', 'data-text', euiTheme), " ", euiTextTruncate(), ";;label:euiFilterButton__text;"),
77
113
  hasNotification: /*#__PURE__*/css(logicalCSS('min-width', mathWithUnits(euiTheme.size.base, function (x) {
78
- return x * 3;
114
+ return x * (isRefreshVariant ? 2 : 3);
79
115
  })), ";;label:hasNotification;")
80
116
  },
81
117
  notification: {
@@ -8,6 +8,7 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
8
8
  */
9
9
 
10
10
  import { css } from '@emotion/react';
11
+ import { isEuiThemeRefreshVariant } from '../../services';
11
12
  import { logicalCSS, mathWithUnits, euiBreakpoint } from '../../global_styling';
12
13
  import { highContrastModeStyles } from '../../global_styling/functions/high_contrast';
13
14
  import { euiFormVariables } from '../form/form.styles';
@@ -22,20 +23,31 @@ var _ref = process.env.NODE_ENV === "production" ? {
22
23
  };
23
24
  export var euiFilterGroupStyles = function euiFilterGroupStyles(euiThemeContext) {
24
25
  var euiTheme = euiThemeContext.euiTheme;
26
+ var isRefreshVariant = isEuiThemeRefreshVariant(euiThemeContext, 'buttonVariant');
25
27
  var _euiFormVariables = euiFormVariables(euiThemeContext),
26
28
  backgroundColor = _euiFormVariables.backgroundColor,
27
29
  borderColor = _euiFormVariables.borderColor,
28
30
  controlBorderRadius = _euiFormVariables.controlBorderRadius,
31
+ controlHeight = _euiFormVariables.controlHeight,
29
32
  controlCompressedBorderRadius = _euiFormVariables.controlCompressedBorderRadius,
30
33
  controlCompressedHeight = _euiFormVariables.controlCompressedHeight;
34
+ var borderRadius = isRefreshVariant ? euiTheme.border.radius.small : controlBorderRadius;
35
+ var borderRadiusCompressed = isRefreshVariant ? euiTheme.border.radius.small : controlCompressedBorderRadius;
36
+ var borderStyle = isRefreshVariant ? "\n /* Adds the border on a pseudo element to prevent height differences between wrapper and buttons.\n Uses ::after to ensure overlap and prevents blocking by setting pointer-events: none */\n &::after {\n content: '';\n position: absolute;\n inset: 0;\n border: ".concat(euiTheme.border.width.thin, " solid ").concat(euiTheme.colors.borderBasePlain, ";\n border-radius: inherit;\n pointer-events: none;\n }\n ") : "\n ".concat(highContrastModeStyles(euiThemeContext, {
37
+ none: "box-shadow: inset 0 0 0 ".concat(euiTheme.border.width.thin, " ").concat(borderColor, ";"),
38
+ forced: "border: ".concat(euiTheme.border.thin, ";")
39
+ }), "\n ");
31
40
  return {
32
- euiFilterGroup: /*#__PURE__*/css("display:inline-flex;", logicalCSS('max-width', '100%'), " overflow:hidden;background-color:", backgroundColor, ";", highContrastModeStyles(euiThemeContext, {
33
- none: "box-shadow: inset 0 0 0 ".concat(euiTheme.border.width.thin, " ").concat(borderColor, ";"),
34
- forced: "border: ".concat(euiTheme.border.thin, ";")
35
- }), ">*:not(.euiFilterButton){", euiFilterButtonDisplay(euiThemeContext), ";}.euiPopover>.euiFilterButton{", logicalCSS('width', '100%'), ";}", euiBreakpoint(euiThemeContext, ['xs', 's']), "{flex-wrap:wrap;}", euiBreakpoint(euiThemeContext, ['xs']), "{display:flex;.euiFilterButton{flex-grow:1;}};label:euiFilterGroup;"),
41
+ euiFilterGroup: /*#__PURE__*/css(isRefreshVariant && "position: relative;", " display:inline-flex;", logicalCSS('max-width', '100%'), " overflow:hidden;background-color:", backgroundColor, ";", borderStyle, ">*:not(.euiFilterButton__wrapper, .euiFilterButton){", euiFilterButtonDisplay(euiThemeContext), ";}.euiPopover>.euiFilterButton{", logicalCSS('width', '100%'), ";}", euiBreakpoint(euiThemeContext, ['xs', 's']), "{flex-wrap:wrap;}", euiBreakpoint(euiThemeContext, ['xs']), "{display:flex;", isRefreshVariant && "\n .euiPopover:focus-within {\n z-index: 1;\n }\n \n .euiFilterButton__wrapper {\n flex-grow: 1;\n }\n ", ";.euiFilterButton__wrapper{flex-grow:1;}};label:euiFilterGroup;"),
36
42
  fullWidth: _ref,
37
- uncompressed: /*#__PURE__*/css("border-radius:", controlBorderRadius, ";", buttonChildrenBorderRadii(controlBorderRadius), ";;label:uncompressed;"),
38
- compressed: /*#__PURE__*/css("border-radius:", controlCompressedBorderRadius, ";", buttonChildrenBorderRadii(controlCompressedBorderRadius), " .euiFilterButton{", logicalCSS('height', controlCompressedHeight), ";};label:compressed;"),
43
+ uncompressed: /*#__PURE__*/css("border-radius:", borderRadius, ";.euiFilterButton__wrapper{", logicalCSS('height', controlHeight), ";}.euiFilterButton{", logicalCSS('height', controlHeight), ";}", !isRefreshVariant && buttonChildrenBorderRadii(borderRadius), " ", isRefreshVariant && "\n .euiFilterButton-isToggle {\n ".concat(logicalCSS('height', mathWithUnits([controlHeight, euiTheme.size.xxs], function (x, y) {
44
+ return x - 3 * y;
45
+ })), "\n }\n "), ";;label:uncompressed;"),
46
+ compressed: /*#__PURE__*/css("border-radius:", borderRadiusCompressed, ";", !isRefreshVariant && buttonChildrenBorderRadii(borderRadiusCompressed), " .euiFilterButton{", logicalCSS('height', isRefreshVariant ? mathWithUnits([controlCompressedHeight, euiTheme.border.width.thin], function (x, y) {
47
+ return x - 2 * y;
48
+ }) : controlCompressedHeight), ";}", isRefreshVariant && "\n .euiFilterButton-isToggle {\n ".concat(logicalCSS('height', mathWithUnits([controlCompressedHeight, euiTheme.size.xxs], function (x, y) {
49
+ return x - 3 * y;
50
+ })), "\n }\n "), ";;label:compressed;"),
39
51
  /**
40
52
  * Not used in EuiFilterGroup directly, but used by EuiSearchBar and consumers
41
53
  * A fixed width is required because of the shift in widths that can be caused
@@ -691,7 +691,7 @@ EuiDualRangeClass.propTypes = {
691
691
  tickInterval: PropTypes.number,
692
692
  /**
693
693
  * Create colored indicators for certain intervals.
694
- * An array of #EuiRangeLevel objects
694
+ * An array of {@link EuiRangeLevel} objects
695
695
  */
696
696
  levels: PropTypes.arrayOf(PropTypes.shape({
697
697
  /**
@@ -329,7 +329,7 @@ EuiRangeClass.propTypes = {
329
329
  tickInterval: PropTypes.number,
330
330
  /**
331
331
  * Create colored indicators for certain intervals.
332
- * An array of #EuiRangeLevel objects
332
+ * An array of {@link EuiRangeLevel} objects
333
333
  */
334
334
  levels: PropTypes.arrayOf(PropTypes.shape({
335
335
  /**
@@ -134,7 +134,7 @@ EuiRangeTrack.propTypes = {
134
134
  tickInterval: PropTypes.number,
135
135
  /**
136
136
  * Create colored indicators for certain intervals.
137
- * An array of #EuiRangeLevel objects
137
+ * An array of {@link EuiRangeLevel} objects
138
138
  */
139
139
  levels: PropTypes.arrayOf(PropTypes.shape({
140
140
  /**
@@ -88,7 +88,7 @@ export var EuiSelect = function EuiSelect(props) {
88
88
  value: value,
89
89
  onMouseUp: handleMouseUp,
90
90
  disabled: disabled
91
- }, rest), hasNoInitialSelection && ___EmotionJSX("option", {
91
+ }, rest), hasNoInitialSelection && value === '' && ___EmotionJSX("option", {
92
92
  value: "",
93
93
  disabled: true,
94
94
  hidden: true,
@@ -99,23 +99,23 @@ EuiHeader.propTypes = {
99
99
  "data-test-subj": PropTypes.string,
100
100
  css: PropTypes.any,
101
101
  /**
102
- * An array of objects to wrap in a #EuiHeaderSection.
102
+ * An array of objects to wrap in a {@link EuiHeaderSection}.
103
103
  * Each section is spaced using `space-between`.
104
- * See #EuiHeaderSections for object details.
104
+ * See {@link EuiHeaderSections} for object details.
105
105
  * This prop disregards the prop `children` if both are passed.
106
106
  */
107
107
  sections: PropTypes.arrayOf(PropTypes.shape({
108
108
  /**
109
- * An array of items that will be wrapped in a #EuiHeaderSectionItem
109
+ * An array of items that will be wrapped in a {@link EuiHeaderSectionItem}
110
110
  */
111
111
  items: PropTypes.arrayOf(PropTypes.node.isRequired),
112
112
  /**
113
- * Breadcrumbs in the header cannot be wrapped in a #EuiHeaderSection in order for truncation to work.
113
+ * Breadcrumbs in the header cannot be wrapped in a {@link EuiHeaderSection} in order for truncation to work.
114
114
  * Simply pass the array of EuiBreadcrumb objects
115
115
  */
116
116
  breadcrumbs: PropTypes.arrayOf(PropTypes.any.isRequired),
117
117
  /**
118
- * Other props to pass to #EuiHeaderBreadcrumbs
118
+ * Other props to pass to {@link EuiHeaderBreadcrumbs}
119
119
  */
120
120
  breadcrumbProps: PropTypes.any
121
121
  }).isRequired),
@@ -187,23 +187,23 @@ EuiFixedHeader.propTypes = {
187
187
  "data-test-subj": PropTypes.string,
188
188
  css: PropTypes.any,
189
189
  /**
190
- * An array of objects to wrap in a #EuiHeaderSection.
190
+ * An array of objects to wrap in a {@link EuiHeaderSection}.
191
191
  * Each section is spaced using `space-between`.
192
- * See #EuiHeaderSections for object details.
192
+ * See {@link EuiHeaderSections} for object details.
193
193
  * This prop disregards the prop `children` if both are passed.
194
194
  */
195
195
  sections: PropTypes.arrayOf(PropTypes.shape({
196
196
  /**
197
- * An array of items that will be wrapped in a #EuiHeaderSectionItem
197
+ * An array of items that will be wrapped in a {@link EuiHeaderSectionItem}
198
198
  */
199
199
  items: PropTypes.arrayOf(PropTypes.node.isRequired),
200
200
  /**
201
- * Breadcrumbs in the header cannot be wrapped in a #EuiHeaderSection in order for truncation to work.
201
+ * Breadcrumbs in the header cannot be wrapped in a {@link EuiHeaderSection} in order for truncation to work.
202
202
  * Simply pass the array of EuiBreadcrumb objects
203
203
  */
204
204
  breadcrumbs: PropTypes.arrayOf(PropTypes.any.isRequired),
205
205
  /**
206
- * Other props to pass to #EuiHeaderBreadcrumbs
206
+ * Other props to pass to {@link EuiHeaderBreadcrumbs}
207
207
  */
208
208
  breadcrumbProps: PropTypes.any
209
209
  }).isRequired),
@@ -39,7 +39,7 @@ EuiHeaderBreadcrumbs.propTypes = {
39
39
  css: PropTypes.any,
40
40
  /**
41
41
  * Hides extra (above the max) breadcrumbs under a collapsed item as the window gets smaller.
42
- * Pass a custom #EuiBreadcrumbResponsiveMaxCount object to change the number of breadcrumbs to show at the particular breakpoints.
42
+ * Pass a custom {@link EuiBreadcrumbResponsiveMaxCount} object to change the number of breadcrumbs to show at the particular breakpoints.
43
43
  *
44
44
  * Pass `false` to turn this behavior off.
45
45
  *
@@ -59,7 +59,7 @@ EuiHeaderBreadcrumbs.propTypes = {
59
59
  */
60
60
  max: PropTypes.oneOfType([PropTypes.number.isRequired, PropTypes.oneOf([null])]),
61
61
  /**
62
- * The array of individual #EuiBreadcrumb items
62
+ * The array of individual {@link EuiBreadcrumb} items
63
63
  */
64
64
  breadcrumbs: PropTypes.arrayOf(PropTypes.shape({
65
65
  className: PropTypes.string,
@@ -158,7 +158,7 @@ EuiHeaderBreadcrumbs.propTypes = {
158
158
  */
159
159
  panelStyle: PropTypes.any,
160
160
  /**
161
- * Object of props passed to EuiPanel. See #EuiPopoverPanelProps
161
+ * Object of props passed to EuiPanel. See {@link EuiPopoverPanelProps}
162
162
  */
163
163
  panelProps: PropTypes.shape({
164
164
  element: PropTypes.oneOf(["div"]),
@@ -195,7 +195,7 @@ EuiHeaderLinks.propTypes = {
195
195
  */
196
196
  panelStyle: PropTypes.any,
197
197
  /**
198
- * Object of props passed to EuiPanel. See #EuiPopoverPanelProps
198
+ * Object of props passed to EuiPanel. See {@link EuiPopoverPanelProps}
199
199
  */
200
200
  panelProps: PropTypes.shape({
201
201
  element: PropTypes.oneOf(["div"]),
@@ -29,29 +29,35 @@ var EuiIconLogoElastic = function EuiIconLogoElastic(_ref) {
29
29
  }, props), title ? ___EmotionJSX("title", {
30
30
  id: titleId
31
31
  }, title) : null, ___EmotionJSX("path", {
32
- fill: "#fff",
33
- fillRule: "evenodd",
34
- d: "M30.86 13.129A6.333 6.333 0 0 1 32 16.77a6.419 6.419 0 0 1-1.162 3.652 6.382 6.382 0 0 1-3.032 2.331 4.833 4.833 0 0 1-1.672 5.542 4.789 4.789 0 0 1-5.77-.074 9.016 9.016 0 0 1-4.5 3.322 8.982 8.982 0 0 1-5.587.023 9.014 9.014 0 0 1-4.526-3.287 9.067 9.067 0 0 1-1.727-5.333c0-.579.053-1.156.16-1.725A6.305 6.305 0 0 1 1.145 18.9 6.341 6.341 0 0 1 0 15.242a6.42 6.42 0 0 1 1.163-3.652 6.384 6.384 0 0 1 3.035-2.33 4.833 4.833 0 0 1 1.658-5.557 4.789 4.789 0 0 1 5.78.07 9.037 9.037 0 0 1 4.93-3.446 9.007 9.007 0 0 1 5.994.419 9.05 9.05 0 0 1 4.407 4.098 9.097 9.097 0 0 1 .873 5.965 6.298 6.298 0 0 1 3.02 2.32Zm-18.28.658 7.002 3.211 7.066-6.213a7.85 7.85 0 0 0 .152-1.557c0-1.692-.539-3.34-1.54-4.704a7.897 7.897 0 0 0-4.02-2.869 7.87 7.87 0 0 0-4.932.086 7.9 7.9 0 0 0-3.92 3.007l-1.174 6.118 1.367 2.92-.001.001Zm-7.247 7.441A7.964 7.964 0 0 0 6.72 27.53a7.918 7.918 0 0 0 4.04 2.874 7.89 7.89 0 0 0 4.95-.097 7.92 7.92 0 0 0 3.926-3.03l1.166-6.102-1.555-2.985-7.03-3.211-6.885 6.248.001.001Zm4.755-11.024-4.8-1.137.002-.002a3.82 3.82 0 0 1 1.312-4.358 3.785 3.785 0 0 1 4.538.023l-1.052 5.474Zm-5.216.01a5.294 5.294 0 0 0-2.595 1.882 5.324 5.324 0 0 0-.142 6.124 5.287 5.287 0 0 0 2.505 2l6.733-6.101-1.235-2.65-5.266-1.255Zm18.286 17.848a3.737 3.737 0 0 1-2.285-.785l1.037-5.454 4.8 1.125a3.812 3.812 0 0 1-1.801 4.68c-.54.283-1.14.432-1.751.434Zm-1.31-7.499 5.28 1.238a5.34 5.34 0 0 0 2.622-1.938 5.37 5.37 0 0 0 1.013-3.106 5.311 5.311 0 0 0-.936-3.01 5.282 5.282 0 0 0-2.475-1.944l-6.904 6.07 1.4 2.69Z",
35
- className: "outline",
36
- clipRule: "evenodd"
32
+ fill: "#0B64DD",
33
+ stroke: "#fff",
34
+ strokeWidth: 1.2,
35
+ d: "M27.565 11.242c5.1 1.94 4.872 9.396-.245 11.127l-.162.055-.167-.039-5.28-1.238-.268-.063-.127-.244-1.4-2.69-.217-.417.352-.31 6.904-6.07.272-.24.338.13Z"
37
36
  }), ___EmotionJSX("path", {
38
- fill: "#FEC514",
39
- d: "m12.58 13.787 7.002 3.211 7.066-6.213a7.849 7.849 0 0 0 .152-1.557c0-1.692-.539-3.34-1.54-4.704a7.897 7.897 0 0 0-4.02-2.869 7.87 7.87 0 0 0-4.932.086 7.9 7.9 0 0 0-3.92 3.007l-1.174 6.118 1.367 2.92-.001.001Z"
37
+ fill: "#9ADC30",
38
+ stroke: "#fff",
39
+ strokeWidth: 1.2,
40
+ d: "m22.047 21.239 4.8 1.125.316.074.11.304.066.19c.623 1.964-.26 3.78-1.652 4.797-1.434 1.048-3.51 1.32-5.182.022l-.29-.225.069-.361 1.037-5.454.117-.615.61.143Z"
40
41
  }), ___EmotionJSX("path", {
41
- fill: "#00BFB3",
42
- d: "M5.333 21.228A7.964 7.964 0 0 0 6.72 27.53a7.918 7.918 0 0 0 4.04 2.874 7.89 7.89 0 0 0 4.95-.097 7.92 7.92 0 0 0 3.926-3.03l1.166-6.102-1.555-2.985-7.03-3.211-6.885 6.248.001.001Z"
42
+ fill: "#1BA9F5",
43
+ stroke: "#fff",
44
+ strokeWidth: 1.2,
45
+ d: "m5.01 9.63 5.267 1.255.283.067.122.264 1.235 2.65.187.4-.328.298-6.733 6.1-.272.248-.345-.132C1.939 19.83.72 17.456.752 15.153c.032-2.308 1.321-4.644 3.932-5.508l.162-.054.165.039Z"
43
46
  }), ___EmotionJSX("path", {
44
47
  fill: "#F04E98",
45
- d: "m5.288 9.067 4.8 1.137L11.14 4.73a3.785 3.785 0 0 0-5.914 1.94 3.82 3.82 0 0 0 .064 2.395"
48
+ stroke: "#fff",
49
+ strokeWidth: 1.2,
50
+ d: "M6.281 4.32c1.416-1.08 3.48-1.387 5.222-.069l.297.226-.07.366-1.053 5.474-.118.615-.609-.144-4.8-1.137-.316-.075-.11-.306c-.709-1.967.149-3.876 1.557-4.95Z"
46
51
  }), ___EmotionJSX("path", {
47
- fill: "#1BA9F5",
48
- d: "M4.872 10.214a5.294 5.294 0 0 0-2.595 1.882 5.324 5.324 0 0 0-.142 6.124 5.287 5.287 0 0 0 2.505 2l6.733-6.101-1.235-2.65-5.266-1.255Z"
52
+ fill: "#02BCB7",
53
+ stroke: "#fff",
54
+ strokeWidth: 1.2,
55
+ d: "m12.466 14.433 7.03 3.211.188.086.095.183 1.555 2.985.096.184-.04.206-1.165 6.101-.024.122-.068.103c-2.68 3.958-6.902 4.71-10.268 3.26-3.356-1.447-5.834-5.07-5.126-9.736l.033-.21.158-.144 6.884-6.25.293-.265.36.164Z"
49
56
  }), ___EmotionJSX("path", {
50
- fill: "#93C90E",
51
- d: "M20.873 27.277a3.736 3.736 0 0 0 2.285.785 3.783 3.783 0 0 0 3.101-1.63 3.812 3.812 0 0 0 .451-3.484l-4.8-1.125-1.037 5.454Z"
52
- }), ___EmotionJSX("path", {
53
- fill: "#07C",
54
- d: "m21.848 20.563 5.28 1.238a5.34 5.34 0 0 0 2.622-1.938 5.37 5.37 0 0 0 1.013-3.106 5.312 5.312 0 0 0-.936-3.01 5.283 5.283 0 0 0-2.475-1.944l-6.904 6.07 1.4 2.69Z"
57
+ fill: "#FEC514",
58
+ stroke: "#fff",
59
+ strokeWidth: 1.2,
60
+ d: "M11.892 4.41C14.438.676 18.741.105 22.134 1.54c3.392 1.433 5.99 4.92 5.102 9.362l-.039.2-.153.133-7.066 6.213-.293.258-.353-.163-7.002-3.21-.201-.093-.094-.2-1.38-2.988-.081-.177.037-.19L11.8 4.633l.023-.121.07-.102Z"
55
61
  }));
56
62
  };
57
63
  export var icon = EuiIconLogoElastic;
@@ -59,7 +59,7 @@ export var euiIconStyles = function euiIconStyles(_ref3) {
59
59
  xxl: /*#__PURE__*/css(logicalSizeCSS(euiTheme.size.xxl), ";label:xxl;"),
60
60
  // Variants
61
61
  // App icons are two-toned. This provides the base color.
62
- app: /*#__PURE__*/css("fill:", euiTheme.colors.textParagraph, ";.euiIcon__fillSecondary{fill:", euiTheme.colors.textSuccess, ";};label:app;"),
62
+ app: /*#__PURE__*/css("fill:", euiTheme.colors.textParagraph, ";.euiIcon__fillSecondary{fill:", euiTheme.colors.primary, ";};label:app;"),
63
63
  logo: /*#__PURE__*/css(";label:logo;"),
64
64
  // Loading states
65
65
  isLoading: /*#__PURE__*/css("opacity:", iconLoadingOpacity, ";background-color:currentColor;border-radius:", euiTheme.border.radius.small, ";;label:isLoading;"),
@@ -51,7 +51,7 @@ EuiKeyPadMenu.propTypes = {
51
51
  css: PropTypes.any,
52
52
  /**
53
53
  * Renders the the group as a `fieldset`.
54
- * Set to `true` to customize the labelling, or pass an #_EuiKeyPadMenuCheckableProps object to add a `legend` or `ariaLegend`
54
+ * Set to `true` to customize the labelling, or pass an {@link _EuiKeyPadMenuCheckableProps} object to add a `legend` or `ariaLegend`
55
55
  */
56
56
  checkable: PropTypes.oneOfType([PropTypes.shape({
57
57
  /**
@@ -109,7 +109,7 @@ EuiListGroup.propTypes = {
109
109
  */
110
110
  gutterSize: PropTypes.any,
111
111
  /**
112
- * Items to display in this group. See #EuiListGroupItem
112
+ * Items to display in this group. See {@link EuiListGroupItem}
113
113
  */
114
114
  listItems: PropTypes.arrayOf(PropTypes.shape({
115
115
  className: PropTypes.string,
@@ -167,7 +167,7 @@ EuiListGroup.propTypes = {
167
167
  */
168
168
  showToolTip: PropTypes.bool,
169
169
  /**
170
- * An object of #EuiListGroupItemExtraAction props.
170
+ * An object of {@link EuiListGroupItemExtraAction} props.
171
171
  * Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
172
172
  * pass `alwaysShow` if you don't want the default behavior of only showing on hover
173
173
  */
@@ -252,7 +252,7 @@ EuiListGroupItem.propTypes = {
252
252
  */
253
253
  showToolTip: PropTypes.bool,
254
254
  /**
255
- * An object of #EuiListGroupItemExtraAction props.
255
+ * An object of {@link EuiListGroupItemExtraAction} props.
256
256
  * Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
257
257
  * pass `alwaysShow` if you don't want the default behavior of only showing on hover
258
258
  */
@@ -84,11 +84,11 @@ export var EuiPinnableListGroup = function EuiPinnableListGroup(_ref) {
84
84
  };
85
85
  EuiPinnableListGroup.propTypes = {
86
86
  /**
87
- * Items to display in this group. See #EuiListGroupItem
87
+ * Items to display in this group. See {@link EuiListGroupItem}
88
88
  */
89
89
  /**
90
90
  * Extends `EuiListGroupItemProps`, at the very least, expecting a `label`.
91
- * See #EuiPinnableListGroupItemProps
91
+ * See {@link EuiPinnableListGroupItemProps}
92
92
  */
93
93
  listItems: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.shape({
94
94
  className: PropTypes.string,
@@ -146,7 +146,7 @@ EuiPinnableListGroup.propTypes = {
146
146
  */
147
147
  showToolTip: PropTypes.bool,
148
148
  /**
149
- * An object of #EuiListGroupItemExtraAction props.
149
+ * An object of {@link EuiListGroupItemExtraAction} props.
150
150
  * Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
151
151
  * pass `alwaysShow` if you don't want the default behavior of only showing on hover
152
152
  */
@@ -289,7 +289,7 @@ EuiPinnableListGroup.propTypes = {
289
289
  */
290
290
  showToolTip: PropTypes.bool,
291
291
  /**
292
- * An object of #EuiListGroupItemExtraAction props.
292
+ * An object of {@link EuiListGroupItemExtraAction} props.
293
293
  * Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
294
294
  * pass `alwaysShow` if you don't want the default behavior of only showing on hover
295
295
  */
@@ -10,7 +10,7 @@ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.fre
10
10
 
11
11
  import { css, keyframes } from '@emotion/react';
12
12
  import { euiCanAnimate } from '../../global_styling';
13
- var loadingElastic = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n 0% {\n transform: scale3d(.2, .2, -.7);\n opacity: .2;\n }\n\n 40% {\n transform: scale3d(1, 1, 2);\n opacity: 1;\n }\n\n 50% {\n transform: scale3d(.99, .99, 2);\n }\n\n 70% {\n transform: scale3d(.96, .96, -2.5);\n }\n\n 100% {\n transform: scale3d(.98, .98, 2);\n }\n"])));
13
+ var loadingElastic = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n 0% {\n transform: scale3d(.2, .2, -.7);\n }\n\n 40% {\n transform: scale3d(1, 1, 2);\n }\n\n 50% {\n transform: scale3d(.99, .99, 2);\n }\n\n 70% {\n transform: scale3d(.96, .96, -2.5);\n }\n\n 100% {\n transform: scale3d(.98, .98, 2);\n }\n"])));
14
14
  export var euiLoadingElasticStyles = {
15
- euiLoadingElastic: /*#__PURE__*/css("position:relative;display:inline-block;& path{", euiCanAnimate, "{animation-name:", loadingElastic, ";animation-fill-mode:forwards;animation-direction:alternate;transform-style:preserve-3d;animation-duration:1s;animation-timing-function:cubic-bezier(0, 0.63, 0.49, 1);animation-iteration-count:infinite;transform-origin:50% 50%;}&:nth-of-type(1){display:none;}&:nth-of-type(2){animation-delay:0.035s;}&:nth-of-type(3){animation-delay:0.125s;}&:nth-of-type(4){animation-delay:0.155s;}&:nth-of-type(5){animation-delay:0.075s;}&:nth-of-type(6){animation-delay:0.06s;}};label:euiLoadingElastic;")
15
+ euiLoadingElastic: /*#__PURE__*/css("position:relative;display:inline-block;& path{", euiCanAnimate, "{animation-name:", loadingElastic, ";animation-fill-mode:forwards;animation-direction:alternate;transform-style:preserve-3d;animation-duration:1s;animation-timing-function:cubic-bezier(0, 0.63, 0.49, 1);animation-iteration-count:infinite;transform-origin:50% 50%;}&:nth-of-type(1){animation-delay:0;}&:nth-of-type(2){animation-delay:0.035s;}&:nth-of-type(3){animation-delay:0.125s;}&:nth-of-type(4){animation-delay:0.155s;}&:nth-of-type(5){animation-delay:0.075s;}&:nth-of-type(6){animation-delay:0.06s;}};label:euiLoadingElastic;")
16
16
  };
@@ -57,7 +57,7 @@ EuiLoadingSpinner.propTypes = {
57
57
  /**
58
58
  * Sets the color of the border and highlight.
59
59
  * Each key accepts any valid CSS color value as a `string`
60
- * See #EuiLoadingSpinnerColor
60
+ * See {@link EuiLoadingSpinnerColor}
61
61
  */
62
62
  color: PropTypes.shape({
63
63
  border: PropTypes.any,
@@ -14,7 +14,7 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
14
14
 
15
15
  import React, { useState, useMemo, Fragment, forwardRef, useContext } from 'react';
16
16
  import PropTypes from "prop-types";
17
- import { useEuiMemoizedStyles } from '../../services';
17
+ import { useEuiMemoizedStyles, useGeneratedHtmlId } from '../../services';
18
18
  import { EuiLoadingSpinner } from '../loading';
19
19
  import { EuiButton, EuiButtonEmpty, EuiButtonIcon } from '../button';
20
20
  import { EuiTitle } from '../title';
@@ -79,6 +79,7 @@ export var EuiMarkdownEditorFooter = /*#__PURE__*/forwardRef(function (props, re
79
79
  var syntaxTitle = useEuiI18n('euiMarkdownEditorFooter.syntaxTitle', 'Syntax help');
80
80
  var _useContext = useContext(EuiMarkdownContext),
81
81
  readOnly = _useContext.readOnly;
82
+ var helpModalTitleId = useGeneratedHtmlId();
82
83
  if (isUploadingFiles) {
83
84
  uploadButton = ___EmotionJSX(EuiButtonIcon, {
84
85
  size: "s",
@@ -169,8 +170,11 @@ export var EuiMarkdownEditorFooter = /*#__PURE__*/forwardRef(function (props, re
169
170
  })), isShowingHelpModal && ___EmotionJSX(EuiModal, {
170
171
  onClose: function onClose() {
171
172
  return setIsShowingHelpModal(false);
172
- }
173
- }, ___EmotionJSX(EuiModalHeader, null, ___EmotionJSX(EuiTitle, null, ___EmotionJSX("h1", null, syntaxTitle))), ___EmotionJSX(EuiModalBody, null, ___EmotionJSX(EuiText, null, ___EmotionJSX(EuiI18n, {
173
+ },
174
+ "aria-labelledby": helpModalTitleId
175
+ }, ___EmotionJSX(EuiModalHeader, null, ___EmotionJSX(EuiTitle, null, ___EmotionJSX("h1", {
176
+ id: helpModalTitleId
177
+ }, syntaxTitle))), ___EmotionJSX(EuiModalBody, null, ___EmotionJSX(EuiText, null, ___EmotionJSX(EuiI18n, {
174
178
  tokens: ['euiMarkdownEditorFooter.syntaxModalDescriptionPrefix', 'euiMarkdownEditorFooter.syntaxModalDescriptionSuffix'],
175
179
  defaults: ['This editor uses', 'You can also utilize these additional syntax plugins to add rich content to your text.']
176
180
  }, function (_ref3) {
@@ -218,7 +222,8 @@ export var EuiMarkdownEditorFooter = /*#__PURE__*/forwardRef(function (props, re
218
222
  return setIsShowingHelpPopover(false);
219
223
  },
220
224
  panelPaddingSize: "s",
221
- anchorPosition: "upCenter"
225
+ anchorPosition: "upCenter",
226
+ "aria-labelledby": helpModalTitleId
222
227
  }, ___EmotionJSX(EuiI18n, {
223
228
  tokens: ['euiMarkdownEditorFooter.syntaxPopoverDescription'],
224
229
  defaults: ['This editor uses']
@@ -372,7 +372,7 @@ EuiPageHeaderContent.propTypes = {
372
372
  */
373
373
  panelStyle: PropTypes.any,
374
374
  /**
375
- * Object of props passed to EuiPanel. See #EuiPopoverPanelProps
375
+ * Object of props passed to EuiPanel. See {@link EuiPopoverPanelProps}
376
376
  */
377
377
  panelProps: PropTypes.shape({
378
378
  element: PropTypes.oneOf(["div"]),
@@ -612,7 +612,7 @@ EuiPopover.propTypes = {
612
612
  */
613
613
  panelStyle: PropTypes.any,
614
614
  /**
615
- * Object of props passed to EuiPanel. See #EuiPopoverPanelProps
615
+ * Object of props passed to EuiPanel. See {@link EuiPopoverPanelProps}
616
616
  */
617
617
  panelProps: PropTypes.shape({
618
618
  element: PropTypes.oneOf(["div"]),
@@ -27,7 +27,7 @@ EuiHideFor.propTypes = {
27
27
  children: PropTypes.node.isRequired,
28
28
  /**
29
29
  * List of all the responsive sizes to hide the children for.
30
- * Array of #EuiBreakpointSize
30
+ * Array of {@link EuiBreakpointSize}
31
31
  */
32
32
  sizes: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.any.isRequired).isRequired, PropTypes.oneOf(["all", "none"])]).isRequired
33
33
  };
@@ -27,7 +27,7 @@ EuiShowFor.propTypes = {
27
27
  children: PropTypes.node.isRequired,
28
28
  /**
29
29
  * List of all the responsive sizes to show the children for.
30
- * Array of #EuiBreakpointSize
30
+ * Array of {@link EuiBreakpointSize}
31
31
  */
32
32
  sizes: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.any.isRequired).isRequired, PropTypes.oneOf(["all", "none"])]).isRequired
33
33
  };
@@ -297,6 +297,7 @@ export var FieldValueSelectionFilter = /*#__PURE__*/function (_Component) {
297
297
  return ___EmotionJSX(EuiFilterButton, {
298
298
  iconType: "arrowDown",
299
299
  iconSide: "right",
300
+ isSelected: active,
300
301
  hasActiveFilters: active,
301
302
  numActiveFilters: active ? activeItemsCount : undefined,
302
303
  grow: true,
@@ -404,7 +405,7 @@ FieldValueSelectionFilter.propTypes = {
404
405
  field: PropTypes.string,
405
406
  name: PropTypes.string.isRequired,
406
407
  /**
407
- * See #FieldValueOptionType
408
+ * See {@link FieldValueOptionType}
408
409
  */
409
410
  options: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.shape({
410
411
  field: PropTypes.string,
@@ -78,8 +78,10 @@ export var FieldValueToggleFilter = /*#__PURE__*/function (_Component) {
78
78
  };
79
79
  return ___EmotionJSX(EuiFilterButton, {
80
80
  onClick: onClick,
81
+ isSelected: hasActiveFilters,
81
82
  hasActiveFilters: hasActiveFilters,
82
- "aria-pressed": !!hasActiveFilters
83
+ "aria-pressed": !!hasActiveFilters,
84
+ isToggle: true
83
85
  }, name);
84
86
  }
85
87
  }]);
@@ -79,9 +79,11 @@ export var FieldValueToggleGroupFilter = /*#__PURE__*/function (_Component) {
79
79
  return ___EmotionJSX(EuiFilterButton, {
80
80
  key: key,
81
81
  onClick: onClick,
82
+ isSelected: active,
82
83
  hasActiveFilters: active,
83
84
  "aria-pressed": !!active,
84
- withNext: !isLastItem
85
+ withNext: !isLastItem,
86
+ isToggle: true
85
87
  }, name);
86
88
  });
87
89
  }
@@ -93,7 +95,7 @@ FieldValueToggleGroupFilter.propTypes = {
93
95
  type: PropTypes.oneOf(["field_value_toggle_group"]).isRequired,
94
96
  field: PropTypes.string.isRequired,
95
97
  /**
96
- * See #FieldValueToggleGroupFilterItemType
98
+ * See {@link FieldValueToggleGroupFilterItemType}
97
99
  */
98
100
  items: PropTypes.arrayOf(PropTypes.shape({
99
101
  value: PropTypes.oneOfType([PropTypes.string.isRequired, PropTypes.number.isRequired, PropTypes.bool.isRequired]).isRequired,
@@ -74,8 +74,10 @@ export var IsFilter = /*#__PURE__*/function (_Component) {
74
74
  };
75
75
  return ___EmotionJSX(EuiFilterButton, {
76
76
  onClick: onClick,
77
+ isSelected: hasActiveFilters,
77
78
  hasActiveFilters: hasActiveFilters,
78
- "aria-pressed": !!hasActiveFilters
79
+ "aria-pressed": !!hasActiveFilters,
80
+ isToggle: true
79
81
  }, name);
80
82
  }
81
83
  }]);