-
Notifications
You must be signed in to change notification settings - Fork 895
Remove arrow from EuiPopover for Borealis theme
#9055
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 14 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
98ebacf
Add EuiPopover theming support for Borealis theme
ryankeairns c3ac1e3
Fix EuiPopover theme resolution and update Borealis offset
ryankeairns ccf16a5
Fix EuiPopover theme resolution and update tests
ryankeairns 158cba7
feat: make EuiPopover properties themable for Borealis theme
ryankeairns 1c1bed6
Update snapshots
ryankeairns 76ceb30
fix: ensure EuiTourStep beacon renders with Borealis theme
ryankeairns 7cab7d6
test: update EuiTourStep snapshot to reflect beacon rendering
ryankeairns 5966af1
Fix circular dependency in _popover.ts and update THEMING_TEMPLATE
ryankeairns 5932282
Add changelogs
ryankeairns 1a5fc7a
refactor: migrate EuiPopover theming to component tokens pattern
ryankeairns b0af173
test: update visual regression test snapshots for EuiPopover componen…
ryankeairns 36c0490
Fix EuiPopover unit test snapshot for React 17
ryankeairns 3f08361
Refactor EuiPopover to use component tokens
ryankeairns db4d6cb
Skip failing DataGrid height calculation test - pre-existing issue no…
ryankeairns efb6a44
Resolve merge conflicts with main
ryankeairns 6ecbb26
Fix TypeScript errors in Amsterdam theme
ryankeairns fd0158e
Restore Borealis popover theme values and skip problematic test
ryankeairns 06c4b79
Add changelog for EuiThemePopover component tokens
ryankeairns File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| - Added theme defaults turning off arrow in `EuiPopover` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| /* | ||
| * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
| * or more contributor license agreements. Licensed under the Elastic License | ||
| * 2.0 and the Server Side Public License, v 1; you may not use this file except | ||
| * in compliance with, at your election, the Elastic License 2.0 or the Server | ||
| * Side Public License, v 1. | ||
| */ | ||
|
|
||
| import { _EuiThemePopover } from '@elastic/eui-theme-common'; | ||
|
|
||
| export const popover: _EuiThemePopover = { | ||
| hasArrow: false, | ||
| anchorPosition: 'downLeft', | ||
| offset: 4, | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
packages/eui-theme-common/src/global_styling/variables/popover.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| /* | ||
| * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
| * or more contributor license agreements. Licensed under the Elastic License | ||
| * 2.0 and the Server Side Public License, v 1; you may not use this file except | ||
| * in compliance with, at your election, the Elastic License 2.0 or the Server | ||
| * Side Public License, v 1. | ||
| */ | ||
|
|
||
| export type _EuiThemePopover = { | ||
| hasArrow: boolean; | ||
| anchorPosition: string; | ||
| offset: number; | ||
| }; |
Binary file modified
BIN
-20 Bytes
(100%)
packages/eui/.loki/reference/chrome_desktop_Display_EuiIconTip_Playground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+4 Bytes
(100%)
...s/eui/.loki/reference/chrome_desktop_Display_EuiTour_EuiTourStep_Playground.png
|
weronikaolejniczak marked this conversation as resolved.
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4 Bytes
(100%)
packages/eui/.loki/reference/chrome_desktop_Display_EuiTour_EuiTour_Playground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+61 Bytes
(100%)
...oki/reference/chrome_desktop_Forms_EuiAutoRefresh_EuiAutoRefresh_Playground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+64 Bytes
(100%)
...e_desktop_Forms_EuiColorPalettePicker_EuiColorPalettePicker_Appended_Titles.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+74 Bytes
(100%)
packages/eui/.loki/reference/chrome_desktop_Forms_EuiComboBox_Groups.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+74 Bytes
(100%)
.../eui/.loki/reference/chrome_desktop_Forms_EuiComboBox_Nested_Options_Groups.png
|
weronikaolejniczak marked this conversation as resolved.
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+73 Bytes
(100%)
packages/eui/.loki/reference/chrome_desktop_Forms_EuiComboBox_Row_Height_Auto.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+94 Bytes
(100%)
packages/eui/.loki/reference/chrome_desktop_Forms_EuiDatePicker_High_Contrast.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+98 Bytes
(100%)
packages/eui/.loki/reference/chrome_desktop_Forms_EuiDatePicker_Playground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+97 Bytes
(100%)
...ui/.loki/reference/chrome_desktop_Forms_EuiDatePicker_Restricted_Day_Select.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+131 Bytes
(100%)
packages/eui/.loki/reference/chrome_desktop_Forms_EuiDatePicker_Time_Select.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+79 Bytes
(100%)
...ges/eui/.loki/reference/chrome_desktop_Forms_EuiDatePicker_Time_Select_Only.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+97 Bytes
(100%)
...es/eui/.loki/reference/chrome_desktop_Forms_EuiDualRange_Input_With_Popover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+77 Bytes
(100%)
packages/eui/.loki/reference/chrome_desktop_Forms_EuiRange_Input_With_Popover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-354 Bytes
(98%)
...sktop_Forms_EuiSuperDatePicker_EuiSuperDatePicker_Custom_Quick_Select_Panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-332 Bytes
(98%)
...hrome_desktop_Forms_EuiSuperDatePicker_EuiSuperDatePicker_Quick_Select_Only.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-295 Bytes
(98%)
...e/chrome_desktop_Layout_EuiHeader_EuiHeader_Dark_Theme_With_Sitewide_Search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+84 Bytes
(100%)
packages/eui/.loki/reference/chrome_desktop_Layout_EuiInputPopover_Playground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-909 Bytes
(84%)
...loki/reference/chrome_desktop_Layout_EuiPopover_EuiPopoverFooter_Playground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-966 Bytes
(83%)
....loki/reference/chrome_desktop_Layout_EuiPopover_EuiPopoverTitle_Playground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3 Bytes
(100%)
...ki/reference/chrome_desktop_Layout_EuiPopover_EuiPopover_High_Contrast_Mode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-38 Bytes
(100%)
...ki/reference/chrome_desktop_Layout_EuiPopover_EuiPopover_Panel_Padding_Size.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-18 Bytes
(100%)
.../eui/.loki/reference/chrome_desktop_Layout_EuiPopover_EuiPopover_Playground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-86 Bytes
(100%)
..._desktop_Navigation_EuiCollapsibleNav_EuiCollapsibleNav_Full_Header_Pattern.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.95 KB
(98%)
...reference/chrome_desktop_Tabular_Content_EuiDataGrid_Cell_Expansion_Popover.png
Oops, something went wrong.
Binary file modified
BIN
-2.61 KB
(98%)
...i/.loki/reference/chrome_desktop_Tabular_Content_EuiDataGrid_Column_Actions.png
Oops, something went wrong.
Binary file modified
BIN
-1.96 KB
(82%)
..._desktop_Tabular_Content_EuiDataGrid_toolbarVisibility_prop_Column_Selector.png
Oops, something went wrong.
Binary file modified
BIN
-34 Bytes
(100%)
...e_desktop_Tabular_Content_EuiDataGrid_toolbarVisibility_prop_Column_Sorting.png
Oops, something went wrong.
Binary file modified
BIN
-315 Bytes
(98%)
...desktop_Tabular_Content_EuiDataGrid_toolbarVisibility_prop_Display_Selector.png
Oops, something went wrong.
Binary file modified
BIN
-599 Bytes
(99%)
...sktop_Tabular_Content_EuiDataGrid_toolbarVisibility_prop_Keyboard_Shortcuts.png
Oops, something went wrong.
Binary file modified
BIN
-427 Bytes
(98%)
.../.loki/reference/chrome_desktop_Templates_EuiSelectableTemplateSitewide_VRT.png
Oops, something went wrong.
Binary file modified
BIN
-54 Bytes
(99%)
packages/eui/.loki/reference/chrome_mobile_Display_EuiIconTip_Playground.png
Oops, something went wrong.
Binary file modified
BIN
-30 Bytes
(100%)
...es/eui/.loki/reference/chrome_mobile_Display_EuiTour_EuiTourStep_Playground.png
Oops, something went wrong.
Binary file modified
BIN
-24 Bytes
(100%)
packages/eui/.loki/reference/chrome_mobile_Display_EuiTour_EuiTour_Playground.png
Oops, something went wrong.
Binary file modified
BIN
+49 Bytes
(100%)
...loki/reference/chrome_mobile_Forms_EuiAutoRefresh_EuiAutoRefresh_Playground.png
Oops, something went wrong.
Binary file modified
BIN
+82 Bytes
(100%)
...me_mobile_Forms_EuiColorPalettePicker_EuiColorPalettePicker_Appended_Titles.png
Oops, something went wrong.
Binary file modified
BIN
+73 Bytes
(100%)
packages/eui/.loki/reference/chrome_mobile_Forms_EuiComboBox_Groups.png
Oops, something went wrong.
Binary file modified
BIN
+73 Bytes
(100%)
...s/eui/.loki/reference/chrome_mobile_Forms_EuiComboBox_Nested_Options_Groups.png
Oops, something went wrong.
Binary file modified
BIN
+81 Bytes
(100%)
packages/eui/.loki/reference/chrome_mobile_Forms_EuiComboBox_Row_Height_Auto.png
Oops, something went wrong.
Binary file modified
BIN
+134 Bytes
(100%)
packages/eui/.loki/reference/chrome_mobile_Forms_EuiDatePicker_High_Contrast.png
Oops, something went wrong.
Binary file modified
BIN
+57 Bytes
(100%)
packages/eui/.loki/reference/chrome_mobile_Forms_EuiDatePicker_Playground.png
Oops, something went wrong.
Binary file modified
BIN
+91 Bytes
(100%)
...eui/.loki/reference/chrome_mobile_Forms_EuiDatePicker_Restricted_Day_Select.png
Oops, something went wrong.
Binary file modified
BIN
+71 Bytes
(100%)
packages/eui/.loki/reference/chrome_mobile_Forms_EuiDatePicker_Time_Select.png
Oops, something went wrong.
Binary file modified
BIN
+48 Bytes
(100%)
...ages/eui/.loki/reference/chrome_mobile_Forms_EuiDatePicker_Time_Select_Only.png
Oops, something went wrong.
Binary file modified
BIN
+82 Bytes
(100%)
...ges/eui/.loki/reference/chrome_mobile_Forms_EuiDualRange_Input_With_Popover.png
Oops, something went wrong.
Binary file modified
BIN
+79 Bytes
(100%)
packages/eui/.loki/reference/chrome_mobile_Forms_EuiRange_Input_With_Popover.png
Oops, something went wrong.
Binary file modified
BIN
-631 Bytes
(98%)
...obile_Forms_EuiSuperDatePicker_EuiSuperDatePicker_Custom_Quick_Select_Panel.png
Oops, something went wrong.
Binary file modified
BIN
-674 Bytes
(98%)
...chrome_mobile_Forms_EuiSuperDatePicker_EuiSuperDatePicker_Quick_Select_Only.png
Oops, something went wrong.
Binary file modified
BIN
-268 Bytes
(98%)
...ui/.loki/reference/chrome_mobile_Layout_EuiHeader_EuiHeaderLinks_Playground.png
Oops, something went wrong.
Binary file modified
BIN
-473 Bytes
(99%)
...ce/chrome_mobile_Layout_EuiHeader_EuiHeader_Dark_Theme_With_Sitewide_Search.png
Oops, something went wrong.
Binary file modified
BIN
+79 Bytes
(100%)
packages/eui/.loki/reference/chrome_mobile_Layout_EuiInputPopover_Playground.png
Oops, something went wrong.
Binary file modified
BIN
-1.74 KB
(83%)
....loki/reference/chrome_mobile_Layout_EuiPopover_EuiPopoverFooter_Playground.png
Oops, something went wrong.
Binary file modified
BIN
-1.69 KB
(84%)
.../.loki/reference/chrome_mobile_Layout_EuiPopover_EuiPopoverTitle_Playground.png
Oops, something went wrong.
Binary file modified
BIN
+4 Bytes
(100%)
...oki/reference/chrome_mobile_Layout_EuiPopover_EuiPopover_High_Contrast_Mode.png
Oops, something went wrong.
Binary file modified
BIN
-48 Bytes
(100%)
...oki/reference/chrome_mobile_Layout_EuiPopover_EuiPopover_Panel_Padding_Size.png
Oops, something went wrong.
Binary file modified
BIN
-49 Bytes
(100%)
...s/eui/.loki/reference/chrome_mobile_Layout_EuiPopover_EuiPopover_Playground.png
Oops, something went wrong.
Binary file modified
BIN
-1.79 KB
(99%)
.../reference/chrome_mobile_Tabular_Content_EuiDataGrid_Cell_Expansion_Popover.png
Oops, something went wrong.
Binary file modified
BIN
-1.6 KB
(99%)
...ui/.loki/reference/chrome_mobile_Tabular_Content_EuiDataGrid_Column_Actions.png
Oops, something went wrong.
Binary file modified
BIN
-433 Bytes
(98%)
...e_mobile_Tabular_Content_EuiDataGrid_toolbarVisibility_prop_Column_Selector.png
Oops, something went wrong.
Binary file modified
BIN
+229 Bytes
(100%)
...me_mobile_Tabular_Content_EuiDataGrid_toolbarVisibility_prop_Column_Sorting.png
Oops, something went wrong.
Binary file modified
BIN
-815 Bytes
(97%)
..._mobile_Tabular_Content_EuiDataGrid_toolbarVisibility_prop_Display_Selector.png
Oops, something went wrong.
Binary file modified
BIN
-763 Bytes
(99%)
...obile_Tabular_Content_EuiDataGrid_toolbarVisibility_prop_Keyboard_Shortcuts.png
Oops, something went wrong.
Binary file modified
BIN
-655 Bytes
(99%)
...i/.loki/reference/chrome_mobile_Templates_EuiSelectableTemplateSitewide_VRT.png
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| - Added themable prop support for `EuiPopover` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.