Commit Graph
100 Commits
Author SHA1 Message Date
Braks 914db337cf chore: Remove .vscode dir 2022-04-11 11:30:10 +02:00
Braks 1628cf4e64 feat: Add turbo repo cache to workflow 2022-04-11 11:30:10 +02:00
Braks 0184cdd2a9 docs: fitview mixing edges up on resize 2022-04-11 11:30:10 +02:00
Braks 4ebfb2ada5 chore: remove lint pipeline dependency 2022-04-11 11:30:10 +02:00
Braks 38103a25e0 chore: add typedoc pipeline output 2022-04-11 11:30:10 +02:00
Braks de75e257a5 chore: change destination dir for docs output 2022-04-11 11:30:10 +02:00
Braks c40d17c7d6 feat: Add dependency to dev pipeline 2022-04-11 11:30:10 +02:00
Braks e558ad5bc5 chore(deps-dev): Move typedoc to package
* Move typedoc script to package
* Add typedoc pipeline
2022-04-11 11:30:10 +02:00
Braks 82fd35c315 feat: Add dependency to dev pipeline 2022-04-11 11:30:10 +02:00
Braks 08204fdcbb feat: Test pipeline
* Rename tests dir to e2e as tests gets ignored as "package" by turbo
2022-04-11 11:30:10 +02:00
Braks ca5033b272 feat: Add turbo pipelines for types and themes 2022-04-11 11:30:10 +02:00
Braks 31423889d2 chore: update author field 2022-04-11 11:30:10 +02:00
Braks 3937d564a8 fix: lint scripts 2022-04-11 11:30:10 +02:00
Braks b2d5196944 feat: Use frozen-lockfile in build-and-test.yml 2022-04-11 11:30:10 +02:00
Braks 2a836d705d feat: Add turbo to root deps-dev 2022-04-11 11:30:10 +02:00
Braks b704bc6e11 docs: center intro text 2022-04-11 11:30:10 +02:00
Braks dc5ca5d1d6 docs: Add icon resolver
* move intro flow into separate file
2022-04-11 11:30:10 +02:00
Braks 8508423196 docs: fix missing handles in new connection 2022-04-11 11:30:10 +02:00
Braks 440ad3c681 fix(types): node/edge label type
* add Component to label type
2022-04-11 11:30:10 +02:00
Braks 88f808711a feat: Allow node/edge template per element
* Allow templates to be overwritten per element with template option
2022-04-11 11:30:10 +02:00
Braks 367c7fdf40 chore: Remove export 2022-04-11 11:30:10 +02:00
Braks c4ddeebe91 docs: fix node pos on resize 2022-04-11 11:30:10 +02:00
Braks 2cc387fb2f feat: Add name to BaseEdge.vue 2022-04-11 11:30:10 +02:00
Braks ca2a72c3a8 fix: remove waiting for node dimensions in transformation pane
* Fixes node dimensions having 0 values when paneReady is fired
2022-04-11 11:30:10 +02:00
Braks 07ee6eddf7 docs: update node positions 2022-04-11 11:30:10 +02:00
Braks 969dd87e71 docs: Remove next tick cb in Home.vue 2022-04-11 11:30:10 +02:00
Braks c0c67c6ee6 fix(viewport): await dimensions before using zoompan utils 2022-04-11 11:30:10 +02:00
Braks e14cf124ff fix(viewport): emit paneReady when dimensions are ready
* Wait for viewport & nodes to have their dimensions established before emitting paneReady
* Avoids getting 0 values for dimensions on paneReady
2022-04-11 11:30:10 +02:00
Braks 4fbb16f6ad docs: Add logo to header 2022-04-11 11:30:10 +02:00
Braks ff4f110f5d docs: update docsDir in themeConfig 2022-04-11 11:30:10 +02:00
Braks cb99000c97 docs: Rename section to Selection Options 2022-04-11 11:30:10 +02:00
Braks f06b224aa9 docs: disable blobity for mobile 2022-04-11 11:30:10 +02:00
Braks f011ea61b1 chore: Remove unused eslint-rules & lint files 2022-04-11 11:30:10 +02:00
Braks 103fc71857 v0.4.2-4 2022-04-11 11:30:10 +02:00
Braks 9bfd8105b8 chore: Update CHANGELOG.md 2022-04-11 11:30:10 +02:00
Braks aae37a5416 feat(flow): Allow add and set actions to have a setter input 2022-04-11 11:30:10 +02:00
Braks ea69dc58ee fix: Return empty arrays if pane isn't ready yet 2022-04-11 11:30:10 +02:00
Braks 636598ba1a update(types): Typeguard input type 2022-04-11 11:30:10 +02:00
Braks e877643354 tests: fix test checking for wrong element type
* remove negation from check
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 47f5a761a1 v0.4.2-3 2022-04-11 11:30:10 +02:00
Braks 65d1ea2300 chore: Update CHANGELOG.md 2022-04-11 11:30:10 +02:00
Braks 553355dd86 chore: remove log 2022-04-11 11:30:10 +02:00
Braks e5dbbe6b41 docs: Document changed classnames 2022-04-11 11:30:10 +02:00
Braks 30d66a6e29 refactor: transformation-pane class renamed to transformationpane 2022-04-11 11:30:10 +02:00
Braks 3d67d29347 refactor: Change zoom pane into viewport
* split zoom pane into smaller components as viewport
* rename UseZoomPanHelper Type to Viewport
2022-04-11 11:30:10 +02:00
Braks 3838ffc2fb fix(nodes): remove v-if 2022-04-11 11:30:10 +02:00
Braks 365a8a80fa update(types): default nodrag/nowheel/nopan class as type 2022-04-11 11:30:10 +02:00
Braks 8fbb1cf505 update(types): Connection target and source as non-nullable strings
* Required for a valid edge, so it should be required in a connection as well
2022-04-11 11:30:10 +02:00
Braks eb81b9d157 docs: Add floating edges example 2022-04-11 11:30:10 +02:00
Braks 5692589700 v0.4.2-2 2022-04-11 11:30:10 +02:00
Braks 35a05fd6c6 chore: Update CHANGELOG.md 2022-04-11 11:30:10 +02:00
Braks 3064e287e7 fix(nodes): trigger computedPosition watcher when selected changes
* z-index will not change back if selected does not trigger a change
2022-04-11 11:30:10 +02:00
Braks 8e3fef504c refactor(nodes,edges,types!): Change label-type to string | VNode | Object 2022-04-11 11:30:10 +02:00
Braks 817f69ccb5 update(nodes): NodeProps comments 2022-04-11 11:30:10 +02:00
Braks 6b76b8be06 refactor(nodes): Add nodeElements prop again
* Remove templateRef and use regular ref (templateRef causes infinite re-renders)
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 7aa1773e02 feat(examples): Add floating edges example 2022-04-11 11:30:10 +02:00
Braks 534c514f15 v0.4.2-1 2022-04-11 11:30:10 +02:00
Braks 718b3a1d79 chore: Update CHANGELOG.md 2022-04-11 11:30:10 +02:00
Braks 38b7e0757d fix(nodes): Parenthesis in handleId computed 2022-04-11 11:30:10 +02:00
Braks 8627fef5af fix(nodes): use correct handleId 2022-04-11 11:30:10 +02:00
Braks c964fb6b7d refactor(nodes): Remove position func
* it's not improving on existing methods, i.e. no real benefit to it
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 c6b8aa88ea chore: import sort 2022-04-11 11:30:10 +02:00
Braks 106d2879ce update(types): Allow void return for styles/class func 2022-04-11 11:30:10 +02:00
Braks 5f6a805baa refactor(edges): use computed properties for class and styles 2022-04-11 11:30:10 +02:00
Braks 8c2227132f fix(flow): await until d3zoom is rdy 2022-04-11 11:30:10 +02:00
Braks 2048423ab0 refactor(nodes): use computed properties for class and styles 2022-04-11 11:30:10 +02:00
Braks c617494bb8 chore: update vue to 3.2.25 2022-04-11 11:30:10 +02:00
Braks 60feb5d661 refactor(flow!): Remove paneReady state value 2022-04-11 11:30:10 +02:00
Braks 2d7e2a710f fix: replace watchDebounced with debouncedWatch 2022-04-11 11:30:10 +02:00
Braks 1e23893e58 fix: import paths 2022-04-11 11:30:10 +02:00
Braks 59870a3a55 chore(deps): update deps 2022-04-11 11:30:10 +02:00
Braks bc88e18f22 update(edges): Use proper handle bounds 2022-04-11 11:30:10 +02:00
Braks 96c844a64c v0.4.2-0 2022-04-11 11:30:10 +02:00
Braks c0d9b09f15 chore: Update CHANGELOG.md 2022-04-11 11:30:10 +02:00
Braks a0bd8b9afd chore: run yarn upgrade 2022-04-11 11:30:10 +02:00
Braks 1e9cbc0643 feat(nodes): Add PositionFunc as node position type
* Allows position to be set relative to another node
2022-04-11 11:30:10 +02:00
Braks 342d0305a6 refactor(nodes): Replace DraggableCore with composable 2022-04-11 11:30:10 +02:00
Braks 8f2d94ae55 refactor(nodes!): Remove dimensions option, replace with width and height
* Can be used to set width, height (similar to style prop but with easier access)
2022-04-11 11:30:10 +02:00
Braks 4f026e841a refactor(nodes): Remove DraggableCore component and use composable
* Remove node-element prop from NodeProps
2022-04-11 11:30:10 +02:00
Braks 676c984e07 chore: disable no-use-before-define rule 2022-04-11 11:30:10 +02:00
Braks fdde631f70 refactor(edges): Remove width/height attribute 2022-04-11 11:30:10 +02:00
Braks 06b0c143b5 chore: add prefix to console messages 2022-04-11 11:30:10 +02:00
Braks 158be8a515 feat: Assign default handle id and allow for actual loose connections
* When set to loose allow connections from all handles, this requires ids on handles so a default will be set if none provided
2022-04-11 11:30:10 +02:00
Braks ec0f3ef0e4 fix: Selection not working twice in a row 2022-04-11 11:30:10 +02:00
Braks bf2c77fb59 feat(flow): Promisify updateNodePosition
* helps with selected nodes dragging performance
2022-04-11 11:30:10 +02:00
Braks 3be164b20e chore(deps): Update package dependencies 2022-04-11 11:30:10 +02:00
Braks 8f4d1b3beb v0.4.1 2022-04-05 21:03:02 +02:00
Braks 75a7b89510 chore: Update CHANGELOG.md 2022-04-05 21:01:27 +02:00
Braks 908657c7ce chore: move custom size check up above watcher 2022-04-05 21:00:35 +02:00
Braks 92a0817c48 refactor(types): ElementData as any type 2022-04-05 21:00:35 +02:00
Braks fdf2a6e0ff feat: Add name to TransformationPane.vue 2022-04-05 21:00:35 +02:00
Braks cb14acd99a chore: update lock file 2022-04-05 09:28:34 +02:00
Braks bec26f3363 docs: Remove data script and fetch data in Banner.vue
* Wrap Banner in suspension
2022-04-05 09:10:05 +02:00
Braks cc76a76415 docs: Update vue flow version 2022-04-04 21:52:17 +02:00
Braks 2ee33a188e chore: Update CHANGELOG.md 2022-04-04 21:46:30 +02:00
Braks 1c429fc637 v0.4.0 2022-04-04 21:45:03 +02:00