Bump @vue-flow/core from 1.8.0 to 1.9.1
Created by: dependabot[bot]
Bumps @vue-flow/core from 1.8.0 to 1.9.1.
Release notes
Sourced from @vue-flow/core
's releases.
v1.9.1
What's Changed
Fixed slot type regression.
- fix(core): use regexp to fetch imports in slots patch by
@bcakmakoglu
in bcakmakoglu/vue-flow#561Full Changelog: https://github.com/bcakmakoglu/vue-flow/compare/v1.9.0...v1.9.1
v1.9.0
What's Changed
- chore(core): deprecate options api utils by
@bcakmakoglu
in bcakmakoglu/vue-flow#558- feat(core): figma-controls by
@bcakmakoglu
in bcakmakoglu/vue-flow#557- chore: next release by
@github-actions
in bcakmakoglu/vue-flow#559
🚀 New FeaturesThis release brings you more customization options to the selection behavior. Instead of pressing an additional button to create a selection box, you can now enable this behavior without any additional key-press. Furthermore you can now specify what mouse buttons should be used for pan on drag behavior.
⭐ ️ Props
selectionKeyCode
: You can now set this toMaybeRef<boolean>
to enable a selection box without extra button press (need to set:pan-on-drag="false"
or:pan-on-drag="[2]"
[RightClick]).panOnDrag
: Can now be a boolean or a number[], this allows you to configure every mouse button as a drag button. [1, 2] would mean that you can drag via middle and right mouse button.panActivationKeyCode
: Key code (or KeyFilter) for activating dragging (useful when using selectionOnDrag).selectionMode
: You can choose if the selection box needs to contain a node fully (SelectionMode.Full
) or partially (SelectionMode.Partial
) to select.
🎪 Events
onSelectionStart
: Emitted when the selection box is started.onSelectionEnd
: Emitted when the selection box is ended.onViewportChangeStart
: Emitted when viewport change has started.onViewportChange
: Emitted when viewport is changed.onViewportChangeEnd
: Emitted when viewport change has ended.
⚠ ️ DeprecatedDeprecated options API utils
addEdge
andupdateEdge
. These utils will be removed soon!Resolve deprecation warnings
Instead of using these utils, use
addEdges
andupdateEdge
found on the VueFlow store instance. You receive a store instance by using either a template-ref or listening to theonPaneReady
event.Example
<script> import { VueFlow } from '@vue-flow/core' </tr></table>
... (truncated)
Changelog
Sourced from @vue-flow/core
's changelog.
[1.9.1] - 2022-12-25
Bug Fixes
- Use regexp to fetch imports in slots patch (a8f92ba)
Miscellaneous Tasks
[1.9.0] - 2022-12-25
Features
Miscellaneous Tasks
- Deprecate options api utils (c1a6945)
- Cleanup examples (48c4f0a)
- Add eslint rule to show error on unused vars (be06994)
- Cleanup node wrapper (e23ca5f)
- Cleanup
useUpdateNodePositions
(f319f62)- Cleanup (0d29597)
- Cleanup examples (4dbb51d)
- Remove log (012a19d)
- Next release (d1a581c)
Refactor
- Move velocity logic into
useUpdateNodePositions
(4260e31)- Remove
snapGrid
option from nodes - use global one instead (2b513b5)- Remove
selectionOnDrag
prop and useselectionKeyCode
to trigger selection (c3e1741)Testing
- Update selector (31e3a8c)
Commits
-
2e741a2
chore: next release -
2979feb
chore: add changeset -
a8f92ba
fix(core): use regexp to fetch imports in slots patch -
c22f880
chore: fix changelog headline orders -
6554802
chore: update CHANGELOG.md -
d1a581c
chore: next release -
c3e1741
refactor(core): removeselectionOnDrag
prop and useselectionKeyCode
to t... -
31e3a8c
tests: update selector -
012a19d
chore(core): remove log -
4dbb51d
chore(examples): cleanup examples - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)