Skip to content

@leafygreen-ui/[email protected]

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

Major Changes

  • 04bb887: LG-4121: Code renders the copy button tooltip and language selector in the top layer using popover API. As a result, the following props are removed:

    • popoverZIndex
    • portalClassName
    • portalContainer
    • scrollContainer
    • usePortal

    Migration guide

    Use popover-v12 codemod for migration assistance.

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

Patch Changes