@elastic/eui 82.2.1 → 83.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (373) hide show
  1. package/dist/eui_charts_theme.js +1 -1
  2. package/dist/eui_theme_dark.css +48 -182
  3. package/dist/eui_theme_dark.min.css +1 -1
  4. package/dist/eui_theme_light.css +48 -182
  5. package/dist/eui_theme_light.min.css +1 -1
  6. package/es/components/accordion/accordion.js +6 -7
  7. package/es/components/avatar/avatar.js +1 -1
  8. package/es/components/badge/badge.js +4 -5
  9. package/es/components/badge/beta_badge/beta_badge.js +1 -1
  10. package/es/components/basic_table/basic_table.js +1 -1
  11. package/es/components/basic_table/collapsed_item_actions.js +1 -1
  12. package/es/components/basic_table/in_memory_table.js +1 -1
  13. package/es/components/button/button.js +8 -5
  14. package/es/components/button/button_display/_button_display.js +1 -1
  15. package/es/components/button/button_display/_button_display_content.js +1 -1
  16. package/es/components/button/button_empty/button_empty.js +1 -1
  17. package/es/components/button/button_group/button_group.js +1 -1
  18. package/es/components/button/button_group/button_group_button.js +1 -1
  19. package/es/components/button/button_icon/button_icon.js +1 -1
  20. package/es/components/call_out/call_out.js +1 -1
  21. package/es/components/card/card.js +6 -6
  22. package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
  23. package/es/components/comment_list/comment.js +2 -2
  24. package/es/components/comment_list/comment_event.js +1 -1
  25. package/es/components/comment_list/comment_list.js +2 -2
  26. package/es/components/comment_list/comment_timeline.js +1 -1
  27. package/es/components/datagrid/body/data_grid_body.js +13 -13
  28. package/es/components/datagrid/body/data_grid_body_custom.js +13 -13
  29. package/es/components/datagrid/body/data_grid_body_virtualized.js +13 -13
  30. package/es/components/datagrid/body/data_grid_cell.js +24 -24
  31. package/es/components/datagrid/body/header/data_grid_header_cell.js +12 -12
  32. package/es/components/datagrid/body/header/data_grid_header_row.js +13 -13
  33. package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
  34. package/es/components/datagrid/data_grid.js +13 -13
  35. package/es/components/datagrid/utils/in_memory.js +12 -12
  36. package/es/components/date_picker/date_picker.js +2 -2
  37. package/es/components/date_picker/date_picker_range.js +1 -1
  38. package/es/components/empty_prompt/empty_prompt.js +1 -1
  39. package/es/components/expression/expression.js +10 -11
  40. package/es/components/facet/facet_button.js +1 -1
  41. package/es/components/flyout/flyout.js +2 -2
  42. package/es/components/form/field_number/field_number.js +1 -1
  43. package/es/components/form/field_text/field_text.js +2 -2
  44. package/es/components/form/form_control_layout/form_control_layout.js +2 -2
  45. package/es/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
  46. package/es/components/form/form_control_layout/form_control_layout_icons.js +2 -2
  47. package/es/components/header/header.js +8 -2
  48. package/es/components/header/header.styles.js +58 -0
  49. package/es/components/header/header_links/header_link.js +1 -1
  50. package/es/components/header/header_links/header_links.js +1 -1
  51. package/es/components/header/{header_logo.js → header_logo/header_logo.js} +9 -4
  52. package/es/components/header/header_logo/header_logo.styles.js +21 -0
  53. package/es/components/header/header_logo/index.js +9 -0
  54. package/es/components/icon/assets/sparkles.js +34 -0
  55. package/es/components/icon/icon.js +2 -1
  56. package/es/components/icon/icon_glyphs.a11y.js +1 -1
  57. package/es/components/icon/icon_map.js +1 -0
  58. package/es/components/image/image_fullscreen_wrapper.js +4 -4
  59. package/es/components/image/image_wrapper.js +4 -4
  60. package/es/components/inline_edit/inline_edit_form.js +7 -4
  61. package/es/components/inline_edit/inline_edit_form.styles.js +3 -1
  62. package/es/components/inline_edit/inline_edit_text.js +4 -1
  63. package/es/components/inline_edit/inline_edit_title.js +4 -1
  64. package/es/components/key_pad_menu/key_pad_menu.js +6 -4
  65. package/es/components/key_pad_menu/key_pad_menu_item.js +1 -1
  66. package/es/components/list_group/list_group.js +2 -2
  67. package/es/components/list_group/list_group_item.js +5 -6
  68. package/es/components/list_group/list_group_item_extra_action.js +1 -1
  69. package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  70. package/es/components/loading/loading_logo.js +1 -1
  71. package/es/components/markdown_editor/markdown_editor.js +1 -1
  72. package/es/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
  73. package/es/components/markdown_editor/markdown_editor_footer.js +1 -1
  74. package/es/components/markdown_editor/markdown_editor_toolbar.js +1 -1
  75. package/es/components/notification/notification_event.js +2 -2
  76. package/es/components/notification/notification_event_meta.js +1 -1
  77. package/es/components/page/page_body/page_body.js +18 -9
  78. package/es/components/page/page_header/page_header_content.js +4 -3
  79. package/es/components/page/page_section/page_section.js +1 -1
  80. package/es/components/pagination/pagination.js +6 -9
  81. package/es/components/pagination/pagination.styles.js +4 -3
  82. package/es/components/pagination/pagination_button.js +4 -12
  83. package/es/components/pagination/pagination_button.styles.js +2 -19
  84. package/es/components/pagination/pagination_button_arrow.js +3 -3
  85. package/es/components/progress/progress.js +4 -4
  86. package/es/components/resizable_container/resizable_panel.js +5 -5
  87. package/es/components/selectable/selectable_list/selectable_list.js +1 -1
  88. package/es/components/selectable/selectable_list/selectable_list_item.js +1 -1
  89. package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
  90. package/es/components/suggest/suggest.js +1 -1
  91. package/es/components/suggest/suggest_item.js +1 -1
  92. package/es/components/table/table_header_button.js +1 -1
  93. package/es/components/timeline/timeline_item_icon.js +1 -1
  94. package/es/components/toast/global_toast_list.js +1 -1
  95. package/es/components/toast/toast.js +1 -1
  96. package/es/components/tool_tip/icon_tip.js +1 -1
  97. package/es/global_styling/functions/logicals.json +2 -2
  98. package/es/test/index.d.ts +1 -0
  99. package/es/test/required_props.js +16 -1
  100. package/eui.d.ts +61 -27
  101. package/i18ntokens.json +84 -84
  102. package/lib/components/accordion/accordion.js +6 -7
  103. package/lib/components/avatar/avatar.js +1 -1
  104. package/lib/components/badge/badge.js +4 -5
  105. package/lib/components/badge/beta_badge/beta_badge.js +1 -1
  106. package/lib/components/basic_table/basic_table.js +1 -1
  107. package/lib/components/basic_table/collapsed_item_actions.js +1 -1
  108. package/lib/components/basic_table/in_memory_table.js +1 -1
  109. package/lib/components/button/button.js +8 -5
  110. package/lib/components/button/button_display/_button_display.js +1 -1
  111. package/lib/components/button/button_display/_button_display_content.js +1 -1
  112. package/lib/components/button/button_empty/button_empty.js +1 -1
  113. package/lib/components/button/button_group/button_group.js +1 -1
  114. package/lib/components/button/button_group/button_group_button.js +1 -1
  115. package/lib/components/button/button_icon/button_icon.js +1 -1
  116. package/lib/components/call_out/call_out.js +1 -1
  117. package/lib/components/card/card.js +6 -6
  118. package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
  119. package/lib/components/comment_list/comment.js +2 -2
  120. package/lib/components/comment_list/comment_event.js +1 -1
  121. package/lib/components/comment_list/comment_list.js +2 -2
  122. package/lib/components/comment_list/comment_timeline.js +1 -1
  123. package/lib/components/datagrid/body/data_grid_body.js +13 -13
  124. package/lib/components/datagrid/body/data_grid_body_custom.js +13 -13
  125. package/lib/components/datagrid/body/data_grid_body_virtualized.js +13 -13
  126. package/lib/components/datagrid/body/data_grid_cell.js +24 -24
  127. package/lib/components/datagrid/body/header/data_grid_header_cell.js +12 -12
  128. package/lib/components/datagrid/body/header/data_grid_header_row.js +13 -13
  129. package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
  130. package/lib/components/datagrid/data_grid.js +13 -13
  131. package/lib/components/datagrid/utils/in_memory.js +12 -12
  132. package/lib/components/date_picker/date_picker.js +2 -2
  133. package/lib/components/date_picker/date_picker_range.js +1 -1
  134. package/lib/components/empty_prompt/empty_prompt.js +1 -1
  135. package/lib/components/expression/expression.js +10 -11
  136. package/lib/components/facet/facet_button.js +1 -1
  137. package/lib/components/flyout/flyout.js +2 -2
  138. package/lib/components/form/field_number/field_number.js +1 -1
  139. package/lib/components/form/field_text/field_text.js +2 -2
  140. package/lib/components/form/form_control_layout/form_control_layout.js +2 -2
  141. package/lib/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
  142. package/lib/components/form/form_control_layout/form_control_layout_icons.js +2 -2
  143. package/lib/components/header/header.js +8 -2
  144. package/lib/components/header/header.styles.js +66 -0
  145. package/lib/components/header/header_links/header_link.js +1 -1
  146. package/lib/components/header/header_links/header_links.js +1 -1
  147. package/lib/components/header/{header_logo.js → header_logo/header_logo.js} +9 -4
  148. package/lib/components/header/header_logo/header_logo.styles.js +28 -0
  149. package/lib/components/header/header_logo/index.js +12 -0
  150. package/lib/components/icon/assets/sparkles.js +42 -0
  151. package/lib/components/icon/icon.js +2 -1
  152. package/lib/components/icon/icon_glyphs.a11y.js +1 -1
  153. package/lib/components/icon/icon_map.js +1 -0
  154. package/lib/components/icon/svgs/sparkles.svg +3 -0
  155. package/lib/components/image/image_fullscreen_wrapper.js +4 -4
  156. package/lib/components/image/image_wrapper.js +4 -4
  157. package/lib/components/inline_edit/inline_edit_form.js +7 -4
  158. package/lib/components/inline_edit/inline_edit_form.styles.js +3 -1
  159. package/lib/components/inline_edit/inline_edit_text.js +4 -1
  160. package/lib/components/inline_edit/inline_edit_title.js +4 -1
  161. package/lib/components/key_pad_menu/key_pad_menu.js +6 -4
  162. package/lib/components/key_pad_menu/key_pad_menu_item.js +1 -1
  163. package/lib/components/list_group/list_group.js +2 -2
  164. package/lib/components/list_group/list_group_item.js +5 -6
  165. package/lib/components/list_group/list_group_item_extra_action.js +1 -1
  166. package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  167. package/lib/components/loading/loading_logo.js +1 -1
  168. package/lib/components/markdown_editor/markdown_editor.js +1 -1
  169. package/lib/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
  170. package/lib/components/markdown_editor/markdown_editor_footer.js +1 -1
  171. package/lib/components/markdown_editor/markdown_editor_toolbar.js +1 -1
  172. package/lib/components/notification/notification_event.js +2 -2
  173. package/lib/components/notification/notification_event_meta.js +1 -1
  174. package/lib/components/page/page_body/page_body.js +18 -9
  175. package/lib/components/page/page_header/page_header_content.js +4 -3
  176. package/lib/components/page/page_section/page_section.js +1 -1
  177. package/lib/components/pagination/pagination.js +6 -9
  178. package/lib/components/pagination/pagination.styles.js +3 -2
  179. package/lib/components/pagination/pagination_button.js +3 -11
  180. package/lib/components/pagination/pagination_button.styles.js +4 -22
  181. package/lib/components/pagination/pagination_button_arrow.js +2 -2
  182. package/lib/components/progress/progress.js +4 -4
  183. package/lib/components/resizable_container/resizable_panel.js +5 -5
  184. package/lib/components/selectable/selectable_list/selectable_list.js +1 -1
  185. package/lib/components/selectable/selectable_list/selectable_list_item.js +1 -1
  186. package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
  187. package/lib/components/suggest/suggest.js +1 -1
  188. package/lib/components/suggest/suggest_item.js +1 -1
  189. package/lib/components/table/table_header_button.js +1 -1
  190. package/lib/components/timeline/timeline_item_icon.js +1 -1
  191. package/lib/components/toast/global_toast_list.js +1 -1
  192. package/lib/components/toast/toast.js +1 -1
  193. package/lib/components/tool_tip/icon_tip.js +1 -1
  194. package/lib/global_styling/functions/logicals.json +2 -2
  195. package/lib/test/index.d.ts +1 -0
  196. package/lib/test/required_props.js +20 -8
  197. package/optimize/es/components/accordion/accordion.js +6 -7
  198. package/optimize/es/components/badge/badge.js +3 -4
  199. package/optimize/es/components/button/button.js +8 -5
  200. package/optimize/es/components/card/card.js +5 -5
  201. package/optimize/es/components/expression/expression.js +10 -11
  202. package/optimize/es/components/flyout/flyout.js +2 -2
  203. package/optimize/es/components/header/header.js +8 -2
  204. package/optimize/es/components/header/header.styles.js +58 -0
  205. package/optimize/es/components/header/{header_logo.js → header_logo/header_logo.js} +8 -3
  206. package/optimize/es/components/header/header_logo/header_logo.styles.js +21 -0
  207. package/optimize/es/components/header/header_logo/index.js +9 -0
  208. package/optimize/es/components/icon/assets/sparkles.js +33 -0
  209. package/optimize/es/components/icon/icon.js +1 -0
  210. package/optimize/es/components/icon/icon_glyphs.a11y.js +1 -1
  211. package/optimize/es/components/icon/icon_map.js +1 -0
  212. package/optimize/es/components/image/image_fullscreen_wrapper.js +4 -4
  213. package/optimize/es/components/image/image_wrapper.js +4 -4
  214. package/optimize/es/components/inline_edit/inline_edit_form.js +6 -4
  215. package/optimize/es/components/inline_edit/inline_edit_form.styles.js +3 -1
  216. package/optimize/es/components/inline_edit/inline_edit_text.js +3 -1
  217. package/optimize/es/components/inline_edit/inline_edit_title.js +3 -1
  218. package/optimize/es/components/key_pad_menu/key_pad_menu.js +6 -4
  219. package/optimize/es/components/list_group/list_group_item.js +3 -4
  220. package/optimize/es/components/page/page_body/page_body.js +18 -9
  221. package/optimize/es/components/page/page_header/page_header_content.js +3 -2
  222. package/optimize/es/components/page/page_section/page_section.js +1 -1
  223. package/optimize/es/components/pagination/pagination.js +6 -9
  224. package/optimize/es/components/pagination/pagination.styles.js +4 -3
  225. package/optimize/es/components/pagination/pagination_button.js +3 -4
  226. package/optimize/es/components/pagination/pagination_button.styles.js +2 -19
  227. package/optimize/es/components/pagination/pagination_button_arrow.js +3 -3
  228. package/optimize/es/components/progress/progress.js +4 -4
  229. package/optimize/es/components/resizable_container/resizable_panel.js +5 -5
  230. package/optimize/es/global_styling/functions/logicals.json +2 -2
  231. package/optimize/es/test/index.d.ts +1 -0
  232. package/optimize/es/test/required_props.js +16 -1
  233. package/optimize/lib/components/accordion/accordion.js +6 -7
  234. package/optimize/lib/components/badge/badge.js +3 -4
  235. package/optimize/lib/components/button/button.js +8 -5
  236. package/optimize/lib/components/card/card.js +5 -5
  237. package/optimize/lib/components/expression/expression.js +10 -11
  238. package/optimize/lib/components/flyout/flyout.js +2 -2
  239. package/optimize/lib/components/header/header.js +8 -2
  240. package/optimize/lib/components/header/header.styles.js +66 -0
  241. package/optimize/lib/components/header/{header_logo.js → header_logo/header_logo.js} +8 -3
  242. package/optimize/lib/components/header/header_logo/header_logo.styles.js +28 -0
  243. package/optimize/lib/components/header/header_logo/index.js +12 -0
  244. package/optimize/lib/components/icon/assets/sparkles.js +42 -0
  245. package/optimize/lib/components/icon/icon.js +1 -0
  246. package/optimize/lib/components/icon/icon_glyphs.a11y.js +1 -1
  247. package/optimize/lib/components/icon/icon_map.js +1 -0
  248. package/optimize/lib/components/icon/svgs/sparkles.svg +3 -0
  249. package/optimize/lib/components/image/image_fullscreen_wrapper.js +4 -4
  250. package/optimize/lib/components/image/image_wrapper.js +4 -4
  251. package/optimize/lib/components/inline_edit/inline_edit_form.js +6 -4
  252. package/optimize/lib/components/inline_edit/inline_edit_form.styles.js +3 -1
  253. package/optimize/lib/components/inline_edit/inline_edit_text.js +3 -1
  254. package/optimize/lib/components/inline_edit/inline_edit_title.js +3 -1
  255. package/optimize/lib/components/key_pad_menu/key_pad_menu.js +6 -4
  256. package/optimize/lib/components/list_group/list_group_item.js +3 -4
  257. package/optimize/lib/components/page/page_body/page_body.js +18 -9
  258. package/optimize/lib/components/page/page_header/page_header_content.js +3 -2
  259. package/optimize/lib/components/page/page_section/page_section.js +1 -1
  260. package/optimize/lib/components/pagination/pagination.js +6 -9
  261. package/optimize/lib/components/pagination/pagination.styles.js +3 -2
  262. package/optimize/lib/components/pagination/pagination_button.js +3 -4
  263. package/optimize/lib/components/pagination/pagination_button.styles.js +4 -22
  264. package/optimize/lib/components/pagination/pagination_button_arrow.js +2 -2
  265. package/optimize/lib/components/progress/progress.js +4 -4
  266. package/optimize/lib/components/resizable_container/resizable_panel.js +5 -5
  267. package/optimize/lib/global_styling/functions/logicals.json +2 -2
  268. package/optimize/lib/test/index.d.ts +1 -0
  269. package/optimize/lib/test/required_props.js +20 -8
  270. package/package.json +3 -5
  271. package/src/components/datagrid/_data_grid_data_row.scss +27 -0
  272. package/src/components/header/_index.scss +0 -6
  273. package/src/components/selectable/selectable_templates/_index.scss +0 -1
  274. package/src/global_styling/variables/_header.scss +2 -5
  275. package/src/themes/amsterdam/global_styling/variables/_index.scss +0 -1
  276. package/src/themes/amsterdam/overrides/_header.scss +0 -24
  277. package/test-env/components/accordion/accordion.js +6 -7
  278. package/test-env/components/avatar/avatar.js +1 -1
  279. package/test-env/components/badge/badge.js +4 -5
  280. package/test-env/components/badge/beta_badge/beta_badge.js +1 -1
  281. package/test-env/components/basic_table/basic_table.js +1 -1
  282. package/test-env/components/basic_table/collapsed_item_actions.js +1 -1
  283. package/test-env/components/basic_table/in_memory_table.js +1 -1
  284. package/test-env/components/button/button.js +8 -5
  285. package/test-env/components/button/button_display/_button_display.js +1 -1
  286. package/test-env/components/button/button_display/_button_display_content.js +1 -1
  287. package/test-env/components/button/button_empty/button_empty.js +1 -1
  288. package/test-env/components/button/button_group/button_group.js +1 -1
  289. package/test-env/components/button/button_group/button_group_button.js +1 -1
  290. package/test-env/components/button/button_icon/button_icon.js +1 -1
  291. package/test-env/components/call_out/call_out.js +1 -1
  292. package/test-env/components/card/card.js +6 -6
  293. package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
  294. package/test-env/components/comment_list/comment.js +2 -2
  295. package/test-env/components/comment_list/comment_event.js +1 -1
  296. package/test-env/components/comment_list/comment_list.js +2 -2
  297. package/test-env/components/comment_list/comment_timeline.js +1 -1
  298. package/test-env/components/datagrid/body/data_grid_body.js +13 -13
  299. package/test-env/components/datagrid/body/data_grid_body_custom.js +13 -13
  300. package/test-env/components/datagrid/body/data_grid_body_virtualized.js +13 -13
  301. package/test-env/components/datagrid/body/data_grid_cell.js +24 -24
  302. package/test-env/components/datagrid/body/header/data_grid_header_cell.js +12 -12
  303. package/test-env/components/datagrid/body/header/data_grid_header_row.js +13 -13
  304. package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
  305. package/test-env/components/datagrid/data_grid.js +13 -13
  306. package/test-env/components/datagrid/utils/in_memory.js +12 -12
  307. package/test-env/components/date_picker/date_picker.js +2 -2
  308. package/test-env/components/date_picker/date_picker_range.js +1 -1
  309. package/test-env/components/empty_prompt/empty_prompt.js +1 -1
  310. package/test-env/components/expression/expression.js +10 -11
  311. package/test-env/components/facet/facet_button.js +1 -1
  312. package/test-env/components/form/field_number/field_number.js +1 -1
  313. package/test-env/components/form/field_text/field_text.js +2 -2
  314. package/test-env/components/form/form_control_layout/form_control_layout.js +2 -2
  315. package/test-env/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
  316. package/test-env/components/form/form_control_layout/form_control_layout_icons.js +2 -2
  317. package/test-env/components/header/header.js +8 -2
  318. package/test-env/components/header/header.styles.js +66 -0
  319. package/test-env/components/header/header_links/header_link.js +1 -1
  320. package/test-env/components/header/header_links/header_links.js +1 -1
  321. package/test-env/components/header/{header_logo.js → header_logo/header_logo.js} +9 -4
  322. package/test-env/components/header/header_logo/header_logo.styles.js +28 -0
  323. package/test-env/components/header/header_logo/index.js +12 -0
  324. package/test-env/components/icon/assets/sparkles.js +42 -0
  325. package/test-env/components/icon/icon_glyphs.a11y.js +1 -1
  326. package/test-env/components/icon/icon_map.js +1 -0
  327. package/test-env/components/image/image_fullscreen_wrapper.js +4 -4
  328. package/test-env/components/image/image_wrapper.js +4 -4
  329. package/test-env/components/inline_edit/inline_edit_form.js +7 -4
  330. package/test-env/components/inline_edit/inline_edit_form.styles.js +3 -1
  331. package/test-env/components/inline_edit/inline_edit_text.js +4 -1
  332. package/test-env/components/inline_edit/inline_edit_title.js +4 -1
  333. package/test-env/components/key_pad_menu/key_pad_menu.js +6 -4
  334. package/test-env/components/key_pad_menu/key_pad_menu_item.js +1 -1
  335. package/test-env/components/list_group/list_group.js +2 -2
  336. package/test-env/components/list_group/list_group_item.js +5 -6
  337. package/test-env/components/list_group/list_group_item_extra_action.js +1 -1
  338. package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  339. package/test-env/components/loading/loading_logo.js +1 -1
  340. package/test-env/components/markdown_editor/markdown_editor.js +1 -1
  341. package/test-env/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
  342. package/test-env/components/markdown_editor/markdown_editor_footer.js +1 -1
  343. package/test-env/components/markdown_editor/markdown_editor_toolbar.js +1 -1
  344. package/test-env/components/notification/notification_event.js +2 -2
  345. package/test-env/components/notification/notification_event_meta.js +1 -1
  346. package/test-env/components/page/page_body/page_body.js +18 -9
  347. package/test-env/components/page/page_header/page_header_content.js +4 -3
  348. package/test-env/components/page/page_section/page_section.js +1 -1
  349. package/test-env/components/pagination/pagination.js +6 -9
  350. package/test-env/components/pagination/pagination.styles.js +3 -2
  351. package/test-env/components/pagination/pagination_button.js +3 -11
  352. package/test-env/components/pagination/pagination_button.styles.js +4 -22
  353. package/test-env/components/pagination/pagination_button_arrow.js +2 -2
  354. package/test-env/components/progress/progress.js +4 -4
  355. package/test-env/components/resizable_container/resizable_panel.js +5 -5
  356. package/test-env/components/selectable/selectable_list/selectable_list.js +1 -1
  357. package/test-env/components/selectable/selectable_list/selectable_list_item.js +1 -1
  358. package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
  359. package/test-env/components/suggest/suggest.js +1 -1
  360. package/test-env/components/suggest/suggest_item.js +1 -1
  361. package/test-env/components/table/table_header_button.js +1 -1
  362. package/test-env/components/timeline/timeline_item_icon.js +1 -1
  363. package/test-env/components/toast/global_toast_list.js +1 -1
  364. package/test-env/components/toast/toast.js +1 -1
  365. package/test-env/components/tool_tip/icon_tip.js +1 -1
  366. package/test-env/global_styling/functions/logicals.json +2 -2
  367. package/test-env/test/required_props.js +20 -8
  368. package/src/components/header/_header.scss +0 -29
  369. package/src/components/header/_header_logo.scss +0 -40
  370. package/src/components/header/_header_profile.scss +0 -3
  371. package/src/components/header/_mixins.scss +0 -36
  372. package/src/components/selectable/selectable_templates/_selectable_template_sitewide.scss +0 -31
  373. package/src/themes/amsterdam/global_styling/variables/_header.scss +0 -7
