moklick
79a32ae2fc
chore(version): bump
2021-12-04 01:02:42 +01:00
moklick
2e83af4638
Merge branch 'main' into v10
2021-12-04 01:01:25 +01:00
moklick
5fbf3d8c83
refactor(types): add useZoomPanHelperFunc types
2021-12-04 00:44:59 +01:00
moklick
8710130883
refactor(node): mutate select value before user changes
2021-12-04 00:44:23 +01:00
moklick
31b379c83c
chore: release v9.7.0
2021-12-03 23:33:58 +01:00
Moritz Klack and GitHub
d880c13754
Merge pull request #1590 from doctoroyy/fix/first-render
...
fix: avoid render all nodes at first render if set width
2021-12-03 23:28:43 +01:00
moklick
f913ae77ff
refactor(zoomPanHelper): add duration to fit view params
2021-12-03 23:22:01 +01:00
moklick
d9e0f2a555
Merge branch 'main' of github.com:wbkd/react-flow
2021-12-02 22:28:35 +01:00
Moritz Klack and GitHub
70b85692ea
Merge pull request #1699 from Mahdi-Esbati/feature/d3-smooth-transition
...
Smooth transitions for useZoomPanHelper using built-in d3 functions
2021-12-02 22:28:26 +01:00
moklick
ebd5a5f0a0
fix(pos-updates): multi selection drag
2021-12-02 22:24:34 +01:00
Mahdi
7dc8311476
set the default animation duration to 0ms
2021-12-03 00:51:26 +03:30
moklick
2d4d31bab2
chore(version): bump
2021-12-02 21:41:22 +01:00
Moritz Klack and GitHub
f6b8bfb6be
Merge pull request #1720 from wbkd/dependabot/npm_and_yarn/main/cypress-9.1.0
...
chore(deps-dev): bump cypress from 9.0.0 to 9.1.0
2021-12-02 21:41:04 +01:00
dependabot[bot] and GitHub
053baf1741
chore(deps-dev): bump cypress from 9.0.0 to 9.1.0
...
Bumps [cypress](https://github.com/cypress-io/cypress ) from 9.0.0 to 9.1.0.
- [Release notes](https://github.com/cypress-io/cypress/releases )
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js )
- [Commits](https://github.com/cypress-io/cypress/compare/v9.0.0...v9.1.0 )
---
updated-dependencies:
- dependency-name: cypress
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-02 20:37:04 +00:00
Moritz Klack and GitHub
fbc7b0e6ba
Merge pull request #1721 from wbkd/dependabot/npm_and_yarn/main/rollup-plugin-postcss-4.0.2
...
chore(deps-dev): bump rollup-plugin-postcss from 4.0.1 to 4.0.2
2021-12-02 21:36:26 +01:00
Moritz Klack and GitHub
37d1d227b0
Merge pull request #1722 from wbkd/dependabot/npm_and_yarn/main/postcss-8.4.4
...
chore(deps-dev): bump postcss from 8.3.11 to 8.4.4
2021-12-02 21:36:18 +01:00
Moritz Klack and GitHub
b795e7251a
Merge pull request #1723 from wbkd/dependabot/npm_and_yarn/main/svgr/rollup-6.0.0
...
chore(deps-dev): bump @svgr/rollup from 5.5.0 to 6.0.0
2021-12-02 21:36:10 +01:00
Moritz Klack and GitHub
be08b14401
Merge pull request #1724 from wbkd/dependabot/npm_and_yarn/main/prettier-2.5.0
...
chore(deps-dev): bump prettier from 2.4.1 to 2.5.0
2021-12-02 21:36:03 +01:00
Moritz Klack and GitHub
2e243776d0
Merge pull request #1725 from wbkd/dependabot/npm_and_yarn/main/rollup-plugin-typescript2-0.31.1
...
chore(deps-dev): bump rollup-plugin-typescript2 from 0.31.0 to 0.31.1
2021-12-02 21:35:55 +01:00
Moritz Klack and GitHub
49757e4744
Merge pull request #1728 from xixixao/patch-1
...
Fix bug in updateNodePosDiff action
2021-12-02 21:35:43 +01:00
Moritz Klack and GitHub
5b0a1b20e3
Merge pull request #1732 from wbkd/refactor/selection
...
Refactor/selection
2021-11-30 18:23:37 +01:00
Michal Srb and GitHub
c1b9275083
Fix bug in updateNodePosDiff action
...
This is the intended logic. Without it triggering this action with a node id will always move selected nodes, which is not desirable if we want to move just an unselected node.
The bug doesn't show up in current examples because at the moment either one selected node is moved or all the selected nodes are moved. TBH this should probably be changed to accept `ids` instead to handle the two cases instead of this tight coupling between the group selection code and this action.
2021-11-29 08:38:49 +01:00
dependabot[bot] and GitHub
7c17dffda0
chore(deps-dev): bump rollup-plugin-typescript2 from 0.31.0 to 0.31.1
...
Bumps [rollup-plugin-typescript2](https://github.com/ezolenko/rollup-plugin-typescript2 ) from 0.31.0 to 0.31.1.
- [Release notes](https://github.com/ezolenko/rollup-plugin-typescript2/releases )
- [Commits](https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.31.0...0.31.1 )
---
updated-dependencies:
- dependency-name: rollup-plugin-typescript2
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-29 04:03:07 +00:00
dependabot[bot] and GitHub
3c8ee17898
chore(deps-dev): bump prettier from 2.4.1 to 2.5.0
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.4.1...2.5.0 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-29 04:02:55 +00:00
dependabot[bot] and GitHub
0ae72abe1e
chore(deps-dev): bump @svgr/rollup from 5.5.0 to 6.0.0
...
Bumps [@svgr/rollup](https://github.com/gregberge/svgr ) from 5.5.0 to 6.0.0.
- [Release notes](https://github.com/gregberge/svgr/releases )
- [Changelog](https://github.com/gregberge/svgr/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gregberge/svgr/compare/v5.5.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: "@svgr/rollup"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-29 04:02:45 +00:00
dependabot[bot] and GitHub
1b6e92f63f
chore(deps-dev): bump postcss from 8.3.11 to 8.4.4
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.3.11 to 8.4.4.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.3.11...8.4.4 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-29 04:02:17 +00:00
dependabot[bot] and GitHub
ff263e363f
chore(deps-dev): bump rollup-plugin-postcss from 4.0.1 to 4.0.2
...
Bumps [rollup-plugin-postcss](https://github.com/egoist/rollup-plugin-postcss ) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/egoist/rollup-plugin-postcss/releases )
- [Changelog](https://github.com/egoist/rollup-plugin-postcss/blob/master/CHANGELOG-OLD.md )
- [Commits](https://github.com/egoist/rollup-plugin-postcss/compare/v4.0.1...v4.0.2 )
---
updated-dependencies:
- dependency-name: rollup-plugin-postcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-29 04:01:58 +00:00
moklick
14b9ec4a6a
refactor(wrapNode): simplify mouse handler
2021-11-28 02:48:09 +01:00
moklick
2cd047bc76
fix(child-nodes): dragging when parent is selected
2021-11-28 02:39:27 +01:00
moklick
801d8f2ad4
fix(subflows): handle selections correctly
2021-11-26 19:35:31 +01:00
moklick
330eefe695
refactor(selection): only fire selection changes that changed
2021-11-26 18:42:52 +01:00
moklick
d260abec75
refactor(actions): addSelectedElements => addSelectedNodes, addSelectedEdges
2021-11-26 15:18:27 +01:00
moklick
a032306408
feat(hooks): add useNodesState and useEdgesState
2021-11-26 14:39:22 +01:00
moklick
713e7e1bd4
refactor(examples): on connect use connection type
2021-11-26 13:58:30 +01:00
moklick
62f1e90244
fix(edges): updatable edge
2021-11-26 07:14:38 +01:00
moklick
33255635af
refactor(edge-renderer): cleanup
2021-11-26 07:07:21 +01:00
Christopher Möller
b2ac219912
refactor(edge): pass onEdgeUpdate instead of creating onConnect function
2021-11-25 16:04:08 +01:00
Christopher Möller
22f7dd6306
refactor(edges): cleanup edge renderer
2021-11-25 15:48:57 +01:00
Christopher Möller
cffefe78c8
fix(zIndex): allow zIndex to be set to 0 explicitly
2021-11-24 12:23:03 +01:00
Christopher Möller
0f480444f2
chore(markers): cleanup marker api
2021-11-24 12:02:09 +01:00
moklick
3011efd101
chore(version): bump
2021-11-23 18:55:22 +01:00
moklick
5124b6b134
refactor(node): disconnect resize observer on unmount
2021-11-23 18:54:42 +01:00
moklick
ea76e55d85
chore(version): bump
2021-11-23 18:39:19 +01:00
moklick
296289710f
refactor(store): reset on unmount
2021-11-23 18:37:12 +01:00
moklick
f775cf29ca
chore(version): bump
2021-11-23 18:00:19 +01:00
moklick
8a095df192
refactor(nodes): only observe node when not hidden
2021-11-23 17:58:53 +01:00
Moritz Klack and GitHub
5698d2457d
Merge pull request #1655 from wbkd/dependabot/npm_and_yarn/main/postcss-cli-9.0.2
...
chore(deps-dev): bump postcss-cli from 9.0.1 to 9.0.2
2021-11-22 16:58:15 +01:00
dependabot[bot] and GitHub
eaeaed0fa5
chore(deps-dev): bump postcss-cli from 9.0.1 to 9.0.2
...
Bumps [postcss-cli](https://github.com/postcss/postcss-cli ) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/postcss/postcss-cli/releases )
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss-cli/compare/9.0.1...9.0.2 )
---
updated-dependencies:
- dependency-name: postcss-cli
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-22 15:57:56 +00:00
Moritz Klack and GitHub
c9dc79cc11
Merge pull request #1669 from wbkd/dependabot/npm_and_yarn/main/babel/runtime-7.16.3
...
chore(deps): bump @babel/runtime from 7.16.0 to 7.16.3
2021-11-22 16:57:34 +01:00
Moritz Klack and GitHub
6269c16794
Merge pull request #1671 from wbkd/dependabot/npm_and_yarn/main/cypress-9.0.0
...
chore(deps-dev): bump cypress from 8.7.0 to 9.0.0
2021-11-22 16:57:25 +01:00