From db0740c977b35469d013c1a4a1ffcc9819271eb2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 10 Oct 2022 19:39:15 +0000 Subject: [PATCH] chore: bump versions --- .changeset/eight-pears-peel.md | 64 -------- .changeset/healthy-houses-drum.md | 28 ---- .changeset/poor-chairs-march.md | 20 --- .changeset/six-dogs-return.md | 60 -------- .changeset/violet-mugs-attend.md | 7 - packages/additional-components/CHANGELOG.md | 48 ++++++ packages/additional-components/package.json | 2 +- packages/core/CHANGELOG.md | 154 ++++++++++++++++++++ packages/core/package.json | 2 +- packages/vue-flow/CHANGELOG.md | 34 +++++ packages/vue-flow/package.json | 2 +- 11 files changed, 239 insertions(+), 182 deletions(-) delete mode 100644 .changeset/eight-pears-peel.md delete mode 100644 .changeset/healthy-houses-drum.md delete mode 100644 .changeset/poor-chairs-march.md delete mode 100644 .changeset/six-dogs-return.md delete mode 100644 .changeset/violet-mugs-attend.md diff --git a/.changeset/eight-pears-peel.md b/.changeset/eight-pears-peel.md deleted file mode 100644 index e30f6f8aa..000000000 --- a/.changeset/eight-pears-peel.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -'@vue-flow/core': minor ---- - -# What's changed? - -* Add `HandleConnectable` type -* Update `connectable` prop of `Handle` to `HandleConnectable` type -* Allow to specify if Handles are connectable - * any number of connections - * none - * single connection - * or a cb to determine whether the Handle is connectable - -Example: -```html - - -``` - -* Update `node.connectable` prop to `HandleConnectable` - -For Example: -```js -const nodes = ref([ - { - id: '1', - position: { x: 0, y: 0 }, - connectable: 'single' // each handle is only connectable once (default node for example) - }, - { - id: '2', - position: { x: 200, y: 0 }, - connectable: (node, connectedEdges) => { - return true // will allow any number of connections - } - }, - { - id: '3', - position: { x: 400, y: 0 }, - connectable: true // will allow any number of connections - }, - { - id: '4', - position: { x: 200, y: 0 }, - connectable: false // will disable handles - } -]) -``` diff --git a/.changeset/healthy-houses-drum.md b/.changeset/healthy-houses-drum.md deleted file mode 100644 index ac79e2c4d..000000000 --- a/.changeset/healthy-houses-drum.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -'vueflow': major -'@vue-flow/additional-components': patch -'@vue-flow/core': patch ---- - -# What's changed? - -- Add `vueflow` pkg that exports all features - -```vue - - - -``` - -### Chores -- Rename `core` pkg directory to `core` from `vue-flow` -- Rename bundle outputs diff --git a/.changeset/poor-chairs-march.md b/.changeset/poor-chairs-march.md deleted file mode 100644 index 35e9d089e..000000000 --- a/.changeset/poor-chairs-march.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -'@vue-flow/additional-components': minor ---- - -# What's changed? - -* Add `Panel` component - * Wrap `MiniMap` and `Controls` with `Panel` -* Add `position` prop to `MiniMap` and `Controls` -Example: -```vue - - - - -``` - -# Bugfixes - -* Fix `MiniMap` and `Controls` cancelling selections diff --git a/.changeset/six-dogs-return.md b/.changeset/six-dogs-return.md deleted file mode 100644 index 431b04504..000000000 --- a/.changeset/six-dogs-return.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -'@vue-flow/core': patch ---- - -# What's changed? - -- Simplify `useHandle` usage -- Pass props to the composable as possible refs - - Still returns onClick & onMouseDown handlers but only expects mouse event now - -Before: -```vue - - - -``` - -After: -```vue - - - -``` diff --git a/.changeset/violet-mugs-attend.md b/.changeset/violet-mugs-attend.md deleted file mode 100644 index bf646b58f..000000000 --- a/.changeset/violet-mugs-attend.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@vue-flow/core': patch ---- - -# Bugfixes - -- Edges not returned by getter when `paneReady` event is triggered diff --git a/packages/additional-components/CHANGELOG.md b/packages/additional-components/CHANGELOG.md index f34aa12c8..b0be9af3a 100644 --- a/packages/additional-components/CHANGELOG.md +++ b/packages/additional-components/CHANGELOG.md @@ -1,5 +1,53 @@ # @vue-flow/additional-components +## 1.1.0 + +### Minor Changes + +- [#311](https://github.com/bcakmakoglu/vue-flow/pull/311) [`2e2c449b`](https://github.com/bcakmakoglu/vue-flow/commit/2e2c449bf60efed7152930962df2f9b5c0037386) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - # What's changed? + + - Add `Panel` component + - Wrap `MiniMap` and `Controls` with `Panel` + - Add `position` prop to `MiniMap` and `Controls` + Example: + + ```vue + + + + + ``` + + # Bugfixes + + - Fix `MiniMap` and `Controls` cancelling selections + +### Patch Changes + +- [#311](https://github.com/bcakmakoglu/vue-flow/pull/311) [`e175cf81`](https://github.com/bcakmakoglu/vue-flow/commit/e175cf8157be1851651d6df0a9e87f732b53de59) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - # What's changed? + + - Add `vueflow` pkg that exports all features + + ```vue + + + + ``` + + ### Chores + + - Rename `core` pkg directory to `core` from `vue-flow` + - Rename bundle outputs + ## 1.0.0 ### Major Changes diff --git a/packages/additional-components/package.json b/packages/additional-components/package.json index b35bec8bc..c47c1c17c 100644 --- a/packages/additional-components/package.json +++ b/packages/additional-components/package.json @@ -1,6 +1,6 @@ { "name": "@vue-flow/additional-components", - "version": "1.0.0", + "version": "1.1.0", "private": false, "license": "MIT", "author": "Burak Cakmakoglu<78412429+bcakmakoglu@users.noreply.github.com>", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 7e205d239..65728dcd3 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,159 @@ # @vue-flow/core +## 1.1.0 + +### Minor Changes + +- [#311](https://github.com/bcakmakoglu/vue-flow/pull/311) [`78f9ee1c`](https://github.com/bcakmakoglu/vue-flow/commit/78f9ee1cb77cc00590b8d4529da7cd124ddfc0f6) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - # What's changed? + + - Add `HandleConnectable` type + - Update `connectable` prop of `Handle` to `HandleConnectable` type + - Allow to specify if Handles are connectable + - any number of connections + - none + - single connection + - or a cb to determine whether the Handle is connectable + + Example: + + ```html + + + ``` + + - Update `node.connectable` prop to `HandleConnectable` + + For Example: + + ```js + const nodes = ref([ + { + id: '1', + position: { x: 0, y: 0 }, + connectable: 'single', // each handle is only connectable once (default node for example) + }, + { + id: '2', + position: { x: 200, y: 0 }, + connectable: (node, connectedEdges) => { + return true // will allow any number of connections + }, + }, + { + id: '3', + position: { x: 400, y: 0 }, + connectable: true, // will allow any number of connections + }, + { + id: '4', + position: { x: 200, y: 0 }, + connectable: false, // will disable handles + }, + ]) + ``` + +### Patch Changes + +- [#311](https://github.com/bcakmakoglu/vue-flow/pull/311) [`e175cf81`](https://github.com/bcakmakoglu/vue-flow/commit/e175cf8157be1851651d6df0a9e87f732b53de59) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - # What's changed? + + - Add `vueflow` pkg that exports all features + + ```vue + + + + ``` + + ### Chores + + - Rename `core` pkg directory to `core` from `vue-flow` + - Rename bundle outputs + +- [#311](https://github.com/bcakmakoglu/vue-flow/pull/311) [`e1c28a26`](https://github.com/bcakmakoglu/vue-flow/commit/e1c28a26c75a86b8c2790480bb8dadf37ad2ff12) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - # What's changed? + + - Simplify `useHandle` usage + - Pass props to the composable as possible refs + - Still returns onClick & onMouseDown handlers but only expects mouse event now + + Before: + + ```vue + + + + ``` + + After: + + ```vue + + + + ``` + +- [#311](https://github.com/bcakmakoglu/vue-flow/pull/311) [`08ad1735`](https://github.com/bcakmakoglu/vue-flow/commit/08ad17356f5fbd50255af27f7c482da756eda4aa) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - # Bugfixes + + - Edges not returned by getter when `paneReady` event is triggered + ## 1.0.0 ### Major Changes diff --git a/packages/core/package.json b/packages/core/package.json index 040cec17a..24513f524 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@vue-flow/core", - "version": "1.0.0", + "version": "1.1.0", "private": false, "license": "MIT", "author": "Burak Cakmakoglu<78412429+bcakmakoglu@users.noreply.github.com>", diff --git a/packages/vue-flow/CHANGELOG.md b/packages/vue-flow/CHANGELOG.md index 7e205d239..7183c4e20 100644 --- a/packages/vue-flow/CHANGELOG.md +++ b/packages/vue-flow/CHANGELOG.md @@ -4,6 +4,40 @@ ### Major Changes +- [#311](https://github.com/bcakmakoglu/vue-flow/pull/311) [`e175cf81`](https://github.com/bcakmakoglu/vue-flow/commit/e175cf8157be1851651d6df0a9e87f732b53de59) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - # What's changed? + + - Add `vueflow` pkg that exports all features + + ```vue + + + + ``` + + ### Chores + + - Rename `core` pkg directory to `core` from `vue-flow` + - Rename bundle outputs + +### Patch Changes + +- Updated dependencies [[`78f9ee1c`](https://github.com/bcakmakoglu/vue-flow/commit/78f9ee1cb77cc00590b8d4529da7cd124ddfc0f6), [`e175cf81`](https://github.com/bcakmakoglu/vue-flow/commit/e175cf8157be1851651d6df0a9e87f732b53de59), [`2e2c449b`](https://github.com/bcakmakoglu/vue-flow/commit/2e2c449bf60efed7152930962df2f9b5c0037386), [`e1c28a26`](https://github.com/bcakmakoglu/vue-flow/commit/e1c28a26c75a86b8c2790480bb8dadf37ad2ff12), [`08ad1735`](https://github.com/bcakmakoglu/vue-flow/commit/08ad17356f5fbd50255af27f7c482da756eda4aa)]: + - @vue-flow/core@1.1.0 + - @vue-flow/additional-components@1.1.0 + +## 1.0.0 + +### Major Changes + - [#305](https://github.com/bcakmakoglu/vue-flow/pull/305) [`939bff50`](https://github.com/bcakmakoglu/vue-flow/commit/939bff503039af3b790160640548ddde984cf2bc) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - # What's changed? - Simplify edge path calculations diff --git a/packages/vue-flow/package.json b/packages/vue-flow/package.json index 669634812..e29a0fd49 100644 --- a/packages/vue-flow/package.json +++ b/packages/vue-flow/package.json @@ -1,6 +1,6 @@ { "name": "vueflow", - "version": "0.0.1", + "version": "1.0.0", "private": false, "license": "MIT", "author": "Burak Cakmakoglu<78412429+bcakmakoglu@users.noreply.github.com>",