Update dependency react-resizable-panels to v4#33
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Contributor
Author
|
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
3988b69 to
b78e170
Compare
b78e170 to
3c877ec
Compare
3c877ec to
8bed472
Compare
8bed472 to
9cace59
Compare
9cace59 to
b4d3897
Compare
b4d3897 to
2dea123
Compare
2dea123 to
af69d62
Compare
af69d62 to
0a1a590
Compare
0a1a590 to
f63deab
Compare
f63deab to
4ccd49b
Compare
4ccd49b to
68a81de
Compare
68a81de to
8bba3af
Compare
8bba3af to
9796e7b
Compare
93636fd to
3e243fd
Compare
3e243fd to
d0920f3
Compare
d0920f3 to
f974c4c
Compare
f974c4c to
b4971f6
Compare
b4971f6 to
0d77c33
Compare
0d77c33 to
4b65937
Compare
4b65937 to
59fd7ea
Compare
59fd7ea to
af4d615
Compare
af4d615 to
899f239
Compare
899f239 to
1c10db1
Compare
1c10db1 to
f835b3b
Compare
f835b3b to
f4829cb
Compare
f4829cb to
3651213
Compare
3651213 to
e22dbc6
Compare
This file contains hidden or 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
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 contains the following updates:
^2.1.7→^4.0.0Release Notes
bvaughn/react-resizable-panels (react-resizable-panels)
v4.11.0Compare Source
Separatorsupports:focus-visiblepseudo-classv4.10.0Compare Source
data-separator="focus"state forSeparatorelements for more consistent custom CSS styles.v4.9.0Compare Source
disableDoubleClickprop toSeparatorto enable turning off the double-click size reset behavior.v4.8.0Compare Source
useDefaultLayouthook automatically migrates legacy layouts to version 4 format; see issue 605 for details on how this works.v4.7.6Compare Source
Panelaria-disabledattribute withdata-disabledv4.7.5Compare Source
defaultSizepropv4.7.4Compare Source
v4.7.3Compare Source
v4.7.2Compare Source
v4.7.1Compare Source
v4.7.0Compare Source
groupResizeBehaviorprop toPanel, enabling panels to retain their current size (pixels) size when the parentGroupis resized.v4.6.5Compare Source
adoptedStyleSheets(to better support environments like jsdom)v4.6.4Compare Source
v4.6.3Compare Source
v4.6.2Compare Source
Groupguards against layouts with mis-orderedPanelid keysv4.6.1Compare Source
PanelandGroupAPIs ignoreddisabledstatus when resizing panels; this is an explicit override of the disabled state and is required to support conditionally disabled groups.Separatorcomponent does not set acursor: not-allowedstyle if the parentGrouphas cursors disabled.v4.6.0Compare Source
PanelandSeparatorcomponents to be disabledv4.5.9Compare Source
useForceUpdatewithuseSyncExternalStoreto avoid side effect of swallowing "click" events in certain casesGroupmethodsetLayoutpersists layout to in-memory cachev4.5.8Compare Source
v4.5.7Compare Source
Panelfrom 4.5.3 that was disabled in 4.5.6Separatorhover-state onDocument"pointerout"v4.5.6Compare Source
v4.5.5Compare Source
aria-orientationrole from rootGroupelement as this was invalid according to the ARIA spec; (for more information see the discussion on issue #640)Panelregression introduced in 4.5.3v4.5.4Compare Source
Panelavoids unnecessary re-renders in response to mouse-hover state.v4.5.3Compare Source
max-widthandmax-heightto 100% to fix potential CSS overflow bug.v4.5.2Compare Source
SeparatorandPaneledges; make configurable via a newGroupprop.v4.5.1Compare Source
grabmovecol-resizeew-resizerow-resizens-resizev4.5.0Compare Source
SeparatorandPaneledge hit-area padding with a minimum size threshold based on Apple's user interface guidelines. Separators that are large enough will no longer be padded; separators that are too small (or panels without separators) will more or less function like before. This should not have much of a user-facing impact other than an increase in the click target area. (Previously I was not padding enough, as per Apple's guidelines.)Separatorresets its associatedPanelto its default-size (see video below); double-click will have no impact on panels without default sizesadoptedStyleSheetsDemo of double-clicking on a separator:
dbl-click.mov
v4.4.2Compare Source
"pointermove"event is has low-precision/roundedclientXandclientYvaluesv4.4.1Compare Source
Panelshould treatdefaultSize={0}as collapsed on mountv4.4.0Compare Source
onLayoutChangedprop toGroup.For layout changes caused by pointer events, this method is not called until the pointer has been released. This callback should be used if you're doing something like saving a layout as it is called less frequently than the previous approach.
The
useDefaultLayouthook has also been updated to use this callback (though it will continue to support the old callback as well, with a@deprecationtag).v4.3.3Compare Source
event.preventDefault()on "pointerup" unless a handle was actively draggedv4.3.2Compare Source
flex-growPanelstyle to an inline value instead of a CSS variable defined on the parentGroupto improve rendering performance. (This significantly reduces the negative impact from forced-reflow)v4.3.1Compare Source
"unset"styles with safer override values"pointerdown"and"pointerup"events; this is necessary for compatibility with certain UI libraries like Blueprint JSPanelpixel size usingoffsetWidth/offsetHeightrather thaninlineSizeto avoid an edgecase bug withResizeObserverv4.3.0Compare Source
Groupcomponent now sets defaultwidth,height, andoverflowstyles; (both can be overridden using thestyleproperty)event.preventDefaultfor the primary buttonuseGroupRefandusePanelRefto include| nullto increase compatibility with older React versionsPanelandSeparatorcomponentsv4.2.2Compare Source
useDefaultLayouthook initializesstorageparam tolocalStorageif undefined.PanelproponResizethat impacted certain TypeScript versions.v4.2.1Compare Source
displayNameproperty toGroup,Panel, andSeparatorcomponents for better debugging experience.Grouphandles newly registeredPanels+Separatorsduring mount so that user code can safely call imperative APIs earlierv4.2.0Compare Source
prevPanelSizeparam toonResizecallback to help simplify collapse/expand detection.v4.1.1Compare Source
SeparatorattributesroleandtabIndexcannot be overridden using props.v4.1.0Compare Source
useDefaultLayouthook supports saving and restoring multiple Panel layoutsuseGroupRefandusePanelRefhooksv4.0.16Compare Source
expand()API should restore pre-collapse sizedefaultViewvalue seemingly returned by some dev environmentsv4.0.15Compare Source
defaultLayoutwhen keys don't match Panel idsv4.0.14Compare Source
element.ownerDocument.defaultViewv4.0.13Compare Source
useDefaultLayout: DeprecatedgroupIdparam in favor ofidto avoid confusion; (there is no actual requirement for the Group to have a matching id)v4.0.12Compare Source
useDefaultLayoutnow debounces calls tostorage.setItemby 150msv4.0.11Compare Source
v4.0.10Compare Source
v4.0.9Compare Source
z-indexelements (e.g. modals) should not trigger separators behind themdefaultLayoutordisableCursorprops changePanelid changesv4.0.8Compare Source
defaultLayoutvaluev4.0.7Compare Source
pointer-eventstyles after "pointerup" eventv4.0.6Compare Source
v4.0.5Compare Source
v4.0.4Compare Source
Separatoron "pointerdown"v4.0.3Compare Source
defaultLayoutvalue returned fromuseDefaultLayoutv4.0.2Compare Source
GroupImperativeHandleandPanelImperativeHandletypes.v4.0.1Compare Source
useDefaultLayout: DeprecatedgroupIdparam in favor ofidto avoid confusion; (there is no actual requirement for the Group to have a matching id)v4.0.0Compare Source
Version 4 of react-resizable-panels offers more flexible size constraints– supporting units as pixels, percentages, REMs/EMs, and more. Support for server-rendering (including Server Components) has also been expanded.
Migrating from version 3 to 4
Refer to the docs for a complete list of props and API methods. Below are some examples of migrating from version 3 to 4, but first a couple of potential questions:
PanelResizeHandlecomponent was renamed toSeparatorto better align with the ARIA "separator" role and thedirectionprop was renamed toorientationto better align with the ARIAorientationattribute .onCollapseandonExpandevent handlers removed?onResizeevent handler instead:Basic usage example
Persistent layouts using localStorage
Conditional panels
Imperative APIs
Disabling custom cursors
v3.0.6Compare Source
v3.0.5Compare Source
v3.0.4Compare Source
v3.0.3Compare Source
v3.0.2Compare Source
HTMLElementto better support portal edge casesv3.0.1Compare Source
package.json#typesreferencev3.0.0Compare Source
"pointerup"and"pointercancel"listeners are now attached to theownerDocumentbody to better support edge cases like portals being rendered into a child window.v2.1.9Compare Source
v2.1.8Compare Source
Configuration
📅 Schedule: (in timezone Asia/Jerusalem)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.