@@ -53,10 +53,9 @@ export var EuiExpression = function EuiExpression(_ref) {
53
53
  var cssIconStyles = [iconStyles.euiExpression__icon, display === 'columns' && iconStyles.columns];
54
54
  var classes = classNames('euiExpression', className);
55
55
  var Component = onClick ? 'button' : 'span';
56
- var descriptionStyle = descriptionProps && descriptionProps.style;
57
- var customWidth = display === 'columns' && descriptionWidth ? _objectSpread({
56
+ var customWidth = display === 'columns' && descriptionWidth ? {
58
57
  flexBasis: descriptionWidth
59
- }, descriptionStyle) : undefined;
58
+ } : undefined;
60
59
  var invalidIcon = isInvalid ? ___EmotionJSX(EuiIcon, {
61
60
  className: "euiExpression__icon",
62
61
  type: "warning",
@@ -67,12 +66,12 @@ export var EuiExpression = function EuiExpression(_ref) {
67
66
  css: cssStyles,
68
67
  className: classes,
69
68
  onClick: onClick
70
- }, rest), ___EmotionJSX("span", _extends({
71
- className: "euiExpression__description",
72
- css: cssDescriptionStyles,
73
- style: customWidth
74
- }, descriptionProps), description), ' ', value && ___EmotionJSX("span", _extends({
75
- className: "euiExpression__value",
76
- css: cssValueStyles
77
- }, valueProps), value), invalidIcon);
69
+ }, rest), ___EmotionJSX("span", _extends({}, descriptionProps, {
70
+ className: classNames('euiExpression__description', descriptionProps === null || descriptionProps === void 0 ? void 0 : descriptionProps.className),
71
+ css: [].concat(cssDescriptionStyles, [descriptionProps === null || descriptionProps === void 0 ? void 0 : descriptionProps.css]),
72
+ style: _objectSpread(_objectSpread({}, customWidth), descriptionProps === null || descriptionProps === void 0 ? void 0 : descriptionProps.style)
73
+ }), description), ' ', value && ___EmotionJSX("span", _extends({}, valueProps, {
74
+ className: classNames('euiExpression__value', valueProps === null || valueProps === void 0 ? void 0 : valueProps.className),
75
+ css: [].concat(cssValueStyles, [valueProps === null || valueProps === void 0 ? void 0 : valueProps.css])
76
+ }), value), invalidIcon);
78
77
  };
