@alisowski/react-resizable-panels
Advanced tools
Comparing version 0.1.14 to 0.1.15
@@ -199,3 +199,3 @@ 'use strict'; | ||
numeric: true | ||
}); | ||
}) >= 0; | ||
} | ||
@@ -202,0 +202,0 @@ function adjustByDelta(event, committedValues, idBefore, idAfter, deltaPixels, prevSizes, panelSizeBeforeCollapse, initialDragState) { |
@@ -199,3 +199,3 @@ 'use strict'; | ||
numeric: true | ||
}); | ||
}) >= 0; | ||
} | ||
@@ -202,0 +202,0 @@ function adjustByDelta(event, committedValues, idBefore, idAfter, deltaPixels, prevSizes, panelSizeBeforeCollapse, initialDragState) { |
@@ -175,3 +175,3 @@ import * as React from 'react'; | ||
numeric: true | ||
}); | ||
}) >= 0; | ||
} | ||
@@ -178,0 +178,0 @@ function adjustByDelta(event, committedValues, idBefore, idAfter, deltaPixels, prevSizes, panelSizeBeforeCollapse, initialDragState) { |
@@ -175,3 +175,3 @@ import * as React from 'react'; | ||
numeric: true | ||
}); | ||
}) >= 0; | ||
} | ||
@@ -178,0 +178,0 @@ function adjustByDelta(event, committedValues, idBefore, idAfter, deltaPixels, prevSizes, panelSizeBeforeCollapse, initialDragState) { |
@@ -201,3 +201,3 @@ 'use strict'; | ||
numeric: true | ||
}); | ||
}) >= 0; | ||
} | ||
@@ -204,0 +204,0 @@ function adjustByDelta(event, committedValues, idBefore, idAfter, deltaPixels, prevSizes, panelSizeBeforeCollapse, initialDragState) { |
@@ -201,3 +201,3 @@ 'use strict'; | ||
numeric: true | ||
}); | ||
}) >= 0; | ||
} | ||
@@ -204,0 +204,0 @@ function adjustByDelta(event, committedValues, idBefore, idAfter, deltaPixels, prevSizes, panelSizeBeforeCollapse, initialDragState) { |
@@ -177,3 +177,3 @@ import * as React from 'react'; | ||
numeric: true | ||
}); | ||
}) >= 0; | ||
} | ||
@@ -180,0 +180,0 @@ function adjustByDelta(event, committedValues, idBefore, idAfter, deltaPixels, prevSizes, panelSizeBeforeCollapse, initialDragState) { |
@@ -179,3 +179,3 @@ 'use strict'; | ||
numeric: true | ||
}); | ||
}) >= 0; | ||
} | ||
@@ -182,0 +182,0 @@ function adjustByDelta(event, committedValues, idBefore, idAfter, deltaPixels, prevSizes, panelSizeBeforeCollapse, initialDragState) { |
@@ -155,3 +155,3 @@ import * as React from 'react'; | ||
numeric: true | ||
}); | ||
}) >= 0; | ||
} | ||
@@ -158,0 +158,0 @@ function adjustByDelta(event, committedValues, idBefore, idAfter, deltaPixels, prevSizes, panelSizeBeforeCollapse, initialDragState) { |
@@ -177,3 +177,3 @@ import * as React from 'react'; | ||
numeric: true | ||
}); | ||
}) >= 0; | ||
} | ||
@@ -180,0 +180,0 @@ function adjustByDelta(event, committedValues, idBefore, idAfter, deltaPixels, prevSizes, panelSizeBeforeCollapse, initialDragState) { |
@@ -179,3 +179,3 @@ 'use strict'; | ||
numeric: true | ||
}); | ||
}) >= 0; | ||
} | ||
@@ -182,0 +182,0 @@ function adjustByDelta(event, committedValues, idBefore, idAfter, deltaPixels, prevSizes, panelSizeBeforeCollapse, initialDragState) { |
@@ -155,3 +155,3 @@ import * as React from 'react'; | ||
numeric: true | ||
}); | ||
}) >= 0; | ||
} | ||
@@ -158,0 +158,0 @@ function adjustByDelta(event, committedValues, idBefore, idAfter, deltaPixels, prevSizes, panelSizeBeforeCollapse, initialDragState) { |
{ | ||
"name": "@alisowski/react-resizable-panels", | ||
"version": "0.1.14", | ||
"version": "0.1.15", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
@@ -7,7 +7,9 @@ import { isDevelopment } from "#is-development"; | ||
function isGreaterThanOrEqualIsh(a: number, b: number) { | ||
return a | ||
.toPrecision(PRECISION) | ||
.localeCompare(Math.abs(b).toPrecision(PRECISION), undefined, { | ||
numeric: true, | ||
}); | ||
return ( | ||
a | ||
.toPrecision(PRECISION) | ||
.localeCompare(Math.abs(b).toPrecision(PRECISION), undefined, { | ||
numeric: true, | ||
}) >= 0 | ||
); | ||
} | ||
@@ -14,0 +16,0 @@ |
827789
22674