diff --git a/CHANGELOG.md b/CHANGELOG.md index 5bfb0452154..1a4a18c47f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## [`master`](https://github.com/elastic/eui/tree/master) +**Bug fixes** + +- Updated TS def for `EuiFilterSelect` ([#2291](https://github.com/elastic/eui/pull/2291)) - Fixed alignment of icons and label in `EuiSideNavItem` ([#2297](https://github.com/elastic/eui/pull/2297)) ## [`13.8.0`](https://github.com/elastic/eui/tree/v13.8.0) diff --git a/src/components/filter_group/filter_select_item.js b/src/components/filter_group/filter_select_item.js index d1aa013f6c6..b93b134d3ae 100644 --- a/src/components/filter_group/filter_select_item.js +++ b/src/components/filter_group/filter_select_item.js @@ -106,6 +106,7 @@ EuiFilterSelectItem.propTypes = { * Applies an icon and visual styling to activated items */ checked: PropTypes.oneOf([CHECKED_ON, CHECKED_OFF]), + onClick: PropTypes.func, showIcons: PropTypes.bool, }; diff --git a/src/components/filter_group/index.d.ts b/src/components/filter_group/index.d.ts index a99eb43e45f..89754e08ab1 100644 --- a/src/components/filter_group/index.d.ts +++ b/src/components/filter_group/index.d.ts @@ -55,6 +55,7 @@ declare module '@elastic/eui' { export type FilterChecked = 'on' | 'off'; export interface EuiFilterSelectItemProps { checked?: FilterChecked; + onClick?: (event: React.MouseEvent) => void; } // eslint-disable-next-line react/prefer-stateless-function