Skip to content

Releases: toss/overlay-kit

[email protected]

28 Jul 08:55
202adce
Compare
Choose a tag to compare

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 include index.js, resolving the path issue.

[email protected]

28 Jul 05:49
1f29582
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • #64 01eaa3c Thanks @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

[email protected]

16 Jul 04:17
7d8b642
Compare
Choose a tag to compare

Minor Changes

  • #59 828fad5 Thanks @XionWCFM! - feat: Add overlayAsync implementation

    This change implements the openAsync method for overly-kit's promise support discussed in #47.

    Related Issue: Fixes #47

[email protected]

15 Jul 03:12
b5a5d64
Compare
Choose a tag to compare

Patch Changes

  • #53 6f3c26a Thanks @jungpaeng! - fix: Enhance Overlay State Management and Prevent Duplicate Entries

    This 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's current state not updating correctly in certain scenarios.

    Related Issue: Fixes #46

  • #58 b35ac6f Thanks @jungpaeng! - fix: state reset issue on overlay reopen

    This 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

[email protected]

13 Jul 17:50
c381297
Compare
Choose a tag to compare

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

[email protected]

13 Jul 16:09
43731c3
Compare
Choose a tag to compare

Patch Changes