Skip to content

Commit

Permalink
Add new sparse vector and dense vector icons (#169493)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed Oct 24, 2023
1 parent 97bd6bd commit a1955d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/kbn-react-field/src/field_icon/field_icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const typeToEuiIconMap: Partial<Record<string, EuiTokenProps>> = {
conflict: { iconType: 'warning', color: 'euiColorVis9', shape: 'square' },
date: { iconType: 'tokenDate' },
date_range: { iconType: 'tokenDate' },
dense_vector: { iconType: 'tokenDenseVector' },
dense_vector: { iconType: 'tokenVectorDense' },
geo_point: { iconType: 'tokenGeo' },
geo_shape: { iconType: 'tokenGeo' },
ip: { iconType: 'tokenIP' },
Expand All @@ -70,7 +70,7 @@ export const typeToEuiIconMap: Partial<Record<string, EuiTokenProps>> = {
_source: { iconType: 'editorCodeBlock', color: 'gray' },
point: { iconType: 'tokenShape' }, // there is no separate icon for `point` yet
shape: { iconType: 'tokenShape' },
sparse_vector: { iconType: 'tokenDenseVector' },
sparse_vector: { iconType: 'tokenVectorSparse' },
string: { iconType: 'tokenString' },
text: { iconType: 'tokenString' },
keyword: { iconType: 'tokenKeyword' },
Expand Down

0 comments on commit a1955d7

Please sign in to comment.