Commit Graph

96 Commits

Author SHA1 Message Date
Braks
6ec8258f33 fix: typings 2021-10-22 14:29:27 +02:00
Braks
3f863ef71c update(examples): Add Save & Restore example
* add localforage to dev deps
2021-10-22 10:00:21 +02:00
Braks
9532615cfd chore(deps): Downgrade draggale to 0.2.5 due to transformation issue with current version 2021-10-21 18:03:06 +02:00
Braks
e9392b13c5 chore(deps): update draggable 2021-10-21 16:35:05 +02:00
Braks
712cf3ef66 update(examples): Add layouting example 2021-10-21 14:47:32 +02:00
Braks
31c896edb5 update: replace vue version when rolling bundle
* remove vue jsx
2021-10-21 00:09:23 +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
9373533e0e update: disable vue-tsc for now 2021-10-20 22:39:54 +02:00
Braks
6cfe5f6d43 chore(deps): remove unused deps
* update deps
* some ts fixes
2021-10-20 22:39:54 +02:00
Braks
a5ae6a4e48 update(deps): Add unplugin-components
fix: Excessive rerender of edge texts
update(script-setup): Update some examples

* Remove more jsx files
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
9307c9066a feat: script setup style
* Replace jsx with script setup syntax
* Simplify logic and make it more "composable"
    * Move Zoom functions to useZoom composable
* Update eslint config & tsconfig
2021-10-20 22:39:54 +02:00
Braks
769378a2ea chore(deps): Use pnpm instead of yarn
* Add pnpm-lock
* update deps
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
ec17f8a879 v0.1.2 2021-08-17 22:32:52 +02:00
Braks
908e741399 chore(deps): Update vueuse to 6.0.0 2021-08-17 19:45:49 +02:00
Braks
47df2c75a4 v0.1.1 2021-08-08 22:53:31 +02:00
Braks
af87f08c6f fix: version 2021-08-08 22:53:15 +02:00
Braks
e5d8338b32 chore(dev-deps): remove rollup-plugin-vue 2021-08-08 22:36:59 +02:00
Braks
545eb0ede7 fix: add intrinsicattributes to shims
* remove declaration from shims-vue.d.ts
2021-08-08 22:36:28 +02:00
Braks
2653c70334 update: rollup config
* add rollup.ts
* add esbuild register to devdeps
* add rollup plugin dts to devdeps
2021-08-08 21:36:40 +02:00
Braks
2188c5d3d3 feat(example): Add custom edge example
update(example): fit view on custom node example
* node selection to use hooks
* dev script to use vue-tsc
2021-08-08 19:28:45 +02:00
Braks
1d542aba65 refactor: back to jsx 🥇 2021-08-08 19:28:45 +02:00
Braks
25c92ecd84 update: Remove wrapEdge and wrapNode files
* implement Edge.tsx and Node.vue to wrap the components accordingly
refactor!: Removing callbacks from props in favor of events
chore: upgrade vue and vite vue plugin
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
7eb7cb1dc3 chore: update revue-draggable to latest version
fix: selection not draggable after creation selection (stop event propagation)
* naming collision with eventlistener and callback on draggable component (everything being called 2x)
2021-07-23 14:08:39 +02:00
Braks
86ead92839 fix: scale being incorrect when passed to draggable causing weirdly fast drags
chore: upgrade revue-draggable to latest on tag next
2021-07-20 20:39:42 +02:00
Braks
b4fcab4004 fix: inject store instance components
chore: update revue-draggable to next tag
2021-07-20 20:01:10 +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
087eb52f1f v0.0.37 2021-07-16 00:11:16 +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
f5580b6d96 feat: Add revue-draggable
refactor: remove vue-draggable
* couple of prop default changes
2021-07-14 15:41:59 +02:00
Braks
6c9d88b09d refactor: use injected store so we can use a distinct instance not a global one 2021-07-13 16:13:15 +02:00
Braks
041fe114ef v0.0.36 2021-07-10 23:51:23 +02:00
Braks
e4f57c79e8 feat: Create examples directory and add some examples
* Add svg plugins for vite & rollup
update: more bundle stuff
2021-07-10 23:51:04 +02:00
Braks
4d52af09fa v0.0.35 2021-07-10 18:33:55 +02:00
Braks
c23844fb73 v0.0.34 2021-07-10 16:42:51 +02:00
Braks
150438d08f update: no vue-2 compatability (doesn't work with current build)
* README.md
2021-07-10 16:40:50 +02:00
Braks
74fc5916aa v0.0.33 2021-07-10 16:18:38 +02:00
Braks
1c60829515 v0.0.32 2021-07-10 16:08:26 +02:00
Braks
82caefc2ef v0.0.31 2021-07-10 16:00:24 +02:00
Braks
0ca3012b3d v0.0.30 2021-07-10 15:40:50 +02:00
Braks
43eef4b17c v0.0.29 2021-07-10 15:34:32 +02:00
Braks
e2deded187 update: more bundle stuff 2021-07-10 15:34:13 +02:00
Braks
6edaa3f4df v0.0.28 2021-07-10 15:29:49 +02:00
Braks
4d2dfa14df update: more bundle stuff 2021-07-10 15:29:31 +02:00
Braks
1b1a1b7f1a v0.0.27 2021-07-10 14:48:38 +02:00
Braks
7d78ac61fc update: even more bundle stuff 2021-07-10 14:48:09 +02:00