Commit Graph

5276 Commits

Author SHA1 Message Date
moklick
bee2f4aa05 feat(xy-resizer): add resize direction #2986 2025-04-17 12:54:47 +02:00
Moritz Klack
af1c85281e Merge pull request #5221 from xyflow/refactor/measured-check 2025-04-15 17:41:21 +02:00
moklick
4e681f9c52 chore(changeset): add 2025-04-15 16:07:03 +02:00
moklick
93034b50dc chore(react): init check 2025-04-15 16:05:28 +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
Moritz Klack
d153d0d0da Merge pull request #5219 from xyflow/feat/provider-init-zoom
feat(provider): add minZoom, maxZoom and fitViewOptions
2025-04-15 13:23:53 +02:00
moklick
9878e93601 refactor(provider): rename fitviewoptions to initialfitviewoptions 2025-04-15 13:09:19 +02:00
moklick
4236adbc46 chore(changeset): add 2025-04-15 13:08:05 +02:00
moklick
c9415969eb feat(provider): add minZoom, maxZoom and fitViewOptions 2025-04-15 13:06:49 +02:00
moklick
bce74e8811 chore(changeset): add 2025-04-15 08:25:55 +02:00
moklick
f9f9e6f168 chore(react): avoid deselection on pane click if elementsSelectable=false 2025-04-15 08:25:01 +02:00
Moritz Klack
fe899263c9 Merge pull request #5197 from xyflow/changeset-release/main
Release packages
2025-04-14 14:42:30 +02:00
github-actions[bot]
1f661723dd chore(packages): bump 2025-04-14 12:30:55 +00:00
Moritz Klack
25fe1edca8 Merge pull request #5213 from xyflow/refactor/selection-events
Refactor/selection events
2025-04-14 14:29:25 +02:00
moklick
78782c1696 chore(changeset): add 2025-04-14 14:22:38 +02: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
3c413446da Merge pull request #5153 from nick-lawrence-ctm/main
When horizontal, remove the border from all control buttons
2025-04-14 13:48:57 +02:00
moklick
98fe23c7c2 chore(changeset): add 2025-04-14 13:47:59 +02:00
moklick
3b63c1b2bf chore(controls): add border-right for horizontal controls 2025-04-14 13:47:12 +02:00
moklick
69e886a17f chore(controls): add border-right for horizontal controls 2025-04-14 13:46:03 +02:00
Moritz Klack
0b561f1a30 Merge pull request #5191 from xyflow/fix/fit-view-padding
Fix legacy fitView padding
2025-04-14 13:42:29 +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
Moritz Klack
813d066c89 Merge pull request #5212 from xyflow/refactor/with-resolvers
chore(system): add polyfill for Promise.withResolvers #5210
2025-04-14 13:08:11 +02:00
moklick
0f43b8ea45 chore(changeset): add 2025-04-14 10:24:32 +02:00
moklick
5412f71ae5 chore(system): add polyfill for Promise.withResolvers #5210 2025-04-14 10:19:35 +02:00
Moritz Klack
f4528f5b00 Merge pull request #5196 from xyflow/refactor/marker-a11y
chore(marker): add aria-hidden true
2025-04-10 11:28:56 +02:00
moklick
514a3d35fd chore(attribution): remove aria-hidden 2025-04-10 11:28:27 +02:00
moklick
7f902db46b chore(changeset): add 2025-04-10 11:26:50 +02:00
moklick
0993c2c0af chore(marker): add aria-hidden true #5190 2025-04-10 11:25:39 +02:00
peterkogo
fc241253d5 add changeset 2025-04-09 14:21:29 +02:00
peterkogo
be4e266d69 use nodesInitialized from adoptUserNodes 2025-04-09 14:20:11 +02:00
peterkogo
e5735b514a add changeset 2025-04-09 14:06:20 +02:00
peterkogo
20fcba300f fix legacy padding 2025-04-09 14:04:31 +02:00
Moritz Klack
93d083f56d Merge pull request #5175 from xyflow/changeset-release/main
Release packages
2025-04-07 11:33:08 +02:00
github-actions[bot]
b6144869fd chore(packages): bump 2025-04-07 09:31:06 +00:00
moklick
f10024f565 chore(changesets): cleanup 2025-04-07 11:29:49 +02:00
Moritz Klack
5d77ef24f6 Merge pull request #5154 from ibagov/onnodeschange-docstring-update
Fixed onNodesChange docstring in component-props.ts
2025-04-07 11:25:22 +02:00
moklick
d023716626 chore(changesets): add 2025-04-07 11:24:49 +02: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
12db2a50c8 Merge pull request #5169 from dimaMachina/tsdoc2-15
Improve TSDoc comments for `type ReconnectEdgeOptions` and `getViewportForBounds`
2025-04-07 11:18:49 +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
217b39dd9f Merge pull request #5168 from dimaMachina/tsdoc2-14
Improve TSDoc comments for `getOutgoers`, `getIncomers` and `type GetNodesBoundsParams`
2025-04-06 21:04:49 +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