Files
xyflow/packages/node-resizer/CHANGELOG.md
2023-03-13 16:57:34 +01:00

6.1 KiB

@reactflow/node-resizer

2.1.0

Minor Changes

Patch Changes

2.0.1

Patch Changes

  • #2792 d8c679b4 - Accept React 17 types as dev dependency

  • Updated dependencies [d8c679b4]:

    • @reactflow/core@11.5.2

2.0.0

After this update it should be easier to update the node resizer (no need to update the reactflow package anymore).

New props:

  • shouldResize: user can pass a function that determines if resize should be executed
  • direction: gets passed as an attribute on resize

Major Changes

  • #2749 e347dd82 - Add shouldResize, rename and cleanup types - ResizeEventParams is now ResizeParams

Patch Changes

1.2.2

Patch Changes

1.2.1

Patch Changes

1.2.0

Patch Changes

1.2.0-next.1

Minor Changes

  • panOnDrag: Use numbers for prop ([1,2] = drag via middle or right mouse button)
  • selection: do not include hidden nodes
  • minimap: fix onNodeClick for nodes outside the viewport
  • keys: allow multi select when input is focused

Patch Changes

  • Updated dependencies []:
    • @reactflow/core@11.4.0-next.1

1.1.1-next.0

Patch Changes

1.1.0

Minor Changes

  • Add onResizeStart, onResize, onResizeEnd handlers
  • Fix resizing flag
  • Cleanup types

1.0.3

Patch Changes

  • cleanup

1.0.2

Patch Changes

  • fix minWidth and minHeight so that it can be used dynamically

1.0.1

Patch Changes

  • pass minWidth and minHeight from NodeResizer component to NodeResizeControl

1.0.0

This is a new package that exports components to build a UI for resizing a node 🎉 It exports a <NodeResizer /> component and a <NodeResizeControl /> component.

Major Changes

  • #2626 d29c401d - Add a node resizer component that can be used to resize a custom node

Patch Changes