@elastic/eui 107.0.1 → 108.0.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/es/components/badge/beta_badge/beta_badge.styles.js +1 -3
- package/es/components/badge/notification_badge/badge_notification.styles.js +2 -4
- package/es/components/button/button_display/_button_display.styles.js +1 -4
- package/es/components/button/button_display/_button_display_content.styles.js +1 -4
- package/es/components/button/button_empty/button_empty.styles.js +4 -7
- package/es/components/button/button_group/button_group.styles.js +2 -12
- package/es/components/button/button_group/button_group_button.js +2 -4
- package/es/components/button/button_group/button_group_button.styles.js +22 -36
- package/es/components/button/button_icon/button_icon.js +3 -6
- package/es/components/collapsible_nav_beta/collapsible_nav_beta.styles.js +1 -1
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -4
- package/es/components/combo_box/combo_box_input/combo_box_input.js +62 -65
- package/es/components/combo_box/combo_box_input/combo_box_input.styles.js +2 -4
- package/es/components/datagrid/controls/column_selector.styles.js +1 -1
- package/es/components/datagrid/controls/column_sorting.styles.js +1 -1
- package/es/components/datagrid/controls/data_grid_toolbar_control.js +2 -15
- package/es/components/datagrid/data_grid.styles.js +0 -1
- package/es/components/date_picker/date_picker.styles.js +1 -4
- package/es/components/date_picker/date_picker_range.styles.js +4 -8
- package/es/components/date_picker/super_date_picker/super_date_picker.styles.js +12 -26
- package/es/components/filter_group/filter_button.js +7 -10
- package/es/components/filter_group/filter_button.styles.js +28 -39
- package/es/components/filter_group/filter_group.styles.js +8 -29
- package/es/components/form/field_number/field_number.styles.js +1 -4
- package/es/components/form/field_text/field_text.styles.js +1 -4
- package/es/components/form/file_picker/file_picker.js +102 -107
- package/es/components/form/file_picker/file_picker.styles.js +5 -7
- package/es/components/form/form.styles.js +17 -40
- package/es/components/form/form_control_layout/form_control_layout.styles.js +9 -22
- package/es/components/form/form_control_layout/form_control_layout_clear_button.styles.js +1 -3
- package/es/components/form/form_control_layout/form_control_layout_delimited.js +6 -8
- package/es/components/form/form_control_layout/form_control_layout_delimited.styles.js +12 -25
- package/es/components/form/form_control_layout/form_control_layout_icons.js +25 -47
- package/es/components/form/form_error_text/form_error_text.styles.js +1 -3
- package/es/components/form/form_label/form_label.js +1 -1
- package/es/components/form/form_label/form_label.styles.js +1 -5
- package/es/components/form/range/range_input.styles.js +1 -3
- package/es/components/header/header.styles.js +4 -19
- package/es/components/header/header_section/header_section_item_button.styles.js +4 -6
- package/es/components/key_pad_menu/key_pad_menu_item.styles.js +5 -9
- package/es/components/markdown_editor/markdown_editor_drop_zone.styles.js +3 -5
- package/es/components/modal/modal.js +23 -5
- package/es/components/panel/panel.styles.js +4 -12
- package/es/components/resizable_container/resizable_collapse_button.js +2 -3
- package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +4 -5
- package/es/components/toast/toast.styles.js +1 -3
- package/es/components/token/token.js +1 -3
- package/es/components/token/token.styles.js +2 -3
- package/es/components/token/token_map.js +1 -231
- package/es/global_styling/mixins/_button.js +14 -24
- package/es/index.js +0 -1
- package/es/services/color/eui_palettes.js +7 -21
- package/es/services/color/eui_palettes_hooks.js +6 -10
- package/es/services/color/vis_color_store.js +2 -2
- package/es/services/theme/provider.js +4 -9
- package/eui.d.ts +19 -2102
- package/lib/components/badge/beta_badge/beta_badge.styles.js +1 -3
- package/lib/components/badge/notification_badge/badge_notification.styles.js +2 -4
- package/lib/components/button/button_display/_button_display.styles.js +1 -4
- package/lib/components/button/button_display/_button_display_content.styles.js +1 -4
- package/lib/components/button/button_empty/button_empty.styles.js +4 -7
- package/lib/components/button/button_group/button_group.styles.js +2 -12
- package/lib/components/button/button_group/button_group_button.js +1 -3
- package/lib/components/button/button_group/button_group_button.styles.js +21 -35
- package/lib/components/button/button_icon/button_icon.js +1 -4
- package/lib/components/collapsible_nav_beta/collapsible_nav_beta.styles.js +2 -2
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -4
- package/lib/components/combo_box/combo_box_input/combo_box_input.js +61 -64
- package/lib/components/combo_box/combo_box_input/combo_box_input.styles.js +2 -4
- package/lib/components/datagrid/controls/column_selector.styles.js +2 -2
- package/lib/components/datagrid/controls/column_sorting.styles.js +2 -2
- package/lib/components/datagrid/controls/data_grid_toolbar_control.js +1 -14
- package/lib/components/datagrid/data_grid.styles.js +0 -1
- package/lib/components/date_picker/date_picker.styles.js +1 -4
- package/lib/components/date_picker/date_picker_range.styles.js +4 -8
- package/lib/components/date_picker/super_date_picker/super_date_picker.styles.js +10 -24
- package/lib/components/filter_group/filter_button.js +6 -9
- package/lib/components/filter_group/filter_button.styles.js +27 -38
- package/lib/components/filter_group/filter_group.styles.js +8 -29
- package/lib/components/form/field_number/field_number.styles.js +1 -4
- package/lib/components/form/field_text/field_text.styles.js +1 -4
- package/lib/components/form/file_picker/file_picker.js +101 -106
- package/lib/components/form/file_picker/file_picker.styles.js +5 -7
- package/lib/components/form/form.styles.js +16 -39
- package/lib/components/form/form_control_layout/form_control_layout.styles.js +8 -21
- package/lib/components/form/form_control_layout/form_control_layout_clear_button.styles.js +1 -3
- package/lib/components/form/form_control_layout/form_control_layout_delimited.js +5 -7
- package/lib/components/form/form_control_layout/form_control_layout_delimited.styles.js +12 -25
- package/lib/components/form/form_control_layout/form_control_layout_icons.js +24 -46
- package/lib/components/form/form_error_text/form_error_text.styles.js +1 -3
- package/lib/components/form/form_label/form_label.js +1 -1
- package/lib/components/form/form_label/form_label.styles.js +1 -5
- package/lib/components/form/range/range_input.styles.js +1 -3
- package/lib/components/header/header.styles.js +2 -18
- package/lib/components/header/header_section/header_section_item_button.styles.js +4 -6
- package/lib/components/key_pad_menu/key_pad_menu_item.styles.js +5 -9
- package/lib/components/markdown_editor/markdown_editor_drop_zone.styles.js +3 -5
- package/lib/components/modal/modal.js +25 -5
- package/lib/components/panel/panel.styles.js +4 -12
- package/lib/components/resizable_container/resizable_collapse_button.js +1 -2
- package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -4
- package/lib/components/toast/toast.styles.js +1 -3
- package/lib/components/token/token.js +1 -3
- package/lib/components/token/token.styles.js +1 -2
- package/lib/components/token/token_map.js +2 -232
- package/lib/global_styling/mixins/_button.js +11 -21
- package/lib/index.js +0 -11
- package/lib/services/color/eui_palettes.js +7 -21
- package/lib/services/color/eui_palettes_hooks.js +6 -10
- package/lib/services/color/vis_color_store.js +2 -2
- package/lib/services/theme/provider.js +4 -9
- package/optimize/es/components/badge/beta_badge/beta_badge.styles.js +1 -3
- package/optimize/es/components/badge/notification_badge/badge_notification.styles.js +2 -4
- package/optimize/es/components/button/button_display/_button_display.styles.js +1 -4
- package/optimize/es/components/button/button_display/_button_display_content.styles.js +1 -4
- package/optimize/es/components/button/button_empty/button_empty.styles.js +4 -7
- package/optimize/es/components/button/button_group/button_group.styles.js +2 -12
- package/optimize/es/components/button/button_group/button_group_button.js +2 -4
- package/optimize/es/components/button/button_group/button_group_button.styles.js +22 -36
- package/optimize/es/components/button/button_icon/button_icon.js +3 -6
- package/optimize/es/components/collapsible_nav_beta/collapsible_nav_beta.styles.js +1 -1
- package/optimize/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -4
- package/optimize/es/components/combo_box/combo_box_input/combo_box_input.js +62 -65
- package/optimize/es/components/combo_box/combo_box_input/combo_box_input.styles.js +2 -4
- package/optimize/es/components/datagrid/controls/column_selector.styles.js +1 -1
- package/optimize/es/components/datagrid/controls/column_sorting.styles.js +1 -1
- package/optimize/es/components/datagrid/controls/data_grid_toolbar_control.js +2 -15
- package/optimize/es/components/datagrid/data_grid.styles.js +0 -1
- package/optimize/es/components/date_picker/date_picker.styles.js +1 -4
- package/optimize/es/components/date_picker/date_picker_range.styles.js +4 -8
- package/optimize/es/components/date_picker/super_date_picker/super_date_picker.styles.js +12 -26
- package/optimize/es/components/filter_group/filter_button.js +7 -10
- package/optimize/es/components/filter_group/filter_button.styles.js +28 -39
- package/optimize/es/components/filter_group/filter_group.styles.js +8 -29
- package/optimize/es/components/form/field_number/field_number.styles.js +1 -4
- package/optimize/es/components/form/field_text/field_text.styles.js +1 -4
- package/optimize/es/components/form/file_picker/file_picker.js +102 -107
- package/optimize/es/components/form/file_picker/file_picker.styles.js +5 -7
- package/optimize/es/components/form/form.styles.js +17 -40
- package/optimize/es/components/form/form_control_layout/form_control_layout.styles.js +9 -22
- package/optimize/es/components/form/form_control_layout/form_control_layout_clear_button.styles.js +1 -3
- package/optimize/es/components/form/form_control_layout/form_control_layout_delimited.js +6 -8
- package/optimize/es/components/form/form_control_layout/form_control_layout_delimited.styles.js +12 -25
- package/optimize/es/components/form/form_control_layout/form_control_layout_icons.js +25 -47
- package/optimize/es/components/form/form_error_text/form_error_text.styles.js +1 -3
- package/optimize/es/components/form/form_label/form_label.js +1 -1
- package/optimize/es/components/form/form_label/form_label.styles.js +1 -5
- package/optimize/es/components/form/range/range_input.styles.js +1 -3
- package/optimize/es/components/header/header.styles.js +4 -19
- package/optimize/es/components/header/header_section/header_section_item_button.styles.js +4 -6
- package/optimize/es/components/key_pad_menu/key_pad_menu_item.styles.js +5 -9
- package/optimize/es/components/markdown_editor/markdown_editor_drop_zone.styles.js +3 -5
- package/optimize/es/components/modal/modal.js +17 -4
- package/optimize/es/components/panel/panel.styles.js +4 -12
- package/optimize/es/components/resizable_container/resizable_collapse_button.js +2 -3
- package/optimize/es/components/selectable/selectable_templates/selectable_template_sitewide.js +4 -5
- package/optimize/es/components/toast/toast.styles.js +1 -3
- package/optimize/es/components/token/token.js +1 -3
- package/optimize/es/components/token/token.styles.js +2 -3
- package/optimize/es/components/token/token_map.js +1 -231
- package/optimize/es/global_styling/mixins/_button.js +14 -24
- package/optimize/es/index.js +0 -1
- package/optimize/es/services/color/eui_palettes.js +7 -21
- package/optimize/es/services/color/eui_palettes_hooks.js +6 -10
- package/optimize/es/services/color/vis_color_store.js +2 -2
- package/optimize/es/services/theme/provider.js +4 -9
- package/optimize/lib/components/badge/beta_badge/beta_badge.styles.js +1 -3
- package/optimize/lib/components/badge/notification_badge/badge_notification.styles.js +2 -4
- package/optimize/lib/components/button/button_display/_button_display.styles.js +1 -4
- package/optimize/lib/components/button/button_display/_button_display_content.styles.js +1 -4
- package/optimize/lib/components/button/button_empty/button_empty.styles.js +4 -7
- package/optimize/lib/components/button/button_group/button_group.styles.js +2 -12
- package/optimize/lib/components/button/button_group/button_group_button.js +1 -3
- package/optimize/lib/components/button/button_group/button_group_button.styles.js +21 -35
- package/optimize/lib/components/button/button_icon/button_icon.js +1 -4
- package/optimize/lib/components/collapsible_nav_beta/collapsible_nav_beta.styles.js +2 -2
- package/optimize/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -4
- package/optimize/lib/components/combo_box/combo_box_input/combo_box_input.js +61 -64
- package/optimize/lib/components/combo_box/combo_box_input/combo_box_input.styles.js +2 -4
- package/optimize/lib/components/datagrid/controls/column_selector.styles.js +2 -2
- package/optimize/lib/components/datagrid/controls/column_sorting.styles.js +2 -2
- package/optimize/lib/components/datagrid/controls/data_grid_toolbar_control.js +1 -14
- package/optimize/lib/components/datagrid/data_grid.styles.js +0 -1
- package/optimize/lib/components/date_picker/date_picker.styles.js +1 -4
- package/optimize/lib/components/date_picker/date_picker_range.styles.js +4 -8
- package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.styles.js +10 -24
- package/optimize/lib/components/filter_group/filter_button.js +6 -9
- package/optimize/lib/components/filter_group/filter_button.styles.js +27 -38
- package/optimize/lib/components/filter_group/filter_group.styles.js +8 -29
- package/optimize/lib/components/form/field_number/field_number.styles.js +1 -4
- package/optimize/lib/components/form/field_text/field_text.styles.js +1 -4
- package/optimize/lib/components/form/file_picker/file_picker.js +101 -106
- package/optimize/lib/components/form/file_picker/file_picker.styles.js +5 -7
- package/optimize/lib/components/form/form.styles.js +16 -39
- package/optimize/lib/components/form/form_control_layout/form_control_layout.styles.js +8 -21
- package/optimize/lib/components/form/form_control_layout/form_control_layout_clear_button.styles.js +1 -3
- package/optimize/lib/components/form/form_control_layout/form_control_layout_delimited.js +5 -7
- package/optimize/lib/components/form/form_control_layout/form_control_layout_delimited.styles.js +12 -25
- package/optimize/lib/components/form/form_control_layout/form_control_layout_icons.js +24 -46
- package/optimize/lib/components/form/form_error_text/form_error_text.styles.js +1 -3
- package/optimize/lib/components/form/form_label/form_label.js +1 -1
- package/optimize/lib/components/form/form_label/form_label.styles.js +1 -5
- package/optimize/lib/components/form/range/range_input.styles.js +1 -3
- package/optimize/lib/components/header/header.styles.js +2 -18
- package/optimize/lib/components/header/header_section/header_section_item_button.styles.js +4 -6
- package/optimize/lib/components/key_pad_menu/key_pad_menu_item.styles.js +5 -9
- package/optimize/lib/components/markdown_editor/markdown_editor_drop_zone.styles.js +3 -5
- package/optimize/lib/components/modal/modal.js +20 -4
- package/optimize/lib/components/panel/panel.styles.js +4 -12
- package/optimize/lib/components/resizable_container/resizable_collapse_button.js +1 -2
- package/optimize/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -4
- package/optimize/lib/components/toast/toast.styles.js +1 -3
- package/optimize/lib/components/token/token.js +1 -3
- package/optimize/lib/components/token/token.styles.js +1 -2
- package/optimize/lib/components/token/token_map.js +2 -232
- package/optimize/lib/global_styling/mixins/_button.js +11 -21
- package/optimize/lib/index.js +0 -11
- package/optimize/lib/services/color/eui_palettes.js +7 -21
- package/optimize/lib/services/color/eui_palettes_hooks.js +6 -10
- package/optimize/lib/services/color/vis_color_store.js +2 -2
- package/optimize/lib/services/theme/provider.js +4 -9
- package/package.json +5 -6
- package/test-env/components/badge/beta_badge/beta_badge.styles.js +1 -3
- package/test-env/components/badge/notification_badge/badge_notification.styles.js +2 -4
- package/test-env/components/button/button_display/_button_display.styles.js +1 -4
- package/test-env/components/button/button_display/_button_display_content.styles.js +1 -4
- package/test-env/components/button/button_empty/button_empty.styles.js +4 -7
- package/test-env/components/button/button_group/button_group.styles.js +2 -12
- package/test-env/components/button/button_group/button_group_button.js +1 -3
- package/test-env/components/button/button_group/button_group_button.styles.js +21 -35
- package/test-env/components/button/button_icon/button_icon.js +1 -4
- package/test-env/components/collapsible_nav_beta/collapsible_nav_beta.styles.js +2 -2
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -4
- package/test-env/components/combo_box/combo_box_input/combo_box_input.js +61 -64
- package/test-env/components/combo_box/combo_box_input/combo_box_input.styles.js +2 -4
- package/test-env/components/datagrid/controls/column_selector.styles.js +2 -2
- package/test-env/components/datagrid/controls/column_sorting.styles.js +2 -2
- package/test-env/components/datagrid/controls/data_grid_toolbar_control.js +1 -14
- package/test-env/components/datagrid/data_grid.styles.js +0 -1
- package/test-env/components/date_picker/date_picker.styles.js +1 -4
- package/test-env/components/date_picker/date_picker_range.styles.js +4 -8
- package/test-env/components/date_picker/super_date_picker/super_date_picker.styles.js +10 -24
- package/test-env/components/filter_group/filter_button.js +6 -9
- package/test-env/components/filter_group/filter_button.styles.js +27 -38
- package/test-env/components/filter_group/filter_group.styles.js +8 -29
- package/test-env/components/form/field_number/field_number.styles.js +1 -4
- package/test-env/components/form/field_text/field_text.styles.js +1 -4
- package/test-env/components/form/file_picker/file_picker.js +101 -106
- package/test-env/components/form/file_picker/file_picker.styles.js +5 -7
- package/test-env/components/form/form.styles.js +16 -39
- package/test-env/components/form/form_control_layout/form_control_layout.styles.js +8 -21
- package/test-env/components/form/form_control_layout/form_control_layout_clear_button.styles.js +1 -3
- package/test-env/components/form/form_control_layout/form_control_layout_delimited.js +5 -7
- package/test-env/components/form/form_control_layout/form_control_layout_delimited.styles.js +12 -25
- package/test-env/components/form/form_control_layout/form_control_layout_icons.js +24 -46
- package/test-env/components/form/form_error_text/form_error_text.styles.js +1 -3
- package/test-env/components/form/form_label/form_label.js +1 -1
- package/test-env/components/form/form_label/form_label.styles.js +1 -5
- package/test-env/components/form/range/range_input.styles.js +1 -3
- package/test-env/components/header/header.styles.js +2 -18
- package/test-env/components/header/header_section/header_section_item_button.styles.js +4 -6
- package/test-env/components/key_pad_menu/key_pad_menu_item.styles.js +5 -9
- package/test-env/components/markdown_editor/markdown_editor_drop_zone.styles.js +3 -5
- package/test-env/components/modal/modal.js +26 -5
- package/test-env/components/panel/panel.styles.js +4 -12
- package/test-env/components/resizable_container/resizable_collapse_button.js +1 -2
- package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -4
- package/test-env/components/toast/toast.styles.js +1 -3
- package/test-env/components/token/token.js +1 -3
- package/test-env/components/token/token.styles.js +1 -2
- package/test-env/components/token/token_map.js +2 -232
- package/test-env/global_styling/mixins/_button.js +11 -21
- package/test-env/index.js +0 -11
- package/test-env/services/breakpoint/current_breakpoint_hook.js +1 -1
- package/test-env/services/color/eui_palettes.js +7 -21
- package/test-env/services/color/eui_palettes_hooks.js +6 -10
- package/test-env/services/color/vis_color_store.js +2 -2
- package/test-env/services/theme/provider.js +4 -9
- package/dist/eui_theme_amsterdam_dark.json +0 -463
- package/dist/eui_theme_amsterdam_dark.json.d.ts +0 -466
- package/dist/eui_theme_amsterdam_light.json +0 -463
- package/dist/eui_theme_amsterdam_light.json.d.ts +0 -466
- package/dist/eui_theme_borealis_dark.json +0 -463
- package/dist/eui_theme_borealis_dark.json.d.ts +0 -466
- package/dist/eui_theme_borealis_light.json +0 -463
- package/dist/eui_theme_borealis_light.json.d.ts +0 -466
- package/es/themes/amsterdam/global_styling/functions/index.js +0 -9
- package/es/themes/amsterdam/global_styling/functions/shadows.js +0 -9
- package/es/themes/amsterdam/global_styling/mixins/button.js +0 -9
- package/es/themes/amsterdam/global_styling/mixins/index.js +0 -10
- package/es/themes/amsterdam/global_styling/mixins/shadow.js +0 -9
- package/es/themes/amsterdam/global_styling/variables/_animation.js +0 -26
- package/es/themes/amsterdam/global_styling/variables/_borders.js +0 -49
- package/es/themes/amsterdam/global_styling/variables/_breakpoint.js +0 -9
- package/es/themes/amsterdam/global_styling/variables/_buttons.js +0 -529
- package/es/themes/amsterdam/global_styling/variables/_colors.js +0 -797
- package/es/themes/amsterdam/global_styling/variables/_colors_severity.js +0 -21
- package/es/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +0 -33
- package/es/themes/amsterdam/global_styling/variables/_colors_vis_light.js +0 -125
- package/es/themes/amsterdam/global_styling/variables/_components.js +0 -724
- package/es/themes/amsterdam/global_styling/variables/_forms.js +0 -204
- package/es/themes/amsterdam/global_styling/variables/_levels.js +0 -19
- package/es/themes/amsterdam/global_styling/variables/_shadows.js +0 -439
- package/es/themes/amsterdam/global_styling/variables/_size.js +0 -23
- package/es/themes/amsterdam/global_styling/variables/_states.js +0 -26
- package/es/themes/amsterdam/global_styling/variables/_typography.js +0 -66
- package/es/themes/amsterdam/index.js +0 -10
- package/es/themes/amsterdam/theme.js +0 -41
- package/es/themes/index.js +0 -12
- package/es/themes/json/eui_theme_amsterdam_dark.json +0 -463
- package/es/themes/json/eui_theme_amsterdam_light.json +0 -463
- package/es/themes/json/eui_theme_borealis_dark.json +0 -463
- package/es/themes/json/eui_theme_borealis_light.json +0 -463
- package/es/themes/themes.js +0 -1
- package/lib/themes/amsterdam/global_styling/functions/index.js +0 -16
- package/lib/themes/amsterdam/global_styling/functions/shadows.js +0 -12
- package/lib/themes/amsterdam/global_styling/mixins/button.js +0 -54
- package/lib/themes/amsterdam/global_styling/mixins/index.js +0 -27
- package/lib/themes/amsterdam/global_styling/mixins/shadow.js +0 -16
- package/lib/themes/amsterdam/global_styling/variables/_animation.js +0 -32
- package/lib/themes/amsterdam/global_styling/variables/_borders.js +0 -53
- package/lib/themes/amsterdam/global_styling/variables/_breakpoint.js +0 -12
- package/lib/themes/amsterdam/global_styling/variables/_buttons.js +0 -533
- package/lib/themes/amsterdam/global_styling/variables/_colors.js +0 -800
- package/lib/themes/amsterdam/global_styling/variables/_colors_severity.js +0 -27
- package/lib/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +0 -37
- package/lib/themes/amsterdam/global_styling/variables/_colors_vis_light.js +0 -130
- package/lib/themes/amsterdam/global_styling/variables/_components.js +0 -728
- package/lib/themes/amsterdam/global_styling/variables/_forms.js +0 -208
- package/lib/themes/amsterdam/global_styling/variables/_levels.js +0 -25
- package/lib/themes/amsterdam/global_styling/variables/_shadows.js +0 -442
- package/lib/themes/amsterdam/global_styling/variables/_size.js +0 -29
- package/lib/themes/amsterdam/global_styling/variables/_states.js +0 -32
- package/lib/themes/amsterdam/global_styling/variables/_typography.js +0 -70
- package/lib/themes/amsterdam/index.js +0 -16
- package/lib/themes/amsterdam/theme.js +0 -47
- package/lib/themes/index.js +0 -57
- package/lib/themes/json/eui_theme_amsterdam_dark.json +0 -463
- package/lib/themes/json/eui_theme_amsterdam_light.json +0 -463
- package/lib/themes/json/eui_theme_borealis_dark.json +0 -463
- package/lib/themes/json/eui_theme_borealis_light.json +0 -463
- package/lib/themes/themes.js +0 -5
- package/optimize/es/themes/amsterdam/global_styling/functions/index.js +0 -9
- package/optimize/es/themes/amsterdam/global_styling/functions/shadows.js +0 -9
- package/optimize/es/themes/amsterdam/global_styling/mixins/button.js +0 -9
- package/optimize/es/themes/amsterdam/global_styling/mixins/index.js +0 -10
- package/optimize/es/themes/amsterdam/global_styling/mixins/shadow.js +0 -9
- package/optimize/es/themes/amsterdam/global_styling/variables/_animation.js +0 -23
- package/optimize/es/themes/amsterdam/global_styling/variables/_borders.js +0 -44
- package/optimize/es/themes/amsterdam/global_styling/variables/_breakpoint.js +0 -9
- package/optimize/es/themes/amsterdam/global_styling/variables/_buttons.js +0 -518
- package/optimize/es/themes/amsterdam/global_styling/variables/_colors.js +0 -789
- package/optimize/es/themes/amsterdam/global_styling/variables/_colors_severity.js +0 -21
- package/optimize/es/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +0 -30
- package/optimize/es/themes/amsterdam/global_styling/variables/_colors_vis_light.js +0 -125
- package/optimize/es/themes/amsterdam/global_styling/variables/_components.js +0 -716
- package/optimize/es/themes/amsterdam/global_styling/variables/_forms.js +0 -196
- package/optimize/es/themes/amsterdam/global_styling/variables/_levels.js +0 -19
- package/optimize/es/themes/amsterdam/global_styling/variables/_shadows.js +0 -436
- package/optimize/es/themes/amsterdam/global_styling/variables/_size.js +0 -23
- package/optimize/es/themes/amsterdam/global_styling/variables/_states.js +0 -26
- package/optimize/es/themes/amsterdam/global_styling/variables/_typography.js +0 -58
- package/optimize/es/themes/amsterdam/index.js +0 -10
- package/optimize/es/themes/amsterdam/theme.js +0 -41
- package/optimize/es/themes/index.js +0 -12
- package/optimize/es/themes/json/eui_theme_amsterdam_dark.json +0 -463
- package/optimize/es/themes/json/eui_theme_amsterdam_light.json +0 -463
- package/optimize/es/themes/json/eui_theme_borealis_dark.json +0 -463
- package/optimize/es/themes/json/eui_theme_borealis_light.json +0 -463
- package/optimize/es/themes/themes.js +0 -1
- package/optimize/lib/themes/amsterdam/global_styling/functions/index.js +0 -16
- package/optimize/lib/themes/amsterdam/global_styling/functions/shadows.js +0 -12
- package/optimize/lib/themes/amsterdam/global_styling/mixins/button.js +0 -54
- package/optimize/lib/themes/amsterdam/global_styling/mixins/index.js +0 -27
- package/optimize/lib/themes/amsterdam/global_styling/mixins/shadow.js +0 -16
- package/optimize/lib/themes/amsterdam/global_styling/variables/_animation.js +0 -30
- package/optimize/lib/themes/amsterdam/global_styling/variables/_borders.js +0 -51
- package/optimize/lib/themes/amsterdam/global_styling/variables/_breakpoint.js +0 -12
- package/optimize/lib/themes/amsterdam/global_styling/variables/_buttons.js +0 -523
- package/optimize/lib/themes/amsterdam/global_styling/variables/_colors.js +0 -793
- package/optimize/lib/themes/amsterdam/global_styling/variables/_colors_severity.js +0 -27
- package/optimize/lib/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +0 -35
- package/optimize/lib/themes/amsterdam/global_styling/variables/_colors_vis_light.js +0 -130
- package/optimize/lib/themes/amsterdam/global_styling/variables/_components.js +0 -721
- package/optimize/lib/themes/amsterdam/global_styling/variables/_forms.js +0 -201
- package/optimize/lib/themes/amsterdam/global_styling/variables/_levels.js +0 -25
- package/optimize/lib/themes/amsterdam/global_styling/variables/_shadows.js +0 -440
- package/optimize/lib/themes/amsterdam/global_styling/variables/_size.js +0 -29
- package/optimize/lib/themes/amsterdam/global_styling/variables/_states.js +0 -32
- package/optimize/lib/themes/amsterdam/global_styling/variables/_typography.js +0 -63
- package/optimize/lib/themes/amsterdam/index.js +0 -16
- package/optimize/lib/themes/amsterdam/theme.js +0 -47
- package/optimize/lib/themes/index.js +0 -57
- package/optimize/lib/themes/json/eui_theme_amsterdam_dark.json +0 -463
- package/optimize/lib/themes/json/eui_theme_amsterdam_light.json +0 -463
- package/optimize/lib/themes/json/eui_theme_borealis_dark.json +0 -463
- package/optimize/lib/themes/json/eui_theme_borealis_light.json +0 -463
- package/optimize/lib/themes/themes.js +0 -5
- package/package/eui.d.ts +0 -33359
- package/src/global_styling/functions/_colors.scss +0 -138
- package/src/global_styling/functions/_index.scss +0 -1
- package/src/global_styling/functions/_math.scss +0 -1
- package/src/global_styling/functions/_math_pow.scss +0 -82
- package/src/global_styling/index.scss +0 -3
- package/src/global_styling/mixins/_helpers.scss +0 -117
- package/src/global_styling/mixins/_index.scss +0 -8
- package/src/global_styling/mixins/_responsive.scss +0 -44
- package/src/global_styling/mixins/_shadow.scss +0 -100
- package/src/global_styling/mixins/_size.scss +0 -4
- package/src/global_styling/mixins/_states.scss +0 -17
- package/src/global_styling/mixins/_tool_tip.scss +0 -18
- package/src/global_styling/mixins/_typography.scss +0 -166
- package/src/global_styling/variables/_animations.scss +0 -6
- package/src/global_styling/variables/_borders.scss +0 -3
- package/src/global_styling/variables/_buttons.scss +0 -1
- package/src/global_styling/variables/_font_weight.scss +0 -4
- package/src/global_styling/variables/_form.scss +0 -2
- package/src/global_styling/variables/_index.scss +0 -22
- package/src/global_styling/variables/_responsive.scss +0 -1
- package/src/global_styling/variables/_shadows.scss +0 -2
- package/src/global_styling/variables/_size.scss +0 -1
- package/src/global_styling/variables/_states.scss +0 -1
- package/src/global_styling/variables/_typography.scss +0 -1
- package/src/global_styling/variables/_z_index.scss +0 -2
- package/src/themes/amsterdam/_colors_dark.scss +0 -139
- package/src/themes/amsterdam/_colors_light.scss +0 -139
- package/src/themes/amsterdam/_globals.scss +0 -11
- package/src/themes/amsterdam/global_styling/index.scss +0 -12
- package/src/themes/amsterdam/global_styling/mixins/_index.scss +0 -10
- package/src/themes/amsterdam/global_styling/mixins/_shadow.scss +0 -100
- package/src/themes/amsterdam/global_styling/mixins/_states.scss +0 -41
- package/src/themes/amsterdam/global_styling/mixins/_typography.scss +0 -81
- package/src/themes/amsterdam/global_styling/variables/_colors_severity.scss +0 -9
- package/src/themes/amsterdam/global_styling/variables/_colors_vis.scss +0 -72
- package/src/themes/amsterdam/global_styling/variables/_colors_vis_dark.scss +0 -14
- package/src/themes/amsterdam/global_styling/variables/_colors_vis_light.scss +0 -14
- package/src/themes/amsterdam/global_styling/variables/_forms.scss +0 -12
- package/src/themes/amsterdam/global_styling/variables/_index.scss +0 -8
- package/src/themes/amsterdam/global_styling/variables/_shadows.scss +0 -20
- package/src/themes/amsterdam/global_styling/variables/_states.scss +0 -11
- package/src/themes/amsterdam/global_styling/variables/_typography.scss +0 -64
- package/src/themes/amsterdam/theme_dark.scss +0 -5
- package/src/themes/amsterdam/theme_light.scss +0 -5
- package/test-env/themes/amsterdam/global_styling/functions/index.js +0 -16
- package/test-env/themes/amsterdam/global_styling/functions/shadows.js +0 -12
- package/test-env/themes/amsterdam/global_styling/mixins/button.js +0 -54
- package/test-env/themes/amsterdam/global_styling/mixins/index.js +0 -27
- package/test-env/themes/amsterdam/global_styling/mixins/shadow.js +0 -16
- package/test-env/themes/amsterdam/global_styling/variables/_animation.js +0 -30
- package/test-env/themes/amsterdam/global_styling/variables/_borders.js +0 -51
- package/test-env/themes/amsterdam/global_styling/variables/_breakpoint.js +0 -12
- package/test-env/themes/amsterdam/global_styling/variables/_buttons.js +0 -523
- package/test-env/themes/amsterdam/global_styling/variables/_colors.js +0 -793
- package/test-env/themes/amsterdam/global_styling/variables/_colors_severity.js +0 -27
- package/test-env/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +0 -35
- package/test-env/themes/amsterdam/global_styling/variables/_colors_vis_light.js +0 -130
- package/test-env/themes/amsterdam/global_styling/variables/_components.js +0 -721
- package/test-env/themes/amsterdam/global_styling/variables/_forms.js +0 -201
- package/test-env/themes/amsterdam/global_styling/variables/_levels.js +0 -25
- package/test-env/themes/amsterdam/global_styling/variables/_shadows.js +0 -440
- package/test-env/themes/amsterdam/global_styling/variables/_size.js +0 -29
- package/test-env/themes/amsterdam/global_styling/variables/_states.js +0 -32
- package/test-env/themes/amsterdam/global_styling/variables/_typography.js +0 -63
- package/test-env/themes/amsterdam/index.js +0 -16
- package/test-env/themes/amsterdam/theme.js +0 -47
- package/test-env/themes/index.js +0 -57
- package/test-env/themes/json/eui_theme_amsterdam_dark.json +0 -463
- package/test-env/themes/json/eui_theme_amsterdam_light.json +0 -463
- package/test-env/themes/json/eui_theme_borealis_dark.json +0 -463
- package/test-env/themes/json/eui_theme_borealis_light.json +0 -463
- package/test-env/themes/themes.js +0 -5
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
-
/*
|
|
6
|
-
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
7
|
-
* or more contributor license agreements. Licensed under the Elastic License
|
|
8
|
-
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
9
|
-
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
10
|
-
* Side Public License, v 1.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import { mathWithUnits } from '@elastic/eui-theme-common';
|
|
14
|
-
import { computed } from '../../../../services/theme/utils';
|
|
15
|
-
import { darken, shade, tint, transparentize } from '../../../../services/color/manipulation';
|
|
16
|
-
var _forms = {
|
|
17
|
-
background: computed(function (_ref) {
|
|
18
|
-
var _ref2 = _slicedToArray(_ref, 1),
|
|
19
|
-
lightestShade = _ref2[0];
|
|
20
|
-
return tint(lightestShade, 0.6);
|
|
21
|
-
}, ['colors.lightestShade']),
|
|
22
|
-
backgroundDisabled: computed(function (_ref3) {
|
|
23
|
-
var _ref4 = _slicedToArray(_ref3, 1),
|
|
24
|
-
lightestShade = _ref4[0];
|
|
25
|
-
return darken(lightestShade, 0.05);
|
|
26
|
-
}, ['colors.lightestShade']),
|
|
27
|
-
backgroundReadOnly: computed(function (_ref5) {
|
|
28
|
-
var _ref6 = _slicedToArray(_ref5, 1),
|
|
29
|
-
emptyShade = _ref6[0];
|
|
30
|
-
return emptyShade;
|
|
31
|
-
}, ['colors.emptyShade']),
|
|
32
|
-
backgroundFocused: computed(function (_ref7) {
|
|
33
|
-
var _ref8 = _slicedToArray(_ref7, 1),
|
|
34
|
-
emptyShade = _ref8[0];
|
|
35
|
-
return emptyShade;
|
|
36
|
-
}, ['colors.emptyShade']),
|
|
37
|
-
backgroundAutofilled: computed(function (_ref9) {
|
|
38
|
-
var _ref10 = _slicedToArray(_ref9, 1),
|
|
39
|
-
primary = _ref10[0];
|
|
40
|
-
var background = tint(primary, 0.8);
|
|
41
|
-
return tint(background, 0.7);
|
|
42
|
-
}, ['colors.primary']),
|
|
43
|
-
backgroundDropping: 'transparent',
|
|
44
|
-
prependBackground: computed(function (_ref11) {
|
|
45
|
-
var _ref12 = _slicedToArray(_ref11, 1),
|
|
46
|
-
lightShade = _ref12[0];
|
|
47
|
-
return tint(lightShade, 0.5);
|
|
48
|
-
}, ['colors.lightShade']),
|
|
49
|
-
border: computed(function (_ref13) {
|
|
50
|
-
var _ref14 = _slicedToArray(_ref13, 1),
|
|
51
|
-
lightShade = _ref14[0];
|
|
52
|
-
var color = darken(lightShade, 4);
|
|
53
|
-
return transparentize(color, 0.1);
|
|
54
|
-
}, ['colors.lightShade']),
|
|
55
|
-
borderDisabled: computed(function (_ref15) {
|
|
56
|
-
var _ref16 = _slicedToArray(_ref15, 1),
|
|
57
|
-
lightShade = _ref16[0];
|
|
58
|
-
var color = darken(lightShade, 4);
|
|
59
|
-
return transparentize(color, 0.1);
|
|
60
|
-
}, ['colors.lightShade']),
|
|
61
|
-
borderFocused: computed(function (_ref17) {
|
|
62
|
-
var _ref18 = _slicedToArray(_ref17, 1),
|
|
63
|
-
primary = _ref18[0];
|
|
64
|
-
return primary;
|
|
65
|
-
}, ['colors.primary']),
|
|
66
|
-
borderInvalid: computed(function (_ref19) {
|
|
67
|
-
var _ref20 = _slicedToArray(_ref19, 1),
|
|
68
|
-
danger = _ref20[0];
|
|
69
|
-
return danger;
|
|
70
|
-
}, ['colors.danger']),
|
|
71
|
-
borderHovered: computed(function (_ref21) {
|
|
72
|
-
var _ref22 = _slicedToArray(_ref21, 1),
|
|
73
|
-
lightShade = _ref22[0];
|
|
74
|
-
var color = darken(lightShade, 4);
|
|
75
|
-
return transparentize(color, 0.1);
|
|
76
|
-
}, ['colors.lightShade']),
|
|
77
|
-
borderInvalidHovered: computed(function (_ref23) {
|
|
78
|
-
var _ref24 = _slicedToArray(_ref23, 1),
|
|
79
|
-
danger = _ref24[0];
|
|
80
|
-
return danger;
|
|
81
|
-
}, ['colors.danger']),
|
|
82
|
-
borderAutofilled: computed(function (_ref25) {
|
|
83
|
-
var _ref26 = _slicedToArray(_ref25, 1),
|
|
84
|
-
primaryText = _ref26[0];
|
|
85
|
-
return transparentize(primaryText, 0.2);
|
|
86
|
-
}, ['colors.primaryText']),
|
|
87
|
-
borderAutofilledHovered: computed(function (_ref27) {
|
|
88
|
-
var _ref28 = _slicedToArray(_ref27, 1),
|
|
89
|
-
primaryText = _ref28[0];
|
|
90
|
-
return transparentize(primaryText, 0.2);
|
|
91
|
-
}, ['colors.primaryText']),
|
|
92
|
-
clearButtonBackground: computed(function (_ref29) {
|
|
93
|
-
var _ref30 = _slicedToArray(_ref29, 1),
|
|
94
|
-
mediumShade = _ref30[0];
|
|
95
|
-
return mediumShade;
|
|
96
|
-
}, ['colors.mediumShade']),
|
|
97
|
-
controlBorder: computed(function (_ref31) {
|
|
98
|
-
var _ref32 = _slicedToArray(_ref31, 1),
|
|
99
|
-
lightestShade = _ref32[0];
|
|
100
|
-
return shade(lightestShade, 0.4);
|
|
101
|
-
}, ['colors.lightestShade']),
|
|
102
|
-
controlBorderSelected: computed(function (_ref33) {
|
|
103
|
-
var _ref34 = _slicedToArray(_ref33, 1),
|
|
104
|
-
lightestShade = _ref34[0];
|
|
105
|
-
return shade(lightestShade, 0.4);
|
|
106
|
-
}, ['colors.lightestShade']),
|
|
107
|
-
controlBorderDisabled: computed(function (_ref35) {
|
|
108
|
-
var _ref36 = _slicedToArray(_ref35, 1),
|
|
109
|
-
lightestShade = _ref36[0];
|
|
110
|
-
return shade(lightestShade, 0.4);
|
|
111
|
-
}, ['colors.lightestShade']),
|
|
112
|
-
controlBackgroundUnselected: computed(function (_ref37) {
|
|
113
|
-
var _ref38 = _slicedToArray(_ref37, 1),
|
|
114
|
-
emptyShade = _ref38[0];
|
|
115
|
-
return emptyShade;
|
|
116
|
-
}, ['colors.emptyShade']),
|
|
117
|
-
controlBackgroundDisabled: computed(function (_ref39) {
|
|
118
|
-
var _ref40 = _slicedToArray(_ref39, 1),
|
|
119
|
-
lightShade = _ref40[0];
|
|
120
|
-
return lightShade;
|
|
121
|
-
}, ['colors.lightShade']),
|
|
122
|
-
colorHasPlaceholder: computed(function (_ref41) {
|
|
123
|
-
var _ref42 = _slicedToArray(_ref41, 1),
|
|
124
|
-
subduedText = _ref42[0];
|
|
125
|
-
return tint(subduedText, 0.08);
|
|
126
|
-
}, ['colors.subduedText']),
|
|
127
|
-
colorDisabled: computed(function (_ref43) {
|
|
128
|
-
var _ref44 = _slicedToArray(_ref43, 1),
|
|
129
|
-
mediumShade = _ref44[0];
|
|
130
|
-
return mediumShade;
|
|
131
|
-
}, ['colors.mediumShade']),
|
|
132
|
-
iconDisabled: computed(function (_ref45) {
|
|
133
|
-
var _ref46 = _slicedToArray(_ref45, 1),
|
|
134
|
-
darkShade = _ref46[0];
|
|
135
|
-
return darkShade;
|
|
136
|
-
}, ['colors.darkShade'])
|
|
137
|
-
};
|
|
138
|
-
var _dark_forms = _objectSpread(_objectSpread({}, _forms), {}, {
|
|
139
|
-
background: computed(function (_ref47) {
|
|
140
|
-
var _ref48 = _slicedToArray(_ref47, 1),
|
|
141
|
-
lightestShade = _ref48[0];
|
|
142
|
-
return shade(lightestShade, 0.4);
|
|
143
|
-
}, ['colors.lightestShade']),
|
|
144
|
-
backgroundFocused: computed(function (_ref49) {
|
|
145
|
-
var _ref50 = _slicedToArray(_ref49, 1),
|
|
146
|
-
emptyShade = _ref50[0];
|
|
147
|
-
return shade(emptyShade, 0.4);
|
|
148
|
-
}, ['colors.emptyShade']),
|
|
149
|
-
backgroundAutofilled: computed(function (_ref51) {
|
|
150
|
-
var _ref52 = _slicedToArray(_ref51, 1),
|
|
151
|
-
primary = _ref52[0];
|
|
152
|
-
var background = shade(primary, 0.7);
|
|
153
|
-
return shade(background, 0.5);
|
|
154
|
-
}, ['colors.primary']),
|
|
155
|
-
prependBackground: computed(function (_ref53) {
|
|
156
|
-
var _ref54 = _slicedToArray(_ref53, 1),
|
|
157
|
-
lightShade = _ref54[0];
|
|
158
|
-
return shade(lightShade, 0.15);
|
|
159
|
-
}, ['colors.lightShade']),
|
|
160
|
-
border: computed(function (_ref55) {
|
|
161
|
-
var _ref56 = _slicedToArray(_ref55, 1),
|
|
162
|
-
ghost = _ref56[0];
|
|
163
|
-
return transparentize(ghost, 0.1);
|
|
164
|
-
}, ['colors.ghost']),
|
|
165
|
-
clearButtonBackground: computed(function (_ref57) {
|
|
166
|
-
var _ref58 = _slicedToArray(_ref57, 1),
|
|
167
|
-
darkShade = _ref58[0];
|
|
168
|
-
return darkShade;
|
|
169
|
-
}, ['colors.darkShade']),
|
|
170
|
-
controlBorder: computed(function (_ref59) {
|
|
171
|
-
var _ref60 = _slicedToArray(_ref59, 1),
|
|
172
|
-
lightestShade = _ref60[0];
|
|
173
|
-
return tint(lightestShade, 0.31);
|
|
174
|
-
}, ['colors.lightestShade']),
|
|
175
|
-
controlBorderSelected: computed(function (_ref61) {
|
|
176
|
-
var _ref62 = _slicedToArray(_ref61, 1),
|
|
177
|
-
lightestShade = _ref62[0];
|
|
178
|
-
return tint(lightestShade, 0.31);
|
|
179
|
-
}, ['colors.lightestShade']),
|
|
180
|
-
controlBorderDisabled: computed(function (_ref63) {
|
|
181
|
-
var _ref64 = _slicedToArray(_ref63, 1),
|
|
182
|
-
lightestShade = _ref64[0];
|
|
183
|
-
return tint(lightestShade, 0.31);
|
|
184
|
-
}, ['colors.lightestShade'])
|
|
185
|
-
});
|
|
186
|
-
export var forms = {
|
|
187
|
-
maxWidth: computed(function (_ref65) {
|
|
188
|
-
var _ref66 = _slicedToArray(_ref65, 1),
|
|
189
|
-
base = _ref66[0];
|
|
190
|
-
return mathWithUnits(base, function (x) {
|
|
191
|
-
return x * 25;
|
|
192
|
-
});
|
|
193
|
-
}, ['size.base']),
|
|
194
|
-
LIGHT: _forms,
|
|
195
|
-
DARK: _dark_forms
|
|
196
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
3
|
-
* or more contributor license agreements. Licensed under the Elastic License
|
|
4
|
-
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
5
|
-
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
6
|
-
* Side Public License, v 1.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
export var levels = {
|
|
10
|
-
toast: 9000,
|
|
11
|
-
modal: 8000,
|
|
12
|
-
mask: 6000,
|
|
13
|
-
navigation: 6000,
|
|
14
|
-
menu: 2000,
|
|
15
|
-
header: 1000,
|
|
16
|
-
flyout: 1000,
|
|
17
|
-
maskBelowHeader: 1000,
|
|
18
|
-
content: 0
|
|
19
|
-
};
|
|
@@ -1,436 +0,0 @@
|
|
|
1
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
-
/*
|
|
5
|
-
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
6
|
-
* or more contributor license agreements. Licensed under the Elastic License
|
|
7
|
-
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
8
|
-
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
9
|
-
* Side Public License, v 1.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
import { formatMultipleBoxShadow } from '@elastic/eui-theme-common';
|
|
13
|
-
|
|
14
|
-
// in Amsterdam this is `color.shadow`, which computes to `ink` (#000)
|
|
15
|
-
var SHADOW_COLOR = '#000000';
|
|
16
|
-
export var shadowPrimitives = {
|
|
17
|
-
xs: {
|
|
18
|
-
light: [{
|
|
19
|
-
opacity: 0.04 * 1,
|
|
20
|
-
x: 0,
|
|
21
|
-
y: 0.8,
|
|
22
|
-
blur: 0.8,
|
|
23
|
-
spread: 0
|
|
24
|
-
}, {
|
|
25
|
-
opacity: 0.03 * 1,
|
|
26
|
-
x: 0,
|
|
27
|
-
y: 2.3,
|
|
28
|
-
blur: 2,
|
|
29
|
-
spread: 0
|
|
30
|
-
}],
|
|
31
|
-
dark: [{
|
|
32
|
-
opacity: 0.04 * 3.5,
|
|
33
|
-
x: 0,
|
|
34
|
-
y: 0.8,
|
|
35
|
-
blur: 0.8,
|
|
36
|
-
spread: 0
|
|
37
|
-
}, {
|
|
38
|
-
opacity: 0.03 * 3.5,
|
|
39
|
-
x: 0,
|
|
40
|
-
y: 2.3,
|
|
41
|
-
blur: 2,
|
|
42
|
-
spread: 0
|
|
43
|
-
}]
|
|
44
|
-
},
|
|
45
|
-
s: {
|
|
46
|
-
light: [{
|
|
47
|
-
opacity: 0.07 * 1,
|
|
48
|
-
x: 0,
|
|
49
|
-
y: 0.7,
|
|
50
|
-
blur: 1.4,
|
|
51
|
-
spread: 0
|
|
52
|
-
}, {
|
|
53
|
-
opacity: 0.05 * 1,
|
|
54
|
-
x: 0,
|
|
55
|
-
y: 1.9,
|
|
56
|
-
blur: 4,
|
|
57
|
-
spread: 0
|
|
58
|
-
}, {
|
|
59
|
-
opacity: 0.05 * 1,
|
|
60
|
-
x: 0,
|
|
61
|
-
y: 4.5,
|
|
62
|
-
blur: 10,
|
|
63
|
-
spread: 0
|
|
64
|
-
}],
|
|
65
|
-
dark: [{
|
|
66
|
-
opacity: 0.07 * 3.5,
|
|
67
|
-
x: 0,
|
|
68
|
-
y: 0.7,
|
|
69
|
-
blur: 1.4,
|
|
70
|
-
spread: 0
|
|
71
|
-
}, {
|
|
72
|
-
opacity: 0.05 * 3.5,
|
|
73
|
-
x: 0,
|
|
74
|
-
y: 1.9,
|
|
75
|
-
blur: 4,
|
|
76
|
-
spread: 0
|
|
77
|
-
}, {
|
|
78
|
-
opacity: 0.05 * 3.5,
|
|
79
|
-
x: 0,
|
|
80
|
-
y: 4.5,
|
|
81
|
-
blur: 10,
|
|
82
|
-
spread: 0
|
|
83
|
-
}]
|
|
84
|
-
},
|
|
85
|
-
m: {
|
|
86
|
-
light: [{
|
|
87
|
-
opacity: 0.08 * 1,
|
|
88
|
-
x: 0,
|
|
89
|
-
y: 0.9,
|
|
90
|
-
blur: 4,
|
|
91
|
-
spread: 0
|
|
92
|
-
}, {
|
|
93
|
-
opacity: 0.06 * 1,
|
|
94
|
-
x: 0,
|
|
95
|
-
y: 2.6,
|
|
96
|
-
blur: 8,
|
|
97
|
-
spread: 0
|
|
98
|
-
}, {
|
|
99
|
-
opacity: 0.05 * 1,
|
|
100
|
-
x: 0,
|
|
101
|
-
y: 5.7,
|
|
102
|
-
blur: 12,
|
|
103
|
-
spread: 0
|
|
104
|
-
}, {
|
|
105
|
-
opacity: 0.04 * 1,
|
|
106
|
-
x: 0,
|
|
107
|
-
y: 15,
|
|
108
|
-
blur: 15,
|
|
109
|
-
spread: 0
|
|
110
|
-
}],
|
|
111
|
-
dark: [{
|
|
112
|
-
opacity: 0.08 * 3.5,
|
|
113
|
-
x: 0,
|
|
114
|
-
y: 0.9,
|
|
115
|
-
blur: 4,
|
|
116
|
-
spread: 0
|
|
117
|
-
}, {
|
|
118
|
-
opacity: 0.06 * 3.5,
|
|
119
|
-
x: 0,
|
|
120
|
-
y: 2.6,
|
|
121
|
-
blur: 8,
|
|
122
|
-
spread: 0
|
|
123
|
-
}, {
|
|
124
|
-
opacity: 0.05 * 3.5,
|
|
125
|
-
x: 0,
|
|
126
|
-
y: 5.7,
|
|
127
|
-
blur: 12,
|
|
128
|
-
spread: 0
|
|
129
|
-
}, {
|
|
130
|
-
opacity: 0.04 * 3.5,
|
|
131
|
-
x: 0,
|
|
132
|
-
y: 15,
|
|
133
|
-
blur: 15,
|
|
134
|
-
spread: 0
|
|
135
|
-
}]
|
|
136
|
-
},
|
|
137
|
-
l: {
|
|
138
|
-
light: [{
|
|
139
|
-
opacity: 0.1 * 1,
|
|
140
|
-
x: 0,
|
|
141
|
-
y: 1,
|
|
142
|
-
blur: 5,
|
|
143
|
-
spread: 0
|
|
144
|
-
}, {
|
|
145
|
-
opacity: 0.07 * 1,
|
|
146
|
-
x: 0,
|
|
147
|
-
y: 3.6,
|
|
148
|
-
blur: 13,
|
|
149
|
-
spread: 0
|
|
150
|
-
}, {
|
|
151
|
-
opacity: 0.06 * 1,
|
|
152
|
-
x: 0,
|
|
153
|
-
y: 8.4,
|
|
154
|
-
blur: 23,
|
|
155
|
-
spread: 0
|
|
156
|
-
}, {
|
|
157
|
-
opacity: 0.05 * 1,
|
|
158
|
-
x: 0,
|
|
159
|
-
y: 23,
|
|
160
|
-
blur: 35,
|
|
161
|
-
spread: 0
|
|
162
|
-
}],
|
|
163
|
-
dark: [{
|
|
164
|
-
opacity: 0.1 * 3.5,
|
|
165
|
-
x: 0,
|
|
166
|
-
y: 1,
|
|
167
|
-
blur: 5,
|
|
168
|
-
spread: 0
|
|
169
|
-
}, {
|
|
170
|
-
opacity: 0.07 * 3.5,
|
|
171
|
-
x: 0,
|
|
172
|
-
y: 3.6,
|
|
173
|
-
blur: 13,
|
|
174
|
-
spread: 0
|
|
175
|
-
}, {
|
|
176
|
-
opacity: 0.06 * 3.5,
|
|
177
|
-
x: 0,
|
|
178
|
-
y: 8.4,
|
|
179
|
-
blur: 23,
|
|
180
|
-
spread: 0
|
|
181
|
-
}, {
|
|
182
|
-
opacity: 0.05 * 3.5,
|
|
183
|
-
x: 0,
|
|
184
|
-
y: 23,
|
|
185
|
-
blur: 35,
|
|
186
|
-
spread: 0
|
|
187
|
-
}]
|
|
188
|
-
},
|
|
189
|
-
xl: {
|
|
190
|
-
light: [{
|
|
191
|
-
opacity: 0.13 * 1,
|
|
192
|
-
x: 0,
|
|
193
|
-
y: 2.7,
|
|
194
|
-
blur: 9,
|
|
195
|
-
spread: 0
|
|
196
|
-
}, {
|
|
197
|
-
opacity: 0.09 * 1,
|
|
198
|
-
x: 0,
|
|
199
|
-
y: 9.4,
|
|
200
|
-
blur: 24,
|
|
201
|
-
spread: 0
|
|
202
|
-
}, {
|
|
203
|
-
opacity: 0.08 * 1,
|
|
204
|
-
x: 0,
|
|
205
|
-
y: 21.8,
|
|
206
|
-
blur: 43,
|
|
207
|
-
spread: 0
|
|
208
|
-
}],
|
|
209
|
-
dark: [{
|
|
210
|
-
opacity: 0.13 * 3.5,
|
|
211
|
-
x: 0,
|
|
212
|
-
y: 2.7,
|
|
213
|
-
blur: 9,
|
|
214
|
-
spread: 0
|
|
215
|
-
}, {
|
|
216
|
-
opacity: 0.09 * 3.5,
|
|
217
|
-
x: 0,
|
|
218
|
-
y: 9.4,
|
|
219
|
-
blur: 24,
|
|
220
|
-
spread: 0
|
|
221
|
-
}, {
|
|
222
|
-
opacity: 0.08 * 3.5,
|
|
223
|
-
x: 0,
|
|
224
|
-
y: 21.8,
|
|
225
|
-
blur: 43,
|
|
226
|
-
spread: 0
|
|
227
|
-
}]
|
|
228
|
-
},
|
|
229
|
-
xxl: {
|
|
230
|
-
light: [],
|
|
231
|
-
dark: []
|
|
232
|
-
},
|
|
233
|
-
flat: {
|
|
234
|
-
light: [{
|
|
235
|
-
opacity: 0.06 * 1,
|
|
236
|
-
x: 0,
|
|
237
|
-
y: 0,
|
|
238
|
-
blur: 0.8,
|
|
239
|
-
spread: 0
|
|
240
|
-
}, {
|
|
241
|
-
opacity: 0.04 * 1,
|
|
242
|
-
x: 0,
|
|
243
|
-
y: 0,
|
|
244
|
-
blur: 2,
|
|
245
|
-
spread: 0
|
|
246
|
-
}, {
|
|
247
|
-
opacity: 0.04 * 1,
|
|
248
|
-
x: 0,
|
|
249
|
-
y: 0,
|
|
250
|
-
blur: 5,
|
|
251
|
-
spread: 0
|
|
252
|
-
}, {
|
|
253
|
-
opacity: 0.03 * 1,
|
|
254
|
-
x: 0,
|
|
255
|
-
y: 0,
|
|
256
|
-
blur: 17,
|
|
257
|
-
spread: 0
|
|
258
|
-
}],
|
|
259
|
-
dark: [{
|
|
260
|
-
opacity: 0.06 * 3.5,
|
|
261
|
-
x: 0,
|
|
262
|
-
y: 0,
|
|
263
|
-
blur: 0.8,
|
|
264
|
-
spread: 0
|
|
265
|
-
}, {
|
|
266
|
-
opacity: 0.04 * 3.5,
|
|
267
|
-
x: 0,
|
|
268
|
-
y: 0,
|
|
269
|
-
blur: 2,
|
|
270
|
-
spread: 0
|
|
271
|
-
}, {
|
|
272
|
-
opacity: 0.04 * 3.5,
|
|
273
|
-
x: 0,
|
|
274
|
-
y: 0,
|
|
275
|
-
blur: 5,
|
|
276
|
-
spread: 0
|
|
277
|
-
}, {
|
|
278
|
-
opacity: 0.03 * 3.5,
|
|
279
|
-
x: 0,
|
|
280
|
-
y: 0,
|
|
281
|
-
blur: 17,
|
|
282
|
-
spread: 0
|
|
283
|
-
}]
|
|
284
|
-
}
|
|
285
|
-
};
|
|
286
|
-
var shadowColors = {
|
|
287
|
-
colors: {
|
|
288
|
-
base: SHADOW_COLOR
|
|
289
|
-
}
|
|
290
|
-
};
|
|
291
|
-
var shadowsLight = _objectSpread(_objectSpread({}, shadowColors), {}, {
|
|
292
|
-
xs: {
|
|
293
|
-
down: formatMultipleBoxShadow(shadowPrimitives.xs.light, {
|
|
294
|
-
color: shadowColors.colors.base
|
|
295
|
-
}),
|
|
296
|
-
up: formatMultipleBoxShadow(shadowPrimitives.xs.light, {
|
|
297
|
-
direction: 'up',
|
|
298
|
-
color: shadowColors.colors.base
|
|
299
|
-
})
|
|
300
|
-
},
|
|
301
|
-
s: {
|
|
302
|
-
down: formatMultipleBoxShadow(shadowPrimitives.s.light, {
|
|
303
|
-
color: shadowColors.colors.base
|
|
304
|
-
}),
|
|
305
|
-
up: formatMultipleBoxShadow(shadowPrimitives.s.light, {
|
|
306
|
-
direction: 'up',
|
|
307
|
-
color: shadowColors.colors.base
|
|
308
|
-
})
|
|
309
|
-
},
|
|
310
|
-
m: {
|
|
311
|
-
down: formatMultipleBoxShadow(shadowPrimitives.m.light, {
|
|
312
|
-
color: shadowColors.colors.base
|
|
313
|
-
}),
|
|
314
|
-
up: formatMultipleBoxShadow(shadowPrimitives.m.light, {
|
|
315
|
-
direction: 'up',
|
|
316
|
-
color: shadowColors.colors.base
|
|
317
|
-
})
|
|
318
|
-
},
|
|
319
|
-
l: {
|
|
320
|
-
down: formatMultipleBoxShadow(shadowPrimitives.l.light, {
|
|
321
|
-
color: shadowColors.colors.base
|
|
322
|
-
}),
|
|
323
|
-
up: formatMultipleBoxShadow(shadowPrimitives.l.light, {
|
|
324
|
-
direction: 'up',
|
|
325
|
-
color: shadowColors.colors.base
|
|
326
|
-
})
|
|
327
|
-
},
|
|
328
|
-
xl: {
|
|
329
|
-
down: formatMultipleBoxShadow(shadowPrimitives.xl.light, {
|
|
330
|
-
color: shadowColors.colors.base
|
|
331
|
-
}),
|
|
332
|
-
up: formatMultipleBoxShadow(shadowPrimitives.xl.light, {
|
|
333
|
-
direction: 'up',
|
|
334
|
-
color: shadowColors.colors.base
|
|
335
|
-
})
|
|
336
|
-
},
|
|
337
|
-
hover: {
|
|
338
|
-
base: {
|
|
339
|
-
down: formatMultipleBoxShadow(shadowPrimitives.s.light.slice(1), {
|
|
340
|
-
color: shadowColors.colors.base
|
|
341
|
-
}),
|
|
342
|
-
up: formatMultipleBoxShadow(shadowPrimitives.s.light.slice(1), {
|
|
343
|
-
direction: 'up',
|
|
344
|
-
color: shadowColors.colors.base
|
|
345
|
-
})
|
|
346
|
-
},
|
|
347
|
-
xl: {
|
|
348
|
-
down: 'none',
|
|
349
|
-
up: 'none'
|
|
350
|
-
}
|
|
351
|
-
},
|
|
352
|
-
flat: {
|
|
353
|
-
down: formatMultipleBoxShadow(shadowPrimitives.flat.light, {
|
|
354
|
-
color: shadowColors.colors.base
|
|
355
|
-
}),
|
|
356
|
-
up: formatMultipleBoxShadow(shadowPrimitives.flat.light, {
|
|
357
|
-
direction: 'up',
|
|
358
|
-
color: shadowColors.colors.base
|
|
359
|
-
})
|
|
360
|
-
}
|
|
361
|
-
});
|
|
362
|
-
var shadowsDark = _objectSpread(_objectSpread({}, shadowColors), {}, {
|
|
363
|
-
xs: {
|
|
364
|
-
down: formatMultipleBoxShadow(shadowPrimitives.xs.dark, {
|
|
365
|
-
color: shadowColors.colors.base
|
|
366
|
-
}),
|
|
367
|
-
up: formatMultipleBoxShadow(shadowPrimitives.xs.dark, {
|
|
368
|
-
direction: 'up',
|
|
369
|
-
color: shadowColors.colors.base
|
|
370
|
-
})
|
|
371
|
-
},
|
|
372
|
-
s: {
|
|
373
|
-
down: formatMultipleBoxShadow(shadowPrimitives.s.dark, {
|
|
374
|
-
color: shadowColors.colors.base
|
|
375
|
-
}),
|
|
376
|
-
up: formatMultipleBoxShadow(shadowPrimitives.s.dark, {
|
|
377
|
-
direction: 'up',
|
|
378
|
-
color: shadowColors.colors.base
|
|
379
|
-
})
|
|
380
|
-
},
|
|
381
|
-
m: {
|
|
382
|
-
down: formatMultipleBoxShadow(shadowPrimitives.m.dark, {
|
|
383
|
-
color: shadowColors.colors.base
|
|
384
|
-
}),
|
|
385
|
-
up: formatMultipleBoxShadow(shadowPrimitives.m.dark, {
|
|
386
|
-
direction: 'up',
|
|
387
|
-
color: shadowColors.colors.base
|
|
388
|
-
})
|
|
389
|
-
},
|
|
390
|
-
l: {
|
|
391
|
-
down: formatMultipleBoxShadow(shadowPrimitives.l.dark, {
|
|
392
|
-
color: shadowColors.colors.base
|
|
393
|
-
}),
|
|
394
|
-
up: formatMultipleBoxShadow(shadowPrimitives.l.dark, {
|
|
395
|
-
direction: 'up',
|
|
396
|
-
color: shadowColors.colors.base
|
|
397
|
-
})
|
|
398
|
-
},
|
|
399
|
-
xl: {
|
|
400
|
-
down: formatMultipleBoxShadow(shadowPrimitives.xl.dark, {
|
|
401
|
-
color: shadowColors.colors.base
|
|
402
|
-
}),
|
|
403
|
-
up: formatMultipleBoxShadow(shadowPrimitives.xl.dark, {
|
|
404
|
-
direction: 'up',
|
|
405
|
-
color: shadowColors.colors.base
|
|
406
|
-
})
|
|
407
|
-
},
|
|
408
|
-
hover: {
|
|
409
|
-
base: {
|
|
410
|
-
down: formatMultipleBoxShadow(shadowPrimitives.s.dark.slice(1), {
|
|
411
|
-
color: shadowColors.colors.base
|
|
412
|
-
}),
|
|
413
|
-
up: formatMultipleBoxShadow(shadowPrimitives.s.dark.slice(1), {
|
|
414
|
-
direction: 'up',
|
|
415
|
-
color: shadowColors.colors.base
|
|
416
|
-
})
|
|
417
|
-
},
|
|
418
|
-
xl: {
|
|
419
|
-
down: 'none',
|
|
420
|
-
up: 'none'
|
|
421
|
-
}
|
|
422
|
-
},
|
|
423
|
-
flat: {
|
|
424
|
-
down: formatMultipleBoxShadow(shadowPrimitives.flat.dark, {
|
|
425
|
-
color: shadowColors.colors.base
|
|
426
|
-
}),
|
|
427
|
-
up: formatMultipleBoxShadow(shadowPrimitives.flat.dark, {
|
|
428
|
-
direction: 'up',
|
|
429
|
-
color: shadowColors.colors.base
|
|
430
|
-
})
|
|
431
|
-
}
|
|
432
|
-
});
|
|
433
|
-
export var shadows = {
|
|
434
|
-
LIGHT: shadowsLight,
|
|
435
|
-
DARK: shadowsDark
|
|
436
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
3
|
-
* or more contributor license agreements. Licensed under the Elastic License
|
|
4
|
-
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
5
|
-
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
6
|
-
* Side Public License, v 1.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { sizeToPixel } from '../../../../global_styling/functions';
|
|
10
|
-
import { computed } from '../../../../services/theme/utils';
|
|
11
|
-
export var base = 16;
|
|
12
|
-
export var size = {
|
|
13
|
-
xxs: computed(sizeToPixel(0.125)),
|
|
14
|
-
xs: computed(sizeToPixel(0.25)),
|
|
15
|
-
s: computed(sizeToPixel(0.5)),
|
|
16
|
-
m: computed(sizeToPixel(0.75)),
|
|
17
|
-
base: computed(sizeToPixel()),
|
|
18
|
-
l: computed(sizeToPixel(1.5)),
|
|
19
|
-
xl: computed(sizeToPixel(2)),
|
|
20
|
-
xxl: computed(sizeToPixel(2.5)),
|
|
21
|
-
xxxl: computed(sizeToPixel(3)),
|
|
22
|
-
xxxxl: computed(sizeToPixel(4))
|
|
23
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
3
|
-
* or more contributor license agreements. Licensed under the Elastic License
|
|
4
|
-
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
5
|
-
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
6
|
-
* Side Public License, v 1.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { computed } from '../../../../services/theme/utils';
|
|
10
|
-
import { transparentize } from '../../../../services/color/manipulation';
|
|
11
|
-
import { sizeToPixel } from '../../../../global_styling/functions/size';
|
|
12
|
-
export var focus = {
|
|
13
|
-
// Focus ring
|
|
14
|
-
color: 'currentColor',
|
|
15
|
-
width: computed(sizeToPixel(0.125)),
|
|
16
|
-
// Focus background
|
|
17
|
-
transparency: {
|
|
18
|
-
LIGHT: 0.1,
|
|
19
|
-
DARK: 0.2
|
|
20
|
-
},
|
|
21
|
-
backgroundColor: computed(function (_ref) {
|
|
22
|
-
var colors = _ref.colors,
|
|
23
|
-
focus = _ref.focus;
|
|
24
|
-
return transparentize(colors.primary, focus.transparency);
|
|
25
|
-
})
|
|
26
|
-
};
|