@@ -143,13 +143,12 @@ export var EuiFlyout = /*#__PURE__*/forwardRef(function (_ref, ref) {
143
143
  if (onClose && !hideCloseButton) {
144
144
  var closeButtonClasses = classnames('euiFlyout__closeButton', closeButtonProps === null || closeButtonProps === void 0 ? void 0 : closeButtonProps.className);
145
145
  var closeButtonStyles = euiFlyoutCloseButtonStyles(euiTheme);
146
- var closeButtonCssStyles = [closeButtonStyles.euiFlyout__closeButton, closeButtonStyles[closeButtonPosition], closeButtonPosition === 'outside' && closeButtonStyles.outsideSide[side]];
146
+ var closeButtonCssStyles = [closeButtonStyles.euiFlyout__closeButton, closeButtonStyles[closeButtonPosition], closeButtonPosition === 'outside' && closeButtonStyles.outsideSide[side], closeButtonProps === null || closeButtonProps === void 0 ? void 0 : closeButtonProps.css];
147
147
  closeButton = ___EmotionJSX(EuiI18n, {
148
148
  token: "euiFlyout.closeAriaLabel",
149
149
  default: "Close this dialog"
150
150
  }, function (closeAriaLabel) {
151
151
  return ___EmotionJSX(EuiButtonIcon, _extends({
152
- css: closeButtonCssStyles,
153
152
  display: closeButtonPosition === 'outside' ? 'fill' : 'empty',
154
153
  iconType: "cross",
155
154
  color: "text",
@@ -157,6 +156,7 @@ export var EuiFlyout = /*#__PURE__*/forwardRef(function (_ref, ref) {
157
156
  "data-test-subj": "euiFlyoutCloseButton"
158
157
  }, closeButtonProps, {
159
158
  className: closeButtonClasses,
159
+ css: closeButtonCssStyles,
160
160
  onClick: function onClick(e) {
161
161
  var _closeButtonProps$onC;
162
162
  onClose(e.nativeEvent);
@@ -11,8 +11,10 @@ var _excluded = ["children", "className", "sections", "position", "theme"];
11
11
 
12
12
  import React, { useEffect } from 'react';
13
13
  import classNames from 'classnames';
14
- import { EuiHeaderSectionItem, EuiHeaderSection } from './header_section';
14
+ import { useEuiTheme } from '../../services';
15
15
  import { EuiHeaderBreadcrumbs } from './header_breadcrumbs';
16
+ import { EuiHeaderSectionItem, EuiHeaderSection } from './header_section';
17
+ import { euiHeaderStyles } from './header.styles';
16
18
  import { jsx as ___EmotionJSX } from "@emotion/react";
17
19
  function createHeaderSection(sections, border) {
18
20
  return sections.map(function (section, index) {
@@ -33,7 +35,10 @@ export var EuiHeader = function EuiHeader(_ref) {
33
35
  _ref$theme = _ref.theme,
34
36
  theme = _ref$theme === void 0 ? 'default' : _ref$theme,
35
37
  rest = _objectWithoutProperties(_ref, _excluded);
36
- var classes = classNames('euiHeader', "euiHeader--".concat(theme), "euiHeader--".concat(position), className);
38
+ var classes = classNames('euiHeader', className);
39
+ var euiTheme = useEuiTheme();
40
+ var styles = euiHeaderStyles(euiTheme);
41
+ var cssStyles = [styles.euiHeader, styles[position], styles[theme]];
37
42
  useEffect(function () {
38
43
  if (position === 'fixed') {
39
44
  // Increment fixed header counter for each fixed header
@@ -79,6 +84,7 @@ export var EuiHeader = function EuiHeader(_ref) {
79
84
  contents = children;
80
85
  }
81
86
  return ___EmotionJSX("div", _extends({
87
+ css: cssStyles,
82
88
  className: classes,
83
89
  "data-fixed-header": position === 'fixed' || undefined // Used by EuiFlyouts as a query selector
84
90
  }, rest), contents);
@@ -0,0 +1,58 @@
1
+ /*
2
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
+ * or more contributor license agreements. Licensed under the Elastic License
4
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
5
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
6
+ * Side Public License, v 1.
7
+ */
8
+
9
+ import { css } from '@emotion/react';
10
+ import { euiShadowSmall } from '../../themes/amsterdam/global_styling/mixins';
11
+ import { logicalCSS } from '../../global_styling';
12
+ import { shade, transparentize, makeHighContrastColor } from '../../services';
13
+ export var euiHeaderVariables = function euiHeaderVariables(euiThemeContext) {
14
+ var euiTheme = euiThemeContext.euiTheme;
15
+ return {
16
+ height: euiTheme.size.xxxl,
17
+ childHeight: euiTheme.size.xxl
18
+ };
19
+ };
20
+ export var euiHeaderStyles = function euiHeaderStyles(euiThemeContext) {
21
+ var euiTheme = euiThemeContext.euiTheme,
22
+ colorMode = euiThemeContext.colorMode;
23
+ var _euiHeaderVariables = euiHeaderVariables(euiThemeContext),
24
+ height = _euiHeaderVariables.height;
25
+
26
+ // Curated border color to fade into the shadow without looking too much like a border
27
+ // It adds separation between the header and flyout
28
+ var borderColor = colorMode === 'DARK' ? shade(euiTheme.colors.emptyShade, 0.35) : shade(euiTheme.border.color, 0.03);
29
+ return {
30
+ euiHeader: /*#__PURE__*/css("display:flex;justify-content:space-between;", logicalCSS('height', height), " ", logicalCSS('padding-horizontal', euiTheme.size.s), " ", euiShadowSmall(euiThemeContext), ";;label:euiHeader;"),
31
+ // Position
32
+ static: /*#__PURE__*/css("z-index:", Number(euiTheme.levels.header) - 1, ";position:relative;;label:static;"),
33
+ fixed: /*#__PURE__*/css("z-index:", euiTheme.levels.header, ";position:fixed;", logicalCSS('top', 0), " ", logicalCSS('horizontal', 0), " &+[data-fixed-header]{", logicalCSS('top', height), ";};label:fixed;"),
34
+ // Theme
35
+ default: /*#__PURE__*/css("background-color:", euiTheme.colors.emptyShade, ";", logicalCSS('border-bottom', "".concat(euiTheme.border.width.thin, " solid ").concat(borderColor)), ";;label:default;"),
36
+ dark: /*#__PURE__*/css(euiHeaderDarkStyles(euiThemeContext, borderColor), ";label:dark;")
37
+ };
38
+ };
39
+
40
+ /**
41
+ * The `dark` header is (currently) a bit of a special case. We don't
42
+ * actually want to use <EuiThemeProvider colorMode="dark"> inside it
43
+ * because that will affect popovers and `SelectableSitewideTemplate`
44
+ * as well, which we do not necessarily want to do (?)
45
+ *
46
+ * It's also possible that the dark header will go away or become unused
47
+ * by Kibana in the near future, at which point we can remove this
48
+ */
49
+ import { euiFormVariables } from '../form/form.styles';
50
+ var euiHeaderDarkStyles = function euiHeaderDarkStyles(euiThemeContext, defaultBorderColor) {
51
+ var euiTheme = euiThemeContext.euiTheme,
52
+ colorMode = euiThemeContext.colorMode;
53
+ var _euiFormVariables = euiFormVariables(euiThemeContext),
54
+ controlPlaceholderText = _euiFormVariables.controlPlaceholderText;
55
+ var backgroundColor = colorMode === 'DARK' ? shade(euiTheme.colors.lightestShade, 0.5) : shade(euiTheme.colors.darkestShade, 0.28);
56
+ var borderColor = colorMode === 'DARK' ? defaultBorderColor : backgroundColor;
57
+ return "\n background-color: ".concat(backgroundColor, ";\n ").concat(logicalCSS('border-bottom-color', borderColor), "\n\n .euiHeaderLogo__text,\n .euiHeaderLink,\n .euiHeaderSectionItemButton {\n color: ").concat(euiTheme.colors.ghost, ";\n }\n\n .euiHeaderLink-isActive {\n color: ").concat(makeHighContrastColor(euiTheme.colors.primary)(backgroundColor), ";\n }\n\n .euiHeaderSectionItem {\n &::after {\n background-color: ").concat(colorMode === 'DARK' ? euiTheme.colors.lightestShade : euiTheme.colors.darkShade, ";\n }\n }\n\n .euiHeaderLogo,\n .euiHeaderLink,\n .euiHeaderSectionItemButton {\n &:focus {\n background-color: ").concat(shade(euiTheme.colors.primary, 0.5), ";\n }\n }\n\n .euiHeaderSectionItemButton__notification--badge {\n box-shadow: 0 0 0 ").concat(euiTheme.border.width.thin, " ").concat(backgroundColor, ";\n }\n\n .euiHeaderSectionItemButton__notification--dot {\n stroke: ").concat(backgroundColor, ";\n }\n\n .euiSelectableTemplateSitewide .euiFormControlLayout {\n background-color: transparent;\n\n &--group,\n input {\n box-shadow: inset 0 0 0 ").concat(euiTheme.border.width.thin, "\n ").concat(transparentize(euiTheme.colors.ghost, 0.3), ";\n }\n\n &:not(:focus-within) {\n /* Increase contrast of filled text to be more than placeholder text */\n color: ").concat(euiTheme.colors.ghost, ";\n\n input {\n /* Increase contrast of placeholder text */\n &::placeholder {\n color: ").concat(makeHighContrastColor(controlPlaceholderText, 8)(backgroundColor), ";\n }\n\n /* Inherit color from form control layout */\n color: inherit;\n background-color: transparent;\n }\n\n .euiFormControlLayout__append {\n background-color: transparent;\n color: inherit;\n }\n }\n }\n ");
58
+ };
@@ -11,9 +11,10 @@ var _excluded = ["iconType", "iconTitle", "href", "rel", "target", "children", "
11
11
 
12
12
  import React from 'react';
13
13
  import classNames from 'classnames';
14
- import { EuiIcon } from '../icon';
15
- import { getSecureRelForTarget } from '../../services';
16
- import { validateHref } from '../../services/security/href_validator';
14
+ import { useEuiTheme, getSecureRelForTarget } from '../../../services';
15
+ import { validateHref } from '../../../services/security/href_validator';
16
+ import { EuiIcon } from '../../icon';
17
+ import { euiHeaderLogoStyles } from './header_logo.styles';
17
18
  import { jsx as ___EmotionJSX } from "@emotion/react";
18
19
  export var EuiHeaderLogo = function EuiHeaderLogo(_ref) {
19
20
  var _ref$iconType = _ref.iconType,
@@ -27,6 +28,8 @@ export var EuiHeaderLogo = function EuiHeaderLogo(_ref) {
27
28
  className = _ref.className,
28
29
  rest = _objectWithoutProperties(_ref, _excluded);
29
30
  var classes = classNames('euiHeaderLogo', className);
31
+ var euiTheme = useEuiTheme();
32
+ var styles = euiHeaderLogoStyles(euiTheme);
30
33
  var secureRel = getSecureRelForTarget({
31
34
  href: href,
32
35
  rel: rel,
@@ -37,6 +40,7 @@ export var EuiHeaderLogo = function EuiHeaderLogo(_ref) {
37
40
  href: isHrefValid ? href : '',
38
41
  rel: secureRel,
39
42
  target: target,
43
+ css: styles.euiHeaderLogo,
40
44
  className: classes
41
45
  }, rest), ___EmotionJSX(EuiIcon, {
42
46
  "aria-label": iconTitle,
@@ -44,6 +48,7 @@ export var EuiHeaderLogo = function EuiHeaderLogo(_ref) {
44
48
  size: "l",
45
49
  type: iconType
46
50
  }), children && ___EmotionJSX("span", {
51
+ css: styles.euiHeaderLogo__text,
47
52
  className: "euiHeaderLogo__text"
48
53
  }, children));
49
54
  };
@@ -0,0 +1,21 @@
1
+ /*
2
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
+ * or more contributor license agreements. Licensed under the Elastic License
4
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
5
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
6
+ * Side Public License, v 1.
7
+ */
8
+
9
+ import { css } from '@emotion/react';
10
+ import { logicalCSS, euiBreakpoint } from '../../../global_styling';
11
+ import { euiTitle } from '../../title/title.styles';
12
+ import { euiHeaderVariables } from '../header.styles';
13
+ export var euiHeaderLogoStyles = function euiHeaderLogoStyles(euiThemeContext) {
14
+ var euiTheme = euiThemeContext.euiTheme;
15
+ var _euiHeaderVariables = euiHeaderVariables(euiThemeContext),
16
+ childHeight = _euiHeaderVariables.childHeight;
17
+ return {
18
+ euiHeaderLogo: /*#__PURE__*/css("position:relative;", logicalCSS('height', childHeight), " line-height:", childHeight, ";", logicalCSS('min-width', childHeight), " padding-inline:", euiTheme.size.s, ";display:inline-flex;align-items:center;white-space:nowrap;", euiBreakpoint(euiThemeContext, ['xs']), "{", logicalCSS('padding-left', euiTheme.size.xs), ";};label:euiHeaderLogo;"),
19
+ euiHeaderLogo__text: /*#__PURE__*/css(euiTitle(euiThemeContext, 'xxs'), " ", logicalCSS('padding-left', euiTheme.size.base), " ", euiBreakpoint(euiThemeContext, ['xs']), "{", logicalCSS('padding-left', euiTheme.size.s), ";};label:euiHeaderLogo__text;")
20
+ };
21
+ };
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
+ * or more contributor license agreements. Licensed under the Elastic License
4
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
5
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
6
+ * Side Public License, v 1.
7
+ */
8
+
9
+ export { EuiHeaderLogo } from './header_logo';
@@ -0,0 +1,33 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["title", "titleId"];
4
+ /*
5
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
6
+ * or more contributor license agreements. Licensed under the Elastic License
7
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
8
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
9
+ * Side Public License, v 1.
10
+ */
11
+
12
+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
13
+
14
+ import * as React from 'react';
15
+ import { jsx as ___EmotionJSX } from "@emotion/react";
16
+ var EuiIconSparkles = function EuiIconSparkles(_ref) {
17
+ var title = _ref.title,
18
+ titleId = _ref.titleId,
19
+ props = _objectWithoutProperties(_ref, _excluded);
20
+ return ___EmotionJSX("svg", _extends({
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ width: 16,
23
+ height: 16,
24
+ viewBox: "0 0 16 16",
25
+ "aria-labelledby": titleId
26
+ }, props), title ? ___EmotionJSX("title", {
27
+ id: titleId
28
+ }, title) : null, ___EmotionJSX("path", {
29
+ fillRule: "evenodd",
30
+ d: "m5.016 4.383.035-.093a.492.492 0 0 1 .898 0l.035.093c.048.128.072.192.097.253a5.9 5.9 0 0 0 3.536 3.38l.093.035a.492.492 0 0 1 0 .898l-.093.035a5.9 5.9 0 0 0-3.536 3.38c-.025.06-.049.125-.097.253l-.035.093a.492.492 0 0 1-.898 0l-.035-.093c-.048-.128-.072-.192-.097-.253a5.9 5.9 0 0 0-3.536-3.38 2.175 2.175 0 0 1-.093-.035.492.492 0 0 1 0-.898l.093-.035c.128-.048.192-.072.253-.097a5.9 5.9 0 0 0 3.38-3.536Zm6.769-2.213a.968.968 0 0 1 .016-.041.219.219 0 0 1 .398 0 2.622 2.622 0 0 0 1.518 1.613l.113.043a.272.272 0 0 1 .04.016.219.219 0 0 1 0 .398.272.272 0 0 1-.04.016l-.113.043a2.622 2.622 0 0 0-1.502 1.572.968.968 0 0 1-.016.04.219.219 0 0 1-.398 0 2.622 2.622 0 0 0-1.518-1.613l-.113-.042a.272.272 0 0 1-.04-.016.219.219 0 0 1 0-.398.272.272 0 0 1 .04-.016l.113-.043a2.622 2.622 0 0 0 1.502-1.572Zm-.555 8.043.02-.052a.273.273 0 0 1 .5 0l.02.052.053.14a3.275 3.275 0 0 0 1.824 1.824l.14.054c.03.01.044.016.052.02a.273.273 0 0 1 0 .498 1.248 1.248 0 0 1-.052.02c-.07.027-.107.04-.14.054a3.279 3.279 0 0 0-1.824 1.824l-.054.14a.409.409 0 0 1-.02.052.273.273 0 0 1-.498 0 1.248 1.248 0 0 1-.02-.052c-.027-.07-.04-.107-.054-.14a3.279 3.279 0 0 0-1.824-1.824l-.14-.054a1.24 1.24 0 0 1-.052-.02.273.273 0 0 1 0-.498 1.24 1.24 0 0 1 .052-.02l.14-.054a3.279 3.279 0 0 0 1.824-1.824l.054-.14Z"
31
+ }));
32
+ };
33
+ export var icon = EuiIconSparkles;
@@ -210,6 +210,7 @@ export var EuiIconClass = /*#__PURE__*/function (_PureComponent) {
210
210
  src: icon,
211
211
  className: classes,
212
212
  css: cssStyles,
213
+ style: style,
213
214
  tabIndex: tabIndex
214
215
  }, rest));
215
216
  } else {
@@ -15,7 +15,7 @@ import { EuiIcon } from './icon';
15
15
  import { jsx as ___EmotionJSX } from "@emotion/react";
16
16
  describe('EuiIcons', function () {
17
17
  describe('Automated accessibility check for glyph icons', function () {
18
- var GlyphIcons = ['accessibility', 'aggregate', 'analyzeEvent', 'annotation', 'apmTrace', 'apps', 'arrowDown', 'arrowLeft', 'arrowRight', 'arrowUp', 'arrowStart', 'arrowEnd', 'article', 'asterisk', 'beaker', 'bell', 'bellSlash', 'beta', 'bolt', 'boxesHorizontal', 'boxesVertical', 'branch', 'branchUser', 'broom', 'brush', 'bug', 'bullseye', 'calendar', 'check', 'checkInCircleFilled', 'cheer', 'clock', 'cloudDrizzle', 'cloudStormy', 'cloudSunny', 'cluster', 'color', 'compute', 'console', 'container', 'continuityAbove', 'continuityAboveBelow', 'continuityBelow', 'continuityWithin', 'controlsHorizontal', 'controlsVertical', 'copy', 'copyClipboard', 'cross', 'crosshairs', 'currency', 'cut', 'database', 'desktop', 'discuss', 'document', 'documents', 'documentEdit', 'documentation', 'dot', 'dotInCircle', 'doubleArrowLeft', 'doubleArrowRight', 'download', 'email', 'empty', 'eql', 'eraser', 'exit', 'expand', 'expandMini', 'exportAction', 'eye', 'eyeClosed', 'faceHappy', 'faceNeutral', 'faceSad', 'filter', 'filterExclude', 'filterIgnore', 'filterInclude', 'filterInCircle', 'flag', 'fold', 'folderCheck', 'folderClosed', 'folderExclamation', 'folderOpen', 'frameNext', 'framePrevious', 'fullScreen', 'fullScreenExit', 'function', 'gear', 'glasses', 'globe', 'grab', 'grabHorizontal', 'grid', 'heart', 'heatmap', 'help', 'home', 'iInCircle', 'image', 'importAction', 'indexClose', 'indexEdit', 'indexFlush', 'indexMapping', 'indexOpen', 'indexRuntime', 'indexSettings', 'indexTemporary', 'infinity', 'inputOutput', 'inspect', 'invert', 'ip', 'keyboard', 'kqlField', 'kqlFunction', 'kqlOperand', 'kqlSelector', 'kqlValue', 'kubernetesNode', 'kubernetesPod', 'launch', 'layers', 'lettering', 'lineDashed', 'lineDotted', 'lineSolid', 'link', 'list', 'listAdd', 'lock', 'lockOpen', 'logstashFilter', 'logstashIf', 'logstashInput', 'logstashOutput', 'logstashQueue', 'magnifyWithExclamation', 'magnifyWithMinus', 'magnifyWithPlus', 'magnet', 'mapMarker', 'memory', 'merge', 'menu', 'menuDown', 'menuLeft', 'menuRight', 'menuUp', 'minimize', 'minus', 'minusInCircle', 'minusInCircleFilled', 'mobile', 'moon', 'namespace', 'nested', 'node', 'number', 'offline', 'online', 'package', 'pageSelect', 'pagesSelect', 'paperClip', 'partial', 'pause', 'payment', 'pencil', 'percent', 'pin', 'pinFilled', 'play', 'playFilled', 'plus', 'plusInCircle', 'plusInCircleFilled', 'popout', 'push', 'questionInCircle', 'quote', 'refresh', 'reporter', 'returnKey', 'save', 'scale', 'search', 'securitySignal', 'securitySignalDetected', 'securitySignalResolved', 'sessionViewer', 'shard', 'share', 'snowflake', 'sortable', 'sortAscending', 'sortDescending', 'sortDown', 'sortLeft', 'sortRight', 'sortUp', 'spaces', 'starEmpty', 'starEmptySpace', 'starFilled', 'starFilledSpace', 'starMinusEmpty', 'starMinusFilled', 'starPlusEmpty', 'starPlusFilled', 'stats', 'stop', 'stopFilled', 'stopSlash', 'storage', 'string', 'submodule', 'sun', 'symlink', 'tableOfContents', 'tableDensityExpanded', 'tableDensityCompact', 'tableDensityNormal', 'tag', 'tear', 'temperature', 'timeline', 'timelineWithArrow', 'timeRefresh', 'timeslider', 'training', 'trash', 'unfold', 'unlink', 'user', 'userAvatar', 'users', 'vector', 'videoPlayer', 'visArea', 'visAreaStacked', 'visBarHorizontal', 'visBarHorizontalStacked', 'visBarVertical', 'visBarVerticalStacked', 'visGauge', 'visGoal', 'visLine', 'visMapCoordinate', 'visMapRegion', 'visMetric', 'visPie', 'visTable', 'visTagCloud', 'visText', 'visTimelion', 'visVega', 'visVisualBuilder', 'warning', 'wordWrap', 'wordWrapDisabled', 'wrench'];
18
+ var GlyphIcons = ['accessibility', 'aggregate', 'analyzeEvent', 'annotation', 'apmTrace', 'apps', 'arrowDown', 'arrowLeft', 'arrowRight', 'arrowUp', 'arrowStart', 'arrowEnd', 'article', 'asterisk', 'beaker', 'bell', 'bellSlash', 'beta', 'bolt', 'boxesHorizontal', 'boxesVertical', 'branch', 'branchUser', 'broom', 'brush', 'bug', 'bullseye', 'calendar', 'check', 'checkInCircleFilled', 'cheer', 'clock', 'cloudDrizzle', 'cloudStormy', 'cloudSunny', 'cluster', 'color', 'compute', 'console', 'container', 'continuityAbove', 'continuityAboveBelow', 'continuityBelow', 'continuityWithin', 'controlsHorizontal', 'controlsVertical', 'copy', 'copyClipboard', 'cross', 'crosshairs', 'currency', 'cut', 'database', 'desktop', 'discuss', 'document', 'documents', 'documentEdit', 'documentation', 'dot', 'dotInCircle', 'doubleArrowLeft', 'doubleArrowRight', 'download', 'email', 'empty', 'eql', 'eraser', 'exit', 'expand', 'expandMini', 'exportAction', 'eye', 'eyeClosed', 'faceHappy', 'faceNeutral', 'faceSad', 'filter', 'filterExclude', 'filterIgnore', 'filterInclude', 'filterInCircle', 'flag', 'fold', 'folderCheck', 'folderClosed', 'folderExclamation', 'folderOpen', 'frameNext', 'framePrevious', 'fullScreen', 'fullScreenExit', 'function', 'gear', 'glasses', 'globe', 'grab', 'grabHorizontal', 'grid', 'heart', 'heatmap', 'help', 'home', 'iInCircle', 'image', 'importAction', 'indexClose', 'indexEdit', 'indexFlush', 'indexMapping', 'indexOpen', 'indexRuntime', 'indexSettings', 'indexTemporary', 'infinity', 'inputOutput', 'inspect', 'invert', 'ip', 'keyboard', 'kqlField', 'kqlFunction', 'kqlOperand', 'kqlSelector', 'kqlValue', 'kubernetesNode', 'kubernetesPod', 'launch', 'layers', 'lettering', 'lineDashed', 'lineDotted', 'lineSolid', 'link', 'list', 'listAdd', 'lock', 'lockOpen', 'logstashFilter', 'logstashIf', 'logstashInput', 'logstashOutput', 'logstashQueue', 'magnifyWithExclamation', 'magnifyWithMinus', 'magnifyWithPlus', 'magnet', 'mapMarker', 'memory', 'merge', 'menu', 'menuDown', 'menuLeft', 'menuRight', 'menuUp', 'minimize', 'minus', 'minusInCircle', 'minusInCircleFilled', 'mobile', 'moon', 'namespace', 'nested', 'node', 'number', 'offline', 'online', 'package', 'pageSelect', 'pagesSelect', 'paperClip', 'partial', 'pause', 'payment', 'pencil', 'percent', 'pin', 'pinFilled', 'play', 'playFilled', 'plus', 'plusInCircle', 'plusInCircleFilled', 'popout', 'push', 'questionInCircle', 'quote', 'refresh', 'reporter', 'returnKey', 'save', 'scale', 'search', 'securitySignal', 'securitySignalDetected', 'securitySignalResolved', 'sessionViewer', 'shard', 'share', 'snowflake', 'sortable', 'sortAscending', 'sortDescending', 'sortDown', 'sortLeft', 'sortRight', 'sortUp', 'spaces', 'sparkles', 'starEmpty', 'starEmptySpace', 'starFilled', 'starFilledSpace', 'starMinusEmpty', 'starMinusFilled', 'starPlusEmpty', 'starPlusFilled', 'stats', 'stop', 'stopFilled', 'stopSlash', 'storage', 'string', 'submodule', 'sun', 'symlink', 'tableOfContents', 'tableDensityExpanded', 'tableDensityCompact', 'tableDensityNormal', 'tag', 'tear', 'temperature', 'timeline', 'timelineWithArrow', 'timeRefresh', 'timeslider', 'training', 'trash', 'unfold', 'unlink', 'user', 'userAvatar', 'users', 'vector', 'videoPlayer', 'visArea', 'visAreaStacked', 'visBarHorizontal', 'visBarHorizontalStacked', 'visBarVertical', 'visBarVerticalStacked', 'visGauge', 'visGoal', 'visLine', 'visMapCoordinate', 'visMapRegion', 'visMetric', 'visPie', 'visTable', 'visTagCloud', 'visText', 'visTimelion', 'visVega', 'visVisualBuilder', 'warning', 'wordWrap', 'wordWrapDisabled', 'wrench'];
19
19
  var GlyphGrid = function GlyphGrid() {
20
20
  return ___EmotionJSX("div", null, GlyphIcons.map(function (glyph) {
21
21
  return ___EmotionJSX(EuiIcon, {
@@ -353,6 +353,7 @@ export var typeToPathMap = {
353
353
  sortable: 'sortable',
354
354
  spaces: 'spaces',
355
355
  spacesApp: 'app_spaces',
356
+ sparkles: 'sparkles',
356
357
  sqlApp: 'app_sql',
357
358
  starEmpty: 'star_empty',
358
359
  starEmptySpace: 'star_empty_space',
@@ -32,7 +32,7 @@ export var EuiImageFullScreenWrapper = function EuiImageFullScreenWrapper(_ref)
32
32
  onFullScreen = _ref.onFullScreen;
33
33
  var euiTheme = useEuiTheme();
34
34
  var styles = euiImageFullscreenWrapperStyles(euiTheme);
35
- var cssStyles = [styles.euiImageFullscreenWrapper];
35
+ var cssStyles = [styles.euiImageFullscreenWrapper, wrapperProps === null || wrapperProps === void 0 ? void 0 : wrapperProps.css];
36
36
  var classes = classNames('euiImageFullScreenWrapper', wrapperProps && wrapperProps.className);
37
37
  var onKeyDown = function onKeyDown(event) {
38
38
  if (event.key === keys.ESCAPE) {
@@ -58,10 +58,10 @@ export var EuiImageFullScreenWrapper = function EuiImageFullScreenWrapper(_ref)
58
58
  preventScrollOnFocus: true,
59
59
  onClickOutside: closeFullScreen
60
60
  }, ___EmotionJSX(React.Fragment, null, ___EmotionJSX("figure", _extends({
61
- "aria-label": optionalCaptionText,
62
- css: cssStyles
61
+ "aria-label": optionalCaptionText
63
62
  }, wrapperProps, {
64
- className: classes
63
+ className: classes,
64
+ css: cssStyles
65
65
  }), ___EmotionJSX(EuiImageButton, {
66
66
  hasAlt: !!alt,
67
67
  hasShadow: hasShadow,
@@ -36,16 +36,16 @@ export var EuiImageWrapper = function EuiImageWrapper(_ref) {
36
36
  var classes = classNames('euiImageWrapper', wrapperProps && wrapperProps.className);
37
37
  var euiTheme = useEuiTheme();
38
38
  var styles = euiImageWrapperStyles(euiTheme);
39
- var cssFigureStyles = [styles.euiImageWrapper, float && styles[float], margin && styles[margin], allowFullScreen && styles.allowFullScreen, isFullWidth && styles.fullWidth];
39
+ var cssFigureStyles = [styles.euiImageWrapper, float && styles[float], margin && styles[margin], allowFullScreen && styles.allowFullScreen, isFullWidth && styles.fullWidth, wrapperProps === null || wrapperProps === void 0 ? void 0 : wrapperProps.css];
40
40
  var _useInnerText = useInnerText(),
41
41
  _useInnerText2 = _slicedToArray(_useInnerText, 2),
42
42
  optionalCaptionRef = _useInnerText2[0],
43
43
  optionalCaptionText = _useInnerText2[1];
44
44
  return ___EmotionJSX("figure", _extends({
45
- "aria-label": optionalCaptionText,
46
- css: cssFigureStyles
45
+ "aria-label": optionalCaptionText
47
46
  }, wrapperProps, {
48
- className: classes
47
+ className: classes,
48
+ css: cssFigureStyles
49
49
  }), allowFullScreen ? ___EmotionJSX(React.Fragment, null, ___EmotionJSX(EuiImageButton, {
50
50
  hasAlt: !!alt,
51
51
  hasShadow: hasShadow,
@@ -42,6 +42,7 @@ export var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
42
42
  children = _ref.children,
43
43
  sizes = _ref.sizes,
44
44
  defaultValue = _ref.defaultValue,
45
+ placeholder = _ref.placeholder,
45
46
  inputAriaLabel = _ref.inputAriaLabel,
46
47
  startWithEditOpen = _ref.startWithEditOpen,
47
48
  readModeProps = _ref.readModeProps,
@@ -53,8 +54,6 @@ export var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
53
54
  isReadOnly = _ref.isReadOnly;
54
55
  var classes = classNames('euiInlineEdit', className);
55
56
  var euiTheme = useEuiTheme();
56
- var readModeStyles = euiInlineEditReadModeStyles(euiTheme);
57
- var readModeCssStyles = [readModeStyles.euiInlineEditReadMode, isReadOnly && readModeStyles.isReadOnly];
58
57
  var _euiFormVariables = euiFormVariables(euiTheme),
59
58
  controlHeight = _euiFormVariables.controlHeight,
60
59
  controlCompressedHeight = _euiFormVariables.controlCompressedHeight;
@@ -83,6 +82,8 @@ export var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
83
82
  _useState6 = _slicedToArray(_useState5, 2),
84
83
  readModeValue = _useState6[0],
85
84
  setReadModeValue = _useState6[1];
85
+ var readModeStyles = euiInlineEditReadModeStyles(euiTheme);
86
+ var readModeCssStyles = [readModeStyles.euiInlineEditReadMode, isReadOnly && readModeStyles.isReadOnly, placeholder && !readModeValue && readModeStyles.hasPlaceholder];
86
87
  var activateEditMode = function activateEditMode() {
87
88
  setIsEditing(true);
88
89
  // Waits a tick for state to settle and the focus target to render
@@ -178,7 +179,8 @@ export var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
178
179
  compressed: sizes.compressed,
179
180
  isInvalid: isInvalid,
180
181
  isLoading: isLoading,
181
- "data-test-subj": "euiInlineEditModeInput"
182
+ "data-test-subj": "euiInlineEditModeInput",
183
+ placeholder: placeholder
182
184
  }, editModeProps === null || editModeProps === void 0 ? void 0 : editModeProps.inputProps, {
183
185
  inputRef: setEditModeRefs,
184
186
  onChange: function onChange(e) {
@@ -265,7 +267,7 @@ export var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
265
267
  activateEditMode();
266
268
  readModeProps === null || readModeProps === void 0 ? void 0 : (_readModeProps$onClic = readModeProps.onClick) === null || _readModeProps$onClic === void 0 ? void 0 : _readModeProps$onClic.call(readModeProps, e);
267
269
  }
268
- }), children(readModeValue)), ___EmotionJSX("span", {
270
+ }), children(readModeValue || placeholder)), ___EmotionJSX("span", {
269
271
  id: readModeDescribedById,
270
272
  hidden: true
271
273
  }, !isReadOnly && ___EmotionJSX(EuiI18n, {
@@ -7,11 +7,13 @@
7
7
  */
8
8
 
9
9
  import { css } from '@emotion/react';
10
+ import { tint } from '../../services';
10
11
  export var euiInlineEditReadModeStyles = function euiInlineEditReadModeStyles(_ref) {
11
12
  var euiTheme = _ref.euiTheme;
12
13
  return {
13
14
  euiInlineEditReadMode: /*#__PURE__*/css(";label:euiInlineEditReadMode;"),
14
15
  // Override the cursor and allow users to highlight text when in the read only state
15
- isReadOnly: /*#__PURE__*/css("&:disabled{cursor:text;color:", euiTheme.colors.text, ";user-select:text;};label:isReadOnly;")
16
+ isReadOnly: /*#__PURE__*/css("&:disabled{cursor:text;color:", euiTheme.colors.text, ";user-select:text;};label:isReadOnly;"),
17
+ hasPlaceholder: /*#__PURE__*/css(".euiText,.euiTitle{color:", tint(euiTheme.colors.subduedText, 0.08), ";};label:hasPlaceholder;")
16
18
  };
17
19
  };
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["children", "className", "size", "defaultValue", "inputAriaLabel", "startWithEditOpen", "readModeProps", "editModeProps", "isLoading", "isInvalid", "isReadOnly"];
4
+ var _excluded = ["children", "className", "size", "defaultValue", "placeholder", "inputAriaLabel", "startWithEditOpen", "readModeProps", "editModeProps", "isLoading", "isInvalid", "isReadOnly"];
5
5
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6
6
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
7
7
  /*
@@ -25,6 +25,7 @@ export var EuiInlineEditText = function EuiInlineEditText(_ref) {
25
25
  _ref$size = _ref.size,
26
26
  size = _ref$size === void 0 ? 'm' : _ref$size,
27
27
  defaultValue = _ref.defaultValue,
28
+ placeholder = _ref.placeholder,
28
29
  inputAriaLabel = _ref.inputAriaLabel,
29
30
  startWithEditOpen = _ref.startWithEditOpen,
30
31
  _readModeProps = _ref.readModeProps,
@@ -48,6 +49,7 @@ export var EuiInlineEditText = function EuiInlineEditText(_ref) {
48
49
  var formProps = {
49
50
  sizes: sizes,
50
51
  defaultValue: defaultValue,
52
+ placeholder: placeholder,
51
53
  inputAriaLabel: inputAriaLabel,
52
54
  startWithEditOpen: startWithEditOpen,
53
55
  readModeProps: readModeProps,
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["children", "className", "size", "heading", "defaultValue", "inputAriaLabel", "startWithEditOpen", "readModeProps", "editModeProps", "isLoading", "isInvalid", "isReadOnly"];
4
+ var _excluded = ["children", "className", "size", "heading", "defaultValue", "placeholder", "inputAriaLabel", "startWithEditOpen", "readModeProps", "editModeProps", "isLoading", "isInvalid", "isReadOnly"];
5
5
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6
6
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
7
7
  /*
@@ -27,6 +27,7 @@ export var EuiInlineEditTitle = function EuiInlineEditTitle(_ref) {
27
27
  size = _ref$size === void 0 ? 'm' : _ref$size,
28
28
  heading = _ref.heading,
29
29
  defaultValue = _ref.defaultValue,
30
+ placeholder = _ref.placeholder,
30
31
  inputAriaLabel = _ref.inputAriaLabel,
31
32
  startWithEditOpen = _ref.startWithEditOpen,
32
33
  _readModeProps = _ref.readModeProps,
@@ -55,6 +56,7 @@ export var EuiInlineEditTitle = function EuiInlineEditTitle(_ref) {
55
56
  var formProps = {
56
57
  sizes: sizes,
57
58
  defaultValue: defaultValue,
59
+ placeholder: placeholder,
58
60
  inputAriaLabel: inputAriaLabel,
59
61
  startWithEditOpen: startWithEditOpen,
60
62
  readModeProps: readModeProps,
@@ -17,23 +17,25 @@ import { useEuiTheme } from '../../services';
17
17
  import { euiKeyPadMenuStyles } from './key_pad_menu.styles';
18
18
  import { jsx as ___EmotionJSX } from "@emotion/react";
19
19
  export var EuiKeyPadMenu = function EuiKeyPadMenu(_ref) {
20
+ var _checkable$legendProp;
20
21
  var children = _ref.children,
21
22
  className = _ref.className,
22
23
  checkable = _ref.checkable,
23
24
  rest = _objectWithoutProperties(_ref, _excluded);
25
+ var hasCheckableConfig = _typeof(checkable) === 'object';
24
26
  var classes = classNames('euiKeyPadMenu', className);
25
27
  var theme = useEuiTheme();
26
28
  var styles = euiKeyPadMenuStyles(theme);
27
29
  var cssStyles = [styles.euiKeyPadMenu];
28
- var legend = _typeof(checkable) === 'object' && checkable.legend ? ___EmotionJSX(EuiFormLabel, _extends({
29
- css: styles.euiKeyPadMenu__legend
30
- }, checkable.legendProps, {
30
+ var legendCssStyles = [styles.euiKeyPadMenu__legend, hasCheckableConfig && (checkable === null || checkable === void 0 ? void 0 : (_checkable$legendProp = checkable.legendProps) === null || _checkable$legendProp === void 0 ? void 0 : _checkable$legendProp.css)];
31
+ var legend = hasCheckableConfig && checkable.legend ? ___EmotionJSX(EuiFormLabel, _extends({}, checkable.legendProps, {
32
+ css: legendCssStyles,
31
33
  type: "legend"
32
34
  }), checkable.legend) : undefined;
33
35
  return checkable ? ___EmotionJSX("fieldset", _extends({
34
36
  css: cssStyles,
35
37
  className: classes,
36
- "aria-label": _typeof(checkable) === 'object' ? checkable.ariaLegend : undefined
38
+ "aria-label": hasCheckableConfig ? checkable.ariaLegend : undefined
37
39
  }, rest), legend, children) : ___EmotionJSX("ul", _extends({
38
40
  css: cssStyles,
39
41
  className: classes
@@ -55,16 +55,15 @@ export var EuiListGroupItem = function EuiListGroupItem(_ref) {
55
55
  var isDisabled = _isDisabled || !isHrefValid;
56
56
  var euiTheme = useEuiTheme();
57
57
  var iconStyles = euiListGroupItemIconStyles(euiTheme);
58
- var cssIconStyles = [iconStyles.euiListGroupItem__icon];
58
+ var cssIconStyles = [iconStyles.euiListGroupItem__icon, iconProps === null || iconProps === void 0 ? void 0 : iconProps.css];
59
59
  var iconNode;
60
60
  if (iconType) {
61
61
  iconNode = ___EmotionJSX(EuiIcon, _extends({
62
62
  color: "inherit" // forces the icon to inherit its parent color
63
- ,
64
- css: cssIconStyles
65
63
  }, iconProps, {
66
64
  type: iconType,
67
- className: classNames('euiListGroupItem__icon', iconProps === null || iconProps === void 0 ? void 0 : iconProps.className)
65
+ className: classNames('euiListGroupItem__icon', iconProps === null || iconProps === void 0 ? void 0 : iconProps.className),
66
+ css: cssIconStyles
68
67
  }));
69
68
  if (icon) {
70
69
  console.warn('Both `iconType` and `icon` were passed to EuiListGroupItem but only one can exist. The `iconType` was used.');
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
- var _excluded = ["children", "restrictWidth", "className", "component", "panelled", "panelProps", "paddingSize", "borderRadius"];
3
+ var _excluded = ["children", "restrictWidth", "className", "css", "component", "panelled", "panelProps", "paddingSize", "borderRadius"];
4
4
  /*
5
5
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
6
6
  * or more contributor license agreements. Licensed under the Elastic License
@@ -21,6 +21,7 @@ export var EuiPageBody = function EuiPageBody(_ref) {
21
21
  _ref$restrictWidth = _ref.restrictWidth,
22
22
  restrictWidth = _ref$restrictWidth === void 0 ? false : _ref$restrictWidth,
23
23
  className = _ref.className,
24
+ css = _ref.css,
24
25
  _ref$component = _ref.component,
25
26
  Component = _ref$component === void 0 ? 'div' : _ref$component,
26
27
  panelled = _ref.panelled,
@@ -32,20 +33,28 @@ export var EuiPageBody = function EuiPageBody(_ref) {
32
33
  rest = _objectWithoutProperties(_ref, _excluded);
33
34
  // Set max-width as a style prop
34
35
  var widthStyles = setStyleForRestrictedPageWidth(restrictWidth, rest === null || rest === void 0 ? void 0 : rest.style);
36
+
37
+ // Shared
38
+ var classes = classNames('euiPageBody', className);
35
39
  var styles = euiPageBodyStyles();
40
+ var cssStyles = [styles.euiPageBody, restrictWidth && styles.restrictWidth];
41
+
42
+ // Panelled
43
+ var panelClasses = classNames(classes, panelProps === null || panelProps === void 0 ? void 0 : panelProps.className);
44
+ var panelCssStyles = [].concat(cssStyles, [panelProps === null || panelProps === void 0 ? void 0 : panelProps.css, css]);
45
+
46
+ // Non-panelled
36
47
  var padding = useEuiPaddingCSS()[paddingSize];
37
- var classes = classNames('euiPageBody', className);
38
- var panelCSS = [styles.euiPageBody, restrictWidth && styles.restrictWidth];
39
- var componentCSS = [].concat(panelCSS, [padding]);
48
+ var componentCssStyles = [].concat(cssStyles, [padding, css]);
40
49
  return panelled ? ___EmotionJSX(EuiPanel, _extends({
41
- className: classes,
42
- css: panelCSS,
43
50
  borderRadius: borderRadius,
44
51
  paddingSize: paddingSize
45
- }, panelProps, rest), children) : ___EmotionJSX(Component, _extends({
52
+ }, panelProps, rest, {
53
+ className: panelClasses,
54
+ css: panelCssStyles
55
+ }), children) : ___EmotionJSX(Component, _extends({}, rest, {
46
56
  className: classes,
47
- css: componentCSS
48
- }, rest, {
57
+ css: componentCssStyles,
49
58
  style: widthStyles
50
59
  }), children);
51
60
  };
@@ -110,10 +110,11 @@ export var EuiPageHeaderContent = function EuiPageHeaderContent(_ref) {
110
110
  })) : undefined;
111
111
  var pageTitleNode;
112
112
  if (pageTitle) {
113
+ var iconCssStyles = [contentStyles.euiPageHeaderContent__titleIcon, iconProps === null || iconProps === void 0 ? void 0 : iconProps.css];
113
114
  var icon = iconType ? ___EmotionJSX(EuiIcon, _extends({
114
- size: "xl",
115
- css: contentStyles.euiPageHeaderContent__titleIcon
115
+ size: "xl"
116
116
  }, iconProps, {
117
+ css: iconCssStyles,
117
118
  type: iconType
118
119
  })) : undefined;
119
120
  pageTitleNode = ___EmotionJSX(EuiTitle, _extends({}, pageTitleProps, {
@@ -41,7 +41,7 @@ export var EuiPageSection = function EuiPageSection(_ref) {
41
41
  var colors = useEuiBackgroundColorCSS();
42
42
  var cssStyles = [styles.euiPageSection, grow && styles.grow, inlinePadding[paddingSize], bottomBorder === 'extended' && styles.border, alignment && styles[alignment], colors[color]];
43
43
  var contentStyles = euiPageSectionContentStyles();
44
- var cssContentStyles = [contentStyles.euiPageSection__content, blockPadding[paddingSize], bottomBorder === true && styles.border, alignment.toLowerCase().includes('center') && contentStyles.center, restrictWidth && contentStyles.restrictWidth, (contentProps === null || contentProps === void 0 ? void 0 : contentProps.css) && contentProps.css];
44
+ var cssContentStyles = [contentStyles.euiPageSection__content, blockPadding[paddingSize], bottomBorder === true && styles.border, alignment.toLowerCase().includes('center') && contentStyles.center, restrictWidth && contentStyles.restrictWidth, contentProps === null || contentProps === void 0 ? void 0 : contentProps.css];
45
45
  return ___EmotionJSX(Component, _extends({
46
46
  css: cssStyles
47
47
  }, rest), ___EmotionJSX("div", _extends({}, contentProps, {