Skip to content

Releases: toss/overlay-kit

overlay-kit@1.9.0

Choose a tag to compare

@github-actions github-actions released this 25 Feb 15:44
b711ac8

Minor Changes

Patch Changes

overlay-kit@1.8.6

Choose a tag to compare

@github-actions github-actions released this 30 Sep 08:42
6dfd31b

Patch Changes

overlay-kit@1.8.5

Choose a tag to compare

@github-actions github-actions released this 27 Aug 08:12
f70d23f

Patch Changes

overlay-kit@1.8.4

Choose a tag to compare

@github-actions github-actions released this 07 Jul 09:07
52aa7e5

Patch Changes

  • #187 c3dfcf1 Thanks @jungpaeng! - Fixed a bug where overlays could not be reopened after closing with the same ID.

    Fixed Issues

    • Resolved issue where overlays would not display when reopened with the same overlayId after being closed
    • Improved mounting state tracking with added isMounted property in overlay state management
    • Added state change detection logic to ensure proper reopen handling

    Changes

    • Added isMounted property to OverlayItem type for better mounting state tracking
    • Enhanced ADD action in reducer to handle reopening of existing closed overlays
    • Implemented automatic reopen mechanism through state comparison in OverlayProvider
    • Added test cases for overlay reopen scenarios

    This fix ensures overlays work as expected when closing and reopening them.

overlay-kit@1.8.3

Choose a tag to compare

@github-actions github-actions released this 04 Jul 05:52
cc91ab2

Patch Changes

  • #185 f261784 Thanks @jungpaeng! - fix: prevent unnecessary re-renders of existing overlays with memo

    Prevent unnecessary re-renders of existing overlays when new overlays are opened, improving performance.

    Key Changes

    • Added React.memo: Applied memo to overlay controller component to prevent re-renders when props haven't changed
    • Integrated state management: Streamlined state management by integrating it directly into the component and removing redundant prop passing

    Performance Improvements

    • Eliminated unnecessary re-renders of existing overlays when adding new overlays in multi-overlay scenarios
    • Provides more predictable and maintainable state management flow
    • Maintained existing API compatibility while optimizing internal performance

    This change maintains backward compatibility and provides performance improvements without requiring any code changes from users.

  • #183 579abaf Thanks @jungpaeng! - test: fix duplicate overlayId error message expectation

    Updated test case to match the actual implementation where duplicate overlayId error messages now include the specific overlayId value for better debugging experience.

overlay-kit@1.8.2

Choose a tag to compare

@github-actions github-actions released this 11 Jun 02:59
27c53fe

Patch Changes

overlay-kit@1.8.1

Choose a tag to compare

@github-actions github-actions released this 08 May 04:14
deda13a

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

Choose a tag to compare

@github-actions github-actions released this 01 May 07:57
2fe5b84

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

Choose a tag to compare

@github-actions github-actions released this 25 Mar 03:12
4b158ab

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

Choose a tag to compare

@jungpaeng jungpaeng released this 24 Feb 12:08
17246f2

Patch Changes