Commit Graph
28 Commits
Author SHA1 Message Date
Braks 10215b4631 update: create vue.d.ts files
* add vue-tsc to emit d.ts files from vue components
* use absolute paths in components
* avoids conflicts with ts custom paths in vue-tsc generated vue.d.ts files

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-11-17 01:39:50 +01:00
Braks a58d952e9f fix: disable inherting attrs on nodes/edges to avoid warnings
* disable context warnings for non-dev environments

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-11-16 16:01:44 +01:00
Braks aaf5f608f5 feat: add path alias for src
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-11-06 09:38:02 +01:00
Braks 61779638ac update(dist): Remove rollup and use vite to build lib
* Remove custom tsconfig paths to avoid resolving issues on published package
2021-11-06 08:54:35 +01:00
Braks 20e9d1d396 update: fix names 2021-10-21 17:42:33 +02:00
Braks 2bfecf7148 update: change name to vue flow
* Add gif to readme

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-10-20 22:39:54 +02:00
Braks b2b1fe822f feat: add useStore and useHooks composables that provide default store/hooks 2021-10-20 22:39:54 +02:00
Braks 7ecbcba7eb fix: edge anchor 2021-10-20 22:39:54 +02:00
Braks c3fb3cd10a fix: zoom pan helper 2021-10-20 22:39:54 +02:00
Braks a895853b64 update: Add injection keys 2021-10-20 22:39:54 +02:00
Braks 1ff3a8dc9c update(script-setup): Refactor additional-components
* Remove jsx files

fix: ConnectionLine.vue not recalculating properly
2021-10-20 22:39:54 +02:00
Braks 560bdc203b update(script-setup): Refactor remaining files to script setup style 2021-10-20 22:39:54 +02:00
Braks 77eac0c12a chore(lint): Update eslint rules
* Remove semi
2021-10-20 22:39:54 +02:00
Braks 1d542aba65 refactor: back to jsx 🥇 2021-08-08 19:28:45 +02:00
Braks ef9647ceb4 chore: add vueuse/core to deps
feat: Implement onKeystrok of vueuse
* Implement useEventlistener
fix: node selection not properly selecting underlying nodes
2021-07-23 17:50:48 +02:00
Braks 7c7c31b46f fix: no use of fragments for nodes as it results in warning from vue and we got enough of those as is
* some typing issues
2021-07-17 22:54:52 +02:00
Braks dfd9e96356 fix: node selection rect not dragging correctly
* issue comes from revue-draggable (has been fixed in 0.0.12) naming collision of the prop onDrag (callback fn) and the way JSX events are bound (onDrag instead of drag)
2021-07-17 21:07:24 +02:00
Braks 61ab006e94 fix: node selection rect not properly rendering on key press and mousemove
* issue came from some reactivity problems; a component shouldn't return null, else it'll basically do nothing ever again if it's not completely remounted
* some type fixes, removed some any's
2021-07-17 19:34:32 +02:00
Braks 2f93c917e0 fix: user selection
deps: upgrade to latest revue-draggable
2021-07-15 23:32:58 +02:00
Braks c7fda830a6 update: use store injection in UserSelection component
fix: keypress not displaying working properly
2021-07-14 23:48:19 +02:00
Braks 881655d483 update: renaming stuff from react to "revue" 2021-07-10 18:33:38 +02:00
Braks d50d74598b update: no vue-2 compatability (doesn't work with current build)
* README.md
2021-07-10 16:42:39 +02:00
Braks 6f39ae6de8 update: more changes to bundle config... 2021-07-10 12:31:09 +02:00
Braks 082d460e12 update: more changes to bundle config... 2021-07-10 12:21:45 +02:00
Braks 92caccfd6e update: use vue-demi again to add compatability to vue2
* add vite.config.app.ts for demo generation
2021-07-10 11:51:12 +02:00
Braks 59b6af384c update: remove vue-demi 2021-07-10 00:45:46 +02:00
Braks 99548a0dba fix: try to deploy as package... 2021-07-09 21:54:05 +02:00
Braks 52e1188d04 feat: Transform react-flow to vue-jsx 2021-07-08 23:37:11 +02:00