From 68f4bf9d6ff71a9ec1bfa11d1ecb68bd70d37740 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 7 Mar 2024 18:55:28 +0000 Subject: [PATCH] [MD] Expose a few properties for customize the appearance of the data source selector component (#6057) * allow customize picker Signed-off-by: Lu Yu * fix placeholder Signed-off-by: Lu Yu * add changelog Signed-off-by: Lu Yu --------- Signed-off-by: Lu Yu (cherry picked from commit 144c022dde279a55d5b2ca965457210b76852ad0) Signed-off-by: github-actions[bot] # Conflicts: # CHANGELOG.md --- .../create_data_source_selector.test.tsx.snap | 16 +- .../data_source_selector.test.tsx.snap | 158 ++++++++++++++++-- .../create_data_source_selector.test.tsx | 2 +- .../data_source_selector.test.tsx | 66 +++++++- .../data_source_selector.tsx | 69 ++++++-- .../public/components/utils.ts | 13 ++ .../data_source_management/public/mocks.ts | 37 ++++ 7 files changed, 322 insertions(+), 39 deletions(-) diff --git a/src/plugins/data_source_management/public/components/data_source_selector/__snapshots__/create_data_source_selector.test.tsx.snap b/src/plugins/data_source_management/public/components/data_source_selector/__snapshots__/create_data_source_selector.test.tsx.snap index 4ce6e1bc30ab..5babe5d1eae3 100644 --- a/src/plugins/data_source_management/public/components/data_source_selector/__snapshots__/create_data_source_selector.test.tsx.snap +++ b/src/plugins/data_source_management/public/components/data_source_selector/__snapshots__/create_data_source_selector.test.tsx.snap @@ -9,12 +9,12 @@ Object { aria-expanded="false" aria-haspopup="listbox" aria-label="Select a data source" - class="euiComboBox euiComboBox--compressed" + class="euiComboBox" data-test-subj="dataSourceSelectorComboBox" role="combobox" >