Skip to content

@leafygreen-ui/[email protected]

Compare
Choose a tag to compare
@github-actions github-actions released this 04 Dec 21:44
· 26 commits to main since this release
20539a4

Major Changes

  • 04bb887: LG-4121: InfoSprinkle renders tooltip in the top layer using popover API. As a result, the following props are removed:

    • popoverZIndex
    • portalClassName
    • portalContainer
    • portalRef
    • scrollContainer
    • usePortal

    Additional changes include:

    • Deprecates and removes justify="fit". Instead, use justify="middle"
    • Opens tooltip immediately on hover instead of default 500ms delay

    Migration guide

    Use popover-v12 codemod for migration assistance.

    Old
    <InfoSprinkle popoverZIndex={9999} usePortal={false} />
    <InfoSprinkle portalClassName="portal-class" usePortal />
    New
    <InfoSprinkle />
    <InfoSprinkle />

Patch Changes