diff --git a/CHANGELOG.md b/CHANGELOG.md index 71c6f83aac9..2ab51d3a915 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ ## [`master`](https://github.com/elastic/eui/tree/master) -No public interface changes since `39.1.1`. +- Updated `tokenKeyword` to match the definition of keyword field type ([#5251](https://github.com/elastic/eui/pull/5251)) + +**Breaking changes** + +- Renamed `tokenKeyword` icon to `tokenTag` in `EuiToken` ([#5251](https://github.com/elastic/eui/pull/5251)) ## [`39.1.1`](https://github.com/elastic/eui/tree/v39.1.1) diff --git a/src-docs/src/views/icon/tokens.js b/src-docs/src/views/icon/tokens.js index d6ddb3be23c..6efb13dcbc7 100644 --- a/src-docs/src/views/icon/tokens.js +++ b/src-docs/src/views/icon/tokens.js @@ -55,6 +55,7 @@ const tokens = [ 'tokenRankFeature', 'tokenRankFeatures', 'tokenKeyword', + 'tokenTag', 'tokenCompletionSuggester', 'tokenDenseVector', 'tokenText', diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index a61a5d4c86d..f1c3e46fe63 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -8641,12 +8641,7 @@ exports[`EuiIcon props type tokenKeyword is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > - `; @@ -9038,6 +9033,28 @@ exports[`EuiIcon props type tokenSymbol is rendered 1`] = ` `; +exports[`EuiIcon props type tokenTag is rendered 1`] = ` + +`; + exports[`EuiIcon props type tokenText is rendered 1`] = ` `; +exports[`EuiToken props iconType as EuiTokenMapType tokenTag is rendered 1`] = ` + + + +`; + exports[`EuiToken props iconType as EuiTokenMapType tokenText is rendered 1`] = `