@elastic/eui 64.0.0 → 65.0.1

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 (393) hide show
  1. package/dist/eui_charts_theme.js +330 -330
  2. package/dist/eui_charts_theme.js.map +1 -1
  3. package/dist/eui_theme_dark.css +217 -1614
  4. package/dist/eui_theme_dark.json +0 -32
  5. package/dist/eui_theme_dark.json.d.ts +0 -32
  6. package/dist/eui_theme_dark.min.css +1 -1
  7. package/dist/eui_theme_light.css +244 -1641
  8. package/dist/eui_theme_light.json +0 -32
  9. package/dist/eui_theme_light.json.d.ts +0 -32
  10. package/dist/eui_theme_light.min.css +1 -1
  11. package/es/components/accessibility/screen_reader_only/screen_reader_only.styles.js +2 -1
  12. package/es/components/accessibility/skip_link/skip_link.js +4 -54
  13. package/es/components/accordion/accordion.js +2 -1
  14. package/es/components/accordion/accordion.styles.js +17 -27
  15. package/es/components/badge/beta_badge/beta_badge.js +16 -3
  16. package/es/components/basic_table/basic_table.js +1 -1
  17. package/es/components/basic_table/collapsed_item_actions.js +2 -3
  18. package/es/components/basic_table/in_memory_table.js +1 -1
  19. package/es/components/beacon/beacon.styles.js +2 -2
  20. package/es/components/breadcrumbs/breadcrumb.styles.js +2 -2
  21. package/es/components/button/button.js +112 -215
  22. package/es/components/button/button_display/_button_display.js +90 -40
  23. package/es/components/button/button_display/_button_display.styles.js +7 -16
  24. package/es/components/button/button_display/_button_display_content.js +6 -3
  25. package/es/components/button/button_display/_button_display_content.styles.js +7 -17
  26. package/es/components/button/button_empty/button_empty.js +63 -53
  27. package/es/components/button/button_empty/index.js +1 -1
  28. package/es/components/button/button_group/button_group.js +4 -12
  29. package/es/components/button/button_group/button_group_button.js +14 -4
  30. package/es/components/button/button_icon/button_icon.js +61 -42
  31. package/es/components/call_out/call_out.styles.js +2 -1
  32. package/es/components/card/card.js +173 -89
  33. package/es/components/card/card.styles.js +136 -0
  34. package/es/components/card/card_select/card_select.js +133 -0
  35. package/es/components/card/card_select/card_select.styles.js +25 -0
  36. package/es/components/card/card_select/index.js +8 -0
  37. package/es/components/card/checkable_card/checkable_card.js +14 -9
  38. package/es/components/card/checkable_card/checkable_card.styles.js +22 -0
  39. package/es/components/comment_list/comment_event.styles.js +1 -1
  40. package/es/components/datagrid/body/data_grid_body.js +7 -6
  41. package/es/components/datagrid/body/data_grid_cell.js +13 -12
  42. package/es/components/datagrid/body/header/data_grid_header_cell.js +7 -6
  43. package/es/components/datagrid/body/header/data_grid_header_row.js +7 -6
  44. package/es/components/datagrid/data_grid.js +7 -6
  45. package/es/components/datagrid/utils/in_memory.js +7 -6
  46. package/es/components/date_picker/auto_refresh/auto_refresh.js +3 -2
  47. package/es/components/date_picker/super_date_picker/super_date_picker.js +17 -1
  48. package/es/components/date_picker/super_date_picker/super_update_button.js +11 -1
  49. package/es/components/description_list/description_list_title.js +1 -1
  50. package/es/components/expression/expression.styles.js +13 -31
  51. package/es/components/facet/facet_button.js +5 -4
  52. package/es/components/header/header_links/header_link.js +5 -3
  53. package/es/components/image/image_button.styles.js +1 -1
  54. package/es/components/image/image_wrapper.styles.js +3 -3
  55. package/es/components/link/link.styles.js +7 -6
  56. package/es/components/list_group/list_group.js +2 -1
  57. package/es/components/list_group/list_group_item.js +2 -1
  58. package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +3 -2
  59. package/es/components/loading/loading_chart.styles.js +16 -26
  60. package/es/components/loading/loading_content.styles.js +2 -2
  61. package/es/components/loading/loading_logo.styles.js +4 -4
  62. package/es/components/loading/loading_spinner.styles.js +6 -6
  63. package/es/components/markdown_editor/markdown_editor_toolbar.js +2 -0
  64. package/es/components/modal/confirm_modal.js +1 -1
  65. package/es/components/notification/notification_event.js +5 -3
  66. package/es/components/notification/notification_event_read_button.js +2 -1
  67. package/es/components/page/page_template.js +2 -2
  68. package/es/components/page_template/inner/page_inner.styles.js +2 -2
  69. package/es/components/page_template/outer/page_outer.styles.js +3 -1
  70. package/es/components/pagination/pagination_button.js +5 -3
  71. package/es/components/panel/panel.js +1 -1
  72. package/es/components/panel/{panel.style.js → panel.styles.js} +2 -2
  73. package/es/components/progress/progress.styles.js +2 -2
  74. package/es/components/text/text.styles.js +1 -1
  75. package/es/components/title/title.styles.js +2 -2
  76. package/es/components/toast/global_toast_list.styles.js +2 -2
  77. package/es/components/toast/toast.styles.js +4 -4
  78. package/es/components/tool_tip/icon_tip.js +11 -1
  79. package/es/components/tool_tip/tool_tip.js +18 -6
  80. package/es/global_styling/functions/logicals.js +16 -72
  81. package/es/global_styling/functions/typography.js +2 -1
  82. package/es/global_styling/mixins/_color.js +1 -1
  83. package/es/global_styling/mixins/_helpers.js +18 -5
  84. package/es/global_styling/mixins/_states.js +3 -4
  85. package/es/global_styling/mixins/_typography.js +3 -1
  86. package/es/global_styling/reset/global_styles.js +2 -1
  87. package/es/global_styling/utility/utility.js +10 -2
  88. package/es/themes/amsterdam/global_styling/mixins/button.js +165 -16
  89. package/eui.d.ts +1156 -1013
  90. package/i18ntokens.json +19 -19
  91. package/lib/components/accessibility/screen_reader_only/screen_reader_only.styles.js +3 -1
  92. package/lib/components/accessibility/skip_link/skip_link.js +4 -54
  93. package/lib/components/accordion/accordion.js +3 -1
  94. package/lib/components/accordion/accordion.styles.js +17 -26
  95. package/lib/components/badge/beta_badge/beta_badge.js +16 -3
  96. package/lib/components/basic_table/basic_table.js +1 -1
  97. package/lib/components/basic_table/collapsed_item_actions.js +2 -3
  98. package/lib/components/basic_table/in_memory_table.js +1 -1
  99. package/lib/components/beacon/beacon.styles.js +1 -1
  100. package/lib/components/breadcrumbs/breadcrumb.styles.js +2 -2
  101. package/lib/components/button/button.js +124 -229
  102. package/lib/components/button/button_display/_button_display.js +94 -33
  103. package/lib/components/button/button_display/_button_display.styles.js +7 -16
  104. package/lib/components/button/button_display/_button_display_content.js +7 -3
  105. package/lib/components/button/button_display/_button_display_content.styles.js +7 -17
  106. package/lib/components/button/button_empty/button_empty.js +64 -54
  107. package/lib/components/button/button_empty/index.js +0 -6
  108. package/lib/components/button/button_group/button_group.js +4 -12
  109. package/lib/components/button/button_group/button_group_button.js +15 -4
  110. package/lib/components/button/button_icon/button_icon.js +61 -43
  111. package/lib/components/call_out/call_out.styles.js +2 -1
  112. package/lib/components/card/card.js +174 -88
  113. package/lib/components/card/card.styles.js +146 -0
  114. package/lib/components/card/card_select/card_select.js +144 -0
  115. package/lib/components/card/card_select/card_select.styles.js +27 -0
  116. package/lib/components/card/card_select/index.js +19 -0
  117. package/lib/components/card/checkable_card/checkable_card.js +16 -9
  118. package/lib/components/card/checkable_card/checkable_card.styles.js +33 -0
  119. package/lib/components/comment_list/comment_event.styles.js +1 -1
  120. package/lib/components/datagrid/body/data_grid_body.js +7 -6
  121. package/lib/components/datagrid/body/data_grid_cell.js +13 -12
  122. package/lib/components/datagrid/body/header/data_grid_header_cell.js +7 -6
  123. package/lib/components/datagrid/body/header/data_grid_header_row.js +7 -6
  124. package/lib/components/datagrid/data_grid.js +7 -6
  125. package/lib/components/datagrid/utils/in_memory.js +7 -6
  126. package/lib/components/date_picker/auto_refresh/auto_refresh.js +3 -2
  127. package/lib/components/date_picker/super_date_picker/super_date_picker.js +17 -1
  128. package/lib/components/date_picker/super_date_picker/super_update_button.js +11 -1
  129. package/lib/components/description_list/description_list_title.js +1 -1
  130. package/lib/components/expression/expression.styles.js +12 -30
  131. package/lib/components/facet/facet_button.js +4 -3
  132. package/lib/components/header/header_links/header_link.js +5 -3
  133. package/lib/components/image/image_button.styles.js +1 -1
  134. package/lib/components/image/image_wrapper.styles.js +2 -2
  135. package/lib/components/link/link.styles.js +6 -5
  136. package/lib/components/list_group/list_group.js +2 -1
  137. package/lib/components/list_group/list_group_item.js +2 -1
  138. package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +3 -2
  139. package/lib/components/loading/loading_chart.styles.js +16 -25
  140. package/lib/components/loading/loading_content.styles.js +1 -1
  141. package/lib/components/loading/loading_logo.styles.js +4 -4
  142. package/lib/components/loading/loading_spinner.styles.js +5 -5
  143. package/lib/components/markdown_editor/markdown_editor_toolbar.js +2 -0
  144. package/lib/components/modal/confirm_modal.js +1 -1
  145. package/lib/components/notification/notification_event.js +5 -3
  146. package/lib/components/notification/notification_event_read_button.js +2 -1
  147. package/lib/components/page/page_template.js +1 -1
  148. package/lib/components/page_template/inner/page_inner.styles.js +2 -2
  149. package/lib/components/page_template/outer/page_outer.styles.js +4 -1
  150. package/lib/components/panel/panel.js +1 -1
  151. package/{optimize/lib/components/panel/panel.style.js → lib/components/panel/panel.styles.js} +1 -1
  152. package/lib/components/progress/progress.styles.js +2 -2
  153. package/lib/components/text/text.styles.js +1 -1
  154. package/lib/components/title/title.styles.js +1 -1
  155. package/lib/components/toast/global_toast_list.styles.js +1 -1
  156. package/lib/components/toast/toast.styles.js +4 -4
  157. package/lib/components/tool_tip/icon_tip.js +11 -1
  158. package/lib/components/tool_tip/tool_tip.js +18 -6
  159. package/lib/global_styling/functions/logicals.js +22 -74
  160. package/lib/global_styling/functions/typography.js +3 -1
  161. package/lib/global_styling/mixins/_color.js +1 -1
  162. package/lib/global_styling/mixins/_helpers.js +24 -6
  163. package/lib/global_styling/mixins/_states.js +3 -4
  164. package/lib/global_styling/mixins/_typography.js +4 -1
  165. package/lib/global_styling/reset/global_styles.js +3 -1
  166. package/lib/global_styling/utility/utility.js +16 -3
  167. package/lib/themes/amsterdam/global_styling/mixins/button.js +178 -24
  168. package/optimize/es/components/accessibility/screen_reader_only/screen_reader_only.styles.js +2 -1
  169. package/optimize/es/components/accordion/accordion.js +2 -1
  170. package/optimize/es/components/accordion/accordion.styles.js +17 -27
  171. package/optimize/es/components/badge/beta_badge/beta_badge.js +6 -3
  172. package/optimize/es/components/basic_table/collapsed_item_actions.js +1 -2
  173. package/optimize/es/components/beacon/beacon.styles.js +2 -2
  174. package/optimize/es/components/breadcrumbs/breadcrumb.styles.js +2 -2
  175. package/optimize/es/components/button/button.js +88 -100
  176. package/optimize/es/components/button/button_display/_button_display.js +67 -32
  177. package/optimize/es/components/button/button_display/_button_display.styles.js +7 -16
  178. package/optimize/es/components/button/button_display/_button_display_content.js +5 -2
  179. package/optimize/es/components/button/button_display/_button_display_content.styles.js +7 -17
  180. package/optimize/es/components/button/button_empty/button_empty.js +55 -47
  181. package/optimize/es/components/button/button_empty/index.js +1 -1
  182. package/optimize/es/components/button/button_group/button_group.js +2 -10
  183. package/optimize/es/components/button/button_group/button_group_button.js +13 -3
  184. package/optimize/es/components/button/button_icon/button_icon.js +54 -41
  185. package/optimize/es/components/call_out/call_out.styles.js +2 -1
  186. package/optimize/es/components/card/card.js +97 -31
  187. package/optimize/es/components/card/card.styles.js +136 -0
  188. package/optimize/es/components/card/{card_select.js → card_select/card_select.js} +16 -14
  189. package/optimize/es/components/card/card_select/card_select.styles.js +25 -0
  190. package/optimize/es/components/card/card_select/index.js +8 -0
  191. package/optimize/es/components/card/checkable_card/checkable_card.js +14 -9
  192. package/optimize/es/components/card/checkable_card/checkable_card.styles.js +22 -0
  193. package/optimize/es/components/comment_list/comment_event.styles.js +1 -1
  194. package/optimize/es/components/description_list/description_list_title.js +1 -1
  195. package/optimize/es/components/expression/expression.styles.js +13 -31
  196. package/optimize/es/components/facet/facet_button.js +5 -3
  197. package/optimize/es/components/image/image_button.styles.js +1 -1
  198. package/optimize/es/components/image/image_wrapper.styles.js +3 -3
  199. package/optimize/es/components/link/link.styles.js +7 -6
  200. package/optimize/es/components/loading/loading_chart.styles.js +16 -26
  201. package/optimize/es/components/loading/loading_content.styles.js +2 -2
  202. package/optimize/es/components/loading/loading_logo.styles.js +4 -4
  203. package/optimize/es/components/loading/loading_spinner.styles.js +6 -6
  204. package/optimize/es/components/markdown_editor/markdown_editor_toolbar.js +2 -0
  205. package/optimize/es/components/page/page_template.js +2 -2
  206. package/optimize/es/components/page_template/inner/page_inner.styles.js +2 -2
  207. package/optimize/es/components/page_template/outer/page_outer.styles.js +3 -1
  208. package/optimize/es/components/panel/panel.js +1 -1
  209. package/optimize/es/components/panel/{panel.style.js → panel.styles.js} +2 -2
  210. package/optimize/es/components/progress/progress.styles.js +2 -2
  211. package/optimize/es/components/text/text.styles.js +1 -1
  212. package/optimize/es/components/title/title.styles.js +2 -2
  213. package/optimize/es/components/toast/global_toast_list.styles.js +2 -2
  214. package/optimize/es/components/toast/toast.styles.js +4 -4
  215. package/optimize/es/components/tool_tip/tool_tip.js +7 -5
  216. package/optimize/es/global_styling/functions/logicals.js +16 -72
  217. package/optimize/es/global_styling/functions/typography.js +2 -1
  218. package/optimize/es/global_styling/mixins/_color.js +1 -1
  219. package/optimize/es/global_styling/mixins/_helpers.js +18 -5
  220. package/optimize/es/global_styling/mixins/_states.js +3 -4
  221. package/optimize/es/global_styling/mixins/_typography.js +3 -1
  222. package/optimize/es/global_styling/reset/global_styles.js +2 -1
  223. package/optimize/es/global_styling/utility/utility.js +10 -2
  224. package/optimize/es/themes/amsterdam/global_styling/mixins/button.js +155 -16
  225. package/optimize/lib/components/accessibility/screen_reader_only/screen_reader_only.styles.js +3 -1
  226. package/optimize/lib/components/accordion/accordion.js +3 -1
  227. package/optimize/lib/components/accordion/accordion.styles.js +17 -26
  228. package/optimize/lib/components/badge/beta_badge/beta_badge.js +6 -3
  229. package/optimize/lib/components/basic_table/collapsed_item_actions.js +1 -2
  230. package/optimize/lib/components/beacon/beacon.styles.js +1 -1
  231. package/optimize/lib/components/breadcrumbs/breadcrumb.styles.js +2 -2
  232. package/optimize/lib/components/button/button.js +92 -103
  233. package/optimize/lib/components/button/button_display/_button_display.js +71 -25
  234. package/optimize/lib/components/button/button_display/_button_display.styles.js +7 -16
  235. package/optimize/lib/components/button/button_display/_button_display_content.js +6 -2
  236. package/optimize/lib/components/button/button_display/_button_display_content.styles.js +7 -17
  237. package/optimize/lib/components/button/button_empty/button_empty.js +59 -50
  238. package/optimize/lib/components/button/button_empty/index.js +0 -6
  239. package/optimize/lib/components/button/button_group/button_group.js +2 -10
  240. package/optimize/lib/components/button/button_group/button_group_button.js +15 -3
  241. package/optimize/lib/components/button/button_icon/button_icon.js +54 -41
  242. package/optimize/lib/components/call_out/call_out.styles.js +2 -1
  243. package/optimize/lib/components/card/card.js +97 -30
  244. package/optimize/lib/components/card/card.styles.js +146 -0
  245. package/optimize/lib/components/card/{card_select.js → card_select/card_select.js} +16 -14
  246. package/optimize/lib/components/card/card_select/card_select.styles.js +27 -0
  247. package/optimize/lib/components/card/card_select/index.js +19 -0
  248. package/optimize/lib/components/card/checkable_card/checkable_card.js +16 -9
  249. package/optimize/lib/components/card/checkable_card/checkable_card.styles.js +33 -0
  250. package/optimize/lib/components/comment_list/comment_event.styles.js +1 -1
  251. package/optimize/lib/components/description_list/description_list_title.js +1 -1
  252. package/optimize/lib/components/expression/expression.styles.js +12 -30
  253. package/optimize/lib/components/facet/facet_button.js +4 -2
  254. package/optimize/lib/components/image/image_button.styles.js +1 -1
  255. package/optimize/lib/components/image/image_wrapper.styles.js +2 -2
  256. package/optimize/lib/components/link/link.styles.js +6 -5
  257. package/optimize/lib/components/loading/loading_chart.styles.js +16 -25
  258. package/optimize/lib/components/loading/loading_content.styles.js +1 -1
  259. package/optimize/lib/components/loading/loading_logo.styles.js +4 -4
  260. package/optimize/lib/components/loading/loading_spinner.styles.js +5 -5
  261. package/optimize/lib/components/markdown_editor/markdown_editor_toolbar.js +2 -0
  262. package/optimize/lib/components/page/page_template.js +1 -1
  263. package/optimize/lib/components/page_template/inner/page_inner.styles.js +2 -2
  264. package/optimize/lib/components/page_template/outer/page_outer.styles.js +4 -1
  265. package/optimize/lib/components/panel/panel.js +1 -1
  266. package/{test-env/components/panel/panel.style.js → optimize/lib/components/panel/panel.styles.js} +1 -1
  267. package/optimize/lib/components/progress/progress.styles.js +2 -2
  268. package/optimize/lib/components/text/text.styles.js +1 -1
  269. package/optimize/lib/components/title/title.styles.js +1 -1
  270. package/optimize/lib/components/toast/global_toast_list.styles.js +1 -1
  271. package/optimize/lib/components/toast/toast.styles.js +4 -4
  272. package/optimize/lib/components/tool_tip/tool_tip.js +7 -5
  273. package/optimize/lib/global_styling/functions/logicals.js +28 -74
  274. package/optimize/lib/global_styling/functions/typography.js +3 -1
  275. package/optimize/lib/global_styling/mixins/_color.js +1 -1
  276. package/optimize/lib/global_styling/mixins/_helpers.js +24 -6
  277. package/optimize/lib/global_styling/mixins/_states.js +3 -4
  278. package/optimize/lib/global_styling/mixins/_typography.js +4 -1
  279. package/optimize/lib/global_styling/reset/global_styles.js +3 -1
  280. package/optimize/lib/global_styling/utility/utility.js +16 -3
  281. package/optimize/lib/themes/amsterdam/global_styling/mixins/button.js +170 -17
  282. package/package.json +2 -2
  283. package/src/components/badge/beta_badge/_beta_badge.scss +5 -1
  284. package/src/components/button/_index.scss +0 -1
  285. package/src/components/button/button_empty/_button_empty.scss +4 -48
  286. package/src/components/button/button_group/_button_group.scss +0 -1
  287. package/src/components/button/button_group/_button_group_button.scss +55 -83
  288. package/src/components/button/button_icon/_button_icon.scss +3 -103
  289. package/src/components/control_bar/_control_bar.scss +2 -6
  290. package/src/components/flyout/_flyout.scss +4 -1
  291. package/src/components/index.scss +0 -1
  292. package/src/global_styling/mixins/_button.scss +55 -11
  293. package/src/global_styling/mixins/_helpers.scss +9 -0
  294. package/src/global_styling/mixins/_index.scss +0 -1
  295. package/src/global_styling/utility/_utility.scss +0 -127
  296. package/src/themes/amsterdam/global_styling/mixins/_index.scss +0 -2
  297. package/src/themes/amsterdam/overrides/_header.scss +0 -2
  298. package/src/themes/amsterdam/overrides/_index.scss +0 -4
  299. package/test-env/components/accessibility/screen_reader_only/screen_reader_only.styles.js +3 -1
  300. package/test-env/components/accessibility/skip_link/skip_link.js +4 -54
  301. package/test-env/components/accordion/accordion.js +3 -1
  302. package/test-env/components/accordion/accordion.styles.js +17 -26
  303. package/test-env/components/badge/beta_badge/beta_badge.js +16 -3
  304. package/test-env/components/basic_table/basic_table.js +1 -1
  305. package/test-env/components/basic_table/collapsed_item_actions.js +2 -3
  306. package/test-env/components/basic_table/in_memory_table.js +1 -1
  307. package/test-env/components/beacon/beacon.styles.js +1 -1
  308. package/test-env/components/breadcrumbs/breadcrumb.styles.js +2 -2
  309. package/test-env/components/button/button.js +111 -225
  310. package/test-env/components/button/button_display/_button_display.js +93 -32
  311. package/test-env/components/button/button_display/_button_display.styles.js +7 -16
  312. package/test-env/components/button/button_display/_button_display_content.js +7 -3
  313. package/test-env/components/button/button_display/_button_display_content.styles.js +7 -17
  314. package/test-env/components/button/button_empty/button_empty.js +64 -53
  315. package/test-env/components/button/button_empty/index.js +0 -6
  316. package/test-env/components/button/button_group/button_group.js +4 -12
  317. package/test-env/components/button/button_group/button_group_button.js +16 -4
  318. package/test-env/components/button/button_icon/button_icon.js +61 -42
  319. package/test-env/components/call_out/call_out.styles.js +2 -1
  320. package/test-env/components/card/card.js +172 -88
  321. package/test-env/components/card/card.styles.js +146 -0
  322. package/test-env/components/card/card_select/card_select.js +141 -0
  323. package/test-env/components/card/card_select/card_select.styles.js +27 -0
  324. package/test-env/components/card/card_select/index.js +19 -0
  325. package/test-env/components/card/checkable_card/checkable_card.js +16 -9
  326. package/test-env/components/card/checkable_card/checkable_card.styles.js +33 -0
  327. package/test-env/components/comment_list/comment_event.styles.js +1 -1
  328. package/test-env/components/datagrid/body/data_grid_body.js +7 -6
  329. package/test-env/components/datagrid/body/data_grid_cell.js +13 -12
  330. package/test-env/components/datagrid/body/header/data_grid_header_cell.js +7 -6
  331. package/test-env/components/datagrid/body/header/data_grid_header_row.js +7 -6
  332. package/test-env/components/datagrid/data_grid.js +7 -6
  333. package/test-env/components/datagrid/utils/in_memory.js +7 -6
  334. package/test-env/components/date_picker/auto_refresh/auto_refresh.js +3 -2
  335. package/test-env/components/date_picker/super_date_picker/super_date_picker.js +17 -1
  336. package/test-env/components/date_picker/super_date_picker/super_update_button.js +11 -1
  337. package/test-env/components/description_list/description_list_title.js +1 -1
  338. package/test-env/components/expression/expression.styles.js +12 -30
  339. package/test-env/components/facet/facet_button.js +4 -3
  340. package/test-env/components/header/header_links/header_link.js +5 -3
  341. package/test-env/components/image/image_button.styles.js +1 -1
  342. package/test-env/components/image/image_wrapper.styles.js +2 -2
  343. package/test-env/components/link/link.styles.js +6 -5
  344. package/test-env/components/list_group/list_group.js +2 -1
  345. package/test-env/components/list_group/list_group_item.js +2 -1
  346. package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +3 -2
  347. package/test-env/components/loading/loading_chart.styles.js +16 -25
  348. package/test-env/components/loading/loading_content.styles.js +1 -1
  349. package/test-env/components/loading/loading_logo.styles.js +4 -4
  350. package/test-env/components/loading/loading_spinner.styles.js +5 -5
  351. package/test-env/components/markdown_editor/markdown_editor_toolbar.js +2 -0
  352. package/test-env/components/modal/confirm_modal.js +1 -1
  353. package/test-env/components/notification/notification_event.js +5 -3
  354. package/test-env/components/notification/notification_event_read_button.js +2 -1
  355. package/test-env/components/page/page_template.js +1 -1
  356. package/test-env/components/page_template/inner/page_inner.styles.js +2 -2
  357. package/test-env/components/page_template/outer/page_outer.styles.js +4 -1
  358. package/test-env/components/panel/panel.js +1 -1
  359. package/{lib/components/panel/panel.style.js → test-env/components/panel/panel.styles.js} +1 -1
  360. package/test-env/components/progress/progress.styles.js +2 -2
  361. package/test-env/components/text/text.styles.js +1 -1
  362. package/test-env/components/title/title.styles.js +1 -1
  363. package/test-env/components/toast/global_toast_list.styles.js +1 -1
  364. package/test-env/components/toast/toast.styles.js +4 -4
  365. package/test-env/components/tool_tip/icon_tip.js +11 -1
  366. package/test-env/components/tool_tip/tool_tip.js +18 -6
  367. package/test-env/global_styling/functions/logicals.js +28 -74
  368. package/test-env/global_styling/functions/typography.js +3 -1
  369. package/test-env/global_styling/mixins/_color.js +1 -1
  370. package/test-env/global_styling/mixins/_helpers.js +24 -6
  371. package/test-env/global_styling/mixins/_states.js +3 -4
  372. package/test-env/global_styling/mixins/_typography.js +4 -1
  373. package/test-env/global_styling/reset/global_styles.js +3 -1
  374. package/test-env/global_styling/utility/utility.js +16 -3
  375. package/test-env/themes/amsterdam/global_styling/mixins/button.js +170 -17
  376. package/es/components/card/card_select.js +0 -176
  377. package/lib/components/card/card_select.js +0 -187
  378. package/src/components/button/_button.scss +0 -143
  379. package/src/components/button/button_icon/_variables.scss +0 -11
  380. package/src/components/card/_card.scss +0 -239
  381. package/src/components/card/_card_select.scss +0 -21
  382. package/src/components/card/_index.scss +0 -5
  383. package/src/components/card/_mixins.scss +0 -11
  384. package/src/components/card/_variables.scss +0 -25
  385. package/src/components/card/checkable_card/_checkable_card.scss +0 -29
  386. package/src/components/card/checkable_card/_index.scss +0 -1
  387. package/src/global_styling/mixins/_beta_badge.scss +0 -30
  388. package/src/themes/amsterdam/global_styling/mixins/_button.scss +0 -60
  389. package/src/themes/amsterdam/overrides/_button.scss +0 -119
  390. package/src/themes/amsterdam/overrides/_button_empty.scss +0 -20
  391. package/src/themes/amsterdam/overrides/_button_group.scss +0 -91
  392. package/src/themes/amsterdam/overrides/_card.scss +0 -6
  393. package/test-env/components/card/card_select.js +0 -184
