@elastic/eui 102.1.0-snapshot.1746441787383 → 102.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eui_theme_borealis_dark.json +1 -1
- package/es/components/badge/color_utils.js +3 -1
- package/es/components/badge/notification_badge/badge_notification.styles.js +1 -6
- package/es/components/basic_table/basic_table.js +10 -9
- package/es/components/basic_table/in_memory_table.js +18 -16
- package/es/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/es/components/breadcrumbs/_breadcrumb_content.styles.js +3 -6
- package/es/components/breadcrumbs/breadcrumbs.js +3 -3
- package/es/components/button/button_display/_button_display.js +1 -1
- package/es/components/button/button_display/_button_display.styles.js +2 -11
- package/es/components/button/button_display/_button_display_content.styles.js +3 -6
- package/es/components/button/button_empty/button_empty.styles.js +12 -9
- package/es/components/button/button_group/button_group.js +1 -1
- package/es/components/button/button_group/button_group.styles.js +3 -5
- package/es/components/button/button_group/button_group_button.js +9 -19
- package/es/components/button/button_group/button_group_button.styles.js +19 -43
- package/es/components/button/button_icon/button_icon.js +2 -4
- package/es/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/es/components/color_picker/color_palette_display/color_palette_display.js +2 -2
- package/es/components/color_picker/color_palette_display/color_palette_display_fixed.js +1 -1
- package/es/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -1
- package/es/components/color_picker/color_palette_picker/color_palette_picker.js +4 -4
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/es/components/comment_list/comment_list.js +1 -1
- package/es/components/datagrid/body/cell/data_grid_cell.js +9 -9
- package/es/components/datagrid/body/data_grid_body.js +14 -9
- package/es/components/datagrid/body/data_grid_body_custom.js +14 -9
- package/es/components/datagrid/body/data_grid_body_virtualized.js +58 -10
- package/es/components/datagrid/body/header/data_grid_header_cell.js +3 -3
- package/es/components/datagrid/body/header/draggable_columns.js +1 -1
- package/es/components/datagrid/controls/column_sorting.js +6 -6
- package/es/components/datagrid/controls/column_sorting_draggable.js +3 -3
- package/es/components/datagrid/controls/data_grid_toolbar_control.js +1 -11
- package/es/components/datagrid/utils/in_memory.js +3 -3
- package/es/components/datagrid/utils/scrolling.js +3 -1
- package/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/es/components/date_picker/super_date_picker/super_date_picker.js +4 -4
- package/es/components/filter_group/filter_button.js +23 -88
- package/es/components/filter_group/filter_button.styles.js +15 -51
- package/es/components/filter_group/filter_group.styles.js +6 -18
- package/es/components/form/range/dual_range.js +1 -1
- package/es/components/form/range/range.js +1 -1
- package/es/components/form/range/range_track.js +1 -1
- package/es/components/form/select/select.js +1 -1
- package/es/components/header/header.js +10 -10
- package/es/components/header/header_breadcrumbs/header_breadcrumbs.js +3 -3
- package/es/components/header/header_links/header_links.js +1 -1
- package/es/components/icon/assets/logo_elastic.js +23 -17
- package/es/components/icon/icon.styles.js +1 -1
- package/es/components/key_pad_menu/key_pad_menu.js +1 -1
- package/es/components/list_group/list_group.js +2 -2
- package/es/components/list_group/list_group_item.js +1 -1
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/es/components/loading/loading_elastic.styles.js +2 -2
- package/es/components/loading/loading_spinner.js +1 -1
- package/es/components/page/page_header/page_header_content.js +1 -1
- package/es/components/popover/popover.js +1 -1
- package/es/components/responsive/hide_for.js +1 -1
- package/es/components/responsive/show_for.js +1 -1
- package/es/components/search_bar/filters/field_value_selection_filter.js +1 -2
- package/es/components/search_bar/filters/field_value_toggle_filter.js +1 -3
- package/es/components/search_bar/filters/field_value_toggle_group_filter.js +2 -4
- package/es/components/search_bar/filters/is_filter.js +1 -3
- package/es/components/search_bar/search_bar.a11y.js +3 -3
- package/es/components/search_bar/search_bar.js +3 -3
- package/es/components/search_bar/search_filters.js +2 -2
- package/es/components/selectable/selectable.js +13 -12
- package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -3
- package/es/components/side_nav/side_nav.js +2 -2
- package/es/components/table/table_row_cell.js +1 -1
- package/es/components/timeline/timeline.js +1 -1
- package/es/components/toast/global_toast_list.js +27 -20
- package/es/components/tour/tour_step.js +1 -1
- package/es/global_styling/mixins/_button.js +28 -95
- package/es/services/theme/hooks.js +11 -0
- package/es/services/theme/index.js +2 -3
- package/es/services/theme/provider.js +2 -28
- package/es/themes/amsterdam/global_styling/variables/_buttons.js +147 -348
- package/es/themes/amsterdam/global_styling/variables/_components.js +224 -229
- package/es/themes/amsterdam/theme.js +1 -2
- package/es/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/es/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/es/themes/json/eui_theme_borealis_dark.json +427 -0
- package/es/themes/json/eui_theme_borealis_light.json +427 -0
- package/eui.d.ts +1997 -274
- package/lib/components/badge/color_utils.js +3 -1
- package/lib/components/badge/notification_badge/badge_notification.styles.js +1 -6
- package/lib/components/basic_table/basic_table.js +10 -9
- package/lib/components/basic_table/in_memory_table.js +18 -16
- package/lib/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/lib/components/breadcrumbs/_breadcrumb_content.styles.js +2 -5
- package/lib/components/breadcrumbs/breadcrumbs.js +2 -2
- package/lib/components/button/button_display/_button_display.js +1 -1
- package/lib/components/button/button_display/_button_display.styles.js +2 -11
- package/lib/components/button/button_display/_button_display_content.styles.js +3 -6
- package/lib/components/button/button_empty/button_empty.styles.js +11 -10
- package/lib/components/button/button_group/button_group.js +1 -1
- package/lib/components/button/button_group/button_group.styles.js +3 -5
- package/lib/components/button/button_group/button_group_button.js +8 -18
- package/lib/components/button/button_group/button_group_button.styles.js +17 -41
- package/lib/components/button/button_icon/button_icon.js +1 -3
- package/lib/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/lib/components/color_picker/color_palette_display/color_palette_display.js +2 -2
- package/lib/components/color_picker/color_palette_display/color_palette_display_fixed.js +1 -1
- package/lib/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -1
- package/lib/components/color_picker/color_palette_picker/color_palette_picker.js +4 -4
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/lib/components/comment_list/comment_list.js +1 -1
- package/lib/components/datagrid/body/cell/data_grid_cell.js +9 -9
- package/lib/components/datagrid/body/data_grid_body.js +14 -9
- package/lib/components/datagrid/body/data_grid_body_custom.js +14 -9
- package/lib/components/datagrid/body/data_grid_body_virtualized.js +58 -10
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +3 -3
- package/lib/components/datagrid/body/header/draggable_columns.js +1 -1
- package/lib/components/datagrid/controls/column_sorting.js +6 -6
- package/lib/components/datagrid/controls/column_sorting_draggable.js +3 -3
- package/lib/components/datagrid/controls/data_grid_toolbar_control.js +1 -11
- package/lib/components/datagrid/utils/in_memory.js +3 -3
- package/lib/components/datagrid/utils/scrolling.js +3 -1
- package/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/lib/components/date_picker/super_date_picker/super_date_picker.js +4 -4
- package/lib/components/empty_prompt/images/illustration.svg +939 -0
- package/lib/components/filter_group/filter_button.js +21 -86
- package/lib/components/filter_group/filter_button.styles.js +15 -51
- package/lib/components/filter_group/filter_group.styles.js +6 -18
- package/lib/components/form/range/dual_range.js +1 -1
- package/lib/components/form/range/range.js +1 -1
- package/lib/components/form/range/range_track.js +1 -1
- package/lib/components/form/select/select.js +1 -1
- package/lib/components/header/header.js +10 -10
- package/lib/components/header/header_breadcrumbs/header_breadcrumbs.js +2 -2
- package/lib/components/icon/assets/logo_elastic.js +23 -17
- package/lib/components/icon/icon.styles.js +1 -1
- package/lib/components/icon/svgs/logo_elastic.svg +7 -9
- package/lib/components/key_pad_menu/key_pad_menu.js +1 -1
- package/lib/components/list_group/list_group.js +2 -2
- package/lib/components/list_group/list_group_item.js +1 -1
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/lib/components/loading/loading_elastic.styles.js +2 -2
- package/lib/components/loading/loading_spinner.js +1 -1
- package/lib/components/popover/popover.js +1 -1
- package/lib/components/responsive/hide_for.js +1 -1
- package/lib/components/responsive/show_for.js +1 -1
- package/lib/components/search_bar/filters/field_value_selection_filter.js +1 -2
- package/lib/components/search_bar/filters/field_value_toggle_filter.js +1 -3
- package/lib/components/search_bar/filters/field_value_toggle_group_filter.js +2 -4
- package/lib/components/search_bar/filters/is_filter.js +1 -3
- package/lib/components/search_bar/search_bar.a11y.js +3 -3
- package/lib/components/search_bar/search_bar.js +3 -3
- package/lib/components/search_bar/search_filters.js +2 -2
- package/lib/components/selectable/selectable.js +13 -12
- package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -3
- package/lib/components/side_nav/side_nav.js +2 -2
- package/lib/components/table/table_row_cell.js +1 -1
- package/lib/components/timeline/timeline.js +1 -1
- package/lib/components/toast/global_toast_list.js +27 -20
- package/lib/global_styling/mixins/_button.js +27 -94
- package/lib/services/theme/hooks.js +12 -1
- package/lib/services/theme/index.js +7 -41
- package/lib/services/theme/provider.js +2 -28
- package/lib/themes/amsterdam/global_styling/variables/_buttons.js +147 -348
- package/lib/themes/amsterdam/global_styling/variables/_components.js +224 -229
- package/lib/themes/amsterdam/theme.js +1 -2
- package/lib/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/lib/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/lib/themes/json/eui_theme_borealis_dark.json +427 -0
- package/lib/themes/json/eui_theme_borealis_light.json +427 -0
- package/optimize/es/components/badge/color_utils.js +3 -1
- package/optimize/es/components/badge/notification_badge/badge_notification.styles.js +1 -6
- package/optimize/es/components/breadcrumbs/_breadcrumb_content.styles.js +3 -6
- package/optimize/es/components/button/button_display/_button_display.js +1 -1
- package/optimize/es/components/button/button_display/_button_display.styles.js +2 -11
- package/optimize/es/components/button/button_display/_button_display_content.styles.js +3 -6
- package/optimize/es/components/button/button_empty/button_empty.styles.js +12 -9
- package/optimize/es/components/button/button_group/button_group.styles.js +3 -5
- package/optimize/es/components/button/button_group/button_group_button.js +8 -12
- package/optimize/es/components/button/button_group/button_group_button.styles.js +19 -43
- package/optimize/es/components/button/button_icon/button_icon.js +2 -4
- package/optimize/es/components/datagrid/body/data_grid_body_virtualized.js +44 -1
- package/optimize/es/components/datagrid/controls/data_grid_toolbar_control.js +1 -11
- package/optimize/es/components/datagrid/utils/scrolling.js +3 -1
- package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/optimize/es/components/filter_group/filter_button.js +21 -78
- package/optimize/es/components/filter_group/filter_button.styles.js +15 -51
- package/optimize/es/components/filter_group/filter_group.styles.js +6 -18
- package/optimize/es/components/form/select/select.js +1 -1
- package/optimize/es/components/icon/assets/logo_elastic.js +23 -17
- package/optimize/es/components/icon/icon.styles.js +1 -1
- package/optimize/es/components/loading/loading_elastic.styles.js +2 -2
- package/optimize/es/components/search_bar/filters/field_value_selection_filter.js +0 -1
- package/optimize/es/components/search_bar/filters/field_value_toggle_filter.js +1 -3
- package/optimize/es/components/search_bar/filters/field_value_toggle_group_filter.js +1 -3
- package/optimize/es/components/search_bar/filters/is_filter.js +1 -3
- package/optimize/es/components/search_bar/search_bar.a11y.js +3 -3
- package/optimize/es/components/selectable/selectable.js +10 -9
- package/optimize/es/components/toast/global_toast_list.js +24 -20
- package/optimize/es/global_styling/mixins/_button.js +28 -95
- package/optimize/es/services/theme/hooks.js +11 -0
- package/optimize/es/services/theme/index.js +2 -3
- package/optimize/es/services/theme/provider.js +2 -28
- package/optimize/es/themes/amsterdam/global_styling/variables/_buttons.js +147 -348
- package/optimize/es/themes/amsterdam/global_styling/variables/_components.js +224 -229
- package/optimize/es/themes/amsterdam/theme.js +1 -2
- package/optimize/es/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/optimize/es/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/optimize/es/themes/json/eui_theme_borealis_dark.json +427 -0
- package/optimize/es/themes/json/eui_theme_borealis_light.json +427 -0
- package/optimize/lib/components/badge/color_utils.js +3 -1
- package/optimize/lib/components/badge/notification_badge/badge_notification.styles.js +1 -6
- package/optimize/lib/components/breadcrumbs/_breadcrumb_content.styles.js +2 -5
- package/optimize/lib/components/button/button_display/_button_display.js +1 -1
- package/optimize/lib/components/button/button_display/_button_display.styles.js +2 -11
- package/optimize/lib/components/button/button_display/_button_display_content.styles.js +3 -6
- package/optimize/lib/components/button/button_empty/button_empty.styles.js +11 -10
- package/optimize/lib/components/button/button_group/button_group.styles.js +3 -5
- package/optimize/lib/components/button/button_group/button_group_button.js +7 -11
- package/optimize/lib/components/button/button_group/button_group_button.styles.js +17 -41
- package/optimize/lib/components/button/button_icon/button_icon.js +1 -3
- package/optimize/lib/components/datagrid/body/data_grid_body_virtualized.js +44 -1
- package/optimize/lib/components/datagrid/controls/data_grid_toolbar_control.js +1 -11
- package/optimize/lib/components/datagrid/utils/scrolling.js +3 -1
- package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/optimize/lib/components/empty_prompt/images/illustration.svg +939 -0
- package/optimize/lib/components/filter_group/filter_button.js +19 -76
- package/optimize/lib/components/filter_group/filter_button.styles.js +15 -51
- package/optimize/lib/components/filter_group/filter_group.styles.js +6 -18
- package/optimize/lib/components/form/select/select.js +1 -1
- package/optimize/lib/components/icon/assets/logo_elastic.js +23 -17
- package/optimize/lib/components/icon/icon.styles.js +1 -1
- package/optimize/lib/components/icon/svgs/logo_elastic.svg +7 -9
- package/optimize/lib/components/loading/loading_elastic.styles.js +2 -2
- package/optimize/lib/components/search_bar/filters/field_value_selection_filter.js +0 -1
- package/optimize/lib/components/search_bar/filters/field_value_toggle_filter.js +1 -3
- package/optimize/lib/components/search_bar/filters/field_value_toggle_group_filter.js +1 -3
- package/optimize/lib/components/search_bar/filters/is_filter.js +1 -3
- package/optimize/lib/components/search_bar/search_bar.a11y.js +3 -3
- package/optimize/lib/components/selectable/selectable.js +10 -9
- package/optimize/lib/components/toast/global_toast_list.js +24 -20
- package/optimize/lib/global_styling/mixins/_button.js +27 -94
- package/optimize/lib/services/theme/hooks.js +12 -1
- package/optimize/lib/services/theme/index.js +7 -41
- package/optimize/lib/services/theme/provider.js +2 -28
- package/optimize/lib/themes/amsterdam/global_styling/variables/_buttons.js +147 -348
- package/optimize/lib/themes/amsterdam/global_styling/variables/_components.js +224 -229
- package/optimize/lib/themes/amsterdam/theme.js +1 -2
- package/optimize/lib/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/optimize/lib/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/optimize/lib/themes/json/eui_theme_borealis_dark.json +427 -0
- package/optimize/lib/themes/json/eui_theme_borealis_light.json +427 -0
- package/package.json +7 -10
- package/test-env/components/badge/color_utils.js +3 -1
- package/test-env/components/badge/notification_badge/badge_notification.styles.js +1 -6
- package/test-env/components/basic_table/basic_table.js +10 -9
- package/test-env/components/basic_table/in_memory_table.js +18 -16
- package/test-env/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/test-env/components/breadcrumbs/_breadcrumb_content.styles.js +2 -5
- package/test-env/components/breadcrumbs/breadcrumbs.js +2 -2
- package/test-env/components/button/button_display/_button_display.js +1 -1
- package/test-env/components/button/button_display/_button_display.styles.js +2 -11
- package/test-env/components/button/button_display/_button_display_content.styles.js +3 -6
- package/test-env/components/button/button_empty/button_empty.styles.js +11 -10
- package/test-env/components/button/button_group/button_group.js +1 -1
- package/test-env/components/button/button_group/button_group.styles.js +3 -5
- package/test-env/components/button/button_group/button_group_button.js +8 -18
- package/test-env/components/button/button_group/button_group_button.styles.js +17 -41
- package/test-env/components/button/button_icon/button_icon.js +1 -3
- package/test-env/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/test-env/components/color_picker/color_palette_display/color_palette_display.js +2 -2
- package/test-env/components/color_picker/color_palette_display/color_palette_display_fixed.js +1 -1
- package/test-env/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -1
- package/test-env/components/color_picker/color_palette_picker/color_palette_picker.js +4 -4
- package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/test-env/components/comment_list/comment_list.js +1 -1
- package/test-env/components/datagrid/body/cell/data_grid_cell.js +9 -9
- package/test-env/components/datagrid/body/data_grid_body.js +14 -9
- package/test-env/components/datagrid/body/data_grid_body_custom.js +14 -9
- package/test-env/components/datagrid/body/data_grid_body_virtualized.js +58 -10
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +3 -3
- package/test-env/components/datagrid/body/header/draggable_columns.js +1 -1
- package/test-env/components/datagrid/controls/column_sorting.js +6 -6
- package/test-env/components/datagrid/controls/column_sorting_draggable.js +3 -3
- package/test-env/components/datagrid/controls/data_grid_toolbar_control.js +1 -11
- package/test-env/components/datagrid/utils/in_memory.js +3 -3
- package/test-env/components/datagrid/utils/scrolling.js +3 -1
- package/test-env/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/test-env/components/date_picker/super_date_picker/super_date_picker.js +4 -4
- package/test-env/components/filter_group/filter_button.js +21 -86
- package/test-env/components/filter_group/filter_button.styles.js +15 -51
- package/test-env/components/filter_group/filter_group.styles.js +6 -18
- package/test-env/components/form/range/dual_range.js +1 -1
- package/test-env/components/form/range/range.js +1 -1
- package/test-env/components/form/range/range_track.js +1 -1
- package/test-env/components/form/select/select.js +1 -1
- package/test-env/components/header/header.js +10 -10
- package/test-env/components/header/header_breadcrumbs/header_breadcrumbs.js +2 -2
- package/test-env/components/icon/assets/logo_elastic.js +23 -17
- package/test-env/components/icon/icon.styles.js +1 -1
- package/test-env/components/key_pad_menu/key_pad_menu.js +1 -1
- package/test-env/components/list_group/list_group.js +2 -2
- package/test-env/components/list_group/list_group_item.js +1 -1
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/test-env/components/loading/loading_elastic.styles.js +2 -2
- package/test-env/components/loading/loading_spinner.js +1 -1
- package/test-env/components/popover/popover.js +1 -1
- package/test-env/components/responsive/hide_for.js +1 -1
- package/test-env/components/responsive/show_for.js +1 -1
- package/test-env/components/search_bar/filters/field_value_selection_filter.js +1 -2
- package/test-env/components/search_bar/filters/field_value_toggle_filter.js +1 -3
- package/test-env/components/search_bar/filters/field_value_toggle_group_filter.js +2 -4
- package/test-env/components/search_bar/filters/is_filter.js +1 -3
- package/test-env/components/search_bar/search_bar.a11y.js +3 -3
- package/test-env/components/search_bar/search_bar.js +3 -3
- package/test-env/components/search_bar/search_filters.js +2 -2
- package/test-env/components/selectable/selectable.js +13 -12
- package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -3
- package/test-env/components/side_nav/side_nav.js +2 -2
- package/test-env/components/table/table_row_cell.js +1 -1
- package/test-env/components/timeline/timeline.js +1 -1
- package/test-env/components/toast/global_toast_list.js +24 -20
- package/test-env/global_styling/mixins/_button.js +27 -94
- package/test-env/services/theme/hooks.js +12 -1
- package/test-env/services/theme/index.js +7 -41
- package/test-env/services/theme/provider.js +2 -28
- package/test-env/themes/amsterdam/global_styling/variables/_buttons.js +147 -348
- package/test-env/themes/amsterdam/global_styling/variables/_components.js +224 -229
- package/test-env/themes/amsterdam/theme.js +1 -2
- package/test-env/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/test-env/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/test-env/themes/json/eui_theme_borealis_dark.json +427 -0
- package/test-env/themes/json/eui_theme_borealis_light.json +427 -0
- package/es/services/theme/theme_variant.js +0 -22
- package/lib/services/theme/theme_variant.js +0 -28
- package/optimize/es/services/theme/theme_variant.js +0 -22
- package/optimize/lib/services/theme/theme_variant.js +0 -28
- package/test-env/services/theme/theme_variant.js +0 -28
|
@@ -75,445 +75,244 @@ var _buttons = {
|
|
|
75
75
|
lightShade = _ref20[0];
|
|
76
76
|
return (0, _manipulation.transparentize)(lightShade, 0.15);
|
|
77
77
|
}, ['colors.lightShade']),
|
|
78
|
-
|
|
78
|
+
backgroundFilledPrimary: (0, _euiThemeCommon.computed)(function (_ref21) {
|
|
79
79
|
var _ref22 = (0, _slicedToArray2.default)(_ref21, 1),
|
|
80
|
-
|
|
81
|
-
return (0, _manipulation.transparentize)(primary, 0.1);
|
|
82
|
-
}, ['colors.primary']),
|
|
83
|
-
backgroundAccentHover: (0, _euiThemeCommon.computed)(function (_ref23) {
|
|
84
|
-
var _ref24 = (0, _slicedToArray2.default)(_ref23, 1),
|
|
85
|
-
accent = _ref24[0];
|
|
86
|
-
return (0, _manipulation.transparentize)(accent, 0.1);
|
|
87
|
-
}, ['colors.accent']),
|
|
88
|
-
backgroundAccentSecondaryHover: (0, _euiThemeCommon.computed)(function (_ref25) {
|
|
89
|
-
var _ref26 = (0, _slicedToArray2.default)(_ref25, 1),
|
|
90
|
-
success = _ref26[0];
|
|
91
|
-
return (0, _manipulation.transparentize)(success, 0.1);
|
|
92
|
-
}, ['colors.success']),
|
|
93
|
-
backgroundNeutralHover: (0, _manipulation.transparentize)(_colors_severity.severityColors.neutral, 0.1),
|
|
94
|
-
backgroundSuccessHover: (0, _euiThemeCommon.computed)(function (_ref27) {
|
|
95
|
-
var _ref28 = (0, _slicedToArray2.default)(_ref27, 1),
|
|
96
|
-
success = _ref28[0];
|
|
97
|
-
return (0, _manipulation.transparentize)(success, 0.1);
|
|
98
|
-
}, ['colors.success']),
|
|
99
|
-
backgroundWarningHover: (0, _euiThemeCommon.computed)(function (_ref29) {
|
|
100
|
-
var _ref30 = (0, _slicedToArray2.default)(_ref29, 1),
|
|
101
|
-
warning = _ref30[0];
|
|
102
|
-
return (0, _manipulation.transparentize)(warning, 0.1);
|
|
103
|
-
}, ['colors.warning']),
|
|
104
|
-
backgroundRiskHover: (0, _manipulation.transparentize)(_colors_severity.severityColors.risk, 0.1),
|
|
105
|
-
backgroundDangerHover: (0, _euiThemeCommon.computed)(function (_ref31) {
|
|
106
|
-
var _ref32 = (0, _slicedToArray2.default)(_ref31, 1),
|
|
107
|
-
danger = _ref32[0];
|
|
108
|
-
return (0, _manipulation.transparentize)(danger, 0.1);
|
|
109
|
-
}, ['colors.danger']),
|
|
110
|
-
backgroundTextHover: (0, _euiThemeCommon.computed)(function (_ref33) {
|
|
111
|
-
var _ref34 = (0, _slicedToArray2.default)(_ref33, 1),
|
|
112
|
-
lightShade = _ref34[0];
|
|
113
|
-
return (0, _manipulation.transparentize)(lightShade, 0.2);
|
|
114
|
-
}, ['colors.lightShade']),
|
|
115
|
-
backgroundPrimaryActive: (0, _euiThemeCommon.computed)(function (_ref35) {
|
|
116
|
-
var _ref36 = (0, _slicedToArray2.default)(_ref35, 1),
|
|
117
|
-
primary = _ref36[0];
|
|
118
|
-
return (0, _manipulation.transparentize)(primary, 0.1);
|
|
119
|
-
}, ['colors.primary']),
|
|
120
|
-
backgroundAccentActive: (0, _euiThemeCommon.computed)(function (_ref37) {
|
|
121
|
-
var _ref38 = (0, _slicedToArray2.default)(_ref37, 1),
|
|
122
|
-
accent = _ref38[0];
|
|
123
|
-
return (0, _manipulation.transparentize)(accent, 0.1);
|
|
124
|
-
}, ['colors.accent']),
|
|
125
|
-
backgroundAccentSecondaryActive: (0, _euiThemeCommon.computed)(function (_ref39) {
|
|
126
|
-
var _ref40 = (0, _slicedToArray2.default)(_ref39, 1),
|
|
127
|
-
success = _ref40[0];
|
|
128
|
-
return (0, _manipulation.transparentize)(success, 0.1);
|
|
129
|
-
}, ['colors.success']),
|
|
130
|
-
backgroundNeutralActive: (0, _manipulation.transparentize)(_colors_severity.severityColors.neutral, 0.1),
|
|
131
|
-
backgroundSuccessActive: (0, _euiThemeCommon.computed)(function (_ref41) {
|
|
132
|
-
var _ref42 = (0, _slicedToArray2.default)(_ref41, 1),
|
|
133
|
-
success = _ref42[0];
|
|
134
|
-
return (0, _manipulation.transparentize)(success, 0.1);
|
|
135
|
-
}, ['colors.success']),
|
|
136
|
-
backgroundWarningActive: (0, _euiThemeCommon.computed)(function (_ref43) {
|
|
137
|
-
var _ref44 = (0, _slicedToArray2.default)(_ref43, 1),
|
|
138
|
-
warning = _ref44[0];
|
|
139
|
-
return (0, _manipulation.transparentize)(warning, 0.1);
|
|
140
|
-
}, ['colors.warning']),
|
|
141
|
-
backgroundRiskActive: (0, _manipulation.transparentize)(_colors_severity.severityColors.risk, 0.1),
|
|
142
|
-
backgroundDangerActive: (0, _euiThemeCommon.computed)(function (_ref45) {
|
|
143
|
-
var _ref46 = (0, _slicedToArray2.default)(_ref45, 1),
|
|
144
|
-
danger = _ref46[0];
|
|
145
|
-
return (0, _manipulation.transparentize)(danger, 0.1);
|
|
146
|
-
}, ['colors.danger']),
|
|
147
|
-
backgroundTextActive: (0, _euiThemeCommon.computed)(function (_ref47) {
|
|
148
|
-
var _ref48 = (0, _slicedToArray2.default)(_ref47, 1),
|
|
149
|
-
lightShade = _ref48[0];
|
|
150
|
-
return (0, _manipulation.transparentize)(lightShade, 0.2);
|
|
151
|
-
}, ['colors.lightShade']),
|
|
152
|
-
backgroundFilledPrimary: (0, _euiThemeCommon.computed)(function (_ref49) {
|
|
153
|
-
var _ref50 = (0, _slicedToArray2.default)(_ref49, 1),
|
|
154
|
-
backgroundFilledPrimary = _ref50[0];
|
|
80
|
+
backgroundFilledPrimary = _ref22[0];
|
|
155
81
|
return backgroundFilledPrimary;
|
|
156
82
|
}, ['colors.backgroundFilledPrimary']),
|
|
157
|
-
backgroundFilledAccent: (0, _euiThemeCommon.computed)(function (
|
|
158
|
-
var
|
|
159
|
-
backgroundFilledAccent =
|
|
83
|
+
backgroundFilledAccent: (0, _euiThemeCommon.computed)(function (_ref23) {
|
|
84
|
+
var _ref24 = (0, _slicedToArray2.default)(_ref23, 1),
|
|
85
|
+
backgroundFilledAccent = _ref24[0];
|
|
160
86
|
return backgroundFilledAccent;
|
|
161
87
|
}, ['colors.backgroundFilledAccent']),
|
|
162
|
-
backgroundFilledAccentSecondary: (0, _euiThemeCommon.computed)(function (
|
|
163
|
-
var
|
|
164
|
-
backgroundFilledAccent =
|
|
88
|
+
backgroundFilledAccentSecondary: (0, _euiThemeCommon.computed)(function (_ref25) {
|
|
89
|
+
var _ref26 = (0, _slicedToArray2.default)(_ref25, 1),
|
|
90
|
+
backgroundFilledAccent = _ref26[0];
|
|
165
91
|
return backgroundFilledAccent;
|
|
166
92
|
}, ['colors.backgroundFilledAccent']),
|
|
167
|
-
backgroundFilledNeutral: (0, _euiThemeCommon.computed)(function (
|
|
168
|
-
var
|
|
169
|
-
backgroundFilledNeutral =
|
|
93
|
+
backgroundFilledNeutral: (0, _euiThemeCommon.computed)(function (_ref27) {
|
|
94
|
+
var _ref28 = (0, _slicedToArray2.default)(_ref27, 1),
|
|
95
|
+
backgroundFilledNeutral = _ref28[0];
|
|
170
96
|
return backgroundFilledNeutral;
|
|
171
97
|
}, ['colors.backgroundFilledNeutral']),
|
|
172
|
-
backgroundFilledSuccess: (0, _euiThemeCommon.computed)(function (
|
|
173
|
-
var
|
|
174
|
-
backgroundFilledSuccess =
|
|
98
|
+
backgroundFilledSuccess: (0, _euiThemeCommon.computed)(function (_ref29) {
|
|
99
|
+
var _ref30 = (0, _slicedToArray2.default)(_ref29, 1),
|
|
100
|
+
backgroundFilledSuccess = _ref30[0];
|
|
175
101
|
return backgroundFilledSuccess;
|
|
176
102
|
}, ['colors.backgroundFilledSuccess']),
|
|
177
|
-
backgroundFilledWarning: (0, _euiThemeCommon.computed)(function (
|
|
178
|
-
var
|
|
179
|
-
backgroundFilledWarning =
|
|
103
|
+
backgroundFilledWarning: (0, _euiThemeCommon.computed)(function (_ref31) {
|
|
104
|
+
var _ref32 = (0, _slicedToArray2.default)(_ref31, 1),
|
|
105
|
+
backgroundFilledWarning = _ref32[0];
|
|
180
106
|
return backgroundFilledWarning;
|
|
181
107
|
}, ['colors.backgroundFilledWarning']),
|
|
182
|
-
backgroundFilledRisk: (0, _euiThemeCommon.computed)(function (
|
|
183
|
-
var
|
|
184
|
-
backgroundFilledRisk =
|
|
108
|
+
backgroundFilledRisk: (0, _euiThemeCommon.computed)(function (_ref33) {
|
|
109
|
+
var _ref34 = (0, _slicedToArray2.default)(_ref33, 1),
|
|
110
|
+
backgroundFilledRisk = _ref34[0];
|
|
185
111
|
return backgroundFilledRisk;
|
|
186
112
|
}, ['colors.backgroundFilledRisk']),
|
|
187
|
-
backgroundFilledDanger: (0, _euiThemeCommon.computed)(function (
|
|
188
|
-
var
|
|
189
|
-
backgroundFilledDanger =
|
|
113
|
+
backgroundFilledDanger: (0, _euiThemeCommon.computed)(function (_ref35) {
|
|
114
|
+
var _ref36 = (0, _slicedToArray2.default)(_ref35, 1),
|
|
115
|
+
backgroundFilledDanger = _ref36[0];
|
|
190
116
|
return backgroundFilledDanger;
|
|
191
117
|
}, ['colors.backgroundFilledDanger']),
|
|
192
|
-
backgroundFilledText: (0, _euiThemeCommon.computed)(function (
|
|
193
|
-
var
|
|
194
|
-
backgroundFilledText =
|
|
118
|
+
backgroundFilledText: (0, _euiThemeCommon.computed)(function (_ref37) {
|
|
119
|
+
var _ref38 = (0, _slicedToArray2.default)(_ref37, 1),
|
|
120
|
+
backgroundFilledText = _ref38[0];
|
|
195
121
|
return backgroundFilledText;
|
|
196
122
|
}, ['colors.backgroundFilledText']),
|
|
197
|
-
backgroundFilledDisabled: (0, _euiThemeCommon.computed)(function (
|
|
198
|
-
var
|
|
199
|
-
lightShade =
|
|
123
|
+
backgroundFilledDisabled: (0, _euiThemeCommon.computed)(function (_ref39) {
|
|
124
|
+
var _ref40 = (0, _slicedToArray2.default)(_ref39, 1),
|
|
125
|
+
lightShade = _ref40[0];
|
|
200
126
|
return (0, _manipulation.transparentize)(lightShade, 0.15);
|
|
201
127
|
}, ['colors.lightShade']),
|
|
202
|
-
|
|
203
|
-
var
|
|
204
|
-
|
|
205
|
-
return backgroundFilledPrimary;
|
|
206
|
-
}, ['components.buttons.backgroundFilledPrimary']),
|
|
207
|
-
backgroundFilledAccentHover: (0, _euiThemeCommon.computed)(function (_ref71) {
|
|
208
|
-
var _ref72 = (0, _slicedToArray2.default)(_ref71, 1),
|
|
209
|
-
backgroundFilledPrimary = _ref72[0];
|
|
210
|
-
return backgroundFilledPrimary;
|
|
211
|
-
}, ['components.buttons.backgroundFilledAccent']),
|
|
212
|
-
backgroundFilledAccentSecondaryHover: (0, _euiThemeCommon.computed)(function (_ref73) {
|
|
213
|
-
var _ref74 = (0, _slicedToArray2.default)(_ref73, 1),
|
|
214
|
-
backgroundFilledPrimary = _ref74[0];
|
|
215
|
-
return backgroundFilledPrimary;
|
|
216
|
-
}, ['components.buttons.backgroundFilledAccentSecondary']),
|
|
217
|
-
backgroundFilledNeutralHover: (0, _euiThemeCommon.computed)(function (_ref75) {
|
|
218
|
-
var _ref76 = (0, _slicedToArray2.default)(_ref75, 1),
|
|
219
|
-
backgroundFilledNeutral = _ref76[0];
|
|
220
|
-
return backgroundFilledNeutral;
|
|
221
|
-
}, ['components.buttons.backgroundFilledNeutral']),
|
|
222
|
-
backgroundFilledSuccessHover: (0, _euiThemeCommon.computed)(function (_ref77) {
|
|
223
|
-
var _ref78 = (0, _slicedToArray2.default)(_ref77, 1),
|
|
224
|
-
backgroundFilledPrimary = _ref78[0];
|
|
225
|
-
return backgroundFilledPrimary;
|
|
226
|
-
}, ['components.buttons.backgroundFilledSuccess']),
|
|
227
|
-
backgroundFilledWarningHover: (0, _euiThemeCommon.computed)(function (_ref79) {
|
|
228
|
-
var _ref80 = (0, _slicedToArray2.default)(_ref79, 1),
|
|
229
|
-
backgroundFilledPrimary = _ref80[0];
|
|
230
|
-
return backgroundFilledPrimary;
|
|
231
|
-
}, ['components.buttons.backgroundFilledWarning']),
|
|
232
|
-
backgroundFilledRiskHover: (0, _euiThemeCommon.computed)(function (_ref81) {
|
|
233
|
-
var _ref82 = (0, _slicedToArray2.default)(_ref81, 1),
|
|
234
|
-
backgroundFilledRisk = _ref82[0];
|
|
235
|
-
return backgroundFilledRisk;
|
|
236
|
-
}, ['components.buttons.backgroundFilledRisk']),
|
|
237
|
-
backgroundFilledDangerHover: (0, _euiThemeCommon.computed)(function (_ref83) {
|
|
238
|
-
var _ref84 = (0, _slicedToArray2.default)(_ref83, 1),
|
|
239
|
-
backgroundFilledPrimary = _ref84[0];
|
|
240
|
-
return backgroundFilledPrimary;
|
|
241
|
-
}, ['components.buttons.backgroundFilledDanger']),
|
|
242
|
-
backgroundFilledTextHover: (0, _euiThemeCommon.computed)(function (_ref85) {
|
|
243
|
-
var _ref86 = (0, _slicedToArray2.default)(_ref85, 1),
|
|
244
|
-
backgroundFilledPrimary = _ref86[0];
|
|
245
|
-
return backgroundFilledPrimary;
|
|
246
|
-
}, ['components.buttons.backgroundFilledText']),
|
|
247
|
-
backgroundFilledPrimaryActive: (0, _euiThemeCommon.computed)(function (_ref87) {
|
|
248
|
-
var _ref88 = (0, _slicedToArray2.default)(_ref87, 1),
|
|
249
|
-
backgroundFilledPrimary = _ref88[0];
|
|
250
|
-
return backgroundFilledPrimary;
|
|
251
|
-
}, ['components.buttons.backgroundFilledPrimary']),
|
|
252
|
-
backgroundFilledAccentActive: (0, _euiThemeCommon.computed)(function (_ref89) {
|
|
253
|
-
var _ref90 = (0, _slicedToArray2.default)(_ref89, 1),
|
|
254
|
-
backgroundFilledPrimary = _ref90[0];
|
|
255
|
-
return backgroundFilledPrimary;
|
|
256
|
-
}, ['components.buttons.backgroundFilledAccent']),
|
|
257
|
-
backgroundFilledAccentSecondaryActive: (0, _euiThemeCommon.computed)(function (_ref91) {
|
|
258
|
-
var _ref92 = (0, _slicedToArray2.default)(_ref91, 1),
|
|
259
|
-
backgroundFilledPrimary = _ref92[0];
|
|
260
|
-
return backgroundFilledPrimary;
|
|
261
|
-
}, ['components.buttons.backgroundFilledAccentSecondary']),
|
|
262
|
-
backgroundFilledNeutralActive: (0, _euiThemeCommon.computed)(function (_ref93) {
|
|
263
|
-
var _ref94 = (0, _slicedToArray2.default)(_ref93, 1),
|
|
264
|
-
backgroundFilledNeutral = _ref94[0];
|
|
265
|
-
return backgroundFilledNeutral;
|
|
266
|
-
}, ['components.buttons.backgroundFilledNeutral']),
|
|
267
|
-
backgroundFilledSuccessActive: (0, _euiThemeCommon.computed)(function (_ref95) {
|
|
268
|
-
var _ref96 = (0, _slicedToArray2.default)(_ref95, 1),
|
|
269
|
-
backgroundFilledPrimary = _ref96[0];
|
|
270
|
-
return backgroundFilledPrimary;
|
|
271
|
-
}, ['components.buttons.backgroundFilledSuccess']),
|
|
272
|
-
backgroundFilledWarningActive: (0, _euiThemeCommon.computed)(function (_ref97) {
|
|
273
|
-
var _ref98 = (0, _slicedToArray2.default)(_ref97, 1),
|
|
274
|
-
backgroundFilledPrimary = _ref98[0];
|
|
275
|
-
return backgroundFilledPrimary;
|
|
276
|
-
}, ['components.buttons.backgroundFilledWarning']),
|
|
277
|
-
backgroundFilledRiskActive: (0, _euiThemeCommon.computed)(function (_ref99) {
|
|
278
|
-
var _ref100 = (0, _slicedToArray2.default)(_ref99, 1),
|
|
279
|
-
backgroundFilledRisk = _ref100[0];
|
|
280
|
-
return backgroundFilledRisk;
|
|
281
|
-
}, ['components.buttons.backgroundFilledRisk']),
|
|
282
|
-
backgroundFilledDangerActive: (0, _euiThemeCommon.computed)(function (_ref101) {
|
|
283
|
-
var _ref102 = (0, _slicedToArray2.default)(_ref101, 1),
|
|
284
|
-
backgroundFilledPrimary = _ref102[0];
|
|
285
|
-
return backgroundFilledPrimary;
|
|
286
|
-
}, ['components.buttons.backgroundFilledDanger']),
|
|
287
|
-
backgroundFilledTextActive: (0, _euiThemeCommon.computed)(function (_ref103) {
|
|
288
|
-
var _ref104 = (0, _slicedToArray2.default)(_ref103, 1),
|
|
289
|
-
backgroundFilledPrimary = _ref104[0];
|
|
290
|
-
return backgroundFilledPrimary;
|
|
291
|
-
}, ['components.buttons.backgroundFilledText']),
|
|
292
|
-
backgroundEmptyPrimaryHover: (0, _euiThemeCommon.computed)(function (_ref105) {
|
|
293
|
-
var _ref106 = (0, _slicedToArray2.default)(_ref105, 1),
|
|
294
|
-
primary = _ref106[0];
|
|
128
|
+
backgroundEmptyPrimaryHover: (0, _euiThemeCommon.computed)(function (_ref41) {
|
|
129
|
+
var _ref42 = (0, _slicedToArray2.default)(_ref41, 1),
|
|
130
|
+
primary = _ref42[0];
|
|
295
131
|
return (0, _manipulation.transparentize)(primary, 0.1);
|
|
296
132
|
}, ['colors.primary']),
|
|
297
|
-
backgroundEmptyAccentHover: (0, _euiThemeCommon.computed)(function (
|
|
298
|
-
var
|
|
299
|
-
accent =
|
|
133
|
+
backgroundEmptyAccentHover: (0, _euiThemeCommon.computed)(function (_ref43) {
|
|
134
|
+
var _ref44 = (0, _slicedToArray2.default)(_ref43, 1),
|
|
135
|
+
accent = _ref44[0];
|
|
300
136
|
return (0, _manipulation.transparentize)(accent, 0.1);
|
|
301
137
|
}, ['colors.accent']),
|
|
302
|
-
backgroundEmptyAccentSecondaryHover: (0, _euiThemeCommon.computed)(function (
|
|
303
|
-
var
|
|
304
|
-
success =
|
|
138
|
+
backgroundEmptyAccentSecondaryHover: (0, _euiThemeCommon.computed)(function (_ref45) {
|
|
139
|
+
var _ref46 = (0, _slicedToArray2.default)(_ref45, 1),
|
|
140
|
+
success = _ref46[0];
|
|
305
141
|
return (0, _manipulation.transparentize)(success, 0.1);
|
|
306
142
|
}, ['colors.success']),
|
|
307
143
|
backgroundEmptyNeutralHover: (0, _manipulation.transparentize)(_colors_severity.severityColors.neutral, 0.1),
|
|
308
|
-
backgroundEmptySuccessHover: (0, _euiThemeCommon.computed)(function (
|
|
309
|
-
var
|
|
310
|
-
success =
|
|
144
|
+
backgroundEmptySuccessHover: (0, _euiThemeCommon.computed)(function (_ref47) {
|
|
145
|
+
var _ref48 = (0, _slicedToArray2.default)(_ref47, 1),
|
|
146
|
+
success = _ref48[0];
|
|
311
147
|
return (0, _manipulation.transparentize)(success, 0.1);
|
|
312
148
|
}, ['colors.success']),
|
|
313
|
-
backgroundEmptyWarningHover: (0, _euiThemeCommon.computed)(function (
|
|
314
|
-
var
|
|
315
|
-
warning =
|
|
149
|
+
backgroundEmptyWarningHover: (0, _euiThemeCommon.computed)(function (_ref49) {
|
|
150
|
+
var _ref50 = (0, _slicedToArray2.default)(_ref49, 1),
|
|
151
|
+
warning = _ref50[0];
|
|
316
152
|
return (0, _manipulation.transparentize)(warning, 0.1);
|
|
317
153
|
}, ['colors.warning']),
|
|
318
154
|
backgroundEmptyRiskHover: (0, _manipulation.transparentize)(_colors_severity.severityColors.risk, 0.1),
|
|
319
|
-
backgroundEmptyDangerHover: (0, _euiThemeCommon.computed)(function (
|
|
320
|
-
var
|
|
321
|
-
danger =
|
|
322
|
-
return (0, _manipulation.transparentize)(danger, 0.1);
|
|
323
|
-
}, ['colors.danger']),
|
|
324
|
-
backgroundEmptyTextHover: (0, _euiThemeCommon.computed)(function (_ref117) {
|
|
325
|
-
var _ref118 = (0, _slicedToArray2.default)(_ref117, 1),
|
|
326
|
-
lightShade = _ref118[0];
|
|
327
|
-
return (0, _manipulation.transparentize)(lightShade, 0.2);
|
|
328
|
-
}, ['colors.lightShade']),
|
|
329
|
-
backgroundEmptyPrimaryActive: (0, _euiThemeCommon.computed)(function (_ref119) {
|
|
330
|
-
var _ref120 = (0, _slicedToArray2.default)(_ref119, 1),
|
|
331
|
-
primary = _ref120[0];
|
|
332
|
-
return (0, _manipulation.transparentize)(primary, 0.1);
|
|
333
|
-
}, ['colors.primary']),
|
|
334
|
-
backgroundEmptyAccentActive: (0, _euiThemeCommon.computed)(function (_ref121) {
|
|
335
|
-
var _ref122 = (0, _slicedToArray2.default)(_ref121, 1),
|
|
336
|
-
accent = _ref122[0];
|
|
337
|
-
return (0, _manipulation.transparentize)(accent, 0.1);
|
|
338
|
-
}, ['colors.accent']),
|
|
339
|
-
backgroundEmptyAccentSecondaryActive: (0, _euiThemeCommon.computed)(function (_ref123) {
|
|
340
|
-
var _ref124 = (0, _slicedToArray2.default)(_ref123, 1),
|
|
341
|
-
success = _ref124[0];
|
|
342
|
-
return (0, _manipulation.transparentize)(success, 0.1);
|
|
343
|
-
}, ['colors.success']),
|
|
344
|
-
backgroundEmptyNeutralActive: (0, _manipulation.transparentize)(_colors_severity.severityColors.neutral, 0.1),
|
|
345
|
-
backgroundEmptySuccessActive: (0, _euiThemeCommon.computed)(function (_ref125) {
|
|
346
|
-
var _ref126 = (0, _slicedToArray2.default)(_ref125, 1),
|
|
347
|
-
success = _ref126[0];
|
|
348
|
-
return (0, _manipulation.transparentize)(success, 0.1);
|
|
349
|
-
}, ['colors.success']),
|
|
350
|
-
backgroundEmptyWarningActive: (0, _euiThemeCommon.computed)(function (_ref127) {
|
|
351
|
-
var _ref128 = (0, _slicedToArray2.default)(_ref127, 1),
|
|
352
|
-
warning = _ref128[0];
|
|
353
|
-
return (0, _manipulation.transparentize)(warning, 0.1);
|
|
354
|
-
}, ['colors.warning']),
|
|
355
|
-
backgroundEmptyRiskActive: (0, _manipulation.transparentize)(_colors_severity.severityColors.risk, 0.1),
|
|
356
|
-
backgroundEmptyDangerActive: (0, _euiThemeCommon.computed)(function (_ref129) {
|
|
357
|
-
var _ref130 = (0, _slicedToArray2.default)(_ref129, 1),
|
|
358
|
-
danger = _ref130[0];
|
|
155
|
+
backgroundEmptyDangerHover: (0, _euiThemeCommon.computed)(function (_ref51) {
|
|
156
|
+
var _ref52 = (0, _slicedToArray2.default)(_ref51, 1),
|
|
157
|
+
danger = _ref52[0];
|
|
359
158
|
return (0, _manipulation.transparentize)(danger, 0.1);
|
|
360
159
|
}, ['colors.danger']),
|
|
361
|
-
|
|
362
|
-
var
|
|
363
|
-
lightShade =
|
|
160
|
+
backgroundEmptyTextHover: (0, _euiThemeCommon.computed)(function (_ref53) {
|
|
161
|
+
var _ref54 = (0, _slicedToArray2.default)(_ref53, 1),
|
|
162
|
+
lightShade = _ref54[0];
|
|
364
163
|
return (0, _manipulation.transparentize)(lightShade, 0.2);
|
|
365
164
|
}, ['colors.lightShade']),
|
|
366
|
-
textColorPrimary: (0, _euiThemeCommon.computed)(function (
|
|
367
|
-
var
|
|
368
|
-
primaryText =
|
|
165
|
+
textColorPrimary: (0, _euiThemeCommon.computed)(function (_ref55) {
|
|
166
|
+
var _ref56 = (0, _slicedToArray2.default)(_ref55, 1),
|
|
167
|
+
primaryText = _ref56[0];
|
|
369
168
|
return primaryText;
|
|
370
169
|
}, ['colors.primaryText']),
|
|
371
|
-
textColorAccent: (0, _euiThemeCommon.computed)(function (
|
|
372
|
-
var
|
|
373
|
-
accentText =
|
|
170
|
+
textColorAccent: (0, _euiThemeCommon.computed)(function (_ref57) {
|
|
171
|
+
var _ref58 = (0, _slicedToArray2.default)(_ref57, 1),
|
|
172
|
+
accentText = _ref58[0];
|
|
374
173
|
return accentText;
|
|
375
174
|
}, ['colors.accentText']),
|
|
376
|
-
textColorAccentSecondary: (0, _euiThemeCommon.computed)(function (
|
|
377
|
-
var
|
|
378
|
-
successText =
|
|
175
|
+
textColorAccentSecondary: (0, _euiThemeCommon.computed)(function (_ref59) {
|
|
176
|
+
var _ref60 = (0, _slicedToArray2.default)(_ref59, 1),
|
|
177
|
+
successText = _ref60[0];
|
|
379
178
|
return successText;
|
|
380
179
|
}, ['colors.successText']),
|
|
381
|
-
textColorNeutral: (0, _euiThemeCommon.computed)(function (
|
|
382
|
-
var
|
|
383
|
-
textNeutral =
|
|
180
|
+
textColorNeutral: (0, _euiThemeCommon.computed)(function (_ref61) {
|
|
181
|
+
var _ref62 = (0, _slicedToArray2.default)(_ref61, 1),
|
|
182
|
+
textNeutral = _ref62[0];
|
|
384
183
|
return textNeutral;
|
|
385
184
|
}, ['colors.textNeutral']),
|
|
386
|
-
textColorSuccess: (0, _euiThemeCommon.computed)(function (
|
|
387
|
-
var
|
|
388
|
-
successText =
|
|
185
|
+
textColorSuccess: (0, _euiThemeCommon.computed)(function (_ref63) {
|
|
186
|
+
var _ref64 = (0, _slicedToArray2.default)(_ref63, 1),
|
|
187
|
+
successText = _ref64[0];
|
|
389
188
|
return successText;
|
|
390
189
|
}, ['colors.successText']),
|
|
391
|
-
textColorWarning: (0, _euiThemeCommon.computed)(function (
|
|
392
|
-
var
|
|
393
|
-
warningText =
|
|
190
|
+
textColorWarning: (0, _euiThemeCommon.computed)(function (_ref65) {
|
|
191
|
+
var _ref66 = (0, _slicedToArray2.default)(_ref65, 1),
|
|
192
|
+
warningText = _ref66[0];
|
|
394
193
|
return warningText;
|
|
395
194
|
}, ['colors.warningText']),
|
|
396
|
-
textColorRisk: (0, _euiThemeCommon.computed)(function (
|
|
397
|
-
var
|
|
398
|
-
textRisk =
|
|
195
|
+
textColorRisk: (0, _euiThemeCommon.computed)(function (_ref67) {
|
|
196
|
+
var _ref68 = (0, _slicedToArray2.default)(_ref67, 1),
|
|
197
|
+
textRisk = _ref68[0];
|
|
399
198
|
return textRisk;
|
|
400
199
|
}, ['colors.textRisk']),
|
|
401
|
-
textColorDanger: (0, _euiThemeCommon.computed)(function (
|
|
402
|
-
var
|
|
403
|
-
dangerText =
|
|
200
|
+
textColorDanger: (0, _euiThemeCommon.computed)(function (_ref69) {
|
|
201
|
+
var _ref70 = (0, _slicedToArray2.default)(_ref69, 1),
|
|
202
|
+
dangerText = _ref70[0];
|
|
404
203
|
return dangerText;
|
|
405
204
|
}, ['colors.dangerText']),
|
|
406
|
-
textColorText: (0, _euiThemeCommon.computed)(function (
|
|
407
|
-
var
|
|
408
|
-
text =
|
|
205
|
+
textColorText: (0, _euiThemeCommon.computed)(function (_ref71) {
|
|
206
|
+
var _ref72 = (0, _slicedToArray2.default)(_ref71, 1),
|
|
207
|
+
text = _ref72[0];
|
|
409
208
|
return text;
|
|
410
209
|
}, ['colors.text']),
|
|
411
|
-
textColorDisabled: (0, _euiThemeCommon.computed)(function (
|
|
412
|
-
var
|
|
413
|
-
disabledText =
|
|
210
|
+
textColorDisabled: (0, _euiThemeCommon.computed)(function (_ref73) {
|
|
211
|
+
var _ref74 = (0, _slicedToArray2.default)(_ref73, 1),
|
|
212
|
+
disabledText = _ref74[0];
|
|
414
213
|
return disabledText;
|
|
415
214
|
}, ['colors.disabledText']),
|
|
416
|
-
textColorFilledPrimary: (0, _euiThemeCommon.computed)(function (
|
|
417
|
-
var
|
|
418
|
-
primary =
|
|
419
|
-
ghost =
|
|
420
|
-
ink =
|
|
215
|
+
textColorFilledPrimary: (0, _euiThemeCommon.computed)(function (_ref75) {
|
|
216
|
+
var _ref76 = (0, _slicedToArray2.default)(_ref75, 3),
|
|
217
|
+
primary = _ref76[0],
|
|
218
|
+
ghost = _ref76[1],
|
|
219
|
+
ink = _ref76[2];
|
|
421
220
|
return isDark(primary) ? ghost : ink;
|
|
422
221
|
}, ['colors.primary', 'colors.ghost', 'colors.ink']),
|
|
423
|
-
textColorFilledAccent: (0, _euiThemeCommon.computed)(function (
|
|
424
|
-
var
|
|
425
|
-
accent =
|
|
426
|
-
ghost =
|
|
427
|
-
ink =
|
|
222
|
+
textColorFilledAccent: (0, _euiThemeCommon.computed)(function (_ref77) {
|
|
223
|
+
var _ref78 = (0, _slicedToArray2.default)(_ref77, 3),
|
|
224
|
+
accent = _ref78[0],
|
|
225
|
+
ghost = _ref78[1],
|
|
226
|
+
ink = _ref78[2];
|
|
428
227
|
return isDark(accent) ? ghost : ink;
|
|
429
228
|
}, ['colors.accent', 'colors.ghost', 'colors.ink']),
|
|
430
|
-
textColorFilledAccentSecondary: (0, _euiThemeCommon.computed)(function (
|
|
431
|
-
var
|
|
432
|
-
success =
|
|
433
|
-
ghost =
|
|
434
|
-
ink =
|
|
229
|
+
textColorFilledAccentSecondary: (0, _euiThemeCommon.computed)(function (_ref79) {
|
|
230
|
+
var _ref80 = (0, _slicedToArray2.default)(_ref79, 3),
|
|
231
|
+
success = _ref80[0],
|
|
232
|
+
ghost = _ref80[1],
|
|
233
|
+
ink = _ref80[2];
|
|
435
234
|
var background = (0, _manipulation.tint)(success, 0.3);
|
|
436
235
|
return isDark(background) ? ghost : ink;
|
|
437
236
|
}, ['colors.success', 'colors.ghost', 'colors.ink']),
|
|
438
|
-
textColorFilledNeutral: (0, _euiThemeCommon.computed)(function (
|
|
439
|
-
var
|
|
440
|
-
ghost =
|
|
441
|
-
ink =
|
|
237
|
+
textColorFilledNeutral: (0, _euiThemeCommon.computed)(function (_ref81) {
|
|
238
|
+
var _ref82 = (0, _slicedToArray2.default)(_ref81, 2),
|
|
239
|
+
ghost = _ref82[0],
|
|
240
|
+
ink = _ref82[1];
|
|
442
241
|
var background = (0, _manipulation.tint)(_colors_severity.severityColors.neutral, 0.3);
|
|
443
242
|
return isDark(background) ? ghost : ink;
|
|
444
243
|
}, ['colors.ghost', 'colors.ink']),
|
|
445
|
-
textColorFilledSuccess: (0, _euiThemeCommon.computed)(function (
|
|
446
|
-
var
|
|
447
|
-
success =
|
|
448
|
-
ghost =
|
|
449
|
-
ink =
|
|
244
|
+
textColorFilledSuccess: (0, _euiThemeCommon.computed)(function (_ref83) {
|
|
245
|
+
var _ref84 = (0, _slicedToArray2.default)(_ref83, 3),
|
|
246
|
+
success = _ref84[0],
|
|
247
|
+
ghost = _ref84[1],
|
|
248
|
+
ink = _ref84[2];
|
|
450
249
|
var background = (0, _manipulation.tint)(success, 0.3);
|
|
451
250
|
return isDark(background) ? ghost : ink;
|
|
452
251
|
}, ['colors.success', 'colors.ghost', 'colors.ink']),
|
|
453
|
-
textColorFilledWarning: (0, _euiThemeCommon.computed)(function (
|
|
454
|
-
var
|
|
455
|
-
warning =
|
|
456
|
-
ghost =
|
|
457
|
-
ink =
|
|
252
|
+
textColorFilledWarning: (0, _euiThemeCommon.computed)(function (_ref85) {
|
|
253
|
+
var _ref86 = (0, _slicedToArray2.default)(_ref85, 3),
|
|
254
|
+
warning = _ref86[0],
|
|
255
|
+
ghost = _ref86[1],
|
|
256
|
+
ink = _ref86[2];
|
|
458
257
|
return isDark(warning) ? ghost : ink;
|
|
459
258
|
}, ['colors.warning', 'colors.ghost', 'colors.ink']),
|
|
460
|
-
textColorFilledRisk: (0, _euiThemeCommon.computed)(function (
|
|
461
|
-
var
|
|
462
|
-
ghost =
|
|
463
|
-
ink =
|
|
259
|
+
textColorFilledRisk: (0, _euiThemeCommon.computed)(function (_ref87) {
|
|
260
|
+
var _ref88 = (0, _slicedToArray2.default)(_ref87, 2),
|
|
261
|
+
ghost = _ref88[0],
|
|
262
|
+
ink = _ref88[1];
|
|
464
263
|
var background = (0, _manipulation.tint)(_colors_severity.severityColors.risk, 0.3);
|
|
465
264
|
return isDark(background) ? ghost : ink;
|
|
466
265
|
}, ['colors.ghost', 'colors.ink']),
|
|
467
|
-
textColorFilledDanger: (0, _euiThemeCommon.computed)(function (
|
|
468
|
-
var
|
|
469
|
-
danger =
|
|
470
|
-
ghost =
|
|
471
|
-
ink =
|
|
266
|
+
textColorFilledDanger: (0, _euiThemeCommon.computed)(function (_ref89) {
|
|
267
|
+
var _ref90 = (0, _slicedToArray2.default)(_ref89, 3),
|
|
268
|
+
danger = _ref90[0],
|
|
269
|
+
ghost = _ref90[1],
|
|
270
|
+
ink = _ref90[2];
|
|
472
271
|
return isDark(danger) ? ghost : ink;
|
|
473
272
|
}, ['colors.danger', 'colors.ghost', 'colors.ink']),
|
|
474
|
-
textColorFilledText: (0, _euiThemeCommon.computed)(function (
|
|
475
|
-
var
|
|
476
|
-
darkShade =
|
|
477
|
-
ghost =
|
|
478
|
-
ink =
|
|
273
|
+
textColorFilledText: (0, _euiThemeCommon.computed)(function (_ref91) {
|
|
274
|
+
var _ref92 = (0, _slicedToArray2.default)(_ref91, 3),
|
|
275
|
+
darkShade = _ref92[0],
|
|
276
|
+
ghost = _ref92[1],
|
|
277
|
+
ink = _ref92[2];
|
|
479
278
|
return isDark(darkShade) ? ghost : ink;
|
|
480
279
|
}, ['colors.darkShade', 'colors.ghost', 'colors.ink']),
|
|
481
|
-
textColorFilledDisabled: (0, _euiThemeCommon.computed)(function (
|
|
482
|
-
var
|
|
483
|
-
disabledText =
|
|
280
|
+
textColorFilledDisabled: (0, _euiThemeCommon.computed)(function (_ref93) {
|
|
281
|
+
var _ref94 = (0, _slicedToArray2.default)(_ref93, 1),
|
|
282
|
+
disabledText = _ref94[0];
|
|
484
283
|
return disabledText;
|
|
485
284
|
}, ['colors.disabledText'])
|
|
486
285
|
};
|
|
487
286
|
var _dark_buttons = _objectSpread(_objectSpread({}, _buttons), {}, {
|
|
488
|
-
backgroundFilledDisabled: (0, _euiThemeCommon.computed)(function (
|
|
489
|
-
var
|
|
490
|
-
lightShade =
|
|
287
|
+
backgroundFilledDisabled: (0, _euiThemeCommon.computed)(function (_ref95) {
|
|
288
|
+
var _ref96 = (0, _slicedToArray2.default)(_ref95, 1),
|
|
289
|
+
lightShade = _ref96[0];
|
|
491
290
|
return (0, _manipulation.transparentize)(lightShade, 0.15);
|
|
492
291
|
}, ['colors.lightShade']),
|
|
493
|
-
backgroundEmptyTextHover: (0, _euiThemeCommon.computed)(function (
|
|
494
|
-
var
|
|
495
|
-
lightShade =
|
|
292
|
+
backgroundEmptyTextHover: (0, _euiThemeCommon.computed)(function (_ref97) {
|
|
293
|
+
var _ref98 = (0, _slicedToArray2.default)(_ref97, 1),
|
|
294
|
+
lightShade = _ref98[0];
|
|
496
295
|
return (0, _manipulation.transparentize)(lightShade, 0.4);
|
|
497
296
|
}, ['colors.lightShade']),
|
|
498
|
-
textColorFilledAccent: (0, _euiThemeCommon.computed)(function (
|
|
499
|
-
var
|
|
500
|
-
accent =
|
|
501
|
-
ghost =
|
|
502
|
-
ink =
|
|
297
|
+
textColorFilledAccent: (0, _euiThemeCommon.computed)(function (_ref99) {
|
|
298
|
+
var _ref100 = (0, _slicedToArray2.default)(_ref99, 3),
|
|
299
|
+
accent = _ref100[0],
|
|
300
|
+
ghost = _ref100[1],
|
|
301
|
+
ink = _ref100[2];
|
|
503
302
|
return isDark(accent) ? ghost : ink;
|
|
504
303
|
}, ['colors.accent', 'colors.ghost', 'colors.ink']),
|
|
505
|
-
textColorFilledSuccess: (0, _euiThemeCommon.computed)(function (
|
|
506
|
-
var
|
|
507
|
-
success =
|
|
508
|
-
ghost =
|
|
509
|
-
ink =
|
|
304
|
+
textColorFilledSuccess: (0, _euiThemeCommon.computed)(function (_ref101) {
|
|
305
|
+
var _ref102 = (0, _slicedToArray2.default)(_ref101, 3),
|
|
306
|
+
success = _ref102[0],
|
|
307
|
+
ghost = _ref102[1],
|
|
308
|
+
ink = _ref102[2];
|
|
510
309
|
return isDark(success) ? ghost : ink;
|
|
511
310
|
}, ['colors.success', 'colors.ghost', 'colors.ink']),
|
|
512
|
-
textColorFilledText: (0, _euiThemeCommon.computed)(function (
|
|
513
|
-
var
|
|
514
|
-
text =
|
|
515
|
-
ghost =
|
|
516
|
-
ink =
|
|
311
|
+
textColorFilledText: (0, _euiThemeCommon.computed)(function (_ref103) {
|
|
312
|
+
var _ref104 = (0, _slicedToArray2.default)(_ref103, 3),
|
|
313
|
+
text = _ref104[0],
|
|
314
|
+
ghost = _ref104[1],
|
|
315
|
+
ink = _ref104[2];
|
|
517
316
|
return isDark(text) ? ghost : ink;
|
|
518
317
|
}, ['colors.text', 'colors.ghost', 'colors.ink'])
|
|
519
318
|
});
|