Originally created by: dependabot[bot]
Bumps react-resizable-panels from 3.0.6 to 4.1.0.
Sourced from react-resizable-panels's releases.
4.1.0
- 567:
useDefaultLayouthook supports saving and restoring multiple Panel layouts- 568: Fix race in
useGroupRefandusePanelRefhooks4.0.16
- 563: Panel
expand()API should restore pre-collapse size- 564: Add guard for unexpected
defaultViewvalue seemingly returned by some dev environments4.0.15
- 556: Ignore
defaultLayoutwhen keys don't match Panel ids4.0.14
- 555: Allow resizable panels to be rendered into a different Window (e.g. popup or frame) by accessing globals through
element.ownerDocument.defaultView4.0.13
useDefaultLayout: DeprecatedgroupIdparam in favor ofidto avoid confusion; (there is no actual requirement for the Group to have a matching id)4.0.12
- 552:
useDefaultLayoutnow debounces calls tostorage.setItemby 150ms4.0.11
- 8604491: Fix edge case bug with panel constraints not being properly invalidated after resize
4.0.10
- #551](https://github.com/href="https://redirect.github.com/bvaughn/react-resizable-panels/pull/551">/issues/551): Expand fixed-size element support
4.0.9
- #542](https://github.com/href="https://redirect.github.com/bvaughn/react-resizable-panels/pull/542">/issues/542): Clicks on higher
z-indexelements (e.g. modals) should not trigger separators behind them- #547](https://github.com/href="https://redirect.github.com/bvaughn/react-resizable-panels/pull/547">/issues/547): Don't re-mount Group when
defaultLayoutordisableCursorprops change- #548](https://github.com/href="https://redirect.github.com/bvaughn/react-resizable-panels/pull/548">/issues/548): Bugfix: Gracefully handle
Panelid changes- #549](https://github.com/href="https://redirect.github.com/bvaughn/react-resizable-panels/pull/549">/issues/549): Improve DevX when Group within hidden DOM subtree; defer layout-change events
4.0.8
- #541](https://github.com/href="https://redirect.github.com/bvaughn/react-resizable-panels/pull/541">/issues/541): Don't set invalid layouts when Group is hidden or has a width/height of 0
- 40d4356: Gracefully handle invalid
defaultLayoutvalue4.0.7
- f07bf00: Reset
pointer-eventstyles after "pointerup" event4.0.6
- 0796644: Account for Flex gap when calculating pointer-move delta %
4.0.5
- #535](https://github.com/href="https://redirect.github.com/bvaughn/react-resizable-panels/pull/535">/issues/535): Updated docs to make size and layout formats clearer
4.0.4
- #534](https://github.com/href="https://redirect.github.com/bvaughn/react-resizable-panels/pull/534">/issues/534): Set focus on
Separatoron "pointerdown"- e08fe42: Improve iOS/Safari resize UX
4.0.3
... (truncated)
Sourced from react-resizable-panels's changelog.
4.1.0
- 567:
useDefaultLayouthook supports saving and restoring multiple Panel layouts- 568: Fix race in
useGroupRefandusePanelRefhooks4.0.16
- 563: Panel
expand()API should restore pre-collapse size- 564: Add guard for unexpected
defaultViewvalue seemingly returned by some dev environments4.0.15
- 556: Ignore
defaultLayoutwhen keys don't match Panel ids4.0.14
- 555: Allow resizable panels to be rendered into a different Window (e.g. popup or frame) by accessing globals through
element.ownerDocument.defaultView4.0.13
useDefaultLayout: DeprecatedgroupIdparam in favor ofidto avoid confusion; (there is no actual requirement for the Group to have a matching id)4.0.12
- 552:
useDefaultLayoutnow debounces calls tostorage.setItemby 150ms// To opt out of this change useDefaultLayout({ debounceSaveMs: 0, groupId: "test-group-id", storage: localStorage, })[!NOTE] Some may consider this a breaking change, considering the default value is 150ms rather than 0ms. I think in practice this should only impact unit tests which can be easily fixed by overriding the default (as shown above) or by using fake timers.
Changes like this are often judgement calls, but I think on balance it's better to correct my initial oversight of not debouncing this by default.
4.0.11
- 8604491: Fix edge case bug with panel constraints not being properly invalidated after resize
4.0.10
- #551](https://github.com/href="https://redirect.github.com/bvaughn/react-resizable-panels/pull/551">/issues/551): Expand fixed-size element support
4.0.9
... (truncated)
19c8f71 4.0.16 -> 4.1.08e27448 Fix race in useGroupRef and usePanelRef hooks (#568](https://github.com/href="https://redirect.github.com/bvaughn/react-resizable-panels/issues/568">/issues/568))14acdbc Support saving multiple Panel layouts (#567](https://github.com/href="https://redirect.github.com/bvaughn/react-resizable-panels/issues/567">/issues/567))e21038d Fix index.html2e638de Fix import in example code8ed855d Removed .example suffixdde160c Upgrade react-lib-tools; remove unused types/filese32959b Udpate meta titlee62c0c1 Udpate meta description9c42049 4.0.15 -> 4.0.16Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.