react-resizable-panels 1.0.0-rc.1 → 1.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/react-resizable-panels.browser.cjs.js +1 -1
- package/dist/react-resizable-panels.browser.development.cjs.js +1 -1
- package/dist/react-resizable-panels.browser.development.esm.js +1 -1
- package/dist/react-resizable-panels.browser.esm.js +1 -1
- package/dist/react-resizable-panels.cjs.d.ts +88 -1
- package/dist/react-resizable-panels.cjs.d.ts.map +1 -1
- package/dist/react-resizable-panels.cjs.js +1489 -1726
- package/dist/react-resizable-panels.cjs.js.map +1 -1
- package/dist/react-resizable-panels.development.cjs.js +1 -1
- package/dist/react-resizable-panels.development.esm.js +1 -1
- package/dist/react-resizable-panels.development.node.cjs.js +1 -1
- package/dist/react-resizable-panels.development.node.esm.js +1 -1
- package/dist/react-resizable-panels.esm.js +1484 -1701
- package/dist/react-resizable-panels.esm.js.map +1 -1
- package/dist/react-resizable-panels.node.cjs.js +1 -1
- package/dist/react-resizable-panels.node.esm.js +1 -1
- package/package.json +1 -1
- package/src/PanelGroup.ts +35 -11
|
@@ -1678,7 +1678,7 @@ function PanelGroupWithForwardedRef({
|
|
|
1678
1678
|
pendingPanelIds.delete(panelId);
|
|
1679
1679
|
if (panelDataArray.find(({
|
|
1680
1680
|
id
|
|
1681
|
-
}) => id === panelId)
|
|
1681
|
+
}) => id === panelId) != null) {
|
|
1682
1682
|
unmountDueToStrictMode = true;
|
|
1683
1683
|
|
|
1684
1684
|
// TRICKY
|
|
@@ -1654,7 +1654,7 @@ function PanelGroupWithForwardedRef({
|
|
|
1654
1654
|
pendingPanelIds.delete(panelId);
|
|
1655
1655
|
if (panelDataArray.find(({
|
|
1656
1656
|
id
|
|
1657
|
-
}) => id === panelId)
|
|
1657
|
+
}) => id === panelId) != null) {
|
|
1658
1658
|
unmountDueToStrictMode = true;
|
|
1659
1659
|
|
|
1660
1660
|
// TRICKY
|
|
@@ -1562,7 +1562,7 @@ function PanelGroupWithForwardedRef({
|
|
|
1562
1562
|
pendingPanelIds.delete(panelId);
|
|
1563
1563
|
if (panelDataArray.find(({
|
|
1564
1564
|
id
|
|
1565
|
-
}) => id === panelId)
|
|
1565
|
+
}) => id === panelId) != null) {
|
|
1566
1566
|
unmountDueToStrictMode = true;
|
|
1567
1567
|
|
|
1568
1568
|
// TRICKY
|
|
@@ -1538,7 +1538,7 @@ function PanelGroupWithForwardedRef({
|
|
|
1538
1538
|
pendingPanelIds.delete(panelId);
|
|
1539
1539
|
if (panelDataArray.find(({
|
|
1540
1540
|
id
|
|
1541
|
-
}) => id === panelId)
|
|
1541
|
+
}) => id === panelId) != null) {
|
|
1542
1542
|
unmountDueToStrictMode = true;
|
|
1543
1543
|
|
|
1544
1544
|
// TRICKY
|