Commit Graph
85 Commits
Author SHA1 Message Date
Braks 95e36d0c2c refactor: use d3-drag 2022-05-27 23:36:01 +02:00
Braks 98a893108c docs: replace codesandbox embed with repl (#122)
* docs: Animations

* docs: add confetti gun

* docs: update basic example on home page

* docs(deps): Add stackblitz sdk to deps

* chore: update yarn.lock

* docs: use vue repl

* docs: remove stackblitz sdk

* docs: basic repl example

* docs: use repl for examples/index.md (basic example)

* docs: pass ext to repl

* docs: add copy plugin

* docs: use import map instead of dynamic imports

* docs: use repl for custom node example

* docs: hide repl errors

* docs: use repl for custom connectionline example

* docs: use repl for edges example

* docs: exclude repl from ssr

* docs: use repl for nested example

* docs: use repl for stress example

* docs: rename customNode to custom-node

* docs: use repl for update-edge example

* docs: use repl for update-node example

* docs: use repl for validation example

* docs: use repl for save-restore example

* docs: scale down minimap in repl examples

* docs: use repl for dnd example

* docs: use repl for empty example

* docs: use repl for hidden example

* docs: use repl for interaction example

* docs: use repl for multi example

* docs: add pinia example with stackblitz

* docs: update basic example

* docs: update examples

* docs: remove transition from intro

* docs: update features

* update: README.md

* docs: scope css
2022-05-26 19:28:25 +02:00
Braks 0a285d63c7 feat(pathfinding-edge): add and export props type 2022-05-22 22:46:47 +02:00
Braks 0e00a41d44 chore: cleanup deps 2022-05-22 22:46:47 +02:00
Braks a90bbb9b5e chore: lint files 2022-05-22 22:46:47 +02:00
Braks 36de50ede9 chore(pkg): update typedoc & unplugin-auto-import 2022-05-11 22:10:40 +02:00
Braks c396b4fc3c chore(deps,deps-dev): update pkg and root deps 2022-05-11 22:10:40 +02:00
Braks 447d24c5a8 chore(deps-dev): update eslint, prettier & antfu/eslint-config 2022-05-11 22:10:40 +02:00
Braks 2a836d705d feat: Add turbo to root deps-dev 2022-04-11 11:30:10 +02:00
Braks fcdbc21d34 refactor(flow!): Change transform to viewport
* Change array type to object type and rename transform type to viewport
* Update examples & docs
2022-04-11 11:30:10 +02:00
Braks f63e1571ae docs: Add pwa plugin & update manifest 2022-04-11 11:30:10 +02:00
Braks c52b870a3d chore(deps-dev): Move ts-patch and typescript-transform-paths to package dev-deps 2022-04-11 11:30:10 +02:00
Braks b206ff160f fix(nodes,edges): Cast styles to css properties 2022-04-11 11:30:10 +02:00
Braks 59870a3a55 chore(deps): update deps 2022-04-11 11:30:10 +02:00
Braks a0bd8b9afd chore: run yarn upgrade 2022-04-11 11:30:10 +02:00
Braks 3be164b20e chore(deps): Update package dependencies 2022-04-11 11:30:10 +02:00
Braks cb14acd99a chore: update lock file 2022-04-05 09:28:34 +02:00
Braks 9aa42ed8f8 feat(docs): Add blobity to home 2022-04-04 21:42:48 +02:00
Braks 9b08271696 fix: remove vue from dev-deps
* fix default prop types
2022-04-04 21:42:48 +02:00
Braks 0d2c165802 feat(docs): Add auto import plugin 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 6fd1ebc3c1 update(docs): fitview on breakpoint change 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 7e47da4de9 chore: update yarn.lock 2022-04-04 21:42:48 +02:00
Braks 9230f3279e feat(docs): Add icons 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 e71b9d5e48 feat(docs): Add vitepress for docs & docs workspace 2022-04-04 21:42:48 +02:00
Braks cd817b7f53 feat: implement workspaces 2022-04-04 21:42:48 +02:00
Braks 3b8c49e654 feat(theme): use postcss to parse default theme into a simple css file 2022-03-14 15:07:12 +01:00
Braks 25e5b92843 feat(docs): Add typedoc 2022-03-14 14:10:38 +01:00
bcakmakoglu a9b1b1ad6d chore: update yarn.lock
* add settings.json

Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
2022-02-21 20:27:30 +01:00
bcakmakoglu 3518e1dab2 chore: update yarn.lock
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
2022-02-21 20:25:17 +01:00
bcakmakoglu 54e8301ddb refactor: use dist pkg for examples
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
2022-02-21 20:25:17 +01:00
bcakmakoglu ae3cb8f80c chore(deps): update deps
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
2022-02-21 20:25:17 +01:00
bcakmakoglu f44784b1d0 chore: fix examples
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
2022-02-21 20:25:17 +01:00
Braks cc7cedfda0 chore(deps-dev): Update vite-plugin-vue-type-imports to ^0.1.3
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
2021-12-20 19:29:52 +01:00
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
BraksandGitHub 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