@elastic/eui 67.0.0 → 67.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eui_theme_dark.css +0 -390
- package/dist/eui_theme_dark.json +0 -24
- package/dist/eui_theme_dark.json.d.ts +0 -24
- package/dist/eui_theme_dark.min.css +1 -1
- package/dist/eui_theme_light.css +0 -390
- package/dist/eui_theme_light.json +0 -24
- package/dist/eui_theme_light.json.d.ts +0 -24
- package/dist/eui_theme_light.min.css +1 -1
- package/es/components/accordion/accordion.js +5 -4
- package/es/components/accordion/accordion.styles.js +1 -1
- package/es/components/badge/badge.js +84 -78
- package/es/components/badge/badge.styles.js +62 -0
- package/es/components/basic_table/in_memory_table.js +8 -0
- package/es/components/breadcrumbs/breadcrumb.styles.js +4 -2
- package/es/components/button/button.js +0 -1
- package/es/components/button/button_display/_button_display.js +10 -5
- package/es/components/button/button_display/_button_display.styles.js +2 -2
- package/es/components/button/button_display/_button_display_content.js +5 -3
- package/es/components/button/button_display/_button_display_content.styles.js +4 -1
- package/es/components/button/button_icon/button_icon.js +11 -7
- package/es/components/card/card.js +2 -2
- package/es/components/card/card.styles.js +5 -2
- package/es/components/collapsible_nav/collapsible_nav.js +8 -0
- package/es/components/expression/expression.styles.js +4 -2
- package/es/components/flyout/flyout.js +27 -48
- package/es/components/flyout/flyout.styles.js +111 -0
- package/es/components/flyout/flyout_body.js +14 -6
- package/es/components/flyout/flyout_body.styles.js +21 -0
- package/es/components/flyout/flyout_footer.js +8 -1
- package/es/components/flyout/flyout_footer.styles.js +14 -0
- package/es/components/flyout/flyout_header.js +9 -4
- package/es/components/flyout/flyout_header.styles.js +28 -0
- package/es/components/image/image_wrapper.js +3 -3
- package/es/components/markdown_editor/markdown_format.styles.js +11 -6
- package/es/components/notification/notification_event.js +1 -1
- package/es/components/notification/notification_event_meta.js +1 -1
- package/es/components/page/page_header/page_header_content.js +1 -1
- package/es/components/page/page_section/page_section.js +3 -4
- package/es/components/pagination/pagination_button.styles.js +5 -3
- package/es/components/popover/popover_title.js +2 -2
- package/es/components/popover/popover_title.styles.js +18 -6
- package/es/components/progress/progress.js +2 -2
- package/es/components/search_bar/filters/custom_component_filter.js +16 -0
- package/es/components/search_bar/filters/filters.js +6 -0
- package/es/components/search_bar/query/ast.js +12 -0
- package/es/components/search_bar/query/ast_to_es_query_dsl.js +15 -10
- package/es/components/search_bar/query/query.js +17 -0
- package/es/components/search_bar/search_bar.js +4 -0
- package/es/components/search_bar/search_filters.js +4 -0
- package/es/components/selectable/selectable_list/selectable_list.js +2 -2
- package/es/components/selectable/selectable_list/selectable_list_item.js +2 -2
- package/es/components/text/text.styles.js +6 -3
- package/es/components/tool_tip/tool_tip.styles.js +7 -6
- package/es/components/tour/tour.styles.js +11 -6
- package/es/global_styling/functions/index.js +1 -0
- package/es/global_styling/functions/math.js +46 -0
- package/es/global_styling/mixins/_helpers.js +5 -2
- package/es/services/color/contrast.js +2 -0
- package/es/services/index.js +1 -1
- package/es/services/theme/context.js +2 -1
- package/es/services/theme/hooks.js +27 -1
- package/es/services/theme/index.js +1 -1
- package/es/services/theme/provider.js +15 -1
- package/eui.d.ts +199 -35
- package/i18ntokens.json +2 -2
- package/lib/components/accordion/accordion.js +5 -4
- package/lib/components/accordion/accordion.styles.js +1 -1
- package/lib/components/badge/badge.js +92 -80
- package/lib/components/badge/badge.styles.js +67 -0
- package/lib/components/basic_table/in_memory_table.js +8 -0
- package/lib/components/breadcrumbs/breadcrumb.styles.js +3 -1
- package/lib/components/button/button.js +0 -1
- package/lib/components/button/button_display/_button_display.js +10 -5
- package/lib/components/button/button_display/_button_display.styles.js +2 -2
- package/lib/components/button/button_display/_button_display_content.js +9 -4
- package/lib/components/button/button_display/_button_display_content.styles.js +4 -1
- package/lib/components/button/button_icon/button_icon.js +11 -7
- package/lib/components/card/card.js +2 -2
- package/lib/components/card/card.styles.js +5 -2
- package/lib/components/collapsible_nav/collapsible_nav.js +8 -0
- package/lib/components/expression/expression.styles.js +3 -1
- package/lib/components/flyout/flyout.js +27 -47
- package/lib/components/flyout/flyout.styles.js +122 -0
- package/lib/components/flyout/flyout_body.js +16 -6
- package/lib/components/flyout/flyout_body.styles.js +32 -0
- package/lib/components/flyout/flyout_footer.js +10 -1
- package/lib/components/flyout/flyout_footer.styles.js +24 -0
- package/lib/components/flyout/flyout_header.js +11 -4
- package/lib/components/flyout/flyout_header.styles.js +31 -0
- package/lib/components/image/image_wrapper.js +3 -3
- package/lib/components/markdown_editor/markdown_format.styles.js +10 -5
- package/lib/components/notification/notification_event.js +1 -1
- package/lib/components/notification/notification_event_meta.js +1 -1
- package/lib/components/page/page_header/page_header_content.js +1 -1
- package/lib/components/page/page_section/page_section.js +3 -4
- package/lib/components/pagination/pagination_button.styles.js +4 -2
- package/lib/components/popover/popover_title.js +2 -2
- package/lib/components/popover/popover_title.styles.js +19 -7
- package/lib/components/progress/progress.js +2 -2
- package/lib/components/search_bar/filters/custom_component_filter.js +29 -0
- package/lib/components/search_bar/filters/filters.js +7 -0
- package/lib/components/search_bar/query/ast.js +12 -0
- package/lib/components/search_bar/query/ast_to_es_query_dsl.js +16 -11
- package/lib/components/search_bar/query/query.js +17 -0
- package/lib/components/search_bar/search_bar.js +4 -0
- package/lib/components/search_bar/search_filters.js +4 -0
- package/lib/components/selectable/selectable_list/selectable_list.js +2 -2
- package/lib/components/selectable/selectable_list/selectable_list_item.js +2 -2
- package/lib/components/text/text.styles.js +5 -2
- package/lib/components/tool_tip/tool_tip.styles.js +6 -5
- package/lib/components/tour/tour.styles.js +10 -5
- package/lib/global_styling/functions/index.js +13 -0
- package/lib/global_styling/functions/math.js +55 -0
- package/lib/global_styling/mixins/_helpers.js +5 -2
- package/lib/services/color/contrast.js +6 -1
- package/lib/services/index.js +7 -0
- package/lib/services/theme/context.js +4 -2
- package/lib/services/theme/hooks.js +28 -0
- package/lib/services/theme/index.js +12 -0
- package/lib/services/theme/provider.js +23 -2
- package/optimize/es/components/accordion/accordion.js +5 -4
- package/optimize/es/components/accordion/accordion.styles.js +1 -1
- package/optimize/es/components/badge/badge.js +82 -76
- package/optimize/es/components/badge/badge.styles.js +62 -0
- package/optimize/es/components/basic_table/in_memory_table.js +4 -0
- package/optimize/es/components/breadcrumbs/breadcrumb.styles.js +4 -2
- package/optimize/es/components/button/button.js +0 -1
- package/optimize/es/components/button/button_display/_button_display.js +8 -3
- package/optimize/es/components/button/button_display/_button_display.styles.js +2 -2
- package/optimize/es/components/button/button_display/_button_display_content.js +3 -1
- package/optimize/es/components/button/button_display/_button_display_content.styles.js +4 -1
- package/optimize/es/components/button/button_icon/button_icon.js +11 -7
- package/optimize/es/components/card/card.js +2 -2
- package/optimize/es/components/card/card.styles.js +5 -2
- package/optimize/es/components/expression/expression.styles.js +4 -2
- package/optimize/es/components/flyout/flyout.js +27 -48
- package/optimize/es/components/flyout/flyout.styles.js +111 -0
- package/optimize/es/components/flyout/flyout_body.js +14 -6
- package/optimize/es/components/flyout/flyout_body.styles.js +21 -0
- package/optimize/es/components/flyout/flyout_footer.js +8 -1
- package/optimize/es/components/flyout/flyout_footer.styles.js +14 -0
- package/optimize/es/components/flyout/flyout_header.js +9 -4
- package/optimize/es/components/flyout/flyout_header.styles.js +28 -0
- package/optimize/es/components/image/image_wrapper.js +3 -3
- package/optimize/es/components/markdown_editor/markdown_format.styles.js +11 -6
- package/optimize/es/components/page/page_header/page_header_content.js +1 -1
- package/optimize/es/components/page/page_section/page_section.js +3 -4
- package/optimize/es/components/pagination/pagination_button.styles.js +5 -3
- package/optimize/es/components/popover/popover_title.js +2 -2
- package/optimize/es/components/popover/popover_title.styles.js +18 -6
- package/optimize/es/components/progress/progress.js +2 -2
- package/optimize/es/components/search_bar/filters/custom_component_filter.js +16 -0
- package/optimize/es/components/search_bar/filters/filters.js +6 -0
- package/optimize/es/components/search_bar/query/ast.js +12 -0
- package/optimize/es/components/search_bar/query/ast_to_es_query_dsl.js +14 -9
- package/optimize/es/components/search_bar/query/query.js +17 -0
- package/optimize/es/components/text/text.styles.js +6 -3
- package/optimize/es/components/tool_tip/tool_tip.styles.js +7 -6
- package/optimize/es/components/tour/tour.styles.js +11 -6
- package/optimize/es/global_styling/functions/index.js +1 -0
- package/optimize/es/global_styling/functions/math.js +44 -0
- package/optimize/es/global_styling/mixins/_helpers.js +5 -2
- package/optimize/es/services/color/contrast.js +2 -0
- package/optimize/es/services/index.js +1 -1
- package/optimize/es/services/theme/context.js +2 -1
- package/optimize/es/services/theme/hooks.js +27 -1
- package/optimize/es/services/theme/index.js +1 -1
- package/optimize/es/services/theme/provider.js +14 -1
- package/optimize/lib/components/accordion/accordion.js +5 -4
- package/optimize/lib/components/accordion/accordion.styles.js +1 -1
- package/optimize/lib/components/badge/badge.js +90 -78
- package/optimize/lib/components/badge/badge.styles.js +67 -0
- package/optimize/lib/components/basic_table/in_memory_table.js +4 -0
- package/optimize/lib/components/breadcrumbs/breadcrumb.styles.js +3 -1
- package/optimize/lib/components/button/button.js +0 -1
- package/optimize/lib/components/button/button_display/_button_display.js +8 -3
- package/optimize/lib/components/button/button_display/_button_display.styles.js +2 -2
- package/optimize/lib/components/button/button_display/_button_display_content.js +6 -2
- package/optimize/lib/components/button/button_display/_button_display_content.styles.js +4 -1
- package/optimize/lib/components/button/button_icon/button_icon.js +11 -7
- package/optimize/lib/components/card/card.js +2 -2
- package/optimize/lib/components/card/card.styles.js +5 -2
- package/optimize/lib/components/expression/expression.styles.js +3 -1
- package/optimize/lib/components/flyout/flyout.js +27 -47
- package/optimize/lib/components/flyout/flyout.styles.js +124 -0
- package/optimize/lib/components/flyout/flyout_body.js +16 -6
- package/optimize/lib/components/flyout/flyout_body.styles.js +32 -0
- package/optimize/lib/components/flyout/flyout_footer.js +10 -1
- package/optimize/lib/components/flyout/flyout_footer.styles.js +24 -0
- package/optimize/lib/components/flyout/flyout_header.js +11 -4
- package/optimize/lib/components/flyout/flyout_header.styles.js +31 -0
- package/optimize/lib/components/image/image_wrapper.js +3 -3
- package/optimize/lib/components/markdown_editor/markdown_format.styles.js +10 -5
- package/optimize/lib/components/page/page_header/page_header_content.js +1 -1
- package/optimize/lib/components/page/page_section/page_section.js +3 -4
- package/optimize/lib/components/pagination/pagination_button.styles.js +4 -2
- package/optimize/lib/components/popover/popover_title.js +2 -2
- package/optimize/lib/components/popover/popover_title.styles.js +19 -7
- package/optimize/lib/components/progress/progress.js +2 -2
- package/optimize/lib/components/search_bar/filters/custom_component_filter.js +29 -0
- package/optimize/lib/components/search_bar/filters/filters.js +7 -0
- package/optimize/lib/components/search_bar/query/ast.js +12 -0
- package/optimize/lib/components/search_bar/query/ast_to_es_query_dsl.js +16 -11
- package/optimize/lib/components/search_bar/query/query.js +17 -0
- package/optimize/lib/components/text/text.styles.js +5 -2
- package/optimize/lib/components/tool_tip/tool_tip.styles.js +6 -5
- package/optimize/lib/components/tour/tour.styles.js +10 -5
- package/optimize/lib/global_styling/functions/index.js +13 -0
- package/optimize/lib/global_styling/functions/math.js +57 -0
- package/optimize/lib/global_styling/mixins/_helpers.js +5 -2
- package/optimize/lib/services/color/contrast.js +5 -1
- package/optimize/lib/services/index.js +7 -0
- package/optimize/lib/services/theme/context.js +4 -2
- package/optimize/lib/services/theme/hooks.js +28 -0
- package/optimize/lib/services/theme/index.js +12 -0
- package/optimize/lib/services/theme/provider.js +23 -9
- package/package.json +5 -5
- package/src/components/badge/_index.scss +0 -1
- package/src/components/index.scss +0 -1
- package/src/themes/amsterdam/global_styling/variables/_index.scss +0 -1
- package/test-env/components/accordion/accordion.js +5 -4
- package/test-env/components/accordion/accordion.styles.js +1 -1
- package/test-env/components/badge/badge.js +92 -80
- package/test-env/components/badge/badge.styles.js +67 -0
- package/test-env/components/basic_table/in_memory_table.js +8 -0
- package/test-env/components/breadcrumbs/breadcrumb.styles.js +3 -1
- package/test-env/components/button/button.js +0 -1
- package/test-env/components/button/button_display/_button_display.js +10 -5
- package/test-env/components/button/button_display/_button_display.styles.js +2 -2
- package/test-env/components/button/button_display/_button_display_content.js +8 -4
- package/test-env/components/button/button_display/_button_display_content.styles.js +4 -1
- package/test-env/components/button/button_icon/button_icon.js +11 -7
- package/test-env/components/card/card.js +2 -2
- package/test-env/components/card/card.styles.js +5 -2
- package/test-env/components/collapsible_nav/collapsible_nav.js +8 -0
- package/test-env/components/expression/expression.styles.js +3 -1
- package/test-env/components/flyout/flyout.styles.js +124 -0
- package/test-env/components/flyout/flyout_body.js +16 -6
- package/test-env/components/flyout/flyout_body.styles.js +32 -0
- package/test-env/components/flyout/flyout_footer.js +10 -1
- package/test-env/components/flyout/flyout_footer.styles.js +24 -0
- package/test-env/components/flyout/flyout_header.js +11 -4
- package/test-env/components/flyout/flyout_header.styles.js +31 -0
- package/test-env/components/image/image_wrapper.js +3 -3
- package/test-env/components/markdown_editor/markdown_format.styles.js +10 -5
- package/test-env/components/notification/notification_event.js +1 -1
- package/test-env/components/notification/notification_event_meta.js +1 -1
- package/test-env/components/page/page_header/page_header_content.js +1 -1
- package/test-env/components/page/page_section/page_section.js +3 -4
- package/test-env/components/pagination/pagination_button.styles.js +4 -2
- package/test-env/components/popover/popover_title.js +2 -2
- package/test-env/components/popover/popover_title.styles.js +19 -7
- package/test-env/components/progress/progress.js +2 -2
- package/test-env/components/search_bar/filters/custom_component_filter.js +29 -0
- package/test-env/components/search_bar/filters/filters.js +7 -0
- package/test-env/components/search_bar/query/ast.js +12 -0
- package/test-env/components/search_bar/query/ast_to_es_query_dsl.js +16 -11
- package/test-env/components/search_bar/query/query.js +17 -0
- package/test-env/components/search_bar/search_bar.js +4 -0
- package/test-env/components/search_bar/search_filters.js +4 -0
- package/test-env/components/selectable/selectable_list/selectable_list.js +2 -2
- package/test-env/components/selectable/selectable_list/selectable_list_item.js +2 -2
- package/test-env/components/text/text.styles.js +5 -2
- package/test-env/components/tool_tip/tool_tip.styles.js +6 -5
- package/test-env/components/tour/tour.styles.js +10 -5
- package/test-env/global_styling/functions/index.js +13 -0
- package/test-env/global_styling/functions/math.js +57 -0
- package/test-env/global_styling/mixins/_helpers.js +5 -2
- package/test-env/services/color/contrast.js +5 -1
- package/test-env/services/index.js +7 -0
- package/test-env/services/theme/context.js +4 -2
- package/test-env/services/theme/hooks.js +28 -0
- package/test-env/services/theme/index.js +12 -0
- package/test-env/services/theme/provider.js +23 -9
- package/src/components/badge/_badge.scss +0 -133
- package/src/components/flyout/_flyout.scss +0 -196
- package/src/components/flyout/_flyout_body.scss +0 -18
- package/src/components/flyout/_flyout_footer.scss +0 -4
- package/src/components/flyout/_flyout_header.scss +0 -7
- package/src/components/flyout/_index.scss +0 -7
- package/src/components/flyout/_mixins.scss +0 -18
- package/src/components/flyout/_variables.scss +0 -8
- package/src/themes/amsterdam/global_styling/variables/_flyout.scss +0 -1
package/dist/eui_theme_dark.css
CHANGED
|
@@ -748,104 +748,6 @@ SOFTWARE.
|
|
|
748
748
|
opacity: 1;
|
|
749
749
|
visibility: visible; }
|
|
750
750
|
|
|
751
|
-
/**
|
|
752
|
-
* 1. Accounts for the border
|
|
753
|
-
*/
|
|
754
|
-
.euiBadge {
|
|
755
|
-
font-size: 12px;
|
|
756
|
-
font-weight: 500;
|
|
757
|
-
line-height: 18px;
|
|
758
|
-
/* 1 */
|
|
759
|
-
padding: 0 8px;
|
|
760
|
-
display: inline-block;
|
|
761
|
-
text-decoration: none;
|
|
762
|
-
border-radius: 3px;
|
|
763
|
-
border: solid 1px transparent;
|
|
764
|
-
background-color: transparent;
|
|
765
|
-
white-space: nowrap;
|
|
766
|
-
vertical-align: middle;
|
|
767
|
-
cursor: default;
|
|
768
|
-
max-width: 100%;
|
|
769
|
-
text-align: left; }
|
|
770
|
-
.euiBadge.euiBadge-isDisabled {
|
|
771
|
-
color: #858a91 !important;
|
|
772
|
-
background-color: #515761 !important; }
|
|
773
|
-
.euiBadge:focus-within {
|
|
774
|
-
outline: 2px solid currentColor; }
|
|
775
|
-
.euiBadge:focus-within:focus-visible {
|
|
776
|
-
outline-style: auto; }
|
|
777
|
-
.euiBadge:focus-within:not(:focus-visible) {
|
|
778
|
-
outline: none; }
|
|
779
|
-
.euiBadge + .euiBadge {
|
|
780
|
-
margin-left: 4px; }
|
|
781
|
-
.euiBadge .euiBadge__content {
|
|
782
|
-
min-height: 18px;
|
|
783
|
-
display: -webkit-flex;
|
|
784
|
-
display: flex;
|
|
785
|
-
-webkit-align-items: center;
|
|
786
|
-
align-items: center;
|
|
787
|
-
overflow: hidden; }
|
|
788
|
-
.euiBadge .euiBadge__childButton {
|
|
789
|
-
max-width: 100%;
|
|
790
|
-
overflow: hidden !important;
|
|
791
|
-
text-overflow: ellipsis !important;
|
|
792
|
-
white-space: nowrap !important;
|
|
793
|
-
text-align: inherit;
|
|
794
|
-
font-weight: inherit;
|
|
795
|
-
line-height: inherit;
|
|
796
|
-
color: inherit; }
|
|
797
|
-
.euiBadge .euiBadge__childButton:disabled {
|
|
798
|
-
cursor: not-allowed; }
|
|
799
|
-
.euiBadge .euiBadge__childButton:not(:disabled):hover, .euiBadge .euiBadge__childButton:not(:disabled):focus {
|
|
800
|
-
text-decoration: underline; }
|
|
801
|
-
.euiBadge .euiBadge__iconButton {
|
|
802
|
-
font-size: 0;
|
|
803
|
-
margin-left: 4px; }
|
|
804
|
-
.euiBadge .euiBadge__iconButton:focus {
|
|
805
|
-
background-color: rgba(255, 255, 255, 0.8);
|
|
806
|
-
color: #000;
|
|
807
|
-
border-radius: 2px; }
|
|
808
|
-
.euiBadge .euiBadge__iconButton:disabled {
|
|
809
|
-
cursor: not-allowed; }
|
|
810
|
-
.euiBadge .euiBadge__iconButton .euiBadge__icon {
|
|
811
|
-
margin: 0 !important; }
|
|
812
|
-
.euiBadge .euiBadge__text {
|
|
813
|
-
max-width: 100%;
|
|
814
|
-
overflow: hidden !important;
|
|
815
|
-
text-overflow: ellipsis !important;
|
|
816
|
-
white-space: nowrap !important;
|
|
817
|
-
cursor: default; }
|
|
818
|
-
.euiBadge .euiBadge__icon:not(:only-child) {
|
|
819
|
-
margin-left: 4px; }
|
|
820
|
-
.euiBadge.euiBadge--iconLeft .euiBadge__content {
|
|
821
|
-
-webkit-flex-direction: row-reverse;
|
|
822
|
-
flex-direction: row-reverse; }
|
|
823
|
-
.euiBadge.euiBadge--iconLeft .euiBadge__iconButton,
|
|
824
|
-
.euiBadge.euiBadge--iconLeft .euiBadge__icon:not(:only-child) {
|
|
825
|
-
margin-right: 4px;
|
|
826
|
-
margin-left: 0; }
|
|
827
|
-
|
|
828
|
-
.euiBadge-isClickable:not(:disabled):hover, .euiBadge-isClickable:not(:disabled):focus {
|
|
829
|
-
text-decoration: underline; }
|
|
830
|
-
|
|
831
|
-
.euiBadge-isClickable.euiBadge-isDisabled {
|
|
832
|
-
cursor: not-allowed; }
|
|
833
|
-
|
|
834
|
-
.euiBadge-isClickable:focus {
|
|
835
|
-
outline: 2px solid currentColor; }
|
|
836
|
-
.euiBadge-isClickable:focus:focus-visible {
|
|
837
|
-
outline-style: auto; }
|
|
838
|
-
.euiBadge-isClickable:focus:not(:focus-visible) {
|
|
839
|
-
outline: none; }
|
|
840
|
-
|
|
841
|
-
.euiBadge-isClickable .euiBadge__text {
|
|
842
|
-
cursor: inherit; }
|
|
843
|
-
|
|
844
|
-
.euiBadge--hollow {
|
|
845
|
-
background-color: #1D1E24;
|
|
846
|
-
border-color: #52555e;
|
|
847
|
-
color: #DFE5EF; }
|
|
848
|
-
|
|
849
751
|
.euiBadgeGroup__item {
|
|
850
752
|
display: inline-block;
|
|
851
753
|
max-width: 100%; }
|
|
@@ -4854,298 +4756,6 @@ SOFTWARE.
|
|
|
4854
4756
|
margin-right: 0 !important;
|
|
4855
4757
|
margin-bottom: 16px !important; } }
|
|
4856
4758
|
|
|
4857
|
-
.euiFlyout {
|
|
4858
|
-
border-left: none;
|
|
4859
|
-
box-shadow: 0 2.7px 9px rgba(0, 0, 0, 0.325), 0 9.4px 24px rgba(0, 0, 0, 0.225), 0 21.8px 43px rgba(0, 0, 0, 0.2);
|
|
4860
|
-
position: fixed;
|
|
4861
|
-
top: 0;
|
|
4862
|
-
bottom: 0;
|
|
4863
|
-
right: 0;
|
|
4864
|
-
height: 100%;
|
|
4865
|
-
z-index: 1000;
|
|
4866
|
-
background: #1D1E24;
|
|
4867
|
-
display: -webkit-flex;
|
|
4868
|
-
display: flex;
|
|
4869
|
-
-webkit-flex-direction: column;
|
|
4870
|
-
flex-direction: column;
|
|
4871
|
-
-webkit-align-items: stretch;
|
|
4872
|
-
align-items: stretch;
|
|
4873
|
-
-webkit-clip-path: polygon(-50% 0, 100% 0, 100% 100%, -50% 100%);
|
|
4874
|
-
clip-path: polygon(-50% 0, 100% 0, 100% 100%, -50% 100%);
|
|
4875
|
-
-webkit-animation: euiFlyout 250ms cubic-bezier(0.694, 0.0482, 0.335, 1);
|
|
4876
|
-
animation: euiFlyout 250ms cubic-bezier(0.694, 0.0482, 0.335, 1); }
|
|
4877
|
-
.euiFlyout:focus {
|
|
4878
|
-
outline: none; }
|
|
4879
|
-
|
|
4880
|
-
.euiFlyout__closeButton {
|
|
4881
|
-
position: absolute;
|
|
4882
|
-
right: 8px;
|
|
4883
|
-
top: 8px;
|
|
4884
|
-
z-index: 3; }
|
|
4885
|
-
.euiFlyout__closeButton:not(.euiFlyout__closeButton--outside) {
|
|
4886
|
-
background-color: rgba(29, 30, 36, 0.9); }
|
|
4887
|
-
.euiFlyout__closeButton--outside {
|
|
4888
|
-
box-shadow: 0 2.7px 9px rgba(0, 0, 0, 0.325), 0 9.4px 24px rgba(0, 0, 0, 0.225), 0 21.8px 43px rgba(0, 0, 0, 0.2);
|
|
4889
|
-
right: auto;
|
|
4890
|
-
left: 0;
|
|
4891
|
-
-webkit-transform: translateX(calc(-100% - 24px)) !important;
|
|
4892
|
-
transform: translateX(calc(-100% - 24px)) !important;
|
|
4893
|
-
-webkit-animation: none !important;
|
|
4894
|
-
animation: none !important; }
|
|
4895
|
-
.euiFlyout--left .euiFlyout__closeButton--outside {
|
|
4896
|
-
left: auto;
|
|
4897
|
-
right: 0;
|
|
4898
|
-
-webkit-transform: translateX(calc(100% + 24px)) !important;
|
|
4899
|
-
transform: translateX(calc(100% + 24px)) !important; }
|
|
4900
|
-
|
|
4901
|
-
.euiFlyoutBody__banner {
|
|
4902
|
-
overflow-x: hidden; }
|
|
4903
|
-
|
|
4904
|
-
/**
|
|
4905
|
-
* 1. Calculating the minimum width based on the screen takeover breakpoint
|
|
4906
|
-
*/
|
|
4907
|
-
.euiFlyout--small {
|
|
4908
|
-
min-width: 384px;
|
|
4909
|
-
width: 25vw; }
|
|
4910
|
-
.euiFlyout--small.euiFlyout--maxWidth-default {
|
|
4911
|
-
max-width: 403px; }
|
|
4912
|
-
|
|
4913
|
-
.euiFlyout--medium {
|
|
4914
|
-
min-width: 424px;
|
|
4915
|
-
width: 50vw; }
|
|
4916
|
-
.euiFlyout--medium.euiFlyout--maxWidth-default {
|
|
4917
|
-
max-width: 768px; }
|
|
4918
|
-
|
|
4919
|
-
.euiFlyout--large {
|
|
4920
|
-
min-width: 691px;
|
|
4921
|
-
width: 75vw; }
|
|
4922
|
-
.euiFlyout--large.euiFlyout--maxWidth-default {
|
|
4923
|
-
max-width: 992px; }
|
|
4924
|
-
|
|
4925
|
-
.euiFlyout--paddingNone .euiFlyoutHeader {
|
|
4926
|
-
padding: 0 0 0; }
|
|
4927
|
-
|
|
4928
|
-
.euiFlyout--paddingNone .euiFlyoutHeader--hasBorder {
|
|
4929
|
-
padding-bottom: 0; }
|
|
4930
|
-
|
|
4931
|
-
.euiFlyout--paddingNone .euiFlyoutBody__overflowContent {
|
|
4932
|
-
padding: 0; }
|
|
4933
|
-
|
|
4934
|
-
.euiFlyout--paddingNone .euiFlyoutBody__banner .euiCallOut {
|
|
4935
|
-
padding-left: 0;
|
|
4936
|
-
padding-right: 0; }
|
|
4937
|
-
|
|
4938
|
-
.euiFlyout--paddingNone .euiFlyoutFooter {
|
|
4939
|
-
padding: 0; }
|
|
4940
|
-
|
|
4941
|
-
.euiFlyout--paddingSmall .euiFlyoutHeader {
|
|
4942
|
-
padding: 8px 8px 0; }
|
|
4943
|
-
|
|
4944
|
-
.euiFlyout--paddingSmall .euiFlyoutHeader--hasBorder {
|
|
4945
|
-
padding-bottom: 8px; }
|
|
4946
|
-
|
|
4947
|
-
.euiFlyout--paddingSmall .euiFlyoutBody__overflowContent {
|
|
4948
|
-
padding: 8px; }
|
|
4949
|
-
|
|
4950
|
-
.euiFlyout--paddingSmall .euiFlyoutBody__banner .euiCallOut {
|
|
4951
|
-
padding-left: 8px;
|
|
4952
|
-
padding-right: 8px; }
|
|
4953
|
-
|
|
4954
|
-
.euiFlyout--paddingSmall .euiFlyoutFooter {
|
|
4955
|
-
padding: 8px; }
|
|
4956
|
-
|
|
4957
|
-
.euiFlyout--paddingMedium .euiFlyoutHeader {
|
|
4958
|
-
padding: 16px 16px 0; }
|
|
4959
|
-
|
|
4960
|
-
.euiFlyout--paddingMedium .euiFlyoutHeader--hasBorder {
|
|
4961
|
-
padding-bottom: 16px; }
|
|
4962
|
-
|
|
4963
|
-
.euiFlyout--paddingMedium .euiFlyoutBody__overflowContent {
|
|
4964
|
-
padding: 16px; }
|
|
4965
|
-
|
|
4966
|
-
.euiFlyout--paddingMedium .euiFlyoutBody__banner .euiCallOut {
|
|
4967
|
-
padding-left: 16px;
|
|
4968
|
-
padding-right: 16px; }
|
|
4969
|
-
|
|
4970
|
-
.euiFlyout--paddingMedium .euiFlyoutFooter {
|
|
4971
|
-
padding: 12px 16px; }
|
|
4972
|
-
|
|
4973
|
-
.euiFlyout--paddingLarge .euiFlyoutHeader {
|
|
4974
|
-
padding: 24px 24px 0; }
|
|
4975
|
-
|
|
4976
|
-
.euiFlyout--paddingLarge .euiFlyoutHeader--hasBorder {
|
|
4977
|
-
padding-bottom: 24px; }
|
|
4978
|
-
|
|
4979
|
-
.euiFlyout--paddingLarge .euiFlyoutBody__overflowContent {
|
|
4980
|
-
padding: 24px; }
|
|
4981
|
-
|
|
4982
|
-
.euiFlyout--paddingLarge .euiFlyoutBody__banner .euiCallOut {
|
|
4983
|
-
padding-left: 24px;
|
|
4984
|
-
padding-right: 24px; }
|
|
4985
|
-
|
|
4986
|
-
.euiFlyout--paddingLarge .euiFlyoutFooter {
|
|
4987
|
-
padding: 16px 24px; }
|
|
4988
|
-
|
|
4989
|
-
@-webkit-keyframes euiFlyout {
|
|
4990
|
-
0% {
|
|
4991
|
-
opacity: 0;
|
|
4992
|
-
-webkit-transform: translateX(100%);
|
|
4993
|
-
transform: translateX(100%); }
|
|
4994
|
-
75% {
|
|
4995
|
-
opacity: 1;
|
|
4996
|
-
-webkit-transform: translateX(0%);
|
|
4997
|
-
transform: translateX(0%); } }
|
|
4998
|
-
|
|
4999
|
-
@keyframes euiFlyout {
|
|
5000
|
-
0% {
|
|
5001
|
-
opacity: 0;
|
|
5002
|
-
-webkit-transform: translateX(100%);
|
|
5003
|
-
transform: translateX(100%); }
|
|
5004
|
-
75% {
|
|
5005
|
-
opacity: 1;
|
|
5006
|
-
-webkit-transform: translateX(0%);
|
|
5007
|
-
transform: translateX(0%); } }
|
|
5008
|
-
|
|
5009
|
-
/**
|
|
5010
|
-
* 1. Leave only a small sliver exposed on small screens so users understand that this is not a new page
|
|
5011
|
-
* 2. If a custom maxWidth is set, we need to override it.
|
|
5012
|
-
*/
|
|
5013
|
-
@media only screen and (max-width: 574px) {
|
|
5014
|
-
.euiFlyout {
|
|
5015
|
-
max-width: 90vw !important;
|
|
5016
|
-
/* 1, 2 */ }
|
|
5017
|
-
.euiFlyout--small {
|
|
5018
|
-
min-width: 0;
|
|
5019
|
-
width: 384px; }
|
|
5020
|
-
.euiFlyout--medium {
|
|
5021
|
-
min-width: 0;
|
|
5022
|
-
width: 424px; }
|
|
5023
|
-
.euiFlyout--large {
|
|
5024
|
-
min-width: 0;
|
|
5025
|
-
width: 691px; }
|
|
5026
|
-
.euiFlyout__closeButton--outside {
|
|
5027
|
-
-webkit-transform: translateX(calc(-100% - 4px)) !important;
|
|
5028
|
-
transform: translateX(calc(-100% - 4px)) !important; }
|
|
5029
|
-
.euiFlyout--left .euiFlyout__closeButton--outside {
|
|
5030
|
-
-webkit-transform: translateX(calc(100% + 4px)) !important;
|
|
5031
|
-
transform: translateX(calc(100% + 4px)) !important; } }
|
|
5032
|
-
|
|
5033
|
-
@media only screen and (min-width: 575px) and (max-width: 767px) {
|
|
5034
|
-
.euiFlyout {
|
|
5035
|
-
max-width: 90vw !important;
|
|
5036
|
-
/* 1, 2 */ }
|
|
5037
|
-
.euiFlyout--small {
|
|
5038
|
-
min-width: 0;
|
|
5039
|
-
width: 384px; }
|
|
5040
|
-
.euiFlyout--medium {
|
|
5041
|
-
min-width: 0;
|
|
5042
|
-
width: 424px; }
|
|
5043
|
-
.euiFlyout--large {
|
|
5044
|
-
min-width: 0;
|
|
5045
|
-
width: 691px; }
|
|
5046
|
-
.euiFlyout__closeButton--outside {
|
|
5047
|
-
-webkit-transform: translateX(calc(-100% - 4px)) !important;
|
|
5048
|
-
transform: translateX(calc(-100% - 4px)) !important; }
|
|
5049
|
-
.euiFlyout--left .euiFlyout__closeButton--outside {
|
|
5050
|
-
-webkit-transform: translateX(calc(100% + 4px)) !important;
|
|
5051
|
-
transform: translateX(calc(100% + 4px)) !important; } }
|
|
5052
|
-
|
|
5053
|
-
/**
|
|
5054
|
-
* Left side flyout (should only be used for navigation)
|
|
5055
|
-
*/
|
|
5056
|
-
.euiFlyout--left {
|
|
5057
|
-
border-right: none;
|
|
5058
|
-
border-left: none;
|
|
5059
|
-
right: auto;
|
|
5060
|
-
left: 0;
|
|
5061
|
-
-webkit-clip-path: polygon(0 0, 150% 0, 150% 100%, 0 100%);
|
|
5062
|
-
clip-path: polygon(0 0, 150% 0, 150% 100%, 0 100%);
|
|
5063
|
-
-webkit-animation-name: euiFlyoutLeft;
|
|
5064
|
-
animation-name: euiFlyoutLeft; }
|
|
5065
|
-
|
|
5066
|
-
@-webkit-keyframes euiFlyoutLeft {
|
|
5067
|
-
0% {
|
|
5068
|
-
opacity: 0;
|
|
5069
|
-
-webkit-transform: translateX(-100%);
|
|
5070
|
-
transform: translateX(-100%); }
|
|
5071
|
-
75% {
|
|
5072
|
-
opacity: 1;
|
|
5073
|
-
-webkit-transform: translateX(0%);
|
|
5074
|
-
transform: translateX(0%); } }
|
|
5075
|
-
|
|
5076
|
-
@keyframes euiFlyoutLeft {
|
|
5077
|
-
0% {
|
|
5078
|
-
opacity: 0;
|
|
5079
|
-
-webkit-transform: translateX(-100%);
|
|
5080
|
-
transform: translateX(-100%); }
|
|
5081
|
-
75% {
|
|
5082
|
-
opacity: 1;
|
|
5083
|
-
-webkit-transform: translateX(0%);
|
|
5084
|
-
transform: translateX(0%); } }
|
|
5085
|
-
|
|
5086
|
-
/**
|
|
5087
|
-
* Pushed style (inside body)
|
|
5088
|
-
*/
|
|
5089
|
-
.euiFlyout.euiFlyout--push {
|
|
5090
|
-
box-shadow: none;
|
|
5091
|
-
-webkit-clip-path: none;
|
|
5092
|
-
clip-path: none;
|
|
5093
|
-
-webkit-animation-duration: 0s;
|
|
5094
|
-
animation-duration: 0s;
|
|
5095
|
-
border-left: 2px solid #343741;
|
|
5096
|
-
z-index: 999; }
|
|
5097
|
-
.euiFlyout.euiFlyout--push.euiFlyout--left {
|
|
5098
|
-
border-left: none;
|
|
5099
|
-
border-right: 2px solid #343741; }
|
|
5100
|
-
|
|
5101
|
-
.euiFlyoutBody {
|
|
5102
|
-
-webkit-flex-grow: 1;
|
|
5103
|
-
flex-grow: 1;
|
|
5104
|
-
overflow-y: hidden;
|
|
5105
|
-
height: 100%; }
|
|
5106
|
-
.euiFlyoutBody .euiFlyoutBody__overflow {
|
|
5107
|
-
scrollbar-color: rgba(152, 162, 179, 0.5) transparent;
|
|
5108
|
-
scrollbar-width: thin;
|
|
5109
|
-
height: 100%;
|
|
5110
|
-
overflow-y: auto;
|
|
5111
|
-
overflow-x: hidden;
|
|
5112
|
-
-webkit-mask-image: linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);
|
|
5113
|
-
mask-image: linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%); }
|
|
5114
|
-
.euiFlyoutBody .euiFlyoutBody__overflow::-webkit-scrollbar {
|
|
5115
|
-
width: 16px;
|
|
5116
|
-
height: 16px; }
|
|
5117
|
-
.euiFlyoutBody .euiFlyoutBody__overflow::-webkit-scrollbar-thumb {
|
|
5118
|
-
background-color: rgba(152, 162, 179, 0.5);
|
|
5119
|
-
background-clip: content-box;
|
|
5120
|
-
border-radius: 16px;
|
|
5121
|
-
border: 6px solid transparent; }
|
|
5122
|
-
.euiFlyoutBody .euiFlyoutBody__overflow::-webkit-scrollbar-corner, .euiFlyoutBody .euiFlyoutBody__overflow::-webkit-scrollbar-track {
|
|
5123
|
-
background-color: transparent; }
|
|
5124
|
-
.euiFlyoutBody .euiFlyoutBody__overflow:focus {
|
|
5125
|
-
outline: none;
|
|
5126
|
-
/* 1 */ }
|
|
5127
|
-
.euiFlyoutBody .euiFlyoutBody__overflow[tabindex='0']:focus:focus-visible {
|
|
5128
|
-
outline-style: auto;
|
|
5129
|
-
/* 2 */ }
|
|
5130
|
-
.euiFlyoutBody .euiFlyoutBody__overflow.euiFlyoutBody__overflow--hasBanner {
|
|
5131
|
-
-webkit-mask-image: linear-gradient(to bottom, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);
|
|
5132
|
-
mask-image: linear-gradient(to bottom, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%); }
|
|
5133
|
-
.euiFlyoutBody .euiFlyoutBody__banner .euiCallOut {
|
|
5134
|
-
border: none;
|
|
5135
|
-
border-radius: 0; }
|
|
5136
|
-
|
|
5137
|
-
.euiFlyoutFooter {
|
|
5138
|
-
background: #25262E;
|
|
5139
|
-
-webkit-flex-grow: 0;
|
|
5140
|
-
flex-grow: 0; }
|
|
5141
|
-
|
|
5142
|
-
.euiFlyoutHeader {
|
|
5143
|
-
-webkit-flex-grow: 0;
|
|
5144
|
-
flex-grow: 0; }
|
|
5145
|
-
|
|
5146
|
-
.euiFlyoutHeader--hasBorder {
|
|
5147
|
-
border-bottom: 1px solid #343741; }
|
|
5148
|
-
|
|
5149
4759
|
/**
|
|
5150
4760
|
* 1. Float above the visual radio and match its dimension, so that when users try to click it
|
|
5151
4761
|
* they actually click this input.
|
package/dist/eui_theme_dark.json
CHANGED
|
@@ -77,30 +77,6 @@
|
|
|
77
77
|
"count": 1
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
|
-
"flyoutSizes": {
|
|
81
|
-
"small": {
|
|
82
|
-
"min": "384px",
|
|
83
|
-
"width": "25vw",
|
|
84
|
-
"max": "403px"
|
|
85
|
-
},
|
|
86
|
-
"medium": {
|
|
87
|
-
"min": "424px",
|
|
88
|
-
"width": "50vw",
|
|
89
|
-
"max": "768px"
|
|
90
|
-
},
|
|
91
|
-
"large": {
|
|
92
|
-
"min": "691px",
|
|
93
|
-
"width": "75vw",
|
|
94
|
-
"max": "992px"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"euiFlyoutBorder": "none",
|
|
98
|
-
"euiFlyoutPaddingModifiers": {
|
|
99
|
-
"paddingNone": 0,
|
|
100
|
-
"paddingSmall": "8px",
|
|
101
|
-
"paddingMedium": "16px",
|
|
102
|
-
"paddingLarge": "24px"
|
|
103
|
-
},
|
|
104
80
|
"euiFilePickerTallHeight": "128px",
|
|
105
81
|
"euiRangeLevelColors": {
|
|
106
82
|
"primary": "#36a2ef",
|
|
@@ -78,30 +78,6 @@ declare module '@elastic/eui/dist/eui_theme_dark.json' {
|
|
|
78
78
|
count: number;
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
|
-
flyoutSizes: {
|
|
82
|
-
small: {
|
|
83
|
-
min: string;
|
|
84
|
-
width: string;
|
|
85
|
-
max: string;
|
|
86
|
-
};
|
|
87
|
-
medium: {
|
|
88
|
-
min: string;
|
|
89
|
-
width: string;
|
|
90
|
-
max: string;
|
|
91
|
-
};
|
|
92
|
-
large: {
|
|
93
|
-
min: string;
|
|
94
|
-
width: string;
|
|
95
|
-
max: string;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
euiFlyoutBorder: string;
|
|
99
|
-
euiFlyoutPaddingModifiers: {
|
|
100
|
-
paddingNone: number;
|
|
101
|
-
paddingSmall: string;
|
|
102
|
-
paddingMedium: string;
|
|
103
|
-
paddingLarge: string;
|
|
104
|
-
};
|
|
105
81
|
euiFilePickerTallHeight: string;
|
|
106
82
|
euiRangeLevelColors: {
|
|
107
83
|
primary: string;
|