Compare commits

..

33 Commits

Author SHA1 Message Date
bubkoo
cb0cfdeb4d fix: npm version 2022-11-25 17:44:42 +08:00
x6-bot[bot]
bdba8cef5c chore(release): release 16 packages [skip ci]
[@antv/x6@2.0.3](https://github.com/antvis/X6/releases/tag/%40antv/x6%402.0.3)

[@antv/x6-geometry@2.0.2](https://github.com/antvis/X6/releases/tag/%40antv/x6-geometry%402.0.2)

[@antv/x6-plugin-clipboard@2.1.1](https://github.com/antvis/X6/releases/tag/%40antv/x6-plugin-clipboard%402.1.1)

[@antv/x6-plugin-dnd@2.0.2](https://github.com/antvis/X6/releases/tag/%40antv/x6-plugin-dnd%402.0.2)

[@antv/x6-plugin-export@2.1.1](https://github.com/antvis/X6/releases/tag/%40antv/x6-plugin-export%402.1.1)

[@antv/x6-plugin-history@2.1.2](https://github.com/antvis/X6/releases/tag/%40antv/x6-plugin-history%402.1.2)

[@antv/x6-plugin-keyboard@2.1.2](https://github.com/antvis/X6/releases/tag/%40antv/x6-plugin-keyboard%402.1.2)

[@antv/x6-plugin-minimap@2.0.2](https://github.com/antvis/X6/releases/tag/%40antv/x6-plugin-minimap%402.0.2)

[@antv/x6-plugin-scroller@2.0.2](https://github.com/antvis/X6/releases/tag/%40antv/x6-plugin-scroller%402.0.2)

[@antv/x6-plugin-selection@2.1.3](https://github.com/antvis/X6/releases/tag/%40antv/x6-plugin-selection%402.1.3)

[@antv/x6-plugin-snapline@2.1.3](https://github.com/antvis/X6/releases/tag/%40antv/x6-plugin-snapline%402.1.3)

[@antv/x6-plugin-stencil@2.0.2](https://github.com/antvis/X6/releases/tag/%40antv/x6-plugin-stencil%402.0.2)

[@antv/x6-plugin-transform@2.1.1](https://github.com/antvis/X6/releases/tag/%40antv/x6-plugin-transform%402.1.1)

[@antv/x6-react-components@2.0.4](https://github.com/antvis/X6/releases/tag/%40antv/x6-react-components%402.0.4)

[@antv/x6-react-shape@2.0.3](https://github.com/antvis/X6/releases/tag/%40antv/x6-react-shape%402.0.3)

[@antv/x6-vue-shape@2.0.3](https://github.com/antvis/X6/releases/tag/%40antv/x6-vue-shape%402.0.3)
2022-11-25 09:27:28 +00:00
bubkoo
6c4244c747 chore: ignore build 2022-11-25 17:06:13 +08:00
bubkoo
e6a1a71932 chore: disable publish to npm 2022-11-25 17:01:54 +08:00
bubkoo
7d64596767 chore: disable breaking changes 2022-11-25 16:11:46 +08:00
bubkoo
54725040f2 fix: type errors 2022-11-25 15:12:22 +08:00
bubkoo
a2a2e657e9 chore: disable breaking changes 2022-11-25 15:11:02 +08:00
bubkoo
593416d8d9 docs: update homepage of packages 2022-11-25 14:34:56 +08:00
bubkoo
96fc0d79cb chore: remove "gitHead" field 2022-11-25 14:34:56 +08:00
x6-bot[bot]
85aa3c82ca chore(release): release 3 packages [skip ci]
[@antv/x6-plugin-keyboard@2.1.1](https://www.npmjs.com/package/@antv/x6-plugin-keyboard/v/2.1.1)
[@antv/x6-plugin-keyboard@2.1.1](https://github.com/antvis/X6/releases/tag/%40antv/x6-plugin-keyboard%402.1.1)

[@antv/x6-react-components@2.0.3](https://www.npmjs.com/package/@antv/x6-react-components/v/2.0.3)
[@antv/x6-react-components@2.0.3](https://github.com/antvis/X6/releases/tag/%40antv/x6-react-components%402.0.3)

[@antv/x6-react-shape@2.0.2](https://www.npmjs.com/package/@antv/x6-react-shape/v/2.0.2)
[@antv/x6-react-shape@2.0.2](https://github.com/antvis/X6/releases/tag/%40antv/x6-react-shape%402.0.2)
2022-11-25 06:25:01 +00:00
bubkoo
f20127af55 perf: update deps 2022-11-25 14:00:58 +08:00
bubkoo
f275d3df1e chore: combine release commits 2022-11-25 14:00:01 +08:00
bubkoo
3a1f34ecfd chore: do not release with "ci" and "chore" commits 2022-11-25 14:00:01 +08:00
x6-bot[bot]
279caf5173 chore(release): @antv/x6-react-components@2.0.3 [skip ci] 2022-11-24 14:19:16 +00:00
x6-bot[bot]
2dcf5d2461 chore(release): @antv/x6-plugin-selection@2.1.2 [skip ci] 2022-11-24 14:19:14 +00:00
x6-bot[bot]
d83837d85a chore(release): @antv/x6-plugin-history@2.1.1 [skip ci] 2022-11-24 14:19:10 +00:00
x6-bot[bot]
41a64aa1d8 chore(release): @antv/x6@2.0.2 [skip ci] 2022-11-24 14:19:07 +00:00
vector
d4df46ab40 fix: update react type version (#2937) 2022-11-24 22:09:33 +08:00
vector
f448f72417 docs: update antd to v5 for demos (#2936) 2022-11-24 21:04:58 +08:00
vector
557d2df152 fix: get correct center when zoom (#2934) 2022-11-24 19:29:01 +08:00
x6-bot[bot]
5edd9ba5f2 chore: update CONTRIBUTORS [skip ci] 2022-11-24 08:23:49 +00:00
x6-bot[bot]
bfd1103fd4 chore: update contributors [skip ci] 2022-11-24 08:17:04 +00:00
映月
75f42978cb fix: deep clone instead of shallow clone (#2924)
Co-authored-by: Qinghui.Liu <Qinghui.Liu@fanruan.com>
2022-11-24 16:16:25 +08:00
vector
2ecc213094 fix: support antd5 in react components (#2933) 2022-11-24 16:16:06 +08:00
bubkoo
16c19e0591 chore: fix git committer name 2022-11-24 15:34:34 +08:00
vector
02d95cfeea docs: update deps for sites demo (#2931) 2022-11-24 15:33:09 +08:00
x6-bot
602fcfa0ed chore(release): @antv/x6-vue-shape@2.0.2 [skip ci] 2022-11-24 07:25:28 +00:00
x6-bot
4be1397374 chore(release): @antv/x6-react-components@2.0.2 [skip ci] 2022-11-24 07:25:25 +00:00
x6-bot
e326d8beb9 chore(release): @antv/x6-plugin-snapline@2.1.2 [skip ci] 2022-11-24 07:25:21 +00:00
vector
d6ae5199c0 fix: updae react-resize-detector version (#2930) 2022-11-24 15:12:31 +08:00
bubkoo
97e758fee6 chore: config pnpm workspace 2022-11-24 14:38:01 +08:00
bubkoo
fabd9d5ed9 chore: enable npm publish 2022-11-24 14:31:00 +08:00
x6-bot
08a38bfabd chore(release): @antv/x6-plugin-snapline@2.1.1 [skip ci] 2022-11-24 06:10:43 +00:00
214 changed files with 1321 additions and 1165 deletions

View File

@@ -44,8 +44,8 @@ jobs:
- name: 🚧 Install dependencies
run: pnpm install --no-frozen-lockfile --ignore-scripts
- name: 📦 build
run: pnpm run build
# - name: 📦 build
# run: pnpm run build
# - name: ✅ Test
# run: pnpm run test
@@ -57,15 +57,15 @@ jobs:
private_key: ${{ secrets.PRIVATE_KEY }}
- name: 📦 Semantic Release
run: pnpm srm --debug --comment-footer 'Thanks for being a part of the [AntV](https://github.com/antvis) community! 💪💯'
run: pnpm srm --debug --combine-commits --comment-footer 'Thanks for being a part of the [AntV](https://github.com/antvis) community! 💪💯'
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ env.BOT_TOKEN }}
GIT_AUTHOR_NAME: ${{ env.BOT_NAME }}
GIT_AUTHOR_EMAIL: ${{ env.BOT_NAME }}@users.noreply.github.com
GIT_COMMITTER_NAME: ${{ env.BOT_NAME }}
GIT_COMMITTER_EMAIL: ${{ env.BOT_NAME }}@users.noreply.github.com
GIT_AUTHOR_NAME: ${{ env.BOT_NAME }}[bot]
GIT_AUTHOR_EMAIL: ${{ env.BOT_NAME }}[bot]@users.noreply.github.com
GIT_COMMITTER_NAME: ${{ env.BOT_NAME }}[bot]
GIT_COMMITTER_EMAIL: ${{ env.BOT_NAME }}[bot]@users.noreply.github.com
- name: 🔀 Repository Dispatch
if: github.ref == 'refs/heads/master'

View File

@@ -11,22 +11,17 @@
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
},
"releaseRules": [
{ "breaking": true, "release": "major" },
{ "revert": true, "release": "patch" },
{ "type": "feat", "release": "minor" },
{ "type": "ci", "release": "patch" },
{ "type": "build", "release": "patch" },
{ "type": "chore", "release": "patch" },
{ "type": "docs", "release": "patch" },
{ "type": "perf", "release": "patch" },
{ "type": "style", "release": "patch" },
{ "type": "test", "release": "patch" },
{ "type": "refactor", "release": "patch" },
{ "type": "ci", "release": false },
{ "type": "chore", "release": false },
{ "scope": "no-release", "release": false }
]
}

View File

@@ -82,6 +82,7 @@ zdc1111 <39116292+zdc1111@users.noreply.github.com>
崖 <bubkoo.wy@gmail.com>
崖崖崖 <bubkoo.wy@gmail.com>
文瑀 <wenyu.jqq@antfin.com>
映月 <38279397+orientMoon@users.noreply.github.com>
杨凌 <89915256@qq.com>
柏愚 <boyu.zlj@antfin.com>
粑粑超 <842486229@qq.com>

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 10 MiB

After

Width:  |  Height:  |  Size: 11 MiB

View File

@@ -92,36 +92,36 @@
"@babel/core": "^7.20.2",
"@babel/plugin-syntax-flow": "^7.18.6",
"@babel/plugin-transform-react-jsx": "^7.19.0",
"@commitlint/config-conventional": "^17.2.0",
"@commitlint/config-conventional": "^17.3.0",
"@rollup/plugin-commonjs": "^23.0.2",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.1",
"@rollup/plugin-typescript": "^8.2.5",
"@semantic-release-monorepo/cli": "^2.0.0",
"@semantic-release-monorepo/cli": "^2.1.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@types/jasmine": "^4.3.0",
"@types/jest": "^29.2.2",
"@types/jest": "^29.2.3",
"@types/node": "^18.11.9",
"@types/sinon": "^10.0.2",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"boxen": "^7.0.0",
"colors": "^1.4.0",
"coveralls": "^3.1.1",
"eslint": "^8.26.0",
"eslint": "^8.28.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^27.1.4",
"eslint-plugin-jest": "^27.1.6",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.25.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-unicorn": "^44.0.2",
"eslint-plugin-unicorn": "^45.0.0",
"fs-extra": "^10.0.0",
"husky": "^8.0.1",
"is-ci": "^3.0.0",
@@ -137,21 +137,21 @@
"less": "^4.1.1",
"lodash": "^4.17.21",
"npm-run-all": "^4.1.5",
"postcss": "^8.3.6",
"prettier": "^2.4.0",
"postcss": "^8.4.19",
"prettier": "^2.8.0",
"pretty-quick": "^3.1.1",
"rimraf": "^3.0.2",
"rollup": "^3.2.5",
"rollup": "^3.4.0",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-filesize": "^9.1.1",
"rollup-plugin-postcss": "^4.0.1",
"rollup-plugin-progress": "^1.1.2",
"rollup-plugin-terser": "^7.0.2",
"run-shared-scripts": "^1.0.2",
"run-shared-scripts": "^1.1.4",
"semantic-release": "^19.0.5",
"sinon": "^14.0.1",
"stylelint": "^14.14.1",
"stylelint-config-prettier": "^9.0.3",
"stylelint": "^14.15.0",
"stylelint-config-prettier": "^9.0.4",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^29.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.4.0",
@@ -160,6 +160,6 @@
"ts-node": "^10.2.1",
"tslib": "^2.4.1",
"turbo": "^1.6.3",
"typescript": "^4.4.3"
"typescript": "^4.9.3"
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "@antv/x6-common",
"version": "2.0.1",
"version": "2.0.3",
"description": "Basic toolkit for X6",
"main": "lib/index.js",
"module": "es/index.js",
@@ -48,7 +48,7 @@
"email": "vectorse@126.com"
},
"license": "MIT",
"homepage": "https://github.com/antvis/x6",
"homepage": "https://x6.antv.antgroup.com",
"bugs": {
"url": "https://github.com/antvis/x6/issues"
},

View File

@@ -33,7 +33,7 @@ export function addClass(
}
if (typeof selector === 'string' && elem.nodeType === 1) {
const classes = selector.match(rnotwhite) || []
const classes: string[] = selector.match(rnotwhite) || []
const oldValue = fillSpaces(getClass(elem)).replace(rclass, ' ')
let newValue = classes.reduce((memo, cls) => {
if (memo.indexOf(fillSpaces(cls)) < 0) {
@@ -63,7 +63,7 @@ export function removeClass(
}
if ((!selector || typeof selector === 'string') && elem.nodeType === 1) {
const classes = (selector || '').match(rnotwhite) || []
const classes: string[] = (selector || '').match(rnotwhite) || []
const oldValue = fillSpaces(getClass(elem)).replace(rclass, ' ')
let newValue = classes.reduce((memo, cls) => {
const className = fillSpaces(cls)

View File

@@ -1 +1,3 @@
## @antv/x6-geometry [2.0.2](https://github.com/antvis/x6/compare/@antv/x6-geometry@2.0.1...@antv/x6-geometry@2.0.2) (2022-11-25)
## @antv/x6-geometry [2.0.1](https://github.com/antvis/x6/compare/@antv/x6-geometry@2.0.0...@antv/x6-geometry@2.0.1) (2022-11-24)

View File

@@ -1,5 +1,5 @@
{
"version": "2.0.1",
"version": "2.0.3",
"name": "@antv/x6-geometry",
"description": "Geometry operations for X6",
"main": "lib/index.js",
@@ -41,7 +41,7 @@
"email": "bubkoo.wy@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/antvis/x6",
"homepage": "https://x6.antv.antgroup.com",
"bugs": {
"url": "https://github.com/antvis/x6/issues"
},

View File

@@ -1,3 +1,5 @@
## @antv/x6-plugin-clipboard [2.1.1](https://github.com/antvis/x6/compare/@antv/x6-plugin-clipboard@2.1.0...@antv/x6-plugin-clipboard@2.1.1) (2022-11-25)
# @antv/x6-plugin-clipboard [2.1.0](https://github.com/antvis/x6/compare/@antv/x6-plugin-clipboard@2.0.0...@antv/x6-plugin-clipboard@2.1.0) (2022-11-24)

View File

@@ -1,6 +1,6 @@
{
"name": "@antv/x6-plugin-clipboard",
"version": "2.1.0",
"version": "2.1.3",
"description": "clipboard plugin for X6",
"main": "lib/index.js",
"module": "es/index.js",
@@ -47,7 +47,7 @@
"email": "bubkoo.wy@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/antvis/x6",
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/clipboard",
"bugs": {
"url": "https://github.com/antvis/x6/issues"
},

View File

@@ -1,3 +1,5 @@
## @antv/x6-plugin-dnd [2.0.2](https://github.com/antvis/x6/compare/@antv/x6-plugin-dnd@2.0.1...@antv/x6-plugin-dnd@2.0.2) (2022-11-25)
## @antv/x6-plugin-dnd [2.0.1](https://github.com/antvis/x6/compare/@antv/x6-plugin-dnd@2.0.0...@antv/x6-plugin-dnd@2.0.1) (2022-11-24)

View File

@@ -1,6 +1,6 @@
{
"name": "@antv/x6-plugin-dnd",
"version": "2.0.1",
"version": "2.0.3",
"description": "dnd plugin for X6",
"main": "lib/index.js",
"module": "es/index.js",
@@ -48,7 +48,7 @@
"email": "bubkoo.wy@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/antvis/x6",
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/dnd",
"bugs": {
"url": "https://github.com/antvis/x6/issues"
},

View File

@@ -1,3 +1,5 @@
## @antv/x6-plugin-export [2.1.1](https://github.com/antvis/x6/compare/@antv/x6-plugin-export@2.1.0...@antv/x6-plugin-export@2.1.1) (2022-11-25)
# @antv/x6-plugin-export [2.1.0](https://github.com/antvis/x6/compare/@antv/x6-plugin-export@2.0.0...@antv/x6-plugin-export@2.1.0) (2022-11-24)

View File

@@ -1,6 +1,6 @@
{
"name": "@antv/x6-plugin-export",
"version": "2.1.0",
"version": "2.1.2",
"description": "export plugin for X6.",
"main": "lib/index.js",
"module": "es/index.js",
@@ -46,7 +46,7 @@
"email": "bubkoo.wy@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/antvis/x6",
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/export",
"bugs": {
"url": "https://github.com/antvis/x6/issues"
},

View File

@@ -1,3 +1,12 @@
## @antv/x6-plugin-history [2.1.2](https://github.com/antvis/x6/compare/@antv/x6-plugin-history@2.1.1...@antv/x6-plugin-history@2.1.2) (2022-11-25)
## @antv/x6-plugin-history [2.1.1](https://github.com/antvis/x6/compare/@antv/x6-plugin-history@2.1.0...@antv/x6-plugin-history@2.1.1) (2022-11-24)
### Bug Fixes
* deep clone instead of shallow clone ([#2924](https://github.com/antvis/x6/issues/2924)) ([75f4297](https://github.com/antvis/x6/commit/75f42978cb0ed4c9e7c7ac141ffa29603cb27596))
# @antv/x6-plugin-history [2.1.0](https://github.com/antvis/x6/compare/@antv/x6-plugin-history@2.0.0...@antv/x6-plugin-history@2.1.0) (2022-11-24)

View File

@@ -1,6 +1,6 @@
{
"name": "@antv/x6-plugin-history",
"version": "2.1.0",
"version": "2.1.3",
"description": "history plugin for X6",
"main": "lib/index.js",
"module": "es/index.js",
@@ -47,7 +47,7 @@
"email": "bubkoo.wy@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/antvis/x6",
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/history",
"bugs": {
"url": "https://github.com/antvis/x6/issues"
},

View File

@@ -366,7 +366,7 @@ export class History
if (data.prev == null) {
data.prev = {}
}
data.prev[key] = ObjectExt.clone(cell.previous(key))
data.prev[key] = ObjectExt.cloneDeep(cell.previous(key))
if (isModelChange) {
cmd.modelChange = true
@@ -378,7 +378,7 @@ export class History
if (data.next == null) {
data.next = {}
}
data.next[key] = ObjectExt.clone(cell.prop(key))
data.next[key] = ObjectExt.cloneDeep(cell.prop(key))
return this.push(cmd, options)
}

View File

@@ -1,3 +1,12 @@
## @antv/x6-plugin-keyboard [2.1.2](https://github.com/antvis/x6/compare/@antv/x6-plugin-keyboard@2.1.1...@antv/x6-plugin-keyboard@2.1.2) (2022-11-25)
## @antv/x6-plugin-keyboard [2.1.1](https://github.com/antvis/x6/compare/@antv/x6-plugin-keyboard@2.1.0...@antv/x6-plugin-keyboard@2.1.1) (2022-11-25)
### Performance Improvements
* update deps ([f20127a](https://github.com/antvis/x6/commit/f20127af555d9b7beaac3a07ac308d5c0d4e53a3))
# @antv/x6-plugin-keyboard [2.1.0](https://github.com/antvis/x6/compare/@antv/x6-plugin-keyboard@2.0.0...@antv/x6-plugin-keyboard@2.1.0) (2022-11-24)

View File

@@ -1,6 +1,6 @@
{
"name": "@antv/x6-plugin-keyboard",
"version": "2.1.0",
"version": "2.1.3",
"description": "keyboard plugin for X6",
"main": "lib/index.js",
"module": "es/index.js",
@@ -44,14 +44,14 @@
},
"devDependencies": {
"@antv/x6": "^2.x",
"@types/mousetrap": "^1.6.5"
"@types/mousetrap": "^1.6.11"
},
"author": {
"name": "bubkoo",
"email": "bubkoo.wy@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/antvis/x6",
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/keyboard",
"bugs": {
"url": "https://github.com/antvis/x6/issues"
},

View File

@@ -1,3 +1,5 @@
## @antv/x6-plugin-minimap [2.0.2](https://github.com/antvis/x6/compare/@antv/x6-plugin-minimap@2.0.1...@antv/x6-plugin-minimap@2.0.2) (2022-11-25)
## @antv/x6-plugin-minimap [2.0.1](https://github.com/antvis/x6/compare/@antv/x6-plugin-minimap@2.0.0...@antv/x6-plugin-minimap@2.0.1) (2022-11-24)

View File

@@ -1,6 +1,6 @@
{
"name": "@antv/x6-plugin-minimap",
"version": "2.0.1",
"version": "2.0.3",
"description": "minimap plugin for X6",
"main": "lib/index.js",
"module": "es/index.js",
@@ -48,7 +48,7 @@
"email": "bubkoo.wy@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/antvis/x6",
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/minimap",
"bugs": {
"url": "https://github.com/antvis/x6/issues"
},

View File

@@ -1,3 +1,5 @@
## @antv/x6-plugin-scroller [2.0.2](https://github.com/antvis/x6/compare/@antv/x6-plugin-scroller@2.0.1...@antv/x6-plugin-scroller@2.0.2) (2022-11-25)
## @antv/x6-plugin-scroller [2.0.1](https://github.com/antvis/x6/compare/@antv/x6-plugin-scroller@2.0.0...@antv/x6-plugin-scroller@2.0.1) (2022-11-24)

View File

@@ -1,6 +1,6 @@
{
"name": "@antv/x6-plugin-scroller",
"version": "2.0.1",
"version": "2.0.3",
"description": "scroller plugin for X6",
"main": "lib/index.js",
"module": "es/index.js",
@@ -48,7 +48,7 @@
"email": "bubkoo.wy@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/antvis/x6",
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/scroller",
"bugs": {
"url": "https://github.com/antvis/x6/issues"
},

View File

@@ -1,3 +1,12 @@
## @antv/x6-plugin-selection [2.1.3](https://github.com/antvis/x6/compare/@antv/x6-plugin-selection@2.1.2...@antv/x6-plugin-selection@2.1.3) (2022-11-25)
## @antv/x6-plugin-selection [2.1.2](https://github.com/antvis/x6/compare/@antv/x6-plugin-selection@2.1.1...@antv/x6-plugin-selection@2.1.2) (2022-11-24)
### Bug Fixes
* support antd5 in react components ([#2933](https://github.com/antvis/x6/issues/2933)) ([2ecc213](https://github.com/antvis/x6/commit/2ecc213094250b476b533b444c0f3716f88b7987))
## @antv/x6-plugin-selection [2.1.1](https://github.com/antvis/x6/compare/@antv/x6-plugin-selection@2.1.0...@antv/x6-plugin-selection@2.1.1) (2022-11-24)

View File

@@ -1,6 +1,6 @@
{
"name": "@antv/x6-plugin-selection",
"version": "2.1.1",
"version": "2.1.4",
"description": "selection plugin for X6",
"main": "lib/index.js",
"module": "es/index.js",
@@ -48,7 +48,7 @@
"email": "bubkoo.wy@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/antvis/x6",
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/selection",
"bugs": {
"url": "https://github.com/antvis/x6/issues"
},

View File

@@ -1,3 +1,19 @@
## @antv/x6-plugin-snapline [2.1.3](https://github.com/antvis/x6/compare/@antv/x6-plugin-snapline@2.1.2...@antv/x6-plugin-snapline@2.1.3) (2022-11-25)
## @antv/x6-plugin-snapline [2.1.2](https://github.com/antvis/x6/compare/@antv/x6-plugin-snapline@2.1.1...@antv/x6-plugin-snapline@2.1.2) (2022-11-24)
### Bug Fixes
* updae react-resize-detector version ([#2930](https://github.com/antvis/x6/issues/2930)) ([d6ae519](https://github.com/antvis/x6/commit/d6ae5199c00be6429a828f537b194adddd2b6aeb))
## @antv/x6-plugin-snapline [2.1.1](https://github.com/antvis/x6/compare/@antv/x6-plugin-snapline@2.1.0...@antv/x6-plugin-snapline@2.1.1) (2022-11-24)
### Bug Fixes
* modify the semantics of filter ([#2927](https://github.com/antvis/x6/issues/2927)) ([bc261fb](https://github.com/antvis/x6/commit/bc261fb9929aa0b4d3fa4194bcc780ea701b029e))
# @antv/x6-plugin-snapline [2.1.0](https://github.com/antvis/x6/compare/@antv/x6-plugin-snapline@2.0.0...@antv/x6-plugin-snapline@2.1.0) (2022-11-24)

View File

@@ -1,6 +1,6 @@
{
"name": "@antv/x6-plugin-snapline",
"version": "2.1.0",
"version": "2.1.4",
"description": "snapline plugin for X6",
"main": "lib/index.js",
"module": "es/index.js",
@@ -48,7 +48,7 @@
"email": "bubkoo.wy@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/antvis/x6",
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/snapline",
"bugs": {
"url": "https://github.com/antvis/x6/issues"
},

View File

@@ -571,6 +571,8 @@ export class SnaplineImpl extends View implements IDisablable {
if (typeof filter === 'function') {
return FunctionExt.call(filter, this.graph, node)
}
return true
}
protected update(metadata: {

View File

@@ -1,3 +1,5 @@
## @antv/x6-plugin-stencil [2.0.2](https://github.com/antvis/x6/compare/@antv/x6-plugin-stencil@2.0.1...@antv/x6-plugin-stencil@2.0.2) (2022-11-25)
## @antv/x6-plugin-stencil [2.0.1](https://github.com/antvis/x6/compare/@antv/x6-plugin-stencil@2.0.0...@antv/x6-plugin-stencil@2.0.1) (2022-11-24)

View File

@@ -1,6 +1,6 @@
{
"name": "@antv/x6-plugin-stencil",
"version": "2.0.1",
"version": "2.0.4",
"description": "stencil plugin for X6",
"main": "lib/index.js",
"module": "es/index.js",
@@ -50,7 +50,7 @@
"email": "bubkoo.wy@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/antvis/x6",
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/stencil",
"bugs": {
"url": "https://github.com/antvis/x6/issues"
},

View File

@@ -1,3 +1,5 @@
## @antv/x6-plugin-transform [2.1.1](https://github.com/antvis/x6/compare/@antv/x6-plugin-transform@2.1.0...@antv/x6-plugin-transform@2.1.1) (2022-11-25)
# @antv/x6-plugin-transform [2.1.0](https://github.com/antvis/x6/compare/@antv/x6-plugin-transform@2.0.0...@antv/x6-plugin-transform@2.1.0) (2022-11-24)

View File

@@ -1,6 +1,6 @@
{
"name": "@antv/x6-plugin-transform",
"version": "2.1.0",
"version": "2.1.2",
"description": "transform plugin for X6",
"main": "lib/index.js",
"module": "es/index.js",
@@ -48,7 +48,7 @@
"email": "bubkoo.wy@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/antvis/x6",
"homepage": "https://x6.antv.antgroup.com/tutorial/plugins/transform",
"bugs": {
"url": "https://github.com/antvis/x6/issues"
},

View File

@@ -1 +1,31 @@
## @antv/x6-react-components [2.0.4](https://github.com/antvis/x6/compare/@antv/x6-react-components@2.0.3...@antv/x6-react-components@2.0.4) (2022-11-25)
## @antv/x6-react-components [2.0.3](https://github.com/antvis/x6/compare/@antv/x6-react-components@2.0.2...@antv/x6-react-components@2.0.3) (2022-11-25)
### Bug Fixes
* support antd5 in react components ([#2933](https://github.com/antvis/x6/issues/2933)) ([2ecc213](https://github.com/antvis/x6/commit/2ecc213094250b476b533b444c0f3716f88b7987))
* update react type version ([#2937](https://github.com/antvis/x6/issues/2937)) ([d4df46a](https://github.com/antvis/x6/commit/d4df46ab40c0f2fb6e7a76fc0083d7b4710555b9))
### Performance Improvements
* update deps ([f20127a](https://github.com/antvis/x6/commit/f20127af555d9b7beaac3a07ac308d5c0d4e53a3))
## @antv/x6-react-components [2.0.3](https://github.com/antvis/x6/compare/@antv/x6-react-components@2.0.2...@antv/x6-react-components@2.0.3) (2022-11-24)
### Bug Fixes
* support antd5 in react components ([#2933](https://github.com/antvis/x6/issues/2933)) ([2ecc213](https://github.com/antvis/x6/commit/2ecc213094250b476b533b444c0f3716f88b7987))
* update react type version ([#2937](https://github.com/antvis/x6/issues/2937)) ([d4df46a](https://github.com/antvis/x6/commit/d4df46ab40c0f2fb6e7a76fc0083d7b4710555b9))
## @antv/x6-react-components [2.0.2](https://github.com/antvis/x6/compare/@antv/x6-react-components@2.0.1...@antv/x6-react-components@2.0.2) (2022-11-24)
### Bug Fixes
* updae react-resize-detector version ([#2930](https://github.com/antvis/x6/issues/2930)) ([d6ae519](https://github.com/antvis/x6/commit/d6ae5199c00be6429a828f537b194adddd2b6aeb))
## @antv/x6-react-components [2.0.1](https://github.com/antvis/x6/compare/@antv/x6-react-components@2.0.0...@antv/x6-react-components@2.0.1) (2022-11-24)

View File

@@ -1,6 +1,6 @@
{
"name": "@antv/x6-react-components",
"version": "2.0.1",
"version": "2.0.5",
"description": "React components for building x6 editors",
"main": "lib/index.js",
"module": "es/index.js",
@@ -48,7 +48,7 @@
"antv"
],
"peerDependencies": {
"antd": ">=4.4.2",
"antd": ">=4.4.2 || >=5.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
@@ -58,16 +58,16 @@
"rc-dropdown": "^3.0.0-alpha.0",
"rc-util": "^4.15.7",
"react-color": "2.17.1",
"react-resize-detector": "^6.6.4",
"react-resize-detector": "^7.0.0",
"ua-parser-js": "^0.7.20"
},
"devDependencies": {
"@types/react": "^18.0.25",
"@types/react": "^18.0.0",
"@types/react-color": "^3.0.1",
"@types/react-dom": "^18.0.0",
"@types/react-resize-detector": "^5.0.0",
"@types/react-resize-detector": "^6.1.0",
"@types/react-dom": "^18.0.9",
"@types/ua-parser-js": "^0.7.33",
"antd": "^4.4.2",
"antd": "^5.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
@@ -76,7 +76,7 @@
"email": "bubkoo.wy@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/antvis/x6",
"homepage": "https://x6.antv.antgroup.com",
"bugs": {
"url": "https://github.com/antvis/x6/issues"
},
@@ -88,6 +88,5 @@
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"gitHead": "576fa342fa65a6867ead29f6801a30dcb31bcdb5"
}
}

View File

@@ -5,7 +5,6 @@ import React from 'react'
import classNames from 'classnames'
import { Popover } from 'antd'
import { PopoverProps } from 'antd/es/popover'
import 'antd/es/popover/style/index.css'
import addEventListener from 'rc-util/lib/Dom/addEventListener'
import {
SketchPicker,
@@ -104,8 +103,12 @@ export class ColorPicker extends React.Component<
const popoverProps: PopoverProps = {}
if (disabled) {
popoverProps.visible = false
// Support for antd 5.0
popoverProps.open = false
} else {
popoverProps.visible = this.state.active
// Support for antd 5.0
popoverProps.open = this.state.active
}
const colorStr =

View File

@@ -2,7 +2,6 @@ import React from 'react'
import classNames from 'classnames'
import { Tooltip } from 'antd'
import { TooltipProps } from 'antd/es/tooltip'
import 'antd/es/tooltip/style/index.css'
import { Menu } from '../menu'
import { Dropdown } from '../dropdown'
import { ToolbarContext } from './context'

View File

@@ -1,3 +1,12 @@
## @antv/x6-react-shape [2.0.3](https://github.com/antvis/x6/compare/@antv/x6-react-shape@2.0.2...@antv/x6-react-shape@2.0.3) (2022-11-25)
## @antv/x6-react-shape [2.0.2](https://github.com/antvis/x6/compare/@antv/x6-react-shape@2.0.1...@antv/x6-react-shape@2.0.2) (2022-11-25)
### Performance Improvements
* update deps ([f20127a](https://github.com/antvis/x6/commit/f20127af555d9b7beaac3a07ac308d5c0d4e53a3))
## @antv/x6-react-shape [2.0.1](https://github.com/antvis/x6/compare/@antv/x6-react-shape@2.0.0...@antv/x6-react-shape@2.0.1) (2022-11-24)

View File

@@ -1,6 +1,6 @@
{
"name": "@antv/x6-react-shape",
"version": "2.0.1",
"version": "2.0.4",
"description": "X6 shape for rendering react components.",
"main": "lib/index.js",
"module": "es/index.js",
@@ -45,7 +45,7 @@
"devDependencies": {
"@antv/x6": "^2.x",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.0",
"@types/react-dom": "^18.0.9",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
@@ -54,7 +54,7 @@
"email": "bubkoo.wy@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/antvis/x6",
"homepage": "https://x6.antv.antgroup.com/tutorial/intermediate/react",
"bugs": {
"url": "https://github.com/antvis/x6/issues"
},
@@ -66,6 +66,5 @@
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"gitHead": "576fa342fa65a6867ead29f6801a30dcb31bcdb5"
}
}

View File

@@ -1 +1,10 @@
## @antv/x6-vue-shape [2.0.3](https://github.com/antvis/x6/compare/@antv/x6-vue-shape@2.0.2...@antv/x6-vue-shape@2.0.3) (2022-11-25)
## @antv/x6-vue-shape [2.0.2](https://github.com/antvis/x6/compare/@antv/x6-vue-shape@2.0.1...@antv/x6-vue-shape@2.0.2) (2022-11-24)
### Bug Fixes
* updae react-resize-detector version ([#2930](https://github.com/antvis/x6/issues/2930)) ([d6ae519](https://github.com/antvis/x6/commit/d6ae5199c00be6429a828f537b194adddd2b6aeb))
## @antv/x6-vue-shape [2.0.1](https://github.com/antvis/x6/compare/@antv/x6-vue-shape@2.0.0...@antv/x6-vue-shape@2.0.1) (2022-11-24)

View File

@@ -1,6 +1,6 @@
{
"name": "@antv/x6-vue-shape",
"version": "2.0.1",
"version": "2.0.4",
"description": "X6 shape for rendering vue components.",
"main": "lib/index.js",
"module": "es/index.js",
@@ -38,29 +38,28 @@
"pretest": "rss"
},
"dependencies": {
"vue-demi": "^0.7.4"
"vue-demi": "latest"
},
"peerDependencies": {
"@antv/x6": "^2.x",
"@vue/composition-api": "^1.0.0-rc.1",
"vue": "^2.0.0 || >=3.0.0"
},
"peerDependenciesMeta": {
"@vue/composition-api": {
"optional": true
}
},
"peerDependencies": {
"@antv/x6": "^2.x",
"@vue/composition-api": "^1.0.0-rc.6",
"vue": "^2.6.12 || ^3.0.0"
},
"devDependencies": {
"@antv/x6": "^2.x",
"@vue/composition-api": "^1.0.0-rc.6",
"vue": "^2.6.12"
"vue": "^3.0.0"
},
"author": {
"name": "bubkoo",
"email": "bubkoo.wy@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/antvis/x6",
"homepage": "https://x6.antv.antgroup.com/tutorial/intermediate/vue",
"bugs": {
"url": "https://github.com/antvis/x6/issues"
},
@@ -72,6 +71,5 @@
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"gitHead": "576fa342fa65a6867ead29f6801a30dcb31bcdb5"
}
}

View File

@@ -1,3 +1,12 @@
## @antv/x6 [2.0.3](https://github.com/antvis/x6/compare/@antv/x6@2.0.2...@antv/x6@2.0.3) (2022-11-25)
## @antv/x6 [2.0.2](https://github.com/antvis/x6/compare/@antv/x6@2.0.1...@antv/x6@2.0.2) (2022-11-24)
### Bug Fixes
* get correct center when zoom ([#2934](https://github.com/antvis/x6/issues/2934)) ([557d2df](https://github.com/antvis/x6/commit/557d2df1529226e505e3488a43fa358191d79271))
## @antv/x6 [2.0.1](https://github.com/antvis/x6/compare/@antv/x6@2.0.0...@antv/x6@2.0.1) (2022-11-24)

View File

@@ -1,6 +1,6 @@
{
"name": "@antv/x6",
"version": "2.0.1",
"version": "2.0.5",
"description": "JavaScript diagramming library that uses SVG and HTML for rendering",
"main": "lib/index.js",
"module": "es/index.js",
@@ -53,7 +53,7 @@
"email": "bubkoo.wy@gmail.com"
},
"license": "MIT",
"homepage": "https://github.com/antvis/x6",
"homepage": "https://x6.antv.antgroup.com/tutorial/about",
"bugs": {
"url": "https://github.com/antvis/x6/issues"
},

View File

@@ -114,7 +114,10 @@ export class MouseWheel extends Base {
if (targetScale !== currentScale) {
if (this.widgetOptions.zoomAtMousePosition) {
const origin = this.graph.coord.clientToLocalPoint(this.startPos)
const hasScroller = !!this.graph.getPlugin<any>('scroller')
const origin = hasScroller
? this.graph.clientToLocal(this.startPos)
: this.graph.clientToGraph(this.startPos)
this.graph.zoom(targetScale, {
absolute: true,
center: origin.clone(),

1816
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,4 @@
packages:
- 'packages/*'
- 'scripts/*'
- 'examples/*'
- packages/*
# - examples/*
# - 'sites/*'

View File

@@ -37,7 +37,7 @@
"dependencies": {
"@ant-design/icons": "^4.2.1",
"@stackblitz/sdk": "^1.4.0",
"antd": "^4.4.2",
"antd": "^5.0.0",
"chalk": "^4.1.0",
"codesandbox": "^2.2.1",
"folder-hash": "^3.3.2",

View File

@@ -5,7 +5,6 @@ import Icon, {
CodeSandboxOutlined,
} from '@ant-design/icons'
import { Tooltip } from 'antd'
import 'antd/dist/antd.css'
// import stackblitzSdk from '@stackblitz/sdk'
import { getParameters } from 'codesandbox/lib/api/define'
import './index.css'

View File

@@ -2,7 +2,6 @@ import React, { PropsWithChildren } from 'react'
import { Alert } from 'antd'
import { Helmet } from 'react-helmet'
import { Content } from './content'
import 'antd/es/alert/style/index.css'
export const Wrap: React.FC<PropsWithChildren> = ({ children }) => (
<Alert.ErrorBoundary>

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -1,6 +1,5 @@
import React from 'react'
import { Switch, Slider, Card, Row, Col } from 'antd'
import 'antd/dist/antd.css'
export interface Props {
onChange: (state: State) => void

View File

@@ -3,8 +3,8 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6-react-components": "2.0.0-beta.1",
"@antv/x6": "2.0.0-beta.5",
"@antv/x6-react-components": "^2.x",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -1,6 +1,5 @@
import React from 'react'
import { Switch, Slider, Card, Row, Col } from 'antd'
import 'antd/dist/antd.css'
export interface Props {
onChange: (state: State) => void

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -1,6 +1,5 @@
import React from 'react'
import { Slider, Card, Row, Col } from 'antd'
import 'antd/dist/antd.css'
export interface Props {
onChange: (state: State) => void

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -1,6 +1,5 @@
import React from 'react'
import { Radio, Slider, Card, Row, Col } from 'antd'
import 'antd/dist/antd.css'
export interface Props {
onChange: (state: State) => void

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -1,6 +1,5 @@
import React from 'react'
import { Radio, Slider, Card, Row, Col } from 'antd'
import 'antd/dist/antd.css'
export interface Props {
onChange: (state: State) => void

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -1,6 +1,5 @@
import React from 'react'
import { Radio, Slider, Card, Row, Col } from 'antd'
import 'antd/dist/antd.css'
export interface Props {
onChange: (state: State) => void

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -1,6 +1,5 @@
import React from 'react'
import { Slider, Radio, Card, Row, Col } from 'antd'
import 'antd/dist/antd.css'
export interface Props {
onChange: (state: State) => void

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -1,6 +1,5 @@
import React from 'react'
import { Slider, Card, Row, Col } from 'antd'
import 'antd/dist/antd.css'
export interface Props {
onChange: (state: State) => void

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -1,6 +1,5 @@
import React from 'react'
import { Radio, Slider, Card, Row, Col } from 'antd'
import 'antd/dist/antd.css'
export interface Props {
onChange: (state: State) => void

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -1,7 +1,6 @@
import React from 'react'
import { Color } from '@antv/x6'
import { Input, Slider, Card, Row, Col } from 'antd'
import 'antd/dist/antd.css'
export interface Props {
onChange: (state: State) => void

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -1,7 +1,6 @@
import React from 'react'
import { Color } from '@antv/x6'
import { Input, Slider, Card, Row, Col } from 'antd'
import 'antd/dist/antd.css'
export interface Props {
onChange: (state: State) => void

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -1,7 +1,6 @@
import React from 'react'
import { Color } from '@antv/x6'
import { Input, Slider, Card, Row, Col } from 'antd'
import 'antd/dist/antd.css'
export interface Props {
onChange: (state: State) => void

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -1,7 +1,6 @@
import React from 'react'
import { Color } from '@antv/x6'
import { Input, Slider, Card, Row, Col } from 'antd'
import 'antd/dist/antd.css'
export interface Props {
onChange: (state: State) => void

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -1,7 +1,6 @@
import React from 'react'
import { Color } from '@antv/x6'
import { Input, Slider, Card, Row, Col } from 'antd'
import 'antd/dist/antd.css'
export interface Props {
onChange: (state: State) => void

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -1,7 +1,6 @@
import React from 'react'
import { Color } from '@antv/x6'
import { Input, Slider, Card, Row, Col } from 'antd'
import 'antd/dist/antd.css'
export interface Props {
onChange: (state: State) => void

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

View File

@@ -1,7 +1,6 @@
import React from 'react'
import { Color } from '@antv/x6'
import { Input, Slider, Card, Row, Col } from 'antd'
import 'antd/dist/antd.css'
export interface Props {
onChange: (state: State) => void

View File

@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@antv/x6": "2.0.0-beta.5",
"@antv/x6": "^2.x",
"@antv/x6-sites-demos-helper": "2.x",
"antd": "^4.4.2",
"react": "^18.0.0",

Some files were not shown because too many files have changed in this diff Show More