Commit Graph
793 Commits
Author SHA1 Message Date
Braks 0bfca93a7b update(edges): support fragments as connection line slot 2022-04-04 21:42:48 +02:00
Braks 70646c5f95 update(edges): support fragments as edge slots 2022-04-04 21:42:48 +02:00
Braks 1347304667 update(nodes): support fragments as node slots 2022-04-04 21:42:48 +02:00
Braks 9dd71c2528 update(edges): v-if on existing edges before looping wrapper 2022-04-04 21:42:48 +02:00
Braks 37fc1fc040 regression: add slots to vue flow container to indicate possible slot names 2022-04-04 21:42:48 +02:00
Braks 6738e9783f v0.4.0-23 2022-04-04 21:42:48 +02:00
Braks 8f3a2b9d54 update: Parse style.css with postcss instead of including it with vite 2022-04-04 21:42:48 +02:00
Braks 194d16e343 chore(pkg): Add tsconfig.node.json 2022-04-04 21:42:48 +02:00
Braks e71b9d5e48 feat(docs): Add vitepress for docs & docs workspace 2022-04-04 21:42:48 +02:00
Braks bf3ca8bfda chore: update tsconfig.json 2022-04-04 21:42:48 +02:00
Braks d95a83349b feat(flow): export apply changes utilities for options api 2022-04-04 21:42:48 +02:00
Braks 4b0ac0a9b8 chore: shorten provide 2022-04-04 21:42:48 +02:00
Braks 3f15983f3e feat(edges): Use slot injection for custom edges 2022-04-04 21:42:48 +02:00
Braks 307917011a feat(edges): Use slot injection for custom connection lines 2022-04-04 21:42:48 +02:00
Braks 4cbdf0ccc1 feat(nodes): Pass node slots as injections to wrapper
* Avoids drilling slots which causes huge performance issues when 100+ nodes are present due to re-binding of props on each level
2022-04-04 21:42:48 +02:00
Braks b47197f498 chore(dev-deps): Add vite plugins to examples 2022-04-04 21:42:48 +02:00
Braks 13103d6ec1 v0.4.0-22 2022-04-04 21:42:48 +02:00
Braks b6216a849b chore: update package.json files 2022-04-04 21:42:48 +02:00
Braks 8362d7fd7a feat(examples): Add path alias for local dev 2022-04-04 21:42:48 +02:00
Braks 95bc46e616 fix(flow): store & usevueflow types 2022-04-04 21:42:48 +02:00
Braks c1594b0071 update(examples): move examples into src dir 2022-04-04 21:42:48 +02:00
Braks 9539d7f263 chore: lint ts def files after build 2022-04-04 21:42:48 +02:00
Braks 7aea432ff7 chore: remove README.md after publish 2022-04-04 21:42:48 +02:00
Braks 2d64ace21c v0.4.0-21 2022-04-04 21:42:48 +02:00
Braks 85fc6fcf0f chore: copy README for pkg release 2022-04-04 21:42:48 +02:00
Braks e20bc0f44d v0.4.0-20 2022-04-04 21:42:48 +02:00
Braks c0af3896ec v0.4.0-19 2022-04-04 21:42:48 +02:00
Braks 1762861ab0 chore: update package.json files 2022-04-04 21:42:48 +02:00
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