@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
|
@@ -10,7 +10,6 @@ var _excluded = ["fontWeight"];
|
|
|
10
10
|
|
|
11
11
|
import { css } from '@emotion/react';
|
|
12
12
|
import { serializeStyles } from '@emotion/serialize';
|
|
13
|
-
import { isEuiThemeRefreshVariant } from '../../../services';
|
|
14
13
|
import { euiCanAnimate, euiTextBreakWord } from '../../../global_styling';
|
|
15
14
|
import { euiTitle } from '../../title/title.styles';
|
|
16
15
|
export var euiFormLabel = function euiFormLabel(euiThemeContext) {
|
|
@@ -26,14 +25,11 @@ export var euiFormLabel = function euiFormLabel(euiThemeContext) {
|
|
|
26
25
|
};
|
|
27
26
|
export var euiFormLabelStyles = function euiFormLabelStyles(euiThemeContext) {
|
|
28
27
|
var euiTheme = euiThemeContext.euiTheme;
|
|
29
|
-
var isRefreshVariant = isEuiThemeRefreshVariant(euiThemeContext, 'formVariant');
|
|
30
28
|
return {
|
|
31
29
|
euiFormLabel: /*#__PURE__*/css(euiFormLabel(euiThemeContext), " display:inline-block;", euiCanAnimate, "{transition:color ", euiTheme.animation.fast, " ", euiTheme.animation.resistance, ";};label:euiFormLabel;"),
|
|
32
30
|
// Skip css`` to avoid generating an extra Emotion className
|
|
33
31
|
// Use :where to reduce specificity & make the CSS easier to override by prepend/append nodes
|
|
34
32
|
notDisabled: "\n &:where([for]) {\n cursor: pointer;\n }\n ",
|
|
35
|
-
invalid: /*#__PURE__*/css("color:",
|
|
36
|
-
// Focused state should override invalid state
|
|
37
|
-
focused: /*#__PURE__*/css("color:", isRefreshVariant ? '' : euiTheme.colors.primary, ";;label:focused;")
|
|
33
|
+
invalid: /*#__PURE__*/css("color:", euiTheme.colors.textDanger, ";;label:invalid;")
|
|
38
34
|
};
|
|
39
35
|
};
|
|
@@ -7,11 +7,9 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { css } from '@emotion/react';
|
|
10
|
-
import { isEuiThemeRefreshVariant } from '../../../services';
|
|
11
10
|
export var euiRangeInputStyles = function euiRangeInputStyles(euiThemeContext) {
|
|
12
11
|
var euiTheme = euiThemeContext.euiTheme;
|
|
13
|
-
var isRefreshVariant = isEuiThemeRefreshVariant(euiThemeContext, 'formVariant');
|
|
14
12
|
return {
|
|
15
|
-
euiRangeInput: /*#__PURE__*/css("inline-size:auto;min-inline-size:", euiTheme.base *
|
|
13
|
+
euiRangeInput: /*#__PURE__*/css("inline-size:auto;min-inline-size:", euiTheme.base * 3.5, "px;.euiRange__popover &,.euiDualRange__popover &{inline-size:100%;};label:euiRangeInput;")
|
|
16
14
|
};
|
|
17
15
|
};
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import { css } from '@emotion/react';
|
|
10
10
|
import { euiShadowXSmall } from '@elastic/eui-theme-common';
|
|
11
11
|
import { logicalCSS } from '../../global_styling';
|
|
12
|
-
import {
|
|
12
|
+
import { makeHighContrastColor } from '../../services';
|
|
13
13
|
export var euiHeaderVariables = function euiHeaderVariables(euiThemeContext) {
|
|
14
14
|
var euiTheme = euiThemeContext.euiTheme;
|
|
15
15
|
return {
|
|
@@ -45,24 +45,9 @@ export var euiHeaderStyles = function euiHeaderStyles(euiThemeContext) {
|
|
|
45
45
|
* It's also possible that the dark header will go away or become unused
|
|
46
46
|
* by Kibana in the near future, at which point we can remove this
|
|
47
47
|
*/
|
|
48
|
-
|
|
48
|
+
|
|
49
49
|
var euiHeaderDarkStyles = function euiHeaderDarkStyles(euiThemeContext) {
|
|
50
|
-
var euiTheme = euiThemeContext.euiTheme
|
|
51
|
-
highContrastMode = euiThemeContext.highContrastMode;
|
|
52
|
-
var isRefreshVariant = isEuiThemeRefreshVariant(euiThemeContext, 'formVariant');
|
|
53
|
-
var _euiFormVariables = euiFormVariables(euiThemeContext),
|
|
54
|
-
controlPlaceholderText = _euiFormVariables.controlPlaceholderText;
|
|
50
|
+
var euiTheme = euiThemeContext.euiTheme;
|
|
55
51
|
var backgroundColor = euiTheme.components.headerDarkBackground;
|
|
56
|
-
|
|
57
|
-
// Specific color overrides for EuiSelectableTemplateSitewide
|
|
58
|
-
var selectableSitewide = {
|
|
59
|
-
color: euiTheme.colors.ghost,
|
|
60
|
-
borderColor: euiTheme.components.headerDarkSearchBorderColor,
|
|
61
|
-
placeholderColor: makeHighContrastColor(controlPlaceholderText, 8)(backgroundColor)
|
|
62
|
-
};
|
|
63
|
-
var formLayoutStyles = "\n .euiSelectableTemplateSitewide .euiFormControlLayout {\n background-color: transparent;\n\n input {\n box-shadow: inset 0 0 0 ".concat(euiTheme.border.width.thin, " ").concat(selectableSitewide.borderColor, ";\n }\n\n &--group {\n border-color: ").concat(
|
|
64
|
-
// the header is in a faux dark mode, we can't rely on color
|
|
65
|
-
// switch tokens as they'd be in the wrong color mode
|
|
66
|
-
highContrastMode ? euiTheme.colors.plainLight : euiTheme.components.headerDarkSearchBorderColor, ";\n\n input {\n box-shadow: none;\n }\n }\n\n &__append {\n border-color: ").concat(highContrastMode ? euiTheme.colors.plainLight : '', "\n }\n\n &:not(:focus-within) {\n /* Increase contrast of filled text to be more than placeholder text */\n color: ").concat(selectableSitewide.color, ";\n\n input {\n /* Increase contrast of placeholder text */\n &::placeholder {\n color: ").concat(selectableSitewide.placeholderColor, ";\n }\n\n /* Inherit color from form control layout */\n color: inherit;\n background-color: transparent;\n }\n\n .euiFormControlLayout__append,\n .euiFormControlLayout__prepend {\n background-color: transparent;\n }\n\n .euiFormLabel {\n color: inherit;\n }\n }\n }\n ");
|
|
67
|
-
return "\n background-color: ".concat(backgroundColor, ";\n\n .euiHeaderLogo__text,\n .euiHeaderLink,\n .euiHeaderSectionItemButton {\n color: ").concat(euiTheme.colors.ghost, ";\n }\n\n .euiHeaderLink-isActive {\n color: ").concat(makeHighContrastColor(euiTheme.colors.primary)(backgroundColor), ";\n }\n\n .euiHeaderLogo,\n .euiHeaderLink,\n .euiHeaderSectionItemButton {\n &:focus {\n background-color: ").concat(euiTheme.components.headerDarkSectionItemBackgroundFocus, ";\n }\n }\n\n .euiHeaderSectionItemButton__notification--badge {\n box-shadow: 0 0 0 ").concat(euiTheme.border.width.thin, " ").concat(backgroundColor, ";\n }\n\n .euiHeaderSectionItemButton__notification--dot {\n stroke: ").concat(backgroundColor, ";\n }\n\n ").concat(!isRefreshVariant && formLayoutStyles, " \n ");
|
|
52
|
+
return "\n background-color: ".concat(backgroundColor, ";\n\n .euiHeaderLogo__text,\n .euiHeaderLink,\n .euiHeaderSectionItemButton {\n color: ").concat(euiTheme.colors.ghost, ";\n }\n\n .euiHeaderLink-isActive {\n color: ").concat(makeHighContrastColor(euiTheme.colors.primary)(backgroundColor), ";\n }\n\n .euiHeaderLogo,\n .euiHeaderLink,\n .euiHeaderSectionItemButton {\n &:focus {\n background-color: ").concat(euiTheme.components.headerDarkSectionItemBackgroundFocus, ";\n }\n }\n\n .euiHeaderSectionItemButton__notification--badge {\n box-shadow: 0 0 0 ").concat(euiTheme.border.width.thin, " ").concat(backgroundColor, ";\n }\n\n .euiHeaderSectionItemButton__notification--dot {\n stroke: ").concat(backgroundColor, ";\n }\n ");
|
|
68
53
|
};
|
|
@@ -8,7 +8,6 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { css } from '@emotion/react';
|
|
11
|
-
import { isEuiThemeRefreshVariant } from '../../../services';
|
|
12
11
|
import { logicalCSS, logicalSizeCSS, mathWithUnits, euiMaxBreakpoint } from '../../../global_styling';
|
|
13
12
|
import { euiHeaderVariables } from '../header.styles';
|
|
14
13
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
@@ -31,14 +30,13 @@ export var euiHeaderSectionItemButtonStyles = function euiHeaderSectionItemButto
|
|
|
31
30
|
var _euiHeaderVariables = euiHeaderVariables(euiThemeContext),
|
|
32
31
|
childHeight = _euiHeaderVariables.childHeight;
|
|
33
32
|
var euiTheme = euiThemeContext.euiTheme;
|
|
34
|
-
var isRefreshVariant = isEuiThemeRefreshVariant(euiThemeContext, 'buttonVariant');
|
|
35
33
|
var dotSize = euiTheme.size.base;
|
|
36
|
-
var dotOffset =
|
|
34
|
+
var dotOffset = mathWithUnits(dotSize, function (x) {
|
|
37
35
|
return x * -0.5;
|
|
38
|
-
})
|
|
39
|
-
var badgeOffset =
|
|
36
|
+
});
|
|
37
|
+
var badgeOffset = mathWithUnits(euiTheme.size.s, function (x) {
|
|
40
38
|
return x * -0.5;
|
|
41
|
-
})
|
|
39
|
+
});
|
|
42
40
|
return {
|
|
43
41
|
euiHeaderSectionItemButton: /*#__PURE__*/css("position:relative;", logicalCSS('height', childHeight), " ", logicalCSS('min-width', childHeight), " ", logicalCSS('padding-horizontal', euiTheme.size.s), " text-align:center;font-size:0;", euiMaxBreakpoint(euiThemeContext, 's'), "{", logicalCSS('min-width', mathWithUnits(childHeight, function (x) {
|
|
44
42
|
return x * 0.75;
|
|
@@ -7,35 +7,31 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { css } from '@emotion/react';
|
|
10
|
-
import { euiShadow } from '@elastic/eui-theme-common';
|
|
11
10
|
import { logicalCSS, logicalSizeCSS, euiCanAnimate, euiFontSize } from '../../global_styling';
|
|
12
11
|
import { highContrastModeStyles } from '../../global_styling/functions/high_contrast';
|
|
13
12
|
import { euiScreenReaderOnly } from '../accessibility';
|
|
14
13
|
import { euiKeyPadMenuVariables } from './key_pad_menu.styles';
|
|
15
14
|
export var euiKeyPadMenuItemStyles = function euiKeyPadMenuItemStyles(euiThemeContext) {
|
|
16
|
-
var _euiTheme$flags;
|
|
17
15
|
var euiTheme = euiThemeContext.euiTheme;
|
|
18
16
|
var _euiKeyPadMenuVariabl = euiKeyPadMenuVariables(euiThemeContext),
|
|
19
17
|
euiKeyPadMenuSize = _euiKeyPadMenuVariabl.euiKeyPadMenuSize;
|
|
20
|
-
var hasVisColorAdjustment = (_euiTheme$flags = euiTheme.flags) === null || _euiTheme$flags === void 0 ? void 0 : _euiTheme$flags.hasVisColorAdjustment;
|
|
21
|
-
var focusTransformStyles = "\n ".concat(euiShadow(euiThemeContext, 's'), ";\n\n ").concat(euiCanAnimate, " {\n .euiKeyPadMenuItem__icon {\n transform: translateY(0);\n }\n }\n ");
|
|
22
18
|
return {
|
|
23
19
|
euiKeyPadMenuItem: /*#__PURE__*/css("display:block;padding:", euiTheme.size.xs, ";", logicalSizeCSS(euiKeyPadMenuSize), " border-radius:", euiTheme.border.radius.medium, ";color:", euiTheme.colors.textParagraph, ";", euiCanAnimate, "{transition:background-color ", euiTheme.animation.fast, " ease-in,box-shadow ", euiTheme.animation.fast, " ease-in;};label:euiKeyPadMenuItem;"),
|
|
24
|
-
enabled: /*#__PURE__*/css("&:is(:hover, :focus, :focus-within){cursor:pointer;text-decoration:underline;", highContrastModeStyles(euiThemeContext, {
|
|
20
|
+
enabled: /*#__PURE__*/css("&:is(:hover, :focus, :focus-within){cursor:pointer;text-decoration:underline;background-color:", euiTheme.colors.backgroundBaseInteractiveHover, ";", highContrastModeStyles(euiThemeContext, {
|
|
25
21
|
// Use `outline` instead of border to avoid affecting absolutely positioned children
|
|
26
22
|
preferred: "\n outline: ".concat(euiTheme.border.width.thin, " solid ").concat(euiTheme.colors.primary, ";\n ")
|
|
27
|
-
}), "
|
|
28
|
-
selected: /*#__PURE__*/css("color:", euiTheme.colors.textHeading, "
|
|
23
|
+
}), ";}&:focus{box-shadow:none;background-color:", euiTheme.colors.backgroundBaseInteractiveHover, ";};label:enabled;"),
|
|
24
|
+
selected: /*#__PURE__*/css("color:", euiTheme.colors.textHeading, ";&:is(*, :hover, :focus, :focus-within){color:", euiTheme.colors.textPrimary, ";background-color:", euiTheme.colors.backgroundBaseInteractiveSelect, ";", highContrastModeStyles(euiThemeContext, {
|
|
29
25
|
// Skip checkable items (which render a <label> instead of <button>/<a>),
|
|
30
26
|
// as they already have sufficient indication of state (checkbox or radio)
|
|
31
27
|
preferred: "\n &:not(label) {\n outline: ".concat(euiTheme.border.width.thick, " solid ").concat(euiTheme.colors.primary, ";\n outline-offset: 0;\n }\n ")
|
|
32
28
|
}), ";};label:selected;"),
|
|
33
29
|
disabled: {
|
|
34
30
|
disabled: /*#__PURE__*/css("cursor:not-allowed;color:", euiTheme.colors.textDisabled, ";", highContrastModeStyles(euiThemeContext, {
|
|
35
|
-
none: "\n .euiKeyPadMenuItem__icon {\n
|
|
31
|
+
none: "\n .euiKeyPadMenuItem__icon {\n svg * {\n fill: ".concat(euiTheme.colors.textDisabled, ";\n }\n }\n "),
|
|
36
32
|
forced: 'opacity: 0.5;'
|
|
37
33
|
}), ";;label:disabled;"),
|
|
38
|
-
selected: /*#__PURE__*/css("background-color:",
|
|
34
|
+
selected: /*#__PURE__*/css("background-color:", euiTheme.colors.backgroundBaseDisabled, ";", highContrastModeStyles(euiThemeContext, {
|
|
39
35
|
preferred: "\n &:not(label) {\n outline: ".concat(euiTheme.border.width.thick, " solid ").concat(euiTheme.colors.textDisabled, ";\n }\n ")
|
|
40
36
|
}), ";;label:selected;")
|
|
41
37
|
}
|
|
@@ -8,7 +8,6 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { css } from '@emotion/react';
|
|
11
|
-
import { isEuiThemeRefreshVariant } from '../../services';
|
|
12
11
|
import { logicalCSS } from '../../global_styling';
|
|
13
12
|
import { euiMarkdownEditorVariables } from './markdown_editor.styles';
|
|
14
13
|
import { euiFormControlInvalidStyles } from '../form/form.styles';
|
|
@@ -22,14 +21,13 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
22
21
|
};
|
|
23
22
|
export var euiMarkdownEditorDropZoneStyles = function euiMarkdownEditorDropZoneStyles(euiThemeContext) {
|
|
24
23
|
var euiTheme = euiThemeContext.euiTheme;
|
|
25
|
-
var isRefreshVariant = isEuiThemeRefreshVariant(euiThemeContext, 'formVariant');
|
|
26
24
|
var _euiMarkdownEditorVar = euiMarkdownEditorVariables(euiThemeContext),
|
|
27
25
|
minHeight = _euiMarkdownEditorVar.minHeight;
|
|
28
26
|
return {
|
|
29
27
|
euiMarkdownEditorDropZone: /*#__PURE__*/css("position:relative;display:flex;flex-direction:column;", logicalCSS('min-height', minHeight), ";;label:euiMarkdownEditorDropZone;"),
|
|
30
|
-
isDragging: /*#__PURE__*/css(".euiMarkdownEditorFooter,.euiMarkdownEditorTextArea{background-color:",
|
|
31
|
-
isDraggingError: /*#__PURE__*/css(".euiMarkdownEditorFooter,.euiMarkdownEditorTextArea{background-color:",
|
|
32
|
-
hasError: /*#__PURE__*/css(".euiMarkdownEditorTextArea{--euiFormControlStateColor:", euiTheme.colors.danger, ";background-size:100% 100%;",
|
|
28
|
+
isDragging: /*#__PURE__*/css(".euiMarkdownEditorFooter,.euiMarkdownEditorTextArea{background-color:", euiTheme.colors.backgroundBasePrimary, "!important;};label:isDragging;"),
|
|
29
|
+
isDraggingError: /*#__PURE__*/css(".euiMarkdownEditorFooter,.euiMarkdownEditorTextArea{background-color:", euiTheme.colors.backgroundBaseDanger, "!important;};label:isDraggingError;"),
|
|
30
|
+
hasError: /*#__PURE__*/css(".euiMarkdownEditorTextArea{--euiFormControlStateColor:", euiTheme.colors.danger, ";background-size:100% 100%;", euiFormControlInvalidStyles(euiThemeContext), ";};label:hasError;"),
|
|
33
31
|
euiMarkdownEditorDropZone__input: _ref
|
|
34
32
|
};
|
|
35
33
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
|
-
var _excluded = ["className", "children", "initialFocus", "onClose", "maxWidth", "role", "style", "focusTrapProps", "aria-describedby"];
|
|
4
|
+
var _excluded = ["className", "children", "initialFocus", "onClose", "maxWidth", "role", "style", "focusTrapProps", "outsideClickCloses", "aria-describedby"];
|
|
5
5
|
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; }
|
|
6
6
|
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; }
|
|
7
7
|
/*
|
|
@@ -12,7 +12,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
12
12
|
* Side Public License, v 1.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import React from 'react';
|
|
15
|
+
import React, { useRef, useCallback } from 'react';
|
|
16
16
|
import classnames from 'classnames';
|
|
17
17
|
import { keys, useEuiTheme, useGeneratedHtmlId } from '../../services';
|
|
18
18
|
import { isDOMNode } from '../../utils';
|
|
@@ -34,6 +34,8 @@ export var EuiModal = function EuiModal(_ref) {
|
|
|
34
34
|
role = _ref$role === void 0 ? 'dialog' : _ref$role,
|
|
35
35
|
style = _ref.style,
|
|
36
36
|
focusTrapProps = _ref.focusTrapProps,
|
|
37
|
+
_ref$outsideClickClos = _ref.outsideClickCloses,
|
|
38
|
+
outsideClickCloses = _ref$outsideClickClos === void 0 ? false : _ref$outsideClickClos,
|
|
37
39
|
_ariaDescribedBy = _ref['aria-describedby'],
|
|
38
40
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
39
41
|
var onKeyDown = function onKeyDown(event) {
|
|
@@ -45,6 +47,14 @@ export var EuiModal = function EuiModal(_ref) {
|
|
|
45
47
|
}
|
|
46
48
|
}
|
|
47
49
|
};
|
|
50
|
+
var maskRef = useRef(null);
|
|
51
|
+
var onClickOutside = useCallback(function (event) {
|
|
52
|
+
// The overlay mask is always present
|
|
53
|
+
if (outsideClickCloses === true && event.target === maskRef.current) {
|
|
54
|
+
onClose(event);
|
|
55
|
+
}
|
|
56
|
+
return undefined;
|
|
57
|
+
}, [onClose, outsideClickCloses]);
|
|
48
58
|
var newStyle = style;
|
|
49
59
|
if (typeof maxWidth !== 'boolean') {
|
|
50
60
|
newStyle = _objectSpread(_objectSpread({}, newStyle), {}, {
|
|
@@ -64,10 +74,13 @@ export var EuiModal = function EuiModal(_ref) {
|
|
|
64
74
|
token: "euiModal.screenReaderModalDialog",
|
|
65
75
|
default: "You are in a modal dialog. Press Escape or tap/click outside the dialog on the shadowed overlay to close."
|
|
66
76
|
})));
|
|
67
|
-
return ___EmotionJSX(EuiOverlayMask,
|
|
77
|
+
return ___EmotionJSX(EuiOverlayMask, {
|
|
78
|
+
maskRef: maskRef
|
|
79
|
+
}, ___EmotionJSX(EuiFocusTrap, _extends({}, focusTrapProps, {
|
|
68
80
|
initialFocus: initialFocus,
|
|
69
81
|
scrollLock: true,
|
|
70
|
-
preventScrollOnFocus: true
|
|
82
|
+
preventScrollOnFocus: true,
|
|
83
|
+
onClickOutside: onClickOutside
|
|
71
84
|
}), ___EmotionJSX("div", _extends({
|
|
72
85
|
css: cssStyles,
|
|
73
86
|
className: classes,
|
|
@@ -12,19 +12,12 @@ import { euiBorderStyles, euiShadow, euiShadowHover } from '@elastic/eui-theme-c
|
|
|
12
12
|
import { euiCanAnimate, logicalCSS, logicalTextAlignCSS } from '../../global_styling';
|
|
13
13
|
import { highContrastModeStyles } from '../../global_styling/functions/high_contrast';
|
|
14
14
|
export var euiPanelBorderStyles = function euiPanelBorderStyles(euiThemeContext, options) {
|
|
15
|
-
var euiTheme = euiThemeContext.euiTheme
|
|
16
|
-
colorMode = euiThemeContext.colorMode;
|
|
15
|
+
var euiTheme = euiThemeContext.euiTheme;
|
|
17
16
|
var _ref3 = options !== null && options !== void 0 ? options : {},
|
|
18
|
-
borderColor = _ref3.borderColor
|
|
19
|
-
_ref3$hasFloatingBord = _ref3.hasFloatingBorder,
|
|
20
|
-
hasFloatingBorder = _ref3$hasFloatingBord === void 0 ? true : _ref3$hasFloatingBord;
|
|
21
|
-
|
|
22
|
-
/* TODO: remove `hasFloatingBorder` and `hasVisibleBorder` and once Amsterdam is removed
|
|
23
|
-
euiTheme.colors.borderBaseFloating is enough then */
|
|
24
|
-
var hasVisibleBorder = hasFloatingBorder && colorMode === 'DARK';
|
|
17
|
+
borderColor = _ref3.borderColor;
|
|
25
18
|
return highContrastModeStyles(euiThemeContext, {
|
|
26
19
|
none: "\n /* Using a pseudo element for the border instead of floating border only\n because the transparent border might otherwise be visible with arbitrary\n full-width/height content in light mode. */\n ".concat(euiBorderStyles(euiThemeContext, {
|
|
27
|
-
borderColor:
|
|
20
|
+
borderColor: borderColor !== null && borderColor !== void 0 ? borderColor : euiTheme.colors.borderBaseFloating
|
|
28
21
|
}), "\n "),
|
|
29
22
|
preferred: "\n border: ".concat(euiTheme.border.thin, ";\n ")
|
|
30
23
|
});
|
|
@@ -53,8 +46,7 @@ export var euiPanelStyles = function euiPanelStyles(euiThemeContext) {
|
|
|
53
46
|
grow: _ref,
|
|
54
47
|
hasShadow: /*#__PURE__*/css(euiShadow(euiThemeContext, 'm'), ";;label:hasShadow;"),
|
|
55
48
|
hasBorder: /*#__PURE__*/css(euiPanelBorderStyles(euiThemeContext, {
|
|
56
|
-
borderColor: euiTheme.border.color
|
|
57
|
-
hasFloatingBorder: false
|
|
49
|
+
borderColor: euiTheme.border.color
|
|
58
50
|
}), ";;label:hasBorder;"),
|
|
59
51
|
radius: {
|
|
60
52
|
none: /*#__PURE__*/css(";label:none;"),
|
|
@@ -12,7 +12,7 @@ var _excluded = ["className", "externalPosition", "internalPosition", "direction
|
|
|
12
12
|
|
|
13
13
|
import React from 'react';
|
|
14
14
|
import classNames from 'classnames';
|
|
15
|
-
import { useEuiMemoizedStyles
|
|
15
|
+
import { useEuiMemoizedStyles } from '../../services';
|
|
16
16
|
import { EuiButtonIcon } from '../button';
|
|
17
17
|
import { euiScreenReaderOnlyStyles } from '../accessibility/screen_reader_only/screen_reader_only.styles';
|
|
18
18
|
import { euiResizableCollapseButtonStyles } from './resizable_collapse_button.styles';
|
|
@@ -30,7 +30,6 @@ export var EuiResizableCollapseButton = function EuiResizableCollapseButton(_ref
|
|
|
30
30
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
31
31
|
var isHorizontal = direction === 'horizontal';
|
|
32
32
|
var showOnFocus = !isCollapsed && !isVisible;
|
|
33
|
-
var isRefreshVariant = useEuiThemeRefreshVariant('buttonVariant');
|
|
34
33
|
var styles = useEuiMemoizedStyles(euiResizableCollapseButtonStyles);
|
|
35
34
|
var collapsedStyles = [styles.collapsed.collapsed, styles.collapsed[direction], styles.collapsed["".concat(direction, "Positions")][internalPosition]];
|
|
36
35
|
var collapsibleStyles = [styles.collapsible.collapsible, styles.collapsible[direction][externalPosition], styles.collapsible[direction][internalPosition]];
|
|
@@ -49,7 +48,7 @@ export var EuiResizableCollapseButton = function EuiResizableCollapseButton(_ref
|
|
|
49
48
|
}
|
|
50
49
|
var classes = classNames('euiResizableCollapseButton', className);
|
|
51
50
|
return ___EmotionJSX(EuiButtonIcon, _extends({
|
|
52
|
-
display:
|
|
51
|
+
display: "empty",
|
|
53
52
|
color: "text",
|
|
54
53
|
className: classes,
|
|
55
54
|
css: cssStyles
|
package/optimize/es/components/selectable/selectable_templates/selectable_template_sitewide.js
CHANGED
|
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
16
|
|
|
17
17
|
import React, { useState, useMemo, useCallback, useContext } from 'react';
|
|
18
18
|
import classNames from 'classnames';
|
|
19
|
-
import { COLOR_MODES_STANDARD, EuiNestedThemeContext, EuiThemeProvider, useCombinedRefs, useCurrentEuiBreakpoint, useEuiMemoizedStyles, useEuiTheme
|
|
19
|
+
import { COLOR_MODES_STANDARD, EuiNestedThemeContext, EuiThemeProvider, useCombinedRefs, useCurrentEuiBreakpoint, useEuiMemoizedStyles, useEuiTheme } from '../../../services';
|
|
20
20
|
import { ENTER } from '../../../services/keys';
|
|
21
21
|
import { useEuiI18n, EuiI18n } from '../../i18n';
|
|
22
22
|
import { EuiLoadingSpinner } from '../../loading';
|
|
@@ -47,7 +47,6 @@ export var EuiSelectableTemplateSitewide = function EuiSelectableTemplateSitewid
|
|
|
47
47
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
48
48
|
var _useEuiTheme = useEuiTheme(),
|
|
49
49
|
colorMode = _useEuiTheme.colorMode;
|
|
50
|
-
var isRefreshVariant = useEuiThemeRefreshVariant('formVariant');
|
|
51
50
|
var _useContext = useContext(EuiNestedThemeContext),
|
|
52
51
|
hasDifferentColorFromGlobalTheme = _useContext.hasDifferentColorFromGlobalTheme;
|
|
53
52
|
var _searchColorMode = colorModes === null || colorModes === void 0 || (_colorModes$search = colorModes.search) === null || _colorModes$search === void 0 ? void 0 : _colorModes$search.toLowerCase();
|
|
@@ -216,7 +215,7 @@ export var EuiSelectableTemplateSitewide = function EuiSelectableTemplateSitewid
|
|
|
216
215
|
}, rest, {
|
|
217
216
|
searchable: true
|
|
218
217
|
}), function (list, search) {
|
|
219
|
-
var _search =
|
|
218
|
+
var _search = !popoverTrigger ? ___EmotionJSX(EuiThemeProvider, {
|
|
220
219
|
colorMode: searchColorMode
|
|
221
220
|
}, search) : search;
|
|
222
221
|
|
|
@@ -232,11 +231,11 @@ export var EuiSelectableTemplateSitewide = function EuiSelectableTemplateSitewid
|
|
|
232
231
|
panelRef: setPanelRef,
|
|
233
232
|
closePopover: closePopover
|
|
234
233
|
}, popoverRest));
|
|
235
|
-
return
|
|
234
|
+
return ___EmotionJSX(EuiThemeProvider, {
|
|
236
235
|
wrapperProps: {
|
|
237
236
|
cloneElement: true
|
|
238
237
|
},
|
|
239
238
|
colorMode: popoverColorMode
|
|
240
|
-
}, popover)
|
|
239
|
+
}, popover);
|
|
241
240
|
});
|
|
242
241
|
};
|
|
@@ -22,9 +22,7 @@ export var euiToastStyles = function euiToastStyles(euiThemeContext) {
|
|
|
22
22
|
// Base
|
|
23
23
|
euiToast: /*#__PURE__*/css("border-radius:", euiTheme.border.radius.medium, ";", euiShadowLarge(euiThemeContext, {
|
|
24
24
|
borderAllInHighContrastMode: true
|
|
25
|
-
}), " position:relative;", logicalCSS('padding-horizontal', euiTheme.size.base), " ", logicalCSS('padding-vertical', euiTheme.size.base), " background-color:", euiTheme.colors.emptyShade, ";", logicalCSS('width', '100%'), " ", euiTextBreakWord(), euiPanelBorderStyles(euiThemeContext, {
|
|
26
|
-
hasFloatingBorder: false
|
|
27
|
-
}), " &:hover,&:focus{[class*='euiToast__closeButton']{opacity:1;}};label:euiToast;"),
|
|
25
|
+
}), " position:relative;", logicalCSS('padding-horizontal', euiTheme.size.base), " ", logicalCSS('padding-vertical', euiTheme.size.base), " background-color:", euiTheme.colors.emptyShade, ";", logicalCSS('width', '100%'), " ", euiTextBreakWord(), euiPanelBorderStyles(euiThemeContext), " &:hover,&:focus{[class*='euiToast__closeButton']{opacity:1;}};label:euiToast;"),
|
|
28
26
|
// Elements
|
|
29
27
|
euiToast__closeButton: /*#__PURE__*/css("position:absolute;", logicalCSS('top', euiTheme.size.base), " ", logicalCSS('right', euiTheme.size.base), ";;label:euiToast__closeButton;"),
|
|
30
28
|
// Variants
|
|
@@ -17,7 +17,7 @@ import React, { useMemo } from 'react';
|
|
|
17
17
|
import classNames from 'classnames';
|
|
18
18
|
import { useEuiTheme, isColorDark, hexToRgb } from '../../services';
|
|
19
19
|
import { EuiIcon } from '../icon';
|
|
20
|
-
import {
|
|
20
|
+
import { TOKEN_MAP } from './token_map';
|
|
21
21
|
import { COLORS } from './token_types';
|
|
22
22
|
import { euiTokenStyles } from './token.styles';
|
|
23
23
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
@@ -49,8 +49,6 @@ export var EuiToken = function EuiToken(_ref) {
|
|
|
49
49
|
finalSize = 'm';
|
|
50
50
|
}
|
|
51
51
|
var euiTheme = useEuiTheme();
|
|
52
|
-
var hasVisColorAdjustment = euiTheme.euiTheme.flags.hasVisColorAdjustment;
|
|
53
|
-
var TOKEN_MAP = hasVisColorAdjustment ? TOKEN_MAP_AMSTERDAM : TOKEN_MAP_BOREALIS;
|
|
54
52
|
|
|
55
53
|
// If the iconType passed is one of the prefab token types,
|
|
56
54
|
// grab its properties
|
|
@@ -12,13 +12,12 @@ import { css } from '@emotion/react';
|
|
|
12
12
|
import chroma from 'chroma-js';
|
|
13
13
|
import { logicalCSS, logicalSizeCSS, mathWithUnits } from '../../global_styling';
|
|
14
14
|
import { highContrastModeStyles } from '../../global_styling/functions/high_contrast';
|
|
15
|
-
import { euiPaletteColorBlind, euiPaletteColorBlindBehindText,
|
|
15
|
+
import { euiPaletteColorBlind, euiPaletteColorBlindBehindText, isColorDark, tint, shade } from '../../services';
|
|
16
16
|
import { TOKEN_COLOR_TO_ICON_COLOR_MAP } from './token_map';
|
|
17
17
|
var getTokenColor = function getTokenColor(euiThemeContext, fill, color) {
|
|
18
18
|
var euiTheme = euiThemeContext.euiTheme,
|
|
19
19
|
colorMode = euiThemeContext.colorMode,
|
|
20
20
|
highContrastMode = euiThemeContext.highContrastMode;
|
|
21
|
-
var hasVisColorAdjustment = euiTheme.flags.hasVisColorAdjustment;
|
|
22
21
|
// use inside function as they are not returning constants,
|
|
23
22
|
// but internally depend on EUI_VIS_COLOR_STORE to update per theme
|
|
24
23
|
var visColors = euiPaletteColorBlind();
|
|
@@ -33,7 +32,7 @@ var getTokenColor = function getTokenColor(euiThemeContext, fill, color) {
|
|
|
33
32
|
var iconColorToken = TOKEN_COLOR_TO_ICON_COLOR_MAP[iconColorKey];
|
|
34
33
|
return euiTheme.colors.vis[iconColorToken];
|
|
35
34
|
};
|
|
36
|
-
var lightColor =
|
|
35
|
+
var lightColor = isVizColor ? shade(getIconVisColor(euiTheme, color), 0.3) : iconColor;
|
|
37
36
|
var boxShadowColor = highContrastMode ? iconColor : isDarkMode ? shade(iconColor, 0.6) : tint(iconColor, 0.2);
|
|
38
37
|
var darkColor = isColorDark.apply(void 0, _toConsumableArray(chroma(backgroundDarkColor).rgb())) ? euiTheme.colors.ghost : euiTheme.colors.ink;
|
|
39
38
|
switch (fill) {
|
|
@@ -12,237 +12,7 @@
|
|
|
12
12
|
* circle shape for more uncommon token types so they grab attention.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
export var
|
|
16
|
-
tokenAlias: {
|
|
17
|
-
shape: 'circle',
|
|
18
|
-
color: 'euiColorVis3'
|
|
19
|
-
},
|
|
20
|
-
tokenAnnotation: {
|
|
21
|
-
shape: 'square',
|
|
22
|
-
color: 'euiColorVis5'
|
|
23
|
-
},
|
|
24
|
-
tokenArray: {
|
|
25
|
-
shape: 'square',
|
|
26
|
-
color: 'euiColorVis7'
|
|
27
|
-
},
|
|
28
|
-
tokenBinary: {
|
|
29
|
-
shape: 'square',
|
|
30
|
-
color: 'euiColorVis4'
|
|
31
|
-
},
|
|
32
|
-
tokenBoolean: {
|
|
33
|
-
shape: 'square',
|
|
34
|
-
color: 'euiColorVis7'
|
|
35
|
-
},
|
|
36
|
-
tokenClass: {
|
|
37
|
-
shape: 'circle',
|
|
38
|
-
color: 'euiColorVis1'
|
|
39
|
-
},
|
|
40
|
-
tokenCompletionSuggester: {
|
|
41
|
-
shape: 'square',
|
|
42
|
-
color: 'euiColorVis1'
|
|
43
|
-
},
|
|
44
|
-
tokenConstant: {
|
|
45
|
-
shape: 'circle',
|
|
46
|
-
color: 'euiColorVis0'
|
|
47
|
-
},
|
|
48
|
-
tokenDate: {
|
|
49
|
-
shape: 'square',
|
|
50
|
-
color: 'euiColorVis6'
|
|
51
|
-
},
|
|
52
|
-
tokenDimension: {
|
|
53
|
-
shape: 'square',
|
|
54
|
-
color: 'euiColorVis1'
|
|
55
|
-
},
|
|
56
|
-
tokenElement: {
|
|
57
|
-
shape: 'square',
|
|
58
|
-
color: 'euiColorVis3'
|
|
59
|
-
},
|
|
60
|
-
tokenEnum: {
|
|
61
|
-
shape: 'circle',
|
|
62
|
-
color: 'euiColorVis3'
|
|
63
|
-
},
|
|
64
|
-
tokenEnumMember: {
|
|
65
|
-
shape: 'square',
|
|
66
|
-
color: 'euiColorVis7'
|
|
67
|
-
},
|
|
68
|
-
tokenEvent: {
|
|
69
|
-
shape: 'circle',
|
|
70
|
-
color: 'euiColorVis4'
|
|
71
|
-
},
|
|
72
|
-
tokenException: {
|
|
73
|
-
shape: 'circle',
|
|
74
|
-
color: 'euiColorVis0'
|
|
75
|
-
},
|
|
76
|
-
tokenField: {
|
|
77
|
-
shape: 'circle',
|
|
78
|
-
color: 'euiColorVis0'
|
|
79
|
-
},
|
|
80
|
-
tokenFile: {
|
|
81
|
-
shape: 'square',
|
|
82
|
-
color: 'euiColorVis2'
|
|
83
|
-
},
|
|
84
|
-
tokenFlattened: {
|
|
85
|
-
shape: 'square',
|
|
86
|
-
color: 'euiColorVis7'
|
|
87
|
-
},
|
|
88
|
-
tokenFunction: {
|
|
89
|
-
shape: 'circle',
|
|
90
|
-
color: 'euiColorVis2'
|
|
91
|
-
},
|
|
92
|
-
tokenGeo: {
|
|
93
|
-
shape: 'square',
|
|
94
|
-
color: 'euiColorVis5'
|
|
95
|
-
},
|
|
96
|
-
tokenHistogram: {
|
|
97
|
-
shape: 'square',
|
|
98
|
-
color: 'euiColorVis6'
|
|
99
|
-
},
|
|
100
|
-
tokenInterface: {
|
|
101
|
-
shape: 'circle',
|
|
102
|
-
color: 'euiColorVis9'
|
|
103
|
-
},
|
|
104
|
-
tokenIP: {
|
|
105
|
-
shape: 'square',
|
|
106
|
-
color: 'euiColorVis9'
|
|
107
|
-
},
|
|
108
|
-
tokenJoin: {
|
|
109
|
-
shape: 'square',
|
|
110
|
-
color: 'euiColorVis5'
|
|
111
|
-
},
|
|
112
|
-
tokenKey: {
|
|
113
|
-
shape: 'circle',
|
|
114
|
-
color: 'euiColorVis5'
|
|
115
|
-
},
|
|
116
|
-
tokenKeyword: {
|
|
117
|
-
shape: 'square',
|
|
118
|
-
color: 'euiColorVis1'
|
|
119
|
-
},
|
|
120
|
-
tokenMethod: {
|
|
121
|
-
shape: 'square',
|
|
122
|
-
color: 'euiColorVis2'
|
|
123
|
-
},
|
|
124
|
-
tokenMetricCounter: {
|
|
125
|
-
shape: 'square',
|
|
126
|
-
color: 'euiColorVis0'
|
|
127
|
-
},
|
|
128
|
-
tokenMetricGauge: {
|
|
129
|
-
shape: 'square',
|
|
130
|
-
color: 'euiColorVis0'
|
|
131
|
-
},
|
|
132
|
-
tokenModule: {
|
|
133
|
-
shape: 'square',
|
|
134
|
-
color: 'euiColorVis4'
|
|
135
|
-
},
|
|
136
|
-
tokenNamespace: {
|
|
137
|
-
shape: 'square',
|
|
138
|
-
color: 'euiColorVis1'
|
|
139
|
-
},
|
|
140
|
-
tokenNested: {
|
|
141
|
-
shape: 'circle',
|
|
142
|
-
color: 'euiColorVis2'
|
|
143
|
-
},
|
|
144
|
-
tokenNull: {
|
|
145
|
-
shape: 'square',
|
|
146
|
-
color: 'euiColorVis2'
|
|
147
|
-
},
|
|
148
|
-
tokenNumber: {
|
|
149
|
-
shape: 'square',
|
|
150
|
-
color: 'euiColorVis0'
|
|
151
|
-
},
|
|
152
|
-
tokenObject: {
|
|
153
|
-
shape: 'circle',
|
|
154
|
-
color: 'euiColorVis3'
|
|
155
|
-
},
|
|
156
|
-
tokenOperator: {
|
|
157
|
-
shape: 'circle',
|
|
158
|
-
color: 'euiColorVis4'
|
|
159
|
-
},
|
|
160
|
-
tokenPackage: {
|
|
161
|
-
shape: 'square',
|
|
162
|
-
color: 'euiColorVis0'
|
|
163
|
-
},
|
|
164
|
-
tokenParameter: {
|
|
165
|
-
shape: 'square',
|
|
166
|
-
color: 'euiColorVis4'
|
|
167
|
-
},
|
|
168
|
-
tokenPercolator: {
|
|
169
|
-
shape: 'square',
|
|
170
|
-
color: 'euiColorVis6'
|
|
171
|
-
},
|
|
172
|
-
tokenProperty: {
|
|
173
|
-
shape: 'circle',
|
|
174
|
-
color: 'euiColorVis2'
|
|
175
|
-
},
|
|
176
|
-
tokenRange: {
|
|
177
|
-
shape: 'circle',
|
|
178
|
-
color: 'euiColorVis4'
|
|
179
|
-
},
|
|
180
|
-
tokenRankFeature: {
|
|
181
|
-
shape: 'square',
|
|
182
|
-
color: 'euiColorVis8'
|
|
183
|
-
},
|
|
184
|
-
tokenRankFeatures: {
|
|
185
|
-
shape: 'square',
|
|
186
|
-
color: 'euiColorVis3'
|
|
187
|
-
},
|
|
188
|
-
tokenRepo: {
|
|
189
|
-
shape: 'square',
|
|
190
|
-
color: 'euiColorVis1'
|
|
191
|
-
},
|
|
192
|
-
tokenSearchType: {
|
|
193
|
-
shape: 'square',
|
|
194
|
-
color: 'euiColorVis5'
|
|
195
|
-
},
|
|
196
|
-
tokenSemanticText: {
|
|
197
|
-
shape: 'square',
|
|
198
|
-
color: 'euiColorVis0'
|
|
199
|
-
},
|
|
200
|
-
tokenShape: {
|
|
201
|
-
shape: 'circle',
|
|
202
|
-
color: 'euiColorVis8'
|
|
203
|
-
},
|
|
204
|
-
tokenString: {
|
|
205
|
-
shape: 'square',
|
|
206
|
-
color: 'euiColorVis1'
|
|
207
|
-
},
|
|
208
|
-
tokenStruct: {
|
|
209
|
-
shape: 'square',
|
|
210
|
-
color: 'euiColorVis0'
|
|
211
|
-
},
|
|
212
|
-
tokenSymbol: {
|
|
213
|
-
shape: 'square',
|
|
214
|
-
color: 'euiColorVis0'
|
|
215
|
-
},
|
|
216
|
-
tokenTag: {
|
|
217
|
-
shape: 'square',
|
|
218
|
-
color: 'euiColorVis9'
|
|
219
|
-
},
|
|
220
|
-
tokenText: {
|
|
221
|
-
shape: 'square',
|
|
222
|
-
color: 'euiColorVis3'
|
|
223
|
-
},
|
|
224
|
-
tokenTokenCount: {
|
|
225
|
-
shape: 'square',
|
|
226
|
-
color: 'euiColorVis4'
|
|
227
|
-
},
|
|
228
|
-
tokenVariable: {
|
|
229
|
-
shape: 'circle',
|
|
230
|
-
color: 'euiColorVis7'
|
|
231
|
-
},
|
|
232
|
-
tokenVectorDense: {
|
|
233
|
-
shape: 'square',
|
|
234
|
-
color: 'euiColorVis5'
|
|
235
|
-
},
|
|
236
|
-
tokenDenseVector: {
|
|
237
|
-
shape: 'square',
|
|
238
|
-
color: 'euiColorVis5'
|
|
239
|
-
},
|
|
240
|
-
tokenVectorSparse: {
|
|
241
|
-
shape: 'square',
|
|
242
|
-
color: 'euiColorVis1'
|
|
243
|
-
}
|
|
244
|
-
};
|
|
245
|
-
export var TOKEN_MAP_BOREALIS = {
|
|
15
|
+
export var TOKEN_MAP = {
|
|
246
16
|
tokenAlias: {
|
|
247
17
|
shape: 'square',
|
|
248
18
|
color: 'euiColorVis0'
|