diff --git a/.changeset/brown-boxes-wink.md b/.changeset/brown-boxes-wink.md deleted file mode 100644 index 5a57693..0000000 --- a/.changeset/brown-boxes-wink.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"overlay-kit": patch ---- - -feat: Add cleanup effect for unmounting - -This commit introduces a useEffect cleanup function in the OverlayProvider component that dispatches a 'REMOVE_ALL' action when the component unmounts. -This change ensures that all overlays are properly cleaned up during testing scenarios, preventing state leakage and side effects from persistent overlays. - -**Related Issue:** Fixes #63 diff --git a/.changeset/late-forks-sneeze.md b/.changeset/late-forks-sneeze.md deleted file mode 100644 index 2242519..0000000 --- a/.changeset/late-forks-sneeze.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'overlay-kit': minor ---- - -Support for React versions 16.8 and 17 - -**Related Issue:** Fixes #43 diff --git a/examples/react-16/framer-motion/CHANGELOG.md b/examples/react-16/framer-motion/CHANGELOG.md new file mode 100644 index 0000000..aeaa70d --- /dev/null +++ b/examples/react-16/framer-motion/CHANGELOG.md @@ -0,0 +1,8 @@ +# @overlay-kit/framer-motion-react-16 + +## 0.0.6 + +### Patch Changes + +- Updated dependencies [[`01eaa3c`](https://github.com/toss/overlay-kit/commit/01eaa3c41e367224852cad56bc0214f1bf05ff77), [`9776fff`](https://github.com/toss/overlay-kit/commit/9776fff2bccc683afb9dfdfa7ad0b568cd902b7d)]: + - overlay-kit@1.4.0 diff --git a/examples/react-16/framer-motion/package.json b/examples/react-16/framer-motion/package.json index f76a588..f66d477 100644 --- a/examples/react-16/framer-motion/package.json +++ b/examples/react-16/framer-motion/package.json @@ -1,7 +1,7 @@ { "name": "@overlay-kit/framer-motion-react-16", "private": true, - "version": "0.0.5", + "version": "0.0.6", "type": "module", "scripts": { "predev": "yarn workspace overlay-kit build", @@ -12,7 +12,7 @@ }, "dependencies": { "framer-motion": "^6", - "overlay-kit": "1.4.0-canary.2407260853", + "overlay-kit": "1.4.0", "react": "^16.8", "react-dom": "^16.8" }, diff --git a/examples/react-17/framer-motion/CHANGELOG.md b/examples/react-17/framer-motion/CHANGELOG.md new file mode 100644 index 0000000..8b18f4f --- /dev/null +++ b/examples/react-17/framer-motion/CHANGELOG.md @@ -0,0 +1,8 @@ +# @overlay-kit/framer-motion-react-17 + +## 0.0.6 + +### Patch Changes + +- Updated dependencies [[`01eaa3c`](https://github.com/toss/overlay-kit/commit/01eaa3c41e367224852cad56bc0214f1bf05ff77), [`9776fff`](https://github.com/toss/overlay-kit/commit/9776fff2bccc683afb9dfdfa7ad0b568cd902b7d)]: + - overlay-kit@1.4.0 diff --git a/examples/react-17/framer-motion/package.json b/examples/react-17/framer-motion/package.json index 86faa3b..9652878 100644 --- a/examples/react-17/framer-motion/package.json +++ b/examples/react-17/framer-motion/package.json @@ -1,7 +1,7 @@ { "name": "@overlay-kit/framer-motion-react-17", "private": true, - "version": "0.0.5", + "version": "0.0.6", "type": "module", "scripts": { "predev": "yarn workspace overlay-kit build", @@ -12,7 +12,7 @@ }, "dependencies": { "framer-motion": "^6", - "overlay-kit": "1.4.0-canary.2407260853", + "overlay-kit": "1.4.0", "react": "^17", "react-dom": "^17" }, diff --git a/examples/react-18/framer-motion/CHANGELOG.md b/examples/react-18/framer-motion/CHANGELOG.md index 846a5f3..e642d0c 100644 --- a/examples/react-18/framer-motion/CHANGELOG.md +++ b/examples/react-18/framer-motion/CHANGELOG.md @@ -1,5 +1,12 @@ # @overlay-kit/framer-motion +## 0.0.6 + +### Patch Changes + +- Updated dependencies [[`01eaa3c`](https://github.com/toss/overlay-kit/commit/01eaa3c41e367224852cad56bc0214f1bf05ff77), [`9776fff`](https://github.com/toss/overlay-kit/commit/9776fff2bccc683afb9dfdfa7ad0b568cd902b7d)]: + - overlay-kit@1.4.0 + ## 0.0.5 ### Patch Changes diff --git a/examples/react-18/framer-motion/package.json b/examples/react-18/framer-motion/package.json index 385e9a2..20f70fe 100644 --- a/examples/react-18/framer-motion/package.json +++ b/examples/react-18/framer-motion/package.json @@ -1,7 +1,7 @@ { "name": "@overlay-kit/framer-motion-react-18", "private": true, - "version": "0.0.5", + "version": "0.0.6", "type": "module", "scripts": { "predev": "yarn workspace overlay-kit build", diff --git a/packages/CHANGELOG.md b/packages/CHANGELOG.md index 573a338..c47e1eb 100644 --- a/packages/CHANGELOG.md +++ b/packages/CHANGELOG.md @@ -1,5 +1,22 @@ # overlay-kit +## 1.4.0 + +### Minor Changes + +- [#72](https://github.com/toss/overlay-kit/pull/72) [`9776fff`](https://github.com/toss/overlay-kit/commit/9776fff2bccc683afb9dfdfa7ad0b568cd902b7d) Thanks [@jungpaeng](https://github.com/jungpaeng)! - Support for React versions 16.8 and 17 + + **Related Issue:** Fixes #43 + +### Patch Changes + +- [#64](https://github.com/toss/overlay-kit/pull/64) [`01eaa3c`](https://github.com/toss/overlay-kit/commit/01eaa3c41e367224852cad56bc0214f1bf05ff77) Thanks [@jungpaeng](https://github.com/jungpaeng)! - feat: Add cleanup effect for unmounting + + This commit introduces a useEffect cleanup function in the OverlayProvider component that dispatches a 'REMOVE_ALL' action when the component unmounts. + This change ensures that all overlays are properly cleaned up during testing scenarios, preventing state leakage and side effects from persistent overlays. + + **Related Issue:** Fixes #63 + ## 1.3.0 ### Minor Changes diff --git a/packages/package.json b/packages/package.json index 3aa27fc..3d631da 100644 --- a/packages/package.json +++ b/packages/package.json @@ -1,6 +1,6 @@ { "name": "overlay-kit", - "version": "1.4.0-canary.2407260853", + "version": "1.4.0", "description": "Next-generation tools for managing overlays", "keywords": [ "overlay",