From 2c200868826bc1aaaf5f301f874c11fffa124b19 Mon Sep 17 00:00:00 2001 From: Andrea Del Rio Date: Fri, 12 Jul 2019 17:19:17 -0700 Subject: [PATCH] updated colors and added minor css changes --- src-docs/src/views/suggest/suggest_item.js | 18 +++++++++--------- .../__snapshots__/suggest_item.test.js.snap | 6 +++--- .../suggest_item/_suggest_item.scss | 8 +++----- src/components/suggest_item/_variables.scss | 16 +++++++++------- src/components/suggest_item/suggest_item.js | 19 +++++++++++-------- 5 files changed, 35 insertions(+), 32 deletions(-) diff --git a/src-docs/src/views/suggest/suggest_item.js b/src-docs/src/views/suggest/suggest_item.js index a641ad89b184..6d7b85401201 100644 --- a/src-docs/src/views/suggest/suggest_item.js +++ b/src-docs/src/views/suggest/suggest_item.js @@ -6,37 +6,37 @@ const shortDescription = 'This is the description'; const sampleItems = [ { - type: { iconType: 'kqlField', color: 'itemTint03' }, + type: { iconType: 'kqlField', color: 'tint4' }, label: 'Field sample', description: shortDescription, }, { - type: { iconType: 'kqlValue', color: 'itemTint02' }, + type: { iconType: 'kqlValue', color: 'tint0' }, label: 'Value sample', description: shortDescription, }, { - type: { iconType: 'kqlSelector', color: 'itemTint06' }, + type: { iconType: 'kqlSelector', color: 'tint2' }, label: 'Conjunction sample', description: shortDescription, }, { - type: { iconType: 'kqlOperand', color: 'itemTint01' }, + type: { iconType: 'kqlOperand', color: 'tint1' }, label: 'Operator sample', description: shortDescription, }, { - type: { iconType: 'search', color: 'itemTint05' }, + type: { iconType: 'search', color: 'tint8' }, label: 'Recent search', }, { - type: { iconType: 'save', color: 'itemTint07' }, + type: { iconType: 'save', color: 'tint3' }, label: 'Saved search', }, ]; const sampleItem1 = { - type: { iconType: 'kqlValue', color: 'itemTint02' }, + type: { iconType: 'kqlValue', color: 'tint0' }, label: 'Charles de Gaulle International Airport', description: shortDescription, }; @@ -61,11 +61,11 @@ export default () => ( type={sampleItem1.type} labelDisplay="expand" label={sampleItem1.label} - description="This item expands its label" + description="This item will expand its label if needed" /> diff --git a/src/components/suggest_item/__snapshots__/suggest_item.test.js.snap b/src/components/suggest_item/__snapshots__/suggest_item.test.js.snap index f5d2db891f26..b14c85d69530 100644 --- a/src/components/suggest_item/__snapshots__/suggest_item.test.js.snap +++ b/src/components/suggest_item/__snapshots__/suggest_item.test.js.snap @@ -7,7 +7,7 @@ exports[`EuiSuggestItem is rendered 1`] = ` data-test-subj="test subject string" >