@@ -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 = ["className", "isSelected", "isDisabled", "color", "children"];
3
+ var _excluded = ["isSelected", "isDisabled", "disabled", "color", "children"];
4
4
 
5
5
  /*
6
6
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
@@ -10,29 +10,31 @@ var _excluded = ["className", "isSelected", "isDisabled", "color", "children"];
10
10
  * Side Public License, v 1.
11
11
  */
12
12
  import React from 'react';
13
- import classNames from 'classnames';
14
- import { EuiButtonEmpty } from '../button/button_empty';
15
- import { EuiI18n } from '../i18n';
13
+ import { EuiI18n } from '../../i18n';
14
+ import { EuiButton } from '../../button/button';
15
+ import { euiCardSelectStyles } from './card_select.styles';
16
16
  import { jsx as ___EmotionJSX } from "@emotion/react";
17
17
  export var EuiCardSelect = function EuiCardSelect(_ref) {
18
- var className = _ref.className,
19
- _ref$isSelected = _ref.isSelected,
18
+ var _ref$isSelected = _ref.isSelected,
20
19
  isSelected = _ref$isSelected === void 0 ? false : _ref$isSelected,
21
20
  isDisabled = _ref.isDisabled,
21
+ disabled = _ref.disabled,
22
22
  color = _ref.color,
23
23
  children = _ref.children,
24
24
  rest = _objectWithoutProperties(_ref, _excluded);
25
25
 
26
- var child = euiCardSelectableText(isSelected, isDisabled, children);
27
- var selectClasses = classNames('euiCardSelect', "euiCardSelect--".concat(euiCardSelectableColor(color, isSelected)), className);
28
- return ___EmotionJSX(EuiButtonEmpty, _extends({
29
- className: selectClasses,
30
- color: color || 'text',
31
- size: "xs",
32
- isDisabled: isDisabled,
26
+ var styles = euiCardSelectStyles();
27
+ var baseCSS = [styles.euiCardSelect];
28
+ var child = euiCardSelectableText(isSelected, isDisabled || disabled, children);
29
+ return ___EmotionJSX(EuiButton, _extends({
30
+ css: baseCSS,
31
+ color: euiCardSelectableColor(color, isSelected),
32
+ size: "m",
33
+ isDisabled: isDisabled || disabled,
33
34
  iconType: isSelected ? 'check' : undefined,
34
35
  role: "switch",
35
- "aria-checked": isSelected
36
+ "aria-checked": isSelected,
37
+ fullWidth: true
36
38
  }, rest), child);
37
39
  };
38
40
 
@@ -0,0 +1,25 @@
1
+ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
2
+
3
+ /*
4
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
5
+ * or more contributor license agreements. Licensed under the Elastic License
6
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
7
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
8
+ * Side Public License, v 1.
9
+ */
10
+ import { css } from '@emotion/react';
11
+
12
+ var _ref = process.env.NODE_ENV === "production" ? {
13
+ name: "g3lgnd-euiCardSelect",
14
+ styles: "transform:none!important;label:euiCardSelect;"
15
+ } : {
16
+ name: "g3lgnd-euiCardSelect",
17
+ styles: "transform:none!important;label:euiCardSelect;",
18
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
19
+ };
20
+
21
+ export var euiCardSelectStyles = function euiCardSelectStyles() {
22
+ return {
23
+ euiCardSelect: _ref
24
+ };
25
+ };
@@ -0,0 +1,8 @@
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
+ export { EuiCardSelect, euiCardSelectableColor } from './card_select';
@@ -13,6 +13,8 @@ import React, { useRef } from 'react';
13
13
  import classNames from 'classnames';
14
14
  import { EuiRadio, EuiCheckbox } from '../../form';
15
15
  import { EuiSplitPanel } from '../../panel';
16
+ import { useEuiTheme } from '../../../services';
17
+ import { euiCheckableCardStyles } from './checkable_card.styles';
16
18
  import { jsx as ___EmotionJSX } from "@emotion/react";
17
19
  export var EuiCheckableCard = function EuiCheckableCard(_ref) {
18
20
  var children = _ref.children,
@@ -27,12 +29,14 @@ export var EuiCheckableCard = function EuiCheckableCard(_ref) {
27
29
  hasBorder = _ref$hasBorder === void 0 ? true : _ref$hasBorder,
28
30
  rest = _objectWithoutProperties(_ref, _excluded);
29
31
 
32
+ var euiThemeContext = useEuiTheme();
33
+ var styles = euiCheckableCardStyles(euiThemeContext);
34
+ var baseStyles = [styles.euiCheckableCard, checked && !disabled && styles.isChecked];
35
+ var labelStyles = [styles.label.euiCheckableCard__label, disabled && styles.label.isDisabled];
36
+ var childStyles = [styles.euiCheckableCard__children];
30
37
  var id = rest.id;
31
38
  var labelEl = useRef(null);
32
- var classes = classNames('euiCheckableCard', {
33
- 'euiCheckableCard-isChecked': checked,
34
- 'euiCheckableCard-isDisabled': disabled
35
- }, className);
39
+ var classes = classNames('euiCheckableCard', className);
36
40
  var checkableElement;
37
41
 
38
42
  if (checkableType === 'radio') {
@@ -47,9 +51,7 @@ export var EuiCheckableCard = function EuiCheckableCard(_ref) {
47
51
  }, rest));
48
52
  }
49
53
 
50
- var labelClasses = classNames('euiCheckableCard__label', {
51
- 'euiCheckableCard__label-isDisabled': disabled
52
- });
54
+ var labelClasses = classNames('euiCheckableCard__label');
53
55
 
54
56
  var onChangeAffordance = function onChangeAffordance() {
55
57
  if (labelEl.current) {
@@ -62,7 +64,8 @@ export var EuiCheckableCard = function EuiCheckableCard(_ref) {
62
64
  hasShadow: hasShadow,
63
65
  hasBorder: hasBorder,
64
66
  direction: "row",
65
- className: classes
67
+ className: classes,
68
+ css: baseStyles
66
69
  }, ___EmotionJSX(EuiSplitPanel.Inner, {
67
70
  // Bubbles up the change event when clicking on the whole div for extra affordance
68
71
  onClick: disabled ? undefined : onChangeAffordance,
@@ -71,10 +74,12 @@ export var EuiCheckableCard = function EuiCheckableCard(_ref) {
71
74
  }, checkableElement), ___EmotionJSX(EuiSplitPanel.Inner, null, ___EmotionJSX("label", {
72
75
  ref: labelEl,
73
76
  className: labelClasses,
77
+ css: labelStyles,
74
78
  htmlFor: id,
75
79
  "aria-describedby": children ? "".concat(id, "-details") : undefined
76
80
  }, label), children && ___EmotionJSX("div", {
77
81
  id: "".concat(id, "-details"),
78
- className: "euiCheckableCard__children"
82
+ className: "euiCheckableCard__children",
83
+ css: childStyles
79
84
  }, children)));
80
85
  };
@@ -0,0 +1,22 @@
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
+ import { css } from '@emotion/react';
9
+ import { euiCanAnimate, euiPaddingSize, logicalCSS, logicals } from '../../../global_styling';
10
+ export var euiCheckableCardStyles = function euiCheckableCardStyles(euiThemeContext) {
11
+ var euiTheme = euiThemeContext.euiTheme;
12
+ var padding = euiPaddingSize(euiThemeContext, 'm');
13
+ return {
14
+ euiCheckableCard: /*#__PURE__*/css(euiCanAnimate, "{transition:border-color ", euiTheme.animation.normal, " ease-in;};label:euiCheckableCard;"),
15
+ isChecked: /*#__PURE__*/css("border-color:", euiTheme.colors.primary, ";;label:isChecked;"),
16
+ label: {
17
+ euiCheckableCard__label: /*#__PURE__*/css("cursor:pointer;display:block;", logicals.width, ":calc(100% + (", padding, " * 2));padding:", padding, ";margin:-", padding, ";;label:euiCheckableCard__label;"),
18
+ isDisabled: /*#__PURE__*/css("color:", euiTheme.colors.disabledText, ";cursor:not-allowed;;label:isDisabled;")
19
+ },
20
+ euiCheckableCard__children: /*#__PURE__*/css(logicalCSS('margin-top', euiTheme.size.base), ";;label:euiCheckableCard__children;")
21
+ };
22
+ };
@@ -53,7 +53,7 @@ export var euiCommentEventHeaderStyles = function euiCommentEventHeaderStyles(_r
53
53
  return {
54
54
  euiCommentEvent__header: /*#__PURE__*/css(";label:euiCommentEvent__header;"),
55
55
  // types
56
- regular: /*#__PURE__*/css("background:", euiTheme.colors.lightestShade, ";border-bottom:", euiTheme.border.thin, ";padding:", euiTheme.size.s, ";;label:regular;"),
56
+ regular: /*#__PURE__*/css("background:", euiTheme.colors.lightestShade, ";", logicalCSS('border-bottom', euiTheme.border.thin), " padding:", euiTheme.size.s, ";;label:regular;"),
57
57
  // variants
58
58
  hasEventColor: _ref2,
59
59
  // Children
@@ -30,7 +30,7 @@ export var EuiDescriptionListTitle = function EuiDescriptionListTitle(_ref) {
30
30
 
31
31
  var theme = useEuiTheme();
32
32
  var styles = euiDescriptionListTitleStyles(theme);
33
- var conditionalStyles = compressed && textStyle === 'reverse' ? [styles.fontStyles.compressed] : [styles.fontStyles[textStyle]];
33
+ var conditionalStyles = compressed && textStyle !== 'reverse' ? [styles.fontStyles.compressed] : [styles.fontStyles[textStyle]];
34
34
 
35
35
  switch (type) {
36
36
  case 'inline':
@@ -10,42 +10,24 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
10
10
  * Side Public License, v 1.
11
11
  */
12
12
  import { css } from '@emotion/react';
13
- import { euiFontSize, logicalCSS, euiTextBreakWord, euiTextTruncate } from '../../global_styling';
13
+ import { euiFontSize, logicalCSS, logicalTextAlignCSS, euiTextBreakWord, euiTextTruncate } from '../../global_styling';
14
14
  import { transparentize } from '../../services/color';
15
15
 
16
16
  var _colorCSS = function _colorCSS(color) {
17
17
  return "\n &:focus {\n background-color: ".concat(transparentize(color, 0.1), ";\n }\n ");
18
18
  };
19
19
 
20
- var _ref3 = process.env.NODE_ENV === "production" ? {
21
- name: "6151l-base",
22
- styles: "border-bottom-style:solid;label:base;"
23
- } : {
24
- name: "6151l-base",
25
- styles: "border-bottom-style:solid;label:base;",
26
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
27
- };
28
-
29
- var _ref4 = process.env.NODE_ENV === "production" ? {
30
- name: "1372s1f-truncate",
31
- styles: "max-width:100%;label:truncate;"
32
- } : {
33
- name: "1372s1f-truncate",
34
- styles: "max-width:100%;label:truncate;",
35
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
36
- };
37
-
38
20
  export var euiExpressionStyles = function euiExpressionStyles(euiThemeContext) {
39
21
  var euiTheme = euiThemeContext.euiTheme;
40
22
  return {
41
- euiExpression: /*#__PURE__*/css(euiTextBreakWord(), ";font-family:", euiTheme.font.familyCode, ";border-bottom:", euiTheme.border.width.thick, " solid transparent;", euiFontSize(euiThemeContext, 's'), ";display:inline-block;text-align:left;padding:calc(", euiTheme.size.s, " / 2) 0;color:", euiTheme.colors.text, ";&:focus{border-bottom-style:solid;}&+.euiExpression{", logicalCSS('margin-left', euiTheme.size.s), ";};label:euiExpression;"),
23
+ euiExpression: /*#__PURE__*/css(euiTextBreakWord(), ";display:inline-block;font-family:", euiTheme.font.familyCode, ";", logicalCSS('border-bottom', "".concat(euiTheme.border.width.thick, " solid transparent")), " ", euiFontSize(euiThemeContext, 's'), ";", logicalTextAlignCSS('left'), " padding:", parseFloat(euiTheme.size.s) / 2, "px 0;color:", euiTheme.colors.text, ";&:focus{", logicalCSS('border-bottom-style', 'solid'), ";}&+.euiExpression{", logicalCSS('margin-left', euiTheme.size.s), ";};label:euiExpression;"),
42
24
  // Variants
43
- columns: /*#__PURE__*/css("border-color:transparent;border-bottom-style:solid;", logicalCSS('margin-bottom', euiTheme.size.xs), " width:100%;display:flex;padding:", euiTheme.size.xs, ";border-radius:", euiTheme.size.xs, ";;label:columns;"),
44
- truncate: _ref4,
25
+ columns: /*#__PURE__*/css("border-color:transparent;", logicalCSS('border-bottom-style', 'solid'), " ", logicalCSS('margin-bottom', euiTheme.size.xs), " ", logicalCSS('width', '100%'), " display:flex;padding:", euiTheme.size.xs, ";border-radius:", euiTheme.size.xs, ";;label:columns;"),
26
+ truncate: /*#__PURE__*/css(logicalCSS('max-width', '100%'), ";;label:truncate;"),
45
27
  // States
46
- isClickable: /*#__PURE__*/css("cursor:pointer;border-bottom:", euiTheme.border.editable, ";&[class*='-columns']{background-color:", euiTheme.colors.lightestShade, ";&:focus,&:hover:not(:disabled){[class*='euiExpression__description'],[class*='euiExpression__value']{text-decoration:underline;}}};label:isClickable;"),
28
+ isClickable: /*#__PURE__*/css("cursor:pointer;", logicalCSS('border-bottom', euiTheme.border.editable), " &[class*='-columns']{background-color:", euiTheme.colors.lightestShade, ";&:focus,&:hover:not(:disabled){[class*='euiExpression__description'],[class*='euiExpression__value']{text-decoration:underline;}}};label:isClickable;"),
47
29
  isActive: {
48
- base: _ref3,
30
+ base: /*#__PURE__*/css(logicalCSS('border-bottom-style', 'solid'), ";;label:base;"),
49
31
  subdued: /*#__PURE__*/css("border-color:", euiTheme.colors.subduedText, ";;label:subdued;"),
50
32
  primary: /*#__PURE__*/css("border-color:", euiTheme.colors.primary, ";;label:primary;"),
51
33
  success: /*#__PURE__*/css("border-color:", euiTheme.colors.success, ";;label:success;"),
@@ -71,8 +53,8 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
71
53
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
72
54
  };
73
55
 
74
- export var euiExpressionDescriptionStyles = function euiExpressionDescriptionStyles(_ref5) {
75
- var euiTheme = _ref5.euiTheme;
56
+ export var euiExpressionDescriptionStyles = function euiExpressionDescriptionStyles(_ref3) {
57
+ var euiTheme = _ref3.euiTheme;
76
58
  return {
77
59
  euiExpression__description: /*#__PURE__*/css(";label:euiExpression__description;"),
78
60
  truncate: /*#__PURE__*/css(euiTextTruncate(), " display:inline-block;vertical-align:bottom;;label:truncate;"),
@@ -83,7 +65,7 @@ export var euiExpressionDescriptionStyles = function euiExpressionDescriptionSty
83
65
  danger: /*#__PURE__*/css("color:", euiTheme.colors.dangerText, ";;label:danger;"),
84
66
  accent: /*#__PURE__*/css("color:", euiTheme.colors.accentText, ";;label:accent;"),
85
67
  isUppercase: _ref2,
86
- columns: /*#__PURE__*/css("text-align:end;", logicalCSS('margin-right', euiTheme.size.s), ";flex-shrink:0;;label:columns;")
68
+ columns: /*#__PURE__*/css(logicalTextAlignCSS('right'), " ", logicalCSS('margin-right', euiTheme.size.s), ";flex-shrink:0;;label:columns;")
87
69
  };
88
70
  };
89
71
 
@@ -96,8 +78,8 @@ var _ref = process.env.NODE_ENV === "production" ? {
96
78
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
97
79
  };
98
80
 
99
- export var euiExpressionValueStyles = function euiExpressionValueStyles(_ref6) {
100
- _objectDestructuringEmpty(_ref6);
81
+ export var euiExpressionValueStyles = function euiExpressionValueStyles(_ref4) {
82
+ _objectDestructuringEmpty(_ref4);
101
83
 
102
84
  return {
103
85
  euiExpression__value: /*#__PURE__*/css(";label:euiExpression__value;"),
@@ -105,8 +87,8 @@ export var euiExpressionValueStyles = function euiExpressionValueStyles(_ref6) {
105
87
  columns: _ref
106
88
  };
107
89
  };
108
- export var euiExpressionIconStyles = function euiExpressionIconStyles(_ref7) {
109
- var euiTheme = _ref7.euiTheme;
90
+ export var euiExpressionIconStyles = function euiExpressionIconStyles(_ref5) {
91
+ var euiTheme = _ref5.euiTheme;
110
92
  return {
111
93
  euiExpression__icon: /*#__PURE__*/css(logicalCSS('margin-left', euiTheme.size.xs), ";;label:euiExpression__icon;"),
112
94
  columns: /*#__PURE__*/css(logicalCSS('margin-top', euiTheme.size.xs), ";;label:columns;")
@@ -17,7 +17,7 @@ import { EuiInnerText } from '../inner_text';
17
17
  import { cloneElementWithCss } from '../../services/theme/clone_element';
18
18
  import { useEuiTheme } from '../../services';
19
19
  import { euiFacetButtonStyles, euiFacetButtonTextStyles, euiFacetButtonIconStyles, euiFacetButtonQuantityStyles, euiFacetButtonLoadingSpinnerStyles } from './facet_button.styles';
20
- import { EuiButtonDisplay } from '../button/button_display/_button_display';
20
+ import { EuiButtonDisplay, isButtonDisabled } from '../button/button_display/_button_display';
21
21
  import { jsx as ___EmotionJSX } from "@emotion/react";
22
22
  export var EuiFacetButton = function EuiFacetButton(_ref) {
23
23
  var children = _ref.children,
@@ -34,7 +34,10 @@ export var EuiFacetButton = function EuiFacetButton(_ref) {
34
34
  rest = _objectWithoutProperties(_ref, _excluded);
35
35
 
36
36
  // If in the loading state, force disabled to true
37
- isDisabled = isLoading ? true : isDisabled;
37
+ isDisabled = isButtonDisabled({
38
+ isDisabled: isDisabled,
39
+ isLoading: isLoading
40
+ });
38
41
  var selection = isSelected ? 'isSelected' : 'unSelected';
39
42
  var classes = classNames('euiFacetButton', className);
40
43
  var theme = useEuiTheme();
@@ -79,7 +82,6 @@ export var EuiFacetButton = function EuiFacetButton(_ref) {
79
82
  return ___EmotionJSX(EuiButtonDisplay, _extends({
80
83
  className: classes,
81
84
  css: cssStyles,
82
- element: "button",
83
85
  isDisabled: isDisabled,
84
86
  ref: buttonRef,
85
87
  title: rest['aria-label'] || innerText,
@@ -14,7 +14,7 @@ export var euiImageButtonStyles = function euiImageButtonStyles(euiThemeContext)
14
14
  var euiTheme = euiThemeContext.euiTheme;
15
15
  return {
16
16
  // Base
17
- euiImageButton: /*#__PURE__*/css("position:relative;cursor:pointer;text-align:match-parent;line-height:0;&::before{opacity:0;content:'';pointer-events:none;position:absolute;top:0;bottom:0;left:0;right:0;", euiCanAnimate, "{transition:opacity ", euiTheme.animation.fast, " ", euiTheme.animation.resistance, ";}}&:hover,&:focus{&::before{opacity:1;}[class*='euiImageButton__icon']{opacity:1;}}&:focus{", euiFocusRing(euiTheme, 'outset'), ";};label:euiImageButton;"),
17
+ euiImageButton: /*#__PURE__*/css("position:relative;cursor:pointer;text-align:match-parent;line-height:0;&::before{opacity:0;content:'';pointer-events:none;position:absolute;inset:0;", euiCanAnimate, "{transition:opacity ", euiTheme.animation.fast, " ", euiTheme.animation.resistance, ";}}&:hover,&:focus{&::before{opacity:1;}[class*='euiImageButton__icon']{opacity:1;}}&:focus{", euiFocusRing(euiThemeContext, 'outset'), ";};label:euiImageButton;"),
18
18
  fullWidth: /*#__PURE__*/css(logicalCSS('width', '100%'), ";;label:fullWidth;"),
19
19
  shadowHover: /*#__PURE__*/css("&::before{", euiShadow(euiThemeContext, 's'), ";};label:shadowHover;"),
20
20
  hasShadowHover: /*#__PURE__*/css("&::before{", euiShadow(euiThemeContext, 'm'), ";};label:hasShadowHover;")
@@ -8,7 +8,7 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
8
8
  * Side Public License, v 1.
9
9
  */
10
10
  import { css } from '@emotion/react';
11
- import { logicalCSS, logicalTextAlignCSS, logicalSide } from '../../global_styling';
11
+ import { euiBreakpoint, logicalCSS, logicalTextAlignCSS, logicalSide } from '../../global_styling';
12
12
 
13
13
  var _ref = process.env.NODE_ENV === "production" ? {
14
14
  name: "gacnmc-allowFullScreen",
@@ -33,8 +33,8 @@ export var euiImageWrapperStyles = function euiImageWrapperStyles(euiThemeContex
33
33
  // Floats
34
34
  // 1: Logical properties/values in `float` is currently not yet supported by all browsers w/o flags
35
35
  // @see https://caniuse.com/mdn-css_properties_float_flow_relative_values for when we can remove left/right fallbacks
36
- left: /*#__PURE__*/css("@media only screen and (min-width: ", euiTheme.breakpoint.m, "px){float:left;float:", logicalSide.left, ";", logicalCSS('margin-left', '0'), ";", logicalCSS('margin-top', '0'), ";};label:left;"),
37
- right: /*#__PURE__*/css("@media only screen and (min-width: ", euiTheme.breakpoint.m, "px){float:right;float:", logicalSide.right, ";", logicalCSS('margin-right', '0'), ";", logicalCSS('margin-top', '0'), ";};label:right;"),
36
+ left: /*#__PURE__*/css(euiBreakpoint(euiThemeContext, ['m', 'xl']), "{float:left;float:", logicalSide.left, ";", logicalCSS('margin-left', '0'), ";", logicalCSS('margin-top', '0'), ";};label:left;"),
37
+ right: /*#__PURE__*/css(euiBreakpoint(euiThemeContext, ['m', 'xl']), "{float:right;float:", logicalSide.right, ";", logicalCSS('margin-right', '0'), ";", logicalCSS('margin-top', '0'), ";};label:right;"),
38
38
  // Sizes
39
39
  fullWidth: /*#__PURE__*/css(logicalCSS('width', '100%'), ";;label:fullWidth;")
40
40
  };
@@ -8,7 +8,7 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
8
8
  * Side Public License, v 1.
9
9
  */
10
10
  import { css } from '@emotion/react';
11
- import { euiFocusRing, logicalCSS } from '../../global_styling';
11
+ import { euiFocusRing, logicalCSS, logicalTextAlignCSS } from '../../global_styling';
12
12
 
13
13
  var _colorCSS = function _colorCSS(color) {
14
14
  return "\n color: ".concat(color, ";\n\n &:hover,\n &:focus,\n &:target {\n text-decoration: underline;\n }\n\n &:target {\n color: darken(").concat(color, ", 10%);\n }\n ");
@@ -20,8 +20,9 @@ export var euiLinkHoverCSS = function euiLinkHoverCSS() {
20
20
  export var euiLinkFocusCSS = function euiLinkFocusCSS(euiTheme) {
21
21
  return "\n text-decoration: underline;\n text-decoration-thickness: ".concat(euiTheme.border.width.thick, " !important;\n ");
22
22
  };
23
- export var euiLinkCSS = function euiLinkCSS(euiTheme) {
24
- return "\n font-weight: ".concat(euiTheme.font.weight.medium, ";\n text-align: left;\n\n &:hover {\n ").concat(euiLinkHoverCSS(), "\n }\n\n &:focus {\n ").concat(euiFocusRing(euiTheme, 'outset'), "\n ").concat(euiLinkFocusCSS(euiTheme), "\n }\n ");
23
+ export var euiLinkCSS = function euiLinkCSS(euiThemeContext) {
24
+ var euiTheme = euiThemeContext.euiTheme;
25
+ return "\n font-weight: ".concat(euiTheme.font.weight.medium, ";\n ").concat(logicalTextAlignCSS('left'), "\n\n &:hover {\n ").concat(euiLinkHoverCSS(), "\n }\n\n &:focus {\n ").concat(euiFocusRing(euiThemeContext, 'outset'), "\n ").concat(euiLinkFocusCSS(euiTheme), "\n }\n ");
25
26
  };
26
27
 
27
28
  var _ref = process.env.NODE_ENV === "production" ? {
@@ -33,10 +34,10 @@ var _ref = process.env.NODE_ENV === "production" ? {
33
34
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
34
35
  };
35
36
 
36
- export var euiLinkStyles = function euiLinkStyles(_ref2) {
37
- var euiTheme = _ref2.euiTheme;
37
+ export var euiLinkStyles = function euiLinkStyles(euiThemeContext) {
38
+ var euiTheme = euiThemeContext.euiTheme;
38
39
  return {
39
- euiLink: /*#__PURE__*/css(euiLinkCSS(euiTheme), " user-select:text;&[target='_blank']{position:relative;};label:euiLink;"),
40
+ euiLink: /*#__PURE__*/css(euiLinkCSS(euiThemeContext), " user-select:text;&[target='_blank']{position:relative;};label:euiLink;"),
40
41
  disabled: _ref,
41
42
  // Color styles
42
43
  primary: /*#__PURE__*/css(_colorCSS(euiTheme.colors.primaryText), ";label:primary;"),
@@ -15,7 +15,7 @@ import { css, keyframes } from '@emotion/react';
15
15
  import { euiPaletteColorBlind, shadeOrTint } from '../../services';
16
16
  import { euiCanAnimate, logicalCSS } from '../../global_styling';
17
17
 
18
- var _ref2 = process.env.NODE_ENV === "production" ? {
18
+ var _ref = process.env.NODE_ENV === "production" ? {
19
19
  name: "yovxj7-euiLoadingChart",
20
20
  styles: "overflow:hidden;display:inline-flex;label:euiLoadingChart;"
21
21
  } : {
@@ -24,38 +24,28 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
24
24
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
25
25
  };
26
26
 
27
- export var euiLoadingChartStyles = function euiLoadingChartStyles(_ref3) {
28
- var euiTheme = _ref3.euiTheme;
27
+ export var euiLoadingChartStyles = function euiLoadingChartStyles(_ref2) {
28
+ var euiTheme = _ref2.euiTheme;
29
29
  return {
30
- euiLoadingChart: _ref2,
31
- m: /*#__PURE__*/css("height:", euiTheme.size.base, ";gap:", euiTheme.size.xxs, ";;label:m;"),
32
- l: /*#__PURE__*/css("height:", euiTheme.size.l, ";gap:", euiTheme.size.xxs, ";;label:l;"),
33
- xl: /*#__PURE__*/css("height:", euiTheme.size.xl, ";gap:", euiTheme.size.xs, ";;label:xl;")
30
+ euiLoadingChart: _ref,
31
+ m: /*#__PURE__*/css(logicalCSS('height', euiTheme.size.base), " gap:", euiTheme.size.xxs, ";;label:m;"),
32
+ l: /*#__PURE__*/css(logicalCSS('height', euiTheme.size.l), " gap:", euiTheme.size.xxs, ";;label:l;"),
33
+ xl: /*#__PURE__*/css(logicalCSS('height', euiTheme.size.xl), " gap:", euiTheme.size.xs, ";;label:xl;")
34
34
  };
35
35
  };
36
-
37
- var _ref = process.env.NODE_ENV === "production" ? {
38
- name: "decz5u-euiLoadingChart__bar",
39
- styles: "height:100%;display:inline-block;label:euiLoadingChart__bar;"
40
- } : {
41
- name: "decz5u-euiLoadingChart__bar",
42
- styles: "height:100%;display:inline-block;label:euiLoadingChart__bar;",
43
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
44
- };
45
-
46
- export var euiLoadingChartBarStyles = function euiLoadingChartBarStyles(_ref4) {
47
- var euiTheme = _ref4.euiTheme;
36
+ export var euiLoadingChartBarStyles = function euiLoadingChartBarStyles(_ref3) {
37
+ var euiTheme = _ref3.euiTheme;
48
38
  return {
49
- euiLoadingChart__bar: _ref,
50
- m: /*#__PURE__*/css("width:", euiTheme.size.xxs, ";", logicalCSS('margin-bottom', euiTheme.size.s), ";;label:m;"),
51
- l: /*#__PURE__*/css("width:", euiTheme.size.xs, ";", logicalCSS('margin-bottom', euiTheme.size.m), ";;label:l;"),
52
- xl: /*#__PURE__*/css("width:", euiTheme.size.s, ";", logicalCSS('margin-bottom', euiTheme.size.base), ";;label:xl;")
39
+ euiLoadingChart__bar: /*#__PURE__*/css(logicalCSS('height', '100%'), " display:inline-block;;label:euiLoadingChart__bar;"),
40
+ m: /*#__PURE__*/css(logicalCSS('width', euiTheme.size.xxs), " ", logicalCSS('margin-bottom', euiTheme.size.s), ";;label:m;"),
41
+ l: /*#__PURE__*/css(logicalCSS('width', euiTheme.size.xs), " ", logicalCSS('margin-bottom', euiTheme.size.m), ";;label:l;"),
42
+ xl: /*#__PURE__*/css(logicalCSS('width', euiTheme.size.s), " ", logicalCSS('margin-bottom', euiTheme.size.base), ";;label:xl;")
53
43
  };
54
44
  };
55
45
  var barAnimation = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n 0% {\n transform: translateY(0);\n }\n\n 50% {\n transform: translateY(66%);\n }\n\n 100% {\n transform: translateY(0);\n }\n"])));
56
- export var _barIndex = function _barIndex(index, mono, _ref5) {
57
- var euiTheme = _ref5.euiTheme,
58
- colorMode = _ref5.colorMode;
46
+ export var _barIndex = function _barIndex(index, mono, _ref4) {
47
+ var euiTheme = _ref4.euiTheme,
48
+ colorMode = _ref4.colorMode;
59
49
  var backgroundColor = mono ? shadeOrTint(euiTheme.colors.lightShade, index * 0.04, colorMode) : euiPaletteColorBlind()[index];
60
50
  return /*#__PURE__*/css("background-color:", backgroundColor, ";transform:translateY(", 22 * index, "%);", euiCanAnimate, "{animation:", barAnimation, " 1s ", ".".concat(index, "s"), " infinite;}");
61
51
  };
@@ -10,7 +10,7 @@ var _templateObject;
10
10
  * Side Public License, v 1.
11
11
  */
12
12
  import { css, keyframes } from '@emotion/react';
13
- import { euiCanAnimate } from '../../global_styling';
13
+ import { euiCanAnimate, logicalCSS } from '../../global_styling';
14
14
  import { COLOR_MODES_STANDARD, shade, tint } from '../../services';
15
15
  var loadingContentGradient = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n 0% {\n transform: translateX(-53%);\n }\n\n 100% {\n transform: translateX(0);\n }\n"])));
16
16
  export var euiLoadingContentStyles = function euiLoadingContentStyles(_ref) {
@@ -19,6 +19,6 @@ export var euiLoadingContentStyles = function euiLoadingContentStyles(_ref) {
19
19
  var gradientStartStop = colorMode === COLOR_MODES_STANDARD.dark ? shade(euiTheme.colors.lightShade, 0.12) : tint(euiTheme.colors.lightShade, 0.65);
20
20
  var gradientMiddle = colorMode === COLOR_MODES_STANDARD.dark ? shade(euiTheme.colors.lightShade, 0.24) : tint(euiTheme.colors.lightShade, 0.8);
21
21
  return {
22
- euiLoadingContent__singleLine: /*#__PURE__*/css("display:block;width:100%;height:", euiTheme.size.base, ";border-radius:", euiTheme.border.radius.medium, ";background:", gradientStartStop, ";overflow:hidden;&:not(:last-child){margin-block-end:", euiTheme.size.s, ";}&:last-child:not(:only-child){width:75%;}&::after{content:'';display:block;width:220%;height:100%;background:linear-gradient(\n 137deg,\n ", gradientStartStop, " 45%,\n ", gradientMiddle, " 50%,\n ", gradientStartStop, " 55%\n );", euiCanAnimate, "{animation:", loadingContentGradient, " 1.5s ", euiTheme.animation.resistance, " infinite;}};label:euiLoadingContent__singleLine;")
22
+ euiLoadingContent__singleLine: /*#__PURE__*/css("display:block;", logicalCSS('width', '100%'), " ", logicalCSS('height', euiTheme.size.base), " border-radius:", euiTheme.border.radius.medium, ";background:", gradientStartStop, ";overflow:hidden;&:not(:last-child){", logicalCSS('margin-bottom', euiTheme.size.s), ";}&:last-child:not(:only-child){", logicalCSS('width', '75%'), ";}&::after{content:'';display:block;", logicalCSS('width', '220%'), " ", logicalCSS('height', '100%'), " background:linear-gradient(\n 137deg,\n ", gradientStartStop, " 45%,\n ", gradientMiddle, " 50%,\n ", gradientStartStop, " 55%\n );", euiCanAnimate, "{animation:", loadingContentGradient, " 1.5s ", euiTheme.animation.resistance, " infinite;}};label:euiLoadingContent__singleLine;")
23
23
  };
24
24
  };
@@ -22,15 +22,15 @@ var loadingPadding = {
22
22
  export var euiLoadingLogoStyles = function euiLoadingLogoStyles(_ref) {
23
23
  var euiTheme = _ref.euiTheme;
24
24
  return {
25
- euiLoadingLogo: /*#__PURE__*/css("position:relative;display:inline-block;", euiCanAnimate, "{&:before,&:after{position:absolute;content:'';width:90%;inset-inline-start:5%;border-radius:50%;opacity:0.2;z-index:1;}&:before{box-shadow:0 0 ", euiTheme.size.s, " ", euiTheme.colors.fullShade, ";animation:1s ", loadingPulsateAndFade, " ", euiTheme.animation.resistance, " infinite;}&:after{background-color:", euiTheme.colors.fullShade, ";animation:1s ", loadingPulsate, " ", euiTheme.animation.resistance, " infinite;}};label:euiLoadingLogo;"),
25
+ euiLoadingLogo: /*#__PURE__*/css("position:relative;display:inline-block;", euiCanAnimate, "{&:before,&:after{position:absolute;content:'';inline-size:90%;inset-inline-start:5%;border-radius:50%;opacity:0.2;z-index:1;}&:before{box-shadow:0 0 ", euiTheme.size.s, " ", euiTheme.colors.fullShade, ";animation:1s ", loadingPulsateAndFade, " ", euiTheme.animation.resistance, " infinite;}&:after{background-color:", euiTheme.colors.fullShade, ";animation:1s ", loadingPulsate, " ", euiTheme.animation.resistance, " infinite;}};label:euiLoadingLogo;"),
26
26
 
27
27
  /**
28
28
  * 1. Requires pixel math for animation
29
29
  * 2. Add a half the amount of animation distance padding to the top to give it more room
30
30
  */
31
- m: /*#__PURE__*/css(euiCanAnimate, "{padding-block-start:", euiTheme.size[loadingPadding.m], ";}&:before,&:after{height:", euiTheme.base * 0.25, "px;inset-block-end:-", euiTheme.size.xs, ";};label:m;"),
32
- l: /*#__PURE__*/css(euiCanAnimate, "{padding-block-start:", euiTheme.size[loadingPadding.l], ";}&:before,&:after{height:", euiTheme.base * 0.375, "px;inset-block-end:-", euiTheme.size.s, ";};label:l;"),
33
- xl: /*#__PURE__*/css(euiCanAnimate, "{padding-block-start:", euiTheme.size[loadingPadding.xl], ";}&:before,&:after{height:", euiTheme.base * 0.5, "px;inset-block-end:-", euiTheme.size.m, ";};label:xl;")
31
+ m: /*#__PURE__*/css(euiCanAnimate, "{padding-block-start:", euiTheme.size[loadingPadding.m], ";}&:before,&:after{block-size:", euiTheme.base * 0.25, "px;inset-block-end:-", euiTheme.size.xs, ";};label:m;"),
32
+ l: /*#__PURE__*/css(euiCanAnimate, "{padding-block-start:", euiTheme.size[loadingPadding.l], ";}&:before,&:after{block-size:", euiTheme.base * 0.375, "px;inset-block-end:-", euiTheme.size.s, ";};label:l;"),
33
+ xl: /*#__PURE__*/css(euiCanAnimate, "{padding-block-start:", euiTheme.size[loadingPadding.xl], ";}&:before,&:after{block-size:", euiTheme.base * 0.5, "px;inset-block-end:-", euiTheme.size.m, ";};label:xl;")
34
34
  };
35
35
  };
36
36
  export var euiLoadingLogoIconStyles = function euiLoadingLogoIconStyles(_ref2) {
@@ -10,7 +10,7 @@ var _templateObject;
10
10
  * Side Public License, v 1.
11
11
  */
12
12
  import { css, keyframes } from '@emotion/react';
13
- import { euiCanAnimate } from '../../global_styling';
13
+ import { euiCanAnimate, logicalSizeCSS } from '../../global_styling';
14
14
 
15
15
  var _loadingSpinner = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n from {\n transform: rotate(0deg);\n }\n\n to {\n transform: rotate(359deg);\n }\n"])));
16
16
 
@@ -31,10 +31,10 @@ export var euiLoadingSpinnerStyles = function euiLoadingSpinnerStyles(_ref, colo
31
31
  return {
32
32
  euiLoadingSpinner: /*#__PURE__*/css("flex-shrink:0;display:inline-block;border-radius:50%;border:", euiTheme.border.thick, ";", spinnerColorsCSS((color === null || color === void 0 ? void 0 : color.border) || euiTheme.colors.lightShade, (color === null || color === void 0 ? void 0 : color.highlight) || euiTheme.colors.primary), ";", euiCanAnimate, "{animation:", _loadingSpinner, " 0.6s infinite linear;};label:euiLoadingSpinner;"),
33
33
  // Sizes
34
- s: /*#__PURE__*/css("width:", euiTheme.size[spinnerSizes.s], ";height:", euiTheme.size[spinnerSizes.s], ";border-width:calc(", euiTheme.border.width.thin, " * 1.5);;label:s;"),
35
- m: /*#__PURE__*/css("width:", euiTheme.size[spinnerSizes.m], ";height:", euiTheme.size[spinnerSizes.m], ";border-width:calc(", euiTheme.border.width.thin, " * 1.5);;label:m;"),
36
- l: /*#__PURE__*/css("width:", euiTheme.size[spinnerSizes.l], ";height:", euiTheme.size[spinnerSizes.l], ";;label:l;"),
37
- xl: /*#__PURE__*/css("width:", euiTheme.size[spinnerSizes.xl], ";height:", euiTheme.size[spinnerSizes.xl], ";;label:xl;"),
38
- xxl: /*#__PURE__*/css("width:", euiTheme.size[spinnerSizes.xxl], ";height:", euiTheme.size[spinnerSizes.xxl], ";;label:xxl;")
34
+ s: /*#__PURE__*/css(logicalSizeCSS(euiTheme.size[spinnerSizes.s], euiTheme.size[spinnerSizes.s]), " border-width:calc(", euiTheme.border.width.thin, " * 1.5);;label:s;"),
35
+ m: /*#__PURE__*/css(logicalSizeCSS(euiTheme.size[spinnerSizes.m], euiTheme.size[spinnerSizes.m]), " border-width:calc(", euiTheme.border.width.thin, " * 1.5);;label:m;"),
36
+ l: /*#__PURE__*/css(logicalSizeCSS(euiTheme.size[spinnerSizes.l], euiTheme.size[spinnerSizes.l]), ";;label:l;"),
37
+ xl: /*#__PURE__*/css(logicalSizeCSS(euiTheme.size[spinnerSizes.xl], euiTheme.size[spinnerSizes.xl]), ";;label:xl;"),
38
+ xxl: /*#__PURE__*/css(logicalSizeCSS(euiTheme.size[spinnerSizes.xxl], euiTheme.size[spinnerSizes.xxl]), ";;label:xxl;")
39
39
  };
40
40
  };
@@ -173,6 +173,7 @@ export var EuiMarkdownEditorToolbar = /*#__PURE__*/forwardRef(function (_ref2, r
173
173
  icon: button.iconType
174
174
  }));
175
175
  })) : null), isPreviewing ? ___EmotionJSX(EuiButtonEmpty, {
176
+ "data-test-subj": "markdown_editor_edit_button",
176
177
  iconType: "editorCodeBlock",
177
178
  color: "text",
178
179
  size: "s",
@@ -182,6 +183,7 @@ export var EuiMarkdownEditorToolbar = /*#__PURE__*/forwardRef(function (_ref2, r
182
183
  token: "euiMarkdownEditorToolbar.editor",
183
184
  default: "Editor"
184
185
  })) : ___EmotionJSX(EuiButtonEmpty, {
186
+ "data-test-subj": "markdown_editor_preview_button",
185
187
  iconType: "eye",
186
188
  color: "text",
187
189
  size: "s",
@@ -25,7 +25,7 @@ import { EuiPageContent_Deprecated as EuiPageContent, EuiPageContentBody_Depreca
25
25
  import { EuiBottomBar } from '../bottom_bar';
26
26
  import { useIsWithinBreakpoints } from '../../services';
27
27
  import { EuiFlexGroup, EuiFlexItem } from '../flex';
28
- import { useEuiPaddingSize } from '../../global_styling';
28
+ import { useEuiPaddingSize, logicalCSS } from '../../global_styling';
29
29
  import { jsx as ___EmotionJSX } from "@emotion/react";
30
30
  export var TEMPLATES = ['default', 'centeredBody', 'centeredContent', 'empty'];
31
31
 
@@ -61,7 +61,7 @@ export var EuiPageTemplate_Deprecated = function EuiPageTemplate_Deprecated(_ref
61
61
  rest = _objectWithoutProperties(_ref, _excluded);
62
62
 
63
63
  // BWC page header margin to match padding
64
- var headerMargin = /*#__PURE__*/css("margin-bottom: ".concat(useEuiPaddingSize(paddingSize)), ";label:headerMargin;");
64
+ var headerMargin = /*#__PURE__*/css(logicalCSS('margin-bottom', useEuiPaddingSize(paddingSize)), ";label:headerMargin;");
65
65
  /**
66
66
  * Full height ~madness~ logic
67
67
  */
@@ -15,8 +15,8 @@ export var euiPageInnerStyles = function euiPageInnerStyles(euiThemeContext) {
15
15
  euiPageInner: /*#__PURE__*/css("display:flex;flex-direction:column;align-items:stretch;flex:1 1 100%;", logicalCSS('max-width', '100%'), " ", logicalCSS('min-width', '0'), ";;label:euiPageInner;"),
16
16
  panelled: /*#__PURE__*/css("background:", euiBackgroundColor(euiThemeContext, 'plain'), ";", euiShadow(euiThemeContext, 'm'), ";;label:panelled;"),
17
17
  border: {
18
- top: /*#__PURE__*/css("border-top:", euiThemeContext.euiTheme.border.width.thin, " solid ", borderColor, ";;label:top;"),
19
- left: /*#__PURE__*/css("border-left:", euiThemeContext.euiTheme.border.width.thin, " solid ", borderColor, ";;label:left;")
18
+ top: /*#__PURE__*/css(logicalCSS('border-top', "".concat(euiThemeContext.euiTheme.border.width.thin, " solid ").concat(borderColor)), ";;label:top;"),
19
+ left: /*#__PURE__*/css(logicalCSS('border-left', "".concat(euiThemeContext.euiTheme.border.width.thin, " solid ").concat(borderColor)), ";;label:left;")
20
20
  }
21
21
  };
22
22
  };
@@ -8,6 +8,7 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
8
8
  * Side Public License, v 1.
9
9
  */
10
10
  import { css } from '@emotion/react';
11
+ import { logicalCSS } from '../../../global_styling';
11
12
 
12
13
  var _ref = process.env.NODE_ENV === "production" ? {
13
14
  name: "15mvjmo-row",
@@ -39,7 +40,8 @@ var _ref3 = process.env.NODE_ENV === "production" ? {
39
40
  export var euiPageOuterStyles = function euiPageOuterStyles(_ref4) {
40
41
  var euiTheme = _ref4.euiTheme;
41
42
  return {
42
- euiPageOuter: /*#__PURE__*/css("display:flex;background-color:", euiTheme.colors.body, ";flex-shrink:0;max-width:100%;;label:euiPageOuter;"),
43
+ euiPageOuter: /*#__PURE__*/css("display:flex;background-color:", euiTheme.colors.body, ";flex-shrink:0;", logicalCSS('max-width', '100%' // Ensures Firefox doesn't expand width beyond bounds
44
+ ), ";;label:euiPageOuter;"),
43
45
  // Grow
44
46
  grow: _ref3,
45
47
  // Direction
@@ -15,7 +15,7 @@ import classNames from 'classnames';
15
15
  import { useEuiTheme } from '../../services';
16
16
  import { useEuiBackgroundColorCSS, useEuiPaddingCSS, BACKGROUND_COLORS, PADDING_SIZES } from '../../global_styling';
17
17
  import { keysOf } from '../common';
18
- import { euiPanelStyles } from './panel.style';
18
+ import { euiPanelStyles } from './panel.styles';
19
19
  import { jsx as ___EmotionJSX } from "@emotion/react";
20
20
  export var SIZES = PADDING_SIZES; // Exported padding sizes and class names necessary for EuiPopover and EuiCard.
21
21
  // Which currently will only maintain support for the original values until conversion.