-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version Packages #2562
Open
github-actions
wants to merge
1
commit into
main
Choose a base branch
from
changeset-release/main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Version Packages #2562
+1,629
−891
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
requested review from
shaneeza
and removed request for
a team
November 27, 2024 22:10
stephl3
approved these changes
Nov 27, 2024
Size Change: 0 B Total Size: 1.4 MB ℹ️ View Unchanged
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@lg-chat/[email protected]
Major Changes
InputBar
renders results menu in top layer using popover API. As a result, the following props are deprecated and removed:portalClassName
portalContainer
portalRef
scrollContainer
usePortal
Patch Changes
@leafygreen-ui/[email protected]
Major Changes
04bb887: LG-4121: Removes
popoverZIndex
prop because theInlineDefinition
component instance will now render in the top layerMigration guide
Old
New
Patch Changes
@leafygreen-ui/[email protected]
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
New
Patch Changes
@leafygreen-ui/[email protected]
Major Changes
04bb887: LG-4121: Replaces
usePortal
prop withrenderMode
prop.renderMode="inline"
andrenderMode="portal"
are deprecated, and all popover elements should migrate to using the top layer. The old default wasusePortal=true
, and the new default isrenderMode="top-layer"
.See @leafygreen-ui/popover package 12.0.0 changelog for more info.
Migration guide
Use popover-v12 codemod for migration assistance.
Old
New
Patch Changes
@leafygreen-ui/[email protected]
Major Changes
04bb887: LG-4121:
Copyable
renders tooltip in the top layer using popover API. As a result, theshouldTooltipUsePortal
prop is removedMigration guide
Use popover-v12 codemod for migration assistance.
Old
New
Patch Changes
@leafygreen-ui/[email protected]
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:
justify="fit"
. Instead, usejustify="middle"
contentClassName
propMigration guide
Use popover-v12 codemod for migration assistance.
Old
New
Patch Changes
@leafygreen-ui/[email protected]
Major Changes
04bb887: LG-4121:
GuideCue
renders beacon and tooltip using popover API. As a result, the following props are removed:popoverZIndex
portalClassName
portalContainer
portalRef
scrollContainer
Migration guide
Use popover-v12 codemod for migration assistance.
Old
New
Patch Changes
@leafygreen-ui/[email protected]
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:
justify="fit"
. Instead, usejustify="middle"
Migration guide
Use popover-v12 codemod for migration assistance.
Old
New
Patch Changes
@leafygreen-ui/[email protected]
Major Changes
04bb887: LG-4121:
InlineDefinition
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:
justify="fit"
. Instead, usejustify="middle"
Migration guide
Use popover-v12 codemod for migration assistance.
Old
New
Patch Changes
@leafygreen-ui/[email protected]
Major Changes
04bb887: LG-4121: Replaces
usePortal
prop withrenderMode
prop.renderMode="inline"
andrenderMode="portal"
are deprecated, and all popover elements should migrate to using the top layer. The old default wasusePortal=true
, and the new default isrenderMode="top-layer"
.See @leafygreen-ui/popover package 12.0.0 changelog for more info.
Additional changes include:
justify="fit"
. Instead, usejustify="middle"
Migration guide
Use popover-v12 codemod for migration assistance.
Old
New
Patch Changes
@leafygreen-ui/[email protected]
Major Changes
04bb887: LG-4121:
NumberInput
renders unit selector and 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:
Migration guide
Use popover-v12 codemod for migration assistance.
Old
New
Patch Changes
@leafygreen-ui/[email protected]
Major Changes
Pagination
renders page selectors in the top layer using popover APIPatch Changes
@leafygreen-ui/[email protected]
Major Changes
04bb887: LG-4121:
Pipeline
renders tooltip in the top layer using popover APIAdditionally, the tooltip opens immediately on hover instead of default 500ms delay
Patch Changes
@leafygreen-ui/[email protected]
Major Changes
04bb887: LG-4445: Replaces
usePortal
prop withrenderMode
prop with values of'inline'
,'portal'
, and'top-layer'
.renderMode="inline"
andrenderMode="portal"
are deprecated, and all popover elements should migrate to using the top layer. The old default wasusePortal=true
, and the new default isrenderMode="top-layer"
.renderMode="top-layer"
orrenderMode
isundefined
, the popover element will render in the top layer using the popover APIdismissMode
prop to control dismissal behavior of the popover element. Read more about the popover attributeonToggle
prop to run a callback function when the visibility of a popover element rendered in the top layer is toggledrenderMode="inline"
, the popover element will render inline in the DOM where it's writtenrenderMode="portal"
, the popover element will portal into a new div appended to the body. Alternatively, it can be portaled into a providedportalContainer
elementLG-4446: The
PopoverPropsProvider
from the@leafygreen-ui/leafygreen-provider
package can be used to pass props to a deeply nested popover element. It will readPopoverPropsContext
values if an explicit prop is not defined in the popover component instance. This applies for the following props:dismissMode
onEnter
onEntering
onEntered
onExit
onExiting
onExited
onToggle
popoverZIndex
portalClassName
portalContainer
portalRef
renderMode
scrollContainer
spacing
Additional changes include:
getPopoverRenderModeProps
util to pick popover props based on givenrenderMode
valuejustify="fit"
. Instead, usejustify="middle"
contentClassName
propspacing
prop from 10px to 4px@floating-ui/react
Migration guide
Use popover-v12 codemod for migration assistance.
Old
New
Globally render popover elements in top layer
After running the codemod and addressing manual updates, the new
forceUseTopLayer
prop in theLeafyGreenProvider
can be used to test interactions with all LG popover elements forcibly set torenderMode="top-layer"
. This can help pressure test for any regressions to more confidently and safely migrate.Patch Changes
@leafygreen-ui/[email protected]
Major Changes
04bb887: LG-4121:
SearchInput
renders results menu in the top layer using popover API. As a result, the following props are removed:portalClassName
portalContainer
portalRef
scrollContainer
usePortal
Migration guide
Use popover-v12 codemod for migration assistance.
Old
New
Patch Changes
@leafygreen-ui/[email protected]
Major Changes
04bb887: LG-4121: Replaces
usePortal
prop withrenderMode
prop.renderMode="inline"
andrenderMode="portal"
are deprecated, and all popover elements should migrate to using the top layer. The old default wasusePortal=true
, and the new default isrenderMode="top-layer"
.See @leafygreen-ui/popover package 12.0.0 changelog for more info.
Migration guide
Use popover-v12 codemod for migration assistance.
Old
New
Patch Changes
@leafygreen-ui/[email protected]
Major Changes
Patch Changes
@leafygreen-ui/[email protected]
Major Changes
04bb887: LG-4121: Replaces
usePortal
prop withrenderMode
prop with values of'inline'
,'portal'
, and'top-layer'
.renderMode="inline"
andrenderMode="portal"
are deprecated, and all popover elements should migrate to using the top layer.See @leafygreen-ui/menu package 26.0.0 changelog for more info.
Migration guide
Use popover-v12 codemod for migration assistance.
Old
New
Patch Changes
@leafygreen-ui/[email protected]
Major Changes
04bb887: LG-4121: The tooltip for the ellipses step renders in the top layer using popover API
Additionally, the tooltip opens immediately on hover instead of default 500ms delay
Patch Changes
@leafygreen-ui/[email protected]
Major Changes
04bb887: LG-4121: Replaces
usePortal
prop withrenderMode
prop.renderMode="inline"
andrenderMode="portal"
are deprecated, and all popover elements should migrate to using the top layer. The old default wasusePortal=true
, and the new default isrenderMode="top-layer"
.See @leafygreen-ui/popover package 12.0.0 changelog for more info.
Additional changes include:
justify="fit"
. Instead, usejustify="middle"
Migration guide
Use popover-v12 codemod for migration assistance.
Old
New
Patch Changes
@leafygreen-ui/[email protected]
Minor Changes
useMergeRefs
hook for merging array of refs into a single memoized callback ref ornull
@leafygreen-ui/[email protected]
Minor Changes
04bb887: LG-4446: Adds
PopoverPropsContext
to pass props to a deeply nested popover elementAdditionally exposes a
forceUseTopLayer
prop in theLeafyGreenProvider
which can be used to test interactions with all LG popover elements forcibly set torenderMode="top-layer"
. This can help pressure test for any regressions to more confidently and safely migrate. However, this should only be used when all LG dependencies are relying on v12+ of@leafygreen-ui/popover
.Patch Changes
@lg-tools/[email protected]
Minor Changes
--packages
flag tolg codemod
command. Passing in this flag will specify which package names should be filtered for in a given codemod.Patch Changes
@lg-tools/[email protected]
Minor Changes
04bb887: 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:
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
popoverZIndex
,portalClassName
,portalContainer
,portalRef
,scrollContainer
, andusePortal
props from the following components:@leafygreen-ui/info-sprinkle
@leafygreen-ui/inline-definition
@leafygreen-ui/number-input
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
packageRemoves
portalClassName
,portalContainer
,portalRef
,scrollContainer
, andusePortal
props fromSearchInput
component in the@leafygreen-ui/search-input
packageRemoves
shouldTooltipUsePortal
prop fromCopyable
component in the@leafygreen-ui/copyable
packageReplaces
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
@lg-tools/[email protected]
Minor Changes
ignoreFilePatterns
anddepcheckOptions.ignorePatterns
to exclude validating dependencies in*.input.*
and*.output.*
files intools/codemods
directory@lg-charts/[email protected]
Patch Changes
@lg-chat/[email protected]
Patch Changes
@lg-chat/[email protected]
Patch Changes
@lg-chat/[email protected]
Patch Changes
@lg-chat/[email protected]
Patch Changes
@lg-chat/[email protected]
Patch Changes
@lg-chat/[email protected]
Patch Changes
@lg-chat/[email protected]
Patch Changes
@lg-chat/[email protected]
Patch Changes
@lg-chat/[email protected]
Patch Changes
@lg-chat/[email protected]
Patch Changes
@lg-chat/[email protected]
Patch Changes
@lg-chat/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@leafygreen-ui/[email protected]
Patch Changes
@lg-tools/[email protected]
Patch Changes
@lg-tools/[email protected]
Patch Changes