Skip to content

Commit

Permalink
Merge pull request #253 from VisActor/release/0.13.8
Browse files Browse the repository at this point in the history
[Auto release] release 0.13.7
  • Loading branch information
neuqzxy authored Aug 3, 2023
2 parents 23e1aad + 193ea3f commit 62dd131
Show file tree
Hide file tree
Showing 32 changed files with 382 additions and 204 deletions.
14 changes: 7 additions & 7 deletions common/config/rush/pnpm-lock.yaml

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

4 changes: 2 additions & 2 deletions docs/demos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"devDependencies": {
"@internal/eslint-config": "workspace:*",
"@internal/ts-config": "workspace:*",
"@visactor/vrender-kits": "workspace:0.12.10",
"@visactor/vrender-kits": "workspace:0.12.11",
"@visactor/vutils": "~0.13.0",
"d3-scale-chromatic": "^3.0.0",
"lodash": "4.17.21",
Expand All @@ -28,6 +28,6 @@
"@antv/g": "^5.7.4"
},
"dependencies": {
"@visactor/vrender": "workspace:0.13.6"
"@visactor/vrender": "workspace:0.13.7"
}
}
15 changes: 15 additions & 0 deletions packages/react-vrender-utils/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
{
"name": "@visactor/react-vrender-utils",
"entries": [
{
"version": "0.12.11",
"tag": "@visactor/react-vrender-utils_v0.12.11",
"date": "Thu, 03 Aug 2023 10:04:34 GMT",
"comments": {
"dependency": [
{
"comment": "Updating dependency \"@visactor/vrender\" from `0.13.6` to `0.13.7`"
},
{
"comment": "Updating dependency \"@visactor/react-vrender\" from `0.12.10` to `0.12.11`"
}
]
}
},
{
"version": "0.12.10",
"tag": "@visactor/react-vrender-utils_v0.12.10",
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 Wed, 02 Aug 2023 03:13:00 GMT and should not be manually modified.
This log was last generated on Thu, 03 Aug 2023 10:04:34 GMT and should not be manually modified.

## 0.12.11
Thu, 03 Aug 2023 10:04:34 GMT

_Version update only_

## 0.12.10
Wed, 02 Aug 2023 03:13:00 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.12.10",
"version": "0.12.11",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -25,8 +25,8 @@
"react-dom": "^18.2.0"
},
"dependencies": {
"@visactor/vrender": "workspace:0.13.6",
"@visactor/react-vrender": "workspace:0.12.10",
"@visactor/vrender": "workspace:0.13.7",
"@visactor/react-vrender": "workspace:0.12.11",
"@visactor/vutils": "~0.13.0",
"react-reconciler": "^0.29.0",
"tslib": "^2.3.1"
Expand Down
12 changes: 12 additions & 0 deletions packages/react-vrender/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "@visactor/react-vrender",
"entries": [
{
"version": "0.12.11",
"tag": "@visactor/react-vrender_v0.12.11",
"date": "Thu, 03 Aug 2023 10:04:34 GMT",
"comments": {
"dependency": [
{
"comment": "Updating dependency \"@visactor/vrender\" from `0.13.6` to `0.13.7`"
}
]
}
},
{
"version": "0.12.10",
"tag": "@visactor/react-vrender_v0.12.10",
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 Wed, 02 Aug 2023 03:13:00 GMT and should not be manually modified.
This log was last generated on Thu, 03 Aug 2023 10:04:34 GMT and should not be manually modified.

## 0.12.11
Thu, 03 Aug 2023 10:04:34 GMT

_Version update only_

## 0.12.10
Wed, 02 Aug 2023 03:13:00 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.12.10",
"version": "0.12.11",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -24,7 +24,7 @@
"react": "^18.2.0"
},
"dependencies": {
"@visactor/vrender": "workspace:0.13.6",
"@visactor/vrender": "workspace:0.13.7",
"@visactor/vutils": "~0.13.0",
"react-reconciler": "^0.29.0",
"tslib": "^2.3.1"
Expand Down
32 changes: 32 additions & 0 deletions packages/vrender-components/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,38 @@
{
"name": "@visactor/vrender-components",
"entries": [
{
"version": "0.13.8",
"tag": "@visactor/vrender-components_v0.13.8",
"date": "Thu, 03 Aug 2023 10:04:34 GMT",
"comments": {
"patch": [
{
"comment": "feat(component): label component support custom layout and dataFilter"
},
{
"comment": "chore: trigger publish alpha version"
},
{
"comment": "fix(marker): formatMethod logic should not in vrender"
},
{
"comment": "fix(marker): formatMethod logic should not in vrender"
},
{
"comment": "fix(marker): segement support autoRotate setting"
},
{
"comment": "fix(marker): formatMethod logic should not in vrender"
}
],
"dependency": [
{
"comment": "Updating dependency \"@visactor/vrender\" from `0.13.6` to `0.13.7`"
}
]
}
},
{
"version": "0.13.7",
"tag": "@visactor/vrender-components_v0.13.7",
Expand Down
14 changes: 13 additions & 1 deletion packages/vrender-components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# Change Log - @visactor/vrender-components

This log was last generated on Wed, 02 Aug 2023 03:13:00 GMT and should not be manually modified.
This log was last generated on Thu, 03 Aug 2023 10:04:34 GMT and should not be manually modified.

## 0.13.8
Thu, 03 Aug 2023 10:04:34 GMT

### Patches

- feat(component): label component support custom layout and dataFilter
- chore: trigger publish alpha version
- fix(marker): formatMethod logic should not in vrender
- fix(marker): formatMethod logic should not in vrender
- fix(marker): segement support autoRotate setting
- fix(marker): formatMethod logic should not in vrender

## 0.13.7
Wed, 02 Aug 2023 03:13:00 GMT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2943,8 +2943,10 @@ function createContent(stage: Stage) {
animation: {
// mode: 'after'
},
dataFilter: data => {
return data.filter(item => Number(item.text) > 0.59).reverse();
},
overlap: {
enable: false,
avoidBaseMark: true,
size: {
width: 1036.2320098876953,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ export function run() {
position: guiObject.labelPos,
dx: guiObject.labelDx,
dy: guiObject.labelDy,
formatMethod: text => {
return text + '格式化';
},
areaStyle: {
cornerRadius: guiObject.cornerRadius
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,19 @@ export function run() {

const styleAttr = {
endSymbol: {
symbolType: 'M0 0l-2 1 0.7289-1-0.7289-1z',
// symbolType: 'triangleLeft',
// symbolType: 'M0 0l-2 1 0.7289-1-0.7289-1z',
size: 10,
refAngle: degreeToRadian(-90)
autoRotate: false
// refAngle: degreeToRadian(-90)
},
label: {
text: '平均值: 17.7',
position: guiObject.labelPos,
autoRotate: guiObject.labelAutoRotate,
refX: guiObject.labelRefX,
refY: guiObject.labelRefY,
refAngle: degreeToRadian(guiObject.labelRefAngle),
formatMethod: text => {
return text + '格式化';
}
refAngle: degreeToRadian(guiObject.labelRefAngle)
}
};
const markLine = new MarkLine({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@ export function run() {
refY: guiObject.itemRefY,
refAngle: guiObject.itemRefAngle,
textStyle: {
text: 'mark point label text',
formatMethod: text => {
return text + '格式化';
}
text: 'mark point label text'
},
richTextStyle: {
textConfig: [
Expand Down
4 changes: 2 additions & 2 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.13.7",
"version": "0.13.8",
"description": "components library for dp visualization",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -24,7 +24,7 @@
"prepublishOnly": "npm run build"
},
"dependencies": {
"@visactor/vrender": "workspace:0.13.6",
"@visactor/vrender": "workspace:0.13.7",
"@visactor/vutils": "~0.13.0",
"@visactor/vscale": "~0.13.0",
"inversify": "6.0.1"
Expand Down
Loading

0 comments on commit 62dd131

Please sign in to comment.