Skip to content

Latest commit

 

History

History
89 lines (56 loc) · 2.8 KB

CHANGELOG.md

File metadata and controls

89 lines (56 loc) · 2.8 KB

@lg-tools/codemods

0.1.5

Patch Changes

  • Updated dependencies [fd1696643]
  • Updated dependencies [3978cdbfe]

0.1.4

Patch Changes

  • c7ab79f57: Adds --list flag to codemods cli, which lists out all valid codemod names.

0.1.3

Patch Changes

0.1.2

Patch Changes

  • e1955dd36: Fixes broken patch build
  • Updated dependencies [e1955dd36]

0.1.1

Patch Changes

  • 53c67fba6: LG-4650: migrates from yarn to pnpm
  • Updated dependencies [79c88b5b1]
  • Updated dependencies [53c67fba6]

0.1.0

Minor Changes

  • 04bb887c0: LG-4525 Adds popover-v12 codemod which can be used to refactor popover component instances. Users can filter for specific packages using the --packages flag.

    This codemod does the following:

    1. Adds an explicit usePortal={true} declaration if left undefined and consolidates the usePortal and renderMode props into a single renderMode prop for components in the following packages:
    • @leafygreen-ui/combobox
    • @leafygreen-ui/menu
    • @leafygreen-ui/popover
    • @leafygreen-ui/select
    • @leafygreen-ui/split-button
    • @leafygreen-ui/tooltip
    1. Removes popoverZIndex, portalClassName, portalContainer, portalRef, scrollContainer, and usePortal props from the following components:
    • @leafygreen-ui/info-sprinkle
    • @leafygreen-ui/inline-definition
    • @leafygreen-ui/number-input
    1. Removes popoverZIndex, portalClassName, portalContainer, portalRef, and scrollContainer props from the following components:
    • @leafygreen-ui/date-picker
    • @leafygreen-ui/guide-cue
    1. Removes popoverZIndex, portalClassName, portalContainer, scrollContainer, and usePortal props from Code component in the @leafygreen-ui/code package

    2. Removes portalClassName, portalContainer, portalRef, scrollContainer, and usePortal props from SearchInput component in the @leafygreen-ui/search-input package

    3. Removes shouldTooltipUsePortal prop from Copyable component in the @leafygreen-ui/copyable package

    4. Replaces justify="fit" prop value with justify="middle" for components in the following packages:

    • @leafygreen-ui/date-picker
    • @leafygreen-ui/info-sprinkle
    • @leafygreen-ui/inline-definition
    • @leafygreen-ui/menu
    • @leafygreen-ui/popover
    • @leafygreen-ui/tooltip

0.0.2

Patch Changes

  • af208260: Pre-release of codemods.