8000 Releases · toss/overlay-kit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: toss/overlay-kit

overlay-kit@1.8.1

08 May 04:14
deda13a
Compare
Choose a tag to compare

Patch Changes

  • #161 ec07614 Thanks @jungpaeng! - feat: Change to allow each overlay provider to have a unique event ID

    Each overlay provider now uses a unique event ID instead of relying on shared global identifiers.

    This change improves event handling accuracy and avoids potential collisions when managing multiple overlays from different providers.
    It is backward-compatible for existing overlays that do not explicitly set a provider-specific ID.

overlay-kit@1.8.0

01 May 07:57
2fe5b84
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • #151 07f42a5 Thanks @jungpaeng! - feat: Add component key

    Fixed an issue with overlay components not properly remounting when unmounted and immediately reopened with the same ID.
    Added a new componentKey property that's separate from overlayId to ensure React properly handles component lifecycle. Each time overlay.open() is called, a new random componentKey is generated internally even when reusing the same overlayId.

    This fix resolves scenarios where calling unmount() followed by open() with the same overlay ID in quick succession would result in the overlay not being visible to users.

overlay-kit@1.7.0

25 Mar 03:12
4b158ab
Compare
Choose a tag to compare

Minor Changes

  • 8c4d54d Thanks @jungpaeng! - feat: export types from content-overlay-controller

    Export OverlayControllerComponent and OverlayAsyncControllerComponent types from content-overlay-controller module for better type accessibility in consumer projects.

overlay-kit@1.6.2

24 Feb 12:08
17246f2
Compare
Choose a tag to compare

Patch Changes

overlay-kit@1.6.1

12 Feb 02:40
64e9494
Compare
Choose a tag to compare

Patch Changes

  • #113 b57d15b Thanks @jungpaeng! - Improve overlay unmount logic and add test cases

    • Enhanced current overlay state management during unmount
      • When unmounting a middle overlay with multiple overlays open, the last overlay becomes current
      • When unmounting the last overlay, the previous overlay becomes current
    • Added test cases
      • Test for unmounting multiple overlays in different orders
      • Test for tracking current overlay state using useCurrentOverlay hook

overlay-kit@1.6.0

12 Feb 02:38
988fb4e
Compare
Choose a tag to compare

Minor Changes

  • #102 becbd90 Thanks @jungpaeng! - feat: Add local overlay context support

    • Add experimental_createOverlayContext function to create isolated overlay contexts
    • Refactor context management to support multiple overlay instances
    • Move overlay provider and controller logic into separate files
    • Update store management to support local state
    • Add documentation for new context creation API
    • Improve type definitions and exports

overlay-kit@1.5.0

16 Jan 09:42
9b3ca2f
Compare
Choose a tag to compare

Minor Changes

Patch Changes

overlay-kit@1.4.1

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.

overlay-kit@1.4.0

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

overlay-kit@1.3.0

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

0