Commit Graph
765 Commits
Author SHA1 Message Date
Braks 540b3efb2d v0.4.0-18 2022-04-04 21:42:48 +02:00
Braks 57f8428a35 feat: Add publish script 2022-04-04 21:42:48 +02:00
Braks cd817b7f53 feat: implement workspaces 2022-04-04 21:42:48 +02:00
Braks cc96739c38 update: rename typedocs out dir to typedocs 2022-04-04 21:42:48 +02:00
Braks 1fe8fd334b chore(docs): update README.md 2022-04-04 21:42:48 +02:00
Braks 2899719ffa v0.4.0-17 2022-04-04 21:42:48 +02:00
Braks 6d9f198737 chore: update auto-imports.d.ts 2022-04-04 21:42:48 +02:00
Braks 9a875430ec fix(flow): set default prop as undefined for connectOnClick 2022-04-04 21:42:48 +02:00
Braks 25d769d553 chore(handle): remove setting elementBelow style onClick
* intended for hover
2022-04-04 21:42:48 +02:00
Braks da5b8bf867 v0.4.0-16 2022-04-04 21:42:48 +02:00
Braks a5a918a39b regression(nodes,edges): use computed to get current node/edge 2022-04-04 21:42:48 +02:00
Braks 202773144f fix(handle): prevent onClick from creating edges inside same node 2022-04-04 21:42:48 +02:00
Braks 5ba7170242 v0.4.0-15 2022-04-04 21:42:48 +02:00
Braks 0d6bc39e49 fix(nodes,edges): try to resolve component before falling back to default 2022-04-04 21:42:48 +02:00
Braks 897f662c29 v0.4.0-14 2022-04-04 21:42:48 +02:00
Braks e136c28f0e fix(flow): check if scope exists before accessing id
* add internal injection type
* move id getter to storage class
2022-04-04 21:42:48 +02:00
Braks 9b940142a7 fix(edges): use empty string instead of null when source-/target-handle is not present 2022-04-04 21:42:48 +02:00
Braks c955d19263 update(store): rename update to updates (to fit arr type) 2022-04-04 21:42:48 +02:00
Braks b46445e204 chore(nodes): Move watcher and computed to bottom 2022-04-04 21:42:48 +02:00
Braks cb3e1232b2 fix(flow): change modelValue/node-/edge-prop when elements are added to state 2022-04-04 21:42:48 +02:00
Braks 544a62ecc4 update(flow): try fetching instance when out of scope 2022-04-04 21:42:48 +02:00
Braks fa6c7b736c fix: check if window exists before binding event listener for keypress 2022-04-04 21:42:48 +02:00
Braks 47646eac84 v0.4.0-13 2022-04-04 21:42:48 +02:00
Braks 88a8ecbdeb feat(examples): Add ResizableNode to Basic example 2022-04-04 21:42:48 +02:00
Braks 0e48b77e14 regression: calculate handle bounds regardless of update 2022-04-04 21:42:48 +02:00
Braks 9a47c15662 regression: add slot to connection line 2022-04-04 21:42:48 +02:00
Braks ae2867976c chore: fix lint issues 2022-04-04 21:42:48 +02:00
Braks 7623ad4715 chore(docs): Add comments 2022-04-04 21:42:48 +02:00
Braks aaba123bbc refactor: remove background variant none 2022-04-04 21:42:48 +02:00
Braks 874684de15 v0.4.0-12 2022-04-04 21:42:48 +02:00
Braks fddebb9393 fix(flow): cleanup of state 2022-04-04 21:42:48 +02:00
Braks 8b213dfee8 chore(docs): add comments to flow props 2022-04-04 21:42:48 +02:00
Braks 0a079afcee refactor(nodes)!: Change children API to parentNode API
* instead of passing a children arr, pass a parentNode id
* allows for easier adding of new child nodes in options api
2022-04-04 21:42:48 +02:00
Braks 0d0ac9d2e6 fix(flow): check for scope before trying injection 2022-04-04 21:42:48 +02:00
Braks 095afc63ab chore: remove unused var 2022-04-04 21:42:48 +02:00
Braks c3c86c6179 v0.4.0-11 2022-04-04 21:42:48 +02:00
Braks 37382881af chore: remove unused var 2022-04-04 21:42:48 +02:00
Braks 43692aa8ef fix: add no pan class name to nodes selection 2022-04-04 21:42:48 +02:00
Braks 271d793327 fix: edges not selected on user selection 2022-04-04 21:42:48 +02:00
Braks da2e95a517 refactor(store): rename selectionActive to userSelectionActive 2022-04-04 21:42:48 +02:00
Braks 024a434918 update: move mounted hooks up
* remove mounted hook from selection pane
2022-04-04 21:42:48 +02:00
Braks 7747456771 feat(nodes): Add dimensions to nodeprops 2022-04-04 21:42:48 +02:00
Braks aa44fc300d v0.4.0-10 2022-04-04 21:42:48 +02:00
Braks 70a349f7e1 fix(zoom): prevent scroll when zoom on scroll is false 2022-04-04 21:42:48 +02:00
Braks de534e9a5f fix(edges): missing source/target node props on smoothstep edges 2022-04-04 21:42:48 +02:00
Braks f72e7dced3 v0.4.0-9 2022-04-04 21:42:48 +02:00
Braks f30288da78 fix(nodes): check if prop label exists before using dynamic component 2022-04-04 21:42:48 +02:00
Braks 66743501af fix(edges): use correct vars for center in straight edge 2022-04-04 21:42:48 +02:00
Braks 3acb43d000 fix(edges): use correct functions for center/path in simple bezier edge 2022-04-04 21:42:48 +02:00
Braks 2b2aad8cdc fix: default prop value for zoomActivationKeyCode 2022-04-04 21:42:48 +02:00