Braks
74c30376a5
refactor(types): use vite-plugin-import-types
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-12-20 19:29:52 +01:00
Braks
fe3f6e6e19
chore(deps): update draggable to ^0.4.1
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-12-07 14:26:17 +01:00
Braks
55122ed187
update(store, deps): remove microdiff
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-12-04 15:42:18 +01:00
Braks and GitHub
796c60431f
feat(test): Add cypress for testing
2021-11-27 16:53:24 +01:00
Braks
3f758c529c
chore(deps): update revue-draggable to 0.3.9
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-23 16:56:35 +01:00
Braks
c35673c622
refactor: pass props to edge/nodewrapper separately
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-22 01:22:27 +01:00
Braks
fd71e1e16e
update: Add names to components
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-21 16:54:59 +01:00
Braks
d335944e56
feat: offload parsing elements to worker
...
* when we're not in ssr environment we use a web worker to parse the elements as this blocks the main thread when there's a good amount of nodes/edges to parse
* when in ssr we don't really care about the main thread blocking so we just parse them like usual
* update vite to latest
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-20 16:22:31 +01:00
Braks
156287b9d2
chore(deps): update deps
...
* replace fast-deep-equal with microdiff
* remove localforage (using useStorage instead)
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-18 15:29:50 +01:00
Braks
1deb41766b
chore(deps): update revue-draggable to v0.3.4
...
* fix import path of utils in NodesSelection.vue
* remove scale (bug)
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-17 16:07:56 +01:00
Braks
074d284a8e
feat: inject necessary styles directly to bundle
...
* add vite plugin css injected by js
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-17 09:33:21 +01:00
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
65b73d3f7b
update: Transform d.ts file paths to resolve correctly
...
* Add typescript-transform-paths plugin as dev-dep
* Add ts-patch as dev-dep
* Use tsc instead of vue-tsc to build declaration files
* Update tsconfig.json to emit declaration and use transform plugin
* Remove vue-tsc from dev-deps
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-16 09:04:42 +01:00
Braks
066155b9f7
feat: copy default theme css file separately to dist
...
* to enable overwriting the default theme export it separately
* add rollup plugin copy for copying the css file
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-06 15:42:05 +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
3931a59524
fix(docs): dedupe and add alias for vue
...
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com >
2021-11-06 08:54:35 +01:00
Braks
ae0772b6d4
update(docs): fix view height
2021-11-06 08:54:35 +01:00
Braks
c21ad948c8
update: use yarn instead of pnpm
2021-11-06 08:54:35 +01:00
Braks
769378a2ea
chore(deps): Use pnpm instead of yarn
...
* Add pnpm-lock
* update deps
2021-10-20 22:39:54 +02:00
Braks
908e741399
chore(deps): Update vueuse to 6.0.0
2021-08-17 19:45:49 +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
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
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
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
881655d483
update: renaming stuff from react to "revue"
2021-07-10 18:33:38 +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
7d78ac61fc
update: even more bundle stuff
2021-07-10 14:48:09 +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
0c449c9274
update: deps
2021-07-10 00:22:21 +02:00
Braks
99548a0dba
fix: try to deploy as package...
2021-07-09 21:54:05 +02:00
Braks
179b5c5d4d
update: remove siroc and use rollup directly
...
* add rollup.config.js
2021-07-09 19:17:09 +02:00
Braks
3094cc211d
feat: Add siroc config
2021-07-09 19:00:21 +02:00
Braks
5c159671ea
feat: Add np
2021-07-09 18:39:35 +02:00
Braks
8f34d9d486
feat: add postcss config and deps
...
bugfix: some unused imports and node-selection component removed for now
update: README.md
2021-07-09 13:59:07 +02:00
Braks
52e1188d04
feat: Transform react-flow to vue-jsx
2021-07-08 23:37:11 +02:00
Braks
4025ec82cb
Initial Commit
2021-07-01 19:54:02 +02:00