From 6c0e7f90c38e09fa2731d380da37c3fb697eb687 Mon Sep 17 00:00:00 2001 From: Andrew Rubin Date: Mon, 19 Aug 2024 17:56:04 -0700 Subject: [PATCH] add 3.0.0 changset --- .../{perfect-plums-pretend.md => blue-dogs-know.md} | 10 ++-------- .changeset/pre.json | 8 -------- 2 files changed, 2 insertions(+), 16 deletions(-) rename .changeset/{perfect-plums-pretend.md => blue-dogs-know.md} (92%) delete mode 100644 .changeset/pre.json diff --git a/.changeset/perfect-plums-pretend.md b/.changeset/blue-dogs-know.md similarity index 92% rename from .changeset/perfect-plums-pretend.md rename to .changeset/blue-dogs-know.md index 4e0733a..01b18bb 100644 --- a/.changeset/perfect-plums-pretend.md +++ b/.changeset/blue-dogs-know.md @@ -2,22 +2,16 @@ "@wethegit/react-modal": major --- -## Breaking changes - - **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. -## New Features + - 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. -## Fixes + - 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) -## Migration - - **Before** ```javascript diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index ba01a5d..0000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "mode": "pre", - "tag": "beta", - "initialVersions": { - "@wethegit/react-modal": "2.2.2" - }, - "changesets": ["perfect-plums-pretend"] -}