@reactflow/node-resizer
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -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" /> |
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
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
150332
22
829
+ Added@reactflow/core@11.4.2(transitive)
- Removed@reactflow/core@11.4.1(transitive)
Updated@reactflow/core@11.4.2
Updatedzustand@^4.3.1