diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index afaf301d6bf964..5eb8eda2b3b1aa 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -8,6 +8,10 @@ - `TextControl`: Add typings for `date`, `time` and `datetime-local` ([#59666](https://github.com/WordPress/gutenberg/pull/59666)). +### Deprecation + +- `isSmall` prop in `Button` component has been deprecated. Use `size="small"` prop instead ([#59734](https://github.com/WordPress/gutenberg/pull/59734)). + ### Internal - `Button`: Keep deprecated props in type definitions ([#59913](https://github.com/WordPress/gutenberg/pull/59913)). diff --git a/packages/components/src/button/test/index.tsx b/packages/components/src/button/test/index.tsx index 2b4a610c50bea0..9d8980e04c9313 100644 --- a/packages/components/src/button/test/index.tsx +++ b/packages/components/src/button/test/index.tsx @@ -43,7 +43,7 @@ describe( 'Button', () => { } ); it( 'should render a button element with is-secondary and is-small class', () => { - render(