- Updated dependencies [fd1696643]
- Updated dependencies [3978cdbfe]
- @lg-tools/[email protected]
- c7ab79f57: Adds
--list
flag tocodemods
cli, which lists out all valid codemod names.
- 541e12e75: Updates builds to leverage Rollup tree shaking. (see
tools/build/config/rollup.config.mjs
) - Updated dependencies [541e12e75]
- @lg-tools/[email protected]
- e1955dd36: Fixes broken patch build
- Updated dependencies [e1955dd36]
- @lg-tools/[email protected]
- 53c67fba6: LG-4650: migrates from
yarn
topnpm
- Updated dependencies [79c88b5b1]
- Updated dependencies [53c67fba6]
- @lg-tools/[email protected]
-
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:
- Adds an explicit
usePortal={true}
declaration if left undefined and consolidates theusePortal
andrenderMode
props into a singlerenderMode
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
- Removes
popoverZIndex
,portalClassName
,portalContainer
,portalRef
,scrollContainer
, andusePortal
props from the following components:
@leafygreen-ui/info-sprinkle
@leafygreen-ui/inline-definition
@leafygreen-ui/number-input
- Removes
popoverZIndex
,portalClassName
,portalContainer
,portalRef
, andscrollContainer
props from the following components:
@leafygreen-ui/date-picker
@leafygreen-ui/guide-cue
-
Removes
popoverZIndex
,portalClassName
,portalContainer
,scrollContainer
, andusePortal
props fromCode
component in the@leafygreen-ui/code
package -
Removes
portalClassName
,portalContainer
,portalRef
,scrollContainer
, andusePortal
props fromSearchInput
component in the@leafygreen-ui/search-input
package -
Removes
shouldTooltipUsePortal
prop fromCopyable
component in the@leafygreen-ui/copyable
package -
Replaces
justify="fit"
prop value withjustify="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
- Adds an explicit
- af208260: Pre-release of codemods.