Releases: toss/overlay-kit
overlay-kit@1.4.1
Patch Changes
-
#74
324dab9
Thanks @jungpaeng! - Fix path resolution error by updating import path for 'use-sync-external-store/shim'The import path for
use-sync-external-store/shim
was incorrect, causing a path resolution error during build. This change updates the import statement to includeindex.js
, resolving the path issue.
overlay-kit@1.4.0
Minor Changes
-
#72
9776fff
Thanks @jungpaeng! - Support for React versions 16.8 and 17Related Issue: Fixes #43
Patch Changes
-
#64
01eaa3c
Thanks @jungpaeng! - feat: Add cleanup effect for unmountingThis 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
overlay-kit@1.3.0
overlay-kit@1.2.4
Patch Changes
-
#53
6f3c26a
Thanks @jungpaeng! - fix: Enhance Overlay State Management and Prevent Duplicate EntriesThis change enhances the overlay state management to ensure overlays maintain the correct state when closed and reopened, and prevents duplicate overlay entries.
It addresses issues with the overlay'scurrent
state not updating correctly in certain scenarios.Related Issue: Fixes #46
-
#58
b35ac6f
Thanks @jungpaeng! - fix: state reset issue on overlay reopenThis change fixes an issue where overlays did not retain their state when reopened without unmounting, even though they were not removed from the DOM.
The overlayReducer has been updated to maintain the state of overlays between close and open cycles, addressing an unintended state reset.Related Issue: Fixes #57
overlay-kit@1.2.3
Patch Changes
-
#50
5d7e84d
Thanks @jungpaeng! - Fix: Ensure 'current' reflects the last overlay when closing intermediate overlays- Resolve issue where 'current' does not update to the last overlay when closing an intermediate overlay
- Add logic to correctly update 'current' in reducer
overlay-kit@1.2.2
Patch Changes
- #48
2aaa5ea
Thanks @jungpaeng! - fix: Change current value when closing overlay