Socket
Socket
Sign inDemoInstall

@alisowski/react-resizable-panels

Package Overview
Dependencies
5
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.15 to 0.1.16

9

dist/alisowski-react-resizable-panels.browser.cjs.js

@@ -252,6 +252,9 @@ 'use strict';

// If the panel isn't at it's min size, we can stop here
// this panel has room to modify.
if (nextSize !== prevSizes[index] && isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
// If any panel has changed size, we have room to resize
if (nextSize !== prevSizes[index]) {
hasRoom = true;
}
// If there is no more delta to apply, we can stop here.
if (isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
break;

@@ -258,0 +261,0 @@ }

@@ -252,6 +252,9 @@ 'use strict';

// If the panel isn't at it's min size, we can stop here
// this panel has room to modify.
if (nextSize !== prevSizes[index] && isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
// If any panel has changed size, we have room to resize
if (nextSize !== prevSizes[index]) {
hasRoom = true;
}
// If there is no more delta to apply, we can stop here.
if (isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
break;

@@ -258,0 +261,0 @@ }

@@ -228,6 +228,9 @@ import * as React from 'react';

// If the panel isn't at it's min size, we can stop here
// this panel has room to modify.
if (nextSize !== prevSizes[index] && isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
// If any panel has changed size, we have room to resize
if (nextSize !== prevSizes[index]) {
hasRoom = true;
}
// If there is no more delta to apply, we can stop here.
if (isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
break;

@@ -234,0 +237,0 @@ }

@@ -228,6 +228,9 @@ import * as React from 'react';

// If the panel isn't at it's min size, we can stop here
// this panel has room to modify.
if (nextSize !== prevSizes[index] && isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
// If any panel has changed size, we have room to resize
if (nextSize !== prevSizes[index]) {
hasRoom = true;
}
// If there is no more delta to apply, we can stop here.
if (isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
break;

@@ -234,0 +237,0 @@ }

@@ -254,6 +254,9 @@ 'use strict';

// If the panel isn't at it's min size, we can stop here
// this panel has room to modify.
if (nextSize !== prevSizes[index] && isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
// If any panel has changed size, we have room to resize
if (nextSize !== prevSizes[index]) {
hasRoom = true;
}
// If there is no more delta to apply, we can stop here.
if (isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
break;

@@ -260,0 +263,0 @@ }

@@ -254,6 +254,9 @@ 'use strict';

// If the panel isn't at it's min size, we can stop here
// this panel has room to modify.
if (nextSize !== prevSizes[index] && isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
// If any panel has changed size, we have room to resize
if (nextSize !== prevSizes[index]) {
hasRoom = true;
}
// If there is no more delta to apply, we can stop here.
if (isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
break;

@@ -260,0 +263,0 @@ }

@@ -230,6 +230,9 @@ import * as React from 'react';

// If the panel isn't at it's min size, we can stop here
// this panel has room to modify.
if (nextSize !== prevSizes[index] && isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
// If any panel has changed size, we have room to resize
if (nextSize !== prevSizes[index]) {
hasRoom = true;
}
// If there is no more delta to apply, we can stop here.
if (isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
break;

@@ -236,0 +239,0 @@ }

@@ -232,6 +232,9 @@ 'use strict';

// If the panel isn't at it's min size, we can stop here
// this panel has room to modify.
if (nextSize !== prevSizes[index] && isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
// If any panel has changed size, we have room to resize
if (nextSize !== prevSizes[index]) {
hasRoom = true;
}
// If there is no more delta to apply, we can stop here.
if (isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
break;

@@ -238,0 +241,0 @@ }

@@ -208,6 +208,9 @@ import * as React from 'react';

// If the panel isn't at it's min size, we can stop here
// this panel has room to modify.
if (nextSize !== prevSizes[index] && isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
// If any panel has changed size, we have room to resize
if (nextSize !== prevSizes[index]) {
hasRoom = true;
}
// If there is no more delta to apply, we can stop here.
if (isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
break;

@@ -214,0 +217,0 @@ }

@@ -230,6 +230,9 @@ import * as React from 'react';

// If the panel isn't at it's min size, we can stop here
// this panel has room to modify.
if (nextSize !== prevSizes[index] && isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
// If any panel has changed size, we have room to resize
if (nextSize !== prevSizes[index]) {
hasRoom = true;
}
// If there is no more delta to apply, we can stop here.
if (isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
break;

@@ -236,0 +239,0 @@ }

@@ -232,6 +232,9 @@ 'use strict';

// If the panel isn't at it's min size, we can stop here
// this panel has room to modify.
if (nextSize !== prevSizes[index] && isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
// If any panel has changed size, we have room to resize
if (nextSize !== prevSizes[index]) {
hasRoom = true;
}
// If there is no more delta to apply, we can stop here.
if (isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
break;

@@ -238,0 +241,0 @@ }

@@ -208,6 +208,9 @@ import * as React from 'react';

// If the panel isn't at it's min size, we can stop here
// this panel has room to modify.
if (nextSize !== prevSizes[index] && isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
// If any panel has changed size, we have room to resize
if (nextSize !== prevSizes[index]) {
hasRoom = true;
}
// If there is no more delta to apply, we can stop here.
if (isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
break;

@@ -214,0 +217,0 @@ }

{
"name": "@alisowski/react-resizable-panels",
"version": "0.1.15",
"version": "0.1.16",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

@@ -92,9 +92,9 @@ import { isDevelopment } from "#is-development";

// If the panel isn't at it's min size, we can stop here
// this panel has room to modify.
if (
nextSize !== prevSizes[index] &&
isGreaterThanOrEqualIsh(deltaApplied, fullDelta)
) {
// If any panel has changed size, we have room to resize
if (nextSize !== prevSizes[index]) {
hasRoom = true;
}
// If there is no more delta to apply, we can stop here.
if (isGreaterThanOrEqualIsh(deltaApplied, fullDelta)) {
break;

@@ -101,0 +101,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc