diff --git a/CHANGELOG.md b/CHANGELOG.md index 001f0ff9d..9f7e20afc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,26 +2,34 @@ ### Added +### Changed + +### Deprecated + +### Removed + +### Fixed + +### Dependency updates + +## [22.0.0] - 2023-05-31 + +### Added + - `Menu`: If the child is a `Fragment` element, the `onClick` event handler will be passed to its children. ([@farazatarodi](https://https://github.com/farazatarodi) in [#2661](https://github.com/teamleadercrm/ui/pull/2661)) ### Changed - `Flex`: Added support for all `Box` props on the `Flex` component ([@lowiebenoot](https://https://github.com/lowiebenoot) in [#2660](https://github.com/teamleadercrm/ui/pull/2660)) - `Flex`: Allow reverse flex directions as well ([@lowiebenoot](https://https://github.com/lowiebenoot) in [#2660](https://github.com/teamleadercrm/ui/pull/2660)) -- `Menu`: Menu is now rendered through a portal if the position is not static ([@farazatarodi](https://https://github.com/farazatarodi) in [#2661](https://github.com/teamleadercrm/ui/pull/2661)) +- [BREAKING] `Menu`: Menu is now rendered through a portal if the position is not static ([@farazatarodi](https://https://github.com/farazatarodi) in [#2661](https://github.com/teamleadercrm/ui/pull/2661)) - `Menu`: Menu uses an overlay to detect clicks outside of it and to lock scroll, similar to `Popover` ([@farazatarodi](https://https://github.com/farazatarodi) in [#2661](https://github.com/teamleadercrm/ui/pull/2661)) -### Deprecated - -### Removed - ### Fixed - `Input`: Fix warning when using input as an uncontrolled component ([@lorgan3](https://https://github.com/lorgan3) in [#2652](https://github.com/teamleadercrm/ui/pull/2652)) - `Menu`: the `onClick` event listener is passed to all children ([@farazatarodi](https://https://github.com/farazatarodi) in [#2661](https://github.com/teamleadercrm/ui/pull/2661)) -### Dependency updates - ## [21.2.0] - 2023-05-11 ### Added diff --git a/package.json b/package.json index 8914ef87c..b36658dca 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@teamleader/ui", "description": "Teamleader UI library", - "version": "21.2.0", + "version": "22.0.0", "author": "Teamleader ", "bugs": { "url": "https://github.com/teamleadercrm/ui/issues"