Commit Graph
100 Commits
Author SHA1 Message Date
Braks c68b1bf424 fix(edges): dont inherit attrs on smoothstep/stepedges 2022-04-04 21:42:48 +02:00
Braks 4cc319981f feat(docs): add docsearch plugin 2022-04-04 21:42:48 +02:00
Braks 6c7fde01c9 update(docs): dark mode colors for home 2022-04-04 21:42:48 +02:00
Braks 3bbe92a4ea feat(docs): replace vitepress with vuepress
* vitepress too limited
2022-04-04 21:42:48 +02:00
Braks 981511c76f fix(flow): computed getter type 2022-04-04 21:42:48 +02:00
Braks 13aae6aa3f update(docs): mobile styles 2022-04-04 21:42:48 +02:00
Braks 39df62f133 update(docs): footer 2022-04-04 21:42:48 +02:00
Braks e27ab86249 feat(docs): Add additional demo 2022-04-04 21:42:48 +02:00
Braks 2915c802e7 v0.4.0-29 2022-04-04 21:42:48 +02:00
Braks d6b41afefd update(examples): Add button edge example 2022-04-04 21:42:48 +02:00
Braks ca74d7b470 fix(flow): injection missing 2022-04-04 21:42:48 +02:00
Braks 31cb99b7c8 feat(docs): Nested demo 2022-04-04 21:42:48 +02:00
Braks 6fd1ebc3c1 update(docs): fitview on breakpoint change 2022-04-04 21:42:48 +02:00
Braks 186b96f87d update(flow): generic types 2022-04-04 21:42:48 +02:00
Braks af23f733c0 chore(nodes,edges): remove v-bind 2022-04-04 21:42:48 +02:00
Braks ade61ca2e1 update(types): Remove unnecessary type exports
* rename StringFunc for better understanding
2022-04-04 21:42:48 +02:00
Braks 55588c3988 chore: remove default data value from default nodes 2022-04-04 21:42:48 +02:00
Braks 349ecf8254 update(examples): remove logs 2022-04-04 21:42:48 +02:00
Braks 631a764152 feat(docs): Add windicss scrollbar plugin 2022-04-04 21:42:48 +02:00
Braks 71e21e50d9 fix(flow): no transform of id to ref 2022-04-04 21:42:48 +02:00
Braks 6cb13f1646 update(docs): split features into separate files 2022-04-04 21:42:48 +02:00
Braks 4e8b03d059 feat(docs): RGB demo coloring 2022-04-04 21:42:48 +02:00
Braks d913df6187 update(examples): import order 2022-04-04 21:42:48 +02:00
Braks 546dd4baaf fix(nodes,edges): compute type in wrapper 2022-04-04 21:42:48 +02:00
Braks 8e6e85a007 fix: use global nodeExtent if node.extent is undefined 2022-04-04 21:42:48 +02:00
Braks 39c8f60818 update(docs): RGB demo 2022-04-04 21:42:48 +02:00
Braks 913ebb0db0 v0.4.0-28 2022-04-04 21:42:48 +02:00
Braks be8d4afa86 chore: remove unused export 2022-04-04 21:42:48 +02:00
Braks 611aee5269 update(docs): Color transitions 2022-04-04 21:42:48 +02:00
Braks 444bf0a879 chore: add useStyle to wrappers 2022-04-04 21:42:48 +02:00
Braks 12f1787057 v0.4.0-27 2022-04-04 21:42:48 +02:00
Braks 7e47da4de9 chore: update yarn.lock 2022-04-04 21:42:48 +02:00
Braks 4d668f8b6d feat(docs): add data script
* fetches npm & github info
* add vite plugin icons
2022-04-04 21:42:48 +02:00
Braks 9344365aff update: set zindex to 0 on initial parse 2022-04-04 21:42:48 +02:00
Braks a50101bfd3 feat(nodes,edges): Allow class or styles to be bound with function
* function param is current node
* makes it easier to add classes / styles if specific node is selected etc.
2022-04-04 21:42:48 +02:00
Braks 94e5bda77e update(examples): Update stress example syntax 2022-04-04 21:42:48 +02:00
Braks 73a9016aff fix(store): Getter type 2022-04-04 21:42:48 +02:00
Braks 83ea90555e update: short circuit connection line slot 2022-04-04 21:42:48 +02:00
Braks 85f563ac52 regression: enable pointer events on zoom pane 2022-04-04 21:42:48 +02:00
Braks ca5036f5a9 v0.4.0-26 2022-04-04 21:42:48 +02:00
Braks 9230f3279e feat(docs): Add icons 2022-04-04 21:42:48 +02:00
Braks fb1c828dea update(zoom): disable pointer events on zoom pane when zoom key is active 2022-04-04 21:42:48 +02:00
Braks ddeb70a08f fix: force focus into node selection 2022-04-04 21:42:48 +02:00
Braks 74bc231844 fix: short circuit passing slots to renderer 2022-04-04 21:42:48 +02:00
Braks d1e8c0f16e fix(nodes): use node.extent before trying global nodeExtent 2022-04-04 21:42:48 +02:00
Braks 00423e7381 v0.4.0-25 2022-04-04 21:42:48 +02:00
Braks c12e07bcda fix(nodes,edges): check if type exists before using as index 2022-04-04 21:42:48 +02:00
Braks 984e34a9fb v0.4.0-24 2022-04-04 21:42:48 +02:00
Braks bf3506d50f fix(nodes,edges): check if type exists before using as index 2022-04-04 21:42:48 +02:00
Braks 36e3299681 update(docs): Add windicss
* remove unused files
2022-04-04 21:42:48 +02:00
Braks e97d9a1dc9 feat(nodes): debounce scaling to avoid lag spikes 2022-04-04 21:42:48 +02:00
Braks 528cac5d33 regression(nodes,edges): removing nodes/edges breaks renderer 2022-04-04 21:42:48 +02:00
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