Skip to content

@leafygreen-ui/[email protected]

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

Major Changes

  • 04bb887: LG-4121: DatePicker renders menu, month selector, and year selector in top layer using popover API. As a result, the following props are deprecated and removed:

    • popoverZIndex
    • portalClassName
    • portalContainer
    • portalRef
    • scrollContainer

    Additional changes include:

    • Deprecates and removes justify="fit". Instead, use justify="middle"
    • Removes unused contentClassName prop

    Migration guide

    Use popover-v12 codemod for migration assistance.

    Old
    <DatePicker portalContainer={containerRef} scrollContainer={containerRef} />
    <DatePicker portalClassName="portal-class" />
    New
    <DatePicker />
    <DatePicker />

Patch Changes