@elastic/eui 64.0.1 → 65.0.2
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 +164 -1249
- 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 +136 -1221
- 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 +1 -1
- package/es/components/basic_table/in_memory_table.js +1 -1
- package/es/components/beacon/beacon.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/react-datepicker/original.package.json +124 -0
- 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/icon/icon.js +2 -1
- 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 +2 -2
- 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/title/title.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 +2 -72
- package/es/global_styling/functions/logicals.json +56 -0
- 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 +7 -1
- package/es/global_styling/reset/global_styles.js +2 -1
- package/es/themes/amsterdam/global_styling/mixins/button.js +165 -16
- package/eui.d.ts +1062 -936
- package/i18ntokens.json +15 -15
- 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 +1 -1
- package/lib/components/basic_table/in_memory_table.js +1 -1
- package/lib/components/beacon/beacon.styles.js +1 -1
- 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/react-datepicker/original.package.json +124 -0
- 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/icon/icon.js +2 -1
- 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 +1 -1
- 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/title/title.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 +3 -72
- package/lib/global_styling/functions/logicals.json +56 -0
- 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 +9 -2
- package/lib/global_styling/reset/global_styles.js +3 -1
- 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/beacon/beacon.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/date_picker/react-datepicker/original.package.json +124 -0
- 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/icon/icon.js +2 -1
- 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 +2 -2
- 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/title/title.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 +2 -72
- package/optimize/es/global_styling/functions/logicals.json +56 -0
- 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 +7 -1
- package/optimize/es/global_styling/reset/global_styles.js +2 -1
- 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/beacon/beacon.styles.js +1 -1
- 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/date_picker/react-datepicker/original.package.json +124 -0
- 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/icon/icon.js +2 -1
- 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 +1 -1
- 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/title/title.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 +10 -73
- package/optimize/lib/global_styling/functions/logicals.json +56 -0
- 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 +9 -2
- package/optimize/lib/global_styling/reset/global_styles.js +3 -1
- 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/datagrid/_data_grid_data_row.scss +7 -0
- 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/_index.scss +0 -1
- 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 +1 -1
- 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/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/react-datepicker/original.package.json +124 -0
- 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 +1 -1
- 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/title/title.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 +10 -73
- package/test-env/global_styling/functions/logicals.json +56 -0
- 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 +9 -2
- package/test-env/global_styling/reset/global_styles.js +3 -1
- 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
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
{
|
|
2
|
+
"author": "HackerOne",
|
|
3
|
+
"name": "@elastic/react-datepicker",
|
|
4
|
+
"description": "Forked from Hacker0x01/react-datepicker for accessibility - simple and reusable datepicker component for React",
|
|
5
|
+
"private": true,
|
|
6
|
+
"version": "2.0.0",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"homepage": "https://github.com/Hacker0x01/react-datepicker",
|
|
9
|
+
"main": "lib",
|
|
10
|
+
"files": [
|
|
11
|
+
"*.md",
|
|
12
|
+
"dist",
|
|
13
|
+
"datepicker-lib",
|
|
14
|
+
"es",
|
|
15
|
+
"src/stylesheets"
|
|
16
|
+
],
|
|
17
|
+
"resolutions": {
|
|
18
|
+
"**/diff": "^3.5.0"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"babel-core": "^6.26.0",
|
|
22
|
+
"babel-eslint": "^8.0.2",
|
|
23
|
+
"babel-loader": "^6.2.10",
|
|
24
|
+
"babel-plugin-add-react-displayname": "^0.0.4",
|
|
25
|
+
"babel-plugin-external-helpers": "^6.22.0",
|
|
26
|
+
"babel-plugin-react-transform": "^3.0.0",
|
|
27
|
+
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
28
|
+
"babel-plugin-transform-react-remove-prop-types": "^0.4.10",
|
|
29
|
+
"babel-polyfill": "^6.26.0",
|
|
30
|
+
"babel-preset-airbnb": "^2.4.0",
|
|
31
|
+
"babel-preset-env": "^1.6.1",
|
|
32
|
+
"babel-preset-react": "^6.24.1",
|
|
33
|
+
"babel-preset-stage-0": "^6.24.1",
|
|
34
|
+
"chai": "^3.5.0",
|
|
35
|
+
"cross-env": "^5.1.1",
|
|
36
|
+
"css-loader": "^1.0.0",
|
|
37
|
+
"enzyme": "^3.10.0",
|
|
38
|
+
"enzyme-adapter-react-16": "^1.14.0",
|
|
39
|
+
"eslint": "^4.18.2",
|
|
40
|
+
"eslint-plugin-import": "^2.8.0",
|
|
41
|
+
"eslint-plugin-node": "^5.2.1",
|
|
42
|
+
"eslint-plugin-promise": "^3.6.0",
|
|
43
|
+
"eslint-plugin-react": "^7.4.0",
|
|
44
|
+
"express": "^4.16.2",
|
|
45
|
+
"extract-text-webpack-plugin": "^1.0.1",
|
|
46
|
+
"flow-bin": "^0.68.0",
|
|
47
|
+
"highlight.js": "^9.12.0",
|
|
48
|
+
"husky": "^0.14.3",
|
|
49
|
+
"isparta-loader": "^2.0.0",
|
|
50
|
+
"karma": "^1.7.1",
|
|
51
|
+
"karma-chai": "^0.1.0",
|
|
52
|
+
"karma-coverage": "^1.1.1",
|
|
53
|
+
"karma-firefox-launcher": "^1.0.1",
|
|
54
|
+
"karma-mocha": "^1.3.0",
|
|
55
|
+
"karma-sinon": "^1.0.5",
|
|
56
|
+
"karma-sourcemap-loader": "^0.3.7",
|
|
57
|
+
"karma-webpack": "^2.0.5",
|
|
58
|
+
"lint-staged": "^6.0.0",
|
|
59
|
+
"lodash": "^4.17.13",
|
|
60
|
+
"mocha": "^4.0.1",
|
|
61
|
+
"moment": "^2.20.1",
|
|
62
|
+
"node-sass": "^4.13.1",
|
|
63
|
+
"npm-run-all": "^4.1.2",
|
|
64
|
+
"prettier": "^1.9.2",
|
|
65
|
+
"react": "^16.2.0",
|
|
66
|
+
"react-docgen": "^2.20.0",
|
|
67
|
+
"react-dom": "^16.2.0",
|
|
68
|
+
"react-test-renderer": "^16.8.6",
|
|
69
|
+
"react-transform-hmr": "^1.0.4",
|
|
70
|
+
"rimraf": "^2.6.2",
|
|
71
|
+
"rollup": "^0.62.0",
|
|
72
|
+
"rollup-plugin-babel": "^3.0.2",
|
|
73
|
+
"rollup-plugin-commonjs": "^8.2.6",
|
|
74
|
+
"rollup-plugin-node-resolve": "^3.0.0",
|
|
75
|
+
"rollup-plugin-uglify": "^2.0.1",
|
|
76
|
+
"sass-lint": "^1.12.1",
|
|
77
|
+
"sass-loader": "^4.1.1",
|
|
78
|
+
"sinon": "^4.1.2",
|
|
79
|
+
"style-loader": "^0.19.0",
|
|
80
|
+
"webpack": "^1.13.0",
|
|
81
|
+
"webpack-dev-middleware": "^1.12.0",
|
|
82
|
+
"webpack-dev-server": "^3.1.14",
|
|
83
|
+
"webpack-hot-middleware": "^2.20.0"
|
|
84
|
+
},
|
|
85
|
+
"peerDependencies": {
|
|
86
|
+
"moment": "^2.20.0",
|
|
87
|
+
"react": "^16.0.0",
|
|
88
|
+
"react-dom": "^16.0.0"
|
|
89
|
+
},
|
|
90
|
+
"dependencies": {
|
|
91
|
+
"classnames": "^2.2.5",
|
|
92
|
+
"focus-trap-react": "^4.0.0",
|
|
93
|
+
"json-loader": "^0.5.7",
|
|
94
|
+
"prop-types": "^15.6.0",
|
|
95
|
+
"react-onclickoutside": "^6.7.1",
|
|
96
|
+
"react-popper": "^1.0.2"
|
|
97
|
+
},
|
|
98
|
+
"scripts": {
|
|
99
|
+
"eslint": "eslint {src,test,docs-site/src}/**/*.{js,jsx} *.js",
|
|
100
|
+
"flow": "flow",
|
|
101
|
+
"precommit": "lint-staged",
|
|
102
|
+
"sass-lint": "sass-lint --config .sass-lint.yml 'src/stylesheets/*.scss, docs-site/src/*.scss' -i 'docs-site/src/higlight.scss, docs-site/src/reset.scss'",
|
|
103
|
+
"lint": "run-p eslint flow sass-lint",
|
|
104
|
+
"start": "cross-env MODULES=false node server.js",
|
|
105
|
+
"test": "cross-env NODE_ENV=test karma start karma.conf.js --single-run",
|
|
106
|
+
"prepublish": "test $(npm -v | tr . '\\n' | head -n 1) -ge '4' || exit 1",
|
|
107
|
+
"prepare": "npm run build",
|
|
108
|
+
"prebuild": "rimraf es lib dist",
|
|
109
|
+
"build": "cross-env NODE_ENV=production run-p build:** && run-p css:**",
|
|
110
|
+
"build-dev": "cross-env NODE_ENV=development run-p build:** && run-p css:**",
|
|
111
|
+
"css:prod": "mkdir -p lib && node-sass --output-style compressed src/stylesheets/datepicker.scss > lib/react-datepicker.min.css",
|
|
112
|
+
"css:modules:prod": "mkdir -p lib && node-sass --output-style compressed src/stylesheets/datepicker-cssmodules.scss > lib/react-datepicker-cssmodules.min.css",
|
|
113
|
+
"css:dev": "mkdir -p lib && node-sass --output-style expanded src/stylesheets/datepicker.scss > lib/react-datepicker.css",
|
|
114
|
+
"css:modules:dev": "mkdir -p lib && node-sass --output-style expanded src/stylesheets/datepicker-cssmodules.scss > lib/react-datepicker-cssmodules.css",
|
|
115
|
+
"build:es": "cross-env BABEL_ENV=cjs rollup -c -i src/index.jsx -o ../react-datepicker.js",
|
|
116
|
+
"build:docs": "cross-env MODULES=false webpack --config webpack.docs.config.js"
|
|
117
|
+
},
|
|
118
|
+
"lint-staged": {
|
|
119
|
+
"*.{js,jsx,json,css,scss,md}": [
|
|
120
|
+
"prettier --write",
|
|
121
|
+
"git add"
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
}
|
|
@@ -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
|
|
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
|
|
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
|
|
44
|
-
truncate:
|
|
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
|
|
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:
|
|
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(
|
|
75
|
-
var 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("
|
|
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(
|
|
100
|
-
_objectDestructuringEmpty(
|
|
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(
|
|
109
|
-
var 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 =
|
|
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,
|
|
@@ -96,7 +96,7 @@ export var EuiIconClass = /*#__PURE__*/function (_PureComponent) {
|
|
|
96
96
|
|
|
97
97
|
_this = _super.call(this, props);
|
|
98
98
|
|
|
99
|
-
_defineProperty(_assertThisInitialized(_this), "isMounted",
|
|
99
|
+
_defineProperty(_assertThisInitialized(_this), "isMounted", false);
|
|
100
100
|
|
|
101
101
|
_defineProperty(_assertThisInitialized(_this), "loadIconComponent", function (iconType) {
|
|
102
102
|
if (iconComponentCache.hasOwnProperty(iconType)) {
|
|
@@ -154,6 +154,7 @@ export var EuiIconClass = /*#__PURE__*/function (_PureComponent) {
|
|
|
154
154
|
_createClass(EuiIconClass, [{
|
|
155
155
|
key: "componentDidMount",
|
|
156
156
|
value: function componentDidMount() {
|
|
157
|
+
this.isMounted = true;
|
|
157
158
|
var type = this.props.type;
|
|
158
159
|
|
|
159
160
|
if (isEuiIconType(type) && this.state.icon == null) {
|
|
@@ -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;
|
|
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(
|
|
37
|
-
right: /*#__PURE__*/css(
|
|
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 ");
|
|
@@ -22,7 +22,7 @@ export var euiLinkFocusCSS = function euiLinkFocusCSS(euiTheme) {
|
|
|
22
22
|
};
|
|
23
23
|
export var euiLinkCSS = function euiLinkCSS(euiThemeContext) {
|
|
24
24
|
var euiTheme = euiThemeContext.euiTheme;
|
|
25
|
-
return "\n font-weight: ".concat(euiTheme.font.weight.medium, ";\n
|
|
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 ");
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
@@ -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
|
|
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(
|
|
28
|
-
var euiTheme =
|
|
27
|
+
export var euiLoadingChartStyles = function euiLoadingChartStyles(_ref2) {
|
|
28
|
+
var euiTheme = _ref2.euiTheme;
|
|
29
29
|
return {
|
|
30
|
-
euiLoadingChart:
|
|
31
|
-
m: /*#__PURE__*/css(
|
|
32
|
-
l: /*#__PURE__*/css(
|
|
33
|
-
xl: /*#__PURE__*/css(
|
|
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
|
|
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:
|
|
50
|
-
m: /*#__PURE__*/css(
|
|
51
|
-
l: /*#__PURE__*/css(
|
|
52
|
-
xl: /*#__PURE__*/css(
|
|
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,
|
|
57
|
-
var euiTheme =
|
|
58
|
-
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
|
|
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:'';
|
|
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{
|
|
32
|
-
l: /*#__PURE__*/css(euiCanAnimate, "{padding-block-start:", euiTheme.size[loadingPadding.l], ";}&:before,&:after{
|
|
33
|
-
xl: /*#__PURE__*/css(euiCanAnimate, "{padding-block-start:", euiTheme.size[loadingPadding.xl], ";}&:before,&:after{
|
|
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(
|
|
35
|
-
m: /*#__PURE__*/css(
|
|
36
|
-
l: /*#__PURE__*/css(
|
|
37
|
-
xl: /*#__PURE__*/css(
|
|
38
|
-
xxl: /*#__PURE__*/css(
|
|
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(
|
|
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(
|
|
19
|
-
left: /*#__PURE__*/css(
|
|
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
|
|
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.
|
|
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.
|
|
@@ -9,7 +9,7 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
|
9
9
|
*/
|
|
10
10
|
import { css } from '@emotion/react';
|
|
11
11
|
import { euiShadow } from '../../themes/amsterdam/global_styling/mixins';
|
|
12
|
-
import { euiCanAnimate, logicalTextAlignCSS } from '../../global_styling';
|
|
12
|
+
import { euiCanAnimate, logicalCSS, logicalTextAlignCSS } from '../../global_styling';
|
|
13
13
|
|
|
14
14
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
15
15
|
name: "122lw0e-grow",
|
|
@@ -42,6 +42,6 @@ export var euiPanelStyles = function euiPanelStyles(euiThemeContext) {
|
|
|
42
42
|
m: /*#__PURE__*/css("border-radius:", euiTheme.border.radius.medium, ";;label:m;")
|
|
43
43
|
},
|
|
44
44
|
// Setup interactive behavior
|
|
45
|
-
isClickable: /*#__PURE__*/css(euiCanAnimate, "{transition:box-shadow ", euiTheme.animation.fast, " ", euiTheme.animation.resistance, ",transform ", euiTheme.animation.fast, " ", euiTheme.animation.resistance, ";}&:enabled{display:block;width
|
|
45
|
+
isClickable: /*#__PURE__*/css(euiCanAnimate, "{transition:box-shadow ", euiTheme.animation.fast, " ", euiTheme.animation.resistance, ",transform ", euiTheme.animation.fast, " ", euiTheme.animation.resistance, ";}&:enabled{display:block;", logicalCSS('width', '100%'), " ", logicalTextAlignCSS('left'), ";}&:hover,&:focus{", euiShadow(euiThemeContext, 'l'), ";transform:translateY(-2px);cursor:pointer;};label:isClickable;")
|
|
46
46
|
};
|
|
47
47
|
};
|
|
@@ -43,7 +43,7 @@ var nativeVsIndeterminateColor = function nativeVsIndeterminateColor(color, isNa
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
var nonStaticPositioning = function nonStaticPositioning(isNative) {
|
|
46
|
-
return "\n top
|
|
46
|
+
return "\n ".concat(logicalCSS('top', 0), "\n ").concat(logicalCSS('left', 0), "\n ").concat(logicalCSS('right', 0), "\n background-color: transparent;\n ").concat(isNative ? "\n &::-webkit-progress-bar {\n background-color: transparent;\n }" : '', "\n");
|
|
47
47
|
};
|
|
48
48
|
/**
|
|
49
49
|
* Animations
|
|
@@ -75,7 +75,7 @@ export var euiProgressStyles = function euiProgressStyles(_ref3, isNative) {
|
|
|
75
75
|
// An indeterminate bar has an unreliable end time. Because of a Firefox animation issue,
|
|
76
76
|
// we apply this style to a <div> instead of a <progress> element.
|
|
77
77
|
// See https://css-tricks.com/html5-progress-element/ for more info.
|
|
78
|
-
indeterminate: /*#__PURE__*/css("&:before{position:absolute;content:'';", logicalCSS('width', '100%'), " top
|
|
78
|
+
indeterminate: /*#__PURE__*/css("&:before{position:absolute;content:'';", logicalCSS('width', '100%'), " ", logicalCSS('top', 0), " ", logicalCSS('bottom', 0), " ", logicalCSS('left', 0), " transform:scaleX(0) translateX(0%);animation:", euiIndeterminateAnimation, " 1s ", euiTheme.animation.resistance, " infinite;", euiCantAnimate, "{animation-duration:2s;animation-timing-function:linear;}};label:indeterminate;"),
|
|
79
79
|
// Sizes
|
|
80
80
|
xs: /*#__PURE__*/css(logicalCSS('height', euiTheme.size.xxs), ";;label:xs;"),
|
|
81
81
|
s: /*#__PURE__*/css(logicalCSS('height', euiTheme.size.xs), ";;label:s;"),
|
|
@@ -15,7 +15,7 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
|
15
15
|
*/
|
|
16
16
|
import { css } from '@emotion/react';
|
|
17
17
|
import { useEuiTheme } from '../../services';
|
|
18
|
-
import { euiTextBreakWord, euiFontSize } from '../../global_styling';
|
|
18
|
+
import { euiTextBreakWord, euiFontSize, logicalCSS } from '../../global_styling';
|
|
19
19
|
export var euiTitle = function euiTitle(euiThemeContext) {
|
|
20
20
|
var scale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'm';
|
|
21
21
|
var options = arguments.length > 2 ? arguments[2] : undefined;
|
|
@@ -53,7 +53,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
53
53
|
|
|
54
54
|
export var euiTitleStyles = function euiTitleStyles(euiThemeContext) {
|
|
55
55
|
return {
|
|
56
|
-
euiTitle: /*#__PURE__*/css(euiTextBreakWord(), " &+&{margin-top
|
|
56
|
+
euiTitle: /*#__PURE__*/css(euiTextBreakWord(), " &+&{", logicalCSS('margin-top', euiThemeContext.euiTheme.size.l), ";};label:euiTitle;"),
|
|
57
57
|
uppercase: _ref,
|
|
58
58
|
// Sizes
|
|
59
59
|
xxxs: /*#__PURE__*/css(euiTitle(euiThemeContext, 'xxxs'), ";;label:xxxs;"),
|