Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@reactflow/node-resizer

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reactflow/node-resizer - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

0

dist/esm/index.d.ts

@@ -0,0 +0,0 @@ export { default as NodeResizer } from './NodeResizer';

@@ -0,0 +0,0 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';

@@ -0,0 +0,0 @@ /// <reference types="react" />

@@ -0,0 +0,0 @@ /// <reference types="react" />

14

dist/esm/types.d.ts
import type { CSSProperties, ReactNode } from 'react';
import type { D3DragEvent, SubjectPosition } from 'd3-drag';
export declare type ResizeEventParams = {
export type ResizeEventParams = {
x: number;

@@ -9,3 +9,3 @@ y: number;

};
export declare type NodeResizerProps = {
export type NodeResizerProps = {
nodeId?: string;

@@ -24,4 +24,4 @@ color?: string;

};
export declare type ControlLinePosition = 'top' | 'bottom' | 'left' | 'right';
export declare type ControlPosition = ControlLinePosition | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
export type ControlLinePosition = 'top' | 'bottom' | 'left' | 'right';
export type ControlPosition = ControlLinePosition | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
export declare enum ResizeControlVariant {

@@ -31,3 +31,3 @@ Line = "line",

}
export declare type ResizeControlProps = Pick<NodeResizerProps, 'nodeId' | 'color' | 'minWidth' | 'minHeight' | 'onResizeStart' | 'onResize' | 'onResizeEnd'> & {
export type ResizeControlProps = Pick<NodeResizerProps, 'nodeId' | 'color' | 'minWidth' | 'minHeight' | 'onResizeStart' | 'onResize' | 'onResizeEnd'> & {
position?: ControlPosition;

@@ -39,6 +39,6 @@ variant?: ResizeControlVariant;

};
export declare type ResizeControlLineProps = ResizeControlProps & {
export type ResizeControlLineProps = ResizeControlProps & {
position?: ControlLinePosition;
};
export declare type ResizeDragEvent = D3DragEvent<HTMLDivElement, null, SubjectPosition>;
export type ResizeDragEvent = D3DragEvent<HTMLDivElement, null, SubjectPosition>;
//# sourceMappingURL=types.d.ts.map

@@ -0,0 +0,0 @@ export { default as NodeResizer } from './NodeResizer';

@@ -0,0 +0,0 @@ /// <reference types="react" />

@@ -0,0 +0,0 @@ /// <reference types="react" />

import type { CSSProperties, ReactNode } from 'react';
import type { D3DragEvent, SubjectPosition } from 'd3-drag';
export declare type ResizeEventParams = {
export type ResizeEventParams = {
x: number;

@@ -9,3 +9,3 @@ y: number;

};
export declare type NodeResizerProps = {
export type NodeResizerProps = {
nodeId?: string;

@@ -24,4 +24,4 @@ color?: string;

};
export declare type ControlLinePosition = 'top' | 'bottom' | 'left' | 'right';
export declare type ControlPosition = ControlLinePosition | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
export type ControlLinePosition = 'top' | 'bottom' | 'left' | 'right';
export type ControlPosition = ControlLinePosition | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
export declare enum ResizeControlVariant {

@@ -31,3 +31,3 @@ Line = "line",

}
export declare type ResizeControlProps = Pick<NodeResizerProps, 'nodeId' | 'color' | 'minWidth' | 'minHeight' | 'onResizeStart' | 'onResize' | 'onResizeEnd'> & {
export type ResizeControlProps = Pick<NodeResizerProps, 'nodeId' | 'color' | 'minWidth' | 'minHeight' | 'onResizeStart' | 'onResize' | 'onResizeEnd'> & {
position?: ControlPosition;

@@ -39,6 +39,6 @@ variant?: ResizeControlVariant;

};
export declare type ResizeControlLineProps = ResizeControlProps & {
export type ResizeControlLineProps = ResizeControlProps & {
position?: ControlLinePosition;
};
export declare type ResizeDragEvent = D3DragEvent<HTMLDivElement, null, SubjectPosition>;
export type ResizeDragEvent = D3DragEvent<HTMLDivElement, null, SubjectPosition>;
//# sourceMappingURL=types.d.ts.map
{
"name": "@reactflow/node-resizer",
"version": "1.2.1",
"version": "1.2.2",
"description": "A helper component for resizing nodes.",

@@ -33,7 +33,7 @@ "keywords": [

"dependencies": {
"@reactflow/core": "11.4.1",
"@reactflow/core": "11.4.2",
"classcat": "^5.0.4",
"d3-drag": "^3.0.0",
"d3-selection": "^3.0.0",
"zustand": "^4.1.1"
"zustand": "^4.3.1"
},

@@ -54,3 +54,3 @@ "peerDependencies": {

"react": "^18.2.0",
"typescript": "^4.8.3"
"typescript": "^4.9.4"
},

@@ -57,0 +57,0 @@ "rollup": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc