Commit Graph

866 Commits

Author SHA1 Message Date
moklick
cda61ff243 chore(ResizeControlLine): cleanup type 2025-04-17 13:00:17 +02:00
moklick
bee2f4aa05 feat(xy-resizer): add resize direction #2986 2025-04-17 12:54:47 +02:00
peterkogo
3ef63ad10e implemented keyboard interactions 2025-04-16 11:39:50 +02:00
Moritz Klack
c75f1916da Merge pull request #5217 from xyflow/refactor/selection-changes
Refactor/selection changes
2025-04-15 13:36:33 +02:00
moklick
9878e93601 refactor(provider): rename fitviewoptions to initialfitviewoptions 2025-04-15 13:09:19 +02:00
moklick
c9415969eb feat(provider): add minZoom, maxZoom and fitViewOptions 2025-04-15 13:06:49 +02:00
moklick
f9f9e6f168 chore(react): avoid deselection on pane click if elementsSelectable=false 2025-04-15 08:25:01 +02:00
github-actions[bot]
1f661723dd chore(packages): bump 2025-04-14 12:30:55 +00:00
moklick
aa555cc44e refactor(selection-change): dont fire when elementsSelectable=false 2025-04-14 14:03:36 +02:00
moklick
97b4cdd05c refactor(selection-change): dont fire when elementsSelectable=false 2025-04-14 13:59:12 +02:00
Moritz Klack
42934253fb Merge pull request #5192 from xyflow/enhance/nodesInitialized
Use nodesInitialized from adoptUserNodes
2025-04-14 13:40:58 +02:00
moklick
5412f71ae5 chore(system): add polyfill for Promise.withResolvers #5210 2025-04-14 10:19:35 +02:00
moklick
514a3d35fd chore(attribution): remove aria-hidden 2025-04-10 11:28:27 +02:00
moklick
0993c2c0af chore(marker): add aria-hidden true #5190 2025-04-10 11:25:39 +02:00
peterkogo
be4e266d69 use nodesInitialized from adoptUserNodes 2025-04-09 14:20:11 +02:00
peterkogo
9383ba5554 implemented new fitView logic 2025-04-09 10:36:16 +02:00
github-actions[bot]
b6144869fd chore(packages): bump 2025-04-07 09:31:06 +00:00
Moritz Klack
600f4d684f Merge branch 'main' into onnodeschange-docstring-update 2025-04-07 11:23:13 +02:00
Moritz Klack
e3febd9fe5 Merge pull request #5172 from dimaMachina/tsdoc2-18
Improve TSDoc comments for `useNodesData`, `useReactFlow`, `isNode` and `isEdge`
2025-04-07 11:22:05 +02:00
Moritz Klack
d2e2b9f7c2 Merge pull request #5171 from dimaMachina/tsdoc2-17
Improve TSDoc comments for `ReactFlowProps`
2025-04-07 11:21:34 +02:00
Moritz Klack
df010f3159 Merge pull request #5170 from dimaMachina/tsdoc2-16
Improve TSDoc comments for `interface GetSimpleBezierPathParams` and `getSimpleBezierPath`
2025-04-07 11:19:43 +02:00
Moritz Klack
cca19b6da8 Merge pull request #5174 from dimaMachina/tsdoc2-19 2025-04-06 21:54:44 +02:00
Moritz Klack
abacda3853 Update packages/react/src/types/component-props.ts
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
2025-04-06 21:07:04 +02:00
Moritz Klack
e145ac3382 Merge pull request #5167 from dimaMachina/tsdoc2-13
Improve TSDoc comments for `useEdges`, `useInternalNode`, `useNodes` and `useNodeId` hooks
2025-04-06 21:04:00 +02:00
Moritz Klack
b3dae4c995 Merge pull request #5166 from dimaMachina/tsdoc2-12
Improve TSDoc comments for `useStore` hook
2025-04-06 21:02:59 +02:00
Moritz Klack
c099702b0c Merge pull request #5165 from dimaMachina/tsdoc2-11
Improve TSDoc comments for `useViewport`, `useUpdateNodeInternals`, `useOnSelectionChange`, `useNodesInitialized` hooks and `UseOnSelectionChangeOptions`, `UseNodesInitializedOptions` types
2025-04-06 21:02:20 +02:00
Moritz Klack
564b078b52 Merge pull request #5164 from dimaMachina/tsdoc2-10
Improve TSDoc comments for `type UseOnViewportChangeOptions` and `useOnViewportChange` hook
2025-04-06 21:01:46 +02:00
Moritz Klack
7df666188c Merge pull request #5163 from dimaMachina/tsdoc2-9
Improve TSDoc comments for `useNodesState` and `useEdgesState` hook
2025-04-06 21:01:25 +02:00
Moritz Klack
9d81021c7a Merge pull request #5162 from dimaMachina/tsdoc2-8
Improve TSDoc comments for `type UseNodeConnectionsParams` and `useNodeConnections` hook
2025-04-06 21:00:30 +02:00
Moritz Klack
bd2f4ea8a6 Merge pull request #5161 from dimaMachina/tsdoc2-7
Improve TSDoc comments for `type UseKeyPressOptions` and `useKeyPress` hook
2025-04-06 20:59:59 +02:00
Moritz Klack
06f4dc73a5 Update packages/react/src/hooks/useKeyPress.ts
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
2025-04-06 20:59:15 +02:00
Moritz Klack
8f2b75b204 Merge pull request #5160 from dimaMachina/tsdoc2-6
Improve TSDoc comments for `type UseHandleConnectionsParams` and `useHandleConnections` hook
2025-04-06 20:58:21 +02:00
Dimitri POSTOLOV
ae585d136e Improve TSDoc comments for BaseEdgeProps 2025-04-06 15:46:49 +02:00
Dimitri POSTOLOV
e6139a00d4 Improve TSDoc comments for useNodesData, useReactFlow, isNode and isEdge 2025-04-06 04:52:08 +02:00
Dimitri POSTOLOV
62d8740973 Improve TSDoc comments for ReactFlowProps 2025-04-06 04:49:08 +02:00
Dimitri POSTOLOV
eb2a33c6df Improve TSDoc comments for interface GetSimpleBezierPathParams and getSimpleBezierPath 2025-04-06 04:46:01 +02:00
Dimitri POSTOLOV
934ea42d9a Improve TSDoc comments for useEdges, useInternalNode, useNodes and useNodeId hooks 2025-04-05 17:44:33 +02:00
Dimitri POSTOLOV
701ad17ed3 Improve TSDoc comments for type useStore hook 2025-04-05 17:40:58 +02:00
Dimitri POSTOLOV
d536abea92 Improve TSDoc comments for useViewport, useUpdateNodeInternals, useOnSelectionChange, useNodesInitialized hooks and UseOnSelectionChangeOptions, UseNodesInitializedOptions types 2025-04-05 17:37:43 +02:00
Dimitri POSTOLOV
09021550dc Improve TSDoc comments for type UseOnViewportChangeOptions and useOnViewportChange hook 2025-04-05 17:34:06 +02:00
Dimitri POSTOLOV
ab800054a5 Improve TSDoc comments for useNodesState and useEdgesState hook 2025-04-05 17:31:46 +02:00
Dimitri POSTOLOV
29f4aeb260 Improve TSDoc comments for type UseNodeConnectionsParams and useNodeConnections hook 2025-04-05 17:29:43 +02:00
Dimitri POSTOLOV
c4efe74920 Improve TSDoc comments for type UseKeyPressOptions and useKeyPress hook 2025-04-05 17:23:12 +02:00
Dimitri POSTOLOV
b357f43dfa Improve TSDoc comments for type UseHandleConnectionsParams and useHandleConnections hook 2025-04-05 17:20:34 +02:00
Dimitri POSTOLOV
0c1436d6a3 Improve TSDoc comments for useConnection hook 2025-04-05 17:18:07 +02:00
Ilia
4ef93d611f Update onNodesChange docstring in component-props.ts
Removed all references of edges in the docstring of onNodesChange
2025-04-05 14:35:35 +02:00
github-actions[bot]
9a4011aa2b chore(packages): bump 2025-04-02 18:56:21 +00:00
moklick
cc64a1902a refactor(node-resizer): pass latest dimensions to onEnd handler #5083 2025-04-02 19:45:15 +02:00
Moritz Klack
3e708c9562 Merge pull request #5142 from dimaMachina/tsdoc-8 2025-04-02 16:51:34 +02:00
moklick
0f293eebae fix(minimap): return usernode 2025-04-02 13:53:32 +02:00