moklick
b0302ce426
chore(changeset): add
2022-11-25 22:05:51 +01:00
moklick
22db82c8b8
chore(wrapper): cleanup
2022-11-25 22:03:48 +01:00
Samuel Degueldre
2adf37849b
ref: stop using try..catch as control flow in Wrapper
...
Previously, Wrapper used try..catch around a call to useStoreApi to
check whether there was an available StoreContext, instead of simply
using useContext and checking the value. This leads to poor developer
experience when using the devtools feature "pause on caught exceptions"
as it causes the devtools to break on every render of a Wrapper that is
not within a StoreContext provider. The catch is also universal, meaning
that it could catch a completely unrelated error and happily keep going
instead of crashing which is undesirable.
This commit changes this try..catch into a simple call to useContext to
check if a StoreContext is available.
2022-11-23 13:23:28 +01:00
Moritz Klack and GitHub
6bbc004315
Merge pull request #2559 from wbkd/next-release
...
Next release
2022-11-21 14:58:42 +01:00
moklick
a458564bfc
chore(packages): bump versions
2022-11-21 14:53:18 +01:00
Moritz Klack and GitHub
6febbd67a6
Merge pull request #2573 from wbkd/fix/edge-update-loose
...
fix(updatable-edge): fix disappearing connection line for loose flows
2022-11-17 14:54:55 +01:00
moklick
5e8b67dd41
chore(changeset): add
2022-11-17 14:54:23 +01:00
moklick
493d748c18
chore(connection-line): use type for imports
2022-11-17 14:53:32 +01:00
moklick
8e6a353d58
fix(updatable-edge): fix disappearing connection line for loose flows closes #2529
2022-11-17 14:51:26 +01:00
Christopher Möller
c793433caf
chore(node-toolbar): add changeset for node-toolbar
2022-11-17 11:39:45 +01:00
Christopher Möller
4ebbea1960
chore(node-toolbar): set initial package version
2022-11-17 11:36:12 +01:00
Christopher Möller and GitHub
b2acca333f
Merge pull request #2563 from wbkd/feat/node-toolbar
...
feat(node-toolbar): add node-toolbar component
2022-11-17 11:29:31 +01:00
Christopher Möller
98116d431f
chore(reactflow): add changeset for reactflow package
2022-11-17 11:28:41 +01:00
Christopher Möller
b31d8e9dc2
feat(node-toolbar): remove css from node-toolbar component, set version to 1.0.0
2022-11-17 09:59:28 +01:00
moklick
1841dfa2ca
refactor(node-toolbar): define zustand selector outside of the component
2022-11-16 18:28:25 +01:00
Christopher Möller
96e53e4408
Merge branch 'feat/node-toolbar' of github.com:wbkd/react-flow into feat/node-toolbar
2022-11-16 13:55:55 +01:00
Christopher Möller
edbf894350
feat(node-toolbar): change isActive to isVisible and implement default behavior
2022-11-16 13:49:15 +01:00
moklick
be8f22e5f3
chore(node-toolbar): cleanup
2022-11-16 10:59:20 +01:00
moklick
6bb576c77f
Merge branch 'next-release' into feat/node-toolbar
2022-11-16 10:53:34 +01:00
moklick
ccbffeb139
fix(node-toolbar): handle nodeOrigin
2022-11-16 10:53:26 +01:00
Christopher Möller
20a6653577
feat(node-toolbar): use z-index of the node for the toolbar
2022-11-16 09:56:34 +01:00
Christopher Möller
beba0a32de
feat(node-toolbar): add node-toolbar component
2022-11-15 21:48:08 +01:00
Moritz Klack and GitHub
94f919acc0
Merge pull request #2562 from wbkd/feat/minimap-props
...
feat(minimap): add maskStrokeWidth and maskStrokeColor
2022-11-15 16:49:14 +01:00
moklick
d745aa33fc
chore(changeset): add
2022-11-15 16:48:32 +01:00
moklick
5897f6de02
feat(minimap): add maskStrokeWidth and maskStrokeColor
2022-11-15 16:47:15 +01:00
Moritz Klack and GitHub
a12c3ade33
Merge pull request #2561 from wbkd/fix/selection-rect
...
fix(nodeOrigin): repair multi selection and fitView
2022-11-15 16:12:23 +01:00
moklick
92cf497eb7
chore(changeset): add
2022-11-15 16:11:00 +01:00
moklick
7fab7b6a54
Merge branch 'next-release' into fix/selection-rect
2022-11-15 16:09:35 +01:00
moklick
b70ede04f3
fix(nodeOrigin): repair multi selection and fitView
2022-11-15 16:00:21 +01:00
Moritz Klack and GitHub
5211b5a0d5
Merge pull request #2560 from wbkd/neo-patch-4
...
Always elevate 1000 in `zIndex` when node is selected
2022-11-15 11:55:54 +01:00
moklick
a39224b3a8
chore(changeset): add
2022-11-15 11:55:32 +01:00
Moritz Klack and GitHub
42ffadbb0b
Merge pull request #2558 from wbkd/liuruenshen-prevent-multiple-edge-label-renderers-collide-with-each-other
...
EdgeLabelRenderer: prevent multiple edge label renderers collide with each other
2022-11-15 11:21:28 +01:00
moklick
2a1c7db6b2
chore(changeset): add
2022-11-15 11:19:46 +01:00
moklick
be89fe0020
refactor(edge-label-renderer): simplify selector
2022-11-15 11:18:12 +01:00
moklick
f392ffbc4f
Merge branch 'prevent-multiple-edge-label-renderers-collide-with-each-other' of github.com:liuruenshen/react-flow into liuruenshen-prevent-multiple-edge-label-renderers-collide-with-each-other
2022-11-15 11:05:32 +01:00
Moritz Klack and GitHub
dff6bb87e7
Merge pull request #2545 from wbkd/feat/minimap-aria-label
...
Add prop to configure the MiniMap title
2022-11-15 11:04:29 +01:00
Christopher Möller
8f63f751e3
feat(minimap): add changeset
2022-11-14 15:30:26 +01:00
Christopher Möller
a5963e62b6
feat(minimap): turn ariaLabel into an optional property
2022-11-14 15:28:15 +01:00
GeoffreyLiu
038835772f
refactor: use domNode prop to get edge-label-renderer
2022-11-14 19:55:56 +08:00
GeoffreyLiu
23aa8bb270
refactor: use existing d3Selection to get the element ref
2022-11-14 08:30:09 +08:00
Wenchen Li and GitHub
d586202d97
Always elevate 1000 in zIndex when node is selected
...
Instead of only elevating when `zIndex` is unset
2022-11-11 17:30:31 -05:00
GeoffreyLiu
1993734a99
test: update the test cases
2022-11-11 10:44:59 +08:00
GeoffreyLiu
3170f875e5
refactor: access edge-label-renderer by storing the root element
2022-11-11 10:44:59 +08:00
Christopher Möller and GitHub
fd00b18ebe
Update README.md
2022-11-08 15:47:59 +01:00
Christopher Möller and GitHub
6638a06743
Merge pull request #2549 from LaQuay/patch-1
...
Fix quickstart example in README.md
2022-11-08 15:46:48 +01:00
Marc Vila and GitHub
2639784086
Update README.md
...
Add export default to quickstart example.
2022-11-08 15:44:53 +01:00
GeoffreyLiu
55cf7560c0
fix: access the edge-label-renderer by reactflow's id
2022-11-08 15:46:05 +08:00
GeoffreyLiu
a9e7411d6d
test: add the test case
2022-11-08 15:21:33 +08:00
Christopher Möller
52816debba
feat(minimap): add prop to configure the minimap title
2022-11-07 13:55:20 +01:00
Moritz Klack and GitHub
0b80eadb4a
Merge pull request #2537 from wbkd/release/11.2.0
...
Release: 11.2.0
2022-11-02 21:07:49 +01:00