From 81e465f05fc4d08346002ea4dc4659828ca5467a Mon Sep 17 00:00:00 2001 From: xile611 Date: Thu, 5 Dec 2024 06:46:22 +0000 Subject: [PATCH 01/10] docs: generate changelog of release v0.14.17 --- docs/site/assets/changelog/en/release.md | 20 ++++++++++++++++++++ docs/site/assets/changelog/zh/release.md | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/docs/site/assets/changelog/en/release.md b/docs/site/assets/changelog/en/release.md index 5b07c4036..ef556278a 100644 --- a/docs/site/assets/changelog/en/release.md +++ b/docs/site/assets/changelog/en/release.md @@ -1,3 +1,23 @@ +# v0.14.17 + +2024-12-05 + + +**🆕 New feature** + +- **@visactor/vgrammar-core**: support `maxNodeHeight` and `maxLinkHeight`, `crossNodeAlign` value `parent` in sankey +- **@visactor/vgrammar-core**: add `autoRefresh` to stage + +**🐛 Bug fix** + +- **@visactor/vgrammar-core**: fix the issue of animation cannot be cleared for reused mark +- **@visactor/vgrammar-core**: glyph state should work when resize +- **@visactor/vgrammar-core**: support react and html attributes in textmark + + + +[more detail about v0.14.17](https://github.com/VisActor/VGrammar/releases/tag/v0.14.17) + # v0.14.16 2024-11-25 diff --git a/docs/site/assets/changelog/zh/release.md b/docs/site/assets/changelog/zh/release.md index 4c46c40cc..27b962a32 100644 --- a/docs/site/assets/changelog/zh/release.md +++ b/docs/site/assets/changelog/zh/release.md @@ -1,3 +1,23 @@ +# v0.14.17 + +2024-12-05 + + +**🆕 新增功能** + +- **@visactor/vgrammar-core**: support `maxNodeHeight` and `maxLinkHeight`, `crossNodeAlign` value `parent` in sankey +- **@visactor/vgrammar-core**: add `autoRefresh` to stage + +**🐛 功能修复** + +- **@visactor/vgrammar-core**: fix the issue of animation cannot be cleared for reused mark +- **@visactor/vgrammar-core**: glyph state should work when resize +- **@visactor/vgrammar-core**: support react and html attributes in textmark + + + +[更多详情请查看 v0.14.17](https://github.com/VisActor/VGrammar/releases/tag/v0.14.17) + # v0.14.16 2024-11-25 From 1ee52bd092d00c7d1a1529a7d054588ec450d70e Mon Sep 17 00:00:00 2001 From: xile611 Date: Thu, 5 Dec 2024 08:53:15 +0000 Subject: [PATCH 02/10] docs: generate changelog of release v0.14.18 --- docs/site/assets/changelog/en/release.md | 15 +++++++++++++++ docs/site/assets/changelog/zh/release.md | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/docs/site/assets/changelog/en/release.md b/docs/site/assets/changelog/en/release.md index ef556278a..89898c7ab 100644 --- a/docs/site/assets/changelog/en/release.md +++ b/docs/site/assets/changelog/en/release.md @@ -1,3 +1,18 @@ +# v0.14.18 + +2024-12-05 + + +**What's Changed** + +* [Auto Sync] Sync the code from branch main to branch develop after release 0.14.17 by @github-actions in https://github.com/VisActor/VGrammar/pull/598 +* [Auto release] release 0.14.18 by @github-actions in https://github.com/VisActor/VGrammar/pull/600 + + +**Full Changelog**: https://github.com/VisActor/VGrammar/compare/v0.14.17...v0.14.18 + +[more detail about v0.14.18](https://github.com/VisActor/VGrammar/releases/tag/v0.14.18) + # v0.14.17 2024-12-05 diff --git a/docs/site/assets/changelog/zh/release.md b/docs/site/assets/changelog/zh/release.md index 27b962a32..ce1ecb5df 100644 --- a/docs/site/assets/changelog/zh/release.md +++ b/docs/site/assets/changelog/zh/release.md @@ -1,3 +1,18 @@ +# v0.14.18 + +2024-12-05 + + +**What's Changed** + +* [Auto Sync] Sync the code from branch main to branch develop after release 0.14.17 by @github-actions in https://github.com/VisActor/VGrammar/pull/598 +* [Auto release] release 0.14.18 by @github-actions in https://github.com/VisActor/VGrammar/pull/600 + + +**Full Changelog**: https://github.com/VisActor/VGrammar/compare/v0.14.17...v0.14.18 + +[更多详情请查看 v0.14.18](https://github.com/VisActor/VGrammar/releases/tag/v0.14.18) + # v0.14.17 2024-12-05 From b850b693938640bcb93cdb8d2d1b5a3b24b68aba Mon Sep 17 00:00:00 2001 From: xiaoluoHe Date: Thu, 24 Oct 2024 15:46:02 +0800 Subject: [PATCH 03/10] feat: add interaction for highlight/select by graphic name --- .../element-highlight-by-graphic-name.ts | 73 +++++++++++++++++++ .../element-select-by-graphic-name.ts | 20 +++++ .../vgrammar-core/src/interactions/index.ts | 11 +++ .../vgrammar-core/src/types/interaction.ts | 2 + 4 files changed, 106 insertions(+) create mode 100644 packages/vgrammar-core/src/interactions/element-highlight-by-graphic-name.ts create mode 100644 packages/vgrammar-core/src/interactions/element-select-by-graphic-name.ts diff --git a/packages/vgrammar-core/src/interactions/element-highlight-by-graphic-name.ts b/packages/vgrammar-core/src/interactions/element-highlight-by-graphic-name.ts new file mode 100644 index 000000000..38ac7983b --- /dev/null +++ b/packages/vgrammar-core/src/interactions/element-highlight-by-graphic-name.ts @@ -0,0 +1,73 @@ +import type { ElementHighlightByGraphicNameOptions, IElement, IGlyphElement, IView, InteractionEvent } from '../types'; +import { isNil } from '@visactor/vutils'; +import { ElementHighlight } from './element-highlight'; + +export class ElementHighlightByGraphicName extends ElementHighlight { + static type: string = 'element-highlight-by-graphic-name'; + type: string = ElementHighlightByGraphicName.type; + + options: ElementHighlightByGraphicNameOptions; + + constructor(view: IView, options?: ElementHighlightByGraphicNameOptions) { + super(view, options); + this.options = Object.assign({}, ElementHighlightByGraphicName.defaultOptions, options); + this._marks = view.getMarksBySelector(this.options.selector); + } + + protected _filterByName(e: InteractionEvent) { + const name = e?.target?.name; + return !!name; + } + + protected _parseTargetKey(e: InteractionEvent, element: IElement | IGlyphElement) { + return e.target.name; + } + + start(itemKey: IElement | IGlyphElement | string) { + if (isNil(itemKey)) { + return; + } + + this._marks.forEach(mark => { + mark.elements.forEach(el => { + const isHighlight = el.getGraphicItem()?.name === itemKey; + if (isHighlight) { + el.updateStates({ + [this.options.blurState]: false, + [this.options.highlightState]: true + }); + } else { + el.updateStates({ + [this.options.blurState]: true, + [this.options.highlightState]: false + }); + } + }); + }); + } + + reset() { + const states = [this.options.blurState, this.options.highlightState]; + this._marks.forEach(mark => { + mark.elements.forEach(el => { + el.removeState(states); + }); + }); + } + + handleStart = (e: InteractionEvent) => { + if (e && e.element && this._marks.includes(e.element.mark)) { + const shouldStart = this.options.shouldStart ? this.options.shouldStart(e) : this._filterByName(e); + if (shouldStart) { + const itemKey = this._parseTargetKey(e, e.element); + this.start(itemKey); + } + } + }; + + handleReset = (e: InteractionEvent) => { + if (e && e.element && this._marks.includes(e.element.mark)) { + this.reset(); + } + }; +} diff --git a/packages/vgrammar-core/src/interactions/element-select-by-graphic-name.ts b/packages/vgrammar-core/src/interactions/element-select-by-graphic-name.ts new file mode 100644 index 000000000..5d37f74e9 --- /dev/null +++ b/packages/vgrammar-core/src/interactions/element-select-by-graphic-name.ts @@ -0,0 +1,20 @@ +import type { InteractionEvent } from '../types'; +import { ElementSelect } from './element-select'; + +export class ElementSelectByGraphicName extends ElementSelect { + static type: string = 'element-select-by-graphic-name'; + type: string = ElementSelectByGraphicName.type; + + start(element: InteractionEvent['element']) { + const name = element.getGraphicItem()?.name; + if (name) { + this._marks.forEach(mark => { + mark.elements.forEach(el => { + if (el.getGraphicItem()?.name === name) { + super.start(el); + } + }); + }); + } + } +} diff --git a/packages/vgrammar-core/src/interactions/index.ts b/packages/vgrammar-core/src/interactions/index.ts index 927183af0..eae584a4d 100644 --- a/packages/vgrammar-core/src/interactions/index.ts +++ b/packages/vgrammar-core/src/interactions/index.ts @@ -7,6 +7,9 @@ import { ElementHighlightByGroup } from './element-highlight-by-group'; import { ElementActiveByLegend } from './element-active-by-legend'; import { ElementHighlightByLegend } from './element-highlight-by-legend'; import { ElementHighlightByName } from './element-highlight-by-name'; +import { ElementHighlightByGraphicName } from './element-highlight-by-graphic-name'; +import { ElementSelectByGraphicName } from './element-select-by-graphic-name'; + import { BrushHighlight } from './brush-highlight'; import { BrushActive } from './brush-active'; import { BrushFilter } from './brush-filter'; @@ -92,6 +95,14 @@ export const registerElementHighlightByName = () => { Factory.registerInteraction(ElementHighlightByName.type, ElementHighlightByName); }; +export const registerElementHighlightByGraphicName = () => { + Factory.registerInteraction(ElementHighlightByGraphicName.type, ElementHighlightByGraphicName); +}; + +export const registerElementSelectByGraphicName = () => { + Factory.registerInteraction(ElementSelectByGraphicName.type, ElementSelectByGraphicName); +}; + export const registerBrushHighlight = () => { Factory.registerInteraction(BrushHighlight.type, BrushHighlight); }; diff --git a/packages/vgrammar-core/src/types/interaction.ts b/packages/vgrammar-core/src/types/interaction.ts index 9fc99528b..8e20d45e6 100644 --- a/packages/vgrammar-core/src/types/interaction.ts +++ b/packages/vgrammar-core/src/types/interaction.ts @@ -196,6 +196,8 @@ export interface ElementHighlightByNameOptions extends ElementHighlightByLegendO parseData?: (e: InteractionEvent) => any; } +export type ElementHighlightByGraphicNameOptions = ElementHighlightOptions; + export interface BrushEventParams { operateType: string; operateMask: IPolygon; From 8131a02fe59a5e21ea70e7b6d66082f5b9f979f2 Mon Sep 17 00:00:00 2001 From: xiaoluoHe Date: Thu, 24 Oct 2024 15:50:16 +0800 Subject: [PATCH 04/10] docs: add changelog --- .../feat-support-for-pictogram_2024-10-24-07-49.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 common/changes/@visactor/vgrammar-core/feat-support-for-pictogram_2024-10-24-07-49.json diff --git a/common/changes/@visactor/vgrammar-core/feat-support-for-pictogram_2024-10-24-07-49.json b/common/changes/@visactor/vgrammar-core/feat-support-for-pictogram_2024-10-24-07-49.json new file mode 100644 index 000000000..fedd3079c --- /dev/null +++ b/common/changes/@visactor/vgrammar-core/feat-support-for-pictogram_2024-10-24-07-49.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@visactor/vgrammar-core", + "comment": " feat: add interaction for highlight/select by graphic name", + "type": "none" + } + ], + "packageName": "@visactor/vgrammar-core" +} \ No newline at end of file From c488203dcad5f6ea222988b8a782a7911f6ec6fc Mon Sep 17 00:00:00 2001 From: xiaoluoHe Date: Thu, 24 Oct 2024 15:51:43 +0800 Subject: [PATCH 05/10] feat: add `graphicName` in markOption --- packages/vgrammar-core/src/graph/element.ts | 8 ++++++++ packages/vgrammar-core/src/types/mark.ts | 4 ++++ packages/vgrammar-core/src/view/mark.ts | 3 ++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/packages/vgrammar-core/src/graph/element.ts b/packages/vgrammar-core/src/graph/element.ts index f21f423ec..a8454d7ce 100644 --- a/packages/vgrammar-core/src/graph/element.ts +++ b/packages/vgrammar-core/src/graph/element.ts @@ -89,6 +89,14 @@ export class Element implements IElement { if (!this.graphicItem) { return; } + + const { graphicName } = this.mark.getSpec(); + if (isString(graphicName)) { + this.graphicItem.name = graphicName; + } else if (isFunction(graphicName)) { + this.graphicItem.name = graphicName(this); + } + // 统一读取mark中是否可交互的配置 this.graphicItem[BridgeElementKey] = this; if (attrTransforms) { diff --git a/packages/vgrammar-core/src/types/mark.ts b/packages/vgrammar-core/src/types/mark.ts index 4f57cb349..e9f4940f9 100644 --- a/packages/vgrammar-core/src/types/mark.ts +++ b/packages/vgrammar-core/src/types/mark.ts @@ -257,6 +257,10 @@ export interface IMarkConfig { * only used in line/area mark */ enableSegments?: boolean; + /** + * set graphic name + */ + graphicName?: string | ((element: IElement) => string); } /** diff --git a/packages/vgrammar-core/src/view/mark.ts b/packages/vgrammar-core/src/view/mark.ts index b3d5f6392..1a0721e58 100644 --- a/packages/vgrammar-core/src/view/mark.ts +++ b/packages/vgrammar-core/src/view/mark.ts @@ -496,7 +496,8 @@ export class Mark extends GrammarBase implements IMark { 'attributeTransforms', 'skipTheme', 'enableSegments', - 'stateSort' + 'stateSort', + 'graphicName' ]; if (config === null) { keys.forEach(key => { From e1b2f419bbe9a2eb6d7399ee907ebbff851d2b60 Mon Sep 17 00:00:00 2001 From: xiaoluoHe Date: Thu, 24 Oct 2024 15:52:38 +0800 Subject: [PATCH 06/10] docs: add changelog --- .../feat-support-for-pictogram_2024-10-24-07-52.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 common/changes/@visactor/vgrammar-core/feat-support-for-pictogram_2024-10-24-07-52.json diff --git a/common/changes/@visactor/vgrammar-core/feat-support-for-pictogram_2024-10-24-07-52.json b/common/changes/@visactor/vgrammar-core/feat-support-for-pictogram_2024-10-24-07-52.json new file mode 100644 index 000000000..7f0f76816 --- /dev/null +++ b/common/changes/@visactor/vgrammar-core/feat-support-for-pictogram_2024-10-24-07-52.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@visactor/vgrammar-core", + "comment": "feat: add `graphicName` in markOption", + "type": "none" + } + ], + "packageName": "@visactor/vgrammar-core" +} \ No newline at end of file From 8530a7025c46c72e6fbf6eee748776e0367fe4c4 Mon Sep 17 00:00:00 2001 From: xile611 Date: Fri, 1 Nov 2024 17:49:31 +0800 Subject: [PATCH 07/10] feat: support overflow of mark --- packages/vgrammar-core/src/types/mark.ts | 1 + packages/vgrammar-core/src/view/mark.ts | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/packages/vgrammar-core/src/types/mark.ts b/packages/vgrammar-core/src/types/mark.ts index e9f4940f9..336d6dae4 100644 --- a/packages/vgrammar-core/src/types/mark.ts +++ b/packages/vgrammar-core/src/types/mark.ts @@ -261,6 +261,7 @@ export interface IMarkConfig { * set graphic name */ graphicName?: string | ((element: IElement) => string); + overflow?: 'scroll' | 'hidden' | 'scroll-x' | 'scroll-y'; } /** diff --git a/packages/vgrammar-core/src/view/mark.ts b/packages/vgrammar-core/src/view/mark.ts index 1a0721e58..05927c797 100644 --- a/packages/vgrammar-core/src/view/mark.ts +++ b/packages/vgrammar-core/src/view/mark.ts @@ -497,7 +497,8 @@ export class Mark extends GrammarBase implements IMark { 'skipTheme', 'enableSegments', 'stateSort', - 'graphicName' + 'graphicName', + 'overflow' ]; if (config === null) { keys.forEach(key => { @@ -637,7 +638,8 @@ export class Mark extends GrammarBase implements IMark { if (!this.graphicItem) { const graphicItem = createGraphicItem(this, GrammarMarkType.group, { pickable: false, - zIndex: this.spec.zIndex ?? 0 + zIndex: this.spec.zIndex ?? 0, + overflow: this.spec.overflow }) as IGroup; if (this.spec.support3d || (Mark3DType as string[]).includes(this.markType)) { graphicItem.setMode('3d'); @@ -651,6 +653,10 @@ export class Mark extends GrammarBase implements IMark { } } else { this.graphicParent = groupGraphicItem; + + this.graphicParent.setAttributes({ + overflow: this.spec.overflow + }); } this.graphicIndex = markIndex; } @@ -684,6 +690,10 @@ export class Mark extends GrammarBase implements IMark { } } + if (!isNil(spec.overflow)) { + this.graphicItem.setAttribute('overflow', spec.overflow); + } + // only update interactive this.elementMap.forEach(element => { element.updateGraphicItem(); From 0c5f362f9dc81d2c0a062b48ffedba8d69adf235 Mon Sep 17 00:00:00 2001 From: xile611 Date: Mon, 4 Nov 2024 10:27:36 +0800 Subject: [PATCH 08/10] docs: update changlog of rush --- .../feat-mark-overflow_2024-11-04-02-27.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 common/changes/@visactor/vgrammar-core/feat-mark-overflow_2024-11-04-02-27.json diff --git a/common/changes/@visactor/vgrammar-core/feat-mark-overflow_2024-11-04-02-27.json b/common/changes/@visactor/vgrammar-core/feat-mark-overflow_2024-11-04-02-27.json new file mode 100644 index 000000000..8255ab649 --- /dev/null +++ b/common/changes/@visactor/vgrammar-core/feat-mark-overflow_2024-11-04-02-27.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "feat: support overflow of mark\n\n", + "type": "none", + "packageName": "@visactor/vgrammar-core" + } + ], + "packageName": "@visactor/vgrammar-core", + "email": "dingling112@gmail.com" +} \ No newline at end of file From 199b5ad48f570657b0e0cdc8594d3c6377206984 Mon Sep 17 00:00:00 2001 From: xile611 Date: Thu, 5 Dec 2024 17:05:06 +0800 Subject: [PATCH 09/10] fix: upgrade vrender to 0.21.1 --- common/config/rush/pnpm-lock.yaml | 118 +++++++++--------- docs/dev-demos/package.json | 6 +- docs/site/package.json | 6 +- packages/vgrammar-core/package.json | 6 +- packages/vgrammar-hierarchy/package.json | 4 +- packages/vgrammar-plot/package.json | 6 +- packages/vgrammar-sankey/package.json | 4 +- packages/vgrammar-util/package.json | 2 +- packages/vgrammar-venn/package.json | 4 +- .../vgrammar-wordcloud-shape/package.json | 4 +- packages/vgrammar-wordcloud/package.json | 4 +- 11 files changed, 82 insertions(+), 82 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 910c0f5b9..7cdf2718c 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -19,9 +19,9 @@ importers: '@visactor/vgrammar-util': workspace:0.14.18 '@visactor/vgrammar-wordcloud': workspace:0.14.18 '@visactor/vgrammar-wordcloud-shape': workspace:0.14.18 - '@visactor/vrender': 0.20.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender': 0.21.1 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': ~0.19.2 '@vitejs/plugin-react': 3.1.0 d3-scale-chromatic: ^3.0.0 @@ -41,9 +41,9 @@ importers: '@visactor/vgrammar-util': link:../../packages/vgrammar-util '@visactor/vgrammar-wordcloud': link:../../packages/vgrammar-wordcloud '@visactor/vgrammar-wordcloud-shape': link:../../packages/vgrammar-wordcloud-shape - '@visactor/vrender': 0.20.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender': 0.21.1 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': 0.19.2 '@vitejs/plugin-react': 3.1.0_vite@3.2.6 d3-scale-chromatic: 3.1.0 @@ -71,9 +71,9 @@ importers: '@visactor/vgrammar-venn': workspace:0.14.18 '@visactor/vgrammar-wordcloud': workspace:0.14.18 '@visactor/vgrammar-wordcloud-shape': workspace:0.14.18 - '@visactor/vrender': 0.20.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender': 0.21.1 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': ~0.19.2 '@vitejs/plugin-react': 3.1.0 axios: ^1.4.0 @@ -109,9 +109,9 @@ importers: '@visactor/vgrammar-venn': link:../../packages/vgrammar-venn '@visactor/vgrammar-wordcloud': link:../../packages/vgrammar-wordcloud '@visactor/vgrammar-wordcloud-shape': link:../../packages/vgrammar-wordcloud-shape - '@visactor/vrender': 0.20.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender': 0.21.1 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': 0.19.2 axios: 1.6.8 highlight.js: 11.9.0 @@ -231,9 +231,9 @@ importers: '@visactor/vdataset': ~0.19.2 '@visactor/vgrammar-coordinate': workspace:0.14.18 '@visactor/vgrammar-util': workspace:0.14.18 - '@visactor/vrender-components': 0.20.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender-components': 0.21.1 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vscale': ~0.19.2 '@visactor/vutils': ~0.19.2 eslint: ~8.18.0 @@ -246,9 +246,9 @@ importers: '@visactor/vdataset': 0.19.2 '@visactor/vgrammar-coordinate': link:../vgrammar-coordinate '@visactor/vgrammar-util': link:../vgrammar-util - '@visactor/vrender-components': 0.20.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender-components': 0.21.1 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vscale': 0.19.2 '@visactor/vutils': 0.19.2 devDependencies: @@ -340,8 +340,8 @@ importers: '@types/node': '*' '@visactor/vgrammar-core': workspace:0.14.18 '@visactor/vgrammar-util': workspace:0.14.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': ~0.19.2 eslint: ~8.18.0 jest: ~29.5.0 @@ -352,8 +352,8 @@ importers: dependencies: '@visactor/vgrammar-core': link:../vgrammar-core '@visactor/vgrammar-util': link:../vgrammar-util - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': 0.19.2 devDependencies: '@internal/bundler': link:../../tools/bundler @@ -385,9 +385,9 @@ importers: '@visactor/vgrammar-coordinate': workspace:0.14.18 '@visactor/vgrammar-core': workspace:0.14.18 '@visactor/vgrammar-util': workspace:0.14.18 - '@visactor/vrender-components': 0.20.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender-components': 0.21.1 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vscale': ~0.19.2 '@visactor/vutils': ~0.19.2 d3-array: 1.x @@ -401,9 +401,9 @@ importers: '@visactor/vgrammar-coordinate': link:../vgrammar-coordinate '@visactor/vgrammar-core': link:../vgrammar-core '@visactor/vgrammar-util': link:../vgrammar-util - '@visactor/vrender-components': 0.20.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender-components': 0.21.1 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vscale': 0.19.2 '@visactor/vutils': 0.19.2 devDependencies: @@ -481,8 +481,8 @@ importers: '@types/node': '*' '@visactor/vgrammar-core': workspace:0.14.18 '@visactor/vgrammar-util': workspace:0.14.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': ~0.19.2 eslint: ~8.18.0 jest: ~29.5.0 @@ -493,8 +493,8 @@ importers: dependencies: '@visactor/vgrammar-core': link:../vgrammar-core '@visactor/vgrammar-util': link:../vgrammar-util - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': 0.19.2 devDependencies: '@internal/bundler': link:../../tools/bundler @@ -522,7 +522,7 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vrender-core': 0.20.18 + '@visactor/vrender-core': 0.21.1 '@visactor/vutils': ~0.19.2 eslint: ~8.18.0 jest: ~29.5.0 @@ -531,7 +531,7 @@ importers: typescript: 4.9.5 vite: 3.2.6 dependencies: - '@visactor/vrender-core': 0.20.18 + '@visactor/vrender-core': 0.21.1 '@visactor/vutils': 0.19.2 devDependencies: '@internal/bundler': link:../../tools/bundler @@ -561,8 +561,8 @@ importers: '@types/node': '*' '@visactor/vgrammar-core': workspace:0.14.18 '@visactor/vgrammar-util': workspace:0.14.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': ~0.19.2 eslint: ~8.18.0 jest: ~29.5.0 @@ -573,8 +573,8 @@ importers: dependencies: '@visactor/vgrammar-core': link:../vgrammar-core '@visactor/vgrammar-util': link:../vgrammar-util - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': 0.19.2 devDependencies: '@internal/bundler': link:../../tools/bundler @@ -604,8 +604,8 @@ importers: '@types/node': '*' '@visactor/vgrammar-core': workspace:0.14.18 '@visactor/vgrammar-util': workspace:0.14.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': ~0.19.2 eslint: ~8.18.0 jest: ~29.5.0 @@ -616,8 +616,8 @@ importers: dependencies: '@visactor/vgrammar-core': link:../vgrammar-core '@visactor/vgrammar-util': link:../vgrammar-util - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': 0.19.2 devDependencies: '@internal/bundler': link:../../tools/bundler @@ -647,8 +647,8 @@ importers: '@types/node': '*' '@visactor/vgrammar-core': workspace:0.14.18 '@visactor/vgrammar-util': workspace:0.14.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vscale': ~0.19.2 '@visactor/vutils': ~0.19.2 eslint: ~8.18.0 @@ -660,8 +660,8 @@ importers: dependencies: '@visactor/vgrammar-core': link:../vgrammar-core '@visactor/vgrammar-util': link:../vgrammar-util - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vscale': 0.19.2 '@visactor/vutils': 0.19.2 devDependencies: @@ -3448,34 +3448,34 @@ packages: topojson-client: 3.1.0 dev: false - /@visactor/vrender-components/0.20.18: - resolution: {integrity: sha512-MyTUMECcTmOQrdrnoUav/uoSkGugJG50gjPnObYrqqlx7MrIGsUDLC+xykSSy8MnT9TeC5j224kE/FrMc5eiNQ==} + /@visactor/vrender-components/0.21.1: + resolution: {integrity: sha512-6RcGNgD/WDtoOJZjjop1KT9I5xSydXs6o1VPY0WpoUqCnWF1wkVC19vt2d5P96QAPsCG3xU9Th2+ahmWM+Aebg==} dependencies: - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vscale': 0.19.2 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vrender-core/0.20.18: - resolution: {integrity: sha512-pKH+XG7Q8NnOGDzwkDCl7ehoXkI45N7iuHyY/rQCyEGrv0lOmrzLeGmB1CsE6JyDRp+nE/jzdzsX6+oVKpfsug==} + /@visactor/vrender-core/0.21.1: + resolution: {integrity: sha512-crZ40JRVemax2u9J3MTcINiRGP6yG4R99Hgm8Et2zNMHnqS1Dhp1O3v0GUXaNQtJ8O6rpG13uUrKzbKa64M8XA==} dependencies: '@visactor/vutils': 0.19.2 color-convert: 2.0.1 - /@visactor/vrender-kits/0.20.18: - resolution: {integrity: sha512-jxV/7rzAIBlk49ja2Q8em9QWkGyf39yyT70t3eIEEu+yL57vxtq0x/yLhgfQqN3I7aSMnWkkaL9O11MT9rHW8Q==} + /@visactor/vrender-kits/0.21.1: + resolution: {integrity: sha512-1DHGJTKNImWp1NpY71fusv8xGDo3MbnHA3EkJyzOYJO8Zp8KkEEQiNGxxTJwEDNMkHzqyXrRH3zwrAd0LB1mxA==} dependencies: '@resvg/resvg-js': 2.4.1 - '@visactor/vrender-core': 0.20.18 + '@visactor/vrender-core': 0.21.1 '@visactor/vutils': 0.19.2 roughjs: 4.5.2 - /@visactor/vrender/0.20.18: - resolution: {integrity: sha512-Astbk983SM5cJfu/8CtlBQ70vH2JLavg5uRYSxok2lryeZp7XJKbI22LnBsHgQr/bkhjMy8nTnw//GYXtBMRLg==} + /@visactor/vrender/0.21.1: + resolution: {integrity: sha512-0doPoLdczLYW9a++g045SODK7ywlR+SPXC3yB/D5kovUFbURk3Qap7PiN9nEJ3sigRA5tNzIMUvD/pVOEsXwbw==} dependencies: - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 /@visactor/vscale/0.19.2: resolution: {integrity: sha512-grS2nI/dyky9+YWt6EbtBS7aPiHmJrnGnleeRLvaaa6uZN9ItLsuP7oSv63k1arJzkyJ0xcLH4ze/nZmrWopzA==} diff --git a/docs/dev-demos/package.json b/docs/dev-demos/package.json index 6872dfc80..724bfa05b 100644 --- a/docs/dev-demos/package.json +++ b/docs/dev-demos/package.json @@ -20,9 +20,9 @@ "@visactor/vgrammar-wordcloud": "workspace:0.14.18", "@visactor/vgrammar-wordcloud-shape": "workspace:0.14.18", "@visactor/vgrammar-plot": "workspace:0.14.18", - "@visactor/vrender-core": "0.20.18", - "@visactor/vrender-kits": "0.20.18", - "@visactor/vrender": "0.20.18", + "@visactor/vrender-core": "0.21.1", + "@visactor/vrender-kits": "0.21.1", + "@visactor/vrender": "0.21.1", "d3-scale-chromatic": "^3.0.0", "lodash": "4.17.21", "typescript": "4.9.5", diff --git a/docs/site/package.json b/docs/site/package.json index 7a8db2ccc..656e882a6 100644 --- a/docs/site/package.json +++ b/docs/site/package.json @@ -25,9 +25,9 @@ "@visactor/vgrammar-util": "workspace:0.14.18", "@visactor/vgrammar-coordinate": "workspace:0.14.18", "@visactor/vgrammar-venn": "workspace:0.14.18", - "@visactor/vrender-core": "0.20.18", - "@visactor/vrender-kits": "0.20.18", - "@visactor/vrender": "0.20.18", + "@visactor/vrender-core": "0.21.1", + "@visactor/vrender-kits": "0.21.1", + "@visactor/vrender": "0.21.1", "markdown-it": "^13.0.0", "highlight.js": "^11.8.0", "axios": "^1.4.0", diff --git a/packages/vgrammar-core/package.json b/packages/vgrammar-core/package.json index 5b5abc703..e2f8f6efd 100644 --- a/packages/vgrammar-core/package.json +++ b/packages/vgrammar-core/package.json @@ -40,9 +40,9 @@ "@visactor/vgrammar-coordinate": "workspace:0.14.18", "@visactor/vgrammar-util": "workspace:0.14.18", "@visactor/vscale": "~0.19.2", - "@visactor/vrender-core": "0.20.18", - "@visactor/vrender-kits": "0.20.18", - "@visactor/vrender-components": "0.20.18" + "@visactor/vrender-core": "0.21.1", + "@visactor/vrender-kits": "0.21.1", + "@visactor/vrender-components": "0.21.1" }, "devDependencies": { "@internal/bundler": "workspace:*", diff --git a/packages/vgrammar-hierarchy/package.json b/packages/vgrammar-hierarchy/package.json index 1a737c971..8d8845869 100644 --- a/packages/vgrammar-hierarchy/package.json +++ b/packages/vgrammar-hierarchy/package.json @@ -41,8 +41,8 @@ "@visactor/vutils": "~0.19.2", "@visactor/vgrammar-core": "workspace:0.14.18", "@visactor/vgrammar-util": "workspace:0.14.18", - "@visactor/vrender-core": "0.20.18", - "@visactor/vrender-kits": "0.20.18" + "@visactor/vrender-core": "0.21.1", + "@visactor/vrender-kits": "0.21.1" }, "devDependencies": { "@internal/bundler": "workspace:*", diff --git a/packages/vgrammar-plot/package.json b/packages/vgrammar-plot/package.json index 0126592a4..30b7a3deb 100644 --- a/packages/vgrammar-plot/package.json +++ b/packages/vgrammar-plot/package.json @@ -39,9 +39,9 @@ "@visactor/vgrammar-util": "workspace:0.14.18", "@visactor/vgrammar-coordinate": "workspace:0.14.18", "@visactor/vgrammar-core": "workspace:0.14.18", - "@visactor/vrender-components": "0.20.18", - "@visactor/vrender-core": "0.20.18", - "@visactor/vrender-kits": "0.20.18" + "@visactor/vrender-components": "0.21.1", + "@visactor/vrender-core": "0.21.1", + "@visactor/vrender-kits": "0.21.1" }, "devDependencies": { "d3-array": "1.x", diff --git a/packages/vgrammar-sankey/package.json b/packages/vgrammar-sankey/package.json index 23be3f885..ea91d8cec 100644 --- a/packages/vgrammar-sankey/package.json +++ b/packages/vgrammar-sankey/package.json @@ -39,8 +39,8 @@ "@visactor/vutils": "~0.19.2", "@visactor/vgrammar-core": "workspace:0.14.18", "@visactor/vgrammar-util": "workspace:0.14.18", - "@visactor/vrender-core": "0.20.18", - "@visactor/vrender-kits": "0.20.18" + "@visactor/vrender-core": "0.21.1", + "@visactor/vrender-kits": "0.21.1" }, "devDependencies": { "@internal/bundler": "workspace:*", diff --git a/packages/vgrammar-util/package.json b/packages/vgrammar-util/package.json index 7430708a4..4e206fe99 100644 --- a/packages/vgrammar-util/package.json +++ b/packages/vgrammar-util/package.json @@ -35,7 +35,7 @@ }, "dependencies": { "@visactor/vutils": "~0.19.2", - "@visactor/vrender-core": "0.20.18" + "@visactor/vrender-core": "0.21.1" }, "devDependencies": { "@internal/bundler": "workspace:*", diff --git a/packages/vgrammar-venn/package.json b/packages/vgrammar-venn/package.json index 9b24a3362..80db722cb 100644 --- a/packages/vgrammar-venn/package.json +++ b/packages/vgrammar-venn/package.json @@ -36,8 +36,8 @@ "dependencies": { "@visactor/vgrammar-core": "workspace:0.14.18", "@visactor/vgrammar-util": "workspace:0.14.18", - "@visactor/vrender-core": "0.20.18", - "@visactor/vrender-kits": "0.20.18", + "@visactor/vrender-core": "0.21.1", + "@visactor/vrender-kits": "0.21.1", "@visactor/vutils": "~0.19.2" }, "devDependencies": { diff --git a/packages/vgrammar-wordcloud-shape/package.json b/packages/vgrammar-wordcloud-shape/package.json index 2f721104f..8099cef47 100644 --- a/packages/vgrammar-wordcloud-shape/package.json +++ b/packages/vgrammar-wordcloud-shape/package.json @@ -38,8 +38,8 @@ "@visactor/vscale": "~0.19.2", "@visactor/vgrammar-core": "workspace:0.14.18", "@visactor/vgrammar-util": "workspace:0.14.18", - "@visactor/vrender-core": "0.20.18", - "@visactor/vrender-kits": "0.20.18" + "@visactor/vrender-core": "0.21.1", + "@visactor/vrender-kits": "0.21.1" }, "devDependencies": { "@internal/bundler": "workspace:*", diff --git a/packages/vgrammar-wordcloud/package.json b/packages/vgrammar-wordcloud/package.json index a3138a0fe..b864b55e5 100644 --- a/packages/vgrammar-wordcloud/package.json +++ b/packages/vgrammar-wordcloud/package.json @@ -37,8 +37,8 @@ "@visactor/vutils": "~0.19.2", "@visactor/vgrammar-core": "workspace:0.14.18", "@visactor/vgrammar-util": "workspace:0.14.18", - "@visactor/vrender-core": "0.20.18", - "@visactor/vrender-kits": "0.20.18" + "@visactor/vrender-core": "0.21.1", + "@visactor/vrender-kits": "0.21.1" }, "devDependencies": { "@internal/bundler": "workspace:*", From ca8873437f82c2d99c8aebb05a108def0c8bf2c2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 5 Dec 2024 09:58:14 +0000 Subject: [PATCH 10/10] build: release version 0.15.0 --- .../feat-mark-overflow_2024-11-04-02-27.json | 11 --- ...upport-for-pictogram_2024-10-24-07-49.json | 10 -- ...upport-for-pictogram_2024-10-24-07-52.json | 10 -- common/config/rush/pnpm-lock.yaml | 96 +++++++++---------- common/config/rush/version-policies.json | 2 +- docs/dev-demos/package.json | 20 ++-- docs/site/package.json | 22 ++--- packages/vgrammar-coordinate/package.json | 4 +- packages/vgrammar-core/CHANGELOG.json | 18 ++++ packages/vgrammar-core/CHANGELOG.md | 13 ++- packages/vgrammar-core/package.json | 6 +- packages/vgrammar-full/package.json | 18 ++-- packages/vgrammar-hierarchy/package.json | 6 +- packages/vgrammar-plot/package.json | 8 +- packages/vgrammar-projection/package.json | 6 +- packages/vgrammar-sankey/package.json | 6 +- packages/vgrammar-util/package.json | 2 +- packages/vgrammar-venn/package.json | 6 +- .../vgrammar-wordcloud-shape/package.json | 6 +- packages/vgrammar-wordcloud/package.json | 6 +- packages/vgrammar/package.json | 4 +- 21 files changed, 139 insertions(+), 141 deletions(-) delete mode 100644 common/changes/@visactor/vgrammar-core/feat-mark-overflow_2024-11-04-02-27.json delete mode 100644 common/changes/@visactor/vgrammar-core/feat-support-for-pictogram_2024-10-24-07-49.json delete mode 100644 common/changes/@visactor/vgrammar-core/feat-support-for-pictogram_2024-10-24-07-52.json diff --git a/common/changes/@visactor/vgrammar-core/feat-mark-overflow_2024-11-04-02-27.json b/common/changes/@visactor/vgrammar-core/feat-mark-overflow_2024-11-04-02-27.json deleted file mode 100644 index 8255ab649..000000000 --- a/common/changes/@visactor/vgrammar-core/feat-mark-overflow_2024-11-04-02-27.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "changes": [ - { - "comment": "feat: support overflow of mark\n\n", - "type": "none", - "packageName": "@visactor/vgrammar-core" - } - ], - "packageName": "@visactor/vgrammar-core", - "email": "dingling112@gmail.com" -} \ No newline at end of file diff --git a/common/changes/@visactor/vgrammar-core/feat-support-for-pictogram_2024-10-24-07-49.json b/common/changes/@visactor/vgrammar-core/feat-support-for-pictogram_2024-10-24-07-49.json deleted file mode 100644 index fedd3079c..000000000 --- a/common/changes/@visactor/vgrammar-core/feat-support-for-pictogram_2024-10-24-07-49.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@visactor/vgrammar-core", - "comment": " feat: add interaction for highlight/select by graphic name", - "type": "none" - } - ], - "packageName": "@visactor/vgrammar-core" -} \ No newline at end of file diff --git a/common/changes/@visactor/vgrammar-core/feat-support-for-pictogram_2024-10-24-07-52.json b/common/changes/@visactor/vgrammar-core/feat-support-for-pictogram_2024-10-24-07-52.json deleted file mode 100644 index 7f0f76816..000000000 --- a/common/changes/@visactor/vgrammar-core/feat-support-for-pictogram_2024-10-24-07-52.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@visactor/vgrammar-core", - "comment": "feat: add `graphicName` in markOption", - "type": "none" - } - ], - "packageName": "@visactor/vgrammar-core" -} \ No newline at end of file diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 7cdf2718c..68acab5f9 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -9,16 +9,16 @@ importers: specifiers: '@internal/eslint-config': workspace:* '@internal/ts-config': workspace:* - '@visactor/vgrammar': workspace:0.14.18 - '@visactor/vgrammar-coordinate': workspace:0.14.18 - '@visactor/vgrammar-core': workspace:0.14.18 - '@visactor/vgrammar-hierarchy': workspace:0.14.18 - '@visactor/vgrammar-plot': workspace:0.14.18 - '@visactor/vgrammar-projection': workspace:0.14.18 - '@visactor/vgrammar-sankey': workspace:0.14.18 - '@visactor/vgrammar-util': workspace:0.14.18 - '@visactor/vgrammar-wordcloud': workspace:0.14.18 - '@visactor/vgrammar-wordcloud-shape': workspace:0.14.18 + '@visactor/vgrammar': workspace:0.15.0 + '@visactor/vgrammar-coordinate': workspace:0.15.0 + '@visactor/vgrammar-core': workspace:0.15.0 + '@visactor/vgrammar-hierarchy': workspace:0.15.0 + '@visactor/vgrammar-plot': workspace:0.15.0 + '@visactor/vgrammar-projection': workspace:0.15.0 + '@visactor/vgrammar-sankey': workspace:0.15.0 + '@visactor/vgrammar-util': workspace:0.15.0 + '@visactor/vgrammar-wordcloud': workspace:0.15.0 + '@visactor/vgrammar-wordcloud-shape': workspace:0.15.0 '@visactor/vrender': 0.21.1 '@visactor/vrender-core': 0.21.1 '@visactor/vrender-kits': 0.21.1 @@ -60,17 +60,17 @@ importers: '@types/markdown-it': ^13.0.0 '@types/react': ^18.0.0 '@types/react-dom': ^18.0.0 - '@visactor/vgrammar': workspace:0.14.18 - '@visactor/vgrammar-coordinate': workspace:0.14.18 - '@visactor/vgrammar-core': workspace:0.14.18 - '@visactor/vgrammar-hierarchy': workspace:0.14.18 - '@visactor/vgrammar-plot': workspace:0.14.18 - '@visactor/vgrammar-projection': workspace:0.14.18 - '@visactor/vgrammar-sankey': workspace:0.14.18 - '@visactor/vgrammar-util': workspace:0.14.18 - '@visactor/vgrammar-venn': workspace:0.14.18 - '@visactor/vgrammar-wordcloud': workspace:0.14.18 - '@visactor/vgrammar-wordcloud-shape': workspace:0.14.18 + '@visactor/vgrammar': workspace:0.15.0 + '@visactor/vgrammar-coordinate': workspace:0.15.0 + '@visactor/vgrammar-core': workspace:0.15.0 + '@visactor/vgrammar-hierarchy': workspace:0.15.0 + '@visactor/vgrammar-plot': workspace:0.15.0 + '@visactor/vgrammar-projection': workspace:0.15.0 + '@visactor/vgrammar-sankey': workspace:0.15.0 + '@visactor/vgrammar-util': workspace:0.15.0 + '@visactor/vgrammar-venn': workspace:0.15.0 + '@visactor/vgrammar-wordcloud': workspace:0.15.0 + '@visactor/vgrammar-wordcloud-shape': workspace:0.15.0 '@visactor/vrender': 0.21.1 '@visactor/vrender-core': 0.21.1 '@visactor/vrender-kits': 0.21.1 @@ -153,7 +153,7 @@ importers: '@types/d3-geo': ^1.11.1 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.14.18 + '@visactor/vgrammar-core': workspace:0.15.0 d3-array: 1.x eslint: ~8.18.0 jest: ~29.5.0 @@ -191,7 +191,7 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-util': workspace:0.14.18 + '@visactor/vgrammar-util': workspace:0.15.0 '@visactor/vutils': ~0.19.2 eslint: ~8.18.0 jest: ~29.5.0 @@ -229,8 +229,8 @@ importers: '@types/jest': ~29.5.0 '@types/node': '*' '@visactor/vdataset': ~0.19.2 - '@visactor/vgrammar-coordinate': workspace:0.14.18 - '@visactor/vgrammar-util': workspace:0.14.18 + '@visactor/vgrammar-coordinate': workspace:0.15.0 + '@visactor/vgrammar-util': workspace:0.15.0 '@visactor/vrender-components': 0.21.1 '@visactor/vrender-core': 0.21.1 '@visactor/vrender-kits': 0.21.1 @@ -279,14 +279,14 @@ importers: '@types/jest': ~29.5.0 '@types/node': '*' '@types/node-fetch': 2.6.4 - '@visactor/vgrammar-core': workspace:0.14.18 - '@visactor/vgrammar-hierarchy': workspace:0.14.18 - '@visactor/vgrammar-plot': workspace:0.14.18 - '@visactor/vgrammar-projection': workspace:0.14.18 - '@visactor/vgrammar-sankey': workspace:0.14.18 - '@visactor/vgrammar-venn': workspace:0.14.18 - '@visactor/vgrammar-wordcloud': workspace:0.14.18 - '@visactor/vgrammar-wordcloud-shape': workspace:0.14.18 + '@visactor/vgrammar-core': workspace:0.15.0 + '@visactor/vgrammar-hierarchy': workspace:0.15.0 + '@visactor/vgrammar-plot': workspace:0.15.0 + '@visactor/vgrammar-projection': workspace:0.15.0 + '@visactor/vgrammar-sankey': workspace:0.15.0 + '@visactor/vgrammar-venn': workspace:0.15.0 + '@visactor/vgrammar-wordcloud': workspace:0.15.0 + '@visactor/vgrammar-wordcloud-shape': workspace:0.15.0 d3-array: 1.x eslint: ~8.18.0 form-data: ~4.0.0 @@ -338,8 +338,8 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.14.18 - '@visactor/vgrammar-util': workspace:0.14.18 + '@visactor/vgrammar-core': workspace:0.15.0 + '@visactor/vgrammar-util': workspace:0.15.0 '@visactor/vrender-core': 0.21.1 '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': ~0.19.2 @@ -382,9 +382,9 @@ importers: '@types/d3-geo': ^1.11.1 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-coordinate': workspace:0.14.18 - '@visactor/vgrammar-core': workspace:0.14.18 - '@visactor/vgrammar-util': workspace:0.14.18 + '@visactor/vgrammar-coordinate': workspace:0.15.0 + '@visactor/vgrammar-core': workspace:0.15.0 + '@visactor/vgrammar-util': workspace:0.15.0 '@visactor/vrender-components': 0.21.1 '@visactor/vrender-core': 0.21.1 '@visactor/vrender-kits': 0.21.1 @@ -435,8 +435,8 @@ importers: '@types/d3-geo': ^1.11.1 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.14.18 - '@visactor/vgrammar-util': workspace:0.14.18 + '@visactor/vgrammar-core': workspace:0.15.0 + '@visactor/vgrammar-util': workspace:0.15.0 '@visactor/vutils': ~0.19.2 d3-array: 1.x d3-geo: ^1.12.1 @@ -479,8 +479,8 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.14.18 - '@visactor/vgrammar-util': workspace:0.14.18 + '@visactor/vgrammar-core': workspace:0.15.0 + '@visactor/vgrammar-util': workspace:0.15.0 '@visactor/vrender-core': 0.21.1 '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': ~0.19.2 @@ -559,8 +559,8 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.14.18 - '@visactor/vgrammar-util': workspace:0.14.18 + '@visactor/vgrammar-core': workspace:0.15.0 + '@visactor/vgrammar-util': workspace:0.15.0 '@visactor/vrender-core': 0.21.1 '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': ~0.19.2 @@ -602,8 +602,8 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.14.18 - '@visactor/vgrammar-util': workspace:0.14.18 + '@visactor/vgrammar-core': workspace:0.15.0 + '@visactor/vgrammar-util': workspace:0.15.0 '@visactor/vrender-core': 0.21.1 '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': ~0.19.2 @@ -645,8 +645,8 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.14.18 - '@visactor/vgrammar-util': workspace:0.14.18 + '@visactor/vgrammar-core': workspace:0.15.0 + '@visactor/vgrammar-util': workspace:0.15.0 '@visactor/vrender-core': 0.21.1 '@visactor/vrender-kits': 0.21.1 '@visactor/vscale': ~0.19.2 diff --git a/common/config/rush/version-policies.json b/common/config/rush/version-policies.json index 953b518a2..1f1a31d16 100644 --- a/common/config/rush/version-policies.json +++ b/common/config/rush/version-policies.json @@ -1 +1 @@ -[{"definitionName":"lockStepVersion","policyName":"vgrammarMain","version":"0.14.18","mainProject":"@visactor/vgrammar-core","nextBump":"patch"}] +[{"definitionName":"lockStepVersion","policyName":"vgrammarMain","version":"0.15.0","mainProject":"@visactor/vgrammar-core","nextBump":"minor"}] diff --git a/docs/dev-demos/package.json b/docs/dev-demos/package.json index 724bfa05b..be23e502a 100644 --- a/docs/dev-demos/package.json +++ b/docs/dev-demos/package.json @@ -12,14 +12,14 @@ "@internal/eslint-config": "workspace:*", "@internal/ts-config": "workspace:*", "@visactor/vutils": "~0.19.2", - "@visactor/vgrammar": "workspace:0.14.18", - "@visactor/vgrammar-core": "workspace:0.14.18", - "@visactor/vgrammar-hierarchy": "workspace:0.14.18", - "@visactor/vgrammar-sankey": "workspace:0.14.18", - "@visactor/vgrammar-projection": "workspace:0.14.18", - "@visactor/vgrammar-wordcloud": "workspace:0.14.18", - "@visactor/vgrammar-wordcloud-shape": "workspace:0.14.18", - "@visactor/vgrammar-plot": "workspace:0.14.18", + "@visactor/vgrammar": "workspace:0.15.0", + "@visactor/vgrammar-core": "workspace:0.15.0", + "@visactor/vgrammar-hierarchy": "workspace:0.15.0", + "@visactor/vgrammar-sankey": "workspace:0.15.0", + "@visactor/vgrammar-projection": "workspace:0.15.0", + "@visactor/vgrammar-wordcloud": "workspace:0.15.0", + "@visactor/vgrammar-wordcloud-shape": "workspace:0.15.0", + "@visactor/vgrammar-plot": "workspace:0.15.0", "@visactor/vrender-core": "0.21.1", "@visactor/vrender-kits": "0.21.1", "@visactor/vrender": "0.21.1", @@ -27,8 +27,8 @@ "lodash": "4.17.21", "typescript": "4.9.5", "vite": "3.2.6", - "@visactor/vgrammar-util": "workspace:0.14.18", - "@visactor/vgrammar-coordinate": "workspace:0.14.18", + "@visactor/vgrammar-util": "workspace:0.15.0", + "@visactor/vgrammar-coordinate": "workspace:0.15.0", "@vitejs/plugin-react": "3.1.0" } } diff --git a/docs/site/package.json b/docs/site/package.json index 656e882a6..2e662f81e 100644 --- a/docs/site/package.json +++ b/docs/site/package.json @@ -14,17 +14,17 @@ "dependencies": { "@arco-design/web-react": "2.46.1", "@visactor/vutils": "~0.19.2", - "@visactor/vgrammar": "workspace:0.14.18", - "@visactor/vgrammar-core": "workspace:0.14.18", - "@visactor/vgrammar-hierarchy": "workspace:0.14.18", - "@visactor/vgrammar-sankey": "workspace:0.14.18", - "@visactor/vgrammar-projection": "workspace:0.14.18", - "@visactor/vgrammar-wordcloud": "workspace:0.14.18", - "@visactor/vgrammar-wordcloud-shape": "workspace:0.14.18", - "@visactor/vgrammar-plot": "workspace:0.14.18", - "@visactor/vgrammar-util": "workspace:0.14.18", - "@visactor/vgrammar-coordinate": "workspace:0.14.18", - "@visactor/vgrammar-venn": "workspace:0.14.18", + "@visactor/vgrammar": "workspace:0.15.0", + "@visactor/vgrammar-core": "workspace:0.15.0", + "@visactor/vgrammar-hierarchy": "workspace:0.15.0", + "@visactor/vgrammar-sankey": "workspace:0.15.0", + "@visactor/vgrammar-projection": "workspace:0.15.0", + "@visactor/vgrammar-wordcloud": "workspace:0.15.0", + "@visactor/vgrammar-wordcloud-shape": "workspace:0.15.0", + "@visactor/vgrammar-plot": "workspace:0.15.0", + "@visactor/vgrammar-util": "workspace:0.15.0", + "@visactor/vgrammar-coordinate": "workspace:0.15.0", + "@visactor/vgrammar-venn": "workspace:0.15.0", "@visactor/vrender-core": "0.21.1", "@visactor/vrender-kits": "0.21.1", "@visactor/vrender": "0.21.1", diff --git a/packages/vgrammar-coordinate/package.json b/packages/vgrammar-coordinate/package.json index ae3445ada..664de2364 100644 --- a/packages/vgrammar-coordinate/package.json +++ b/packages/vgrammar-coordinate/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-coordinate", - "version": "0.14.18", + "version": "0.15.0", "description": "Coordinates for VGrammar", "keywords": [ "coordinate", @@ -35,7 +35,7 @@ }, "dependencies": { "@visactor/vutils": "~0.19.2", - "@visactor/vgrammar-util": "workspace:0.14.18" + "@visactor/vgrammar-util": "workspace:0.15.0" }, "devDependencies": { "@internal/bundler": "workspace:*", diff --git a/packages/vgrammar-core/CHANGELOG.json b/packages/vgrammar-core/CHANGELOG.json index 75bab3151..94b41d49b 100644 --- a/packages/vgrammar-core/CHANGELOG.json +++ b/packages/vgrammar-core/CHANGELOG.json @@ -1,6 +1,24 @@ { "name": "@visactor/vgrammar-core", "entries": [ + { + "version": "0.15.0", + "tag": "@visactor/vgrammar-core_v0.15.0", + "date": "Thu, 05 Dec 2024 09:52:00 GMT", + "comments": { + "none": [ + { + "comment": "feat: support overflow of mark\n\n" + }, + { + "comment": " feat: add interaction for highlight/select by graphic name" + }, + { + "comment": "feat: add `graphicName` in markOption" + } + ] + } + }, { "version": "0.14.18", "tag": "@visactor/vgrammar-core_v0.14.18", diff --git a/packages/vgrammar-core/CHANGELOG.md b/packages/vgrammar-core/CHANGELOG.md index 4178ac428..69077d8a5 100644 --- a/packages/vgrammar-core/CHANGELOG.md +++ b/packages/vgrammar-core/CHANGELOG.md @@ -1,6 +1,17 @@ # Change Log - @visactor/vgrammar-core -This log was last generated on Thu, 05 Dec 2024 08:32:52 GMT and should not be manually modified. +This log was last generated on Thu, 05 Dec 2024 09:52:00 GMT and should not be manually modified. + +## 0.15.0 +Thu, 05 Dec 2024 09:52:00 GMT + +### Updates + +- feat: support overflow of mark + + +- feat: add interaction for highlight/select by graphic name +- feat: add `graphicName` in markOption ## 0.14.18 Thu, 05 Dec 2024 08:32:52 GMT diff --git a/packages/vgrammar-core/package.json b/packages/vgrammar-core/package.json index e2f8f6efd..bd85f21af 100644 --- a/packages/vgrammar-core/package.json +++ b/packages/vgrammar-core/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-core", - "version": "0.14.18", + "version": "0.15.0", "description": "VGrammar is a visual grammar library", "keywords": [ "grammar", @@ -37,8 +37,8 @@ "dependencies": { "@visactor/vutils": "~0.19.2", "@visactor/vdataset": "~0.19.2", - "@visactor/vgrammar-coordinate": "workspace:0.14.18", - "@visactor/vgrammar-util": "workspace:0.14.18", + "@visactor/vgrammar-coordinate": "workspace:0.15.0", + "@visactor/vgrammar-util": "workspace:0.15.0", "@visactor/vscale": "~0.19.2", "@visactor/vrender-core": "0.21.1", "@visactor/vrender-kits": "0.21.1", diff --git a/packages/vgrammar-full/package.json b/packages/vgrammar-full/package.json index 25c37568c..0421c562c 100644 --- a/packages/vgrammar-full/package.json +++ b/packages/vgrammar-full/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-full", - "version": "0.14.18", + "version": "0.15.0", "description": "full packages of vgrammar.", "keywords": [ "visualization", @@ -33,14 +33,14 @@ "test": "" }, "dependencies": { - "@visactor/vgrammar-core": "workspace:0.14.18", - "@visactor/vgrammar-hierarchy": "workspace:0.14.18", - "@visactor/vgrammar-plot": "workspace:0.14.18", - "@visactor/vgrammar-projection": "workspace:0.14.18", - "@visactor/vgrammar-sankey": "workspace:0.14.18", - "@visactor/vgrammar-wordcloud": "workspace:0.14.18", - "@visactor/vgrammar-wordcloud-shape": "workspace:0.14.18", - "@visactor/vgrammar-venn": "workspace:0.14.18" + "@visactor/vgrammar-core": "workspace:0.15.0", + "@visactor/vgrammar-hierarchy": "workspace:0.15.0", + "@visactor/vgrammar-plot": "workspace:0.15.0", + "@visactor/vgrammar-projection": "workspace:0.15.0", + "@visactor/vgrammar-sankey": "workspace:0.15.0", + "@visactor/vgrammar-wordcloud": "workspace:0.15.0", + "@visactor/vgrammar-wordcloud-shape": "workspace:0.15.0", + "@visactor/vgrammar-venn": "workspace:0.15.0" }, "devDependencies": { "d3-array": "1.x", diff --git a/packages/vgrammar-hierarchy/package.json b/packages/vgrammar-hierarchy/package.json index 8d8845869..a06fcd570 100644 --- a/packages/vgrammar-hierarchy/package.json +++ b/packages/vgrammar-hierarchy/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-hierarchy", - "version": "0.14.18", + "version": "0.15.0", "description": "Layout of hierarchical data for VGrammar", "keywords": [ "hierarchy", @@ -39,8 +39,8 @@ }, "dependencies": { "@visactor/vutils": "~0.19.2", - "@visactor/vgrammar-core": "workspace:0.14.18", - "@visactor/vgrammar-util": "workspace:0.14.18", + "@visactor/vgrammar-core": "workspace:0.15.0", + "@visactor/vgrammar-util": "workspace:0.15.0", "@visactor/vrender-core": "0.21.1", "@visactor/vrender-kits": "0.21.1" }, diff --git a/packages/vgrammar-plot/package.json b/packages/vgrammar-plot/package.json index 30b7a3deb..95aba7e09 100644 --- a/packages/vgrammar-plot/package.json +++ b/packages/vgrammar-plot/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-plot", - "version": "0.14.18", + "version": "0.15.0", "description": "Plots of vgrammar.", "keywords": [ "plot", @@ -36,9 +36,9 @@ "dependencies": { "@visactor/vscale": "~0.19.2", "@visactor/vutils": "~0.19.2", - "@visactor/vgrammar-util": "workspace:0.14.18", - "@visactor/vgrammar-coordinate": "workspace:0.14.18", - "@visactor/vgrammar-core": "workspace:0.14.18", + "@visactor/vgrammar-util": "workspace:0.15.0", + "@visactor/vgrammar-coordinate": "workspace:0.15.0", + "@visactor/vgrammar-core": "workspace:0.15.0", "@visactor/vrender-components": "0.21.1", "@visactor/vrender-core": "0.21.1", "@visactor/vrender-kits": "0.21.1" diff --git a/packages/vgrammar-projection/package.json b/packages/vgrammar-projection/package.json index 9ac85f8d3..14bf9fb0e 100644 --- a/packages/vgrammar-projection/package.json +++ b/packages/vgrammar-projection/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-projection", - "version": "0.14.18", + "version": "0.15.0", "description": "Projections for map, used in VGrammar.", "keywords": [ "projection", @@ -35,8 +35,8 @@ }, "dependencies": { "@visactor/vutils": "~0.19.2", - "@visactor/vgrammar-util": "workspace:0.14.18", - "@visactor/vgrammar-core": "workspace:0.14.18", + "@visactor/vgrammar-util": "workspace:0.15.0", + "@visactor/vgrammar-core": "workspace:0.15.0", "d3-geo": "^1.12.1" }, "devDependencies": { diff --git a/packages/vgrammar-sankey/package.json b/packages/vgrammar-sankey/package.json index ea91d8cec..a0bacf6ab 100644 --- a/packages/vgrammar-sankey/package.json +++ b/packages/vgrammar-sankey/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-sankey", - "version": "0.14.18", + "version": "0.15.0", "description": "Layout of sankey chart, used by VGrammar", "keywords": [ "sankey", @@ -37,8 +37,8 @@ }, "dependencies": { "@visactor/vutils": "~0.19.2", - "@visactor/vgrammar-core": "workspace:0.14.18", - "@visactor/vgrammar-util": "workspace:0.14.18", + "@visactor/vgrammar-core": "workspace:0.15.0", + "@visactor/vgrammar-util": "workspace:0.15.0", "@visactor/vrender-core": "0.21.1", "@visactor/vrender-kits": "0.21.1" }, diff --git a/packages/vgrammar-util/package.json b/packages/vgrammar-util/package.json index 4e206fe99..c282e3cba 100644 --- a/packages/vgrammar-util/package.json +++ b/packages/vgrammar-util/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-util", - "version": "0.14.18", + "version": "0.15.0", "description": "The common utils functions of VGrammar", "keywords": [ "utils", diff --git a/packages/vgrammar-venn/package.json b/packages/vgrammar-venn/package.json index 80db722cb..ea863bd80 100644 --- a/packages/vgrammar-venn/package.json +++ b/packages/vgrammar-venn/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-venn", - "version": "0.14.18", + "version": "0.15.0", "description": "Venn layout transform for VGrammar", "keywords": [ "venn", @@ -34,8 +34,8 @@ "test-check": "DEBUG=jest jest --forceExit --detectOpenHandles --silent false --verbose false --runInBand" }, "dependencies": { - "@visactor/vgrammar-core": "workspace:0.14.18", - "@visactor/vgrammar-util": "workspace:0.14.18", + "@visactor/vgrammar-core": "workspace:0.15.0", + "@visactor/vgrammar-util": "workspace:0.15.0", "@visactor/vrender-core": "0.21.1", "@visactor/vrender-kits": "0.21.1", "@visactor/vutils": "~0.19.2" diff --git a/packages/vgrammar-wordcloud-shape/package.json b/packages/vgrammar-wordcloud-shape/package.json index 8099cef47..c0801756a 100644 --- a/packages/vgrammar-wordcloud-shape/package.json +++ b/packages/vgrammar-wordcloud-shape/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-wordcloud-shape", - "version": "0.14.18", + "version": "0.15.0", "description": "Layout WordCloud in specified shape, this is a transform for VGrammar.", "keywords": [ "wordcloud", @@ -36,8 +36,8 @@ "dependencies": { "@visactor/vutils": "~0.19.2", "@visactor/vscale": "~0.19.2", - "@visactor/vgrammar-core": "workspace:0.14.18", - "@visactor/vgrammar-util": "workspace:0.14.18", + "@visactor/vgrammar-core": "workspace:0.15.0", + "@visactor/vgrammar-util": "workspace:0.15.0", "@visactor/vrender-core": "0.21.1", "@visactor/vrender-kits": "0.21.1" }, diff --git a/packages/vgrammar-wordcloud/package.json b/packages/vgrammar-wordcloud/package.json index b864b55e5..4f634f355 100644 --- a/packages/vgrammar-wordcloud/package.json +++ b/packages/vgrammar-wordcloud/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-wordcloud", - "version": "0.14.18", + "version": "0.15.0", "description": "WordCloud layout transform for VGrammar", "keywords": [ "wordcloud", @@ -35,8 +35,8 @@ }, "dependencies": { "@visactor/vutils": "~0.19.2", - "@visactor/vgrammar-core": "workspace:0.14.18", - "@visactor/vgrammar-util": "workspace:0.14.18", + "@visactor/vgrammar-core": "workspace:0.15.0", + "@visactor/vgrammar-util": "workspace:0.15.0", "@visactor/vrender-core": "0.21.1", "@visactor/vrender-kits": "0.21.1" }, diff --git a/packages/vgrammar/package.json b/packages/vgrammar/package.json index 85173bedb..7d7fc0d90 100644 --- a/packages/vgrammar/package.json +++ b/packages/vgrammar/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar", - "version": "0.14.18", + "version": "0.15.0", "description": "simple package of vgrammar.", "keywords": [ "visualization", @@ -30,7 +30,7 @@ "test": "" }, "dependencies": { - "@visactor/vgrammar-core": "workspace:0.14.18" + "@visactor/vgrammar-core": "workspace:0.15.0" }, "devDependencies": { "d3-array": "1.x",