diff --git a/src-docs/src/views/suggest/suggest_item.js b/src-docs/src/views/suggest/suggest_item.js index a641ad89b18..6d7b8540120 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 f5d2db891f2..c8ad08cfaa3 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" > { @@ -19,7 +19,7 @@ describe('EuiSuggestItem', () => { describe('props', () => { const sampleItem = { - type: { iconType: 'kqlValue', color: 'itemTint02' }, + type: { iconType: 'kqlValue', color: 'tint2' }, label: 'Charles de Gaulle International Airport', description: 'This is the description', };