Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Auto release] release 0.19.23 #1346

Merged
merged 5 commits into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/config/rush/version-policies.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"definitionName":"lockStepVersion","policyName":"vrenderMain","version":"0.19.22","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vrenderMain","version":"0.19.23","nextBump":"patch"}]
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@visactor/vchart": "1.3.0",
"@visactor/vutils": "~0.18.10",
"@visactor/vgrammar": "~0.5.7",
"@visactor/vrender": "workspace:0.19.22",
"@visactor/vrender": "workspace:0.19.23",
"markdown-it": "^13.0.0",
"highlight.js": "^11.8.0",
"axios": "^1.4.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/react-vrender-utils/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"name": "@visactor/react-vrender-utils",
"entries": [
{
"version": "0.19.23",
"tag": "@visactor/react-vrender-utils_v0.19.23",
"date": "Tue, 06 Aug 2024 05:17:39 GMT",
"comments": {}
},
{
"version": "0.19.22",
"tag": "@visactor/react-vrender-utils_v0.19.22",
Expand Down
7 changes: 6 additions & 1 deletion packages/react-vrender-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log - @visactor/react-vrender-utils

This log was last generated on Mon, 05 Aug 2024 09:08:30 GMT and should not be manually modified.
This log was last generated on Tue, 06 Aug 2024 05:17:39 GMT and should not be manually modified.

## 0.19.23
Tue, 06 Aug 2024 05:17:39 GMT

_Version update only_

## 0.19.22
Mon, 05 Aug 2024 09:08:30 GMT
Expand Down
6 changes: 3 additions & 3 deletions packages/react-vrender-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/react-vrender-utils",
"version": "0.19.22",
"version": "0.19.23",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -24,8 +24,8 @@
"react-dom": "^18.2.0"
},
"dependencies": {
"@visactor/vrender": "workspace:0.19.22",
"@visactor/react-vrender": "workspace:0.19.22",
"@visactor/vrender": "workspace:0.19.23",
"@visactor/react-vrender": "workspace:0.19.23",
"@visactor/vutils": "~0.18.10",
"react-reconciler": "^0.29.0",
"tslib": "^2.3.1"
Expand Down
6 changes: 6 additions & 0 deletions packages/react-vrender/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"name": "@visactor/react-vrender",
"entries": [
{
"version": "0.19.23",
"tag": "@visactor/react-vrender_v0.19.23",
"date": "Tue, 06 Aug 2024 05:17:39 GMT",
"comments": {}
},
{
"version": "0.19.22",
"tag": "@visactor/react-vrender_v0.19.22",
Expand Down
7 changes: 6 additions & 1 deletion packages/react-vrender/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log - @visactor/react-vrender

This log was last generated on Mon, 05 Aug 2024 09:08:30 GMT and should not be manually modified.
This log was last generated on Tue, 06 Aug 2024 05:17:39 GMT and should not be manually modified.

## 0.19.23
Tue, 06 Aug 2024 05:17:39 GMT

_Version update only_

## 0.19.22
Mon, 05 Aug 2024 09:08:30 GMT
Expand Down
4 changes: 2 additions & 2 deletions packages/react-vrender/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/react-vrender",
"version": "0.19.22",
"version": "0.19.23",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -23,7 +23,7 @@
"react": "^18.2.0"
},
"dependencies": {
"@visactor/vrender": "workspace:0.19.22",
"@visactor/vrender": "workspace:0.19.23",
"@visactor/vutils": "~0.18.10",
"react-reconciler": "^0.29.0",
"tslib": "^2.3.1"
Expand Down
6 changes: 6 additions & 0 deletions packages/vrender-components/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"name": "@visactor/vrender-components",
"entries": [
{
"version": "0.19.23",
"tag": "@visactor/vrender-components_v0.19.23",
"date": "Tue, 06 Aug 2024 05:17:39 GMT",
"comments": {}
},
{
"version": "0.19.22",
"tag": "@visactor/vrender-components_v0.19.22",
Expand Down
7 changes: 6 additions & 1 deletion packages/vrender-components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log - @visactor/vrender-components

This log was last generated on Mon, 05 Aug 2024 09:08:30 GMT and should not be manually modified.
This log was last generated on Tue, 06 Aug 2024 05:17:39 GMT and should not be manually modified.

## 0.19.23
Tue, 06 Aug 2024 05:17:39 GMT

_Version update only_

## 0.19.22
Mon, 05 Aug 2024 09:08:30 GMT
Expand Down
6 changes: 3 additions & 3 deletions packages/vrender-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vrender-components",
"version": "0.19.22",
"version": "0.19.23",
"description": "components library for dp visualization",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -24,8 +24,8 @@
"analysis-core": "cross-env DEBUG='Bundler*' bundle -f umd -a -i core.ts"
},
"dependencies": {
"@visactor/vrender-core": "workspace:0.19.22",
"@visactor/vrender-kits": "workspace:0.19.22",
"@visactor/vrender-core": "workspace:0.19.23",
"@visactor/vrender-kits": "workspace:0.19.23",
"@visactor/vutils": "~0.18.10",
"@visactor/vscale": "~0.18.9"
},
Expand Down
12 changes: 12 additions & 0 deletions packages/vrender-core/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "@visactor/vrender-core",
"entries": [
{
"version": "0.19.23",
"tag": "@visactor/vrender-core_v0.19.23",
"date": "Tue, 06 Aug 2024 05:17:39 GMT",
"comments": {
"none": [
{
"comment": "fix: fix picker of shadow root group\n\n"
}
]
}
},
{
"version": "0.19.22",
"tag": "@visactor/vrender-core_v0.19.22",
Expand Down
11 changes: 10 additions & 1 deletion packages/vrender-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# Change Log - @visactor/vrender-core

This log was last generated on Mon, 05 Aug 2024 09:08:30 GMT and should not be manually modified.
This log was last generated on Tue, 06 Aug 2024 05:17:39 GMT and should not be manually modified.

## 0.19.23
Tue, 06 Aug 2024 05:17:39 GMT

### Updates

- fix: fix picker of shadow root group



## 0.19.22
Mon, 05 Aug 2024 09:08:30 GMT
Expand Down
2 changes: 1 addition & 1 deletion packages/vrender-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vrender-core",
"version": "0.19.22",
"version": "0.19.23",
"description": "",
"sideEffects": [
"./src/modules.ts",
Expand Down
1 change: 1 addition & 0 deletions packages/vrender-core/src/graphic/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ export const DefaultAttribute: Required<IGraphicAttribute> = {
globalZIndex: 1,
globalCompositeOperation: '',
overflow: 'hidden',
shadowPickMode: 'graphic',
...DefaultDebugAttribute,
...DefaultStyle,
...DefaultTransform
Expand Down
1 change: 1 addition & 0 deletions packages/vrender-core/src/interface/graphic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ export type IGraphicAttribute = IDebugType &
*/
keepDirIn3d?: boolean;
shadowRootIdx: number;
shadowPickMode?: 'full' | 'graphic';
globalZIndex: number;
globalCompositeOperation: CanvasRenderingContext2D['globalCompositeOperation'] | '';
// 完全支持滚动 | 完全不支持滚动 | 支持x方向的滚动 | 支持y方向的滚动
Expand Down
5 changes: 4 additions & 1 deletion packages/vrender-core/src/picker/pick-interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import type {
PickResult
} from '../interface';
import { matrixAllocate } from '../allocator/matrix-allocate';
import { getTheme } from '../graphic';

// 拦截器
export const PickItemInterceptor = Symbol.for('PickItemInterceptor');
Expand Down Expand Up @@ -73,6 +74,8 @@ export class ShadowRootPickItemInterceptorContribution implements IPickItemInter
const context = pickerService.pickContext;
context.highPerformanceSave();

const theme = (getTheme(graphic) as any)?.[graphic.type];
const { shadowPickMode = theme?.shadowPickMode } = graphic.attribute;
const g = graphic.shadowRoot;
const currentGroupMatrix = matrixAllocate.allocateByObj(parentMatrix);
const newPoint = new Point(
Expand All @@ -95,7 +98,7 @@ export class ShadowRootPickItemInterceptorContribution implements IPickItemInter
context.highPerformanceRestore();

// 影子节点pick到group也算pick到graphic
if (!result.graphic && result.group) {
if (!result.graphic && result.group && shadowPickMode === 'full') {
result.graphic = result.group;
}

Expand Down
6 changes: 6 additions & 0 deletions packages/vrender-kits/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"name": "@visactor/vrender-kits",
"entries": [
{
"version": "0.19.23",
"tag": "@visactor/vrender-kits_v0.19.23",
"date": "Tue, 06 Aug 2024 05:17:39 GMT",
"comments": {}
},
{
"version": "0.19.22",
"tag": "@visactor/vrender-kits_v0.19.22",
Expand Down
7 changes: 6 additions & 1 deletion packages/vrender-kits/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log - @visactor/vrender-kits

This log was last generated on Mon, 05 Aug 2024 09:08:30 GMT and should not be manually modified.
This log was last generated on Tue, 06 Aug 2024 05:17:39 GMT and should not be manually modified.

## 0.19.23
Tue, 06 Aug 2024 05:17:39 GMT

_Version update only_

## 0.19.22
Mon, 05 Aug 2024 09:08:30 GMT
Expand Down
4 changes: 2 additions & 2 deletions packages/vrender-kits/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vrender-kits",
"version": "0.19.22",
"version": "0.19.23",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -20,7 +20,7 @@
"test": ""
},
"dependencies": {
"@visactor/vrender-core": "workspace:0.19.22",
"@visactor/vrender-core": "workspace:0.19.23",
"@visactor/vutils": "~0.18.10",
"@resvg/resvg-js": "2.4.1",
"roughjs": "4.5.2"
Expand Down
6 changes: 6 additions & 0 deletions packages/vrender/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"name": "@visactor/vrender",
"entries": [
{
"version": "0.19.23",
"tag": "@visactor/vrender_v0.19.23",
"date": "Tue, 06 Aug 2024 05:17:39 GMT",
"comments": {}
},
{
"version": "0.19.22",
"tag": "@visactor/vrender_v0.19.22",
Expand Down
7 changes: 6 additions & 1 deletion packages/vrender/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log - @visactor/vrender

This log was last generated on Mon, 05 Aug 2024 09:08:30 GMT and should not be manually modified.
This log was last generated on Tue, 06 Aug 2024 05:17:39 GMT and should not be manually modified.

## 0.19.23
Tue, 06 Aug 2024 05:17:39 GMT

_Version update only_

## 0.19.22
Mon, 05 Aug 2024 09:08:30 GMT
Expand Down
6 changes: 3 additions & 3 deletions packages/vrender/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vrender",
"version": "0.19.22",
"version": "0.19.23",
"description": "",
"sideEffects": true,
"main": "cjs/index.js",
Expand All @@ -24,8 +24,8 @@
"test-watch": "cross-env DEBUG_MODE=1 jest --watch"
},
"dependencies": {
"@visactor/vrender-core": "workspace:0.19.22",
"@visactor/vrender-kits": "workspace:0.19.22"
"@visactor/vrender-core": "workspace:0.19.23",
"@visactor/vrender-kits": "workspace:0.19.23"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
Loading
Loading