@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.
- package/dist/eui_charts_theme.js +330 -330
- package/dist/eui_charts_theme.js.map +1 -1
- package/dist/eui_theme_dark.css +217 -1614
- package/dist/eui_theme_dark.json +0 -32
- package/dist/eui_theme_dark.json.d.ts +0 -32
- package/dist/eui_theme_dark.min.css +1 -1
- package/dist/eui_theme_light.css +244 -1641
- package/dist/eui_theme_light.json +0 -32
- package/dist/eui_theme_light.json.d.ts +0 -32
- package/dist/eui_theme_light.min.css +1 -1
- package/es/components/accessibility/screen_reader_only/screen_reader_only.styles.js +2 -1
- package/es/components/accessibility/skip_link/skip_link.js +4 -54
- package/es/components/accordion/accordion.js +2 -1
- package/es/components/accordion/accordion.styles.js +17 -27
- package/es/components/badge/beta_badge/beta_badge.js +16 -3
- package/es/components/basic_table/basic_table.js +1 -1
- package/es/components/basic_table/collapsed_item_actions.js +2 -3
- package/es/components/basic_table/in_memory_table.js +1 -1
- package/es/components/beacon/beacon.styles.js +2 -2
- package/es/components/breadcrumbs/breadcrumb.styles.js +2 -2
- package/es/components/button/button.js +112 -215
- package/es/components/button/button_display/_button_display.js +90 -40
- package/es/components/button/button_display/_button_display.styles.js +7 -16
- package/es/components/button/button_display/_button_display_content.js +6 -3
- package/es/components/button/button_display/_button_display_content.styles.js +7 -17
- package/es/components/button/button_empty/button_empty.js +63 -53
- package/es/components/button/button_empty/index.js +1 -1
- package/es/components/button/button_group/button_group.js +4 -12
- package/es/components/button/button_group/button_group_button.js +14 -4
- package/es/components/button/button_icon/button_icon.js +61 -42
- package/es/components/call_out/call_out.styles.js +2 -1
- package/es/components/card/card.js +173 -89
- package/es/components/card/card.styles.js +136 -0
- package/es/components/card/card_select/card_select.js +133 -0
- package/es/components/card/card_select/card_select.styles.js +25 -0
- package/es/components/card/card_select/index.js +8 -0
- package/es/components/card/checkable_card/checkable_card.js +14 -9
- package/es/components/card/checkable_card/checkable_card.styles.js +22 -0
- package/es/components/comment_list/comment_event.styles.js +1 -1
- package/es/components/datagrid/body/data_grid_body.js +7 -6
- package/es/components/datagrid/body/data_grid_cell.js +13 -12
- package/es/components/datagrid/body/header/data_grid_header_cell.js +7 -6
- package/es/components/datagrid/body/header/data_grid_header_row.js +7 -6
- package/es/components/datagrid/data_grid.js +7 -6
- package/es/components/datagrid/utils/in_memory.js +7 -6
- package/es/components/date_picker/auto_refresh/auto_refresh.js +3 -2
- package/es/components/date_picker/super_date_picker/super_date_picker.js +17 -1
- package/es/components/date_picker/super_date_picker/super_update_button.js +11 -1
- package/es/components/description_list/description_list_title.js +1 -1
- package/es/components/expression/expression.styles.js +13 -31
- package/es/components/facet/facet_button.js +5 -4
- package/es/components/header/header_links/header_link.js +5 -3
- package/es/components/image/image_button.styles.js +1 -1
- package/es/components/image/image_wrapper.styles.js +3 -3
- package/es/components/link/link.styles.js +7 -6
- package/es/components/list_group/list_group.js +2 -1
- package/es/components/list_group/list_group_item.js +2 -1
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +3 -2
- package/es/components/loading/loading_chart.styles.js +16 -26
- package/es/components/loading/loading_content.styles.js +2 -2
- package/es/components/loading/loading_logo.styles.js +4 -4
- package/es/components/loading/loading_spinner.styles.js +6 -6
- package/es/components/markdown_editor/markdown_editor_toolbar.js +2 -0
- package/es/components/modal/confirm_modal.js +1 -1
- package/es/components/notification/notification_event.js +5 -3
- package/es/components/notification/notification_event_read_button.js +2 -1
- package/es/components/page/page_template.js +2 -2
- package/es/components/page_template/inner/page_inner.styles.js +2 -2
- package/es/components/page_template/outer/page_outer.styles.js +3 -1
- package/es/components/pagination/pagination_button.js +5 -3
- package/es/components/panel/panel.js +1 -1
- package/es/components/panel/{panel.style.js → panel.styles.js} +2 -2
- package/es/components/progress/progress.styles.js +2 -2
- package/es/components/text/text.styles.js +1 -1
- package/es/components/title/title.styles.js +2 -2
- package/es/components/toast/global_toast_list.styles.js +2 -2
- package/es/components/toast/toast.styles.js +4 -4
- package/es/components/tool_tip/icon_tip.js +11 -1
- package/es/components/tool_tip/tool_tip.js +18 -6
- package/es/global_styling/functions/logicals.js +16 -72
- package/es/global_styling/functions/typography.js +2 -1
- package/es/global_styling/mixins/_color.js +1 -1
- package/es/global_styling/mixins/_helpers.js +18 -5
- package/es/global_styling/mixins/_states.js +3 -4
- package/es/global_styling/mixins/_typography.js +3 -1
- package/es/global_styling/reset/global_styles.js +2 -1
- package/es/global_styling/utility/utility.js +10 -2
- package/es/themes/amsterdam/global_styling/mixins/button.js +165 -16
- package/eui.d.ts +1156 -1013
- package/i18ntokens.json +19 -19
- package/lib/components/accessibility/screen_reader_only/screen_reader_only.styles.js +3 -1
- package/lib/components/accessibility/skip_link/skip_link.js +4 -54
- package/lib/components/accordion/accordion.js +3 -1
- package/lib/components/accordion/accordion.styles.js +17 -26
- package/lib/components/badge/beta_badge/beta_badge.js +16 -3
- package/lib/components/basic_table/basic_table.js +1 -1
- package/lib/components/basic_table/collapsed_item_actions.js +2 -3
- package/lib/components/basic_table/in_memory_table.js +1 -1
- package/lib/components/beacon/beacon.styles.js +1 -1
- package/lib/components/breadcrumbs/breadcrumb.styles.js +2 -2
- package/lib/components/button/button.js +124 -229
- package/lib/components/button/button_display/_button_display.js +94 -33
- package/lib/components/button/button_display/_button_display.styles.js +7 -16
- package/lib/components/button/button_display/_button_display_content.js +7 -3
- package/lib/components/button/button_display/_button_display_content.styles.js +7 -17
- package/lib/components/button/button_empty/button_empty.js +64 -54
- package/lib/components/button/button_empty/index.js +0 -6
- package/lib/components/button/button_group/button_group.js +4 -12
- package/lib/components/button/button_group/button_group_button.js +15 -4
- package/lib/components/button/button_icon/button_icon.js +61 -43
- package/lib/components/call_out/call_out.styles.js +2 -1
- package/lib/components/card/card.js +174 -88
- package/lib/components/card/card.styles.js +146 -0
- package/lib/components/card/card_select/card_select.js +144 -0
- package/lib/components/card/card_select/card_select.styles.js +27 -0
- package/lib/components/card/card_select/index.js +19 -0
- package/lib/components/card/checkable_card/checkable_card.js +16 -9
- package/lib/components/card/checkable_card/checkable_card.styles.js +33 -0
- package/lib/components/comment_list/comment_event.styles.js +1 -1
- package/lib/components/datagrid/body/data_grid_body.js +7 -6
- package/lib/components/datagrid/body/data_grid_cell.js +13 -12
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +7 -6
- package/lib/components/datagrid/body/header/data_grid_header_row.js +7 -6
- package/lib/components/datagrid/data_grid.js +7 -6
- package/lib/components/datagrid/utils/in_memory.js +7 -6
- package/lib/components/date_picker/auto_refresh/auto_refresh.js +3 -2
- package/lib/components/date_picker/super_date_picker/super_date_picker.js +17 -1
- package/lib/components/date_picker/super_date_picker/super_update_button.js +11 -1
- package/lib/components/description_list/description_list_title.js +1 -1
- package/lib/components/expression/expression.styles.js +12 -30
- package/lib/components/facet/facet_button.js +4 -3
- package/lib/components/header/header_links/header_link.js +5 -3
- package/lib/components/image/image_button.styles.js +1 -1
- package/lib/components/image/image_wrapper.styles.js +2 -2
- package/lib/components/link/link.styles.js +6 -5
- package/lib/components/list_group/list_group.js +2 -1
- package/lib/components/list_group/list_group_item.js +2 -1
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +3 -2
- package/lib/components/loading/loading_chart.styles.js +16 -25
- package/lib/components/loading/loading_content.styles.js +1 -1
- package/lib/components/loading/loading_logo.styles.js +4 -4
- package/lib/components/loading/loading_spinner.styles.js +5 -5
- package/lib/components/markdown_editor/markdown_editor_toolbar.js +2 -0
- package/lib/components/modal/confirm_modal.js +1 -1
- package/lib/components/notification/notification_event.js +5 -3
- package/lib/components/notification/notification_event_read_button.js +2 -1
- package/lib/components/page/page_template.js +1 -1
- package/lib/components/page_template/inner/page_inner.styles.js +2 -2
- package/lib/components/page_template/outer/page_outer.styles.js +4 -1
- package/lib/components/panel/panel.js +1 -1
- package/{optimize/lib/components/panel/panel.style.js → lib/components/panel/panel.styles.js} +1 -1
- package/lib/components/progress/progress.styles.js +2 -2
- package/lib/components/text/text.styles.js +1 -1
- package/lib/components/title/title.styles.js +1 -1
- package/lib/components/toast/global_toast_list.styles.js +1 -1
- package/lib/components/toast/toast.styles.js +4 -4
- package/lib/components/tool_tip/icon_tip.js +11 -1
- package/lib/components/tool_tip/tool_tip.js +18 -6
- package/lib/global_styling/functions/logicals.js +22 -74
- package/lib/global_styling/functions/typography.js +3 -1
- package/lib/global_styling/mixins/_color.js +1 -1
- package/lib/global_styling/mixins/_helpers.js +24 -6
- package/lib/global_styling/mixins/_states.js +3 -4
- package/lib/global_styling/mixins/_typography.js +4 -1
- package/lib/global_styling/reset/global_styles.js +3 -1
- package/lib/global_styling/utility/utility.js +16 -3
- package/lib/themes/amsterdam/global_styling/mixins/button.js +178 -24
- package/optimize/es/components/accessibility/screen_reader_only/screen_reader_only.styles.js +2 -1
- package/optimize/es/components/accordion/accordion.js +2 -1
- package/optimize/es/components/accordion/accordion.styles.js +17 -27
- package/optimize/es/components/badge/beta_badge/beta_badge.js +6 -3
- package/optimize/es/components/basic_table/collapsed_item_actions.js +1 -2
- package/optimize/es/components/beacon/beacon.styles.js +2 -2
- package/optimize/es/components/breadcrumbs/breadcrumb.styles.js +2 -2
- package/optimize/es/components/button/button.js +88 -100
- package/optimize/es/components/button/button_display/_button_display.js +67 -32
- package/optimize/es/components/button/button_display/_button_display.styles.js +7 -16
- package/optimize/es/components/button/button_display/_button_display_content.js +5 -2
- package/optimize/es/components/button/button_display/_button_display_content.styles.js +7 -17
- package/optimize/es/components/button/button_empty/button_empty.js +55 -47
- package/optimize/es/components/button/button_empty/index.js +1 -1
- package/optimize/es/components/button/button_group/button_group.js +2 -10
- package/optimize/es/components/button/button_group/button_group_button.js +13 -3
- package/optimize/es/components/button/button_icon/button_icon.js +54 -41
- package/optimize/es/components/call_out/call_out.styles.js +2 -1
- package/optimize/es/components/card/card.js +97 -31
- package/optimize/es/components/card/card.styles.js +136 -0
- package/optimize/es/components/card/{card_select.js → card_select/card_select.js} +16 -14
- package/optimize/es/components/card/card_select/card_select.styles.js +25 -0
- package/optimize/es/components/card/card_select/index.js +8 -0
- package/optimize/es/components/card/checkable_card/checkable_card.js +14 -9
- package/optimize/es/components/card/checkable_card/checkable_card.styles.js +22 -0
- package/optimize/es/components/comment_list/comment_event.styles.js +1 -1
- package/optimize/es/components/description_list/description_list_title.js +1 -1
- package/optimize/es/components/expression/expression.styles.js +13 -31
- package/optimize/es/components/facet/facet_button.js +5 -3
- package/optimize/es/components/image/image_button.styles.js +1 -1
- package/optimize/es/components/image/image_wrapper.styles.js +3 -3
- package/optimize/es/components/link/link.styles.js +7 -6
- package/optimize/es/components/loading/loading_chart.styles.js +16 -26
- package/optimize/es/components/loading/loading_content.styles.js +2 -2
- package/optimize/es/components/loading/loading_logo.styles.js +4 -4
- package/optimize/es/components/loading/loading_spinner.styles.js +6 -6
- package/optimize/es/components/markdown_editor/markdown_editor_toolbar.js +2 -0
- package/optimize/es/components/page/page_template.js +2 -2
- package/optimize/es/components/page_template/inner/page_inner.styles.js +2 -2
- package/optimize/es/components/page_template/outer/page_outer.styles.js +3 -1
- package/optimize/es/components/panel/panel.js +1 -1
- package/optimize/es/components/panel/{panel.style.js → panel.styles.js} +2 -2
- package/optimize/es/components/progress/progress.styles.js +2 -2
- package/optimize/es/components/text/text.styles.js +1 -1
- package/optimize/es/components/title/title.styles.js +2 -2
- package/optimize/es/components/toast/global_toast_list.styles.js +2 -2
- package/optimize/es/components/toast/toast.styles.js +4 -4
- package/optimize/es/components/tool_tip/tool_tip.js +7 -5
- package/optimize/es/global_styling/functions/logicals.js +16 -72
- package/optimize/es/global_styling/functions/typography.js +2 -1
- package/optimize/es/global_styling/mixins/_color.js +1 -1
- package/optimize/es/global_styling/mixins/_helpers.js +18 -5
- package/optimize/es/global_styling/mixins/_states.js +3 -4
- package/optimize/es/global_styling/mixins/_typography.js +3 -1
- package/optimize/es/global_styling/reset/global_styles.js +2 -1
- package/optimize/es/global_styling/utility/utility.js +10 -2
- package/optimize/es/themes/amsterdam/global_styling/mixins/button.js +155 -16
- package/optimize/lib/components/accessibility/screen_reader_only/screen_reader_only.styles.js +3 -1
- package/optimize/lib/components/accordion/accordion.js +3 -1
- package/optimize/lib/components/accordion/accordion.styles.js +17 -26
- package/optimize/lib/components/badge/beta_badge/beta_badge.js +6 -3
- package/optimize/lib/components/basic_table/collapsed_item_actions.js +1 -2
- package/optimize/lib/components/beacon/beacon.styles.js +1 -1
- package/optimize/lib/components/breadcrumbs/breadcrumb.styles.js +2 -2
- package/optimize/lib/components/button/button.js +92 -103
- package/optimize/lib/components/button/button_display/_button_display.js +71 -25
- package/optimize/lib/components/button/button_display/_button_display.styles.js +7 -16
- package/optimize/lib/components/button/button_display/_button_display_content.js +6 -2
- package/optimize/lib/components/button/button_display/_button_display_content.styles.js +7 -17
- package/optimize/lib/components/button/button_empty/button_empty.js +59 -50
- package/optimize/lib/components/button/button_empty/index.js +0 -6
- package/optimize/lib/components/button/button_group/button_group.js +2 -10
- package/optimize/lib/components/button/button_group/button_group_button.js +15 -3
- package/optimize/lib/components/button/button_icon/button_icon.js +54 -41
- package/optimize/lib/components/call_out/call_out.styles.js +2 -1
- package/optimize/lib/components/card/card.js +97 -30
- package/optimize/lib/components/card/card.styles.js +146 -0
- package/optimize/lib/components/card/{card_select.js → card_select/card_select.js} +16 -14
- package/optimize/lib/components/card/card_select/card_select.styles.js +27 -0
- package/optimize/lib/components/card/card_select/index.js +19 -0
- package/optimize/lib/components/card/checkable_card/checkable_card.js +16 -9
- package/optimize/lib/components/card/checkable_card/checkable_card.styles.js +33 -0
- package/optimize/lib/components/comment_list/comment_event.styles.js +1 -1
- package/optimize/lib/components/description_list/description_list_title.js +1 -1
- package/optimize/lib/components/expression/expression.styles.js +12 -30
- package/optimize/lib/components/facet/facet_button.js +4 -2
- package/optimize/lib/components/image/image_button.styles.js +1 -1
- package/optimize/lib/components/image/image_wrapper.styles.js +2 -2
- package/optimize/lib/components/link/link.styles.js +6 -5
- package/optimize/lib/components/loading/loading_chart.styles.js +16 -25
- package/optimize/lib/components/loading/loading_content.styles.js +1 -1
- package/optimize/lib/components/loading/loading_logo.styles.js +4 -4
- package/optimize/lib/components/loading/loading_spinner.styles.js +5 -5
- package/optimize/lib/components/markdown_editor/markdown_editor_toolbar.js +2 -0
- package/optimize/lib/components/page/page_template.js +1 -1
- package/optimize/lib/components/page_template/inner/page_inner.styles.js +2 -2
- package/optimize/lib/components/page_template/outer/page_outer.styles.js +4 -1
- package/optimize/lib/components/panel/panel.js +1 -1
- package/{test-env/components/panel/panel.style.js → optimize/lib/components/panel/panel.styles.js} +1 -1
- package/optimize/lib/components/progress/progress.styles.js +2 -2
- package/optimize/lib/components/text/text.styles.js +1 -1
- package/optimize/lib/components/title/title.styles.js +1 -1
- package/optimize/lib/components/toast/global_toast_list.styles.js +1 -1
- package/optimize/lib/components/toast/toast.styles.js +4 -4
- package/optimize/lib/components/tool_tip/tool_tip.js +7 -5
- package/optimize/lib/global_styling/functions/logicals.js +28 -74
- package/optimize/lib/global_styling/functions/typography.js +3 -1
- package/optimize/lib/global_styling/mixins/_color.js +1 -1
- package/optimize/lib/global_styling/mixins/_helpers.js +24 -6
- package/optimize/lib/global_styling/mixins/_states.js +3 -4
- package/optimize/lib/global_styling/mixins/_typography.js +4 -1
- package/optimize/lib/global_styling/reset/global_styles.js +3 -1
- package/optimize/lib/global_styling/utility/utility.js +16 -3
- package/optimize/lib/themes/amsterdam/global_styling/mixins/button.js +170 -17
- package/package.json +2 -2
- package/src/components/badge/beta_badge/_beta_badge.scss +5 -1
- package/src/components/button/_index.scss +0 -1
- package/src/components/button/button_empty/_button_empty.scss +4 -48
- package/src/components/button/button_group/_button_group.scss +0 -1
- package/src/components/button/button_group/_button_group_button.scss +55 -83
- package/src/components/button/button_icon/_button_icon.scss +3 -103
- package/src/components/control_bar/_control_bar.scss +2 -6
- package/src/components/flyout/_flyout.scss +4 -1
- package/src/components/index.scss +0 -1
- package/src/global_styling/mixins/_button.scss +55 -11
- package/src/global_styling/mixins/_helpers.scss +9 -0
- package/src/global_styling/mixins/_index.scss +0 -1
- package/src/global_styling/utility/_utility.scss +0 -127
- package/src/themes/amsterdam/global_styling/mixins/_index.scss +0 -2
- package/src/themes/amsterdam/overrides/_header.scss +0 -2
- package/src/themes/amsterdam/overrides/_index.scss +0 -4
- package/test-env/components/accessibility/screen_reader_only/screen_reader_only.styles.js +3 -1
- package/test-env/components/accessibility/skip_link/skip_link.js +4 -54
- package/test-env/components/accordion/accordion.js +3 -1
- package/test-env/components/accordion/accordion.styles.js +17 -26
- package/test-env/components/badge/beta_badge/beta_badge.js +16 -3
- package/test-env/components/basic_table/basic_table.js +1 -1
- package/test-env/components/basic_table/collapsed_item_actions.js +2 -3
- package/test-env/components/basic_table/in_memory_table.js +1 -1
- package/test-env/components/beacon/beacon.styles.js +1 -1
- package/test-env/components/breadcrumbs/breadcrumb.styles.js +2 -2
- package/test-env/components/button/button.js +111 -225
- package/test-env/components/button/button_display/_button_display.js +93 -32
- package/test-env/components/button/button_display/_button_display.styles.js +7 -16
- package/test-env/components/button/button_display/_button_display_content.js +7 -3
- package/test-env/components/button/button_display/_button_display_content.styles.js +7 -17
- package/test-env/components/button/button_empty/button_empty.js +64 -53
- package/test-env/components/button/button_empty/index.js +0 -6
- package/test-env/components/button/button_group/button_group.js +4 -12
- package/test-env/components/button/button_group/button_group_button.js +16 -4
- package/test-env/components/button/button_icon/button_icon.js +61 -42
- package/test-env/components/call_out/call_out.styles.js +2 -1
- package/test-env/components/card/card.js +172 -88
- package/test-env/components/card/card.styles.js +146 -0
- package/test-env/components/card/card_select/card_select.js +141 -0
- package/test-env/components/card/card_select/card_select.styles.js +27 -0
- package/test-env/components/card/card_select/index.js +19 -0
- package/test-env/components/card/checkable_card/checkable_card.js +16 -9
- package/test-env/components/card/checkable_card/checkable_card.styles.js +33 -0
- package/test-env/components/comment_list/comment_event.styles.js +1 -1
- package/test-env/components/datagrid/body/data_grid_body.js +7 -6
- package/test-env/components/datagrid/body/data_grid_cell.js +13 -12
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +7 -6
- package/test-env/components/datagrid/body/header/data_grid_header_row.js +7 -6
- package/test-env/components/datagrid/data_grid.js +7 -6
- package/test-env/components/datagrid/utils/in_memory.js +7 -6
- package/test-env/components/date_picker/auto_refresh/auto_refresh.js +3 -2
- package/test-env/components/date_picker/super_date_picker/super_date_picker.js +17 -1
- package/test-env/components/date_picker/super_date_picker/super_update_button.js +11 -1
- package/test-env/components/description_list/description_list_title.js +1 -1
- package/test-env/components/expression/expression.styles.js +12 -30
- package/test-env/components/facet/facet_button.js +4 -3
- package/test-env/components/header/header_links/header_link.js +5 -3
- package/test-env/components/image/image_button.styles.js +1 -1
- package/test-env/components/image/image_wrapper.styles.js +2 -2
- package/test-env/components/link/link.styles.js +6 -5
- package/test-env/components/list_group/list_group.js +2 -1
- package/test-env/components/list_group/list_group_item.js +2 -1
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +3 -2
- package/test-env/components/loading/loading_chart.styles.js +16 -25
- package/test-env/components/loading/loading_content.styles.js +1 -1
- package/test-env/components/loading/loading_logo.styles.js +4 -4
- package/test-env/components/loading/loading_spinner.styles.js +5 -5
- package/test-env/components/markdown_editor/markdown_editor_toolbar.js +2 -0
- package/test-env/components/modal/confirm_modal.js +1 -1
- package/test-env/components/notification/notification_event.js +5 -3
- package/test-env/components/notification/notification_event_read_button.js +2 -1
- package/test-env/components/page/page_template.js +1 -1
- package/test-env/components/page_template/inner/page_inner.styles.js +2 -2
- package/test-env/components/page_template/outer/page_outer.styles.js +4 -1
- package/test-env/components/panel/panel.js +1 -1
- package/{lib/components/panel/panel.style.js → test-env/components/panel/panel.styles.js} +1 -1
- package/test-env/components/progress/progress.styles.js +2 -2
- package/test-env/components/text/text.styles.js +1 -1
- package/test-env/components/title/title.styles.js +1 -1
- package/test-env/components/toast/global_toast_list.styles.js +1 -1
- package/test-env/components/toast/toast.styles.js +4 -4
- package/test-env/components/tool_tip/icon_tip.js +11 -1
- package/test-env/components/tool_tip/tool_tip.js +18 -6
- package/test-env/global_styling/functions/logicals.js +28 -74
- package/test-env/global_styling/functions/typography.js +3 -1
- package/test-env/global_styling/mixins/_color.js +1 -1
- package/test-env/global_styling/mixins/_helpers.js +24 -6
- package/test-env/global_styling/mixins/_states.js +3 -4
- package/test-env/global_styling/mixins/_typography.js +4 -1
- package/test-env/global_styling/reset/global_styles.js +3 -1
- package/test-env/global_styling/utility/utility.js +16 -3
- package/test-env/themes/amsterdam/global_styling/mixins/button.js +170 -17
- package/es/components/card/card_select.js +0 -176
- package/lib/components/card/card_select.js +0 -187
- package/src/components/button/_button.scss +0 -143
- package/src/components/button/button_icon/_variables.scss +0 -11
- package/src/components/card/_card.scss +0 -239
- package/src/components/card/_card_select.scss +0 -21
- package/src/components/card/_index.scss +0 -5
- package/src/components/card/_mixins.scss +0 -11
- package/src/components/card/_variables.scss +0 -25
- package/src/components/card/checkable_card/_checkable_card.scss +0 -29
- package/src/components/card/checkable_card/_index.scss +0 -1
- package/src/global_styling/mixins/_beta_badge.scss +0 -30
- package/src/themes/amsterdam/global_styling/mixins/_button.scss +0 -60
- package/src/themes/amsterdam/overrides/_button.scss +0 -119
- package/src/themes/amsterdam/overrides/_button_empty.scss +0 -20
- package/src/themes/amsterdam/overrides/_button_group.scss +0 -91
- package/src/themes/amsterdam/overrides/_card.scss +0 -6
- package/test-env/components/card/card_select.js +0 -184
|
@@ -242,10 +242,20 @@ EuiSuperUpdateButton.propTypes = {
|
|
|
242
242
|
*/
|
|
243
243
|
toolTipProps: _propTypes.default.shape({
|
|
244
244
|
/**
|
|
245
|
-
* Passes onto the the trigger.
|
|
245
|
+
* Passes onto the span wrapping the trigger.
|
|
246
246
|
*/
|
|
247
247
|
anchorClassName: _propTypes.default.string,
|
|
248
248
|
|
|
249
|
+
/**
|
|
250
|
+
* Passes onto the span wrapping the trigger.
|
|
251
|
+
*/
|
|
252
|
+
anchorProps: _propTypes.default.shape({
|
|
253
|
+
className: _propTypes.default.string,
|
|
254
|
+
"aria-label": _propTypes.default.string,
|
|
255
|
+
"data-test-subj": _propTypes.default.string,
|
|
256
|
+
css: _propTypes.default.any
|
|
257
|
+
}),
|
|
258
|
+
|
|
249
259
|
/**
|
|
250
260
|
* The in-view trigger for your tooltip.
|
|
251
261
|
*/
|
|
@@ -60,7 +60,7 @@ var EuiDescriptionListTitle = function EuiDescriptionListTitle(_ref) {
|
|
|
60
60
|
|
|
61
61
|
var theme = (0, _services.useEuiTheme)();
|
|
62
62
|
var styles = (0, _description_list_title.euiDescriptionListTitleStyles)(theme);
|
|
63
|
-
var conditionalStyles = compressed && textStyle
|
|
63
|
+
var conditionalStyles = compressed && textStyle !== 'reverse' ? [styles.fontStyles.compressed] : [styles.fontStyles[textStyle]];
|
|
64
64
|
|
|
65
65
|
switch (type) {
|
|
66
66
|
case 'inline':
|
|
@@ -19,35 +19,17 @@ var _colorCSS = function _colorCSS(color) {
|
|
|
19
19
|
return "\n &:focus {\n background-color: ".concat((0, _color.transparentize)(color, 0.1), ";\n }\n ");
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
var _ref3 = process.env.NODE_ENV === "production" ? {
|
|
23
|
-
name: "6151l-base",
|
|
24
|
-
styles: "border-bottom-style:solid;label:base;"
|
|
25
|
-
} : {
|
|
26
|
-
name: "6151l-base",
|
|
27
|
-
styles: "border-bottom-style:solid;label:base;",
|
|
28
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
var _ref4 = process.env.NODE_ENV === "production" ? {
|
|
32
|
-
name: "1372s1f-truncate",
|
|
33
|
-
styles: "max-width:100%;label:truncate;"
|
|
34
|
-
} : {
|
|
35
|
-
name: "1372s1f-truncate",
|
|
36
|
-
styles: "max-width:100%;label:truncate;",
|
|
37
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
38
|
-
};
|
|
39
|
-
|
|
40
22
|
var euiExpressionStyles = function euiExpressionStyles(euiThemeContext) {
|
|
41
23
|
var euiTheme = euiThemeContext.euiTheme;
|
|
42
24
|
return {
|
|
43
|
-
euiExpression: /*#__PURE__*/(0, _react.css)((0, _global_styling.euiTextBreakWord)(), ";font-family:", euiTheme.font.familyCode, ";border-bottom
|
|
25
|
+
euiExpression: /*#__PURE__*/(0, _react.css)((0, _global_styling.euiTextBreakWord)(), ";display:inline-block;font-family:", euiTheme.font.familyCode, ";", (0, _global_styling.logicalCSS)('border-bottom', "".concat(euiTheme.border.width.thick, " solid transparent")), " ", (0, _global_styling.euiFontSize)(euiThemeContext, 's'), ";", (0, _global_styling.logicalTextAlignCSS)('left'), " padding:", parseFloat(euiTheme.size.s) / 2, "px 0;color:", euiTheme.colors.text, ";&:focus{", (0, _global_styling.logicalCSS)('border-bottom-style', 'solid'), ";}&+.euiExpression{", (0, _global_styling.logicalCSS)('margin-left', euiTheme.size.s), ";};label:euiExpression;"),
|
|
44
26
|
// Variants
|
|
45
|
-
columns: /*#__PURE__*/(0, _react.css)("border-color:transparent;border-bottom-style
|
|
46
|
-
truncate:
|
|
27
|
+
columns: /*#__PURE__*/(0, _react.css)("border-color:transparent;", (0, _global_styling.logicalCSS)('border-bottom-style', 'solid'), " ", (0, _global_styling.logicalCSS)('margin-bottom', euiTheme.size.xs), " ", (0, _global_styling.logicalCSS)('width', '100%'), " display:flex;padding:", euiTheme.size.xs, ";border-radius:", euiTheme.size.xs, ";;label:columns;"),
|
|
28
|
+
truncate: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('max-width', '100%'), ";;label:truncate;"),
|
|
47
29
|
// States
|
|
48
|
-
isClickable: /*#__PURE__*/(0, _react.css)("cursor:pointer;border-bottom
|
|
30
|
+
isClickable: /*#__PURE__*/(0, _react.css)("cursor:pointer;", (0, _global_styling.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;"),
|
|
49
31
|
isActive: {
|
|
50
|
-
base:
|
|
32
|
+
base: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('border-bottom-style', 'solid'), ";;label:base;"),
|
|
51
33
|
subdued: /*#__PURE__*/(0, _react.css)("border-color:", euiTheme.colors.subduedText, ";;label:subdued;"),
|
|
52
34
|
primary: /*#__PURE__*/(0, _react.css)("border-color:", euiTheme.colors.primary, ";;label:primary;"),
|
|
53
35
|
success: /*#__PURE__*/(0, _react.css)("border-color:", euiTheme.colors.success, ";;label:success;"),
|
|
@@ -75,8 +57,8 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
|
|
|
75
57
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
76
58
|
};
|
|
77
59
|
|
|
78
|
-
var euiExpressionDescriptionStyles = function euiExpressionDescriptionStyles(
|
|
79
|
-
var euiTheme =
|
|
60
|
+
var euiExpressionDescriptionStyles = function euiExpressionDescriptionStyles(_ref3) {
|
|
61
|
+
var euiTheme = _ref3.euiTheme;
|
|
80
62
|
return {
|
|
81
63
|
euiExpression__description: /*#__PURE__*/(0, _react.css)(";label:euiExpression__description;"),
|
|
82
64
|
truncate: /*#__PURE__*/(0, _react.css)((0, _global_styling.euiTextTruncate)(), " display:inline-block;vertical-align:bottom;;label:truncate;"),
|
|
@@ -87,7 +69,7 @@ var euiExpressionDescriptionStyles = function euiExpressionDescriptionStyles(_re
|
|
|
87
69
|
danger: /*#__PURE__*/(0, _react.css)("color:", euiTheme.colors.dangerText, ";;label:danger;"),
|
|
88
70
|
accent: /*#__PURE__*/(0, _react.css)("color:", euiTheme.colors.accentText, ";;label:accent;"),
|
|
89
71
|
isUppercase: _ref2,
|
|
90
|
-
columns: /*#__PURE__*/(0, _react.css)("
|
|
72
|
+
columns: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalTextAlignCSS)('right'), " ", (0, _global_styling.logicalCSS)('margin-right', euiTheme.size.s), ";flex-shrink:0;;label:columns;")
|
|
91
73
|
};
|
|
92
74
|
};
|
|
93
75
|
|
|
@@ -102,8 +84,8 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
102
84
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
103
85
|
};
|
|
104
86
|
|
|
105
|
-
var euiExpressionValueStyles = function euiExpressionValueStyles(
|
|
106
|
-
_objectDestructuringEmpty(
|
|
87
|
+
var euiExpressionValueStyles = function euiExpressionValueStyles(_ref4) {
|
|
88
|
+
_objectDestructuringEmpty(_ref4);
|
|
107
89
|
|
|
108
90
|
return {
|
|
109
91
|
euiExpression__value: /*#__PURE__*/(0, _react.css)(";label:euiExpression__value;"),
|
|
@@ -114,8 +96,8 @@ var euiExpressionValueStyles = function euiExpressionValueStyles(_ref6) {
|
|
|
114
96
|
|
|
115
97
|
exports.euiExpressionValueStyles = euiExpressionValueStyles;
|
|
116
98
|
|
|
117
|
-
var euiExpressionIconStyles = function euiExpressionIconStyles(
|
|
118
|
-
var euiTheme =
|
|
99
|
+
var euiExpressionIconStyles = function euiExpressionIconStyles(_ref5) {
|
|
100
|
+
var euiTheme = _ref5.euiTheme;
|
|
119
101
|
return {
|
|
120
102
|
euiExpression__icon: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('margin-left', euiTheme.size.xs), ";;label:euiExpression__icon;"),
|
|
121
103
|
columns: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('margin-top', euiTheme.size.xs), ";;label:columns;")
|
|
@@ -52,7 +52,10 @@ var EuiFacetButton = function EuiFacetButton(_ref) {
|
|
|
52
52
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
53
53
|
|
|
54
54
|
// If in the loading state, force disabled to true
|
|
55
|
-
isDisabled =
|
|
55
|
+
isDisabled = (0, _button_display.isButtonDisabled)({
|
|
56
|
+
isDisabled: isDisabled,
|
|
57
|
+
isLoading: isLoading
|
|
58
|
+
});
|
|
56
59
|
var selection = isSelected ? 'isSelected' : 'unSelected';
|
|
57
60
|
var classes = (0, _classnames.default)('euiFacetButton', className);
|
|
58
61
|
var theme = (0, _services.useEuiTheme)();
|
|
@@ -97,7 +100,6 @@ var EuiFacetButton = function EuiFacetButton(_ref) {
|
|
|
97
100
|
return (0, _react2.jsx)(_button_display.EuiButtonDisplay, _extends({
|
|
98
101
|
className: classes,
|
|
99
102
|
css: cssStyles,
|
|
100
|
-
element: "button",
|
|
101
103
|
isDisabled: isDisabled,
|
|
102
104
|
ref: buttonRef,
|
|
103
105
|
title: rest['aria-label'] || innerText,
|
|
@@ -135,7 +137,6 @@ EuiFacetButton.propTypes = {
|
|
|
135
137
|
* Changes visual of button to indicate it's currently selected
|
|
136
138
|
*/
|
|
137
139
|
isSelected: _propTypes.default.bool,
|
|
138
|
-
onClick: _propTypes.default.func,
|
|
139
140
|
|
|
140
141
|
/**
|
|
141
142
|
* Adds a notification indicator for displaying the quantity provided
|
|
@@ -53,13 +53,15 @@ EuiHeaderLink.propTypes = {
|
|
|
53
53
|
onClick: _propTypes.default.func,
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
|
-
* Any of
|
|
56
|
+
* Any of the named color palette options.
|
|
57
|
+
* **`'ghost'` is set for deprecation. Use EuiThemeProvide.colorMode = 'dark' instead.**
|
|
57
58
|
*/
|
|
58
59
|
|
|
59
60
|
/**
|
|
60
|
-
* Any of
|
|
61
|
+
* Any of the named color palette options.
|
|
62
|
+
* **`'ghost'` is set for deprecation. Use EuiThemeProvide.colorMode = 'dark' instead.**
|
|
61
63
|
*/
|
|
62
|
-
color: _propTypes.default.
|
|
64
|
+
color: _propTypes.default.oneOfType([_propTypes.default.any.isRequired, _propTypes.default.oneOf(["ghost"])]),
|
|
63
65
|
size: _propTypes.default.oneOf(["xs", "s", "m"]),
|
|
64
66
|
|
|
65
67
|
/**
|
|
@@ -17,7 +17,7 @@ var euiImageButtonStyles = function euiImageButtonStyles(euiThemeContext) {
|
|
|
17
17
|
var euiTheme = euiThemeContext.euiTheme;
|
|
18
18
|
return {
|
|
19
19
|
// Base
|
|
20
|
-
euiImageButton: /*#__PURE__*/(0, _react.css)("position:relative;cursor:pointer;text-align:match-parent;line-height:0;&::before{opacity:0;content:'';pointer-events:none;position:absolute;
|
|
20
|
+
euiImageButton: /*#__PURE__*/(0, _react.css)("position:relative;cursor:pointer;text-align:match-parent;line-height:0;&::before{opacity:0;content:'';pointer-events:none;position:absolute;inset:0;", _global_styling.euiCanAnimate, "{transition:opacity ", euiTheme.animation.fast, " ", euiTheme.animation.resistance, ";}}&:hover,&:focus{&::before{opacity:1;}[class*='euiImageButton__icon']{opacity:1;}}&:focus{", (0, _global_styling.euiFocusRing)(euiThemeContext, 'outset'), ";};label:euiImageButton;"),
|
|
21
21
|
fullWidth: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('width', '100%'), ";;label:fullWidth;"),
|
|
22
22
|
shadowHover: /*#__PURE__*/(0, _react.css)("&::before{", (0, _mixins.euiShadow)(euiThemeContext, 's'), ";};label:shadowHover;"),
|
|
23
23
|
hasShadowHover: /*#__PURE__*/(0, _react.css)("&::before{", (0, _mixins.euiShadow)(euiThemeContext, 'm'), ";};label:hasShadowHover;")
|
|
@@ -34,8 +34,8 @@ var euiImageWrapperStyles = function euiImageWrapperStyles(euiThemeContext) {
|
|
|
34
34
|
// Floats
|
|
35
35
|
// 1: Logical properties/values in `float` is currently not yet supported by all browsers w/o flags
|
|
36
36
|
// @see https://caniuse.com/mdn-css_properties_float_flow_relative_values for when we can remove left/right fallbacks
|
|
37
|
-
left: /*#__PURE__*/(0, _react.css)(
|
|
38
|
-
right: /*#__PURE__*/(0, _react.css)(
|
|
37
|
+
left: /*#__PURE__*/(0, _react.css)((0, _global_styling.euiBreakpoint)(euiThemeContext, ['m', 'xl']), "{float:left;float:", _global_styling.logicalSide.left, ";", (0, _global_styling.logicalCSS)('margin-left', '0'), ";", (0, _global_styling.logicalCSS)('margin-top', '0'), ";};label:left;"),
|
|
38
|
+
right: /*#__PURE__*/(0, _react.css)((0, _global_styling.euiBreakpoint)(euiThemeContext, ['m', 'xl']), "{float:right;float:", _global_styling.logicalSide.right, ";", (0, _global_styling.logicalCSS)('margin-right', '0'), ";", (0, _global_styling.logicalCSS)('margin-top', '0'), ";};label:right;"),
|
|
39
39
|
// Sizes
|
|
40
40
|
fullWidth: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('width', '100%'), ";;label:fullWidth;")
|
|
41
41
|
};
|
|
@@ -27,8 +27,9 @@ var euiLinkFocusCSS = function euiLinkFocusCSS(euiTheme) {
|
|
|
27
27
|
|
|
28
28
|
exports.euiLinkFocusCSS = euiLinkFocusCSS;
|
|
29
29
|
|
|
30
|
-
var euiLinkCSS = function euiLinkCSS(
|
|
31
|
-
|
|
30
|
+
var euiLinkCSS = function euiLinkCSS(euiThemeContext) {
|
|
31
|
+
var euiTheme = euiThemeContext.euiTheme;
|
|
32
|
+
return "\n font-weight: ".concat(euiTheme.font.weight.medium, ";\n ").concat((0, _global_styling.logicalTextAlignCSS)('left'), "\n\n &:hover {\n ").concat(euiLinkHoverCSS(), "\n }\n\n &:focus {\n ").concat((0, _global_styling.euiFocusRing)(euiThemeContext, 'outset'), "\n ").concat(euiLinkFocusCSS(euiTheme), "\n }\n ");
|
|
32
33
|
};
|
|
33
34
|
|
|
34
35
|
exports.euiLinkCSS = euiLinkCSS;
|
|
@@ -42,10 +43,10 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
42
43
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
43
44
|
};
|
|
44
45
|
|
|
45
|
-
var euiLinkStyles = function euiLinkStyles(
|
|
46
|
-
var euiTheme =
|
|
46
|
+
var euiLinkStyles = function euiLinkStyles(euiThemeContext) {
|
|
47
|
+
var euiTheme = euiThemeContext.euiTheme;
|
|
47
48
|
return {
|
|
48
|
-
euiLink: /*#__PURE__*/(0, _react.css)(euiLinkCSS(
|
|
49
|
+
euiLink: /*#__PURE__*/(0, _react.css)(euiLinkCSS(euiThemeContext), " user-select:text;&[target='_blank']{position:relative;};label:euiLink;"),
|
|
49
50
|
disabled: _ref,
|
|
50
51
|
// Color styles
|
|
51
52
|
primary: /*#__PURE__*/(0, _react.css)(_colorCSS(euiTheme.colors.primaryText), ";label:primary;"),
|
|
@@ -214,8 +214,9 @@ EuiListGroup.propTypes = {
|
|
|
214
214
|
|
|
215
215
|
/**
|
|
216
216
|
* Any of the named color palette options.
|
|
217
|
+
* **`'ghost'` is set for deprecation. Use EuiThemeProvide.colorMode = 'dark' instead.**
|
|
217
218
|
*/
|
|
218
|
-
color: _propTypes.default.
|
|
219
|
+
color: _propTypes.default.oneOfType([_propTypes.default.any.isRequired, _propTypes.default.oneOf(["ghost"])]),
|
|
219
220
|
"aria-label": _propTypes.default.string,
|
|
220
221
|
"aria-labelledby": _propTypes.default.string,
|
|
221
222
|
isDisabled: _propTypes.default.bool,
|
|
@@ -282,8 +282,9 @@ EuiListGroupItem.propTypes = {
|
|
|
282
282
|
|
|
283
283
|
/**
|
|
284
284
|
* Any of the named color palette options.
|
|
285
|
+
* **`'ghost'` is set for deprecation. Use EuiThemeProvide.colorMode = 'dark' instead.**
|
|
285
286
|
*/
|
|
286
|
-
color: _propTypes.default.
|
|
287
|
+
color: _propTypes.default.oneOfType([_propTypes.default.any.isRequired, _propTypes.default.oneOf(["ghost"])]),
|
|
287
288
|
"aria-label": _propTypes.default.string,
|
|
288
289
|
"aria-labelledby": _propTypes.default.string,
|
|
289
290
|
isDisabled: _propTypes.default.bool,
|
|
@@ -202,8 +202,9 @@ EuiPinnableListGroup.propTypes = {
|
|
|
202
202
|
|
|
203
203
|
/**
|
|
204
204
|
* Any of the named color palette options.
|
|
205
|
+
* **`'ghost'` is set for deprecation. Use EuiThemeProvide.colorMode = 'dark' instead.**
|
|
205
206
|
*/
|
|
206
|
-
color: _propTypes.default.
|
|
207
|
+
color: _propTypes.default.oneOfType([_propTypes.default.any.isRequired, _propTypes.default.oneOf(["ghost"])]),
|
|
207
208
|
"aria-label": _propTypes.default.string,
|
|
208
209
|
"aria-labelledby": _propTypes.default.string,
|
|
209
210
|
isDisabled: _propTypes.default.bool,
|
|
@@ -341,7 +342,7 @@ EuiPinnableListGroup.propTypes = {
|
|
|
341
342
|
type: _propTypes.default.oneOf(["submit", "reset", "button"]),
|
|
342
343
|
onClick: _propTypes.default.func,
|
|
343
344
|
iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "alert", "analyzeEvent", "annotation", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "asterisk", "auditbeatApp", "beaker", "bell", "bellSlash", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "check", "checkInCircleFilled", "cheer", "classificationJob", "clock", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInACircleFilled", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "discoverApp", "document", "documentEdit", "documentation", "documents", "dot", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "eql", "eraser", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "filebeatApp", "filter", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "inputOutput", "inspect", "invert", "ip", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "logoAWS", "logoAWSMono", "logoAerospike", "logoApache", "logoAppSearch", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticStack", "logoElasticsearch", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoGoogleG", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoObservability", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "mobile", "monitoringApp", "moon", "namespace", "nested", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipelineApp", "play", "playFilled", "plus", "plusInCircle", "plusInCircleFilled", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "snowflake", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spacesApp", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelionApp", "timeRefresh", "timeslider", "training", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "watchesApp", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDenseVector", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]).isRequired,
|
|
344
|
-
color: _propTypes.default.
|
|
345
|
+
color: _propTypes.default.oneOfType([_propTypes.default.any.isRequired, _propTypes.default.oneOf(["ghost"])]),
|
|
345
346
|
"aria-label": _propTypes.default.string,
|
|
346
347
|
"aria-labelledby": _propTypes.default.string,
|
|
347
348
|
isDisabled: _propTypes.default.bool,
|
|
@@ -17,7 +17,7 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
|
|
|
17
17
|
|
|
18
18
|
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)."; }
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _ref = process.env.NODE_ENV === "production" ? {
|
|
21
21
|
name: "yovxj7-euiLoadingChart",
|
|
22
22
|
styles: "overflow:hidden;display:inline-flex;label:euiLoadingChart;"
|
|
23
23
|
} : {
|
|
@@ -26,43 +26,34 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
|
|
|
26
26
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
var euiLoadingChartStyles = function euiLoadingChartStyles(
|
|
30
|
-
var euiTheme =
|
|
29
|
+
var euiLoadingChartStyles = function euiLoadingChartStyles(_ref2) {
|
|
30
|
+
var euiTheme = _ref2.euiTheme;
|
|
31
31
|
return {
|
|
32
|
-
euiLoadingChart:
|
|
33
|
-
m: /*#__PURE__*/(0, _react.css)(
|
|
34
|
-
l: /*#__PURE__*/(0, _react.css)(
|
|
35
|
-
xl: /*#__PURE__*/(0, _react.css)(
|
|
32
|
+
euiLoadingChart: _ref,
|
|
33
|
+
m: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('height', euiTheme.size.base), " gap:", euiTheme.size.xxs, ";;label:m;"),
|
|
34
|
+
l: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('height', euiTheme.size.l), " gap:", euiTheme.size.xxs, ";;label:l;"),
|
|
35
|
+
xl: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('height', euiTheme.size.xl), " gap:", euiTheme.size.xs, ";;label:xl;")
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
exports.euiLoadingChartStyles = euiLoadingChartStyles;
|
|
40
40
|
|
|
41
|
-
var
|
|
42
|
-
|
|
43
|
-
styles: "height:100%;display:inline-block;label:euiLoadingChart__bar;"
|
|
44
|
-
} : {
|
|
45
|
-
name: "decz5u-euiLoadingChart__bar",
|
|
46
|
-
styles: "height:100%;display:inline-block;label:euiLoadingChart__bar;",
|
|
47
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
var euiLoadingChartBarStyles = function euiLoadingChartBarStyles(_ref4) {
|
|
51
|
-
var euiTheme = _ref4.euiTheme;
|
|
41
|
+
var euiLoadingChartBarStyles = function euiLoadingChartBarStyles(_ref3) {
|
|
42
|
+
var euiTheme = _ref3.euiTheme;
|
|
52
43
|
return {
|
|
53
|
-
euiLoadingChart__bar:
|
|
54
|
-
m: /*#__PURE__*/(0, _react.css)(
|
|
55
|
-
l: /*#__PURE__*/(0, _react.css)(
|
|
56
|
-
xl: /*#__PURE__*/(0, _react.css)(
|
|
44
|
+
euiLoadingChart__bar: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('height', '100%'), " display:inline-block;;label:euiLoadingChart__bar;"),
|
|
45
|
+
m: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('width', euiTheme.size.xxs), " ", (0, _global_styling.logicalCSS)('margin-bottom', euiTheme.size.s), ";;label:m;"),
|
|
46
|
+
l: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('width', euiTheme.size.xs), " ", (0, _global_styling.logicalCSS)('margin-bottom', euiTheme.size.m), ";;label:l;"),
|
|
47
|
+
xl: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('width', euiTheme.size.s), " ", (0, _global_styling.logicalCSS)('margin-bottom', euiTheme.size.base), ";;label:xl;")
|
|
57
48
|
};
|
|
58
49
|
};
|
|
59
50
|
|
|
60
51
|
exports.euiLoadingChartBarStyles = euiLoadingChartBarStyles;
|
|
61
52
|
var barAnimation = (0, _react.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"])));
|
|
62
53
|
|
|
63
|
-
var _barIndex = function _barIndex(index, mono,
|
|
64
|
-
var euiTheme =
|
|
65
|
-
colorMode =
|
|
54
|
+
var _barIndex = function _barIndex(index, mono, _ref4) {
|
|
55
|
+
var euiTheme = _ref4.euiTheme,
|
|
56
|
+
colorMode = _ref4.colorMode;
|
|
66
57
|
var backgroundColor = mono ? (0, _services.shadeOrTint)(euiTheme.colors.lightShade, index * 0.04, colorMode) : (0, _services.euiPaletteColorBlind)()[index];
|
|
67
58
|
return /*#__PURE__*/(0, _react.css)("background-color:", backgroundColor, ";transform:translateY(", 22 * index, "%);", _global_styling.euiCanAnimate, "{animation:", barAnimation, " 1s ", ".".concat(index, "s"), " infinite;}");
|
|
68
59
|
};
|
|
@@ -23,7 +23,7 @@ var euiLoadingContentStyles = function euiLoadingContentStyles(_ref) {
|
|
|
23
23
|
var gradientStartStop = colorMode === _services.COLOR_MODES_STANDARD.dark ? (0, _services.shade)(euiTheme.colors.lightShade, 0.12) : (0, _services.tint)(euiTheme.colors.lightShade, 0.65);
|
|
24
24
|
var gradientMiddle = colorMode === _services.COLOR_MODES_STANDARD.dark ? (0, _services.shade)(euiTheme.colors.lightShade, 0.24) : (0, _services.tint)(euiTheme.colors.lightShade, 0.8);
|
|
25
25
|
return {
|
|
26
|
-
euiLoadingContent__singleLine: /*#__PURE__*/(0, _react.css)("display:block;width
|
|
26
|
+
euiLoadingContent__singleLine: /*#__PURE__*/(0, _react.css)("display:block;", (0, _global_styling.logicalCSS)('width', '100%'), " ", (0, _global_styling.logicalCSS)('height', euiTheme.size.base), " border-radius:", euiTheme.border.radius.medium, ";background:", gradientStartStop, ";overflow:hidden;&:not(:last-child){", (0, _global_styling.logicalCSS)('margin-bottom', euiTheme.size.s), ";}&:last-child:not(:only-child){", (0, _global_styling.logicalCSS)('width', '75%'), ";}&::after{content:'';display:block;", (0, _global_styling.logicalCSS)('width', '220%'), " ", (0, _global_styling.logicalCSS)('height', '100%'), " background:linear-gradient(\n 137deg,\n ", gradientStartStop, " 45%,\n ", gradientMiddle, " 50%,\n ", gradientStartStop, " 55%\n );", _global_styling.euiCanAnimate, "{animation:", loadingContentGradient, " 1.5s ", euiTheme.animation.resistance, " infinite;}};label:euiLoadingContent__singleLine;")
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -25,15 +25,15 @@ var loadingPadding = {
|
|
|
25
25
|
var euiLoadingLogoStyles = function euiLoadingLogoStyles(_ref) {
|
|
26
26
|
var euiTheme = _ref.euiTheme;
|
|
27
27
|
return {
|
|
28
|
-
euiLoadingLogo: /*#__PURE__*/(0, _react.css)("position:relative;display:inline-block;", _global_styling.euiCanAnimate, "{&:before,&:after{position:absolute;content:'';
|
|
28
|
+
euiLoadingLogo: /*#__PURE__*/(0, _react.css)("position:relative;display:inline-block;", _global_styling.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;"),
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* 1. Requires pixel math for animation
|
|
32
32
|
* 2. Add a half the amount of animation distance padding to the top to give it more room
|
|
33
33
|
*/
|
|
34
|
-
m: /*#__PURE__*/(0, _react.css)(_global_styling.euiCanAnimate, "{padding-block-start:", euiTheme.size[loadingPadding.m], ";}&:before,&:after{
|
|
35
|
-
l: /*#__PURE__*/(0, _react.css)(_global_styling.euiCanAnimate, "{padding-block-start:", euiTheme.size[loadingPadding.l], ";}&:before,&:after{
|
|
36
|
-
xl: /*#__PURE__*/(0, _react.css)(_global_styling.euiCanAnimate, "{padding-block-start:", euiTheme.size[loadingPadding.xl], ";}&:before,&:after{
|
|
34
|
+
m: /*#__PURE__*/(0, _react.css)(_global_styling.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;"),
|
|
35
|
+
l: /*#__PURE__*/(0, _react.css)(_global_styling.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;"),
|
|
36
|
+
xl: /*#__PURE__*/(0, _react.css)(_global_styling.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;")
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
|
|
@@ -32,11 +32,11 @@ var euiLoadingSpinnerStyles = function euiLoadingSpinnerStyles(_ref, color) {
|
|
|
32
32
|
return {
|
|
33
33
|
euiLoadingSpinner: /*#__PURE__*/(0, _react.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), ";", _global_styling.euiCanAnimate, "{animation:", _loadingSpinner, " 0.6s infinite linear;};label:euiLoadingSpinner;"),
|
|
34
34
|
// Sizes
|
|
35
|
-
s: /*#__PURE__*/(0, _react.css)(
|
|
36
|
-
m: /*#__PURE__*/(0, _react.css)(
|
|
37
|
-
l: /*#__PURE__*/(0, _react.css)(
|
|
38
|
-
xl: /*#__PURE__*/(0, _react.css)(
|
|
39
|
-
xxl: /*#__PURE__*/(0, _react.css)(
|
|
35
|
+
s: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalSizeCSS)(euiTheme.size[spinnerSizes.s], euiTheme.size[spinnerSizes.s]), " border-width:calc(", euiTheme.border.width.thin, " * 1.5);;label:s;"),
|
|
36
|
+
m: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalSizeCSS)(euiTheme.size[spinnerSizes.m], euiTheme.size[spinnerSizes.m]), " border-width:calc(", euiTheme.border.width.thin, " * 1.5);;label:m;"),
|
|
37
|
+
l: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalSizeCSS)(euiTheme.size[spinnerSizes.l], euiTheme.size[spinnerSizes.l]), ";;label:l;"),
|
|
38
|
+
xl: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalSizeCSS)(euiTheme.size[spinnerSizes.xl], euiTheme.size[spinnerSizes.xl]), ";;label:xl;"),
|
|
39
|
+
xxl: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalSizeCSS)(euiTheme.size[spinnerSizes.xxl], euiTheme.size[spinnerSizes.xxl]), ";;label:xxl;")
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
|
|
@@ -190,6 +190,7 @@ var EuiMarkdownEditorToolbar = /*#__PURE__*/(0, _react.forwardRef)(function (_re
|
|
|
190
190
|
icon: button.iconType
|
|
191
191
|
}));
|
|
192
192
|
})) : null), isPreviewing ? (0, _react2.jsx)(_button.EuiButtonEmpty, {
|
|
193
|
+
"data-test-subj": "markdown_editor_edit_button",
|
|
193
194
|
iconType: "editorCodeBlock",
|
|
194
195
|
color: "text",
|
|
195
196
|
size: "s",
|
|
@@ -199,6 +200,7 @@ var EuiMarkdownEditorToolbar = /*#__PURE__*/(0, _react.forwardRef)(function (_re
|
|
|
199
200
|
token: "euiMarkdownEditorToolbar.editor",
|
|
200
201
|
default: "Editor"
|
|
201
202
|
})) : (0, _react2.jsx)(_button.EuiButtonEmpty, {
|
|
203
|
+
"data-test-subj": "markdown_editor_preview_button",
|
|
202
204
|
iconType: "eye",
|
|
203
205
|
color: "text",
|
|
204
206
|
size: "s",
|
|
@@ -158,7 +158,7 @@ EuiConfirmModal.propTypes = {
|
|
|
158
158
|
confirmButtonDisabled: _propTypes.default.bool,
|
|
159
159
|
className: _propTypes.default.string,
|
|
160
160
|
defaultFocusedButton: _propTypes.default.oneOfType([_propTypes.default.any.isRequired, _propTypes.default.any.isRequired]),
|
|
161
|
-
buttonColor: _propTypes.default.
|
|
161
|
+
buttonColor: _propTypes.default.oneOfType([_propTypes.default.any.isRequired, _propTypes.default.oneOf(["ghost"])]),
|
|
162
162
|
// For docs only, will get passed with ...rest
|
|
163
163
|
|
|
164
164
|
/**
|
|
@@ -209,13 +209,15 @@ EuiNotificationEvent.propTypes = {
|
|
|
209
209
|
onClick: _propTypes.default.func,
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
|
-
* Any of
|
|
212
|
+
* Any of the named color palette options.
|
|
213
|
+
* **`'ghost'` is set for deprecation. Use EuiThemeProvide.colorMode = 'dark' instead.**
|
|
213
214
|
*/
|
|
214
215
|
|
|
215
216
|
/**
|
|
216
|
-
* Any of
|
|
217
|
+
* Any of the named color palette options.
|
|
218
|
+
* **`'ghost'` is set for deprecation. Use EuiThemeProvide.colorMode = 'dark' instead.**
|
|
217
219
|
*/
|
|
218
|
-
color: _propTypes.default.
|
|
220
|
+
color: _propTypes.default.oneOfType([_propTypes.default.any.isRequired, _propTypes.default.oneOf(["ghost"])]),
|
|
219
221
|
size: _propTypes.default.oneOf(["xs", "s", "m"]),
|
|
220
222
|
|
|
221
223
|
/**
|
|
@@ -61,8 +61,9 @@ exports.EuiNotificationEventReadButton = EuiNotificationEventReadButton;
|
|
|
61
61
|
EuiNotificationEventReadButton.propTypes = {
|
|
62
62
|
/**
|
|
63
63
|
* Any of the named color palette options.
|
|
64
|
+
* **`'ghost'` is set for deprecation. Use EuiThemeProvide.colorMode = 'dark' instead.**
|
|
64
65
|
*/
|
|
65
|
-
color: _propTypes.default.
|
|
66
|
+
color: _propTypes.default.oneOfType([_propTypes.default.any.isRequired, _propTypes.default.oneOf(["ghost"])]),
|
|
66
67
|
"aria-label": _propTypes.default.string,
|
|
67
68
|
"aria-labelledby": _propTypes.default.string,
|
|
68
69
|
|
|
@@ -82,7 +82,7 @@ var EuiPageTemplate_Deprecated = function EuiPageTemplate_Deprecated(_ref) {
|
|
|
82
82
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
83
83
|
|
|
84
84
|
// BWC page header margin to match padding
|
|
85
|
-
var headerMargin = /*#__PURE__*/(0, _react2.css)(
|
|
85
|
+
var headerMargin = /*#__PURE__*/(0, _react2.css)((0, _global_styling.logicalCSS)('margin-bottom', (0, _global_styling.useEuiPaddingSize)(paddingSize)), ";label:headerMargin;");
|
|
86
86
|
/**
|
|
87
87
|
* Full height ~madness~ logic
|
|
88
88
|
*/
|
|
@@ -26,8 +26,8 @@ var euiPageInnerStyles = function euiPageInnerStyles(euiThemeContext) {
|
|
|
26
26
|
euiPageInner: /*#__PURE__*/(0, _react.css)("display:flex;flex-direction:column;align-items:stretch;flex:1 1 100%;", (0, _global_styling.logicalCSS)('max-width', '100%'), " ", (0, _global_styling.logicalCSS)('min-width', '0'), ";;label:euiPageInner;"),
|
|
27
27
|
panelled: /*#__PURE__*/(0, _react.css)("background:", (0, _global_styling.euiBackgroundColor)(euiThemeContext, 'plain'), ";", (0, _mixins.euiShadow)(euiThemeContext, 'm'), ";;label:panelled;"),
|
|
28
28
|
border: {
|
|
29
|
-
top: /*#__PURE__*/(0, _react.css)(
|
|
30
|
-
left: /*#__PURE__*/(0, _react.css)(
|
|
29
|
+
top: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('border-top', "".concat(euiThemeContext.euiTheme.border.width.thin, " solid ").concat(borderColor)), ";;label:top;"),
|
|
30
|
+
left: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('border-left', "".concat(euiThemeContext.euiTheme.border.width.thin, " solid ").concat(borderColor)), ";;label:left;")
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
};
|
|
@@ -7,6 +7,8 @@ exports.euiPageOuterStyles = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = require("@emotion/react");
|
|
9
9
|
|
|
10
|
+
var _global_styling = require("../../../global_styling");
|
|
11
|
+
|
|
10
12
|
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)."; }
|
|
11
13
|
|
|
12
14
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
@@ -39,7 +41,8 @@ var _ref3 = process.env.NODE_ENV === "production" ? {
|
|
|
39
41
|
var euiPageOuterStyles = function euiPageOuterStyles(_ref4) {
|
|
40
42
|
var euiTheme = _ref4.euiTheme;
|
|
41
43
|
return {
|
|
42
|
-
euiPageOuter: /*#__PURE__*/(0, _react.css)("display:flex;background-color:", euiTheme.colors.body, ";flex-shrink:0;max-width
|
|
44
|
+
euiPageOuter: /*#__PURE__*/(0, _react.css)("display:flex;background-color:", euiTheme.colors.body, ";flex-shrink:0;", (0, _global_styling.logicalCSS)('max-width', '100%' // Ensures Firefox doesn't expand width beyond bounds
|
|
45
|
+
), ";;label:euiPageOuter;"),
|
|
43
46
|
// Grow
|
|
44
47
|
grow: _ref3,
|
|
45
48
|
// Direction
|
package/{optimize/lib/components/panel/panel.style.js → lib/components/panel/panel.styles.js}
RENAMED
|
@@ -44,7 +44,7 @@ var euiPanelStyles = function euiPanelStyles(euiThemeContext) {
|
|
|
44
44
|
m: /*#__PURE__*/(0, _react.css)("border-radius:", euiTheme.border.radius.medium, ";;label:m;")
|
|
45
45
|
},
|
|
46
46
|
// Setup interactive behavior
|
|
47
|
-
isClickable: /*#__PURE__*/(0, _react.css)(_global_styling.euiCanAnimate, "{transition:box-shadow ", euiTheme.animation.fast, " ", euiTheme.animation.resistance, ",transform ", euiTheme.animation.fast, " ", euiTheme.animation.resistance, ";}&:enabled{display:block;width
|
|
47
|
+
isClickable: /*#__PURE__*/(0, _react.css)(_global_styling.euiCanAnimate, "{transition:box-shadow ", euiTheme.animation.fast, " ", euiTheme.animation.resistance, ",transform ", euiTheme.animation.fast, " ", euiTheme.animation.resistance, ";}&:enabled{display:block;", (0, _global_styling.logicalCSS)('width', '100%'), " ", (0, _global_styling.logicalTextAlignCSS)('left'), ";}&:hover,&:focus{", (0, _mixins.euiShadow)(euiThemeContext, 'l'), ";transform:translateY(-2px);cursor:pointer;};label:isClickable;")
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -46,7 +46,7 @@ var nativeVsIndeterminateColor = function nativeVsIndeterminateColor(color, isNa
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
var nonStaticPositioning = function nonStaticPositioning(isNative) {
|
|
49
|
-
return "\n top
|
|
49
|
+
return "\n ".concat((0, _global_styling.logicalCSS)('top', 0), "\n ").concat((0, _global_styling.logicalCSS)('left', 0), "\n ").concat((0, _global_styling.logicalCSS)('right', 0), "\n background-color: transparent;\n ").concat(isNative ? "\n &::-webkit-progress-bar {\n background-color: transparent;\n }" : '', "\n");
|
|
50
50
|
};
|
|
51
51
|
/**
|
|
52
52
|
* Animations
|
|
@@ -78,7 +78,7 @@ var euiProgressStyles = function euiProgressStyles(_ref3, isNative) {
|
|
|
78
78
|
// An indeterminate bar has an unreliable end time. Because of a Firefox animation issue,
|
|
79
79
|
// we apply this style to a <div> instead of a <progress> element.
|
|
80
80
|
// See https://css-tricks.com/html5-progress-element/ for more info.
|
|
81
|
-
indeterminate: /*#__PURE__*/(0, _react.css)("&:before{position:absolute;content:'';", (0, _global_styling.logicalCSS)('width', '100%'), " top
|
|
81
|
+
indeterminate: /*#__PURE__*/(0, _react.css)("&:before{position:absolute;content:'';", (0, _global_styling.logicalCSS)('width', '100%'), " ", (0, _global_styling.logicalCSS)('top', 0), " ", (0, _global_styling.logicalCSS)('bottom', 0), " ", (0, _global_styling.logicalCSS)('left', 0), " transform:scaleX(0) translateX(0%);animation:", euiIndeterminateAnimation, " 1s ", euiTheme.animation.resistance, " infinite;", _global_styling.euiCantAnimate, "{animation-duration:2s;animation-timing-function:linear;}};label:indeterminate;"),
|
|
82
82
|
// Sizes
|
|
83
83
|
xs: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('height', euiTheme.size.xxs), ";;label:xs;"),
|
|
84
84
|
s: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('height', euiTheme.size.xs), ";;label:s;"),
|
|
@@ -74,7 +74,7 @@ var euiScaleText = function euiScaleText(euiThemeContext, options) {
|
|
|
74
74
|
var euiTextStyles = function euiTextStyles(euiThemeContext) {
|
|
75
75
|
var euiTheme = euiThemeContext.euiTheme;
|
|
76
76
|
return {
|
|
77
|
-
euiText: /*#__PURE__*/(0, _react.css)(euiText(euiTheme, true), ";clear:both;a:not([class]){", (0, _link.euiLinkCSS)(
|
|
77
|
+
euiText: /*#__PURE__*/(0, _react.css)(euiText(euiTheme, true), ";clear:both;a:not([class]){", (0, _link.euiLinkCSS)(euiThemeContext), ";}img{display:block;", (0, _global_styling.logicalCSS)('max-width', '100%'), ";}ul{list-style:disc;}ol{list-style:decimal;}blockquote:not(.euiMarkdownFormat__blockquote){position:relative;", (0, _global_styling.logicalTextAlignCSS)('center'), " ", (0, _global_styling.logicalCSS)('margin-horizontal', 'auto'), " font-family:", euiTheme.font.familySerif, ";font-style:italic;letter-spacing:normal;p:last-child{", (0, _global_styling.logicalCSS)('margin-bottom', '0'), ";}&:before,&:after{position:absolute;content:'';", (0, _global_styling.logicalCSS)('height', euiTheme.border.width.thick), " ", (0, _global_styling.logicalCSS)('width', '50%'), " ", (0, _global_styling.logicalCSS)('left', '25%'), " ", (0, _global_styling.logicalCSS)('right', '25%'), " background:", euiTheme.colors.darkShade, ";}&:before{", (0, _global_styling.logicalCSS)('top', '0'), ";}&:after{", (0, _global_styling.logicalCSS)('bottom', '0'), ";}}h1{", (0, _title.euiTitle)(euiThemeContext, 'l'), ";}h2{", (0, _title.euiTitle)(euiThemeContext, 'm'), ";}h3{", (0, _title.euiTitle)(euiThemeContext, 's'), ";}h4,dt{", (0, _title.euiTitle)(euiThemeContext, 'xs'), ";}h5{", (0, _title.euiTitle)(euiThemeContext, 'xxs'), ";}h6{", (0, _title.euiTitle)(euiThemeContext, 'xxxs'), " text-transform:uppercase;}h1,h2,h3,h4,h5,h6,dt{color:inherit;}pre:not(.euiCodeBlock__pre){white-space:pre-wrap;background:", (0, _global_styling.euiBackgroundColor)(euiThemeContext, 'subdued'), ";color:", euiTheme.colors.text, ";}pre:not(.euiCodeBlock__pre),pre:not(.euiCodeBlock__pre) code{display:block;}>:last-child{", (0, _global_styling.logicalCSS)('margin-bottom', '0 !important'), ";}kbd{position:relative;display:inline-block;", (0, _global_styling.logicalCSS)('padding-vertical', euiTheme.size.xxs), " ", (0, _global_styling.logicalCSS)('padding-horizontal', euiTheme.size.xs), " line-height:1;border:", euiTheme.border.width.thin, " solid ", euiTheme.colors.text, ";border-radius:calc(", euiTheme.border.radius.small, " / 2);};label:euiText;"),
|
|
78
78
|
constrainedWidth: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('max-width', euiTextConstrainedMaxWidth), ";;label:constrainedWidth;"),
|
|
79
79
|
// Sizes
|
|
80
80
|
m: /*#__PURE__*/(0, _react.css)(euiScaleText(euiThemeContext, {
|
|
@@ -62,7 +62,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
62
62
|
|
|
63
63
|
var euiTitleStyles = function euiTitleStyles(euiThemeContext) {
|
|
64
64
|
return {
|
|
65
|
-
euiTitle: /*#__PURE__*/(0, _react.css)((0, _global_styling.euiTextBreakWord)(), " &+&{margin-top
|
|
65
|
+
euiTitle: /*#__PURE__*/(0, _react.css)((0, _global_styling.euiTextBreakWord)(), " &+&{", (0, _global_styling.logicalCSS)('margin-top', euiThemeContext.euiTheme.size.l), ";};label:euiTitle;"),
|
|
66
66
|
uppercase: _ref,
|
|
67
67
|
// Sizes
|
|
68
68
|
xxxs: /*#__PURE__*/(0, _react.css)(euiTitle(euiThemeContext, 'xxxs'), ";;label:xxxs;"),
|