diff --git a/CHANGELOG.md b/CHANGELOG.md index 05f6d98af8c..b034fe32096 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ - Converted `EuiFormErrorText` to TS ([#1772](https://github.com/elastic/eui/pull/1772)) +**Bug fixes** + +Update ButtonIconColor type to provide all available options ([#1783](https://github.com/elastic/eui/pull/1783)) + ## [`9.7.1`](https://github.com/elastic/eui/tree/v9.7.1) **Bug fixes** diff --git a/src/components/button/index.d.ts b/src/components/button/index.d.ts index 9f44dec22ce..0eb1673d9dc 100644 --- a/src/components/button/index.d.ts +++ b/src/components/button/index.d.ts @@ -49,11 +49,14 @@ declare module '@elastic/eui' { */ export type ButtonIconColor = - | 'primary' | 'danger' | 'disabled' | 'ghost' - | 'text'; + | 'primary' + | 'subdued' + | 'success' + | 'text' + | 'warning'; export interface EuiButtonIconProps { iconType?: IconType;