Commit Graph

679 Commits

Author SHA1 Message Date
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
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
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
moklick
5c66916370 fix(minimap): return usernode 2025-04-02 13:41:08 +02:00
Moritz Klack
8befd1384e Merge pull request #5141 from dimaMachina/tsdoc-7
fix: improve TSDoc comments for `Edge`, `BaseEdgeProps` and `ConnectionLineComponentProps`
2025-04-02 13:30:14 +02:00
Moritz Klack
a08757c16c Merge pull request #5138 from dimaMachina/tsdoc-4
fix: improve TSDoc comments for `ViewportHelperFunctions` and `NodeToolbarProps`
2025-04-02 13:23:03 +02:00
Moritz Klack
b22e876b22 Merge pull request #5135 from dimaMachina/tsdoc-1
fix: improve TSDoc comments for `NodeResizerProps` and `ResizeControlProps`
2025-04-02 13:20:22 +02:00
Moritz Klack
a644d77c1f Merge pull request #5134 from dimaMachina/tsdoc
fix `@default` TSDoc tags for `BackgroundProps`
2025-04-02 13:19:57 +02:00
Moritz Klack
8962c09f09 Merge pull request #5140 from dimaMachina/tsdoc-6
fix: improve TSDoc comments for `MiniMapProps` and `PanelProps`
2025-04-02 10:13:27 +02:00
Moritz Klack
68d0697793 Merge pull request #5143 from dimaMachina/tsdoc-9
fix: improve TSDoc comments for `ReactFlowInstance` and `GeneralHelpers`
2025-04-02 10:06:48 +02:00
Moritz Klack
c342e2cf33 Merge pull request #5144 from dimaMachina/tsdoc-10 2025-04-01 21:33:39 +02:00
Dimitri POSTOLOV
5a1ce56e8c fix: compare nodeStrokeWidth with number, not with string 2025-04-01 21:17:16 +02:00
Dimitri POSTOLOV
b1e1cc1125 fix: improve TSDoc comments for ReactFlowInstance and GeneralHelpers 2025-04-01 21:15:05 +02:00
Dimitri POSTOLOV
06cf4c10f5 fix: improve TSDoc comments for Edge, BaseEdgeProps and ConnectionLineComponentProps 2025-04-01 21:04:42 +02:00
Dimitri POSTOLOV
82e6860e13 fix: improve TSDoc comments for MiniMapProps and PanelProps 2025-04-01 20:55:17 +02:00
Dimitri POSTOLOV
d4eb8d52d0 fix: improve TSDoc comments for ViewportHelperFunctions and NodeToolbarProps 2025-04-01 20:49:08 +02:00
Dimitri POSTOLOV
754a167134 fix: improve TSDoc comments for NodeResizerProps and ResizeControlProps 2025-04-01 20:38:33 +02:00
Dimitri POSTOLOV
7acab1e123 fix @default TSDoc tags for BackgroundProps 2025-04-01 20:36:00 +02:00
github-actions[bot]
8adca80945 chore(packages): bump 2025-04-01 10:42:51 +00:00
peterkogo
aae3f49eec make fitView fire even when onNodesChange is not implmented 2025-04-01 12:39:42 +02:00
github-actions[bot]
742bfe345a chore(packages): bump 2025-03-31 12:53:58 +00:00
peterkogo
aa873d6ddc enhance fitView scheduling 2025-03-31 13:47:15 +02:00
peterkogo
b1502dc2dc Dont call onNodesChange when there are no changes & call setNodes instead 2025-03-31 11:52:43 +02:00
Bjørn Olav Salvesen
0d4dab1771 chore: add missing type re-export for NodeConnection 2025-03-29 12:40:03 +01:00
github-actions[bot]
959742f499 chore(packages): bump 2025-03-27 12:31:08 +00:00
moklick
150549cd4f chore(store): cleanup 2025-03-27 13:20:57 +01:00
moklick
77b24e7f3a fix(fitView): handle uncontrolled flows 2025-03-27 13:17:46 +01:00
github-actions[bot]
8f45432378 chore(packages): bump 2025-03-27 11:06:08 +00:00
Moritz Klack
ed8c6a931d Merge pull request #5067 from xyflow/enhance/fitView
Enhance fitView
2025-03-27 12:04:48 +01:00
peterkogo
3ac2846d5e add comment 2025-03-27 12:03:47 +01:00
Moritz Klack
812573fc63 Merge pull request #5118 from xyflow/refactor/use-key-press
Refactor/use key press
2025-03-27 11:42:50 +01:00
peterkogo
9be5276069 simplify resolveFitView 2025-03-27 11:12:18 +01:00
peterkogo
ed1cb4da31 use async function instead of .then 2025-03-27 11:06:57 +01:00
moklick
9b1c638de8 refactor(useKeyPress): cleanup 2025-03-27 11:00:22 +01:00
moklick
238664e322 refactor(useKeyPress): update preventDefault handling 2025-03-27 10:55:22 +01:00
Moritz Klack
a2ae546ad1 Merge pull request #5114 from dimaMachina/tsdoc-edgelabelrendererprops 2025-03-26 15:25:39 +01:00
Moritz Klack
8092374a13 Merge pull request #5115 from dimaMachina/tsdoc-edgetext
fix: improve TSDoc comments for `EdgeLabelOptions` and `EdgeTextProps`
2025-03-26 09:04:58 +01:00
Moritz Klack
ef0a754d7e Merge pull request #5116 from dimaMachina/tsdoc-NodeToolbarProps
fix: improve TSDoc comments for `NodeToolbarProps`
2025-03-26 09:03:56 +01:00
Dimitri POSTOLOV
5894215423 add changeset 2025-03-25 22:28:17 +01:00