@elastic/eui 71.0.0 → 72.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/README.md +0 -7
- package/dist/eui_theme_dark.css +7747 -5854
- package/dist/eui_theme_dark.min.css +1 -1
- package/dist/eui_theme_light.css +7737 -5844
- package/dist/eui_theme_light.min.css +1 -1
- package/es/components/datagrid/data_grid.a11y.js +251 -0
- package/es/components/date_picker/auto_refresh/refresh_interval.js +3 -1
- package/es/components/date_picker/date_picker.a11y.js +83 -0
- package/es/components/date_picker/super_date_picker/quick_select_popover/commonly_used_time_ranges.js +5 -2
- package/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +3 -1
- package/es/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +160 -173
- package/es/components/date_picker/super_date_picker/quick_select_popover/recently_used.js +5 -2
- package/es/components/date_picker/super_date_picker/super_date_picker.js +16 -0
- package/es/components/delay_hide/delay_hide.a11y.js +106 -0
- package/es/components/delay_render/delay_render.a11y.js +106 -0
- package/es/components/empty_prompt/empty_prompt.a11y.js +63 -0
- package/es/components/error_boundary/error_boundary.a11y.js +67 -0
- package/es/components/error_boundary/error_boundary.js +45 -27
- package/es/components/expression/expression.a11y.js +254 -0
- package/es/components/filter_group/filter_group.a11y.js +281 -0
- package/es/components/focus_trap/focus_trap.a11y.js +131 -0
- package/es/components/form/file_picker/file_picker.js +1 -0
- package/es/components/header/header.a11y.js +374 -0
- package/es/components/icon/icon_ML.a11y.js +33 -0
- package/es/components/icon/icon_apps.a11y.js +33 -0
- package/es/components/icon/icon_editor.a11y.js +33 -0
- package/es/components/icon/icon_elastic.a11y.js +33 -0
- package/es/components/icon/icon_glyphs.a11y.js +33 -0
- package/es/components/icon/icon_tokens.a11y.js +33 -0
- package/es/components/markdown_editor/plugins/markdown_default_plugins/parsing_plugins.js +1 -1
- package/es/components/page/page_side_bar/page_side_bar.js +3 -0
- package/es/components/page/page_template.js +1 -15
- package/es/components/selectable/selectable.js +4 -3
- package/es/components/selectable/selectable_list/selectable_list.js +17 -5
- package/es/components/tabs/tab.js +7 -17
- package/es/components/tabs/tabbed_content/tabbed_content.js +0 -16
- package/es/components/tabs/tabs.js +7 -11
- package/es/components/tabs/tabs_context.js +13 -0
- package/eui.d.ts +60 -43
- package/i18ntokens.json +34 -18
- package/lib/components/datagrid/data_grid.a11y.js +255 -0
- package/lib/components/date_picker/auto_refresh/refresh_interval.js +3 -1
- package/lib/components/date_picker/date_picker.a11y.js +89 -0
- package/lib/components/date_picker/super_date_picker/quick_select_popover/commonly_used_time_ranges.js +5 -2
- package/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +3 -1
- package/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +155 -168
- package/lib/components/date_picker/super_date_picker/quick_select_popover/recently_used.js +5 -2
- package/lib/components/date_picker/super_date_picker/super_date_picker.js +16 -0
- package/lib/components/delay_hide/delay_hide.a11y.js +111 -0
- package/lib/components/delay_render/delay_render.a11y.js +111 -0
- package/lib/components/empty_prompt/empty_prompt.a11y.js +72 -0
- package/lib/components/error_boundary/error_boundary.a11y.js +75 -0
- package/lib/components/error_boundary/error_boundary.js +49 -29
- package/lib/components/expression/expression.a11y.js +262 -0
- package/lib/components/filter_group/filter_group.a11y.js +287 -0
- package/lib/components/focus_trap/focus_trap.a11y.js +140 -0
- package/lib/components/form/file_picker/file_picker.js +1 -0
- package/lib/components/header/header.a11y.js +385 -0
- package/lib/components/icon/icon_ML.a11y.js +40 -0
- package/lib/components/icon/icon_apps.a11y.js +40 -0
- package/lib/components/icon/icon_editor.a11y.js +40 -0
- package/lib/components/icon/icon_elastic.a11y.js +40 -0
- package/lib/components/icon/icon_glyphs.a11y.js +40 -0
- package/lib/components/icon/icon_tokens.a11y.js +40 -0
- package/lib/components/markdown_editor/plugins/markdown_default_plugins/parsing_plugins.js +2 -2
- package/lib/components/page/page_side_bar/page_side_bar.js +4 -0
- package/lib/components/page/page_template.js +1 -15
- package/lib/components/selectable/selectable.js +4 -3
- package/lib/components/selectable/selectable_list/selectable_list.js +17 -5
- package/lib/components/tabs/tab.js +14 -17
- package/lib/components/tabs/tabbed_content/tabbed_content.js +0 -16
- package/lib/components/tabs/tabs.js +8 -14
- package/lib/components/tabs/tabs_context.js +23 -0
- package/optimize/es/components/datagrid/data_grid.a11y.js +234 -0
- package/optimize/es/components/date_picker/auto_refresh/refresh_interval.js +3 -1
- package/optimize/es/components/date_picker/date_picker.a11y.js +73 -0
- package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/commonly_used_time_ranges.js +5 -2
- package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +3 -1
- package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +145 -169
- package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/recently_used.js +5 -2
- package/optimize/es/components/date_picker/super_date_picker/super_date_picker.js +2 -0
- package/optimize/es/components/delay_hide/delay_hide.a11y.js +96 -0
- package/optimize/es/components/delay_render/delay_render.a11y.js +96 -0
- package/optimize/es/components/empty_prompt/empty_prompt.a11y.js +63 -0
- package/optimize/es/components/error_boundary/error_boundary.a11y.js +67 -0
- package/optimize/es/components/error_boundary/error_boundary.js +37 -26
- package/optimize/es/components/expression/expression.a11y.js +243 -0
- package/optimize/es/components/filter_group/filter_group.a11y.js +271 -0
- package/optimize/es/components/focus_trap/focus_trap.a11y.js +120 -0
- package/optimize/es/components/form/file_picker/file_picker.js +1 -0
- package/optimize/es/components/header/header.a11y.js +364 -0
- package/optimize/es/components/icon/icon_ML.a11y.js +33 -0
- package/optimize/es/components/icon/icon_apps.a11y.js +33 -0
- package/optimize/es/components/icon/icon_editor.a11y.js +33 -0
- package/optimize/es/components/icon/icon_elastic.a11y.js +33 -0
- package/optimize/es/components/icon/icon_glyphs.a11y.js +33 -0
- package/optimize/es/components/icon/icon_tokens.a11y.js +33 -0
- package/optimize/es/components/markdown_editor/plugins/markdown_default_plugins/parsing_plugins.js +1 -1
- package/optimize/es/components/page/page_side_bar/page_side_bar.js +3 -0
- package/optimize/es/components/selectable/selectable.js +2 -2
- package/optimize/es/components/selectable/selectable_list/selectable_list.js +15 -4
- package/optimize/es/components/tabs/tab.js +7 -5
- package/optimize/es/components/tabs/tabs.js +7 -11
- package/optimize/es/components/tabs/tabs_context.js +13 -0
- package/optimize/lib/components/datagrid/data_grid.a11y.js +248 -0
- package/optimize/lib/components/date_picker/auto_refresh/refresh_interval.js +3 -1
- package/optimize/lib/components/date_picker/date_picker.a11y.js +87 -0
- package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/commonly_used_time_ranges.js +5 -2
- package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +3 -1
- package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +146 -167
- package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/recently_used.js +5 -2
- package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.js +2 -0
- package/optimize/lib/components/delay_hide/delay_hide.a11y.js +111 -0
- package/optimize/lib/components/delay_render/delay_render.a11y.js +111 -0
- package/optimize/lib/components/empty_prompt/empty_prompt.a11y.js +72 -0
- package/optimize/lib/components/error_boundary/error_boundary.a11y.js +75 -0
- package/optimize/lib/components/error_boundary/error_boundary.js +41 -28
- package/optimize/lib/components/expression/expression.a11y.js +254 -0
- package/optimize/lib/components/filter_group/filter_group.a11y.js +287 -0
- package/optimize/lib/components/focus_trap/focus_trap.a11y.js +140 -0
- package/optimize/lib/components/form/file_picker/file_picker.js +1 -0
- package/optimize/lib/components/header/header.a11y.js +385 -0
- package/optimize/lib/components/icon/icon_ML.a11y.js +40 -0
- package/optimize/lib/components/icon/icon_apps.a11y.js +40 -0
- package/optimize/lib/components/icon/icon_editor.a11y.js +40 -0
- package/optimize/lib/components/icon/icon_elastic.a11y.js +40 -0
- package/optimize/lib/components/icon/icon_glyphs.a11y.js +40 -0
- package/optimize/lib/components/icon/icon_tokens.a11y.js +40 -0
- package/optimize/lib/components/markdown_editor/plugins/markdown_default_plugins/parsing_plugins.js +2 -2
- package/optimize/lib/components/page/page_side_bar/page_side_bar.js +4 -0
- package/optimize/lib/components/selectable/selectable.js +2 -2
- package/optimize/lib/components/selectable/selectable_list/selectable_list.js +15 -4
- package/optimize/lib/components/tabs/tab.js +15 -5
- package/optimize/lib/components/tabs/tabs.js +8 -14
- package/optimize/lib/components/tabs/tabs_context.js +23 -0
- package/package.json +14 -19
- package/src/components/basic_table/_basic_table.scss +1 -4
- package/src/components/button/button_empty/_button_empty.scss +2 -4
- package/src/components/button/button_group/_button_group.scss +1 -1
- package/src/components/button/button_group/_button_group_button.scss +3 -4
- package/src/components/button/button_icon/_button_icon.scss +0 -3
- package/src/components/collapsible_nav/_collapsible_nav.scss +1 -1
- package/src/components/collapsible_nav/collapsible_nav_group/_collapsible_nav_group.scss +1 -1
- package/src/components/color_picker/_color_picker.scss +3 -2
- package/src/components/color_picker/_hue.scss +7 -7
- package/src/components/color_picker/_saturation.scss +1 -1
- package/src/components/color_picker/color_palette_display/_mixins.scss +1 -1
- package/src/components/color_picker/color_stops/_color_stops.scss +2 -3
- package/src/components/combo_box/_combo_box.scss +7 -6
- package/src/components/combo_box/combo_box_input/_combo_box_input.scss +2 -1
- package/src/components/combo_box/combo_box_input/_combo_box_placeholder.scss +1 -1
- package/src/components/combo_box/combo_box_options_list/_combo_box_options_list.scss +2 -3
- package/src/components/control_bar/_variables.scss +0 -1
- package/src/components/datagrid/_data_grid_data_row.scss +4 -5
- package/src/components/datagrid/_mixins.scss +1 -1
- package/src/components/datagrid/body/_data_grid_footer_row.scss +2 -1
- package/src/components/datagrid/body/header/_data_grid_column_resizer.scss +3 -4
- package/src/components/datagrid/body/header/_data_grid_header_row.scss +1 -1
- package/src/components/datagrid/controls/_data_grid_column_sorting.scss +1 -2
- package/src/components/date_picker/_date_picker_range.scss +1 -1
- package/src/components/date_picker/super_date_picker/_super_date_picker.scss +1 -4
- package/src/components/date_picker/super_date_picker/quick_select_popover/_quick_select_popover.scss +15 -1
- package/src/components/drag_and_drop/_draggable.scss +3 -5
- package/src/components/drag_and_drop/_droppable.scss +1 -1
- package/src/components/empty_prompt/_empty_prompt.scss +1 -1
- package/src/components/filter_group/_filter_group.scss +2 -2
- package/src/components/filter_group/_filter_select_item.scss +0 -1
- package/src/components/form/checkbox/_checkbox.scss +5 -3
- package/src/components/form/described_form_group/_described_form_group.scss +0 -1
- package/src/components/form/field_password/_field_password.scss +1 -1
- package/src/components/form/field_search/_field_search.scss +1 -1
- package/src/components/form/file_picker/_file_picker.scss +15 -16
- package/src/components/form/form_control_layout/_form_control_layout.scss +6 -7
- package/src/components/form/form_control_layout/_form_control_layout_delimited.scss +4 -6
- package/src/components/form/form_row/_form_row.scss +3 -0
- package/src/components/form/radio/_radio.scss +5 -3
- package/src/components/form/select/_select.scss +1 -1
- package/src/components/form/switch/_switch.scss +3 -1
- package/src/components/header/_mixins.scss +1 -1
- package/src/components/header/header_section/_header_section_item.scss +4 -4
- package/src/components/header/header_section/_header_section_item_button.scss +0 -1
- package/src/components/key_pad_menu/_key_pad_menu_item.scss +2 -7
- package/src/components/markdown_editor/_markdown_editor_drop_zone.scss +4 -4
- package/src/components/markdown_editor/_markdown_editor_footer.scss +1 -1
- package/src/components/markdown_editor/_markdown_editor_text_area.scss +2 -3
- package/src/components/markdown_editor/_markdown_format.scss +4 -2
- package/src/components/notification/_notification_event.scss +2 -2
- package/src/components/page/page_content/_page_content_body.scss +0 -1
- package/src/components/page/page_content/_page_content_header_section.scss +0 -1
- package/src/components/page/page_side_bar/_page_side_bar.scss +0 -1
- package/src/components/panel/split_panel/_split_panel.scss +2 -2
- package/src/components/resizable_container/_resizable_button.scss +31 -31
- package/src/components/resizable_container/_resizable_collapse_button.scss +9 -9
- package/src/components/selectable/selectable_templates/_selectable_template_sitewide_option.scss +1 -1
- package/src/components/side_nav/_mixins.scss +1 -1
- package/src/components/side_nav/_side_nav.scss +2 -1
- package/src/components/side_nav/_side_nav_item.scss +2 -3
- package/src/components/steps/_steps.scss +2 -1
- package/src/components/suggest/_suggest_input.scss +1 -1
- package/src/components/suggest/_suggest_item.scss +4 -3
- package/src/components/table/_responsive.scss +5 -3
- package/src/components/table/_table.scss +2 -4
- package/src/components/table/mobile/_mobile.scss +0 -2
- package/src/components/tree_view/tree_view.scss +2 -2
- package/src/global_styling/mixins/_form.scss +7 -18
- package/src/global_styling/mixins/_header.scss +2 -2
- package/src/global_styling/mixins/_helpers.scss +1 -2
- package/src/global_styling/mixins/_icons.scss +1 -1
- package/src/global_styling/mixins/_range.scss +4 -8
- package/src/global_styling/mixins/_responsive.scss +3 -8
- package/src/global_styling/mixins/_shadow.scss +5 -9
- package/src/global_styling/mixins/_states.scss +2 -2
- package/src/global_styling/mixins/_typography.scss +16 -19
- package/src/global_styling/variables/_colors_vis.scss +1 -1
- package/src/global_styling/variables/_typography.scss +1 -3
- package/src/themes/amsterdam/_colors_dark.scss +2 -1
- package/src/themes/amsterdam/_colors_light.scss +2 -0
- package/src/themes/amsterdam/global_styling/mixins/_link.scss +1 -1
- package/src/themes/amsterdam/global_styling/mixins/_states.scss +0 -1
- package/src/themes/amsterdam/global_styling/mixins/_typography.scss +1 -2
- package/src/themes/amsterdam/global_styling/react_date_picker/_date_picker_days.scss +0 -1
- package/src/themes/amsterdam/global_styling/react_date_picker/_date_picker_month_year.scss +0 -1
- package/src/themes/amsterdam/global_styling/react_date_picker/_date_picker_times.scss +3 -4
- package/src/themes/amsterdam/global_styling/react_date_picker/_mixins.scss +0 -1
- package/src/themes/amsterdam/global_styling/variables/_typography.scss +1 -2
- package/src/themes/amsterdam/overrides/_color_stops.scss +4 -5
- package/src/themes/amsterdam/overrides/_combo_box.scss +3 -0
- package/src/themes/amsterdam/overrides/_form_control_layout.scss +3 -0
- package/src/themes/amsterdam/overrides/_form_control_layout_delimited.scss +5 -4
- package/src/themes/amsterdam/overrides/_header.scss +2 -2
- package/src/themes/amsterdam/overrides/_hue.scss +6 -6
- package/src/themes/amsterdam/overrides/_key_pad_menu.scss +2 -2
- package/src/themes/amsterdam/overrides/_steps.scss +1 -2
- package/src/themes/legacy/_colors_dark.scss +2 -1
- package/src/themes/legacy/_colors_light.scss +2 -0
- package/src/themes/legacy/reset/_reset.scss +8 -7
- package/test-env/components/datagrid/data_grid.a11y.js +248 -0
- package/test-env/components/date_picker/auto_refresh/refresh_interval.js +3 -1
- package/test-env/components/date_picker/date_picker.a11y.js +87 -0
- package/test-env/components/date_picker/super_date_picker/quick_select_popover/commonly_used_time_ranges.js +5 -2
- package/test-env/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +3 -1
- package/test-env/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +153 -166
- package/test-env/components/date_picker/super_date_picker/quick_select_popover/recently_used.js +5 -2
- package/test-env/components/date_picker/super_date_picker/super_date_picker.js +16 -0
- package/test-env/components/delay_hide/delay_hide.a11y.js +111 -0
- package/test-env/components/delay_render/delay_render.a11y.js +111 -0
- package/test-env/components/empty_prompt/empty_prompt.a11y.js +72 -0
- package/test-env/components/error_boundary/error_boundary.a11y.js +75 -0
- package/test-env/components/error_boundary/error_boundary.js +48 -28
- package/test-env/components/expression/expression.a11y.js +254 -0
- package/test-env/components/filter_group/filter_group.a11y.js +287 -0
- package/test-env/components/focus_trap/focus_trap.a11y.js +140 -0
- package/test-env/components/form/file_picker/file_picker.js +1 -0
- package/test-env/components/header/header.a11y.js +385 -0
- package/test-env/components/icon/icon_ML.a11y.js +40 -0
- package/test-env/components/icon/icon_apps.a11y.js +40 -0
- package/test-env/components/icon/icon_editor.a11y.js +40 -0
- package/test-env/components/icon/icon_elastic.a11y.js +40 -0
- package/test-env/components/icon/icon_glyphs.a11y.js +40 -0
- package/test-env/components/icon/icon_tokens.a11y.js +40 -0
- package/test-env/components/markdown_editor/plugins/markdown_default_plugins/parsing_plugins.js +2 -2
- package/test-env/components/page/page_side_bar/page_side_bar.js +4 -0
- package/test-env/components/page/page_template.js +1 -15
- package/test-env/components/selectable/selectable.js +4 -3
- package/test-env/components/selectable/selectable_list/selectable_list.js +17 -5
- package/test-env/components/tabs/tab.js +15 -17
- package/test-env/components/tabs/tabbed_content/tabbed_content.js +0 -16
- package/test-env/components/tabs/tabs.js +8 -14
- package/test-env/components/tabs/tabs_context.js +23 -0
- package/scripts/postinstall.js +0 -9
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
.euiMarkdownEditorTextArea,
|
|
28
28
|
.euiMarkdownEditorTextArea:focus,
|
|
29
29
|
.euiMarkdownEditor:focus-within .euiMarkdownEditorTextArea {
|
|
30
|
-
//
|
|
30
|
+
// stylelint-disable-next-line declaration-no-important
|
|
31
31
|
background-color: transparentize($euiColorPrimary, .9) !important;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.euiMarkdownEditorTextArea,
|
|
35
35
|
.euiMarkdownEditorTextArea:focus {
|
|
36
|
-
//
|
|
36
|
+
// stylelint-disable-next-line declaration-no-important
|
|
37
37
|
background-image: euiFormControlGradient($euiColorPrimary) !important;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
.euiMarkdownEditorTextArea,
|
|
44
44
|
.euiMarkdownEditorTextArea:focus,
|
|
45
45
|
.euiMarkdownEditor:focus-within .euiMarkdownEditorTextArea {
|
|
46
|
-
//
|
|
46
|
+
// stylelint-disable-next-line declaration-no-important
|
|
47
47
|
background-color: transparentize($euiColorDanger, .9) !important;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
&--hasError {
|
|
52
52
|
.euiMarkdownEditorTextArea,
|
|
53
53
|
.euiMarkdownEditorTextArea:focus {
|
|
54
|
-
//
|
|
54
|
+
// stylelint-disable-next-line declaration-no-important
|
|
55
55
|
background-image: euiFormControlGradient($euiColorDanger) !important;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
// overrides button empty styles so it can match the button icon
|
|
24
|
-
// So when we have an error this button appears smoothly
|
|
24
|
+
// So when we have an error this button appears smoothly
|
|
25
25
|
.euiMarkdownEditorFooter__uploadError {
|
|
26
26
|
position: relative;
|
|
27
27
|
left: -1px;
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
// Removes default firefox margin
|
|
17
17
|
margin: 0;
|
|
18
18
|
|
|
19
|
-
// sass-lint:disable-block indentation
|
|
20
19
|
transition:
|
|
21
20
|
box-shadow $euiAnimSpeedFast ease-in,
|
|
22
21
|
background-image $euiAnimSpeedFast ease-in,
|
|
@@ -26,7 +25,7 @@
|
|
|
26
25
|
&:focus,
|
|
27
26
|
// preventing the text area of loosing focus when clicking on an action button
|
|
28
27
|
// from the toolbar
|
|
29
|
-
.euiMarkdownEditor:focus-within &
|
|
28
|
+
.euiMarkdownEditor:focus-within & {
|
|
30
29
|
background-color: tintOrShade($euiColorEmptyShade, 0%, 40%);
|
|
31
30
|
background-image: euiFormControlGradient();
|
|
32
31
|
background-size: 100% 100%;
|
|
@@ -41,4 +40,4 @@
|
|
|
41
40
|
.euiMarkdownEditor:focus-within & {
|
|
42
41
|
background: none;
|
|
43
42
|
}
|
|
44
|
-
}
|
|
43
|
+
}
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
.euiMarkdownFormat {
|
|
35
35
|
$euiMarkdownAlphaShade: rgba($euiColorFullShade, .15);
|
|
36
36
|
|
|
37
|
+
// stylelint-disable indentation
|
|
37
38
|
$euiMarkdownBorderColors: (
|
|
38
39
|
default: $euiMarkdownAlphaShade,
|
|
39
40
|
subdued: $euiTextSubduedColor,
|
|
@@ -45,6 +46,7 @@
|
|
|
45
46
|
inherit: currentColor,
|
|
46
47
|
custom: currentColor,
|
|
47
48
|
);
|
|
49
|
+
// stylelint-enable indentation
|
|
48
50
|
|
|
49
51
|
// We're adjusting the borders of the elements by passing a color defined in $euiMarkdownBorderColors.
|
|
50
52
|
// For the `custom` and `inherit` colors we're assigning the `currentColor` so we can get the current or computed value of the `color` property
|
|
@@ -59,12 +61,12 @@
|
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
.euiCheckbox {
|
|
62
|
-
//
|
|
64
|
+
// stylelint-disable-next-line declaration-no-important
|
|
63
65
|
margin-bottom: 0 !important;
|
|
64
66
|
}
|
|
65
67
|
|
|
66
68
|
// We're adjusting the position of the checkboxes so that when the text size is `relative` the checkboxes get better positioned
|
|
67
|
-
.euiCheckbox .euiCheckbox__input + .euiCheckbox__square
|
|
69
|
+
.euiCheckbox .euiCheckbox__input + .euiCheckbox__square {
|
|
68
70
|
top: 50%;
|
|
69
71
|
transform: translateY(-50%);
|
|
70
72
|
}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
&--isRead {
|
|
25
|
-
color: $euiColorDarkShade !important; //
|
|
25
|
+
color: $euiColorDarkShade !important; // stylelint-disable-line declaration-no-important
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -37,4 +37,4 @@
|
|
|
37
37
|
margin-top: $euiSizeS;
|
|
38
38
|
margin-right: $euiSizeM;
|
|
39
39
|
}
|
|
40
|
-
}
|
|
40
|
+
}
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
.euiSplitPanel__inner {
|
|
8
8
|
flex-basis: 0%; // Make sure they're evenly split
|
|
9
9
|
// Ensure no movement if they have click handlers
|
|
10
|
-
transform: none !important; //
|
|
11
|
-
box-shadow: none !important; //
|
|
10
|
+
transform: none !important; // stylelint-disable-line declaration-no-important
|
|
11
|
+
box-shadow: none !important; // stylelint-disable-line declaration-no-important
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -5,20 +5,20 @@
|
|
|
5
5
|
flex-shrink: 0;
|
|
6
6
|
z-index: 1;
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
&::before,
|
|
9
|
+
&::after {
|
|
10
10
|
content: '';
|
|
11
11
|
display: block;
|
|
12
12
|
position: absolute;
|
|
13
13
|
top: 50%;
|
|
14
14
|
left: 50%;
|
|
15
15
|
background-color: $euiColorDarkestShade;
|
|
16
|
-
transition:
|
|
16
|
+
transition:
|
|
17
17
|
width $euiResizableButtonTransitionSpeed ease,
|
|
18
18
|
height $euiResizableButtonTransitionSpeed ease,
|
|
19
19
|
transform $euiResizableButtonTransitionSpeed ease,
|
|
20
20
|
background-color $euiResizableButtonTransitionSpeed ease
|
|
21
|
-
|
|
21
|
+
;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
&.euiResizableButton--horizontal {
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
margin-left: -($euiResizableButtonSize / 2);
|
|
28
28
|
margin-right: -($euiResizableButtonSize / 2);
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
&::before,
|
|
31
|
+
&::after {
|
|
32
32
|
width: 1px;
|
|
33
33
|
height: $euiSizeM;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
&::before {
|
|
37
37
|
transform: translate(-2px, -50%);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
&::after {
|
|
41
41
|
transform: translate(1px, -50%);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -48,82 +48,82 @@
|
|
|
48
48
|
margin-top: -($euiResizableButtonSize / 2);
|
|
49
49
|
margin-bottom: -($euiResizableButtonSize / 2);
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
&::before,
|
|
52
|
+
&::after {
|
|
53
53
|
width: $euiSizeM;
|
|
54
54
|
height: 1px;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
&::before {
|
|
58
58
|
transform: translate(-50%, -2px);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
&::after {
|
|
62
62
|
transform: translate(-50%, 1px);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
//Lighten the "grab" icon on :hover
|
|
66
|
+
// Lighten the "grab" icon on :hover
|
|
67
67
|
&:hover:not(:disabled) {
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
&::before,
|
|
69
|
+
&::after {
|
|
70
70
|
background-color: $euiColorMediumShade;
|
|
71
|
-
transition-delay: $euiResizableButtonTransitionSpeed; //Delay transition on hover so animation is not accidentally triggered on mouse over
|
|
71
|
+
transition-delay: $euiResizableButtonTransitionSpeed; // Delay transition on hover so animation is not accidentally triggered on mouse over
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
//Add a transparent background to the container and emphasis the "grab" icon with primary color on :focus
|
|
75
|
+
// Add a transparent background to the container and emphasis the "grab" icon with primary color on :focus
|
|
76
76
|
&:focus:not(:disabled) {
|
|
77
77
|
background-color: transparentize($euiColorPrimary, .9);
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
&::before,
|
|
80
|
+
&::after {
|
|
81
81
|
background-color: $euiColorPrimary;
|
|
82
82
|
// Overrides default transition so that "grab" icon background-color doesn't animate
|
|
83
|
-
transition:
|
|
83
|
+
transition:
|
|
84
84
|
width $euiResizableButtonTransitionSpeed ease,
|
|
85
85
|
height $euiResizableButtonTransitionSpeed ease,
|
|
86
86
|
transform $euiResizableButtonTransitionSpeed ease
|
|
87
|
-
|
|
87
|
+
;
|
|
88
88
|
transition-delay: $euiResizableButtonTransitionSpeed / 2;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
//Morph the "grab" icon into a fluid 2px straight line on :hover and :focus
|
|
92
|
+
// Morph the "grab" icon into a fluid 2px straight line on :hover and :focus
|
|
93
93
|
&:hover:not(:disabled),
|
|
94
94
|
&:focus:not(:disabled) {
|
|
95
95
|
&.euiResizableButton--horizontal {
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
&::before,
|
|
97
|
+
&::after {
|
|
98
98
|
height: 100%;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
&::before {
|
|
102
102
|
transform: translate(-1px, -50%);
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
&::after {
|
|
106
106
|
transform: translate(0, -50%);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
&.euiResizableButton--vertical {
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
&::before,
|
|
112
|
+
&::after {
|
|
113
113
|
width: 100%;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
|
|
116
|
+
&::before {
|
|
117
117
|
transform: translate(-50%, -1px);
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
&::after {
|
|
121
121
|
transform: translate(-50%, 0);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
&:disabled {
|
|
127
|
-
display: none !important; //
|
|
127
|
+
display: none !important; // stylelint-disable-line declaration-no-important
|
|
128
128
|
}
|
|
129
129
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file has lots of modifiers and is somewhat nesty by nature because of positioning
|
|
2
|
-
//
|
|
2
|
+
// stylelint-disable max-nesting-depth
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* 1. The default position of the button should always be `middle`, so
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
position: absolute;
|
|
14
14
|
z-index: 2;
|
|
15
15
|
// Remove animations from EuiButtonIcon because of the custom transforms
|
|
16
|
-
animation: none !important; //
|
|
16
|
+
animation: none !important; // stylelint-disable-line declaration-no-important
|
|
17
17
|
// Remove transition from EuiButtonIcon because of the custom transforms
|
|
18
18
|
transition-property: background, box-shadow;
|
|
19
19
|
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
&.euiResizableToggleButton-isCollapsed {
|
|
72
|
-
top: 0 !important; //
|
|
73
|
-
bottom: 0 !important; //
|
|
74
|
-
transform: none !important; //
|
|
72
|
+
top: 0 !important; // stylelint-disable-line declaration-no-important
|
|
73
|
+
bottom: 0 !important; // stylelint-disable-line declaration-no-important
|
|
74
|
+
transform: none !important; // stylelint-disable-line declaration-no-important
|
|
75
75
|
height: 100%;
|
|
76
76
|
|
|
77
77
|
&.euiResizableToggleButton--top {
|
|
@@ -124,10 +124,10 @@
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
&.euiResizableToggleButton-isCollapsed {
|
|
127
|
-
top: 0 !important; //
|
|
128
|
-
bottom: 0 !important; //
|
|
129
|
-
left: 0 !important; //
|
|
130
|
-
transform: none !important; //
|
|
127
|
+
top: 0 !important; // stylelint-disable-line declaration-no-important
|
|
128
|
+
bottom: 0 !important; // stylelint-disable-line declaration-no-important
|
|
129
|
+
left: 0 !important; // stylelint-disable-line declaration-no-important
|
|
130
|
+
transform: none !important; // stylelint-disable-line declaration-no-important
|
|
131
131
|
width: 100%;
|
|
132
132
|
|
|
133
133
|
&.euiResizableToggleButton--left {
|
package/src/components/selectable/selectable_templates/_selectable_template_sitewide_option.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.euiSelectableTemplateSitewide__listItem {
|
|
2
2
|
.euiSelectableListItem__text {
|
|
3
|
-
text-decoration: none !important; //
|
|
3
|
+
text-decoration: none !important; // stylelint-disable-line declaration-no-important
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
// TODO: Any better way to override this focus underline?
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
border-bottom: $euiBorderThin;
|
|
5
5
|
width: 100%;
|
|
6
6
|
text-align: left;
|
|
7
|
-
border-radius: 0 !important; //
|
|
7
|
+
border-radius: 0 !important; // stylelint-disable-line declaration-no-important
|
|
8
8
|
font-size: $euiFontSizeM;
|
|
9
9
|
padding: 0 $euiSize; // This plus the inner padding is equal to paddingSize large for EuiPage
|
|
10
10
|
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
// Loop through the breakpoints and apply mobile styles only to the right className
|
|
25
|
+
// stylelint-disable max-nesting-depth
|
|
25
26
|
@each $breakpoint in $euiBreakpointKeys {
|
|
26
27
|
@include euiBreakpoint($breakpoint) {
|
|
27
28
|
.euiSideNav__contentMobile-#{$breakpoint} {
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* 4. Restrict the underline to the button __label so it doesn't affect other components that might live within
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
|
|
9
8
|
.euiSideNavItemButton {
|
|
10
9
|
@include euiFontSizeS;
|
|
11
10
|
text-align: left; /* 1 */
|
|
@@ -89,7 +88,7 @@
|
|
|
89
88
|
position: static;
|
|
90
89
|
margin-left: 0;
|
|
91
90
|
|
|
92
|
-
|
|
91
|
+
&::after {
|
|
93
92
|
display: none;
|
|
94
93
|
}
|
|
95
94
|
}
|
|
@@ -148,7 +147,7 @@
|
|
|
148
147
|
padding-left: $euiSizeS;
|
|
149
148
|
padding-right: $euiSizeS; /* 2 */
|
|
150
149
|
|
|
151
|
-
|
|
150
|
+
&::after {
|
|
152
151
|
position: absolute; /* 2 */
|
|
153
152
|
content: '';
|
|
154
153
|
top: $euiSizeM;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
.euiStep {
|
|
6
|
-
// sass-lint:disable indentation
|
|
7
6
|
// Create border on all but the last step
|
|
8
7
|
&:not(:last-of-type) {
|
|
8
|
+
// stylelint-disable indentation
|
|
9
9
|
background-image: linear-gradient(
|
|
10
10
|
to right,
|
|
11
11
|
transparent 0,
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
transparent ($euiSize + 1),
|
|
16
16
|
transparent 100%
|
|
17
17
|
);
|
|
18
|
+
// stylelint-enable indentation
|
|
18
19
|
background-repeat: no-repeat;
|
|
19
20
|
background-position: left $euiSizeXXL;
|
|
20
21
|
}
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
|
|
18
18
|
// When `onClick` is provided, EuiSuggestItem renders as a <button>
|
|
19
19
|
// and we want to adjust styles to better afford the interaction
|
|
20
|
-
|
|
20
|
+
// stylelint-disable selector-no-qualifying-type
|
|
21
|
+
button.euiSuggestItem {
|
|
21
22
|
width: 100%;
|
|
22
23
|
text-align: left;
|
|
23
24
|
|
|
@@ -31,6 +32,7 @@ button.euiSuggestItem { // sass-lint:disable-line no-qualifying-elements
|
|
|
31
32
|
}
|
|
32
33
|
}
|
|
33
34
|
}
|
|
35
|
+
// stylelint-enable selector-no-qualifying-type
|
|
34
36
|
|
|
35
37
|
@each $name, $color in $euiSuggestItemColors {
|
|
36
38
|
.euiSuggestItem__type--#{$name} {
|
|
@@ -84,11 +86,10 @@ button.euiSuggestItem { // sass-lint:disable-line no-qualifying-elements
|
|
|
84
86
|
|
|
85
87
|
&.euiSuggestItem__description--wrap {
|
|
86
88
|
@include euiTextBreakWord;
|
|
87
|
-
white-space: normal !important; //
|
|
89
|
+
white-space: normal !important; // stylelint-disable-line declaration-no-important
|
|
88
90
|
}
|
|
89
91
|
}
|
|
90
92
|
|
|
91
|
-
|
|
92
93
|
// For specifically within EuiSelectable
|
|
93
94
|
|
|
94
95
|
.euiSuggestItemOption {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// TODO: Address nesting during Emotion conversion, if possible
|
|
2
|
+
// stylelint-disable max-nesting-depth
|
|
3
|
+
|
|
1
4
|
.euiTableRowCell__mobileHeader {
|
|
2
5
|
// Don't display by default unless table is responsive
|
|
3
6
|
display: none;
|
|
@@ -5,20 +8,19 @@
|
|
|
5
8
|
|
|
6
9
|
@include euiBreakpoint('xs', 's') {
|
|
7
10
|
.euiTableRowCell--hideForMobile { // must come last to override any special cases
|
|
8
|
-
//
|
|
11
|
+
// stylelint-disable-next-line declaration-no-important
|
|
9
12
|
display: none !important;
|
|
10
13
|
}
|
|
11
14
|
}
|
|
12
15
|
|
|
13
16
|
@include euiBreakpoint('m', 'l', 'xl') {
|
|
14
17
|
.euiTableRowCell--hideForDesktop { // must come last to override any special cases
|
|
15
|
-
//
|
|
18
|
+
// stylelint-disable-next-line declaration-no-important
|
|
16
19
|
display: none !important;
|
|
17
20
|
}
|
|
18
21
|
}
|
|
19
22
|
|
|
20
23
|
@include euiBreakpoint('xs', 's') {
|
|
21
|
-
|
|
22
24
|
.euiTable.euiTable--responsive {
|
|
23
25
|
// Not allowing compressed styles in mobile view (for now)
|
|
24
26
|
|
|
@@ -82,9 +82,7 @@
|
|
|
82
82
|
background-color: $euiTableHoverColor;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
|
|
86
85
|
&.euiTableRow-isClickable {
|
|
87
|
-
|
|
88
86
|
&:hover {
|
|
89
87
|
background-color: $euiTableHoverClickableColor;
|
|
90
88
|
cursor: pointer;
|
|
@@ -111,7 +109,7 @@
|
|
|
111
109
|
}
|
|
112
110
|
|
|
113
111
|
&:hover,
|
|
114
|
-
&:hover + .euiTableRow.euiTableRow-isExpandedRow .euiTableRowCell
|
|
112
|
+
&:hover + .euiTableRow.euiTableRow-isExpandedRow .euiTableRowCell {
|
|
115
113
|
background-color: $euiTableHoverSelectedColor;
|
|
116
114
|
}
|
|
117
115
|
}
|
|
@@ -189,7 +187,7 @@
|
|
|
189
187
|
.euiTableCellContent--overflowingContent {
|
|
190
188
|
overflow: visible;
|
|
191
189
|
white-space: normal;
|
|
192
|
-
|
|
190
|
+
// /* 4 */ overflow-wrap is not supported on flex parents
|
|
193
191
|
word-break: break-word;
|
|
194
192
|
}
|
|
195
193
|
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
.euiTreeView__iconPlaceholder {
|
|
42
42
|
width: $euiSizeXL;
|
|
43
43
|
}
|
|
44
|
-
|
|
45
44
|
}
|
|
46
45
|
|
|
47
46
|
.euiTreeView__nodeLabel {
|
|
@@ -58,6 +57,8 @@
|
|
|
58
57
|
}
|
|
59
58
|
}
|
|
60
59
|
|
|
60
|
+
// TODO: Address nesting during Emotion conversion, if possible
|
|
61
|
+
// stylelint-disable max-nesting-depth
|
|
61
62
|
.euiTreeView--compressed {
|
|
62
63
|
.euiTreeView__node {
|
|
63
64
|
max-height: $euiSizeL;
|
|
@@ -65,7 +66,6 @@
|
|
|
65
66
|
|
|
66
67
|
.euiTreeView__nodeInner {
|
|
67
68
|
height: $euiSizeL;
|
|
68
|
-
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.euiTreeView__iconWrapper {
|