@alisowski/react-resizable-panels
Advanced tools
Comparing version 0.1.23 to 0.1.27
@@ -1172,2 +1172,5 @@ 'use strict'; | ||
groupSizeRef.current = group.contentRect.width - handles.reduce((accumulated, handle) => { | ||
if (!handle.borderBoxSize[0]) { | ||
return accumulated; | ||
} | ||
return accumulated + handle.borderBoxSize[0].inlineSize; | ||
@@ -1177,2 +1180,5 @@ }, 0); | ||
groupSizeRef.current = group.contentRect.height - handles.reduce((accumulated, handle) => { | ||
if (!handle.borderBoxSize[0]) { | ||
return accumulated; | ||
} | ||
return accumulated + handle.borderBoxSize[0].blockSize; | ||
@@ -1179,0 +1185,0 @@ }, 0); |
@@ -1148,2 +1148,5 @@ import * as React from 'react'; | ||
groupSizeRef.current = group.contentRect.width - handles.reduce((accumulated, handle) => { | ||
if (!handle.borderBoxSize[0]) { | ||
return accumulated; | ||
} | ||
return accumulated + handle.borderBoxSize[0].inlineSize; | ||
@@ -1153,2 +1156,5 @@ }, 0); | ||
groupSizeRef.current = group.contentRect.height - handles.reduce((accumulated, handle) => { | ||
if (!handle.borderBoxSize[0]) { | ||
return accumulated; | ||
} | ||
return accumulated + handle.borderBoxSize[0].blockSize; | ||
@@ -1155,0 +1161,0 @@ }, 0); |
@@ -1174,2 +1174,5 @@ 'use strict'; | ||
groupSizeRef.current = group.contentRect.width - handles.reduce((accumulated, handle) => { | ||
if (!handle.borderBoxSize[0]) { | ||
return accumulated; | ||
} | ||
return accumulated + handle.borderBoxSize[0].inlineSize; | ||
@@ -1179,2 +1182,5 @@ }, 0); | ||
groupSizeRef.current = group.contentRect.height - handles.reduce((accumulated, handle) => { | ||
if (!handle.borderBoxSize[0]) { | ||
return accumulated; | ||
} | ||
return accumulated + handle.borderBoxSize[0].blockSize; | ||
@@ -1181,0 +1187,0 @@ }, 0); |
@@ -1150,2 +1150,5 @@ import * as React from 'react'; | ||
groupSizeRef.current = group.contentRect.width - handles.reduce((accumulated, handle) => { | ||
if (!handle.borderBoxSize[0]) { | ||
return accumulated; | ||
} | ||
return accumulated + handle.borderBoxSize[0].inlineSize; | ||
@@ -1155,2 +1158,5 @@ }, 0); | ||
groupSizeRef.current = group.contentRect.height - handles.reduce((accumulated, handle) => { | ||
if (!handle.borderBoxSize[0]) { | ||
return accumulated; | ||
} | ||
return accumulated + handle.borderBoxSize[0].blockSize; | ||
@@ -1157,0 +1163,0 @@ }, 0); |
{ | ||
"name": "@alisowski/react-resizable-panels", | ||
"version": "0.1.23", | ||
"version": "0.1.27", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
@@ -245,2 +245,6 @@ import { isBrowser } from "#is-browser"; | ||
handles.reduce((accumulated, handle) => { | ||
if (!handle.borderBoxSize[0]) { | ||
return accumulated; | ||
} | ||
return accumulated + handle.borderBoxSize[0].inlineSize; | ||
@@ -252,2 +256,6 @@ }, 0); | ||
handles.reduce((accumulated, handle) => { | ||
if (!handle.borderBoxSize[0]) { | ||
return accumulated; | ||
} | ||
return accumulated + handle.borderBoxSize[0].blockSize; | ||
@@ -254,0 +262,0 @@ }, 0); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
856080
23346