Skip to content

Commit

Permalink
Merge pull request #851 from VisActor/release/0.17.6
Browse files Browse the repository at this point in the history
[Auto release] release 0.17.6
  • Loading branch information
fangsmile authored Jan 4, 2024
2 parents 37f8baf + 3406f58 commit 30d186f
Show file tree
Hide file tree
Showing 9 changed files with 49 additions and 27 deletions.
36 changes: 18 additions & 18 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":"vtableMain","version":"0.17.5","mainProject":"@visactor/vtable","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"0.17.6","mainProject":"@visactor/vtable","nextBump":"patch"}]
2 changes: 1 addition & 1 deletion packages/react-vtable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/react-vtable",
"version": "0.17.5",
"version": "0.17.6",
"description": "The react version of VTable",
"keywords": [
"react",
Expand Down
2 changes: 1 addition & 1 deletion packages/vtable-editors/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vtable-editors",
"version": "0.17.5",
"version": "0.17.6",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/vtable-export/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vtable-export",
"version": "0.17.5",
"version": "0.17.6",
"description": "The export util of VTable",
"author": {
"name": "VisActor",
Expand Down
12 changes: 12 additions & 0 deletions packages/vtable/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "@visactor/vtable",
"entries": [
{
"version": "0.17.6",
"tag": "@visactor/vtable_v0.17.6",
"date": "Wed, 03 Jan 2024 13:58:45 GMT",
"comments": {
"none": [
{
"comment": "fix: fix resize line position"
}
]
}
},
{
"version": "0.17.5",
"tag": "@visactor/vtable_v0.17.5",
Expand Down
9 changes: 8 additions & 1 deletion packages/vtable/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log - @visactor/vtable

This log was last generated on Wed, 03 Jan 2024 12:50:32 GMT and should not be manually modified.
This log was last generated on Wed, 03 Jan 2024 13:58:45 GMT and should not be manually modified.

## 0.17.6
Wed, 03 Jan 2024 13:58:45 GMT

### Updates

- fix: fix resize line position

## 0.17.5
Wed, 03 Jan 2024 12:50:32 GMT
Expand Down
6 changes: 3 additions & 3 deletions packages/vtable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vtable",
"version": "0.17.5",
"version": "0.17.6",
"description": "canvas table width high performance",
"keywords": [
"grid",
Expand Down Expand Up @@ -50,8 +50,8 @@
},
"dependencies": {
"@visactor/vtable-editors": "workspace:*",
"@visactor/vrender": "0.17.8",
"@visactor/vrender-components": "0.17.8",
"@visactor/vrender": "0.17.10",
"@visactor/vrender-components": "0.17.10",
"@visactor/vutils-extension": "~1.7.5",
"@visactor/vutils": "~0.17.1",
"@visactor/vscale": "~0.17.1",
Expand Down
5 changes: 4 additions & 1 deletion packages/vtable/src/scenegraph/component/custom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,9 @@ export function dealPercentCalc(group: VGroup, parentWidth: number, parentHeight
return;
}
group.forEachChildren((child: VGroup) => {
if (!child) {
return;
}
if (isObject(child.attribute.width) && (child.attribute.width as percentCalcObj).percent) {
child.setAttribute(
'width',
Expand All @@ -386,7 +389,7 @@ export function dealPercentCalc(group: VGroup, parentWidth: number, parentHeight

// temp devode for react jsx customLayout
export function decodeReactDom(dom: any) {
if (!dom.$$typeof) {
if (!dom || !dom.$$typeof) {
// not react
return dom;
}
Expand Down

0 comments on commit 30d186f

Please sign in to comment.