From 14a86e1cb4094d8b5e3534ba7d6db8ecea5eae4e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 20 Aug 2024 16:02:15 +0000 Subject: [PATCH] Version Packages --- .changeset/blue-dogs-know.md | 25 ------------------------- CHANGELOG.md | 26 ++++++++++++++++++++++++++ package.json | 2 +- 3 files changed, 27 insertions(+), 26 deletions(-) delete mode 100644 .changeset/blue-dogs-know.md diff --git a/.changeset/blue-dogs-know.md b/.changeset/blue-dogs-know.md deleted file mode 100644 index 01b18bb..0000000 --- a/.changeset/blue-dogs-know.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -"@wethegit/react-modal": major ---- - -- **Removed** `appendToBody` prop. - - - The `appendToBody` prop has been removed. This prop was previously used to determine whether the modal should be appended to the body element. - -- **Added** `renderTo` prop. - - - Introduced the `renderTo` prop, which accepts an HTMLElement where the modal will be appended. This provides greater flexibilty, allowing users to specify any element to render the modal, including the body. This change enhances the customization options for the modal rendering. - -- Mark argument of hook as optional [#62](https://github.com/wethegit/react-modal/issues/62) - -- **Before** - - ```javascript - - ``` - -- **After** - - ```javascript - - ``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 7dbe144..80eca30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,31 @@ # @wethegit/react-modal +## 3.0.0 + +### Major Changes + +- [#79](https://github.com/wethegit/react-modal/pull/79) [`6c0e7f9`](https://github.com/wethegit/react-modal/commit/6c0e7f90c38e09fa2731d380da37c3fb697eb687) Thanks [@andrewrubin](https://github.com/andrewrubin)! - - **Removed** `appendToBody` prop. + + - The `appendToBody` prop has been removed. This prop was previously used to determine whether the modal should be appended to the body element. + + - **Added** `renderTo` prop. + + - Introduced the `renderTo` prop, which accepts an HTMLElement where the modal will be appended. This provides greater flexibilty, allowing users to specify any element to render the modal, including the body. This change enhances the customization options for the modal rendering. + + - Mark argument of hook as optional [#62](https://github.com/wethegit/react-modal/issues/62) + + - **Before** + + ```javascript + + ``` + + - **After** + + ```javascript + + ``` + ## 2.2.2 ### Patch Changes diff --git a/package.json b/package.json index 4f79a96..6b7032d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wethegit/react-modal", - "version": "2.2.2", + "version": "3.0.0", "description": "A customizable, accessible modal window component for React projects.", "files": [ "dist"