forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.7] [Controls] Use EUI Selectable for Field search (elastic#151231) (…
…elastic#155454) Closes elastic#155452 # Backport This will backport the following commits from `main` to `8.7`: - [[Controls] Use EUI Selectable for Field search (elastic#151231)](elastic#151231) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Devon Thomson","email":"devon.thomson@elastic.co"},"sourceCommit":{"committedDate":"2023-02-24T15:39:15Z","message":"[Controls] Use EUI Selectable for Field search (elastic#151231)\n\n## Summary\r\nReplaces Control field selection list with EUISelectable.","sha":"eb9cc11a7c81073a75fb3e6ec33e61796cc40aff","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Feature:Dashboard","Feature:Input Control","Team:Presentation","loe:days","impact:low","backport:skip","v8.8.0"],"number":151231,"url":"https://github.com/elastic/kibana/pull/151231","mergeCommit":{"message":"[Controls] Use EUI Selectable for Field search (elastic#151231)\n\n## Summary\r\nReplaces Control field selection list with EUISelectable.","sha":"eb9cc11a7c81073a75fb3e6ec33e61796cc40aff"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/151231","number":151231,"mergeCommit":{"message":"[Controls] Use EUI Selectable for Field search (elastic#151231)\n\n## Summary\r\nReplaces Control field selection list with EUISelectable.","sha":"eb9cc11a7c81073a75fb3e6ec33e61796cc40aff"}}]}] BACKPORT--> --------- Co-authored-by: Devon Thomson <devon.thomson@elastic.co>
- Loading branch information
1 parent
f18982e
commit cc16f95
Showing
11 changed files
with
265 additions
and
277 deletions.
There are no files selected for viewing
This file contains 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
19 changes: 8 additions & 11 deletions
19
src/plugins/presentation_util/public/components/field_picker/field_picker.scss
This file contains 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 |
---|---|---|
@@ -1,17 +1,14 @@ | ||
.presFieldPicker__fieldButton { | ||
background: $euiColorEmptyShade; | ||
} | ||
|
||
.presFieldPickerFieldButtonActive { | ||
box-shadow: 0 0 0 2px $euiColorPrimary; | ||
background-color: transparentize($euiColorPrimary, .9); | ||
} | ||
|
||
.presFieldPicker__fieldPanel { | ||
height: 300px; | ||
overflow-y: scroll; | ||
} | ||
.fieldPickerSelectable { | ||
height: $euiSizeXXL * 9; // 40 * 9 = 360px | ||
|
||
.presFieldPicker__container--disabled { | ||
opacity: .7; | ||
pointer-events: none; | ||
&.fieldPickerSelectableLoading { | ||
.euiSelectableMessage { | ||
height: 100%; | ||
} | ||
} | ||
} |
This file contains 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.